Split CWeaponMgr

This commit is contained in:
Phillip Stephens 2022-04-12 01:55:54 -07:00
parent 361fd45f83
commit 51e56ed135
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
54 changed files with 123122 additions and 122934 deletions

3532
asm/Kyoto_CWD/CActor.s Normal file

File diff suppressed because it is too large Load Diff

3461
asm/Kyoto_CWD/CAi.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,688 @@
.include "macros.inc"
.section .text, "ax"
.global "GetUniquePrimitivesFromMetaAnim__22CAnimationDatabaseGameCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"GetUniquePrimitivesFromMetaAnim__22CAnimationDatabaseGameCFRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8006D80C 0006A76C 4E 80 00 20 */ blr
.global "GetAllUniquePrimitives__22CAnimationDatabaseGameCFRQ24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>"
"GetAllUniquePrimitives__22CAnimationDatabaseGameCFRQ24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>":
/* 8006D810 0006A770 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8006D814 0006A774 7C 08 02 A6 */ mflr r0
/* 8006D818 0006A778 90 01 00 74 */ stw r0, 0x74(r1)
/* 8006D81C 0006A77C 88 A1 00 08 */ lbz r5, 8(r1)
/* 8006D820 0006A780 BF 41 00 58 */ stmw r26, 0x58(r1)
/* 8006D824 0006A784 3B E0 00 00 */ li r31, 0
/* 8006D828 0006A788 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8006D82C 0006A78C 7C 7A 1B 78 */ mr r26, r3
/* 8006D830 0006A790 7C 9B 23 78 */ mr r27, r4
/* 8006D834 0006A794 3B C1 00 40 */ addi r30, r1, 0x40
/* 8006D838 0006A798 3B 80 00 00 */ li r28, 0
/* 8006D83C 0006A79C 98 A1 00 38 */ stb r5, 0x38(r1)
/* 8006D840 0006A7A0 83 A3 00 14 */ lwz r29, 0x14(r3)
/* 8006D844 0006A7A4 98 01 00 39 */ stb r0, 0x39(r1)
/* 8006D848 0006A7A8 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8006D84C 0006A7AC 93 E1 00 40 */ stw r31, 0x40(r1)
/* 8006D850 0006A7B0 93 E1 00 44 */ stw r31, 0x44(r1)
/* 8006D854 0006A7B4 93 E1 00 48 */ stw r31, 0x48(r1)
/* 8006D858 0006A7B8 48 00 00 2C */ b lbl_8006D884
lbl_8006D85C:
/* 8006D85C 0006A7BC 80 7A 00 1C */ lwz r3, 0x1c(r26)
/* 8006D860 0006A7C0 38 81 00 38 */ addi r4, r1, 0x38
/* 8006D864 0006A7C4 7C 63 F8 2E */ lwzx r3, r3, r31
/* 8006D868 0006A7C8 80 63 00 00 */ lwz r3, 0(r3)
/* 8006D86C 0006A7CC 81 83 00 00 */ lwz r12, 0(r3)
/* 8006D870 0006A7D0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8006D874 0006A7D4 7D 89 03 A6 */ mtctr r12
/* 8006D878 0006A7D8 4E 80 04 21 */ bctrl
/* 8006D87C 0006A7DC 3B 9C 00 01 */ addi r28, r28, 1
/* 8006D880 0006A7E0 3B FF 00 04 */ addi r31, r31, 4
lbl_8006D884:
/* 8006D884 0006A7E4 7C 1C E8 40 */ cmplw r28, r29
/* 8006D888 0006A7E8 41 80 FF D4 */ blt lbl_8006D85C
/* 8006D88C 0006A7EC 80 9B 00 04 */ lwz r4, 4(r27)
/* 8006D890 0006A7F0 7F 63 DB 78 */ mr r3, r27
/* 8006D894 0006A7F4 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8006D898 0006A7F8 7C 84 02 14 */ add r4, r4, r0
/* 8006D89C 0006A7FC 48 00 06 99 */ bl "reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi"
/* 8006D8A0 0006A800 81 01 00 40 */ lwz r8, 0x40(r1)
/* 8006D8A4 0006A804 39 20 00 00 */ li r9, 0
/* 8006D8A8 0006A808 91 21 00 20 */ stw r9, 0x20(r1)
/* 8006D8AC 0006A80C 7F 63 DB 78 */ mr r3, r27
/* 8006D8B0 0006A810 38 81 00 14 */ addi r4, r1, 0x14
/* 8006D8B4 0006A814 38 A1 00 30 */ addi r5, r1, 0x30
/* 8006D8B8 0006A818 93 C1 00 24 */ stw r30, 0x24(r1)
/* 8006D8BC 0006A81C 38 C1 00 20 */ addi r6, r1, 0x20
/* 8006D8C0 0006A820 91 01 00 30 */ stw r8, 0x30(r1)
/* 8006D8C4 0006A824 93 C1 00 34 */ stw r30, 0x34(r1)
/* 8006D8C8 0006A828 80 1B 00 04 */ lwz r0, 4(r27)
/* 8006D8CC 0006A82C 80 FB 00 0C */ lwz r7, 0xc(r27)
/* 8006D8D0 0006A830 1C 00 00 18 */ mulli r0, r0, 0x18
/* 8006D8D4 0006A834 91 21 00 18 */ stw r9, 0x18(r1)
/* 8006D8D8 0006A838 93 C1 00 1C */ stw r30, 0x1c(r1)
/* 8006D8DC 0006A83C 7C 07 02 14 */ add r0, r7, r0
/* 8006D8E0 0006A840 91 01 00 28 */ stw r8, 0x28(r1)
/* 8006D8E4 0006A844 93 C1 00 2C */ stw r30, 0x2c(r1)
/* 8006D8E8 0006A848 90 01 00 10 */ stw r0, 0x10(r1)
/* 8006D8EC 0006A84C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006D8F0 0006A850 48 00 00 41 */ bl sub_8006d930
/* 8006D8F4 0006A854 80 81 00 48 */ lwz r4, 0x48(r1)
/* 8006D8F8 0006A858 28 04 00 00 */ cmplwi r4, 0
/* 8006D8FC 0006A85C 41 82 00 0C */ beq lbl_8006D908
/* 8006D900 0006A860 38 61 00 38 */ addi r3, r1, 0x38
/* 8006D904 0006A864 4B FC 39 A5 */ bl sub_800312a8
lbl_8006D908:
/* 8006D908 0006A868 38 00 00 00 */ li r0, 0
/* 8006D90C 0006A86C 90 01 00 48 */ stw r0, 0x48(r1)
/* 8006D910 0006A870 90 01 00 40 */ stw r0, 0x40(r1)
/* 8006D914 0006A874 90 01 00 44 */ stw r0, 0x44(r1)
/* 8006D918 0006A878 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8006D91C 0006A87C BB 41 00 58 */ lmw r26, 0x58(r1)
/* 8006D920 0006A880 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8006D924 0006A884 7C 08 03 A6 */ mtlr r0
/* 8006D928 0006A888 38 21 00 70 */ addi r1, r1, 0x70
/* 8006D92C 0006A88C 4E 80 00 20 */ blr
.global sub_8006d930
sub_8006d930:
/* 8006D930 0006A890 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8006D934 0006A894 7C 08 02 A6 */ mflr r0
/* 8006D938 0006A898 90 01 00 34 */ stw r0, 0x34(r1)
/* 8006D93C 0006A89C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8006D940 0006A8A0 7C 7F 1B 78 */ mr r31, r3
/* 8006D944 0006A8A4 38 61 00 1C */ addi r3, r1, 0x1c
/* 8006D948 0006A8A8 81 25 00 00 */ lwz r9, 0(r5)
/* 8006D94C 0006A8AC 81 05 00 04 */ lwz r8, 4(r5)
/* 8006D950 0006A8B0 80 04 00 00 */ lwz r0, 0(r4)
/* 8006D954 0006A8B4 38 81 00 14 */ addi r4, r1, 0x14
/* 8006D958 0006A8B8 80 E6 00 00 */ lwz r7, 0(r6)
/* 8006D95C 0006A8BC 80 A6 00 04 */ lwz r5, 4(r6)
/* 8006D960 0006A8C0 91 21 00 0C */ stw r9, 0xc(r1)
/* 8006D964 0006A8C4 91 01 00 10 */ stw r8, 0x10(r1)
/* 8006D968 0006A8C8 90 E1 00 14 */ stw r7, 0x14(r1)
/* 8006D96C 0006A8CC 90 A1 00 18 */ stw r5, 0x18(r1)
/* 8006D970 0006A8D0 91 21 00 1C */ stw r9, 0x1c(r1)
/* 8006D974 0006A8D4 91 01 00 20 */ stw r8, 0x20(r1)
/* 8006D978 0006A8D8 90 01 00 08 */ stw r0, 8(r1)
/* 8006D97C 0006A8DC 48 00 04 DD */ bl "distance<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator"
/* 8006D980 0006A8E0 7C 65 1B 78 */ mr r5, r3
/* 8006D984 0006A8E4 7F E3 FB 78 */ mr r3, r31
/* 8006D988 0006A8E8 38 81 00 08 */ addi r4, r1, 8
/* 8006D98C 0006A8EC 38 C1 00 0C */ addi r6, r1, 0xc
/* 8006D990 0006A8F0 48 00 00 19 */ bl "insert_into<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator"
/* 8006D994 0006A8F4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8006D998 0006A8F8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8006D99C 0006A8FC 7C 08 03 A6 */ mtlr r0
/* 8006D9A0 0006A900 38 21 00 30 */ addi r1, r1, 0x30
/* 8006D9A4 0006A904 4E 80 00 20 */ blr
.global "insert_into<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator"
"insert_into<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>FQ24rstl114pointer_iterator<10CPrimitive,Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator":
/* 8006D9A8 0006A908 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8006D9AC 0006A90C 7C 08 02 A6 */ mflr r0
/* 8006D9B0 0006A910 90 01 00 44 */ stw r0, 0x44(r1)
/* 8006D9B4 0006A914 BE 81 00 10 */ stmw r20, 0x10(r1)
/* 8006D9B8 0006A918 7C BF 2B 78 */ mr r31, r5
/* 8006D9BC 0006A91C 7C 7E 1B 78 */ mr r30, r3
/* 8006D9C0 0006A920 7C 94 23 78 */ mr r20, r4
/* 8006D9C4 0006A924 80 A3 00 04 */ lwz r5, 4(r3)
/* 8006D9C8 0006A928 80 63 00 08 */ lwz r3, 8(r3)
/* 8006D9CC 0006A92C 7C E5 FA 14 */ add r7, r5, r31
/* 8006D9D0 0006A930 80 9E 00 0C */ lwz r4, 0xc(r30)
/* 8006D9D4 0006A934 7C 07 18 00 */ cmpw r7, r3
/* 8006D9D8 0006A938 83 66 00 00 */ lwz r27, 0(r6)
/* 8006D9DC 0006A93C 83 46 00 04 */ lwz r26, 4(r6)
/* 8006D9E0 0006A940 7C 97 23 78 */ mr r23, r4
/* 8006D9E4 0006A944 41 81 01 08 */ bgt lbl_8006DAEC
/* 8006D9E8 0006A948 80 14 00 00 */ lwz r0, 0(r20)
/* 8006D9EC 0006A94C 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha
/* 8006D9F0 0006A950 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l
/* 8006D9F4 0006A954 7C 04 00 50 */ subf r0, r4, r0
/* 8006D9F8 0006A958 7C 03 00 96 */ mulhw r0, r3, r0
/* 8006D9FC 0006A95C 7C 00 16 70 */ srawi r0, r0, 2
/* 8006DA00 0006A960 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8006DA04 0006A964 7E 80 1A 14 */ add r20, r0, r3
/* 8006DA08 0006A968 7C 74 28 50 */ subf r3, r20, r5
/* 8006DA0C 0006A96C 3A E3 FF FF */ addi r23, r3, -1
/* 8006DA10 0006A970 1C 74 00 18 */ mulli r3, r20, 0x18
/* 8006DA14 0006A974 1C 1F 00 18 */ mulli r0, r31, 0x18
/* 8006DA18 0006A978 7F 04 1A 14 */ add r24, r4, r3
/* 8006DA1C 0006A97C 1C 77 00 18 */ mulli r3, r23, 0x18
/* 8006DA20 0006A980 7E A0 1A 14 */ add r21, r0, r3
/* 8006DA24 0006A984 7E B8 AA 14 */ add r21, r24, r21
/* 8006DA28 0006A988 7E D8 1A 14 */ add r22, r24, r3
/* 8006DA2C 0006A98C 48 00 00 5C */ b lbl_8006DA88
lbl_8006DA30:
/* 8006DA30 0006A990 7C 14 BA 14 */ add r0, r20, r23
/* 8006DA34 0006A994 28 15 00 00 */ cmplwi r21, 0
/* 8006DA38 0006A998 1C 00 00 18 */ mulli r0, r0, 0x18
/* 8006DA3C 0006A99C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8006DA40 0006A9A0 7C A3 02 14 */ add r5, r3, r0
/* 8006DA44 0006A9A4 41 82 00 20 */ beq lbl_8006DA64
/* 8006DA48 0006A9A8 80 05 00 00 */ lwz r0, 0(r5)
/* 8006DA4C 0006A9AC 38 75 00 08 */ addi r3, r21, 8
/* 8006DA50 0006A9B0 38 85 00 08 */ addi r4, r5, 8
/* 8006DA54 0006A9B4 90 15 00 00 */ stw r0, 0(r21)
/* 8006DA58 0006A9B8 80 05 00 04 */ lwz r0, 4(r5)
/* 8006DA5C 0006A9BC 90 15 00 04 */ stw r0, 4(r21)
/* 8006DA60 0006A9C0 48 2D 07 01 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8006DA64:
/* 8006DA64 0006A9C4 28 16 00 00 */ cmplwi r22, 0
/* 8006DA68 0006A9C8 41 82 00 14 */ beq lbl_8006DA7C
/* 8006DA6C 0006A9CC 34 16 00 08 */ addic. r0, r22, 8
/* 8006DA70 0006A9D0 41 82 00 0C */ beq lbl_8006DA7C
/* 8006DA74 0006A9D4 38 76 00 08 */ addi r3, r22, 8
/* 8006DA78 0006A9D8 48 2D 00 69 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8006DA7C:
/* 8006DA7C 0006A9DC 3A B5 FF E8 */ addi r21, r21, -24
/* 8006DA80 0006A9E0 3A D6 FF E8 */ addi r22, r22, -24
/* 8006DA84 0006A9E4 3A F7 FF FF */ addi r23, r23, -1
lbl_8006DA88:
/* 8006DA88 0006A9E8 2C 17 00 00 */ cmpwi r23, 0
/* 8006DA8C 0006A9EC 40 80 FF A4 */ bge lbl_8006DA30
/* 8006DA90 0006A9F0 3A 80 00 00 */ li r20, 0
/* 8006DA94 0006A9F4 48 00 00 40 */ b lbl_8006DAD4
lbl_8006DA98:
/* 8006DA98 0006A9F8 28 18 00 00 */ cmplwi r24, 0
/* 8006DA9C 0006A9FC 41 82 00 20 */ beq lbl_8006DABC
/* 8006DAA0 0006AA00 80 1B 00 10 */ lwz r0, 0x10(r27)
/* 8006DAA4 0006AA04 38 78 00 08 */ addi r3, r24, 8
/* 8006DAA8 0006AA08 38 9B 00 18 */ addi r4, r27, 0x18
/* 8006DAAC 0006AA0C 90 18 00 00 */ stw r0, 0(r24)
/* 8006DAB0 0006AA10 80 1B 00 14 */ lwz r0, 0x14(r27)
/* 8006DAB4 0006AA14 90 18 00 04 */ stw r0, 4(r24)
/* 8006DAB8 0006AA18 48 2D 06 A9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8006DABC:
/* 8006DABC 0006AA1C 7F 43 D3 78 */ mr r3, r26
/* 8006DAC0 0006AA20 7F 64 DB 78 */ mr r4, r27
/* 8006DAC4 0006AA24 48 2C EB 1D */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8006DAC8 0006AA28 7C 7B 1B 78 */ mr r27, r3
/* 8006DACC 0006AA2C 3A 94 00 01 */ addi r20, r20, 1
/* 8006DAD0 0006AA30 3B 18 00 18 */ addi r24, r24, 0x18
lbl_8006DAD4:
/* 8006DAD4 0006AA34 7C 14 F8 00 */ cmpw r20, r31
/* 8006DAD8 0006AA38 41 80 FF C0 */ blt lbl_8006DA98
/* 8006DADC 0006AA3C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006DAE0 0006AA40 7C 00 FA 14 */ add r0, r0, r31
/* 8006DAE4 0006AA44 90 1E 00 04 */ stw r0, 4(r30)
/* 8006DAE8 0006AA48 48 00 01 D4 */ b lbl_8006DCBC
lbl_8006DAEC:
/* 8006DAEC 0006AA4C 2C 03 00 00 */ cmpwi r3, 0
/* 8006DAF0 0006AA50 38 00 00 04 */ li r0, 4
/* 8006DAF4 0006AA54 41 82 00 08 */ beq lbl_8006DAFC
/* 8006DAF8 0006AA58 54 60 08 3C */ slwi r0, r3, 1
lbl_8006DAFC:
/* 8006DAFC 0006AA5C 7C 16 03 78 */ mr r22, r0
/* 8006DB00 0006AA60 48 00 00 08 */ b lbl_8006DB08
lbl_8006DB04:
/* 8006DB04 0006AA64 56 D6 08 3C */ slwi r22, r22, 1
lbl_8006DB08:
/* 8006DB08 0006AA68 7C 16 38 00 */ cmpw r22, r7
/* 8006DB0C 0006AA6C 41 80 FF F8 */ blt lbl_8006DB04
/* 8006DB10 0006AA70 1C 76 00 18 */ mulli r3, r22, 0x18
/* 8006DB14 0006AA74 2C 03 00 00 */ cmpwi r3, 0
/* 8006DB18 0006AA78 40 82 00 0C */ bne lbl_8006DB24
/* 8006DB1C 0006AA7C 3B A0 00 00 */ li r29, 0
/* 8006DB20 0006AA80 48 00 00 18 */ b lbl_8006DB38
lbl_8006DB24:
/* 8006DB24 0006AA84 3C 80 80 3D */ lis r4, lbl_803CD250@ha
/* 8006DB28 0006AA88 38 A0 00 00 */ li r5, 0
/* 8006DB2C 0006AA8C 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l
/* 8006DB30 0006AA90 48 2A 7C E9 */ bl __nwa__FUlPCcPCc
/* 8006DB34 0006AA94 7C 7D 1B 78 */ mr r29, r3
lbl_8006DB38:
/* 8006DB38 0006AA98 80 9E 00 0C */ lwz r4, 0xc(r30)
/* 8006DB3C 0006AA9C 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha
/* 8006DB40 0006AAA0 80 14 00 00 */ lwz r0, 0(r20)
/* 8006DB44 0006AAA4 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l
/* 8006DB48 0006AAA8 7F B8 EB 78 */ mr r24, r29
/* 8006DB4C 0006AAAC 3A A0 00 00 */ li r21, 0
/* 8006DB50 0006AAB0 7C 04 00 50 */ subf r0, r4, r0
/* 8006DB54 0006AAB4 3A 80 00 00 */ li r20, 0
/* 8006DB58 0006AAB8 7C 03 00 96 */ mulhw r0, r3, r0
/* 8006DB5C 0006AABC 3B 20 00 00 */ li r25, 0
/* 8006DB60 0006AAC0 7C 00 16 70 */ srawi r0, r0, 2
/* 8006DB64 0006AAC4 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8006DB68 0006AAC8 7F 80 1A 14 */ add r28, r0, r3
/* 8006DB6C 0006AACC 48 00 00 40 */ b lbl_8006DBAC
lbl_8006DB70:
/* 8006DB70 0006AAD0 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8006DB74 0006AAD4 28 18 00 00 */ cmplwi r24, 0
/* 8006DB78 0006AAD8 7C A0 CA 14 */ add r5, r0, r25
/* 8006DB7C 0006AADC 41 82 00 20 */ beq lbl_8006DB9C
/* 8006DB80 0006AAE0 80 05 00 00 */ lwz r0, 0(r5)
/* 8006DB84 0006AAE4 38 78 00 08 */ addi r3, r24, 8
/* 8006DB88 0006AAE8 38 85 00 08 */ addi r4, r5, 8
/* 8006DB8C 0006AAEC 90 18 00 00 */ stw r0, 0(r24)
/* 8006DB90 0006AAF0 80 05 00 04 */ lwz r0, 4(r5)
/* 8006DB94 0006AAF4 90 18 00 04 */ stw r0, 4(r24)
/* 8006DB98 0006AAF8 48 2D 05 C9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8006DB9C:
/* 8006DB9C 0006AAFC 3B 18 00 18 */ addi r24, r24, 0x18
/* 8006DBA0 0006AB00 3A B5 00 01 */ addi r21, r21, 1
/* 8006DBA4 0006AB04 3B 39 00 18 */ addi r25, r25, 0x18
/* 8006DBA8 0006AB08 3A 94 00 01 */ addi r20, r20, 1
lbl_8006DBAC:
/* 8006DBAC 0006AB0C 7C 14 E0 00 */ cmpw r20, r28
/* 8006DBB0 0006AB10 41 80 FF C0 */ blt lbl_8006DB70
/* 8006DBB4 0006AB14 1C 15 00 18 */ mulli r0, r21, 0x18
/* 8006DBB8 0006AB18 3B 00 00 00 */ li r24, 0
/* 8006DBBC 0006AB1C 7E 9D 02 14 */ add r20, r29, r0
/* 8006DBC0 0006AB20 48 00 00 44 */ b lbl_8006DC04
lbl_8006DBC4:
/* 8006DBC4 0006AB24 28 14 00 00 */ cmplwi r20, 0
/* 8006DBC8 0006AB28 41 82 00 20 */ beq lbl_8006DBE8
/* 8006DBCC 0006AB2C 80 1B 00 10 */ lwz r0, 0x10(r27)
/* 8006DBD0 0006AB30 38 74 00 08 */ addi r3, r20, 8
/* 8006DBD4 0006AB34 38 9B 00 18 */ addi r4, r27, 0x18
/* 8006DBD8 0006AB38 90 14 00 00 */ stw r0, 0(r20)
/* 8006DBDC 0006AB3C 80 1B 00 14 */ lwz r0, 0x14(r27)
/* 8006DBE0 0006AB40 90 14 00 04 */ stw r0, 4(r20)
/* 8006DBE4 0006AB44 48 2D 05 7D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8006DBE8:
/* 8006DBE8 0006AB48 7F 43 D3 78 */ mr r3, r26
/* 8006DBEC 0006AB4C 7F 64 DB 78 */ mr r4, r27
/* 8006DBF0 0006AB50 48 2C E9 F1 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8006DBF4 0006AB54 7C 7B 1B 78 */ mr r27, r3
/* 8006DBF8 0006AB58 3A B5 00 01 */ addi r21, r21, 1
/* 8006DBFC 0006AB5C 3B 18 00 01 */ addi r24, r24, 1
/* 8006DC00 0006AB60 3A 94 00 18 */ addi r20, r20, 0x18
lbl_8006DC04:
/* 8006DC04 0006AB64 7C 18 F8 00 */ cmpw r24, r31
/* 8006DC08 0006AB68 41 80 FF BC */ blt lbl_8006DBC4
/* 8006DC0C 0006AB6C 1C 15 00 18 */ mulli r0, r21, 0x18
/* 8006DC10 0006AB70 7F 98 E3 78 */ mr r24, r28
/* 8006DC14 0006AB74 1E 9C 00 18 */ mulli r20, r28, 0x18
/* 8006DC18 0006AB78 7E BD 02 14 */ add r21, r29, r0
/* 8006DC1C 0006AB7C 48 00 00 3C */ b lbl_8006DC58
lbl_8006DC20:
/* 8006DC20 0006AB80 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8006DC24 0006AB84 28 15 00 00 */ cmplwi r21, 0
/* 8006DC28 0006AB88 7C A0 A2 14 */ add r5, r0, r20
/* 8006DC2C 0006AB8C 41 82 00 20 */ beq lbl_8006DC4C
/* 8006DC30 0006AB90 80 05 00 00 */ lwz r0, 0(r5)
/* 8006DC34 0006AB94 38 75 00 08 */ addi r3, r21, 8
/* 8006DC38 0006AB98 38 85 00 08 */ addi r4, r5, 8
/* 8006DC3C 0006AB9C 90 15 00 00 */ stw r0, 0(r21)
/* 8006DC40 0006ABA0 80 05 00 04 */ lwz r0, 4(r5)
/* 8006DC44 0006ABA4 90 15 00 04 */ stw r0, 4(r21)
/* 8006DC48 0006ABA8 48 2D 05 19 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8006DC4C:
/* 8006DC4C 0006ABAC 3A B5 00 18 */ addi r21, r21, 0x18
/* 8006DC50 0006ABB0 3A 94 00 18 */ addi r20, r20, 0x18
/* 8006DC54 0006ABB4 3B 18 00 01 */ addi r24, r24, 1
lbl_8006DC58:
/* 8006DC58 0006ABB8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006DC5C 0006ABBC 7C 18 00 00 */ cmpw r24, r0
/* 8006DC60 0006ABC0 41 80 FF C0 */ blt lbl_8006DC20
/* 8006DC64 0006ABC4 1C 00 00 18 */ mulli r0, r0, 0x18
/* 8006DC68 0006ABC8 7E F4 BB 78 */ mr r20, r23
/* 8006DC6C 0006ABCC 7E B7 02 14 */ add r21, r23, r0
/* 8006DC70 0006ABD0 48 00 00 20 */ b lbl_8006DC90
lbl_8006DC74:
/* 8006DC74 0006ABD4 28 14 00 00 */ cmplwi r20, 0
/* 8006DC78 0006ABD8 41 82 00 14 */ beq lbl_8006DC8C
/* 8006DC7C 0006ABDC 34 14 00 08 */ addic. r0, r20, 8
/* 8006DC80 0006ABE0 41 82 00 0C */ beq lbl_8006DC8C
/* 8006DC84 0006ABE4 38 74 00 08 */ addi r3, r20, 8
/* 8006DC88 0006ABE8 48 2C FE 59 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8006DC8C:
/* 8006DC8C 0006ABEC 3A 94 00 18 */ addi r20, r20, 0x18
lbl_8006DC90:
/* 8006DC90 0006ABF0 7C 14 A8 40 */ cmplw r20, r21
/* 8006DC94 0006ABF4 40 82 FF E0 */ bne lbl_8006DC74
/* 8006DC98 0006ABF8 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8006DC9C 0006ABFC 28 03 00 00 */ cmplwi r3, 0
/* 8006DCA0 0006AC00 41 82 00 08 */ beq lbl_8006DCA8
/* 8006DCA4 0006AC04 48 2A 7C 8D */ bl Free__7CMemoryFPCv
lbl_8006DCA8:
/* 8006DCA8 0006AC08 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8006DCAC 0006AC0C 92 DE 00 08 */ stw r22, 8(r30)
/* 8006DCB0 0006AC10 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006DCB4 0006AC14 7C 00 FA 14 */ add r0, r0, r31
/* 8006DCB8 0006AC18 90 1E 00 04 */ stw r0, 4(r30)
lbl_8006DCBC:
/* 8006DCBC 0006AC1C BA 81 00 10 */ lmw r20, 0x10(r1)
/* 8006DCC0 0006AC20 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8006DCC4 0006AC24 7C 08 03 A6 */ mtlr r0
/* 8006DCC8 0006AC28 38 21 00 40 */ addi r1, r1, 0x40
/* 8006DCCC 0006AC2C 4E 80 00 20 */ blr
.global GetMetaAnim__22CAnimationDatabaseGameCFUi
GetMetaAnim__22CAnimationDatabaseGameCFUi:
/* 8006DCD0 0006AC30 80 63 00 1C */ lwz r3, 0x1c(r3)
/* 8006DCD4 0006AC34 54 80 10 3A */ slwi r0, r4, 2
/* 8006DCD8 0006AC38 7C 63 02 14 */ add r3, r3, r0
/* 8006DCDC 0006AC3C 4E 80 00 20 */ blr
.global GetNumMetaAnims__22CAnimationDatabaseGameCFv
GetNumMetaAnims__22CAnimationDatabaseGameCFv:
/* 8006DCE0 0006AC40 80 63 00 14 */ lwz r3, 0x14(r3)
/* 8006DCE4 0006AC44 4E 80 00 20 */ blr
.global GetMetaAnimName__22CAnimationDatabaseGameCFUi
GetMetaAnimName__22CAnimationDatabaseGameCFUi:
/* 8006DCE8 0006AC48 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8006DCEC 0006AC4C 7C 08 02 A6 */ mflr r0
/* 8006DCF0 0006AC50 3C 80 80 3D */ lis r4, lbl_803CD250@ha
/* 8006DCF4 0006AC54 38 A0 FF FF */ li r5, -1
/* 8006DCF8 0006AC58 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l
/* 8006DCFC 0006AC5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006DD00 0006AC60 38 C1 00 08 */ addi r6, r1, 8
/* 8006DD04 0006AC64 38 84 00 07 */ addi r4, r4, 7
/* 8006DD08 0006AC68 48 2D 04 8D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 8006DD0C 0006AC6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8006DD10 0006AC70 7C 08 03 A6 */ mtlr r0
/* 8006DD14 0006AC74 38 21 00 10 */ addi r1, r1, 0x10
/* 8006DD18 0006AC78 4E 80 00 20 */ blr
.global "__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>"
"__ct__22CAnimationDatabaseGameFRCQ24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>":
/* 8006DD1C 0006AC7C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8006DD20 0006AC80 7C 08 02 A6 */ mflr r0
/* 8006DD24 0006AC84 3C A0 80 3E */ lis r5, lbl_803D9BE0@ha
/* 8006DD28 0006AC88 90 01 00 34 */ stw r0, 0x34(r1)
/* 8006DD2C 0006AC8C 38 00 00 00 */ li r0, 0
/* 8006DD30 0006AC90 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8006DD34 0006AC94 7C 7F 1B 78 */ mr r31, r3
/* 8006DD38 0006AC98 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8006DD3C 0006AC9C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8006DD40 0006ACA0 7C 9D 23 78 */ mr r29, r4
/* 8006DD44 0006ACA4 98 01 00 10 */ stb r0, 0x10(r1)
/* 8006DD48 0006ACA8 38 05 9B E0 */ addi r0, r5, lbl_803D9BE0@l
/* 8006DD4C 0006ACAC 90 03 00 00 */ stw r0, 0(r3)
/* 8006DD50 0006ACB0 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8006DD54 0006ACB4 98 03 00 0C */ stb r0, 0xc(r3)
/* 8006DD58 0006ACB8 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8006DD5C 0006ACBC 28 00 00 00 */ cmplwi r0, 0
/* 8006DD60 0006ACC0 41 82 00 14 */ beq lbl_8006DD74
/* 8006DD64 0006ACC4 34 7F 00 04 */ addic. r3, r31, 4
/* 8006DD68 0006ACC8 38 81 00 08 */ addi r4, r1, 8
/* 8006DD6C 0006ACCC 41 82 00 08 */ beq lbl_8006DD74
/* 8006DD70 0006ACD0 48 2D 31 39 */ bl __ct__6CTokenFRC6CToken
lbl_8006DD74:
/* 8006DD74 0006ACD4 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8006DD78 0006ACD8 28 00 00 00 */ cmplwi r0, 0
/* 8006DD7C 0006ACDC 41 82 00 14 */ beq lbl_8006DD90
/* 8006DD80 0006ACE0 34 61 00 08 */ addic. r3, r1, 8
/* 8006DD84 0006ACE4 41 82 00 0C */ beq lbl_8006DD90
/* 8006DD88 0006ACE8 38 80 00 00 */ li r4, 0
/* 8006DD8C 0006ACEC 48 2D 30 B5 */ bl __dt__6CTokenFv
lbl_8006DD90:
/* 8006DD90 0006ACF0 38 80 00 00 */ li r4, 0
/* 8006DD94 0006ACF4 3C 60 80 3E */ lis r3, lbl_803DA320@ha
/* 8006DD98 0006ACF8 98 81 00 10 */ stb r4, 0x10(r1)
/* 8006DD9C 0006ACFC 38 03 A3 20 */ addi r0, r3, lbl_803DA320@l
/* 8006DDA0 0006AD00 38 7F 00 10 */ addi r3, r31, 0x10
/* 8006DDA4 0006AD04 90 1F 00 00 */ stw r0, 0(r31)
/* 8006DDA8 0006AD08 90 9F 00 14 */ stw r4, 0x14(r31)
/* 8006DDAC 0006AD0C 90 9F 00 18 */ stw r4, 0x18(r31)
/* 8006DDB0 0006AD10 90 9F 00 1C */ stw r4, 0x1c(r31)
/* 8006DDB4 0006AD14 80 9D 00 04 */ lwz r4, 4(r29)
/* 8006DDB8 0006AD18 83 BD 00 0C */ lwz r29, 0xc(r29)
/* 8006DDBC 0006AD1C 1C 04 00 14 */ mulli r0, r4, 0x14
/* 8006DDC0 0006AD20 7F DD 02 14 */ add r30, r29, r0
/* 8006DDC4 0006AD24 48 00 02 7D */ bl "reserve__Q24rstl62vector<Q24rstl18rc_ptr<9IMetaAnim>,Q24rstl17rmemory_allocator>Fi"
/* 8006DDC8 0006AD28 48 00 00 68 */ b lbl_8006DE30
lbl_8006DDCC:
/* 8006DDCC 0006AD2C 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8006DDD0 0006AD30 80 BF 00 18 */ lwz r5, 0x18(r31)
/* 8006DDD4 0006AD34 7C 00 28 00 */ cmpw r0, r5
/* 8006DDD8 0006AD38 41 80 00 1C */ blt lbl_8006DDF4
/* 8006DDDC 0006AD3C 2C 05 00 00 */ cmpwi r5, 0
/* 8006DDE0 0006AD40 38 7F 00 10 */ addi r3, r31, 0x10
/* 8006DDE4 0006AD44 38 80 00 04 */ li r4, 4
/* 8006DDE8 0006AD48 41 82 00 08 */ beq lbl_8006DDF0
/* 8006DDEC 0006AD4C 54 A4 08 3C */ slwi r4, r5, 1
lbl_8006DDF0:
/* 8006DDF0 0006AD50 48 00 02 51 */ bl "reserve__Q24rstl62vector<Q24rstl18rc_ptr<9IMetaAnim>,Q24rstl17rmemory_allocator>Fi"
lbl_8006DDF4:
/* 8006DDF4 0006AD54 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8006DDF8 0006AD58 80 7F 00 1C */ lwz r3, 0x1c(r31)
/* 8006DDFC 0006AD5C 54 00 10 3A */ slwi r0, r0, 2
/* 8006DE00 0006AD60 7C 63 02 15 */ add. r3, r3, r0
/* 8006DE04 0006AD64 41 82 00 1C */ beq lbl_8006DE20
/* 8006DE08 0006AD68 80 1D 00 10 */ lwz r0, 0x10(r29)
/* 8006DE0C 0006AD6C 90 03 00 00 */ stw r0, 0(r3)
/* 8006DE10 0006AD70 80 83 00 00 */ lwz r4, 0(r3)
/* 8006DE14 0006AD74 80 64 00 04 */ lwz r3, 4(r4)
/* 8006DE18 0006AD78 38 03 00 01 */ addi r0, r3, 1
/* 8006DE1C 0006AD7C 90 04 00 04 */ stw r0, 4(r4)
lbl_8006DE20:
/* 8006DE20 0006AD80 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 8006DE24 0006AD84 3B BD 00 14 */ addi r29, r29, 0x14
/* 8006DE28 0006AD88 38 03 00 01 */ addi r0, r3, 1
/* 8006DE2C 0006AD8C 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_8006DE30:
/* 8006DE30 0006AD90 7C 1D F0 40 */ cmplw r29, r30
/* 8006DE34 0006AD94 40 82 FF 98 */ bne lbl_8006DDCC
/* 8006DE38 0006AD98 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8006DE3C 0006AD9C 7F E3 FB 78 */ mr r3, r31
/* 8006DE40 0006ADA0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8006DE44 0006ADA4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8006DE48 0006ADA8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8006DE4C 0006ADAC 7C 08 03 A6 */ mtlr r0
/* 8006DE50 0006ADB0 38 21 00 30 */ addi r1, r1, 0x30
/* 8006DE54 0006ADB4 4E 80 00 20 */ blr
.global "distance<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator"
"distance<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator":
/* 8006DE58 0006ADB8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8006DE5C 0006ADBC 7C 08 02 A6 */ mflr r0
/* 8006DE60 0006ADC0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8006DE64 0006ADC4 38 A1 00 0C */ addi r5, r1, 0xc
/* 8006DE68 0006ADC8 89 21 00 08 */ lbz r9, 8(r1)
/* 8006DE6C 0006ADCC 81 04 00 00 */ lwz r8, 0(r4)
/* 8006DE70 0006ADD0 80 E4 00 04 */ lwz r7, 4(r4)
/* 8006DE74 0006ADD4 38 81 00 10 */ addi r4, r1, 0x10
/* 8006DE78 0006ADD8 80 C3 00 00 */ lwz r6, 0(r3)
/* 8006DE7C 0006ADDC 80 03 00 04 */ lwz r0, 4(r3)
/* 8006DE80 0006ADE0 38 61 00 18 */ addi r3, r1, 0x18
/* 8006DE84 0006ADE4 99 21 00 0C */ stb r9, 0xc(r1)
/* 8006DE88 0006ADE8 91 01 00 10 */ stw r8, 0x10(r1)
/* 8006DE8C 0006ADEC 90 E1 00 14 */ stw r7, 0x14(r1)
/* 8006DE90 0006ADF0 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8006DE94 0006ADF4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8006DE98 0006ADF8 48 00 00 15 */ bl "__distance<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag"
/* 8006DE9C 0006ADFC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8006DEA0 0006AE00 7C 08 03 A6 */ mtlr r0
/* 8006DEA4 0006AE04 38 21 00 20 */ addi r1, r1, 0x20
/* 8006DEA8 0006AE08 4E 80 00 20 */ blr
.global "__distance<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag"
"__distance<Q34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iterator>__4rstlFQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ34rstl130red_black_tree<10CPrimitive,10CPrimitive,0,Q24rstl22identity<10CPrimitive>,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>8iteratorQ24rstl20forward_iterator_tag":
/* 8006DEAC 0006AE0C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8006DEB0 0006AE10 7C 08 02 A6 */ mflr r0
/* 8006DEB4 0006AE14 90 01 00 24 */ stw r0, 0x24(r1)
/* 8006DEB8 0006AE18 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8006DEBC 0006AE1C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8006DEC0 0006AE20 3B C0 00 00 */ li r30, 0
/* 8006DEC4 0006AE24 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8006DEC8 0006AE28 7C 9D 23 78 */ mr r29, r4
/* 8006DECC 0006AE2C 80 A3 00 00 */ lwz r5, 0(r3)
/* 8006DED0 0006AE30 83 E3 00 04 */ lwz r31, 4(r3)
/* 8006DED4 0006AE34 48 00 00 18 */ b lbl_8006DEEC
lbl_8006DED8:
/* 8006DED8 0006AE38 7F E3 FB 78 */ mr r3, r31
/* 8006DEDC 0006AE3C 7C A4 2B 78 */ mr r4, r5
/* 8006DEE0 0006AE40 3B DE 00 01 */ addi r30, r30, 1
/* 8006DEE4 0006AE44 48 2C E6 FD */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8006DEE8 0006AE48 7C 65 1B 78 */ mr r5, r3
lbl_8006DEEC:
/* 8006DEEC 0006AE4C 80 1D 00 00 */ lwz r0, 0(r29)
/* 8006DEF0 0006AE50 38 60 00 00 */ li r3, 0
/* 8006DEF4 0006AE54 7C 05 00 40 */ cmplw r5, r0
/* 8006DEF8 0006AE58 40 82 00 10 */ bne lbl_8006DF08
/* 8006DEFC 0006AE5C 80 1D 00 04 */ lwz r0, 4(r29)
/* 8006DF00 0006AE60 7C 1F 00 40 */ cmplw r31, r0
/* 8006DF04 0006AE64 41 82 00 08 */ beq lbl_8006DF0C
lbl_8006DF08:
/* 8006DF08 0006AE68 38 60 00 01 */ li r3, 1
lbl_8006DF0C:
/* 8006DF0C 0006AE6C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8006DF10 0006AE70 40 82 FF C8 */ bne lbl_8006DED8
/* 8006DF14 0006AE74 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8006DF18 0006AE78 7F C3 F3 78 */ mr r3, r30
/* 8006DF1C 0006AE7C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8006DF20 0006AE80 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8006DF24 0006AE84 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8006DF28 0006AE88 7C 08 03 A6 */ mtlr r0
/* 8006DF2C 0006AE8C 38 21 00 20 */ addi r1, r1, 0x20
/* 8006DF30 0006AE90 4E 80 00 20 */ blr
.global "reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl47vector<10CPrimitive,Q24rstl17rmemory_allocator>Fi":
/* 8006DF34 0006AE94 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8006DF38 0006AE98 7C 08 02 A6 */ mflr r0
/* 8006DF3C 0006AE9C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8006DF40 0006AEA0 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8006DF44 0006AEA4 7C 9F 23 78 */ mr r31, r4
/* 8006DF48 0006AEA8 7C 7E 1B 78 */ mr r30, r3
/* 8006DF4C 0006AEAC 80 03 00 08 */ lwz r0, 8(r3)
/* 8006DF50 0006AEB0 7C 1F 00 00 */ cmpw r31, r0
/* 8006DF54 0006AEB4 40 81 00 D8 */ ble lbl_8006E02C
/* 8006DF58 0006AEB8 1C 7F 00 18 */ mulli r3, r31, 0x18
/* 8006DF5C 0006AEBC 2C 03 00 00 */ cmpwi r3, 0
/* 8006DF60 0006AEC0 40 82 00 0C */ bne lbl_8006DF6C
/* 8006DF64 0006AEC4 3B 80 00 00 */ li r28, 0
/* 8006DF68 0006AEC8 48 00 00 18 */ b lbl_8006DF80
lbl_8006DF6C:
/* 8006DF6C 0006AECC 3C 80 80 3D */ lis r4, lbl_803CD250@ha
/* 8006DF70 0006AED0 38 A0 00 00 */ li r5, 0
/* 8006DF74 0006AED4 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l
/* 8006DF78 0006AED8 48 2A 78 A1 */ bl __nwa__FUlPCcPCc
/* 8006DF7C 0006AEDC 7C 7C 1B 78 */ mr r28, r3
lbl_8006DF80:
/* 8006DF80 0006AEE0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006DF84 0006AEE4 7F 9B E3 78 */ mr r27, r28
/* 8006DF88 0006AEE8 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 8006DF8C 0006AEEC 1C 00 00 18 */ mulli r0, r0, 0x18
/* 8006DF90 0006AEF0 93 41 00 10 */ stw r26, 0x10(r1)
/* 8006DF94 0006AEF4 7F BA 02 14 */ add r29, r26, r0
/* 8006DF98 0006AEF8 93 41 00 14 */ stw r26, 0x14(r1)
/* 8006DF9C 0006AEFC 93 A1 00 08 */ stw r29, 8(r1)
/* 8006DFA0 0006AF00 93 A1 00 0C */ stw r29, 0xc(r1)
/* 8006DFA4 0006AF04 48 00 00 30 */ b lbl_8006DFD4
lbl_8006DFA8:
/* 8006DFA8 0006AF08 28 1B 00 00 */ cmplwi r27, 0
/* 8006DFAC 0006AF0C 41 82 00 20 */ beq lbl_8006DFCC
/* 8006DFB0 0006AF10 80 1A 00 00 */ lwz r0, 0(r26)
/* 8006DFB4 0006AF14 38 7B 00 08 */ addi r3, r27, 8
/* 8006DFB8 0006AF18 38 9A 00 08 */ addi r4, r26, 8
/* 8006DFBC 0006AF1C 90 1B 00 00 */ stw r0, 0(r27)
/* 8006DFC0 0006AF20 80 1A 00 04 */ lwz r0, 4(r26)
/* 8006DFC4 0006AF24 90 1B 00 04 */ stw r0, 4(r27)
/* 8006DFC8 0006AF28 48 2D 01 99 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8006DFCC:
/* 8006DFCC 0006AF2C 3B 7B 00 18 */ addi r27, r27, 0x18
/* 8006DFD0 0006AF30 3B 5A 00 18 */ addi r26, r26, 0x18
lbl_8006DFD4:
/* 8006DFD4 0006AF34 7C 1A E8 40 */ cmplw r26, r29
/* 8006DFD8 0006AF38 40 82 FF D0 */ bne lbl_8006DFA8
/* 8006DFDC 0006AF3C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006DFE0 0006AF40 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 8006DFE4 0006AF44 1C 00 00 18 */ mulli r0, r0, 0x18
/* 8006DFE8 0006AF48 7F 7A 02 14 */ add r27, r26, r0
/* 8006DFEC 0006AF4C 48 00 00 20 */ b lbl_8006E00C
lbl_8006DFF0:
/* 8006DFF0 0006AF50 28 1A 00 00 */ cmplwi r26, 0
/* 8006DFF4 0006AF54 41 82 00 14 */ beq lbl_8006E008
/* 8006DFF8 0006AF58 34 1A 00 08 */ addic. r0, r26, 8
/* 8006DFFC 0006AF5C 41 82 00 0C */ beq lbl_8006E008
/* 8006E000 0006AF60 38 7A 00 08 */ addi r3, r26, 8
/* 8006E004 0006AF64 48 2C FA DD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8006E008:
/* 8006E008 0006AF68 3B 5A 00 18 */ addi r26, r26, 0x18
lbl_8006E00C:
/* 8006E00C 0006AF6C 7C 1A D8 40 */ cmplw r26, r27
/* 8006E010 0006AF70 40 82 FF E0 */ bne lbl_8006DFF0
/* 8006E014 0006AF74 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8006E018 0006AF78 28 03 00 00 */ cmplwi r3, 0
/* 8006E01C 0006AF7C 41 82 00 08 */ beq lbl_8006E024
/* 8006E020 0006AF80 48 2A 79 11 */ bl Free__7CMemoryFPCv
lbl_8006E024:
/* 8006E024 0006AF84 93 9E 00 0C */ stw r28, 0xc(r30)
/* 8006E028 0006AF88 93 FE 00 08 */ stw r31, 8(r30)
lbl_8006E02C:
/* 8006E02C 0006AF8C BB 41 00 18 */ lmw r26, 0x18(r1)
/* 8006E030 0006AF90 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8006E034 0006AF94 7C 08 03 A6 */ mtlr r0
/* 8006E038 0006AF98 38 21 00 30 */ addi r1, r1, 0x30
/* 8006E03C 0006AF9C 4E 80 00 20 */ blr
.global "reserve__Q24rstl62vector<Q24rstl18rc_ptr<9IMetaAnim>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl62vector<Q24rstl18rc_ptr<9IMetaAnim>,Q24rstl17rmemory_allocator>Fi":
/* 8006E040 0006AFA0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8006E044 0006AFA4 7C 08 02 A6 */ mflr r0
/* 8006E048 0006AFA8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8006E04C 0006AFAC BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8006E050 0006AFB0 7C 9F 23 78 */ mr r31, r4
/* 8006E054 0006AFB4 7C 7E 1B 78 */ mr r30, r3
/* 8006E058 0006AFB8 80 03 00 08 */ lwz r0, 8(r3)
/* 8006E05C 0006AFBC 7C 1F 00 00 */ cmpw r31, r0
/* 8006E060 0006AFC0 40 81 00 C8 */ ble lbl_8006E128
/* 8006E064 0006AFC4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d
/* 8006E068 0006AFC8 40 82 00 0C */ bne lbl_8006E074
/* 8006E06C 0006AFCC 3B A0 00 00 */ li r29, 0
/* 8006E070 0006AFD0 48 00 00 18 */ b lbl_8006E088
lbl_8006E074:
/* 8006E074 0006AFD4 3C 80 80 3D */ lis r4, lbl_803CD250@ha
/* 8006E078 0006AFD8 38 A0 00 00 */ li r5, 0
/* 8006E07C 0006AFDC 38 84 D2 50 */ addi r4, r4, lbl_803CD250@l
/* 8006E080 0006AFE0 48 2A 77 99 */ bl __nwa__FUlPCcPCc
/* 8006E084 0006AFE4 7C 7D 1B 78 */ mr r29, r3
lbl_8006E088:
/* 8006E088 0006AFE8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006E08C 0006AFEC 7F A6 EB 78 */ mr r6, r29
/* 8006E090 0006AFF0 80 FE 00 0C */ lwz r7, 0xc(r30)
/* 8006E094 0006AFF4 54 00 10 3A */ slwi r0, r0, 2
/* 8006E098 0006AFF8 7C A7 02 14 */ add r5, r7, r0
/* 8006E09C 0006AFFC 90 E1 00 10 */ stw r7, 0x10(r1)
/* 8006E0A0 0006B000 90 A1 00 08 */ stw r5, 8(r1)
/* 8006E0A4 0006B004 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8006E0A8 0006B008 90 E1 00 14 */ stw r7, 0x14(r1)
/* 8006E0AC 0006B00C 48 00 00 2C */ b lbl_8006E0D8
lbl_8006E0B0:
/* 8006E0B0 0006B010 28 06 00 00 */ cmplwi r6, 0
/* 8006E0B4 0006B014 41 82 00 1C */ beq lbl_8006E0D0
/* 8006E0B8 0006B018 80 07 00 00 */ lwz r0, 0(r7)
/* 8006E0BC 0006B01C 90 06 00 00 */ stw r0, 0(r6)
/* 8006E0C0 0006B020 80 86 00 00 */ lwz r4, 0(r6)
/* 8006E0C4 0006B024 80 64 00 04 */ lwz r3, 4(r4)
/* 8006E0C8 0006B028 38 03 00 01 */ addi r0, r3, 1
/* 8006E0CC 0006B02C 90 04 00 04 */ stw r0, 4(r4)
lbl_8006E0D0:
/* 8006E0D0 0006B030 38 C6 00 04 */ addi r6, r6, 4
/* 8006E0D4 0006B034 38 E7 00 04 */ addi r7, r7, 4
lbl_8006E0D8:
/* 8006E0D8 0006B038 7C 07 28 40 */ cmplw r7, r5
/* 8006E0DC 0006B03C 40 82 FF D4 */ bne lbl_8006E0B0
/* 8006E0E0 0006B040 80 1E 00 04 */ lwz r0, 4(r30)
/* 8006E0E4 0006B044 83 7E 00 0C */ lwz r27, 0xc(r30)
/* 8006E0E8 0006B048 54 00 10 3A */ slwi r0, r0, 2
/* 8006E0EC 0006B04C 7F 9B 02 14 */ add r28, r27, r0
/* 8006E0F0 0006B050 48 00 00 18 */ b lbl_8006E108
lbl_8006E0F4:
/* 8006E0F4 0006B054 28 1B 00 00 */ cmplwi r27, 0
/* 8006E0F8 0006B058 41 82 00 0C */ beq lbl_8006E104
/* 8006E0FC 0006B05C 7F 63 DB 78 */ mr r3, r27
/* 8006E100 0006B060 4B FC 2E 31 */ bl sub_80030f30
lbl_8006E104:
/* 8006E104 0006B064 3B 7B 00 04 */ addi r27, r27, 4
lbl_8006E108:
/* 8006E108 0006B068 7C 1B E0 40 */ cmplw r27, r28
/* 8006E10C 0006B06C 40 82 FF E8 */ bne lbl_8006E0F4
/* 8006E110 0006B070 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8006E114 0006B074 28 03 00 00 */ cmplwi r3, 0
/* 8006E118 0006B078 41 82 00 08 */ beq lbl_8006E120
/* 8006E11C 0006B07C 48 2A 78 15 */ bl Free__7CMemoryFPCv
lbl_8006E120:
/* 8006E120 0006B080 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8006E124 0006B084 93 FE 00 08 */ stw r31, 8(r30)
lbl_8006E128:
/* 8006E128 0006B088 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8006E12C 0006B08C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8006E130 0006B090 7C 08 03 A6 */ mtlr r0
/* 8006E134 0006B094 38 21 00 30 */ addi r1, r1, 0x30
/* 8006E138 0006B098 4E 80 00 20 */ blr

View File

@ -0,0 +1,544 @@
.include "macros.inc"
.section .text, "ax"
.global __dt__28CArchMsgParmControllerStatusFv
__dt__28CArchMsgParmControllerStatusFv:
/* 8005A090 00056FF0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A094 00056FF4 7C 08 02 A6 */ mflr r0
/* 8005A098 00056FF8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A09C 00056FFC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005A0A0 00057000 7C 7F 1B 79 */ or. r31, r3, r3
/* 8005A0A4 00057004 41 82 00 30 */ beq lbl_8005A0D4
/* 8005A0A8 00057008 3C 60 80 3E */ lis r3, lbl_803DA098@ha
/* 8005A0AC 0005700C 38 03 A0 98 */ addi r0, r3, lbl_803DA098@l
/* 8005A0B0 00057010 90 1F 00 00 */ stw r0, 0(r31)
/* 8005A0B4 00057014 41 82 00 10 */ beq lbl_8005A0C4
/* 8005A0B8 00057018 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha
/* 8005A0BC 0005701C 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l
/* 8005A0C0 00057020 90 1F 00 00 */ stw r0, 0(r31)
lbl_8005A0C4:
/* 8005A0C4 00057024 7C 80 07 35 */ extsh. r0, r4
/* 8005A0C8 00057028 40 81 00 0C */ ble lbl_8005A0D4
/* 8005A0CC 0005702C 7F E3 FB 78 */ mr r3, r31
/* 8005A0D0 00057030 48 2B B8 61 */ bl Free__7CMemoryFPCv
lbl_8005A0D4:
/* 8005A0D4 00057034 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A0D8 00057038 7F E3 FB 78 */ mr r3, r31
/* 8005A0DC 0005703C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005A0E0 00057040 7C 08 03 A6 */ mtlr r0
/* 8005A0E4 00057044 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A0E8 00057048 4E 80 00 20 */ blr
.global __ct__28CArchMsgParmControllerStatusFsb
__ct__28CArchMsgParmControllerStatusFsb:
/* 8005A0EC 0005704C 3C E0 80 3E */ lis r7, lbl_803D8E9C@ha
/* 8005A0F0 00057050 3C C0 80 3E */ lis r6, lbl_803DA098@ha
/* 8005A0F4 00057054 38 E7 8E 9C */ addi r7, r7, lbl_803D8E9C@l
/* 8005A0F8 00057058 90 E3 00 00 */ stw r7, 0(r3)
/* 8005A0FC 0005705C 38 06 A0 98 */ addi r0, r6, lbl_803DA098@l
/* 8005A100 00057060 90 03 00 00 */ stw r0, 0(r3)
/* 8005A104 00057064 B0 83 00 04 */ sth r4, 4(r3)
/* 8005A108 00057068 98 A3 00 06 */ stb r5, 6(r3)
/* 8005A10C 0005706C 4E 80 00 20 */ blr
.global Render__10CExplosionCFRC13CStateManager
Render__10CExplosionCFRC13CStateManager:
/* 8005A110 00057070 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005A114 00057074 7C 08 02 A6 */ mflr r0
/* 8005A118 00057078 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005A11C 0005707C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005A120 00057080 7C 9F 23 78 */ mr r31, r4
/* 8005A124 00057084 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005A128 00057088 7C 7E 1B 78 */ mr r30, r3
/* 8005A12C 0005708C 80 04 0F 34 */ lwz r0, 0xf34(r4)
/* 8005A130 00057090 2C 00 00 00 */ cmpwi r0, 0
/* 8005A134 00057094 40 82 00 48 */ bne lbl_8005A17C
/* 8005A138 00057098 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A13C 0005709C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A140 000570A0 41 82 00 3C */ beq lbl_8005A17C
/* 8005A144 000570A4 38 00 00 01 */ li r0, 1
/* 8005A148 000570A8 38 60 00 01 */ li r3, 1
/* 8005A14C 000570AC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A150 000570B0 48 2E B6 99 */ bl SetRenderModelBlack__10CCubeModelFb
/* 8005A154 000570B4 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8005A158 000570B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A15C 000570BC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8005A160 000570C0 7D 89 03 A6 */ mtctr r12
/* 8005A164 000570C4 4E 80 04 21 */ bctrl
/* 8005A168 000570C8 38 60 00 00 */ li r3, 0
/* 8005A16C 000570CC 48 2E B6 7D */ bl SetRenderModelBlack__10CCubeModelFb
/* 8005A170 000570D0 38 00 00 00 */ li r0, 0
/* 8005A174 000570D4 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A178 000570D8 48 00 00 64 */ b lbl_8005A1DC
lbl_8005A17C:
/* 8005A17C 000570DC 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A180 000570E0 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 8005A184 000570E4 7C 00 00 34 */ cntlzw r0, r0
/* 8005A188 000570E8 54 00 D9 7E */ srwi r0, r0, 5
/* 8005A18C 000570EC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A190 000570F0 48 2E FE 25 */ bl Black__6CColorFv
/* 8005A194 000570F4 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2)
/* 8005A198 000570F8 7C 64 1B 78 */ mr r4, r3
/* 8005A19C 000570FC C0 42 86 AC */ lfs f2, lbl_805AA3CC@sda21(r2)
/* 8005A1A0 00057100 38 60 00 02 */ li r3, 2
/* 8005A1A4 00057104 48 2B 00 E5 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor
/* 8005A1A8 00057108 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8005A1AC 0005710C 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A1B0 00057110 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8005A1B4 00057114 7D 89 03 A6 */ mtctr r12
/* 8005A1B8 00057118 4E 80 04 21 */ bctrl
/* 8005A1BC 0005711C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005A1C0 00057120 7F E3 FB 78 */ mr r3, r31
/* 8005A1C4 00057124 38 81 00 0C */ addi r4, r1, 0xc
/* 8005A1C8 00057128 90 01 00 08 */ stw r0, 8(r1)
/* 8005A1CC 0005712C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005A1D0 00057130 4B FE CB B1 */ bl SetupFogForArea__13CStateManagerCF7TAreaId
/* 8005A1D4 00057134 38 00 00 00 */ li r0, 0
/* 8005A1D8 00057138 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
lbl_8005A1DC:
/* 8005A1DC 0005713C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A1E0 00057140 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005A1E4 00057144 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005A1E8 00057148 7C 08 03 A6 */ mtlr r0
/* 8005A1EC 0005714C 38 21 00 20 */ addi r1, r1, 0x20
/* 8005A1F0 00057150 4E 80 00 20 */ blr
.global CalculateRenderBounds__10CExplosionFv
CalculateRenderBounds__10CExplosionFv:
/* 8005A1F4 00057154 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8005A1F8 00057158 7C 08 02 A6 */ mflr r0
/* 8005A1FC 0005715C 90 01 00 74 */ stw r0, 0x74(r1)
/* 8005A200 00057160 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8005A204 00057164 7C 7F 1B 78 */ mr r31, r3
/* 8005A208 00057168 38 61 00 2C */ addi r3, r1, 0x2c
/* 8005A20C 0005716C 80 9F 00 E8 */ lwz r4, 0xe8(r31)
/* 8005A210 00057170 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A214 00057174 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 8005A218 00057178 7D 89 03 A6 */ mtctr r12
/* 8005A21C 0005717C 4E 80 04 21 */ bctrl
/* 8005A220 00057180 88 01 00 44 */ lbz r0, 0x44(r1)
/* 8005A224 00057184 28 00 00 00 */ cmplwi r0, 0
/* 8005A228 00057188 98 01 00 60 */ stb r0, 0x60(r1)
/* 8005A22C 0005718C 41 82 00 3C */ beq lbl_8005A268
/* 8005A230 00057190 34 61 00 48 */ addic. r3, r1, 0x48
/* 8005A234 00057194 41 82 00 34 */ beq lbl_8005A268
/* 8005A238 00057198 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 8005A23C 0005719C D0 03 00 00 */ stfs f0, 0(r3)
/* 8005A240 000571A0 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8005A244 000571A4 D0 03 00 04 */ stfs f0, 4(r3)
/* 8005A248 000571A8 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8005A24C 000571AC D0 03 00 08 */ stfs f0, 8(r3)
/* 8005A250 000571B0 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8005A254 000571B4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8005A258 000571B8 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 8005A25C 000571BC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8005A260 000571C0 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 8005A264 000571C4 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_8005A268:
/* 8005A268 000571C8 88 01 00 60 */ lbz r0, 0x60(r1)
/* 8005A26C 000571CC 38 60 00 00 */ li r3, 0
/* 8005A270 000571D0 98 61 00 44 */ stb r3, 0x44(r1)
/* 8005A274 000571D4 28 00 00 00 */ cmplwi r0, 0
/* 8005A278 000571D8 41 82 00 48 */ beq lbl_8005A2C0
/* 8005A27C 000571DC 80 81 00 48 */ lwz r4, 0x48(r1)
/* 8005A280 000571E0 38 60 00 01 */ li r3, 1
/* 8005A284 000571E4 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8005A288 000571E8 90 9F 00 9C */ stw r4, 0x9c(r31)
/* 8005A28C 000571EC 80 81 00 50 */ lwz r4, 0x50(r1)
/* 8005A290 000571F0 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8005A294 000571F4 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8005A298 000571F8 90 9F 00 A4 */ stw r4, 0xa4(r31)
/* 8005A29C 000571FC 80 81 00 58 */ lwz r4, 0x58(r1)
/* 8005A2A0 00057200 90 1F 00 A8 */ stw r0, 0xa8(r31)
/* 8005A2A4 00057204 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 8005A2A8 00057208 90 9F 00 AC */ stw r4, 0xac(r31)
/* 8005A2AC 0005720C 90 1F 00 B0 */ stw r0, 0xb0(r31)
/* 8005A2B0 00057210 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8005A2B4 00057214 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8005A2B8 00057218 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 8005A2BC 0005721C 48 00 00 68 */ b lbl_8005A324
lbl_8005A2C0:
/* 8005A2C0 00057220 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8005A2C4 00057224 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8005A2C8 00057228 38 81 00 08 */ addi r4, r1, 8
/* 8005A2CC 0005722C 38 61 00 14 */ addi r3, r1, 0x14
/* 8005A2D0 00057230 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 8005A2D4 00057234 7C 85 23 78 */ mr r5, r4
/* 8005A2D8 00057238 C0 5F 00 60 */ lfs f2, 0x60(r31)
/* 8005A2DC 0005723C C0 3F 00 50 */ lfs f1, 0x50(r31)
/* 8005A2E0 00057240 C0 1F 00 40 */ lfs f0, 0x40(r31)
/* 8005A2E4 00057244 D0 01 00 08 */ stfs f0, 8(r1)
/* 8005A2E8 00057248 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8005A2EC 0005724C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8005A2F0 00057250 48 2D E2 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8005A2F4 00057254 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8005A2F8 00057258 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8005A2FC 0005725C 90 7F 00 9C */ stw r3, 0x9c(r31)
/* 8005A300 00057260 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8005A304 00057264 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8005A308 00057268 90 1F 00 A4 */ stw r0, 0xa4(r31)
/* 8005A30C 0005726C 80 61 00 20 */ lwz r3, 0x20(r1)
/* 8005A310 00057270 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A314 00057274 90 7F 00 A8 */ stw r3, 0xa8(r31)
/* 8005A318 00057278 90 1F 00 AC */ stw r0, 0xac(r31)
/* 8005A31C 0005727C 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8005A320 00057280 90 1F 00 B0 */ stw r0, 0xb0(r31)
lbl_8005A324:
/* 8005A324 00057284 38 00 00 00 */ li r0, 0
/* 8005A328 00057288 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8005A32C 0005728C 98 01 00 60 */ stb r0, 0x60(r1)
/* 8005A330 00057290 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8005A334 00057294 7C 08 03 A6 */ mtlr r0
/* 8005A338 00057298 38 21 00 70 */ addi r1, r1, 0x70
/* 8005A33C 0005729C 4E 80 00 20 */ blr
.global AcceptScriptMsg__10CExplosionF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__10CExplosionF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8005A340 000572A0 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8005A344 000572A4 7C 08 02 A6 */ mflr r0
/* 8005A348 000572A8 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8005A34C 000572AC BE E1 00 AC */ stmw r23, 0xac(r1)
/* 8005A350 000572B0 7C 9D 23 78 */ mr r29, r4
/* 8005A354 000572B4 2C 1D 00 22 */ cmpwi r29, 0x22
/* 8005A358 000572B8 7C 7C 1B 78 */ mr r28, r3
/* 8005A35C 000572BC 7C BE 2B 78 */ mr r30, r5
/* 8005A360 000572C0 7C DF 33 78 */ mr r31, r6
/* 8005A364 000572C4 41 82 01 44 */ beq lbl_8005A4A8
/* 8005A368 000572C8 40 80 01 6C */ bge lbl_8005A4D4
/* 8005A36C 000572CC 2C 1D 00 21 */ cmpwi r29, 0x21
/* 8005A370 000572D0 40 80 00 08 */ bge lbl_8005A378
/* 8005A374 000572D4 48 00 01 60 */ b lbl_8005A4D4
lbl_8005A378:
/* 8005A378 000572D8 80 7C 00 E8 */ lwz r3, 0xe8(r28)
/* 8005A37C 000572DC 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A380 000572E0 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 8005A384 000572E4 7D 89 03 A6 */ mtctr r12
/* 8005A388 000572E8 4E 80 04 21 */ bctrl
/* 8005A38C 000572EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A390 000572F0 41 82 01 44 */ beq lbl_8005A4D4
/* 8005A394 000572F4 7F E4 FB 78 */ mr r4, r31
/* 8005A398 000572F8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8005A39C 000572FC 4B FF 2D 41 */ bl AllocateUniqueId__13CStateManagerFv
/* 8005A3A0 00057300 A0 01 00 2C */ lhz r0, 0x2c(r1)
/* 8005A3A4 00057304 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005A3A8 00057308 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005A3AC 0005730C 3B 60 00 00 */ li r27, 0
/* 8005A3B0 00057310 B0 1C 00 EC */ sth r0, 0xec(r28)
/* 8005A3B4 00057314 3A E0 00 00 */ li r23, 0
/* 8005A3B8 00057318 38 60 01 48 */ li r3, 0x148
/* 8005A3BC 0005731C 38 A0 00 00 */ li r5, 0
/* 8005A3C0 00057320 83 1C 00 F0 */ lwz r24, 0xf0(r28)
/* 8005A3C4 00057324 48 2B B4 A9 */ bl __nw__FUlPCcPCc
/* 8005A3C8 00057328 7C 7A 1B 79 */ or. r26, r3, r3
/* 8005A3CC 0005732C 41 82 00 AC */ beq lbl_8005A478
/* 8005A3D0 00057330 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8005A3D4 00057334 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005A3D8 00057338 83 3C 00 E8 */ lwz r25, 0xe8(r28)
/* 8005A3DC 0005733C 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005A3E0 00057340 B0 01 00 24 */ sth r0, 0x24(r1)
/* 8005A3E4 00057344 38 61 00 48 */ addi r3, r1, 0x48
/* 8005A3E8 00057348 38 84 00 07 */ addi r4, r4, 7
/* 8005A3EC 0005734C B0 01 00 28 */ sth r0, 0x28(r1)
/* 8005A3F0 00057350 4B FA A8 C9 */ bl string_l__4rstlFPCc
/* 8005A3F4 00057354 38 61 00 38 */ addi r3, r1, 0x38
/* 8005A3F8 00057358 38 81 00 48 */ addi r4, r1, 0x48
/* 8005A3FC 0005735C 38 BC 00 10 */ addi r5, r28, 0x10
/* 8005A400 00057360 3B 60 00 01 */ li r27, 1
/* 8005A404 00057364 4B FA A8 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8005A408 00057368 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8005A40C 0005736C 7F 24 CB 78 */ mr r4, r25
/* 8005A410 00057370 80 BC 00 04 */ lwz r5, 4(r28)
/* 8005A414 00057374 38 61 00 58 */ addi r3, r1, 0x58
/* 8005A418 00057378 54 19 CF FE */ rlwinm r25, r0, 0x19, 0x1f, 0x1f
/* 8005A41C 0005737C 3A E0 00 01 */ li r23, 1
/* 8005A420 00057380 90 A1 00 34 */ stw r5, 0x34(r1)
/* 8005A424 00057384 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A428 00057388 90 A1 00 30 */ stw r5, 0x30(r1)
/* 8005A42C 0005738C B0 01 00 20 */ sth r0, 0x20(r1)
/* 8005A430 00057390 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A434 00057394 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8005A438 00057398 7D 89 03 A6 */ mtctr r12
/* 8005A43C 0005739C 4E 80 04 21 */ bctrl
/* 8005A440 000573A0 93 01 00 08 */ stw r24, 8(r1)
/* 8005A444 000573A4 38 00 00 01 */ li r0, 1
/* 8005A448 000573A8 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2)
/* 8005A44C 000573AC 7F 43 D3 78 */ mr r3, r26
/* 8005A450 000573B0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005A454 000573B4 7F 26 CB 78 */ mr r6, r25
/* 8005A458 000573B8 38 81 00 20 */ addi r4, r1, 0x20
/* 8005A45C 000573BC 38 A1 00 34 */ addi r5, r1, 0x34
/* 8005A460 000573C0 38 E1 00 38 */ addi r7, r1, 0x38
/* 8005A464 000573C4 39 1C 00 34 */ addi r8, r28, 0x34
/* 8005A468 000573C8 39 21 00 28 */ addi r9, r1, 0x28
/* 8005A46C 000573CC 39 41 00 58 */ addi r10, r1, 0x58
/* 8005A470 000573D0 48 05 B3 B5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif"
/* 8005A474 000573D4 7C 7A 1B 78 */ mr r26, r3
lbl_8005A478:
/* 8005A478 000573D8 7F E3 FB 78 */ mr r3, r31
/* 8005A47C 000573DC 7F 44 D3 78 */ mr r4, r26
/* 8005A480 000573E0 4B FF 28 75 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 8005A484 000573E4 7E E0 07 75 */ extsb. r0, r23
/* 8005A488 000573E8 41 82 00 0C */ beq lbl_8005A494
/* 8005A48C 000573EC 38 61 00 38 */ addi r3, r1, 0x38
/* 8005A490 000573F0 48 2E 36 51 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8005A494:
/* 8005A494 000573F4 7F 60 07 75 */ extsb. r0, r27
/* 8005A498 000573F8 41 82 00 3C */ beq lbl_8005A4D4
/* 8005A49C 000573FC 38 61 00 48 */ addi r3, r1, 0x48
/* 8005A4A0 00057400 48 2E 36 41 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8005A4A4 00057404 48 00 00 30 */ b lbl_8005A4D4
lbl_8005A4A8:
/* 8005A4A8 00057408 A0 7C 00 EC */ lhz r3, 0xec(r28)
/* 8005A4AC 0005740C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4B0 00057410 7C 03 00 40 */ cmplw r3, r0
/* 8005A4B4 00057414 41 82 00 20 */ beq lbl_8005A4D4
/* 8005A4B8 00057418 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A4BC 0005741C 7F E3 FB 78 */ mr r3, r31
/* 8005A4C0 00057420 38 81 00 1C */ addi r4, r1, 0x1c
/* 8005A4C4 00057424 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 8005A4C8 00057428 4B FF 1D A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8005A4CC 0005742C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4D0 00057430 B0 1C 00 EC */ sth r0, 0xec(r28)
lbl_8005A4D4:
/* 8005A4D4 00057434 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8005A4D8 00057438 7F 83 E3 78 */ mr r3, r28
/* 8005A4DC 0005743C 7F A4 EB 78 */ mr r4, r29
/* 8005A4E0 00057440 7F E6 FB 78 */ mr r6, r31
/* 8005A4E4 00057444 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8005A4E8 00057448 38 A1 00 18 */ addi r5, r1, 0x18
/* 8005A4EC 0005744C 4B FF 91 29 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8005A4F0 00057450 A0 7C 00 EC */ lhz r3, 0xec(r28)
/* 8005A4F4 00057454 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4F8 00057458 7C 03 00 40 */ cmplw r3, r0
/* 8005A4FC 0005745C 41 82 00 28 */ beq lbl_8005A524
/* 8005A500 00057460 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8005A504 00057464 7F E3 FB 78 */ mr r3, r31
/* 8005A508 00057468 7F A6 EB 78 */ mr r6, r29
/* 8005A50C 0005746C 38 81 00 14 */ addi r4, r1, 0x14
/* 8005A510 00057470 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8005A514 00057474 38 A1 00 10 */ addi r5, r1, 0x10
/* 8005A518 00057478 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A51C 0005747C B0 01 00 14 */ sth r0, 0x14(r1)
/* 8005A520 00057480 4B FE 99 35 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId
lbl_8005A524:
/* 8005A524 00057484 BA E1 00 AC */ lmw r23, 0xac(r1)
/* 8005A528 00057488 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8005A52C 0005748C 7C 08 03 A6 */ mtlr r0
/* 8005A530 00057490 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8005A534 00057494 4E 80 00 20 */ blr
.global Accept__10CExplosionFR8IVisitor
Accept__10CExplosionFR8IVisitor:
/* 8005A538 00057498 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A53C 0005749C 7C 08 02 A6 */ mflr r0
/* 8005A540 000574A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A544 000574A4 7C 60 1B 78 */ mr r0, r3
/* 8005A548 000574A8 7C 83 23 78 */ mr r3, r4
/* 8005A54C 000574AC 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A550 000574B0 7C 04 03 78 */ mr r4, r0
/* 8005A554 000574B4 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 8005A558 000574B8 7D 89 03 A6 */ mtctr r12
/* 8005A55C 000574BC 4E 80 04 21 */ bctrl
/* 8005A560 000574C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A564 000574C4 7C 08 03 A6 */ mtlr r0
/* 8005A568 000574C8 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A56C 000574CC 4E 80 00 20 */ blr
.global Think__10CExplosionFfR13CStateManager
Think__10CExplosionFfR13CStateManager:
/* 8005A570 000574D0 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8005A574 000574D4 7C 08 02 A6 */ mflr r0
/* 8005A578 000574D8 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8005A57C 000574DC DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 8005A580 000574E0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 8005A584 000574E4 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 8005A588 000574E8 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 8005A58C 000574EC 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 8005A590 000574F0 88 03 00 E4 */ lbz r0, 0xe4(r3)
/* 8005A594 000574F4 FF E0 08 90 */ fmr f31, f1
/* 8005A598 000574F8 7C 7D 1B 78 */ mr r29, r3
/* 8005A59C 000574FC 7C 9E 23 78 */ mr r30, r4
/* 8005A5A0 00057500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 8005A5A4 00057504 41 82 00 6C */ beq lbl_8005A610
/* 8005A5A8 00057508 C0 5D 00 60 */ lfs f2, 0x60(r29)
/* 8005A5AC 0005750C 38 81 00 24 */ addi r4, r1, 0x24
/* 8005A5B0 00057510 C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 8005A5B4 00057514 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 8005A5B8 00057518 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8005A5BC 0005751C D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8005A5C0 00057520 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8005A5C4 00057524 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A5C8 00057528 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A5CC 0005752C 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8005A5D0 00057530 7D 89 03 A6 */ mtctr r12
/* 8005A5D4 00057534 4E 80 04 21 */ bctrl
/* 8005A5D8 00057538 83 FD 00 E8 */ lwz r31, 0xe8(r29)
/* 8005A5DC 0005753C 38 61 00 30 */ addi r3, r1, 0x30
/* 8005A5E0 00057540 38 9D 00 34 */ addi r4, r29, 0x34
/* 8005A5E4 00057544 48 2B 86 5D */ bl GetRotation__12CTransform4fCFv
/* 8005A5E8 00057548 7F E3 FB 78 */ mr r3, r31
/* 8005A5EC 0005754C 38 81 00 30 */ addi r4, r1, 0x30
/* 8005A5F0 00057550 81 9F 00 00 */ lwz r12, 0(r31)
/* 8005A5F4 00057554 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8005A5F8 00057558 7D 89 03 A6 */ mtctr r12
/* 8005A5FC 0005755C 4E 80 04 21 */ bctrl
/* 8005A600 00057560 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8005A604 00057564 38 60 00 00 */ li r3, 0
/* 8005A608 00057568 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 8005A60C 0005756C 98 1D 00 E4 */ stb r0, 0xe4(r29)
lbl_8005A610:
/* 8005A610 00057570 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A614 00057574 FC 20 F8 90 */ fmr f1, f31
/* 8005A618 00057578 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A61C 0005757C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8005A620 00057580 7D 89 03 A6 */ mtctr r12
/* 8005A624 00057584 4E 80 04 21 */ bctrl
/* 8005A628 00057588 A0 7D 00 EC */ lhz r3, 0xec(r29)
/* 8005A62C 0005758C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A630 00057590 7C 03 00 40 */ cmplw r3, r0
/* 8005A634 00057594 41 82 00 60 */ beq lbl_8005A694
/* 8005A638 00057598 A0 1D 00 EC */ lhz r0, 0xec(r29)
/* 8005A63C 0005759C 7F C3 F3 78 */ mr r3, r30
/* 8005A640 000575A0 38 81 00 18 */ addi r4, r1, 0x18
/* 8005A644 000575A4 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8005A648 000575A8 4B FF 1F 2D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8005A64C 000575AC 7C 64 1B 78 */ mr r4, r3
/* 8005A650 000575B0 38 61 00 1C */ addi r3, r1, 0x1c
/* 8005A654 000575B4 48 05 34 31 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity"
/* 8005A658 000575B8 83 E3 00 04 */ lwz r31, 4(r3)
/* 8005A65C 000575BC 28 1F 00 00 */ cmplwi r31, 0
/* 8005A660 000575C0 41 82 00 34 */ beq lbl_8005A694
/* 8005A664 000575C4 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 8005A668 000575C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A66C 000575CC 41 82 00 28 */ beq lbl_8005A694
/* 8005A670 000575D0 80 9D 00 E8 */ lwz r4, 0xe8(r29)
/* 8005A674 000575D4 38 61 00 60 */ addi r3, r1, 0x60
/* 8005A678 000575D8 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A67C 000575DC 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8005A680 000575E0 7D 89 03 A6 */ mtctr r12
/* 8005A684 000575E4 4E 80 04 21 */ bctrl
/* 8005A688 000575E8 7F E3 FB 78 */ mr r3, r31
/* 8005A68C 000575EC 38 81 00 60 */ addi r4, r1, 0x60
/* 8005A690 000575F0 48 05 B0 B5 */ bl SetLight__10CGameLightFRC6CLight
lbl_8005A694:
/* 8005A694 000575F4 C0 3D 00 F8 */ lfs f1, 0xf8(r29)
/* 8005A698 000575F8 C0 02 86 B0 */ lfs f0, lbl_805AA3D0@sda21(r2)
/* 8005A69C 000575FC EC 21 F8 2A */ fadds f1, f1, f31
/* 8005A6A0 00057600 D0 3D 00 F8 */ stfs f1, 0xf8(r29)
/* 8005A6A4 00057604 C0 3D 00 F8 */ lfs f1, 0xf8(r29)
/* 8005A6A8 00057608 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8005A6AC 0005760C 40 81 00 20 */ ble lbl_8005A6CC
/* 8005A6B0 00057610 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8005A6B4 00057614 7F C3 F3 78 */ mr r3, r30
/* 8005A6B8 00057618 38 81 00 14 */ addi r4, r1, 0x14
/* 8005A6BC 0005761C B0 01 00 10 */ sth r0, 0x10(r1)
/* 8005A6C0 00057620 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8005A6C4 00057624 4B FF 1B A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8005A6C8 00057628 48 00 00 38 */ b lbl_8005A700
lbl_8005A6CC:
/* 8005A6CC 0005762C 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A6D0 00057630 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A6D4 00057634 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 8005A6D8 00057638 7D 89 03 A6 */ mtctr r12
/* 8005A6DC 0005763C 4E 80 04 21 */ bctrl
/* 8005A6E0 00057640 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A6E4 00057644 41 82 00 1C */ beq lbl_8005A700
/* 8005A6E8 00057648 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8005A6EC 0005764C 7F C3 F3 78 */ mr r3, r30
/* 8005A6F0 00057650 38 81 00 0C */ addi r4, r1, 0xc
/* 8005A6F4 00057654 B0 01 00 08 */ sth r0, 8(r1)
/* 8005A6F8 00057658 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8005A6FC 0005765C 4B FF 1B 71 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_8005A700:
/* 8005A700 00057660 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 8005A704 00057664 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8005A708 00057668 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 8005A70C 0005766C 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 8005A710 00057670 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 8005A714 00057674 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 8005A718 00057678 7C 08 03 A6 */ mtlr r0
/* 8005A71C 0005767C 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8005A720 00057680 4E 80 00 20 */ blr
.global PreRender__10CExplosionFR13CStateManagerRC14CFrustumPlanes
PreRender__10CExplosionFR13CStateManagerRC14CFrustumPlanes:
/* 8005A724 00057684 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005A728 00057688 7C 08 02 A6 */ mflr r0
/* 8005A72C 0005768C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005A730 00057690 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005A734 00057694 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005A738 00057698 7C BE 2B 78 */ mr r30, r5
/* 8005A73C 0005769C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005A740 000576A0 7C 7D 1B 78 */ mr r29, r3
/* 8005A744 000576A4 4B FF A5 9D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
/* 8005A748 000576A8 88 1D 00 F4 */ lbz r0, 0xf4(r29)
/* 8005A74C 000576AC 3B E0 00 00 */ li r31, 0
/* 8005A750 000576B0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8005A754 000576B4 41 82 00 18 */ beq lbl_8005A76C
/* 8005A758 000576B8 7F C3 F3 78 */ mr r3, r30
/* 8005A75C 000576BC 38 9D 00 9C */ addi r4, r29, 0x9c
/* 8005A760 000576C0 48 2E AA 71 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox
/* 8005A764 000576C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A768 000576C8 40 82 00 08 */ bne lbl_8005A770
lbl_8005A76C:
/* 8005A76C 000576CC 3B E0 00 01 */ li r31, 1
lbl_8005A770:
/* 8005A770 000576D0 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8005A774 000576D4 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e
/* 8005A778 000576D8 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 8005A77C 000576DC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A780 000576E0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005A784 000576E4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005A788 000576E8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8005A78C 000576EC 7C 08 03 A6 */ mtlr r0
/* 8005A790 000576F0 38 21 00 20 */ addi r1, r1, 0x20
/* 8005A794 000576F4 4E 80 00 20 */ blr
.global AddToRenderer__10CExplosionCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__10CExplosionCFRC14CFrustumPlanesRC13CStateManager:
/* 8005A798 000576F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A79C 000576FC 7C 08 02 A6 */ mflr r0
/* 8005A7A0 00057700 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A7A4 00057704 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005A7A8 00057708 7C BF 2B 78 */ mr r31, r5
/* 8005A7AC 0005770C 93 C1 00 08 */ stw r30, 8(r1)
/* 8005A7B0 00057710 7C 7E 1B 78 */ mr r30, r3
/* 8005A7B4 00057714 88 03 00 E4 */ lbz r0, 0xe4(r3)
/* 8005A7B8 00057718 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 8005A7BC 0005771C 40 82 00 68 */ bne lbl_8005A824
/* 8005A7C0 00057720 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A7C4 00057724 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A7C8 00057728 41 82 00 10 */ beq lbl_8005A7D8
/* 8005A7CC 0005772C 80 1F 0F 34 */ lwz r0, 0xf34(r31)
/* 8005A7D0 00057730 2C 00 00 00 */ cmpwi r0, 0
/* 8005A7D4 00057734 41 82 00 28 */ beq lbl_8005A7FC
lbl_8005A7D8:
/* 8005A7D8 00057738 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A7DC 0005773C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8005A7E0 00057740 41 82 00 2C */ beq lbl_8005A80C
/* 8005A7E4 00057744 80 7F 08 B8 */ lwz r3, 0x8b8(r31)
/* 8005A7E8 00057748 7F E4 FB 78 */ mr r4, r31
/* 8005A7EC 0005774C 80 63 00 00 */ lwz r3, 0(r3)
/* 8005A7F0 00057750 48 03 6D 69 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 8005A7F4 00057754 2C 03 00 01 */ cmpwi r3, 1
/* 8005A7F8 00057758 40 82 00 14 */ bne lbl_8005A80C
lbl_8005A7FC:
/* 8005A7FC 0005775C 7F C3 F3 78 */ mr r3, r30
/* 8005A800 00057760 7F E4 FB 78 */ mr r4, r31
/* 8005A804 00057764 4B FF A1 C9 */ bl EnsureRendered__6CActorCFRC13CStateManager
/* 8005A808 00057768 48 00 00 1C */ b lbl_8005A824
lbl_8005A80C:
/* 8005A80C 0005776C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8005A810 00057770 80 9E 00 E8 */ lwz r4, 0xe8(r30)
/* 8005A814 00057774 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A818 00057778 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8005A81C 0005777C 7D 89 03 A6 */ mtctr r12
/* 8005A820 00057780 4E 80 04 21 */ bctrl
lbl_8005A824:
/* 8005A824 00057784 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A828 00057788 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005A82C 0005778C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005A830 00057790 7C 08 03 A6 */ mtlr r0
/* 8005A834 00057794 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A838 00057798 4E 80 00 20 */ blr

View File

@ -0,0 +1,42 @@
.include "macros.inc"
.section .text, "ax"
.global __dt__17CArchMsgParmInt32Fv
__dt__17CArchMsgParmInt32Fv:
/* 800515C8 0004E528 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800515CC 0004E52C 7C 08 02 A6 */ mflr r0
/* 800515D0 0004E530 90 01 00 14 */ stw r0, 0x14(r1)
/* 800515D4 0004E534 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800515D8 0004E538 7C 7F 1B 79 */ or. r31, r3, r3
/* 800515DC 0004E53C 41 82 00 30 */ beq lbl_8005160C
/* 800515E0 0004E540 3C 60 80 3E */ lis r3, lbl_803D9E50@ha
/* 800515E4 0004E544 38 03 9E 50 */ addi r0, r3, lbl_803D9E50@l
/* 800515E8 0004E548 90 1F 00 00 */ stw r0, 0(r31)
/* 800515EC 0004E54C 41 82 00 10 */ beq lbl_800515FC
/* 800515F0 0004E550 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha
/* 800515F4 0004E554 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l
/* 800515F8 0004E558 90 1F 00 00 */ stw r0, 0(r31)
lbl_800515FC:
/* 800515FC 0004E55C 7C 80 07 35 */ extsh. r0, r4
/* 80051600 0004E560 40 81 00 0C */ ble lbl_8005160C
/* 80051604 0004E564 7F E3 FB 78 */ mr r3, r31
/* 80051608 0004E568 48 2C 43 29 */ bl Free__7CMemoryFPCv
lbl_8005160C:
/* 8005160C 0004E56C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80051610 0004E570 7F E3 FB 78 */ mr r3, r31
/* 80051614 0004E574 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80051618 0004E578 7C 08 03 A6 */ mtlr r0
/* 8005161C 0004E57C 38 21 00 10 */ addi r1, r1, 0x10
/* 80051620 0004E580 4E 80 00 20 */ blr
.global __ct__17CArchMsgParmInt32Fi
__ct__17CArchMsgParmInt32Fi:
/* 80051624 0004E584 3C C0 80 3E */ lis r6, lbl_803D8E9C@ha
/* 80051628 0004E588 3C A0 80 3E */ lis r5, lbl_803D9E50@ha
/* 8005162C 0004E58C 38 C6 8E 9C */ addi r6, r6, lbl_803D8E9C@l
/* 80051630 0004E590 90 C3 00 00 */ stw r6, 0(r3)
/* 80051634 0004E594 38 05 9E 50 */ addi r0, r5, lbl_803D9E50@l
/* 80051638 0004E598 90 03 00 00 */ stw r0, 0(r3)
/* 8005163C 0004E59C 90 83 00 04 */ stw r4, 4(r3)
/* 80051640 0004E5A0 4E 80 00 20 */ blr

View File

@ -0,0 +1,44 @@
.include "macros.inc"
.section .text, "ax"
.global __dt__29CArchMsgParmInt32Int32VoidPtrFv
__dt__29CArchMsgParmInt32Int32VoidPtrFv:
/* 80051644 0004E5A4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80051648 0004E5A8 7C 08 02 A6 */ mflr r0
/* 8005164C 0004E5AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80051650 0004E5B0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80051654 0004E5B4 7C 7F 1B 79 */ or. r31, r3, r3
/* 80051658 0004E5B8 41 82 00 30 */ beq lbl_80051688
/* 8005165C 0004E5BC 3C 60 80 3E */ lis r3, lbl_803D9E60@ha
/* 80051660 0004E5C0 38 03 9E 60 */ addi r0, r3, lbl_803D9E60@l
/* 80051664 0004E5C4 90 1F 00 00 */ stw r0, 0(r31)
/* 80051668 0004E5C8 41 82 00 10 */ beq lbl_80051678
/* 8005166C 0004E5CC 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha
/* 80051670 0004E5D0 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l
/* 80051674 0004E5D4 90 1F 00 00 */ stw r0, 0(r31)
lbl_80051678:
/* 80051678 0004E5D8 7C 80 07 35 */ extsh. r0, r4
/* 8005167C 0004E5DC 40 81 00 0C */ ble lbl_80051688
/* 80051680 0004E5E0 7F E3 FB 78 */ mr r3, r31
/* 80051684 0004E5E4 48 2C 42 AD */ bl Free__7CMemoryFPCv
lbl_80051688:
/* 80051688 0004E5E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005168C 0004E5EC 7F E3 FB 78 */ mr r3, r31
/* 80051690 0004E5F0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80051694 0004E5F4 7C 08 03 A6 */ mtlr r0
/* 80051698 0004E5F8 38 21 00 10 */ addi r1, r1, 0x10
/* 8005169C 0004E5FC 4E 80 00 20 */ blr
.global __ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv
__ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv:
/* 800516A0 0004E600 3D 00 80 3E */ lis r8, lbl_803D8E9C@ha
/* 800516A4 0004E604 3C E0 80 3E */ lis r7, lbl_803D9E60@ha
/* 800516A8 0004E608 39 08 8E 9C */ addi r8, r8, lbl_803D8E9C@l
/* 800516AC 0004E60C 91 03 00 00 */ stw r8, 0(r3)
/* 800516B0 0004E610 38 07 9E 60 */ addi r0, r7, lbl_803D9E60@l
/* 800516B4 0004E614 90 03 00 00 */ stw r0, 0(r3)
/* 800516B8 0004E618 90 83 00 04 */ stw r4, 4(r3)
/* 800516BC 0004E61C 90 A3 00 08 */ stw r5, 8(r3)
/* 800516C0 0004E620 90 C3 00 0C */ stw r6, 0xc(r3)
/* 800516C4 0004E624 4E 80 00 20 */ blr

View File

@ -0,0 +1,41 @@
.include "macros.inc"
.section .text, "ax"
.global __dt__16CArchMsgParmNullFv
__dt__16CArchMsgParmNullFv:
/* 800516C8 0004E628 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800516CC 0004E62C 7C 08 02 A6 */ mflr r0
/* 800516D0 0004E630 90 01 00 14 */ stw r0, 0x14(r1)
/* 800516D4 0004E634 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800516D8 0004E638 7C 7F 1B 79 */ or. r31, r3, r3
/* 800516DC 0004E63C 41 82 00 30 */ beq lbl_8005170C
/* 800516E0 0004E640 3C 60 80 3E */ lis r3, lbl_803D9E70@ha
/* 800516E4 0004E644 38 03 9E 70 */ addi r0, r3, lbl_803D9E70@l
/* 800516E8 0004E648 90 1F 00 00 */ stw r0, 0(r31)
/* 800516EC 0004E64C 41 82 00 10 */ beq lbl_800516FC
/* 800516F0 0004E650 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha
/* 800516F4 0004E654 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l
/* 800516F8 0004E658 90 1F 00 00 */ stw r0, 0(r31)
lbl_800516FC:
/* 800516FC 0004E65C 7C 80 07 35 */ extsh. r0, r4
/* 80051700 0004E660 40 81 00 0C */ ble lbl_8005170C
/* 80051704 0004E664 7F E3 FB 78 */ mr r3, r31
/* 80051708 0004E668 48 2C 42 29 */ bl Free__7CMemoryFPCv
lbl_8005170C:
/* 8005170C 0004E66C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80051710 0004E670 7F E3 FB 78 */ mr r3, r31
/* 80051714 0004E674 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80051718 0004E678 7C 08 03 A6 */ mtlr r0
/* 8005171C 0004E67C 38 21 00 10 */ addi r1, r1, 0x10
/* 80051720 0004E680 4E 80 00 20 */ blr
.global __ct__16CArchMsgParmNullFv
__ct__16CArchMsgParmNullFv:
/* 80051724 0004E684 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha
/* 80051728 0004E688 3C 80 80 3E */ lis r4, lbl_803D9E70@ha
/* 8005172C 0004E68C 38 A5 8E 9C */ addi r5, r5, lbl_803D8E9C@l
/* 80051730 0004E690 90 A3 00 00 */ stw r5, 0(r3)
/* 80051734 0004E694 38 04 9E 70 */ addi r0, r4, lbl_803D9E70@l
/* 80051738 0004E698 90 03 00 00 */ stw r0, 0(r3)
/* 8005173C 0004E69C 4E 80 00 20 */ blr

View File

@ -0,0 +1,42 @@
.include "macros.inc"
.section .text, "ax"
.global __dt__18CArchMsgParmReal32Fv
__dt__18CArchMsgParmReal32Fv:
/* 80051740 0004E6A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80051744 0004E6A4 7C 08 02 A6 */ mflr r0
/* 80051748 0004E6A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005174C 0004E6AC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80051750 0004E6B0 7C 7F 1B 79 */ or. r31, r3, r3
/* 80051754 0004E6B4 41 82 00 30 */ beq lbl_80051784
/* 80051758 0004E6B8 3C 60 80 3E */ lis r3, lbl_803D9E80@ha
/* 8005175C 0004E6BC 38 03 9E 80 */ addi r0, r3, lbl_803D9E80@l
/* 80051760 0004E6C0 90 1F 00 00 */ stw r0, 0(r31)
/* 80051764 0004E6C4 41 82 00 10 */ beq lbl_80051774
/* 80051768 0004E6C8 3C 60 80 3E */ lis r3, lbl_803D8E9C@ha
/* 8005176C 0004E6CC 38 03 8E 9C */ addi r0, r3, lbl_803D8E9C@l
/* 80051770 0004E6D0 90 1F 00 00 */ stw r0, 0(r31)
lbl_80051774:
/* 80051774 0004E6D4 7C 80 07 35 */ extsh. r0, r4
/* 80051778 0004E6D8 40 81 00 0C */ ble lbl_80051784
/* 8005177C 0004E6DC 7F E3 FB 78 */ mr r3, r31
/* 80051780 0004E6E0 48 2C 41 B1 */ bl Free__7CMemoryFPCv
lbl_80051784:
/* 80051784 0004E6E4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80051788 0004E6E8 7F E3 FB 78 */ mr r3, r31
/* 8005178C 0004E6EC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80051790 0004E6F0 7C 08 03 A6 */ mtlr r0
/* 80051794 0004E6F4 38 21 00 10 */ addi r1, r1, 0x10
/* 80051798 0004E6F8 4E 80 00 20 */ blr
.global __ct__18CArchMsgParmReal32Ff
__ct__18CArchMsgParmReal32Ff:
/* 8005179C 0004E6FC 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha
/* 800517A0 0004E700 3C 80 80 3E */ lis r4, lbl_803D9E80@ha
/* 800517A4 0004E704 38 A5 8E 9C */ addi r5, r5, lbl_803D8E9C@l
/* 800517A8 0004E708 90 A3 00 00 */ stw r5, 0(r3)
/* 800517AC 0004E70C 38 04 9E 80 */ addi r0, r4, lbl_803D9E80@l
/* 800517B0 0004E710 90 03 00 00 */ stw r0, 0(r3)
/* 800517B4 0004E714 D0 23 00 04 */ stfs f1, 4(r3)
/* 800517B8 0004E718 4E 80 00 20 */ blr

9803
asm/Kyoto_CWD/CAutoMapper.s Normal file

File diff suppressed because it is too large Load Diff

13726
asm/Kyoto_CWD/CBallCamera.s Normal file

File diff suppressed because it is too large Load Diff

1127
asm/Kyoto_CWD/CBomb.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

398
asm/Kyoto_CWD/CEntity.s Normal file
View File

@ -0,0 +1,398 @@
.include "macros.inc"
.section .text, "ax"
.global GetAreaId__7CEntityCFv
GetAreaId__7CEntityCFv:
/* 80051084 0004DFE4 88 04 00 30 */ lbz r0, 0x30(r4)
/* 80051088 0004DFE8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 8005108C 0004DFEC 41 82 00 0C */ beq lbl_80051098
/* 80051090 0004DFF0 38 8D A3 90 */ addi r4, r13, lbl_805A8F50@sda21
/* 80051094 0004DFF4 48 00 00 08 */ b lbl_8005109C
lbl_80051098:
/* 80051098 0004DFF8 38 84 00 04 */ addi r4, r4, 4
lbl_8005109C:
/* 8005109C 0004DFFC 80 04 00 00 */ lwz r0, 0(r4)
/* 800510A0 0004E000 90 03 00 00 */ stw r0, 0(r3)
/* 800510A4 0004E004 4E 80 00 20 */ blr
.global SetActive__7CEntityFb
SetActive__7CEntityFb:
/* 800510A8 0004E008 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800510AC 0004E00C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 800510B0 0004E010 98 03 00 30 */ stb r0, 0x30(r3)
/* 800510B4 0004E014 4E 80 00 20 */ blr
.global Think__7CEntityFfR13CStateManager
Think__7CEntityFfR13CStateManager:
/* 800510B8 0004E018 4E 80 00 20 */ blr
.global PreThink__7CEntityFfR13CStateManager
PreThink__7CEntityFfR13CStateManager:
/* 800510BC 0004E01C 4E 80 00 20 */ blr
.global SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage:
/* 800510C0 0004E020 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800510C4 0004E024 7C 08 02 A6 */ mflr r0
/* 800510C8 0004E028 90 01 00 34 */ stw r0, 0x34(r1)
/* 800510CC 0004E02C BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 800510D0 0004E030 7C 7B 1B 78 */ mr r27, r3
/* 800510D4 0004E034 7C 9C 23 78 */ mr r28, r4
/* 800510D8 0004E038 7C BD 2B 78 */ mr r29, r5
/* 800510DC 0004E03C 7C DE 33 78 */ mr r30, r6
/* 800510E0 0004E040 83 E3 00 2C */ lwz r31, 0x2c(r3)
/* 800510E4 0004E044 48 00 00 4C */ b lbl_80051130
lbl_800510E8:
/* 800510E8 0004E048 80 1F 00 00 */ lwz r0, 0(r31)
/* 800510EC 0004E04C 7C 1C 00 00 */ cmpw r28, r0
/* 800510F0 0004E050 40 82 00 3C */ bne lbl_8005112C
/* 800510F4 0004E054 80 1F 00 04 */ lwz r0, 4(r31)
/* 800510F8 0004E058 7C 1E 00 00 */ cmpw r30, r0
/* 800510FC 0004E05C 41 82 00 30 */ beq lbl_8005112C
/* 80051100 0004E060 80 1F 00 08 */ lwz r0, 8(r31)
/* 80051104 0004E064 7F A3 EB 78 */ mr r3, r29
/* 80051108 0004E068 7F 87 E3 78 */ mr r7, r28
/* 8005110C 0004E06C 38 81 00 0C */ addi r4, r1, 0xc
/* 80051110 0004E070 90 01 00 10 */ stw r0, 0x10(r1)
/* 80051114 0004E074 38 A1 00 10 */ addi r5, r1, 0x10
/* 80051118 0004E078 A0 1B 00 08 */ lhz r0, 8(r27)
/* 8005111C 0004E07C B0 01 00 0C */ sth r0, 0xc(r1)
/* 80051120 0004E080 B0 01 00 08 */ sth r0, 8(r1)
/* 80051124 0004E084 80 DF 00 04 */ lwz r6, 4(r31)
/* 80051128 0004E088 4B FF 6A 15 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState
lbl_8005112C:
/* 8005112C 0004E08C 3B FF 00 0C */ addi r31, r31, 0xc
lbl_80051130:
/* 80051130 0004E090 80 1B 00 24 */ lwz r0, 0x24(r27)
/* 80051134 0004E094 80 7B 00 2C */ lwz r3, 0x2c(r27)
/* 80051138 0004E098 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8005113C 0004E09C 7C 03 02 14 */ add r0, r3, r0
/* 80051140 0004E0A0 7C 1F 00 40 */ cmplw r31, r0
/* 80051144 0004E0A4 40 82 FF A4 */ bne lbl_800510E8
/* 80051148 0004E0A8 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8005114C 0004E0AC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80051150 0004E0B0 7C 08 03 A6 */ mtlr r0
/* 80051154 0004E0B4 38 21 00 30 */ addi r1, r1, 0x30
/* 80051158 0004E0B8 4E 80 00 20 */ blr
.global AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8005115C 0004E0BC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051160 0004E0C0 7C 08 02 A6 */ mflr r0
/* 80051164 0004E0C4 2C 04 00 04 */ cmpwi r4, 4
/* 80051168 0004E0C8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005116C 0004E0CC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80051170 0004E0D0 7C DF 33 78 */ mr r31, r6
/* 80051174 0004E0D4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80051178 0004E0D8 7C 7E 1B 78 */ mr r30, r3
/* 8005117C 0004E0DC 41 82 00 58 */ beq lbl_800511D4
/* 80051180 0004E0E0 40 80 00 10 */ bge lbl_80051190
/* 80051184 0004E0E4 2C 04 00 01 */ cmpwi r4, 1
/* 80051188 0004E0E8 41 82 00 14 */ beq lbl_8005119C
/* 8005118C 0004E0EC 48 00 00 D0 */ b lbl_8005125C
lbl_80051190:
/* 80051190 0004E0F0 2C 04 00 11 */ cmpwi r4, 0x11
/* 80051194 0004E0F4 41 82 00 78 */ beq lbl_8005120C
/* 80051198 0004E0F8 48 00 00 C4 */ b lbl_8005125C
lbl_8005119C:
/* 8005119C 0004E0FC 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 800511A0 0004E100 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800511A4 0004E104 40 82 00 B8 */ bne lbl_8005125C
/* 800511A8 0004E108 81 83 00 00 */ lwz r12, 0(r3)
/* 800511AC 0004E10C 38 80 00 01 */ li r4, 1
/* 800511B0 0004E110 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800511B4 0004E114 7D 89 03 A6 */ mtctr r12
/* 800511B8 0004E118 4E 80 04 21 */ bctrl
/* 800511BC 0004E11C 7F C3 F3 78 */ mr r3, r30
/* 800511C0 0004E120 7F E5 FB 78 */ mr r5, r31
/* 800511C4 0004E124 38 80 00 00 */ li r4, 0
/* 800511C8 0004E128 38 C0 FF FF */ li r6, -1
/* 800511CC 0004E12C 4B FF FE F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 800511D0 0004E130 48 00 00 8C */ b lbl_8005125C
lbl_800511D4:
/* 800511D4 0004E134 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 800511D8 0004E138 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800511DC 0004E13C 41 82 00 80 */ beq lbl_8005125C
/* 800511E0 0004E140 81 83 00 00 */ lwz r12, 0(r3)
/* 800511E4 0004E144 38 80 00 00 */ li r4, 0
/* 800511E8 0004E148 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800511EC 0004E14C 7D 89 03 A6 */ mtctr r12
/* 800511F0 0004E150 4E 80 04 21 */ bctrl
/* 800511F4 0004E154 7F C3 F3 78 */ mr r3, r30
/* 800511F8 0004E158 7F E5 FB 78 */ mr r5, r31
/* 800511FC 0004E15C 38 80 00 05 */ li r4, 5
/* 80051200 0004E160 38 C0 FF FF */ li r6, -1
/* 80051204 0004E164 4B FF FE BD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 80051208 0004E168 48 00 00 54 */ b lbl_8005125C
lbl_8005120C:
/* 8005120C 0004E16C 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80051210 0004E170 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80051214 0004E174 40 82 00 28 */ bne lbl_8005123C
/* 80051218 0004E178 A0 05 00 00 */ lhz r0, 0(r5)
/* 8005121C 0004E17C 38 A1 00 0C */ addi r5, r1, 0xc
/* 80051220 0004E180 38 80 00 01 */ li r4, 1
/* 80051224 0004E184 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80051228 0004E188 81 83 00 00 */ lwz r12, 0(r3)
/* 8005122C 0004E18C 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 80051230 0004E190 7D 89 03 A6 */ mtctr r12
/* 80051234 0004E194 4E 80 04 21 */ bctrl
/* 80051238 0004E198 48 00 00 24 */ b lbl_8005125C
lbl_8005123C:
/* 8005123C 0004E19C A0 05 00 00 */ lhz r0, 0(r5)
/* 80051240 0004E1A0 38 A1 00 08 */ addi r5, r1, 8
/* 80051244 0004E1A4 38 80 00 04 */ li r4, 4
/* 80051248 0004E1A8 B0 01 00 08 */ sth r0, 8(r1)
/* 8005124C 0004E1AC 81 83 00 00 */ lwz r12, 0(r3)
/* 80051250 0004E1B0 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 80051254 0004E1B4 7D 89 03 A6 */ mtctr r12
/* 80051258 0004E1B8 4E 80 04 21 */ bctrl
lbl_8005125C:
/* 8005125C 0004E1BC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80051260 0004E1C0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051264 0004E1C4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80051268 0004E1C8 7C 08 03 A6 */ mtlr r0
/* 8005126C 0004E1CC 38 21 00 20 */ addi r1, r1, 0x20
/* 80051270 0004E1D0 4E 80 00 20 */ blr
.global __dt__7CEntityFv
__dt__7CEntityFv:
/* 80051274 0004E1D4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051278 0004E1D8 7C 08 02 A6 */ mflr r0
/* 8005127C 0004E1DC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80051280 0004E1E0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80051284 0004E1E4 7C 9F 23 78 */ mr r31, r4
/* 80051288 0004E1E8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005128C 0004E1EC 7C 7E 1B 79 */ or. r30, r3, r3
/* 80051290 0004E1F0 41 82 00 78 */ beq lbl_80051308
/* 80051294 0004E1F4 3C 60 80 3E */ lis r3, lbl_803D9E30@ha
/* 80051298 0004E1F8 34 1E 00 20 */ addic. r0, r30, 0x20
/* 8005129C 0004E1FC 38 03 9E 30 */ addi r0, r3, lbl_803D9E30@l
/* 800512A0 0004E200 90 1E 00 00 */ stw r0, 0(r30)
/* 800512A4 0004E204 41 82 00 44 */ beq lbl_800512E8
/* 800512A8 0004E208 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 800512AC 0004E20C 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 800512B0 0004E210 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800512B4 0004E214 90 61 00 0C */ stw r3, 0xc(r1)
/* 800512B8 0004E218 7C 64 1B 78 */ mr r4, r3
/* 800512BC 0004E21C 7C 03 02 14 */ add r0, r3, r0
/* 800512C0 0004E220 90 61 00 08 */ stw r3, 8(r1)
/* 800512C4 0004E224 90 01 00 14 */ stw r0, 0x14(r1)
/* 800512C8 0004E228 90 01 00 10 */ stw r0, 0x10(r1)
/* 800512CC 0004E22C 48 00 00 08 */ b lbl_800512D4
lbl_800512D0:
/* 800512D0 0004E230 38 84 00 0C */ addi r4, r4, 0xc
lbl_800512D4:
/* 800512D4 0004E234 7C 04 00 40 */ cmplw r4, r0
/* 800512D8 0004E238 40 82 FF F8 */ bne lbl_800512D0
/* 800512DC 0004E23C 28 03 00 00 */ cmplwi r3, 0
/* 800512E0 0004E240 41 82 00 08 */ beq lbl_800512E8
/* 800512E4 0004E244 48 2C 46 4D */ bl Free__7CMemoryFPCv
lbl_800512E8:
/* 800512E8 0004E248 34 1E 00 10 */ addic. r0, r30, 0x10
/* 800512EC 0004E24C 41 82 00 0C */ beq lbl_800512F8
/* 800512F0 0004E250 38 7E 00 10 */ addi r3, r30, 0x10
/* 800512F4 0004E254 48 2E C7 ED */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_800512F8:
/* 800512F8 0004E258 7F E0 07 35 */ extsh. r0, r31
/* 800512FC 0004E25C 40 81 00 0C */ ble lbl_80051308
/* 80051300 0004E260 7F C3 F3 78 */ mr r3, r30
/* 80051304 0004E264 48 2C 46 2D */ bl Free__7CMemoryFPCv
lbl_80051308:
/* 80051308 0004E268 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005130C 0004E26C 7F C3 F3 78 */ mr r3, r30
/* 80051310 0004E270 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051314 0004E274 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80051318 0004E278 7C 08 03 A6 */ mtlr r0
/* 8005131C 0004E27C 38 21 00 20 */ addi r1, r1, 0x20
/* 80051320 0004E280 4E 80 00 20 */ blr
.global "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 80051324 0004E284 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051328 0004E288 7C 08 02 A6 */ mflr r0
/* 8005132C 0004E28C 3D 00 80 3E */ lis r8, lbl_803D9E30@ha
/* 80051330 0004E290 90 01 00 24 */ stw r0, 0x24(r1)
/* 80051334 0004E294 38 08 9E 30 */ addi r0, r8, lbl_803D9E30@l
/* 80051338 0004E298 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005133C 0004E29C 7C DF 33 78 */ mr r31, r6
/* 80051340 0004E2A0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80051344 0004E2A4 7C 7E 1B 78 */ mr r30, r3
/* 80051348 0004E2A8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005134C 0004E2AC 7C BD 2B 78 */ mr r29, r5
/* 80051350 0004E2B0 90 03 00 00 */ stw r0, 0(r3)
/* 80051354 0004E2B4 38 7E 00 10 */ addi r3, r30, 0x10
/* 80051358 0004E2B8 80 05 00 00 */ lwz r0, 0(r5)
/* 8005135C 0004E2BC 90 1E 00 04 */ stw r0, 4(r30)
/* 80051360 0004E2C0 A0 04 00 00 */ lhz r0, 0(r4)
/* 80051364 0004E2C4 7C E4 3B 78 */ mr r4, r7
/* 80051368 0004E2C8 B0 1E 00 08 */ sth r0, 8(r30)
/* 8005136C 0004E2CC 80 05 00 14 */ lwz r0, 0x14(r5)
/* 80051370 0004E2D0 90 1E 00 0C */ stw r0, 0xc(r30)
/* 80051374 0004E2D4 48 2E CD ED */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80051378 0004E2D8 80 1D 00 08 */ lwz r0, 8(r29)
/* 8005137C 0004E2DC 90 1E 00 24 */ stw r0, 0x24(r30)
/* 80051380 0004E2E0 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 80051384 0004E2E4 90 1E 00 28 */ stw r0, 0x28(r30)
/* 80051388 0004E2E8 80 1D 00 08 */ lwz r0, 8(r29)
/* 8005138C 0004E2EC 2C 00 00 00 */ cmpwi r0, 0
/* 80051390 0004E2F0 40 82 00 1C */ bne lbl_800513AC
/* 80051394 0004E2F4 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 80051398 0004E2F8 2C 00 00 00 */ cmpwi r0, 0
/* 8005139C 0004E2FC 40 82 00 10 */ bne lbl_800513AC
/* 800513A0 0004E300 38 00 00 00 */ li r0, 0
/* 800513A4 0004E304 90 1E 00 2C */ stw r0, 0x2c(r30)
/* 800513A8 0004E308 48 00 00 78 */ b lbl_80051420
lbl_800513AC:
/* 800513AC 0004E30C 80 1E 00 28 */ lwz r0, 0x28(r30)
/* 800513B0 0004E310 1C 60 00 0C */ mulli r3, r0, 0xc
/* 800513B4 0004E314 2C 03 00 00 */ cmpwi r3, 0
/* 800513B8 0004E318 40 82 00 10 */ bne lbl_800513C8
/* 800513BC 0004E31C 38 00 00 00 */ li r0, 0
/* 800513C0 0004E320 90 1E 00 2C */ stw r0, 0x2c(r30)
/* 800513C4 0004E324 48 00 00 18 */ b lbl_800513DC
lbl_800513C8:
/* 800513C8 0004E328 3C 80 80 3D */ lis r4, lbl_803CCF18@ha
/* 800513CC 0004E32C 38 A0 00 00 */ li r5, 0
/* 800513D0 0004E330 38 84 CF 18 */ addi r4, r4, lbl_803CCF18@l
/* 800513D4 0004E334 48 2C 44 45 */ bl __nwa__FUlPCcPCc
/* 800513D8 0004E338 90 7E 00 2C */ stw r3, 0x2c(r30)
lbl_800513DC:
/* 800513DC 0004E33C 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 800513E0 0004E340 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 800513E4 0004E344 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 800513E8 0004E348 7C 09 03 A6 */ mtctr r0
/* 800513EC 0004E34C 2C 00 00 00 */ cmpwi r0, 0
/* 800513F0 0004E350 40 81 00 30 */ ble lbl_80051420
lbl_800513F4:
/* 800513F4 0004E354 28 03 00 00 */ cmplwi r3, 0
/* 800513F8 0004E358 41 82 00 1C */ beq lbl_80051414
/* 800513FC 0004E35C 80 04 00 00 */ lwz r0, 0(r4)
/* 80051400 0004E360 90 03 00 00 */ stw r0, 0(r3)
/* 80051404 0004E364 80 04 00 04 */ lwz r0, 4(r4)
/* 80051408 0004E368 90 03 00 04 */ stw r0, 4(r3)
/* 8005140C 0004E36C 80 04 00 08 */ lwz r0, 8(r4)
/* 80051410 0004E370 90 03 00 08 */ stw r0, 8(r3)
lbl_80051414:
/* 80051414 0004E374 38 63 00 0C */ addi r3, r3, 0xc
/* 80051418 0004E378 38 84 00 0C */ addi r4, r4, 0xc
/* 8005141C 0004E37C 42 00 FF D8 */ bdnz lbl_800513F4
lbl_80051420:
/* 80051420 0004E380 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80051424 0004E384 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18
/* 80051428 0004E388 38 80 00 00 */ li r4, 0
/* 8005142C 0004E38C 7F C3 F3 78 */ mr r3, r30
/* 80051430 0004E390 98 1E 00 30 */ stb r0, 0x30(r30)
/* 80051434 0004E394 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80051438 0004E398 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8005143C 0004E39C 98 1E 00 30 */ stb r0, 0x30(r30)
/* 80051440 0004E3A0 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80051444 0004E3A4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80051448 0004E3A8 98 1E 00 30 */ stb r0, 0x30(r30)
/* 8005144C 0004E3AC 80 BE 00 04 */ lwz r5, 4(r30)
/* 80051450 0004E3B0 80 8D A3 90 */ lwz r4, lbl_805A8F50@sda21(r13)
/* 80051454 0004E3B4 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80051458 0004E3B8 7C 85 20 50 */ subf r4, r5, r4
/* 8005145C 0004E3BC 7C 84 00 34 */ cntlzw r4, r4
/* 80051460 0004E3C0 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b
/* 80051464 0004E3C4 98 1E 00 30 */ stb r0, 0x30(r30)
/* 80051468 0004E3C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005146C 0004E3CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051470 0004E3D0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80051474 0004E3D4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80051478 0004E3D8 7C 08 03 A6 */ mtlr r0
/* 8005147C 0004E3DC 38 21 00 20 */ addi r1, r1, 0x20
/* 80051480 0004E3E0 4E 80 00 20 */ blr
.global "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
"__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId":
/* 80051484 0004E3E4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051488 0004E3E8 7C 08 02 A6 */ mflr r0
/* 8005148C 0004E3EC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80051490 0004E3F0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80051494 0004E3F4 7C DF 33 78 */ mr r31, r6
/* 80051498 0004E3F8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005149C 0004E3FC 7C 7E 1B 78 */ mr r30, r3
/* 800514A0 0004E400 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800514A4 0004E404 7C BD 2B 78 */ mr r29, r5
/* 800514A8 0004E408 80 04 00 00 */ lwz r0, 0(r4)
/* 800514AC 0004E40C 90 03 00 00 */ stw r0, 0(r3)
/* 800514B0 0004E410 80 05 00 04 */ lwz r0, 4(r5)
/* 800514B4 0004E414 90 03 00 08 */ stw r0, 8(r3)
/* 800514B8 0004E418 80 05 00 08 */ lwz r0, 8(r5)
/* 800514BC 0004E41C 90 03 00 0C */ stw r0, 0xc(r3)
/* 800514C0 0004E420 80 05 00 04 */ lwz r0, 4(r5)
/* 800514C4 0004E424 2C 00 00 00 */ cmpwi r0, 0
/* 800514C8 0004E428 40 82 00 1C */ bne lbl_800514E4
/* 800514CC 0004E42C 80 1D 00 08 */ lwz r0, 8(r29)
/* 800514D0 0004E430 2C 00 00 00 */ cmpwi r0, 0
/* 800514D4 0004E434 40 82 00 10 */ bne lbl_800514E4
/* 800514D8 0004E438 38 00 00 00 */ li r0, 0
/* 800514DC 0004E43C 90 1E 00 10 */ stw r0, 0x10(r30)
/* 800514E0 0004E440 48 00 00 78 */ b lbl_80051558
lbl_800514E4:
/* 800514E4 0004E444 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 800514E8 0004E448 1C 60 00 0C */ mulli r3, r0, 0xc
/* 800514EC 0004E44C 2C 03 00 00 */ cmpwi r3, 0
/* 800514F0 0004E450 40 82 00 10 */ bne lbl_80051500
/* 800514F4 0004E454 38 00 00 00 */ li r0, 0
/* 800514F8 0004E458 90 1E 00 10 */ stw r0, 0x10(r30)
/* 800514FC 0004E45C 48 00 00 18 */ b lbl_80051514
lbl_80051500:
/* 80051500 0004E460 3C 80 80 3D */ lis r4, lbl_803CCF18@ha
/* 80051504 0004E464 38 A0 00 00 */ li r5, 0
/* 80051508 0004E468 38 84 CF 18 */ addi r4, r4, lbl_803CCF18@l
/* 8005150C 0004E46C 48 2C 43 0D */ bl __nwa__FUlPCcPCc
/* 80051510 0004E470 90 7E 00 10 */ stw r3, 0x10(r30)
lbl_80051514:
/* 80051514 0004E474 80 1E 00 08 */ lwz r0, 8(r30)
/* 80051518 0004E478 80 9D 00 0C */ lwz r4, 0xc(r29)
/* 8005151C 0004E47C 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 80051520 0004E480 7C 09 03 A6 */ mtctr r0
/* 80051524 0004E484 2C 00 00 00 */ cmpwi r0, 0
/* 80051528 0004E488 40 81 00 30 */ ble lbl_80051558
lbl_8005152C:
/* 8005152C 0004E48C 28 03 00 00 */ cmplwi r3, 0
/* 80051530 0004E490 41 82 00 1C */ beq lbl_8005154C
/* 80051534 0004E494 80 04 00 00 */ lwz r0, 0(r4)
/* 80051538 0004E498 90 03 00 00 */ stw r0, 0(r3)
/* 8005153C 0004E49C 80 04 00 04 */ lwz r0, 4(r4)
/* 80051540 0004E4A0 90 03 00 04 */ stw r0, 4(r3)
/* 80051544 0004E4A4 80 04 00 08 */ lwz r0, 8(r4)
/* 80051548 0004E4A8 90 03 00 08 */ stw r0, 8(r3)
lbl_8005154C:
/* 8005154C 0004E4AC 38 63 00 0C */ addi r3, r3, 0xc
/* 80051550 0004E4B0 38 84 00 0C */ addi r4, r4, 0xc
/* 80051554 0004E4B4 42 00 FF D8 */ bdnz lbl_8005152C
lbl_80051558:
/* 80051558 0004E4B8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8005155C 0004E4BC 7F C3 F3 78 */ mr r3, r30
/* 80051560 0004E4C0 90 1E 00 14 */ stw r0, 0x14(r30)
/* 80051564 0004E4C4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051568 0004E4C8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005156C 0004E4CC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80051570 0004E4D0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80051574 0004E4D4 7C 08 03 A6 */ mtlr r0
/* 80051578 0004E4D8 38 21 00 20 */ addi r1, r1, 0x20
/* 8005157C 0004E4DC 4E 80 00 20 */ blr
.global __sinit_CEntity_cpp
__sinit_CEntity_cpp:
/* 80051580 0004E4E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80051584 0004E4E4 7C 08 02 A6 */ mflr r0
/* 80051588 0004E4E8 3C 60 80 57 */ lis r3, lbl_8056D410@ha
/* 8005158C 0004E4EC 3C 80 80 05 */ lis r4, "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv"@ha
/* 80051590 0004E4F0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80051594 0004E4F4 3C A0 80 47 */ lis r5, lbl_8046C3B8@ha
/* 80051598 0004E4F8 38 63 D4 10 */ addi r3, r3, lbl_8056D410@l
/* 8005159C 0004E4FC 38 00 00 00 */ li r0, 0
/* 800515A0 0004E500 90 03 00 04 */ stw r0, 4(r3)
/* 800515A4 0004E504 38 84 86 F8 */ addi r4, r4, "__dt__Q24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>Fv"@l
/* 800515A8 0004E508 38 A5 C3 B8 */ addi r5, r5, lbl_8046C3B8@l
/* 800515AC 0004E50C 90 03 00 08 */ stw r0, 8(r3)
/* 800515B0 0004E510 90 03 00 0C */ stw r0, 0xc(r3)
/* 800515B4 0004E514 48 33 80 D9 */ bl __register_global_object
/* 800515B8 0004E518 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800515BC 0004E51C 7C 08 03 A6 */ mtlr r0
/* 800515C0 0004E520 38 21 00 10 */ addi r1, r1, 0x10
/* 800515C4 0004E524 4E 80 00 20 */ blr

425
asm/Kyoto_CWD/CExplosion.s Normal file
View File

@ -0,0 +1,425 @@
.include "macros.inc"
.section .text, "ax"
.global __dt__10CExplosionFv
__dt__10CExplosionFv:
/* 8005A83C 0005779C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A840 000577A0 7C 08 02 A6 */ mflr r0
/* 8005A844 000577A4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A848 000577A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005A84C 000577AC 7C 9F 23 78 */ mr r31, r4
/* 8005A850 000577B0 93 C1 00 08 */ stw r30, 8(r1)
/* 8005A854 000577B4 7C 7E 1B 79 */ or. r30, r3, r3
/* 8005A858 000577B8 41 82 00 68 */ beq lbl_8005A8C0
/* 8005A85C 000577BC 3C 60 80 3E */ lis r3, lbl_803DA0A8@ha
/* 8005A860 000577C0 34 1E 00 E8 */ addic. r0, r30, 0xe8
/* 8005A864 000577C4 38 03 A0 A8 */ addi r0, r3, lbl_803DA0A8@l
/* 8005A868 000577C8 90 1E 00 00 */ stw r0, 0(r30)
/* 8005A86C 000577CC 41 82 00 24 */ beq lbl_8005A890
/* 8005A870 000577D0 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8005A874 000577D4 28 03 00 00 */ cmplwi r3, 0
/* 8005A878 000577D8 41 82 00 18 */ beq lbl_8005A890
/* 8005A87C 000577DC 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A880 000577E0 38 80 00 01 */ li r4, 1
/* 8005A884 000577E4 81 8C 00 08 */ lwz r12, 8(r12)
/* 8005A888 000577E8 7D 89 03 A6 */ mtctr r12
/* 8005A88C 000577EC 4E 80 04 21 */ bctrl
lbl_8005A890:
/* 8005A890 000577F0 28 1E 00 00 */ cmplwi r30, 0
/* 8005A894 000577F4 41 82 00 1C */ beq lbl_8005A8B0
/* 8005A898 000577F8 3C 80 80 3E */ lis r4, lbl_803DA118@ha
/* 8005A89C 000577FC 7F C3 F3 78 */ mr r3, r30
/* 8005A8A0 00057800 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l
/* 8005A8A4 00057804 38 80 00 00 */ li r4, 0
/* 8005A8A8 00057808 90 1E 00 00 */ stw r0, 0(r30)
/* 8005A8AC 0005780C 4B FF AE 45 */ bl __dt__6CActorFv
lbl_8005A8B0:
/* 8005A8B0 00057810 7F E0 07 35 */ extsh. r0, r31
/* 8005A8B4 00057814 40 81 00 0C */ ble lbl_8005A8C0
/* 8005A8B8 00057818 7F C3 F3 78 */ mr r3, r30
/* 8005A8BC 0005781C 48 2B B0 75 */ bl Free__7CMemoryFPCv
lbl_8005A8C0:
/* 8005A8C0 00057820 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A8C4 00057824 7F C3 F3 78 */ mr r3, r30
/* 8005A8C8 00057828 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005A8CC 0005782C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005A8D0 00057830 7C 08 03 A6 */ mtlr r0
/* 8005A8D4 00057834 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A8D8 00057838 4E 80 00 20 */ blr
.global "__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor"
"__ct__10CExplosionFRC31TLockedToken<20CElectricDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor":
/* 8005A8DC 0005783C 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8005A8E0 00057840 7C 08 02 A6 */ mflr r0
/* 8005A8E4 00057844 90 01 00 84 */ stw r0, 0x84(r1)
/* 8005A8E8 00057848 BF 01 00 60 */ stmw r24, 0x60(r1)
/* 8005A8EC 0005784C 7C 9B 23 78 */ mr r27, r4
/* 8005A8F0 00057850 7D 3C 4B 78 */ mr r28, r9
/* 8005A8F4 00057854 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8005A8F8 00057858 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8005A8FC 0005785C 7C 7A 1B 78 */ mr r26, r3
/* 8005A900 00057860 7D 5D 53 78 */ mr r29, r10
/* 8005A904 00057864 38 81 00 08 */ addi r4, r1, 8
/* 8005A908 00057868 A0 05 00 00 */ lhz r0, 0(r5)
/* 8005A90C 0005786C 7C E5 3B 78 */ mr r5, r7
/* 8005A910 00057870 7D 07 43 78 */ mr r7, r8
/* 8005A914 00057874 7F 88 E3 78 */ mr r8, r28
/* 8005A918 00057878 B0 01 00 08 */ sth r0, 8(r1)
/* 8005A91C 0005787C 48 00 04 35 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f"
/* 8005A920 00057880 3C 80 80 3E */ lis r4, lbl_803DA0A8@ha
/* 8005A924 00057884 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005A928 00057888 38 04 A0 A8 */ addi r0, r4, lbl_803DA0A8@l
/* 8005A92C 0005788C 3B 00 00 00 */ li r24, 0
/* 8005A930 00057890 90 1A 00 00 */ stw r0, 0(r26)
/* 8005A934 00057894 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005A938 00057898 38 60 04 58 */ li r3, 0x458
/* 8005A93C 0005789C 38 A0 00 00 */ li r5, 0
/* 8005A940 000578A0 48 2B AF 2D */ bl __nw__FUlPCcPCc
/* 8005A944 000578A4 7C 79 1B 79 */ or. r25, r3, r3
/* 8005A948 000578A8 41 82 00 24 */ beq lbl_8005A96C
/* 8005A94C 000578AC 7F 64 DB 78 */ mr r4, r27
/* 8005A950 000578B0 38 61 00 14 */ addi r3, r1, 0x14
/* 8005A954 000578B4 48 2E 65 55 */ bl __ct__6CTokenFRC6CToken
/* 8005A958 000578B8 7F 23 CB 78 */ mr r3, r25
/* 8005A95C 000578BC 38 81 00 14 */ addi r4, r1, 0x14
/* 8005A960 000578C0 3B 00 00 01 */ li r24, 1
/* 8005A964 000578C4 48 30 78 0D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>"
/* 8005A968 000578C8 7C 79 1B 78 */ mr r25, r3
lbl_8005A96C:
/* 8005A96C 000578CC 7F 00 07 75 */ extsb. r0, r24
/* 8005A970 000578D0 93 3A 00 E8 */ stw r25, 0xe8(r26)
/* 8005A974 000578D4 41 82 00 10 */ beq lbl_8005A984
/* 8005A978 000578D8 38 61 00 14 */ addi r3, r1, 0x14
/* 8005A97C 000578DC 38 80 00 00 */ li r4, 0
/* 8005A980 000578E0 48 2E 64 C1 */ bl __dt__6CTokenFv
lbl_8005A984:
/* 8005A984 000578E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A988 000578E8 7F 64 DB 78 */ mr r4, r27
/* 8005A98C 000578EC 38 61 00 0C */ addi r3, r1, 0xc
/* 8005A990 000578F0 B0 1A 00 EC */ sth r0, 0xec(r26)
/* 8005A994 000578F4 48 2E 65 15 */ bl __ct__6CTokenFRC6CToken
/* 8005A998 000578F8 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8005A99C 000578FC 38 61 00 0C */ addi r3, r1, 0xc
/* 8005A9A0 00057900 38 80 FF FF */ li r4, -1
/* 8005A9A4 00057904 80 05 00 08 */ lwz r0, 8(r5)
/* 8005A9A8 00057908 90 1A 00 F0 */ stw r0, 0xf0(r26)
/* 8005A9AC 0005790C 48 2E 64 95 */ bl __dt__6CTokenFv
/* 8005A9B0 00057910 88 7A 00 F4 */ lbz r3, 0xf4(r26)
/* 8005A9B4 00057914 53 A3 2E 30 */ rlwimi r3, r29, 5, 0x18, 0x18
/* 8005A9B8 00057918 57 A0 07 FF */ clrlwi. r0, r29, 0x1f
/* 8005A9BC 0005791C 38 A0 00 01 */ li r5, 1
/* 8005A9C0 00057920 98 7A 00 F4 */ stb r3, 0xf4(r26)
/* 8005A9C4 00057924 88 1A 00 F4 */ lbz r0, 0xf4(r26)
/* 8005A9C8 00057928 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 8005A9CC 0005792C 98 1A 00 F4 */ stb r0, 0xf4(r26)
/* 8005A9D0 00057930 38 00 00 02 */ li r0, 2
/* 8005A9D4 00057934 88 7A 00 F4 */ lbz r3, 0xf4(r26)
/* 8005A9D8 00057938 53 A3 16 B4 */ rlwimi r3, r29, 2, 0x1a, 0x1a
/* 8005A9DC 0005793C 98 7A 00 F4 */ stb r3, 0xf4(r26)
/* 8005A9E0 00057940 41 82 00 08 */ beq lbl_8005A9E8
/* 8005A9E4 00057944 7C A0 2B 78 */ mr r0, r5
lbl_8005A9E8:
/* 8005A9E8 00057948 54 03 06 3E */ clrlwi r3, r0, 0x18
/* 8005A9EC 0005794C 88 1A 00 E6 */ lbz r0, 0xe6(r26)
/* 8005A9F0 00057950 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c
/* 8005A9F4 00057954 38 81 00 1C */ addi r4, r1, 0x1c
/* 8005A9F8 00057958 98 1A 00 E6 */ stb r0, 0xe6(r26)
/* 8005A9FC 0005795C C0 5C 00 2C */ lfs f2, 0x2c(r28)
/* 8005AA00 00057960 C0 3C 00 1C */ lfs f1, 0x1c(r28)
/* 8005AA04 00057964 C0 1C 00 0C */ lfs f0, 0xc(r28)
/* 8005AA08 00057968 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8005AA0C 0005796C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8005AA10 00057970 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8005AA14 00057974 80 7A 00 E8 */ lwz r3, 0xe8(r26)
/* 8005AA18 00057978 81 83 00 00 */ lwz r12, 0(r3)
/* 8005AA1C 0005797C 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8005AA20 00057980 7D 89 03 A6 */ mtctr r12
/* 8005AA24 00057984 4E 80 04 21 */ bctrl
/* 8005AA28 00057988 83 3A 00 E8 */ lwz r25, 0xe8(r26)
/* 8005AA2C 0005798C 7F 84 E3 78 */ mr r4, r28
/* 8005AA30 00057990 38 61 00 28 */ addi r3, r1, 0x28
/* 8005AA34 00057994 48 2B 82 0D */ bl GetRotation__12CTransform4fCFv
/* 8005AA38 00057998 7F 23 CB 78 */ mr r3, r25
/* 8005AA3C 0005799C 38 81 00 28 */ addi r4, r1, 0x28
/* 8005AA40 000579A0 81 99 00 00 */ lwz r12, 0(r25)
/* 8005AA44 000579A4 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8005AA48 000579A8 7D 89 03 A6 */ mtctr r12
/* 8005AA4C 000579AC 4E 80 04 21 */ bctrl
/* 8005AA50 000579B0 80 7A 00 E8 */ lwz r3, 0xe8(r26)
/* 8005AA54 000579B4 7F C4 F3 78 */ mr r4, r30
/* 8005AA58 000579B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8005AA5C 000579BC 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8005AA60 000579C0 7D 89 03 A6 */ mtctr r12
/* 8005AA64 000579C4 4E 80 04 21 */ bctrl
/* 8005AA68 000579C8 80 7A 00 E8 */ lwz r3, 0xe8(r26)
/* 8005AA6C 000579CC 7F E4 FB 78 */ mr r4, r31
/* 8005AA70 000579D0 81 83 00 00 */ lwz r12, 0(r3)
/* 8005AA74 000579D4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8005AA78 000579D8 7D 89 03 A6 */ mtctr r12
/* 8005AA7C 000579DC 4E 80 04 21 */ bctrl
/* 8005AA80 000579E0 7F 43 D3 78 */ mr r3, r26
/* 8005AA84 000579E4 BB 01 00 60 */ lmw r24, 0x60(r1)
/* 8005AA88 000579E8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8005AA8C 000579EC 7C 08 03 A6 */ mtlr r0
/* 8005AA90 000579F0 38 21 00 80 */ addi r1, r1, 0x80
/* 8005AA94 000579F4 4E 80 00 20 */ blr
.global __dt__7CEffectFv
__dt__7CEffectFv:
/* 8005AA98 000579F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005AA9C 000579FC 7C 08 02 A6 */ mflr r0
/* 8005AAA0 00057A00 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005AAA4 00057A04 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005AAA8 00057A08 7C 9F 23 78 */ mr r31, r4
/* 8005AAAC 00057A0C 93 C1 00 08 */ stw r30, 8(r1)
/* 8005AAB0 00057A10 7C 7E 1B 79 */ or. r30, r3, r3
/* 8005AAB4 00057A14 41 82 00 28 */ beq lbl_8005AADC
/* 8005AAB8 00057A18 3C A0 80 3E */ lis r5, lbl_803DA118@ha
/* 8005AABC 00057A1C 38 80 00 00 */ li r4, 0
/* 8005AAC0 00057A20 38 05 A1 18 */ addi r0, r5, lbl_803DA118@l
/* 8005AAC4 00057A24 90 1E 00 00 */ stw r0, 0(r30)
/* 8005AAC8 00057A28 4B FF AC 29 */ bl __dt__6CActorFv
/* 8005AACC 00057A2C 7F E0 07 35 */ extsh. r0, r31
/* 8005AAD0 00057A30 40 81 00 0C */ ble lbl_8005AADC
/* 8005AAD4 00057A34 7F C3 F3 78 */ mr r3, r30
/* 8005AAD8 00057A38 48 2B AE 59 */ bl Free__7CMemoryFPCv
lbl_8005AADC:
/* 8005AADC 00057A3C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005AAE0 00057A40 7F C3 F3 78 */ mr r3, r30
/* 8005AAE4 00057A44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005AAE8 00057A48 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005AAEC 00057A4C 7C 08 03 A6 */ mtlr r0
/* 8005AAF0 00057A50 38 21 00 10 */ addi r1, r1, 0x10
/* 8005AAF4 00057A54 4E 80 00 20 */ blr
.global "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor"
"__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor":
/* 8005AAF8 00057A58 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8005AAFC 00057A5C 7C 08 02 A6 */ mflr r0
/* 8005AB00 00057A60 90 01 00 84 */ stw r0, 0x84(r1)
/* 8005AB04 00057A64 BF 01 00 60 */ stmw r24, 0x60(r1)
/* 8005AB08 00057A68 7C 9B 23 78 */ mr r27, r4
/* 8005AB0C 00057A6C 7D 3C 4B 78 */ mr r28, r9
/* 8005AB10 00057A70 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8005AB14 00057A74 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8005AB18 00057A78 7C 7A 1B 78 */ mr r26, r3
/* 8005AB1C 00057A7C 7D 5D 53 78 */ mr r29, r10
/* 8005AB20 00057A80 38 81 00 08 */ addi r4, r1, 8
/* 8005AB24 00057A84 A0 05 00 00 */ lhz r0, 0(r5)
/* 8005AB28 00057A88 7C E5 3B 78 */ mr r5, r7
/* 8005AB2C 00057A8C 7D 07 43 78 */ mr r7, r8
/* 8005AB30 00057A90 7F 88 E3 78 */ mr r8, r28
/* 8005AB34 00057A94 B0 01 00 08 */ sth r0, 8(r1)
/* 8005AB38 00057A98 48 00 02 19 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f"
/* 8005AB3C 00057A9C 3C 80 80 3E */ lis r4, lbl_803DA0A8@ha
/* 8005AB40 00057AA0 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005AB44 00057AA4 38 04 A0 A8 */ addi r0, r4, lbl_803DA0A8@l
/* 8005AB48 00057AA8 3B 00 00 00 */ li r24, 0
/* 8005AB4C 00057AAC 90 1A 00 00 */ stw r0, 0(r26)
/* 8005AB50 00057AB0 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005AB54 00057AB4 38 60 03 40 */ li r3, 0x340
/* 8005AB58 00057AB8 38 A0 00 00 */ li r5, 0
/* 8005AB5C 00057ABC 48 2B AD 11 */ bl __nw__FUlPCcPCc
/* 8005AB60 00057AC0 7C 79 1B 79 */ or. r25, r3, r3
/* 8005AB64 00057AC4 41 82 00 38 */ beq lbl_8005AB9C
/* 8005AB68 00057AC8 7F 64 DB 78 */ mr r4, r27
/* 8005AB6C 00057ACC 38 61 00 14 */ addi r3, r1, 0x14
/* 8005AB70 00057AD0 48 2E 63 39 */ bl __ct__6CTokenFRC6CToken
/* 8005AB74 00057AD4 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e
/* 8005AB78 00057AD8 7F 23 CB 78 */ mr r3, r25
/* 8005AB7C 00057ADC 38 81 00 14 */ addi r4, r1, 0x14
/* 8005AB80 00057AE0 3B 00 00 01 */ li r24, 1
/* 8005AB84 00057AE4 38 A0 00 00 */ li r5, 0
/* 8005AB88 00057AE8 38 C0 00 01 */ li r6, 1
/* 8005AB8C 00057AEC 41 82 00 08 */ beq lbl_8005AB94
/* 8005AB90 00057AF0 38 C0 00 02 */ li r6, 2
lbl_8005AB94:
/* 8005AB94 00057AF4 48 2C 48 4D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 8005AB98 00057AF8 7C 79 1B 78 */ mr r25, r3
lbl_8005AB9C:
/* 8005AB9C 00057AFC 7F 00 07 75 */ extsb. r0, r24
/* 8005ABA0 00057B00 93 3A 00 E8 */ stw r25, 0xe8(r26)
/* 8005ABA4 00057B04 41 82 00 10 */ beq lbl_8005ABB4
/* 8005ABA8 00057B08 38 61 00 14 */ addi r3, r1, 0x14
/* 8005ABAC 00057B0C 38 80 00 00 */ li r4, 0
/* 8005ABB0 00057B10 48 2E 62 91 */ bl __dt__6CTokenFv
lbl_8005ABB4:
/* 8005ABB4 00057B14 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005ABB8 00057B18 7F 64 DB 78 */ mr r4, r27
/* 8005ABBC 00057B1C 38 61 00 0C */ addi r3, r1, 0xc
/* 8005ABC0 00057B20 B0 1A 00 EC */ sth r0, 0xec(r26)
/* 8005ABC4 00057B24 48 2E 62 E5 */ bl __ct__6CTokenFRC6CToken
/* 8005ABC8 00057B28 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8005ABCC 00057B2C 38 61 00 0C */ addi r3, r1, 0xc
/* 8005ABD0 00057B30 38 80 FF FF */ li r4, -1
/* 8005ABD4 00057B34 80 05 00 08 */ lwz r0, 8(r5)
/* 8005ABD8 00057B38 90 1A 00 F0 */ stw r0, 0xf0(r26)
/* 8005ABDC 00057B3C 48 2E 62 65 */ bl __dt__6CTokenFv
/* 8005ABE0 00057B40 88 7A 00 F4 */ lbz r3, 0xf4(r26)
/* 8005ABE4 00057B44 53 A3 2E 30 */ rlwimi r3, r29, 5, 0x18, 0x18
/* 8005ABE8 00057B48 57 A0 07 FF */ clrlwi. r0, r29, 0x1f
/* 8005ABEC 00057B4C 38 A0 00 01 */ li r5, 1
/* 8005ABF0 00057B50 98 7A 00 F4 */ stb r3, 0xf4(r26)
/* 8005ABF4 00057B54 38 00 00 02 */ li r0, 2
/* 8005ABF8 00057B58 C0 02 86 A8 */ lfs f0, lbl_805AA3C8@sda21(r2)
/* 8005ABFC 00057B5C 88 7A 00 F4 */ lbz r3, 0xf4(r26)
/* 8005AC00 00057B60 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19
/* 8005AC04 00057B64 98 7A 00 F4 */ stb r3, 0xf4(r26)
/* 8005AC08 00057B68 88 7A 00 F4 */ lbz r3, 0xf4(r26)
/* 8005AC0C 00057B6C 53 A3 16 B4 */ rlwimi r3, r29, 2, 0x1a, 0x1a
/* 8005AC10 00057B70 98 7A 00 F4 */ stb r3, 0xf4(r26)
/* 8005AC14 00057B74 D0 1A 00 F8 */ stfs f0, 0xf8(r26)
/* 8005AC18 00057B78 41 82 00 08 */ beq lbl_8005AC20
/* 8005AC1C 00057B7C 7C A0 2B 78 */ mr r0, r5
lbl_8005AC20:
/* 8005AC20 00057B80 54 03 06 3E */ clrlwi r3, r0, 0x18
/* 8005AC24 00057B84 88 1A 00 E6 */ lbz r0, 0xe6(r26)
/* 8005AC28 00057B88 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c
/* 8005AC2C 00057B8C 38 81 00 1C */ addi r4, r1, 0x1c
/* 8005AC30 00057B90 98 1A 00 E6 */ stb r0, 0xe6(r26)
/* 8005AC34 00057B94 C0 5C 00 2C */ lfs f2, 0x2c(r28)
/* 8005AC38 00057B98 C0 3C 00 1C */ lfs f1, 0x1c(r28)
/* 8005AC3C 00057B9C C0 1C 00 0C */ lfs f0, 0xc(r28)
/* 8005AC40 00057BA0 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8005AC44 00057BA4 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8005AC48 00057BA8 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8005AC4C 00057BAC 80 7A 00 E8 */ lwz r3, 0xe8(r26)
/* 8005AC50 00057BB0 81 83 00 00 */ lwz r12, 0(r3)
/* 8005AC54 00057BB4 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8005AC58 00057BB8 7D 89 03 A6 */ mtctr r12
/* 8005AC5C 00057BBC 4E 80 04 21 */ bctrl
/* 8005AC60 00057BC0 83 3A 00 E8 */ lwz r25, 0xe8(r26)
/* 8005AC64 00057BC4 7F 84 E3 78 */ mr r4, r28
/* 8005AC68 00057BC8 38 61 00 28 */ addi r3, r1, 0x28
/* 8005AC6C 00057BCC 48 2B 7F D5 */ bl GetRotation__12CTransform4fCFv
/* 8005AC70 00057BD0 7F 23 CB 78 */ mr r3, r25
/* 8005AC74 00057BD4 38 81 00 28 */ addi r4, r1, 0x28
/* 8005AC78 00057BD8 81 99 00 00 */ lwz r12, 0(r25)
/* 8005AC7C 00057BDC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8005AC80 00057BE0 7D 89 03 A6 */ mtctr r12
/* 8005AC84 00057BE4 4E 80 04 21 */ bctrl
/* 8005AC88 00057BE8 80 7A 00 E8 */ lwz r3, 0xe8(r26)
/* 8005AC8C 00057BEC 7F C4 F3 78 */ mr r4, r30
/* 8005AC90 00057BF0 81 83 00 00 */ lwz r12, 0(r3)
/* 8005AC94 00057BF4 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8005AC98 00057BF8 7D 89 03 A6 */ mtctr r12
/* 8005AC9C 00057BFC 4E 80 04 21 */ bctrl
/* 8005ACA0 00057C00 80 7A 00 E8 */ lwz r3, 0xe8(r26)
/* 8005ACA4 00057C04 7F E4 FB 78 */ mr r4, r31
/* 8005ACA8 00057C08 81 83 00 00 */ lwz r12, 0(r3)
/* 8005ACAC 00057C0C 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8005ACB0 00057C10 7D 89 03 A6 */ mtctr r12
/* 8005ACB4 00057C14 4E 80 04 21 */ bctrl
/* 8005ACB8 00057C18 7F 43 D3 78 */ mr r3, r26
/* 8005ACBC 00057C1C BB 01 00 60 */ lmw r24, 0x60(r1)
/* 8005ACC0 00057C20 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8005ACC4 00057C24 7C 08 03 A6 */ mtlr r0
/* 8005ACC8 00057C28 38 21 00 80 */ addi r1, r1, 0x80
/* 8005ACCC 00057C2C 4E 80 00 20 */ blr
.global __dt__12CParticleGenFv
__dt__12CParticleGenFv:
/* 8005ACD0 00057C30 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005ACD4 00057C34 7C 08 02 A6 */ mflr r0
/* 8005ACD8 00057C38 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005ACDC 00057C3C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005ACE0 00057C40 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005ACE4 00057C44 7C 9E 23 78 */ mr r30, r4
/* 8005ACE8 00057C48 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005ACEC 00057C4C 7C 7D 1B 79 */ or. r29, r3, r3
/* 8005ACF0 00057C50 41 82 00 38 */ beq lbl_8005AD28
/* 8005ACF4 00057C54 83 FD 00 04 */ lwz r31, 4(r29)
/* 8005ACF8 00057C58 48 00 00 14 */ b lbl_8005AD0C
lbl_8005ACFC:
/* 8005ACFC 00057C5C 7F E3 FB 79 */ or. r3, r31, r31
/* 8005AD00 00057C60 83 FF 00 04 */ lwz r31, 4(r31)
/* 8005AD04 00057C64 41 82 00 08 */ beq lbl_8005AD0C
/* 8005AD08 00057C68 48 2B AC 29 */ bl Free__7CMemoryFPCv
lbl_8005AD0C:
/* 8005AD0C 00057C6C 80 1D 00 08 */ lwz r0, 8(r29)
/* 8005AD10 00057C70 7C 1F 00 40 */ cmplw r31, r0
/* 8005AD14 00057C74 40 82 FF E8 */ bne lbl_8005ACFC
/* 8005AD18 00057C78 7F C0 07 35 */ extsh. r0, r30
/* 8005AD1C 00057C7C 40 81 00 0C */ ble lbl_8005AD28
/* 8005AD20 00057C80 7F A3 EB 78 */ mr r3, r29
/* 8005AD24 00057C84 48 2B AC 0D */ bl Free__7CMemoryFPCv
lbl_8005AD28:
/* 8005AD28 00057C88 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005AD2C 00057C8C 7F A3 EB 78 */ mr r3, r29
/* 8005AD30 00057C90 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005AD34 00057C94 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005AD38 00057C98 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8005AD3C 00057C9C 7C 08 03 A6 */ mtlr r0
/* 8005AD40 00057CA0 38 21 00 20 */ addi r1, r1, 0x20
/* 8005AD44 00057CA4 4E 80 00 20 */ blr
.global nullsub_83
nullsub_83:
/* 8005AD48 00057CA8 4E 80 00 20 */ blr
.global nullsub_84
nullsub_84:
/* 8005AD4C 00057CAC 4E 80 00 20 */ blr
.global "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f"
"__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f":
/* 8005AD50 00057CB0 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 8005AD54 00057CB4 7C 08 02 A6 */ mflr r0
/* 8005AD58 00057CB8 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 8005AD5C 00057CBC BF 41 00 D8 */ stmw r26, 0xd8(r1)
/* 8005AD60 00057CC0 7C 7F 1B 78 */ mr r31, r3
/* 8005AD64 00057CC4 7C 9A 23 78 */ mr r26, r4
/* 8005AD68 00057CC8 7C BB 2B 78 */ mr r27, r5
/* 8005AD6C 00057CCC 7C DC 33 78 */ mr r28, r6
/* 8005AD70 00057CD0 7C FD 3B 78 */ mr r29, r7
/* 8005AD74 00057CD4 7D 1E 43 78 */ mr r30, r8
/* 8005AD78 00057CD8 38 61 00 88 */ addi r3, r1, 0x88
/* 8005AD7C 00057CDC 4B FD FA 29 */ bl CModelDataNull__10CModelDataFv
/* 8005AD80 00057CE0 38 61 00 20 */ addi r3, r1, 0x20
/* 8005AD84 00057CE4 4B FC 00 B5 */ bl None__16CActorParametersFv
/* 8005AD88 00057CE8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8005AD8C 00057CEC 38 00 00 00 */ li r0, 0
/* 8005AD90 00057CF0 80 AD 82 B8 */ lwz r5, lbl_805A6E78@sda21(r13)
/* 8005AD94 00057CF4 38 60 00 00 */ li r3, 0
/* 8005AD98 00057CF8 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8005AD9C 00057CFC 38 80 00 01 */ li r4, 1
/* 8005ADA0 00057D00 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8005ADA4 00057D04 90 01 00 18 */ stw r0, 0x18(r1)
/* 8005ADA8 00057D08 48 32 F1 4D */ bl __shl2i
/* 8005ADAC 00057D0C 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8005ADB0 00057D10 39 61 00 20 */ addi r11, r1, 0x20
/* 8005ADB4 00057D14 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8005ADB8 00057D18 38 01 00 10 */ addi r0, r1, 0x10
/* 8005ADBC 00057D1C 7C A3 1B 78 */ or r3, r5, r3
/* 8005ADC0 00057D20 A1 3A 00 00 */ lhz r9, 0(r26)
/* 8005ADC4 00057D24 7C C4 23 78 */ or r4, r6, r4
/* 8005ADC8 00057D28 90 61 00 18 */ stw r3, 0x18(r1)
/* 8005ADCC 00057D2C 7F E3 FB 78 */ mr r3, r31
/* 8005ADD0 00057D30 7F 85 E3 78 */ mr r5, r28
/* 8005ADD4 00057D34 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8005ADD8 00057D38 7F A6 EB 78 */ mr r6, r29
/* 8005ADDC 00057D3C 7F 67 DB 78 */ mr r7, r27
/* 8005ADE0 00057D40 7F C8 F3 78 */ mr r8, r30
/* 8005ADE4 00057D44 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8005ADE8 00057D48 38 81 00 14 */ addi r4, r1, 0x14
/* 8005ADEC 00057D4C 39 21 00 88 */ addi r9, r1, 0x88
/* 8005ADF0 00057D50 39 41 00 18 */ addi r10, r1, 0x18
/* 8005ADF4 00057D54 91 61 00 08 */ stw r11, 8(r1)
/* 8005ADF8 00057D58 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005ADFC 00057D5C 4B FF AA 25 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8005AE00 00057D60 38 61 00 20 */ addi r3, r1, 0x20
/* 8005AE04 00057D64 38 80 FF FF */ li r4, -1
/* 8005AE08 00057D68 48 0A B8 01 */ bl __dt__16CActorParametersFv
/* 8005AE0C 00057D6C 38 61 00 88 */ addi r3, r1, 0x88
/* 8005AE10 00057D70 38 80 FF FF */ li r4, -1
/* 8005AE14 00057D74 48 0B BC 39 */ bl __dt__10CModelDataFv
/* 8005AE18 00057D78 3C 80 80 3E */ lis r4, lbl_803DA118@ha
/* 8005AE1C 00057D7C 7F E3 FB 78 */ mr r3, r31
/* 8005AE20 00057D80 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l
/* 8005AE24 00057D84 90 1F 00 00 */ stw r0, 0(r31)
/* 8005AE28 00057D88 BB 41 00 D8 */ lmw r26, 0xd8(r1)
/* 8005AE2C 00057D8C 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 8005AE30 00057D90 7C 08 03 A6 */ mtlr r0
/* 8005AE34 00057D94 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8005AE38 00057D98 4E 80 00 20 */ blr

7881
asm/Kyoto_CWD/CGameArea.s Normal file

File diff suppressed because it is too large Load Diff

3319
asm/Kyoto_CWD/CGameCamera.s Normal file

File diff suppressed because it is too large Load Diff

71
asm/Kyoto_CWD/CIOWin.s Normal file
View File

@ -0,0 +1,71 @@
.include "macros.inc"
.section .text, "ax"
.global PreDraw__6CIOWinCFv
PreDraw__6CIOWinCFv:
/* 80052B8C 0004FAEC 4E 80 00 20 */ blr
.global Draw__6CIOWinCFv
Draw__6CIOWinCFv:
/* 80052B90 0004FAF0 4E 80 00 20 */ blr
.global GetIsContinueDraw__6CIOWinCFv
GetIsContinueDraw__6CIOWinCFv:
/* 80052B94 0004FAF4 38 60 00 01 */ li r3, 1
/* 80052B98 0004FAF8 4E 80 00 20 */ blr
.global GetName__6CIOWinCFv
GetName__6CIOWinCFv:
/* 80052B9C 0004FAFC 38 63 00 04 */ addi r3, r3, 4
/* 80052BA0 0004FB00 4E 80 00 20 */ blr
.global __dt__6CIOWinFv
__dt__6CIOWinFv:
/* 80052BA4 0004FB04 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80052BA8 0004FB08 7C 08 02 A6 */ mflr r0
/* 80052BAC 0004FB0C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80052BB0 0004FB10 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80052BB4 0004FB14 7C 9F 23 78 */ mr r31, r4
/* 80052BB8 0004FB18 93 C1 00 08 */ stw r30, 8(r1)
/* 80052BBC 0004FB1C 7C 7E 1B 79 */ or. r30, r3, r3
/* 80052BC0 0004FB20 41 82 00 30 */ beq lbl_80052BF0
/* 80052BC4 0004FB24 3C 60 80 3E */ lis r3, lbl_803D9E90@ha
/* 80052BC8 0004FB28 34 1E 00 04 */ addic. r0, r30, 4
/* 80052BCC 0004FB2C 38 03 9E 90 */ addi r0, r3, lbl_803D9E90@l
/* 80052BD0 0004FB30 90 1E 00 00 */ stw r0, 0(r30)
/* 80052BD4 0004FB34 41 82 00 0C */ beq lbl_80052BE0
/* 80052BD8 0004FB38 38 7E 00 04 */ addi r3, r30, 4
/* 80052BDC 0004FB3C 48 2E AF 05 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80052BE0:
/* 80052BE0 0004FB40 7F E0 07 35 */ extsh. r0, r31
/* 80052BE4 0004FB44 40 81 00 0C */ ble lbl_80052BF0
/* 80052BE8 0004FB48 7F C3 F3 78 */ mr r3, r30
/* 80052BEC 0004FB4C 48 2C 2D 45 */ bl Free__7CMemoryFPCv
lbl_80052BF0:
/* 80052BF0 0004FB50 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80052BF4 0004FB54 7F C3 F3 78 */ mr r3, r30
/* 80052BF8 0004FB58 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80052BFC 0004FB5C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80052C00 0004FB60 7C 08 03 A6 */ mtlr r0
/* 80052C04 0004FB64 38 21 00 10 */ addi r1, r1, 0x10
/* 80052C08 0004FB68 4E 80 00 20 */ blr
.global "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 80052C0C 0004FB6C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80052C10 0004FB70 7C 08 02 A6 */ mflr r0
/* 80052C14 0004FB74 3C A0 80 3E */ lis r5, lbl_803D9E90@ha
/* 80052C18 0004FB78 90 01 00 14 */ stw r0, 0x14(r1)
/* 80052C1C 0004FB7C 38 05 9E 90 */ addi r0, r5, lbl_803D9E90@l
/* 80052C20 0004FB80 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80052C24 0004FB84 7C 7F 1B 78 */ mr r31, r3
/* 80052C28 0004FB88 90 03 00 00 */ stw r0, 0(r3)
/* 80052C2C 0004FB8C 38 7F 00 04 */ addi r3, r31, 4
/* 80052C30 0004FB90 48 2E B5 31 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80052C34 0004FB94 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80052C38 0004FB98 7F E3 FB 78 */ mr r3, r31
/* 80052C3C 0004FB9C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80052C40 0004FBA0 7C 08 03 A6 */ mtlr r0
/* 80052C44 0004FBA4 38 21 00 10 */ addi r1, r1, 0x10
/* 80052C48 0004FBA8 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

1043
asm/Kyoto_CWD/CMapArea.s Normal file

File diff suppressed because it is too large Load Diff

4519
asm/Kyoto_CWD/CMapWorld.s Normal file

File diff suppressed because it is too large Load Diff

7446
asm/Kyoto_CWD/CPatterned.s Normal file

File diff suppressed because it is too large Load Diff

1775
asm/Kyoto_CWD/CPauseScreen.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1631
asm/Kyoto_CWD/CPlayerState.s Normal file

File diff suppressed because it is too large Load Diff

10130
asm/Kyoto_CWD/CSamusHud.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,916 @@
.include "macros.inc"
.section .text, "ax"
.global GetSortingBounds__12CScriptActorCFRC12CTransform4f
GetSortingBounds__12CScriptActorCFRC12CTransform4f:
/* 80074F60 00071EC0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80074F64 00071EC4 7C 08 02 A6 */ mflr r0
/* 80074F68 00071EC8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80074F6C 00071ECC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80074F70 00071ED0 7C BF 2B 78 */ mr r31, r5
/* 80074F74 00071ED4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80074F78 00071ED8 7C 9E 23 78 */ mr r30, r4
/* 80074F7C 00071EDC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80074F80 00071EE0 7C 7D 1B 78 */ mr r29, r3
/* 80074F84 00071EE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80074F88 00071EE8 A0 84 02 E0 */ lhz r4, 0x2e0(r4)
/* 80074F8C 00071EEC 7C 04 00 40 */ cmplw r4, r0
/* 80074F90 00071EF0 41 82 00 28 */ beq lbl_80074FB8
/* 80074F94 00071EF4 B0 81 00 08 */ sth r4, 8(r1)
/* 80074F98 00071EF8 7F E3 FB 78 */ mr r3, r31
/* 80074F9C 00071EFC 38 81 00 08 */ addi r4, r1, 8
/* 80074FA0 00071F00 4B FD 76 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80074FA4 00071F04 7C 64 1B 79 */ or. r4, r3, r3
/* 80074FA8 00071F08 41 82 00 10 */ beq lbl_80074FB8
/* 80074FAC 00071F0C 7F A3 EB 78 */ mr r3, r29
/* 80074FB0 00071F10 48 00 17 1D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv
/* 80074FB4 00071F14 48 00 00 14 */ b lbl_80074FC8
lbl_80074FB8:
/* 80074FB8 00071F18 7F A3 EB 78 */ mr r3, r29
/* 80074FBC 00071F1C 7F C4 F3 78 */ mr r4, r30
/* 80074FC0 00071F20 7F E5 FB 78 */ mr r5, r31
/* 80074FC4 00071F24 4B FD E6 1D */ bl GetSortingBounds__6CActorCFRC12CTransform4f
lbl_80074FC8:
/* 80074FC8 00071F28 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80074FCC 00071F2C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80074FD0 00071F30 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80074FD4 00071F34 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80074FD8 00071F38 7C 08 03 A6 */ mtlr r0
/* 80074FDC 00071F3C 38 21 00 20 */ addi r1, r1, 0x20
/* 80074FE0 00071F40 4E 80 00 20 */ blr
.global GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
GetCollisionResponseType__12CScriptActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei:
/* 80074FE4 00071F44 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80074FE8 00071F48 7C 08 02 A6 */ mflr r0
/* 80074FEC 00071F4C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80074FF0 00071F50 BF 41 00 08 */ stmw r26, 8(r1)
/* 80074FF4 00071F54 7C 7A 1B 78 */ mr r26, r3
/* 80074FF8 00071F58 7C 9B 23 78 */ mr r27, r4
/* 80074FFC 00071F5C 7C BC 2B 78 */ mr r28, r5
/* 80075000 00071F60 7C DD 33 78 */ mr r29, r6
/* 80075004 00071F64 7C FE 3B 78 */ mr r30, r7
/* 80075008 00071F68 81 83 00 00 */ lwz r12, 0(r3)
/* 8007500C 00071F6C 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 80075010 00071F70 7D 89 03 A6 */ mtctr r12
/* 80075014 00071F74 4E 80 04 21 */ bctrl
/* 80075018 00071F78 7F A4 EB 78 */ mr r4, r29
/* 8007501C 00071F7C 7C 7F 1B 78 */ mr r31, r3
/* 80075020 00071F80 38 A0 00 00 */ li r5, 0
/* 80075024 00071F84 48 08 D4 99 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode
/* 80075028 00071F88 2C 03 00 02 */ cmpwi r3, 2
/* 8007502C 00071F8C 40 82 00 2C */ bne lbl_80075058
/* 80075030 00071F90 7F E3 FB 78 */ mr r3, r31
/* 80075034 00071F94 7F A4 EB 78 */ mr r4, r29
/* 80075038 00071F98 48 08 D4 59 */ bl GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode
/* 8007503C 00071F9C 2C 03 00 04 */ cmpwi r3, 4
/* 80075040 00071FA0 40 80 00 18 */ bge lbl_80075058
/* 80075044 00071FA4 2C 03 00 01 */ cmpwi r3, 1
/* 80075048 00071FA8 40 80 00 08 */ bge lbl_80075050
/* 8007504C 00071FAC 48 00 00 0C */ b lbl_80075058
lbl_80075050:
/* 80075050 00071FB0 38 60 00 0F */ li r3, 0xf
/* 80075054 00071FB4 48 00 00 1C */ b lbl_80075070
lbl_80075058:
/* 80075058 00071FB8 7F 43 D3 78 */ mr r3, r26
/* 8007505C 00071FBC 7F 64 DB 78 */ mr r4, r27
/* 80075060 00071FC0 7F 85 E3 78 */ mr r5, r28
/* 80075064 00071FC4 7F A6 EB 78 */ mr r6, r29
/* 80075068 00071FC8 7F C7 F3 78 */ mr r7, r30
/* 8007506C 00071FCC 4B FD EC 75 */ bl GetCollisionResponseType__6CActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei
lbl_80075070:
/* 80075070 00071FD0 BB 41 00 08 */ lmw r26, 8(r1)
/* 80075074 00071FD4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80075078 00071FD8 7C 08 03 A6 */ mtlr r0
/* 8007507C 00071FDC 38 21 00 20 */ addi r1, r1, 0x20
/* 80075080 00071FE0 4E 80 00 20 */ blr
.global Accept__12CScriptActorFR8IVisitor
Accept__12CScriptActorFR8IVisitor:
/* 80075084 00071FE4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80075088 00071FE8 7C 08 02 A6 */ mflr r0
/* 8007508C 00071FEC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80075090 00071FF0 7C 60 1B 78 */ mr r0, r3
/* 80075094 00071FF4 7C 83 23 78 */ mr r3, r4
/* 80075098 00071FF8 81 84 00 00 */ lwz r12, 0(r4)
/* 8007509C 00071FFC 7C 04 03 78 */ mr r4, r0
/* 800750A0 00072000 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 800750A4 00072004 7D 89 03 A6 */ mtctr r12
/* 800750A8 00072008 4E 80 04 21 */ bctrl
/* 800750AC 0007200C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800750B0 00072010 7C 08 03 A6 */ mtlr r0
/* 800750B4 00072014 38 21 00 10 */ addi r1, r1, 0x10
/* 800750B8 00072018 4E 80 00 20 */ blr
.global PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes
PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes:
/* 800750BC 0007201C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800750C0 00072020 7C 08 02 A6 */ mflr r0
/* 800750C4 00072024 90 01 00 44 */ stw r0, 0x44(r1)
/* 800750C8 00072028 BF 41 00 28 */ stmw r26, 0x28(r1)
/* 800750CC 0007202C 7C 7C 1B 78 */ mr r28, r3
/* 800750D0 00072030 7C 9D 23 78 */ mr r29, r4
/* 800750D4 00072034 4B FD FC 0D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
/* 800750D8 00072038 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 800750DC 0007203C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 800750E0 00072040 41 82 00 38 */ beq lbl_80075118
/* 800750E4 00072044 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 800750E8 00072048 7F A4 EB 78 */ mr r4, r29
/* 800750EC 0007204C 4B F9 6A 2D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 800750F0 00072050 7C 64 1B 78 */ mr r4, r3
/* 800750F4 00072054 38 61 00 0C */ addi r3, r1, 0xc
/* 800750F8 00072058 48 03 A6 39 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity"
/* 800750FC 0007205C 80 03 00 04 */ lwz r0, 4(r3)
/* 80075100 00072060 28 00 00 00 */ cmplwi r0, 0
/* 80075104 00072064 41 82 00 14 */ beq lbl_80075118
/* 80075108 00072068 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8007510C 0007206C 38 60 00 00 */ li r3, 0
/* 80075110 00072070 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 80075114 00072074 98 1C 00 E4 */ stb r0, 0xe4(r28)
lbl_80075118:
/* 80075118 00072078 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8007511C 0007207C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 80075120 00072080 40 82 01 A8 */ bne lbl_800752C8
/* 80075124 00072084 88 7C 02 E2 */ lbz r3, 0x2e2(r28)
/* 80075128 00072088 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f
/* 8007512C 0007208C 41 82 01 9C */ beq lbl_800752C8
/* 80075130 00072090 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
/* 80075134 00072094 41 82 01 30 */ beq lbl_80075264
/* 80075138 00072098 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2)
/* 8007513C 0007209C 38 A0 00 05 */ li r5, 5
/* 80075140 000720A0 C0 9C 02 DC */ lfs f4, 0x2dc(r28)
/* 80075144 000720A4 38 80 00 00 */ li r4, 0
/* 80075148 000720A8 38 00 00 03 */ li r0, 3
/* 8007514C 000720AC FC 40 08 90 */ fmr f2, f1
/* 80075150 000720B0 FC 60 08 90 */ fmr f3, f1
/* 80075154 000720B4 98 A1 00 1C */ stb r5, 0x1c(r1)
/* 80075158 000720B8 38 61 00 20 */ addi r3, r1, 0x20
/* 8007515C 000720BC 98 81 00 1D */ stb r4, 0x1d(r1)
/* 80075160 000720C0 B0 01 00 1E */ sth r0, 0x1e(r1)
/* 80075164 000720C4 48 2E E2 89 */ bl __ct__6CColorFffff
/* 80075168 000720C8 80 7D 08 B8 */ lwz r3, 0x8b8(r29)
/* 8007516C 000720CC 7F A4 EB 78 */ mr r4, r29
/* 80075170 000720D0 8B 61 00 1C */ lbz r27, 0x1c(r1)
/* 80075174 000720D4 8B 41 00 1D */ lbz r26, 0x1d(r1)
/* 80075178 000720D8 A3 E1 00 1E */ lhz r31, 0x1e(r1)
/* 8007517C 000720DC 83 C1 00 20 */ lwz r30, 0x20(r1)
/* 80075180 000720E0 80 63 00 00 */ lwz r3, 0(r3)
/* 80075184 000720E4 48 01 C3 D5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 80075188 000720E8 2C 03 00 01 */ cmpwi r3, 1
/* 8007518C 000720EC 40 82 00 28 */ bne lbl_800751B4
/* 80075190 000720F0 9B 7C 00 B4 */ stb r27, 0xb4(r28)
/* 80075194 000720F4 38 60 00 01 */ li r3, 1
/* 80075198 000720F8 9B 5C 00 B5 */ stb r26, 0xb5(r28)
/* 8007519C 000720FC B3 FC 00 B6 */ sth r31, 0xb6(r28)
/* 800751A0 00072100 93 DC 00 B8 */ stw r30, 0xb8(r28)
/* 800751A4 00072104 88 1C 02 E2 */ lbz r0, 0x2e2(r28)
/* 800751A8 00072108 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800751AC 0007210C 98 1C 02 E2 */ stb r0, 0x2e2(r28)
/* 800751B0 00072110 48 00 00 B4 */ b lbl_80075264
lbl_800751B4:
/* 800751B4 00072114 88 7C 02 E2 */ lbz r3, 0x2e2(r28)
/* 800751B8 00072118 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 800751BC 0007211C 41 82 00 A8 */ beq lbl_80075264
/* 800751C0 00072120 38 80 00 00 */ li r4, 0
/* 800751C4 00072124 7F 60 07 74 */ extsb r0, r27
/* 800751C8 00072128 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c
/* 800751CC 0007212C 98 7C 02 E2 */ stb r3, 0x2e2(r28)
/* 800751D0 00072130 88 7C 00 B4 */ lbz r3, 0xb4(r28)
/* 800751D4 00072134 7C 63 07 74 */ extsb r3, r3
/* 800751D8 00072138 7C 03 00 00 */ cmpw r3, r0
/* 800751DC 0007213C 40 82 00 34 */ bne lbl_80075210
/* 800751E0 00072140 88 7C 00 B5 */ lbz r3, 0xb5(r28)
/* 800751E4 00072144 7F 40 07 74 */ extsb r0, r26
/* 800751E8 00072148 7C 63 07 74 */ extsb r3, r3
/* 800751EC 0007214C 7C 03 00 00 */ cmpw r3, r0
/* 800751F0 00072150 40 82 00 20 */ bne lbl_80075210
/* 800751F4 00072154 A0 1C 00 B6 */ lhz r0, 0xb6(r28)
/* 800751F8 00072158 7C 00 F8 40 */ cmplw r0, r31
/* 800751FC 0007215C 40 82 00 14 */ bne lbl_80075210
/* 80075200 00072160 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 80075204 00072164 7C 00 F0 40 */ cmplw r0, r30
/* 80075208 00072168 40 82 00 08 */ bne lbl_80075210
/* 8007520C 0007216C 38 80 00 01 */ li r4, 1
lbl_80075210:
/* 80075210 00072170 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80075214 00072174 41 82 00 50 */ beq lbl_80075264
/* 80075218 00072178 C0 22 88 B0 */ lfs f1, lbl_805AA5D0@sda21(r2)
/* 8007521C 0007217C 38 80 00 00 */ li r4, 0
/* 80075220 00072180 38 00 00 03 */ li r0, 3
/* 80075224 00072184 98 81 00 14 */ stb r4, 0x14(r1)
/* 80075228 00072188 FC 40 08 90 */ fmr f2, f1
/* 8007522C 0007218C 38 61 00 18 */ addi r3, r1, 0x18
/* 80075230 00072190 FC 60 08 90 */ fmr f3, f1
/* 80075234 00072194 98 81 00 15 */ stb r4, 0x15(r1)
/* 80075238 00072198 FC 80 08 90 */ fmr f4, f1
/* 8007523C 0007219C B0 01 00 16 */ sth r0, 0x16(r1)
/* 80075240 000721A0 48 2E E1 AD */ bl __ct__6CColorFffff
/* 80075244 000721A4 88 01 00 14 */ lbz r0, 0x14(r1)
/* 80075248 000721A8 98 1C 00 B4 */ stb r0, 0xb4(r28)
/* 8007524C 000721AC 88 01 00 15 */ lbz r0, 0x15(r1)
/* 80075250 000721B0 98 1C 00 B5 */ stb r0, 0xb5(r28)
/* 80075254 000721B4 A0 01 00 16 */ lhz r0, 0x16(r1)
/* 80075258 000721B8 B0 1C 00 B6 */ sth r0, 0xb6(r28)
/* 8007525C 000721BC 80 01 00 18 */ lwz r0, 0x18(r1)
/* 80075260 000721C0 90 1C 00 B8 */ stw r0, 0xb8(r28)
lbl_80075264:
/* 80075264 000721C4 88 1C 02 E2 */ lbz r0, 0x2e2(r28)
/* 80075268 000721C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8007526C 000721CC 41 82 00 4C */ beq lbl_800752B8
/* 80075270 000721D0 88 1C 00 E6 */ lbz r0, 0xe6(r28)
/* 80075274 000721D4 54 00 EF BE */ rlwinm r0, r0, 0x1d, 0x1e, 0x1f
/* 80075278 000721D8 2C 00 00 02 */ cmpwi r0, 2
/* 8007527C 000721DC 40 82 00 3C */ bne lbl_800752B8
/* 80075280 000721E0 80 7D 08 B8 */ lwz r3, 0x8b8(r29)
/* 80075284 000721E4 7F A4 EB 78 */ mr r4, r29
/* 80075288 000721E8 80 63 00 00 */ lwz r3, 0(r3)
/* 8007528C 000721EC 48 01 C2 CD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 80075290 000721F0 2C 03 00 03 */ cmpwi r3, 3
/* 80075294 000721F4 40 82 00 14 */ bne lbl_800752A8
/* 80075298 000721F8 A0 1C 00 B6 */ lhz r0, 0xb6(r28)
/* 8007529C 000721FC 54 04 04 3A */ rlwinm r4, r0, 0, 0x10, 0x1d
/* 800752A0 00072200 B0 9C 00 B6 */ sth r4, 0xb6(r28)
/* 800752A4 00072204 48 00 00 14 */ b lbl_800752B8
lbl_800752A8:
/* 800752A8 00072208 A0 1C 00 B6 */ lhz r0, 0xb6(r28)
/* 800752AC 0007220C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d
/* 800752B0 00072210 60 63 00 03 */ ori r3, r3, 3
/* 800752B4 00072214 B0 7C 00 B6 */ sth r3, 0xb6(r28)
lbl_800752B8:
/* 800752B8 00072218 80 BC 02 D8 */ lwz r5, 0x2d8(r28)
/* 800752BC 0007221C 2C 05 00 00 */ cmpwi r5, 0
/* 800752C0 00072220 41 82 00 08 */ beq lbl_800752C8
/* 800752C4 00072224 98 BC 00 B5 */ stb r5, 0xb5(r28)
lbl_800752C8:
/* 800752C8 00072228 A0 1C 02 E0 */ lhz r0, 0x2e0(r28)
/* 800752CC 0007222C 7F A3 EB 78 */ mr r3, r29
/* 800752D0 00072230 38 81 00 08 */ addi r4, r1, 8
/* 800752D4 00072234 B0 01 00 08 */ sth r0, 8(r1)
/* 800752D8 00072238 4B FD 72 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800752DC 0007223C 28 03 00 00 */ cmplwi r3, 0
/* 800752E0 00072240 40 82 00 0C */ bne lbl_800752EC
/* 800752E4 00072244 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 800752E8 00072248 B0 1C 02 E0 */ sth r0, 0x2e0(r28)
lbl_800752EC:
/* 800752EC 0007224C BB 41 00 28 */ lmw r26, 0x28(r1)
/* 800752F0 00072250 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800752F4 00072254 7C 08 03 A6 */ mtlr r0
/* 800752F8 00072258 38 21 00 40 */ addi r1, r1, 0x40
/* 800752FC 0007225C 4E 80 00 20 */ blr
.global AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80075300 00072260 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80075304 00072264 7C 08 02 A6 */ mflr r0
/* 80075308 00072268 90 01 00 84 */ stw r0, 0x84(r1)
/* 8007530C 0007226C BE E1 00 5C */ stmw r23, 0x5c(r1)
/* 80075310 00072270 7C 9C 23 78 */ mr r28, r4
/* 80075314 00072274 2C 1C 00 0A */ cmpwi r28, 0xa
/* 80075318 00072278 7C 7B 1B 78 */ mr r27, r3
/* 8007531C 0007227C 7C BD 2B 78 */ mr r29, r5
/* 80075320 00072280 7C DE 33 78 */ mr r30, r6
/* 80075324 00072284 41 82 01 24 */ beq lbl_80075448
/* 80075328 00072288 40 80 00 28 */ bge lbl_80075350
/* 8007532C 0007228C 2C 1C 00 06 */ cmpwi r28, 6
/* 80075330 00072290 41 82 01 AC */ beq lbl_800754DC
/* 80075334 00072294 40 80 00 10 */ bge lbl_80075344
/* 80075338 00072298 2C 1C 00 05 */ cmpwi r28, 5
/* 8007533C 0007229C 40 80 01 80 */ bge lbl_800754BC
/* 80075340 000722A0 48 00 01 9C */ b lbl_800754DC
lbl_80075344:
/* 80075344 000722A4 2C 1C 00 08 */ cmpwi r28, 8
/* 80075348 000722A8 40 80 01 94 */ bge lbl_800754DC
/* 8007534C 000722AC 48 00 01 20 */ b lbl_8007546C
lbl_80075350:
/* 80075350 000722B0 2C 1C 00 23 */ cmpwi r28, 0x23
/* 80075354 000722B4 41 82 00 08 */ beq lbl_8007535C
/* 80075358 000722B8 48 00 01 84 */ b lbl_800754DC
lbl_8007535C:
/* 8007535C 000722BC 83 FB 00 2C */ lwz r31, 0x2c(r27)
/* 80075360 000722C0 48 00 00 B0 */ b lbl_80075410
lbl_80075364:
/* 80075364 000722C4 80 1F 00 00 */ lwz r0, 0(r31)
/* 80075368 000722C8 2C 00 00 20 */ cmpwi r0, 0x20
/* 8007536C 000722CC 40 82 00 A0 */ bne lbl_8007540C
/* 80075370 000722D0 80 1F 00 04 */ lwz r0, 4(r31)
/* 80075374 000722D4 2C 00 00 01 */ cmpwi r0, 1
/* 80075378 000722D8 40 82 00 94 */ bne lbl_8007540C
/* 8007537C 000722DC 80 1F 00 08 */ lwz r0, 8(r31)
/* 80075380 000722E0 7F C4 F3 78 */ mr r4, r30
/* 80075384 000722E4 38 61 00 3C */ addi r3, r1, 0x3c
/* 80075388 000722E8 38 A1 00 30 */ addi r5, r1, 0x30
/* 8007538C 000722EC 90 01 00 30 */ stw r0, 0x30(r1)
/* 80075390 000722F0 4B FD 2C 39 */ bl GetIdListForScript__13CStateManagerCF9TEditorId
/* 80075394 000722F4 83 41 00 40 */ lwz r26, 0x40(r1)
/* 80075398 000722F8 83 21 00 44 */ lwz r25, 0x44(r1)
/* 8007539C 000722FC 83 01 00 48 */ lwz r24, 0x48(r1)
/* 800753A0 00072300 82 E1 00 3C */ lwz r23, 0x3c(r1)
/* 800753A4 00072304 48 00 00 48 */ b lbl_800753EC
lbl_800753A8:
/* 800753A8 00072308 A0 17 00 14 */ lhz r0, 0x14(r23)
/* 800753AC 0007230C 7F C3 F3 78 */ mr r3, r30
/* 800753B0 00072310 38 81 00 2C */ addi r4, r1, 0x2c
/* 800753B4 00072314 B0 01 00 2C */ sth r0, 0x2c(r1)
/* 800753B8 00072318 4B FD 71 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800753BC 0007231C 7C 64 1B 78 */ mr r4, r3
/* 800753C0 00072320 38 61 00 34 */ addi r3, r1, 0x34
/* 800753C4 00072324 48 03 1B 25 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity"
/* 800753C8 00072328 80 03 00 04 */ lwz r0, 4(r3)
/* 800753CC 0007232C 28 00 00 00 */ cmplwi r0, 0
/* 800753D0 00072330 41 82 00 0C */ beq lbl_800753DC
/* 800753D4 00072334 A0 17 00 14 */ lhz r0, 0x14(r23)
/* 800753D8 00072338 B0 1B 02 E0 */ sth r0, 0x2e0(r27)
lbl_800753DC:
/* 800753DC 0007233C 7F 43 D3 78 */ mr r3, r26
/* 800753E0 00072340 7E E4 BB 78 */ mr r4, r23
/* 800753E4 00072344 48 2C 71 FD */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 800753E8 00072348 7C 77 1B 78 */ mr r23, r3
lbl_800753EC:
/* 800753EC 0007234C 7C 17 C8 40 */ cmplw r23, r25
/* 800753F0 00072350 38 00 00 00 */ li r0, 0
/* 800753F4 00072354 40 82 00 0C */ bne lbl_80075400
/* 800753F8 00072358 7C 1A C0 40 */ cmplw r26, r24
/* 800753FC 0007235C 41 82 00 08 */ beq lbl_80075404
lbl_80075400:
/* 80075400 00072360 38 00 00 01 */ li r0, 1
lbl_80075404:
/* 80075404 00072364 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80075408 00072368 40 82 FF A0 */ bne lbl_800753A8
lbl_8007540C:
/* 8007540C 0007236C 3B FF 00 0C */ addi r31, r31, 0xc
lbl_80075410:
/* 80075410 00072370 80 1B 00 24 */ lwz r0, 0x24(r27)
/* 80075414 00072374 80 7B 00 2C */ lwz r3, 0x2c(r27)
/* 80075418 00072378 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8007541C 0007237C 7C 03 02 14 */ add r0, r3, r0
/* 80075420 00072380 7C 1F 00 40 */ cmplw r31, r0
/* 80075424 00072384 40 82 FF 40 */ bne lbl_80075364
/* 80075428 00072388 88 1B 02 E2 */ lbz r0, 0x2e2(r27)
/* 8007542C 0007238C 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 80075430 00072390 41 82 00 AC */ beq lbl_800754DC
/* 80075434 00072394 7F 63 DB 78 */ mr r3, r27
/* 80075438 00072398 7F C5 F3 78 */ mr r5, r30
/* 8007543C 0007239C 38 80 00 36 */ li r4, 0x36
/* 80075440 000723A0 4B FD EF 11 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager
/* 80075444 000723A4 48 00 00 98 */ b lbl_800754DC
lbl_80075448:
/* 80075448 000723A8 88 1B 02 E2 */ lbz r0, 0x2e2(r27)
/* 8007544C 000723AC 38 60 00 00 */ li r3, 0
/* 80075450 000723B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80075454 000723B4 98 1B 02 E2 */ stb r0, 0x2e2(r27)
/* 80075458 000723B8 C0 1B 02 58 */ lfs f0, 0x258(r27)
/* 8007545C 000723BC D0 1B 02 60 */ stfs f0, 0x260(r27)
/* 80075460 000723C0 C0 1B 02 5C */ lfs f0, 0x25c(r27)
/* 80075464 000723C4 D0 1B 02 64 */ stfs f0, 0x264(r27)
/* 80075468 000723C8 48 00 00 74 */ b lbl_800754DC
lbl_8007546C:
/* 8007546C 000723CC 88 1B 00 30 */ lbz r0, 0x30(r27)
/* 80075470 000723D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80075474 000723D4 40 82 00 68 */ bne lbl_800754DC
/* 80075478 000723D8 A0 1B 00 08 */ lhz r0, 8(r27)
/* 8007547C 000723DC 7F C3 F3 78 */ mr r3, r30
/* 80075480 000723E0 7F 64 DB 78 */ mr r4, r27
/* 80075484 000723E4 38 A1 00 28 */ addi r5, r1, 0x28
/* 80075488 000723E8 B0 01 00 24 */ sth r0, 0x24(r1)
/* 8007548C 000723EC 38 C0 00 01 */ li r6, 1
/* 80075490 000723F0 B0 01 00 28 */ sth r0, 0x28(r1)
/* 80075494 000723F4 4B FC EA 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
/* 80075498 000723F8 A0 1B 00 08 */ lhz r0, 8(r27)
/* 8007549C 000723FC 7F C4 F3 78 */ mr r4, r30
/* 800754A0 00072400 38 61 00 20 */ addi r3, r1, 0x20
/* 800754A4 00072404 38 A1 00 1C */ addi r5, r1, 0x1c
/* 800754A8 00072408 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 800754AC 0007240C B0 01 00 18 */ sth r0, 0x18(r1)
/* 800754B0 00072410 C0 3B 02 D0 */ lfs f1, 0x2d0(r27)
/* 800754B4 00072414 48 18 C4 F5 */ bl FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf
/* 800754B8 00072418 48 00 00 24 */ b lbl_800754DC
lbl_800754BC:
/* 800754BC 0007241C A0 1B 00 08 */ lhz r0, 8(r27)
/* 800754C0 00072420 7F C4 F3 78 */ mr r4, r30
/* 800754C4 00072424 38 61 00 14 */ addi r3, r1, 0x14
/* 800754C8 00072428 38 A1 00 10 */ addi r5, r1, 0x10
/* 800754CC 0007242C B0 01 00 10 */ sth r0, 0x10(r1)
/* 800754D0 00072430 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800754D4 00072434 C0 3B 02 D4 */ lfs f1, 0x2d4(r27)
/* 800754D8 00072438 48 18 C2 A1 */ bl FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf
lbl_800754DC:
/* 800754DC 0007243C A0 1D 00 00 */ lhz r0, 0(r29)
/* 800754E0 00072440 7F 63 DB 78 */ mr r3, r27
/* 800754E4 00072444 7F 84 E3 78 */ mr r4, r28
/* 800754E8 00072448 7F C6 F3 78 */ mr r6, r30
/* 800754EC 0007244C B0 01 00 08 */ sth r0, 8(r1)
/* 800754F0 00072450 38 A1 00 08 */ addi r5, r1, 8
/* 800754F4 00072454 4B FD E1 21 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800754F8 00072458 BA E1 00 5C */ lmw r23, 0x5c(r1)
/* 800754FC 0007245C 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80075500 00072460 7C 08 03 A6 */ mtlr r0
/* 80075504 00072464 38 21 00 80 */ addi r1, r1, 0x80
/* 80075508 00072468 4E 80 00 20 */ blr
.global Think__12CScriptActorFfR13CStateManager
Think__12CScriptActorFfR13CStateManager:
/* 8007550C 0007246C 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80075510 00072470 7C 08 02 A6 */ mflr r0
/* 80075514 00072474 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80075518 00072478 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 8007551C 0007247C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80075520 00072480 BF 61 00 7C */ stmw r27, 0x7c(r1)
/* 80075524 00072484 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80075528 00072488 FF E0 08 90 */ fmr f31, f1
/* 8007552C 0007248C 7C 7E 1B 78 */ mr r30, r3
/* 80075530 00072490 7C 9F 23 78 */ mr r31, r4
/* 80075534 00072494 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80075538 00072498 41 82 02 34 */ beq lbl_8007576C
/* 8007553C 0007249C 80 9E 00 64 */ lwz r4, 0x64(r30)
/* 80075540 000724A0 38 60 00 00 */ li r3, 0
/* 80075544 000724A4 28 04 00 00 */ cmplwi r4, 0
/* 80075548 000724A8 41 82 00 14 */ beq lbl_8007555C
/* 8007554C 000724AC 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80075550 000724B0 28 00 00 00 */ cmplwi r0, 0
/* 80075554 000724B4 41 82 00 08 */ beq lbl_8007555C
/* 80075558 000724B8 38 60 00 01 */ li r3, 1
lbl_8007555C:
/* 8007555C 000724BC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80075560 000724C0 41 82 01 B0 */ beq lbl_80075710
/* 80075564 000724C4 3C 80 80 3D */ lis r4, lbl_803CD5E8@ha
/* 80075568 000724C8 38 61 00 20 */ addi r3, r1, 0x20
/* 8007556C 000724CC 38 84 D5 E8 */ addi r4, r4, lbl_803CD5E8@l
/* 80075570 000724D0 4B F8 F7 49 */ bl string_l__4rstlFPCc
/* 80075574 000724D4 C0 02 88 B4 */ lfs f0, lbl_805AA5D4@sda21(r2)
/* 80075578 000724D8 38 81 00 20 */ addi r4, r1, 0x20
/* 8007557C 000724DC 80 7E 00 64 */ lwz r3, 0x64(r30)
/* 80075580 000724E0 EC 3F 00 28 */ fsubs f1, f31, f0
/* 80075584 000724E4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80075588 000724E8 4B FB 6E 65 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8007558C 000724EC 7C 7C 1B 78 */ mr r28, r3
/* 80075590 000724F0 38 61 00 20 */ addi r3, r1, 0x20
/* 80075594 000724F4 48 2C 85 4D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80075598 000724F8 80 7E 00 64 */ lwz r3, 0x64(r30)
/* 8007559C 000724FC 48 09 FF 71 */ bl GetIsLoop__10CModelDataCFv
/* 800755A0 00072500 FC 20 F8 90 */ fmr f1, f31
/* 800755A4 00072504 7C 7D 1B 78 */ mr r29, r3
/* 800755A8 00072508 7F C4 F3 78 */ mr r4, r30
/* 800755AC 0007250C 7F E5 FB 78 */ mr r5, r31
/* 800755B0 00072510 38 61 00 3C */ addi r3, r1, 0x3c
/* 800755B4 00072514 38 C0 00 01 */ li r6, 1
/* 800755B8 00072518 4B FD FC E5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb
/* 800755BC 0007251C C0 C1 00 3C */ lfs f6, 0x3c(r1)
/* 800755C0 00072520 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 800755C4 00072524 C0 A1 00 40 */ lfs f5, 0x40(r1)
/* 800755C8 00072528 3B 61 00 64 */ addi r27, r1, 0x64
/* 800755CC 0007252C C0 81 00 44 */ lfs f4, 0x44(r1)
/* 800755D0 00072530 C0 61 00 48 */ lfs f3, 0x48(r1)
/* 800755D4 00072534 C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 800755D8 00072538 C0 21 00 50 */ lfs f1, 0x50(r1)
/* 800755DC 0007253C C0 01 00 54 */ lfs f0, 0x54(r1)
/* 800755E0 00072540 D0 C1 00 58 */ stfs f6, 0x58(r1)
/* 800755E4 00072544 D0 A1 00 5C */ stfs f5, 0x5c(r1)
/* 800755E8 00072548 D0 81 00 60 */ stfs f4, 0x60(r1)
/* 800755EC 0007254C D0 61 00 64 */ stfs f3, 0x64(r1)
/* 800755F0 00072550 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 800755F4 00072554 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 800755F8 00072558 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 800755FC 0007255C 40 82 00 0C */ bne lbl_80075608
/* 80075600 00072560 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80075604 00072564 41 82 00 CC */ beq lbl_800756D0
lbl_80075608:
/* 80075608 00072568 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 8007560C 0007256C 38 60 00 01 */ li r3, 1
/* 80075610 00072570 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80075614 00072574 98 1E 02 E2 */ stb r0, 0x2e2(r30)
/* 80075618 00072578 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 8007561C 0007257C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 80075620 00072580 41 82 00 90 */ beq lbl_800756B0
/* 80075624 00072584 38 61 00 14 */ addi r3, r1, 0x14
/* 80075628 00072588 38 9E 00 34 */ addi r4, r30, 0x34
/* 8007562C 0007258C 38 A1 00 58 */ addi r5, r1, 0x58
/* 80075630 00072590 48 29 D3 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80075634 00072594 C0 A1 00 14 */ lfs f5, 0x14(r1)
/* 80075638 00072598 38 61 00 08 */ addi r3, r1, 8
/* 8007563C 0007259C C0 81 00 18 */ lfs f4, 0x18(r1)
/* 80075640 000725A0 38 9E 00 34 */ addi r4, r30, 0x34
/* 80075644 000725A4 C0 61 00 1C */ lfs f3, 0x1c(r1)
/* 80075648 000725A8 38 A1 00 30 */ addi r5, r1, 0x30
/* 8007564C 000725AC D0 A1 00 30 */ stfs f5, 0x30(r1)
/* 80075650 000725B0 D0 81 00 34 */ stfs f4, 0x34(r1)
/* 80075654 000725B4 D0 61 00 38 */ stfs f3, 0x38(r1)
/* 80075658 000725B8 80 DE 00 64 */ lwz r6, 0x64(r30)
/* 8007565C 000725BC C0 46 00 08 */ lfs f2, 8(r6)
/* 80075660 000725C0 C0 26 00 04 */ lfs f1, 4(r6)
/* 80075664 000725C4 C0 06 00 00 */ lfs f0, 0(r6)
/* 80075668 000725C8 EC 42 00 F2 */ fmuls f2, f2, f3
/* 8007566C 000725CC EC 21 01 32 */ fmuls f1, f1, f4
/* 80075670 000725D0 EC 00 01 72 */ fmuls f0, f0, f5
/* 80075674 000725D4 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 80075678 000725D8 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 8007567C 000725DC D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80075680 000725E0 48 29 D4 01 */ bl Rotate__12CTransform4fCFRC9CVector3f
/* 80075684 000725E4 C0 61 00 08 */ lfs f3, 8(r1)
/* 80075688 000725E8 FC 20 F8 90 */ fmr f1, f31
/* 8007568C 000725EC C0 41 00 0C */ lfs f2, 0xc(r1)
/* 80075690 000725F0 7F C3 F3 78 */ mr r3, r30
/* 80075694 000725F4 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80075698 000725F8 38 81 00 30 */ addi r4, r1, 0x30
/* 8007569C 000725FC D0 61 00 30 */ stfs f3, 0x30(r1)
/* 800756A0 00072600 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 800756A4 00072604 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 800756A8 00072608 48 0A 57 D1 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff
/* 800756AC 0007260C 48 00 00 14 */ b lbl_800756C0
lbl_800756B0:
/* 800756B0 00072610 FC 20 F8 90 */ fmr f1, f31
/* 800756B4 00072614 7F C3 F3 78 */ mr r3, r30
/* 800756B8 00072618 38 81 00 58 */ addi r4, r1, 0x58
/* 800756BC 0007261C 48 0A 57 BD */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff
lbl_800756C0:
/* 800756C0 00072620 FC 20 F8 90 */ fmr f1, f31
/* 800756C4 00072624 7F C3 F3 78 */ mr r3, r30
/* 800756C8 00072628 7F 64 DB 78 */ mr r4, r27
/* 800756CC 0007262C 48 0A 57 49 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf
lbl_800756D0:
/* 800756D0 00072630 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 800756D4 00072634 40 82 00 3C */ bne lbl_80075710
/* 800756D8 00072638 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 800756DC 0007263C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 800756E0 00072640 41 82 00 30 */ beq lbl_80075710
/* 800756E4 00072644 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 800756E8 00072648 40 82 00 28 */ bne lbl_80075710
/* 800756EC 0007264C 7F C3 F3 78 */ mr r3, r30
/* 800756F0 00072650 7F E5 FB 78 */ mr r5, r31
/* 800756F4 00072654 38 80 00 07 */ li r4, 7
/* 800756F8 00072658 38 C0 FF FF */ li r6, -1
/* 800756FC 0007265C 4B FD B9 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 80075700 00072660 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 80075704 00072664 38 60 00 00 */ li r3, 0
/* 80075708 00072668 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8007570C 0007266C 98 1E 02 E2 */ stb r0, 0x2e2(r30)
lbl_80075710:
/* 80075710 00072670 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 80075714 00072674 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80075718 00072678 40 82 00 54 */ bne lbl_8007576C
/* 8007571C 0007267C 7F C3 F3 78 */ mr r3, r30
/* 80075720 00072680 7F E4 FB 78 */ mr r4, r31
/* 80075724 00072684 81 9E 00 00 */ lwz r12, 0(r30)
/* 80075728 00072688 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8007572C 0007268C 7D 89 03 A6 */ mtctr r12
/* 80075730 00072690 4E 80 04 21 */ bctrl
/* 80075734 00072694 C0 23 00 00 */ lfs f1, 0(r3)
/* 80075738 00072698 C0 02 88 B8 */ lfs f0, lbl_805AA5D8@sda21(r2)
/* 8007573C 0007269C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80075740 000726A0 4C 40 13 82 */ cror 2, 0, 2
/* 80075744 000726A4 40 82 00 28 */ bne lbl_8007576C
/* 80075748 000726A8 88 1E 02 E2 */ lbz r0, 0x2e2(r30)
/* 8007574C 000726AC 38 60 00 01 */ li r3, 1
/* 80075750 000726B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80075754 000726B4 7F C3 F3 78 */ mr r3, r30
/* 80075758 000726B8 98 1E 02 E2 */ stb r0, 0x2e2(r30)
/* 8007575C 000726BC 7F E5 FB 78 */ mr r5, r31
/* 80075760 000726C0 38 80 00 0E */ li r4, 0xe
/* 80075764 000726C4 38 C0 FF FF */ li r6, -1
/* 80075768 000726C8 4B FD B9 59 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_8007576C:
/* 8007576C 000726CC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 80075770 000726D0 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 80075774 000726D4 BB 61 00 7C */ lmw r27, 0x7c(r1)
/* 80075778 000726D8 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8007577C 000726DC 7C 08 03 A6 */ mtlr r0
/* 80075780 000726E0 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80075784 000726E4 4E 80 00 20 */ blr
.global GetTouchBounds__12CScriptActorCFv
GetTouchBounds__12CScriptActorCFv:
/* 80075788 000726E8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8007578C 000726EC 7C 08 02 A6 */ mflr r0
/* 80075790 000726F0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80075794 000726F4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80075798 000726F8 7C 7F 1B 78 */ mr r31, r3
/* 8007579C 000726FC 88 04 00 30 */ lbz r0, 0x30(r4)
/* 800757A0 00072700 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800757A4 00072704 41 82 00 78 */ beq lbl_8007581C
/* 800757A8 00072708 80 04 00 68 */ lwz r0, 0x68(r4)
/* 800757AC 0007270C 38 A0 00 00 */ li r5, 0
/* 800757B0 00072710 80 C4 00 6C */ lwz r6, 0x6c(r4)
/* 800757B4 00072714 3C 60 00 08 */ lis r3, 8
/* 800757B8 00072718 7C 00 28 38 */ and r0, r0, r5
/* 800757BC 0007271C 7C C3 18 38 */ and r3, r6, r3
/* 800757C0 00072720 7C 63 2A 78 */ xor r3, r3, r5
/* 800757C4 00072724 7C 00 2A 78 */ xor r0, r0, r5
/* 800757C8 00072728 7C 60 03 79 */ or. r0, r3, r0
/* 800757CC 0007272C 41 82 00 50 */ beq lbl_8007581C
/* 800757D0 00072730 38 61 00 08 */ addi r3, r1, 8
/* 800757D4 00072734 48 0A 51 59 */ bl GetBoundingBox__13CPhysicsActorCFv
/* 800757D8 00072738 38 00 00 01 */ li r0, 1
/* 800757DC 0007273C 28 1F 00 00 */ cmplwi r31, 0
/* 800757E0 00072740 98 1F 00 18 */ stb r0, 0x18(r31)
/* 800757E4 00072744 41 82 00 40 */ beq lbl_80075824
/* 800757E8 00072748 C0 01 00 08 */ lfs f0, 8(r1)
/* 800757EC 0007274C D0 1F 00 00 */ stfs f0, 0(r31)
/* 800757F0 00072750 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 800757F4 00072754 D0 1F 00 04 */ stfs f0, 4(r31)
/* 800757F8 00072758 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 800757FC 0007275C D0 1F 00 08 */ stfs f0, 8(r31)
/* 80075800 00072760 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80075804 00072764 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80075808 00072768 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8007580C 0007276C D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80075810 00072770 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80075814 00072774 D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 80075818 00072778 48 00 00 0C */ b lbl_80075824
lbl_8007581C:
/* 8007581C 0007277C 38 00 00 00 */ li r0, 0
/* 80075820 00072780 98 1F 00 18 */ stb r0, 0x18(r31)
lbl_80075824:
/* 80075824 00072784 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80075828 00072788 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8007582C 0007278C 7C 08 03 A6 */ mtlr r0
/* 80075830 00072790 38 21 00 30 */ addi r1, r1, 0x30
/* 80075834 00072794 4E 80 00 20 */ blr
.global Touch__12CScriptActorFR6CActorR13CStateManager
Touch__12CScriptActorFR6CActorR13CStateManager:
/* 80075838 00072798 4E 80 00 20 */ blr
.global GetDamageVulnerability__12CScriptActorCFv
GetDamageVulnerability__12CScriptActorCFv:
/* 8007583C 0007279C 38 63 02 68 */ addi r3, r3, 0x268
/* 80075840 000727A0 4E 80 00 20 */ blr
.global GetHealthInfo__12CScriptActorCFRC13CStateManager
GetHealthInfo__12CScriptActorCFRC13CStateManager:
/* 80075844 000727A4 38 63 02 60 */ addi r3, r3, 0x260
/* 80075848 000727A8 4E 80 00 20 */ blr
.global __dt__12CScriptActorFv
__dt__12CScriptActorFv:
/* 8007584C 000727AC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80075850 000727B0 7C 08 02 A6 */ mflr r0
/* 80075854 000727B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80075858 000727B8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8007585C 000727BC 7C 9F 23 78 */ mr r31, r4
/* 80075860 000727C0 93 C1 00 08 */ stw r30, 8(r1)
/* 80075864 000727C4 7C 7E 1B 79 */ or. r30, r3, r3
/* 80075868 000727C8 41 82 00 28 */ beq lbl_80075890
/* 8007586C 000727CC 3C A0 80 3E */ lis r5, lbl_803DA450@ha
/* 80075870 000727D0 38 80 00 00 */ li r4, 0
/* 80075874 000727D4 38 05 A4 50 */ addi r0, r5, lbl_803DA450@l
/* 80075878 000727D8 90 1E 00 00 */ stw r0, 0(r30)
/* 8007587C 000727DC 48 0A 6B 99 */ bl __dt__13CPhysicsActorFv
/* 80075880 000727E0 7F E0 07 35 */ extsh. r0, r31
/* 80075884 000727E4 40 81 00 0C */ ble lbl_80075890
/* 80075888 000727E8 7F C3 F3 78 */ mr r3, r30
/* 8007588C 000727EC 48 2A 00 A5 */ bl Free__7CMemoryFPCv
lbl_80075890:
/* 80075890 000727F0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80075894 000727F4 7F C3 F3 78 */ mr r3, r30
/* 80075898 000727F8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8007589C 000727FC 83 C1 00 08 */ lwz r30, 8(r1)
/* 800758A0 00072800 7C 08 03 A6 */ mtlr r0
/* 800758A4 00072804 38 21 00 10 */ addi r1, r1, 0x10
/* 800758A8 00072808 4E 80 00 20 */ blr
.global "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb"
"__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb":
/* 800758AC 0007280C 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 800758B0 00072810 7C 08 02 A6 */ mflr r0
/* 800758B4 00072814 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 800758B8 00072818 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 800758BC 0007281C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 800758C0 00072820 DB C1 00 B0 */ stfd f30, 0xb0(r1)
/* 800758C4 00072824 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0
/* 800758C8 00072828 DB A1 00 A0 */ stfd f29, 0xa0(r1)
/* 800758CC 0007282C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0
/* 800758D0 00072830 BD C1 00 58 */ stmw r14, 0x58(r1)
/* 800758D4 00072834 FF A0 08 90 */ fmr f29, f1
/* 800758D8 00072838 82 E1 00 D8 */ lwz r23, 0xd8(r1)
/* 800758DC 0007283C FF C0 10 90 */ fmr f30, f2
/* 800758E0 00072840 83 01 00 DC */ lwz r24, 0xdc(r1)
/* 800758E4 00072844 FF E0 18 90 */ fmr f31, f3
/* 800758E8 00072848 83 21 00 E0 */ lwz r25, 0xe0(r1)
/* 800758EC 0007284C 8B 41 00 EB */ lbz r26, 0xeb(r1)
/* 800758F0 00072850 7C 6F 1B 78 */ mr r15, r3
/* 800758F4 00072854 83 61 00 EC */ lwz r27, 0xec(r1)
/* 800758F8 00072858 7C 90 23 78 */ mr r16, r4
/* 800758FC 0007285C 8B 81 00 F3 */ lbz r28, 0xf3(r1)
/* 80075900 00072860 7C B1 2B 78 */ mr r17, r5
/* 80075904 00072864 8B A1 00 F7 */ lbz r29, 0xf7(r1)
/* 80075908 00072868 7C D2 33 78 */ mr r18, r6
/* 8007590C 0007286C 8B C1 00 FB */ lbz r30, 0xfb(r1)
/* 80075910 00072870 7C F3 3B 78 */ mr r19, r7
/* 80075914 00072874 89 C1 00 FF */ lbz r14, 0xff(r1)
/* 80075918 00072878 7D 14 43 78 */ mr r20, r8
/* 8007591C 0007287C 7D 35 4B 78 */ mr r21, r9
/* 80075920 00072880 7D 56 53 78 */ mr r22, r10
/* 80075924 00072884 4B FA 5C 11 */ bl Identity__10CAxisAngleFv
/* 80075928 00072888 7C 7F 1B 78 */ mr r31, r3
/* 8007592C 0007288C 4B FA 5C 09 */ bl Identity__10CAxisAngleFv
/* 80075930 00072890 3C 80 80 5A */ lis r4, skZero3f@ha
/* 80075934 00072894 C4 64 66 A0 */ lfsu f3, skZero3f@l(r4)
/* 80075938 00072898 A1 70 00 00 */ lhz r11, 0(r16)
/* 8007593C 0007289C 38 01 00 1C */ addi r0, r1, 0x1c
/* 80075940 000728A0 C0 84 00 04 */ lfs f4, 4(r4)
/* 80075944 000728A4 7F 45 D3 78 */ mr r5, r26
/* 80075948 000728A8 C0 A4 00 08 */ lfs f5, 8(r4)
/* 8007594C 000728AC 7E 26 8B 78 */ mr r6, r17
/* 80075950 000728B0 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 80075954 000728B4 7E 47 93 78 */ mr r7, r18
/* 80075958 000728B8 C0 22 88 BC */ lfs f1, lbl_805AA5DC@sda21(r2)
/* 8007595C 000728BC 7E 68 9B 78 */ mr r8, r19
/* 80075960 000728C0 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 80075964 000728C4 7E 89 A3 78 */ mr r9, r20
/* 80075968 000728C8 C0 42 88 C0 */ lfs f2, lbl_805AA5E0@sda21(r2)
/* 8007596C 000728CC 7E CA B3 78 */ mr r10, r22
/* 80075970 000728D0 D0 A1 00 24 */ stfs f5, 0x24(r1)
/* 80075974 000728D4 38 81 00 18 */ addi r4, r1, 0x18
/* 80075978 000728D8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8007597C 000728DC D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80075980 000728E0 C0 03 00 04 */ lfs f0, 4(r3)
/* 80075984 000728E4 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80075988 000728E8 C0 03 00 08 */ lfs f0, 8(r3)
/* 8007598C 000728EC 7D E3 7B 78 */ mr r3, r15
/* 80075990 000728F0 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80075994 000728F4 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 80075998 000728F8 D0 81 00 38 */ stfs f4, 0x38(r1)
/* 8007599C 000728FC D0 A1 00 3C */ stfs f5, 0x3c(r1)
/* 800759A0 00072900 C0 1F 00 00 */ lfs f0, 0(r31)
/* 800759A4 00072904 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 800759A8 00072908 C0 1F 00 04 */ lfs f0, 4(r31)
/* 800759AC 0007290C D0 01 00 44 */ stfs f0, 0x44(r1)
/* 800759B0 00072910 C0 1F 00 08 */ lfs f0, 8(r31)
/* 800759B4 00072914 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 800759B8 00072918 D3 A1 00 4C */ stfs f29, 0x4c(r1)
/* 800759BC 0007291C B1 61 00 18 */ sth r11, 0x18(r1)
/* 800759C0 00072920 92 A1 00 08 */ stw r21, 8(r1)
/* 800759C4 00072924 90 01 00 0C */ stw r0, 0xc(r1)
/* 800759C8 00072928 93 21 00 10 */ stw r25, 0x10(r1)
/* 800759CC 0007292C 48 0A 6A E5 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff"
/* 800759D0 00072930 3C 60 80 3E */ lis r3, lbl_803DA450@ha
/* 800759D4 00072934 C0 02 88 B0 */ lfs f0, lbl_805AA5D0@sda21(r2)
/* 800759D8 00072938 38 03 A4 50 */ addi r0, r3, lbl_803DA450@l
/* 800759DC 0007293C 38 80 00 00 */ li r4, 0
/* 800759E0 00072940 90 0F 00 00 */ stw r0, 0(r15)
/* 800759E4 00072944 EC 3F 00 28 */ fsubs f1, f31, f0
/* 800759E8 00072948 C8 02 88 C8 */ lfd f0, lbl_805AA5E8@sda21(r2)
/* 800759EC 0007294C 38 60 00 01 */ li r3, 1
/* 800759F0 00072950 C0 57 00 00 */ lfs f2, 0(r23)
/* 800759F4 00072954 FC 60 0A 10 */ fabs f3, f1
/* 800759F8 00072958 D0 4F 02 58 */ stfs f2, 0x258(r15)
/* 800759FC 0007295C C0 37 00 04 */ lfs f1, 4(r23)
/* 80075A00 00072960 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 80075A04 00072964 D0 2F 02 5C */ stfs f1, 0x25c(r15)
/* 80075A08 00072968 C0 17 00 00 */ lfs f0, 0(r23)
/* 80075A0C 0007296C D0 0F 02 60 */ stfs f0, 0x260(r15)
/* 80075A10 00072970 C0 17 00 04 */ lfs f0, 4(r23)
/* 80075A14 00072974 D0 0F 02 64 */ stfs f0, 0x264(r15)
/* 80075A18 00072978 80 B8 00 00 */ lwz r5, 0(r24)
/* 80075A1C 0007297C 80 18 00 04 */ lwz r0, 4(r24)
/* 80075A20 00072980 90 AF 02 68 */ stw r5, 0x268(r15)
/* 80075A24 00072984 90 0F 02 6C */ stw r0, 0x26c(r15)
/* 80075A28 00072988 80 B8 00 08 */ lwz r5, 8(r24)
/* 80075A2C 0007298C 80 18 00 0C */ lwz r0, 0xc(r24)
/* 80075A30 00072990 90 AF 02 70 */ stw r5, 0x270(r15)
/* 80075A34 00072994 90 0F 02 74 */ stw r0, 0x274(r15)
/* 80075A38 00072998 80 B8 00 10 */ lwz r5, 0x10(r24)
/* 80075A3C 0007299C 80 18 00 14 */ lwz r0, 0x14(r24)
/* 80075A40 000729A0 90 AF 02 78 */ stw r5, 0x278(r15)
/* 80075A44 000729A4 90 0F 02 7C */ stw r0, 0x27c(r15)
/* 80075A48 000729A8 80 B8 00 18 */ lwz r5, 0x18(r24)
/* 80075A4C 000729AC 80 18 00 1C */ lwz r0, 0x1c(r24)
/* 80075A50 000729B0 90 AF 02 80 */ stw r5, 0x280(r15)
/* 80075A54 000729B4 90 0F 02 84 */ stw r0, 0x284(r15)
/* 80075A58 000729B8 80 B8 00 20 */ lwz r5, 0x20(r24)
/* 80075A5C 000729BC 80 18 00 24 */ lwz r0, 0x24(r24)
/* 80075A60 000729C0 90 AF 02 88 */ stw r5, 0x288(r15)
/* 80075A64 000729C4 90 0F 02 8C */ stw r0, 0x28c(r15)
/* 80075A68 000729C8 80 B8 00 28 */ lwz r5, 0x28(r24)
/* 80075A6C 000729CC 80 18 00 2C */ lwz r0, 0x2c(r24)
/* 80075A70 000729D0 90 AF 02 90 */ stw r5, 0x290(r15)
/* 80075A74 000729D4 90 0F 02 94 */ stw r0, 0x294(r15)
/* 80075A78 000729D8 80 B8 00 30 */ lwz r5, 0x30(r24)
/* 80075A7C 000729DC 80 18 00 34 */ lwz r0, 0x34(r24)
/* 80075A80 000729E0 90 AF 02 98 */ stw r5, 0x298(r15)
/* 80075A84 000729E4 90 0F 02 9C */ stw r0, 0x29c(r15)
/* 80075A88 000729E8 80 18 00 38 */ lwz r0, 0x38(r24)
/* 80075A8C 000729EC 90 0F 02 A0 */ stw r0, 0x2a0(r15)
/* 80075A90 000729F0 80 B8 00 3C */ lwz r5, 0x3c(r24)
/* 80075A94 000729F4 80 18 00 40 */ lwz r0, 0x40(r24)
/* 80075A98 000729F8 90 AF 02 A4 */ stw r5, 0x2a4(r15)
/* 80075A9C 000729FC 90 0F 02 A8 */ stw r0, 0x2a8(r15)
/* 80075AA0 00072A00 80 B8 00 44 */ lwz r5, 0x44(r24)
/* 80075AA4 00072A04 80 18 00 48 */ lwz r0, 0x48(r24)
/* 80075AA8 00072A08 90 AF 02 AC */ stw r5, 0x2ac(r15)
/* 80075AAC 00072A0C 90 0F 02 B0 */ stw r0, 0x2b0(r15)
/* 80075AB0 00072A10 80 B8 00 4C */ lwz r5, 0x4c(r24)
/* 80075AB4 00072A14 80 18 00 50 */ lwz r0, 0x50(r24)
/* 80075AB8 00072A18 90 AF 02 B4 */ stw r5, 0x2b4(r15)
/* 80075ABC 00072A1C 90 0F 02 B8 */ stw r0, 0x2b8(r15)
/* 80075AC0 00072A20 80 B8 00 54 */ lwz r5, 0x54(r24)
/* 80075AC4 00072A24 80 18 00 58 */ lwz r0, 0x58(r24)
/* 80075AC8 00072A28 90 AF 02 BC */ stw r5, 0x2bc(r15)
/* 80075ACC 00072A2C 90 0F 02 C0 */ stw r0, 0x2c0(r15)
/* 80075AD0 00072A30 80 18 00 5C */ lwz r0, 0x5c(r24)
/* 80075AD4 00072A34 90 0F 02 C4 */ stw r0, 0x2c4(r15)
/* 80075AD8 00072A38 80 18 00 60 */ lwz r0, 0x60(r24)
/* 80075ADC 00072A3C 90 0F 02 C8 */ stw r0, 0x2c8(r15)
/* 80075AE0 00072A40 80 18 00 64 */ lwz r0, 0x64(r24)
/* 80075AE4 00072A44 90 0F 02 CC */ stw r0, 0x2cc(r15)
/* 80075AE8 00072A48 C0 19 00 5C */ lfs f0, 0x5c(r25)
/* 80075AEC 00072A4C D0 0F 02 D0 */ stfs f0, 0x2d0(r15)
/* 80075AF0 00072A50 C0 19 00 60 */ lfs f0, 0x60(r25)
/* 80075AF4 00072A54 D0 0F 02 D4 */ stfs f0, 0x2d4(r15)
/* 80075AF8 00072A58 93 6F 02 D8 */ stw r27, 0x2d8(r15)
/* 80075AFC 00072A5C D3 EF 02 DC */ stfs f31, 0x2dc(r15)
/* 80075B00 00072A60 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80075B04 00072A64 B0 0F 02 E0 */ sth r0, 0x2e0(r15)
/* 80075B08 00072A68 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B0C 00072A6C 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18
/* 80075B10 00072A70 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B14 00072A74 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B18 00072A78 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80075B1C 00072A7C 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B20 00072A80 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B24 00072A84 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80075B28 00072A88 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B2C 00072A8C 7C 00 00 26 */ mfcr r0
/* 80075B30 00072A90 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80075B34 00072A94 7C 03 00 34 */ cntlzw r3, r0
/* 80075B38 00072A98 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B3C 00072A9C 50 60 FE F6 */ rlwimi r0, r3, 0x1f, 0x1b, 0x1b
/* 80075B40 00072AA0 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B44 00072AA4 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B48 00072AA8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 80075B4C 00072AAC 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B50 00072AB0 88 6F 02 E2 */ lbz r3, 0x2e2(r15)
/* 80075B54 00072AB4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
/* 80075B58 00072AB8 40 82 00 18 */ bne lbl_80075B70
/* 80075B5C 00072ABC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 80075B60 00072AC0 40 82 00 10 */ bne lbl_80075B70
/* 80075B64 00072AC4 80 0F 02 D8 */ lwz r0, 0x2d8(r15)
/* 80075B68 00072AC8 2C 00 00 00 */ cmpwi r0, 0
/* 80075B6C 00072ACC 41 82 00 08 */ beq lbl_80075B74
lbl_80075B70:
/* 80075B70 00072AD0 38 80 00 01 */ li r4, 1
lbl_80075B74:
/* 80075B74 00072AD4 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B78 00072AD8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d
/* 80075B7C 00072ADC 38 80 00 00 */ li r4, 0
/* 80075B80 00072AE0 7D E3 7B 78 */ mr r3, r15
/* 80075B84 00072AE4 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B88 00072AE8 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B8C 00072AEC 53 C0 0F BC */ rlwimi r0, r30, 1, 0x1e, 0x1e
/* 80075B90 00072AF0 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075B94 00072AF4 88 0F 02 E2 */ lbz r0, 0x2e2(r15)
/* 80075B98 00072AF8 51 C0 07 FE */ rlwimi r0, r14, 0, 0x1f, 0x1f
/* 80075B9C 00072AFC 98 0F 02 E2 */ stb r0, 0x2e2(r15)
/* 80075BA0 00072B00 88 0F 02 E3 */ lbz r0, 0x2e3(r15)
/* 80075BA4 00072B04 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80075BA8 00072B08 98 0F 02 E3 */ stb r0, 0x2e3(r15)
/* 80075BAC 00072B0C 80 AF 00 64 */ lwz r5, 0x64(r15)
/* 80075BB0 00072B10 28 05 00 00 */ cmplwi r5, 0
/* 80075BB4 00072B14 41 82 00 20 */ beq lbl_80075BD4
/* 80075BB8 00072B18 80 05 00 10 */ lwz r0, 0x10(r5)
/* 80075BBC 00072B1C 28 00 00 00 */ cmplwi r0, 0
/* 80075BC0 00072B20 40 82 00 10 */ bne lbl_80075BD0
/* 80075BC4 00072B24 88 05 00 28 */ lbz r0, 0x28(r5)
/* 80075BC8 00072B28 28 00 00 00 */ cmplwi r0, 0
/* 80075BCC 00072B2C 41 82 00 08 */ beq lbl_80075BD4
lbl_80075BD0:
/* 80075BD0 00072B30 38 80 00 01 */ li r4, 1
lbl_80075BD4:
/* 80075BD4 00072B34 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80075BD8 00072B38 41 82 00 44 */ beq lbl_80075C1C
/* 80075BDC 00072B3C 28 1D 00 00 */ cmplwi r29, 0
/* 80075BE0 00072B40 41 82 00 0C */ beq lbl_80075BEC
/* 80075BE4 00072B44 38 80 00 01 */ li r4, 1
/* 80075BE8 00072B48 4B FD D1 85 */ bl CreateShadow__6CActorFb
lbl_80075BEC:
/* 80075BEC 00072B4C 80 6F 00 64 */ lwz r3, 0x64(r15)
/* 80075BF0 00072B50 38 80 00 00 */ li r4, 0
/* 80075BF4 00072B54 28 03 00 00 */ cmplwi r3, 0
/* 80075BF8 00072B58 41 82 00 14 */ beq lbl_80075C0C
/* 80075BFC 00072B5C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80075C00 00072B60 28 00 00 00 */ cmplwi r0, 0
/* 80075C04 00072B64 41 82 00 08 */ beq lbl_80075C0C
/* 80075C08 00072B68 38 80 00 01 */ li r4, 1
lbl_80075C0C:
/* 80075C0C 00072B6C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80075C10 00072B70 41 82 00 0C */ beq lbl_80075C1C
/* 80075C14 00072B74 88 81 00 E7 */ lbz r4, 0xe7(r1)
/* 80075C18 00072B78 48 09 F9 49 */ bl EnableLooping__10CModelDataFb
lbl_80075C1C:
/* 80075C1C 00072B7C C0 22 88 B8 */ lfs f1, lbl_805AA5D8@sda21(r2)
/* 80075C20 00072B80 FC 00 F0 50 */ fneg f0, f30
/* 80075C24 00072B84 7D E3 7B 78 */ mr r3, r15
/* 80075C28 00072B88 D0 2F 01 50 */ stfs f1, 0x150(r15)
/* 80075C2C 00072B8C D0 2F 01 54 */ stfs f1, 0x154(r15)
/* 80075C30 00072B90 D0 0F 01 58 */ stfs f0, 0x158(r15)
/* 80075C34 00072B94 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 80075C38 00072B98 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 80075C3C 00072B9C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0
/* 80075C40 00072BA0 CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 80075C44 00072BA4 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0
/* 80075C48 00072BA8 CB A1 00 A0 */ lfd f29, 0xa0(r1)
/* 80075C4C 00072BAC B9 C1 00 58 */ lmw r14, 0x58(r1)
/* 80075C50 00072BB0 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80075C54 00072BB4 7C 08 03 A6 */ mtlr r0
/* 80075C58 00072BB8 38 21 00 D0 */ addi r1, r1, 0xd0
/* 80075C5C 00072BBC 4E 80 00 20 */ blr

View File

@ -0,0 +1,285 @@
.include "macros.inc"
.section .text, "ax"
.global Accept__21CScriptCameraWaypointFR8IVisitor
Accept__21CScriptCameraWaypointFR8IVisitor:
/* 800B51C8 000B2128 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B51CC 000B212C 7C 08 02 A6 */ mflr r0
/* 800B51D0 000B2130 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B51D4 000B2134 7C 60 1B 78 */ mr r0, r3
/* 800B51D8 000B2138 7C 83 23 78 */ mr r3, r4
/* 800B51DC 000B213C 81 84 00 00 */ lwz r12, 0(r4)
/* 800B51E0 000B2140 7C 04 03 78 */ mr r4, r0
/* 800B51E4 000B2144 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 800B51E8 000B2148 7D 89 03 A6 */ mtctr r12
/* 800B51EC 000B214C 4E 80 04 21 */ bctrl
/* 800B51F0 000B2150 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B51F4 000B2154 7C 08 03 A6 */ mtlr r0
/* 800B51F8 000B2158 38 21 00 10 */ addi r1, r1, 0x10
/* 800B51FC 000B215C 4E 80 00 20 */ blr
.global Render__21CScriptCameraWaypointCFRC13CStateManager
Render__21CScriptCameraWaypointCFRC13CStateManager:
/* 800B5200 000B2160 4E 80 00 20 */ blr
.global AddToRenderer__21CScriptCameraWaypointCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__21CScriptCameraWaypointCFRC14CFrustumPlanesRC13CStateManager:
/* 800B5204 000B2164 4E 80 00 20 */ blr
.global GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager
GetRandomNextWaypointId__21CScriptCameraWaypointCFRC13CStateManager:
/* 800B5208 000B2168 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800B520C 000B216C 7C 08 02 A6 */ mflr r0
/* 800B5210 000B2170 90 01 00 64 */ stw r0, 0x64(r1)
/* 800B5214 000B2174 38 00 00 00 */ li r0, 0
/* 800B5218 000B2178 BF 61 00 4C */ stmw r27, 0x4c(r1)
/* 800B521C 000B217C 7C 9D 23 78 */ mr r29, r4
/* 800B5220 000B2180 7C 7C 1B 78 */ mr r28, r3
/* 800B5224 000B2184 7C BE 2B 78 */ mr r30, r5
/* 800B5228 000B2188 90 01 00 34 */ stw r0, 0x34(r1)
/* 800B522C 000B218C 90 01 00 38 */ stw r0, 0x38(r1)
/* 800B5230 000B2190 90 01 00 3C */ stw r0, 0x3c(r1)
/* 800B5234 000B2194 83 E4 00 2C */ lwz r31, 0x2c(r4)
/* 800B5238 000B2198 48 00 00 A4 */ b lbl_800B52DC
lbl_800B523C:
/* 800B523C 000B219C 80 1F 00 00 */ lwz r0, 0(r31)
/* 800B5240 000B21A0 2C 00 00 01 */ cmpwi r0, 1
/* 800B5244 000B21A4 40 82 00 94 */ bne lbl_800B52D8
/* 800B5248 000B21A8 80 1F 00 04 */ lwz r0, 4(r31)
/* 800B524C 000B21AC 2C 00 00 08 */ cmpwi r0, 8
/* 800B5250 000B21B0 40 82 00 88 */ bne lbl_800B52D8
/* 800B5254 000B21B4 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B5258 000B21B8 7F C4 F3 78 */ mr r4, r30
/* 800B525C 000B21BC 38 61 00 08 */ addi r3, r1, 8
/* 800B5260 000B21C0 38 A1 00 2C */ addi r5, r1, 0x2c
/* 800B5264 000B21C4 90 01 00 2C */ stw r0, 0x2c(r1)
/* 800B5268 000B21C8 4B F9 2C B5 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 800B526C 000B21CC A3 61 00 08 */ lhz r27, 8(r1)
/* 800B5270 000B21D0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 800B5274 000B21D4 7C 1B 00 40 */ cmplw r27, r0
/* 800B5278 000B21D8 41 82 00 60 */ beq lbl_800B52D8
/* 800B527C 000B21DC 80 81 00 34 */ lwz r4, 0x34(r1)
/* 800B5280 000B21E0 38 61 00 30 */ addi r3, r1, 0x30
/* 800B5284 000B21E4 38 84 00 01 */ addi r4, r4, 1
/* 800B5288 000B21E8 4B F5 71 81 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
/* 800B528C 000B21EC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B5290 000B21F0 80 A1 00 38 */ lwz r5, 0x38(r1)
/* 800B5294 000B21F4 7C 00 28 00 */ cmpw r0, r5
/* 800B5298 000B21F8 41 80 00 1C */ blt lbl_800B52B4
/* 800B529C 000B21FC 2C 05 00 00 */ cmpwi r5, 0
/* 800B52A0 000B2200 38 61 00 30 */ addi r3, r1, 0x30
/* 800B52A4 000B2204 38 80 00 04 */ li r4, 4
/* 800B52A8 000B2208 41 82 00 08 */ beq lbl_800B52B0
/* 800B52AC 000B220C 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B52B0:
/* 800B52B0 000B2210 4B F5 71 59 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_800B52B4:
/* 800B52B4 000B2214 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B52B8 000B2218 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 800B52BC 000B221C 54 00 08 3C */ slwi r0, r0, 1
/* 800B52C0 000B2220 7C 63 02 15 */ add. r3, r3, r0
/* 800B52C4 000B2224 41 82 00 08 */ beq lbl_800B52CC
/* 800B52C8 000B2228 B3 63 00 00 */ sth r27, 0(r3)
lbl_800B52CC:
/* 800B52CC 000B222C 80 61 00 34 */ lwz r3, 0x34(r1)
/* 800B52D0 000B2230 38 03 00 01 */ addi r0, r3, 1
/* 800B52D4 000B2234 90 01 00 34 */ stw r0, 0x34(r1)
lbl_800B52D8:
/* 800B52D8 000B2238 3B FF 00 0C */ addi r31, r31, 0xc
lbl_800B52DC:
/* 800B52DC 000B223C 80 1D 00 24 */ lwz r0, 0x24(r29)
/* 800B52E0 000B2240 80 7D 00 2C */ lwz r3, 0x2c(r29)
/* 800B52E4 000B2244 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800B52E8 000B2248 7C 03 02 14 */ add r0, r3, r0
/* 800B52EC 000B224C 7C 1F 00 40 */ cmplw r31, r0
/* 800B52F0 000B2250 40 82 FF 4C */ bne lbl_800B523C
/* 800B52F4 000B2254 80 81 00 34 */ lwz r4, 0x34(r1)
/* 800B52F8 000B2258 2C 04 00 00 */ cmpwi r4, 0
/* 800B52FC 000B225C 40 82 00 50 */ bne lbl_800B534C
/* 800B5300 000B2260 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 800B5304 000B2264 B0 1C 00 00 */ sth r0, 0(r28)
/* 800B5308 000B2268 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B530C 000B226C 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 800B5310 000B2270 54 00 08 3C */ slwi r0, r0, 1
/* 800B5314 000B2274 7C 03 02 14 */ add r0, r3, r0
/* 800B5318 000B2278 90 61 00 20 */ stw r3, 0x20(r1)
/* 800B531C 000B227C 7C 64 1B 78 */ mr r4, r3
/* 800B5320 000B2280 90 01 00 28 */ stw r0, 0x28(r1)
/* 800B5324 000B2284 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B5328 000B2288 90 61 00 1C */ stw r3, 0x1c(r1)
/* 800B532C 000B228C 48 00 00 08 */ b lbl_800B5334
lbl_800B5330:
/* 800B5330 000B2290 38 84 00 02 */ addi r4, r4, 2
lbl_800B5334:
/* 800B5334 000B2294 7C 04 00 40 */ cmplw r4, r0
/* 800B5338 000B2298 40 82 FF F8 */ bne lbl_800B5330
/* 800B533C 000B229C 28 03 00 00 */ cmplwi r3, 0
/* 800B5340 000B22A0 41 82 00 6C */ beq lbl_800B53AC
/* 800B5344 000B22A4 48 26 05 ED */ bl Free__7CMemoryFPCv
/* 800B5348 000B22A8 48 00 00 64 */ b lbl_800B53AC
lbl_800B534C:
/* 800B534C 000B22AC 80 7E 09 00 */ lwz r3, 0x900(r30)
/* 800B5350 000B22B0 38 A4 FF FF */ addi r5, r4, -1
/* 800B5354 000B22B4 38 80 00 00 */ li r4, 0
/* 800B5358 000B22B8 48 25 D2 3D */ bl Range__9CRandom16Fii
/* 800B535C 000B22BC 80 81 00 3C */ lwz r4, 0x3c(r1)
/* 800B5360 000B22C0 54 60 08 3C */ slwi r0, r3, 1
/* 800B5364 000B22C4 7C 04 02 2E */ lhzx r0, r4, r0
/* 800B5368 000B22C8 B0 1C 00 00 */ sth r0, 0(r28)
/* 800B536C 000B22CC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B5370 000B22D0 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 800B5374 000B22D4 54 00 08 3C */ slwi r0, r0, 1
/* 800B5378 000B22D8 7C 03 02 14 */ add r0, r3, r0
/* 800B537C 000B22DC 90 61 00 10 */ stw r3, 0x10(r1)
/* 800B5380 000B22E0 7C 64 1B 78 */ mr r4, r3
/* 800B5384 000B22E4 90 01 00 18 */ stw r0, 0x18(r1)
/* 800B5388 000B22E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B538C 000B22EC 90 61 00 0C */ stw r3, 0xc(r1)
/* 800B5390 000B22F0 48 00 00 08 */ b lbl_800B5398
lbl_800B5394:
/* 800B5394 000B22F4 38 84 00 02 */ addi r4, r4, 2
lbl_800B5398:
/* 800B5398 000B22F8 7C 04 00 40 */ cmplw r4, r0
/* 800B539C 000B22FC 40 82 FF F8 */ bne lbl_800B5394
/* 800B53A0 000B2300 28 03 00 00 */ cmplwi r3, 0
/* 800B53A4 000B2304 41 82 00 08 */ beq lbl_800B53AC
/* 800B53A8 000B2308 48 26 05 89 */ bl Free__7CMemoryFPCv
lbl_800B53AC:
/* 800B53AC 000B230C BB 61 00 4C */ lmw r27, 0x4c(r1)
/* 800B53B0 000B2310 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800B53B4 000B2314 7C 08 03 A6 */ mtlr r0
/* 800B53B8 000B2318 38 21 00 60 */ addi r1, r1, 0x60
/* 800B53BC 000B231C 4E 80 00 20 */ blr
.global AcceptScriptMsg__21CScriptCameraWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__21CScriptCameraWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800B53C0 000B2320 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B53C4 000B2324 7C 08 02 A6 */ mflr r0
/* 800B53C8 000B2328 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B53CC 000B232C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B53D0 000B2330 7C DF 33 78 */ mr r31, r6
/* 800B53D4 000B2334 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B53D8 000B2338 7C 9E 23 78 */ mr r30, r4
/* 800B53DC 000B233C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B53E0 000B2340 7C 7D 1B 78 */ mr r29, r3
/* 800B53E4 000B2344 A0 05 00 00 */ lhz r0, 0(r5)
/* 800B53E8 000B2348 38 A1 00 08 */ addi r5, r1, 8
/* 800B53EC 000B234C B0 01 00 08 */ sth r0, 8(r1)
/* 800B53F0 000B2350 4B F9 E2 25 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800B53F4 000B2354 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 800B53F8 000B2358 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800B53FC 000B235C 41 82 00 24 */ beq lbl_800B5420
/* 800B5400 000B2360 2C 1E 00 02 */ cmpwi r30, 2
/* 800B5404 000B2364 41 82 00 08 */ beq lbl_800B540C
/* 800B5408 000B2368 48 00 00 18 */ b lbl_800B5420
lbl_800B540C:
/* 800B540C 000B236C 7F A3 EB 78 */ mr r3, r29
/* 800B5410 000B2370 7F E5 FB 78 */ mr r5, r31
/* 800B5414 000B2374 38 80 00 01 */ li r4, 1
/* 800B5418 000B2378 38 C0 FF FF */ li r6, -1
/* 800B541C 000B237C 4B F9 BC A5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_800B5420:
/* 800B5420 000B2380 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B5424 000B2384 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B5428 000B2388 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B542C 000B238C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B5430 000B2390 7C 08 03 A6 */ mtlr r0
/* 800B5434 000B2394 38 21 00 20 */ addi r1, r1, 0x20
/* 800B5438 000B2398 4E 80 00 20 */ blr
.global __dt__21CScriptCameraWaypointFv
__dt__21CScriptCameraWaypointFv:
/* 800B543C 000B239C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B5440 000B23A0 7C 08 02 A6 */ mflr r0
/* 800B5444 000B23A4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B5448 000B23A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B544C 000B23AC 7C 9F 23 78 */ mr r31, r4
/* 800B5450 000B23B0 93 C1 00 08 */ stw r30, 8(r1)
/* 800B5454 000B23B4 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B5458 000B23B8 41 82 00 28 */ beq lbl_800B5480
/* 800B545C 000B23BC 3C A0 80 3E */ lis r5, lbl_803DF348@ha
/* 800B5460 000B23C0 38 80 00 00 */ li r4, 0
/* 800B5464 000B23C4 38 05 F3 48 */ addi r0, r5, lbl_803DF348@l
/* 800B5468 000B23C8 90 1E 00 00 */ stw r0, 0(r30)
/* 800B546C 000B23CC 4B FA 02 85 */ bl __dt__6CActorFv
/* 800B5470 000B23D0 7F E0 07 35 */ extsh. r0, r31
/* 800B5474 000B23D4 40 81 00 0C */ ble lbl_800B5480
/* 800B5478 000B23D8 7F C3 F3 78 */ mr r3, r30
/* 800B547C 000B23DC 48 26 04 B5 */ bl Free__7CMemoryFPCv
lbl_800B5480:
/* 800B5480 000B23E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B5484 000B23E4 7F C3 F3 78 */ mr r3, r30
/* 800B5488 000B23E8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B548C 000B23EC 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B5490 000B23F0 7C 08 03 A6 */ mtlr r0
/* 800B5494 000B23F4 38 21 00 10 */ addi r1, r1, 0x10
/* 800B5498 000B23F8 4E 80 00 20 */ blr
.global "__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi"
"__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi":
/* 800B549C 000B23FC 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 800B54A0 000B2400 7C 08 02 A6 */ mflr r0
/* 800B54A4 000B2404 90 01 01 04 */ stw r0, 0x104(r1)
/* 800B54A8 000B2408 DB E1 00 F8 */ stfd f31, 0xf8(r1)
/* 800B54AC 000B240C FF E0 08 90 */ fmr f31, f1
/* 800B54B0 000B2410 BF 21 00 DC */ stmw r25, 0xdc(r1)
/* 800B54B4 000B2414 7C 7F 1B 78 */ mr r31, r3
/* 800B54B8 000B2418 7C 99 23 78 */ mr r25, r4
/* 800B54BC 000B241C 7C BA 2B 78 */ mr r26, r5
/* 800B54C0 000B2420 7C DB 33 78 */ mr r27, r6
/* 800B54C4 000B2424 7C FC 3B 78 */ mr r28, r7
/* 800B54C8 000B2428 7D 1D 43 78 */ mr r29, r8
/* 800B54CC 000B242C 7D 3E 4B 78 */ mr r30, r9
/* 800B54D0 000B2430 38 61 00 88 */ addi r3, r1, 0x88
/* 800B54D4 000B2434 4B F8 52 D1 */ bl CModelDataNull__10CModelDataFv
/* 800B54D8 000B2438 38 61 00 20 */ addi r3, r1, 0x20
/* 800B54DC 000B243C 4B F6 59 5D */ bl None__16CActorParametersFv
/* 800B54E0 000B2440 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 800B54E4 000B2444 38 00 00 00 */ li r0, 0
/* 800B54E8 000B2448 80 AD 86 50 */ lwz r5, lbl_805A7210@sda21(r13)
/* 800B54EC 000B244C 38 60 00 00 */ li r3, 0
/* 800B54F0 000B2450 B0 81 00 10 */ sth r4, 0x10(r1)
/* 800B54F4 000B2454 38 80 00 01 */ li r4, 1
/* 800B54F8 000B2458 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800B54FC 000B245C 90 01 00 18 */ stw r0, 0x18(r1)
/* 800B5500 000B2460 48 2D 49 F5 */ bl __shl2i
/* 800B5504 000B2464 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 800B5508 000B2468 39 61 00 20 */ addi r11, r1, 0x20
/* 800B550C 000B246C 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 800B5510 000B2470 38 01 00 10 */ addi r0, r1, 0x10
/* 800B5514 000B2474 7C A3 1B 78 */ or r3, r5, r3
/* 800B5518 000B2478 A1 39 00 00 */ lhz r9, 0(r25)
/* 800B551C 000B247C 7C C4 23 78 */ or r4, r6, r4
/* 800B5520 000B2480 90 61 00 18 */ stw r3, 0x18(r1)
/* 800B5524 000B2484 7F E3 FB 78 */ mr r3, r31
/* 800B5528 000B2488 7F A5 EB 78 */ mr r5, r29
/* 800B552C 000B248C 90 81 00 1C */ stw r4, 0x1c(r1)
/* 800B5530 000B2490 7F 46 D3 78 */ mr r6, r26
/* 800B5534 000B2494 7F 67 DB 78 */ mr r7, r27
/* 800B5538 000B2498 7F 88 E3 78 */ mr r8, r28
/* 800B553C 000B249C B1 21 00 14 */ sth r9, 0x14(r1)
/* 800B5540 000B24A0 38 81 00 14 */ addi r4, r1, 0x14
/* 800B5544 000B24A4 39 21 00 88 */ addi r9, r1, 0x88
/* 800B5548 000B24A8 39 41 00 18 */ addi r10, r1, 0x18
/* 800B554C 000B24AC 91 61 00 08 */ stw r11, 8(r1)
/* 800B5550 000B24B0 90 01 00 0C */ stw r0, 0xc(r1)
/* 800B5554 000B24B4 4B FA 02 CD */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 800B5558 000B24B8 38 61 00 20 */ addi r3, r1, 0x20
/* 800B555C 000B24BC 38 80 FF FF */ li r4, -1
/* 800B5560 000B24C0 48 05 10 A9 */ bl __dt__16CActorParametersFv
/* 800B5564 000B24C4 38 61 00 88 */ addi r3, r1, 0x88
/* 800B5568 000B24C8 38 80 FF FF */ li r4, -1
/* 800B556C 000B24CC 48 06 14 E1 */ bl __dt__10CModelDataFv
/* 800B5570 000B24D0 3C 80 80 3E */ lis r4, lbl_803DF348@ha
/* 800B5574 000B24D4 7F E3 FB 78 */ mr r3, r31
/* 800B5578 000B24D8 38 04 F3 48 */ addi r0, r4, lbl_803DF348@l
/* 800B557C 000B24DC 90 1F 00 00 */ stw r0, 0(r31)
/* 800B5580 000B24E0 D3 FF 00 E8 */ stfs f31, 0xe8(r31)
/* 800B5584 000B24E4 93 DF 00 EC */ stw r30, 0xec(r31)
/* 800B5588 000B24E8 CB E1 00 F8 */ lfd f31, 0xf8(r1)
/* 800B558C 000B24EC BB 21 00 DC */ lmw r25, 0xdc(r1)
/* 800B5590 000B24F0 80 01 01 04 */ lwz r0, 0x104(r1)
/* 800B5594 000B24F4 7C 08 03 A6 */ mtlr r0
/* 800B5598 000B24F8 38 21 01 00 */ addi r1, r1, 0x100
/* 800B559C 000B24FC 4E 80 00 20 */ blr

View File

@ -0,0 +1,204 @@
.include "macros.inc"
.section .text, "ax"
.global Accept__14CScriptCounterFR8IVisitor
Accept__14CScriptCounterFR8IVisitor:
/* 8009E3E8 0009B348 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8009E3EC 0009B34C 7C 08 02 A6 */ mflr r0
/* 8009E3F0 0009B350 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009E3F4 0009B354 7C 60 1B 78 */ mr r0, r3
/* 8009E3F8 0009B358 7C 83 23 78 */ mr r3, r4
/* 8009E3FC 0009B35C 81 84 00 00 */ lwz r12, 0(r4)
/* 8009E400 0009B360 7C 04 03 78 */ mr r4, r0
/* 8009E404 0009B364 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8009E408 0009B368 7D 89 03 A6 */ mtctr r12
/* 8009E40C 0009B36C 4E 80 04 21 */ bctrl
/* 8009E410 0009B370 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009E414 0009B374 7C 08 03 A6 */ mtlr r0
/* 8009E418 0009B378 38 21 00 10 */ addi r1, r1, 0x10
/* 8009E41C 0009B37C 4E 80 00 20 */ blr
.global AcceptScriptMsg__14CScriptCounterF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__14CScriptCounterF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8009E420 0009B380 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8009E424 0009B384 7C 08 02 A6 */ mflr r0
/* 8009E428 0009B388 90 01 00 24 */ stw r0, 0x24(r1)
/* 8009E42C 0009B38C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8009E430 0009B390 7C DF 33 78 */ mr r31, r6
/* 8009E434 0009B394 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8009E438 0009B398 7C BE 2B 78 */ mr r30, r5
/* 8009E43C 0009B39C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8009E440 0009B3A0 7C 9D 23 78 */ mr r29, r4
/* 8009E444 0009B3A4 38 1D FF FB */ addi r0, r29, -5
/* 8009E448 0009B3A8 28 00 00 08 */ cmplwi r0, 8
/* 8009E44C 0009B3AC 93 81 00 10 */ stw r28, 0x10(r1)
/* 8009E450 0009B3B0 7C 7C 1B 78 */ mr r28, r3
/* 8009E454 0009B3B4 41 81 01 58 */ bgt lbl_8009E5AC
/* 8009E458 0009B3B8 3C 80 80 3E */ lis r4, lbl_803DAF10@ha
/* 8009E45C 0009B3BC 54 00 10 3A */ slwi r0, r0, 2
/* 8009E460 0009B3C0 38 84 AF 10 */ addi r4, r4, lbl_803DAF10@l
/* 8009E464 0009B3C4 7C 04 00 2E */ lwzx r0, r4, r0
/* 8009E468 0009B3C8 7C 09 03 A6 */ mtctr r0
/* 8009E46C 0009B3CC 4E 80 04 20 */ bctr
/* 8009E470 0009B3D0 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8009E474 0009B3D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009E478 0009B3D8 41 82 01 34 */ beq lbl_8009E5AC
/* 8009E47C 0009B3DC 38 00 00 00 */ li r0, 0
/* 8009E480 0009B3E0 7F E5 FB 78 */ mr r5, r31
/* 8009E484 0009B3E4 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E488 0009B3E8 38 80 00 09 */ li r4, 9
/* 8009E48C 0009B3EC 38 C0 FF FF */ li r6, -1
/* 8009E490 0009B3F0 4B FB 2C 31 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 8009E494 0009B3F4 88 1C 00 40 */ lbz r0, 0x40(r28)
/* 8009E498 0009B3F8 28 00 00 00 */ cmplwi r0, 0
/* 8009E49C 0009B3FC 41 82 01 10 */ beq lbl_8009E5AC
/* 8009E4A0 0009B400 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 8009E4A4 0009B404 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E4A8 0009B408 48 00 01 04 */ b lbl_8009E5AC
/* 8009E4AC 0009B40C 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8009E4B0 0009B410 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009E4B4 0009B414 41 82 00 F8 */ beq lbl_8009E5AC
/* 8009E4B8 0009B418 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 8009E4BC 0009B41C 7F E5 FB 78 */ mr r5, r31
/* 8009E4C0 0009B420 38 80 00 07 */ li r4, 7
/* 8009E4C4 0009B424 38 C0 FF FF */ li r6, -1
/* 8009E4C8 0009B428 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E4CC 0009B42C 4B FB 2B F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 8009E4D0 0009B430 88 1C 00 40 */ lbz r0, 0x40(r28)
/* 8009E4D4 0009B434 28 00 00 00 */ cmplwi r0, 0
/* 8009E4D8 0009B438 41 82 00 D4 */ beq lbl_8009E5AC
/* 8009E4DC 0009B43C 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 8009E4E0 0009B440 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E4E4 0009B444 48 00 00 C8 */ b lbl_8009E5AC
/* 8009E4E8 0009B448 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8009E4EC 0009B44C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009E4F0 0009B450 41 82 00 BC */ beq lbl_8009E5AC
/* 8009E4F4 0009B454 80 9C 00 38 */ lwz r4, 0x38(r28)
/* 8009E4F8 0009B458 2C 04 00 00 */ cmpwi r4, 0
/* 8009E4FC 0009B45C 41 82 00 B0 */ beq lbl_8009E5AC
/* 8009E500 0009B460 38 04 FF FF */ addi r0, r4, -1
/* 8009E504 0009B464 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E508 0009B468 80 1C 00 38 */ lwz r0, 0x38(r28)
/* 8009E50C 0009B46C 2C 00 00 00 */ cmpwi r0, 0
/* 8009E510 0009B470 40 82 00 9C */ bne lbl_8009E5AC
/* 8009E514 0009B474 7F E5 FB 78 */ mr r5, r31
/* 8009E518 0009B478 38 80 00 09 */ li r4, 9
/* 8009E51C 0009B47C 38 C0 FF FF */ li r6, -1
/* 8009E520 0009B480 4B FB 2B A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 8009E524 0009B484 88 1C 00 40 */ lbz r0, 0x40(r28)
/* 8009E528 0009B488 28 00 00 00 */ cmplwi r0, 0
/* 8009E52C 0009B48C 41 82 00 80 */ beq lbl_8009E5AC
/* 8009E530 0009B490 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 8009E534 0009B494 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E538 0009B498 48 00 00 74 */ b lbl_8009E5AC
/* 8009E53C 0009B49C 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8009E540 0009B4A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009E544 0009B4A4 41 82 00 68 */ beq lbl_8009E5AC
/* 8009E548 0009B4A8 80 9C 00 38 */ lwz r4, 0x38(r28)
/* 8009E54C 0009B4AC 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 8009E550 0009B4B0 7C 04 00 00 */ cmpw r4, r0
/* 8009E554 0009B4B4 40 80 00 58 */ bge lbl_8009E5AC
/* 8009E558 0009B4B8 38 04 00 01 */ addi r0, r4, 1
/* 8009E55C 0009B4BC 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E560 0009B4C0 80 9C 00 38 */ lwz r4, 0x38(r28)
/* 8009E564 0009B4C4 80 1C 00 3C */ lwz r0, 0x3c(r28)
/* 8009E568 0009B4C8 7C 04 00 00 */ cmpw r4, r0
/* 8009E56C 0009B4CC 40 82 00 40 */ bne lbl_8009E5AC
/* 8009E570 0009B4D0 7F E5 FB 78 */ mr r5, r31
/* 8009E574 0009B4D4 38 80 00 07 */ li r4, 7
/* 8009E578 0009B4D8 38 C0 FF FF */ li r6, -1
/* 8009E57C 0009B4DC 4B FB 2B 45 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 8009E580 0009B4E0 88 1C 00 40 */ lbz r0, 0x40(r28)
/* 8009E584 0009B4E4 28 00 00 00 */ cmplwi r0, 0
/* 8009E588 0009B4E8 41 82 00 24 */ beq lbl_8009E5AC
/* 8009E58C 0009B4EC 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 8009E590 0009B4F0 90 1C 00 38 */ stw r0, 0x38(r28)
/* 8009E594 0009B4F4 48 00 00 18 */ b lbl_8009E5AC
/* 8009E598 0009B4F8 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8009E59C 0009B4FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009E5A0 0009B500 41 82 00 0C */ beq lbl_8009E5AC
/* 8009E5A4 0009B504 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 8009E5A8 0009B508 90 1C 00 38 */ stw r0, 0x38(r28)
lbl_8009E5AC:
/* 8009E5AC 0009B50C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8009E5B0 0009B510 7F 83 E3 78 */ mr r3, r28
/* 8009E5B4 0009B514 7F A4 EB 78 */ mr r4, r29
/* 8009E5B8 0009B518 7F E6 FB 78 */ mr r6, r31
/* 8009E5BC 0009B51C B0 01 00 08 */ sth r0, 8(r1)
/* 8009E5C0 0009B520 38 A1 00 08 */ addi r5, r1, 8
/* 8009E5C4 0009B524 4B FB 2B 99 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8009E5C8 0009B528 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8009E5CC 0009B52C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8009E5D0 0009B530 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8009E5D4 0009B534 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8009E5D8 0009B538 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8009E5DC 0009B53C 7C 08 03 A6 */ mtlr r0
/* 8009E5E0 0009B540 38 21 00 20 */ addi r1, r1, 0x20
/* 8009E5E4 0009B544 4E 80 00 20 */ blr
.global __dt__14CScriptCounterFv
__dt__14CScriptCounterFv:
/* 8009E5E8 0009B548 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8009E5EC 0009B54C 7C 08 02 A6 */ mflr r0
/* 8009E5F0 0009B550 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009E5F4 0009B554 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009E5F8 0009B558 7C 9F 23 78 */ mr r31, r4
/* 8009E5FC 0009B55C 93 C1 00 08 */ stw r30, 8(r1)
/* 8009E600 0009B560 7C 7E 1B 79 */ or. r30, r3, r3
/* 8009E604 0009B564 41 82 00 28 */ beq lbl_8009E62C
/* 8009E608 0009B568 3C A0 80 3E */ lis r5, lbl_803DAEF0@ha
/* 8009E60C 0009B56C 38 80 00 00 */ li r4, 0
/* 8009E610 0009B570 38 05 AE F0 */ addi r0, r5, lbl_803DAEF0@l
/* 8009E614 0009B574 90 1E 00 00 */ stw r0, 0(r30)
/* 8009E618 0009B578 4B FB 2C 5D */ bl __dt__7CEntityFv
/* 8009E61C 0009B57C 7F E0 07 35 */ extsh. r0, r31
/* 8009E620 0009B580 40 81 00 0C */ ble lbl_8009E62C
/* 8009E624 0009B584 7F C3 F3 78 */ mr r3, r30
/* 8009E628 0009B588 48 27 73 09 */ bl Free__7CMemoryFPCv
lbl_8009E62C:
/* 8009E62C 0009B58C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009E630 0009B590 7F C3 F3 78 */ mr r3, r30
/* 8009E634 0009B594 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8009E638 0009B598 83 C1 00 08 */ lwz r30, 8(r1)
/* 8009E63C 0009B59C 7C 08 03 A6 */ mtlr r0
/* 8009E640 0009B5A0 38 21 00 10 */ addi r1, r1, 0x10
/* 8009E644 0009B5A4 4E 80 00 20 */ blr
.global "__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb"
"__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb":
/* 8009E648 0009B5A8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8009E64C 0009B5AC 7C 08 02 A6 */ mflr r0
/* 8009E650 0009B5B0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8009E654 0009B5B4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8009E658 0009B5B8 7D 3F 4B 78 */ mr r31, r9
/* 8009E65C 0009B5BC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8009E660 0009B5C0 7D 1E 43 78 */ mr r30, r8
/* 8009E664 0009B5C4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8009E668 0009B5C8 7C FD 3B 78 */ mr r29, r7
/* 8009E66C 0009B5CC 93 81 00 10 */ stw r28, 0x10(r1)
/* 8009E670 0009B5D0 7C 7C 1B 78 */ mr r28, r3
/* 8009E674 0009B5D4 A0 04 00 00 */ lhz r0, 0(r4)
/* 8009E678 0009B5D8 7C A4 2B 78 */ mr r4, r5
/* 8009E67C 0009B5DC 7C C5 33 78 */ mr r5, r6
/* 8009E680 0009B5E0 7D 46 53 78 */ mr r6, r10
/* 8009E684 0009B5E4 B0 01 00 08 */ sth r0, 8(r1)
/* 8009E688 0009B5E8 7C 87 23 78 */ mr r7, r4
/* 8009E68C 0009B5EC 38 81 00 08 */ addi r4, r1, 8
/* 8009E690 0009B5F0 4B FB 2C 95 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8009E694 0009B5F4 3C 80 80 3E */ lis r4, lbl_803DAEF0@ha
/* 8009E698 0009B5F8 7F 83 E3 78 */ mr r3, r28
/* 8009E69C 0009B5FC 38 04 AE F0 */ addi r0, r4, lbl_803DAEF0@l
/* 8009E6A0 0009B600 90 1C 00 00 */ stw r0, 0(r28)
/* 8009E6A4 0009B604 93 BC 00 34 */ stw r29, 0x34(r28)
/* 8009E6A8 0009B608 93 BC 00 38 */ stw r29, 0x38(r28)
/* 8009E6AC 0009B60C 93 DC 00 3C */ stw r30, 0x3c(r28)
/* 8009E6B0 0009B610 9B FC 00 40 */ stb r31, 0x40(r28)
/* 8009E6B4 0009B614 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8009E6B8 0009B618 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8009E6BC 0009B61C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8009E6C0 0009B620 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8009E6C4 0009B624 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8009E6C8 0009B628 7C 08 03 A6 */ mtlr r0
/* 8009E6CC 0009B62C 38 21 00 20 */ addi r1, r1, 0x20
/* 8009E6D0 0009B630 4E 80 00 20 */ blr

1528
asm/Kyoto_CWD/CScriptDoor.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,906 @@
.include "macros.inc"
.section .text, "ax"
.global Accept__16CScriptGeneratorFR8IVisitor
Accept__16CScriptGeneratorFR8IVisitor:
/* 800B4508 000B1468 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B450C 000B146C 7C 08 02 A6 */ mflr r0
/* 800B4510 000B1470 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B4514 000B1474 7C 60 1B 78 */ mr r0, r3
/* 800B4518 000B1478 7C 83 23 78 */ mr r3, r4
/* 800B451C 000B147C 81 84 00 00 */ lwz r12, 0(r4)
/* 800B4520 000B1480 7C 04 03 78 */ mr r4, r0
/* 800B4524 000B1484 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800B4528 000B1488 7D 89 03 A6 */ mtctr r12
/* 800B452C 000B148C 4E 80 04 21 */ bctrl
/* 800B4530 000B1490 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B4534 000B1494 7C 08 03 A6 */ mtlr r0
/* 800B4538 000B1498 38 21 00 10 */ addi r1, r1, 0x10
/* 800B453C 000B149C 4E 80 00 20 */ blr
.global AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800B4540 000B14A0 94 21 FE 20 */ stwu r1, -0x1e0(r1)
/* 800B4544 000B14A4 7C 08 02 A6 */ mflr r0
/* 800B4548 000B14A8 90 01 01 E4 */ stw r0, 0x1e4(r1)
/* 800B454C 000B14AC DB E1 01 D0 */ stfd f31, 0x1d0(r1)
/* 800B4550 000B14B0 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0
/* 800B4554 000B14B4 DB C1 01 C0 */ stfd f30, 0x1c0(r1)
/* 800B4558 000B14B8 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0
/* 800B455C 000B14BC BE 41 01 88 */ stmw r18, 0x188(r1)
/* 800B4560 000B14C0 7C 9D 23 78 */ mr r29, r4
/* 800B4564 000B14C4 7C 7C 1B 78 */ mr r28, r3
/* 800B4568 000B14C8 2C 1D 00 0D */ cmpwi r29, 0xd
/* 800B456C 000B14CC 7C BE 2B 78 */ mr r30, r5
/* 800B4570 000B14D0 7C DF 33 78 */ mr r31, r6
/* 800B4574 000B14D4 41 82 00 08 */ beq lbl_800B457C
/* 800B4578 000B14D8 48 00 09 04 */ b lbl_800B4E7C
lbl_800B457C:
/* 800B457C 000B14DC 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800B4580 000B14E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800B4584 000B14E4 41 82 08 F8 */ beq lbl_800B4E7C
/* 800B4588 000B14E8 38 00 00 00 */ li r0, 0
/* 800B458C 000B14EC 38 80 00 01 */ li r4, 1
/* 800B4590 000B14F0 90 01 01 54 */ stw r0, 0x154(r1)
/* 800B4594 000B14F4 90 01 01 58 */ stw r0, 0x158(r1)
/* 800B4598 000B14F8 90 01 01 5C */ stw r0, 0x15c(r1)
/* 800B459C 000B14FC 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800B45A0 000B1500 2C 00 00 00 */ cmpwi r0, 0
/* 800B45A4 000B1504 41 82 00 08 */ beq lbl_800B45AC
/* 800B45A8 000B1508 7C 04 03 78 */ mr r4, r0
lbl_800B45AC:
/* 800B45AC 000B150C 38 61 01 50 */ addi r3, r1, 0x150
/* 800B45B0 000B1510 4B F5 7E 59 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
/* 800B45B4 000B1514 83 7C 00 2C */ lwz r27, 0x2c(r28)
/* 800B45B8 000B1518 48 00 00 C0 */ b lbl_800B4678
lbl_800B45BC:
/* 800B45BC 000B151C 80 1B 00 00 */ lwz r0, 0(r27)
/* 800B45C0 000B1520 2C 00 00 09 */ cmpwi r0, 9
/* 800B45C4 000B1524 40 82 00 B0 */ bne lbl_800B4674
/* 800B45C8 000B1528 80 1B 00 04 */ lwz r0, 4(r27)
/* 800B45CC 000B152C 2C 00 00 06 */ cmpwi r0, 6
/* 800B45D0 000B1530 40 82 00 A4 */ bne lbl_800B4674
/* 800B45D4 000B1534 80 1B 00 08 */ lwz r0, 8(r27)
/* 800B45D8 000B1538 7F E4 FB 78 */ mr r4, r31
/* 800B45DC 000B153C 38 61 00 40 */ addi r3, r1, 0x40
/* 800B45E0 000B1540 38 A1 00 AC */ addi r5, r1, 0xac
/* 800B45E4 000B1544 90 01 00 AC */ stw r0, 0xac(r1)
/* 800B45E8 000B1548 4B F9 39 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 800B45EC 000B154C A0 61 00 40 */ lhz r3, 0x40(r1)
/* 800B45F0 000B1550 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 800B45F4 000B1554 B0 61 00 4C */ sth r3, 0x4c(r1)
/* 800B45F8 000B1558 7C 03 00 40 */ cmplw r3, r0
/* 800B45FC 000B155C 41 82 00 78 */ beq lbl_800B4674
/* 800B4600 000B1560 B0 61 00 3C */ sth r3, 0x3c(r1)
/* 800B4604 000B1564 7F E3 FB 78 */ mr r3, r31
/* 800B4608 000B1568 38 81 00 3C */ addi r4, r1, 0x3c
/* 800B460C 000B156C 4B F9 7F 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800B4610 000B1570 28 03 00 00 */ cmplwi r3, 0
/* 800B4614 000B1574 41 82 00 60 */ beq lbl_800B4674
/* 800B4618 000B1578 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800B461C 000B157C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800B4620 000B1580 41 82 00 54 */ beq lbl_800B4674
/* 800B4624 000B1584 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4628 000B1588 80 A1 01 58 */ lwz r5, 0x158(r1)
/* 800B462C 000B158C 7C 00 28 00 */ cmpw r0, r5
/* 800B4630 000B1590 41 80 00 1C */ blt lbl_800B464C
/* 800B4634 000B1594 2C 05 00 00 */ cmpwi r5, 0
/* 800B4638 000B1598 38 61 01 50 */ addi r3, r1, 0x150
/* 800B463C 000B159C 38 80 00 04 */ li r4, 4
/* 800B4640 000B15A0 41 82 00 08 */ beq lbl_800B4648
/* 800B4644 000B15A4 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B4648:
/* 800B4648 000B15A8 4B F5 7D C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_800B464C:
/* 800B464C 000B15AC 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4650 000B15B0 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B4654 000B15B4 54 00 08 3C */ slwi r0, r0, 1
/* 800B4658 000B15B8 7C 63 02 15 */ add. r3, r3, r0
/* 800B465C 000B15BC 41 82 00 0C */ beq lbl_800B4668
/* 800B4660 000B15C0 A0 01 00 4C */ lhz r0, 0x4c(r1)
/* 800B4664 000B15C4 B0 03 00 00 */ sth r0, 0(r3)
lbl_800B4668:
/* 800B4668 000B15C8 80 61 01 54 */ lwz r3, 0x154(r1)
/* 800B466C 000B15CC 38 03 00 01 */ addi r0, r3, 1
/* 800B4670 000B15D0 90 01 01 54 */ stw r0, 0x154(r1)
lbl_800B4674:
/* 800B4674 000B15D4 3B 7B 00 0C */ addi r27, r27, 0xc
lbl_800B4678:
/* 800B4678 000B15D8 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800B467C 000B15DC 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 800B4680 000B15E0 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800B4684 000B15E4 7C 03 02 14 */ add r0, r3, r0
/* 800B4688 000B15E8 7C 1B 00 40 */ cmplw r27, r0
/* 800B468C 000B15EC 40 82 FF 30 */ bne lbl_800B45BC
/* 800B4690 000B15F0 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4694 000B15F4 2C 00 00 00 */ cmpwi r0, 0
/* 800B4698 000B15F8 40 82 00 50 */ bne lbl_800B46E8
/* 800B469C 000B15FC 80 A1 01 58 */ lwz r5, 0x158(r1)
/* 800B46A0 000B1600 7C 00 28 00 */ cmpw r0, r5
/* 800B46A4 000B1604 41 80 00 1C */ blt lbl_800B46C0
/* 800B46A8 000B1608 2C 05 00 00 */ cmpwi r5, 0
/* 800B46AC 000B160C 38 61 01 50 */ addi r3, r1, 0x150
/* 800B46B0 000B1610 38 80 00 04 */ li r4, 4
/* 800B46B4 000B1614 41 82 00 08 */ beq lbl_800B46BC
/* 800B46B8 000B1618 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B46BC:
/* 800B46BC 000B161C 4B F5 7D 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_800B46C0:
/* 800B46C0 000B1620 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B46C4 000B1624 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B46C8 000B1628 54 00 08 3C */ slwi r0, r0, 1
/* 800B46CC 000B162C 7C 63 02 15 */ add. r3, r3, r0
/* 800B46D0 000B1630 41 82 00 0C */ beq lbl_800B46DC
/* 800B46D4 000B1634 A0 1E 00 00 */ lhz r0, 0(r30)
/* 800B46D8 000B1638 B0 03 00 00 */ sth r0, 0(r3)
lbl_800B46DC:
/* 800B46DC 000B163C 80 61 01 54 */ lwz r3, 0x154(r1)
/* 800B46E0 000B1640 38 03 00 01 */ addi r0, r3, 1
/* 800B46E4 000B1644 90 01 01 54 */ stw r0, 0x154(r1)
lbl_800B46E8:
/* 800B46E8 000B1648 38 00 00 00 */ li r0, 0
/* 800B46EC 000B164C 38 61 01 40 */ addi r3, r1, 0x140
/* 800B46F0 000B1650 90 01 01 44 */ stw r0, 0x144(r1)
/* 800B46F4 000B1654 90 01 01 48 */ stw r0, 0x148(r1)
/* 800B46F8 000B1658 90 01 01 4C */ stw r0, 0x14c(r1)
/* 800B46FC 000B165C 80 9C 00 24 */ lwz r4, 0x24(r28)
/* 800B4700 000B1660 48 00 09 D5 */ bl "reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi"
/* 800B4704 000B1664 83 7C 00 2C */ lwz r27, 0x2c(r28)
/* 800B4708 000B1668 48 00 00 E4 */ b lbl_800B47EC
lbl_800B470C:
/* 800B470C 000B166C 80 1B 00 00 */ lwz r0, 0(r27)
/* 800B4710 000B1670 2C 00 00 09 */ cmpwi r0, 9
/* 800B4714 000B1674 40 82 00 D4 */ bne lbl_800B47E8
/* 800B4718 000B1678 80 1B 00 08 */ lwz r0, 8(r27)
/* 800B471C 000B167C 7F E4 FB 78 */ mr r4, r31
/* 800B4720 000B1680 38 61 00 38 */ addi r3, r1, 0x38
/* 800B4724 000B1684 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 800B4728 000B1688 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 800B472C 000B168C 4B F9 37 F1 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 800B4730 000B1690 A0 C1 00 38 */ lhz r6, 0x38(r1)
/* 800B4734 000B1694 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 800B4738 000B1698 B0 C1 00 48 */ sth r6, 0x48(r1)
/* 800B473C 000B169C 7C 06 00 40 */ cmplw r6, r0
/* 800B4740 000B16A0 41 82 00 A8 */ beq lbl_800B47E8
/* 800B4744 000B16A4 80 1B 00 04 */ lwz r0, 4(r27)
/* 800B4748 000B16A8 2C 00 00 01 */ cmpwi r0, 1
/* 800B474C 000B16AC 40 82 00 78 */ bne lbl_800B47C4
/* 800B4750 000B16B0 B0 C1 00 34 */ sth r6, 0x34(r1)
/* 800B4754 000B16B4 7F E3 FB 78 */ mr r3, r31
/* 800B4758 000B16B8 38 81 00 34 */ addi r4, r1, 0x34
/* 800B475C 000B16BC 4B F9 7E 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800B4760 000B16C0 28 03 00 00 */ cmplwi r3, 0
/* 800B4764 000B16C4 41 82 00 84 */ beq lbl_800B47E8
/* 800B4768 000B16C8 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B476C 000B16CC 80 A1 01 48 */ lwz r5, 0x148(r1)
/* 800B4770 000B16D0 82 5B 00 08 */ lwz r18, 8(r27)
/* 800B4774 000B16D4 7C 00 28 00 */ cmpw r0, r5
/* 800B4778 000B16D8 41 80 00 1C */ blt lbl_800B4794
/* 800B477C 000B16DC 2C 05 00 00 */ cmpwi r5, 0
/* 800B4780 000B16E0 38 61 01 40 */ addi r3, r1, 0x140
/* 800B4784 000B16E4 38 80 00 04 */ li r4, 4
/* 800B4788 000B16E8 41 82 00 08 */ beq lbl_800B4790
/* 800B478C 000B16EC 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B4790:
/* 800B4790 000B16F0 48 00 09 45 */ bl "reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi"
lbl_800B4794:
/* 800B4794 000B16F4 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4798 000B16F8 80 61 01 4C */ lwz r3, 0x14c(r1)
/* 800B479C 000B16FC 54 00 18 38 */ slwi r0, r0, 3
/* 800B47A0 000B1700 7C 63 02 15 */ add. r3, r3, r0
/* 800B47A4 000B1704 41 82 00 10 */ beq lbl_800B47B4
/* 800B47A8 000B1708 A0 01 00 48 */ lhz r0, 0x48(r1)
/* 800B47AC 000B170C B0 03 00 00 */ sth r0, 0(r3)
/* 800B47B0 000B1710 92 43 00 04 */ stw r18, 4(r3)
lbl_800B47B4:
/* 800B47B4 000B1714 80 61 01 44 */ lwz r3, 0x144(r1)
/* 800B47B8 000B1718 38 03 00 01 */ addi r0, r3, 1
/* 800B47BC 000B171C 90 01 01 44 */ stw r0, 0x144(r1)
/* 800B47C0 000B1720 48 00 00 28 */ b lbl_800B47E8
lbl_800B47C4:
/* 800B47C4 000B1724 A0 1C 00 08 */ lhz r0, 8(r28)
/* 800B47C8 000B1728 7F E3 FB 78 */ mr r3, r31
/* 800B47CC 000B172C 38 81 00 30 */ addi r4, r1, 0x30
/* 800B47D0 000B1730 38 A1 00 2C */ addi r5, r1, 0x2c
/* 800B47D4 000B1734 B0 01 00 2C */ sth r0, 0x2c(r1)
/* 800B47D8 000B1738 B0 C1 00 30 */ sth r6, 0x30(r1)
/* 800B47DC 000B173C B0 01 00 28 */ sth r0, 0x28(r1)
/* 800B47E0 000B1740 80 DB 00 04 */ lwz r6, 4(r27)
/* 800B47E4 000B1744 4B F8 F6 71 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId
lbl_800B47E8:
/* 800B47E8 000B1748 3B 7B 00 0C */ addi r27, r27, 0xc
lbl_800B47EC:
/* 800B47EC 000B174C 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800B47F0 000B1750 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 800B47F4 000B1754 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800B47F8 000B1758 7C 03 02 14 */ add r0, r3, r0
/* 800B47FC 000B175C 7C 1B 00 40 */ cmplw r27, r0
/* 800B4800 000B1760 40 82 FF 0C */ bne lbl_800B470C
/* 800B4804 000B1764 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4808 000B1768 2C 00 00 00 */ cmpwi r0, 0
/* 800B480C 000B176C 40 82 00 84 */ bne lbl_800B4890
/* 800B4810 000B1770 80 61 01 4C */ lwz r3, 0x14c(r1)
/* 800B4814 000B1774 54 00 18 38 */ slwi r0, r0, 3
/* 800B4818 000B1778 7C 03 02 14 */ add r0, r3, r0
/* 800B481C 000B177C 90 61 00 84 */ stw r3, 0x84(r1)
/* 800B4820 000B1780 7C 64 1B 78 */ mr r4, r3
/* 800B4824 000B1784 90 01 00 8C */ stw r0, 0x8c(r1)
/* 800B4828 000B1788 90 01 00 88 */ stw r0, 0x88(r1)
/* 800B482C 000B178C 90 61 00 80 */ stw r3, 0x80(r1)
/* 800B4830 000B1790 48 00 00 08 */ b lbl_800B4838
lbl_800B4834:
/* 800B4834 000B1794 38 84 00 08 */ addi r4, r4, 8
lbl_800B4838:
/* 800B4838 000B1798 7C 04 00 40 */ cmplw r4, r0
/* 800B483C 000B179C 40 82 FF F8 */ bne lbl_800B4834
/* 800B4840 000B17A0 28 03 00 00 */ cmplwi r3, 0
/* 800B4844 000B17A4 41 82 00 08 */ beq lbl_800B484C
/* 800B4848 000B17A8 48 26 10 E9 */ bl Free__7CMemoryFPCv
lbl_800B484C:
/* 800B484C 000B17AC 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4850 000B17B0 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B4854 000B17B4 54 00 08 3C */ slwi r0, r0, 1
/* 800B4858 000B17B8 7C 03 02 14 */ add r0, r3, r0
/* 800B485C 000B17BC 90 61 00 74 */ stw r3, 0x74(r1)
/* 800B4860 000B17C0 7C 64 1B 78 */ mr r4, r3
/* 800B4864 000B17C4 90 01 00 7C */ stw r0, 0x7c(r1)
/* 800B4868 000B17C8 90 01 00 78 */ stw r0, 0x78(r1)
/* 800B486C 000B17CC 90 61 00 70 */ stw r3, 0x70(r1)
/* 800B4870 000B17D0 48 00 00 08 */ b lbl_800B4878
lbl_800B4874:
/* 800B4874 000B17D4 38 84 00 02 */ addi r4, r4, 2
lbl_800B4878:
/* 800B4878 000B17D8 7C 04 00 40 */ cmplw r4, r0
/* 800B487C 000B17DC 40 82 FF F8 */ bne lbl_800B4874
/* 800B4880 000B17E0 28 03 00 00 */ cmplwi r3, 0
/* 800B4884 000B17E4 41 82 05 F8 */ beq lbl_800B4E7C
/* 800B4888 000B17E8 48 26 10 A9 */ bl Free__7CMemoryFPCv
/* 800B488C 000B17EC 48 00 05 F0 */ b lbl_800B4E7C
lbl_800B4890:
/* 800B4890 000B17F0 CB C2 8C E8 */ lfd f30, lbl_805AAA08@sda21(r2)
/* 800B4894 000B17F4 3B 21 00 F4 */ addi r25, r1, 0xf4
/* 800B4898 000B17F8 C3 E2 8C E0 */ lfs f31, lbl_805AAA00@sda21(r2)
/* 800B489C 000B17FC 3A E0 00 00 */ li r23, 0
/* 800B48A0 000B1800 3F 60 43 30 */ lis r27, 0x4330
/* 800B48A4 000B1804 48 00 05 4C */ b lbl_800B4DF0
lbl_800B48A8:
/* 800B48A8 000B1808 82 41 01 44 */ lwz r18, 0x144(r1)
/* 800B48AC 000B180C 2C 12 00 00 */ cmpwi r18, 0
/* 800B48B0 000B1810 41 82 05 4C */ beq lbl_800B4DFC
/* 800B48B4 000B1814 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B48B8 000B1818 2C 00 00 00 */ cmpwi r0, 0
/* 800B48BC 000B181C 41 82 05 40 */ beq lbl_800B4DFC
/* 800B48C0 000B1820 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 800B48C4 000B1824 48 25 DC 19 */ bl Float__9CRandom16Fv
/* 800B48C8 000B1828 6E 40 80 00 */ xoris r0, r18, 0x8000
/* 800B48CC 000B182C 93 61 01 60 */ stw r27, 0x160(r1)
/* 800B48D0 000B1830 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 800B48D4 000B1834 90 01 01 64 */ stw r0, 0x164(r1)
/* 800B48D8 000B1838 C8 01 01 60 */ lfd f0, 0x160(r1)
/* 800B48DC 000B183C EC 00 F0 28 */ fsubs f0, f0, f30
/* 800B48E0 000B1840 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B48E4 000B1844 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800B48E8 000B1848 FC 00 00 1E */ fctiwz f0, f0
/* 800B48EC 000B184C D8 01 01 68 */ stfd f0, 0x168(r1)
/* 800B48F0 000B1850 83 01 01 6C */ lwz r24, 0x16c(r1)
/* 800B48F4 000B1854 48 25 DB E9 */ bl Float__9CRandom16Fv
/* 800B48F8 000B1858 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B48FC 000B185C 3A A0 00 00 */ li r21, 0
/* 800B4900 000B1860 93 61 01 70 */ stw r27, 0x170(r1)
/* 800B4904 000B1864 3B 40 00 00 */ li r26, 0
/* 800B4908 000B1868 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800B490C 000B186C 90 01 01 74 */ stw r0, 0x174(r1)
/* 800B4910 000B1870 C8 01 01 70 */ lfd f0, 0x170(r1)
/* 800B4914 000B1874 EC 00 F0 28 */ fsubs f0, f0, f30
/* 800B4918 000B1878 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B491C 000B187C EC 1F 00 32 */ fmuls f0, f31, f0
/* 800B4920 000B1880 FC 00 00 1E */ fctiwz f0, f0
/* 800B4924 000B1884 D8 01 01 78 */ stfd f0, 0x178(r1)
/* 800B4928 000B1888 82 C1 01 7C */ lwz r22, 0x17c(r1)
/* 800B492C 000B188C 48 00 00 44 */ b lbl_800B4970
lbl_800B4930:
/* 800B4930 000B1890 80 A1 01 4C */ lwz r5, 0x14c(r1)
/* 800B4934 000B1894 7F E3 FB 78 */ mr r3, r31
/* 800B4938 000B1898 38 81 00 24 */ addi r4, r1, 0x24
/* 800B493C 000B189C 7C 05 D2 2E */ lhzx r0, r5, r26
/* 800B4940 000B18A0 B0 01 00 24 */ sth r0, 0x24(r1)
/* 800B4944 000B18A4 4B F9 7C 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800B4948 000B18A8 7C 64 1B 78 */ mr r4, r3
/* 800B494C 000B18AC 38 61 00 B0 */ addi r3, r1, 0xb0
/* 800B4950 000B18B0 4B FF 3B 89 */ bl "__ct__26TCastToPtr<12CScriptSound>FP7CEntity"
/* 800B4954 000B18B4 80 03 00 04 */ lwz r0, 4(r3)
/* 800B4958 000B18B8 28 00 00 00 */ cmplwi r0, 0
/* 800B495C 000B18BC 41 82 00 0C */ beq lbl_800B4968
/* 800B4960 000B18C0 7E B8 AB 78 */ mr r24, r21
/* 800B4964 000B18C4 48 00 00 18 */ b lbl_800B497C
lbl_800B4968:
/* 800B4968 000B18C8 3B 5A 00 08 */ addi r26, r26, 8
/* 800B496C 000B18CC 3A B5 00 01 */ addi r21, r21, 1
lbl_800B4970:
/* 800B4970 000B18D0 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4974 000B18D4 7C 15 00 00 */ cmpw r21, r0
/* 800B4978 000B18D8 41 80 FF B8 */ blt lbl_800B4930
lbl_800B497C:
/* 800B497C 000B18DC 80 01 01 4C */ lwz r0, 0x14c(r1)
/* 800B4980 000B18E0 57 1A 18 38 */ slwi r26, r24, 3
/* 800B4984 000B18E4 7F E3 FB 78 */ mr r3, r31
/* 800B4988 000B18E8 38 81 00 20 */ addi r4, r1, 0x20
/* 800B498C 000B18EC 7C C0 D2 14 */ add r6, r0, r26
/* 800B4990 000B18F0 A0 A6 00 00 */ lhz r5, 0(r6)
/* 800B4994 000B18F4 B0 A1 00 F0 */ sth r5, 0xf0(r1)
/* 800B4998 000B18F8 80 06 00 04 */ lwz r0, 4(r6)
/* 800B499C 000B18FC 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 800B49A0 000B1900 B0 A1 00 20 */ sth r5, 0x20(r1)
/* 800B49A4 000B1904 4B F9 7B D1 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B49A8 000B1908 80 81 01 5C */ lwz r4, 0x15c(r1)
/* 800B49AC 000B190C 56 D8 08 3C */ slwi r24, r22, 1
/* 800B49B0 000B1910 7C 72 1B 78 */ mr r18, r3
/* 800B49B4 000B1914 7F E3 FB 78 */ mr r3, r31
/* 800B49B8 000B1918 7C 04 C2 2E */ lhzx r0, r4, r24
/* 800B49BC 000B191C 38 81 00 1C */ addi r4, r1, 0x1c
/* 800B49C0 000B1920 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 800B49C4 000B1924 4B F9 7B B1 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B49C8 000B1928 28 12 00 00 */ cmplwi r18, 0
/* 800B49CC 000B192C 7C 75 1B 78 */ mr r21, r3
/* 800B49D0 000B1930 41 82 04 2C */ beq lbl_800B4DFC
/* 800B49D4 000B1934 28 15 00 00 */ cmplwi r21, 0
/* 800B49D8 000B1938 41 82 04 24 */ beq lbl_800B4DFC
/* 800B49DC 000B193C 88 DF 0F 94 */ lbz r6, 0xf94(r31)
/* 800B49E0 000B1940 38 60 00 01 */ li r3, 1
/* 800B49E4 000B1944 88 1F 0F 94 */ lbz r0, 0xf94(r31)
/* 800B49E8 000B1948 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 800B49EC 000B194C 7F E4 FB 78 */ mr r4, r31
/* 800B49F0 000B1950 7F 25 CB 78 */ mr r5, r25
/* 800B49F4 000B1954 98 1F 0F 94 */ stb r0, 0xf94(r31)
/* 800B49F8 000B1958 54 D2 DF FE */ rlwinm r18, r6, 0x1b, 0x1f, 0x1f
/* 800B49FC 000B195C 38 61 00 E8 */ addi r3, r1, 0xe8
/* 800B4A00 000B1960 4B F9 38 E9 */ bl GenerateObject__13CStateManagerF9TEditorId
/* 800B4A04 000B1964 A0 81 00 EC */ lhz r4, 0xec(r1)
/* 800B4A08 000B1968 88 1F 0F 94 */ lbz r0, 0xf94(r31)
/* 800B4A0C 000B196C 52 40 2E B4 */ rlwimi r0, r18, 5, 0x1a, 0x1a
/* 800B4A10 000B1970 54 83 04 3E */ clrlwi r3, r4, 0x10
/* 800B4A14 000B1974 B0 81 00 44 */ sth r4, 0x44(r1)
/* 800B4A18 000B1978 98 1F 0F 94 */ stb r0, 0xf94(r31)
/* 800B4A1C 000B197C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 800B4A20 000B1980 7C 03 00 40 */ cmplw r3, r0
/* 800B4A24 000B1984 41 82 03 7C */ beq lbl_800B4DA0
/* 800B4A28 000B1988 B0 81 00 18 */ sth r4, 0x18(r1)
/* 800B4A2C 000B198C 7F E3 FB 78 */ mr r3, r31
/* 800B4A30 000B1990 38 81 00 18 */ addi r4, r1, 0x18
/* 800B4A34 000B1994 4B F9 7B 41 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B4A38 000B1998 7C 60 1B 78 */ mr r0, r3
/* 800B4A3C 000B199C 38 61 00 E0 */ addi r3, r1, 0xe0
/* 800B4A40 000B19A0 7C 16 03 78 */ mr r22, r0
/* 800B4A44 000B19A4 7E C4 B3 78 */ mr r4, r22
/* 800B4A48 000B19A8 4B FF B2 49 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4A4C 000B19AC 82 83 00 04 */ lwz r20, 4(r3)
/* 800B4A50 000B19B0 7E A4 AB 78 */ mr r4, r21
/* 800B4A54 000B19B4 38 61 00 D8 */ addi r3, r1, 0xd8
/* 800B4A58 000B19B8 4B FF B2 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4A5C 000B19BC 82 63 00 04 */ lwz r19, 4(r3)
/* 800B4A60 000B19C0 7E A4 AB 78 */ mr r4, r21
/* 800B4A64 000B19C4 38 61 00 D0 */ addi r3, r1, 0xd0
/* 800B4A68 000B19C8 4B FF 11 A9 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity"
/* 800B4A6C 000B19CC 28 14 00 00 */ cmplwi r20, 0
/* 800B4A70 000B19D0 82 43 00 04 */ lwz r18, 4(r3)
/* 800B4A74 000B19D4 41 82 00 98 */ beq lbl_800B4B0C
/* 800B4A78 000B19D8 28 12 00 00 */ cmplwi r18, 0
/* 800B4A7C 000B19DC 41 82 00 90 */ beq lbl_800B4B0C
/* 800B4A80 000B19E0 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4A84 000B19E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4A88 000B19E8 40 82 00 38 */ bne lbl_800B4AC0
/* 800B4A8C 000B19EC 38 74 00 34 */ addi r3, r20, 0x34
/* 800B4A90 000B19F0 38 92 00 34 */ addi r4, r18, 0x34
/* 800B4A94 000B19F4 48 25 E0 AD */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4A98 000B19F8 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4A9C 000B19FC 38 60 00 01 */ li r3, 1
/* 800B4AA0 000B1A00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4AA4 000B1A04 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4AA8 000B1A08 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4AAC 000B1A0C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4AB0 000B1A10 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4AB4 000B1A14 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4AB8 000B1A18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4ABC 000B1A1C 98 14 00 E4 */ stb r0, 0xe4(r20)
lbl_800B4AC0:
/* 800B4AC0 000B1A20 C0 B2 01 30 */ lfs f5, 0x130(r18)
/* 800B4AC4 000B1A24 7E 83 A3 78 */ mr r3, r20
/* 800B4AC8 000B1A28 C0 92 01 34 */ lfs f4, 0x134(r18)
/* 800B4ACC 000B1A2C 38 81 01 34 */ addi r4, r1, 0x134
/* 800B4AD0 000B1A30 C0 72 01 38 */ lfs f3, 0x138(r18)
/* 800B4AD4 000B1A34 C0 5C 00 40 */ lfs f2, 0x40(r28)
/* 800B4AD8 000B1A38 C0 3C 00 44 */ lfs f1, 0x44(r28)
/* 800B4ADC 000B1A3C C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4AE0 000B1A40 EC 44 10 2A */ fadds f2, f4, f2
/* 800B4AE4 000B1A44 EC 23 08 2A */ fadds f1, f3, f1
/* 800B4AE8 000B1A48 D0 A1 01 28 */ stfs f5, 0x128(r1)
/* 800B4AEC 000B1A4C EC 05 00 2A */ fadds f0, f5, f0
/* 800B4AF0 000B1A50 D0 81 01 2C */ stfs f4, 0x12c(r1)
/* 800B4AF4 000B1A54 D0 61 01 30 */ stfs f3, 0x130(r1)
/* 800B4AF8 000B1A58 D0 01 01 34 */ stfs f0, 0x134(r1)
/* 800B4AFC 000B1A5C D0 41 01 38 */ stfs f2, 0x138(r1)
/* 800B4B00 000B1A60 D0 21 01 3C */ stfs f1, 0x13c(r1)
/* 800B4B04 000B1A64 4B F9 E3 89 */ bl SetTranslation__6CActorFRC9CVector3f
/* 800B4B08 000B1A68 48 00 00 90 */ b lbl_800B4B98
lbl_800B4B0C:
/* 800B4B0C 000B1A6C 28 14 00 00 */ cmplwi r20, 0
/* 800B4B10 000B1A70 41 82 00 88 */ beq lbl_800B4B98
/* 800B4B14 000B1A74 28 13 00 00 */ cmplwi r19, 0
/* 800B4B18 000B1A78 41 82 00 80 */ beq lbl_800B4B98
/* 800B4B1C 000B1A7C 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4B20 000B1A80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4B24 000B1A84 40 82 00 38 */ bne lbl_800B4B5C
/* 800B4B28 000B1A88 38 74 00 34 */ addi r3, r20, 0x34
/* 800B4B2C 000B1A8C 38 93 00 34 */ addi r4, r19, 0x34
/* 800B4B30 000B1A90 48 25 E0 11 */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4B34 000B1A94 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4B38 000B1A98 38 60 00 01 */ li r3, 1
/* 800B4B3C 000B1A9C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4B40 000B1AA0 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4B44 000B1AA4 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4B48 000B1AA8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4B4C 000B1AAC 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4B50 000B1AB0 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4B54 000B1AB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4B58 000B1AB8 98 14 00 E4 */ stb r0, 0xe4(r20)
lbl_800B4B5C:
/* 800B4B5C 000B1ABC C0 33 00 50 */ lfs f1, 0x50(r19)
/* 800B4B60 000B1AC0 7E 83 A3 78 */ mr r3, r20
/* 800B4B64 000B1AC4 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 800B4B68 000B1AC8 38 81 01 1C */ addi r4, r1, 0x11c
/* 800B4B6C 000B1ACC C0 73 00 60 */ lfs f3, 0x60(r19)
/* 800B4B70 000B1AD0 C0 5C 00 44 */ lfs f2, 0x44(r28)
/* 800B4B74 000B1AD4 EC 81 00 2A */ fadds f4, f1, f0
/* 800B4B78 000B1AD8 C0 33 00 40 */ lfs f1, 0x40(r19)
/* 800B4B7C 000B1ADC C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4B80 000B1AE0 EC 43 10 2A */ fadds f2, f3, f2
/* 800B4B84 000B1AE4 EC 01 00 2A */ fadds f0, f1, f0
/* 800B4B88 000B1AE8 D0 81 01 20 */ stfs f4, 0x120(r1)
/* 800B4B8C 000B1AEC D0 41 01 24 */ stfs f2, 0x124(r1)
/* 800B4B90 000B1AF0 D0 01 01 1C */ stfs f0, 0x11c(r1)
/* 800B4B94 000B1AF4 4B F9 E2 F9 */ bl SetTranslation__6CActorFRC9CVector3f
lbl_800B4B98:
/* 800B4B98 000B1AF8 28 16 00 00 */ cmplwi r22, 0
/* 800B4B9C 000B1AFC 41 82 02 04 */ beq lbl_800B4DA0
/* 800B4BA0 000B1B00 A0 01 00 44 */ lhz r0, 0x44(r1)
/* 800B4BA4 000B1B04 7F E3 FB 78 */ mr r3, r31
/* 800B4BA8 000B1B08 38 81 00 14 */ addi r4, r1, 0x14
/* 800B4BAC 000B1B0C B0 01 00 14 */ sth r0, 0x14(r1)
/* 800B4BB0 000B1B10 4B F9 79 C5 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B4BB4 000B1B14 7C 60 1B 78 */ mr r0, r3
/* 800B4BB8 000B1B18 38 61 00 C8 */ addi r3, r1, 0xc8
/* 800B4BBC 000B1B1C 7C 12 03 78 */ mr r18, r0
/* 800B4BC0 000B1B20 7E 44 93 78 */ mr r4, r18
/* 800B4BC4 000B1B24 4B FF B0 CD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4BC8 000B1B28 82 63 00 04 */ lwz r19, 4(r3)
/* 800B4BCC 000B1B2C 7E A4 AB 78 */ mr r4, r21
/* 800B4BD0 000B1B30 38 61 00 C0 */ addi r3, r1, 0xc0
/* 800B4BD4 000B1B34 4B FF B0 BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4BD8 000B1B38 82 83 00 04 */ lwz r20, 4(r3)
/* 800B4BDC 000B1B3C 7E A4 AB 78 */ mr r4, r21
/* 800B4BE0 000B1B40 38 61 00 B8 */ addi r3, r1, 0xb8
/* 800B4BE4 000B1B44 4B FF 10 2D */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity"
/* 800B4BE8 000B1B48 28 13 00 00 */ cmplwi r19, 0
/* 800B4BEC 000B1B4C 82 A3 00 04 */ lwz r21, 4(r3)
/* 800B4BF0 000B1B50 41 82 01 90 */ beq lbl_800B4D80
/* 800B4BF4 000B1B54 41 82 00 98 */ beq lbl_800B4C8C
/* 800B4BF8 000B1B58 28 15 00 00 */ cmplwi r21, 0
/* 800B4BFC 000B1B5C 41 82 00 90 */ beq lbl_800B4C8C
/* 800B4C00 000B1B60 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4C04 000B1B64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4C08 000B1B68 40 82 00 38 */ bne lbl_800B4C40
/* 800B4C0C 000B1B6C 38 73 00 34 */ addi r3, r19, 0x34
/* 800B4C10 000B1B70 38 95 00 34 */ addi r4, r21, 0x34
/* 800B4C14 000B1B74 48 25 DF 2D */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4C18 000B1B78 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4C1C 000B1B7C 38 60 00 01 */ li r3, 1
/* 800B4C20 000B1B80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4C24 000B1B84 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4C28 000B1B88 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4C2C 000B1B8C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4C30 000B1B90 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4C34 000B1B94 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4C38 000B1B98 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4C3C 000B1B9C 98 13 00 E4 */ stb r0, 0xe4(r19)
lbl_800B4C40:
/* 800B4C40 000B1BA0 C0 B5 01 30 */ lfs f5, 0x130(r21)
/* 800B4C44 000B1BA4 7E 63 9B 78 */ mr r3, r19
/* 800B4C48 000B1BA8 C0 95 01 34 */ lfs f4, 0x134(r21)
/* 800B4C4C 000B1BAC 38 81 01 10 */ addi r4, r1, 0x110
/* 800B4C50 000B1BB0 C0 75 01 38 */ lfs f3, 0x138(r21)
/* 800B4C54 000B1BB4 C0 5C 00 40 */ lfs f2, 0x40(r28)
/* 800B4C58 000B1BB8 C0 3C 00 44 */ lfs f1, 0x44(r28)
/* 800B4C5C 000B1BBC C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4C60 000B1BC0 EC 44 10 2A */ fadds f2, f4, f2
/* 800B4C64 000B1BC4 EC 23 08 2A */ fadds f1, f3, f1
/* 800B4C68 000B1BC8 D0 A1 01 04 */ stfs f5, 0x104(r1)
/* 800B4C6C 000B1BCC EC 05 00 2A */ fadds f0, f5, f0
/* 800B4C70 000B1BD0 D0 81 01 08 */ stfs f4, 0x108(r1)
/* 800B4C74 000B1BD4 D0 61 01 0C */ stfs f3, 0x10c(r1)
/* 800B4C78 000B1BD8 D0 01 01 10 */ stfs f0, 0x110(r1)
/* 800B4C7C 000B1BDC D0 41 01 14 */ stfs f2, 0x114(r1)
/* 800B4C80 000B1BE0 D0 21 01 18 */ stfs f1, 0x118(r1)
/* 800B4C84 000B1BE4 4B F9 E2 09 */ bl SetTranslation__6CActorFRC9CVector3f
/* 800B4C88 000B1BE8 48 00 00 90 */ b lbl_800B4D18
lbl_800B4C8C:
/* 800B4C8C 000B1BEC 28 13 00 00 */ cmplwi r19, 0
/* 800B4C90 000B1BF0 41 82 00 88 */ beq lbl_800B4D18
/* 800B4C94 000B1BF4 28 14 00 00 */ cmplwi r20, 0
/* 800B4C98 000B1BF8 41 82 00 80 */ beq lbl_800B4D18
/* 800B4C9C 000B1BFC 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4CA0 000B1C00 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4CA4 000B1C04 40 82 00 38 */ bne lbl_800B4CDC
/* 800B4CA8 000B1C08 38 73 00 34 */ addi r3, r19, 0x34
/* 800B4CAC 000B1C0C 38 94 00 34 */ addi r4, r20, 0x34
/* 800B4CB0 000B1C10 48 25 DE 91 */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4CB4 000B1C14 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4CB8 000B1C18 38 60 00 01 */ li r3, 1
/* 800B4CBC 000B1C1C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4CC0 000B1C20 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4CC4 000B1C24 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4CC8 000B1C28 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4CCC 000B1C2C 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4CD0 000B1C30 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4CD4 000B1C34 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4CD8 000B1C38 98 13 00 E4 */ stb r0, 0xe4(r19)
lbl_800B4CDC:
/* 800B4CDC 000B1C3C C0 34 00 50 */ lfs f1, 0x50(r20)
/* 800B4CE0 000B1C40 7E 63 9B 78 */ mr r3, r19
/* 800B4CE4 000B1C44 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 800B4CE8 000B1C48 38 81 00 F8 */ addi r4, r1, 0xf8
/* 800B4CEC 000B1C4C C0 74 00 60 */ lfs f3, 0x60(r20)
/* 800B4CF0 000B1C50 C0 5C 00 44 */ lfs f2, 0x44(r28)
/* 800B4CF4 000B1C54 EC 81 00 2A */ fadds f4, f1, f0
/* 800B4CF8 000B1C58 C0 34 00 40 */ lfs f1, 0x40(r20)
/* 800B4CFC 000B1C5C C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4D00 000B1C60 EC 43 10 2A */ fadds f2, f3, f2
/* 800B4D04 000B1C64 EC 01 00 2A */ fadds f0, f1, f0
/* 800B4D08 000B1C68 D0 81 00 FC */ stfs f4, 0xfc(r1)
/* 800B4D0C 000B1C6C D0 41 01 00 */ stfs f2, 0x100(r1)
/* 800B4D10 000B1C70 D0 01 00 F8 */ stfs f0, 0xf8(r1)
/* 800B4D14 000B1C74 4B F9 E1 79 */ bl SetTranslation__6CActorFRC9CVector3f
lbl_800B4D18:
/* 800B4D18 000B1C78 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 800B4D1C 000B1C7C C0 3C 00 48 */ lfs f1, 0x48(r28)
/* 800B4D20 000B1C80 C0 5C 00 4C */ lfs f2, 0x4c(r28)
/* 800B4D24 000B1C84 48 25 D8 21 */ bl Range__9CRandom16Fff
/* 800B4D28 000B1C88 80 93 00 64 */ lwz r4, 0x64(r19)
/* 800B4D2C 000B1C8C 38 60 00 00 */ li r3, 0
/* 800B4D30 000B1C90 28 04 00 00 */ cmplwi r4, 0
/* 800B4D34 000B1C94 41 82 00 20 */ beq lbl_800B4D54
/* 800B4D38 000B1C98 80 04 00 10 */ lwz r0, 0x10(r4)
/* 800B4D3C 000B1C9C 28 00 00 00 */ cmplwi r0, 0
/* 800B4D40 000B1CA0 40 82 00 10 */ bne lbl_800B4D50
/* 800B4D44 000B1CA4 88 04 00 28 */ lbz r0, 0x28(r4)
/* 800B4D48 000B1CA8 28 00 00 00 */ cmplwi r0, 0
/* 800B4D4C 000B1CAC 41 82 00 08 */ beq lbl_800B4D54
lbl_800B4D50:
/* 800B4D50 000B1CB0 38 60 00 01 */ li r3, 1
lbl_800B4D54:
/* 800B4D54 000B1CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800B4D58 000B1CB8 41 82 00 28 */ beq lbl_800B4D80
/* 800B4D5C 000B1CBC C0 04 00 00 */ lfs f0, 0(r4)
/* 800B4D60 000B1CC0 C0 64 00 04 */ lfs f3, 4(r4)
/* 800B4D64 000B1CC4 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B4D68 000B1CC8 C0 44 00 08 */ lfs f2, 8(r4)
/* 800B4D6C 000B1CCC EC 61 00 F2 */ fmuls f3, f1, f3
/* 800B4D70 000B1CD0 EC 21 00 B2 */ fmuls f1, f1, f2
/* 800B4D74 000B1CD4 D0 04 00 00 */ stfs f0, 0(r4)
/* 800B4D78 000B1CD8 D0 64 00 04 */ stfs f3, 4(r4)
/* 800B4D7C 000B1CDC D0 24 00 08 */ stfs f1, 8(r4)
lbl_800B4D80:
/* 800B4D80 000B1CE0 A0 1C 00 08 */ lhz r0, 8(r28)
/* 800B4D84 000B1CE4 7F E3 FB 78 */ mr r3, r31
/* 800B4D88 000B1CE8 7E 44 93 78 */ mr r4, r18
/* 800B4D8C 000B1CEC 38 A1 00 10 */ addi r5, r1, 0x10
/* 800B4D90 000B1CF0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800B4D94 000B1CF4 38 C0 00 01 */ li r6, 1
/* 800B4D98 000B1CF8 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800B4D9C 000B1CFC 4B F8 F1 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
lbl_800B4DA0:
/* 800B4DA0 000B1D00 80 01 01 4C */ lwz r0, 0x14c(r1)
/* 800B4DA4 000B1D04 38 61 00 A4 */ addi r3, r1, 0xa4
/* 800B4DA8 000B1D08 38 81 01 40 */ addi r4, r1, 0x140
/* 800B4DAC 000B1D0C 38 A1 00 A0 */ addi r5, r1, 0xa0
/* 800B4DB0 000B1D10 7C 00 D2 14 */ add r0, r0, r26
/* 800B4DB4 000B1D14 90 01 00 9C */ stw r0, 0x9c(r1)
/* 800B4DB8 000B1D18 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 800B4DBC 000B1D1C 48 00 01 01 */ bl sub_800b4ebc
/* 800B4DC0 000B1D20 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4DC4 000B1D24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800B4DC8 000B1D28 41 82 00 24 */ beq lbl_800B4DEC
/* 800B4DCC 000B1D2C 80 01 01 5C */ lwz r0, 0x15c(r1)
/* 800B4DD0 000B1D30 38 61 00 98 */ addi r3, r1, 0x98
/* 800B4DD4 000B1D34 38 81 01 50 */ addi r4, r1, 0x150
/* 800B4DD8 000B1D38 38 A1 00 94 */ addi r5, r1, 0x94
/* 800B4DDC 000B1D3C 7C 00 C2 14 */ add r0, r0, r24
/* 800B4DE0 000B1D40 90 01 00 90 */ stw r0, 0x90(r1)
/* 800B4DE4 000B1D44 90 01 00 94 */ stw r0, 0x94(r1)
/* 800B4DE8 000B1D48 4B F5 64 71 */ bl "find<Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,9TUniqueId>__4rstlFQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC9TUniqueId"
lbl_800B4DEC:
/* 800B4DEC 000B1D4C 3A F7 00 01 */ addi r23, r23, 1
lbl_800B4DF0:
/* 800B4DF0 000B1D50 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 800B4DF4 000B1D54 7C 17 00 00 */ cmpw r23, r0
/* 800B4DF8 000B1D58 41 80 FA B0 */ blt lbl_800B48A8
lbl_800B4DFC:
/* 800B4DFC 000B1D5C 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4E00 000B1D60 80 61 01 4C */ lwz r3, 0x14c(r1)
/* 800B4E04 000B1D64 54 00 18 38 */ slwi r0, r0, 3
/* 800B4E08 000B1D68 7C 03 02 14 */ add r0, r3, r0
/* 800B4E0C 000B1D6C 90 61 00 64 */ stw r3, 0x64(r1)
/* 800B4E10 000B1D70 7C 64 1B 78 */ mr r4, r3
/* 800B4E14 000B1D74 90 01 00 6C */ stw r0, 0x6c(r1)
/* 800B4E18 000B1D78 90 01 00 68 */ stw r0, 0x68(r1)
/* 800B4E1C 000B1D7C 90 61 00 60 */ stw r3, 0x60(r1)
/* 800B4E20 000B1D80 48 00 00 08 */ b lbl_800B4E28
lbl_800B4E24:
/* 800B4E24 000B1D84 38 84 00 08 */ addi r4, r4, 8
lbl_800B4E28:
/* 800B4E28 000B1D88 7C 04 00 40 */ cmplw r4, r0
/* 800B4E2C 000B1D8C 40 82 FF F8 */ bne lbl_800B4E24
/* 800B4E30 000B1D90 28 03 00 00 */ cmplwi r3, 0
/* 800B4E34 000B1D94 41 82 00 08 */ beq lbl_800B4E3C
/* 800B4E38 000B1D98 48 26 0A F9 */ bl Free__7CMemoryFPCv
lbl_800B4E3C:
/* 800B4E3C 000B1D9C 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4E40 000B1DA0 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B4E44 000B1DA4 54 00 08 3C */ slwi r0, r0, 1
/* 800B4E48 000B1DA8 7C 03 02 14 */ add r0, r3, r0
/* 800B4E4C 000B1DAC 90 61 00 54 */ stw r3, 0x54(r1)
/* 800B4E50 000B1DB0 7C 64 1B 78 */ mr r4, r3
/* 800B4E54 000B1DB4 90 01 00 5C */ stw r0, 0x5c(r1)
/* 800B4E58 000B1DB8 90 01 00 58 */ stw r0, 0x58(r1)
/* 800B4E5C 000B1DBC 90 61 00 50 */ stw r3, 0x50(r1)
/* 800B4E60 000B1DC0 48 00 00 08 */ b lbl_800B4E68
lbl_800B4E64:
/* 800B4E64 000B1DC4 38 84 00 02 */ addi r4, r4, 2
lbl_800B4E68:
/* 800B4E68 000B1DC8 7C 04 00 40 */ cmplw r4, r0
/* 800B4E6C 000B1DCC 40 82 FF F8 */ bne lbl_800B4E64
/* 800B4E70 000B1DD0 28 03 00 00 */ cmplwi r3, 0
/* 800B4E74 000B1DD4 41 82 00 08 */ beq lbl_800B4E7C
/* 800B4E78 000B1DD8 48 26 0A B9 */ bl Free__7CMemoryFPCv
lbl_800B4E7C:
/* 800B4E7C 000B1DDC A0 1E 00 00 */ lhz r0, 0(r30)
/* 800B4E80 000B1DE0 7F 83 E3 78 */ mr r3, r28
/* 800B4E84 000B1DE4 7F A4 EB 78 */ mr r4, r29
/* 800B4E88 000B1DE8 7F E6 FB 78 */ mr r6, r31
/* 800B4E8C 000B1DEC B0 01 00 08 */ sth r0, 8(r1)
/* 800B4E90 000B1DF0 38 A1 00 08 */ addi r5, r1, 8
/* 800B4E94 000B1DF4 4B F9 C2 C9 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800B4E98 000B1DF8 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0
/* 800B4E9C 000B1DFC CB E1 01 D0 */ lfd f31, 0x1d0(r1)
/* 800B4EA0 000B1E00 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0
/* 800B4EA4 000B1E04 CB C1 01 C0 */ lfd f30, 0x1c0(r1)
/* 800B4EA8 000B1E08 BA 41 01 88 */ lmw r18, 0x188(r1)
/* 800B4EAC 000B1E0C 80 01 01 E4 */ lwz r0, 0x1e4(r1)
/* 800B4EB0 000B1E10 7C 08 03 A6 */ mtlr r0
/* 800B4EB4 000B1E14 38 21 01 E0 */ addi r1, r1, 0x1e0
/* 800B4EB8 000B1E18 4E 80 00 20 */ blr
.global sub_800b4ebc
sub_800b4ebc:
/* 800B4EBC 000B1E1C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B4EC0 000B1E20 7C 08 02 A6 */ mflr r0
/* 800B4EC4 000B1E24 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B4EC8 000B1E28 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B4ECC 000B1E2C 7C 7F 1B 78 */ mr r31, r3
/* 800B4ED0 000B1E30 80 C5 00 00 */ lwz r6, 0(r5)
/* 800B4ED4 000B1E34 80 05 00 00 */ lwz r0, 0(r5)
/* 800B4ED8 000B1E38 38 A1 00 10 */ addi r5, r1, 0x10
/* 800B4EDC 000B1E3C 38 E6 00 08 */ addi r7, r6, 8
/* 800B4EE0 000B1E40 38 C1 00 0C */ addi r6, r1, 0xc
/* 800B4EE4 000B1E44 90 E1 00 08 */ stw r7, 8(r1)
/* 800B4EE8 000B1E48 90 E1 00 0C */ stw r7, 0xc(r1)
/* 800B4EEC 000B1E4C 90 01 00 10 */ stw r0, 0x10(r1)
/* 800B4EF0 000B1E50 48 00 00 19 */ bl sub_800b4f08
/* 800B4EF4 000B1E54 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B4EF8 000B1E58 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B4EFC 000B1E5C 7C 08 03 A6 */ mtlr r0
/* 800B4F00 000B1E60 38 21 00 20 */ addi r1, r1, 0x20
/* 800B4F04 000B1E64 4E 80 00 20 */ blr
.global sub_800b4f08
sub_800b4f08:
/* 800B4F08 000B1E68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B4F0C 000B1E6C 80 E5 00 00 */ lwz r7, 0(r5)
/* 800B4F10 000B1E70 80 06 00 00 */ lwz r0, 0(r6)
/* 800B4F14 000B1E74 90 E1 00 0C */ stw r7, 0xc(r1)
/* 800B4F18 000B1E78 90 01 00 08 */ stw r0, 8(r1)
/* 800B4F1C 000B1E7C 48 00 00 08 */ b lbl_800B4F24
lbl_800B4F20:
/* 800B4F20 000B1E80 38 E7 00 08 */ addi r7, r7, 8
lbl_800B4F24:
/* 800B4F24 000B1E84 7C 07 00 40 */ cmplw r7, r0
/* 800B4F28 000B1E88 40 82 FF F8 */ bne lbl_800B4F20
/* 800B4F2C 000B1E8C 81 04 00 0C */ lwz r8, 0xc(r4)
/* 800B4F30 000B1E90 80 05 00 00 */ lwz r0, 0(r5)
/* 800B4F34 000B1E94 80 E6 00 00 */ lwz r7, 0(r6)
/* 800B4F38 000B1E98 7C 08 00 50 */ subf r0, r8, r0
/* 800B4F3C 000B1E9C 7C 00 1E 70 */ srawi r0, r0, 3
/* 800B4F40 000B1EA0 7C C0 01 94 */ addze r6, r0
/* 800B4F44 000B1EA4 54 C0 18 38 */ slwi r0, r6, 3
/* 800B4F48 000B1EA8 7C C9 33 78 */ mr r9, r6
/* 800B4F4C 000B1EAC 7D 08 02 14 */ add r8, r8, r0
/* 800B4F50 000B1EB0 48 00 00 28 */ b lbl_800B4F78
lbl_800B4F54:
/* 800B4F54 000B1EB4 28 08 00 00 */ cmplwi r8, 0
/* 800B4F58 000B1EB8 41 82 00 14 */ beq lbl_800B4F6C
/* 800B4F5C 000B1EBC A0 07 00 00 */ lhz r0, 0(r7)
/* 800B4F60 000B1EC0 B0 08 00 00 */ sth r0, 0(r8)
/* 800B4F64 000B1EC4 80 07 00 04 */ lwz r0, 4(r7)
/* 800B4F68 000B1EC8 90 08 00 04 */ stw r0, 4(r8)
lbl_800B4F6C:
/* 800B4F6C 000B1ECC 39 08 00 08 */ addi r8, r8, 8
/* 800B4F70 000B1ED0 39 29 00 01 */ addi r9, r9, 1
/* 800B4F74 000B1ED4 38 E7 00 08 */ addi r7, r7, 8
lbl_800B4F78:
/* 800B4F78 000B1ED8 80 04 00 04 */ lwz r0, 4(r4)
/* 800B4F7C 000B1EDC 80 C4 00 0C */ lwz r6, 0xc(r4)
/* 800B4F80 000B1EE0 54 00 18 38 */ slwi r0, r0, 3
/* 800B4F84 000B1EE4 7C 06 02 14 */ add r0, r6, r0
/* 800B4F88 000B1EE8 7C 07 00 40 */ cmplw r7, r0
/* 800B4F8C 000B1EEC 40 82 FF C8 */ bne lbl_800B4F54
/* 800B4F90 000B1EF0 91 24 00 04 */ stw r9, 4(r4)
/* 800B4F94 000B1EF4 80 05 00 00 */ lwz r0, 0(r5)
/* 800B4F98 000B1EF8 90 03 00 00 */ stw r0, 0(r3)
/* 800B4F9C 000B1EFC 38 21 00 10 */ addi r1, r1, 0x10
/* 800B4FA0 000B1F00 4E 80 00 20 */ blr
.global __dt__16CScriptGenerator
__dt__16CScriptGenerator:
/* 800B4FA4 000B1F04 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B4FA8 000B1F08 7C 08 02 A6 */ mflr r0
/* 800B4FAC 000B1F0C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B4FB0 000B1F10 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B4FB4 000B1F14 7C 9F 23 78 */ mr r31, r4
/* 800B4FB8 000B1F18 93 C1 00 08 */ stw r30, 8(r1)
/* 800B4FBC 000B1F1C 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B4FC0 000B1F20 41 82 00 28 */ beq lbl_800B4FE8
/* 800B4FC4 000B1F24 3C A0 80 3E */ lis r5, lbl_803DF328@ha
/* 800B4FC8 000B1F28 38 80 00 00 */ li r4, 0
/* 800B4FCC 000B1F2C 38 05 F3 28 */ addi r0, r5, lbl_803DF328@l
/* 800B4FD0 000B1F30 90 1E 00 00 */ stw r0, 0(r30)
/* 800B4FD4 000B1F34 4B F9 C2 A1 */ bl __dt__7CEntityFv
/* 800B4FD8 000B1F38 7F E0 07 35 */ extsh. r0, r31
/* 800B4FDC 000B1F3C 40 81 00 0C */ ble lbl_800B4FE8
/* 800B4FE0 000B1F40 7F C3 F3 78 */ mr r3, r30
/* 800B4FE4 000B1F44 48 26 09 4D */ bl Free__7CMemoryFPCv
lbl_800B4FE8:
/* 800B4FE8 000B1F48 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B4FEC 000B1F4C 7F C3 F3 78 */ mr r3, r30
/* 800B4FF0 000B1F50 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B4FF4 000B1F54 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B4FF8 000B1F58 7C 08 03 A6 */ mtlr r0
/* 800B4FFC 000B1F5C 38 21 00 10 */ addi r1, r1, 0x10
/* 800B5000 000B1F60 4E 80 00 20 */ blr
.global "__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff"
"__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff":
/* 800B5004 000B1F64 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800B5008 000B1F68 7C 08 02 A6 */ mflr r0
/* 800B500C 000B1F6C 90 01 00 54 */ stw r0, 0x54(r1)
/* 800B5010 000B1F70 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 800B5014 000B1F74 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 800B5018 000B1F78 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 800B501C 000B1F7C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 800B5020 000B1F80 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 800B5024 000B1F84 A0 04 00 00 */ lhz r0, 0(r4)
/* 800B5028 000B1F88 7C AB 2B 78 */ mr r11, r5
/* 800B502C 000B1F8C FF C0 08 90 */ fmr f30, f1
/* 800B5030 000B1F90 88 81 00 5B */ lbz r4, 0x5b(r1)
/* 800B5034 000B1F94 FF E0 10 90 */ fmr f31, f2
/* 800B5038 000B1F98 B0 01 00 08 */ sth r0, 8(r1)
/* 800B503C 000B1F9C 7C FC 3B 78 */ mr r28, r7
/* 800B5040 000B1FA0 7C C5 33 78 */ mr r5, r6
/* 800B5044 000B1FA4 7C 86 23 78 */ mr r6, r4
/* 800B5048 000B1FA8 7C 7B 1B 78 */ mr r27, r3
/* 800B504C 000B1FAC 7D 1D 43 78 */ mr r29, r8
/* 800B5050 000B1FB0 7D 3E 4B 78 */ mr r30, r9
/* 800B5054 000B1FB4 7D 5F 53 78 */ mr r31, r10
/* 800B5058 000B1FB8 7D 67 5B 78 */ mr r7, r11
/* 800B505C 000B1FBC 38 81 00 08 */ addi r4, r1, 8
/* 800B5060 000B1FC0 4B F9 C2 C5 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800B5064 000B1FC4 3C 60 80 3E */ lis r3, lbl_803DF328@ha
/* 800B5068 000B1FC8 38 03 F3 28 */ addi r0, r3, lbl_803DF328@l
/* 800B506C 000B1FCC 90 1B 00 00 */ stw r0, 0(r27)
/* 800B5070 000B1FD0 7F 63 DB 78 */ mr r3, r27
/* 800B5074 000B1FD4 93 9B 00 34 */ stw r28, 0x34(r27)
/* 800B5078 000B1FD8 88 1B 00 38 */ lbz r0, 0x38(r27)
/* 800B507C 000B1FDC 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18
/* 800B5080 000B1FE0 98 1B 00 38 */ stb r0, 0x38(r27)
/* 800B5084 000B1FE4 88 1B 00 38 */ lbz r0, 0x38(r27)
/* 800B5088 000B1FE8 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19
/* 800B508C 000B1FEC 98 1B 00 38 */ stb r0, 0x38(r27)
/* 800B5090 000B1FF0 C0 1E 00 00 */ lfs f0, 0(r30)
/* 800B5094 000B1FF4 D0 1B 00 3C */ stfs f0, 0x3c(r27)
/* 800B5098 000B1FF8 C0 1E 00 04 */ lfs f0, 4(r30)
/* 800B509C 000B1FFC D0 1B 00 40 */ stfs f0, 0x40(r27)
/* 800B50A0 000B2000 C0 1E 00 08 */ lfs f0, 8(r30)
/* 800B50A4 000B2004 D0 1B 00 44 */ stfs f0, 0x44(r27)
/* 800B50A8 000B2008 D3 DB 00 48 */ stfs f30, 0x48(r27)
/* 800B50AC 000B200C D3 FB 00 4C */ stfs f31, 0x4c(r27)
/* 800B50B0 000B2010 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 800B50B4 000B2014 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 800B50B8 000B2018 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 800B50BC 000B201C CB C1 00 30 */ lfd f30, 0x30(r1)
/* 800B50C0 000B2020 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 800B50C4 000B2024 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800B50C8 000B2028 7C 08 03 A6 */ mtlr r0
/* 800B50CC 000B202C 38 21 00 50 */ addi r1, r1, 0x50
/* 800B50D0 000B2030 4E 80 00 20 */ blr
.global "reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi":
/* 800B50D4 000B2034 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800B50D8 000B2038 7C 08 02 A6 */ mflr r0
/* 800B50DC 000B203C 90 01 00 34 */ stw r0, 0x34(r1)
/* 800B50E0 000B2040 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800B50E4 000B2044 7C 9F 23 78 */ mr r31, r4
/* 800B50E8 000B2048 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800B50EC 000B204C 7C 7E 1B 78 */ mr r30, r3
/* 800B50F0 000B2050 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800B50F4 000B2054 80 03 00 08 */ lwz r0, 8(r3)
/* 800B50F8 000B2058 7C 1F 00 00 */ cmpw r31, r0
/* 800B50FC 000B205C 40 81 00 B0 */ ble lbl_800B51AC
/* 800B5100 000B2060 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 800B5104 000B2064 40 82 00 0C */ bne lbl_800B5110
/* 800B5108 000B2068 3B A0 00 00 */ li r29, 0
/* 800B510C 000B206C 48 00 00 18 */ b lbl_800B5124
lbl_800B5110:
/* 800B5110 000B2070 3C 80 80 3D */ lis r4, lbl_803CDE78@ha
/* 800B5114 000B2074 38 A0 00 00 */ li r5, 0
/* 800B5118 000B2078 38 84 DE 78 */ addi r4, r4, lbl_803CDE78@l
/* 800B511C 000B207C 48 26 06 FD */ bl __nwa__FUlPCcPCc
/* 800B5120 000B2080 7C 7D 1B 78 */ mr r29, r3
lbl_800B5124:
/* 800B5124 000B2084 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B5128 000B2088 7F A4 EB 78 */ mr r4, r29
/* 800B512C 000B208C 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 800B5130 000B2090 54 00 18 38 */ slwi r0, r0, 3
/* 800B5134 000B2094 7C 65 02 14 */ add r3, r5, r0
/* 800B5138 000B2098 90 A1 00 10 */ stw r5, 0x10(r1)
/* 800B513C 000B209C 90 61 00 08 */ stw r3, 8(r1)
/* 800B5140 000B20A0 90 61 00 0C */ stw r3, 0xc(r1)
/* 800B5144 000B20A4 90 A1 00 14 */ stw r5, 0x14(r1)
/* 800B5148 000B20A8 48 00 00 24 */ b lbl_800B516C
lbl_800B514C:
/* 800B514C 000B20AC 28 04 00 00 */ cmplwi r4, 0
/* 800B5150 000B20B0 41 82 00 14 */ beq lbl_800B5164
/* 800B5154 000B20B4 A0 05 00 00 */ lhz r0, 0(r5)
/* 800B5158 000B20B8 B0 04 00 00 */ sth r0, 0(r4)
/* 800B515C 000B20BC 80 05 00 04 */ lwz r0, 4(r5)
/* 800B5160 000B20C0 90 04 00 04 */ stw r0, 4(r4)
lbl_800B5164:
/* 800B5164 000B20C4 38 84 00 08 */ addi r4, r4, 8
/* 800B5168 000B20C8 38 A5 00 08 */ addi r5, r5, 8
lbl_800B516C:
/* 800B516C 000B20CC 7C 05 18 40 */ cmplw r5, r3
/* 800B5170 000B20D0 40 82 FF DC */ bne lbl_800B514C
/* 800B5174 000B20D4 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B5178 000B20D8 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800B517C 000B20DC 54 00 18 38 */ slwi r0, r0, 3
/* 800B5180 000B20E0 7C 64 1B 78 */ mr r4, r3
/* 800B5184 000B20E4 7C 03 02 14 */ add r0, r3, r0
/* 800B5188 000B20E8 48 00 00 08 */ b lbl_800B5190
lbl_800B518C:
/* 800B518C 000B20EC 38 84 00 08 */ addi r4, r4, 8
lbl_800B5190:
/* 800B5190 000B20F0 7C 04 00 40 */ cmplw r4, r0
/* 800B5194 000B20F4 40 82 FF F8 */ bne lbl_800B518C
/* 800B5198 000B20F8 28 03 00 00 */ cmplwi r3, 0
/* 800B519C 000B20FC 41 82 00 08 */ beq lbl_800B51A4
/* 800B51A0 000B2100 48 26 07 91 */ bl Free__7CMemoryFPCv
lbl_800B51A4:
/* 800B51A4 000B2104 93 BE 00 0C */ stw r29, 0xc(r30)
/* 800B51A8 000B2108 93 FE 00 08 */ stw r31, 8(r30)
lbl_800B51AC:
/* 800B51AC 000B210C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B51B0 000B2110 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800B51B4 000B2114 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800B51B8 000B2118 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800B51BC 000B211C 7C 08 03 A6 */ mtlr r0
/* 800B51C0 000B2120 38 21 00 30 */ addi r1, r1, 0x30
/* 800B51C4 000B2124 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

1013
asm/Kyoto_CWD/CScriptSound.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,269 @@
.include "macros.inc"
.section .text, "ax"
.global Accept__12CScriptTimerFR8IVisitor
Accept__12CScriptTimerFR8IVisitor:
/* 80092790 0008F6F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80092794 0008F6F4 7C 08 02 A6 */ mflr r0
/* 80092798 0008F6F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8009279C 0008F6FC 7C 60 1B 78 */ mr r0, r3
/* 800927A0 0008F700 7C 83 23 78 */ mr r3, r4
/* 800927A4 0008F704 81 84 00 00 */ lwz r12, 0(r4)
/* 800927A8 0008F708 7C 04 03 78 */ mr r4, r0
/* 800927AC 0008F70C 81 8C 00 C8 */ lwz r12, 0xc8(r12)
/* 800927B0 0008F710 7D 89 03 A6 */ mtctr r12
/* 800927B4 0008F714 4E 80 04 21 */ bctrl
/* 800927B8 0008F718 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800927BC 0008F71C 7C 08 03 A6 */ mtlr r0
/* 800927C0 0008F720 38 21 00 10 */ addi r1, r1, 0x10
/* 800927C4 0008F724 4E 80 00 20 */ blr
.global Think__12CScriptTimerFfR13CStateManager
Think__12CScriptTimerFfR13CStateManager:
/* 800927C8 0008F728 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800927CC 0008F72C 7C 08 02 A6 */ mflr r0
/* 800927D0 0008F730 90 01 00 14 */ stw r0, 0x14(r1)
/* 800927D4 0008F734 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800927D8 0008F738 54 06 CF FF */ rlwinm. r6, r0, 0x19, 0x1f, 0x1f
/* 800927DC 0008F73C 41 82 00 2C */ beq lbl_80092808
/* 800927E0 0008F740 88 03 00 42 */ lbz r0, 0x42(r3)
/* 800927E4 0008F744 38 A0 00 00 */ li r5, 0
/* 800927E8 0008F748 28 00 00 00 */ cmplwi r0, 0
/* 800927EC 0008F74C 41 82 00 10 */ beq lbl_800927FC
/* 800927F0 0008F750 28 06 00 00 */ cmplwi r6, 0
/* 800927F4 0008F754 41 82 00 08 */ beq lbl_800927FC
/* 800927F8 0008F758 38 A0 00 01 */ li r5, 1
lbl_800927FC:
/* 800927FC 0008F75C 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80092800 0008F760 41 82 00 08 */ beq lbl_80092808
/* 80092804 0008F764 48 00 00 15 */ bl ApplyTime__12CScriptTimerFfR13CStateManager
lbl_80092808:
/* 80092808 0008F768 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8009280C 0008F76C 7C 08 03 A6 */ mtlr r0
/* 80092810 0008F770 38 21 00 10 */ addi r1, r1, 0x10
/* 80092814 0008F774 4E 80 00 20 */ blr
.global ApplyTime__12CScriptTimerFfR13CStateManager
ApplyTime__12CScriptTimerFfR13CStateManager:
/* 80092818 0008F778 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8009281C 0008F77C 7C 08 02 A6 */ mflr r0
/* 80092820 0008F780 C0 42 8B 30 */ lfs f2, lbl_805AA850@sda21(r2)
/* 80092824 0008F784 90 01 00 14 */ stw r0, 0x14(r1)
/* 80092828 0008F788 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8009282C 0008F78C 7C 9F 23 78 */ mr r31, r4
/* 80092830 0008F790 93 C1 00 08 */ stw r30, 8(r1)
/* 80092834 0008F794 7C 7E 1B 78 */ mr r30, r3
/* 80092838 0008F798 C0 03 00 34 */ lfs f0, 0x34(r3)
/* 8009283C 0008F79C FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80092840 0008F7A0 40 81 00 6C */ ble lbl_800928AC
/* 80092844 0008F7A4 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80092848 0008F7A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009284C 0008F7AC 41 82 00 60 */ beq lbl_800928AC
/* 80092850 0008F7B0 EC 00 08 28 */ fsubs f0, f0, f1
/* 80092854 0008F7B4 D0 1E 00 34 */ stfs f0, 0x34(r30)
/* 80092858 0008F7B8 C0 1E 00 34 */ lfs f0, 0x34(r30)
/* 8009285C 0008F7BC FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80092860 0008F7C0 4C 40 13 82 */ cror 2, 0, 2
/* 80092864 0008F7C4 40 82 00 48 */ bne lbl_800928AC
/* 80092868 0008F7C8 7F E5 FB 78 */ mr r5, r31
/* 8009286C 0008F7CC 38 80 00 09 */ li r4, 9
/* 80092870 0008F7D0 38 C0 FF FF */ li r6, -1
/* 80092874 0008F7D4 4B FB E8 4D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 80092878 0008F7D8 38 00 00 00 */ li r0, 0
/* 8009287C 0008F7DC 98 1E 00 42 */ stb r0, 0x42(r30)
/* 80092880 0008F7E0 88 1E 00 40 */ lbz r0, 0x40(r30)
/* 80092884 0008F7E4 28 00 00 00 */ cmplwi r0, 0
/* 80092888 0008F7E8 41 82 00 24 */ beq lbl_800928AC
/* 8009288C 0008F7EC 7F C3 F3 78 */ mr r3, r30
/* 80092890 0008F7F0 7F E4 FB 78 */ mr r4, r31
/* 80092894 0008F7F4 48 00 01 65 */ bl Reset__12CScriptTimerFR13CStateManager
/* 80092898 0008F7F8 88 1E 00 41 */ lbz r0, 0x41(r30)
/* 8009289C 0008F7FC 28 00 00 00 */ cmplwi r0, 0
/* 800928A0 0008F800 41 82 00 0C */ beq lbl_800928AC
/* 800928A4 0008F804 38 00 00 01 */ li r0, 1
/* 800928A8 0008F808 98 1E 00 42 */ stb r0, 0x42(r30)
lbl_800928AC:
/* 800928AC 0008F80C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800928B0 0008F810 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800928B4 0008F814 83 C1 00 08 */ lwz r30, 8(r1)
/* 800928B8 0008F818 7C 08 03 A6 */ mtlr r0
/* 800928BC 0008F81C 38 21 00 10 */ addi r1, r1, 0x10
/* 800928C0 0008F820 4E 80 00 20 */ blr
.global AcceptScriptMsg__12CScriptTimerF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__12CScriptTimerF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800928C4 0008F824 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800928C8 0008F828 7C 08 02 A6 */ mflr r0
/* 800928CC 0008F82C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800928D0 0008F830 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800928D4 0008F834 7C DF 33 78 */ mr r31, r6
/* 800928D8 0008F838 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800928DC 0008F83C 7C BE 2B 78 */ mr r30, r5
/* 800928E0 0008F840 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800928E4 0008F844 7C 9D 23 78 */ mr r29, r4
/* 800928E8 0008F848 2C 1D 00 0E */ cmpwi r29, 0xe
/* 800928EC 0008F84C 93 81 00 10 */ stw r28, 0x10(r1)
/* 800928F0 0008F850 7C 7C 1B 78 */ mr r28, r3
/* 800928F4 0008F854 41 82 00 30 */ beq lbl_80092924
/* 800928F8 0008F858 40 80 00 1C */ bge lbl_80092914
/* 800928FC 0008F85C 2C 1D 00 0B */ cmpwi r29, 0xb
/* 80092900 0008F860 41 82 00 A0 */ beq lbl_800929A0
/* 80092904 0008F864 40 80 00 B8 */ bge lbl_800929BC
/* 80092908 0008F868 2C 1D 00 0A */ cmpwi r29, 0xa
/* 8009290C 0008F86C 40 80 00 48 */ bge lbl_80092954
/* 80092910 0008F870 48 00 00 AC */ b lbl_800929BC
lbl_80092914:
/* 80092914 0008F874 2C 1D 00 10 */ cmpwi r29, 0x10
/* 80092918 0008F878 41 82 00 68 */ beq lbl_80092980
/* 8009291C 0008F87C 40 80 00 A0 */ bge lbl_800929BC
/* 80092920 0008F880 48 00 00 1C */ b lbl_8009293C
lbl_80092924:
/* 80092924 0008F884 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 80092928 0008F888 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009292C 0008F88C 41 82 00 90 */ beq lbl_800929BC
/* 80092930 0008F890 38 00 00 01 */ li r0, 1
/* 80092934 0008F894 98 1C 00 42 */ stb r0, 0x42(r28)
/* 80092938 0008F898 48 00 00 84 */ b lbl_800929BC
lbl_8009293C:
/* 8009293C 0008F89C 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 80092940 0008F8A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80092944 0008F8A4 41 82 00 78 */ beq lbl_800929BC
/* 80092948 0008F8A8 38 00 00 00 */ li r0, 0
/* 8009294C 0008F8AC 98 1C 00 42 */ stb r0, 0x42(r28)
/* 80092950 0008F8B0 48 00 00 6C */ b lbl_800929BC
lbl_80092954:
/* 80092954 0008F8B4 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 80092958 0008F8B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8009295C 0008F8BC 41 82 00 60 */ beq lbl_800929BC
/* 80092960 0008F8C0 7F E4 FB 78 */ mr r4, r31
/* 80092964 0008F8C4 48 00 00 95 */ bl Reset__12CScriptTimerFR13CStateManager
/* 80092968 0008F8C8 88 1C 00 41 */ lbz r0, 0x41(r28)
/* 8009296C 0008F8CC 28 00 00 00 */ cmplwi r0, 0
/* 80092970 0008F8D0 41 82 00 4C */ beq lbl_800929BC
/* 80092974 0008F8D4 38 00 00 01 */ li r0, 1
/* 80092978 0008F8D8 98 1C 00 42 */ stb r0, 0x42(r28)
/* 8009297C 0008F8DC 48 00 00 40 */ b lbl_800929BC
lbl_80092980:
/* 80092980 0008F8E0 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 80092984 0008F8E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80092988 0008F8E8 41 82 00 34 */ beq lbl_800929BC
/* 8009298C 0008F8EC 7F E4 FB 78 */ mr r4, r31
/* 80092990 0008F8F0 48 00 00 69 */ bl Reset__12CScriptTimerFR13CStateManager
/* 80092994 0008F8F4 38 00 00 00 */ li r0, 0
/* 80092998 0008F8F8 98 1C 00 42 */ stb r0, 0x42(r28)
/* 8009299C 0008F8FC 48 00 00 20 */ b lbl_800929BC
lbl_800929A0:
/* 800929A0 0008F900 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800929A4 0008F904 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800929A8 0008F908 41 82 00 14 */ beq lbl_800929BC
/* 800929AC 0008F90C 7F E4 FB 78 */ mr r4, r31
/* 800929B0 0008F910 48 00 00 49 */ bl Reset__12CScriptTimerFR13CStateManager
/* 800929B4 0008F914 38 00 00 01 */ li r0, 1
/* 800929B8 0008F918 98 1C 00 42 */ stb r0, 0x42(r28)
lbl_800929BC:
/* 800929BC 0008F91C A0 1E 00 00 */ lhz r0, 0(r30)
/* 800929C0 0008F920 7F 83 E3 78 */ mr r3, r28
/* 800929C4 0008F924 7F A4 EB 78 */ mr r4, r29
/* 800929C8 0008F928 7F E6 FB 78 */ mr r6, r31
/* 800929CC 0008F92C B0 01 00 08 */ sth r0, 8(r1)
/* 800929D0 0008F930 38 A1 00 08 */ addi r5, r1, 8
/* 800929D4 0008F934 4B FB E7 89 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800929D8 0008F938 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800929DC 0008F93C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800929E0 0008F940 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800929E4 0008F944 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800929E8 0008F948 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800929EC 0008F94C 7C 08 03 A6 */ mtlr r0
/* 800929F0 0008F950 38 21 00 20 */ addi r1, r1, 0x20
/* 800929F4 0008F954 4E 80 00 20 */ blr
.global Reset__12CScriptTimerFR13CStateManager
Reset__12CScriptTimerFR13CStateManager:
/* 800929F8 0008F958 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800929FC 0008F95C 7C 08 02 A6 */ mflr r0
/* 80092A00 0008F960 90 01 00 14 */ stw r0, 0x14(r1)
/* 80092A04 0008F964 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80092A08 0008F968 7C 7F 1B 78 */ mr r31, r3
/* 80092A0C 0008F96C 80 64 09 00 */ lwz r3, 0x900(r4)
/* 80092A10 0008F970 48 27 FA CD */ bl Float__9CRandom16Fv
/* 80092A14 0008F974 C0 5F 00 3C */ lfs f2, 0x3c(r31)
/* 80092A18 0008F978 C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 80092A1C 0008F97C EC 02 00 7A */ fmadds f0, f2, f1, f0
/* 80092A20 0008F980 D0 1F 00 34 */ stfs f0, 0x34(r31)
/* 80092A24 0008F984 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80092A28 0008F988 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80092A2C 0008F98C 7C 08 03 A6 */ mtlr r0
/* 80092A30 0008F990 38 21 00 10 */ addi r1, r1, 0x10
/* 80092A34 0008F994 4E 80 00 20 */ blr
.global __dt__12CScriptTimerFv
__dt__12CScriptTimerFv:
/* 80092A38 0008F998 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80092A3C 0008F99C 7C 08 02 A6 */ mflr r0
/* 80092A40 0008F9A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80092A44 0008F9A4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80092A48 0008F9A8 7C 9F 23 78 */ mr r31, r4
/* 80092A4C 0008F9AC 93 C1 00 08 */ stw r30, 8(r1)
/* 80092A50 0008F9B0 7C 7E 1B 79 */ or. r30, r3, r3
/* 80092A54 0008F9B4 41 82 00 28 */ beq lbl_80092A7C
/* 80092A58 0008F9B8 3C A0 80 3E */ lis r5, lbl_803DADD8@ha
/* 80092A5C 0008F9BC 38 80 00 00 */ li r4, 0
/* 80092A60 0008F9C0 38 05 AD D8 */ addi r0, r5, lbl_803DADD8@l
/* 80092A64 0008F9C4 90 1E 00 00 */ stw r0, 0(r30)
/* 80092A68 0008F9C8 4B FB E8 0D */ bl __dt__7CEntityFv
/* 80092A6C 0008F9CC 7F E0 07 35 */ extsh. r0, r31
/* 80092A70 0008F9D0 40 81 00 0C */ ble lbl_80092A7C
/* 80092A74 0008F9D4 7F C3 F3 78 */ mr r3, r30
/* 80092A78 0008F9D8 48 28 2E B9 */ bl Free__7CMemoryFPCv
lbl_80092A7C:
/* 80092A7C 0008F9DC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80092A80 0008F9E0 7F C3 F3 78 */ mr r3, r30
/* 80092A84 0008F9E4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80092A88 0008F9E8 83 C1 00 08 */ lwz r30, 8(r1)
/* 80092A8C 0008F9EC 7C 08 03 A6 */ mtlr r0
/* 80092A90 0008F9F0 38 21 00 10 */ addi r1, r1, 0x10
/* 80092A94 0008F9F4 4E 80 00 20 */ blr
.global "__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb"
"__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb":
/* 80092A98 0008F9F8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80092A9C 0008F9FC 7C 08 02 A6 */ mflr r0
/* 80092AA0 0008FA00 90 01 00 34 */ stw r0, 0x34(r1)
/* 80092AA4 0008FA04 DB E1 00 28 */ stfd f31, 0x28(r1)
/* 80092AA8 0008FA08 FF E0 10 90 */ fmr f31, f2
/* 80092AAC 0008FA0C DB C1 00 20 */ stfd f30, 0x20(r1)
/* 80092AB0 0008FA10 FF C0 08 90 */ fmr f30, f1
/* 80092AB4 0008FA14 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80092AB8 0008FA18 7D 1F 43 78 */ mr r31, r8
/* 80092ABC 0008FA1C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80092AC0 0008FA20 7C FE 3B 78 */ mr r30, r7
/* 80092AC4 0008FA24 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80092AC8 0008FA28 7C 7D 1B 78 */ mr r29, r3
/* 80092ACC 0008FA2C A0 04 00 00 */ lhz r0, 0(r4)
/* 80092AD0 0008FA30 7C A4 2B 78 */ mr r4, r5
/* 80092AD4 0008FA34 7C C5 33 78 */ mr r5, r6
/* 80092AD8 0008FA38 7D 26 4B 78 */ mr r6, r9
/* 80092ADC 0008FA3C B0 01 00 08 */ sth r0, 8(r1)
/* 80092AE0 0008FA40 7C 87 23 78 */ mr r7, r4
/* 80092AE4 0008FA44 38 81 00 08 */ addi r4, r1, 8
/* 80092AE8 0008FA48 4B FB E8 3D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80092AEC 0008FA4C 3C 80 80 3E */ lis r4, lbl_803DADD8@ha
/* 80092AF0 0008FA50 7F A3 EB 78 */ mr r3, r29
/* 80092AF4 0008FA54 38 04 AD D8 */ addi r0, r4, lbl_803DADD8@l
/* 80092AF8 0008FA58 90 1D 00 00 */ stw r0, 0(r29)
/* 80092AFC 0008FA5C D3 DD 00 34 */ stfs f30, 0x34(r29)
/* 80092B00 0008FA60 D3 DD 00 38 */ stfs f30, 0x38(r29)
/* 80092B04 0008FA64 D3 FD 00 3C */ stfs f31, 0x3c(r29)
/* 80092B08 0008FA68 9B DD 00 40 */ stb r30, 0x40(r29)
/* 80092B0C 0008FA6C 9B FD 00 41 */ stb r31, 0x41(r29)
/* 80092B10 0008FA70 9B FD 00 42 */ stb r31, 0x42(r29)
/* 80092B14 0008FA74 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80092B18 0008FA78 CB E1 00 28 */ lfd f31, 0x28(r1)
/* 80092B1C 0008FA7C CB C1 00 20 */ lfd f30, 0x20(r1)
/* 80092B20 0008FA80 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80092B24 0008FA84 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80092B28 0008FA88 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80092B2C 0008FA8C 7C 08 03 A6 */ mtlr r0
/* 80092B30 0008FA90 38 21 00 30 */ addi r1, r1, 0x30
/* 80092B34 0008FA94 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,369 @@
.include "macros.inc"
.section .text, "ax"
.global Accept__15CScriptWaypointFR8IVisitor
Accept__15CScriptWaypointFR8IVisitor:
/* 8007706C 00073FCC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80077070 00073FD0 7C 08 02 A6 */ mflr r0
/* 80077074 00073FD4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80077078 00073FD8 7C 60 1B 78 */ mr r0, r3
/* 8007707C 00073FDC 7C 83 23 78 */ mr r3, r4
/* 80077080 00073FE0 81 84 00 00 */ lwz r12, 0(r4)
/* 80077084 00073FE4 7C 04 03 78 */ mr r4, r0
/* 80077088 00073FE8 81 8C 00 D8 */ lwz r12, 0xd8(r12)
/* 8007708C 00073FEC 7D 89 03 A6 */ mtctr r12
/* 80077090 00073FF0 4E 80 04 21 */ bctrl
/* 80077094 00073FF4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80077098 00073FF8 7C 08 03 A6 */ mtlr r0
/* 8007709C 00073FFC 38 21 00 10 */ addi r1, r1, 0x10
/* 800770A0 00074000 4E 80 00 20 */ blr
.global Render__15CScriptWaypointCFRC13CStateManager
Render__15CScriptWaypointCFRC13CStateManager:
/* 800770A4 00074004 4E 80 00 20 */ blr
.global AddToRenderer__15CScriptWaypointCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__15CScriptWaypointCFRC14CFrustumPlanesRC13CStateManager:
/* 800770A8 00074008 4E 80 00 20 */ blr
.global FollowWaypoint__15CScriptWaypointCFR13CStateManager
FollowWaypoint__15CScriptWaypointCFR13CStateManager:
/* 800770AC 0007400C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800770B0 00074010 7C 08 02 A6 */ mflr r0
/* 800770B4 00074014 90 01 00 24 */ stw r0, 0x24(r1)
/* 800770B8 00074018 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800770BC 0007401C 7C 7F 1B 78 */ mr r31, r3
/* 800770C0 00074020 80 C4 00 2C */ lwz r6, 0x2c(r4)
/* 800770C4 00074024 48 00 00 3C */ b lbl_80077100
lbl_800770C8:
/* 800770C8 00074028 80 06 00 00 */ lwz r0, 0(r6)
/* 800770CC 0007402C 2C 00 00 01 */ cmpwi r0, 1
/* 800770D0 00074030 40 82 00 2C */ bne lbl_800770FC
/* 800770D4 00074034 80 06 00 04 */ lwz r0, 4(r6)
/* 800770D8 00074038 2C 00 00 06 */ cmpwi r0, 6
/* 800770DC 0007403C 40 82 00 20 */ bne lbl_800770FC
/* 800770E0 00074040 80 06 00 08 */ lwz r0, 8(r6)
/* 800770E4 00074044 7F E3 FB 78 */ mr r3, r31
/* 800770E8 00074048 7C A4 2B 78 */ mr r4, r5
/* 800770EC 0007404C 38 A1 00 08 */ addi r5, r1, 8
/* 800770F0 00074050 90 01 00 08 */ stw r0, 8(r1)
/* 800770F4 00074054 4B FD 0E 29 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 800770F8 00074058 48 00 00 28 */ b lbl_80077120
lbl_800770FC:
/* 800770FC 0007405C 38 C6 00 0C */ addi r6, r6, 0xc
lbl_80077100:
/* 80077100 00074060 80 04 00 24 */ lwz r0, 0x24(r4)
/* 80077104 00074064 80 64 00 2C */ lwz r3, 0x2c(r4)
/* 80077108 00074068 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8007710C 0007406C 7C 03 02 14 */ add r0, r3, r0
/* 80077110 00074070 7C 06 00 40 */ cmplw r6, r0
/* 80077114 00074074 40 82 FF B4 */ bne lbl_800770C8
/* 80077118 00074078 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8007711C 0007407C B0 1F 00 00 */ sth r0, 0(r31)
lbl_80077120:
/* 80077120 00074080 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80077124 00074084 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80077128 00074088 7C 08 03 A6 */ mtlr r0
/* 8007712C 0007408C 38 21 00 20 */ addi r1, r1, 0x20
/* 80077130 00074090 4E 80 00 20 */ blr
.global NextWaypoint__15CScriptWaypointCFR13CStateManager
NextWaypoint__15CScriptWaypointCFR13CStateManager:
/* 80077134 00074094 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80077138 00074098 7C 08 02 A6 */ mflr r0
/* 8007713C 0007409C 90 01 00 64 */ stw r0, 0x64(r1)
/* 80077140 000740A0 38 00 00 00 */ li r0, 0
/* 80077144 000740A4 BF 61 00 4C */ stmw r27, 0x4c(r1)
/* 80077148 000740A8 7C 9C 23 78 */ mr r28, r4
/* 8007714C 000740AC 7C 7B 1B 78 */ mr r27, r3
/* 80077150 000740B0 7C BD 2B 78 */ mr r29, r5
/* 80077154 000740B4 90 01 00 20 */ stw r0, 0x20(r1)
/* 80077158 000740B8 3B C1 00 24 */ addi r30, r1, 0x24
/* 8007715C 000740BC 83 E4 00 2C */ lwz r31, 0x2c(r4)
/* 80077160 000740C0 48 00 00 A4 */ b lbl_80077204
lbl_80077164:
/* 80077164 000740C4 80 1F 00 00 */ lwz r0, 0(r31)
/* 80077168 000740C8 2C 00 00 01 */ cmpwi r0, 1
/* 8007716C 000740CC 40 82 00 94 */ bne lbl_80077200
/* 80077170 000740D0 80 1F 00 04 */ lwz r0, 4(r31)
/* 80077174 000740D4 2C 00 00 08 */ cmpwi r0, 8
/* 80077178 000740D8 40 82 00 88 */ bne lbl_80077200
/* 8007717C 000740DC 80 1F 00 08 */ lwz r0, 8(r31)
/* 80077180 000740E0 7F A4 EB 78 */ mr r4, r29
/* 80077184 000740E4 38 61 00 0C */ addi r3, r1, 0xc
/* 80077188 000740E8 38 A1 00 14 */ addi r5, r1, 0x14
/* 8007718C 000740EC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80077190 000740F0 4B FD 0D 8D */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 80077194 000740F4 A0 61 00 0C */ lhz r3, 0xc(r1)
/* 80077198 000740F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8007719C 000740FC B0 61 00 10 */ sth r3, 0x10(r1)
/* 800771A0 00074100 7C 03 00 40 */ cmplw r3, r0
/* 800771A4 00074104 41 82 00 5C */ beq lbl_80077200
/* 800771A8 00074108 B0 61 00 08 */ sth r3, 8(r1)
/* 800771AC 0007410C 7F A3 EB 78 */ mr r3, r29
/* 800771B0 00074110 38 81 00 08 */ addi r4, r1, 8
/* 800771B4 00074114 4B FD 53 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800771B8 00074118 7C 64 1B 78 */ mr r4, r3
/* 800771BC 0007411C 38 61 00 18 */ addi r3, r1, 0x18
/* 800771C0 00074120 48 02 F3 8D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity"
/* 800771C4 00074124 80 63 00 04 */ lwz r3, 4(r3)
/* 800771C8 00074128 28 03 00 00 */ cmplwi r3, 0
/* 800771CC 0007412C 41 82 00 34 */ beq lbl_80077200
/* 800771D0 00074130 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800771D4 00074134 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800771D8 00074138 41 82 00 28 */ beq lbl_80077200
/* 800771DC 0007413C 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800771E0 00074140 54 00 08 3C */ slwi r0, r0, 1
/* 800771E4 00074144 7C 7E 02 15 */ add. r3, r30, r0
/* 800771E8 00074148 41 82 00 0C */ beq lbl_800771F4
/* 800771EC 0007414C A0 01 00 10 */ lhz r0, 0x10(r1)
/* 800771F0 00074150 B0 03 00 00 */ sth r0, 0(r3)
lbl_800771F4:
/* 800771F4 00074154 80 61 00 20 */ lwz r3, 0x20(r1)
/* 800771F8 00074158 38 03 00 01 */ addi r0, r3, 1
/* 800771FC 0007415C 90 01 00 20 */ stw r0, 0x20(r1)
lbl_80077200:
/* 80077200 00074160 3B FF 00 0C */ addi r31, r31, 0xc
lbl_80077204:
/* 80077204 00074164 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 80077208 00074168 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 8007720C 0007416C 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80077210 00074170 7C 03 02 14 */ add r0, r3, r0
/* 80077214 00074174 7C 1F 00 40 */ cmplw r31, r0
/* 80077218 00074178 40 82 FF 4C */ bne lbl_80077164
/* 8007721C 0007417C 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80077220 00074180 2C 1C 00 00 */ cmpwi r28, 0
/* 80077224 00074184 40 82 00 64 */ bne lbl_80077288
/* 80077228 00074188 80 A1 00 20 */ lwz r5, 0x20(r1)
/* 8007722C 0007418C 38 60 00 00 */ li r3, 0
/* 80077230 00074190 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80077234 00074194 2C 05 00 00 */ cmpwi r5, 0
/* 80077238 00074198 B0 1B 00 00 */ sth r0, 0(r27)
/* 8007723C 0007419C 40 81 00 40 */ ble lbl_8007727C
/* 80077240 000741A0 2C 05 00 08 */ cmpwi r5, 8
/* 80077244 000741A4 38 85 FF F8 */ addi r4, r5, -8
/* 80077248 000741A8 40 81 00 20 */ ble lbl_80077268
/* 8007724C 000741AC 38 04 00 07 */ addi r0, r4, 7
/* 80077250 000741B0 54 00 E8 FE */ srwi r0, r0, 3
/* 80077254 000741B4 7C 09 03 A6 */ mtctr r0
/* 80077258 000741B8 2C 04 00 00 */ cmpwi r4, 0
/* 8007725C 000741BC 40 81 00 0C */ ble lbl_80077268
lbl_80077260:
/* 80077260 000741C0 38 63 00 08 */ addi r3, r3, 8
/* 80077264 000741C4 42 00 FF FC */ bdnz lbl_80077260
lbl_80077268:
/* 80077268 000741C8 7C 03 28 50 */ subf r0, r3, r5
/* 8007726C 000741CC 7C 09 03 A6 */ mtctr r0
/* 80077270 000741D0 7C 03 28 00 */ cmpw r3, r5
/* 80077274 000741D4 40 80 00 08 */ bge lbl_8007727C
lbl_80077278:
/* 80077278 000741D8 42 00 00 00 */ bdnz lbl_80077278
lbl_8007727C:
/* 8007727C 000741DC 38 00 00 00 */ li r0, 0
/* 80077280 000741E0 90 01 00 20 */ stw r0, 0x20(r1)
/* 80077284 000741E4 48 00 00 A0 */ b lbl_80077324
lbl_80077288:
/* 80077288 000741E8 80 7D 09 00 */ lwz r3, 0x900(r29)
/* 8007728C 000741EC 48 29 B2 51 */ bl Float__9CRandom16Fv
/* 80077290 000741F0 6F 83 80 00 */ xoris r3, r28, 0x8000
/* 80077294 000741F4 3C 00 43 30 */ lis r0, 0x4330
/* 80077298 000741F8 90 61 00 3C */ stw r3, 0x3c(r1)
/* 8007729C 000741FC 38 60 00 00 */ li r3, 0
/* 800772A0 00074200 80 A1 00 20 */ lwz r5, 0x20(r1)
/* 800772A4 00074204 90 01 00 38 */ stw r0, 0x38(r1)
/* 800772A8 00074208 C8 62 88 E8 */ lfd f3, lbl_805AA608@sda21(r2)
/* 800772AC 0007420C 2C 05 00 00 */ cmpwi r5, 0
/* 800772B0 00074210 C8 41 00 38 */ lfd f2, 0x38(r1)
/* 800772B4 00074214 C0 02 88 E0 */ lfs f0, lbl_805AA600@sda21(r2)
/* 800772B8 00074218 EC 42 18 28 */ fsubs f2, f2, f3
/* 800772BC 0007421C EC 21 00 B2 */ fmuls f1, f1, f2
/* 800772C0 00074220 EC 00 00 72 */ fmuls f0, f0, f1
/* 800772C4 00074224 FC 00 00 1E */ fctiwz f0, f0
/* 800772C8 00074228 D8 01 00 40 */ stfd f0, 0x40(r1)
/* 800772CC 0007422C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800772D0 00074230 54 00 08 3C */ slwi r0, r0, 1
/* 800772D4 00074234 7C 1E 02 2E */ lhzx r0, r30, r0
/* 800772D8 00074238 B0 1B 00 00 */ sth r0, 0(r27)
/* 800772DC 0007423C 40 81 00 40 */ ble lbl_8007731C
/* 800772E0 00074240 2C 05 00 08 */ cmpwi r5, 8
/* 800772E4 00074244 38 85 FF F8 */ addi r4, r5, -8
/* 800772E8 00074248 40 81 00 20 */ ble lbl_80077308
/* 800772EC 0007424C 38 04 00 07 */ addi r0, r4, 7
/* 800772F0 00074250 54 00 E8 FE */ srwi r0, r0, 3
/* 800772F4 00074254 7C 09 03 A6 */ mtctr r0
/* 800772F8 00074258 2C 04 00 00 */ cmpwi r4, 0
/* 800772FC 0007425C 40 81 00 0C */ ble lbl_80077308
lbl_80077300:
/* 80077300 00074260 38 63 00 08 */ addi r3, r3, 8
/* 80077304 00074264 42 00 FF FC */ bdnz lbl_80077300
lbl_80077308:
/* 80077308 00074268 7C 03 28 50 */ subf r0, r3, r5
/* 8007730C 0007426C 7C 09 03 A6 */ mtctr r0
/* 80077310 00074270 7C 03 28 00 */ cmpw r3, r5
/* 80077314 00074274 40 80 00 08 */ bge lbl_8007731C
lbl_80077318:
/* 80077318 00074278 42 00 00 00 */ bdnz lbl_80077318
lbl_8007731C:
/* 8007731C 0007427C 38 00 00 00 */ li r0, 0
/* 80077320 00074280 90 01 00 20 */ stw r0, 0x20(r1)
lbl_80077324:
/* 80077324 00074284 BB 61 00 4C */ lmw r27, 0x4c(r1)
/* 80077328 00074288 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8007732C 0007428C 7C 08 03 A6 */ mtlr r0
/* 80077330 00074290 38 21 00 60 */ addi r1, r1, 0x60
/* 80077334 00074294 4E 80 00 20 */ blr
.global AcceptScriptMsg__15CScriptWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__15CScriptWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80077338 00074298 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8007733C 0007429C 7C 08 02 A6 */ mflr r0
/* 80077340 000742A0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80077344 000742A4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80077348 000742A8 7C DF 33 78 */ mr r31, r6
/* 8007734C 000742AC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80077350 000742B0 7C 9E 23 78 */ mr r30, r4
/* 80077354 000742B4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80077358 000742B8 7C 7D 1B 78 */ mr r29, r3
/* 8007735C 000742BC A0 05 00 00 */ lhz r0, 0(r5)
/* 80077360 000742C0 38 A1 00 08 */ addi r5, r1, 8
/* 80077364 000742C4 B0 01 00 08 */ sth r0, 8(r1)
/* 80077368 000742C8 4B FD C2 AD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8007736C 000742CC 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 80077370 000742D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80077374 000742D4 41 82 00 24 */ beq lbl_80077398
/* 80077378 000742D8 2C 1E 00 02 */ cmpwi r30, 2
/* 8007737C 000742DC 41 82 00 08 */ beq lbl_80077384
/* 80077380 000742E0 48 00 00 18 */ b lbl_80077398
lbl_80077384:
/* 80077384 000742E4 7F A3 EB 78 */ mr r3, r29
/* 80077388 000742E8 7F E5 FB 78 */ mr r5, r31
/* 8007738C 000742EC 38 80 00 01 */ li r4, 1
/* 80077390 000742F0 38 C0 FF FF */ li r6, -1
/* 80077394 000742F4 4B FD 9D 2D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_80077398:
/* 80077398 000742F8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8007739C 000742FC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800773A0 00074300 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800773A4 00074304 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800773A8 00074308 7C 08 03 A6 */ mtlr r0
/* 800773AC 0007430C 38 21 00 20 */ addi r1, r1, 0x20
/* 800773B0 00074310 4E 80 00 20 */ blr
.global __dt__15CScriptWaypointFv
__dt__15CScriptWaypointFv:
/* 800773B4 00074314 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800773B8 00074318 7C 08 02 A6 */ mflr r0
/* 800773BC 0007431C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800773C0 00074320 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800773C4 00074324 7C 9F 23 78 */ mr r31, r4
/* 800773C8 00074328 93 C1 00 08 */ stw r30, 8(r1)
/* 800773CC 0007432C 7C 7E 1B 79 */ or. r30, r3, r3
/* 800773D0 00074330 41 82 00 28 */ beq lbl_800773F8
/* 800773D4 00074334 3C A0 80 3E */ lis r5, lbl_803DA558@ha
/* 800773D8 00074338 38 80 00 00 */ li r4, 0
/* 800773DC 0007433C 38 05 A5 58 */ addi r0, r5, lbl_803DA558@l
/* 800773E0 00074340 90 1E 00 00 */ stw r0, 0(r30)
/* 800773E4 00074344 4B FD E3 0D */ bl __dt__6CActorFv
/* 800773E8 00074348 7F E0 07 35 */ extsh. r0, r31
/* 800773EC 0007434C 40 81 00 0C */ ble lbl_800773F8
/* 800773F0 00074350 7F C3 F3 78 */ mr r3, r30
/* 800773F4 00074354 48 29 E5 3D */ bl Free__7CMemoryFPCv
lbl_800773F8:
/* 800773F8 00074358 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800773FC 0007435C 7F C3 F3 78 */ mr r3, r30
/* 80077400 00074360 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80077404 00074364 83 C1 00 08 */ lwz r30, 8(r1)
/* 80077408 00074368 7C 08 03 A6 */ mtlr r0
/* 8007740C 0007436C 38 21 00 10 */ addi r1, r1, 0x10
/* 80077410 00074370 4E 80 00 20 */ blr
.global "__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi"
"__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi":
/* 80077414 00074374 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 80077418 00074378 7C 08 02 A6 */ mflr r0
/* 8007741C 0007437C 90 01 01 24 */ stw r0, 0x124(r1)
/* 80077420 00074380 DB E1 01 18 */ stfd f31, 0x118(r1)
/* 80077424 00074384 FF E0 10 90 */ fmr f31, f2
/* 80077428 00074388 DB C1 01 10 */ stfd f30, 0x110(r1)
/* 8007742C 0007438C FF C0 08 90 */ fmr f30, f1
/* 80077430 00074390 BE 61 00 DC */ stmw r19, 0xdc(r1)
/* 80077434 00074394 7C 73 1B 78 */ mr r19, r3
/* 80077438 00074398 83 61 01 28 */ lwz r27, 0x128(r1)
/* 8007743C 0007439C 7C 94 23 78 */ mr r20, r4
/* 80077440 000743A0 83 81 01 2C */ lwz r28, 0x12c(r1)
/* 80077444 000743A4 7C B5 2B 78 */ mr r21, r5
/* 80077448 000743A8 83 A1 01 30 */ lwz r29, 0x130(r1)
/* 8007744C 000743AC 7C D6 33 78 */ mr r22, r6
/* 80077450 000743B0 83 C1 01 34 */ lwz r30, 0x134(r1)
/* 80077454 000743B4 7C F7 3B 78 */ mr r23, r7
/* 80077458 000743B8 83 E1 01 38 */ lwz r31, 0x138(r1)
/* 8007745C 000743BC 7D 18 43 78 */ mr r24, r8
/* 80077460 000743C0 7D 39 4B 78 */ mr r25, r9
/* 80077464 000743C4 7D 5A 53 78 */ mr r26, r10
/* 80077468 000743C8 38 61 00 88 */ addi r3, r1, 0x88
/* 8007746C 000743CC 4B FC 33 39 */ bl CModelDataNull__10CModelDataFv
/* 80077470 000743D0 38 61 00 20 */ addi r3, r1, 0x20
/* 80077474 000743D4 4B FA 39 C5 */ bl None__16CActorParametersFv
/* 80077478 000743D8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8007747C 000743DC 38 00 00 00 */ li r0, 0
/* 80077480 000743E0 80 AD 83 D8 */ lwz r5, lbl_805A6F98@sda21(r13)
/* 80077484 000743E4 38 60 00 00 */ li r3, 0
/* 80077488 000743E8 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8007748C 000743EC 38 80 00 01 */ li r4, 1
/* 80077490 000743F0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80077494 000743F4 90 01 00 18 */ stw r0, 0x18(r1)
/* 80077498 000743F8 48 31 2A 5D */ bl __shl2i
/* 8007749C 000743FC 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 800774A0 00074400 39 61 00 20 */ addi r11, r1, 0x20
/* 800774A4 00074404 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 800774A8 00074408 38 01 00 10 */ addi r0, r1, 0x10
/* 800774AC 0007440C 7C A3 1B 78 */ or r3, r5, r3
/* 800774B0 00074410 A1 34 00 00 */ lhz r9, 0(r20)
/* 800774B4 00074414 7C C4 23 78 */ or r4, r6, r4
/* 800774B8 00074418 90 61 00 18 */ stw r3, 0x18(r1)
/* 800774BC 0007441C 7E 63 9B 78 */ mr r3, r19
/* 800774C0 00074420 7F 05 C3 78 */ mr r5, r24
/* 800774C4 00074424 90 81 00 1C */ stw r4, 0x1c(r1)
/* 800774C8 00074428 7E A6 AB 78 */ mr r6, r21
/* 800774CC 0007442C 7E C7 B3 78 */ mr r7, r22
/* 800774D0 00074430 7E E8 BB 78 */ mr r8, r23
/* 800774D4 00074434 B1 21 00 14 */ sth r9, 0x14(r1)
/* 800774D8 00074438 38 81 00 14 */ addi r4, r1, 0x14
/* 800774DC 0007443C 39 21 00 88 */ addi r9, r1, 0x88
/* 800774E0 00074440 39 41 00 18 */ addi r10, r1, 0x18
/* 800774E4 00074444 91 61 00 08 */ stw r11, 8(r1)
/* 800774E8 00074448 90 01 00 0C */ stw r0, 0xc(r1)
/* 800774EC 0007444C 4B FD E3 35 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 800774F0 00074450 38 61 00 20 */ addi r3, r1, 0x20
/* 800774F4 00074454 38 80 FF FF */ li r4, -1
/* 800774F8 00074458 48 08 F1 11 */ bl __dt__16CActorParametersFv
/* 800774FC 0007445C 38 61 00 88 */ addi r3, r1, 0x88
/* 80077500 00074460 38 80 FF FF */ li r4, -1
/* 80077504 00074464 48 09 F5 49 */ bl __dt__10CModelDataFv
/* 80077508 00074468 3C 80 80 3E */ lis r4, lbl_803DA558@ha
/* 8007750C 0007446C 7E 63 9B 78 */ mr r3, r19
/* 80077510 00074470 38 04 A5 58 */ addi r0, r4, lbl_803DA558@l
/* 80077514 00074474 90 13 00 00 */ stw r0, 0(r19)
/* 80077518 00074478 38 80 00 00 */ li r4, 0
/* 8007751C 0007447C D3 D3 00 E8 */ stfs f30, 0xe8(r19)
/* 80077520 00074480 93 F3 00 EC */ stw r31, 0xec(r19)
/* 80077524 00074484 D3 F3 00 F0 */ stfs f31, 0xf0(r19)
/* 80077528 00074488 9B 33 00 F4 */ stb r25, 0xf4(r19)
/* 8007752C 0007448C 9B 53 00 F5 */ stb r26, 0xf5(r19)
/* 80077530 00074490 9B 73 00 F6 */ stb r27, 0xf6(r19)
/* 80077534 00074494 9B 93 00 F7 */ stb r28, 0xf7(r19)
/* 80077538 00074498 9B B3 00 F8 */ stb r29, 0xf8(r19)
/* 8007753C 0007449C B3 D3 00 FA */ sth r30, 0xfa(r19)
/* 80077540 000744A0 4B FD CE A1 */ bl SetUseInSortedLists__6CActorFb
/* 80077544 000744A4 7E 63 9B 78 */ mr r3, r19
/* 80077548 000744A8 38 80 00 00 */ li r4, 0
/* 8007754C 000744AC 4B FD CE 6D */ bl SetCallTouch__6CActorFb
/* 80077550 000744B0 CB E1 01 18 */ lfd f31, 0x118(r1)
/* 80077554 000744B4 7E 63 9B 78 */ mr r3, r19
/* 80077558 000744B8 CB C1 01 10 */ lfd f30, 0x110(r1)
/* 8007755C 000744BC BA 61 00 DC */ lmw r19, 0xdc(r1)
/* 80077560 000744C0 80 01 01 24 */ lwz r0, 0x124(r1)
/* 80077564 000744C4 7C 08 03 A6 */ mtlr r0
/* 80077568 000744C8 38 21 01 20 */ addi r1, r1, 0x120
/* 8007756C 000744CC 4E 80 00 20 */ blr

View File

@ -0,0 +1,847 @@
.include "macros.inc"
.section .text, "ax"
.global "GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8007F5E4 0007C544 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8007F5E8 0007C548 7C 08 02 A6 */ mflr r0
/* 8007F5EC 0007C54C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8007F5F0 0007C550 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8007F5F4 0007C554 3B E0 00 00 */ li r31, 0
/* 8007F5F8 0007C558 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8007F5FC 0007C55C 3B C0 00 00 */ li r30, 0
/* 8007F600 0007C560 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8007F604 0007C564 7C 9D 23 78 */ mr r29, r4
/* 8007F608 0007C568 93 81 00 10 */ stw r28, 0x10(r1)
/* 8007F60C 0007C56C 7C 7C 1B 78 */ mr r28, r3
/* 8007F610 0007C570 48 00 00 34 */ b lbl_8007F644
lbl_8007F614:
/* 8007F614 0007C574 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 8007F618 0007C578 38 7F 00 0C */ addi r3, r31, 0xc
/* 8007F61C 0007C57C 80 9D 00 00 */ lwz r4, 0(r29)
/* 8007F620 0007C580 38 A0 00 1F */ li r5, 0x1f
/* 8007F624 0007C584 7C 60 1A 14 */ add r3, r0, r3
/* 8007F628 0007C588 48 31 09 35 */ bl strncmp
/* 8007F62C 0007C58C 2C 03 00 00 */ cmpwi r3, 0
/* 8007F630 0007C590 40 82 00 0C */ bne lbl_8007F63C
/* 8007F634 0007C594 7F C3 F3 78 */ mr r3, r30
/* 8007F638 0007C598 48 00 00 1C */ b lbl_8007F654
lbl_8007F63C:
/* 8007F63C 0007C59C 3B FF 00 34 */ addi r31, r31, 0x34
/* 8007F640 0007C5A0 3B DE 00 01 */ addi r30, r30, 1
lbl_8007F644:
/* 8007F644 0007C5A4 80 1C 00 04 */ lwz r0, 4(r28)
/* 8007F648 0007C5A8 7C 1E 00 00 */ cmpw r30, r0
/* 8007F64C 0007C5AC 41 80 FF C8 */ blt lbl_8007F614
/* 8007F650 0007C5B0 38 60 00 00 */ li r3, 0
lbl_8007F654:
/* 8007F654 0007C5B4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8007F658 0007C5B8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8007F65C 0007C5BC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8007F660 0007C5C0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8007F664 0007C5C4 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8007F668 0007C5C8 7C 08 03 A6 */ mtlr r0
/* 8007F66C 0007C5CC 38 21 00 20 */ addi r1, r1, 0x20
/* 8007F670 0007C5D0 4E 80 00 20 */ blr
.global __ct__13CStateMachineFR12CInputStream
__ct__13CStateMachineFR12CInputStream:
/* 8007F674 0007C5D4 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 8007F678 0007C5D8 7C 08 02 A6 */ mflr r0
/* 8007F67C 0007C5DC 90 01 01 24 */ stw r0, 0x124(r1)
/* 8007F680 0007C5E0 DB E1 01 10 */ stfd f31, 0x110(r1)
/* 8007F684 0007C5E4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0
/* 8007F688 0007C5E8 BE 01 00 D0 */ stmw r16, 0xd0(r1)
/* 8007F68C 0007C5EC 7C 7E 1B 78 */ mr r30, r3
/* 8007F690 0007C5F0 38 00 00 00 */ li r0, 0
/* 8007F694 0007C5F4 90 03 00 04 */ stw r0, 4(r3)
/* 8007F698 0007C5F8 7C 9F 23 78 */ mr r31, r4
/* 8007F69C 0007C5FC 7F E3 FB 78 */ mr r3, r31
/* 8007F6A0 0007C600 3A C0 00 00 */ li r22, 0
/* 8007F6A4 0007C604 90 1E 00 08 */ stw r0, 8(r30)
/* 8007F6A8 0007C608 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8007F6AC 0007C60C 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8007F6B0 0007C610 90 1E 00 18 */ stw r0, 0x18(r30)
/* 8007F6B4 0007C614 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 8007F6B8 0007C618 48 2B F5 CD */ bl ReadLong__12CInputStreamFv
/* 8007F6BC 0007C61C 7C 7D 1B 78 */ mr r29, r3
/* 8007F6C0 0007C620 7F C3 F3 78 */ mr r3, r30
/* 8007F6C4 0007C624 7F A4 EB 78 */ mr r4, r29
/* 8007F6C8 0007C628 48 00 08 59 */ bl "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi"
/* 8007F6CC 0007C62C 3A 41 00 9C */ addi r18, r1, 0x9c
/* 8007F6D0 0007C630 3A 21 00 70 */ addi r17, r1, 0x70
/* 8007F6D4 0007C634 3A 00 00 00 */ li r16, 0
/* 8007F6D8 0007C638 48 00 01 3C */ b lbl_8007F814
lbl_8007F6DC:
/* 8007F6DC 0007C63C 3A 80 00 00 */ li r20, 0
/* 8007F6E0 0007C640 3A 61 00 70 */ addi r19, r1, 0x70
lbl_8007F6E4:
/* 8007F6E4 0007C644 7F E3 FB 78 */ mr r3, r31
/* 8007F6E8 0007C648 48 2B F6 25 */ bl ReadChar__12CInputStreamFv
/* 8007F6EC 0007C64C 98 73 00 00 */ stb r3, 0(r19)
/* 8007F6F0 0007C650 88 13 00 00 */ lbz r0, 0(r19)
/* 8007F6F4 0007C654 7C 00 07 75 */ extsb. r0, r0
/* 8007F6F8 0007C658 41 82 00 14 */ beq lbl_8007F70C
/* 8007F6FC 0007C65C 3A 94 00 01 */ addi r20, r20, 1
/* 8007F700 0007C660 3A 73 00 01 */ addi r19, r19, 1
/* 8007F704 0007C664 2C 14 00 1F */ cmpwi r20, 0x1f
/* 8007F708 0007C668 41 80 FF DC */ blt lbl_8007F6E4
lbl_8007F70C:
/* 8007F70C 0007C66C 38 00 00 00 */ li r0, 0
/* 8007F710 0007C670 7E 24 8B 78 */ mr r4, r17
/* 8007F714 0007C674 7C 11 A1 AE */ stbx r0, r17, r20
/* 8007F718 0007C678 38 61 00 14 */ addi r3, r1, 0x14
/* 8007F71C 0007C67C 48 02 32 B5 */ bl GetStateFunc__3CAiFPCc
/* 8007F720 0007C680 81 01 00 14 */ lwz r8, 0x14(r1)
/* 8007F724 0007C684 38 00 00 00 */ li r0, 0
/* 8007F728 0007C688 80 E1 00 18 */ lwz r7, 0x18(r1)
/* 8007F72C 0007C68C 7E 43 93 78 */ mr r3, r18
/* 8007F730 0007C690 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8007F734 0007C694 38 81 00 70 */ addi r4, r1, 0x70
/* 8007F738 0007C698 91 01 00 2C */ stw r8, 0x2c(r1)
/* 8007F73C 0007C69C 38 A0 00 1F */ li r5, 0x1f
/* 8007F740 0007C6A0 90 E1 00 30 */ stw r7, 0x30(r1)
/* 8007F744 0007C6A4 90 C1 00 34 */ stw r6, 0x34(r1)
/* 8007F748 0007C6A8 91 01 00 90 */ stw r8, 0x90(r1)
/* 8007F74C 0007C6AC 90 E1 00 94 */ stw r7, 0x94(r1)
/* 8007F750 0007C6B0 90 C1 00 98 */ stw r6, 0x98(r1)
/* 8007F754 0007C6B4 90 01 00 BC */ stw r0, 0xbc(r1)
/* 8007F758 0007C6B8 90 01 00 C0 */ stw r0, 0xc0(r1)
/* 8007F75C 0007C6BC 48 31 09 69 */ bl strncpy
/* 8007F760 0007C6C0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8007F764 0007C6C4 80 BE 00 08 */ lwz r5, 8(r30)
/* 8007F768 0007C6C8 7C 00 28 00 */ cmpw r0, r5
/* 8007F76C 0007C6CC 41 80 00 1C */ blt lbl_8007F788
/* 8007F770 0007C6D0 2C 05 00 00 */ cmpwi r5, 0
/* 8007F774 0007C6D4 7F C3 F3 78 */ mr r3, r30
/* 8007F778 0007C6D8 38 80 00 04 */ li r4, 4
/* 8007F77C 0007C6DC 41 82 00 08 */ beq lbl_8007F784
/* 8007F780 0007C6E0 54 A4 08 3C */ slwi r4, r5, 1
lbl_8007F784:
/* 8007F784 0007C6E4 48 00 07 9D */ bl "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi"
lbl_8007F788:
/* 8007F788 0007C6E8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8007F78C 0007C6EC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8007F790 0007C6F0 1C 00 00 34 */ mulli r0, r0, 0x34
/* 8007F794 0007C6F4 7C 83 02 15 */ add. r4, r3, r0
/* 8007F798 0007C6F8 41 82 00 6C */ beq lbl_8007F804
/* 8007F79C 0007C6FC 80 61 00 90 */ lwz r3, 0x90(r1)
/* 8007F7A0 0007C700 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8007F7A4 0007C704 90 64 00 00 */ stw r3, 0(r4)
/* 8007F7A8 0007C708 90 04 00 04 */ stw r0, 4(r4)
/* 8007F7AC 0007C70C 80 01 00 98 */ lwz r0, 0x98(r1)
/* 8007F7B0 0007C710 90 04 00 08 */ stw r0, 8(r4)
/* 8007F7B4 0007C714 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 8007F7B8 0007C718 80 01 00 A0 */ lwz r0, 0xa0(r1)
/* 8007F7BC 0007C71C 90 64 00 0C */ stw r3, 0xc(r4)
/* 8007F7C0 0007C720 90 04 00 10 */ stw r0, 0x10(r4)
/* 8007F7C4 0007C724 80 61 00 A4 */ lwz r3, 0xa4(r1)
/* 8007F7C8 0007C728 80 01 00 A8 */ lwz r0, 0xa8(r1)
/* 8007F7CC 0007C72C 90 64 00 14 */ stw r3, 0x14(r4)
/* 8007F7D0 0007C730 90 04 00 18 */ stw r0, 0x18(r4)
/* 8007F7D4 0007C734 80 61 00 AC */ lwz r3, 0xac(r1)
/* 8007F7D8 0007C738 80 01 00 B0 */ lwz r0, 0xb0(r1)
/* 8007F7DC 0007C73C 90 64 00 1C */ stw r3, 0x1c(r4)
/* 8007F7E0 0007C740 90 04 00 20 */ stw r0, 0x20(r4)
/* 8007F7E4 0007C744 80 61 00 B4 */ lwz r3, 0xb4(r1)
/* 8007F7E8 0007C748 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 8007F7EC 0007C74C 90 64 00 24 */ stw r3, 0x24(r4)
/* 8007F7F0 0007C750 90 04 00 28 */ stw r0, 0x28(r4)
/* 8007F7F4 0007C754 80 01 00 BC */ lwz r0, 0xbc(r1)
/* 8007F7F8 0007C758 90 04 00 2C */ stw r0, 0x2c(r4)
/* 8007F7FC 0007C75C 80 01 00 C0 */ lwz r0, 0xc0(r1)
/* 8007F800 0007C760 90 04 00 30 */ stw r0, 0x30(r4)
lbl_8007F804:
/* 8007F804 0007C764 80 7E 00 04 */ lwz r3, 4(r30)
/* 8007F808 0007C768 3A 10 00 01 */ addi r16, r16, 1
/* 8007F80C 0007C76C 38 03 00 01 */ addi r0, r3, 1
/* 8007F810 0007C770 90 1E 00 04 */ stw r0, 4(r30)
lbl_8007F814:
/* 8007F814 0007C774 7C 10 E8 00 */ cmpw r16, r29
/* 8007F818 0007C778 41 80 FE C4 */ blt lbl_8007F6DC
/* 8007F81C 0007C77C 7F E3 FB 78 */ mr r3, r31
/* 8007F820 0007C780 48 2B F4 65 */ bl ReadLong__12CInputStreamFv
/* 8007F824 0007C784 7C 64 1B 78 */ mr r4, r3
/* 8007F828 0007C788 38 7E 00 10 */ addi r3, r30, 0x10
/* 8007F82C 0007C78C 48 00 08 45 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi"
/* 8007F830 0007C790 3B 00 00 00 */ li r24, 0
/* 8007F834 0007C794 3B 21 00 71 */ addi r25, r1, 0x71
/* 8007F838 0007C798 7F 1A C3 78 */ mr r26, r24
/* 8007F83C 0007C79C 48 00 03 38 */ b lbl_8007FB74
lbl_8007F840:
/* 8007F840 0007C7A0 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8007F844 0007C7A4 7F E3 FB 78 */ mr r3, r31
/* 8007F848 0007C7A8 82 5E 00 14 */ lwz r18, 0x14(r30)
/* 8007F84C 0007C7AC 7F 80 D2 14 */ add r28, r0, r26
/* 8007F850 0007C7B0 48 2B F4 35 */ bl ReadLong__12CInputStreamFv
/* 8007F854 0007C7B4 90 7C 00 2C */ stw r3, 0x2c(r28)
/* 8007F858 0007C7B8 80 1C 00 2C */ lwz r0, 0x2c(r28)
/* 8007F85C 0007C7BC 2C 00 00 00 */ cmpwi r0, 0
/* 8007F860 0007C7C0 41 82 03 0C */ beq lbl_8007FB6C
/* 8007F864 0007C7C4 3C 60 80 3E */ lis r3, lbl_803D8598@ha
/* 8007F868 0007C7C8 C3 E2 89 80 */ lfs f31, lbl_805AA6A0@sda21(r2)
/* 8007F86C 0007C7CC 3A 23 85 98 */ addi r17, r3, lbl_803D8598@l
/* 8007F870 0007C7D0 3A 00 00 00 */ li r16, 0
/* 8007F874 0007C7D4 48 00 00 B4 */ b lbl_8007F928
lbl_8007F878:
/* 8007F878 0007C7D8 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8007F87C 0007C7DC 38 60 00 00 */ li r3, 0
/* 8007F880 0007C7E0 80 DE 00 18 */ lwz r6, 0x18(r30)
/* 8007F884 0007C7E4 80 B1 00 00 */ lwz r5, 0(r17)
/* 8007F888 0007C7E8 80 91 00 04 */ lwz r4, 4(r17)
/* 8007F88C 0007C7EC 7C 00 30 00 */ cmpw r0, r6
/* 8007F890 0007C7F0 80 11 00 08 */ lwz r0, 8(r17)
/* 8007F894 0007C7F4 90 A1 00 54 */ stw r5, 0x54(r1)
/* 8007F898 0007C7F8 90 81 00 58 */ stw r4, 0x58(r1)
/* 8007F89C 0007C7FC 90 01 00 5C */ stw r0, 0x5c(r1)
/* 8007F8A0 0007C800 D3 E1 00 60 */ stfs f31, 0x60(r1)
/* 8007F8A4 0007C804 90 61 00 64 */ stw r3, 0x64(r1)
/* 8007F8A8 0007C808 90 61 00 68 */ stw r3, 0x68(r1)
/* 8007F8AC 0007C80C 98 61 00 6C */ stb r3, 0x6c(r1)
/* 8007F8B0 0007C810 41 80 00 1C */ blt lbl_8007F8CC
/* 8007F8B4 0007C814 2C 06 00 00 */ cmpwi r6, 0
/* 8007F8B8 0007C818 38 7E 00 10 */ addi r3, r30, 0x10
/* 8007F8BC 0007C81C 38 80 00 04 */ li r4, 4
/* 8007F8C0 0007C820 41 82 00 08 */ beq lbl_8007F8C8
/* 8007F8C4 0007C824 54 C4 08 3C */ slwi r4, r6, 1
lbl_8007F8C8:
/* 8007F8C8 0007C828 48 00 07 A9 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi"
lbl_8007F8CC:
/* 8007F8CC 0007C82C 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8007F8D0 0007C830 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 8007F8D4 0007C834 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 8007F8D8 0007C838 7C 83 02 15 */ add. r4, r3, r0
/* 8007F8DC 0007C83C 41 82 00 3C */ beq lbl_8007F918
/* 8007F8E0 0007C840 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8007F8E4 0007C844 80 61 00 58 */ lwz r3, 0x58(r1)
/* 8007F8E8 0007C848 90 04 00 00 */ stw r0, 0(r4)
/* 8007F8EC 0007C84C 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 8007F8F0 0007C850 90 64 00 04 */ stw r3, 4(r4)
/* 8007F8F4 0007C854 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 8007F8F8 0007C858 90 04 00 08 */ stw r0, 8(r4)
/* 8007F8FC 0007C85C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8007F900 0007C860 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 8007F904 0007C864 80 61 00 68 */ lwz r3, 0x68(r1)
/* 8007F908 0007C868 90 04 00 10 */ stw r0, 0x10(r4)
/* 8007F90C 0007C86C 88 01 00 6C */ lbz r0, 0x6c(r1)
/* 8007F910 0007C870 90 64 00 14 */ stw r3, 0x14(r4)
/* 8007F914 0007C874 98 04 00 18 */ stb r0, 0x18(r4)
lbl_8007F918:
/* 8007F918 0007C878 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 8007F91C 0007C87C 3A 10 00 01 */ addi r16, r16, 1
/* 8007F920 0007C880 38 03 00 01 */ addi r0, r3, 1
/* 8007F924 0007C884 90 1E 00 14 */ stw r0, 0x14(r30)
lbl_8007F928:
/* 8007F928 0007C888 80 1C 00 2C */ lwz r0, 0x2c(r28)
/* 8007F92C 0007C88C 7C 10 00 00 */ cmpw r16, r0
/* 8007F930 0007C890 41 80 FF 48 */ blt lbl_8007F878
/* 8007F934 0007C894 1C 12 00 1C */ mulli r0, r18, 0x1c
/* 8007F938 0007C898 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 8007F93C 0007C89C 3A E0 00 00 */ li r23, 0
/* 8007F940 0007C8A0 3A 41 00 70 */ addi r18, r1, 0x70
/* 8007F944 0007C8A4 7C 03 02 14 */ add r0, r3, r0
/* 8007F948 0007C8A8 7E FB BB 78 */ mr r27, r23
/* 8007F94C 0007C8AC 90 1C 00 30 */ stw r0, 0x30(r28)
/* 8007F950 0007C8B0 48 00 02 10 */ b lbl_8007FB60
lbl_8007F954:
/* 8007F954 0007C8B4 7F E3 FB 78 */ mr r3, r31
/* 8007F958 0007C8B8 48 2B F3 2D */ bl ReadLong__12CInputStreamFv
/* 8007F95C 0007C8BC 7C 71 1B 78 */ mr r17, r3
/* 8007F960 0007C8C0 3A A0 00 00 */ li r21, 0
/* 8007F964 0007C8C4 3A 71 FF FF */ addi r19, r17, -1
/* 8007F968 0007C8C8 48 00 01 E8 */ b lbl_8007FB50
lbl_8007F96C:
/* 8007F96C 0007C8CC 3A 00 00 00 */ li r16, 0
/* 8007F970 0007C8D0 3A 81 00 70 */ addi r20, r1, 0x70
lbl_8007F974:
/* 8007F974 0007C8D4 7F E3 FB 78 */ mr r3, r31
/* 8007F978 0007C8D8 48 2B F3 95 */ bl ReadChar__12CInputStreamFv
/* 8007F97C 0007C8DC 98 74 00 00 */ stb r3, 0(r20)
/* 8007F980 0007C8E0 88 14 00 00 */ lbz r0, 0(r20)
/* 8007F984 0007C8E4 7C 00 07 75 */ extsb. r0, r0
/* 8007F988 0007C8E8 41 82 00 14 */ beq lbl_8007F99C
/* 8007F98C 0007C8EC 3A 10 00 01 */ addi r16, r16, 1
/* 8007F990 0007C8F0 3A 94 00 01 */ addi r20, r20, 1
/* 8007F994 0007C8F4 2C 10 00 1F */ cmpwi r16, 0x1f
/* 8007F998 0007C8F8 41 80 FF DC */ blt lbl_8007F974
lbl_8007F99C:
/* 8007F99C 0007C8FC 38 00 00 00 */ li r0, 0
/* 8007F9A0 0007C900 38 61 00 08 */ addi r3, r1, 8
/* 8007F9A4 0007C904 7C 12 81 AE */ stbx r0, r18, r16
/* 8007F9A8 0007C908 88 01 00 70 */ lbz r0, 0x70(r1)
/* 8007F9AC 0007C90C 2C 00 00 21 */ cmpwi r0, 0x21
/* 8007F9B0 0007C910 40 82 00 0C */ bne lbl_8007F9BC
/* 8007F9B4 0007C914 7F 24 CB 78 */ mr r4, r25
/* 8007F9B8 0007C918 48 00 00 08 */ b lbl_8007F9C0
lbl_8007F9BC:
/* 8007F9BC 0007C91C 7E 44 93 78 */ mr r4, r18
lbl_8007F9C0:
/* 8007F9C0 0007C920 48 02 2F C1 */ bl GetTriggerFunc__3CAiFPCc
/* 8007F9C4 0007C924 80 A1 00 08 */ lwz r5, 8(r1)
/* 8007F9C8 0007C928 7F E3 FB 78 */ mr r3, r31
/* 8007F9CC 0007C92C 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8007F9D0 0007C930 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8007F9D4 0007C934 90 A1 00 20 */ stw r5, 0x20(r1)
/* 8007F9D8 0007C938 90 81 00 24 */ stw r4, 0x24(r1)
/* 8007F9DC 0007C93C 90 01 00 28 */ stw r0, 0x28(r1)
/* 8007F9E0 0007C940 48 2B F2 49 */ bl ReadFloat__12CInputStreamFv
/* 8007F9E4 0007C944 88 01 00 70 */ lbz r0, 0x70(r1)
/* 8007F9E8 0007C948 FF E0 08 90 */ fmr f31, f1
/* 8007F9EC 0007C94C 7C 15 98 00 */ cmpw r21, r19
/* 8007F9F0 0007C950 7C 00 07 74 */ extsb r0, r0
/* 8007F9F4 0007C954 20 00 00 21 */ subfic r0, r0, 0x21
/* 8007F9F8 0007C958 7C 00 00 34 */ cntlzw r0, r0
/* 8007F9FC 0007C95C 54 14 D9 7E */ srwi r20, r0, 5
/* 8007FA00 0007C960 40 80 00 D8 */ bge lbl_8007FAD8
/* 8007FA04 0007C964 3C 80 80 3E */ lis r4, lbl_803D8598@ha
/* 8007FA08 0007C968 38 60 00 00 */ li r3, 0
/* 8007FA0C 0007C96C 38 C4 85 98 */ addi r6, r4, lbl_803D8598@l
/* 8007FA10 0007C970 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8007FA14 0007C974 80 FE 00 18 */ lwz r7, 0x18(r30)
/* 8007FA18 0007C978 80 A6 00 00 */ lwz r5, 0(r6)
/* 8007FA1C 0007C97C 80 86 00 04 */ lwz r4, 4(r6)
/* 8007FA20 0007C980 7C 00 38 00 */ cmpw r0, r7
/* 8007FA24 0007C984 80 06 00 08 */ lwz r0, 8(r6)
/* 8007FA28 0007C988 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2)
/* 8007FA2C 0007C98C 90 A1 00 38 */ stw r5, 0x38(r1)
/* 8007FA30 0007C990 90 81 00 3C */ stw r4, 0x3c(r1)
/* 8007FA34 0007C994 90 01 00 40 */ stw r0, 0x40(r1)
/* 8007FA38 0007C998 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8007FA3C 0007C99C 90 61 00 48 */ stw r3, 0x48(r1)
/* 8007FA40 0007C9A0 90 61 00 4C */ stw r3, 0x4c(r1)
/* 8007FA44 0007C9A4 98 61 00 50 */ stb r3, 0x50(r1)
/* 8007FA48 0007C9A8 41 80 00 1C */ blt lbl_8007FA64
/* 8007FA4C 0007C9AC 2C 07 00 00 */ cmpwi r7, 0
/* 8007FA50 0007C9B0 38 7E 00 10 */ addi r3, r30, 0x10
/* 8007FA54 0007C9B4 38 80 00 04 */ li r4, 4
/* 8007FA58 0007C9B8 41 82 00 08 */ beq lbl_8007FA60
/* 8007FA5C 0007C9BC 54 E4 08 3C */ slwi r4, r7, 1
lbl_8007FA60:
/* 8007FA60 0007C9C0 48 00 06 11 */ bl "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi"
lbl_8007FA64:
/* 8007FA64 0007C9C4 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8007FA68 0007C9C8 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 8007FA6C 0007C9CC 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 8007FA70 0007C9D0 7C 83 02 15 */ add. r4, r3, r0
/* 8007FA74 0007C9D4 41 82 00 3C */ beq lbl_8007FAB0
/* 8007FA78 0007C9D8 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8007FA7C 0007C9DC 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8007FA80 0007C9E0 90 04 00 00 */ stw r0, 0(r4)
/* 8007FA84 0007C9E4 80 01 00 40 */ lwz r0, 0x40(r1)
/* 8007FA88 0007C9E8 90 64 00 04 */ stw r3, 4(r4)
/* 8007FA8C 0007C9EC C0 01 00 44 */ lfs f0, 0x44(r1)
/* 8007FA90 0007C9F0 90 04 00 08 */ stw r0, 8(r4)
/* 8007FA94 0007C9F4 80 01 00 48 */ lwz r0, 0x48(r1)
/* 8007FA98 0007C9F8 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 8007FA9C 0007C9FC 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 8007FAA0 0007CA00 90 04 00 10 */ stw r0, 0x10(r4)
/* 8007FAA4 0007CA04 88 01 00 50 */ lbz r0, 0x50(r1)
/* 8007FAA8 0007CA08 90 64 00 14 */ stw r3, 0x14(r4)
/* 8007FAAC 0007CA0C 98 04 00 18 */ stb r0, 0x18(r4)
lbl_8007FAB0:
/* 8007FAB0 0007CA10 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 8007FAB4 0007CA14 38 03 00 01 */ addi r0, r3, 1
/* 8007FAB8 0007CA18 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8007FABC 0007CA1C 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 8007FAC0 0007CA20 80 9E 00 1C */ lwz r4, 0x1c(r30)
/* 8007FAC4 0007CA24 38 03 FF FF */ addi r0, r3, -1
/* 8007FAC8 0007CA28 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 8007FACC 0007CA2C 7C 04 02 14 */ add r0, r4, r0
/* 8007FAD0 0007CA30 7C 10 03 78 */ mr r16, r0
/* 8007FAD4 0007CA34 48 00 00 0C */ b lbl_8007FAE0
lbl_8007FAD8:
/* 8007FAD8 0007CA38 80 1C 00 30 */ lwz r0, 0x30(r28)
/* 8007FADC 0007CA3C 7E 00 DA 14 */ add r16, r0, r27
lbl_8007FAE0:
/* 8007FAE0 0007CA40 2C 15 00 00 */ cmpwi r21, 0
/* 8007FAE4 0007CA44 40 82 00 40 */ bne lbl_8007FB24
/* 8007FAE8 0007CA48 7F E3 FB 78 */ mr r3, r31
/* 8007FAEC 0007CA4C 48 2B F1 99 */ bl ReadLong__12CInputStreamFv
/* 8007FAF0 0007CA50 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8007FAF4 0007CA54 1C 83 00 34 */ mulli r4, r3, 0x34
/* 8007FAF8 0007CA58 80 01 00 20 */ lwz r0, 0x20(r1)
/* 8007FAFC 0007CA5C 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8007FB00 0007CA60 90 10 00 00 */ stw r0, 0(r16)
/* 8007FB04 0007CA64 7C 85 22 14 */ add r4, r5, r4
/* 8007FB08 0007CA68 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8007FB0C 0007CA6C 90 70 00 04 */ stw r3, 4(r16)
/* 8007FB10 0007CA70 90 10 00 08 */ stw r0, 8(r16)
/* 8007FB14 0007CA74 D3 F0 00 0C */ stfs f31, 0xc(r16)
/* 8007FB18 0007CA78 90 90 00 14 */ stw r4, 0x14(r16)
/* 8007FB1C 0007CA7C 9A 90 00 18 */ stb r20, 0x18(r16)
/* 8007FB20 0007CA80 48 00 00 28 */ b lbl_8007FB48
lbl_8007FB24:
/* 8007FB24 0007CA84 80 01 00 20 */ lwz r0, 0x20(r1)
/* 8007FB28 0007CA88 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8007FB2C 0007CA8C 90 10 00 00 */ stw r0, 0(r16)
/* 8007FB30 0007CA90 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8007FB34 0007CA94 90 70 00 04 */ stw r3, 4(r16)
/* 8007FB38 0007CA98 90 10 00 08 */ stw r0, 8(r16)
/* 8007FB3C 0007CA9C D3 F0 00 0C */ stfs f31, 0xc(r16)
/* 8007FB40 0007CAA0 92 D0 00 10 */ stw r22, 0x10(r16)
/* 8007FB44 0007CAA4 9A 90 00 18 */ stb r20, 0x18(r16)
lbl_8007FB48:
/* 8007FB48 0007CAA8 7E 16 83 78 */ mr r22, r16
/* 8007FB4C 0007CAAC 3A B5 00 01 */ addi r21, r21, 1
lbl_8007FB50:
/* 8007FB50 0007CAB0 7C 15 88 00 */ cmpw r21, r17
/* 8007FB54 0007CAB4 41 80 FE 18 */ blt lbl_8007F96C
/* 8007FB58 0007CAB8 3B 7B 00 1C */ addi r27, r27, 0x1c
/* 8007FB5C 0007CABC 3A F7 00 01 */ addi r23, r23, 1
lbl_8007FB60:
/* 8007FB60 0007CAC0 80 1C 00 2C */ lwz r0, 0x2c(r28)
/* 8007FB64 0007CAC4 7C 17 00 00 */ cmpw r23, r0
/* 8007FB68 0007CAC8 41 80 FD EC */ blt lbl_8007F954
lbl_8007FB6C:
/* 8007FB6C 0007CACC 3B 5A 00 34 */ addi r26, r26, 0x34
/* 8007FB70 0007CAD0 3B 18 00 01 */ addi r24, r24, 1
lbl_8007FB74:
/* 8007FB74 0007CAD4 7C 18 E8 00 */ cmpw r24, r29
/* 8007FB78 0007CAD8 41 80 FC C8 */ blt lbl_8007F840
/* 8007FB7C 0007CADC 7F C3 F3 78 */ mr r3, r30
/* 8007FB80 0007CAE0 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0
/* 8007FB84 0007CAE4 CB E1 01 10 */ lfd f31, 0x110(r1)
/* 8007FB88 0007CAE8 BA 01 00 D0 */ lmw r16, 0xd0(r1)
/* 8007FB8C 0007CAEC 80 01 01 24 */ lwz r0, 0x124(r1)
/* 8007FB90 0007CAF0 7C 08 03 A6 */ mtlr r0
/* 8007FB94 0007CAF4 38 21 01 20 */ addi r1, r1, 0x120
/* 8007FB98 0007CAF8 4E 80 00 20 */ blr
.global GetName__18CStateMachineStateCFv
GetName__18CStateMachineStateCFv:
/* 8007FB9C 0007CAFC 80 63 00 04 */ lwz r3, 4(r3)
/* 8007FBA0 0007CB00 28 03 00 00 */ cmplwi r3, 0
/* 8007FBA4 0007CB04 41 82 00 0C */ beq lbl_8007FBB0
/* 8007FBA8 0007CB08 38 63 00 0C */ addi r3, r3, 0xc
/* 8007FBAC 0007CB0C 4E 80 00 20 */ blr
lbl_8007FBB0:
/* 8007FBB0 0007CB10 38 60 00 00 */ li r3, 0
/* 8007FBB4 0007CB14 4E 80 00 20 */ blr
.global Setup__18CStateMachineStateFPC13CStateMachine
Setup__18CStateMachineStateFPC13CStateMachine:
/* 8007FBB8 0007CB18 90 83 00 00 */ stw r4, 0(r3)
/* 8007FBBC 0007CB1C 38 00 00 00 */ li r0, 0
/* 8007FBC0 0007CB20 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2)
/* 8007FBC4 0007CB24 90 03 00 04 */ stw r0, 4(r3)
/* 8007FBC8 0007CB28 D0 03 00 08 */ stfs f0, 8(r3)
/* 8007FBCC 0007CB2C D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8007FBD0 0007CB30 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8007FBD4 0007CB34 4E 80 00 20 */ blr
.global __ct__18CStateMachineStateFv
__ct__18CStateMachineStateFv:
/* 8007FBD8 0007CB38 38 80 00 00 */ li r4, 0
/* 8007FBDC 0007CB3C C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2)
/* 8007FBE0 0007CB40 90 83 00 00 */ stw r4, 0(r3)
/* 8007FBE4 0007CB44 90 83 00 04 */ stw r4, 4(r3)
/* 8007FBE8 0007CB48 D0 03 00 08 */ stfs f0, 8(r3)
/* 8007FBEC 0007CB4C D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8007FBF0 0007CB50 D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8007FBF4 0007CB54 88 03 00 18 */ lbz r0, 0x18(r3)
/* 8007FBF8 0007CB58 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8007FBFC 0007CB5C 98 03 00 18 */ stb r0, 0x18(r3)
/* 8007FC00 0007CB60 4E 80 00 20 */ blr
.global "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8007FC04 0007CB64 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8007FC08 0007CB68 7C 08 02 A6 */ mflr r0
/* 8007FC0C 0007CB6C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8007FC10 0007CB70 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 8007FC14 0007CB74 7C DE 33 79 */ or. r30, r6, r6
/* 8007FC18 0007CB78 7C 7B 1B 78 */ mr r27, r3
/* 8007FC1C 0007CB7C 7C 9C 23 78 */ mr r28, r4
/* 8007FC20 0007CB80 7C BD 2B 78 */ mr r29, r5
/* 8007FC24 0007CB84 7C FF 3B 78 */ mr r31, r7
/* 8007FC28 0007CB88 41 82 00 3C */ beq lbl_8007FC64
/* 8007FC2C 0007CB8C 80 1B 00 00 */ lwz r0, 0(r27)
/* 8007FC30 0007CB90 28 00 00 00 */ cmplwi r0, 0
/* 8007FC34 0007CB94 40 82 00 0C */ bne lbl_8007FC40
/* 8007FC38 0007CB98 7F C4 F3 78 */ mr r4, r30
/* 8007FC3C 0007CB9C 4B FF FF 7D */ bl Setup__18CStateMachineStateFPC13CStateMachine
lbl_8007FC40:
/* 8007FC40 0007CBA0 7F C3 F3 78 */ mr r3, r30
/* 8007FC44 0007CBA4 7F E4 FB 78 */ mr r4, r31
/* 8007FC48 0007CBA8 4B FF F9 9D */ bl "GetStateIndex__13CStateMachineCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8007FC4C 0007CBAC 7C 60 1B 78 */ mr r0, r3
/* 8007FC50 0007CBB0 7F 63 DB 78 */ mr r3, r27
/* 8007FC54 0007CBB4 7C 06 03 78 */ mr r6, r0
/* 8007FC58 0007CBB8 7F 84 E3 78 */ mr r4, r28
/* 8007FC5C 0007CBBC 7F A5 EB 78 */ mr r5, r29
/* 8007FC60 0007CBC0 48 00 00 19 */ bl SetState__18CStateMachineStateFR13CStateManagerR3CAii
lbl_8007FC64:
/* 8007FC64 0007CBC4 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 8007FC68 0007CBC8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8007FC6C 0007CBCC 7C 08 03 A6 */ mtlr r0
/* 8007FC70 0007CBD0 38 21 00 20 */ addi r1, r1, 0x20
/* 8007FC74 0007CBD4 4E 80 00 20 */ blr
.global SetState__18CStateMachineStateFR13CStateManagerR3CAii
SetState__18CStateMachineStateFR13CStateManagerR3CAii:
/* 8007FC78 0007CBD8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8007FC7C 0007CBDC 7C 08 02 A6 */ mflr r0
/* 8007FC80 0007CBE0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8007FC84 0007CBE4 1C 06 00 34 */ mulli r0, r6, 0x34
/* 8007FC88 0007CBE8 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 8007FC8C 0007CBEC 7C 7B 1B 78 */ mr r27, r3
/* 8007FC90 0007CBF0 7C 9C 23 78 */ mr r28, r4
/* 8007FC94 0007CBF4 7C BD 2B 78 */ mr r29, r5
/* 8007FC98 0007CBF8 80 63 00 00 */ lwz r3, 0(r3)
/* 8007FC9C 0007CBFC 83 DB 00 04 */ lwz r30, 4(r27)
/* 8007FCA0 0007CC00 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8007FCA4 0007CC04 7F E3 02 14 */ add r31, r3, r0
/* 8007FCA8 0007CC08 7C 1E F8 40 */ cmplw r30, r31
/* 8007FCAC 0007CC0C 41 82 00 90 */ beq lbl_8007FD3C
/* 8007FCB0 0007CC10 28 1E 00 00 */ cmplwi r30, 0
/* 8007FCB4 0007CC14 41 82 00 30 */ beq lbl_8007FCE4
/* 8007FCB8 0007CC18 7F C3 F3 78 */ mr r3, r30
/* 8007FCBC 0007CC1C 48 30 9C 41 */ bl __ptmf_test
/* 8007FCC0 0007CC20 2C 03 00 00 */ cmpwi r3, 0
/* 8007FCC4 0007CC24 41 82 00 20 */ beq lbl_8007FCE4
/* 8007FCC8 0007CC28 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2)
/* 8007FCCC 0007CC2C 7F A3 EB 78 */ mr r3, r29
/* 8007FCD0 0007CC30 7F 84 E3 78 */ mr r4, r28
/* 8007FCD4 0007CC34 7F CC F3 78 */ mr r12, r30
/* 8007FCD8 0007CC38 38 A0 00 02 */ li r5, 2
/* 8007FCDC 0007CC3C 48 30 9C 51 */ bl __ptmf_scall
/* 8007FCE0 0007CC40 60 00 00 00 */ nop
lbl_8007FCE4:
/* 8007FCE4 0007CC44 93 FB 00 04 */ stw r31, 4(r27)
/* 8007FCE8 0007CC48 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2)
/* 8007FCEC 0007CC4C D0 1B 00 08 */ stfs f0, 8(r27)
/* 8007FCF0 0007CC50 80 7C 09 00 */ lwz r3, 0x900(r28)
/* 8007FCF4 0007CC54 48 29 27 E9 */ bl Float__9CRandom16Fv
/* 8007FCF8 0007CC58 D0 3B 00 0C */ stfs f1, 0xc(r27)
/* 8007FCFC 0007CC5C 38 60 00 00 */ li r3, 0
/* 8007FD00 0007CC60 88 1B 00 18 */ lbz r0, 0x18(r27)
/* 8007FD04 0007CC64 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8007FD08 0007CC68 98 1B 00 18 */ stb r0, 0x18(r27)
/* 8007FD0C 0007CC6C 83 FB 00 04 */ lwz r31, 4(r27)
/* 8007FD10 0007CC70 7F E3 FB 78 */ mr r3, r31
/* 8007FD14 0007CC74 48 30 9B E9 */ bl __ptmf_test
/* 8007FD18 0007CC78 2C 03 00 00 */ cmpwi r3, 0
/* 8007FD1C 0007CC7C 41 82 00 20 */ beq lbl_8007FD3C
/* 8007FD20 0007CC80 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2)
/* 8007FD24 0007CC84 7F A3 EB 78 */ mr r3, r29
/* 8007FD28 0007CC88 7F 84 E3 78 */ mr r4, r28
/* 8007FD2C 0007CC8C 7F EC FB 78 */ mr r12, r31
/* 8007FD30 0007CC90 38 A0 00 00 */ li r5, 0
/* 8007FD34 0007CC94 48 30 9B F9 */ bl __ptmf_scall
/* 8007FD38 0007CC98 60 00 00 00 */ nop
lbl_8007FD3C:
/* 8007FD3C 0007CC9C BB 61 00 0C */ lmw r27, 0xc(r1)
/* 8007FD40 0007CCA0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8007FD44 0007CCA4 7C 08 03 A6 */ mtlr r0
/* 8007FD48 0007CCA8 38 21 00 20 */ addi r1, r1, 0x20
/* 8007FD4C 0007CCAC 4E 80 00 20 */ blr
.global Update__18CStateMachineStateFR13CStateManagerR3CAif
Update__18CStateMachineStateFR13CStateManagerR3CAif:
/* 8007FD50 0007CCB0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8007FD54 0007CCB4 7C 08 02 A6 */ mflr r0
/* 8007FD58 0007CCB8 90 01 00 44 */ stw r0, 0x44(r1)
/* 8007FD5C 0007CCBC DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8007FD60 0007CCC0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8007FD64 0007CCC4 BE E1 00 0C */ stmw r23, 0xc(r1)
/* 8007FD68 0007CCC8 7C 7D 1B 78 */ mr r29, r3
/* 8007FD6C 0007CCCC FF E0 08 90 */ fmr f31, f1
/* 8007FD70 0007CCD0 80 03 00 04 */ lwz r0, 4(r3)
/* 8007FD74 0007CCD4 7C 9E 23 78 */ mr r30, r4
/* 8007FD78 0007CCD8 7C BF 2B 78 */ mr r31, r5
/* 8007FD7C 0007CCDC 28 00 00 00 */ cmplwi r0, 0
/* 8007FD80 0007CCE0 41 82 01 84 */ beq lbl_8007FF04
/* 8007FD84 0007CCE4 C0 1D 00 08 */ lfs f0, 8(r29)
/* 8007FD88 0007CCE8 EC 00 F8 2A */ fadds f0, f0, f31
/* 8007FD8C 0007CCEC D0 1D 00 08 */ stfs f0, 8(r29)
/* 8007FD90 0007CCF0 83 9D 00 04 */ lwz r28, 4(r29)
/* 8007FD94 0007CCF4 7F 83 E3 78 */ mr r3, r28
/* 8007FD98 0007CCF8 48 30 9B 65 */ bl __ptmf_test
/* 8007FD9C 0007CCFC 2C 03 00 00 */ cmpwi r3, 0
/* 8007FDA0 0007CD00 41 82 00 20 */ beq lbl_8007FDC0
/* 8007FDA4 0007CD04 FC 20 F8 90 */ fmr f1, f31
/* 8007FDA8 0007CD08 7F E3 FB 78 */ mr r3, r31
/* 8007FDAC 0007CD0C 7F C4 F3 78 */ mr r4, r30
/* 8007FDB0 0007CD10 7F 8C E3 78 */ mr r12, r28
/* 8007FDB4 0007CD14 38 A0 00 01 */ li r5, 1
/* 8007FDB8 0007CD18 48 30 9B 75 */ bl __ptmf_scall
/* 8007FDBC 0007CD1C 60 00 00 00 */ nop
lbl_8007FDC0:
/* 8007FDC0 0007CD20 3B 40 00 00 */ li r26, 0
/* 8007FDC4 0007CD24 3B 60 00 00 */ li r27, 0
/* 8007FDC8 0007CD28 48 00 01 2C */ b lbl_8007FEF4
lbl_8007FDCC:
/* 8007FDCC 0007CD2C 80 03 00 30 */ lwz r0, 0x30(r3)
/* 8007FDD0 0007CD30 3B 00 00 00 */ li r24, 0
/* 8007FDD4 0007CD34 3A E0 00 01 */ li r23, 1
/* 8007FDD8 0007CD38 7F 20 DA 14 */ add r25, r0, r27
/* 8007FDDC 0007CD3C 48 00 00 64 */ b lbl_8007FE40
lbl_8007FDE0:
/* 8007FDE0 0007CD40 7F 23 CB 78 */ mr r3, r25
/* 8007FDE4 0007CD44 3A E0 00 00 */ li r23, 0
/* 8007FDE8 0007CD48 3B 80 00 01 */ li r28, 1
/* 8007FDEC 0007CD4C 48 30 9B 11 */ bl __ptmf_test
/* 8007FDF0 0007CD50 2C 03 00 00 */ cmpwi r3, 0
/* 8007FDF4 0007CD54 41 82 00 38 */ beq lbl_8007FE2C
/* 8007FDF8 0007CD58 C0 39 00 0C */ lfs f1, 0xc(r25)
/* 8007FDFC 0007CD5C 7F E3 FB 78 */ mr r3, r31
/* 8007FE00 0007CD60 7F C4 F3 78 */ mr r4, r30
/* 8007FE04 0007CD64 7F 2C CB 78 */ mr r12, r25
/* 8007FE08 0007CD68 48 30 9B 25 */ bl __ptmf_scall
/* 8007FE0C 0007CD6C 60 00 00 00 */ nop
/* 8007FE10 0007CD70 88 19 00 18 */ lbz r0, 0x18(r25)
/* 8007FE14 0007CD74 7C 7C 1B 78 */ mr r28, r3
/* 8007FE18 0007CD78 28 00 00 00 */ cmplwi r0, 0
/* 8007FE1C 0007CD7C 41 82 00 10 */ beq lbl_8007FE2C
/* 8007FE20 0007CD80 57 80 06 3E */ clrlwi r0, r28, 0x18
/* 8007FE24 0007CD84 7C 00 00 34 */ cntlzw r0, r0
/* 8007FE28 0007CD88 54 1C D9 7E */ srwi r28, r0, 5
lbl_8007FE2C:
/* 8007FE2C 0007CD8C 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 8007FE30 0007CD90 41 82 00 10 */ beq lbl_8007FE40
/* 8007FE34 0007CD94 83 19 00 14 */ lwz r24, 0x14(r25)
/* 8007FE38 0007CD98 3A E0 00 01 */ li r23, 1
/* 8007FE3C 0007CD9C 83 39 00 10 */ lwz r25, 0x10(r25)
lbl_8007FE40:
/* 8007FE40 0007CDA0 56 E0 06 3F */ clrlwi. r0, r23, 0x18
/* 8007FE44 0007CDA4 41 82 00 0C */ beq lbl_8007FE50
/* 8007FE48 0007CDA8 28 19 00 00 */ cmplwi r25, 0
/* 8007FE4C 0007CDAC 40 82 FF 94 */ bne lbl_8007FDE0
lbl_8007FE50:
/* 8007FE50 0007CDB0 56 E0 06 3F */ clrlwi. r0, r23, 0x18
/* 8007FE54 0007CDB4 41 82 00 98 */ beq lbl_8007FEEC
/* 8007FE58 0007CDB8 28 18 00 00 */ cmplwi r24, 0
/* 8007FE5C 0007CDBC 41 82 00 90 */ beq lbl_8007FEEC
/* 8007FE60 0007CDC0 83 9D 00 04 */ lwz r28, 4(r29)
/* 8007FE64 0007CDC4 7F 83 E3 78 */ mr r3, r28
/* 8007FE68 0007CDC8 48 30 9A 95 */ bl __ptmf_test
/* 8007FE6C 0007CDCC 2C 03 00 00 */ cmpwi r3, 0
/* 8007FE70 0007CDD0 41 82 00 20 */ beq lbl_8007FE90
/* 8007FE74 0007CDD4 C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2)
/* 8007FE78 0007CDD8 7F E3 FB 78 */ mr r3, r31
/* 8007FE7C 0007CDDC 7F C4 F3 78 */ mr r4, r30
/* 8007FE80 0007CDE0 7F 8C E3 78 */ mr r12, r28
/* 8007FE84 0007CDE4 38 A0 00 02 */ li r5, 2
/* 8007FE88 0007CDE8 48 30 9A A5 */ bl __ptmf_scall
/* 8007FE8C 0007CDEC 60 00 00 00 */ nop
lbl_8007FE90:
/* 8007FE90 0007CDF0 93 1D 00 04 */ stw r24, 4(r29)
/* 8007FE94 0007CDF4 38 60 00 00 */ li r3, 0
/* 8007FE98 0007CDF8 C0 02 89 80 */ lfs f0, lbl_805AA6A0@sda21(r2)
/* 8007FE9C 0007CDFC D0 1D 00 08 */ stfs f0, 8(r29)
/* 8007FEA0 0007CE00 88 1D 00 18 */ lbz r0, 0x18(r29)
/* 8007FEA4 0007CE04 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8007FEA8 0007CE08 98 1D 00 18 */ stb r0, 0x18(r29)
/* 8007FEAC 0007CE0C 80 7E 09 00 */ lwz r3, 0x900(r30)
/* 8007FEB0 0007CE10 48 29 26 2D */ bl Float__9CRandom16Fv
/* 8007FEB4 0007CE14 D0 3D 00 0C */ stfs f1, 0xc(r29)
/* 8007FEB8 0007CE18 83 9D 00 04 */ lwz r28, 4(r29)
/* 8007FEBC 0007CE1C 7F 83 E3 78 */ mr r3, r28
/* 8007FEC0 0007CE20 48 30 9A 3D */ bl __ptmf_test
/* 8007FEC4 0007CE24 2C 03 00 00 */ cmpwi r3, 0
/* 8007FEC8 0007CE28 41 82 00 3C */ beq lbl_8007FF04
/* 8007FECC 0007CE2C C0 22 89 80 */ lfs f1, lbl_805AA6A0@sda21(r2)
/* 8007FED0 0007CE30 7F E3 FB 78 */ mr r3, r31
/* 8007FED4 0007CE34 7F C4 F3 78 */ mr r4, r30
/* 8007FED8 0007CE38 7F 8C E3 78 */ mr r12, r28
/* 8007FEDC 0007CE3C 38 A0 00 00 */ li r5, 0
/* 8007FEE0 0007CE40 48 30 9A 4D */ bl __ptmf_scall
/* 8007FEE4 0007CE44 60 00 00 00 */ nop
/* 8007FEE8 0007CE48 48 00 00 1C */ b lbl_8007FF04
lbl_8007FEEC:
/* 8007FEEC 0007CE4C 3B 7B 00 1C */ addi r27, r27, 0x1c
/* 8007FEF0 0007CE50 3B 5A 00 01 */ addi r26, r26, 1
lbl_8007FEF4:
/* 8007FEF4 0007CE54 80 7D 00 04 */ lwz r3, 4(r29)
/* 8007FEF8 0007CE58 80 03 00 2C */ lwz r0, 0x2c(r3)
/* 8007FEFC 0007CE5C 7C 1A 00 00 */ cmpw r26, r0
/* 8007FF00 0007CE60 41 80 FE CC */ blt lbl_8007FDCC
lbl_8007FF04:
/* 8007FF04 0007CE64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8007FF08 0007CE68 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8007FF0C 0007CE6C BA E1 00 0C */ lmw r23, 0xc(r1)
/* 8007FF10 0007CE70 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8007FF14 0007CE74 7C 08 03 A6 */ mtlr r0
/* 8007FF18 0007CE78 38 21 00 40 */ addi r1, r1, 0x40
/* 8007FF1C 0007CE7C 4E 80 00 20 */ blr
.global "reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl44vector<8CAiState,Q24rstl17rmemory_allocator>Fi":
/* 8007FF20 0007CE80 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8007FF24 0007CE84 7C 08 02 A6 */ mflr r0
/* 8007FF28 0007CE88 90 01 00 34 */ stw r0, 0x34(r1)
/* 8007FF2C 0007CE8C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8007FF30 0007CE90 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8007FF34 0007CE94 7C 9E 23 78 */ mr r30, r4
/* 8007FF38 0007CE98 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8007FF3C 0007CE9C 7C 7D 1B 78 */ mr r29, r3
/* 8007FF40 0007CEA0 80 03 00 08 */ lwz r0, 8(r3)
/* 8007FF44 0007CEA4 7C 1E 00 00 */ cmpw r30, r0
/* 8007FF48 0007CEA8 40 81 01 0C */ ble lbl_80080054
/* 8007FF4C 0007CEAC 1C 7E 00 34 */ mulli r3, r30, 0x34
/* 8007FF50 0007CEB0 2C 03 00 00 */ cmpwi r3, 0
/* 8007FF54 0007CEB4 40 82 00 0C */ bne lbl_8007FF60
/* 8007FF58 0007CEB8 3B E0 00 00 */ li r31, 0
/* 8007FF5C 0007CEBC 48 00 00 18 */ b lbl_8007FF74
lbl_8007FF60:
/* 8007FF60 0007CEC0 3C 80 80 3D */ lis r4, lbl_803CD628@ha
/* 8007FF64 0007CEC4 38 A0 00 00 */ li r5, 0
/* 8007FF68 0007CEC8 38 84 D6 28 */ addi r4, r4, lbl_803CD628@l
/* 8007FF6C 0007CECC 48 29 58 AD */ bl __nwa__FUlPCcPCc
/* 8007FF70 0007CED0 7C 7F 1B 78 */ mr r31, r3
lbl_8007FF74:
/* 8007FF74 0007CED4 80 1D 00 04 */ lwz r0, 4(r29)
/* 8007FF78 0007CED8 7F E5 FB 78 */ mr r5, r31
/* 8007FF7C 0007CEDC 80 DD 00 0C */ lwz r6, 0xc(r29)
/* 8007FF80 0007CEE0 1C 00 00 34 */ mulli r0, r0, 0x34
/* 8007FF84 0007CEE4 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8007FF88 0007CEE8 7C 86 02 14 */ add r4, r6, r0
/* 8007FF8C 0007CEEC 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8007FF90 0007CEF0 90 81 00 08 */ stw r4, 8(r1)
/* 8007FF94 0007CEF4 90 81 00 0C */ stw r4, 0xc(r1)
/* 8007FF98 0007CEF8 48 00 00 7C */ b lbl_80080014
lbl_8007FF9C:
/* 8007FF9C 0007CEFC 28 05 00 00 */ cmplwi r5, 0
/* 8007FFA0 0007CF00 41 82 00 6C */ beq lbl_8008000C
/* 8007FFA4 0007CF04 80 66 00 00 */ lwz r3, 0(r6)
/* 8007FFA8 0007CF08 80 06 00 04 */ lwz r0, 4(r6)
/* 8007FFAC 0007CF0C 90 65 00 00 */ stw r3, 0(r5)
/* 8007FFB0 0007CF10 90 05 00 04 */ stw r0, 4(r5)
/* 8007FFB4 0007CF14 80 06 00 08 */ lwz r0, 8(r6)
/* 8007FFB8 0007CF18 90 05 00 08 */ stw r0, 8(r5)
/* 8007FFBC 0007CF1C 80 66 00 0C */ lwz r3, 0xc(r6)
/* 8007FFC0 0007CF20 80 06 00 10 */ lwz r0, 0x10(r6)
/* 8007FFC4 0007CF24 90 65 00 0C */ stw r3, 0xc(r5)
/* 8007FFC8 0007CF28 90 05 00 10 */ stw r0, 0x10(r5)
/* 8007FFCC 0007CF2C 80 66 00 14 */ lwz r3, 0x14(r6)
/* 8007FFD0 0007CF30 80 06 00 18 */ lwz r0, 0x18(r6)
/* 8007FFD4 0007CF34 90 65 00 14 */ stw r3, 0x14(r5)
/* 8007FFD8 0007CF38 90 05 00 18 */ stw r0, 0x18(r5)
/* 8007FFDC 0007CF3C 80 66 00 1C */ lwz r3, 0x1c(r6)
/* 8007FFE0 0007CF40 80 06 00 20 */ lwz r0, 0x20(r6)
/* 8007FFE4 0007CF44 90 65 00 1C */ stw r3, 0x1c(r5)
/* 8007FFE8 0007CF48 90 05 00 20 */ stw r0, 0x20(r5)
/* 8007FFEC 0007CF4C 80 66 00 24 */ lwz r3, 0x24(r6)
/* 8007FFF0 0007CF50 80 06 00 28 */ lwz r0, 0x28(r6)
/* 8007FFF4 0007CF54 90 65 00 24 */ stw r3, 0x24(r5)
/* 8007FFF8 0007CF58 90 05 00 28 */ stw r0, 0x28(r5)
/* 8007FFFC 0007CF5C 80 06 00 2C */ lwz r0, 0x2c(r6)
/* 80080000 0007CF60 90 05 00 2C */ stw r0, 0x2c(r5)
/* 80080004 0007CF64 80 06 00 30 */ lwz r0, 0x30(r6)
/* 80080008 0007CF68 90 05 00 30 */ stw r0, 0x30(r5)
lbl_8008000C:
/* 8008000C 0007CF6C 38 A5 00 34 */ addi r5, r5, 0x34
/* 80080010 0007CF70 38 C6 00 34 */ addi r6, r6, 0x34
lbl_80080014:
/* 80080014 0007CF74 7C 06 20 40 */ cmplw r6, r4
/* 80080018 0007CF78 40 82 FF 84 */ bne lbl_8007FF9C
/* 8008001C 0007CF7C 80 1D 00 04 */ lwz r0, 4(r29)
/* 80080020 0007CF80 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80080024 0007CF84 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80080028 0007CF88 7C 64 1B 78 */ mr r4, r3
/* 8008002C 0007CF8C 7C 03 02 14 */ add r0, r3, r0
/* 80080030 0007CF90 48 00 00 08 */ b lbl_80080038
lbl_80080034:
/* 80080034 0007CF94 38 84 00 34 */ addi r4, r4, 0x34
lbl_80080038:
/* 80080038 0007CF98 7C 04 00 40 */ cmplw r4, r0
/* 8008003C 0007CF9C 40 82 FF F8 */ bne lbl_80080034
/* 80080040 0007CFA0 28 03 00 00 */ cmplwi r3, 0
/* 80080044 0007CFA4 41 82 00 08 */ beq lbl_8008004C
/* 80080048 0007CFA8 48 29 58 E9 */ bl Free__7CMemoryFPCv
lbl_8008004C:
/* 8008004C 0007CFAC 93 FD 00 0C */ stw r31, 0xc(r29)
/* 80080050 0007CFB0 93 DD 00 08 */ stw r30, 8(r29)
lbl_80080054:
/* 80080054 0007CFB4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80080058 0007CFB8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8008005C 0007CFBC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80080060 0007CFC0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80080064 0007CFC4 7C 08 03 A6 */ mtlr r0
/* 80080068 0007CFC8 38 21 00 30 */ addi r1, r1, 0x30
/* 8008006C 0007CFCC 4E 80 00 20 */ blr
.global "reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl47vector<10CAiTrigger,Q24rstl17rmemory_allocator>Fi":
/* 80080070 0007CFD0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80080074 0007CFD4 7C 08 02 A6 */ mflr r0
/* 80080078 0007CFD8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8008007C 0007CFDC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80080080 0007CFE0 7C 9F 23 78 */ mr r31, r4
/* 80080084 0007CFE4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80080088 0007CFE8 7C 7E 1B 78 */ mr r30, r3
/* 8008008C 0007CFEC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80080090 0007CFF0 80 03 00 08 */ lwz r0, 8(r3)
/* 80080094 0007CFF4 7C 1F 00 00 */ cmpw r31, r0
/* 80080098 0007CFF8 40 81 00 DC */ ble lbl_80080174
/* 8008009C 0007CFFC 1C 7F 00 1C */ mulli r3, r31, 0x1c
/* 800800A0 0007D000 2C 03 00 00 */ cmpwi r3, 0
/* 800800A4 0007D004 40 82 00 0C */ bne lbl_800800B0
/* 800800A8 0007D008 3B A0 00 00 */ li r29, 0
/* 800800AC 0007D00C 48 00 00 18 */ b lbl_800800C4
lbl_800800B0:
/* 800800B0 0007D010 3C 80 80 3D */ lis r4, lbl_803CD628@ha
/* 800800B4 0007D014 38 A0 00 00 */ li r5, 0
/* 800800B8 0007D018 38 84 D6 28 */ addi r4, r4, lbl_803CD628@l
/* 800800BC 0007D01C 48 29 57 5D */ bl __nwa__FUlPCcPCc
/* 800800C0 0007D020 7C 7D 1B 78 */ mr r29, r3
lbl_800800C4:
/* 800800C4 0007D024 80 1E 00 04 */ lwz r0, 4(r30)
/* 800800C8 0007D028 7F A5 EB 78 */ mr r5, r29
/* 800800CC 0007D02C 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 800800D0 0007D030 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 800800D4 0007D034 90 C1 00 10 */ stw r6, 0x10(r1)
/* 800800D8 0007D038 7C 86 02 14 */ add r4, r6, r0
/* 800800DC 0007D03C 90 C1 00 14 */ stw r6, 0x14(r1)
/* 800800E0 0007D040 90 81 00 08 */ stw r4, 8(r1)
/* 800800E4 0007D044 90 81 00 0C */ stw r4, 0xc(r1)
/* 800800E8 0007D048 48 00 00 4C */ b lbl_80080134
lbl_800800EC:
/* 800800EC 0007D04C 28 05 00 00 */ cmplwi r5, 0
/* 800800F0 0007D050 41 82 00 3C */ beq lbl_8008012C
/* 800800F4 0007D054 80 66 00 00 */ lwz r3, 0(r6)
/* 800800F8 0007D058 80 06 00 04 */ lwz r0, 4(r6)
/* 800800FC 0007D05C 90 65 00 00 */ stw r3, 0(r5)
/* 80080100 0007D060 90 05 00 04 */ stw r0, 4(r5)
/* 80080104 0007D064 80 06 00 08 */ lwz r0, 8(r6)
/* 80080108 0007D068 90 05 00 08 */ stw r0, 8(r5)
/* 8008010C 0007D06C C0 06 00 0C */ lfs f0, 0xc(r6)
/* 80080110 0007D070 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 80080114 0007D074 80 06 00 10 */ lwz r0, 0x10(r6)
/* 80080118 0007D078 90 05 00 10 */ stw r0, 0x10(r5)
/* 8008011C 0007D07C 80 06 00 14 */ lwz r0, 0x14(r6)
/* 80080120 0007D080 90 05 00 14 */ stw r0, 0x14(r5)
/* 80080124 0007D084 88 06 00 18 */ lbz r0, 0x18(r6)
/* 80080128 0007D088 98 05 00 18 */ stb r0, 0x18(r5)
lbl_8008012C:
/* 8008012C 0007D08C 38 A5 00 1C */ addi r5, r5, 0x1c
/* 80080130 0007D090 38 C6 00 1C */ addi r6, r6, 0x1c
lbl_80080134:
/* 80080134 0007D094 7C 06 20 40 */ cmplw r6, r4
/* 80080138 0007D098 40 82 FF B4 */ bne lbl_800800EC
/* 8008013C 0007D09C 80 1E 00 04 */ lwz r0, 4(r30)
/* 80080140 0007D0A0 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80080144 0007D0A4 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 80080148 0007D0A8 7C 64 1B 78 */ mr r4, r3
/* 8008014C 0007D0AC 7C 03 02 14 */ add r0, r3, r0
/* 80080150 0007D0B0 48 00 00 08 */ b lbl_80080158
lbl_80080154:
/* 80080154 0007D0B4 38 84 00 1C */ addi r4, r4, 0x1c
lbl_80080158:
/* 80080158 0007D0B8 7C 04 00 40 */ cmplw r4, r0
/* 8008015C 0007D0BC 40 82 FF F8 */ bne lbl_80080154
/* 80080160 0007D0C0 28 03 00 00 */ cmplwi r3, 0
/* 80080164 0007D0C4 41 82 00 08 */ beq lbl_8008016C
/* 80080168 0007D0C8 48 29 57 C9 */ bl Free__7CMemoryFPCv
lbl_8008016C:
/* 8008016C 0007D0CC 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80080170 0007D0D0 93 FE 00 08 */ stw r31, 8(r30)
lbl_80080174:
/* 80080174 0007D0D4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80080178 0007D0D8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8008017C 0007D0DC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80080180 0007D0E0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80080184 0007D0E4 7C 08 03 A6 */ mtlr r0
/* 80080188 0007D0E8 38 21 00 30 */ addi r1, r1, 0x30
/* 8008018C 0007D0EC 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

444
asm/Kyoto_CWD/CTweakBall.s Normal file
View File

@ -0,0 +1,444 @@
.include "macros.inc"
.section .text, "ax"
.global __ct__10CTweakBallFR12CInputStream
__ct__10CTweakBallFR12CInputStream:
/* 80090B54 0008DAB4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80090B58 0008DAB8 7C 08 02 A6 */ mflr r0
/* 80090B5C 0008DABC 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha
/* 80090B60 0008DAC0 3C A0 80 3E */ lis r5, lbl_803DAD30@ha
/* 80090B64 0008DAC4 90 01 00 44 */ stw r0, 0x44(r1)
/* 80090B68 0008DAC8 38 C6 9C C4 */ addi r6, r6, lbl_803D9CC4@l
/* 80090B6C 0008DACC 38 05 AD 30 */ addi r0, r5, lbl_803DAD30@l
/* 80090B70 0008DAD0 C0 22 8A F0 */ lfs f1, lbl_805AA810@sda21(r2)
/* 80090B74 0008DAD4 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80090B78 0008DAD8 7C 7F 1B 78 */ mr r31, r3
/* 80090B7C 0008DADC 3C 60 80 5A */ lis r3, skZero3f@ha
/* 80090B80 0008DAE0 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80090B84 0008DAE4 3B C0 00 00 */ li r30, 0
/* 80090B88 0008DAE8 93 A1 00 34 */ stw r29, 0x34(r1)
/* 80090B8C 0008DAEC 3B A0 00 00 */ li r29, 0
/* 80090B90 0008DAF0 93 81 00 30 */ stw r28, 0x30(r1)
/* 80090B94 0008DAF4 7C 9C 23 78 */ mr r28, r4
/* 80090B98 0008DAF8 90 DF 00 00 */ stw r6, 0(r31)
/* 80090B9C 0008DAFC 90 1F 00 00 */ stw r0, 0(r31)
/* 80090BA0 0008DB00 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3)
/* 80090BA4 0008DB04 D0 1F 00 78 */ stfs f0, 0x78(r31)
/* 80090BA8 0008DB08 C0 03 00 04 */ lfs f0, 4(r3)
/* 80090BAC 0008DB0C D0 1F 00 7C */ stfs f0, 0x7c(r31)
/* 80090BB0 0008DB10 C0 03 00 08 */ lfs f0, 8(r3)
/* 80090BB4 0008DB14 D0 1F 00 80 */ stfs f0, 0x80(r31)
/* 80090BB8 0008DB18 D0 3F 01 58 */ stfs f1, 0x158(r31)
/* 80090BBC 0008DB1C C0 03 00 00 */ lfs f0, 0(r3)
/* 80090BC0 0008DB20 D0 1F 01 8C */ stfs f0, 0x18c(r31)
/* 80090BC4 0008DB24 C0 03 00 04 */ lfs f0, 4(r3)
/* 80090BC8 0008DB28 D0 1F 01 90 */ stfs f0, 0x190(r31)
/* 80090BCC 0008DB2C C0 03 00 08 */ lfs f0, 8(r3)
/* 80090BD0 0008DB30 D0 1F 01 94 */ stfs f0, 0x194(r31)
/* 80090BD4 0008DB34 C0 03 00 00 */ lfs f0, 0(r3)
/* 80090BD8 0008DB38 D0 1F 01 B8 */ stfs f0, 0x1b8(r31)
/* 80090BDC 0008DB3C C0 03 00 04 */ lfs f0, 4(r3)
/* 80090BE0 0008DB40 D0 1F 01 BC */ stfs f0, 0x1bc(r31)
/* 80090BE4 0008DB44 C0 03 00 08 */ lfs f0, 8(r3)
/* 80090BE8 0008DB48 D0 1F 01 C0 */ stfs f0, 0x1c0(r31)
/* 80090BEC 0008DB4C D0 3F 01 EC */ stfs f1, 0x1ec(r31)
lbl_80090BF0:
/* 80090BF0 0008DB50 7F 83 E3 78 */ mr r3, r28
/* 80090BF4 0008DB54 48 2A E0 35 */ bl ReadFloat__12CInputStreamFv
/* 80090BF8 0008DB58 3B BD 00 01 */ addi r29, r29, 1
/* 80090BFC 0008DB5C 38 1E 00 04 */ addi r0, r30, 4
/* 80090C00 0008DB60 2C 1D 00 08 */ cmpwi r29, 8
/* 80090C04 0008DB64 7C 3F 05 2E */ stfsx f1, r31, r0
/* 80090C08 0008DB68 3B DE 00 04 */ addi r30, r30, 4
/* 80090C0C 0008DB6C 41 80 FF E4 */ blt lbl_80090BF0
/* 80090C10 0008DB70 3B A0 00 00 */ li r29, 0
/* 80090C14 0008DB74 7F BE EB 78 */ mr r30, r29
lbl_80090C18:
/* 80090C18 0008DB78 7F 83 E3 78 */ mr r3, r28
/* 80090C1C 0008DB7C 48 2A E0 0D */ bl ReadFloat__12CInputStreamFv
/* 80090C20 0008DB80 3B BD 00 01 */ addi r29, r29, 1
/* 80090C24 0008DB84 38 1E 00 24 */ addi r0, r30, 0x24
/* 80090C28 0008DB88 2C 1D 00 08 */ cmpwi r29, 8
/* 80090C2C 0008DB8C 7C 3F 05 2E */ stfsx f1, r31, r0
/* 80090C30 0008DB90 3B DE 00 04 */ addi r30, r30, 4
/* 80090C34 0008DB94 41 80 FF E4 */ blt lbl_80090C18
/* 80090C38 0008DB98 3B A0 00 00 */ li r29, 0
/* 80090C3C 0008DB9C 7F BE EB 78 */ mr r30, r29
lbl_80090C40:
/* 80090C40 0008DBA0 7F 83 E3 78 */ mr r3, r28
/* 80090C44 0008DBA4 48 2A DF E5 */ bl ReadFloat__12CInputStreamFv
/* 80090C48 0008DBA8 3B BD 00 01 */ addi r29, r29, 1
/* 80090C4C 0008DBAC 38 1E 00 44 */ addi r0, r30, 0x44
/* 80090C50 0008DBB0 2C 1D 00 08 */ cmpwi r29, 8
/* 80090C54 0008DBB4 7C 3F 05 2E */ stfsx f1, r31, r0
/* 80090C58 0008DBB8 3B DE 00 04 */ addi r30, r30, 4
/* 80090C5C 0008DBBC 41 80 FF E4 */ blt lbl_80090C40
/* 80090C60 0008DBC0 7F 83 E3 78 */ mr r3, r28
/* 80090C64 0008DBC4 48 2A DF C5 */ bl ReadFloat__12CInputStreamFv
/* 80090C68 0008DBC8 D0 3F 00 64 */ stfs f1, 0x64(r31)
/* 80090C6C 0008DBCC 7F 83 E3 78 */ mr r3, r28
/* 80090C70 0008DBD0 48 2A DF B9 */ bl ReadFloat__12CInputStreamFv
/* 80090C74 0008DBD4 D0 3F 00 68 */ stfs f1, 0x68(r31)
/* 80090C78 0008DBD8 7F 83 E3 78 */ mr r3, r28
/* 80090C7C 0008DBDC 48 2A DF AD */ bl ReadFloat__12CInputStreamFv
/* 80090C80 0008DBE0 FC 00 08 50 */ fneg f0, f1
/* 80090C84 0008DBE4 7F 83 E3 78 */ mr r3, r28
/* 80090C88 0008DBE8 D0 1F 00 6C */ stfs f0, 0x6c(r31)
/* 80090C8C 0008DBEC 48 2A DF 9D */ bl ReadFloat__12CInputStreamFv
/* 80090C90 0008DBF0 FC 00 08 50 */ fneg f0, f1
/* 80090C94 0008DBF4 3B A0 00 00 */ li r29, 0
/* 80090C98 0008DBF8 7F BE EB 78 */ mr r30, r29
/* 80090C9C 0008DBFC D0 1F 00 70 */ stfs f0, 0x70(r31)
lbl_80090CA0:
/* 80090CA0 0008DC00 7F 83 E3 78 */ mr r3, r28
/* 80090CA4 0008DC04 48 2A DF 85 */ bl ReadFloat__12CInputStreamFv
/* 80090CA8 0008DC08 3B BD 00 01 */ addi r29, r29, 1
/* 80090CAC 0008DC0C 38 1E 00 C4 */ addi r0, r30, 0xc4
/* 80090CB0 0008DC10 2C 1D 00 08 */ cmpwi r29, 8
/* 80090CB4 0008DC14 7C 3F 05 2E */ stfsx f1, r31, r0
/* 80090CB8 0008DC18 3B DE 00 04 */ addi r30, r30, 4
/* 80090CBC 0008DC1C 41 80 FF E4 */ blt lbl_80090CA0
/* 80090CC0 0008DC20 7F 83 E3 78 */ mr r3, r28
/* 80090CC4 0008DC24 48 2A DF 65 */ bl ReadFloat__12CInputStreamFv
/* 80090CC8 0008DC28 FC 00 08 50 */ fneg f0, f1
/* 80090CCC 0008DC2C 7F 83 E3 78 */ mr r3, r28
/* 80090CD0 0008DC30 D0 1F 00 E4 */ stfs f0, 0xe4(r31)
/* 80090CD4 0008DC34 48 2A DF 55 */ bl ReadFloat__12CInputStreamFv
/* 80090CD8 0008DC38 FC 00 08 50 */ fneg f0, f1
/* 80090CDC 0008DC3C 7F 83 E3 78 */ mr r3, r28
/* 80090CE0 0008DC40 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 80090CE4 0008DC44 48 2A DF 45 */ bl ReadFloat__12CInputStreamFv
/* 80090CE8 0008DC48 D0 3F 01 4C */ stfs f1, 0x14c(r31)
/* 80090CEC 0008DC4C 7F 83 E3 78 */ mr r3, r28
/* 80090CF0 0008DC50 48 2A DF 39 */ bl ReadFloat__12CInputStreamFv
/* 80090CF4 0008DC54 D0 3F 01 50 */ stfs f1, 0x150(r31)
/* 80090CF8 0008DC58 7F 83 E3 78 */ mr r3, r28
/* 80090CFC 0008DC5C 48 2A DF 2D */ bl ReadFloat__12CInputStreamFv
/* 80090D00 0008DC60 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090D04 0008DC64 7F 83 E3 78 */ mr r3, r28
/* 80090D08 0008DC68 EC 00 00 72 */ fmuls f0, f0, f1
/* 80090D0C 0008DC6C D0 1F 01 58 */ stfs f0, 0x158(r31)
/* 80090D10 0008DC70 48 2A DF 19 */ bl ReadFloat__12CInputStreamFv
/* 80090D14 0008DC74 D0 3F 01 DC */ stfs f1, 0x1dc(r31)
/* 80090D18 0008DC78 7F 83 E3 78 */ mr r3, r28
/* 80090D1C 0008DC7C 48 2A DF 0D */ bl ReadFloat__12CInputStreamFv
/* 80090D20 0008DC80 D0 3F 01 E0 */ stfs f1, 0x1e0(r31)
/* 80090D24 0008DC84 7F 83 E3 78 */ mr r3, r28
/* 80090D28 0008DC88 48 2A DF 01 */ bl ReadFloat__12CInputStreamFv
/* 80090D2C 0008DC8C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090D30 0008DC90 7F 83 E3 78 */ mr r3, r28
/* 80090D34 0008DC94 EC 00 00 72 */ fmuls f0, f0, f1
/* 80090D38 0008DC98 D0 1F 01 EC */ stfs f0, 0x1ec(r31)
/* 80090D3C 0008DC9C 48 2A DE ED */ bl ReadFloat__12CInputStreamFv
/* 80090D40 0008DCA0 D0 3F 01 F0 */ stfs f1, 0x1f0(r31)
/* 80090D44 0008DCA4 7F 83 E3 78 */ mr r3, r28
/* 80090D48 0008DCA8 48 2A DE E1 */ bl ReadFloat__12CInputStreamFv
/* 80090D4C 0008DCAC D0 3F 01 F4 */ stfs f1, 0x1f4(r31)
/* 80090D50 0008DCB0 7F 83 E3 78 */ mr r3, r28
/* 80090D54 0008DCB4 48 2A DE D5 */ bl ReadFloat__12CInputStreamFv
/* 80090D58 0008DCB8 D0 3F 01 F8 */ stfs f1, 0x1f8(r31)
/* 80090D5C 0008DCBC 7F 83 E3 78 */ mr r3, r28
/* 80090D60 0008DCC0 48 2A DE C9 */ bl ReadFloat__12CInputStreamFv
/* 80090D64 0008DCC4 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 80090D68 0008DCC8 7F 83 E3 78 */ mr r3, r28
/* 80090D6C 0008DCCC C0 62 8A F8 */ lfs f3, lbl_805AA818@sda21(r2)
/* 80090D70 0008DCD0 C0 42 8A FC */ lfs f2, lbl_805AA81C@sda21(r2)
/* 80090D74 0008DCD4 D0 7F 01 2C */ stfs f3, 0x12c(r31)
/* 80090D78 0008DCD8 C0 22 8B 00 */ lfs f1, lbl_805AA820@sda21(r2)
/* 80090D7C 0008DCDC D0 7F 01 30 */ stfs f3, 0x130(r31)
/* 80090D80 0008DCE0 C0 02 8B 04 */ lfs f0, lbl_805AA824@sda21(r2)
/* 80090D84 0008DCE4 D0 5F 01 34 */ stfs f2, 0x134(r31)
/* 80090D88 0008DCE8 D0 7F 01 38 */ stfs f3, 0x138(r31)
/* 80090D8C 0008DCEC D0 3F 01 3C */ stfs f1, 0x13c(r31)
/* 80090D90 0008DCF0 D0 3F 01 40 */ stfs f1, 0x140(r31)
/* 80090D94 0008DCF4 D0 3F 01 44 */ stfs f1, 0x144(r31)
/* 80090D98 0008DCF8 D0 3F 01 48 */ stfs f1, 0x148(r31)
/* 80090D9C 0008DCFC D0 7F 00 EC */ stfs f3, 0xec(r31)
/* 80090DA0 0008DD00 D0 5F 00 F0 */ stfs f2, 0xf0(r31)
/* 80090DA4 0008DD04 D0 1F 00 F4 */ stfs f0, 0xf4(r31)
/* 80090DA8 0008DD08 D0 1F 00 F8 */ stfs f0, 0xf8(r31)
/* 80090DAC 0008DD0C D0 1F 00 FC */ stfs f0, 0xfc(r31)
/* 80090DB0 0008DD10 D0 1F 01 00 */ stfs f0, 0x100(r31)
/* 80090DB4 0008DD14 D0 1F 01 04 */ stfs f0, 0x104(r31)
/* 80090DB8 0008DD18 D0 1F 01 08 */ stfs f0, 0x108(r31)
/* 80090DBC 0008DD1C D0 7F 01 0C */ stfs f3, 0x10c(r31)
/* 80090DC0 0008DD20 D0 5F 01 10 */ stfs f2, 0x110(r31)
/* 80090DC4 0008DD24 D0 1F 01 14 */ stfs f0, 0x114(r31)
/* 80090DC8 0008DD28 D0 1F 01 18 */ stfs f0, 0x118(r31)
/* 80090DCC 0008DD2C D0 1F 01 1C */ stfs f0, 0x11c(r31)
/* 80090DD0 0008DD30 D0 1F 01 20 */ stfs f0, 0x120(r31)
/* 80090DD4 0008DD34 D0 1F 01 24 */ stfs f0, 0x124(r31)
/* 80090DD8 0008DD38 D0 1F 01 28 */ stfs f0, 0x128(r31)
/* 80090DDC 0008DD3C 48 2A DE 4D */ bl ReadFloat__12CInputStreamFv
/* 80090DE0 0008DD40 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090DE4 0008DD44 7F 84 E3 78 */ mr r4, r28
/* 80090DE8 0008DD48 38 61 00 20 */ addi r3, r1, 0x20
/* 80090DEC 0008DD4C EC 00 00 72 */ fmuls f0, f0, f1
/* 80090DF0 0008DD50 D0 1F 00 74 */ stfs f0, 0x74(r31)
/* 80090DF4 0008DD54 48 28 3D 99 */ bl __ct__9CVector3fFR12CInputStream
/* 80090DF8 0008DD58 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80090DFC 0008DD5C 7F 83 E3 78 */ mr r3, r28
/* 80090E00 0008DD60 D0 1F 00 78 */ stfs f0, 0x78(r31)
/* 80090E04 0008DD64 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80090E08 0008DD68 D0 1F 00 7C */ stfs f0, 0x7c(r31)
/* 80090E0C 0008DD6C C0 01 00 28 */ lfs f0, 0x28(r1)
/* 80090E10 0008DD70 D0 1F 00 80 */ stfs f0, 0x80(r31)
/* 80090E14 0008DD74 48 2A DE 15 */ bl ReadFloat__12CInputStreamFv
/* 80090E18 0008DD78 D0 3F 00 84 */ stfs f1, 0x84(r31)
/* 80090E1C 0008DD7C 7F 83 E3 78 */ mr r3, r28
/* 80090E20 0008DD80 48 2A DE 09 */ bl ReadFloat__12CInputStreamFv
/* 80090E24 0008DD84 D0 3F 00 88 */ stfs f1, 0x88(r31)
/* 80090E28 0008DD88 7F 83 E3 78 */ mr r3, r28
/* 80090E2C 0008DD8C 48 2A DD FD */ bl ReadFloat__12CInputStreamFv
/* 80090E30 0008DD90 D0 3F 00 8C */ stfs f1, 0x8c(r31)
/* 80090E34 0008DD94 7F 83 E3 78 */ mr r3, r28
/* 80090E38 0008DD98 48 2A DD F1 */ bl ReadFloat__12CInputStreamFv
/* 80090E3C 0008DD9C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090E40 0008DDA0 7F 83 E3 78 */ mr r3, r28
/* 80090E44 0008DDA4 EC 00 00 72 */ fmuls f0, f0, f1
/* 80090E48 0008DDA8 D0 1F 00 90 */ stfs f0, 0x90(r31)
/* 80090E4C 0008DDAC 48 2A DD DD */ bl ReadFloat__12CInputStreamFv
/* 80090E50 0008DDB0 D0 3F 00 94 */ stfs f1, 0x94(r31)
/* 80090E54 0008DDB4 7F 83 E3 78 */ mr r3, r28
/* 80090E58 0008DDB8 48 2A DD D1 */ bl ReadFloat__12CInputStreamFv
/* 80090E5C 0008DDBC D0 3F 00 98 */ stfs f1, 0x98(r31)
/* 80090E60 0008DDC0 7F 83 E3 78 */ mr r3, r28
/* 80090E64 0008DDC4 48 2A DD C5 */ bl ReadFloat__12CInputStreamFv
/* 80090E68 0008DDC8 D0 3F 00 9C */ stfs f1, 0x9c(r31)
/* 80090E6C 0008DDCC 7F 83 E3 78 */ mr r3, r28
/* 80090E70 0008DDD0 48 2A DD B9 */ bl ReadFloat__12CInputStreamFv
/* 80090E74 0008DDD4 D0 3F 00 A0 */ stfs f1, 0xa0(r31)
/* 80090E78 0008DDD8 7F 83 E3 78 */ mr r3, r28
/* 80090E7C 0008DDDC 48 2A DD AD */ bl ReadFloat__12CInputStreamFv
/* 80090E80 0008DDE0 D0 3F 00 A4 */ stfs f1, 0xa4(r31)
/* 80090E84 0008DDE4 7F 83 E3 78 */ mr r3, r28
/* 80090E88 0008DDE8 48 2A DD A1 */ bl ReadFloat__12CInputStreamFv
/* 80090E8C 0008DDEC D0 3F 00 A8 */ stfs f1, 0xa8(r31)
/* 80090E90 0008DDF0 7F 83 E3 78 */ mr r3, r28
/* 80090E94 0008DDF4 48 2A DD 95 */ bl ReadFloat__12CInputStreamFv
/* 80090E98 0008DDF8 D0 3F 00 AC */ stfs f1, 0xac(r31)
/* 80090E9C 0008DDFC 7F 83 E3 78 */ mr r3, r28
/* 80090EA0 0008DE00 48 2A DD 89 */ bl ReadFloat__12CInputStreamFv
/* 80090EA4 0008DE04 D0 3F 00 B0 */ stfs f1, 0xb0(r31)
/* 80090EA8 0008DE08 7F 83 E3 78 */ mr r3, r28
/* 80090EAC 0008DE0C 48 2A DD 7D */ bl ReadFloat__12CInputStreamFv
/* 80090EB0 0008DE10 D0 3F 00 B4 */ stfs f1, 0xb4(r31)
/* 80090EB4 0008DE14 7F 83 E3 78 */ mr r3, r28
/* 80090EB8 0008DE18 48 2A DD 71 */ bl ReadFloat__12CInputStreamFv
/* 80090EBC 0008DE1C D0 3F 00 B8 */ stfs f1, 0xb8(r31)
/* 80090EC0 0008DE20 7F 83 E3 78 */ mr r3, r28
/* 80090EC4 0008DE24 48 2A DD 65 */ bl ReadFloat__12CInputStreamFv
/* 80090EC8 0008DE28 D0 3F 00 BC */ stfs f1, 0xbc(r31)
/* 80090ECC 0008DE2C 7F 83 E3 78 */ mr r3, r28
/* 80090ED0 0008DE30 48 2A DD 59 */ bl ReadFloat__12CInputStreamFv
/* 80090ED4 0008DE34 D0 3F 00 C0 */ stfs f1, 0xc0(r31)
/* 80090ED8 0008DE38 7F 83 E3 78 */ mr r3, r28
/* 80090EDC 0008DE3C 48 2A DD 4D */ bl ReadFloat__12CInputStreamFv
/* 80090EE0 0008DE40 D0 3F 01 54 */ stfs f1, 0x154(r31)
/* 80090EE4 0008DE44 7F 83 E3 78 */ mr r3, r28
/* 80090EE8 0008DE48 48 2A DD 41 */ bl ReadFloat__12CInputStreamFv
/* 80090EEC 0008DE4C C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090EF0 0008DE50 7F 83 E3 78 */ mr r3, r28
/* 80090EF4 0008DE54 EC 00 00 72 */ fmuls f0, f0, f1
/* 80090EF8 0008DE58 D0 1F 01 5C */ stfs f0, 0x15c(r31)
/* 80090EFC 0008DE5C 48 2A DD 2D */ bl ReadFloat__12CInputStreamFv
/* 80090F00 0008DE60 D0 3F 01 60 */ stfs f1, 0x160(r31)
/* 80090F04 0008DE64 7F 83 E3 78 */ mr r3, r28
/* 80090F08 0008DE68 48 2A DD 21 */ bl ReadFloat__12CInputStreamFv
/* 80090F0C 0008DE6C D0 3F 01 64 */ stfs f1, 0x164(r31)
/* 80090F10 0008DE70 7F 83 E3 78 */ mr r3, r28
/* 80090F14 0008DE74 48 2A DD 15 */ bl ReadFloat__12CInputStreamFv
/* 80090F18 0008DE78 D0 3F 01 68 */ stfs f1, 0x168(r31)
/* 80090F1C 0008DE7C 7F 83 E3 78 */ mr r3, r28
/* 80090F20 0008DE80 48 2A DD 09 */ bl ReadFloat__12CInputStreamFv
/* 80090F24 0008DE84 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090F28 0008DE88 7F 83 E3 78 */ mr r3, r28
/* 80090F2C 0008DE8C EC 00 00 72 */ fmuls f0, f0, f1
/* 80090F30 0008DE90 D0 1F 01 6C */ stfs f0, 0x16c(r31)
/* 80090F34 0008DE94 48 2A DC F5 */ bl ReadFloat__12CInputStreamFv
/* 80090F38 0008DE98 D0 3F 01 70 */ stfs f1, 0x170(r31)
/* 80090F3C 0008DE9C 7F 83 E3 78 */ mr r3, r28
/* 80090F40 0008DEA0 48 2A DC E9 */ bl ReadFloat__12CInputStreamFv
/* 80090F44 0008DEA4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090F48 0008DEA8 7F 83 E3 78 */ mr r3, r28
/* 80090F4C 0008DEAC EC 00 00 72 */ fmuls f0, f0, f1
/* 80090F50 0008DEB0 D0 1F 01 74 */ stfs f0, 0x174(r31)
/* 80090F54 0008DEB4 48 2A DC D5 */ bl ReadFloat__12CInputStreamFv
/* 80090F58 0008DEB8 D0 3F 01 78 */ stfs f1, 0x178(r31)
/* 80090F5C 0008DEBC 7F 83 E3 78 */ mr r3, r28
/* 80090F60 0008DEC0 48 2A DC C9 */ bl ReadFloat__12CInputStreamFv
/* 80090F64 0008DEC4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090F68 0008DEC8 7F 83 E3 78 */ mr r3, r28
/* 80090F6C 0008DECC EC 00 00 72 */ fmuls f0, f0, f1
/* 80090F70 0008DED0 D0 1F 01 7C */ stfs f0, 0x17c(r31)
/* 80090F74 0008DED4 48 2A DC B5 */ bl ReadFloat__12CInputStreamFv
/* 80090F78 0008DED8 D0 3F 01 80 */ stfs f1, 0x180(r31)
/* 80090F7C 0008DEDC 7F 83 E3 78 */ mr r3, r28
/* 80090F80 0008DEE0 48 2A DC A9 */ bl ReadFloat__12CInputStreamFv
/* 80090F84 0008DEE4 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090F88 0008DEE8 7F 83 E3 78 */ mr r3, r28
/* 80090F8C 0008DEEC EC 00 00 72 */ fmuls f0, f0, f1
/* 80090F90 0008DEF0 D0 1F 01 84 */ stfs f0, 0x184(r31)
/* 80090F94 0008DEF4 48 2A DC 95 */ bl ReadFloat__12CInputStreamFv
/* 80090F98 0008DEF8 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80090F9C 0008DEFC 7F 84 E3 78 */ mr r4, r28
/* 80090FA0 0008DF00 38 61 00 14 */ addi r3, r1, 0x14
/* 80090FA4 0008DF04 EC 00 00 72 */ fmuls f0, f0, f1
/* 80090FA8 0008DF08 D0 1F 01 88 */ stfs f0, 0x188(r31)
/* 80090FAC 0008DF0C 48 28 3B E1 */ bl __ct__9CVector3fFR12CInputStream
/* 80090FB0 0008DF10 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80090FB4 0008DF14 7F 83 E3 78 */ mr r3, r28
/* 80090FB8 0008DF18 D0 1F 01 8C */ stfs f0, 0x18c(r31)
/* 80090FBC 0008DF1C C0 01 00 18 */ lfs f0, 0x18(r1)
/* 80090FC0 0008DF20 D0 1F 01 90 */ stfs f0, 0x190(r31)
/* 80090FC4 0008DF24 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80090FC8 0008DF28 D0 1F 01 94 */ stfs f0, 0x194(r31)
/* 80090FCC 0008DF2C 48 2A DC 5D */ bl ReadFloat__12CInputStreamFv
/* 80090FD0 0008DF30 D0 3F 01 98 */ stfs f1, 0x198(r31)
/* 80090FD4 0008DF34 7F 83 E3 78 */ mr r3, r28
/* 80090FD8 0008DF38 48 2A DC 51 */ bl ReadFloat__12CInputStreamFv
/* 80090FDC 0008DF3C D0 3F 01 9C */ stfs f1, 0x19c(r31)
/* 80090FE0 0008DF40 7F 83 E3 78 */ mr r3, r28
/* 80090FE4 0008DF44 48 2A DC 45 */ bl ReadFloat__12CInputStreamFv
/* 80090FE8 0008DF48 D0 3F 01 A0 */ stfs f1, 0x1a0(r31)
/* 80090FEC 0008DF4C 7F 83 E3 78 */ mr r3, r28
/* 80090FF0 0008DF50 48 2A DC 39 */ bl ReadFloat__12CInputStreamFv
/* 80090FF4 0008DF54 D0 3F 01 A4 */ stfs f1, 0x1a4(r31)
/* 80090FF8 0008DF58 7F 83 E3 78 */ mr r3, r28
/* 80090FFC 0008DF5C 48 2A DC 2D */ bl ReadFloat__12CInputStreamFv
/* 80091000 0008DF60 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80091004 0008DF64 7F 83 E3 78 */ mr r3, r28
/* 80091008 0008DF68 EC 00 00 72 */ fmuls f0, f0, f1
/* 8009100C 0008DF6C D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
/* 80091010 0008DF70 48 2A DC 19 */ bl ReadFloat__12CInputStreamFv
/* 80091014 0008DF74 D0 3F 01 AC */ stfs f1, 0x1ac(r31)
/* 80091018 0008DF78 7F 83 E3 78 */ mr r3, r28
/* 8009101C 0008DF7C 48 2A DC 0D */ bl ReadFloat__12CInputStreamFv
/* 80091020 0008DF80 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80091024 0008DF84 7F 83 E3 78 */ mr r3, r28
/* 80091028 0008DF88 EC 00 00 72 */ fmuls f0, f0, f1
/* 8009102C 0008DF8C D0 1F 01 B0 */ stfs f0, 0x1b0(r31)
/* 80091030 0008DF90 48 2A DB F9 */ bl ReadFloat__12CInputStreamFv
/* 80091034 0008DF94 C0 02 8A F4 */ lfs f0, lbl_805AA814@sda21(r2)
/* 80091038 0008DF98 7F 84 E3 78 */ mr r4, r28
/* 8009103C 0008DF9C 38 61 00 08 */ addi r3, r1, 8
/* 80091040 0008DFA0 EC 00 00 72 */ fmuls f0, f0, f1
/* 80091044 0008DFA4 D0 1F 01 B4 */ stfs f0, 0x1b4(r31)
/* 80091048 0008DFA8 48 28 3B 45 */ bl __ct__9CVector3fFR12CInputStream
/* 8009104C 0008DFAC C0 01 00 08 */ lfs f0, 8(r1)
/* 80091050 0008DFB0 7F 83 E3 78 */ mr r3, r28
/* 80091054 0008DFB4 D0 1F 01 B8 */ stfs f0, 0x1b8(r31)
/* 80091058 0008DFB8 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8009105C 0008DFBC D0 1F 01 BC */ stfs f0, 0x1bc(r31)
/* 80091060 0008DFC0 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80091064 0008DFC4 D0 1F 01 C0 */ stfs f0, 0x1c0(r31)
/* 80091068 0008DFC8 48 2A DB C1 */ bl ReadFloat__12CInputStreamFv
/* 8009106C 0008DFCC D0 3F 01 C4 */ stfs f1, 0x1c4(r31)
/* 80091070 0008DFD0 7F 83 E3 78 */ mr r3, r28
/* 80091074 0008DFD4 48 2A DB B5 */ bl ReadFloat__12CInputStreamFv
/* 80091078 0008DFD8 D0 3F 01 C8 */ stfs f1, 0x1c8(r31)
/* 8009107C 0008DFDC 7F 83 E3 78 */ mr r3, r28
/* 80091080 0008DFE0 48 2A DB A9 */ bl ReadFloat__12CInputStreamFv
/* 80091084 0008DFE4 D0 3F 01 CC */ stfs f1, 0x1cc(r31)
/* 80091088 0008DFE8 7F 83 E3 78 */ mr r3, r28
/* 8009108C 0008DFEC 48 2A DB 9D */ bl ReadFloat__12CInputStreamFv
/* 80091090 0008DFF0 D0 3F 01 D0 */ stfs f1, 0x1d0(r31)
/* 80091094 0008DFF4 7F 83 E3 78 */ mr r3, r28
/* 80091098 0008DFF8 48 2A DB 91 */ bl ReadFloat__12CInputStreamFv
/* 8009109C 0008DFFC D0 3F 01 D4 */ stfs f1, 0x1d4(r31)
/* 800910A0 0008E000 7F 83 E3 78 */ mr r3, r28
/* 800910A4 0008E004 48 2A DB 85 */ bl ReadFloat__12CInputStreamFv
/* 800910A8 0008E008 D0 3F 01 D8 */ stfs f1, 0x1d8(r31)
/* 800910AC 0008E00C 7F 83 E3 78 */ mr r3, r28
/* 800910B0 0008E010 48 2A DB 79 */ bl ReadFloat__12CInputStreamFv
/* 800910B4 0008E014 D0 3F 01 E4 */ stfs f1, 0x1e4(r31)
/* 800910B8 0008E018 7F 83 E3 78 */ mr r3, r28
/* 800910BC 0008E01C 48 2A DB 6D */ bl ReadFloat__12CInputStreamFv
/* 800910C0 0008E020 D0 3F 01 E8 */ stfs f1, 0x1e8(r31)
/* 800910C4 0008E024 7F 83 E3 78 */ mr r3, r28
/* 800910C8 0008E028 48 2A DB 61 */ bl ReadFloat__12CInputStreamFv
/* 800910CC 0008E02C D0 3F 02 00 */ stfs f1, 0x200(r31)
/* 800910D0 0008E030 7F 83 E3 78 */ mr r3, r28
/* 800910D4 0008E034 48 2A DB 55 */ bl ReadFloat__12CInputStreamFv
/* 800910D8 0008E038 D0 3F 02 04 */ stfs f1, 0x204(r31)
/* 800910DC 0008E03C 7F 83 E3 78 */ mr r3, r28
/* 800910E0 0008E040 48 2A DB 49 */ bl ReadFloat__12CInputStreamFv
/* 800910E4 0008E044 D0 3F 02 0C */ stfs f1, 0x20c(r31)
/* 800910E8 0008E048 7F 83 E3 78 */ mr r3, r28
/* 800910EC 0008E04C 48 2A DB 3D */ bl ReadFloat__12CInputStreamFv
/* 800910F0 0008E050 D0 3F 02 18 */ stfs f1, 0x218(r31)
/* 800910F4 0008E054 7F 83 E3 78 */ mr r3, r28
/* 800910F8 0008E058 48 2A DB 31 */ bl ReadFloat__12CInputStreamFv
/* 800910FC 0008E05C D0 3F 02 1C */ stfs f1, 0x21c(r31)
/* 80091100 0008E060 7F 83 E3 78 */ mr r3, r28
/* 80091104 0008E064 48 2A DB 25 */ bl ReadFloat__12CInputStreamFv
/* 80091108 0008E068 D0 3F 02 20 */ stfs f1, 0x220(r31)
/* 8009110C 0008E06C 7F 83 E3 78 */ mr r3, r28
/* 80091110 0008E070 48 2A DB 19 */ bl ReadFloat__12CInputStreamFv
/* 80091114 0008E074 D0 3F 02 24 */ stfs f1, 0x224(r31)
/* 80091118 0008E078 7F 83 E3 78 */ mr r3, r28
/* 8009111C 0008E07C 48 2A DB 0D */ bl ReadFloat__12CInputStreamFv
/* 80091120 0008E080 D0 3F 02 10 */ stfs f1, 0x210(r31)
/* 80091124 0008E084 7F 83 E3 78 */ mr r3, r28
/* 80091128 0008E088 C0 1F 02 10 */ lfs f0, 0x210(r31)
/* 8009112C 0008E08C D0 1F 02 28 */ stfs f0, 0x228(r31)
/* 80091130 0008E090 48 2A DA F9 */ bl ReadFloat__12CInputStreamFv
/* 80091134 0008E094 D0 3F 02 2C */ stfs f1, 0x22c(r31)
/* 80091138 0008E098 7F 83 E3 78 */ mr r3, r28
/* 8009113C 0008E09C 48 2A DA ED */ bl ReadFloat__12CInputStreamFv
/* 80091140 0008E0A0 D0 3F 02 30 */ stfs f1, 0x230(r31)
/* 80091144 0008E0A4 7F 83 E3 78 */ mr r3, r28
/* 80091148 0008E0A8 48 2A DA E1 */ bl ReadFloat__12CInputStreamFv
/* 8009114C 0008E0AC D0 3F 02 34 */ stfs f1, 0x234(r31)
/* 80091150 0008E0B0 7F E3 FB 78 */ mr r3, r31
/* 80091154 0008E0B4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80091158 0008E0B8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8009115C 0008E0BC 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 80091160 0008E0C0 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 80091164 0008E0C4 83 81 00 30 */ lwz r28, 0x30(r1)
/* 80091168 0008E0C8 7C 08 03 A6 */ mtlr r0
/* 8009116C 0008E0CC 38 21 00 40 */ addi r1, r1, 0x40
/* 80091170 0008E0D0 4E 80 00 20 */ blr
.global __dt__10CTweakBallFv
__dt__10CTweakBallFv:
/* 80091174 0008E0D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80091178 0008E0D8 7C 08 02 A6 */ mflr r0
/* 8009117C 0008E0DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80091180 0008E0E0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80091184 0008E0E4 7C 7F 1B 79 */ or. r31, r3, r3
/* 80091188 0008E0E8 41 82 00 30 */ beq lbl_800911B8
/* 8009118C 0008E0EC 3C 60 80 3E */ lis r3, lbl_803DAD30@ha
/* 80091190 0008E0F0 38 03 AD 30 */ addi r0, r3, lbl_803DAD30@l
/* 80091194 0008E0F4 90 1F 00 00 */ stw r0, 0(r31)
/* 80091198 0008E0F8 41 82 00 10 */ beq lbl_800911A8
/* 8009119C 0008E0FC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 800911A0 0008E100 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 800911A4 0008E104 90 1F 00 00 */ stw r0, 0(r31)
lbl_800911A8:
/* 800911A8 0008E108 7C 80 07 35 */ extsh. r0, r4
/* 800911AC 0008E10C 40 81 00 0C */ ble lbl_800911B8
/* 800911B0 0008E110 7F E3 FB 78 */ mr r3, r31
/* 800911B4 0008E114 48 00 00 1D */ bl "__dl__24TOneStatic<10CTweakBall>FPv"
lbl_800911B8:
/* 800911B8 0008E118 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800911BC 0008E11C 7F E3 FB 78 */ mr r3, r31
/* 800911C0 0008E120 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800911C4 0008E124 7C 08 03 A6 */ mtlr r0
/* 800911C8 0008E128 38 21 00 10 */ addi r1, r1, 0x10
/* 800911CC 0008E12C 4E 80 00 20 */ blr
.global "__dl__24TOneStatic<10CTweakBall>FPv"
"__dl__24TOneStatic<10CTweakBall>FPv":
/* 800911D0 0008E130 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800911D4 0008E134 7C 08 02 A6 */ mflr r0
/* 800911D8 0008E138 90 01 00 14 */ stw r0, 0x14(r1)
/* 800911DC 0008E13C 4B FA 5F A9 */ bl "ReferenceCount__24TOneStatic<10CTweakBall>Fv"
/* 800911E0 0008E140 80 83 00 00 */ lwz r4, 0(r3)
/* 800911E4 0008E144 38 04 FF FF */ addi r0, r4, -1
/* 800911E8 0008E148 90 03 00 00 */ stw r0, 0(r3)
/* 800911EC 0008E14C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800911F0 0008E150 7C 08 03 A6 */ mtlr r0
/* 800911F4 0008E154 38 21 00 10 */ addi r1, r1, 0x10
/* 800911F8 0008E158 4E 80 00 20 */ blr

843
asm/Kyoto_CWD/CTweakGui.s Normal file
View File

@ -0,0 +1,843 @@
.include "macros.inc"
.section .text, "ax"
.global FaceReflectionOrthoHeightDebugValueToActualValue__9CTweakGuiFf
FaceReflectionOrthoHeightDebugValueToActualValue__9CTweakGuiFf:
/* 80074310 00071270 C0 42 88 74 */ lfs f2, lbl_805AA594@sda21(r2)
/* 80074314 00071274 C0 02 88 70 */ lfs f0, lbl_805AA590@sda21(r2)
/* 80074318 00071278 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 8007431C 0007127C 4E 80 00 20 */ blr
.global FaceReflectionOrthoWidthDebugValueToActualValue__9CTweakGuiFf
FaceReflectionOrthoWidthDebugValueToActualValue__9CTweakGuiFf:
/* 80074320 00071280 C0 42 88 74 */ lfs f2, lbl_805AA594@sda21(r2)
/* 80074324 00071284 C0 02 88 70 */ lfs f0, lbl_805AA590@sda21(r2)
/* 80074328 00071288 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 8007432C 0007128C 4E 80 00 20 */ blr
.global FaceReflectionAspectDebugValueToActualValue__9CTweakGuiFf
FaceReflectionAspectDebugValueToActualValue__9CTweakGuiFf:
/* 80074330 00071290 C0 42 88 7C */ lfs f2, lbl_805AA59C@sda21(r2)
/* 80074334 00071294 C0 02 88 78 */ lfs f0, lbl_805AA598@sda21(r2)
/* 80074338 00071298 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 8007433C 0007129C 4E 80 00 20 */ blr
.global FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf
FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf:
/* 80074340 000712A0 C0 42 88 80 */ lfs f2, lbl_805AA5A0@sda21(r2)
/* 80074344 000712A4 C0 02 88 7C */ lfs f0, lbl_805AA59C@sda21(r2)
/* 80074348 000712A8 EC 22 00 78 */ fmsubs f1, f2, f1, f0
/* 8007434C 000712AC 4E 80 00 20 */ blr
.global FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf
FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf:
/* 80074350 000712B0 C0 42 88 88 */ lfs f2, lbl_805AA5A8@sda21(r2)
/* 80074354 000712B4 C0 02 88 84 */ lfs f0, lbl_805AA5A4@sda21(r2)
/* 80074358 000712B8 EC 22 00 7A */ fmadds f1, f2, f1, f0
/* 8007435C 000712BC 4E 80 00 20 */ blr
.global __ct__9CTweakGuiFR12CInputStream
__ct__9CTweakGuiFR12CInputStream:
/* 80074360 000712C0 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80074364 000712C4 7C 08 02 A6 */ mflr r0
/* 80074368 000712C8 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha
/* 8007436C 000712CC 3C A0 80 3E */ lis r5, lbl_803DA440@ha
/* 80074370 000712D0 90 01 00 74 */ stw r0, 0x74(r1)
/* 80074374 000712D4 38 05 A4 40 */ addi r0, r5, lbl_803DA440@l
/* 80074378 000712D8 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8007437C 000712DC 7C 9F 23 78 */ mr r31, r4
/* 80074380 000712E0 93 C1 00 68 */ stw r30, 0x68(r1)
/* 80074384 000712E4 7C 7E 1B 78 */ mr r30, r3
/* 80074388 000712E8 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l
/* 8007438C 000712EC 93 A1 00 64 */ stw r29, 0x64(r1)
/* 80074390 000712F0 93 81 00 60 */ stw r28, 0x60(r1)
/* 80074394 000712F4 90 7E 00 00 */ stw r3, 0(r30)
/* 80074398 000712F8 7F E3 FB 78 */ mr r3, r31
/* 8007439C 000712FC 90 1E 00 00 */ stw r0, 0(r30)
/* 800743A0 00071300 48 2C A9 3D */ bl ReadBool__12CInputStreamFv
/* 800743A4 00071304 98 7E 00 04 */ stb r3, 4(r30)
/* 800743A8 00071308 7F E3 FB 78 */ mr r3, r31
/* 800743AC 0007130C 48 2C A8 7D */ bl ReadFloat__12CInputStreamFv
/* 800743B0 00071310 D0 3E 00 08 */ stfs f1, 8(r30)
/* 800743B4 00071314 7F E3 FB 78 */ mr r3, r31
/* 800743B8 00071318 48 2C A8 71 */ bl ReadFloat__12CInputStreamFv
/* 800743BC 0007131C D0 3E 00 0C */ stfs f1, 0xc(r30)
/* 800743C0 00071320 7F E3 FB 78 */ mr r3, r31
/* 800743C4 00071324 48 2C A8 65 */ bl ReadFloat__12CInputStreamFv
/* 800743C8 00071328 D0 3E 00 10 */ stfs f1, 0x10(r30)
/* 800743CC 0007132C 7F E3 FB 78 */ mr r3, r31
/* 800743D0 00071330 48 2C A8 59 */ bl ReadFloat__12CInputStreamFv
/* 800743D4 00071334 D0 3E 00 14 */ stfs f1, 0x14(r30)
/* 800743D8 00071338 7F E3 FB 78 */ mr r3, r31
/* 800743DC 0007133C 48 2C A8 4D */ bl ReadFloat__12CInputStreamFv
/* 800743E0 00071340 D0 3E 00 18 */ stfs f1, 0x18(r30)
/* 800743E4 00071344 7F E3 FB 78 */ mr r3, r31
/* 800743E8 00071348 48 2C A8 41 */ bl ReadFloat__12CInputStreamFv
/* 800743EC 0007134C D0 3E 00 1C */ stfs f1, 0x1c(r30)
/* 800743F0 00071350 7F E3 FB 78 */ mr r3, r31
/* 800743F4 00071354 48 2C A8 35 */ bl ReadFloat__12CInputStreamFv
/* 800743F8 00071358 D0 3E 00 20 */ stfs f1, 0x20(r30)
/* 800743FC 0007135C 7F E3 FB 78 */ mr r3, r31
/* 80074400 00071360 48 2C A8 29 */ bl ReadFloat__12CInputStreamFv
/* 80074404 00071364 D0 3E 00 24 */ stfs f1, 0x24(r30)
/* 80074408 00071368 7F E3 FB 78 */ mr r3, r31
/* 8007440C 0007136C 48 2C A8 1D */ bl ReadFloat__12CInputStreamFv
/* 80074410 00071370 D0 3E 00 28 */ stfs f1, 0x28(r30)
/* 80074414 00071374 38 00 00 00 */ li r0, 0
/* 80074418 00071378 7F E3 FB 78 */ mr r3, r31
/* 8007441C 0007137C 90 1E 00 2C */ stw r0, 0x2c(r30)
/* 80074420 00071380 48 2C A8 09 */ bl ReadFloat__12CInputStreamFv
/* 80074424 00071384 D0 3E 00 30 */ stfs f1, 0x30(r30)
/* 80074428 00071388 7F E3 FB 78 */ mr r3, r31
/* 8007442C 0007138C 48 2C A7 FD */ bl ReadFloat__12CInputStreamFv
/* 80074430 00071390 D0 3E 00 34 */ stfs f1, 0x34(r30)
/* 80074434 00071394 7F E3 FB 78 */ mr r3, r31
/* 80074438 00071398 48 2C A7 F1 */ bl ReadFloat__12CInputStreamFv
/* 8007443C 0007139C D0 3E 00 38 */ stfs f1, 0x38(r30)
/* 80074440 000713A0 7F E3 FB 78 */ mr r3, r31
/* 80074444 000713A4 48 2C A7 E5 */ bl ReadFloat__12CInputStreamFv
/* 80074448 000713A8 D0 3E 00 3C */ stfs f1, 0x3c(r30)
/* 8007444C 000713AC 7F E3 FB 78 */ mr r3, r31
/* 80074450 000713B0 48 2C A8 8D */ bl ReadBool__12CInputStreamFv
/* 80074454 000713B4 98 7E 00 40 */ stb r3, 0x40(r30)
/* 80074458 000713B8 7F E3 FB 78 */ mr r3, r31
/* 8007445C 000713BC 48 2C A7 CD */ bl ReadFloat__12CInputStreamFv
/* 80074460 000713C0 D0 3E 00 44 */ stfs f1, 0x44(r30)
/* 80074464 000713C4 7F E3 FB 78 */ mr r3, r31
/* 80074468 000713C8 48 2C A7 C1 */ bl ReadFloat__12CInputStreamFv
/* 8007446C 000713CC D0 3E 00 48 */ stfs f1, 0x48(r30)
/* 80074470 000713D0 7F E3 FB 78 */ mr r3, r31
/* 80074474 000713D4 48 2C A7 B5 */ bl ReadFloat__12CInputStreamFv
/* 80074478 000713D8 D0 3E 00 4C */ stfs f1, 0x4c(r30)
/* 8007447C 000713DC 7F E3 FB 78 */ mr r3, r31
/* 80074480 000713E0 48 2C A7 A9 */ bl ReadFloat__12CInputStreamFv
/* 80074484 000713E4 D0 3E 00 50 */ stfs f1, 0x50(r30)
/* 80074488 000713E8 7F E3 FB 78 */ mr r3, r31
/* 8007448C 000713EC 48 2C A7 9D */ bl ReadFloat__12CInputStreamFv
/* 80074490 000713F0 D0 3E 00 54 */ stfs f1, 0x54(r30)
/* 80074494 000713F4 7F E3 FB 78 */ mr r3, r31
/* 80074498 000713F8 48 2C A7 91 */ bl ReadFloat__12CInputStreamFv
/* 8007449C 000713FC D0 3E 00 58 */ stfs f1, 0x58(r30)
/* 800744A0 00071400 7F E3 FB 78 */ mr r3, r31
/* 800744A4 00071404 48 2C A7 85 */ bl ReadFloat__12CInputStreamFv
/* 800744A8 00071408 D0 3E 00 5C */ stfs f1, 0x5c(r30)
/* 800744AC 0007140C 7F E3 FB 78 */ mr r3, r31
/* 800744B0 00071410 48 2C A7 79 */ bl ReadFloat__12CInputStreamFv
/* 800744B4 00071414 D0 3E 00 60 */ stfs f1, 0x60(r30)
/* 800744B8 00071418 7F E4 FB 78 */ mr r4, r31
/* 800744BC 0007141C 38 7E 00 64 */ addi r3, r30, 0x64
/* 800744C0 00071420 48 2A 06 CD */ bl __ct__9CVector3fFR12CInputStream
/* 800744C4 00071424 7F E4 FB 78 */ mr r4, r31
/* 800744C8 00071428 38 7E 00 70 */ addi r3, r30, 0x70
/* 800744CC 0007142C 48 2A 06 C1 */ bl __ct__9CVector3fFR12CInputStream
/* 800744D0 00071430 7F E3 FB 78 */ mr r3, r31
/* 800744D4 00071434 48 2C A7 55 */ bl ReadFloat__12CInputStreamFv
/* 800744D8 00071438 D0 3E 00 7C */ stfs f1, 0x7c(r30)
/* 800744DC 0007143C 7F E3 FB 78 */ mr r3, r31
/* 800744E0 00071440 48 2C A7 49 */ bl ReadFloat__12CInputStreamFv
/* 800744E4 00071444 D0 3E 00 80 */ stfs f1, 0x80(r30)
/* 800744E8 00071448 7F E3 FB 78 */ mr r3, r31
/* 800744EC 0007144C 48 2C A7 3D */ bl ReadFloat__12CInputStreamFv
/* 800744F0 00071450 D0 3E 00 84 */ stfs f1, 0x84(r30)
/* 800744F4 00071454 7F E3 FB 78 */ mr r3, r31
/* 800744F8 00071458 48 2C A7 31 */ bl ReadFloat__12CInputStreamFv
/* 800744FC 0007145C D0 3E 00 88 */ stfs f1, 0x88(r30)
/* 80074500 00071460 7F E3 FB 78 */ mr r3, r31
/* 80074504 00071464 48 2C A7 25 */ bl ReadFloat__12CInputStreamFv
/* 80074508 00071468 D0 3E 00 8C */ stfs f1, 0x8c(r30)
/* 8007450C 0007146C 7F E3 FB 78 */ mr r3, r31
/* 80074510 00071470 48 2C A7 19 */ bl ReadFloat__12CInputStreamFv
/* 80074514 00071474 D0 3E 00 90 */ stfs f1, 0x90(r30)
/* 80074518 00071478 7F E3 FB 78 */ mr r3, r31
/* 8007451C 0007147C 48 2C A7 0D */ bl ReadFloat__12CInputStreamFv
/* 80074520 00071480 D0 3E 00 94 */ stfs f1, 0x94(r30)
/* 80074524 00071484 7F E3 FB 78 */ mr r3, r31
/* 80074528 00071488 48 2C A7 01 */ bl ReadFloat__12CInputStreamFv
/* 8007452C 0007148C D0 3E 00 98 */ stfs f1, 0x98(r30)
/* 80074530 00071490 7F E3 FB 78 */ mr r3, r31
/* 80074534 00071494 48 2C A6 F5 */ bl ReadFloat__12CInputStreamFv
/* 80074538 00071498 D0 3E 00 9C */ stfs f1, 0x9c(r30)
/* 8007453C 0007149C 7F E3 FB 78 */ mr r3, r31
/* 80074540 000714A0 48 2C A6 E9 */ bl ReadFloat__12CInputStreamFv
/* 80074544 000714A4 D0 3E 00 A0 */ stfs f1, 0xa0(r30)
/* 80074548 000714A8 7F E3 FB 78 */ mr r3, r31
/* 8007454C 000714AC 48 2C A6 DD */ bl ReadFloat__12CInputStreamFv
/* 80074550 000714B0 D0 3E 00 A4 */ stfs f1, 0xa4(r30)
/* 80074554 000714B4 7F E3 FB 78 */ mr r3, r31
/* 80074558 000714B8 48 2C A7 2D */ bl ReadLong__12CInputStreamFv
/* 8007455C 000714BC 90 7E 00 A8 */ stw r3, 0xa8(r30)
/* 80074560 000714C0 7F E3 FB 78 */ mr r3, r31
/* 80074564 000714C4 48 2C A7 21 */ bl ReadLong__12CInputStreamFv
/* 80074568 000714C8 90 7E 00 AC */ stw r3, 0xac(r30)
/* 8007456C 000714CC 7F E3 FB 78 */ mr r3, r31
/* 80074570 000714D0 48 2C A7 15 */ bl ReadLong__12CInputStreamFv
/* 80074574 000714D4 90 7E 00 B0 */ stw r3, 0xb0(r30)
/* 80074578 000714D8 7F E3 FB 78 */ mr r3, r31
/* 8007457C 000714DC 48 2C A6 AD */ bl ReadFloat__12CInputStreamFv
/* 80074580 000714E0 D0 3E 00 B4 */ stfs f1, 0xb4(r30)
/* 80074584 000714E4 7F E3 FB 78 */ mr r3, r31
/* 80074588 000714E8 48 2C A6 A1 */ bl ReadFloat__12CInputStreamFv
/* 8007458C 000714EC D0 3E 00 B8 */ stfs f1, 0xb8(r30)
/* 80074590 000714F0 7F E3 FB 78 */ mr r3, r31
/* 80074594 000714F4 48 2C A6 95 */ bl ReadFloat__12CInputStreamFv
/* 80074598 000714F8 D0 3E 00 BC */ stfs f1, 0xbc(r30)
/* 8007459C 000714FC 7F E3 FB 78 */ mr r3, r31
/* 800745A0 00071500 48 2C A6 89 */ bl ReadFloat__12CInputStreamFv
/* 800745A4 00071504 D0 3E 00 C0 */ stfs f1, 0xc0(r30)
/* 800745A8 00071508 7F E3 FB 78 */ mr r3, r31
/* 800745AC 0007150C 48 2C A6 7D */ bl ReadFloat__12CInputStreamFv
/* 800745B0 00071510 D0 3E 00 C4 */ stfs f1, 0xc4(r30)
/* 800745B4 00071514 7F E3 FB 78 */ mr r3, r31
/* 800745B8 00071518 48 2C A6 71 */ bl ReadFloat__12CInputStreamFv
/* 800745BC 0007151C D0 3E 00 C8 */ stfs f1, 0xc8(r30)
/* 800745C0 00071520 7F E3 FB 78 */ mr r3, r31
/* 800745C4 00071524 48 2C A6 65 */ bl ReadFloat__12CInputStreamFv
/* 800745C8 00071528 D0 3E 00 CC */ stfs f1, 0xcc(r30)
/* 800745CC 0007152C 7F E3 FB 78 */ mr r3, r31
/* 800745D0 00071530 48 2C A6 59 */ bl ReadFloat__12CInputStreamFv
/* 800745D4 00071534 D0 3E 00 D0 */ stfs f1, 0xd0(r30)
/* 800745D8 00071538 7F E3 FB 78 */ mr r3, r31
/* 800745DC 0007153C 48 2C A6 A9 */ bl ReadLong__12CInputStreamFv
/* 800745E0 00071540 90 7E 00 D4 */ stw r3, 0xd4(r30)
/* 800745E4 00071544 7F E3 FB 78 */ mr r3, r31
/* 800745E8 00071548 48 2C A6 41 */ bl ReadFloat__12CInputStreamFv
/* 800745EC 0007154C C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2)
/* 800745F0 00071550 7F E3 FB 78 */ mr r3, r31
/* 800745F4 00071554 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2)
/* 800745F8 00071558 EC 00 00 72 */ fmuls f0, f0, f1
/* 800745FC 0007155C EC 02 00 32 */ fmuls f0, f2, f0
/* 80074600 00071560 D0 1E 00 D8 */ stfs f0, 0xd8(r30)
/* 80074604 00071564 48 2C A6 25 */ bl ReadFloat__12CInputStreamFv
/* 80074608 00071568 C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2)
/* 8007460C 0007156C 7F E3 FB 78 */ mr r3, r31
/* 80074610 00071570 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2)
/* 80074614 00071574 EC 00 00 72 */ fmuls f0, f0, f1
/* 80074618 00071578 EC 02 00 32 */ fmuls f0, f2, f0
/* 8007461C 0007157C D0 1E 00 DC */ stfs f0, 0xdc(r30)
/* 80074620 00071580 48 2C A6 09 */ bl ReadFloat__12CInputStreamFv
/* 80074624 00071584 D0 3E 00 E0 */ stfs f1, 0xe0(r30)
/* 80074628 00071588 7F E3 FB 78 */ mr r3, r31
/* 8007462C 0007158C 48 2C A5 FD */ bl ReadFloat__12CInputStreamFv
/* 80074630 00071590 D0 3E 00 E4 */ stfs f1, 0xe4(r30)
/* 80074634 00071594 7F E3 FB 78 */ mr r3, r31
/* 80074638 00071598 48 2C A5 F1 */ bl ReadFloat__12CInputStreamFv
/* 8007463C 0007159C D0 3E 00 E8 */ stfs f1, 0xe8(r30)
/* 80074640 000715A0 7F E3 FB 78 */ mr r3, r31
/* 80074644 000715A4 48 2C A5 E5 */ bl ReadFloat__12CInputStreamFv
/* 80074648 000715A8 D0 3E 00 EC */ stfs f1, 0xec(r30)
/* 8007464C 000715AC 7F E3 FB 78 */ mr r3, r31
/* 80074650 000715B0 48 2C A5 D9 */ bl ReadFloat__12CInputStreamFv
/* 80074654 000715B4 D0 3E 00 F0 */ stfs f1, 0xf0(r30)
/* 80074658 000715B8 7F E3 FB 78 */ mr r3, r31
/* 8007465C 000715BC 48 2C A5 CD */ bl ReadFloat__12CInputStreamFv
/* 80074660 000715C0 D0 3E 00 F4 */ stfs f1, 0xf4(r30)
/* 80074664 000715C4 7F E3 FB 78 */ mr r3, r31
/* 80074668 000715C8 48 2C A6 1D */ bl ReadLong__12CInputStreamFv
/* 8007466C 000715CC 90 7E 00 F8 */ stw r3, 0xf8(r30)
/* 80074670 000715D0 7F E3 FB 78 */ mr r3, r31
/* 80074674 000715D4 48 2C A6 11 */ bl ReadLong__12CInputStreamFv
/* 80074678 000715D8 90 7E 00 FC */ stw r3, 0xfc(r30)
/* 8007467C 000715DC 7F E3 FB 78 */ mr r3, r31
/* 80074680 000715E0 48 2C A6 05 */ bl ReadLong__12CInputStreamFv
/* 80074684 000715E4 90 7E 01 00 */ stw r3, 0x100(r30)
/* 80074688 000715E8 7F E3 FB 78 */ mr r3, r31
/* 8007468C 000715EC 48 2C A5 F9 */ bl ReadLong__12CInputStreamFv
/* 80074690 000715F0 90 7E 01 04 */ stw r3, 0x104(r30)
/* 80074694 000715F4 7F E3 FB 78 */ mr r3, r31
/* 80074698 000715F8 48 2C A5 ED */ bl ReadLong__12CInputStreamFv
/* 8007469C 000715FC 90 7E 01 08 */ stw r3, 0x108(r30)
/* 800746A0 00071600 7F E3 FB 78 */ mr r3, r31
/* 800746A4 00071604 48 2C A5 E1 */ bl ReadLong__12CInputStreamFv
/* 800746A8 00071608 90 7E 01 0C */ stw r3, 0x10c(r30)
/* 800746AC 0007160C 7F E3 FB 78 */ mr r3, r31
/* 800746B0 00071610 48 2C A5 79 */ bl ReadFloat__12CInputStreamFv
/* 800746B4 00071614 D0 3E 01 10 */ stfs f1, 0x110(r30)
/* 800746B8 00071618 7F E3 FB 78 */ mr r3, r31
/* 800746BC 0007161C 48 2C A5 6D */ bl ReadFloat__12CInputStreamFv
/* 800746C0 00071620 D0 3E 01 14 */ stfs f1, 0x114(r30)
/* 800746C4 00071624 7F E3 FB 78 */ mr r3, r31
/* 800746C8 00071628 48 2C A5 61 */ bl ReadFloat__12CInputStreamFv
/* 800746CC 0007162C D0 3E 01 18 */ stfs f1, 0x118(r30)
/* 800746D0 00071630 7F E3 FB 78 */ mr r3, r31
/* 800746D4 00071634 48 2C A5 55 */ bl ReadFloat__12CInputStreamFv
/* 800746D8 00071638 D0 3E 01 1C */ stfs f1, 0x11c(r30)
/* 800746DC 0007163C 7F E3 FB 78 */ mr r3, r31
/* 800746E0 00071640 48 2C A5 49 */ bl ReadFloat__12CInputStreamFv
/* 800746E4 00071644 D0 3E 01 20 */ stfs f1, 0x120(r30)
/* 800746E8 00071648 7F E3 FB 78 */ mr r3, r31
/* 800746EC 0007164C 48 2C A5 3D */ bl ReadFloat__12CInputStreamFv
/* 800746F0 00071650 D0 3E 01 24 */ stfs f1, 0x124(r30)
/* 800746F4 00071654 7F E3 FB 78 */ mr r3, r31
/* 800746F8 00071658 48 2C A5 31 */ bl ReadFloat__12CInputStreamFv
/* 800746FC 0007165C D0 3E 01 28 */ stfs f1, 0x128(r30)
/* 80074700 00071660 7F E3 FB 78 */ mr r3, r31
/* 80074704 00071664 48 2C A5 25 */ bl ReadFloat__12CInputStreamFv
/* 80074708 00071668 D0 3E 01 2C */ stfs f1, 0x12c(r30)
/* 8007470C 0007166C 7F E3 FB 78 */ mr r3, r31
/* 80074710 00071670 48 2C A5 CD */ bl ReadBool__12CInputStreamFv
/* 80074714 00071674 98 7E 01 30 */ stb r3, 0x130(r30)
/* 80074718 00071678 7F E3 FB 78 */ mr r3, r31
/* 8007471C 0007167C 48 2C A5 0D */ bl ReadFloat__12CInputStreamFv
/* 80074720 00071680 D0 3E 01 34 */ stfs f1, 0x134(r30)
/* 80074724 00071684 7F E3 FB 78 */ mr r3, r31
/* 80074728 00071688 48 2C A5 01 */ bl ReadFloat__12CInputStreamFv
/* 8007472C 0007168C D0 3E 01 38 */ stfs f1, 0x138(r30)
/* 80074730 00071690 7F E3 FB 78 */ mr r3, r31
/* 80074734 00071694 48 2C A5 51 */ bl ReadLong__12CInputStreamFv
/* 80074738 00071698 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8007473C 0007169C 3C 00 43 30 */ lis r0, 0x4330
/* 80074740 000716A0 90 61 00 3C */ stw r3, 0x3c(r1)
/* 80074744 000716A4 7F E3 FB 78 */ mr r3, r31
/* 80074748 000716A8 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2)
/* 8007474C 000716AC 90 01 00 38 */ stw r0, 0x38(r1)
/* 80074750 000716B0 C8 01 00 38 */ lfd f0, 0x38(r1)
/* 80074754 000716B4 EC 00 08 28 */ fsubs f0, f0, f1
/* 80074758 000716B8 D0 1E 01 3C */ stfs f0, 0x13c(r30)
/* 8007475C 000716BC 48 2C A5 29 */ bl ReadLong__12CInputStreamFv
/* 80074760 000716C0 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80074764 000716C4 3C 00 43 30 */ lis r0, 0x4330
/* 80074768 000716C8 90 61 00 44 */ stw r3, 0x44(r1)
/* 8007476C 000716CC 7F E3 FB 78 */ mr r3, r31
/* 80074770 000716D0 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2)
/* 80074774 000716D4 90 01 00 40 */ stw r0, 0x40(r1)
/* 80074778 000716D8 C8 01 00 40 */ lfd f0, 0x40(r1)
/* 8007477C 000716DC EC 00 08 28 */ fsubs f0, f0, f1
/* 80074780 000716E0 D0 1E 01 40 */ stfs f0, 0x140(r30)
/* 80074784 000716E4 48 2C A5 01 */ bl ReadLong__12CInputStreamFv
/* 80074788 000716E8 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8007478C 000716EC 3C 00 43 30 */ lis r0, 0x4330
/* 80074790 000716F0 90 61 00 4C */ stw r3, 0x4c(r1)
/* 80074794 000716F4 7F E3 FB 78 */ mr r3, r31
/* 80074798 000716F8 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2)
/* 8007479C 000716FC 90 01 00 48 */ stw r0, 0x48(r1)
/* 800747A0 00071700 C8 01 00 48 */ lfd f0, 0x48(r1)
/* 800747A4 00071704 EC 00 08 28 */ fsubs f0, f0, f1
/* 800747A8 00071708 D0 1E 01 44 */ stfs f0, 0x144(r30)
/* 800747AC 0007170C 48 2C A4 D9 */ bl ReadLong__12CInputStreamFv
/* 800747B0 00071710 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 800747B4 00071714 3C 00 43 30 */ lis r0, 0x4330
/* 800747B8 00071718 90 61 00 54 */ stw r3, 0x54(r1)
/* 800747BC 0007171C 7F E3 FB 78 */ mr r3, r31
/* 800747C0 00071720 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2)
/* 800747C4 00071724 90 01 00 50 */ stw r0, 0x50(r1)
/* 800747C8 00071728 C8 01 00 50 */ lfd f0, 0x50(r1)
/* 800747CC 0007172C EC 00 08 28 */ fsubs f0, f0, f1
/* 800747D0 00071730 D0 1E 01 48 */ stfs f0, 0x148(r30)
/* 800747D4 00071734 48 2C A4 B1 */ bl ReadLong__12CInputStreamFv
/* 800747D8 00071738 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 800747DC 0007173C 3C 00 43 30 */ lis r0, 0x4330
/* 800747E0 00071740 90 61 00 5C */ stw r3, 0x5c(r1)
/* 800747E4 00071744 7F E4 FB 78 */ mr r4, r31
/* 800747E8 00071748 C8 22 88 A8 */ lfd f1, lbl_805AA5C8@sda21(r2)
/* 800747EC 0007174C 38 7E 01 50 */ addi r3, r30, 0x150
/* 800747F0 00071750 90 01 00 58 */ stw r0, 0x58(r1)
/* 800747F4 00071754 38 A1 00 30 */ addi r5, r1, 0x30
/* 800747F8 00071758 C8 01 00 58 */ lfd f0, 0x58(r1)
/* 800747FC 0007175C EC 00 08 28 */ fsubs f0, f0, f1
/* 80074800 00071760 D0 1E 01 4C */ stfs f0, 0x14c(r30)
/* 80074804 00071764 48 2C 9A F5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074808 00071768 7F E4 FB 78 */ mr r4, r31
/* 8007480C 0007176C 38 7E 01 60 */ addi r3, r30, 0x160
/* 80074810 00071770 38 A1 00 2C */ addi r5, r1, 0x2c
/* 80074814 00071774 48 2C 9A E5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074818 00071778 7F E4 FB 78 */ mr r4, r31
/* 8007481C 0007177C 38 7E 01 70 */ addi r3, r30, 0x170
/* 80074820 00071780 38 A1 00 28 */ addi r5, r1, 0x28
/* 80074824 00071784 48 2C 9A D5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074828 00071788 7F E4 FB 78 */ mr r4, r31
/* 8007482C 0007178C 38 7E 01 80 */ addi r3, r30, 0x180
/* 80074830 00071790 38 A1 00 24 */ addi r5, r1, 0x24
/* 80074834 00071794 48 2C 9A C5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074838 00071798 7F E4 FB 78 */ mr r4, r31
/* 8007483C 0007179C 38 7E 01 90 */ addi r3, r30, 0x190
/* 80074840 000717A0 38 A1 00 20 */ addi r5, r1, 0x20
/* 80074844 000717A4 48 2C 9A B5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074848 000717A8 7F E3 FB 78 */ mr r3, r31
/* 8007484C 000717AC 48 2C A3 DD */ bl ReadFloat__12CInputStreamFv
/* 80074850 000717B0 D0 3E 01 A0 */ stfs f1, 0x1a0(r30)
/* 80074854 000717B4 7F E3 FB 78 */ mr r3, r31
/* 80074858 000717B8 48 2C A3 D1 */ bl ReadFloat__12CInputStreamFv
/* 8007485C 000717BC D0 3E 01 A4 */ stfs f1, 0x1a4(r30)
/* 80074860 000717C0 7F E3 FB 78 */ mr r3, r31
/* 80074864 000717C4 48 2C A3 C5 */ bl ReadFloat__12CInputStreamFv
/* 80074868 000717C8 D0 3E 01 A8 */ stfs f1, 0x1a8(r30)
/* 8007486C 000717CC 7F E3 FB 78 */ mr r3, r31
/* 80074870 000717D0 48 2C A3 B9 */ bl ReadFloat__12CInputStreamFv
/* 80074874 000717D4 D0 3E 01 AC */ stfs f1, 0x1ac(r30)
/* 80074878 000717D8 7F E3 FB 78 */ mr r3, r31
/* 8007487C 000717DC 48 2C A3 AD */ bl ReadFloat__12CInputStreamFv
/* 80074880 000717E0 D0 3E 01 B0 */ stfs f1, 0x1b0(r30)
/* 80074884 000717E4 7F E3 FB 78 */ mr r3, r31
/* 80074888 000717E8 48 2C A3 A1 */ bl ReadFloat__12CInputStreamFv
/* 8007488C 000717EC D0 3E 01 B4 */ stfs f1, 0x1b4(r30)
/* 80074890 000717F0 7F E3 FB 78 */ mr r3, r31
/* 80074894 000717F4 48 2C A3 95 */ bl ReadFloat__12CInputStreamFv
/* 80074898 000717F8 D0 3E 01 B8 */ stfs f1, 0x1b8(r30)
/* 8007489C 000717FC 7F E3 FB 78 */ mr r3, r31
/* 800748A0 00071800 48 2C A3 89 */ bl ReadFloat__12CInputStreamFv
/* 800748A4 00071804 D0 3E 01 BC */ stfs f1, 0x1bc(r30)
/* 800748A8 00071808 7F E3 FB 78 */ mr r3, r31
/* 800748AC 0007180C 48 2C A3 7D */ bl ReadFloat__12CInputStreamFv
/* 800748B0 00071810 D0 3E 01 C0 */ stfs f1, 0x1c0(r30)
/* 800748B4 00071814 7F E3 FB 78 */ mr r3, r31
/* 800748B8 00071818 48 2C A3 71 */ bl ReadFloat__12CInputStreamFv
/* 800748BC 0007181C D0 3E 01 C4 */ stfs f1, 0x1c4(r30)
/* 800748C0 00071820 7F E3 FB 78 */ mr r3, r31
/* 800748C4 00071824 48 2C A3 65 */ bl ReadFloat__12CInputStreamFv
/* 800748C8 00071828 D0 3E 01 C8 */ stfs f1, 0x1c8(r30)
/* 800748CC 0007182C 7F E3 FB 78 */ mr r3, r31
/* 800748D0 00071830 48 2C A4 0D */ bl ReadBool__12CInputStreamFv
/* 800748D4 00071834 98 7E 01 CC */ stb r3, 0x1cc(r30)
/* 800748D8 00071838 7F E3 FB 78 */ mr r3, r31
/* 800748DC 0007183C 48 2C A4 01 */ bl ReadBool__12CInputStreamFv
/* 800748E0 00071840 98 7E 01 CD */ stb r3, 0x1cd(r30)
/* 800748E4 00071844 7F E3 FB 78 */ mr r3, r31
/* 800748E8 00071848 48 2C A3 41 */ bl ReadFloat__12CInputStreamFv
/* 800748EC 0007184C D0 3E 01 D0 */ stfs f1, 0x1d0(r30)
/* 800748F0 00071850 7F E3 FB 78 */ mr r3, r31
/* 800748F4 00071854 48 2C A3 35 */ bl ReadFloat__12CInputStreamFv
/* 800748F8 00071858 D0 3E 01 D4 */ stfs f1, 0x1d4(r30)
/* 800748FC 0007185C 7F E3 FB 78 */ mr r3, r31
/* 80074900 00071860 48 2C A3 29 */ bl ReadFloat__12CInputStreamFv
/* 80074904 00071864 D0 3E 01 D8 */ stfs f1, 0x1d8(r30)
/* 80074908 00071868 7F E3 FB 78 */ mr r3, r31
/* 8007490C 0007186C 48 2C A3 1D */ bl ReadFloat__12CInputStreamFv
/* 80074910 00071870 D0 3E 01 DC */ stfs f1, 0x1dc(r30)
/* 80074914 00071874 7F E3 FB 78 */ mr r3, r31
/* 80074918 00071878 48 2C A3 11 */ bl ReadFloat__12CInputStreamFv
/* 8007491C 0007187C D0 3E 01 E0 */ stfs f1, 0x1e0(r30)
/* 80074920 00071880 7F E3 FB 78 */ mr r3, r31
/* 80074924 00071884 48 2C A3 05 */ bl ReadFloat__12CInputStreamFv
/* 80074928 00071888 D0 3E 01 E4 */ stfs f1, 0x1e4(r30)
/* 8007492C 0007188C 7F E3 FB 78 */ mr r3, r31
/* 80074930 00071890 48 2C A2 F9 */ bl ReadFloat__12CInputStreamFv
/* 80074934 00071894 D0 3E 01 E8 */ stfs f1, 0x1e8(r30)
/* 80074938 00071898 7F E3 FB 78 */ mr r3, r31
/* 8007493C 0007189C 48 2C A2 ED */ bl ReadFloat__12CInputStreamFv
/* 80074940 000718A0 D0 3E 01 EC */ stfs f1, 0x1ec(r30)
/* 80074944 000718A4 7F E3 FB 78 */ mr r3, r31
/* 80074948 000718A8 48 2C A2 E1 */ bl ReadFloat__12CInputStreamFv
/* 8007494C 000718AC D0 3E 01 F0 */ stfs f1, 0x1f0(r30)
/* 80074950 000718B0 7F E3 FB 78 */ mr r3, r31
/* 80074954 000718B4 48 2C A2 D5 */ bl ReadFloat__12CInputStreamFv
/* 80074958 000718B8 D0 3E 01 F4 */ stfs f1, 0x1f4(r30)
/* 8007495C 000718BC 7F E3 FB 78 */ mr r3, r31
/* 80074960 000718C0 48 2C A2 C9 */ bl ReadFloat__12CInputStreamFv
/* 80074964 000718C4 D0 3E 01 F8 */ stfs f1, 0x1f8(r30)
/* 80074968 000718C8 7F E3 FB 78 */ mr r3, r31
/* 8007496C 000718CC 48 2C A2 BD */ bl ReadFloat__12CInputStreamFv
/* 80074970 000718D0 D0 3E 01 FC */ stfs f1, 0x1fc(r30)
/* 80074974 000718D4 38 7E 02 00 */ addi r3, r30, 0x200
/* 80074978 000718D8 C0 62 88 94 */ lfs f3, lbl_805AA5B4@sda21(r2)
/* 8007497C 000718DC C0 3E 01 F4 */ lfs f1, 0x1f4(r30)
/* 80074980 000718E0 C0 5E 01 F8 */ lfs f2, 0x1f8(r30)
/* 80074984 000718E4 C0 1E 01 FC */ lfs f0, 0x1fc(r30)
/* 80074988 000718E8 EC 23 00 72 */ fmuls f1, f3, f1
/* 8007498C 000718EC EC 43 00 B2 */ fmuls f2, f3, f2
/* 80074990 000718F0 C0 82 88 78 */ lfs f4, lbl_805AA598@sda21(r2)
/* 80074994 000718F4 EC 63 00 32 */ fmuls f3, f3, f0
/* 80074998 000718F8 48 2E EA 55 */ bl __ct__6CColorFffff
/* 8007499C 000718FC C0 22 88 98 */ lfs f1, lbl_805AA5B8@sda21(r2)
/* 800749A0 00071900 7F E3 FB 78 */ mr r3, r31
/* 800749A4 00071904 C0 02 88 9C */ lfs f0, lbl_805AA5BC@sda21(r2)
/* 800749A8 00071908 D0 3E 02 04 */ stfs f1, 0x204(r30)
/* 800749AC 0007190C D0 1E 02 08 */ stfs f0, 0x208(r30)
/* 800749B0 00071910 48 2C A2 79 */ bl ReadFloat__12CInputStreamFv
/* 800749B4 00071914 D0 3E 02 0C */ stfs f1, 0x20c(r30)
/* 800749B8 00071918 7F E3 FB 78 */ mr r3, r31
/* 800749BC 0007191C 48 2C A2 6D */ bl ReadFloat__12CInputStreamFv
/* 800749C0 00071920 C0 02 88 90 */ lfs f0, lbl_805AA5B0@sda21(r2)
/* 800749C4 00071924 7F E3 FB 78 */ mr r3, r31
/* 800749C8 00071928 C0 42 88 8C */ lfs f2, lbl_805AA5AC@sda21(r2)
/* 800749CC 0007192C EC 00 00 72 */ fmuls f0, f0, f1
/* 800749D0 00071930 EC 02 00 32 */ fmuls f0, f2, f0
/* 800749D4 00071934 D0 1E 02 10 */ stfs f0, 0x210(r30)
/* 800749D8 00071938 48 2C A2 51 */ bl ReadFloat__12CInputStreamFv
/* 800749DC 0007193C D0 3E 02 14 */ stfs f1, 0x214(r30)
/* 800749E0 00071940 7F E3 FB 78 */ mr r3, r31
/* 800749E4 00071944 48 2C A2 45 */ bl ReadFloat__12CInputStreamFv
/* 800749E8 00071948 D0 3E 02 18 */ stfs f1, 0x218(r30)
/* 800749EC 0007194C 7F E3 FB 78 */ mr r3, r31
/* 800749F0 00071950 48 2C A2 39 */ bl ReadFloat__12CInputStreamFv
/* 800749F4 00071954 D0 3E 02 1C */ stfs f1, 0x21c(r30)
/* 800749F8 00071958 7F E3 FB 78 */ mr r3, r31
/* 800749FC 0007195C 48 2C A2 2D */ bl ReadFloat__12CInputStreamFv
/* 80074A00 00071960 D0 3E 02 20 */ stfs f1, 0x220(r30)
/* 80074A04 00071964 7F E3 FB 78 */ mr r3, r31
/* 80074A08 00071968 48 2C A2 21 */ bl ReadFloat__12CInputStreamFv
/* 80074A0C 0007196C D0 3E 02 24 */ stfs f1, 0x224(r30)
/* 80074A10 00071970 7F E3 FB 78 */ mr r3, r31
/* 80074A14 00071974 C0 3E 02 20 */ lfs f1, 0x220(r30)
/* 80074A18 00071978 C0 1E 02 24 */ lfs f0, 0x224(r30)
/* 80074A1C 0007197C EC 01 00 2A */ fadds f0, f1, f0
/* 80074A20 00071980 D0 1E 02 28 */ stfs f0, 0x228(r30)
/* 80074A24 00071984 48 2C A2 05 */ bl ReadFloat__12CInputStreamFv
/* 80074A28 00071988 D0 3E 02 2C */ stfs f1, 0x22c(r30)
/* 80074A2C 0007198C 7F E3 FB 78 */ mr r3, r31
/* 80074A30 00071990 48 2C A1 F9 */ bl ReadFloat__12CInputStreamFv
/* 80074A34 00071994 D0 3E 02 30 */ stfs f1, 0x230(r30)
/* 80074A38 00071998 7F E3 FB 78 */ mr r3, r31
/* 80074A3C 0007199C 48 2C A1 ED */ bl ReadFloat__12CInputStreamFv
/* 80074A40 000719A0 D0 3E 02 34 */ stfs f1, 0x234(r30)
/* 80074A44 000719A4 7F E3 FB 78 */ mr r3, r31
/* 80074A48 000719A8 48 2C A1 E1 */ bl ReadFloat__12CInputStreamFv
/* 80074A4C 000719AC D0 3E 02 38 */ stfs f1, 0x238(r30)
/* 80074A50 000719B0 7F E3 FB 78 */ mr r3, r31
/* 80074A54 000719B4 48 2C A1 D5 */ bl ReadFloat__12CInputStreamFv
/* 80074A58 000719B8 D0 3E 02 3C */ stfs f1, 0x23c(r30)
/* 80074A5C 000719BC 7F E3 FB 78 */ mr r3, r31
/* 80074A60 000719C0 48 2C A1 C9 */ bl ReadFloat__12CInputStreamFv
/* 80074A64 000719C4 D0 3E 02 40 */ stfs f1, 0x240(r30)
/* 80074A68 000719C8 7F E3 FB 78 */ mr r3, r31
/* 80074A6C 000719CC 48 2C A1 BD */ bl ReadFloat__12CInputStreamFv
/* 80074A70 000719D0 D0 3E 02 44 */ stfs f1, 0x244(r30)
/* 80074A74 000719D4 7F E3 FB 78 */ mr r3, r31
/* 80074A78 000719D8 48 2C A1 B1 */ bl ReadFloat__12CInputStreamFv
/* 80074A7C 000719DC D0 3E 02 48 */ stfs f1, 0x248(r30)
/* 80074A80 000719E0 7F E3 FB 78 */ mr r3, r31
/* 80074A84 000719E4 48 2C A1 A5 */ bl ReadFloat__12CInputStreamFv
/* 80074A88 000719E8 D0 3E 02 4C */ stfs f1, 0x24c(r30)
/* 80074A8C 000719EC 7F E3 FB 78 */ mr r3, r31
/* 80074A90 000719F0 48 2C A1 99 */ bl ReadFloat__12CInputStreamFv
/* 80074A94 000719F4 D0 3E 02 50 */ stfs f1, 0x250(r30)
/* 80074A98 000719F8 7F E3 FB 78 */ mr r3, r31
/* 80074A9C 000719FC 48 2C A1 8D */ bl ReadFloat__12CInputStreamFv
/* 80074AA0 00071A00 D0 3E 02 54 */ stfs f1, 0x254(r30)
/* 80074AA4 00071A04 7F E3 FB 78 */ mr r3, r31
/* 80074AA8 00071A08 48 2C A1 81 */ bl ReadFloat__12CInputStreamFv
/* 80074AAC 00071A0C D0 3E 02 58 */ stfs f1, 0x258(r30)
/* 80074AB0 00071A10 7F E3 FB 78 */ mr r3, r31
/* 80074AB4 00071A14 48 2C A1 75 */ bl ReadFloat__12CInputStreamFv
/* 80074AB8 00071A18 D0 3E 02 5C */ stfs f1, 0x25c(r30)
/* 80074ABC 00071A1C 7F E3 FB 78 */ mr r3, r31
/* 80074AC0 00071A20 48 2C A1 69 */ bl ReadFloat__12CInputStreamFv
/* 80074AC4 00071A24 D0 3E 02 60 */ stfs f1, 0x260(r30)
/* 80074AC8 00071A28 7F E3 FB 78 */ mr r3, r31
/* 80074ACC 00071A2C 48 2C A1 5D */ bl ReadFloat__12CInputStreamFv
/* 80074AD0 00071A30 D0 3E 02 64 */ stfs f1, 0x264(r30)
/* 80074AD4 00071A34 7F E3 FB 78 */ mr r3, r31
/* 80074AD8 00071A38 48 2C A1 51 */ bl ReadFloat__12CInputStreamFv
/* 80074ADC 00071A3C D0 3E 02 68 */ stfs f1, 0x268(r30)
/* 80074AE0 00071A40 7F E3 FB 78 */ mr r3, r31
/* 80074AE4 00071A44 48 2C A1 45 */ bl ReadFloat__12CInputStreamFv
/* 80074AE8 00071A48 D0 3E 02 6C */ stfs f1, 0x26c(r30)
/* 80074AEC 00071A4C 7F E3 FB 78 */ mr r3, r31
/* 80074AF0 00071A50 48 2C A1 39 */ bl ReadFloat__12CInputStreamFv
/* 80074AF4 00071A54 D0 3E 02 70 */ stfs f1, 0x270(r30)
/* 80074AF8 00071A58 7F E3 FB 78 */ mr r3, r31
/* 80074AFC 00071A5C 48 2C A1 E1 */ bl ReadBool__12CInputStreamFv
/* 80074B00 00071A60 98 7E 02 74 */ stb r3, 0x274(r30)
/* 80074B04 00071A64 38 00 00 01 */ li r0, 1
/* 80074B08 00071A68 7F E3 FB 78 */ mr r3, r31
/* 80074B0C 00071A6C 98 1E 02 75 */ stb r0, 0x275(r30)
/* 80074B10 00071A70 48 2C A1 19 */ bl ReadFloat__12CInputStreamFv
/* 80074B14 00071A74 D0 3E 02 78 */ stfs f1, 0x278(r30)
/* 80074B18 00071A78 7F E3 FB 78 */ mr r3, r31
/* 80074B1C 00071A7C 48 2C A1 69 */ bl ReadLong__12CInputStreamFv
/* 80074B20 00071A80 2C 03 00 02 */ cmpwi r3, 2
/* 80074B24 00071A84 41 82 00 34 */ beq lbl_80074B58
/* 80074B28 00071A88 40 80 00 14 */ bge lbl_80074B3C
/* 80074B2C 00071A8C 2C 03 00 00 */ cmpwi r3, 0
/* 80074B30 00071A90 41 82 00 18 */ beq lbl_80074B48
/* 80074B34 00071A94 40 80 00 1C */ bge lbl_80074B50
/* 80074B38 00071A98 48 00 00 30 */ b lbl_80074B68
lbl_80074B3C:
/* 80074B3C 00071A9C 2C 03 00 04 */ cmpwi r3, 4
/* 80074B40 00071AA0 40 80 00 28 */ bge lbl_80074B68
/* 80074B44 00071AA4 48 00 00 1C */ b lbl_80074B60
lbl_80074B48:
/* 80074B48 00071AA8 38 00 00 00 */ li r0, 0
/* 80074B4C 00071AAC 48 00 00 20 */ b lbl_80074B6C
lbl_80074B50:
/* 80074B50 00071AB0 38 00 00 02 */ li r0, 2
/* 80074B54 00071AB4 48 00 00 18 */ b lbl_80074B6C
lbl_80074B58:
/* 80074B58 00071AB8 38 00 00 04 */ li r0, 4
/* 80074B5C 00071ABC 48 00 00 10 */ b lbl_80074B6C
lbl_80074B60:
/* 80074B60 00071AC0 38 00 00 05 */ li r0, 5
/* 80074B64 00071AC4 48 00 00 08 */ b lbl_80074B6C
lbl_80074B68:
/* 80074B68 00071AC8 38 00 00 00 */ li r0, 0
lbl_80074B6C:
/* 80074B6C 00071ACC 90 1E 02 7C */ stw r0, 0x27c(r30)
/* 80074B70 00071AD0 7F E3 FB 78 */ mr r3, r31
/* 80074B74 00071AD4 48 2C A0 B5 */ bl ReadFloat__12CInputStreamFv
/* 80074B78 00071AD8 D0 3E 02 80 */ stfs f1, 0x280(r30)
/* 80074B7C 00071ADC 7F E3 FB 78 */ mr r3, r31
/* 80074B80 00071AE0 48 2C A0 A9 */ bl ReadFloat__12CInputStreamFv
/* 80074B84 00071AE4 D0 3E 02 84 */ stfs f1, 0x284(r30)
/* 80074B88 00071AE8 7F E4 FB 78 */ mr r4, r31
/* 80074B8C 00071AEC 38 7E 02 88 */ addi r3, r30, 0x288
/* 80074B90 00071AF0 48 2E E8 BD */ bl __ct__6CColorFR12CInputStream
/* 80074B94 00071AF4 7F E3 FB 78 */ mr r3, r31
/* 80074B98 00071AF8 48 2C A0 91 */ bl ReadFloat__12CInputStreamFv
/* 80074B9C 00071AFC D0 3E 02 8C */ stfs f1, 0x28c(r30)
/* 80074BA0 00071B00 7F E4 FB 78 */ mr r4, r31
/* 80074BA4 00071B04 38 7E 02 90 */ addi r3, r30, 0x290
/* 80074BA8 00071B08 48 2E E8 A5 */ bl __ct__6CColorFR12CInputStream
/* 80074BAC 00071B0C 7F E4 FB 78 */ mr r4, r31
/* 80074BB0 00071B10 38 7E 02 94 */ addi r3, r30, 0x294
/* 80074BB4 00071B14 48 2E E8 99 */ bl __ct__6CColorFR12CInputStream
/* 80074BB8 00071B18 7F E4 FB 78 */ mr r4, r31
/* 80074BBC 00071B1C 38 7E 02 98 */ addi r3, r30, 0x298
/* 80074BC0 00071B20 48 2E E8 8D */ bl __ct__6CColorFR12CInputStream
/* 80074BC4 00071B24 7F E4 FB 78 */ mr r4, r31
/* 80074BC8 00071B28 38 7E 02 9C */ addi r3, r30, 0x29c
/* 80074BCC 00071B2C 48 2E E8 81 */ bl __ct__6CColorFR12CInputStream
/* 80074BD0 00071B30 7F E4 FB 78 */ mr r4, r31
/* 80074BD4 00071B34 38 7E 02 A0 */ addi r3, r30, 0x2a0
/* 80074BD8 00071B38 48 2E E8 75 */ bl __ct__6CColorFR12CInputStream
/* 80074BDC 00071B3C 7F E4 FB 78 */ mr r4, r31
/* 80074BE0 00071B40 38 7E 02 A4 */ addi r3, r30, 0x2a4
/* 80074BE4 00071B44 48 2E E8 69 */ bl __ct__6CColorFR12CInputStream
/* 80074BE8 00071B48 7F E4 FB 78 */ mr r4, r31
/* 80074BEC 00071B4C 38 7E 02 A8 */ addi r3, r30, 0x2a8
/* 80074BF0 00071B50 48 2E E8 5D */ bl __ct__6CColorFR12CInputStream
/* 80074BF4 00071B54 7F E4 FB 78 */ mr r4, r31
/* 80074BF8 00071B58 38 7E 02 AC */ addi r3, r30, 0x2ac
/* 80074BFC 00071B5C 48 2E E8 51 */ bl __ct__6CColorFR12CInputStream
/* 80074C00 00071B60 7F E4 FB 78 */ mr r4, r31
/* 80074C04 00071B64 38 7E 02 B0 */ addi r3, r30, 0x2b0
/* 80074C08 00071B68 48 2E E8 45 */ bl __ct__6CColorFR12CInputStream
/* 80074C0C 00071B6C 7F E4 FB 78 */ mr r4, r31
/* 80074C10 00071B70 38 7E 02 B4 */ addi r3, r30, 0x2b4
/* 80074C14 00071B74 48 2E E8 39 */ bl __ct__6CColorFR12CInputStream
/* 80074C18 00071B78 7F E3 FB 78 */ mr r3, r31
/* 80074C1C 00071B7C 48 2C A0 0D */ bl ReadFloat__12CInputStreamFv
/* 80074C20 00071B80 D0 3E 02 B8 */ stfs f1, 0x2b8(r30)
/* 80074C24 00071B84 7F E3 FB 78 */ mr r3, r31
/* 80074C28 00071B88 48 2C A0 01 */ bl ReadFloat__12CInputStreamFv
/* 80074C2C 00071B8C D0 3E 02 BC */ stfs f1, 0x2bc(r30)
/* 80074C30 00071B90 7F E3 FB 78 */ mr r3, r31
/* 80074C34 00071B94 48 2C 9F F5 */ bl ReadFloat__12CInputStreamFv
/* 80074C38 00071B98 D0 3E 02 C0 */ stfs f1, 0x2c0(r30)
/* 80074C3C 00071B9C 7F E3 FB 78 */ mr r3, r31
/* 80074C40 00071BA0 48 2C A0 45 */ bl ReadLong__12CInputStreamFv
/* 80074C44 00071BA4 3B A0 00 00 */ li r29, 0
/* 80074C48 00071BA8 90 7E 02 C4 */ stw r3, 0x2c4(r30)
/* 80074C4C 00071BAC 7F BC EB 78 */ mr r28, r29
/* 80074C50 00071BB0 48 00 00 24 */ b lbl_80074C74
lbl_80074C54:
/* 80074C54 00071BB4 7F E3 FB 78 */ mr r3, r31
/* 80074C58 00071BB8 48 2C 9F D1 */ bl ReadFloat__12CInputStreamFv
/* 80074C5C 00071BBC 7C 7E E2 14 */ add r3, r30, r28
/* 80074C60 00071BC0 34 63 02 C8 */ addic. r3, r3, 0x2c8
/* 80074C64 00071BC4 41 82 00 08 */ beq lbl_80074C6C
/* 80074C68 00071BC8 D0 23 00 00 */ stfs f1, 0(r3)
lbl_80074C6C:
/* 80074C6C 00071BCC 3B 9C 00 04 */ addi r28, r28, 4
/* 80074C70 00071BD0 3B BD 00 01 */ addi r29, r29, 1
lbl_80074C74:
/* 80074C74 00071BD4 80 1E 02 C4 */ lwz r0, 0x2c4(r30)
/* 80074C78 00071BD8 7C 1D 00 00 */ cmpw r29, r0
/* 80074C7C 00071BDC 41 80 FF D8 */ blt lbl_80074C54
/* 80074C80 00071BE0 7F E4 FB 78 */ mr r4, r31
/* 80074C84 00071BE4 38 7E 02 D0 */ addi r3, r30, 0x2d0
/* 80074C88 00071BE8 38 A1 00 1C */ addi r5, r1, 0x1c
/* 80074C8C 00071BEC 48 2C 96 6D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074C90 00071BF0 7F E4 FB 78 */ mr r4, r31
/* 80074C94 00071BF4 38 7E 02 E0 */ addi r3, r30, 0x2e0
/* 80074C98 00071BF8 38 A1 00 18 */ addi r5, r1, 0x18
/* 80074C9C 00071BFC 48 2C 96 5D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074CA0 00071C00 7F E4 FB 78 */ mr r4, r31
/* 80074CA4 00071C04 38 7E 02 F0 */ addi r3, r30, 0x2f0
/* 80074CA8 00071C08 38 A1 00 14 */ addi r5, r1, 0x14
/* 80074CAC 00071C0C 48 2C 96 4D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074CB0 00071C10 7F E4 FB 78 */ mr r4, r31
/* 80074CB4 00071C14 38 7E 03 00 */ addi r3, r30, 0x300
/* 80074CB8 00071C18 48 2E E7 95 */ bl __ct__6CColorFR12CInputStream
/* 80074CBC 00071C1C 7F E4 FB 78 */ mr r4, r31
/* 80074CC0 00071C20 38 7E 03 04 */ addi r3, r30, 0x304
/* 80074CC4 00071C24 48 2E E7 89 */ bl __ct__6CColorFR12CInputStream
/* 80074CC8 00071C28 7F E3 FB 78 */ mr r3, r31
/* 80074CCC 00071C2C 48 2C 9F 5D */ bl ReadFloat__12CInputStreamFv
/* 80074CD0 00071C30 D0 3E 03 08 */ stfs f1, 0x308(r30)
/* 80074CD4 00071C34 7F E3 FB 78 */ mr r3, r31
/* 80074CD8 00071C38 48 2C 9F 51 */ bl ReadFloat__12CInputStreamFv
/* 80074CDC 00071C3C D0 3E 03 0C */ stfs f1, 0x30c(r30)
/* 80074CE0 00071C40 7F E3 FB 78 */ mr r3, r31
/* 80074CE4 00071C44 48 2C 9F 45 */ bl ReadFloat__12CInputStreamFv
/* 80074CE8 00071C48 D0 3E 03 10 */ stfs f1, 0x310(r30)
/* 80074CEC 00071C4C 7F E4 FB 78 */ mr r4, r31
/* 80074CF0 00071C50 38 7E 03 14 */ addi r3, r30, 0x314
/* 80074CF4 00071C54 38 A1 00 10 */ addi r5, r1, 0x10
/* 80074CF8 00071C58 48 2C 96 01 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074CFC 00071C5C 7F E4 FB 78 */ mr r4, r31
/* 80074D00 00071C60 38 7E 03 24 */ addi r3, r30, 0x324
/* 80074D04 00071C64 38 A1 00 0C */ addi r5, r1, 0xc
/* 80074D08 00071C68 48 2C 95 F1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074D0C 00071C6C 7F E4 FB 78 */ mr r4, r31
/* 80074D10 00071C70 38 7E 03 34 */ addi r3, r30, 0x334
/* 80074D14 00071C74 38 A1 00 08 */ addi r5, r1, 8
/* 80074D18 00071C78 48 2C 95 E1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80074D1C 00071C7C 7F E4 FB 78 */ mr r4, r31
/* 80074D20 00071C80 38 7E 03 44 */ addi r3, r30, 0x344
/* 80074D24 00071C84 48 2E E7 29 */ bl __ct__6CColorFR12CInputStream
/* 80074D28 00071C88 7F E4 FB 78 */ mr r4, r31
/* 80074D2C 00071C8C 38 7E 03 48 */ addi r3, r30, 0x348
/* 80074D30 00071C90 48 2E E7 1D */ bl __ct__6CColorFR12CInputStream
/* 80074D34 00071C94 7F E4 FB 78 */ mr r4, r31
/* 80074D38 00071C98 38 7E 03 4C */ addi r3, r30, 0x34c
/* 80074D3C 00071C9C 48 2E E7 11 */ bl __ct__6CColorFR12CInputStream
/* 80074D40 00071CA0 7F E4 FB 78 */ mr r4, r31
/* 80074D44 00071CA4 38 7E 03 50 */ addi r3, r30, 0x350
/* 80074D48 00071CA8 48 2E E7 05 */ bl __ct__6CColorFR12CInputStream
/* 80074D4C 00071CAC 7F E4 FB 78 */ mr r4, r31
/* 80074D50 00071CB0 38 7E 03 54 */ addi r3, r30, 0x354
/* 80074D54 00071CB4 48 2E E6 F9 */ bl __ct__6CColorFR12CInputStream
/* 80074D58 00071CB8 7F E4 FB 78 */ mr r4, r31
/* 80074D5C 00071CBC 38 7E 03 58 */ addi r3, r30, 0x358
/* 80074D60 00071CC0 48 2E E6 ED */ bl __ct__6CColorFR12CInputStream
/* 80074D64 00071CC4 7F E3 FB 78 */ mr r3, r31
/* 80074D68 00071CC8 48 2C 9E C1 */ bl ReadFloat__12CInputStreamFv
/* 80074D6C 00071CCC D0 3E 03 5C */ stfs f1, 0x35c(r30)
/* 80074D70 00071CD0 7F E3 FB 78 */ mr r3, r31
/* 80074D74 00071CD4 48 2C 9E B5 */ bl ReadFloat__12CInputStreamFv
/* 80074D78 00071CD8 D0 3E 03 60 */ stfs f1, 0x360(r30)
/* 80074D7C 00071CDC 7F E3 FB 78 */ mr r3, r31
/* 80074D80 00071CE0 48 2C 9E A9 */ bl ReadFloat__12CInputStreamFv
/* 80074D84 00071CE4 D0 3E 03 64 */ stfs f1, 0x364(r30)
/* 80074D88 00071CE8 7F C3 F3 78 */ mr r3, r30
/* 80074D8C 00071CEC C0 02 88 A0 */ lfs f0, lbl_805AA5C0@sda21(r2)
/* 80074D90 00071CF0 C0 3E 00 84 */ lfs f1, 0x84(r30)
/* 80074D94 00071CF4 EC 01 00 32 */ fmuls f0, f1, f0
/* 80074D98 00071CF8 D0 1E 00 84 */ stfs f0, 0x84(r30)
/* 80074D9C 00071CFC 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 80074DA0 00071D00 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 80074DA4 00071D04 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 80074DA8 00071D08 83 81 00 60 */ lwz r28, 0x60(r1)
/* 80074DAC 00071D0C 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80074DB0 00071D10 7C 08 03 A6 */ mtlr r0
/* 80074DB4 00071D14 38 21 00 70 */ addi r1, r1, 0x70
/* 80074DB8 00071D18 4E 80 00 20 */ blr
.global __dt__9CTweakGuiFv
__dt__9CTweakGuiFv:
/* 80074DBC 00071D1C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80074DC0 00071D20 7C 08 02 A6 */ mflr r0
/* 80074DC4 00071D24 90 01 00 14 */ stw r0, 0x14(r1)
/* 80074DC8 00071D28 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80074DCC 00071D2C 7C 9F 23 78 */ mr r31, r4
/* 80074DD0 00071D30 93 C1 00 08 */ stw r30, 8(r1)
/* 80074DD4 00071D34 7C 7E 1B 79 */ or. r30, r3, r3
/* 80074DD8 00071D38 41 82 01 40 */ beq lbl_80074F18
/* 80074DDC 00071D3C 3C 60 80 3E */ lis r3, lbl_803DA440@ha
/* 80074DE0 00071D40 34 1E 03 34 */ addic. r0, r30, 0x334
/* 80074DE4 00071D44 38 03 A4 40 */ addi r0, r3, lbl_803DA440@l
/* 80074DE8 00071D48 90 1E 00 00 */ stw r0, 0(r30)
/* 80074DEC 00071D4C 41 82 00 0C */ beq lbl_80074DF8
/* 80074DF0 00071D50 38 7E 03 34 */ addi r3, r30, 0x334
/* 80074DF4 00071D54 48 2C 8C ED */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074DF8:
/* 80074DF8 00071D58 34 1E 03 24 */ addic. r0, r30, 0x324
/* 80074DFC 00071D5C 41 82 00 0C */ beq lbl_80074E08
/* 80074E00 00071D60 38 7E 03 24 */ addi r3, r30, 0x324
/* 80074E04 00071D64 48 2C 8C DD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074E08:
/* 80074E08 00071D68 34 1E 03 14 */ addic. r0, r30, 0x314
/* 80074E0C 00071D6C 41 82 00 0C */ beq lbl_80074E18
/* 80074E10 00071D70 38 7E 03 14 */ addi r3, r30, 0x314
/* 80074E14 00071D74 48 2C 8C CD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074E18:
/* 80074E18 00071D78 34 1E 02 F0 */ addic. r0, r30, 0x2f0
/* 80074E1C 00071D7C 41 82 00 0C */ beq lbl_80074E28
/* 80074E20 00071D80 38 7E 02 F0 */ addi r3, r30, 0x2f0
/* 80074E24 00071D84 48 2C 8C BD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074E28:
/* 80074E28 00071D88 34 1E 02 E0 */ addic. r0, r30, 0x2e0
/* 80074E2C 00071D8C 41 82 00 0C */ beq lbl_80074E38
/* 80074E30 00071D90 38 7E 02 E0 */ addi r3, r30, 0x2e0
/* 80074E34 00071D94 48 2C 8C AD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074E38:
/* 80074E38 00071D98 34 1E 02 D0 */ addic. r0, r30, 0x2d0
/* 80074E3C 00071D9C 41 82 00 0C */ beq lbl_80074E48
/* 80074E40 00071DA0 38 7E 02 D0 */ addi r3, r30, 0x2d0
/* 80074E44 00071DA4 48 2C 8C 9D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074E48:
/* 80074E48 00071DA8 34 1E 02 C4 */ addic. r0, r30, 0x2c4
/* 80074E4C 00071DAC 41 82 00 58 */ beq lbl_80074EA4
/* 80074E50 00071DB0 80 BE 02 C4 */ lwz r5, 0x2c4(r30)
/* 80074E54 00071DB4 38 60 00 00 */ li r3, 0
/* 80074E58 00071DB8 2C 05 00 00 */ cmpwi r5, 0
/* 80074E5C 00071DBC 40 81 00 40 */ ble lbl_80074E9C
/* 80074E60 00071DC0 2C 05 00 08 */ cmpwi r5, 8
/* 80074E64 00071DC4 38 85 FF F8 */ addi r4, r5, -8
/* 80074E68 00071DC8 40 81 00 20 */ ble lbl_80074E88
/* 80074E6C 00071DCC 38 04 00 07 */ addi r0, r4, 7
/* 80074E70 00071DD0 54 00 E8 FE */ srwi r0, r0, 3
/* 80074E74 00071DD4 7C 09 03 A6 */ mtctr r0
/* 80074E78 00071DD8 2C 04 00 00 */ cmpwi r4, 0
/* 80074E7C 00071DDC 40 81 00 0C */ ble lbl_80074E88
lbl_80074E80:
/* 80074E80 00071DE0 38 63 00 08 */ addi r3, r3, 8
/* 80074E84 00071DE4 42 00 FF FC */ bdnz lbl_80074E80
lbl_80074E88:
/* 80074E88 00071DE8 7C 03 28 50 */ subf r0, r3, r5
/* 80074E8C 00071DEC 7C 09 03 A6 */ mtctr r0
/* 80074E90 00071DF0 7C 03 28 00 */ cmpw r3, r5
/* 80074E94 00071DF4 40 80 00 08 */ bge lbl_80074E9C
lbl_80074E98:
/* 80074E98 00071DF8 42 00 00 00 */ bdnz lbl_80074E98
lbl_80074E9C:
/* 80074E9C 00071DFC 38 00 00 00 */ li r0, 0
/* 80074EA0 00071E00 90 1E 02 C4 */ stw r0, 0x2c4(r30)
lbl_80074EA4:
/* 80074EA4 00071E04 34 1E 01 90 */ addic. r0, r30, 0x190
/* 80074EA8 00071E08 41 82 00 0C */ beq lbl_80074EB4
/* 80074EAC 00071E0C 38 7E 01 90 */ addi r3, r30, 0x190
/* 80074EB0 00071E10 48 2C 8C 31 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074EB4:
/* 80074EB4 00071E14 34 1E 01 80 */ addic. r0, r30, 0x180
/* 80074EB8 00071E18 41 82 00 0C */ beq lbl_80074EC4
/* 80074EBC 00071E1C 38 7E 01 80 */ addi r3, r30, 0x180
/* 80074EC0 00071E20 48 2C 8C 21 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074EC4:
/* 80074EC4 00071E24 34 1E 01 70 */ addic. r0, r30, 0x170
/* 80074EC8 00071E28 41 82 00 0C */ beq lbl_80074ED4
/* 80074ECC 00071E2C 38 7E 01 70 */ addi r3, r30, 0x170
/* 80074ED0 00071E30 48 2C 8C 11 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074ED4:
/* 80074ED4 00071E34 34 1E 01 60 */ addic. r0, r30, 0x160
/* 80074ED8 00071E38 41 82 00 0C */ beq lbl_80074EE4
/* 80074EDC 00071E3C 38 7E 01 60 */ addi r3, r30, 0x160
/* 80074EE0 00071E40 48 2C 8C 01 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074EE4:
/* 80074EE4 00071E44 34 1E 01 50 */ addic. r0, r30, 0x150
/* 80074EE8 00071E48 41 82 00 0C */ beq lbl_80074EF4
/* 80074EEC 00071E4C 38 7E 01 50 */ addi r3, r30, 0x150
/* 80074EF0 00071E50 48 2C 8B F1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80074EF4:
/* 80074EF4 00071E54 28 1E 00 00 */ cmplwi r30, 0
/* 80074EF8 00071E58 41 82 00 10 */ beq lbl_80074F08
/* 80074EFC 00071E5C 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 80074F00 00071E60 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 80074F04 00071E64 90 1E 00 00 */ stw r0, 0(r30)
lbl_80074F08:
/* 80074F08 00071E68 7F E0 07 35 */ extsh. r0, r31
/* 80074F0C 00071E6C 40 81 00 0C */ ble lbl_80074F18
/* 80074F10 00071E70 7F C3 F3 78 */ mr r3, r30
/* 80074F14 00071E74 48 00 00 21 */ bl "__dl__22TOneStatic<9CTweakGui>FPv"
lbl_80074F18:
/* 80074F18 00071E78 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80074F1C 00071E7C 7F C3 F3 78 */ mr r3, r30
/* 80074F20 00071E80 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80074F24 00071E84 83 C1 00 08 */ lwz r30, 8(r1)
/* 80074F28 00071E88 7C 08 03 A6 */ mtlr r0
/* 80074F2C 00071E8C 38 21 00 10 */ addi r1, r1, 0x10
/* 80074F30 00071E90 4E 80 00 20 */ blr
.global "__dl__22TOneStatic<9CTweakGui>FPv"
"__dl__22TOneStatic<9CTweakGui>FPv":
/* 80074F34 00071E94 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80074F38 00071E98 7C 08 02 A6 */ mflr r0
/* 80074F3C 00071E9C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80074F40 00071EA0 4B FC 20 C5 */ bl "ReferenceCount__22TOneStatic<9CTweakGui>Fv"
/* 80074F44 00071EA4 80 83 00 00 */ lwz r4, 0(r3)
/* 80074F48 00071EA8 38 04 FF FF */ addi r0, r4, -1
/* 80074F4C 00071EAC 90 03 00 00 */ stw r0, 0(r3)
/* 80074F50 00071EB0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80074F54 00071EB4 7C 08 03 A6 */ mtlr r0
/* 80074F58 00071EB8 38 21 00 10 */ addi r1, r1, 0x10
/* 80074F5C 00071EBC 4E 80 00 20 */ blr

View File

@ -0,0 +1,98 @@
.include "macros.inc"
.section .text, "ax"
.global __ct__14CTweakParticleFR12CInputStream
__ct__14CTweakParticleFR12CInputStream:
/* 80059F20 00056E80 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80059F24 00056E84 7C 08 02 A6 */ mflr r0
/* 80059F28 00056E88 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha
/* 80059F2C 00056E8C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80059F30 00056E90 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l
/* 80059F34 00056E94 38 A1 00 10 */ addi r5, r1, 0x10
/* 80059F38 00056E98 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80059F3C 00056E9C 7C 9F 23 78 */ mr r31, r4
/* 80059F40 00056EA0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80059F44 00056EA4 7C 7E 1B 78 */ mr r30, r3
/* 80059F48 00056EA8 3C 60 80 3E */ lis r3, lbl_803DA088@ha
/* 80059F4C 00056EAC 90 1E 00 00 */ stw r0, 0(r30)
/* 80059F50 00056EB0 38 03 A0 88 */ addi r0, r3, lbl_803DA088@l
/* 80059F54 00056EB4 38 7E 00 04 */ addi r3, r30, 4
/* 80059F58 00056EB8 90 1E 00 00 */ stw r0, 0(r30)
/* 80059F5C 00056EBC 48 2E 43 9D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80059F60 00056EC0 7F E4 FB 78 */ mr r4, r31
/* 80059F64 00056EC4 38 7E 00 14 */ addi r3, r30, 0x14
/* 80059F68 00056EC8 38 A1 00 0C */ addi r5, r1, 0xc
/* 80059F6C 00056ECC 48 2E 43 8D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80059F70 00056ED0 7F E4 FB 78 */ mr r4, r31
/* 80059F74 00056ED4 38 7E 00 24 */ addi r3, r30, 0x24
/* 80059F78 00056ED8 38 A1 00 08 */ addi r5, r1, 8
/* 80059F7C 00056EDC 48 2E 43 7D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80059F80 00056EE0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80059F84 00056EE4 7F C3 F3 78 */ mr r3, r30
/* 80059F88 00056EE8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80059F8C 00056EEC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80059F90 00056EF0 7C 08 03 A6 */ mtlr r0
/* 80059F94 00056EF4 38 21 00 20 */ addi r1, r1, 0x20
/* 80059F98 00056EF8 4E 80 00 20 */ blr
.global __dt__14CTweakParticleFv
__dt__14CTweakParticleFv:
/* 80059F9C 00056EFC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80059FA0 00056F00 7C 08 02 A6 */ mflr r0
/* 80059FA4 00056F04 90 01 00 14 */ stw r0, 0x14(r1)
/* 80059FA8 00056F08 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80059FAC 00056F0C 7C 9F 23 78 */ mr r31, r4
/* 80059FB0 00056F10 93 C1 00 08 */ stw r30, 8(r1)
/* 80059FB4 00056F14 7C 7E 1B 79 */ or. r30, r3, r3
/* 80059FB8 00056F18 41 82 00 64 */ beq lbl_8005A01C
/* 80059FBC 00056F1C 3C 60 80 3E */ lis r3, lbl_803DA088@ha
/* 80059FC0 00056F20 34 1E 00 24 */ addic. r0, r30, 0x24
/* 80059FC4 00056F24 38 03 A0 88 */ addi r0, r3, lbl_803DA088@l
/* 80059FC8 00056F28 90 1E 00 00 */ stw r0, 0(r30)
/* 80059FCC 00056F2C 41 82 00 0C */ beq lbl_80059FD8
/* 80059FD0 00056F30 38 7E 00 24 */ addi r3, r30, 0x24
/* 80059FD4 00056F34 48 2E 3B 0D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80059FD8:
/* 80059FD8 00056F38 34 1E 00 14 */ addic. r0, r30, 0x14
/* 80059FDC 00056F3C 41 82 00 0C */ beq lbl_80059FE8
/* 80059FE0 00056F40 38 7E 00 14 */ addi r3, r30, 0x14
/* 80059FE4 00056F44 48 2E 3A FD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80059FE8:
/* 80059FE8 00056F48 34 1E 00 04 */ addic. r0, r30, 4
/* 80059FEC 00056F4C 41 82 00 0C */ beq lbl_80059FF8
/* 80059FF0 00056F50 38 7E 00 04 */ addi r3, r30, 4
/* 80059FF4 00056F54 48 2E 3A ED */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80059FF8:
/* 80059FF8 00056F58 28 1E 00 00 */ cmplwi r30, 0
/* 80059FFC 00056F5C 41 82 00 10 */ beq lbl_8005A00C
/* 8005A000 00056F60 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 8005A004 00056F64 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 8005A008 00056F68 90 1E 00 00 */ stw r0, 0(r30)
lbl_8005A00C:
/* 8005A00C 00056F6C 7F E0 07 35 */ extsh. r0, r31
/* 8005A010 00056F70 40 81 00 0C */ ble lbl_8005A01C
/* 8005A014 00056F74 7F C3 F3 78 */ mr r3, r30
/* 8005A018 00056F78 48 00 00 21 */ bl "__dl__28TOneStatic<14CTweakParticle>FPv"
lbl_8005A01C:
/* 8005A01C 00056F7C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A020 00056F80 7F C3 F3 78 */ mr r3, r30
/* 8005A024 00056F84 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005A028 00056F88 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005A02C 00056F8C 7C 08 03 A6 */ mtlr r0
/* 8005A030 00056F90 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A034 00056F94 4E 80 00 20 */ blr
.global "__dl__28TOneStatic<14CTweakParticle>FPv"
"__dl__28TOneStatic<14CTweakParticle>FPv":
/* 8005A038 00056F98 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A03C 00056F9C 7C 08 02 A6 */ mflr r0
/* 8005A040 00056FA0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A044 00056FA4 4B FD D0 81 */ bl "ReferenceCount__28TOneStatic<14CTweakParticle>Fv"
/* 8005A048 00056FA8 80 83 00 00 */ lwz r4, 0(r3)
/* 8005A04C 00056FAC 38 04 FF FF */ addi r0, r4, -1
/* 8005A050 00056FB0 90 03 00 00 */ stw r0, 0(r3)
/* 8005A054 00056FB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A058 00056FB8 7C 08 03 A6 */ mtlr r0
/* 8005A05C 00056FBC 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A060 00056FC0 4E 80 00 20 */ blr

View File

@ -0,0 +1,220 @@
.include "macros.inc"
.section .text, "ax"
.global GetMapping__19CTweakPlayerControlCFQ213ControlMapper9ECommands
GetMapping__19CTweakPlayerControlCFQ213ControlMapper9ECommands:
/* 8006F954 0006C8B4 2C 04 00 00 */ cmpwi r4, 0
/* 8006F958 0006C8B8 41 80 00 0C */ blt lbl_8006F964
/* 8006F95C 0006C8BC 2C 04 00 42 */ cmpwi r4, 0x42
/* 8006F960 0006C8C0 40 81 00 0C */ ble lbl_8006F96C
lbl_8006F964:
/* 8006F964 0006C8C4 80 63 00 08 */ lwz r3, 8(r3)
/* 8006F968 0006C8C8 4E 80 00 20 */ blr
lbl_8006F96C:
/* 8006F96C 0006C8CC 54 80 10 3A */ slwi r0, r4, 2
/* 8006F970 0006C8D0 7C 63 02 14 */ add r3, r3, r0
/* 8006F974 0006C8D4 80 63 00 08 */ lwz r3, 8(r3)
/* 8006F978 0006C8D8 4E 80 00 20 */ blr
.global __ct__19CTweakPlayerControlFR12CInputStream
__ct__19CTweakPlayerControlFR12CInputStream:
/* 8006F97C 0006C8DC 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 8006F980 0006C8E0 7C 08 02 A6 */ mflr r0
/* 8006F984 0006C8E4 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha
/* 8006F988 0006C8E8 90 01 01 24 */ stw r0, 0x124(r1)
/* 8006F98C 0006C8EC 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l
/* 8006F990 0006C8F0 93 E1 01 1C */ stw r31, 0x11c(r1)
/* 8006F994 0006C8F4 7C 7F 1B 78 */ mr r31, r3
/* 8006F998 0006C8F8 3C 60 80 3E */ lis r3, lbl_803DA350@ha
/* 8006F99C 0006C8FC 90 1F 00 00 */ stw r0, 0(r31)
/* 8006F9A0 0006C900 38 03 A3 50 */ addi r0, r3, lbl_803DA350@l
/* 8006F9A4 0006C904 38 61 00 08 */ addi r3, r1, 8
/* 8006F9A8 0006C908 90 1F 00 00 */ stw r0, 0(r31)
/* 8006F9AC 0006C90C 48 00 00 AD */ bl LoadMappings__FR12CInputStream
/* 8006F9B0 0006C910 80 01 00 08 */ lwz r0, 8(r1)
/* 8006F9B4 0006C914 38 9F 00 08 */ addi r4, r31, 8
/* 8006F9B8 0006C918 38 61 00 0C */ addi r3, r1, 0xc
/* 8006F9BC 0006C91C 90 1F 00 04 */ stw r0, 4(r31)
/* 8006F9C0 0006C920 80 1F 00 04 */ lwz r0, 4(r31)
/* 8006F9C4 0006C924 7C 09 03 A6 */ mtctr r0
/* 8006F9C8 0006C928 2C 00 00 00 */ cmpwi r0, 0
/* 8006F9CC 0006C92C 40 81 00 20 */ ble lbl_8006F9EC
lbl_8006F9D0:
/* 8006F9D0 0006C930 28 04 00 00 */ cmplwi r4, 0
/* 8006F9D4 0006C934 41 82 00 0C */ beq lbl_8006F9E0
/* 8006F9D8 0006C938 80 03 00 00 */ lwz r0, 0(r3)
/* 8006F9DC 0006C93C 90 04 00 00 */ stw r0, 0(r4)
lbl_8006F9E0:
/* 8006F9E0 0006C940 38 84 00 04 */ addi r4, r4, 4
/* 8006F9E4 0006C944 38 63 00 04 */ addi r3, r3, 4
/* 8006F9E8 0006C948 42 00 FF E8 */ bdnz lbl_8006F9D0
lbl_8006F9EC:
/* 8006F9EC 0006C94C 80 A1 00 08 */ lwz r5, 8(r1)
/* 8006F9F0 0006C950 38 60 00 00 */ li r3, 0
/* 8006F9F4 0006C954 2C 05 00 00 */ cmpwi r5, 0
/* 8006F9F8 0006C958 40 81 00 40 */ ble lbl_8006FA38
/* 8006F9FC 0006C95C 2C 05 00 08 */ cmpwi r5, 8
/* 8006FA00 0006C960 38 85 FF F8 */ addi r4, r5, -8
/* 8006FA04 0006C964 40 81 00 20 */ ble lbl_8006FA24
/* 8006FA08 0006C968 38 04 00 07 */ addi r0, r4, 7
/* 8006FA0C 0006C96C 54 00 E8 FE */ srwi r0, r0, 3
/* 8006FA10 0006C970 7C 09 03 A6 */ mtctr r0
/* 8006FA14 0006C974 2C 04 00 00 */ cmpwi r4, 0
/* 8006FA18 0006C978 40 81 00 0C */ ble lbl_8006FA24
lbl_8006FA1C:
/* 8006FA1C 0006C97C 38 63 00 08 */ addi r3, r3, 8
/* 8006FA20 0006C980 42 00 FF FC */ bdnz lbl_8006FA1C
lbl_8006FA24:
/* 8006FA24 0006C984 7C 03 28 50 */ subf r0, r3, r5
/* 8006FA28 0006C988 7C 09 03 A6 */ mtctr r0
/* 8006FA2C 0006C98C 7C 03 28 00 */ cmpw r3, r5
/* 8006FA30 0006C990 40 80 00 08 */ bge lbl_8006FA38
lbl_8006FA34:
/* 8006FA34 0006C994 42 00 00 00 */ bdnz lbl_8006FA34
lbl_8006FA38:
/* 8006FA38 0006C998 38 00 00 00 */ li r0, 0
/* 8006FA3C 0006C99C 7F E3 FB 78 */ mr r3, r31
/* 8006FA40 0006C9A0 90 01 00 08 */ stw r0, 8(r1)
/* 8006FA44 0006C9A4 83 E1 01 1C */ lwz r31, 0x11c(r1)
/* 8006FA48 0006C9A8 80 01 01 24 */ lwz r0, 0x124(r1)
/* 8006FA4C 0006C9AC 7C 08 03 A6 */ mtlr r0
/* 8006FA50 0006C9B0 38 21 01 20 */ addi r1, r1, 0x120
/* 8006FA54 0006C9B4 4E 80 00 20 */ blr
.global LoadMappings__FR12CInputStream
LoadMappings__FR12CInputStream:
/* 8006FA58 0006C9B8 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 8006FA5C 0006C9BC 7C 08 02 A6 */ mflr r0
/* 8006FA60 0006C9C0 90 01 01 34 */ stw r0, 0x134(r1)
/* 8006FA64 0006C9C4 38 00 00 00 */ li r0, 0
/* 8006FA68 0006C9C8 93 E1 01 2C */ stw r31, 0x12c(r1)
/* 8006FA6C 0006C9CC 3B E1 00 0C */ addi r31, r1, 0xc
/* 8006FA70 0006C9D0 93 C1 01 28 */ stw r30, 0x128(r1)
/* 8006FA74 0006C9D4 3B C0 00 00 */ li r30, 0
/* 8006FA78 0006C9D8 93 A1 01 24 */ stw r29, 0x124(r1)
/* 8006FA7C 0006C9DC 7C 9D 23 78 */ mr r29, r4
/* 8006FA80 0006C9E0 93 81 01 20 */ stw r28, 0x120(r1)
/* 8006FA84 0006C9E4 7C 7C 1B 78 */ mr r28, r3
/* 8006FA88 0006C9E8 90 01 00 08 */ stw r0, 8(r1)
lbl_8006FA8C:
/* 8006FA8C 0006C9EC 7F A3 EB 78 */ mr r3, r29
/* 8006FA90 0006C9F0 48 2C F1 F5 */ bl ReadLong__12CInputStreamFv
/* 8006FA94 0006C9F4 80 01 00 08 */ lwz r0, 8(r1)
/* 8006FA98 0006C9F8 54 00 10 3A */ slwi r0, r0, 2
/* 8006FA9C 0006C9FC 7C 9F 02 15 */ add. r4, r31, r0
/* 8006FAA0 0006CA00 41 82 00 08 */ beq lbl_8006FAA8
/* 8006FAA4 0006CA04 90 64 00 00 */ stw r3, 0(r4)
lbl_8006FAA8:
/* 8006FAA8 0006CA08 80 61 00 08 */ lwz r3, 8(r1)
/* 8006FAAC 0006CA0C 3B DE 00 01 */ addi r30, r30, 1
/* 8006FAB0 0006CA10 2C 1E 00 43 */ cmpwi r30, 0x43
/* 8006FAB4 0006CA14 38 03 00 01 */ addi r0, r3, 1
/* 8006FAB8 0006CA18 90 01 00 08 */ stw r0, 8(r1)
/* 8006FABC 0006CA1C 41 80 FF D0 */ blt lbl_8006FA8C
/* 8006FAC0 0006CA20 90 1C 00 00 */ stw r0, 0(r28)
/* 8006FAC4 0006CA24 38 7C 00 04 */ addi r3, r28, 4
/* 8006FAC8 0006CA28 80 1C 00 00 */ lwz r0, 0(r28)
/* 8006FACC 0006CA2C 7C 09 03 A6 */ mtctr r0
/* 8006FAD0 0006CA30 2C 00 00 00 */ cmpwi r0, 0
/* 8006FAD4 0006CA34 40 81 00 20 */ ble lbl_8006FAF4
lbl_8006FAD8:
/* 8006FAD8 0006CA38 28 03 00 00 */ cmplwi r3, 0
/* 8006FADC 0006CA3C 41 82 00 0C */ beq lbl_8006FAE8
/* 8006FAE0 0006CA40 80 1F 00 00 */ lwz r0, 0(r31)
/* 8006FAE4 0006CA44 90 03 00 00 */ stw r0, 0(r3)
lbl_8006FAE8:
/* 8006FAE8 0006CA48 38 63 00 04 */ addi r3, r3, 4
/* 8006FAEC 0006CA4C 3B FF 00 04 */ addi r31, r31, 4
/* 8006FAF0 0006CA50 42 00 FF E8 */ bdnz lbl_8006FAD8
lbl_8006FAF4:
/* 8006FAF4 0006CA54 80 A1 00 08 */ lwz r5, 8(r1)
/* 8006FAF8 0006CA58 38 60 00 00 */ li r3, 0
/* 8006FAFC 0006CA5C 2C 05 00 00 */ cmpwi r5, 0
/* 8006FB00 0006CA60 40 81 00 40 */ ble lbl_8006FB40
/* 8006FB04 0006CA64 2C 05 00 08 */ cmpwi r5, 8
/* 8006FB08 0006CA68 38 85 FF F8 */ addi r4, r5, -8
/* 8006FB0C 0006CA6C 40 81 00 20 */ ble lbl_8006FB2C
/* 8006FB10 0006CA70 38 04 00 07 */ addi r0, r4, 7
/* 8006FB14 0006CA74 54 00 E8 FE */ srwi r0, r0, 3
/* 8006FB18 0006CA78 7C 09 03 A6 */ mtctr r0
/* 8006FB1C 0006CA7C 2C 04 00 00 */ cmpwi r4, 0
/* 8006FB20 0006CA80 40 81 00 0C */ ble lbl_8006FB2C
lbl_8006FB24:
/* 8006FB24 0006CA84 38 63 00 08 */ addi r3, r3, 8
/* 8006FB28 0006CA88 42 00 FF FC */ bdnz lbl_8006FB24
lbl_8006FB2C:
/* 8006FB2C 0006CA8C 7C 03 28 50 */ subf r0, r3, r5
/* 8006FB30 0006CA90 7C 09 03 A6 */ mtctr r0
/* 8006FB34 0006CA94 7C 03 28 00 */ cmpw r3, r5
/* 8006FB38 0006CA98 40 80 00 08 */ bge lbl_8006FB40
lbl_8006FB3C:
/* 8006FB3C 0006CA9C 42 00 00 00 */ bdnz lbl_8006FB3C
lbl_8006FB40:
/* 8006FB40 0006CAA0 38 00 00 00 */ li r0, 0
/* 8006FB44 0006CAA4 83 E1 01 2C */ lwz r31, 0x12c(r1)
/* 8006FB48 0006CAA8 90 01 00 08 */ stw r0, 8(r1)
/* 8006FB4C 0006CAAC 80 01 01 34 */ lwz r0, 0x134(r1)
/* 8006FB50 0006CAB0 83 C1 01 28 */ lwz r30, 0x128(r1)
/* 8006FB54 0006CAB4 83 A1 01 24 */ lwz r29, 0x124(r1)
/* 8006FB58 0006CAB8 83 81 01 20 */ lwz r28, 0x120(r1)
/* 8006FB5C 0006CABC 7C 08 03 A6 */ mtlr r0
/* 8006FB60 0006CAC0 38 21 01 30 */ addi r1, r1, 0x130
/* 8006FB64 0006CAC4 4E 80 00 20 */ blr
.global __dt__19CTweakPlayerControlFv
__dt__19CTweakPlayerControlFv:
/* 8006FB68 0006CAC8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8006FB6C 0006CACC 7C 08 02 A6 */ mflr r0
/* 8006FB70 0006CAD0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8006FB74 0006CAD4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8006FB78 0006CAD8 7C 7F 1B 79 */ or. r31, r3, r3
/* 8006FB7C 0006CADC 41 82 00 90 */ beq lbl_8006FC0C
/* 8006FB80 0006CAE0 3C 60 80 3E */ lis r3, lbl_803DA350@ha
/* 8006FB84 0006CAE4 34 1F 00 04 */ addic. r0, r31, 4
/* 8006FB88 0006CAE8 38 03 A3 50 */ addi r0, r3, lbl_803DA350@l
/* 8006FB8C 0006CAEC 90 1F 00 00 */ stw r0, 0(r31)
/* 8006FB90 0006CAF0 41 82 00 58 */ beq lbl_8006FBE8
/* 8006FB94 0006CAF4 80 DF 00 04 */ lwz r6, 4(r31)
/* 8006FB98 0006CAF8 38 60 00 00 */ li r3, 0
/* 8006FB9C 0006CAFC 2C 06 00 00 */ cmpwi r6, 0
/* 8006FBA0 0006CB00 40 81 00 40 */ ble lbl_8006FBE0
/* 8006FBA4 0006CB04 2C 06 00 08 */ cmpwi r6, 8
/* 8006FBA8 0006CB08 38 A6 FF F8 */ addi r5, r6, -8
/* 8006FBAC 0006CB0C 40 81 00 20 */ ble lbl_8006FBCC
/* 8006FBB0 0006CB10 38 05 00 07 */ addi r0, r5, 7
/* 8006FBB4 0006CB14 54 00 E8 FE */ srwi r0, r0, 3
/* 8006FBB8 0006CB18 7C 09 03 A6 */ mtctr r0
/* 8006FBBC 0006CB1C 2C 05 00 00 */ cmpwi r5, 0
/* 8006FBC0 0006CB20 40 81 00 0C */ ble lbl_8006FBCC
lbl_8006FBC4:
/* 8006FBC4 0006CB24 38 63 00 08 */ addi r3, r3, 8
/* 8006FBC8 0006CB28 42 00 FF FC */ bdnz lbl_8006FBC4
lbl_8006FBCC:
/* 8006FBCC 0006CB2C 7C 03 30 50 */ subf r0, r3, r6
/* 8006FBD0 0006CB30 7C 09 03 A6 */ mtctr r0
/* 8006FBD4 0006CB34 7C 03 30 00 */ cmpw r3, r6
/* 8006FBD8 0006CB38 40 80 00 08 */ bge lbl_8006FBE0
lbl_8006FBDC:
/* 8006FBDC 0006CB3C 42 00 00 00 */ bdnz lbl_8006FBDC
lbl_8006FBE0:
/* 8006FBE0 0006CB40 38 00 00 00 */ li r0, 0
/* 8006FBE4 0006CB44 90 1F 00 04 */ stw r0, 4(r31)
lbl_8006FBE8:
/* 8006FBE8 0006CB48 28 1F 00 00 */ cmplwi r31, 0
/* 8006FBEC 0006CB4C 41 82 00 10 */ beq lbl_8006FBFC
/* 8006FBF0 0006CB50 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 8006FBF4 0006CB54 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 8006FBF8 0006CB58 90 1F 00 00 */ stw r0, 0(r31)
lbl_8006FBFC:
/* 8006FBFC 0006CB5C 7C 80 07 35 */ extsh. r0, r4
/* 8006FC00 0006CB60 40 81 00 0C */ ble lbl_8006FC0C
/* 8006FC04 0006CB64 7F E3 FB 78 */ mr r3, r31
/* 8006FC08 0006CB68 48 2A 5D 29 */ bl Free__7CMemoryFPCv
lbl_8006FC0C:
/* 8006FC0C 0006CB6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8006FC10 0006CB70 7F E3 FB 78 */ mr r3, r31
/* 8006FC14 0006CB74 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8006FC18 0006CB78 7C 08 03 A6 */ mtlr r0
/* 8006FC1C 0006CB7C 38 21 00 10 */ addi r1, r1, 0x10
/* 8006FC20 0006CB80 4E 80 00 20 */ blr

View File

@ -0,0 +1,975 @@
.include "macros.inc"
.section .text, "ax"
.global GetRichochetDamage__15CTweakPlayerGunCF11EWeaponType
GetRichochetDamage__15CTweakPlayerGunCF11EWeaponType:
/* 8006FC24 0006CB84 28 04 00 08 */ cmplwi r4, 8
/* 8006FC28 0006CB88 41 81 00 4C */ bgt lbl_8006FC74
/* 8006FC2C 0006CB8C 3C A0 80 3E */ lis r5, lbl_803DA360@ha
/* 8006FC30 0006CB90 54 80 10 3A */ slwi r0, r4, 2
/* 8006FC34 0006CB94 38 85 A3 60 */ addi r4, r5, lbl_803DA360@l
/* 8006FC38 0006CB98 7C 04 00 2E */ lwzx r0, r4, r0
/* 8006FC3C 0006CB9C 7C 09 03 A6 */ mtctr r0
/* 8006FC40 0006CBA0 4E 80 04 20 */ bctr
/* 8006FC44 0006CBA4 C0 23 02 84 */ lfs f1, 0x284(r3)
/* 8006FC48 0006CBA8 4E 80 00 20 */ blr
/* 8006FC4C 0006CBAC C0 23 02 88 */ lfs f1, 0x288(r3)
/* 8006FC50 0006CBB0 4E 80 00 20 */ blr
/* 8006FC54 0006CBB4 C0 23 02 8C */ lfs f1, 0x28c(r3)
/* 8006FC58 0006CBB8 4E 80 00 20 */ blr
/* 8006FC5C 0006CBBC C0 23 02 90 */ lfs f1, 0x290(r3)
/* 8006FC60 0006CBC0 4E 80 00 20 */ blr
/* 8006FC64 0006CBC4 C0 23 02 94 */ lfs f1, 0x294(r3)
/* 8006FC68 0006CBC8 4E 80 00 20 */ blr
/* 8006FC6C 0006CBCC C0 23 02 98 */ lfs f1, 0x298(r3)
/* 8006FC70 0006CBD0 4E 80 00 20 */ blr
lbl_8006FC74:
/* 8006FC74 0006CBD4 C0 22 88 18 */ lfs f1, lbl_805AA538@sda21(r2)
/* 8006FC78 0006CBD8 4E 80 00 20 */ blr
.global GetBeamInfo__15CTweakPlayerGunCFi
GetBeamInfo__15CTweakPlayerGunCFi:
/* 8006FC7C 0006CBDC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8006FC80 0006CBE0 3C A0 80 3D */ lis r5, lbl_803CD2A4@ha
/* 8006FC84 0006CBE4 39 25 D2 A4 */ addi r9, r5, lbl_803CD2A4@l
/* 8006FC88 0006CBE8 2C 04 00 00 */ cmpwi r4, 0
/* 8006FC8C 0006CBEC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8006FC90 0006CBF0 39 03 00 A8 */ addi r8, r3, 0xa8
/* 8006FC94 0006CBF4 38 E3 00 E4 */ addi r7, r3, 0xe4
/* 8006FC98 0006CBF8 38 C3 01 20 */ addi r6, r3, 0x120
/* 8006FC9C 0006CBFC 83 E9 00 00 */ lwz r31, 0(r9)
/* 8006FCA0 0006CC00 38 A3 01 5C */ addi r5, r3, 0x15c
/* 8006FCA4 0006CC04 81 89 00 04 */ lwz r12, 4(r9)
/* 8006FCA8 0006CC08 38 03 01 98 */ addi r0, r3, 0x198
/* 8006FCAC 0006CC0C 81 69 00 08 */ lwz r11, 8(r9)
/* 8006FCB0 0006CC10 81 49 00 0C */ lwz r10, 0xc(r9)
/* 8006FCB4 0006CC14 81 29 00 10 */ lwz r9, 0x10(r9)
/* 8006FCB8 0006CC18 93 E1 00 08 */ stw r31, 8(r1)
/* 8006FCBC 0006CC1C 91 81 00 0C */ stw r12, 0xc(r1)
/* 8006FCC0 0006CC20 91 61 00 10 */ stw r11, 0x10(r1)
/* 8006FCC4 0006CC24 91 41 00 14 */ stw r10, 0x14(r1)
/* 8006FCC8 0006CC28 91 21 00 18 */ stw r9, 0x18(r1)
/* 8006FCCC 0006CC2C 91 01 00 08 */ stw r8, 8(r1)
/* 8006FCD0 0006CC30 90 E1 00 0C */ stw r7, 0xc(r1)
/* 8006FCD4 0006CC34 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8006FCD8 0006CC38 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8006FCDC 0006CC3C 90 01 00 18 */ stw r0, 0x18(r1)
/* 8006FCE0 0006CC40 41 80 00 0C */ blt lbl_8006FCEC
/* 8006FCE4 0006CC44 2C 04 00 05 */ cmpwi r4, 5
/* 8006FCE8 0006CC48 40 81 00 0C */ ble lbl_8006FCF4
lbl_8006FCEC:
/* 8006FCEC 0006CC4C 38 63 00 A8 */ addi r3, r3, 0xa8
/* 8006FCF0 0006CC50 48 00 00 10 */ b lbl_8006FD00
lbl_8006FCF4:
/* 8006FCF4 0006CC54 54 80 10 3A */ slwi r0, r4, 2
/* 8006FCF8 0006CC58 38 61 00 08 */ addi r3, r1, 8
/* 8006FCFC 0006CC5C 7C 63 00 2E */ lwzx r3, r3, r0
lbl_8006FD00:
/* 8006FD00 0006CC60 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8006FD04 0006CC64 38 21 00 30 */ addi r1, r1, 0x30
/* 8006FD08 0006CC68 4E 80 00 20 */ blr
.global sub_8006fd0c
sub_8006fd0c:
/* 8006FD0C 0006CC6C 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 8006FD10 0006CC70 7C 08 02 A6 */ mflr r0
/* 8006FD14 0006CC74 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 8006FD18 0006CC78 DB E1 00 E0 */ stfd f31, 0xe0(r1)
/* 8006FD1C 0006CC7C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0
/* 8006FD20 0006CC80 DB C1 00 D0 */ stfd f30, 0xd0(r1)
/* 8006FD24 0006CC84 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0
/* 8006FD28 0006CC88 DB A1 00 C0 */ stfd f29, 0xc0(r1)
/* 8006FD2C 0006CC8C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0
/* 8006FD30 0006CC90 BF 61 00 AC */ stmw r27, 0xac(r1)
/* 8006FD34 0006CC94 3C A0 80 3D */ lis r5, lbl_803CD290@ha
/* 8006FD38 0006CC98 39 03 00 A8 */ addi r8, r3, 0xa8
/* 8006FD3C 0006CC9C 3B 65 D2 90 */ addi r27, r5, lbl_803CD290@l
/* 8006FD40 0006CCA0 38 E3 00 E4 */ addi r7, r3, 0xe4
/* 8006FD44 0006CCA4 81 9B 00 00 */ lwz r12, 0(r27)
/* 8006FD48 0006CCA8 38 C3 01 20 */ addi r6, r3, 0x120
/* 8006FD4C 0006CCAC 81 7B 00 04 */ lwz r11, 4(r27)
/* 8006FD50 0006CCB0 38 A3 01 5C */ addi r5, r3, 0x15c
/* 8006FD54 0006CCB4 81 5B 00 08 */ lwz r10, 8(r27)
/* 8006FD58 0006CCB8 38 03 01 98 */ addi r0, r3, 0x198
/* 8006FD5C 0006CCBC 81 3B 00 0C */ lwz r9, 0xc(r27)
/* 8006FD60 0006CCC0 7C 9C 23 78 */ mr r28, r4
/* 8006FD64 0006CCC4 80 7B 00 10 */ lwz r3, 0x10(r27)
/* 8006FD68 0006CCC8 3B E1 00 88 */ addi r31, r1, 0x88
/* 8006FD6C 0006CCCC 91 81 00 88 */ stw r12, 0x88(r1)
/* 8006FD70 0006CCD0 3B C0 00 00 */ li r30, 0
/* 8006FD74 0006CCD4 91 61 00 8C */ stw r11, 0x8c(r1)
/* 8006FD78 0006CCD8 91 41 00 90 */ stw r10, 0x90(r1)
/* 8006FD7C 0006CCDC 91 21 00 94 */ stw r9, 0x94(r1)
/* 8006FD80 0006CCE0 90 61 00 98 */ stw r3, 0x98(r1)
/* 8006FD84 0006CCE4 91 01 00 88 */ stw r8, 0x88(r1)
/* 8006FD88 0006CCE8 90 E1 00 8C */ stw r7, 0x8c(r1)
/* 8006FD8C 0006CCEC 90 C1 00 90 */ stw r6, 0x90(r1)
/* 8006FD90 0006CCF0 90 A1 00 94 */ stw r5, 0x94(r1)
/* 8006FD94 0006CCF4 90 01 00 98 */ stw r0, 0x98(r1)
lbl_8006FD98:
/* 8006FD98 0006CCF8 83 BF 00 00 */ lwz r29, 0(r31)
/* 8006FD9C 0006CCFC 7F 83 E3 78 */ mr r3, r28
/* 8006FDA0 0006CD00 48 2C EE 89 */ bl ReadFloat__12CInputStreamFv
/* 8006FDA4 0006CD04 D0 3D 00 00 */ stfs f1, 0(r29)
/* 8006FDA8 0006CD08 7F 83 E3 78 */ mr r3, r28
/* 8006FDAC 0006CD0C 48 2C EE D9 */ bl ReadLong__12CInputStreamFv
/* 8006FDB0 0006CD10 7C 7B 1B 78 */ mr r27, r3
/* 8006FDB4 0006CD14 7F 83 E3 78 */ mr r3, r28
/* 8006FDB8 0006CD18 48 2C EE 71 */ bl ReadFloat__12CInputStreamFv
/* 8006FDBC 0006CD1C FF E0 08 90 */ fmr f31, f1
/* 8006FDC0 0006CD20 7F 83 E3 78 */ mr r3, r28
/* 8006FDC4 0006CD24 48 2C EE 65 */ bl ReadFloat__12CInputStreamFv
/* 8006FDC8 0006CD28 FF C0 08 90 */ fmr f30, f1
/* 8006FDCC 0006CD2C 7F 83 E3 78 */ mr r3, r28
/* 8006FDD0 0006CD30 48 2C EE 59 */ bl ReadFloat__12CInputStreamFv
/* 8006FDD4 0006CD34 FF A0 08 90 */ fmr f29, f1
/* 8006FDD8 0006CD38 7F 83 E3 78 */ mr r3, r28
/* 8006FDDC 0006CD3C 48 2C EE 4D */ bl ReadFloat__12CInputStreamFv
/* 8006FDE0 0006CD40 88 E1 00 14 */ lbz r7, 0x14(r1)
/* 8006FDE4 0006CD44 38 00 00 00 */ li r0, 0
/* 8006FDE8 0006CD48 50 07 3E 30 */ rlwimi r7, r0, 7, 0x18, 0x18
/* 8006FDEC 0006CD4C FC 80 F8 18 */ frsp f4, f31
/* 8006FDF0 0006CD50 54 E6 06 3E */ clrlwi r6, r7, 0x18
/* 8006FDF4 0006CD54 88 81 00 4C */ lbz r4, 0x4c(r1)
/* 8006FDF8 0006CD58 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19
/* 8006FDFC 0006CD5C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18
/* 8006FE00 0006CD60 54 C5 06 3E */ clrlwi r5, r6, 0x18
/* 8006FE04 0006CD64 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a
/* 8006FE08 0006CD68 FC 60 F0 18 */ frsp f3, f30
/* 8006FE0C 0006CD6C 98 A1 00 70 */ stb r5, 0x70(r1)
/* 8006FE10 0006CD70 FC 40 E8 18 */ frsp f2, f29
/* 8006FE14 0006CD74 FC 00 08 18 */ frsp f0, f1
/* 8006FE18 0006CD78 7F 83 E3 78 */ mr r3, r28
/* 8006FE1C 0006CD7C 93 7D 00 04 */ stw r27, 4(r29)
/* 8006FE20 0006CD80 80 01 00 70 */ lwz r0, 0x70(r1)
/* 8006FE24 0006CD84 98 E1 00 14 */ stb r7, 0x14(r1)
/* 8006FE28 0006CD88 90 1D 00 08 */ stw r0, 8(r29)
/* 8006FE2C 0006CD8C D0 9D 00 0C */ stfs f4, 0xc(r29)
/* 8006FE30 0006CD90 D0 7D 00 10 */ stfs f3, 0x10(r29)
/* 8006FE34 0006CD94 D0 5D 00 14 */ stfs f2, 0x14(r29)
/* 8006FE38 0006CD98 98 C1 00 14 */ stb r6, 0x14(r1)
/* 8006FE3C 0006CD9C D0 81 00 40 */ stfs f4, 0x40(r1)
/* 8006FE40 0006CDA0 D0 1D 00 18 */ stfs f0, 0x18(r29)
/* 8006FE44 0006CDA4 93 61 00 10 */ stw r27, 0x10(r1)
/* 8006FE48 0006CDA8 98 A1 00 14 */ stb r5, 0x14(r1)
/* 8006FE4C 0006CDAC 93 61 00 34 */ stw r27, 0x34(r1)
/* 8006FE50 0006CDB0 98 A1 00 38 */ stb r5, 0x38(r1)
/* 8006FE54 0006CDB4 D3 E1 00 3C */ stfs f31, 0x3c(r1)
/* 8006FE58 0006CDB8 D3 A1 00 44 */ stfs f29, 0x44(r1)
/* 8006FE5C 0006CDBC D0 21 00 48 */ stfs f1, 0x48(r1)
/* 8006FE60 0006CDC0 98 81 00 4C */ stb r4, 0x4c(r1)
/* 8006FE64 0006CDC4 D3 C1 00 40 */ stfs f30, 0x40(r1)
/* 8006FE68 0006CDC8 93 61 00 6C */ stw r27, 0x6c(r1)
/* 8006FE6C 0006CDCC D0 81 00 74 */ stfs f4, 0x74(r1)
/* 8006FE70 0006CDD0 D0 61 00 78 */ stfs f3, 0x78(r1)
/* 8006FE74 0006CDD4 D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 8006FE78 0006CDD8 D0 01 00 80 */ stfs f0, 0x80(r1)
/* 8006FE7C 0006CDDC 98 81 00 84 */ stb r4, 0x84(r1)
/* 8006FE80 0006CDE0 98 9D 00 1C */ stb r4, 0x1c(r29)
/* 8006FE84 0006CDE4 48 2C EE 01 */ bl ReadLong__12CInputStreamFv
/* 8006FE88 0006CDE8 7C 7B 1B 78 */ mr r27, r3
/* 8006FE8C 0006CDEC 7F 83 E3 78 */ mr r3, r28
/* 8006FE90 0006CDF0 48 2C ED 99 */ bl ReadFloat__12CInputStreamFv
/* 8006FE94 0006CDF4 FF A0 08 90 */ fmr f29, f1
/* 8006FE98 0006CDF8 7F 83 E3 78 */ mr r3, r28
/* 8006FE9C 0006CDFC 48 2C ED 8D */ bl ReadFloat__12CInputStreamFv
/* 8006FEA0 0006CE00 FF C0 08 90 */ fmr f30, f1
/* 8006FEA4 0006CE04 7F 83 E3 78 */ mr r3, r28
/* 8006FEA8 0006CE08 48 2C ED 81 */ bl ReadFloat__12CInputStreamFv
/* 8006FEAC 0006CE0C FF E0 08 90 */ fmr f31, f1
/* 8006FEB0 0006CE10 7F 83 E3 78 */ mr r3, r28
/* 8006FEB4 0006CE14 48 2C ED 75 */ bl ReadFloat__12CInputStreamFv
/* 8006FEB8 0006CE18 88 C1 00 0C */ lbz r6, 0xc(r1)
/* 8006FEBC 0006CE1C 38 00 00 01 */ li r0, 1
/* 8006FEC0 0006CE20 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18
/* 8006FEC4 0006CE24 FC 80 E8 18 */ frsp f4, f29
/* 8006FEC8 0006CE28 38 00 00 00 */ li r0, 0
/* 8006FECC 0006CE2C 88 61 00 30 */ lbz r3, 0x30(r1)
/* 8006FED0 0006CE30 54 C5 06 3E */ clrlwi r5, r6, 0x18
/* 8006FED4 0006CE34 FC 60 F0 18 */ frsp f3, f30
/* 8006FED8 0006CE38 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19
/* 8006FEDC 0006CE3C 54 A4 06 3E */ clrlwi r4, r5, 0x18
/* 8006FEE0 0006CE40 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18
/* 8006FEE4 0006CE44 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a
/* 8006FEE8 0006CE48 93 7D 00 20 */ stw r27, 0x20(r29)
/* 8006FEEC 0006CE4C FC 40 F8 18 */ frsp f2, f31
/* 8006FEF0 0006CE50 3B DE 00 01 */ addi r30, r30, 1
/* 8006FEF4 0006CE54 98 81 00 54 */ stb r4, 0x54(r1)
/* 8006FEF8 0006CE58 FC 00 08 18 */ frsp f0, f1
/* 8006FEFC 0006CE5C 2C 1E 00 05 */ cmpwi r30, 5
/* 8006FF00 0006CE60 3B FF 00 04 */ addi r31, r31, 4
/* 8006FF04 0006CE64 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8006FF08 0006CE68 98 C1 00 0C */ stb r6, 0xc(r1)
/* 8006FF0C 0006CE6C 90 1D 00 24 */ stw r0, 0x24(r29)
/* 8006FF10 0006CE70 D0 9D 00 28 */ stfs f4, 0x28(r29)
/* 8006FF14 0006CE74 D0 7D 00 2C */ stfs f3, 0x2c(r29)
/* 8006FF18 0006CE78 D0 5D 00 30 */ stfs f2, 0x30(r29)
/* 8006FF1C 0006CE7C 98 A1 00 0C */ stb r5, 0xc(r1)
/* 8006FF20 0006CE80 D0 81 00 24 */ stfs f4, 0x24(r1)
/* 8006FF24 0006CE84 D0 1D 00 34 */ stfs f0, 0x34(r29)
/* 8006FF28 0006CE88 93 61 00 08 */ stw r27, 8(r1)
/* 8006FF2C 0006CE8C 98 81 00 0C */ stb r4, 0xc(r1)
/* 8006FF30 0006CE90 93 61 00 18 */ stw r27, 0x18(r1)
/* 8006FF34 0006CE94 98 81 00 1C */ stb r4, 0x1c(r1)
/* 8006FF38 0006CE98 D3 A1 00 20 */ stfs f29, 0x20(r1)
/* 8006FF3C 0006CE9C D3 E1 00 28 */ stfs f31, 0x28(r1)
/* 8006FF40 0006CEA0 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 8006FF44 0006CEA4 98 61 00 30 */ stb r3, 0x30(r1)
/* 8006FF48 0006CEA8 D3 C1 00 24 */ stfs f30, 0x24(r1)
/* 8006FF4C 0006CEAC 93 61 00 50 */ stw r27, 0x50(r1)
/* 8006FF50 0006CEB0 D0 81 00 58 */ stfs f4, 0x58(r1)
/* 8006FF54 0006CEB4 D0 61 00 5C */ stfs f3, 0x5c(r1)
/* 8006FF58 0006CEB8 D0 41 00 60 */ stfs f2, 0x60(r1)
/* 8006FF5C 0006CEBC D0 01 00 64 */ stfs f0, 0x64(r1)
/* 8006FF60 0006CEC0 98 61 00 68 */ stb r3, 0x68(r1)
/* 8006FF64 0006CEC4 98 7D 00 38 */ stb r3, 0x38(r29)
/* 8006FF68 0006CEC8 41 80 FE 30 */ blt lbl_8006FD98
/* 8006FF6C 0006CECC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0
/* 8006FF70 0006CED0 CB E1 00 E0 */ lfd f31, 0xe0(r1)
/* 8006FF74 0006CED4 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0
/* 8006FF78 0006CED8 CB C1 00 D0 */ lfd f30, 0xd0(r1)
/* 8006FF7C 0006CEDC E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0
/* 8006FF80 0006CEE0 CB A1 00 C0 */ lfd f29, 0xc0(r1)
/* 8006FF84 0006CEE4 BB 61 00 AC */ lmw r27, 0xac(r1)
/* 8006FF88 0006CEE8 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 8006FF8C 0006CEEC 7C 08 03 A6 */ mtlr r0
/* 8006FF90 0006CEF0 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8006FF94 0006CEF4 4E 80 00 20 */ blr
.global __ct__15CTweakPlayerGunFR12CInputStream
__ct__15CTweakPlayerGunFR12CInputStream:
/* 8006FF98 0006CEF8 94 21 FE 30 */ stwu r1, -0x1d0(r1)
/* 8006FF9C 0006CEFC 7C 08 02 A6 */ mflr r0
/* 8006FFA0 0006CF00 90 01 01 D4 */ stw r0, 0x1d4(r1)
/* 8006FFA4 0006CF04 DB E1 01 C0 */ stfd f31, 0x1c0(r1)
/* 8006FFA8 0006CF08 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0
/* 8006FFAC 0006CF0C DB C1 01 B0 */ stfd f30, 0x1b0(r1)
/* 8006FFB0 0006CF10 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0
/* 8006FFB4 0006CF14 DB A1 01 A0 */ stfd f29, 0x1a0(r1)
/* 8006FFB8 0006CF18 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0
/* 8006FFBC 0006CF1C BF 41 01 88 */ stmw r26, 0x188(r1)
/* 8006FFC0 0006CF20 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha
/* 8006FFC4 0006CF24 3C A0 80 3E */ lis r5, lbl_803DA384@ha
/* 8006FFC8 0006CF28 7C 7E 1B 78 */ mr r30, r3
/* 8006FFCC 0006CF2C 7C 9F 23 78 */ mr r31, r4
/* 8006FFD0 0006CF30 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l
/* 8006FFD4 0006CF34 38 05 A3 84 */ addi r0, r5, lbl_803DA384@l
/* 8006FFD8 0006CF38 90 7E 00 00 */ stw r3, 0(r30)
/* 8006FFDC 0006CF3C 7F E3 FB 78 */ mr r3, r31
/* 8006FFE0 0006CF40 90 1E 00 00 */ stw r0, 0(r30)
/* 8006FFE4 0006CF44 48 2C EC 45 */ bl ReadFloat__12CInputStreamFv
/* 8006FFE8 0006CF48 D0 3E 00 04 */ stfs f1, 4(r30)
/* 8006FFEC 0006CF4C 7F E3 FB 78 */ mr r3, r31
/* 8006FFF0 0006CF50 48 2C EC 39 */ bl ReadFloat__12CInputStreamFv
/* 8006FFF4 0006CF54 D0 3E 00 08 */ stfs f1, 8(r30)
/* 8006FFF8 0006CF58 7F E3 FB 78 */ mr r3, r31
/* 8006FFFC 0006CF5C 48 2C EC 2D */ bl ReadFloat__12CInputStreamFv
/* 80070000 0006CF60 D0 3E 00 0C */ stfs f1, 0xc(r30)
/* 80070004 0006CF64 7F E3 FB 78 */ mr r3, r31
/* 80070008 0006CF68 48 2C EC 21 */ bl ReadFloat__12CInputStreamFv
/* 8007000C 0006CF6C D0 3E 00 10 */ stfs f1, 0x10(r30)
/* 80070010 0006CF70 7F E3 FB 78 */ mr r3, r31
/* 80070014 0006CF74 48 2C EC 15 */ bl ReadFloat__12CInputStreamFv
/* 80070018 0006CF78 D0 3E 00 14 */ stfs f1, 0x14(r30)
/* 8007001C 0006CF7C 7F E3 FB 78 */ mr r3, r31
/* 80070020 0006CF80 48 2C EC 09 */ bl ReadFloat__12CInputStreamFv
/* 80070024 0006CF84 D0 3E 00 18 */ stfs f1, 0x18(r30)
/* 80070028 0006CF88 7F E3 FB 78 */ mr r3, r31
/* 8007002C 0006CF8C 48 2C EB FD */ bl ReadFloat__12CInputStreamFv
/* 80070030 0006CF90 D0 3E 00 1C */ stfs f1, 0x1c(r30)
/* 80070034 0006CF94 7F E3 FB 78 */ mr r3, r31
/* 80070038 0006CF98 48 2C EB F1 */ bl ReadFloat__12CInputStreamFv
/* 8007003C 0006CF9C D0 3E 00 20 */ stfs f1, 0x20(r30)
/* 80070040 0006CFA0 7F E3 FB 78 */ mr r3, r31
/* 80070044 0006CFA4 48 2C EB E5 */ bl ReadFloat__12CInputStreamFv
/* 80070048 0006CFA8 D0 3E 00 24 */ stfs f1, 0x24(r30)
/* 8007004C 0006CFAC 7F E3 FB 78 */ mr r3, r31
/* 80070050 0006CFB0 48 2C EB D9 */ bl ReadFloat__12CInputStreamFv
/* 80070054 0006CFB4 D0 3E 00 28 */ stfs f1, 0x28(r30)
/* 80070058 0006CFB8 7F E3 FB 78 */ mr r3, r31
/* 8007005C 0006CFBC 48 2C EB CD */ bl ReadFloat__12CInputStreamFv
/* 80070060 0006CFC0 D0 3E 00 2C */ stfs f1, 0x2c(r30)
/* 80070064 0006CFC4 7F E3 FB 78 */ mr r3, r31
/* 80070068 0006CFC8 48 2C EB C1 */ bl ReadFloat__12CInputStreamFv
/* 8007006C 0006CFCC D0 3E 00 30 */ stfs f1, 0x30(r30)
/* 80070070 0006CFD0 7F E3 FB 78 */ mr r3, r31
/* 80070074 0006CFD4 48 2C EB B5 */ bl ReadFloat__12CInputStreamFv
/* 80070078 0006CFD8 D0 3E 00 34 */ stfs f1, 0x34(r30)
/* 8007007C 0006CFDC 7F E3 FB 78 */ mr r3, r31
/* 80070080 0006CFE0 48 2C EB A9 */ bl ReadFloat__12CInputStreamFv
/* 80070084 0006CFE4 D0 3E 00 38 */ stfs f1, 0x38(r30)
/* 80070088 0006CFE8 7F E3 FB 78 */ mr r3, r31
/* 8007008C 0006CFEC 48 2C EB 9D */ bl ReadFloat__12CInputStreamFv
/* 80070090 0006CFF0 D0 3E 00 3C */ stfs f1, 0x3c(r30)
/* 80070094 0006CFF4 7F E3 FB 78 */ mr r3, r31
/* 80070098 0006CFF8 48 2C EB 91 */ bl ReadFloat__12CInputStreamFv
/* 8007009C 0006CFFC D0 3E 00 40 */ stfs f1, 0x40(r30)
/* 800700A0 0006D000 7F E3 FB 78 */ mr r3, r31
/* 800700A4 0006D004 48 2C EB 85 */ bl ReadFloat__12CInputStreamFv
/* 800700A8 0006D008 C0 02 88 1C */ lfs f0, lbl_805AA53C@sda21(r2)
/* 800700AC 0006D00C 7F E3 FB 78 */ mr r3, r31
/* 800700B0 0006D010 EC 00 00 72 */ fmuls f0, f0, f1
/* 800700B4 0006D014 D0 1E 00 44 */ stfs f0, 0x44(r30)
/* 800700B8 0006D018 48 2C EB 71 */ bl ReadFloat__12CInputStreamFv
/* 800700BC 0006D01C D0 3E 00 48 */ stfs f1, 0x48(r30)
/* 800700C0 0006D020 7F E4 FB 78 */ mr r4, r31
/* 800700C4 0006D024 38 7E 00 4C */ addi r3, r30, 0x4c
/* 800700C8 0006D028 48 2A 4A C5 */ bl __ct__9CVector3fFR12CInputStream
/* 800700CC 0006D02C 7F E4 FB 78 */ mr r4, r31
/* 800700D0 0006D030 38 7E 00 58 */ addi r3, r30, 0x58
/* 800700D4 0006D034 48 2A 4A B9 */ bl __ct__9CVector3fFR12CInputStream
/* 800700D8 0006D038 7F E4 FB 78 */ mr r4, r31
/* 800700DC 0006D03C 38 7E 00 64 */ addi r3, r30, 0x64
/* 800700E0 0006D040 48 2A 4A AD */ bl __ct__9CVector3fFR12CInputStream
/* 800700E4 0006D044 7F E3 FB 78 */ mr r3, r31
/* 800700E8 0006D048 48 2C EB 9D */ bl ReadLong__12CInputStreamFv
/* 800700EC 0006D04C 7C 7B 1B 78 */ mr r27, r3
/* 800700F0 0006D050 7F E3 FB 78 */ mr r3, r31
/* 800700F4 0006D054 48 2C EB 35 */ bl ReadFloat__12CInputStreamFv
/* 800700F8 0006D058 FF E0 08 90 */ fmr f31, f1
/* 800700FC 0006D05C 7F E3 FB 78 */ mr r3, r31
/* 80070100 0006D060 48 2C EB 29 */ bl ReadFloat__12CInputStreamFv
/* 80070104 0006D064 FF C0 08 90 */ fmr f30, f1
/* 80070108 0006D068 7F E3 FB 78 */ mr r3, r31
/* 8007010C 0006D06C 48 2C EB 1D */ bl ReadFloat__12CInputStreamFv
/* 80070110 0006D070 FF A0 08 90 */ fmr f29, f1
/* 80070114 0006D074 7F E3 FB 78 */ mr r3, r31
/* 80070118 0006D078 48 2C EB 11 */ bl ReadFloat__12CInputStreamFv
/* 8007011C 0006D07C 88 C1 00 7C */ lbz r6, 0x7c(r1)
/* 80070120 0006D080 38 E0 00 00 */ li r7, 0
/* 80070124 0006D084 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18
/* 80070128 0006D088 FC 80 F8 18 */ frsp f4, f31
/* 8007012C 0006D08C 54 C5 06 3E */ clrlwi r5, r6, 0x18
/* 80070130 0006D090 93 7E 00 70 */ stw r27, 0x70(r30)
/* 80070134 0006D094 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19
/* 80070138 0006D098 FC 60 F0 18 */ frsp f3, f30
/* 8007013C 0006D09C 54 A4 06 3E */ clrlwi r4, r5, 0x18
/* 80070140 0006D0A0 50 E4 2E B4 */ rlwimi r4, r7, 5, 0x1a, 0x1a
/* 80070144 0006D0A4 FC 40 E8 18 */ frsp f2, f29
/* 80070148 0006D0A8 98 9E 00 74 */ stb r4, 0x74(r30)
/* 8007014C 0006D0AC FC 00 08 18 */ frsp f0, f1
/* 80070150 0006D0B0 88 01 00 EC */ lbz r0, 0xec(r1)
/* 80070154 0006D0B4 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18
/* 80070158 0006D0B8 D0 9E 00 78 */ stfs f4, 0x78(r30)
/* 8007015C 0006D0BC 7F E3 FB 78 */ mr r3, r31
/* 80070160 0006D0C0 D0 7E 00 7C */ stfs f3, 0x7c(r30)
/* 80070164 0006D0C4 98 C1 00 7C */ stb r6, 0x7c(r1)
/* 80070168 0006D0C8 D0 5E 00 80 */ stfs f2, 0x80(r30)
/* 8007016C 0006D0CC 98 A1 00 7C */ stb r5, 0x7c(r1)
/* 80070170 0006D0D0 D0 81 00 E0 */ stfs f4, 0xe0(r1)
/* 80070174 0006D0D4 D0 1E 00 84 */ stfs f0, 0x84(r30)
/* 80070178 0006D0D8 93 61 00 78 */ stw r27, 0x78(r1)
/* 8007017C 0006D0DC 98 81 00 7C */ stb r4, 0x7c(r1)
/* 80070180 0006D0E0 93 61 00 D4 */ stw r27, 0xd4(r1)
/* 80070184 0006D0E4 98 81 00 D8 */ stb r4, 0xd8(r1)
/* 80070188 0006D0E8 D3 E1 00 DC */ stfs f31, 0xdc(r1)
/* 8007018C 0006D0EC D3 A1 00 E4 */ stfs f29, 0xe4(r1)
/* 80070190 0006D0F0 D0 21 00 E8 */ stfs f1, 0xe8(r1)
/* 80070194 0006D0F4 98 01 00 EC */ stb r0, 0xec(r1)
/* 80070198 0006D0F8 D3 C1 00 E0 */ stfs f30, 0xe0(r1)
/* 8007019C 0006D0FC 93 61 01 60 */ stw r27, 0x160(r1)
/* 800701A0 0006D100 98 81 01 64 */ stb r4, 0x164(r1)
/* 800701A4 0006D104 D0 81 01 68 */ stfs f4, 0x168(r1)
/* 800701A8 0006D108 D0 61 01 6C */ stfs f3, 0x16c(r1)
/* 800701AC 0006D10C D0 41 01 70 */ stfs f2, 0x170(r1)
/* 800701B0 0006D110 D0 01 01 74 */ stfs f0, 0x174(r1)
/* 800701B4 0006D114 98 01 01 78 */ stb r0, 0x178(r1)
/* 800701B8 0006D118 98 1E 00 88 */ stb r0, 0x88(r30)
/* 800701BC 0006D11C 48 2C EA C9 */ bl ReadLong__12CInputStreamFv
/* 800701C0 0006D120 7C 7B 1B 78 */ mr r27, r3
/* 800701C4 0006D124 7F E3 FB 78 */ mr r3, r31
/* 800701C8 0006D128 48 2C EA 61 */ bl ReadFloat__12CInputStreamFv
/* 800701CC 0006D12C FF E0 08 90 */ fmr f31, f1
/* 800701D0 0006D130 7F E3 FB 78 */ mr r3, r31
/* 800701D4 0006D134 48 2C EA 55 */ bl ReadFloat__12CInputStreamFv
/* 800701D8 0006D138 FF C0 08 90 */ fmr f30, f1
/* 800701DC 0006D13C 7F E3 FB 78 */ mr r3, r31
/* 800701E0 0006D140 48 2C EA 49 */ bl ReadFloat__12CInputStreamFv
/* 800701E4 0006D144 FF A0 08 90 */ fmr f29, f1
/* 800701E8 0006D148 7F E3 FB 78 */ mr r3, r31
/* 800701EC 0006D14C 48 2C EA 3D */ bl ReadFloat__12CInputStreamFv
/* 800701F0 0006D150 89 41 00 74 */ lbz r10, 0x74(r1)
/* 800701F4 0006D154 38 80 00 00 */ li r4, 0
/* 800701F8 0006D158 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18
/* 800701FC 0006D15C FC C0 F8 18 */ frsp f6, f31
/* 80070200 0006D160 55 49 06 3E */ clrlwi r9, r10, 0x18
/* 80070204 0006D164 93 7E 00 8C */ stw r27, 0x8c(r30)
/* 80070208 0006D168 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19
/* 8007020C 0006D16C FC A0 F0 18 */ frsp f5, f30
/* 80070210 0006D170 55 28 06 3E */ clrlwi r8, r9, 0x18
/* 80070214 0006D174 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a
/* 80070218 0006D178 FC 80 E8 18 */ frsp f4, f29
/* 8007021C 0006D17C 99 1E 00 90 */ stb r8, 0x90(r30)
/* 80070220 0006D180 FC 60 08 18 */ frsp f3, f1
/* 80070224 0006D184 88 E1 00 D0 */ lbz r7, 0xd0(r1)
/* 80070228 0006D188 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18
/* 8007022C 0006D18C D0 DE 00 94 */ stfs f6, 0x94(r30)
/* 80070230 0006D190 88 61 00 6C */ lbz r3, 0x6c(r1)
/* 80070234 0006D194 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18
/* 80070238 0006D198 D0 BE 00 98 */ stfs f5, 0x98(r30)
/* 8007023C 0006D19C 38 00 FF FF */ li r0, -1
/* 80070240 0006D1A0 54 66 06 3E */ clrlwi r6, r3, 0x18
/* 80070244 0006D1A4 C0 42 88 20 */ lfs f2, lbl_805AA540@sda21(r2)
/* 80070248 0006D1A8 D0 9E 00 9C */ stfs f4, 0x9c(r30)
/* 8007024C 0006D1AC 50 86 36 72 */ rlwimi r6, r4, 6, 0x19, 0x19
/* 80070250 0006D1B0 54 C5 06 3E */ clrlwi r5, r6, 0x18
/* 80070254 0006D1B4 D0 7E 00 A0 */ stfs f3, 0xa0(r30)
/* 80070258 0006D1B8 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a
/* 8007025C 0006D1BC 98 FE 00 A4 */ stb r7, 0xa4(r30)
/* 80070260 0006D1C0 90 1E 00 AC */ stw r0, 0xac(r30)
/* 80070264 0006D1C4 98 BE 00 B0 */ stb r5, 0xb0(r30)
/* 80070268 0006D1C8 D0 5E 00 B4 */ stfs f2, 0xb4(r30)
/* 8007026C 0006D1CC C0 1E 00 B4 */ lfs f0, 0xb4(r30)
/* 80070270 0006D1D0 99 41 00 74 */ stb r10, 0x74(r1)
/* 80070274 0006D1D4 D0 1E 00 B8 */ stfs f0, 0xb8(r30)
/* 80070278 0006D1D8 D0 5E 00 BC */ stfs f2, 0xbc(r30)
/* 8007027C 0006D1DC 98 61 00 6C */ stb r3, 0x6c(r1)
/* 80070280 0006D1E0 D0 5E 00 C0 */ stfs f2, 0xc0(r30)
/* 80070284 0006D1E4 99 21 00 74 */ stb r9, 0x74(r1)
/* 80070288 0006D1E8 88 7E 00 C4 */ lbz r3, 0xc4(r30)
/* 8007028C 0006D1EC 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18
/* 80070290 0006D1F0 D0 C1 00 C4 */ stfs f6, 0xc4(r1)
/* 80070294 0006D1F4 98 C1 00 6C */ stb r6, 0x6c(r1)
/* 80070298 0006D1F8 93 61 00 70 */ stw r27, 0x70(r1)
/* 8007029C 0006D1FC 99 01 00 74 */ stb r8, 0x74(r1)
/* 800702A0 0006D200 93 61 00 B8 */ stw r27, 0xb8(r1)
/* 800702A4 0006D204 99 01 00 BC */ stb r8, 0xbc(r1)
/* 800702A8 0006D208 D3 E1 00 C0 */ stfs f31, 0xc0(r1)
/* 800702AC 0006D20C D3 A1 00 C8 */ stfs f29, 0xc8(r1)
/* 800702B0 0006D210 D0 21 00 CC */ stfs f1, 0xcc(r1)
/* 800702B4 0006D214 98 E1 00 D0 */ stb r7, 0xd0(r1)
/* 800702B8 0006D218 D3 C1 00 C4 */ stfs f30, 0xc4(r1)
/* 800702BC 0006D21C 93 61 01 44 */ stw r27, 0x144(r1)
/* 800702C0 0006D220 99 01 01 48 */ stb r8, 0x148(r1)
/* 800702C4 0006D224 D0 C1 01 4C */ stfs f6, 0x14c(r1)
/* 800702C8 0006D228 D0 A1 01 50 */ stfs f5, 0x150(r1)
/* 800702CC 0006D22C D0 81 01 54 */ stfs f4, 0x154(r1)
/* 800702D0 0006D230 D0 61 01 58 */ stfs f3, 0x158(r1)
/* 800702D4 0006D234 98 E1 01 5C */ stb r7, 0x15c(r1)
/* 800702D8 0006D238 90 01 00 68 */ stw r0, 0x68(r1)
/* 800702DC 0006D23C 98 A1 00 6C */ stb r5, 0x6c(r1)
/* 800702E0 0006D240 98 7E 00 C4 */ stb r3, 0xc4(r30)
/* 800702E4 0006D244 89 61 00 64 */ lbz r11, 0x64(r1)
/* 800702E8 0006D248 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18
/* 800702EC 0006D24C 89 41 00 5C */ lbz r10, 0x5c(r1)
/* 800702F0 0006D250 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18
/* 800702F4 0006D254 55 7B 06 3E */ clrlwi r27, r11, 0x18
/* 800702F8 0006D258 90 1E 00 C8 */ stw r0, 0xc8(r30)
/* 800702FC 0006D25C 50 9B 36 72 */ rlwimi r27, r4, 6, 0x19, 0x19
/* 80070300 0006D260 55 49 06 3E */ clrlwi r9, r10, 0x18
/* 80070304 0006D264 57 6C 06 3E */ clrlwi r12, r27, 0x18
/* 80070308 0006D268 99 61 00 64 */ stb r11, 0x64(r1)
/* 8007030C 0006D26C 50 8C 2E B4 */ rlwimi r12, r4, 5, 0x1a, 0x1a
/* 80070310 0006D270 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19
/* 80070314 0006D274 99 9E 00 CC */ stb r12, 0xcc(r30)
/* 80070318 0006D278 55 28 06 3E */ clrlwi r8, r9, 0x18
/* 8007031C 0006D27C 88 E1 00 54 */ lbz r7, 0x54(r1)
/* 80070320 0006D280 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18
/* 80070324 0006D284 D0 5E 00 D0 */ stfs f2, 0xd0(r30)
/* 80070328 0006D288 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a
/* 8007032C 0006D28C 54 E5 06 3E */ clrlwi r5, r7, 0x18
/* 80070330 0006D290 88 61 00 4C */ lbz r3, 0x4c(r1)
/* 80070334 0006D294 C0 1E 00 D0 */ lfs f0, 0xd0(r30)
/* 80070338 0006D298 50 85 36 72 */ rlwimi r5, r4, 6, 0x19, 0x19
/* 8007033C 0006D29C 98 E1 00 54 */ stb r7, 0x54(r1)
/* 80070340 0006D2A0 54 A6 06 3E */ clrlwi r6, r5, 0x18
/* 80070344 0006D2A4 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18
/* 80070348 0006D2A8 D0 1E 00 D4 */ stfs f0, 0xd4(r30)
/* 8007034C 0006D2AC 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a
/* 80070350 0006D2B0 D0 5E 00 D8 */ stfs f2, 0xd8(r30)
/* 80070354 0006D2B4 D0 5E 00 DC */ stfs f2, 0xdc(r30)
/* 80070358 0006D2B8 89 7E 00 E0 */ lbz r11, 0xe0(r30)
/* 8007035C 0006D2BC 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18
/* 80070360 0006D2C0 99 41 00 5C */ stb r10, 0x5c(r1)
/* 80070364 0006D2C4 99 7E 00 E0 */ stb r11, 0xe0(r30)
/* 80070368 0006D2C8 90 1E 00 E8 */ stw r0, 0xe8(r30)
/* 8007036C 0006D2CC 99 1E 00 EC */ stb r8, 0xec(r30)
/* 80070370 0006D2D0 D0 5E 00 F0 */ stfs f2, 0xf0(r30)
/* 80070374 0006D2D4 C0 1E 00 F0 */ lfs f0, 0xf0(r30)
/* 80070378 0006D2D8 9B 61 00 64 */ stb r27, 0x64(r1)
/* 8007037C 0006D2DC D0 1E 00 F4 */ stfs f0, 0xf4(r30)
/* 80070380 0006D2E0 D0 5E 00 F8 */ stfs f2, 0xf8(r30)
/* 80070384 0006D2E4 D0 5E 00 FC */ stfs f2, 0xfc(r30)
/* 80070388 0006D2E8 88 FE 01 00 */ lbz r7, 0x100(r30)
/* 8007038C 0006D2EC 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18
/* 80070390 0006D2F0 99 21 00 5C */ stb r9, 0x5c(r1)
/* 80070394 0006D2F4 98 FE 01 00 */ stb r7, 0x100(r30)
/* 80070398 0006D2F8 90 1E 01 04 */ stw r0, 0x104(r30)
/* 8007039C 0006D2FC 98 DE 01 08 */ stb r6, 0x108(r30)
/* 800703A0 0006D300 D0 5E 01 0C */ stfs f2, 0x10c(r30)
/* 800703A4 0006D304 C0 1E 01 0C */ lfs f0, 0x10c(r30)
/* 800703A8 0006D308 98 A1 00 54 */ stb r5, 0x54(r1)
/* 800703AC 0006D30C D0 1E 01 10 */ stfs f0, 0x110(r30)
/* 800703B0 0006D310 D0 5E 01 14 */ stfs f2, 0x114(r30)
/* 800703B4 0006D314 D0 5E 01 18 */ stfs f2, 0x118(r30)
/* 800703B8 0006D318 88 BE 01 1C */ lbz r5, 0x11c(r30)
/* 800703BC 0006D31C 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18
/* 800703C0 0006D320 90 01 00 60 */ stw r0, 0x60(r1)
/* 800703C4 0006D324 99 81 00 64 */ stb r12, 0x64(r1)
/* 800703C8 0006D328 90 01 00 58 */ stw r0, 0x58(r1)
/* 800703CC 0006D32C 99 01 00 5C */ stb r8, 0x5c(r1)
/* 800703D0 0006D330 90 01 00 50 */ stw r0, 0x50(r1)
/* 800703D4 0006D334 98 C1 00 54 */ stb r6, 0x54(r1)
/* 800703D8 0006D338 98 BE 01 1C */ stb r5, 0x11c(r30)
/* 800703DC 0006D33C 90 01 00 48 */ stw r0, 0x48(r1)
/* 800703E0 0006D340 98 61 00 4C */ stb r3, 0x4c(r1)
/* 800703E4 0006D344 54 7B 06 3E */ clrlwi r27, r3, 0x18
/* 800703E8 0006D348 90 1E 01 24 */ stw r0, 0x124(r30)
/* 800703EC 0006D34C 50 9B 36 72 */ rlwimi r27, r4, 6, 0x19, 0x19
/* 800703F0 0006D350 89 81 00 44 */ lbz r12, 0x44(r1)
/* 800703F4 0006D354 57 7C 06 3E */ clrlwi r28, r27, 0x18
/* 800703F8 0006D358 50 8C 3E 30 */ rlwimi r12, r4, 7, 0x18, 0x18
/* 800703FC 0006D35C 50 9C 2E B4 */ rlwimi r28, r4, 5, 0x1a, 0x1a
/* 80070400 0006D360 89 21 00 3C */ lbz r9, 0x3c(r1)
/* 80070404 0006D364 9B 9E 01 28 */ stb r28, 0x128(r30)
/* 80070408 0006D368 50 89 3E 30 */ rlwimi r9, r4, 7, 0x18, 0x18
/* 8007040C 0006D36C 55 8B 06 3E */ clrlwi r11, r12, 0x18
/* 80070410 0006D370 88 C1 00 34 */ lbz r6, 0x34(r1)
/* 80070414 0006D374 D0 5E 01 2C */ stfs f2, 0x12c(r30)
/* 80070418 0006D378 50 86 3E 30 */ rlwimi r6, r4, 7, 0x18, 0x18
/* 8007041C 0006D37C 50 8B 36 72 */ rlwimi r11, r4, 6, 0x19, 0x19
/* 80070420 0006D380 55 28 06 3E */ clrlwi r8, r9, 0x18
/* 80070424 0006D384 C0 1E 01 2C */ lfs f0, 0x12c(r30)
/* 80070428 0006D388 55 6A 06 3E */ clrlwi r10, r11, 0x18
/* 8007042C 0006D38C 50 88 36 72 */ rlwimi r8, r4, 6, 0x19, 0x19
/* 80070430 0006D390 99 21 00 3C */ stb r9, 0x3c(r1)
/* 80070434 0006D394 55 07 06 3E */ clrlwi r7, r8, 0x18
/* 80070438 0006D398 54 C3 06 3E */ clrlwi r3, r6, 0x18
/* 8007043C 0006D39C D0 1E 01 30 */ stfs f0, 0x130(r30)
/* 80070440 0006D3A0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19
/* 80070444 0006D3A4 54 65 06 3E */ clrlwi r5, r3, 0x18
/* 80070448 0006D3A8 50 8A 2E B4 */ rlwimi r10, r4, 5, 0x1a, 0x1a
/* 8007044C 0006D3AC D0 5E 01 34 */ stfs f2, 0x134(r30)
/* 80070450 0006D3B0 50 87 2E B4 */ rlwimi r7, r4, 5, 0x1a, 0x1a
/* 80070454 0006D3B4 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a
/* 80070458 0006D3B8 D0 5E 01 38 */ stfs f2, 0x138(r30)
/* 8007045C 0006D3BC 8B BE 01 3C */ lbz r29, 0x13c(r30)
/* 80070460 0006D3C0 50 9D 3E 30 */ rlwimi r29, r4, 7, 0x18, 0x18
/* 80070464 0006D3C4 99 81 00 44 */ stb r12, 0x44(r1)
/* 80070468 0006D3C8 9B BE 01 3C */ stb r29, 0x13c(r30)
/* 8007046C 0006D3CC 90 1E 01 40 */ stw r0, 0x140(r30)
/* 80070470 0006D3D0 99 5E 01 44 */ stb r10, 0x144(r30)
/* 80070474 0006D3D4 D0 5E 01 48 */ stfs f2, 0x148(r30)
/* 80070478 0006D3D8 C0 1E 01 48 */ lfs f0, 0x148(r30)
/* 8007047C 0006D3DC 98 C1 00 34 */ stb r6, 0x34(r1)
/* 80070480 0006D3E0 D0 1E 01 4C */ stfs f0, 0x14c(r30)
/* 80070484 0006D3E4 D0 5E 01 50 */ stfs f2, 0x150(r30)
/* 80070488 0006D3E8 D0 5E 01 54 */ stfs f2, 0x154(r30)
/* 8007048C 0006D3EC 89 3E 01 58 */ lbz r9, 0x158(r30)
/* 80070490 0006D3F0 50 89 3E 30 */ rlwimi r9, r4, 7, 0x18, 0x18
/* 80070494 0006D3F4 9B 61 00 4C */ stb r27, 0x4c(r1)
/* 80070498 0006D3F8 99 3E 01 58 */ stb r9, 0x158(r30)
/* 8007049C 0006D3FC 90 1E 01 60 */ stw r0, 0x160(r30)
/* 800704A0 0006D400 98 FE 01 64 */ stb r7, 0x164(r30)
/* 800704A4 0006D404 D0 5E 01 68 */ stfs f2, 0x168(r30)
/* 800704A8 0006D408 C0 1E 01 68 */ lfs f0, 0x168(r30)
/* 800704AC 0006D40C 99 61 00 44 */ stb r11, 0x44(r1)
/* 800704B0 0006D410 D0 1E 01 6C */ stfs f0, 0x16c(r30)
/* 800704B4 0006D414 D0 5E 01 70 */ stfs f2, 0x170(r30)
/* 800704B8 0006D418 D0 5E 01 74 */ stfs f2, 0x174(r30)
/* 800704BC 0006D41C 88 DE 01 78 */ lbz r6, 0x178(r30)
/* 800704C0 0006D420 50 86 3E 30 */ rlwimi r6, r4, 7, 0x18, 0x18
/* 800704C4 0006D424 99 01 00 3C */ stb r8, 0x3c(r1)
/* 800704C8 0006D428 98 61 00 34 */ stb r3, 0x34(r1)
/* 800704CC 0006D42C 9B 81 00 4C */ stb r28, 0x4c(r1)
/* 800704D0 0006D430 90 01 00 40 */ stw r0, 0x40(r1)
/* 800704D4 0006D434 99 41 00 44 */ stb r10, 0x44(r1)
/* 800704D8 0006D438 90 01 00 38 */ stw r0, 0x38(r1)
/* 800704DC 0006D43C 98 E1 00 3C */ stb r7, 0x3c(r1)
/* 800704E0 0006D440 98 DE 01 78 */ stb r6, 0x178(r30)
/* 800704E4 0006D444 90 01 00 30 */ stw r0, 0x30(r1)
/* 800704E8 0006D448 98 A1 00 34 */ stb r5, 0x34(r1)
/* 800704EC 0006D44C 90 1E 01 7C */ stw r0, 0x17c(r30)
/* 800704F0 0006D450 7F E3 FB 78 */ mr r3, r31
/* 800704F4 0006D454 89 41 00 2C */ lbz r10, 0x2c(r1)
/* 800704F8 0006D458 50 8A 3E 30 */ rlwimi r10, r4, 7, 0x18, 0x18
/* 800704FC 0006D45C 98 BE 01 80 */ stb r5, 0x180(r30)
/* 80070500 0006D460 55 49 06 3E */ clrlwi r9, r10, 0x18
/* 80070504 0006D464 88 E1 00 24 */ lbz r7, 0x24(r1)
/* 80070508 0006D468 D0 5E 01 84 */ stfs f2, 0x184(r30)
/* 8007050C 0006D46C 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18
/* 80070510 0006D470 50 89 36 72 */ rlwimi r9, r4, 6, 0x19, 0x19
/* 80070514 0006D474 C0 1E 01 84 */ lfs f0, 0x184(r30)
/* 80070518 0006D478 55 28 06 3E */ clrlwi r8, r9, 0x18
/* 8007051C 0006D47C 54 E5 06 3E */ clrlwi r5, r7, 0x18
/* 80070520 0006D480 99 41 00 2C */ stb r10, 0x2c(r1)
/* 80070524 0006D484 50 85 36 72 */ rlwimi r5, r4, 6, 0x19, 0x19
/* 80070528 0006D488 50 88 2E B4 */ rlwimi r8, r4, 5, 0x1a, 0x1a
/* 8007052C 0006D48C D0 1E 01 88 */ stfs f0, 0x188(r30)
/* 80070530 0006D490 54 A6 06 3E */ clrlwi r6, r5, 0x18
/* 80070534 0006D494 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a
/* 80070538 0006D498 D0 5E 01 8C */ stfs f2, 0x18c(r30)
/* 8007053C 0006D49C D0 5E 01 90 */ stfs f2, 0x190(r30)
/* 80070540 0006D4A0 89 7E 01 94 */ lbz r11, 0x194(r30)
/* 80070544 0006D4A4 50 8B 3E 30 */ rlwimi r11, r4, 7, 0x18, 0x18
/* 80070548 0006D4A8 98 E1 00 24 */ stb r7, 0x24(r1)
/* 8007054C 0006D4AC 99 7E 01 94 */ stb r11, 0x194(r30)
/* 80070550 0006D4B0 90 1E 01 9C */ stw r0, 0x19c(r30)
/* 80070554 0006D4B4 99 1E 01 A0 */ stb r8, 0x1a0(r30)
/* 80070558 0006D4B8 D0 5E 01 A4 */ stfs f2, 0x1a4(r30)
/* 8007055C 0006D4BC C0 1E 01 A4 */ lfs f0, 0x1a4(r30)
/* 80070560 0006D4C0 99 21 00 2C */ stb r9, 0x2c(r1)
/* 80070564 0006D4C4 D0 1E 01 A8 */ stfs f0, 0x1a8(r30)
/* 80070568 0006D4C8 D0 5E 01 AC */ stfs f2, 0x1ac(r30)
/* 8007056C 0006D4CC D0 5E 01 B0 */ stfs f2, 0x1b0(r30)
/* 80070570 0006D4D0 88 FE 01 B4 */ lbz r7, 0x1b4(r30)
/* 80070574 0006D4D4 50 87 3E 30 */ rlwimi r7, r4, 7, 0x18, 0x18
/* 80070578 0006D4D8 98 A1 00 24 */ stb r5, 0x24(r1)
/* 8007057C 0006D4DC 98 FE 01 B4 */ stb r7, 0x1b4(r30)
/* 80070580 0006D4E0 90 1E 01 B8 */ stw r0, 0x1b8(r30)
/* 80070584 0006D4E4 98 DE 01 BC */ stb r6, 0x1bc(r30)
/* 80070588 0006D4E8 D0 5E 01 C0 */ stfs f2, 0x1c0(r30)
/* 8007058C 0006D4EC C0 1E 01 C0 */ lfs f0, 0x1c0(r30)
/* 80070590 0006D4F0 90 01 00 28 */ stw r0, 0x28(r1)
/* 80070594 0006D4F4 D0 1E 01 C4 */ stfs f0, 0x1c4(r30)
/* 80070598 0006D4F8 D0 5E 01 C8 */ stfs f2, 0x1c8(r30)
/* 8007059C 0006D4FC D0 5E 01 CC */ stfs f2, 0x1cc(r30)
/* 800705A0 0006D500 88 BE 01 D0 */ lbz r5, 0x1d0(r30)
/* 800705A4 0006D504 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18
/* 800705A8 0006D508 99 01 00 2C */ stb r8, 0x2c(r1)
/* 800705AC 0006D50C 90 01 00 20 */ stw r0, 0x20(r1)
/* 800705B0 0006D510 98 C1 00 24 */ stb r6, 0x24(r1)
/* 800705B4 0006D514 98 BE 01 D0 */ stb r5, 0x1d0(r30)
/* 800705B8 0006D518 48 2C E6 CD */ bl ReadLong__12CInputStreamFv
/* 800705BC 0006D51C 7C 7D 1B 78 */ mr r29, r3
/* 800705C0 0006D520 7F E3 FB 78 */ mr r3, r31
/* 800705C4 0006D524 48 2C E6 65 */ bl ReadFloat__12CInputStreamFv
/* 800705C8 0006D528 FF E0 08 90 */ fmr f31, f1
/* 800705CC 0006D52C 7F E3 FB 78 */ mr r3, r31
/* 800705D0 0006D530 48 2C E6 59 */ bl ReadFloat__12CInputStreamFv
/* 800705D4 0006D534 FF C0 08 90 */ fmr f30, f1
/* 800705D8 0006D538 7F E3 FB 78 */ mr r3, r31
/* 800705DC 0006D53C 48 2C E6 4D */ bl ReadFloat__12CInputStreamFv
/* 800705E0 0006D540 FF A0 08 90 */ fmr f29, f1
/* 800705E4 0006D544 7F E3 FB 78 */ mr r3, r31
/* 800705E8 0006D548 48 2C E6 41 */ bl ReadFloat__12CInputStreamFv
/* 800705EC 0006D54C 88 01 00 1C */ lbz r0, 0x1c(r1)
/* 800705F0 0006D550 39 60 00 00 */ li r11, 0
/* 800705F4 0006D554 51 60 3E 30 */ rlwimi r0, r11, 7, 0x18, 0x18
/* 800705F8 0006D558 C0 02 88 20 */ lfs f0, lbl_805AA540@sda21(r2)
/* 800705FC 0006D55C 54 0A 06 3E */ clrlwi r10, r0, 0x18
/* 80070600 0006D560 93 BE 01 D4 */ stw r29, 0x1d4(r30)
/* 80070604 0006D564 FC A0 F8 18 */ frsp f5, f31
/* 80070608 0006D568 51 6A 36 72 */ rlwimi r10, r11, 6, 0x19, 0x19
/* 8007060C 0006D56C 55 49 06 3E */ clrlwi r9, r10, 0x18
/* 80070610 0006D570 98 01 00 1C */ stb r0, 0x1c(r1)
/* 80070614 0006D574 51 69 2E B4 */ rlwimi r9, r11, 5, 0x1a, 0x1a
/* 80070618 0006D578 FC 80 F0 18 */ frsp f4, f30
/* 8007061C 0006D57C 99 3E 01 D8 */ stb r9, 0x1d8(r30)
/* 80070620 0006D580 FC 60 E8 18 */ frsp f3, f29
/* 80070624 0006D584 38 E0 FF FF */ li r7, -1
/* 80070628 0006D588 FC 40 08 18 */ frsp f2, f1
/* 8007062C 0006D58C D0 BE 01 DC */ stfs f5, 0x1dc(r30)
/* 80070630 0006D590 35 9E 01 F4 */ addic. r12, r30, 0x1f4
/* 80070634 0006D594 88 81 00 14 */ lbz r4, 0x14(r1)
/* 80070638 0006D598 51 64 3E 30 */ rlwimi r4, r11, 7, 0x18, 0x18
/* 8007063C 0006D59C D0 9E 01 E0 */ stfs f4, 0x1e0(r30)
/* 80070640 0006D5A0 89 01 00 B4 */ lbz r8, 0xb4(r1)
/* 80070644 0006D5A4 51 68 3E 30 */ rlwimi r8, r11, 7, 0x18, 0x18
/* 80070648 0006D5A8 D0 7E 01 E4 */ stfs f3, 0x1e4(r30)
/* 8007064C 0006D5AC 54 86 06 3E */ clrlwi r6, r4, 0x18
/* 80070650 0006D5B0 51 66 36 72 */ rlwimi r6, r11, 6, 0x19, 0x19
/* 80070654 0006D5B4 88 61 01 24 */ lbz r3, 0x124(r1)
/* 80070658 0006D5B8 D0 5E 01 E8 */ stfs f2, 0x1e8(r30)
/* 8007065C 0006D5BC 51 63 3E 30 */ rlwimi r3, r11, 7, 0x18, 0x18
/* 80070660 0006D5C0 54 C5 06 3E */ clrlwi r5, r6, 0x18
/* 80070664 0006D5C4 FC C0 00 18 */ frsp f6, f0
/* 80070668 0006D5C8 51 65 2E B4 */ rlwimi r5, r11, 5, 0x1a, 0x1a
/* 8007066C 0006D5CC 98 81 00 14 */ stb r4, 0x14(r1)
/* 80070670 0006D5D0 38 00 00 05 */ li r0, 5
/* 80070674 0006D5D4 54 6B 06 3E */ clrlwi r11, r3, 0x18
/* 80070678 0006D5D8 99 41 00 1C */ stb r10, 0x1c(r1)
/* 8007067C 0006D5DC 54 A4 06 3E */ clrlwi r4, r5, 0x18
/* 80070680 0006D5E0 D0 A1 00 A8 */ stfs f5, 0xa8(r1)
/* 80070684 0006D5E4 99 1E 01 EC */ stb r8, 0x1ec(r30)
/* 80070688 0006D5E8 98 C1 00 14 */ stb r6, 0x14(r1)
/* 8007068C 0006D5EC 93 A1 00 18 */ stw r29, 0x18(r1)
/* 80070690 0006D5F0 99 21 00 1C */ stb r9, 0x1c(r1)
/* 80070694 0006D5F4 93 A1 00 9C */ stw r29, 0x9c(r1)
/* 80070698 0006D5F8 99 21 00 A0 */ stb r9, 0xa0(r1)
/* 8007069C 0006D5FC D3 E1 00 A4 */ stfs f31, 0xa4(r1)
/* 800706A0 0006D600 D3 A1 00 AC */ stfs f29, 0xac(r1)
/* 800706A4 0006D604 D0 21 00 B0 */ stfs f1, 0xb0(r1)
/* 800706A8 0006D608 99 01 00 B4 */ stb r8, 0xb4(r1)
/* 800706AC 0006D60C D3 C1 00 A8 */ stfs f30, 0xa8(r1)
/* 800706B0 0006D610 93 A1 01 28 */ stw r29, 0x128(r1)
/* 800706B4 0006D614 99 21 01 2C */ stb r9, 0x12c(r1)
/* 800706B8 0006D618 D0 A1 01 30 */ stfs f5, 0x130(r1)
/* 800706BC 0006D61C D0 81 01 34 */ stfs f4, 0x134(r1)
/* 800706C0 0006D620 D0 61 01 38 */ stfs f3, 0x138(r1)
/* 800706C4 0006D624 D0 41 01 3C */ stfs f2, 0x13c(r1)
/* 800706C8 0006D628 99 01 01 40 */ stb r8, 0x140(r1)
/* 800706CC 0006D62C 90 E1 00 10 */ stw r7, 0x10(r1)
/* 800706D0 0006D630 98 A1 00 14 */ stb r5, 0x14(r1)
/* 800706D4 0006D634 90 E1 01 0C */ stw r7, 0x10c(r1)
/* 800706D8 0006D638 98 A1 01 10 */ stb r5, 0x110(r1)
/* 800706DC 0006D63C D0 01 01 14 */ stfs f0, 0x114(r1)
/* 800706E0 0006D640 D0 01 01 18 */ stfs f0, 0x118(r1)
/* 800706E4 0006D644 D0 01 01 1C */ stfs f0, 0x11c(r1)
/* 800706E8 0006D648 D0 01 01 20 */ stfs f0, 0x120(r1)
/* 800706EC 0006D64C 98 61 01 24 */ stb r3, 0x124(r1)
/* 800706F0 0006D650 90 1E 01 F0 */ stw r0, 0x1f0(r30)
/* 800706F4 0006D654 41 82 00 20 */ beq lbl_80070714
/* 800706F8 0006D658 90 EC 00 00 */ stw r7, 0(r12)
/* 800706FC 0006D65C 98 8C 00 04 */ stb r4, 4(r12)
/* 80070700 0006D660 D0 0C 00 08 */ stfs f0, 8(r12)
/* 80070704 0006D664 D0 CC 00 0C */ stfs f6, 0xc(r12)
/* 80070708 0006D668 D0 0C 00 10 */ stfs f0, 0x10(r12)
/* 8007070C 0006D66C D0 0C 00 14 */ stfs f0, 0x14(r12)
/* 80070710 0006D670 99 6C 00 18 */ stb r11, 0x18(r12)
lbl_80070714:
/* 80070714 0006D674 35 8C 00 1C */ addic. r12, r12, 0x1c
/* 80070718 0006D678 41 82 00 20 */ beq lbl_80070738
/* 8007071C 0006D67C 90 EC 00 00 */ stw r7, 0(r12)
/* 80070720 0006D680 98 8C 00 04 */ stb r4, 4(r12)
/* 80070724 0006D684 D0 0C 00 08 */ stfs f0, 8(r12)
/* 80070728 0006D688 D0 CC 00 0C */ stfs f6, 0xc(r12)
/* 8007072C 0006D68C D0 0C 00 10 */ stfs f0, 0x10(r12)
/* 80070730 0006D690 D0 0C 00 14 */ stfs f0, 0x14(r12)
/* 80070734 0006D694 99 6C 00 18 */ stb r11, 0x18(r12)
lbl_80070738:
/* 80070738 0006D698 35 8C 00 1C */ addic. r12, r12, 0x1c
/* 8007073C 0006D69C 41 82 00 20 */ beq lbl_8007075C
/* 80070740 0006D6A0 90 EC 00 00 */ stw r7, 0(r12)
/* 80070744 0006D6A4 98 8C 00 04 */ stb r4, 4(r12)
/* 80070748 0006D6A8 D0 0C 00 08 */ stfs f0, 8(r12)
/* 8007074C 0006D6AC D0 CC 00 0C */ stfs f6, 0xc(r12)
/* 80070750 0006D6B0 D0 0C 00 10 */ stfs f0, 0x10(r12)
/* 80070754 0006D6B4 D0 0C 00 14 */ stfs f0, 0x14(r12)
/* 80070758 0006D6B8 99 6C 00 18 */ stb r11, 0x18(r12)
lbl_8007075C:
/* 8007075C 0006D6BC 35 8C 00 1C */ addic. r12, r12, 0x1c
/* 80070760 0006D6C0 41 82 00 20 */ beq lbl_80070780
/* 80070764 0006D6C4 90 EC 00 00 */ stw r7, 0(r12)
/* 80070768 0006D6C8 98 8C 00 04 */ stb r4, 4(r12)
/* 8007076C 0006D6CC D0 0C 00 08 */ stfs f0, 8(r12)
/* 80070770 0006D6D0 D0 CC 00 0C */ stfs f6, 0xc(r12)
/* 80070774 0006D6D4 D0 0C 00 10 */ stfs f0, 0x10(r12)
/* 80070778 0006D6D8 D0 0C 00 14 */ stfs f0, 0x14(r12)
/* 8007077C 0006D6DC 99 6C 00 18 */ stb r11, 0x18(r12)
lbl_80070780:
/* 80070780 0006D6E0 35 8C 00 1C */ addic. r12, r12, 0x1c
/* 80070784 0006D6E4 41 82 00 20 */ beq lbl_800707A4
/* 80070788 0006D6E8 90 EC 00 00 */ stw r7, 0(r12)
/* 8007078C 0006D6EC 98 8C 00 04 */ stb r4, 4(r12)
/* 80070790 0006D6F0 D0 0C 00 08 */ stfs f0, 8(r12)
/* 80070794 0006D6F4 D0 CC 00 0C */ stfs f6, 0xc(r12)
/* 80070798 0006D6F8 D0 0C 00 10 */ stfs f0, 0x10(r12)
/* 8007079C 0006D6FC D0 0C 00 14 */ stfs f0, 0x14(r12)
/* 800707A0 0006D700 99 6C 00 18 */ stb r11, 0x18(r12)
lbl_800707A4:
/* 800707A4 0006D704 38 00 00 05 */ li r0, 5
/* 800707A8 0006D708 34 7E 02 84 */ addic. r3, r30, 0x284
/* 800707AC 0006D70C 90 1E 02 80 */ stw r0, 0x280(r30)
/* 800707B0 0006D710 41 82 00 0C */ beq lbl_800707BC
/* 800707B4 0006D714 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13)
/* 800707B8 0006D718 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800707BC:
/* 800707BC 0006D71C 34 63 00 04 */ addic. r3, r3, 4
/* 800707C0 0006D720 41 82 00 0C */ beq lbl_800707CC
/* 800707C4 0006D724 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13)
/* 800707C8 0006D728 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800707CC:
/* 800707CC 0006D72C 34 63 00 04 */ addic. r3, r3, 4
/* 800707D0 0006D730 41 82 00 0C */ beq lbl_800707DC
/* 800707D4 0006D734 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13)
/* 800707D8 0006D738 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800707DC:
/* 800707DC 0006D73C 34 63 00 04 */ addic. r3, r3, 4
/* 800707E0 0006D740 41 82 00 0C */ beq lbl_800707EC
/* 800707E4 0006D744 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13)
/* 800707E8 0006D748 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800707EC:
/* 800707EC 0006D74C 34 63 00 04 */ addic. r3, r3, 4
/* 800707F0 0006D750 41 82 00 0C */ beq lbl_800707FC
/* 800707F4 0006D754 C0 0D 83 98 */ lfs f0, lbl_805A6F58@sda21(r13)
/* 800707F8 0006D758 D0 03 00 00 */ stfs f0, 0(r3)
lbl_800707FC:
/* 800707FC 0006D75C 7F C3 F3 78 */ mr r3, r30
/* 80070800 0006D760 7F E4 FB 78 */ mr r4, r31
/* 80070804 0006D764 4B FF F5 09 */ bl sub_8006fd0c
/* 80070808 0006D768 3B 40 00 00 */ li r26, 0
/* 8007080C 0006D76C 3B 80 00 00 */ li r28, 0
lbl_80070810:
/* 80070810 0006D770 7F E3 FB 78 */ mr r3, r31
/* 80070814 0006D774 48 2C E4 71 */ bl ReadLong__12CInputStreamFv
/* 80070818 0006D778 7C 7D 1B 78 */ mr r29, r3
/* 8007081C 0006D77C 7F E3 FB 78 */ mr r3, r31
/* 80070820 0006D780 48 2C E4 09 */ bl ReadFloat__12CInputStreamFv
/* 80070824 0006D784 FF A0 08 90 */ fmr f29, f1
/* 80070828 0006D788 7F E3 FB 78 */ mr r3, r31
/* 8007082C 0006D78C 48 2C E3 FD */ bl ReadFloat__12CInputStreamFv
/* 80070830 0006D790 FF C0 08 90 */ fmr f30, f1
/* 80070834 0006D794 7F E3 FB 78 */ mr r3, r31
/* 80070838 0006D798 48 2C E3 F1 */ bl ReadFloat__12CInputStreamFv
/* 8007083C 0006D79C FF E0 08 90 */ fmr f31, f1
/* 80070840 0006D7A0 7F E3 FB 78 */ mr r3, r31
/* 80070844 0006D7A4 48 2C E3 E5 */ bl ReadFloat__12CInputStreamFv
/* 80070848 0006D7A8 88 A1 00 0C */ lbz r5, 0xc(r1)
/* 8007084C 0006D7AC 3B 60 00 00 */ li r27, 0
/* 80070850 0006D7B0 53 65 3E 30 */ rlwimi r5, r27, 7, 0x18, 0x18
/* 80070854 0006D7B4 38 00 00 01 */ li r0, 1
/* 80070858 0006D7B8 54 A4 06 3E */ clrlwi r4, r5, 0x18
/* 8007085C 0006D7BC 7C DE E2 14 */ add r6, r30, r28
/* 80070860 0006D7C0 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19
/* 80070864 0006D7C4 FC 80 E8 18 */ frsp f4, f29
/* 80070868 0006D7C8 54 83 06 3E */ clrlwi r3, r4, 0x18
/* 8007086C 0006D7CC FC 60 F0 18 */ frsp f3, f30
/* 80070870 0006D7D0 53 63 2E B4 */ rlwimi r3, r27, 5, 0x1a, 0x1a
/* 80070874 0006D7D4 FC 40 F8 18 */ frsp f2, f31
/* 80070878 0006D7D8 98 61 00 F4 */ stb r3, 0xf4(r1)
/* 8007087C 0006D7DC FC 00 08 18 */ frsp f0, f1
/* 80070880 0006D7E0 3B 5A 00 01 */ addi r26, r26, 1
/* 80070884 0006D7E4 93 A6 01 F4 */ stw r29, 0x1f4(r6)
/* 80070888 0006D7E8 2C 1A 00 05 */ cmpwi r26, 5
/* 8007088C 0006D7EC 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 80070890 0006D7F0 3B 9C 00 1C */ addi r28, r28, 0x1c
/* 80070894 0006D7F4 90 06 01 F8 */ stw r0, 0x1f8(r6)
/* 80070898 0006D7F8 88 01 00 98 */ lbz r0, 0x98(r1)
/* 8007089C 0006D7FC 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18
/* 800708A0 0006D800 D0 86 01 FC */ stfs f4, 0x1fc(r6)
/* 800708A4 0006D804 D0 66 02 00 */ stfs f3, 0x200(r6)
/* 800708A8 0006D808 98 A1 00 0C */ stb r5, 0xc(r1)
/* 800708AC 0006D80C D0 46 02 04 */ stfs f2, 0x204(r6)
/* 800708B0 0006D810 98 81 00 0C */ stb r4, 0xc(r1)
/* 800708B4 0006D814 D0 81 00 8C */ stfs f4, 0x8c(r1)
/* 800708B8 0006D818 D0 06 02 08 */ stfs f0, 0x208(r6)
/* 800708BC 0006D81C 93 A1 00 08 */ stw r29, 8(r1)
/* 800708C0 0006D820 98 61 00 0C */ stb r3, 0xc(r1)
/* 800708C4 0006D824 93 A1 00 80 */ stw r29, 0x80(r1)
/* 800708C8 0006D828 98 61 00 84 */ stb r3, 0x84(r1)
/* 800708CC 0006D82C D3 A1 00 88 */ stfs f29, 0x88(r1)
/* 800708D0 0006D830 D3 E1 00 90 */ stfs f31, 0x90(r1)
/* 800708D4 0006D834 D0 21 00 94 */ stfs f1, 0x94(r1)
/* 800708D8 0006D838 98 01 00 98 */ stb r0, 0x98(r1)
/* 800708DC 0006D83C D3 C1 00 8C */ stfs f30, 0x8c(r1)
/* 800708E0 0006D840 93 A1 00 F0 */ stw r29, 0xf0(r1)
/* 800708E4 0006D844 D0 81 00 F8 */ stfs f4, 0xf8(r1)
/* 800708E8 0006D848 D0 61 00 FC */ stfs f3, 0xfc(r1)
/* 800708EC 0006D84C D0 41 01 00 */ stfs f2, 0x100(r1)
/* 800708F0 0006D850 D0 01 01 04 */ stfs f0, 0x104(r1)
/* 800708F4 0006D854 98 01 01 08 */ stb r0, 0x108(r1)
/* 800708F8 0006D858 98 06 02 0C */ stb r0, 0x20c(r6)
/* 800708FC 0006D85C 41 80 FF 14 */ blt lbl_80070810
/* 80070900 0006D860 7F 7C DB 78 */ mr r28, r27
lbl_80070904:
/* 80070904 0006D864 7F E3 FB 78 */ mr r3, r31
/* 80070908 0006D868 48 2C E3 21 */ bl ReadFloat__12CInputStreamFv
/* 8007090C 0006D86C 3B 7B 00 01 */ addi r27, r27, 1
/* 80070910 0006D870 7C 7E E2 14 */ add r3, r30, r28
/* 80070914 0006D874 2C 1B 00 05 */ cmpwi r27, 5
/* 80070918 0006D878 D0 23 02 84 */ stfs f1, 0x284(r3)
/* 8007091C 0006D87C 3B 9C 00 04 */ addi r28, r28, 4
/* 80070920 0006D880 41 80 FF E4 */ blt lbl_80070904
/* 80070924 0006D884 7F C3 F3 78 */ mr r3, r30
/* 80070928 0006D888 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0
/* 8007092C 0006D88C CB E1 01 C0 */ lfd f31, 0x1c0(r1)
/* 80070930 0006D890 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0
/* 80070934 0006D894 CB C1 01 B0 */ lfd f30, 0x1b0(r1)
/* 80070938 0006D898 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0
/* 8007093C 0006D89C CB A1 01 A0 */ lfd f29, 0x1a0(r1)
/* 80070940 0006D8A0 BB 41 01 88 */ lmw r26, 0x188(r1)
/* 80070944 0006D8A4 80 01 01 D4 */ lwz r0, 0x1d4(r1)
/* 80070948 0006D8A8 7C 08 03 A6 */ mtlr r0
/* 8007094C 0006D8AC 38 21 01 D0 */ addi r1, r1, 0x1d0
/* 80070950 0006D8B0 4E 80 00 20 */ blr
.global __dt__15CTweakPlayerGunFv
__dt__15CTweakPlayerGunFv:
/* 80070954 0006D8B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80070958 0006D8B8 7C 08 02 A6 */ mflr r0
/* 8007095C 0006D8BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80070960 0006D8C0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80070964 0006D8C4 7C 7F 1B 79 */ or. r31, r3, r3
/* 80070968 0006D8C8 41 82 00 EC */ beq lbl_80070A54
/* 8007096C 0006D8CC 3C 60 80 3E */ lis r3, lbl_803DA384@ha
/* 80070970 0006D8D0 34 1F 02 80 */ addic. r0, r31, 0x280
/* 80070974 0006D8D4 38 03 A3 84 */ addi r0, r3, lbl_803DA384@l
/* 80070978 0006D8D8 90 1F 00 00 */ stw r0, 0(r31)
/* 8007097C 0006D8DC 41 82 00 58 */ beq lbl_800709D4
/* 80070980 0006D8E0 80 DF 02 80 */ lwz r6, 0x280(r31)
/* 80070984 0006D8E4 38 60 00 00 */ li r3, 0
/* 80070988 0006D8E8 2C 06 00 00 */ cmpwi r6, 0
/* 8007098C 0006D8EC 40 81 00 40 */ ble lbl_800709CC
/* 80070990 0006D8F0 2C 06 00 08 */ cmpwi r6, 8
/* 80070994 0006D8F4 38 A6 FF F8 */ addi r5, r6, -8
/* 80070998 0006D8F8 40 81 00 20 */ ble lbl_800709B8
/* 8007099C 0006D8FC 38 05 00 07 */ addi r0, r5, 7
/* 800709A0 0006D900 54 00 E8 FE */ srwi r0, r0, 3
/* 800709A4 0006D904 7C 09 03 A6 */ mtctr r0
/* 800709A8 0006D908 2C 05 00 00 */ cmpwi r5, 0
/* 800709AC 0006D90C 40 81 00 0C */ ble lbl_800709B8
lbl_800709B0:
/* 800709B0 0006D910 38 63 00 08 */ addi r3, r3, 8
/* 800709B4 0006D914 42 00 FF FC */ bdnz lbl_800709B0
lbl_800709B8:
/* 800709B8 0006D918 7C 03 30 50 */ subf r0, r3, r6
/* 800709BC 0006D91C 7C 09 03 A6 */ mtctr r0
/* 800709C0 0006D920 7C 03 30 00 */ cmpw r3, r6
/* 800709C4 0006D924 40 80 00 08 */ bge lbl_800709CC
lbl_800709C8:
/* 800709C8 0006D928 42 00 00 00 */ bdnz lbl_800709C8
lbl_800709CC:
/* 800709CC 0006D92C 38 00 00 00 */ li r0, 0
/* 800709D0 0006D930 90 1F 02 80 */ stw r0, 0x280(r31)
lbl_800709D4:
/* 800709D4 0006D934 34 1F 01 F0 */ addic. r0, r31, 0x1f0
/* 800709D8 0006D938 41 82 00 58 */ beq lbl_80070A30
/* 800709DC 0006D93C 80 DF 01 F0 */ lwz r6, 0x1f0(r31)
/* 800709E0 0006D940 38 60 00 00 */ li r3, 0
/* 800709E4 0006D944 2C 06 00 00 */ cmpwi r6, 0
/* 800709E8 0006D948 40 81 00 40 */ ble lbl_80070A28
/* 800709EC 0006D94C 2C 06 00 08 */ cmpwi r6, 8
/* 800709F0 0006D950 38 A6 FF F8 */ addi r5, r6, -8
/* 800709F4 0006D954 40 81 00 20 */ ble lbl_80070A14
/* 800709F8 0006D958 38 05 00 07 */ addi r0, r5, 7
/* 800709FC 0006D95C 54 00 E8 FE */ srwi r0, r0, 3
/* 80070A00 0006D960 7C 09 03 A6 */ mtctr r0
/* 80070A04 0006D964 2C 05 00 00 */ cmpwi r5, 0
/* 80070A08 0006D968 40 81 00 0C */ ble lbl_80070A14
lbl_80070A0C:
/* 80070A0C 0006D96C 38 63 00 08 */ addi r3, r3, 8
/* 80070A10 0006D970 42 00 FF FC */ bdnz lbl_80070A0C
lbl_80070A14:
/* 80070A14 0006D974 7C 03 30 50 */ subf r0, r3, r6
/* 80070A18 0006D978 7C 09 03 A6 */ mtctr r0
/* 80070A1C 0006D97C 7C 03 30 00 */ cmpw r3, r6
/* 80070A20 0006D980 40 80 00 08 */ bge lbl_80070A28
lbl_80070A24:
/* 80070A24 0006D984 42 00 00 00 */ bdnz lbl_80070A24
lbl_80070A28:
/* 80070A28 0006D988 38 00 00 00 */ li r0, 0
/* 80070A2C 0006D98C 90 1F 01 F0 */ stw r0, 0x1f0(r31)
lbl_80070A30:
/* 80070A30 0006D990 28 1F 00 00 */ cmplwi r31, 0
/* 80070A34 0006D994 41 82 00 10 */ beq lbl_80070A44
/* 80070A38 0006D998 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 80070A3C 0006D99C 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 80070A40 0006D9A0 90 1F 00 00 */ stw r0, 0(r31)
lbl_80070A44:
/* 80070A44 0006D9A4 7C 80 07 35 */ extsh. r0, r4
/* 80070A48 0006D9A8 40 81 00 0C */ ble lbl_80070A54
/* 80070A4C 0006D9AC 7F E3 FB 78 */ mr r3, r31
/* 80070A50 0006D9B0 48 00 00 1D */ bl "__dl__29TOneStatic<15CTweakPlayerGun>FPv"
lbl_80070A54:
/* 80070A54 0006D9B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80070A58 0006D9B8 7F E3 FB 78 */ mr r3, r31
/* 80070A5C 0006D9BC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80070A60 0006D9C0 7C 08 03 A6 */ mtlr r0
/* 80070A64 0006D9C4 38 21 00 10 */ addi r1, r1, 0x10
/* 80070A68 0006D9C8 4E 80 00 20 */ blr
.global "__dl__29TOneStatic<15CTweakPlayerGun>FPv"
"__dl__29TOneStatic<15CTweakPlayerGun>FPv":
/* 80070A6C 0006D9CC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80070A70 0006D9D0 7C 08 02 A6 */ mflr r0
/* 80070A74 0006D9D4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80070A78 0006D9D8 4B FC 65 ED */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv"
/* 80070A7C 0006D9DC 80 83 00 00 */ lwz r4, 0(r3)
/* 80070A80 0006D9E0 38 04 FF FF */ addi r0, r4, -1
/* 80070A84 0006D9E4 90 03 00 00 */ stw r0, 0(r3)
/* 80070A88 0006D9E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80070A8C 0006D9EC 7C 08 03 A6 */ mtlr r0
/* 80070A90 0006D9F0 38 21 00 10 */ addi r1, r1, 0x10
/* 80070A94 0006D9F4 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

4886
asm/Kyoto_CWD/CWorld.s Normal file

File diff suppressed because it is too large Load Diff

18
asm/Kyoto_CWD/Clamp_int.s Normal file
View File

@ -0,0 +1,18 @@
.include "macros.inc"
.section .text, "ax"
.global "Clamp<i>__5CMathFRCiRCiRCi"
"Clamp<i>__5CMathFRCiRCiRCi":
/* 8005A064 00056FC4 80 03 00 00 */ lwz r0, 0(r3)
/* 8005A068 00056FC8 80 C4 00 00 */ lwz r6, 0(r4)
/* 8005A06C 00056FCC 7C 00 30 00 */ cmpw r0, r6
/* 8005A070 00056FD0 4D 81 00 20 */ bgtlr
/* 8005A074 00056FD4 80 05 00 00 */ lwz r0, 0(r5)
/* 8005A078 00056FD8 7C 00 30 00 */ cmpw r0, r6
/* 8005A07C 00056FDC 40 80 00 0C */ bge lbl_8005A088
/* 8005A080 00056FE0 7C A3 2B 78 */ mr r3, r5
/* 8005A084 00056FE4 4E 80 00 20 */ blr
lbl_8005A088:
/* 8005A088 00056FE8 7C 83 23 78 */ mr r3, r4
/* 8005A08C 00056FEC 4E 80 00 20 */ blr

427
asm/Kyoto_CWD/Decode.s Normal file
View File

@ -0,0 +1,427 @@
.include "macros.inc"
.section .text, "ax"
.global CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi
CreateFrameEnd__7MakeMsgF14EArchMsgTargetRCi:
/* 800517BC 0004E71C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800517C0 0004E720 7C 08 02 A6 */ mflr r0
/* 800517C4 0004E724 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
/* 800517C8 0004E728 90 01 00 24 */ stw r0, 0x24(r1)
/* 800517CC 0004E72C 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
/* 800517D0 0004E730 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800517D4 0004E734 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800517D8 0004E738 7C BE 2B 78 */ mr r30, r5
/* 800517DC 0004E73C 38 A0 00 00 */ li r5, 0
/* 800517E0 0004E740 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800517E4 0004E744 7C 9D 23 78 */ mr r29, r4
/* 800517E8 0004E748 7C 04 03 78 */ mr r4, r0
/* 800517EC 0004E74C 93 81 00 10 */ stw r28, 0x10(r1)
/* 800517F0 0004E750 7C 7C 1B 78 */ mr r28, r3
/* 800517F4 0004E754 38 60 00 08 */ li r3, 8
/* 800517F8 0004E758 48 2C 40 75 */ bl __nw__FUlPCcPCc
/* 800517FC 0004E75C 7C 7F 1B 79 */ or. r31, r3, r3
/* 80051800 0004E760 41 82 00 10 */ beq lbl_80051810
/* 80051804 0004E764 80 9E 00 00 */ lwz r4, 0(r30)
/* 80051808 0004E768 4B FF FE 1D */ bl __ct__17CArchMsgParmInt32Fi
/* 8005180C 0004E76C 7C 7F 1B 78 */ mr r31, r3
lbl_80051810:
/* 80051810 0004E770 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
/* 80051814 0004E774 38 60 00 08 */ li r3, 8
/* 80051818 0004E778 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
/* 8005181C 0004E77C 38 A0 00 00 */ li r5, 0
/* 80051820 0004E780 48 2C 40 4D */ bl __nw__FUlPCcPCc
/* 80051824 0004E784 28 03 00 00 */ cmplwi r3, 0
/* 80051828 0004E788 41 82 00 10 */ beq lbl_80051838
/* 8005182C 0004E78C 93 E3 00 00 */ stw r31, 0(r3)
/* 80051830 0004E790 38 00 00 01 */ li r0, 1
/* 80051834 0004E794 90 03 00 04 */ stw r0, 4(r3)
lbl_80051838:
/* 80051838 0004E798 90 61 00 08 */ stw r3, 8(r1)
/* 8005183C 0004E79C 38 00 00 0B */ li r0, 0xb
/* 80051840 0004E7A0 38 61 00 08 */ addi r3, r1, 8
/* 80051844 0004E7A4 93 BC 00 00 */ stw r29, 0(r28)
/* 80051848 0004E7A8 90 1C 00 04 */ stw r0, 4(r28)
/* 8005184C 0004E7AC 80 01 00 08 */ lwz r0, 8(r1)
/* 80051850 0004E7B0 90 1C 00 08 */ stw r0, 8(r28)
/* 80051854 0004E7B4 80 BC 00 08 */ lwz r5, 8(r28)
/* 80051858 0004E7B8 80 85 00 04 */ lwz r4, 4(r5)
/* 8005185C 0004E7BC 38 04 00 01 */ addi r0, r4, 1
/* 80051860 0004E7C0 90 05 00 04 */ stw r0, 4(r5)
/* 80051864 0004E7C4 4B FB 6E A9 */ bl sub_8000870c
/* 80051868 0004E7C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005186C 0004E7CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051870 0004E7D0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80051874 0004E7D4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80051878 0004E7D8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8005187C 0004E7DC 7C 08 03 A6 */ mtlr r0
/* 80051880 0004E7E0 38 21 00 20 */ addi r1, r1, 0x20
/* 80051884 0004E7E4 4E 80 00 20 */ blr
.global GetParm__20CArchitectureMessageCFv
GetParm__20CArchitectureMessageCFv:
/* 80051888 0004E7E8 80 63 00 08 */ lwz r3, 8(r3)
/* 8005188C 0004E7EC 80 63 00 00 */ lwz r3, 0(r3)
/* 80051890 0004E7F0 4E 80 00 20 */ blr
.global CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi
CreateFrameBegin__7MakeMsgF14EArchMsgTargetRCi:
/* 80051894 0004E7F4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051898 0004E7F8 7C 08 02 A6 */ mflr r0
/* 8005189C 0004E7FC 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
/* 800518A0 0004E800 90 01 00 24 */ stw r0, 0x24(r1)
/* 800518A4 0004E804 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
/* 800518A8 0004E808 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800518AC 0004E80C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800518B0 0004E810 7C BE 2B 78 */ mr r30, r5
/* 800518B4 0004E814 38 A0 00 00 */ li r5, 0
/* 800518B8 0004E818 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800518BC 0004E81C 7C 9D 23 78 */ mr r29, r4
/* 800518C0 0004E820 7C 04 03 78 */ mr r4, r0
/* 800518C4 0004E824 93 81 00 10 */ stw r28, 0x10(r1)
/* 800518C8 0004E828 7C 7C 1B 78 */ mr r28, r3
/* 800518CC 0004E82C 38 60 00 08 */ li r3, 8
/* 800518D0 0004E830 48 2C 3F 9D */ bl __nw__FUlPCcPCc
/* 800518D4 0004E834 7C 7F 1B 79 */ or. r31, r3, r3
/* 800518D8 0004E838 41 82 00 10 */ beq lbl_800518E8
/* 800518DC 0004E83C 80 9E 00 00 */ lwz r4, 0(r30)
/* 800518E0 0004E840 4B FF FD 45 */ bl __ct__17CArchMsgParmInt32Fi
/* 800518E4 0004E844 7C 7F 1B 78 */ mr r31, r3
lbl_800518E8:
/* 800518E8 0004E848 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
/* 800518EC 0004E84C 38 60 00 08 */ li r3, 8
/* 800518F0 0004E850 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
/* 800518F4 0004E854 38 A0 00 00 */ li r5, 0
/* 800518F8 0004E858 48 2C 3F 75 */ bl __nw__FUlPCcPCc
/* 800518FC 0004E85C 28 03 00 00 */ cmplwi r3, 0
/* 80051900 0004E860 41 82 00 10 */ beq lbl_80051910
/* 80051904 0004E864 93 E3 00 00 */ stw r31, 0(r3)
/* 80051908 0004E868 38 00 00 01 */ li r0, 1
/* 8005190C 0004E86C 90 03 00 04 */ stw r0, 4(r3)
lbl_80051910:
/* 80051910 0004E870 90 61 00 08 */ stw r3, 8(r1)
/* 80051914 0004E874 38 00 00 0A */ li r0, 0xa
/* 80051918 0004E878 38 61 00 08 */ addi r3, r1, 8
/* 8005191C 0004E87C 93 BC 00 00 */ stw r29, 0(r28)
/* 80051920 0004E880 90 1C 00 04 */ stw r0, 4(r28)
/* 80051924 0004E884 80 01 00 08 */ lwz r0, 8(r1)
/* 80051928 0004E888 90 1C 00 08 */ stw r0, 8(r28)
/* 8005192C 0004E88C 80 BC 00 08 */ lwz r5, 8(r28)
/* 80051930 0004E890 80 85 00 04 */ lwz r4, 4(r5)
/* 80051934 0004E894 38 04 00 01 */ addi r0, r4, 1
/* 80051938 0004E898 90 05 00 04 */ stw r0, 4(r5)
/* 8005193C 0004E89C 4B FB 6D D1 */ bl sub_8000870c
/* 80051940 0004E8A0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80051944 0004E8A4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051948 0004E8A8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005194C 0004E8AC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80051950 0004E8B0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80051954 0004E8B4 7C 08 03 A6 */ mtlr r0
/* 80051958 0004E8B8 38 21 00 20 */ addi r1, r1, 0x20
/* 8005195C 0004E8BC 4E 80 00 20 */ blr
.global CreateQuitGameplay__7MakeMsgF14EArchMsgTarget
CreateQuitGameplay__7MakeMsgF14EArchMsgTarget:
/* 80051960 0004E8C0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051964 0004E8C4 7C 08 02 A6 */ mflr r0
/* 80051968 0004E8C8 3C A0 80 3D */ lis r5, lbl_803CCF20@ha
/* 8005196C 0004E8CC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80051970 0004E8D0 38 05 CF 20 */ addi r0, r5, lbl_803CCF20@l
/* 80051974 0004E8D4 38 A0 00 00 */ li r5, 0
/* 80051978 0004E8D8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005197C 0004E8DC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80051980 0004E8E0 7C 9E 23 78 */ mr r30, r4
/* 80051984 0004E8E4 7C 04 03 78 */ mr r4, r0
/* 80051988 0004E8E8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005198C 0004E8EC 7C 7D 1B 78 */ mr r29, r3
/* 80051990 0004E8F0 38 60 00 04 */ li r3, 4
/* 80051994 0004E8F4 48 2C 3E D9 */ bl __nw__FUlPCcPCc
/* 80051998 0004E8F8 7C 7F 1B 79 */ or. r31, r3, r3
/* 8005199C 0004E8FC 41 82 00 0C */ beq lbl_800519A8
/* 800519A0 0004E900 4B FF FD 85 */ bl __ct__16CArchMsgParmNullFv
/* 800519A4 0004E904 7C 7F 1B 78 */ mr r31, r3
lbl_800519A8:
/* 800519A8 0004E908 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
/* 800519AC 0004E90C 38 60 00 08 */ li r3, 8
/* 800519B0 0004E910 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
/* 800519B4 0004E914 38 A0 00 00 */ li r5, 0
/* 800519B8 0004E918 48 2C 3E B5 */ bl __nw__FUlPCcPCc
/* 800519BC 0004E91C 28 03 00 00 */ cmplwi r3, 0
/* 800519C0 0004E920 41 82 00 10 */ beq lbl_800519D0
/* 800519C4 0004E924 93 E3 00 00 */ stw r31, 0(r3)
/* 800519C8 0004E928 38 00 00 01 */ li r0, 1
/* 800519CC 0004E92C 90 03 00 04 */ stw r0, 4(r3)
lbl_800519D0:
/* 800519D0 0004E930 90 61 00 08 */ stw r3, 8(r1)
/* 800519D4 0004E934 38 00 00 08 */ li r0, 8
/* 800519D8 0004E938 38 61 00 08 */ addi r3, r1, 8
/* 800519DC 0004E93C 93 DD 00 00 */ stw r30, 0(r29)
/* 800519E0 0004E940 90 1D 00 04 */ stw r0, 4(r29)
/* 800519E4 0004E944 80 01 00 08 */ lwz r0, 8(r1)
/* 800519E8 0004E948 90 1D 00 08 */ stw r0, 8(r29)
/* 800519EC 0004E94C 80 BD 00 08 */ lwz r5, 8(r29)
/* 800519F0 0004E950 80 85 00 04 */ lwz r4, 4(r5)
/* 800519F4 0004E954 38 04 00 01 */ addi r0, r4, 1
/* 800519F8 0004E958 90 05 00 04 */ stw r0, 4(r5)
/* 800519FC 0004E95C 4B FB 6D 11 */ bl sub_8000870c
/* 80051A00 0004E960 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80051A04 0004E964 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051A08 0004E968 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80051A0C 0004E96C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80051A10 0004E970 7C 08 03 A6 */ mtlr r0
/* 80051A14 0004E974 38 21 00 20 */ addi r1, r1, 0x20
/* 80051A18 0004E978 4E 80 00 20 */ blr
.global CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb
CreateControllerStatus__7MakeMsgF14EArchMsgTargetRCsRCb:
/* 80051A1C 0004E97C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80051A20 0004E980 7C 08 02 A6 */ mflr r0
/* 80051A24 0004E984 3C E0 80 3D */ lis r7, lbl_803CCF20@ha
/* 80051A28 0004E988 90 01 00 34 */ stw r0, 0x34(r1)
/* 80051A2C 0004E98C 38 07 CF 20 */ addi r0, r7, lbl_803CCF20@l
/* 80051A30 0004E990 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 80051A34 0004E994 7C 7B 1B 78 */ mr r27, r3
/* 80051A38 0004E998 7C 9C 23 78 */ mr r28, r4
/* 80051A3C 0004E99C 7C BD 2B 78 */ mr r29, r5
/* 80051A40 0004E9A0 7C DE 33 78 */ mr r30, r6
/* 80051A44 0004E9A4 7C 04 03 78 */ mr r4, r0
/* 80051A48 0004E9A8 38 60 00 08 */ li r3, 8
/* 80051A4C 0004E9AC 38 A0 00 00 */ li r5, 0
/* 80051A50 0004E9B0 48 2C 3E 1D */ bl __nw__FUlPCcPCc
/* 80051A54 0004E9B4 7C 7F 1B 79 */ or. r31, r3, r3
/* 80051A58 0004E9B8 41 82 00 14 */ beq lbl_80051A6C
/* 80051A5C 0004E9BC A8 9D 00 00 */ lha r4, 0(r29)
/* 80051A60 0004E9C0 88 BE 00 00 */ lbz r5, 0(r30)
/* 80051A64 0004E9C4 48 00 86 89 */ bl __ct__28CArchMsgParmControllerStatusFsb
/* 80051A68 0004E9C8 7C 7F 1B 78 */ mr r31, r3
lbl_80051A6C:
/* 80051A6C 0004E9CC 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
/* 80051A70 0004E9D0 38 60 00 08 */ li r3, 8
/* 80051A74 0004E9D4 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
/* 80051A78 0004E9D8 38 A0 00 00 */ li r5, 0
/* 80051A7C 0004E9DC 48 2C 3D F1 */ bl __nw__FUlPCcPCc
/* 80051A80 0004E9E0 28 03 00 00 */ cmplwi r3, 0
/* 80051A84 0004E9E4 41 82 00 10 */ beq lbl_80051A94
/* 80051A88 0004E9E8 93 E3 00 00 */ stw r31, 0(r3)
/* 80051A8C 0004E9EC 38 00 00 01 */ li r0, 1
/* 80051A90 0004E9F0 90 03 00 04 */ stw r0, 4(r3)
lbl_80051A94:
/* 80051A94 0004E9F4 90 61 00 08 */ stw r3, 8(r1)
/* 80051A98 0004E9F8 38 00 00 07 */ li r0, 7
/* 80051A9C 0004E9FC 38 61 00 08 */ addi r3, r1, 8
/* 80051AA0 0004EA00 93 9B 00 00 */ stw r28, 0(r27)
/* 80051AA4 0004EA04 90 1B 00 04 */ stw r0, 4(r27)
/* 80051AA8 0004EA08 80 01 00 08 */ lwz r0, 8(r1)
/* 80051AAC 0004EA0C 90 1B 00 08 */ stw r0, 8(r27)
/* 80051AB0 0004EA10 80 BB 00 08 */ lwz r5, 8(r27)
/* 80051AB4 0004EA14 80 85 00 04 */ lwz r4, 4(r5)
/* 80051AB8 0004EA18 38 04 00 01 */ addi r0, r4, 1
/* 80051ABC 0004EA1C 90 05 00 04 */ stw r0, 4(r5)
/* 80051AC0 0004EA20 4B FB 6C 4D */ bl sub_8000870c
/* 80051AC4 0004EA24 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 80051AC8 0004EA28 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80051ACC 0004EA2C 7C 08 03 A6 */ mtlr r0
/* 80051AD0 0004EA30 38 21 00 30 */ addi r1, r1, 0x30
/* 80051AD4 0004EA34 4E 80 00 20 */ blr
.global GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage
GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage:
/* 80051AD8 0004EA38 80 63 00 08 */ lwz r3, 8(r3)
/* 80051ADC 0004EA3C 80 63 00 00 */ lwz r3, 0(r3)
/* 80051AE0 0004EA40 4E 80 00 20 */ blr
.global GetParmUserInput__7MakeMsgFRC20CArchitectureMessage
GetParmUserInput__7MakeMsgFRC20CArchitectureMessage:
/* 80051AE4 0004EA44 80 63 00 08 */ lwz r3, 8(r3)
/* 80051AE8 0004EA48 80 63 00 00 */ lwz r3, 0(r3)
/* 80051AEC 0004EA4C 4E 80 00 20 */ blr
.global CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput
CreateUserInput__7MakeMsgF14EArchMsgTargetRC11CFinalInput:
/* 80051AF0 0004EA50 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051AF4 0004EA54 7C 08 02 A6 */ mflr r0
/* 80051AF8 0004EA58 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
/* 80051AFC 0004EA5C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80051B00 0004EA60 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
/* 80051B04 0004EA64 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80051B08 0004EA68 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80051B0C 0004EA6C 7C BE 2B 78 */ mr r30, r5
/* 80051B10 0004EA70 38 A0 00 00 */ li r5, 0
/* 80051B14 0004EA74 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80051B18 0004EA78 7C 9D 23 78 */ mr r29, r4
/* 80051B1C 0004EA7C 7C 04 03 78 */ mr r4, r0
/* 80051B20 0004EA80 93 81 00 10 */ stw r28, 0x10(r1)
/* 80051B24 0004EA84 7C 7C 1B 78 */ mr r28, r3
/* 80051B28 0004EA88 38 60 00 34 */ li r3, 0x34
/* 80051B2C 0004EA8C 48 2C 3D 41 */ bl __nw__FUlPCcPCc
/* 80051B30 0004EA90 7C 7F 1B 79 */ or. r31, r3, r3
/* 80051B34 0004EA94 41 82 00 10 */ beq lbl_80051B44
/* 80051B38 0004EA98 7F C4 F3 78 */ mr r4, r30
/* 80051B3C 0004EA9C 4B FC 9F 0D */ bl __ct__21CArchMsgParmUserInputFRC11CFinalInput
/* 80051B40 0004EAA0 7C 7F 1B 78 */ mr r31, r3
lbl_80051B44:
/* 80051B44 0004EAA4 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
/* 80051B48 0004EAA8 38 60 00 08 */ li r3, 8
/* 80051B4C 0004EAAC 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
/* 80051B50 0004EAB0 38 A0 00 00 */ li r5, 0
/* 80051B54 0004EAB4 48 2C 3D 19 */ bl __nw__FUlPCcPCc
/* 80051B58 0004EAB8 28 03 00 00 */ cmplwi r3, 0
/* 80051B5C 0004EABC 41 82 00 10 */ beq lbl_80051B6C
/* 80051B60 0004EAC0 93 E3 00 00 */ stw r31, 0(r3)
/* 80051B64 0004EAC4 38 00 00 01 */ li r0, 1
/* 80051B68 0004EAC8 90 03 00 04 */ stw r0, 4(r3)
lbl_80051B6C:
/* 80051B6C 0004EACC 90 61 00 08 */ stw r3, 8(r1)
/* 80051B70 0004EAD0 38 00 00 05 */ li r0, 5
/* 80051B74 0004EAD4 38 61 00 08 */ addi r3, r1, 8
/* 80051B78 0004EAD8 93 BC 00 00 */ stw r29, 0(r28)
/* 80051B7C 0004EADC 90 1C 00 04 */ stw r0, 4(r28)
/* 80051B80 0004EAE0 80 01 00 08 */ lwz r0, 8(r1)
/* 80051B84 0004EAE4 90 1C 00 08 */ stw r0, 8(r28)
/* 80051B88 0004EAE8 80 BC 00 08 */ lwz r5, 8(r28)
/* 80051B8C 0004EAEC 80 85 00 04 */ lwz r4, 4(r5)
/* 80051B90 0004EAF0 38 04 00 01 */ addi r0, r4, 1
/* 80051B94 0004EAF4 90 05 00 04 */ stw r0, 4(r5)
/* 80051B98 0004EAF8 4B FB 6B 75 */ bl sub_8000870c
/* 80051B9C 0004EAFC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80051BA0 0004EB00 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051BA4 0004EB04 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80051BA8 0004EB08 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80051BAC 0004EB0C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80051BB0 0004EB10 7C 08 03 A6 */ mtlr r0
/* 80051BB4 0004EB14 38 21 00 20 */ addi r1, r1, 0x20
/* 80051BB8 0004EB18 4E 80 00 20 */ blr
.global GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage
GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage:
/* 80051BBC 0004EB1C 80 63 00 08 */ lwz r3, 8(r3)
/* 80051BC0 0004EB20 80 63 00 00 */ lwz r3, 0(r3)
/* 80051BC4 0004EB24 4E 80 00 20 */ blr
.global CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf
CreateTimerTick__7MakeMsgF14EArchMsgTargetRCf:
/* 80051BC8 0004EB28 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80051BCC 0004EB2C 7C 08 02 A6 */ mflr r0
/* 80051BD0 0004EB30 3C C0 80 3D */ lis r6, lbl_803CCF20@ha
/* 80051BD4 0004EB34 90 01 00 24 */ stw r0, 0x24(r1)
/* 80051BD8 0004EB38 38 06 CF 20 */ addi r0, r6, lbl_803CCF20@l
/* 80051BDC 0004EB3C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80051BE0 0004EB40 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80051BE4 0004EB44 7C BE 2B 78 */ mr r30, r5
/* 80051BE8 0004EB48 38 A0 00 00 */ li r5, 0
/* 80051BEC 0004EB4C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80051BF0 0004EB50 7C 9D 23 78 */ mr r29, r4
/* 80051BF4 0004EB54 7C 04 03 78 */ mr r4, r0
/* 80051BF8 0004EB58 93 81 00 10 */ stw r28, 0x10(r1)
/* 80051BFC 0004EB5C 7C 7C 1B 78 */ mr r28, r3
/* 80051C00 0004EB60 38 60 00 08 */ li r3, 8
/* 80051C04 0004EB64 48 2C 3C 69 */ bl __nw__FUlPCcPCc
/* 80051C08 0004EB68 7C 7F 1B 79 */ or. r31, r3, r3
/* 80051C0C 0004EB6C 41 82 00 10 */ beq lbl_80051C1C
/* 80051C10 0004EB70 C0 3E 00 00 */ lfs f1, 0(r30)
/* 80051C14 0004EB74 4B FF FB 89 */ bl __ct__18CArchMsgParmReal32Ff
/* 80051C18 0004EB78 7C 7F 1B 78 */ mr r31, r3
lbl_80051C1C:
/* 80051C1C 0004EB7C 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
/* 80051C20 0004EB80 38 60 00 08 */ li r3, 8
/* 80051C24 0004EB84 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
/* 80051C28 0004EB88 38 A0 00 00 */ li r5, 0
/* 80051C2C 0004EB8C 48 2C 3C 41 */ bl __nw__FUlPCcPCc
/* 80051C30 0004EB90 28 03 00 00 */ cmplwi r3, 0
/* 80051C34 0004EB94 41 82 00 10 */ beq lbl_80051C44
/* 80051C38 0004EB98 93 E3 00 00 */ stw r31, 0(r3)
/* 80051C3C 0004EB9C 38 00 00 01 */ li r0, 1
/* 80051C40 0004EBA0 90 03 00 04 */ stw r0, 4(r3)
lbl_80051C44:
/* 80051C44 0004EBA4 90 61 00 08 */ stw r3, 8(r1)
/* 80051C48 0004EBA8 38 00 00 04 */ li r0, 4
/* 80051C4C 0004EBAC 38 61 00 08 */ addi r3, r1, 8
/* 80051C50 0004EBB0 93 BC 00 00 */ stw r29, 0(r28)
/* 80051C54 0004EBB4 90 1C 00 04 */ stw r0, 4(r28)
/* 80051C58 0004EBB8 80 01 00 08 */ lwz r0, 8(r1)
/* 80051C5C 0004EBBC 90 1C 00 08 */ stw r0, 8(r28)
/* 80051C60 0004EBC0 80 BC 00 08 */ lwz r5, 8(r28)
/* 80051C64 0004EBC4 80 85 00 04 */ lwz r4, 4(r5)
/* 80051C68 0004EBC8 38 04 00 01 */ addi r0, r4, 1
/* 80051C6C 0004EBCC 90 05 00 04 */ stw r0, 4(r5)
/* 80051C70 0004EBD0 4B FB 6A 9D */ bl sub_8000870c
/* 80051C74 0004EBD4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80051C78 0004EBD8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80051C7C 0004EBDC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80051C80 0004EBE0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80051C84 0004EBE4 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80051C88 0004EBE8 7C 08 03 A6 */ mtlr r0
/* 80051C8C 0004EBEC 38 21 00 20 */ addi r1, r1, 0x20
/* 80051C90 0004EBF0 4E 80 00 20 */ blr
.global GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage
GetParmChangeIOWinPriority__7MakeMsgFRC20CArchitectureMessage:
/* 80051C94 0004EBF4 80 63 00 08 */ lwz r3, 8(r3)
/* 80051C98 0004EBF8 80 63 00 00 */ lwz r3, 0(r3)
/* 80051C9C 0004EBFC 4E 80 00 20 */ blr
.global GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage
GetParmCreateIOWin__7MakeMsgFRC20CArchitectureMessage:
/* 80051CA0 0004EC00 80 63 00 08 */ lwz r3, 8(r3)
/* 80051CA4 0004EC04 80 63 00 00 */ lwz r3, 0(r3)
/* 80051CA8 0004EC08 4E 80 00 20 */ blr
.global CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin:
/* 80051CAC 0004EC0C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80051CB0 0004EC10 7C 08 02 A6 */ mflr r0
/* 80051CB4 0004EC14 3D 00 80 3D */ lis r8, lbl_803CCF20@ha
/* 80051CB8 0004EC18 90 01 00 34 */ stw r0, 0x34(r1)
/* 80051CBC 0004EC1C 38 08 CF 20 */ addi r0, r8, lbl_803CCF20@l
/* 80051CC0 0004EC20 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 80051CC4 0004EC24 7C 7A 1B 78 */ mr r26, r3
/* 80051CC8 0004EC28 7C 9B 23 78 */ mr r27, r4
/* 80051CCC 0004EC2C 7C BC 2B 78 */ mr r28, r5
/* 80051CD0 0004EC30 7C DD 33 78 */ mr r29, r6
/* 80051CD4 0004EC34 7C FE 3B 78 */ mr r30, r7
/* 80051CD8 0004EC38 7C 04 03 78 */ mr r4, r0
/* 80051CDC 0004EC3C 38 60 00 10 */ li r3, 0x10
/* 80051CE0 0004EC40 38 A0 00 00 */ li r5, 0
/* 80051CE4 0004EC44 48 2C 3B 89 */ bl __nw__FUlPCcPCc
/* 80051CE8 0004EC48 7C 7F 1B 79 */ or. r31, r3, r3
/* 80051CEC 0004EC4C 41 82 00 18 */ beq lbl_80051D04
/* 80051CF0 0004EC50 80 9C 00 00 */ lwz r4, 0(r28)
/* 80051CF4 0004EC54 80 BD 00 00 */ lwz r5, 0(r29)
/* 80051CF8 0004EC58 80 DE 00 00 */ lwz r6, 0(r30)
/* 80051CFC 0004EC5C 4B FF F9 A5 */ bl __ct__29CArchMsgParmInt32Int32VoidPtrFiiPCv
/* 80051D00 0004EC60 7C 7F 1B 78 */ mr r31, r3
lbl_80051D04:
/* 80051D04 0004EC64 3C 80 80 3D */ lis r4, lbl_803CCF20@ha
/* 80051D08 0004EC68 38 60 00 08 */ li r3, 8
/* 80051D0C 0004EC6C 38 84 CF 20 */ addi r4, r4, lbl_803CCF20@l
/* 80051D10 0004EC70 38 A0 00 00 */ li r5, 0
/* 80051D14 0004EC74 48 2C 3B 59 */ bl __nw__FUlPCcPCc
/* 80051D18 0004EC78 28 03 00 00 */ cmplwi r3, 0
/* 80051D1C 0004EC7C 41 82 00 10 */ beq lbl_80051D2C
/* 80051D20 0004EC80 93 E3 00 00 */ stw r31, 0(r3)
/* 80051D24 0004EC84 38 00 00 01 */ li r0, 1
/* 80051D28 0004EC88 90 03 00 04 */ stw r0, 4(r3)
lbl_80051D2C:
/* 80051D2C 0004EC8C 90 61 00 08 */ stw r3, 8(r1)
/* 80051D30 0004EC90 38 00 00 01 */ li r0, 1
/* 80051D34 0004EC94 38 61 00 08 */ addi r3, r1, 8
/* 80051D38 0004EC98 93 7A 00 00 */ stw r27, 0(r26)
/* 80051D3C 0004EC9C 90 1A 00 04 */ stw r0, 4(r26)
/* 80051D40 0004ECA0 80 01 00 08 */ lwz r0, 8(r1)
/* 80051D44 0004ECA4 90 1A 00 08 */ stw r0, 8(r26)
/* 80051D48 0004ECA8 80 BA 00 08 */ lwz r5, 8(r26)
/* 80051D4C 0004ECAC 80 85 00 04 */ lwz r4, 4(r5)
/* 80051D50 0004ECB0 38 04 00 01 */ addi r0, r4, 1
/* 80051D54 0004ECB4 90 05 00 04 */ stw r0, 4(r5)
/* 80051D58 0004ECB8 4B FB 69 B5 */ bl sub_8000870c
/* 80051D5C 0004ECBC BB 41 00 18 */ lmw r26, 0x18(r1)
/* 80051D60 0004ECC0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80051D64 0004ECC4 7C 08 03 A6 */ mtlr r0
/* 80051D68 0004ECC8 38 21 00 30 */ addi r1, r1, 0x30
/* 80051D6C 0004ECCC 4E 80 00 20 */ blr
.global GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage
GetParmDeleteIOWin__7MakeMsgFRC20CArchitectureMessage:
/* 80051D70 0004ECD0 80 63 00 08 */ lwz r3, 8(r3)
/* 80051D74 0004ECD4 80 63 00 00 */ lwz r3, 0(r3)
/* 80051D78 0004ECD8 4E 80 00 20 */ blr

View File

@ -0,0 +1,256 @@
.include "macros.inc"
.section .text, "ax"
.global "CastTo<8CWarWasp>__10CPatternedFP7CEntity"
"CastTo<8CWarWasp>__10CPatternedFP7CEntity":
/* 800A533C 000A229C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A5340 000A22A0 7C 08 02 A6 */ mflr r0
/* 800A5344 000A22A4 7C 64 1B 78 */ mr r4, r3
/* 800A5348 000A22A8 38 60 00 27 */ li r3, 0x27
/* 800A534C 000A22AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A5350 000A22B0 80 84 00 00 */ lwz r4, 0(r4)
/* 800A5354 000A22B4 48 00 02 59 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A5358 000A22B8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A535C 000A22BC 7C 08 03 A6 */ mtlr r0
/* 800A5360 000A22C0 38 21 00 10 */ addi r1, r1, 0x10
/* 800A5364 000A22C4 4E 80 00 20 */ blr
.global sub_800a5368
sub_800a5368:
/* 800A5368 000A22C8 90 83 00 00 */ stw r4, 0(r3)
/* 800A536C 000A22CC 4E 80 00 20 */ blr
.global "CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity"
"CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity":
/* 800A5370 000A22D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A5374 000A22D4 7C 08 02 A6 */ mflr r0
/* 800A5378 000A22D8 7C 64 1B 78 */ mr r4, r3
/* 800A537C 000A22DC 38 60 00 25 */ li r3, 0x25
/* 800A5380 000A22E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A5384 000A22E4 80 84 00 00 */ lwz r4, 0(r4)
/* 800A5388 000A22E8 48 00 02 25 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A538C 000A22EC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A5390 000A22F0 7C 08 03 A6 */ mtlr r0
/* 800A5394 000A22F4 38 21 00 10 */ addi r1, r1, 0x10
/* 800A5398 000A22F8 4E 80 00 20 */ blr
.global sub_800a539c
sub_800a539c:
/* 800A539C 000A22FC 90 83 00 00 */ stw r4, 0(r3)
/* 800A53A0 000A2300 4E 80 00 20 */ blr
.global "CastTo<12CSpacePirate>__10CPatternedFP7CEntity"
"CastTo<12CSpacePirate>__10CPatternedFP7CEntity":
/* 800A53A4 000A2304 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A53A8 000A2308 7C 08 02 A6 */ mflr r0
/* 800A53AC 000A230C 7C 64 1B 78 */ mr r4, r3
/* 800A53B0 000A2310 38 60 00 22 */ li r3, 0x22
/* 800A53B4 000A2314 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A53B8 000A2318 80 84 00 00 */ lwz r4, 0(r4)
/* 800A53BC 000A231C 48 00 01 F1 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A53C0 000A2320 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A53C4 000A2324 7C 08 03 A6 */ mtlr r0
/* 800A53C8 000A2328 38 21 00 10 */ addi r1, r1, 0x10
/* 800A53CC 000A232C 4E 80 00 20 */ blr
.global sub_800a53d0
sub_800a53d0:
/* 800A53D0 000A2330 90 83 00 00 */ stw r4, 0(r3)
/* 800A53D4 000A2334 4E 80 00 20 */ blr
.global "CastTo<11CPuddleToad>__10CPatternedFP7CEntity"
"CastTo<11CPuddleToad>__10CPatternedFP7CEntity":
/* 800A53D8 000A2338 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A53DC 000A233C 7C 08 02 A6 */ mflr r0
/* 800A53E0 000A2340 7C 64 1B 78 */ mr r4, r3
/* 800A53E4 000A2344 38 60 00 1C */ li r3, 0x1c
/* 800A53E8 000A2348 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A53EC 000A234C 80 84 00 00 */ lwz r4, 0(r4)
/* 800A53F0 000A2350 48 00 01 BD */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A53F4 000A2354 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A53F8 000A2358 7C 08 03 A6 */ mtlr r0
/* 800A53FC 000A235C 38 21 00 10 */ addi r1, r1, 0x10
/* 800A5400 000A2360 4E 80 00 20 */ blr
.global sub_800a5404
sub_800a5404:
/* 800A5404 000A2364 90 83 00 00 */ stw r4, 0(r3)
/* 800A5408 000A2368 4E 80 00 20 */ blr
.global "CastTo<9CParasite>__10CPatternedFP7CEntity"
"CastTo<9CParasite>__10CPatternedFP7CEntity":
/* 800A540C 000A236C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A5410 000A2370 7C 08 02 A6 */ mflr r0
/* 800A5414 000A2374 7C 64 1B 78 */ mr r4, r3
/* 800A5418 000A2378 38 60 00 18 */ li r3, 0x18
/* 800A541C 000A237C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A5420 000A2380 80 84 00 00 */ lwz r4, 0(r4)
/* 800A5424 000A2384 48 00 01 89 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A5428 000A2388 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A542C 000A238C 7C 08 03 A6 */ mtlr r0
/* 800A5430 000A2390 38 21 00 10 */ addi r1, r1, 0x10
/* 800A5434 000A2394 4E 80 00 20 */ blr
.global sub_800a5438
sub_800a5438:
/* 800A5438 000A2398 90 83 00 00 */ stw r4, 0(r3)
/* 800A543C 000A239C 4E 80 00 20 */ blr
.global "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity"
"CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity":
/* 800A5440 000A23A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A5444 000A23A4 7C 08 02 A6 */ mflr r0
/* 800A5448 000A23A8 7C 64 1B 78 */ mr r4, r3
/* 800A544C 000A23AC 38 60 00 15 */ li r3, 0x15
/* 800A5450 000A23B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A5454 000A23B4 80 84 00 00 */ lwz r4, 0(r4)
/* 800A5458 000A23B8 48 00 01 55 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A545C 000A23BC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A5460 000A23C0 7C 08 03 A6 */ mtlr r0
/* 800A5464 000A23C4 38 21 00 10 */ addi r1, r1, 0x10
/* 800A5468 000A23C8 4E 80 00 20 */ blr
.global sub_800a546c
sub_800a546c:
/* 800A546C 000A23CC 90 83 00 00 */ stw r4, 0(r3)
/* 800A5470 000A23D0 4E 80 00 20 */ blr
.global "CastTo<12CMetroidBeta>__10CPatternedFP7CEntity"
"CastTo<12CMetroidBeta>__10CPatternedFP7CEntity":
/* 800A5474 000A23D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A5478 000A23D8 7C 08 02 A6 */ mflr r0
/* 800A547C 000A23DC 7C 64 1B 78 */ mr r4, r3
/* 800A5480 000A23E0 38 60 00 14 */ li r3, 0x14
/* 800A5484 000A23E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A5488 000A23E8 80 84 00 00 */ lwz r4, 0(r4)
/* 800A548C 000A23EC 48 00 01 21 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A5490 000A23F0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A5494 000A23F4 7C 08 03 A6 */ mtlr r0
/* 800A5498 000A23F8 38 21 00 10 */ addi r1, r1, 0x10
/* 800A549C 000A23FC 4E 80 00 20 */ blr
.global sub_800a54a0
sub_800a54a0:
/* 800A54A0 000A2400 90 83 00 00 */ stw r4, 0(r3)
/* 800A54A4 000A2404 4E 80 00 20 */ blr
.global "CastTo<8CMetroid>__10CPatternedFP7CEntity"
"CastTo<8CMetroid>__10CPatternedFP7CEntity":
/* 800A54A8 000A2408 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A54AC 000A240C 7C 08 02 A6 */ mflr r0
/* 800A54B0 000A2410 7C 64 1B 78 */ mr r4, r3
/* 800A54B4 000A2414 38 60 00 13 */ li r3, 0x13
/* 800A54B8 000A2418 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A54BC 000A241C 80 84 00 00 */ lwz r4, 0(r4)
/* 800A54C0 000A2420 48 00 00 ED */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A54C4 000A2424 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A54C8 000A2428 7C 08 03 A6 */ mtlr r0
/* 800A54CC 000A242C 38 21 00 10 */ addi r1, r1, 0x10
/* 800A54D0 000A2430 4E 80 00 20 */ blr
.global sub_800a54d4
sub_800a54d4:
/* 800A54D4 000A2434 90 83 00 00 */ stw r4, 0(r3)
/* 800A54D8 000A2438 4E 80 00 20 */ blr
.global "CastTo<9CJellyZap>__10CPatternedFP7CEntity"
"CastTo<9CJellyZap>__10CPatternedFP7CEntity":
/* 800A54DC 000A243C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A54E0 000A2440 7C 08 02 A6 */ mflr r0
/* 800A54E4 000A2444 7C 64 1B 78 */ mr r4, r3
/* 800A54E8 000A2448 38 60 00 10 */ li r3, 0x10
/* 800A54EC 000A244C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A54F0 000A2450 80 84 00 00 */ lwz r4, 0(r4)
/* 800A54F4 000A2454 48 00 00 B9 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A54F8 000A2458 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A54FC 000A245C 7C 08 03 A6 */ mtlr r0
/* 800A5500 000A2460 38 21 00 10 */ addi r1, r1, 0x10
/* 800A5504 000A2464 4E 80 00 20 */ blr
.global sub_800a5508
sub_800a5508:
/* 800A5508 000A2468 90 83 00 00 */ stw r4, 0(r3)
/* 800A550C 000A246C 4E 80 00 20 */ blr
.global "CastTo<12CIceSheegoth>__10CPatternedFP7CEntity"
"CastTo<12CIceSheegoth>__10CPatternedFP7CEntity":
/* 800A5510 000A2470 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A5514 000A2474 7C 08 02 A6 */ mflr r0
/* 800A5518 000A2478 7C 64 1B 78 */ mr r4, r3
/* 800A551C 000A247C 38 60 00 0F */ li r3, 0xf
/* 800A5520 000A2480 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A5524 000A2484 80 84 00 00 */ lwz r4, 0(r4)
/* 800A5528 000A2488 48 00 00 85 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A552C 000A248C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A5530 000A2490 7C 08 03 A6 */ mtlr r0
/* 800A5534 000A2494 38 21 00 10 */ addi r1, r1, 0x10
/* 800A5538 000A2498 4E 80 00 20 */ blr
.global sub_800a553c
sub_800a553c:
/* 800A553C 000A249C 90 83 00 00 */ stw r4, 0(r3)
/* 800A5540 000A24A0 4E 80 00 20 */ blr
.global "CastTo<11CFlickerBat>__10CPatternedFP7CEntity"
"CastTo<11CFlickerBat>__10CPatternedFP7CEntity":
/* 800A5544 000A24A4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A5548 000A24A8 7C 08 02 A6 */ mflr r0
/* 800A554C 000A24AC 7C 64 1B 78 */ mr r4, r3
/* 800A5550 000A24B0 38 60 00 0D */ li r3, 0xd
/* 800A5554 000A24B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A5558 000A24B8 80 84 00 00 */ lwz r4, 0(r4)
/* 800A555C 000A24BC 48 00 00 51 */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A5560 000A24C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A5564 000A24C4 7C 08 03 A6 */ mtlr r0
/* 800A5568 000A24C8 38 21 00 10 */ addi r1, r1, 0x10
/* 800A556C 000A24CC 4E 80 00 20 */ blr
.global sub_800a5570
sub_800a5570:
/* 800A5570 000A24D0 90 83 00 00 */ stw r4, 0(r3)
/* 800A5574 000A24D4 4E 80 00 20 */ blr
.global "CastTo<11CEnergyBall>__10CPatternedFP7CEntity"
"CastTo<11CEnergyBall>__10CPatternedFP7CEntity":
/* 800A5578 000A24D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800A557C 000A24DC 7C 08 02 A6 */ mflr r0
/* 800A5580 000A24E0 7C 64 1B 78 */ mr r4, r3
/* 800A5584 000A24E4 38 60 00 28 */ li r3, 0x28
/* 800A5588 000A24E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800A558C 000A24EC 80 84 00 00 */ lwz r4, 0(r4)
/* 800A5590 000A24F0 48 00 00 1D */ bl CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
/* 800A5594 000A24F4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800A5598 000A24F8 7C 08 03 A6 */ mtlr r0
/* 800A559C 000A24FC 38 21 00 10 */ addi r1, r1, 0x10
/* 800A55A0 000A2500 4E 80 00 20 */ blr
.global sub_800a55a4
sub_800a55a4:
/* 800A55A4 000A2504 90 83 00 00 */ stw r4, 0(r3)
/* 800A55A8 000A2508 4E 80 00 20 */ blr
.global CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity
CastPatternedCharacter__FQ210CPatterned10ECharacterP7CEntity:
/* 800A55AC 000A250C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800A55B0 000A2510 7C 08 02 A6 */ mflr r0
/* 800A55B4 000A2514 90 01 00 24 */ stw r0, 0x24(r1)
/* 800A55B8 000A2518 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800A55BC 000A251C 7C 7F 1B 78 */ mr r31, r3
/* 800A55C0 000A2520 38 61 00 08 */ addi r3, r1, 8
/* 800A55C4 000A2524 48 00 74 99 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity"
/* 800A55C8 000A2528 80 63 00 04 */ lwz r3, 4(r3)
/* 800A55CC 000A252C 28 03 00 00 */ cmplwi r3, 0
/* 800A55D0 000A2530 41 82 00 14 */ beq lbl_800A55E4
/* 800A55D4 000A2534 80 03 03 4C */ lwz r0, 0x34c(r3)
/* 800A55D8 000A2538 7C 1F 00 00 */ cmpw r31, r0
/* 800A55DC 000A253C 40 82 00 08 */ bne lbl_800A55E4
/* 800A55E0 000A2540 48 00 00 08 */ b lbl_800A55E8
lbl_800A55E4:
/* 800A55E4 000A2544 38 60 00 00 */ li r3, 0
lbl_800A55E8:
/* 800A55E8 000A2548 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800A55EC 000A254C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800A55F0 000A2550 7C 08 03 A6 */ mtlr r0
/* 800A55F4 000A2554 38 21 00 20 */ addi r1, r1, 0x20
/* 800A55F8 000A2558 4E 80 00 20 */ blr

20037
asm/Kyoto_CWD/TCastTo.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4353,9 +4353,9 @@ lbl_800061F8:
/* 80006514 00003474 38 7F 00 5C */ addi r3, r31, 0x5c
/* 80006518 00003478 38 84 50 57 */ addi r4, r4, 0x4D415057@l
/* 8000651C 0000347C 48 33 28 85 */ bl AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn
/* 80006520 00003480 3C 60 80 08 */ lis r3, FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer_0@ha
/* 80006520 00003480 3C 60 80 08 */ lis r3, FMapAreaFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer@ha
/* 80006524 00003484 3C 80 4D 41 */ lis r4, 0x4D415041@ha
/* 80006528 00003488 38 A3 01 90 */ addi r5, r3, FMapWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer_0@l
/* 80006528 00003488 38 A3 01 90 */ addi r5, r3, FMapAreaFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer@l
/* 8000652C 0000348C 38 7F 00 5C */ addi r3, r31, 0x5c
/* 80006530 00003490 38 84 50 41 */ addi r4, r4, 0x4D415041@l
/* 80006534 00003494 48 33 28 6D */ bl AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn

View File

@ -0,0 +1,7 @@
#ifndef __USERNAMES_HPP_
#define __USERNAMES_HPP_
#include "types.h"
bool IsUser(int name);
#endif // __USERNAMES_HPP_

View File

@ -35,6 +35,55 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CGameProjectile.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayerGun.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CStateManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CEntity.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmInt32.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmInt32Int32VoidPtr.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmNull.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmReal32.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Decode.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CIOWinManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CIOWin.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CActor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CWorld.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakParticle.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Clamp_int.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmControllerStatus.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CExplosion.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CGameCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CGameArea.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CSamusHud.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAnimationDatabaseGame.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTransitionDatabaseGame.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakPlayerControl.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakPlayerGun.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPauseScreenBase.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPauseScreen.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakGui.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptActor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptTrigger.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPatterned.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptDoor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CStateMachine.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMapArea.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CBallCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptEffect.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CBomb.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakBall.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayerState.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptTimer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCinematicCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAutoMapper.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptCounter.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMapWorld.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAi.o\
$(BUILD_DIR)/asm/Kyoto_CWD/PatternedCastTo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/TCastTo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptSound.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptPlatform.o\
$(BUILD_DIR)/src/Kyoto_CWD/UserNames.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptGenerator.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptCameraWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CWeaponMgr.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptPickup.o\

View File

@ -0,0 +1,7 @@
#include "types.h"
#include "Kyoto_CWD/UserNames.hpp"
bool IsUser(int name) {
return name == 1;
}