.include "macros.inc" .section .data .global lbl_803DAE70 lbl_803DAE70: # ROM: 0x3D7E70 .4byte 0 .4byte 0 .4byte __dt__11CAutoMapperFv .global lbl_803DAE7C lbl_803DAE7C: # ROM: 0x3D7E7C .4byte lbl_8009A128 .4byte lbl_8009A0CC .4byte lbl_8009A0D8 .4byte lbl_8009A128 .4byte lbl_8009A0E4 .4byte lbl_8009A0F0 .4byte lbl_8009A0FC .4byte lbl_8009A128 .4byte lbl_8009A108 .4byte lbl_8009A114 .4byte lbl_8009A120 .global lbl_803DAEA8 lbl_803DAEA8: # ROM: 0x3D7EA8 .4byte lbl_8009A844 .4byte lbl_8009A7E8 .4byte lbl_8009A7F4 .4byte lbl_8009A844 .4byte lbl_8009A800 .4byte lbl_8009A80C .4byte lbl_8009A818 .4byte lbl_8009A844 .4byte lbl_8009A824 .4byte lbl_8009A830 .4byte lbl_8009A83C .global lbl_803DAED4 lbl_803DAED4: # ROM: 0x3D7ED4 .4byte lbl_8009B94C .4byte lbl_8009BA90 .4byte lbl_8009BBA4 .4byte lbl_8009BBF4 .4byte lbl_8009BC40 .4byte lbl_8009BE8C .4byte lbl_8009BD9C .section .sdata .global lbl_805A7168 lbl_805A7168: # ROM: 0x3F4B08 .4byte 0 .global lbl_805A716C lbl_805A716C: # ROM: 0x3F4B0C .float 1.0 .global lbl_805A7170 lbl_805A7170: # ROM: 0x3F4B10 .4byte 0 .global lbl_805A7174 lbl_805A7174: # ROM: 0x3F4B14 .float 1.0 .global lbl_805A7178 lbl_805A7178: # ROM: 0x3F4B18 .4byte 0 .global lbl_805A717C lbl_805A717C: # ROM: 0x3F4B1C .float 1.0 .global lbl_805A7180 lbl_805A7180: # ROM: 0x3F4B20 .4byte 0 .global lbl_805A7184 lbl_805A7184: # ROM: 0x3F4B24 .float 1.0 .global lbl_805A7188 lbl_805A7188: # ROM: 0x3F4B28 .4byte 0 .global lbl_805A718C lbl_805A718C: # ROM: 0x3F4B2C .float 1.0 .global lbl_805A7190 lbl_805A7190: # ROM: 0x3F4B30 .4byte 0 .global lbl_805A7194 lbl_805A7194: # ROM: 0x3F4B34 .float 1.0 .global lbl_805A7198 lbl_805A7198: # ROM: 0x3F4B38 .4byte 0 .global lbl_805A719C lbl_805A719C: # ROM: 0x3F4B3C .4byte 0 .global lbl_805A71A0 lbl_805A71A0: # ROM: 0x3F4B40 .float 1.0 .global lbl_805A71A4 lbl_805A71A4: # ROM: 0x3F4B44 .float 1.0 .global lbl_805A71A8 lbl_805A71A8: # ROM: 0x3F4B48 .4byte 0 .global lbl_805A71AC lbl_805A71AC: # ROM: 0x3F4B4C .float 1.0 .global lbl_805A71B0 lbl_805A71B0: # ROM: 0x3F4B50 .4byte 0 .global lbl_805A71B4 lbl_805A71B4: # ROM: 0x3F4B54 .float 1.0 .global lbl_805A71B8 lbl_805A71B8: # ROM: 0x3F4B58 .4byte 0 .global lbl_805A71BC lbl_805A71BC: # ROM: 0x3F4B5C .4byte 0 .section .sdata2, "a" .global lbl_805AA880 lbl_805AA880: # ROM: 0x3F7120 .4byte 0x803CD80C .global lbl_805AA884 lbl_805AA884: # ROM: 0x3F7124 .4byte 0x003B0000 .global lbl_805AA888 lbl_805AA888: # ROM: 0x3F7128 .4byte 0x003B0000 .global lbl_805AA88C lbl_805AA88C: # ROM: 0x3F712C .float 0.25 .global lbl_805AA890 lbl_805AA890: # ROM: 0x3F7130 .float 0.5 .global lbl_805AA894 lbl_805AA894: # ROM: 0x3F7134 .4byte 0x3FC90FDB .global lbl_805AA898 lbl_805AA898: # ROM: 0x3F7138 .float 6.2831855 .global lbl_805AA89C lbl_805AA89C: # ROM: 0x3F713C .4byte 0x3B360B61 .global lbl_805AA8A0 lbl_805AA8A0: # ROM: 0x3F7140 .float 1.0 .4byte 0 .global lbl_805AA8A8 lbl_805AA8A8: # ROM: 0x3F7148 .double 4.503601774854144E15 .global lbl_805AA8B0 lbl_805AA8B0: # ROM: 0x3F7150 .float 2.0 .global lbl_805AA8B4 lbl_805AA8B4: # ROM: 0x3F7154 .4byte 0x44200000 .global lbl_805AA8B8 lbl_805AA8B8: # ROM: 0x3F7158 .4byte 0x43F00000 .global lbl_805AA8BC lbl_805AA8BC: # ROM: 0x3F715C .4byte 0x46EA5E00 .global lbl_805AA8C0 lbl_805AA8C0: # ROM: 0x3F7160 .float 9999.0 .global lbl_805AA8C4 lbl_805AA8C4: # ROM: 0x3F7164 .4byte 0x3E22F983 .global lbl_805AA8C8 lbl_805AA8C8: # ROM: 0x3F7168 .4byte 0 .global lbl_805AA8CC lbl_805AA8CC: # ROM: 0x3F716C .float 0.017453292 .global lbl_805AA8D0 lbl_805AA8D0: # ROM: 0x3F7170 .4byte 0x3FE80000 .4byte 0 .global lbl_805AA8D8 lbl_805AA8D8: # ROM: 0x3F7178 .4byte 0x3EC00000 .global lbl_805AA8DC lbl_805AA8DC: # ROM: 0x3F717C .float 0.75 .global lbl_805AA8E0 lbl_805AA8E0: # ROM: 0x3F7180 .4byte 0xC1700000 .global lbl_805AA8E4 lbl_805AA8E4: # ROM: 0x3F7184 .4byte 0xC0600000 .global lbl_805AA8E8 lbl_805AA8E8: # ROM: 0x3F7188 .4byte 0xC0E00000 .global lbl_805AA8EC lbl_805AA8EC: # ROM: 0x3F718C .4byte 0x40400000 .global lbl_805AA8F0 lbl_805AA8F0: # ROM: 0x3F7190 .float 0.001 .global lbl_805AA8F4 lbl_805AA8F4: # ROM: 0x3F7194 .float 8.0 .global lbl_805AA8F8 lbl_805AA8F8: # ROM: 0x3F7198 .double 1.0 .global lbl_805AA900 lbl_805AA900: # ROM: 0x3F71A0 .float 4.0 .global lbl_805AA904 lbl_805AA904: # ROM: 0x3F71A4 .4byte 0x7F7FFFFF .global lbl_805AA908 lbl_805AA908: # ROM: 0x3F71A8 .float 5.0 .global lbl_805AA90C lbl_805AA90C: # ROM: 0x3F71AC .4byte 0x3F19999A .global lbl_805AA910 lbl_805AA910: # ROM: 0x3F71B0 .float 255.0 .global lbl_805AA914 lbl_805AA914: # ROM: 0x3F71B4 .4byte 0xC0800000 .global lbl_805AA918 lbl_805AA918: # ROM: 0x3F71B8 .4byte 0xC1000000 .global lbl_805AA91C lbl_805AA91C: # ROM: 0x3F71BC .4byte 0x3B000000 .global lbl_805AA920 lbl_805AA920: # ROM: 0x3F71C0 .4byte 0x43300000 .4byte 0 .global lbl_805AA928 lbl_805AA928: # ROM: 0x3F71C8 .4byte 0x42700000 .global lbl_805AA92C lbl_805AA92C: # ROM: 0x3F71CC .4byte 0x42652EE0 .global lbl_805AA930 lbl_805AA930: # ROM: 0x3F71D0 .4byte 0x43B40000 .global lbl_805AA934 lbl_805AA934: # ROM: 0x3F71D4 .4byte 0x43340000 .global lbl_805AA938 lbl_805AA938: # ROM: 0x3F71D8 .float 0.75 .global lbl_805AA93C lbl_805AA93C: # ROM: 0x3F71DC .float 1.0 .section .text, "ax" .global SetupMiniMapWorld__11CAutoMapperFv SetupMiniMapWorld__11CAutoMapperFv: /* 80095690 000925F0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80095694 000925F4 7C 08 02 A6 */ mflr r0 /* 80095698 000925F8 90 01 00 14 */ stw r0, 0x14(r1) /* 8009569C 000925FC 93 E1 00 0C */ stw r31, 0xc(r1) /* 800956A0 00092600 93 C1 00 08 */ stw r30, 8(r1) /* 800956A4 00092604 7C 7E 1B 78 */ mr r30, r3 /* 800956A8 00092608 83 E4 08 50 */ lwz r31, 0x850(r4) /* 800956AC 0009260C 7F E3 FB 78 */ mr r3, r31 /* 800956B0 00092610 4B FC 1F ED */ bl GetMapWorld__6CWorldCFv /* 800956B4 00092614 80 BF 00 68 */ lwz r5, 0x68(r31) /* 800956B8 00092618 7F E4 FB 78 */ mr r4, r31 /* 800956BC 0009261C 38 C0 00 03 */ li r6, 3 /* 800956C0 00092620 48 00 BB 49 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii /* 800956C4 00092624 38 00 00 03 */ li r0, 3 /* 800956C8 00092628 90 1E 03 28 */ stw r0, 0x328(r30) /* 800956CC 0009262C 80 01 00 14 */ lwz r0, 0x14(r1) /* 800956D0 00092630 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800956D4 00092634 83 C1 00 08 */ lwz r30, 8(r1) /* 800956D8 00092638 7C 08 03 A6 */ mtlr r0 /* 800956DC 0009263C 38 21 00 10 */ addi r1, r1, 0x10 /* 800956E0 00092640 4E 80 00 20 */ blr .global LeaveMapScreen__11CAutoMapperCFRC13CStateManager LeaveMapScreen__11CAutoMapperCFRC13CStateManager: /* 800956E4 00092644 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800956E8 00092648 7C 08 02 A6 */ mflr r0 /* 800956EC 0009264C 90 01 00 24 */ stw r0, 0x24(r1) /* 800956F0 00092650 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800956F4 00092654 7C 9F 23 78 */ mr r31, r4 /* 800956F8 00092658 93 C1 00 18 */ stw r30, 0x18(r1) /* 800956FC 0009265C 7C 7E 1B 78 */ mr r30, r3 /* 80095700 00092660 80 03 01 C0 */ lwz r0, 0x1c0(r3) /* 80095704 00092664 2C 00 00 02 */ cmpwi r0, 2 /* 80095708 00092668 40 82 00 28 */ bne lbl_80095730 /* 8009570C 0009266C 48 00 0B A9 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 80095710 00092670 D0 3E 01 30 */ stfs f1, 0x130(r30) /* 80095714 00092674 7F C3 F3 78 */ mr r3, r30 /* 80095718 00092678 7F E4 FB 78 */ mr r4, r31 /* 8009571C 0009267C D0 3E 01 34 */ stfs f1, 0x134(r30) /* 80095720 00092680 D0 3E 00 D4 */ stfs f1, 0xd4(r30) /* 80095724 00092684 D0 3E 00 D8 */ stfs f1, 0xd8(r30) /* 80095728 00092688 4B FF FF 69 */ bl SetupMiniMapWorld__11CAutoMapperFv /* 8009572C 0009268C 48 00 01 F8 */ b lbl_80095924 lbl_80095730: /* 80095730 00092690 38 00 00 02 */ li r0, 2 /* 80095734 00092694 38 61 00 08 */ addi r3, r1, 8 /* 80095738 00092698 90 1E 03 28 */ stw r0, 0x328(r30) /* 8009573C 0009269C 80 9E 00 A8 */ lwz r4, 0xa8(r30) /* 80095740 000926A0 80 1E 00 AC */ lwz r0, 0xac(r30) /* 80095744 000926A4 90 9E 01 04 */ stw r4, 0x104(r30) /* 80095748 000926A8 90 1E 01 08 */ stw r0, 0x108(r30) /* 8009574C 000926AC 80 9E 00 B0 */ lwz r4, 0xb0(r30) /* 80095750 000926B0 80 1E 00 B4 */ lwz r0, 0xb4(r30) /* 80095754 000926B4 90 9E 01 0C */ stw r4, 0x10c(r30) /* 80095758 000926B8 90 1E 01 10 */ stw r0, 0x110(r30) /* 8009575C 000926BC 80 9E 00 B8 */ lwz r4, 0xb8(r30) /* 80095760 000926C0 80 1E 00 BC */ lwz r0, 0xbc(r30) /* 80095764 000926C4 90 9E 01 14 */ stw r4, 0x114(r30) /* 80095768 000926C8 90 1E 01 18 */ stw r0, 0x118(r30) /* 8009576C 000926CC C0 1E 00 C0 */ lfs f0, 0xc0(r30) /* 80095770 000926D0 D0 1E 01 1C */ stfs f0, 0x11c(r30) /* 80095774 000926D4 C0 1E 00 C4 */ lfs f0, 0xc4(r30) /* 80095778 000926D8 D0 1E 01 20 */ stfs f0, 0x120(r30) /* 8009577C 000926DC 80 9E 00 C8 */ lwz r4, 0xc8(r30) /* 80095780 000926E0 80 1E 00 CC */ lwz r0, 0xcc(r30) /* 80095784 000926E4 90 9E 01 24 */ stw r4, 0x124(r30) /* 80095788 000926E8 90 1E 01 28 */ stw r0, 0x128(r30) /* 8009578C 000926EC 80 1E 00 D0 */ lwz r0, 0xd0(r30) /* 80095790 000926F0 90 1E 01 2C */ stw r0, 0x12c(r30) /* 80095794 000926F4 C0 1E 00 D4 */ lfs f0, 0xd4(r30) /* 80095798 000926F8 D0 1E 01 30 */ stfs f0, 0x130(r30) /* 8009579C 000926FC C0 1E 00 D8 */ lfs f0, 0xd8(r30) /* 800957A0 00092700 D0 1E 01 34 */ stfs f0, 0x134(r30) /* 800957A4 00092704 C0 1E 00 DC */ lfs f0, 0xdc(r30) /* 800957A8 00092708 D0 1E 01 38 */ stfs f0, 0x138(r30) /* 800957AC 0009270C C0 1E 00 E0 */ lfs f0, 0xe0(r30) /* 800957B0 00092710 D0 1E 01 3C */ stfs f0, 0x13c(r30) /* 800957B4 00092714 C0 1E 00 E4 */ lfs f0, 0xe4(r30) /* 800957B8 00092718 D0 1E 01 40 */ stfs f0, 0x140(r30) /* 800957BC 0009271C C0 1E 00 E8 */ lfs f0, 0xe8(r30) /* 800957C0 00092720 D0 1E 01 44 */ stfs f0, 0x144(r30) /* 800957C4 00092724 80 1E 00 EC */ lwz r0, 0xec(r30) /* 800957C8 00092728 90 1E 01 48 */ stw r0, 0x148(r30) /* 800957CC 0009272C 80 1E 00 F0 */ lwz r0, 0xf0(r30) /* 800957D0 00092730 90 1E 01 4C */ stw r0, 0x14c(r30) /* 800957D4 00092734 80 1E 00 F4 */ lwz r0, 0xf4(r30) /* 800957D8 00092738 90 1E 01 50 */ stw r0, 0x150(r30) /* 800957DC 0009273C 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 800957E0 00092740 90 1E 01 54 */ stw r0, 0x154(r30) /* 800957E4 00092744 80 1E 00 FC */ lwz r0, 0xfc(r30) /* 800957E8 00092748 90 1E 01 58 */ stw r0, 0x158(r30) /* 800957EC 0009274C 80 1E 01 00 */ lwz r0, 0x100(r30) /* 800957F0 00092750 90 1E 01 5C */ stw r0, 0x15c(r30) /* 800957F4 00092754 80 9E 01 04 */ lwz r4, 0x104(r30) /* 800957F8 00092758 80 1E 01 08 */ lwz r0, 0x108(r30) /* 800957FC 0009275C 90 9E 01 60 */ stw r4, 0x160(r30) /* 80095800 00092760 90 1E 01 64 */ stw r0, 0x164(r30) /* 80095804 00092764 80 9E 01 0C */ lwz r4, 0x10c(r30) /* 80095808 00092768 80 1E 01 10 */ lwz r0, 0x110(r30) /* 8009580C 0009276C 90 9E 01 68 */ stw r4, 0x168(r30) /* 80095810 00092770 90 1E 01 6C */ stw r0, 0x16c(r30) /* 80095814 00092774 80 9E 01 14 */ lwz r4, 0x114(r30) /* 80095818 00092778 80 1E 01 18 */ lwz r0, 0x118(r30) /* 8009581C 0009277C 90 9E 01 70 */ stw r4, 0x170(r30) /* 80095820 00092780 90 1E 01 74 */ stw r0, 0x174(r30) /* 80095824 00092784 C0 1E 01 1C */ lfs f0, 0x11c(r30) /* 80095828 00092788 D0 1E 01 78 */ stfs f0, 0x178(r30) /* 8009582C 0009278C C0 1E 01 20 */ lfs f0, 0x120(r30) /* 80095830 00092790 D0 1E 01 7C */ stfs f0, 0x17c(r30) /* 80095834 00092794 80 9E 01 24 */ lwz r4, 0x124(r30) /* 80095838 00092798 80 1E 01 28 */ lwz r0, 0x128(r30) /* 8009583C 0009279C 90 9E 01 80 */ stw r4, 0x180(r30) /* 80095840 000927A0 90 1E 01 84 */ stw r0, 0x184(r30) /* 80095844 000927A4 80 1E 01 2C */ lwz r0, 0x12c(r30) /* 80095848 000927A8 90 1E 01 88 */ stw r0, 0x188(r30) /* 8009584C 000927AC C0 1E 01 30 */ lfs f0, 0x130(r30) /* 80095850 000927B0 D0 1E 01 8C */ stfs f0, 0x18c(r30) /* 80095854 000927B4 C0 1E 01 34 */ lfs f0, 0x134(r30) /* 80095858 000927B8 D0 1E 01 90 */ stfs f0, 0x190(r30) /* 8009585C 000927BC C0 1E 01 38 */ lfs f0, 0x138(r30) /* 80095860 000927C0 D0 1E 01 94 */ stfs f0, 0x194(r30) /* 80095864 000927C4 C0 1E 01 3C */ lfs f0, 0x13c(r30) /* 80095868 000927C8 D0 1E 01 98 */ stfs f0, 0x198(r30) /* 8009586C 000927CC C0 1E 01 40 */ lfs f0, 0x140(r30) /* 80095870 000927D0 D0 1E 01 9C */ stfs f0, 0x19c(r30) /* 80095874 000927D4 C0 1E 01 44 */ lfs f0, 0x144(r30) /* 80095878 000927D8 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) /* 8009587C 000927DC 80 1E 01 48 */ lwz r0, 0x148(r30) /* 80095880 000927E0 90 1E 01 A4 */ stw r0, 0x1a4(r30) /* 80095884 000927E4 80 1E 01 4C */ lwz r0, 0x14c(r30) /* 80095888 000927E8 90 1E 01 A8 */ stw r0, 0x1a8(r30) /* 8009588C 000927EC 80 1E 01 50 */ lwz r0, 0x150(r30) /* 80095890 000927F0 90 1E 01 AC */ stw r0, 0x1ac(r30) /* 80095894 000927F4 80 1E 01 54 */ lwz r0, 0x154(r30) /* 80095898 000927F8 90 1E 01 B0 */ stw r0, 0x1b0(r30) /* 8009589C 000927FC 80 1E 01 58 */ lwz r0, 0x158(r30) /* 800958A0 00092800 90 1E 01 B4 */ stw r0, 0x1b4(r30) /* 800958A4 00092804 80 1E 01 5C */ lwz r0, 0x15c(r30) /* 800958A8 00092808 90 1E 01 B8 */ stw r0, 0x1b8(r30) /* 800958AC 0009280C 80 9E 00 24 */ lwz r4, 0x24(r30) /* 800958B0 00092810 81 84 00 00 */ lwz r12, 0(r4) /* 800958B4 00092814 81 8C 00 24 */ lwz r12, 0x24(r12) /* 800958B8 00092818 7D 89 03 A6 */ mtctr r12 /* 800958BC 0009281C 4E 80 04 21 */ bctrl /* 800958C0 00092820 80 01 00 08 */ lwz r0, 8(r1) /* 800958C4 00092824 7F C4 F3 78 */ mr r4, r30 /* 800958C8 00092828 7F E5 FB 78 */ mr r5, r31 /* 800958CC 0009282C 38 61 00 0C */ addi r3, r1, 0xc /* 800958D0 00092830 90 1E 00 A0 */ stw r0, 0xa0(r30) /* 800958D4 00092834 80 DE 00 A0 */ lwz r6, 0xa0(r30) /* 800958D8 00092838 48 00 10 81 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri /* 800958DC 0009283C C0 01 00 0C */ lfs f0, 0xc(r1) /* 800958E0 00092840 38 00 00 01 */ li r0, 1 /* 800958E4 00092844 D0 1E 01 24 */ stfs f0, 0x124(r30) /* 800958E8 00092848 C0 01 00 10 */ lfs f0, 0x10(r1) /* 800958EC 0009284C D0 1E 01 28 */ stfs f0, 0x128(r30) /* 800958F0 00092850 C0 01 00 14 */ lfs f0, 0x14(r1) /* 800958F4 00092854 D0 1E 01 2C */ stfs f0, 0x12c(r30) /* 800958F8 00092858 90 1E 01 50 */ stw r0, 0x150(r30) /* 800958FC 0009285C 48 00 09 B9 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 80095900 00092860 D0 3E 01 30 */ stfs f1, 0x130(r30) /* 80095904 00092864 48 00 09 B1 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 80095908 00092868 D0 3E 01 34 */ stfs f1, 0x134(r30) /* 8009590C 0009286C 38 00 00 01 */ li r0, 1 /* 80095910 00092870 C0 22 8B 6C */ lfs f1, lbl_805AA88C@sda21(r2) /* 80095914 00092874 7F C3 F3 78 */ mr r3, r30 /* 80095918 00092878 90 1E 01 54 */ stw r0, 0x154(r30) /* 8009591C 0009287C 90 1E 01 58 */ stw r0, 0x158(r30) /* 80095920 00092880 48 00 18 59 */ bl ResetInterpolationTimer__11CAutoMapperFf lbl_80095924: /* 80095924 00092884 80 01 00 24 */ lwz r0, 0x24(r1) /* 80095928 00092888 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009592C 0009288C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80095930 00092890 7C 08 03 A6 */ mtlr r0 /* 80095934 00092894 38 21 00 20 */ addi r1, r1, 0x20 /* 80095938 00092898 4E 80 00 20 */ blr .global SetCurWorldAssetId__11CAutoMapperFi SetCurWorldAssetId__11CAutoMapperFi: /* 8009593C 0009289C 80 E3 00 10 */ lwz r7, 0x10(r3) /* 80095940 000928A0 39 00 00 00 */ li r8, 0 /* 80095944 000928A4 38 C0 00 00 */ li r6, 0 /* 80095948 000928A8 80 07 00 14 */ lwz r0, 0x14(r7) /* 8009594C 000928AC 7C 09 03 A6 */ mtctr r0 /* 80095950 000928B0 2C 00 00 00 */ cmpwi r0, 0 /* 80095954 000928B4 4C 81 00 20 */ blelr lbl_80095958: /* 80095958 000928B8 80 A7 00 1C */ lwz r5, 0x1c(r7) /* 8009595C 000928BC 38 06 00 10 */ addi r0, r6, 0x10 /* 80095960 000928C0 7C 05 00 2E */ lwzx r0, r5, r0 /* 80095964 000928C4 7C 04 00 40 */ cmplw r4, r0 /* 80095968 000928C8 40 82 00 0C */ bne lbl_80095974 /* 8009596C 000928CC 91 03 00 9C */ stw r8, 0x9c(r3) /* 80095970 000928D0 4E 80 00 20 */ blr lbl_80095974: /* 80095974 000928D4 38 C6 00 70 */ addi r6, r6, 0x70 /* 80095978 000928D8 39 08 00 01 */ addi r8, r8, 1 /* 8009597C 000928DC 42 00 FF DC */ bdnz lbl_80095958 .global sub_80095980 sub_80095980: /* 80095980 000928E0 4E 80 00 20 */ blr .global TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState: /* 80095984 000928E4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80095988 000928E8 7C 08 02 A6 */ mflr r0 /* 8009598C 000928EC 7C 65 1B 78 */ mr r5, r3 /* 80095990 000928F0 90 01 00 24 */ stw r0, 0x24(r1) /* 80095994 000928F4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80095998 000928F8 7C 9F 23 78 */ mr r31, r4 /* 8009599C 000928FC 80 03 00 9C */ lwz r0, 0x9c(r3) /* 800959A0 00092900 38 61 00 08 */ addi r3, r1, 8 /* 800959A4 00092904 80 C5 00 10 */ lwz r6, 0x10(r5) /* 800959A8 00092908 38 A5 01 24 */ addi r5, r5, 0x124 /* 800959AC 0009290C 1C 80 00 70 */ mulli r4, r0, 0x70 /* 800959B0 00092910 80 06 00 1C */ lwz r0, 0x1c(r6) /* 800959B4 00092914 38 84 00 14 */ addi r4, r4, 0x14 /* 800959B8 00092918 7C 80 22 14 */ add r4, r0, r4 /* 800959BC 0009291C 48 27 D1 2D */ bl __ml__12CTransform4fCFRC9CVector3f /* 800959C0 00092920 C0 01 00 08 */ lfs f0, 8(r1) /* 800959C4 00092924 D0 1F 00 20 */ stfs f0, 0x20(r31) /* 800959C8 00092928 C0 01 00 0C */ lfs f0, 0xc(r1) /* 800959CC 0009292C D0 1F 00 24 */ stfs f0, 0x24(r31) /* 800959D0 00092930 C0 01 00 10 */ lfs f0, 0x10(r1) /* 800959D4 00092934 D0 1F 00 28 */ stfs f0, 0x28(r31) /* 800959D8 00092938 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800959DC 0009293C 80 01 00 24 */ lwz r0, 0x24(r1) /* 800959E0 00092940 7C 08 03 A6 */ mtlr r0 /* 800959E4 00092944 38 21 00 20 */ addi r1, r1, 0x20 /* 800959E8 00092948 4E 80 00 20 */ blr .global TransformRenderStatesUniverseToWorld__11CAutoMapperFv TransformRenderStatesUniverseToWorld__11CAutoMapperFv: /* 800959EC 0009294C 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 800959F0 00092950 7C 08 02 A6 */ mflr r0 /* 800959F4 00092954 90 01 00 F4 */ stw r0, 0xf4(r1) /* 800959F8 00092958 93 E1 00 EC */ stw r31, 0xec(r1) /* 800959FC 0009295C 7C 7F 1B 78 */ mr r31, r3 /* 80095A00 00092960 38 61 00 7C */ addi r3, r1, 0x7c /* 80095A04 00092964 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 80095A08 00092968 80 BF 00 10 */ lwz r5, 0x10(r31) /* 80095A0C 0009296C 1C 80 00 70 */ mulli r4, r0, 0x70 /* 80095A10 00092970 80 05 00 1C */ lwz r0, 0x1c(r5) /* 80095A14 00092974 38 84 00 14 */ addi r4, r4, 0x14 /* 80095A18 00092978 7C 80 22 14 */ add r4, r0, r4 /* 80095A1C 0009297C 48 27 D2 81 */ bl GetQuickInverse__12CTransform4fCFv /* 80095A20 00092980 38 61 00 AC */ addi r3, r1, 0xac /* 80095A24 00092984 38 81 00 7C */ addi r4, r1, 0x7c /* 80095A28 00092988 48 27 D1 4D */ bl __ct__12CTransform4fFRC12CTransform4f /* 80095A2C 0009298C 38 61 00 5C */ addi r3, r1, 0x5c /* 80095A30 00092990 38 81 00 AC */ addi r4, r1, 0xac /* 80095A34 00092994 48 27 C6 F5 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 80095A38 00092998 C0 61 00 5C */ lfs f3, 0x5c(r1) /* 80095A3C 0009299C 38 61 00 28 */ addi r3, r1, 0x28 /* 80095A40 000929A0 C0 41 00 60 */ lfs f2, 0x60(r1) /* 80095A44 000929A4 38 9F 01 68 */ addi r4, r31, 0x168 /* 80095A48 000929A8 C0 21 00 64 */ lfs f1, 0x64(r1) /* 80095A4C 000929AC 38 A1 00 6C */ addi r5, r1, 0x6c /* 80095A50 000929B0 C0 01 00 68 */ lfs f0, 0x68(r1) /* 80095A54 000929B4 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 80095A58 000929B8 D0 41 00 70 */ stfs f2, 0x70(r1) /* 80095A5C 000929BC D0 21 00 74 */ stfs f1, 0x74(r1) /* 80095A60 000929C0 D0 01 00 78 */ stfs f0, 0x78(r1) /* 80095A64 000929C4 48 27 B7 3D */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80095A68 000929C8 C0 01 00 28 */ lfs f0, 0x28(r1) /* 80095A6C 000929CC 38 61 00 50 */ addi r3, r1, 0x50 /* 80095A70 000929D0 38 81 00 AC */ addi r4, r1, 0xac /* 80095A74 000929D4 38 BF 01 80 */ addi r5, r31, 0x180 /* 80095A78 000929D8 D0 1F 01 68 */ stfs f0, 0x168(r31) /* 80095A7C 000929DC 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80095A80 000929E0 80 01 00 30 */ lwz r0, 0x30(r1) /* 80095A84 000929E4 90 DF 01 6C */ stw r6, 0x16c(r31) /* 80095A88 000929E8 90 1F 01 70 */ stw r0, 0x170(r31) /* 80095A8C 000929EC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80095A90 000929F0 90 1F 01 74 */ stw r0, 0x174(r31) /* 80095A94 000929F4 48 27 D0 55 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80095A98 000929F8 C0 01 00 50 */ lfs f0, 0x50(r1) /* 80095A9C 000929FC 38 61 00 18 */ addi r3, r1, 0x18 /* 80095AA0 00092A00 38 9F 00 B0 */ addi r4, r31, 0xb0 /* 80095AA4 00092A04 38 A1 00 6C */ addi r5, r1, 0x6c /* 80095AA8 00092A08 D0 1F 01 80 */ stfs f0, 0x180(r31) /* 80095AAC 00092A0C C0 01 00 54 */ lfs f0, 0x54(r1) /* 80095AB0 00092A10 D0 1F 01 84 */ stfs f0, 0x184(r31) /* 80095AB4 00092A14 C0 01 00 58 */ lfs f0, 0x58(r1) /* 80095AB8 00092A18 D0 1F 01 88 */ stfs f0, 0x188(r31) /* 80095ABC 00092A1C 48 27 B6 E5 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80095AC0 00092A20 C0 01 00 18 */ lfs f0, 0x18(r1) /* 80095AC4 00092A24 38 61 00 44 */ addi r3, r1, 0x44 /* 80095AC8 00092A28 38 81 00 AC */ addi r4, r1, 0xac /* 80095ACC 00092A2C 38 BF 00 C8 */ addi r5, r31, 0xc8 /* 80095AD0 00092A30 D0 1F 00 B0 */ stfs f0, 0xb0(r31) /* 80095AD4 00092A34 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80095AD8 00092A38 80 01 00 20 */ lwz r0, 0x20(r1) /* 80095ADC 00092A3C 90 DF 00 B4 */ stw r6, 0xb4(r31) /* 80095AE0 00092A40 90 1F 00 B8 */ stw r0, 0xb8(r31) /* 80095AE4 00092A44 80 01 00 24 */ lwz r0, 0x24(r1) /* 80095AE8 00092A48 90 1F 00 BC */ stw r0, 0xbc(r31) /* 80095AEC 00092A4C 48 27 CF FD */ bl __ml__12CTransform4fCFRC9CVector3f /* 80095AF0 00092A50 C0 01 00 44 */ lfs f0, 0x44(r1) /* 80095AF4 00092A54 38 61 00 08 */ addi r3, r1, 8 /* 80095AF8 00092A58 38 9F 01 0C */ addi r4, r31, 0x10c /* 80095AFC 00092A5C 38 A1 00 6C */ addi r5, r1, 0x6c /* 80095B00 00092A60 D0 1F 00 C8 */ stfs f0, 0xc8(r31) /* 80095B04 00092A64 C0 01 00 48 */ lfs f0, 0x48(r1) /* 80095B08 00092A68 D0 1F 00 CC */ stfs f0, 0xcc(r31) /* 80095B0C 00092A6C C0 01 00 4C */ lfs f0, 0x4c(r1) /* 80095B10 00092A70 D0 1F 00 D0 */ stfs f0, 0xd0(r31) /* 80095B14 00092A74 48 27 B6 8D */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80095B18 00092A78 C0 01 00 08 */ lfs f0, 8(r1) /* 80095B1C 00092A7C 38 61 00 38 */ addi r3, r1, 0x38 /* 80095B20 00092A80 38 81 00 AC */ addi r4, r1, 0xac /* 80095B24 00092A84 38 BF 01 24 */ addi r5, r31, 0x124 /* 80095B28 00092A88 D0 1F 01 0C */ stfs f0, 0x10c(r31) /* 80095B2C 00092A8C 80 C1 00 0C */ lwz r6, 0xc(r1) /* 80095B30 00092A90 80 01 00 10 */ lwz r0, 0x10(r1) /* 80095B34 00092A94 90 DF 01 10 */ stw r6, 0x110(r31) /* 80095B38 00092A98 90 1F 01 14 */ stw r0, 0x114(r31) /* 80095B3C 00092A9C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80095B40 00092AA0 90 1F 01 18 */ stw r0, 0x118(r31) /* 80095B44 00092AA4 48 27 CF A5 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80095B48 00092AA8 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80095B4C 00092AAC D0 1F 01 24 */ stfs f0, 0x124(r31) /* 80095B50 00092AB0 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80095B54 00092AB4 D0 1F 01 28 */ stfs f0, 0x128(r31) /* 80095B58 00092AB8 C0 01 00 40 */ lfs f0, 0x40(r1) /* 80095B5C 00092ABC D0 1F 01 2C */ stfs f0, 0x12c(r31) /* 80095B60 00092AC0 83 E1 00 EC */ lwz r31, 0xec(r1) /* 80095B64 00092AC4 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80095B68 00092AC8 7C 08 03 A6 */ mtlr r0 /* 80095B6C 00092ACC 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80095B70 00092AD0 4E 80 00 20 */ blr .global TransformRenderStatesWorldToUniverse__11CAutoMapperFv TransformRenderStatesWorldToUniverse__11CAutoMapperFv: /* 80095B74 00092AD4 94 21 FF 70 */ stwu r1, -0x90(r1) /* 80095B78 00092AD8 7C 08 02 A6 */ mflr r0 /* 80095B7C 00092ADC 90 01 00 94 */ stw r0, 0x94(r1) /* 80095B80 00092AE0 93 E1 00 8C */ stw r31, 0x8c(r1) /* 80095B84 00092AE4 93 C1 00 88 */ stw r30, 0x88(r1) /* 80095B88 00092AE8 7C 7E 1B 78 */ mr r30, r3 /* 80095B8C 00092AEC 38 61 00 5C */ addi r3, r1, 0x5c /* 80095B90 00092AF0 80 1E 00 9C */ lwz r0, 0x9c(r30) /* 80095B94 00092AF4 80 BE 00 10 */ lwz r5, 0x10(r30) /* 80095B98 00092AF8 1C 80 00 70 */ mulli r4, r0, 0x70 /* 80095B9C 00092AFC 80 05 00 1C */ lwz r0, 0x1c(r5) /* 80095BA0 00092B00 3B E4 00 14 */ addi r31, r4, 0x14 /* 80095BA4 00092B04 7F E0 FA 14 */ add r31, r0, r31 /* 80095BA8 00092B08 7F E4 FB 78 */ mr r4, r31 /* 80095BAC 00092B0C 48 27 C5 7D */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 80095BB0 00092B10 C0 61 00 5C */ lfs f3, 0x5c(r1) /* 80095BB4 00092B14 38 61 00 28 */ addi r3, r1, 0x28 /* 80095BB8 00092B18 C0 41 00 60 */ lfs f2, 0x60(r1) /* 80095BBC 00092B1C 38 9E 01 68 */ addi r4, r30, 0x168 /* 80095BC0 00092B20 C0 21 00 64 */ lfs f1, 0x64(r1) /* 80095BC4 00092B24 38 A1 00 6C */ addi r5, r1, 0x6c /* 80095BC8 00092B28 C0 01 00 68 */ lfs f0, 0x68(r1) /* 80095BCC 00092B2C D0 61 00 6C */ stfs f3, 0x6c(r1) /* 80095BD0 00092B30 D0 41 00 70 */ stfs f2, 0x70(r1) /* 80095BD4 00092B34 D0 21 00 74 */ stfs f1, 0x74(r1) /* 80095BD8 00092B38 D0 01 00 78 */ stfs f0, 0x78(r1) /* 80095BDC 00092B3C 48 27 B5 C5 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80095BE0 00092B40 C0 01 00 28 */ lfs f0, 0x28(r1) /* 80095BE4 00092B44 7F E4 FB 78 */ mr r4, r31 /* 80095BE8 00092B48 38 61 00 50 */ addi r3, r1, 0x50 /* 80095BEC 00092B4C 38 BE 01 80 */ addi r5, r30, 0x180 /* 80095BF0 00092B50 D0 1E 01 68 */ stfs f0, 0x168(r30) /* 80095BF4 00092B54 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80095BF8 00092B58 80 01 00 30 */ lwz r0, 0x30(r1) /* 80095BFC 00092B5C 90 DE 01 6C */ stw r6, 0x16c(r30) /* 80095C00 00092B60 90 1E 01 70 */ stw r0, 0x170(r30) /* 80095C04 00092B64 80 01 00 34 */ lwz r0, 0x34(r1) /* 80095C08 00092B68 90 1E 01 74 */ stw r0, 0x174(r30) /* 80095C0C 00092B6C 48 27 CE DD */ bl __ml__12CTransform4fCFRC9CVector3f /* 80095C10 00092B70 C0 01 00 50 */ lfs f0, 0x50(r1) /* 80095C14 00092B74 38 61 00 18 */ addi r3, r1, 0x18 /* 80095C18 00092B78 38 9E 00 B0 */ addi r4, r30, 0xb0 /* 80095C1C 00092B7C 38 A1 00 6C */ addi r5, r1, 0x6c /* 80095C20 00092B80 D0 1E 01 80 */ stfs f0, 0x180(r30) /* 80095C24 00092B84 C0 01 00 54 */ lfs f0, 0x54(r1) /* 80095C28 00092B88 D0 1E 01 84 */ stfs f0, 0x184(r30) /* 80095C2C 00092B8C C0 01 00 58 */ lfs f0, 0x58(r1) /* 80095C30 00092B90 D0 1E 01 88 */ stfs f0, 0x188(r30) /* 80095C34 00092B94 48 27 B5 6D */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80095C38 00092B98 C0 01 00 18 */ lfs f0, 0x18(r1) /* 80095C3C 00092B9C 7F E4 FB 78 */ mr r4, r31 /* 80095C40 00092BA0 38 61 00 44 */ addi r3, r1, 0x44 /* 80095C44 00092BA4 38 BE 00 C8 */ addi r5, r30, 0xc8 /* 80095C48 00092BA8 D0 1E 00 B0 */ stfs f0, 0xb0(r30) /* 80095C4C 00092BAC 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80095C50 00092BB0 80 01 00 20 */ lwz r0, 0x20(r1) /* 80095C54 00092BB4 90 DE 00 B4 */ stw r6, 0xb4(r30) /* 80095C58 00092BB8 90 1E 00 B8 */ stw r0, 0xb8(r30) /* 80095C5C 00092BBC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80095C60 00092BC0 90 1E 00 BC */ stw r0, 0xbc(r30) /* 80095C64 00092BC4 48 27 CE 85 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80095C68 00092BC8 C0 01 00 44 */ lfs f0, 0x44(r1) /* 80095C6C 00092BCC 38 61 00 08 */ addi r3, r1, 8 /* 80095C70 00092BD0 38 9E 01 0C */ addi r4, r30, 0x10c /* 80095C74 00092BD4 38 A1 00 6C */ addi r5, r1, 0x6c /* 80095C78 00092BD8 D0 1E 00 C8 */ stfs f0, 0xc8(r30) /* 80095C7C 00092BDC C0 01 00 48 */ lfs f0, 0x48(r1) /* 80095C80 00092BE0 D0 1E 00 CC */ stfs f0, 0xcc(r30) /* 80095C84 00092BE4 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 80095C88 00092BE8 D0 1E 00 D0 */ stfs f0, 0xd0(r30) /* 80095C8C 00092BEC 48 27 B5 15 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80095C90 00092BF0 C0 01 00 08 */ lfs f0, 8(r1) /* 80095C94 00092BF4 7F E4 FB 78 */ mr r4, r31 /* 80095C98 00092BF8 38 61 00 38 */ addi r3, r1, 0x38 /* 80095C9C 00092BFC 38 BE 01 24 */ addi r5, r30, 0x124 /* 80095CA0 00092C00 D0 1E 01 0C */ stfs f0, 0x10c(r30) /* 80095CA4 00092C04 80 C1 00 0C */ lwz r6, 0xc(r1) /* 80095CA8 00092C08 80 01 00 10 */ lwz r0, 0x10(r1) /* 80095CAC 00092C0C 90 DE 01 10 */ stw r6, 0x110(r30) /* 80095CB0 00092C10 90 1E 01 14 */ stw r0, 0x114(r30) /* 80095CB4 00092C14 80 01 00 14 */ lwz r0, 0x14(r1) /* 80095CB8 00092C18 90 1E 01 18 */ stw r0, 0x118(r30) /* 80095CBC 00092C1C 48 27 CE 2D */ bl __ml__12CTransform4fCFRC9CVector3f /* 80095CC0 00092C20 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80095CC4 00092C24 D0 1E 01 24 */ stfs f0, 0x124(r30) /* 80095CC8 00092C28 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80095CCC 00092C2C D0 1E 01 28 */ stfs f0, 0x128(r30) /* 80095CD0 00092C30 C0 01 00 40 */ lfs f0, 0x40(r1) /* 80095CD4 00092C34 D0 1E 01 2C */ stfs f0, 0x12c(r30) /* 80095CD8 00092C38 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 80095CDC 00092C3C 83 C1 00 88 */ lwz r30, 0x88(r1) /* 80095CE0 00092C40 80 01 00 94 */ lwz r0, 0x94(r1) /* 80095CE4 00092C44 7C 08 03 A6 */ mtlr r0 /* 80095CE8 00092C48 38 21 00 90 */ addi r1, r1, 0x90 /* 80095CEC 00092C4C 4E 80 00 20 */ blr .global IsRenderStateInterpolating__11CAutoMapperCFv IsRenderStateInterpolating__11CAutoMapperCFv: /* 80095CF0 00092C50 C0 23 01 C8 */ lfs f1, 0x1c8(r3) /* 80095CF4 00092C54 C0 03 01 C4 */ lfs f0, 0x1c4(r3) /* 80095CF8 00092C58 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80095CFC 00092C5C 7C 00 00 26 */ mfcr r0 /* 80095D00 00092C60 54 03 0F FE */ srwi r3, r0, 0x1f /* 80095D04 00092C64 4E 80 00 20 */ blr .global IsInMapperStateTransition__11CAutoMapperCFv IsInMapperStateTransition__11CAutoMapperCFv: /* 80095D08 00092C68 80 83 01 BC */ lwz r4, 0x1bc(r3) /* 80095D0C 00092C6C 80 03 01 C0 */ lwz r0, 0x1c0(r3) /* 80095D10 00092C70 7C 64 00 50 */ subf r3, r4, r0 /* 80095D14 00092C74 7C 00 20 50 */ subf r0, r0, r4 /* 80095D18 00092C78 7C 60 03 78 */ or r0, r3, r0 /* 80095D1C 00092C7C 54 03 0F FE */ srwi r3, r0, 0x1f /* 80095D20 00092C80 4E 80 00 20 */ blr .global IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState: /* 80095D24 00092C84 80 03 01 BC */ lwz r0, 0x1bc(r3) /* 80095D28 00092C88 38 A0 00 00 */ li r5, 0 /* 80095D2C 00092C8C 7C 04 00 00 */ cmpw r4, r0 /* 80095D30 00092C90 40 82 00 14 */ bne lbl_80095D44 /* 80095D34 00092C94 80 03 01 C0 */ lwz r0, 0x1c0(r3) /* 80095D38 00092C98 7C 04 00 00 */ cmpw r4, r0 /* 80095D3C 00092C9C 40 82 00 08 */ bne lbl_80095D44 /* 80095D40 00092CA0 38 A0 00 01 */ li r5, 1 lbl_80095D44: /* 80095D44 00092CA4 7C A3 2B 78 */ mr r3, r5 /* 80095D48 00092CA8 4E 80 00 20 */ blr .global GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv: /* 80095D4C 00092CAC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80095D50 00092CB0 7C 08 02 A6 */ mflr r0 /* 80095D54 00092CB4 90 01 00 14 */ stw r0, 0x14(r1) /* 80095D58 00092CB8 93 E1 00 0C */ stw r31, 0xc(r1) /* 80095D5C 00092CBC 7C 7F 1B 78 */ mr r31, r3 /* 80095D60 00092CC0 48 00 00 39 */ bl GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv /* 80095D64 00092CC4 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 80095D68 00092CC8 88 03 00 04 */ lbz r0, 4(r3) /* 80095D6C 00092CCC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80095D70 00092CD0 41 82 00 14 */ beq lbl_80095D84 /* 80095D74 00092CD4 C0 5F 00 C0 */ lfs f2, 0xc0(r31) /* 80095D78 00092CD8 C0 03 00 08 */ lfs f0, 8(r3) /* 80095D7C 00092CDC EC 21 00 B2 */ fmuls f1, f1, f2 /* 80095D80 00092CE0 EC 21 00 24 */ fdivs f1, f1, f0 lbl_80095D84: /* 80095D84 00092CE4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80095D88 00092CE8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80095D8C 00092CEC 7C 08 03 A6 */ mtlr r0 /* 80095D90 00092CF0 38 21 00 10 */ addi r1, r1, 0x10 /* 80095D94 00092CF4 4E 80 00 20 */ blr .global GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv: /* 80095D98 00092CF8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 80095D9C 00092CFC C0 23 00 78 */ lfs f1, 0x78(r3) /* 80095DA0 00092D00 4E 80 00 20 */ blr .global GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager: /* 80095DA4 00092D04 94 21 FE 90 */ stwu r1, -0x170(r1) /* 80095DA8 00092D08 7C 08 02 A6 */ mflr r0 /* 80095DAC 00092D0C 90 01 01 74 */ stw r0, 0x174(r1) /* 80095DB0 00092D10 DB E1 01 60 */ stfd f31, 0x160(r1) /* 80095DB4 00092D14 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 /* 80095DB8 00092D18 DB C1 01 50 */ stfd f30, 0x150(r1) /* 80095DBC 00092D1C F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 /* 80095DC0 00092D20 DB A1 01 40 */ stfd f29, 0x140(r1) /* 80095DC4 00092D24 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 /* 80095DC8 00092D28 BE A1 01 14 */ stmw r21, 0x114(r1) /* 80095DCC 00092D2C 7C 7D 1B 78 */ mr r29, r3 /* 80095DD0 00092D30 80 63 00 24 */ lwz r3, 0x24(r3) /* 80095DD4 00092D34 81 83 00 00 */ lwz r12, 0(r3) /* 80095DD8 00092D38 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80095DDC 00092D3C 7D 89 03 A6 */ mtctr r12 /* 80095DE0 00092D40 4E 80 04 21 */ bctrl /* 80095DE4 00092D44 7C 64 1B 78 */ mr r4, r3 /* 80095DE8 00092D48 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 80095DEC 00092D4C 48 13 DB ED */ bl StateForWorld__10CGameStateFUi /* 80095DF0 00092D50 7C 64 1B 78 */ mr r4, r3 /* 80095DF4 00092D54 38 61 00 3C */ addi r3, r1, 0x3c /* 80095DF8 00092D58 48 13 EF 6D */ bl GetMapWorldInfo__11CWorldStateCFv /* 80095DFC 00092D5C 80 81 00 3C */ lwz r4, 0x3c(r1) /* 80095E00 00092D60 38 61 00 3C */ addi r3, r1, 0x3c /* 80095E04 00092D64 83 E4 00 00 */ lwz r31, 0(r4) /* 80095E08 00092D68 4B F7 2E 35 */ bl sub_80008c3c /* 80095E0C 00092D6C 80 7D 00 24 */ lwz r3, 0x24(r29) /* 80095E10 00092D70 81 83 00 00 */ lwz r12, 0(r3) /* 80095E14 00092D74 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80095E18 00092D78 7D 89 03 A6 */ mtctr r12 /* 80095E1C 00092D7C 4E 80 04 21 */ bctrl /* 80095E20 00092D80 3C 80 80 5A */ lis r4, lbl_805A6754@ha /* 80095E24 00092D84 80 1D 00 A0 */ lwz r0, 0xa0(r29) /* 80095E28 00092D88 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l /* 80095E2C 00092D8C 7C 7E 1B 78 */ mr r30, r3 /* 80095E30 00092D90 C0 A5 00 00 */ lfs f5, 0(r5) /* 80095E34 00092D94 38 81 00 38 */ addi r4, r1, 0x38 /* 80095E38 00092D98 C0 85 00 04 */ lfs f4, 4(r5) /* 80095E3C 00092D9C C0 65 00 08 */ lfs f3, 8(r5) /* 80095E40 00092DA0 C0 45 00 0C */ lfs f2, 0xc(r5) /* 80095E44 00092DA4 C0 25 00 10 */ lfs f1, 0x10(r5) /* 80095E48 00092DA8 C0 05 00 14 */ lfs f0, 0x14(r5) /* 80095E4C 00092DAC D0 A1 00 94 */ stfs f5, 0x94(r1) /* 80095E50 00092DB0 80 7D 00 24 */ lwz r3, 0x24(r29) /* 80095E54 00092DB4 D0 81 00 98 */ stfs f4, 0x98(r1) /* 80095E58 00092DB8 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 80095E5C 00092DBC D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 80095E60 00092DC0 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 80095E64 00092DC4 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 80095E68 00092DC8 90 01 00 38 */ stw r0, 0x38(r1) /* 80095E6C 00092DCC 81 83 00 00 */ lwz r12, 0(r3) /* 80095E70 00092DD0 90 01 00 34 */ stw r0, 0x34(r1) /* 80095E74 00092DD4 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80095E78 00092DD8 7D 89 03 A6 */ mtctr r12 /* 80095E7C 00092DDC 4E 80 04 21 */ bctrl /* 80095E80 00092DE0 80 9D 00 A0 */ lwz r4, 0xa0(r29) /* 80095E84 00092DE4 7C 77 1B 78 */ mr r23, r3 /* 80095E88 00092DE8 7F C3 F3 78 */ mr r3, r30 /* 80095E8C 00092DEC 48 00 B5 2D */ bl GetMapArea__9CMapWorldCFi /* 80095E90 00092DF0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80095E94 00092DF4 7C 7B 1B 78 */ mr r27, r3 /* 80095E98 00092DF8 3B 01 00 88 */ addi r24, r1, 0x88 /* 80095E9C 00092DFC 3A A0 FF FF */ li r21, -1 /* 80095EA0 00092E00 88 04 00 04 */ lbz r0, 4(r4) /* 80095EA4 00092E04 54 16 CF FE */ rlwinm r22, r0, 0x19, 0x1f, 0x1f /* 80095EA8 00092E08 48 00 00 C8 */ b lbl_80095F70 lbl_80095EAC: /* 80095EAC 00092E0C 2C 15 FF FF */ cmpwi r21, -1 /* 80095EB0 00092E10 40 82 00 0C */ bne lbl_80095EBC /* 80095EB4 00092E14 83 3D 00 A0 */ lwz r25, 0xa0(r29) /* 80095EB8 00092E18 48 00 00 24 */ b lbl_80095EDC lbl_80095EBC: /* 80095EBC 00092E1C 7E E4 BB 78 */ mr r4, r23 /* 80095EC0 00092E20 7E A5 AB 78 */ mr r5, r21 /* 80095EC4 00092E24 81 97 00 00 */ lwz r12, 0(r23) /* 80095EC8 00092E28 38 61 00 30 */ addi r3, r1, 0x30 /* 80095ECC 00092E2C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80095ED0 00092E30 7D 89 03 A6 */ mtctr r12 /* 80095ED4 00092E34 4E 80 04 21 */ bctrl /* 80095ED8 00092E38 83 21 00 30 */ lwz r25, 0x30(r1) lbl_80095EDC: /* 80095EDC 00092E3C 7F C3 F3 78 */ mr r3, r30 /* 80095EE0 00092E40 7F 24 CB 78 */ mr r4, r25 /* 80095EE4 00092E44 48 00 B4 D5 */ bl GetMapArea__9CMapWorldCFi /* 80095EE8 00092E48 93 21 00 20 */ stw r25, 0x20(r1) /* 80095EEC 00092E4C 7C 7A 1B 78 */ mr r26, r3 /* 80095EF0 00092E50 7F E3 FB 78 */ mr r3, r31 /* 80095EF4 00092E54 38 81 00 24 */ addi r4, r1, 0x24 /* 80095EF8 00092E58 93 21 00 24 */ stw r25, 0x24(r1) /* 80095EFC 00092E5C 93 21 00 28 */ stw r25, 0x28(r1) /* 80095F00 00092E60 93 21 00 2C */ stw r25, 0x2c(r1) /* 80095F04 00092E64 48 0D 1E 01 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId /* 80095F08 00092E68 7C 7C 1B 78 */ mr r28, r3 /* 80095F0C 00092E6C 7F E3 FB 78 */ mr r3, r31 /* 80095F10 00092E70 38 81 00 2C */ addi r4, r1, 0x2c /* 80095F14 00092E74 48 0D 25 2D */ bl IsWorldVisible__13CMapWorldInfoCF7TAreaId /* 80095F18 00092E78 7C 64 1B 78 */ mr r4, r3 /* 80095F1C 00092E7C 7F 43 D3 78 */ mr r3, r26 /* 80095F20 00092E80 7F 85 E3 78 */ mr r5, r28 /* 80095F24 00092E84 4B FE AE 09 */ bl GetIsVisibleToAutoMapper__8CMapAreaCFbb /* 80095F28 00092E88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80095F2C 00092E8C 41 82 00 40 */ beq lbl_80095F6C /* 80095F30 00092E90 80 BD 00 24 */ lwz r5, 0x24(r29) /* 80095F34 00092E94 7F 44 D3 78 */ mr r4, r26 /* 80095F38 00092E98 7F 26 CB 78 */ mr r6, r25 /* 80095F3C 00092E9C 38 61 00 DC */ addi r3, r1, 0xdc /* 80095F40 00092EA0 4B FE A5 29 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId /* 80095F44 00092EA4 38 61 00 7C */ addi r3, r1, 0x7c /* 80095F48 00092EA8 38 9A 00 10 */ addi r4, r26, 0x10 /* 80095F4C 00092EAC 38 A1 00 DC */ addi r5, r1, 0xdc /* 80095F50 00092EB0 48 2A 19 AD */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 80095F54 00092EB4 38 61 00 94 */ addi r3, r1, 0x94 /* 80095F58 00092EB8 38 81 00 7C */ addi r4, r1, 0x7c /* 80095F5C 00092EBC 48 2A 1B AD */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 80095F60 00092EC0 7F 04 C3 78 */ mr r4, r24 /* 80095F64 00092EC4 38 61 00 94 */ addi r3, r1, 0x94 /* 80095F68 00092EC8 48 2A 1B A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_80095F6C: /* 80095F6C 00092ECC 3A B5 00 01 */ addi r21, r21, 1 lbl_80095F70: /* 80095F70 00092ED0 28 16 00 00 */ cmplwi r22, 0 /* 80095F74 00092ED4 41 82 00 0C */ beq lbl_80095F80 /* 80095F78 00092ED8 38 60 00 00 */ li r3, 0 /* 80095F7C 00092EDC 48 00 00 18 */ b lbl_80095F94 lbl_80095F80: /* 80095F80 00092EE0 7E E3 BB 78 */ mr r3, r23 /* 80095F84 00092EE4 81 97 00 00 */ lwz r12, 0(r23) /* 80095F88 00092EE8 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80095F8C 00092EEC 7D 89 03 A6 */ mtctr r12 /* 80095F90 00092EF0 4E 80 04 21 */ bctrl lbl_80095F94: /* 80095F94 00092EF4 7C 15 18 00 */ cmpw r21, r3 /* 80095F98 00092EF8 41 80 FF 14 */ blt lbl_80095EAC /* 80095F9C 00092EFC 7F 64 DB 78 */ mr r4, r27 /* 80095FA0 00092F00 38 61 00 64 */ addi r3, r1, 0x64 /* 80095FA4 00092F04 4B FE AD 59 */ bl GetAreaCenterPoint__8CMapAreaCFv /* 80095FA8 00092F08 80 BD 00 24 */ lwz r5, 0x24(r29) /* 80095FAC 00092F0C 7F 64 DB 78 */ mr r4, r27 /* 80095FB0 00092F10 80 DD 00 A0 */ lwz r6, 0xa0(r29) /* 80095FB4 00092F14 38 61 00 AC */ addi r3, r1, 0xac /* 80095FB8 00092F18 4B FE A4 B1 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId /* 80095FBC 00092F1C 38 61 00 70 */ addi r3, r1, 0x70 /* 80095FC0 00092F20 38 81 00 AC */ addi r4, r1, 0xac /* 80095FC4 00092F24 38 A1 00 64 */ addi r5, r1, 0x64 /* 80095FC8 00092F28 48 27 CB 21 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80095FCC 00092F2C C0 21 00 A0 */ lfs f1, 0xa0(r1) /* 80095FD0 00092F30 C0 61 00 70 */ lfs f3, 0x70(r1) /* 80095FD4 00092F34 C0 01 00 94 */ lfs f0, 0x94(r1) /* 80095FD8 00092F38 EC 21 18 28 */ fsubs f1, f1, f3 /* 80095FDC 00092F3C C0 41 00 74 */ lfs f2, 0x74(r1) /* 80095FE0 00092F40 EC 03 00 28 */ fsubs f0, f3, f0 /* 80095FE4 00092F44 C0 61 00 78 */ lfs f3, 0x78(r1) /* 80095FE8 00092F48 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80095FEC 00092F4C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80095FF0 00092F50 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80095FF4 00092F54 40 80 00 0C */ bge lbl_80096000 /* 80095FF8 00092F58 38 61 00 18 */ addi r3, r1, 0x18 /* 80095FFC 00092F5C 48 00 00 08 */ b lbl_80096004 lbl_80096000: /* 80096000 00092F60 38 61 00 1C */ addi r3, r1, 0x1c lbl_80096004: /* 80096004 00092F64 C0 21 00 A4 */ lfs f1, 0xa4(r1) /* 80096008 00092F68 C0 01 00 98 */ lfs f0, 0x98(r1) /* 8009600C 00092F6C EC 21 10 28 */ fsubs f1, f1, f2 /* 80096010 00092F70 C3 E3 00 00 */ lfs f31, 0(r3) /* 80096014 00092F74 EC 02 00 28 */ fsubs f0, f2, f0 /* 80096018 00092F78 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8009601C 00092F7C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80096020 00092F80 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80096024 00092F84 40 80 00 0C */ bge lbl_80096030 /* 80096028 00092F88 38 61 00 10 */ addi r3, r1, 0x10 /* 8009602C 00092F8C 48 00 00 08 */ b lbl_80096034 lbl_80096030: /* 80096030 00092F90 38 61 00 14 */ addi r3, r1, 0x14 lbl_80096034: /* 80096034 00092F94 C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 80096038 00092F98 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 8009603C 00092F9C EC 21 18 28 */ fsubs f1, f1, f3 /* 80096040 00092FA0 C3 C3 00 00 */ lfs f30, 0(r3) /* 80096044 00092FA4 EC 03 00 28 */ fsubs f0, f3, f0 /* 80096048 00092FA8 D0 21 00 08 */ stfs f1, 8(r1) /* 8009604C 00092FAC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80096050 00092FB0 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80096054 00092FB4 40 80 00 0C */ bge lbl_80096060 /* 80096058 00092FB8 38 81 00 08 */ addi r4, r1, 8 /* 8009605C 00092FBC 48 00 00 08 */ b lbl_80096064 lbl_80096060: /* 80096060 00092FC0 38 81 00 0C */ addi r4, r1, 0xc lbl_80096064: /* 80096064 00092FC4 C0 3B 00 20 */ lfs f1, 0x20(r27) /* 80096068 00092FC8 38 61 00 58 */ addi r3, r1, 0x58 /* 8009606C 00092FCC C0 1B 00 14 */ lfs f0, 0x14(r27) /* 80096070 00092FD0 C0 7B 00 24 */ lfs f3, 0x24(r27) /* 80096074 00092FD4 C0 5B 00 18 */ lfs f2, 0x18(r27) /* 80096078 00092FD8 EC 81 00 28 */ fsubs f4, f1, f0 /* 8009607C 00092FDC C0 3B 00 1C */ lfs f1, 0x1c(r27) /* 80096080 00092FE0 C0 1B 00 10 */ lfs f0, 0x10(r27) /* 80096084 00092FE4 EC 43 10 28 */ fsubs f2, f3, f2 /* 80096088 00092FE8 C3 A4 00 00 */ lfs f29, 0(r4) /* 8009608C 00092FEC EC 01 00 28 */ fsubs f0, f1, f0 /* 80096090 00092FF0 D0 81 00 50 */ stfs f4, 0x50(r1) /* 80096094 00092FF4 D0 41 00 54 */ stfs f2, 0x54(r1) /* 80096098 00092FF8 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 8009609C 00092FFC D0 01 00 58 */ stfs f0, 0x58(r1) /* 800960A0 00093000 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 800960A4 00093004 D0 41 00 60 */ stfs f2, 0x60(r1) /* 800960A8 00093008 48 27 E8 11 */ bl Magnitude__9CVector3fCFv /* 800960AC 0009300C C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) /* 800960B0 00093010 38 61 00 40 */ addi r3, r1, 0x40 /* 800960B4 00093014 D3 E1 00 40 */ stfs f31, 0x40(r1) /* 800960B8 00093018 EF E0 00 72 */ fmuls f31, f0, f1 /* 800960BC 0009301C D3 C1 00 44 */ stfs f30, 0x44(r1) /* 800960C0 00093020 D3 A1 00 48 */ stfs f29, 0x48(r1) /* 800960C4 00093024 48 27 E7 F5 */ bl Magnitude__9CVector3fCFv /* 800960C8 00093028 C0 A2 8B 70 */ lfs f5, lbl_805AA890@sda21(r2) /* 800960CC 0009302C C0 42 8B 7C */ lfs f2, lbl_805AA89C@sda21(r2) /* 800960D0 00093030 C0 1D 00 C4 */ lfs f0, 0xc4(r29) /* 800960D4 00093034 EC 85 00 72 */ fmuls f4, f5, f1 /* 800960D8 00093038 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) /* 800960DC 0009303C EC 22 00 32 */ fmuls f1, f2, f0 /* 800960E0 00093040 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 800960E4 00093044 EF A5 27 FA */ fmadds f29, f5, f31, f4 /* 800960E8 00093048 C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) /* 800960EC 0009304C C0 43 00 C0 */ lfs f2, 0xc0(r3) /* 800960F0 00093050 EC 23 00 72 */ fmuls f1, f3, f1 /* 800960F4 00093054 EF BD 00 B2 */ fmuls f29, f29, f2 /* 800960F8 00093058 EC 25 00 7C */ fnmsubs f1, f5, f1, f0 /* 800960FC 0009305C 48 2F EA B9 */ bl tan /* 80096100 00093060 FC 00 08 18 */ frsp f0, f1 /* 80096104 00093064 EC 3D 00 32 */ fmuls f1, f29, f0 /* 80096108 00093068 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 /* 8009610C 0009306C CB E1 01 60 */ lfd f31, 0x160(r1) /* 80096110 00093070 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 /* 80096114 00093074 CB C1 01 50 */ lfd f30, 0x150(r1) /* 80096118 00093078 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 /* 8009611C 0009307C CB A1 01 40 */ lfd f29, 0x140(r1) /* 80096120 00093080 BA A1 01 14 */ lmw r21, 0x114(r1) /* 80096124 00093084 80 01 01 74 */ lwz r0, 0x174(r1) /* 80096128 00093088 7C 08 03 A6 */ mtlr r0 /* 8009612C 0009308C 38 21 01 70 */ addi r1, r1, 0x170 /* 80096130 00093090 4E 80 00 20 */ blr .global GetClampedMapScreenCameraDistance__11CAutoMapperCFf GetClampedMapScreenCameraDistance__11CAutoMapperCFf: /* 80096134 00093094 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80096138 00093098 7C 08 02 A6 */ mflr r0 /* 8009613C 0009309C 90 01 00 14 */ stw r0, 0x14(r1) /* 80096140 000930A0 80 03 01 BC */ lwz r0, 0x1bc(r3) /* 80096144 000930A4 D0 21 00 08 */ stfs f1, 8(r1) /* 80096148 000930A8 2C 00 00 02 */ cmpwi r0, 2 /* 8009614C 000930AC 40 82 00 20 */ bne lbl_8009616C /* 80096150 000930B0 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) /* 80096154 000930B4 38 81 00 08 */ addi r4, r1, 8 /* 80096158 000930B8 38 65 00 D4 */ addi r3, r5, 0xd4 /* 8009615C 000930BC 38 A5 00 D8 */ addi r5, r5, 0xd8 /* 80096160 000930C0 4B F7 61 55 */ bl "Clamp__5CMathFRCfRCfRCf" /* 80096164 000930C4 C0 23 00 00 */ lfs f1, 0(r3) /* 80096168 000930C8 48 00 00 1C */ b lbl_80096184 lbl_8009616C: /* 8009616C 000930CC 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) /* 80096170 000930D0 38 81 00 08 */ addi r4, r1, 8 /* 80096174 000930D4 38 65 00 0C */ addi r3, r5, 0xc /* 80096178 000930D8 38 A5 00 10 */ addi r5, r5, 0x10 /* 8009617C 000930DC 4B F7 61 39 */ bl "Clamp__5CMathFRCfRCfRCf" /* 80096180 000930E0 C0 23 00 00 */ lfs f1, 0(r3) lbl_80096184: /* 80096184 000930E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80096188 000930E8 7C 08 03 A6 */ mtlr r0 /* 8009618C 000930EC 38 21 00 10 */ addi r1, r1, 0x10 /* 80096190 000930F0 4E 80 00 20 */ blr .global GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager: /* 80096194 000930F4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 80096198 000930F8 80 63 08 4C */ lwz r3, 0x84c(r3) /* 8009619C 000930FC C0 64 00 08 */ lfs f3, 8(r4) /* 800961A0 00093100 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 800961A4 00093104 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 800961A8 00093108 EC 20 18 28 */ fsubs f1, f0, f3 /* 800961AC 0009310C C0 03 04 94 */ lfs f0, 0x494(r3) /* 800961B0 00093110 C0 44 00 9C */ lfs f2, 0x9c(r4) /* 800961B4 00093114 EC 01 18 3A */ fmadds f0, f1, f0, f3 /* 800961B8 00093118 EC 22 00 32 */ fmuls f1, f2, f0 /* 800961BC 0009311C 4E 80 00 20 */ blr .global GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager: /* 800961C0 00093120 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 800961C4 00093124 80 63 08 4C */ lwz r3, 0x84c(r3) /* 800961C8 00093128 C0 64 00 08 */ lfs f3, 8(r4) /* 800961CC 0009312C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 800961D0 00093130 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 800961D4 00093134 EC 20 18 28 */ fsubs f1, f0, f3 /* 800961D8 00093138 C0 03 04 94 */ lfs f0, 0x494(r3) /* 800961DC 0009313C C0 44 00 94 */ lfs f2, 0x94(r4) /* 800961E0 00093140 EC 01 18 3A */ fmadds f0, f1, f0, f3 /* 800961E4 00093144 EC 22 00 32 */ fmuls f1, f2, f0 /* 800961E8 00093148 4E 80 00 20 */ blr .global GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager: /* 800961EC 0009314C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 800961F0 00093150 80 63 08 4C */ lwz r3, 0x84c(r3) /* 800961F4 00093154 C0 64 00 08 */ lfs f3, 8(r4) /* 800961F8 00093158 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 800961FC 0009315C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80096200 00093160 EC 20 18 28 */ fsubs f1, f0, f3 /* 80096204 00093164 C0 03 04 94 */ lfs f0, 0x494(r3) /* 80096208 00093168 C0 44 00 8C */ lfs f2, 0x8c(r4) /* 8009620C 0009316C EC 01 18 3A */ fmadds f0, f1, f0, f3 /* 80096210 00093170 EC 22 00 32 */ fmuls f1, f2, f0 /* 80096214 00093174 4E 80 00 20 */ blr .global GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager: /* 80096218 00093178 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 8009621C 0009317C 80 63 08 4C */ lwz r3, 0x84c(r3) /* 80096220 00093180 C0 64 00 08 */ lfs f3, 8(r4) /* 80096224 00093184 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80096228 00093188 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 8009622C 0009318C EC 20 18 28 */ fsubs f1, f0, f3 /* 80096230 00093190 C0 03 04 94 */ lfs f0, 0x494(r3) /* 80096234 00093194 C0 44 00 84 */ lfs f2, 0x84(r4) /* 80096238 00093198 EC 01 18 3A */ fmadds f0, f1, f0, f3 /* 8009623C 0009319C EC 22 00 32 */ fmuls f1, f2, f0 /* 80096240 000931A0 4E 80 00 20 */ blr .global GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri: /* 80096244 000931A4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80096248 000931A8 7C 08 02 A6 */ mflr r0 /* 8009624C 000931AC 90 01 00 24 */ stw r0, 0x24(r1) /* 80096250 000931B0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80096254 000931B4 93 C1 00 18 */ stw r30, 0x18(r1) /* 80096258 000931B8 7C BE 2B 78 */ mr r30, r5 /* 8009625C 000931BC 83 E3 00 24 */ lwz r31, 0x24(r3) /* 80096260 000931C0 81 9F 00 00 */ lwz r12, 0(r31) /* 80096264 000931C4 7F E3 FB 78 */ mr r3, r31 /* 80096268 000931C8 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8009626C 000931CC 7D 89 03 A6 */ mtctr r12 /* 80096270 000931D0 4E 80 04 21 */ bctrl /* 80096274 000931D4 7F E4 FB 78 */ mr r4, r31 /* 80096278 000931D8 7F C5 F3 78 */ mr r5, r30 /* 8009627C 000931DC 48 00 AD 85 */ bl GetCurrentMapAreaDepth__9CMapWorldCFRC6IWorldi /* 80096280 000931E0 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 80096284 000931E4 3C 00 43 30 */ lis r0, 0x4330 /* 80096288 000931E8 90 61 00 0C */ stw r3, 0xc(r1) /* 8009628C 000931EC C8 22 8B 88 */ lfd f1, lbl_805AA8A8@sda21(r2) /* 80096290 000931F0 90 01 00 08 */ stw r0, 8(r1) /* 80096294 000931F4 C8 01 00 08 */ lfd f0, 8(r1) /* 80096298 000931F8 EC 20 08 28 */ fsubs f1, f0, f1 /* 8009629C 000931FC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800962A0 00093200 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800962A4 00093204 80 01 00 24 */ lwz r0, 0x24(r1) /* 800962A8 00093208 7C 08 03 A6 */ mtlr r0 /* 800962AC 0009320C 38 21 00 20 */ addi r1, r1, 0x20 /* 800962B0 00093210 4E 80 00 20 */ blr .global GetMapAreaMiniMapDrawDepth__11CAutoMapperFv GetMapAreaMiniMapDrawDepth__11CAutoMapperFv: /* 800962B4 00093214 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) /* 800962B8 00093218 4E 80 00 20 */ blr .global GetMapScreenViewportSize__11CAutoMapperFv GetMapScreenViewportSize__11CAutoMapperFv: /* 800962BC 0009321C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800962C0 00093220 7C 08 02 A6 */ mflr r0 /* 800962C4 00093224 3C 80 80 3F */ lis r4, lbl_803ED910@ha /* 800962C8 00093228 90 01 00 14 */ stw r0, 0x14(r1) /* 800962CC 0009322C 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l /* 800962D0 00093230 80 85 00 08 */ lwz r4, 8(r5) /* 800962D4 00093234 80 A5 00 0C */ lwz r5, 0xc(r5) /* 800962D8 00093238 48 27 E0 75 */ bl __ct__9CVector2iFii /* 800962DC 0009323C 80 01 00 14 */ lwz r0, 0x14(r1) /* 800962E0 00093240 7C 08 03 A6 */ mtlr r0 /* 800962E4 00093244 38 21 00 10 */ addi r1, r1, 0x10 /* 800962E8 00093248 4E 80 00 20 */ blr .global GetMiniMapViewportSize__11CAutoMapperFv GetMiniMapViewportSize__11CAutoMapperFv: /* 800962EC 0009324C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800962F0 00093250 7C 08 02 A6 */ mflr r0 /* 800962F4 00093254 3C 80 43 30 */ lis r4, 0x4330 /* 800962F8 00093258 3C A0 80 3F */ lis r5, lbl_803ED910@ha /* 800962FC 0009325C 90 01 00 34 */ stw r0, 0x34(r1) /* 80096300 00093260 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l /* 80096304 00093264 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) /* 80096308 00093268 80 A6 00 08 */ lwz r5, 8(r6) /* 8009630C 0009326C 80 06 00 0C */ lwz r0, 0xc(r6) /* 80096310 00093270 6C A5 80 00 */ xoris r5, r5, 0x8000 /* 80096314 00093274 80 ED A1 44 */ lwz r7, gpTweakAutoMapper@sda21(r13) /* 80096318 00093278 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009631C 0009327C 90 81 00 08 */ stw r4, 8(r1) /* 80096320 00093280 C0 02 8B 94 */ lfs f0, lbl_805AA8B4@sda21(r2) /* 80096324 00093284 90 A1 00 0C */ stw r5, 0xc(r1) /* 80096328 00093288 C0 67 00 B8 */ lfs f3, 0xb8(r7) /* 8009632C 0009328C C8 21 00 08 */ lfd f1, 8(r1) /* 80096330 00093290 90 01 00 1C */ stw r0, 0x1c(r1) /* 80096334 00093294 EC 81 28 28 */ fsubs f4, f1, f5 /* 80096338 00093298 C0 22 8B 98 */ lfs f1, lbl_805AA8B8@sda21(r2) /* 8009633C 0009329C 90 81 00 18 */ stw r4, 0x18(r1) /* 80096340 000932A0 EC 84 00 24 */ fdivs f4, f4, f0 /* 80096344 000932A4 C8 41 00 18 */ lfd f2, 0x18(r1) /* 80096348 000932A8 C0 07 00 BC */ lfs f0, 0xbc(r7) /* 8009634C 000932AC EC 42 28 28 */ fsubs f2, f2, f5 /* 80096350 000932B0 EC 64 00 F2 */ fmuls f3, f4, f3 /* 80096354 000932B4 EC 22 08 24 */ fdivs f1, f2, f1 /* 80096358 000932B8 EC 01 00 32 */ fmuls f0, f1, f0 /* 8009635C 000932BC FC 20 18 1E */ fctiwz f1, f3 /* 80096360 000932C0 FC 00 00 1E */ fctiwz f0, f0 /* 80096364 000932C4 D8 21 00 10 */ stfd f1, 0x10(r1) /* 80096368 000932C8 D8 01 00 20 */ stfd f0, 0x20(r1) /* 8009636C 000932CC 80 81 00 14 */ lwz r4, 0x14(r1) /* 80096370 000932D0 80 A1 00 24 */ lwz r5, 0x24(r1) /* 80096374 000932D4 48 27 DF D9 */ bl __ct__9CVector2iFii /* 80096378 000932D8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8009637C 000932DC 7C 08 03 A6 */ mtlr r0 /* 80096380 000932E0 38 21 00 30 */ addi r1, r1, 0x30 /* 80096384 000932E4 4E 80 00 20 */ blr .global FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager: /* 80096388 000932E8 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8009638C 000932EC 7C 08 02 A6 */ mflr r0 /* 80096390 000932F0 90 01 00 D4 */ stw r0, 0xd4(r1) /* 80096394 000932F4 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 80096398 000932F8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 8009639C 000932FC DB C1 00 B0 */ stfd f30, 0xb0(r1) /* 800963A0 00093300 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 /* 800963A4 00093304 DB A1 00 A0 */ stfd f29, 0xa0(r1) /* 800963A8 00093308 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 /* 800963AC 0009330C DB 81 00 90 */ stfd f28, 0x90(r1) /* 800963B0 00093310 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 /* 800963B4 00093314 DB 61 00 80 */ stfd f27, 0x80(r1) /* 800963B8 00093318 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 /* 800963BC 0009331C BE A1 00 54 */ stmw r21, 0x54(r1) /* 800963C0 00093320 80 04 00 A0 */ lwz r0, 0xa0(r4) /* 800963C4 00093324 7C 78 1B 78 */ mr r24, r3 /* 800963C8 00093328 83 C4 00 10 */ lwz r30, 0x10(r4) /* 800963CC 0009332C 7C B9 2B 78 */ mr r25, r5 /* 800963D0 00093330 C3 82 8B 9C */ lfs f28, lbl_805AA8BC@sda21(r2) /* 800963D4 00093334 7C DA 33 78 */ mr r26, r6 /* 800963D8 00093338 7C 1D 03 78 */ mr r29, r0 /* 800963DC 0009333C 7C 1C 03 78 */ mr r28, r0 /* 800963E0 00093340 3B 60 00 00 */ li r27, 0 /* 800963E4 00093344 3B E0 00 00 */ li r31, 0 /* 800963E8 00093348 48 00 01 84 */ b lbl_8009656C lbl_800963EC: /* 800963EC 0009334C 80 1E 00 1C */ lwz r0, 0x1c(r30) /* 800963F0 00093350 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800963F4 00093354 7E C0 FA 14 */ add r22, r0, r31 /* 800963F8 00093358 80 96 00 10 */ lwz r4, 0x10(r22) /* 800963FC 0009335C 48 13 D5 DD */ bl StateForWorld__10CGameStateFUi /* 80096400 00093360 7C 64 1B 78 */ mr r4, r3 /* 80096404 00093364 38 61 00 08 */ addi r3, r1, 8 /* 80096408 00093368 48 13 E9 5D */ bl GetMapWorldInfo__11CWorldStateCFv /* 8009640C 0009336C 80 61 00 08 */ lwz r3, 8(r1) /* 80096410 00093370 80 63 00 00 */ lwz r3, 0(r3) /* 80096414 00093374 48 0D 18 01 */ bl IsAnythingSet__13CMapWorldInfoFv /* 80096418 00093378 7C 77 1B 78 */ mr r23, r3 /* 8009641C 0009337C 38 61 00 08 */ addi r3, r1, 8 /* 80096420 00093380 4B F7 28 1D */ bl sub_80008c3c /* 80096424 00093384 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 80096428 00093388 41 82 01 3C */ beq lbl_80096564 /* 8009642C 0009338C 3A A0 00 00 */ li r21, 0 /* 80096430 00093390 3A E0 00 00 */ li r23, 0 /* 80096434 00093394 48 00 01 24 */ b lbl_80096558 lbl_80096438: /* 80096438 00093398 80 16 00 50 */ lwz r0, 0x50(r22) /* 8009643C 0009339C 38 61 00 3C */ addi r3, r1, 0x3c /* 80096440 000933A0 C0 39 00 04 */ lfs f1, 4(r25) /* 80096444 000933A4 7C 80 BA 14 */ add r4, r0, r23 /* 80096448 000933A8 C0 19 00 08 */ lfs f0, 8(r25) /* 8009644C 000933AC C3 A4 00 2C */ lfs f29, 0x2c(r4) /* 80096450 000933B0 C3 C4 00 1C */ lfs f30, 0x1c(r4) /* 80096454 000933B4 C3 E4 00 0C */ lfs f31, 0xc(r4) /* 80096458 000933B8 EC 5D 00 28 */ fsubs f2, f29, f0 /* 8009645C 000933BC C0 19 00 00 */ lfs f0, 0(r25) /* 80096460 000933C0 EC 3E 08 28 */ fsubs f1, f30, f1 /* 80096464 000933C4 EC 1F 00 28 */ fsubs f0, f31, f0 /* 80096468 000933C8 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8009646C 000933CC D0 21 00 40 */ stfs f1, 0x40(r1) /* 80096470 000933D0 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80096474 000933D4 48 27 E2 85 */ bl CanBeNormalized__9CVector3fCFv /* 80096478 000933D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009647C 000933DC 41 82 00 90 */ beq lbl_8009650C /* 80096480 000933E0 38 61 00 30 */ addi r3, r1, 0x30 /* 80096484 000933E4 38 81 00 3C */ addi r4, r1, 0x3c /* 80096488 000933E8 48 27 E3 C9 */ bl AsNormalized__9CVector3fCFv /* 8009648C 000933EC C0 21 00 34 */ lfs f1, 0x34(r1) /* 80096490 000933F0 38 61 00 3C */ addi r3, r1, 0x3c /* 80096494 000933F4 C0 1A 00 04 */ lfs f0, 4(r26) /* 80096498 000933F8 C0 41 00 30 */ lfs f2, 0x30(r1) /* 8009649C 000933FC EC 01 00 32 */ fmuls f0, f1, f0 /* 800964A0 00093400 C0 3A 00 00 */ lfs f1, 0(r26) /* 800964A4 00093404 C0 81 00 38 */ lfs f4, 0x38(r1) /* 800964A8 00093408 C0 7A 00 08 */ lfs f3, 8(r26) /* 800964AC 0009340C EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 800964B0 00093410 EF 64 00 FA */ fmadds f27, f4, f3, f0 /* 800964B4 00093414 48 27 E4 05 */ bl Magnitude__9CVector3fCFv /* 800964B8 00093418 EC 61 06 F2 */ fmuls f3, f1, f27 /* 800964BC 0009341C C0 5A 00 04 */ lfs f2, 4(r26) /* 800964C0 00093420 C0 3A 00 08 */ lfs f1, 8(r26) /* 800964C4 00093424 38 81 00 18 */ addi r4, r1, 0x18 /* 800964C8 00093428 C0 1A 00 00 */ lfs f0, 0(r26) /* 800964CC 0009342C EC A3 00 B2 */ fmuls f5, f3, f2 /* 800964D0 00093430 EC 83 00 72 */ fmuls f4, f3, f1 /* 800964D4 00093434 C0 59 00 04 */ lfs f2, 4(r25) /* 800964D8 00093438 EC 63 00 32 */ fmuls f3, f3, f0 /* 800964DC 0009343C C0 39 00 08 */ lfs f1, 8(r25) /* 800964E0 00093440 C0 19 00 00 */ lfs f0, 0(r25) /* 800964E4 00093444 EC 42 28 2A */ fadds f2, f2, f5 /* 800964E8 00093448 EC 21 20 2A */ fadds f1, f1, f4 /* 800964EC 0009344C D0 61 00 24 */ stfs f3, 0x24(r1) /* 800964F0 00093450 EC 00 18 2A */ fadds f0, f0, f3 /* 800964F4 00093454 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 800964F8 00093458 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 800964FC 0009345C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80096500 00093460 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80096504 00093464 D0 21 00 20 */ stfs f1, 0x20(r1) /* 80096508 00093468 48 00 00 08 */ b lbl_80096510 lbl_8009650C: /* 8009650C 0009346C 7F 24 CB 78 */ mr r4, r25 lbl_80096510: /* 80096510 00093470 C0 44 00 04 */ lfs f2, 4(r4) /* 80096514 00093474 38 61 00 0C */ addi r3, r1, 0xc /* 80096518 00093478 C0 24 00 08 */ lfs f1, 8(r4) /* 8009651C 0009347C C0 04 00 00 */ lfs f0, 0(r4) /* 80096520 00093480 EC 42 F0 28 */ fsubs f2, f2, f30 /* 80096524 00093484 EC 21 E8 28 */ fsubs f1, f1, f29 /* 80096528 00093488 EC 00 F8 28 */ fsubs f0, f0, f31 /* 8009652C 0009348C D0 41 00 10 */ stfs f2, 0x10(r1) /* 80096530 00093490 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80096534 00093494 D0 21 00 14 */ stfs f1, 0x14(r1) /* 80096538 00093498 48 27 E3 81 */ bl Magnitude__9CVector3fCFv /* 8009653C 0009349C FC 01 E0 40 */ fcmpo cr0, f1, f28 /* 80096540 000934A0 40 80 00 10 */ bge lbl_80096550 /* 80096544 000934A4 FF 80 08 90 */ fmr f28, f1 /* 80096548 000934A8 7F 7D DB 78 */ mr r29, r27 /* 8009654C 000934AC 7E BC AB 78 */ mr r28, r21 lbl_80096550: /* 80096550 000934B0 3A F7 00 30 */ addi r23, r23, 0x30 /* 80096554 000934B4 3A B5 00 01 */ addi r21, r21, 1 lbl_80096558: /* 80096558 000934B8 80 16 00 48 */ lwz r0, 0x48(r22) /* 8009655C 000934BC 7C 15 00 00 */ cmpw r21, r0 /* 80096560 000934C0 41 80 FE D8 */ blt lbl_80096438 lbl_80096564: /* 80096564 000934C4 3B FF 00 70 */ addi r31, r31, 0x70 /* 80096568 000934C8 3B 7B 00 01 */ addi r27, r27, 1 lbl_8009656C: /* 8009656C 000934CC 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80096570 000934D0 7C 1B 00 00 */ cmpw r27, r0 /* 80096574 000934D4 41 80 FE 78 */ blt lbl_800963EC /* 80096578 000934D8 93 B8 00 00 */ stw r29, 0(r24) /* 8009657C 000934DC 93 98 00 04 */ stw r28, 4(r24) /* 80096580 000934E0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 80096584 000934E4 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 80096588 000934E8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 /* 8009658C 000934EC CB C1 00 B0 */ lfd f30, 0xb0(r1) /* 80096590 000934F0 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 /* 80096594 000934F4 CB A1 00 A0 */ lfd f29, 0xa0(r1) /* 80096598 000934F8 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 /* 8009659C 000934FC CB 81 00 90 */ lfd f28, 0x90(r1) /* 800965A0 00093500 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 /* 800965A4 00093504 CB 61 00 80 */ lfd f27, 0x80(r1) /* 800965A8 00093508 BA A1 00 54 */ lmw r21, 0x54(r1) /* 800965AC 0009350C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 800965B0 00093510 7C 08 03 A6 */ mtlr r0 /* 800965B4 00093514 38 21 00 D0 */ addi r1, r1, 0xd0 /* 800965B8 00093518 4E 80 00 20 */ blr .global FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo: /* 800965BC 0009351C 94 21 FE 70 */ stwu r1, -0x190(r1) /* 800965C0 00093520 7C 08 02 A6 */ mflr r0 /* 800965C4 00093524 90 01 01 94 */ stw r0, 0x194(r1) /* 800965C8 00093528 DB E1 01 80 */ stfd f31, 0x180(r1) /* 800965CC 0009352C F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 /* 800965D0 00093530 DB C1 01 70 */ stfd f30, 0x170(r1) /* 800965D4 00093534 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 /* 800965D8 00093538 DB A1 01 60 */ stfd f29, 0x160(r1) /* 800965DC 0009353C F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 /* 800965E0 00093540 DB 81 01 50 */ stfd f28, 0x150(r1) /* 800965E4 00093544 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 /* 800965E8 00093548 DB 61 01 40 */ stfd f27, 0x140(r1) /* 800965EC 0009354C F3 61 01 48 */ psq_st f27, 328(r1), 0, qr0 /* 800965F0 00093550 BE C1 01 18 */ stmw r22, 0x118(r1) /* 800965F4 00093554 7C FD 3B 78 */ mr r29, r7 /* 800965F8 00093558 7C 77 1B 78 */ mr r23, r3 /* 800965FC 0009355C 7F A3 EB 78 */ mr r3, r29 /* 80096600 00093560 7C 9B 23 78 */ mr r27, r4 /* 80096604 00093564 81 9D 00 00 */ lwz r12, 0(r29) /* 80096608 00093568 7C BC 2B 78 */ mr r28, r5 /* 8009660C 0009356C 7D 16 43 78 */ mr r22, r8 /* 80096610 00093570 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80096614 00093574 7D 89 03 A6 */ mtctr r12 /* 80096618 00093578 4E 80 04 21 */ bctrl /* 8009661C 0009357C 7C 7F 1B 78 */ mr r31, r3 /* 80096620 00093580 83 D7 00 A0 */ lwz r30, 0xa0(r23) /* 80096624 00093584 C3 82 8B A0 */ lfs f28, lbl_805AA8C0@sda21(r2) /* 80096628 00093588 7F E4 FB 78 */ mr r4, r31 /* 8009662C 0009358C 7F A5 EB 78 */ mr r5, r29 /* 80096630 00093590 7E C6 B3 78 */ mr r6, r22 /* 80096634 00093594 38 61 00 80 */ addi r3, r1, 0x80 /* 80096638 00093598 48 00 A7 D1 */ bl GetVisibleAreas__9CMapWorldCFRC6IWorldRC13CMapWorldInfo /* 8009663C 0009359C 80 01 00 84 */ lwz r0, 0x84(r1) /* 80096640 000935A0 80 61 00 88 */ lwz r3, 0x88(r1) /* 80096644 000935A4 2C 00 00 00 */ cmpwi r0, 0 /* 80096648 000935A8 90 01 00 A0 */ stw r0, 0xa0(r1) /* 8009664C 000935AC 90 61 00 A4 */ stw r3, 0xa4(r1) /* 80096650 000935B0 40 82 00 18 */ bne lbl_80096668 /* 80096654 000935B4 2C 03 00 00 */ cmpwi r3, 0 /* 80096658 000935B8 40 82 00 10 */ bne lbl_80096668 /* 8009665C 000935BC 38 00 00 00 */ li r0, 0 /* 80096660 000935C0 90 01 00 A8 */ stw r0, 0xa8(r1) /* 80096664 000935C4 48 00 00 68 */ b lbl_800966CC lbl_80096668: /* 80096668 000935C8 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8009666C 000935CC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 80096670 000935D0 40 82 00 10 */ bne lbl_80096680 /* 80096674 000935D4 38 00 00 00 */ li r0, 0 /* 80096678 000935D8 90 01 00 A8 */ stw r0, 0xa8(r1) /* 8009667C 000935DC 48 00 00 1C */ b lbl_80096698 lbl_80096680: /* 80096680 000935E0 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 80096684 000935E4 38 A0 00 00 */ li r5, 0 /* 80096688 000935E8 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 8009668C 000935EC 38 84 00 0F */ addi r4, r4, 0xf /* 80096690 000935F0 48 27 F1 89 */ bl __nwa__FUlPCcPCc /* 80096694 000935F4 90 61 00 A8 */ stw r3, 0xa8(r1) lbl_80096698: /* 80096698 000935F8 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 8009669C 000935FC 80 81 00 8C */ lwz r4, 0x8c(r1) /* 800966A0 00093600 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 800966A4 00093604 7C 09 03 A6 */ mtctr r0 /* 800966A8 00093608 2C 00 00 00 */ cmpwi r0, 0 /* 800966AC 0009360C 40 81 00 20 */ ble lbl_800966CC lbl_800966B0: /* 800966B0 00093610 28 03 00 00 */ cmplwi r3, 0 /* 800966B4 00093614 41 82 00 0C */ beq lbl_800966C0 /* 800966B8 00093618 80 04 00 00 */ lwz r0, 0(r4) /* 800966BC 0009361C 90 03 00 00 */ stw r0, 0(r3) lbl_800966C0: /* 800966C0 00093620 38 63 00 04 */ addi r3, r3, 4 /* 800966C4 00093624 38 84 00 04 */ addi r4, r4, 4 /* 800966C8 00093628 42 00 FF E8 */ bdnz lbl_800966B0 lbl_800966CC: /* 800966CC 0009362C 80 01 00 84 */ lwz r0, 0x84(r1) /* 800966D0 00093630 80 61 00 8C */ lwz r3, 0x8c(r1) /* 800966D4 00093634 54 00 10 3A */ slwi r0, r0, 2 /* 800966D8 00093638 7C 03 02 14 */ add r0, r3, r0 /* 800966DC 0009363C 90 61 00 2C */ stw r3, 0x2c(r1) /* 800966E0 00093640 7C 64 1B 78 */ mr r4, r3 /* 800966E4 00093644 90 01 00 34 */ stw r0, 0x34(r1) /* 800966E8 00093648 90 01 00 30 */ stw r0, 0x30(r1) /* 800966EC 0009364C 90 61 00 28 */ stw r3, 0x28(r1) /* 800966F0 00093650 48 00 00 08 */ b lbl_800966F8 lbl_800966F4: /* 800966F4 00093654 38 84 00 04 */ addi r4, r4, 4 lbl_800966F8: /* 800966F8 00093658 7C 04 00 40 */ cmplw r4, r0 /* 800966FC 0009365C 40 82 FF F8 */ bne lbl_800966F4 /* 80096700 00093660 28 03 00 00 */ cmplwi r3, 0 /* 80096704 00093664 41 82 00 08 */ beq lbl_8009670C /* 80096708 00093668 48 27 F2 29 */ bl Free__7CMemoryFPCv lbl_8009670C: /* 8009670C 0009366C 83 01 00 A0 */ lwz r24, 0xa0(r1) /* 80096710 00093670 2C 18 00 00 */ cmpwi r24, 0 /* 80096714 00093674 40 82 00 48 */ bne lbl_8009675C /* 80096718 00093678 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 8009671C 0009367C 57 00 10 3A */ slwi r0, r24, 2 /* 80096720 00093680 7C 03 02 14 */ add r0, r3, r0 /* 80096724 00093684 90 61 00 1C */ stw r3, 0x1c(r1) /* 80096728 00093688 7C 64 1B 78 */ mr r4, r3 /* 8009672C 0009368C 90 01 00 24 */ stw r0, 0x24(r1) /* 80096730 00093690 90 01 00 20 */ stw r0, 0x20(r1) /* 80096734 00093694 90 61 00 18 */ stw r3, 0x18(r1) /* 80096738 00093698 48 00 00 08 */ b lbl_80096740 lbl_8009673C: /* 8009673C 0009369C 38 84 00 04 */ addi r4, r4, 4 lbl_80096740: /* 80096740 000936A0 7C 04 00 40 */ cmplw r4, r0 /* 80096744 000936A4 40 82 FF F8 */ bne lbl_8009673C /* 80096748 000936A8 28 03 00 00 */ cmplwi r3, 0 /* 8009674C 000936AC 41 82 00 08 */ beq lbl_80096754 /* 80096750 000936B0 48 27 F1 E1 */ bl Free__7CMemoryFPCv lbl_80096754: /* 80096754 000936B4 38 60 FF FF */ li r3, -1 /* 80096758 000936B8 48 00 01 C4 */ b lbl_8009691C lbl_8009675C: /* 8009675C 000936BC 83 41 00 A8 */ lwz r26, 0xa8(r1) /* 80096760 000936C0 3A E0 00 00 */ li r23, 0 /* 80096764 000936C4 48 00 01 68 */ b lbl_800968CC lbl_80096768: /* 80096768 000936C8 82 DA 00 00 */ lwz r22, 0(r26) /* 8009676C 000936CC 7F E3 FB 78 */ mr r3, r31 /* 80096770 000936D0 7E C4 B3 78 */ mr r4, r22 /* 80096774 000936D4 48 00 AC 45 */ bl GetMapArea__9CMapWorldCFi /* 80096778 000936D8 7C 79 1B 78 */ mr r25, r3 /* 8009677C 000936DC 7F A5 EB 78 */ mr r5, r29 /* 80096780 000936E0 7E C6 B3 78 */ mr r6, r22 /* 80096784 000936E4 38 61 00 AC */ addi r3, r1, 0xac /* 80096788 000936E8 7F 24 CB 78 */ mr r4, r25 /* 8009678C 000936EC 4B FE 9C DD */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId /* 80096790 000936F0 38 61 00 DC */ addi r3, r1, 0xdc /* 80096794 000936F4 38 81 00 AC */ addi r4, r1, 0xac /* 80096798 000936F8 48 27 C3 DD */ bl __ct__12CTransform4fFRC12CTransform4f /* 8009679C 000936FC 7F 24 CB 78 */ mr r4, r25 /* 800967A0 00093700 38 61 00 68 */ addi r3, r1, 0x68 /* 800967A4 00093704 4B FE A5 59 */ bl GetAreaCenterPoint__8CMapAreaCFv /* 800967A8 00093708 38 61 00 74 */ addi r3, r1, 0x74 /* 800967AC 0009370C 38 81 00 DC */ addi r4, r1, 0xdc /* 800967B0 00093710 38 A1 00 68 */ addi r5, r1, 0x68 /* 800967B4 00093714 48 27 C3 35 */ bl __ml__12CTransform4fCFRC9CVector3f /* 800967B8 00093718 C3 A1 00 74 */ lfs f29, 0x74(r1) /* 800967BC 0009371C 38 61 00 90 */ addi r3, r1, 0x90 /* 800967C0 00093720 C0 1B 00 00 */ lfs f0, 0(r27) /* 800967C4 00093724 C3 E1 00 78 */ lfs f31, 0x78(r1) /* 800967C8 00093728 C0 5B 00 04 */ lfs f2, 4(r27) /* 800967CC 0009372C EC 1D 00 28 */ fsubs f0, f29, f0 /* 800967D0 00093730 C3 C1 00 7C */ lfs f30, 0x7c(r1) /* 800967D4 00093734 C0 3B 00 08 */ lfs f1, 8(r27) /* 800967D8 00093738 EC 5F 10 28 */ fsubs f2, f31, f2 /* 800967DC 0009373C D0 01 00 90 */ stfs f0, 0x90(r1) /* 800967E0 00093740 EC 1E 08 28 */ fsubs f0, f30, f1 /* 800967E4 00093744 D0 41 00 94 */ stfs f2, 0x94(r1) /* 800967E8 00093748 D0 01 00 98 */ stfs f0, 0x98(r1) /* 800967EC 0009374C 48 27 DF 0D */ bl CanBeNormalized__9CVector3fCFv /* 800967F0 00093750 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800967F4 00093754 41 82 00 90 */ beq lbl_80096884 /* 800967F8 00093758 38 61 00 5C */ addi r3, r1, 0x5c /* 800967FC 0009375C 38 81 00 90 */ addi r4, r1, 0x90 /* 80096800 00093760 48 27 E0 51 */ bl AsNormalized__9CVector3fCFv /* 80096804 00093764 C0 21 00 60 */ lfs f1, 0x60(r1) /* 80096808 00093768 38 61 00 90 */ addi r3, r1, 0x90 /* 8009680C 0009376C C0 1C 00 04 */ lfs f0, 4(r28) /* 80096810 00093770 C0 41 00 5C */ lfs f2, 0x5c(r1) /* 80096814 00093774 EC 01 00 32 */ fmuls f0, f1, f0 /* 80096818 00093778 C0 3C 00 00 */ lfs f1, 0(r28) /* 8009681C 0009377C C0 81 00 64 */ lfs f4, 0x64(r1) /* 80096820 00093780 C0 7C 00 08 */ lfs f3, 8(r28) /* 80096824 00093784 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 80096828 00093788 EF 64 00 FA */ fmadds f27, f4, f3, f0 /* 8009682C 0009378C 48 27 E0 8D */ bl Magnitude__9CVector3fCFv /* 80096830 00093790 EC 61 06 F2 */ fmuls f3, f1, f27 /* 80096834 00093794 C0 5C 00 04 */ lfs f2, 4(r28) /* 80096838 00093798 C0 3C 00 08 */ lfs f1, 8(r28) /* 8009683C 0009379C 38 81 00 44 */ addi r4, r1, 0x44 /* 80096840 000937A0 C0 1C 00 00 */ lfs f0, 0(r28) /* 80096844 000937A4 EC A3 00 B2 */ fmuls f5, f3, f2 /* 80096848 000937A8 EC 83 00 72 */ fmuls f4, f3, f1 /* 8009684C 000937AC C0 5B 00 04 */ lfs f2, 4(r27) /* 80096850 000937B0 EC 63 00 32 */ fmuls f3, f3, f0 /* 80096854 000937B4 C0 3B 00 08 */ lfs f1, 8(r27) /* 80096858 000937B8 C0 1B 00 00 */ lfs f0, 0(r27) /* 8009685C 000937BC EC 42 28 2A */ fadds f2, f2, f5 /* 80096860 000937C0 EC 21 20 2A */ fadds f1, f1, f4 /* 80096864 000937C4 D0 61 00 50 */ stfs f3, 0x50(r1) /* 80096868 000937C8 EC 00 18 2A */ fadds f0, f0, f3 /* 8009686C 000937CC D0 A1 00 54 */ stfs f5, 0x54(r1) /* 80096870 000937D0 D0 81 00 58 */ stfs f4, 0x58(r1) /* 80096874 000937D4 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80096878 000937D8 D0 41 00 48 */ stfs f2, 0x48(r1) /* 8009687C 000937DC D0 21 00 4C */ stfs f1, 0x4c(r1) /* 80096880 000937E0 48 00 00 08 */ b lbl_80096888 lbl_80096884: /* 80096884 000937E4 7F 64 DB 78 */ mr r4, r27 lbl_80096888: /* 80096888 000937E8 C0 44 00 04 */ lfs f2, 4(r4) /* 8009688C 000937EC 38 61 00 38 */ addi r3, r1, 0x38 /* 80096890 000937F0 C0 24 00 08 */ lfs f1, 8(r4) /* 80096894 000937F4 C0 04 00 00 */ lfs f0, 0(r4) /* 80096898 000937F8 EC 42 F8 28 */ fsubs f2, f2, f31 /* 8009689C 000937FC EC 21 F0 28 */ fsubs f1, f1, f30 /* 800968A0 00093800 EC 00 E8 28 */ fsubs f0, f0, f29 /* 800968A4 00093804 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 800968A8 00093808 D0 01 00 38 */ stfs f0, 0x38(r1) /* 800968AC 0009380C D0 21 00 40 */ stfs f1, 0x40(r1) /* 800968B0 00093810 48 27 E0 09 */ bl Magnitude__9CVector3fCFv /* 800968B4 00093814 FC 01 E0 40 */ fcmpo cr0, f1, f28 /* 800968B8 00093818 40 80 00 0C */ bge lbl_800968C4 /* 800968BC 0009381C 7E DE B3 78 */ mr r30, r22 /* 800968C0 00093820 FF 80 08 90 */ fmr f28, f1 lbl_800968C4: /* 800968C4 00093824 3B 5A 00 04 */ addi r26, r26, 4 /* 800968C8 00093828 3A F7 00 01 */ addi r23, r23, 1 lbl_800968CC: /* 800968CC 0009382C 7C 17 C0 00 */ cmpw r23, r24 /* 800968D0 00093830 41 80 FE 98 */ blt lbl_80096768 /* 800968D4 00093834 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 800968D8 00093838 7F DA F3 78 */ mr r26, r30 /* 800968DC 0009383C 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 800968E0 00093840 54 00 10 3A */ slwi r0, r0, 2 /* 800968E4 00093844 7C 03 02 14 */ add r0, r3, r0 /* 800968E8 00093848 90 61 00 0C */ stw r3, 0xc(r1) /* 800968EC 0009384C 7C 64 1B 78 */ mr r4, r3 /* 800968F0 00093850 90 01 00 14 */ stw r0, 0x14(r1) /* 800968F4 00093854 90 01 00 10 */ stw r0, 0x10(r1) /* 800968F8 00093858 90 61 00 08 */ stw r3, 8(r1) /* 800968FC 0009385C 48 00 00 08 */ b lbl_80096904 lbl_80096900: /* 80096900 00093860 38 84 00 04 */ addi r4, r4, 4 lbl_80096904: /* 80096904 00093864 7C 04 00 40 */ cmplw r4, r0 /* 80096908 00093868 40 82 FF F8 */ bne lbl_80096900 /* 8009690C 0009386C 28 03 00 00 */ cmplwi r3, 0 /* 80096910 00093870 41 82 00 08 */ beq lbl_80096918 /* 80096914 00093874 48 27 F0 1D */ bl Free__7CMemoryFPCv lbl_80096918: /* 80096918 00093878 7F 43 D3 78 */ mr r3, r26 lbl_8009691C: /* 8009691C 0009387C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 /* 80096920 00093880 CB E1 01 80 */ lfd f31, 0x180(r1) /* 80096924 00093884 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 /* 80096928 00093888 CB C1 01 70 */ lfd f30, 0x170(r1) /* 8009692C 0009388C E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 /* 80096930 00093890 CB A1 01 60 */ lfd f29, 0x160(r1) /* 80096934 00093894 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 /* 80096938 00093898 CB 81 01 50 */ lfd f28, 0x150(r1) /* 8009693C 0009389C E3 61 01 48 */ psq_l f27, 328(r1), 0, qr0 /* 80096940 000938A0 CB 61 01 40 */ lfd f27, 0x140(r1) /* 80096944 000938A4 BA C1 01 18 */ lmw r22, 0x118(r1) /* 80096948 000938A8 80 01 01 94 */ lwz r0, 0x194(r1) /* 8009694C 000938AC 7C 08 03 A6 */ mtlr r0 /* 80096950 000938B0 38 21 01 90 */ addi r1, r1, 0x190 /* 80096954 000938B4 4E 80 00 20 */ blr .global GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri: /* 80096958 000938B8 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8009695C 000938BC 7C 08 02 A6 */ mflr r0 /* 80096960 000938C0 90 01 00 64 */ stw r0, 0x64(r1) /* 80096964 000938C4 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80096968 000938C8 93 C1 00 58 */ stw r30, 0x58(r1) /* 8009696C 000938CC 93 A1 00 54 */ stw r29, 0x54(r1) /* 80096970 000938D0 7C DD 33 78 */ mr r29, r6 /* 80096974 000938D4 93 81 00 50 */ stw r28, 0x50(r1) /* 80096978 000938D8 7C 7C 1B 78 */ mr r28, r3 /* 8009697C 000938DC 83 C4 00 24 */ lwz r30, 0x24(r4) /* 80096980 000938E0 81 9E 00 00 */ lwz r12, 0(r30) /* 80096984 000938E4 7F C3 F3 78 */ mr r3, r30 /* 80096988 000938E8 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8009698C 000938EC 7D 89 03 A6 */ mtctr r12 /* 80096990 000938F0 4E 80 04 21 */ bctrl /* 80096994 000938F4 7F A4 EB 78 */ mr r4, r29 /* 80096998 000938F8 48 00 AA 21 */ bl GetMapArea__9CMapWorldCFi /* 8009699C 000938FC 7C 7F 1B 78 */ mr r31, r3 /* 800969A0 00093900 38 61 00 08 */ addi r3, r1, 8 /* 800969A4 00093904 7F E4 FB 78 */ mr r4, r31 /* 800969A8 00093908 4B FE A3 55 */ bl GetAreaCenterPoint__8CMapAreaCFv /* 800969AC 0009390C 7F E4 FB 78 */ mr r4, r31 /* 800969B0 00093910 7F C5 F3 78 */ mr r5, r30 /* 800969B4 00093914 7F A6 EB 78 */ mr r6, r29 /* 800969B8 00093918 38 61 00 14 */ addi r3, r1, 0x14 /* 800969BC 0009391C 4B FE 9A AD */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId /* 800969C0 00093920 7F 83 E3 78 */ mr r3, r28 /* 800969C4 00093924 38 81 00 14 */ addi r4, r1, 0x14 /* 800969C8 00093928 38 A1 00 08 */ addi r5, r1, 8 /* 800969CC 0009392C 48 27 C1 1D */ bl __ml__12CTransform4fCFRC9CVector3f /* 800969D0 00093930 80 01 00 64 */ lwz r0, 0x64(r1) /* 800969D4 00093934 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 800969D8 00093938 83 C1 00 58 */ lwz r30, 0x58(r1) /* 800969DC 0009393C 83 A1 00 54 */ lwz r29, 0x54(r1) /* 800969E0 00093940 83 81 00 50 */ lwz r28, 0x50(r1) /* 800969E4 00093944 7C 08 03 A6 */ mtlr r0 /* 800969E8 00093948 38 21 00 60 */ addi r1, r1, 0x60 /* 800969EC 0009394C 4E 80 00 20 */ blr .global GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager: /* 800969F0 00093950 94 21 FF 80 */ stwu r1, -0x80(r1) /* 800969F4 00093954 7C 08 02 A6 */ mflr r0 /* 800969F8 00093958 90 01 00 84 */ stw r0, 0x84(r1) /* 800969FC 0009395C DB E1 00 70 */ stfd f31, 0x70(r1) /* 80096A00 00093960 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80096A04 00093964 93 E1 00 6C */ stw r31, 0x6c(r1) /* 80096A08 00093968 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) /* 80096A0C 0009396C 7C 7F 1B 78 */ mr r31, r3 /* 80096A10 00093970 80 64 08 70 */ lwz r3, 0x870(r4) /* 80096A14 00093974 C3 E5 00 2C */ lfs f31, 0x2c(r5) /* 80096A18 00093978 4B F7 51 01 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 80096A1C 0009397C 7C 64 1B 78 */ mr r4, r3 /* 80096A20 00093980 38 61 00 30 */ addi r3, r1, 0x30 /* 80096A24 00093984 38 84 00 34 */ addi r4, r4, 0x34 /* 80096A28 00093988 48 27 B7 01 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 80096A2C 0009398C 38 61 00 40 */ addi r3, r1, 0x40 /* 80096A30 00093990 38 81 00 30 */ addi r4, r1, 0x30 /* 80096A34 00093994 4B F8 4B 91 */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion /* 80096A38 00093998 C0 81 00 48 */ lfs f4, 0x48(r1) /* 80096A3C 0009399C 3C 00 43 30 */ lis r0, 0x4330 /* 80096A40 000939A0 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) /* 80096A44 000939A4 90 01 00 58 */ stw r0, 0x58(r1) /* 80096A48 000939A8 EC 44 00 32 */ fmuls f2, f4, f0 /* 80096A4C 000939AC C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) /* 80096A50 000939B0 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) /* 80096A54 000939B4 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80096A58 000939B8 FC 40 10 1E */ fctiwz f2, f2 /* 80096A5C 000939BC D8 41 00 50 */ stfd f2, 0x50(r1) /* 80096A60 000939C0 80 01 00 54 */ lwz r0, 0x54(r1) /* 80096A64 000939C4 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80096A68 000939C8 90 01 00 5C */ stw r0, 0x5c(r1) /* 80096A6C 000939CC C8 41 00 58 */ lfd f2, 0x58(r1) /* 80096A70 000939D0 EC 42 18 28 */ fsubs f2, f2, f3 /* 80096A74 000939D4 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 /* 80096A78 000939D8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80096A7C 000939DC 40 80 00 08 */ bge lbl_80096A84 /* 80096A80 000939E0 EC 42 08 2A */ fadds f2, f2, f1 lbl_80096A84: /* 80096A84 000939E4 C0 02 8B AC */ lfs f0, lbl_805AA8CC@sda21(r2) /* 80096A88 000939E8 38 61 00 10 */ addi r3, r1, 0x10 /* 80096A8C 000939EC D0 41 00 0C */ stfs f2, 0xc(r1) /* 80096A90 000939F0 38 81 00 08 */ addi r4, r1, 8 /* 80096A94 000939F4 EC 00 07 F2 */ fmuls f0, f0, f31 /* 80096A98 000939F8 D0 01 00 08 */ stfs f0, 8(r1) /* 80096A9C 000939FC 48 27 A6 CD */ bl XRotation__11CQuaternionFRC9CRelAngle /* 80096AA0 00093A00 38 61 00 20 */ addi r3, r1, 0x20 /* 80096AA4 00093A04 38 81 00 0C */ addi r4, r1, 0xc /* 80096AA8 00093A08 48 27 A6 51 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80096AAC 00093A0C 7F E3 FB 78 */ mr r3, r31 /* 80096AB0 00093A10 38 81 00 20 */ addi r4, r1, 0x20 /* 80096AB4 00093A14 38 A1 00 10 */ addi r5, r1, 0x10 /* 80096AB8 00093A18 48 27 A6 E9 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80096ABC 00093A1C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80096AC0 00093A20 80 01 00 84 */ lwz r0, 0x84(r1) /* 80096AC4 00093A24 CB E1 00 70 */ lfd f31, 0x70(r1) /* 80096AC8 00093A28 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80096ACC 00093A2C 7C 08 03 A6 */ mtlr r0 /* 80096AD0 00093A30 38 21 00 80 */ addi r1, r1, 0x80 /* 80096AD4 00093A34 4E 80 00 20 */ blr .global LeaveMapScreenState__11CAutoMapperFv LeaveMapScreenState__11CAutoMapperFv: /* 80096AD8 00093A38 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80096ADC 00093A3C 7C 08 02 A6 */ mflr r0 /* 80096AE0 00093A40 38 80 00 00 */ li r4, 0 /* 80096AE4 00093A44 90 01 00 14 */ stw r0, 0x14(r1) /* 80096AE8 00093A48 93 E1 00 0C */ stw r31, 0xc(r1) /* 80096AEC 00093A4C 7C 7F 1B 78 */ mr r31, r3 /* 80096AF0 00093A50 48 00 01 39 */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb /* 80096AF4 00093A54 7F E3 FB 78 */ mr r3, r31 /* 80096AF8 00093A58 38 80 00 00 */ li r4, 0 /* 80096AFC 00093A5C 48 00 00 A9 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb /* 80096B00 00093A60 7F E3 FB 78 */ mr r3, r31 /* 80096B04 00093A64 38 80 00 00 */ li r4, 0 /* 80096B08 00093A68 48 00 00 19 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb /* 80096B0C 00093A6C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80096B10 00093A70 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80096B14 00093A74 7C 08 03 A6 */ mtlr r0 /* 80096B18 00093A78 38 21 00 10 */ addi r1, r1, 0x10 /* 80096B1C 00093A7C 4E 80 00 20 */ blr .global SetShouldRotatingSoundBePlaying__11CAutoMapperFb SetShouldRotatingSoundBePlaying__11CAutoMapperFb: /* 80096B20 00093A80 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80096B24 00093A84 7C 08 02 A6 */ mflr r0 /* 80096B28 00093A88 90 01 00 24 */ stw r0, 0x24(r1) /* 80096B2C 00093A8C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80096B30 00093A90 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80096B34 00093A94 7C 7F 1B 78 */ mr r31, r3 /* 80096B38 00093A98 41 82 00 40 */ beq lbl_80096B78 /* 80096B3C 00093A9C 80 1F 01 D0 */ lwz r0, 0x1d0(r31) /* 80096B40 00093AA0 28 00 00 00 */ cmplwi r0, 0 /* 80096B44 00093AA4 40 82 00 4C */ bne lbl_80096B90 /* 80096B48 00093AA8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80096B4C 00093AAC 38 61 00 0C */ addi r3, r1, 0xc /* 80096B50 00093AB0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80096B54 00093AB4 38 80 05 5F */ li r4, 0x55f /* 80096B58 00093AB8 38 A0 00 7F */ li r5, 0x7f /* 80096B5C 00093ABC 38 C0 00 40 */ li r6, 0x40 /* 80096B60 00093AC0 38 E0 00 00 */ li r7, 0 /* 80096B64 00093AC4 39 20 00 01 */ li r9, 1 /* 80096B68 00093AC8 48 25 32 0D */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80096B6C 00093ACC 80 01 00 0C */ lwz r0, 0xc(r1) /* 80096B70 00093AD0 90 1F 01 D0 */ stw r0, 0x1d0(r31) /* 80096B74 00093AD4 48 00 00 1C */ b lbl_80096B90 lbl_80096B78: /* 80096B78 00093AD8 80 1F 01 D0 */ lwz r0, 0x1d0(r31) /* 80096B7C 00093ADC 38 61 00 08 */ addi r3, r1, 8 /* 80096B80 00093AE0 90 01 00 08 */ stw r0, 8(r1) /* 80096B84 00093AE4 48 25 31 C5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 80096B88 00093AE8 38 00 00 00 */ li r0, 0 /* 80096B8C 00093AEC 90 1F 01 D0 */ stw r0, 0x1d0(r31) lbl_80096B90: /* 80096B90 00093AF0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80096B94 00093AF4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80096B98 00093AF8 7C 08 03 A6 */ mtlr r0 /* 80096B9C 00093AFC 38 21 00 20 */ addi r1, r1, 0x20 /* 80096BA0 00093B00 4E 80 00 20 */ blr .global SetShouldZoomingSoundBePlaying__11CAutoMapperFb SetShouldZoomingSoundBePlaying__11CAutoMapperFb: /* 80096BA4 00093B04 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80096BA8 00093B08 7C 08 02 A6 */ mflr r0 /* 80096BAC 00093B0C 90 01 00 24 */ stw r0, 0x24(r1) /* 80096BB0 00093B10 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80096BB4 00093B14 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80096BB8 00093B18 7C 7F 1B 78 */ mr r31, r3 /* 80096BBC 00093B1C 41 82 00 40 */ beq lbl_80096BFC /* 80096BC0 00093B20 80 1F 01 D4 */ lwz r0, 0x1d4(r31) /* 80096BC4 00093B24 28 00 00 00 */ cmplwi r0, 0 /* 80096BC8 00093B28 40 82 00 4C */ bne lbl_80096C14 /* 80096BCC 00093B2C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80096BD0 00093B30 38 61 00 0C */ addi r3, r1, 0xc /* 80096BD4 00093B34 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80096BD8 00093B38 38 80 05 60 */ li r4, 0x560 /* 80096BDC 00093B3C 38 A0 00 7F */ li r5, 0x7f /* 80096BE0 00093B40 38 C0 00 40 */ li r6, 0x40 /* 80096BE4 00093B44 38 E0 00 00 */ li r7, 0 /* 80096BE8 00093B48 39 20 00 01 */ li r9, 1 /* 80096BEC 00093B4C 48 25 31 89 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80096BF0 00093B50 80 01 00 0C */ lwz r0, 0xc(r1) /* 80096BF4 00093B54 90 1F 01 D4 */ stw r0, 0x1d4(r31) /* 80096BF8 00093B58 48 00 00 1C */ b lbl_80096C14 lbl_80096BFC: /* 80096BFC 00093B5C 80 1F 01 D4 */ lwz r0, 0x1d4(r31) /* 80096C00 00093B60 38 61 00 08 */ addi r3, r1, 8 /* 80096C04 00093B64 90 01 00 08 */ stw r0, 8(r1) /* 80096C08 00093B68 48 25 31 41 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 80096C0C 00093B6C 38 00 00 00 */ li r0, 0 /* 80096C10 00093B70 90 1F 01 D4 */ stw r0, 0x1d4(r31) lbl_80096C14: /* 80096C14 00093B74 80 01 00 24 */ lwz r0, 0x24(r1) /* 80096C18 00093B78 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80096C1C 00093B7C 7C 08 03 A6 */ mtlr r0 /* 80096C20 00093B80 38 21 00 20 */ addi r1, r1, 0x20 /* 80096C24 00093B84 4E 80 00 20 */ blr .global SetShouldPanningSoundBePlaying__11CAutoMapperFb SetShouldPanningSoundBePlaying__11CAutoMapperFb: /* 80096C28 00093B88 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80096C2C 00093B8C 7C 08 02 A6 */ mflr r0 /* 80096C30 00093B90 90 01 00 24 */ stw r0, 0x24(r1) /* 80096C34 00093B94 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80096C38 00093B98 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80096C3C 00093B9C 7C 7F 1B 78 */ mr r31, r3 /* 80096C40 00093BA0 41 82 00 40 */ beq lbl_80096C80 /* 80096C44 00093BA4 80 1F 01 CC */ lwz r0, 0x1cc(r31) /* 80096C48 00093BA8 28 00 00 00 */ cmplwi r0, 0 /* 80096C4C 00093BAC 40 82 00 4C */ bne lbl_80096C98 /* 80096C50 00093BB0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80096C54 00093BB4 38 61 00 0C */ addi r3, r1, 0xc /* 80096C58 00093BB8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80096C5C 00093BBC 38 80 05 7E */ li r4, 0x57e /* 80096C60 00093BC0 38 A0 00 7F */ li r5, 0x7f /* 80096C64 00093BC4 38 C0 00 40 */ li r6, 0x40 /* 80096C68 00093BC8 38 E0 00 00 */ li r7, 0 /* 80096C6C 00093BCC 39 20 00 01 */ li r9, 1 /* 80096C70 00093BD0 48 25 31 05 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80096C74 00093BD4 80 01 00 0C */ lwz r0, 0xc(r1) /* 80096C78 00093BD8 90 1F 01 CC */ stw r0, 0x1cc(r31) /* 80096C7C 00093BDC 48 00 00 1C */ b lbl_80096C98 lbl_80096C80: /* 80096C80 00093BE0 80 1F 01 CC */ lwz r0, 0x1cc(r31) /* 80096C84 00093BE4 38 61 00 08 */ addi r3, r1, 8 /* 80096C88 00093BE8 90 01 00 08 */ stw r0, 8(r1) /* 80096C8C 00093BEC 48 25 30 BD */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 80096C90 00093BF0 38 00 00 00 */ li r0, 0 /* 80096C94 00093BF4 90 1F 01 CC */ stw r0, 0x1cc(r31) lbl_80096C98: /* 80096C98 00093BF8 80 01 00 24 */ lwz r0, 0x24(r1) /* 80096C9C 00093BFC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80096CA0 00093C00 7C 08 03 A6 */ mtlr r0 /* 80096CA4 00093C04 38 21 00 20 */ addi r1, r1, 0x20 /* 80096CA8 00093C08 4E 80 00 20 */ blr .global BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: /* 80096CAC 00093C0C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 80096CB0 00093C10 7C 08 02 A6 */ mflr r0 /* 80096CB4 00093C14 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80096CB8 00093C18 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 80096CBC 00093C1C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 80096CC0 00093C20 DB C1 00 90 */ stfd f30, 0x90(r1) /* 80096CC4 00093C24 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 80096CC8 00093C28 BF 41 00 78 */ stmw r26, 0x78(r1) /* 80096CCC 00093C2C 7C 9B 23 78 */ mr r27, r4 /* 80096CD0 00093C30 7C BC 2B 78 */ mr r28, r5 /* 80096CD4 00093C34 7C FE 3B 78 */ mr r30, r7 /* 80096CD8 00093C38 7C 7A 1B 78 */ mr r26, r3 /* 80096CDC 00093C3C 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) /* 80096CE0 00093C40 7C DD 33 78 */ mr r29, r6 /* 80096CE4 00093C44 7F 63 DB 78 */ mr r3, r27 /* 80096CE8 00093C48 7F 84 E3 78 */ mr r4, r28 /* 80096CEC 00093C4C 7F C5 F3 78 */ mr r5, r30 /* 80096CF0 00093C50 4B FF F5 55 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri /* 80096CF4 00093C54 FF C0 08 90 */ fmr f30, f1 /* 80096CF8 00093C58 7F 63 DB 78 */ mr r3, r27 /* 80096CFC 00093C5C 7F 84 E3 78 */ mr r4, r28 /* 80096D00 00093C60 7F C5 F3 78 */ mr r5, r30 /* 80096D04 00093C64 4B FF F5 41 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri /* 80096D08 00093C68 FF E0 08 90 */ fmr f31, f1 /* 80096D0C 00093C6C 7F 64 DB 78 */ mr r4, r27 /* 80096D10 00093C70 7F 85 E3 78 */ mr r5, r28 /* 80096D14 00093C74 7F C6 F3 78 */ mr r6, r30 /* 80096D18 00093C78 38 61 00 10 */ addi r3, r1, 0x10 /* 80096D1C 00093C7C 4B FF FC 3D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri /* 80096D20 00093C80 38 61 00 08 */ addi r3, r1, 8 /* 80096D24 00093C84 4B FF F5 99 */ bl GetMapScreenViewportSize__11CAutoMapperFv /* 80096D28 00093C88 C0 A2 8B A8 */ lfs f5, lbl_805AA8C8@sda21(r2) /* 80096D2C 00093C8C FC 60 F8 90 */ fmr f3, f31 /* 80096D30 00093C90 FC 80 F0 90 */ fmr f4, f30 /* 80096D34 00093C94 C0 3F 00 D0 */ lfs f1, 0xd0(r31) /* 80096D38 00093C98 FC C0 28 90 */ fmr f6, f5 /* 80096D3C 00093C9C C0 5F 00 1C */ lfs f2, 0x1c(r31) /* 80096D40 00093CA0 FC E0 28 90 */ fmr f7, f5 /* 80096D44 00093CA4 FD 00 28 90 */ fmr f8, f5 /* 80096D48 00093CA8 7F A5 EB 78 */ mr r5, r29 /* 80096D4C 00093CAC 38 61 00 1C */ addi r3, r1, 0x1c /* 80096D50 00093CB0 38 81 00 08 */ addi r4, r1, 8 /* 80096D54 00093CB4 38 C1 00 10 */ addi r6, r1, 0x10 /* 80096D58 00093CB8 48 00 72 FD */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff /* 80096D5C 00093CBC 38 A0 00 02 */ li r5, 2 /* 80096D60 00093CC0 38 00 00 01 */ li r0, 1 /* 80096D64 00093CC4 90 A1 00 60 */ stw r5, 0x60(r1) /* 80096D68 00093CC8 7F 43 D3 78 */ mr r3, r26 /* 80096D6C 00093CCC 38 81 00 1C */ addi r4, r1, 0x1c /* 80096D70 00093CD0 90 01 00 64 */ stw r0, 0x64(r1) /* 80096D74 00093CD4 90 A1 00 68 */ stw r5, 0x68(r1) /* 80096D78 00093CD8 90 01 00 6C */ stw r0, 0x6c(r1) /* 80096D7C 00093CDC 90 A1 00 70 */ stw r5, 0x70(r1) /* 80096D80 00093CE0 90 01 00 74 */ stw r0, 0x74(r1) /* 80096D84 00093CE4 48 00 00 29 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState /* 80096D88 00093CE8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80096D8C 00093CEC CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80096D90 00093CF0 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 80096D94 00093CF4 CB C1 00 90 */ lfd f30, 0x90(r1) /* 80096D98 00093CF8 BB 41 00 78 */ lmw r26, 0x78(r1) /* 80096D9C 00093CFC 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80096DA0 00093D00 7C 08 03 A6 */ mtlr r0 /* 80096DA4 00093D04 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80096DA8 00093D08 4E 80 00 20 */ blr .global __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState: /* 80096DAC 00093D0C 80 04 00 00 */ lwz r0, 0(r4) /* 80096DB0 00093D10 90 03 00 00 */ stw r0, 0(r3) /* 80096DB4 00093D14 80 04 00 04 */ lwz r0, 4(r4) /* 80096DB8 00093D18 90 03 00 04 */ stw r0, 4(r3) /* 80096DBC 00093D1C C0 04 00 08 */ lfs f0, 8(r4) /* 80096DC0 00093D20 D0 03 00 08 */ stfs f0, 8(r3) /* 80096DC4 00093D24 C0 04 00 0C */ lfs f0, 0xc(r4) /* 80096DC8 00093D28 D0 03 00 0C */ stfs f0, 0xc(r3) /* 80096DCC 00093D2C C0 04 00 10 */ lfs f0, 0x10(r4) /* 80096DD0 00093D30 D0 03 00 10 */ stfs f0, 0x10(r3) /* 80096DD4 00093D34 C0 04 00 14 */ lfs f0, 0x14(r4) /* 80096DD8 00093D38 D0 03 00 14 */ stfs f0, 0x14(r3) /* 80096DDC 00093D3C C0 04 00 18 */ lfs f0, 0x18(r4) /* 80096DE0 00093D40 D0 03 00 18 */ stfs f0, 0x18(r3) /* 80096DE4 00093D44 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 80096DE8 00093D48 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 80096DEC 00093D4C C0 04 00 20 */ lfs f0, 0x20(r4) /* 80096DF0 00093D50 D0 03 00 20 */ stfs f0, 0x20(r3) /* 80096DF4 00093D54 C0 04 00 24 */ lfs f0, 0x24(r4) /* 80096DF8 00093D58 D0 03 00 24 */ stfs f0, 0x24(r3) /* 80096DFC 00093D5C C0 04 00 28 */ lfs f0, 0x28(r4) /* 80096E00 00093D60 D0 03 00 28 */ stfs f0, 0x28(r3) /* 80096E04 00093D64 C0 04 00 2C */ lfs f0, 0x2c(r4) /* 80096E08 00093D68 D0 03 00 2C */ stfs f0, 0x2c(r3) /* 80096E0C 00093D6C C0 04 00 30 */ lfs f0, 0x30(r4) /* 80096E10 00093D70 D0 03 00 30 */ stfs f0, 0x30(r3) /* 80096E14 00093D74 C0 04 00 34 */ lfs f0, 0x34(r4) /* 80096E18 00093D78 D0 03 00 34 */ stfs f0, 0x34(r3) /* 80096E1C 00093D7C C0 04 00 38 */ lfs f0, 0x38(r4) /* 80096E20 00093D80 D0 03 00 38 */ stfs f0, 0x38(r3) /* 80096E24 00093D84 C0 04 00 3C */ lfs f0, 0x3c(r4) /* 80096E28 00093D88 D0 03 00 3C */ stfs f0, 0x3c(r3) /* 80096E2C 00093D8C C0 04 00 40 */ lfs f0, 0x40(r4) /* 80096E30 00093D90 D0 03 00 40 */ stfs f0, 0x40(r3) /* 80096E34 00093D94 80 04 00 44 */ lwz r0, 0x44(r4) /* 80096E38 00093D98 90 03 00 44 */ stw r0, 0x44(r3) /* 80096E3C 00093D9C 80 04 00 48 */ lwz r0, 0x48(r4) /* 80096E40 00093DA0 90 03 00 48 */ stw r0, 0x48(r3) /* 80096E44 00093DA4 80 04 00 4C */ lwz r0, 0x4c(r4) /* 80096E48 00093DA8 90 03 00 4C */ stw r0, 0x4c(r3) /* 80096E4C 00093DAC 80 04 00 50 */ lwz r0, 0x50(r4) /* 80096E50 00093DB0 90 03 00 50 */ stw r0, 0x50(r3) /* 80096E54 00093DB4 80 04 00 54 */ lwz r0, 0x54(r4) /* 80096E58 00093DB8 90 03 00 54 */ stw r0, 0x54(r3) /* 80096E5C 00093DBC 80 04 00 58 */ lwz r0, 0x58(r4) /* 80096E60 00093DC0 90 03 00 58 */ stw r0, 0x58(r3) /* 80096E64 00093DC4 4E 80 00 20 */ blr .global BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: /* 80096E68 00093DC8 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 80096E6C 00093DCC 7C 08 02 A6 */ mflr r0 /* 80096E70 00093DD0 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80096E74 00093DD4 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 80096E78 00093DD8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 80096E7C 00093DDC DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 80096E80 00093DE0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 80096E84 00093DE4 DB A1 00 90 */ stfd f29, 0x90(r1) /* 80096E88 00093DE8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 80096E8C 00093DEC BF 41 00 78 */ stmw r26, 0x78(r1) /* 80096E90 00093DF0 55 00 06 3F */ clrlwi. r0, r8, 0x18 /* 80096E94 00093DF4 7C 7A 1B 78 */ mr r26, r3 /* 80096E98 00093DF8 7C 9B 23 78 */ mr r27, r4 /* 80096E9C 00093DFC 7C BC 2B 78 */ mr r28, r5 /* 80096EA0 00093E00 7C DD 33 78 */ mr r29, r6 /* 80096EA4 00093E04 7C FE 3B 78 */ mr r30, r7 /* 80096EA8 00093E08 41 82 00 10 */ beq lbl_80096EB8 /* 80096EAC 00093E0C 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 80096EB0 00093E10 C3 A3 00 10 */ lfs f29, 0x10(r3) /* 80096EB4 00093E14 48 00 00 0C */ b lbl_80096EC0 lbl_80096EB8: /* 80096EB8 00093E18 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 80096EBC 00093E1C C3 A3 00 08 */ lfs f29, 8(r3) lbl_80096EC0: /* 80096EC0 00093E20 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) /* 80096EC4 00093E24 7F 63 DB 78 */ mr r3, r27 /* 80096EC8 00093E28 7F 84 E3 78 */ mr r4, r28 /* 80096ECC 00093E2C 7F C5 F3 78 */ mr r5, r30 /* 80096ED0 00093E30 4B FF F3 75 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri /* 80096ED4 00093E34 FF C0 08 90 */ fmr f30, f1 /* 80096ED8 00093E38 7F 63 DB 78 */ mr r3, r27 /* 80096EDC 00093E3C 7F 84 E3 78 */ mr r4, r28 /* 80096EE0 00093E40 7F C5 F3 78 */ mr r5, r30 /* 80096EE4 00093E44 4B FF F3 61 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri /* 80096EE8 00093E48 FF E0 08 90 */ fmr f31, f1 /* 80096EEC 00093E4C 7F 64 DB 78 */ mr r4, r27 /* 80096EF0 00093E50 7F 85 E3 78 */ mr r5, r28 /* 80096EF4 00093E54 7F C6 F3 78 */ mr r6, r30 /* 80096EF8 00093E58 38 61 00 10 */ addi r3, r1, 0x10 /* 80096EFC 00093E5C 4B FF FA 5D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri /* 80096F00 00093E60 38 61 00 08 */ addi r3, r1, 8 /* 80096F04 00093E64 4B FF F3 B9 */ bl GetMapScreenViewportSize__11CAutoMapperFv /* 80096F08 00093E68 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 80096F0C 00093E6C FC 20 E8 90 */ fmr f1, f29 /* 80096F10 00093E70 FC 60 F8 90 */ fmr f3, f31 /* 80096F14 00093E74 C0 BF 00 88 */ lfs f5, 0x88(r31) /* 80096F18 00093E78 FC 80 F0 90 */ fmr f4, f30 /* 80096F1C 00093E7C C0 43 00 1C */ lfs f2, 0x1c(r3) /* 80096F20 00093E80 C0 DF 00 90 */ lfs f6, 0x90(r31) /* 80096F24 00093E84 C0 FF 00 98 */ lfs f7, 0x98(r31) /* 80096F28 00093E88 C1 1F 00 A0 */ lfs f8, 0xa0(r31) /* 80096F2C 00093E8C 7F A5 EB 78 */ mr r5, r29 /* 80096F30 00093E90 38 61 00 1C */ addi r3, r1, 0x1c /* 80096F34 00093E94 38 81 00 08 */ addi r4, r1, 8 /* 80096F38 00093E98 38 C1 00 10 */ addi r6, r1, 0x10 /* 80096F3C 00093E9C 48 00 71 19 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff /* 80096F40 00093EA0 38 A0 00 02 */ li r5, 2 /* 80096F44 00093EA4 38 00 00 01 */ li r0, 1 /* 80096F48 00093EA8 90 A1 00 60 */ stw r5, 0x60(r1) /* 80096F4C 00093EAC 7F 43 D3 78 */ mr r3, r26 /* 80096F50 00093EB0 38 81 00 1C */ addi r4, r1, 0x1c /* 80096F54 00093EB4 90 01 00 64 */ stw r0, 0x64(r1) /* 80096F58 00093EB8 90 A1 00 68 */ stw r5, 0x68(r1) /* 80096F5C 00093EBC 90 01 00 6C */ stw r0, 0x6c(r1) /* 80096F60 00093EC0 90 A1 00 70 */ stw r5, 0x70(r1) /* 80096F64 00093EC4 90 01 00 74 */ stw r0, 0x74(r1) /* 80096F68 00093EC8 4B FF FE 45 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState /* 80096F6C 00093ECC E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 80096F70 00093ED0 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 80096F74 00093ED4 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 80096F78 00093ED8 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 80096F7C 00093EDC E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 80096F80 00093EE0 CB A1 00 90 */ lfd f29, 0x90(r1) /* 80096F84 00093EE4 BB 41 00 78 */ lmw r26, 0x78(r1) /* 80096F88 00093EE8 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80096F8C 00093EEC 7C 08 03 A6 */ mtlr r0 /* 80096F90 00093EF0 38 21 00 C0 */ addi r1, r1, 0xc0 /* 80096F94 00093EF4 4E 80 00 20 */ blr .global BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni: /* 80096F98 00093EF8 94 21 FE E0 */ stwu r1, -0x120(r1) /* 80096F9C 00093EFC 7C 08 02 A6 */ mflr r0 /* 80096FA0 00093F00 90 01 01 24 */ stw r0, 0x124(r1) /* 80096FA4 00093F04 DB E1 01 10 */ stfd f31, 0x110(r1) /* 80096FA8 00093F08 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 80096FAC 00093F0C DB C1 01 00 */ stfd f30, 0x100(r1) /* 80096FB0 00093F10 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 80096FB4 00093F14 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 80096FB8 00093F18 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 80096FBC 00093F1C DB 81 00 E0 */ stfd f28, 0xe0(r1) /* 80096FC0 00093F20 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 /* 80096FC4 00093F24 DB 61 00 D0 */ stfd f27, 0xd0(r1) /* 80096FC8 00093F28 F3 61 00 D8 */ psq_st f27, 216(r1), 0, qr0 /* 80096FCC 00093F2C DB 41 00 C0 */ stfd f26, 0xc0(r1) /* 80096FD0 00093F30 F3 41 00 C8 */ psq_st f26, 200(r1), 0, qr0 /* 80096FD4 00093F34 BF 61 00 AC */ stmw r27, 0xac(r1) /* 80096FD8 00093F38 7C BD 2B 78 */ mr r29, r5 /* 80096FDC 00093F3C 7C 7B 1B 78 */ mr r27, r3 /* 80096FE0 00093F40 7C 9C 23 78 */ mr r28, r4 /* 80096FE4 00093F44 7C DF 33 78 */ mr r31, r6 /* 80096FE8 00093F48 7C FE 3B 78 */ mr r30, r7 /* 80096FEC 00093F4C 7F A4 EB 78 */ mr r4, r29 /* 80096FF0 00093F50 38 61 00 2C */ addi r3, r1, 0x2c /* 80096FF4 00093F54 4B FF F9 FD */ bl GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager /* 80096FF8 00093F58 C0 3F 00 08 */ lfs f1, 8(r31) /* 80096FFC 00093F5C C0 01 00 34 */ lfs f0, 0x34(r1) /* 80097000 00093F60 C0 5F 00 04 */ lfs f2, 4(r31) /* 80097004 00093F64 EC 01 00 32 */ fmuls f0, f1, f0 /* 80097008 00093F68 C0 21 00 30 */ lfs f1, 0x30(r1) /* 8009700C 00093F6C C0 9F 00 0C */ lfs f4, 0xc(r31) /* 80097010 00093F70 C0 61 00 38 */ lfs f3, 0x38(r1) /* 80097014 00093F74 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80097018 00093F78 C0 BF 00 00 */ lfs f5, 0(r31) /* 8009701C 00093F7C C0 41 00 2C */ lfs f2, 0x2c(r1) /* 80097020 00093F80 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80097024 00093F84 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 80097028 00093F88 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 8009702C 00093F8C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80097030 00093F90 4C 41 13 82 */ cror 2, 1, 2 /* 80097034 00093F94 40 82 00 0C */ bne lbl_80097040 /* 80097038 00093F98 38 81 00 2C */ addi r4, r1, 0x2c /* 8009703C 00093F9C 48 00 00 14 */ b lbl_80097050 lbl_80097040: /* 80097040 00093FA0 38 61 00 10 */ addi r3, r1, 0x10 /* 80097044 00093FA4 38 81 00 2C */ addi r4, r1, 0x2c /* 80097048 00093FA8 48 27 A3 E9 */ bl BuildEquivalent__11CQuaternionCFv /* 8009704C 00093FAC 38 81 00 10 */ addi r4, r1, 0x10 lbl_80097050: /* 80097050 00093FB0 C0 04 00 00 */ lfs f0, 0(r4) /* 80097054 00093FB4 7F A3 EB 78 */ mr r3, r29 /* 80097058 00093FB8 83 ED A1 44 */ lwz r31, gpTweakAutoMapper@sda21(r13) /* 8009705C 00093FBC D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80097060 00093FC0 C0 04 00 04 */ lfs f0, 4(r4) /* 80097064 00093FC4 D0 01 00 40 */ stfs f0, 0x40(r1) /* 80097068 00093FC8 C0 04 00 08 */ lfs f0, 8(r4) /* 8009706C 00093FCC D0 01 00 44 */ stfs f0, 0x44(r1) /* 80097070 00093FD0 C0 04 00 0C */ lfs f0, 0xc(r4) /* 80097074 00093FD4 D0 01 00 48 */ stfs f0, 0x48(r1) /* 80097078 00093FD8 4B FF F1 1D */ bl GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager /* 8009707C 00093FDC FF 40 08 90 */ fmr f26, f1 /* 80097080 00093FE0 7F A3 EB 78 */ mr r3, r29 /* 80097084 00093FE4 4B FF F1 3D */ bl GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager /* 80097088 00093FE8 FF 60 08 90 */ fmr f27, f1 /* 8009708C 00093FEC 7F A3 EB 78 */ mr r3, r29 /* 80097090 00093FF0 4B FF F1 5D */ bl GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager /* 80097094 00093FF4 FF 80 08 90 */ fmr f28, f1 /* 80097098 00093FF8 7F A3 EB 78 */ mr r3, r29 /* 8009709C 00093FFC 4B FF F1 7D */ bl GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager /* 800970A0 00094000 FF A0 08 90 */ fmr f29, f1 /* 800970A4 00094004 4B FF F2 11 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 800970A8 00094008 FF C0 08 90 */ fmr f30, f1 /* 800970AC 0009400C 4B FF F2 09 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 800970B0 00094010 FF E0 08 90 */ fmr f31, f1 /* 800970B4 00094014 7F 84 E3 78 */ mr r4, r28 /* 800970B8 00094018 7F A5 EB 78 */ mr r5, r29 /* 800970BC 0009401C 7F C6 F3 78 */ mr r6, r30 /* 800970C0 00094020 38 61 00 20 */ addi r3, r1, 0x20 /* 800970C4 00094024 4B FF F8 95 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri /* 800970C8 00094028 38 61 00 08 */ addi r3, r1, 8 /* 800970CC 0009402C 4B FF F2 21 */ bl GetMiniMapViewportSize__11CAutoMapperFv /* 800970D0 00094030 FC 60 F8 90 */ fmr f3, f31 /* 800970D4 00094034 C0 3F 00 28 */ lfs f1, 0x28(r31) /* 800970D8 00094038 FC 80 F0 90 */ fmr f4, f30 /* 800970DC 0009403C C0 5F 00 30 */ lfs f2, 0x30(r31) /* 800970E0 00094040 FC A0 E8 90 */ fmr f5, f29 /* 800970E4 00094044 38 61 00 4C */ addi r3, r1, 0x4c /* 800970E8 00094048 FC C0 E0 90 */ fmr f6, f28 /* 800970EC 0009404C 38 81 00 08 */ addi r4, r1, 8 /* 800970F0 00094050 FC E0 D8 90 */ fmr f7, f27 /* 800970F4 00094054 38 A1 00 3C */ addi r5, r1, 0x3c /* 800970F8 00094058 FD 00 D0 90 */ fmr f8, f26 /* 800970FC 0009405C 38 C1 00 20 */ addi r6, r1, 0x20 /* 80097100 00094060 48 00 6F 55 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff /* 80097104 00094064 38 C0 00 02 */ li r6, 2 /* 80097108 00094068 38 A0 00 01 */ li r5, 1 /* 8009710C 0009406C 38 00 00 03 */ li r0, 3 /* 80097110 00094070 90 C1 00 90 */ stw r6, 0x90(r1) /* 80097114 00094074 7F 63 DB 78 */ mr r3, r27 /* 80097118 00094078 38 81 00 4C */ addi r4, r1, 0x4c /* 8009711C 0009407C 90 C1 00 94 */ stw r6, 0x94(r1) /* 80097120 00094080 90 C1 00 98 */ stw r6, 0x98(r1) /* 80097124 00094084 90 A1 00 9C */ stw r5, 0x9c(r1) /* 80097128 00094088 90 01 00 A0 */ stw r0, 0xa0(r1) /* 8009712C 0009408C 90 A1 00 A4 */ stw r5, 0xa4(r1) /* 80097130 00094090 4B FF FC 7D */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState /* 80097134 00094094 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 80097138 00094098 CB E1 01 10 */ lfd f31, 0x110(r1) /* 8009713C 0009409C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 80097140 000940A0 CB C1 01 00 */ lfd f30, 0x100(r1) /* 80097144 000940A4 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 80097148 000940A8 CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 8009714C 000940AC E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 /* 80097150 000940B0 CB 81 00 E0 */ lfd f28, 0xe0(r1) /* 80097154 000940B4 E3 61 00 D8 */ psq_l f27, 216(r1), 0, qr0 /* 80097158 000940B8 CB 61 00 D0 */ lfd f27, 0xd0(r1) /* 8009715C 000940BC E3 41 00 C8 */ psq_l f26, 200(r1), 0, qr0 /* 80097160 000940C0 CB 41 00 C0 */ lfd f26, 0xc0(r1) /* 80097164 000940C4 BB 61 00 AC */ lmw r27, 0xac(r1) /* 80097168 000940C8 80 01 01 24 */ lwz r0, 0x124(r1) /* 8009716C 000940CC 7C 08 03 A6 */ mtlr r0 /* 80097170 000940D0 38 21 01 20 */ addi r1, r1, 0x120 /* 80097174 000940D4 4E 80 00 20 */ blr .global ResetInterpolationTimer__11CAutoMapperFf ResetInterpolationTimer__11CAutoMapperFf: /* 80097178 000940D8 D0 23 01 C4 */ stfs f1, 0x1c4(r3) /* 8009717C 000940DC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80097180 000940E0 D0 03 01 C8 */ stfs f0, 0x1c8(r3) /* 80097184 000940E4 4E 80 00 20 */ blr .global CompleteMapperStateTransition__11CAutoMapperFv CompleteMapperStateTransition__11CAutoMapperFv: /* 80097188 000940E8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009718C 000940EC 7C 08 02 A6 */ mflr r0 /* 80097190 000940F0 90 01 00 24 */ stw r0, 0x24(r1) /* 80097194 000940F4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80097198 000940F8 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009719C 000940FC 93 A1 00 14 */ stw r29, 0x14(r1) /* 800971A0 00094100 7C 9D 23 78 */ mr r29, r4 /* 800971A4 00094104 93 81 00 10 */ stw r28, 0x10(r1) /* 800971A8 00094108 7C 7C 1B 78 */ mr r28, r3 /* 800971AC 0009410C 80 03 01 BC */ lwz r0, 0x1bc(r3) /* 800971B0 00094110 2C 00 00 02 */ cmpwi r0, 2 /* 800971B4 00094114 40 82 00 08 */ bne lbl_800971BC /* 800971B8 00094118 4B FF E8 35 */ bl TransformRenderStatesUniverseToWorld__11CAutoMapperFv lbl_800971BC: /* 800971BC 0009411C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) /* 800971C0 00094120 2C 00 00 01 */ cmpwi r0, 1 /* 800971C4 00094124 40 82 00 78 */ bne lbl_8009723C /* 800971C8 00094128 80 7C 00 24 */ lwz r3, 0x24(r28) /* 800971CC 0009412C 81 83 00 00 */ lwz r12, 0(r3) /* 800971D0 00094130 81 8C 00 18 */ lwz r12, 0x18(r12) /* 800971D4 00094134 7D 89 03 A6 */ mtctr r12 /* 800971D8 00094138 4E 80 04 21 */ bctrl /* 800971DC 0009413C 7C 7E 1B 78 */ mr r30, r3 /* 800971E0 00094140 48 00 9F A1 */ bl IsMapAreasStreaming__9CMapWorldCFv /* 800971E4 00094144 80 7C 00 24 */ lwz r3, 0x24(r28) /* 800971E8 00094148 81 83 00 00 */ lwz r12, 0(r3) /* 800971EC 0009414C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800971F0 00094150 7D 89 03 A6 */ mtctr r12 /* 800971F4 00094154 4E 80 04 21 */ bctrl /* 800971F8 00094158 7C 64 1B 78 */ mr r4, r3 /* 800971FC 0009415C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 80097200 00094160 48 13 C7 D9 */ bl StateForWorld__10CGameStateFUi /* 80097204 00094164 7C 64 1B 78 */ mr r4, r3 /* 80097208 00094168 38 61 00 08 */ addi r3, r1, 8 /* 8009720C 0009416C 48 13 DB 59 */ bl GetMapWorldInfo__11CWorldStateCFv /* 80097210 00094170 80 81 00 08 */ lwz r4, 8(r1) /* 80097214 00094174 38 61 00 08 */ addi r3, r1, 8 /* 80097218 00094178 83 E4 00 00 */ lwz r31, 0(r4) /* 8009721C 0009417C 4B F7 1A 21 */ bl sub_80008c3c /* 80097220 00094180 80 BC 00 24 */ lwz r5, 0x24(r28) /* 80097224 00094184 7F C3 F3 78 */ mr r3, r30 /* 80097228 00094188 7F E4 FB 78 */ mr r4, r31 /* 8009722C 0009418C 48 00 86 31 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld /* 80097230 00094190 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80097234 00094194 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) /* 80097238 00094198 D0 1C 01 DC */ stfs f0, 0x1dc(r28) lbl_8009723C: /* 8009723C 0009419C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) /* 80097240 000941A0 2C 00 00 00 */ cmpwi r0, 0 /* 80097244 000941A4 40 82 00 A4 */ bne lbl_800972E8 /* 80097248 000941A8 83 FC 00 28 */ lwz r31, 0x28(r28) /* 8009724C 000941AC 28 1F 00 00 */ cmplwi r31, 0 /* 80097250 000941B0 41 82 00 1C */ beq lbl_8009726C /* 80097254 000941B4 41 82 00 10 */ beq lbl_80097264 /* 80097258 000941B8 7F E3 FB 78 */ mr r3, r31 /* 8009725C 000941BC 38 80 00 00 */ li r4, 0 /* 80097260 000941C0 48 2A 9B E1 */ bl __dt__6CTokenFv lbl_80097264: /* 80097264 000941C4 7F E3 FB 78 */ mr r3, r31 /* 80097268 000941C8 48 27 E6 C9 */ bl Free__7CMemoryFPCv lbl_8009726C: /* 8009726C 000941CC 38 00 00 00 */ li r0, 0 /* 80097270 000941D0 7F 83 E3 78 */ mr r3, r28 /* 80097274 000941D4 90 1C 00 28 */ stw r0, 0x28(r28) /* 80097278 000941D8 38 9C 02 10 */ addi r4, r28, 0x210 /* 8009727C 000941DC 38 A0 00 00 */ li r5, 0 /* 80097280 000941E0 90 1C 00 2C */ stw r0, 0x2c(r28) /* 80097284 000941E4 90 1C 02 FC */ stw r0, 0x2fc(r28) /* 80097288 000941E8 90 1C 03 00 */ stw r0, 0x300(r28) /* 8009728C 000941EC 90 1C 03 04 */ stw r0, 0x304(r28) /* 80097290 000941F0 90 1C 03 08 */ stw r0, 0x308(r28) /* 80097294 000941F4 90 1C 02 F8 */ stw r0, 0x2f8(r28) /* 80097298 000941F8 90 1C 03 0C */ stw r0, 0x30c(r28) /* 8009729C 000941FC 90 1C 03 10 */ stw r0, 0x310(r28) /* 800972A0 00094200 90 1C 03 14 */ stw r0, 0x314(r28) /* 800972A4 00094204 48 00 61 A5 */ bl "SetResLockState,9>>__11CAutoMapperFv" /* 800972A8 00094208 7F 83 E3 78 */ mr r3, r28 /* 800972AC 0009420C 38 9C 02 5C */ addi r4, r28, 0x25c /* 800972B0 00094210 38 A0 00 00 */ li r5, 0 /* 800972B4 00094214 48 00 61 95 */ bl "SetResLockState,9>>__11CAutoMapperFv" /* 800972B8 00094218 7F 83 E3 78 */ mr r3, r28 /* 800972BC 0009421C 38 9C 02 A8 */ addi r4, r28, 0x2a8 /* 800972C0 00094220 38 A0 00 00 */ li r5, 0 /* 800972C4 00094224 48 00 61 09 */ bl "SetResLockState,2>>__11CAutoMapperFv" /* 800972C8 00094228 7F 83 E3 78 */ mr r3, r28 /* 800972CC 0009422C 38 9C 02 BC */ addi r4, r28, 0x2bc /* 800972D0 00094230 38 A0 00 00 */ li r5, 0 /* 800972D4 00094234 48 00 60 F9 */ bl "SetResLockState,2>>__11CAutoMapperFv" /* 800972D8 00094238 7F 83 E3 78 */ mr r3, r28 /* 800972DC 0009423C 38 9C 02 D0 */ addi r4, r28, 0x2d0 /* 800972E0 00094240 38 A0 00 00 */ li r5, 0 /* 800972E4 00094244 48 00 60 E9 */ bl "SetResLockState,2>>__11CAutoMapperFv" lbl_800972E8: /* 800972E8 00094248 80 1C 01 C0 */ lwz r0, 0x1c0(r28) /* 800972EC 0009424C 2C 00 00 02 */ cmpwi r0, 2 /* 800972F0 00094250 40 82 00 1C */ bne lbl_8009730C /* 800972F4 00094254 80 1C 03 28 */ lwz r0, 0x328(r28) /* 800972F8 00094258 2C 00 00 01 */ cmpwi r0, 1 /* 800972FC 0009425C 40 82 00 10 */ bne lbl_8009730C /* 80097300 00094260 7F 83 E3 78 */ mr r3, r28 /* 80097304 00094264 7F A4 EB 78 */ mr r4, r29 /* 80097308 00094268 4B FF E3 DD */ bl LeaveMapScreen__11CAutoMapperCFRC13CStateManager lbl_8009730C: /* 8009730C 0009426C 80 1C 01 C0 */ lwz r0, 0x1c0(r28) /* 80097310 00094270 90 1C 01 BC */ stw r0, 0x1bc(r28) /* 80097314 00094274 80 01 00 24 */ lwz r0, 0x24(r1) /* 80097318 00094278 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009731C 0009427C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80097320 00094280 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80097324 00094284 83 81 00 10 */ lwz r28, 0x10(r1) /* 80097328 00094288 7C 08 03 A6 */ mtlr r0 /* 8009732C 0009428C 38 21 00 20 */ addi r1, r1, 0x20 /* 80097330 00094290 4E 80 00 20 */ blr .global BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager: /* 80097334 00094294 94 21 FD F0 */ stwu r1, -0x210(r1) /* 80097338 00094298 7C 08 02 A6 */ mflr r0 /* 8009733C 0009429C 90 01 02 14 */ stw r0, 0x214(r1) /* 80097340 000942A0 BF 61 01 FC */ stmw r27, 0x1fc(r1) /* 80097344 000942A4 7C 9E 23 78 */ mr r30, r4 /* 80097348 000942A8 7C 7C 1B 78 */ mr r28, r3 /* 8009734C 000942AC 7C BD 2B 78 */ mr r29, r5 /* 80097350 000942B0 80 03 01 C0 */ lwz r0, 0x1c0(r3) /* 80097354 000942B4 7C 1E 00 00 */ cmpw r30, r0 /* 80097358 000942B8 41 82 09 14 */ beq lbl_80097C6C /* 8009735C 000942BC 2C 1E 00 00 */ cmpwi r30, 0 /* 80097360 000942C0 40 82 00 0C */ bne lbl_8009736C /* 80097364 000942C4 2C 00 00 00 */ cmpwi r0, 0 /* 80097368 000942C8 40 82 00 14 */ bne lbl_8009737C lbl_8009736C: /* 8009736C 000942CC 2C 1E 00 00 */ cmpwi r30, 0 /* 80097370 000942D0 41 82 00 14 */ beq lbl_80097384 /* 80097374 000942D4 2C 00 00 00 */ cmpwi r0, 0 /* 80097378 000942D8 40 82 00 0C */ bne lbl_80097384 lbl_8009737C: /* 8009737C 000942DC 38 60 00 02 */ li r3, 2 /* 80097380 000942E0 48 25 27 35 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels lbl_80097384: /* 80097384 000942E4 80 1C 01 C0 */ lwz r0, 0x1c0(r28) /* 80097388 000942E8 90 1C 01 BC */ stw r0, 0x1bc(r28) /* 8009738C 000942EC 93 DC 01 C0 */ stw r30, 0x1c0(r28) /* 80097390 000942F0 80 7C 00 A8 */ lwz r3, 0xa8(r28) /* 80097394 000942F4 80 1C 00 AC */ lwz r0, 0xac(r28) /* 80097398 000942F8 90 7C 01 60 */ stw r3, 0x160(r28) /* 8009739C 000942FC 90 1C 01 64 */ stw r0, 0x164(r28) /* 800973A0 00094300 80 7C 00 B0 */ lwz r3, 0xb0(r28) /* 800973A4 00094304 80 1C 00 B4 */ lwz r0, 0xb4(r28) /* 800973A8 00094308 90 7C 01 68 */ stw r3, 0x168(r28) /* 800973AC 0009430C 90 1C 01 6C */ stw r0, 0x16c(r28) /* 800973B0 00094310 80 7C 00 B8 */ lwz r3, 0xb8(r28) /* 800973B4 00094314 80 1C 00 BC */ lwz r0, 0xbc(r28) /* 800973B8 00094318 90 7C 01 70 */ stw r3, 0x170(r28) /* 800973BC 0009431C 90 1C 01 74 */ stw r0, 0x174(r28) /* 800973C0 00094320 C0 1C 00 C0 */ lfs f0, 0xc0(r28) /* 800973C4 00094324 D0 1C 01 78 */ stfs f0, 0x178(r28) /* 800973C8 00094328 C0 1C 00 C4 */ lfs f0, 0xc4(r28) /* 800973CC 0009432C D0 1C 01 7C */ stfs f0, 0x17c(r28) /* 800973D0 00094330 80 7C 00 C8 */ lwz r3, 0xc8(r28) /* 800973D4 00094334 80 1C 00 CC */ lwz r0, 0xcc(r28) /* 800973D8 00094338 90 7C 01 80 */ stw r3, 0x180(r28) /* 800973DC 0009433C 90 1C 01 84 */ stw r0, 0x184(r28) /* 800973E0 00094340 80 1C 00 D0 */ lwz r0, 0xd0(r28) /* 800973E4 00094344 90 1C 01 88 */ stw r0, 0x188(r28) /* 800973E8 00094348 C0 1C 00 D4 */ lfs f0, 0xd4(r28) /* 800973EC 0009434C D0 1C 01 8C */ stfs f0, 0x18c(r28) /* 800973F0 00094350 C0 1C 00 D8 */ lfs f0, 0xd8(r28) /* 800973F4 00094354 D0 1C 01 90 */ stfs f0, 0x190(r28) /* 800973F8 00094358 C0 1C 00 DC */ lfs f0, 0xdc(r28) /* 800973FC 0009435C D0 1C 01 94 */ stfs f0, 0x194(r28) /* 80097400 00094360 C0 1C 00 E0 */ lfs f0, 0xe0(r28) /* 80097404 00094364 D0 1C 01 98 */ stfs f0, 0x198(r28) /* 80097408 00094368 C0 1C 00 E4 */ lfs f0, 0xe4(r28) /* 8009740C 0009436C D0 1C 01 9C */ stfs f0, 0x19c(r28) /* 80097410 00094370 C0 1C 00 E8 */ lfs f0, 0xe8(r28) /* 80097414 00094374 D0 1C 01 A0 */ stfs f0, 0x1a0(r28) /* 80097418 00094378 80 1C 00 EC */ lwz r0, 0xec(r28) /* 8009741C 0009437C 90 1C 01 A4 */ stw r0, 0x1a4(r28) /* 80097420 00094380 80 1C 00 F0 */ lwz r0, 0xf0(r28) /* 80097424 00094384 90 1C 01 A8 */ stw r0, 0x1a8(r28) /* 80097428 00094388 80 1C 00 F4 */ lwz r0, 0xf4(r28) /* 8009742C 0009438C 90 1C 01 AC */ stw r0, 0x1ac(r28) /* 80097430 00094390 80 1C 00 F8 */ lwz r0, 0xf8(r28) /* 80097434 00094394 90 1C 01 B0 */ stw r0, 0x1b0(r28) /* 80097438 00094398 80 1C 00 FC */ lwz r0, 0xfc(r28) /* 8009743C 0009439C 90 1C 01 B4 */ stw r0, 0x1b4(r28) /* 80097440 000943A0 80 1C 01 00 */ lwz r0, 0x100(r28) /* 80097444 000943A4 90 1C 01 B8 */ stw r0, 0x1b8(r28) /* 80097448 000943A8 80 7C 00 A8 */ lwz r3, 0xa8(r28) /* 8009744C 000943AC 80 1C 00 AC */ lwz r0, 0xac(r28) /* 80097450 000943B0 90 7C 01 04 */ stw r3, 0x104(r28) /* 80097454 000943B4 90 1C 01 08 */ stw r0, 0x108(r28) /* 80097458 000943B8 80 7C 00 B0 */ lwz r3, 0xb0(r28) /* 8009745C 000943BC 80 1C 00 B4 */ lwz r0, 0xb4(r28) /* 80097460 000943C0 90 7C 01 0C */ stw r3, 0x10c(r28) /* 80097464 000943C4 90 1C 01 10 */ stw r0, 0x110(r28) /* 80097468 000943C8 80 7C 00 B8 */ lwz r3, 0xb8(r28) /* 8009746C 000943CC 80 1C 00 BC */ lwz r0, 0xbc(r28) /* 80097470 000943D0 90 7C 01 14 */ stw r3, 0x114(r28) /* 80097474 000943D4 90 1C 01 18 */ stw r0, 0x118(r28) /* 80097478 000943D8 C0 1C 00 C0 */ lfs f0, 0xc0(r28) /* 8009747C 000943DC D0 1C 01 1C */ stfs f0, 0x11c(r28) /* 80097480 000943E0 C0 1C 00 C4 */ lfs f0, 0xc4(r28) /* 80097484 000943E4 D0 1C 01 20 */ stfs f0, 0x120(r28) /* 80097488 000943E8 80 7C 00 C8 */ lwz r3, 0xc8(r28) /* 8009748C 000943EC 80 1C 00 CC */ lwz r0, 0xcc(r28) /* 80097490 000943F0 90 7C 01 24 */ stw r3, 0x124(r28) /* 80097494 000943F4 90 1C 01 28 */ stw r0, 0x128(r28) /* 80097498 000943F8 80 1C 00 D0 */ lwz r0, 0xd0(r28) /* 8009749C 000943FC 90 1C 01 2C */ stw r0, 0x12c(r28) /* 800974A0 00094400 C0 1C 00 D4 */ lfs f0, 0xd4(r28) /* 800974A4 00094404 D0 1C 01 30 */ stfs f0, 0x130(r28) /* 800974A8 00094408 C0 1C 00 D8 */ lfs f0, 0xd8(r28) /* 800974AC 0009440C D0 1C 01 34 */ stfs f0, 0x134(r28) /* 800974B0 00094410 C0 1C 00 DC */ lfs f0, 0xdc(r28) /* 800974B4 00094414 D0 1C 01 38 */ stfs f0, 0x138(r28) /* 800974B8 00094418 C0 1C 00 E0 */ lfs f0, 0xe0(r28) /* 800974BC 0009441C D0 1C 01 3C */ stfs f0, 0x13c(r28) /* 800974C0 00094420 C0 1C 00 E4 */ lfs f0, 0xe4(r28) /* 800974C4 00094424 D0 1C 01 40 */ stfs f0, 0x140(r28) /* 800974C8 00094428 C0 1C 00 E8 */ lfs f0, 0xe8(r28) /* 800974CC 0009442C D0 1C 01 44 */ stfs f0, 0x144(r28) /* 800974D0 00094430 80 1C 00 EC */ lwz r0, 0xec(r28) /* 800974D4 00094434 90 1C 01 48 */ stw r0, 0x148(r28) /* 800974D8 00094438 80 1C 00 F0 */ lwz r0, 0xf0(r28) /* 800974DC 0009443C 90 1C 01 4C */ stw r0, 0x14c(r28) /* 800974E0 00094440 80 1C 00 F4 */ lwz r0, 0xf4(r28) /* 800974E4 00094444 90 1C 01 50 */ stw r0, 0x150(r28) /* 800974E8 00094448 80 1C 00 F8 */ lwz r0, 0xf8(r28) /* 800974EC 0009444C 90 1C 01 54 */ stw r0, 0x154(r28) /* 800974F0 00094450 80 1C 00 FC */ lwz r0, 0xfc(r28) /* 800974F4 00094454 90 1C 01 58 */ stw r0, 0x158(r28) /* 800974F8 00094458 80 1C 01 00 */ lwz r0, 0x100(r28) /* 800974FC 0009445C 90 1C 01 5C */ stw r0, 0x15c(r28) /* 80097500 00094460 80 1C 01 BC */ lwz r0, 0x1bc(r28) /* 80097504 00094464 2C 00 00 00 */ cmpwi r0, 0 /* 80097508 00094468 40 82 00 F4 */ bne lbl_800975FC /* 8009750C 0009446C 2C 1E 00 01 */ cmpwi r30, 1 /* 80097510 00094470 40 82 00 EC */ bne lbl_800975FC /* 80097514 00094474 80 FC 00 A0 */ lwz r7, 0xa0(r28) /* 80097518 00094478 7F 84 E3 78 */ mr r4, r28 /* 8009751C 0009447C 7F A5 EB 78 */ mr r5, r29 /* 80097520 00094480 38 61 01 98 */ addi r3, r1, 0x198 /* 80097524 00094484 38 DC 00 B0 */ addi r6, r28, 0xb0 /* 80097528 00094488 39 00 00 00 */ li r8, 0 /* 8009752C 0009448C 4B FF F9 3D */ bl BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni /* 80097530 00094490 80 81 01 98 */ lwz r4, 0x198(r1) /* 80097534 00094494 7F 83 E3 78 */ mr r3, r28 /* 80097538 00094498 80 01 01 9C */ lwz r0, 0x19c(r1) /* 8009753C 0009449C 90 9C 01 04 */ stw r4, 0x104(r28) /* 80097540 000944A0 90 1C 01 08 */ stw r0, 0x108(r28) /* 80097544 000944A4 80 81 01 A0 */ lwz r4, 0x1a0(r1) /* 80097548 000944A8 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 8009754C 000944AC 90 9C 01 0C */ stw r4, 0x10c(r28) /* 80097550 000944B0 90 1C 01 10 */ stw r0, 0x110(r28) /* 80097554 000944B4 80 81 01 A8 */ lwz r4, 0x1a8(r1) /* 80097558 000944B8 80 01 01 AC */ lwz r0, 0x1ac(r1) /* 8009755C 000944BC 90 9C 01 14 */ stw r4, 0x114(r28) /* 80097560 000944C0 90 1C 01 18 */ stw r0, 0x118(r28) /* 80097564 000944C4 C0 01 01 B0 */ lfs f0, 0x1b0(r1) /* 80097568 000944C8 D0 1C 01 1C */ stfs f0, 0x11c(r28) /* 8009756C 000944CC C0 01 01 B4 */ lfs f0, 0x1b4(r1) /* 80097570 000944D0 D0 1C 01 20 */ stfs f0, 0x120(r28) /* 80097574 000944D4 80 81 01 B8 */ lwz r4, 0x1b8(r1) /* 80097578 000944D8 80 01 01 BC */ lwz r0, 0x1bc(r1) /* 8009757C 000944DC 90 9C 01 24 */ stw r4, 0x124(r28) /* 80097580 000944E0 90 1C 01 28 */ stw r0, 0x128(r28) /* 80097584 000944E4 80 01 01 C0 */ lwz r0, 0x1c0(r1) /* 80097588 000944E8 90 1C 01 2C */ stw r0, 0x12c(r28) /* 8009758C 000944EC C0 01 01 C4 */ lfs f0, 0x1c4(r1) /* 80097590 000944F0 D0 1C 01 30 */ stfs f0, 0x130(r28) /* 80097594 000944F4 C0 01 01 C8 */ lfs f0, 0x1c8(r1) /* 80097598 000944F8 D0 1C 01 34 */ stfs f0, 0x134(r28) /* 8009759C 000944FC C0 01 01 CC */ lfs f0, 0x1cc(r1) /* 800975A0 00094500 D0 1C 01 38 */ stfs f0, 0x138(r28) /* 800975A4 00094504 C0 01 01 D0 */ lfs f0, 0x1d0(r1) /* 800975A8 00094508 D0 1C 01 3C */ stfs f0, 0x13c(r28) /* 800975AC 0009450C C0 01 01 D4 */ lfs f0, 0x1d4(r1) /* 800975B0 00094510 D0 1C 01 40 */ stfs f0, 0x140(r28) /* 800975B4 00094514 C0 01 01 D8 */ lfs f0, 0x1d8(r1) /* 800975B8 00094518 D0 1C 01 44 */ stfs f0, 0x144(r28) /* 800975BC 0009451C 80 01 01 DC */ lwz r0, 0x1dc(r1) /* 800975C0 00094520 90 1C 01 48 */ stw r0, 0x148(r28) /* 800975C4 00094524 80 01 01 E0 */ lwz r0, 0x1e0(r1) /* 800975C8 00094528 90 1C 01 4C */ stw r0, 0x14c(r28) /* 800975CC 0009452C 80 01 01 E4 */ lwz r0, 0x1e4(r1) /* 800975D0 00094530 90 1C 01 50 */ stw r0, 0x150(r28) /* 800975D4 00094534 80 01 01 E8 */ lwz r0, 0x1e8(r1) /* 800975D8 00094538 90 1C 01 54 */ stw r0, 0x154(r28) /* 800975DC 0009453C 80 01 01 EC */ lwz r0, 0x1ec(r1) /* 800975E0 00094540 90 1C 01 58 */ stw r0, 0x158(r28) /* 800975E4 00094544 80 01 01 F0 */ lwz r0, 0x1f0(r1) /* 800975E8 00094548 90 1C 01 5C */ stw r0, 0x15c(r28) /* 800975EC 0009454C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 800975F0 00094550 C0 24 00 64 */ lfs f1, 0x64(r4) /* 800975F4 00094554 4B FF FB 85 */ bl ResetInterpolationTimer__11CAutoMapperFf /* 800975F8 00094558 48 00 06 74 */ b lbl_80097C6C lbl_800975FC: /* 800975FC 0009455C 2C 00 00 01 */ cmpwi r0, 1 /* 80097600 00094560 40 82 01 30 */ bne lbl_80097730 /* 80097604 00094564 2C 1E 00 00 */ cmpwi r30, 0 /* 80097608 00094568 40 82 01 28 */ bne lbl_80097730 /* 8009760C 0009456C 80 9C 00 24 */ lwz r4, 0x24(r28) /* 80097610 00094570 38 61 00 14 */ addi r3, r1, 0x14 /* 80097614 00094574 81 84 00 00 */ lwz r12, 0(r4) /* 80097618 00094578 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8009761C 0009457C 7D 89 03 A6 */ mtctr r12 /* 80097620 00094580 4E 80 04 21 */ bctrl /* 80097624 00094584 80 01 00 14 */ lwz r0, 0x14(r1) /* 80097628 00094588 7F 84 E3 78 */ mr r4, r28 /* 8009762C 0009458C 7F A5 EB 78 */ mr r5, r29 /* 80097630 00094590 38 61 01 3C */ addi r3, r1, 0x13c /* 80097634 00094594 90 1C 00 A0 */ stw r0, 0xa0(r28) /* 80097638 00094598 38 DC 00 B0 */ addi r6, r28, 0xb0 /* 8009763C 0009459C 80 FC 00 A0 */ lwz r7, 0xa0(r28) /* 80097640 000945A0 4B FF F9 59 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni /* 80097644 000945A4 80 81 01 3C */ lwz r4, 0x13c(r1) /* 80097648 000945A8 7F 83 E3 78 */ mr r3, r28 /* 8009764C 000945AC 80 01 01 40 */ lwz r0, 0x140(r1) /* 80097650 000945B0 90 9C 01 04 */ stw r4, 0x104(r28) /* 80097654 000945B4 90 1C 01 08 */ stw r0, 0x108(r28) /* 80097658 000945B8 80 81 01 44 */ lwz r4, 0x144(r1) /* 8009765C 000945BC 80 01 01 48 */ lwz r0, 0x148(r1) /* 80097660 000945C0 90 9C 01 0C */ stw r4, 0x10c(r28) /* 80097664 000945C4 90 1C 01 10 */ stw r0, 0x110(r28) /* 80097668 000945C8 80 81 01 4C */ lwz r4, 0x14c(r1) /* 8009766C 000945CC 80 01 01 50 */ lwz r0, 0x150(r1) /* 80097670 000945D0 90 9C 01 14 */ stw r4, 0x114(r28) /* 80097674 000945D4 90 1C 01 18 */ stw r0, 0x118(r28) /* 80097678 000945D8 C0 01 01 54 */ lfs f0, 0x154(r1) /* 8009767C 000945DC D0 1C 01 1C */ stfs f0, 0x11c(r28) /* 80097680 000945E0 C0 01 01 58 */ lfs f0, 0x158(r1) /* 80097684 000945E4 D0 1C 01 20 */ stfs f0, 0x120(r28) /* 80097688 000945E8 80 81 01 5C */ lwz r4, 0x15c(r1) /* 8009768C 000945EC 80 01 01 60 */ lwz r0, 0x160(r1) /* 80097690 000945F0 90 9C 01 24 */ stw r4, 0x124(r28) /* 80097694 000945F4 90 1C 01 28 */ stw r0, 0x128(r28) /* 80097698 000945F8 80 01 01 64 */ lwz r0, 0x164(r1) /* 8009769C 000945FC 90 1C 01 2C */ stw r0, 0x12c(r28) /* 800976A0 00094600 C0 01 01 68 */ lfs f0, 0x168(r1) /* 800976A4 00094604 D0 1C 01 30 */ stfs f0, 0x130(r28) /* 800976A8 00094608 C0 01 01 6C */ lfs f0, 0x16c(r1) /* 800976AC 0009460C D0 1C 01 34 */ stfs f0, 0x134(r28) /* 800976B0 00094610 C0 01 01 70 */ lfs f0, 0x170(r1) /* 800976B4 00094614 D0 1C 01 38 */ stfs f0, 0x138(r28) /* 800976B8 00094618 C0 01 01 74 */ lfs f0, 0x174(r1) /* 800976BC 0009461C D0 1C 01 3C */ stfs f0, 0x13c(r28) /* 800976C0 00094620 C0 01 01 78 */ lfs f0, 0x178(r1) /* 800976C4 00094624 D0 1C 01 40 */ stfs f0, 0x140(r28) /* 800976C8 00094628 C0 01 01 7C */ lfs f0, 0x17c(r1) /* 800976CC 0009462C D0 1C 01 44 */ stfs f0, 0x144(r28) /* 800976D0 00094630 80 01 01 80 */ lwz r0, 0x180(r1) /* 800976D4 00094634 90 1C 01 48 */ stw r0, 0x148(r28) /* 800976D8 00094638 80 01 01 84 */ lwz r0, 0x184(r1) /* 800976DC 0009463C 90 1C 01 4C */ stw r0, 0x14c(r28) /* 800976E0 00094640 80 01 01 88 */ lwz r0, 0x188(r1) /* 800976E4 00094644 90 1C 01 50 */ stw r0, 0x150(r28) /* 800976E8 00094648 80 01 01 8C */ lwz r0, 0x18c(r1) /* 800976EC 0009464C 90 1C 01 54 */ stw r0, 0x154(r28) /* 800976F0 00094650 80 01 01 90 */ lwz r0, 0x190(r1) /* 800976F4 00094654 90 1C 01 58 */ stw r0, 0x158(r28) /* 800976F8 00094658 80 01 01 94 */ lwz r0, 0x194(r1) /* 800976FC 0009465C 90 1C 01 5C */ stw r0, 0x15c(r28) /* 80097700 00094660 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80097704 00094664 C0 24 00 68 */ lfs f1, 0x68(r4) /* 80097708 00094668 4B FF FA 71 */ bl ResetInterpolationTimer__11CAutoMapperFf /* 8009770C 0009466C 83 7C 02 00 */ lwz r27, 0x200(r28) /* 80097710 00094670 80 9C 01 FC */ lwz r4, 0x1fc(r28) /* 80097714 00094674 48 00 00 10 */ b lbl_80097724 lbl_80097718: /* 80097718 00094678 38 7C 01 F8 */ addi r3, r28, 0x1f8 /* 8009771C 0009467C 48 00 6B D9 */ bl sub_8009e2f4 /* 80097720 00094680 7C 64 1B 78 */ mr r4, r3 lbl_80097724: /* 80097724 00094684 7C 04 D8 40 */ cmplw r4, r27 /* 80097728 00094688 40 82 FF F0 */ bne lbl_80097718 /* 8009772C 0009468C 48 00 05 40 */ b lbl_80097C6C lbl_80097730: /* 80097730 00094690 2C 00 00 01 */ cmpwi r0, 1 /* 80097734 00094694 40 82 01 1C */ bne lbl_80097850 /* 80097738 00094698 2C 1E 00 02 */ cmpwi r30, 2 /* 8009773C 0009469C 40 82 01 14 */ bne lbl_80097850 /* 80097740 000946A0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80097744 000946A4 38 61 00 10 */ addi r3, r1, 0x10 /* 80097748 000946A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8009774C 000946AC 38 80 05 92 */ li r4, 0x592 /* 80097750 000946B0 38 A0 00 7F */ li r5, 0x7f /* 80097754 000946B4 38 C0 00 40 */ li r6, 0x40 /* 80097758 000946B8 38 E0 00 00 */ li r7, 0 /* 8009775C 000946BC 39 20 00 00 */ li r9, 0 /* 80097760 000946C0 48 25 26 15 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80097764 000946C4 80 FC 00 A0 */ lwz r7, 0xa0(r28) /* 80097768 000946C8 7F 84 E3 78 */ mr r4, r28 /* 8009776C 000946CC 7F A5 EB 78 */ mr r5, r29 /* 80097770 000946D0 38 61 00 E0 */ addi r3, r1, 0xe0 /* 80097774 000946D4 38 DC 00 B0 */ addi r6, r28, 0xb0 /* 80097778 000946D8 4B FF F5 35 */ bl BuildMapScreenUniverseRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni /* 8009777C 000946DC 80 81 00 E0 */ lwz r4, 0xe0(r1) /* 80097780 000946E0 7F 83 E3 78 */ mr r3, r28 /* 80097784 000946E4 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80097788 000946E8 90 9C 01 04 */ stw r4, 0x104(r28) /* 8009778C 000946EC 90 1C 01 08 */ stw r0, 0x108(r28) /* 80097790 000946F0 80 81 00 E8 */ lwz r4, 0xe8(r1) /* 80097794 000946F4 80 01 00 EC */ lwz r0, 0xec(r1) /* 80097798 000946F8 90 9C 01 0C */ stw r4, 0x10c(r28) /* 8009779C 000946FC 90 1C 01 10 */ stw r0, 0x110(r28) /* 800977A0 00094700 80 81 00 F0 */ lwz r4, 0xf0(r1) /* 800977A4 00094704 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 800977A8 00094708 90 9C 01 14 */ stw r4, 0x114(r28) /* 800977AC 0009470C 90 1C 01 18 */ stw r0, 0x118(r28) /* 800977B0 00094710 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 800977B4 00094714 D0 1C 01 1C */ stfs f0, 0x11c(r28) /* 800977B8 00094718 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 800977BC 0009471C D0 1C 01 20 */ stfs f0, 0x120(r28) /* 800977C0 00094720 80 81 01 00 */ lwz r4, 0x100(r1) /* 800977C4 00094724 80 01 01 04 */ lwz r0, 0x104(r1) /* 800977C8 00094728 90 9C 01 24 */ stw r4, 0x124(r28) /* 800977CC 0009472C 90 1C 01 28 */ stw r0, 0x128(r28) /* 800977D0 00094730 80 01 01 08 */ lwz r0, 0x108(r1) /* 800977D4 00094734 90 1C 01 2C */ stw r0, 0x12c(r28) /* 800977D8 00094738 C0 01 01 0C */ lfs f0, 0x10c(r1) /* 800977DC 0009473C D0 1C 01 30 */ stfs f0, 0x130(r28) /* 800977E0 00094740 C0 01 01 10 */ lfs f0, 0x110(r1) /* 800977E4 00094744 D0 1C 01 34 */ stfs f0, 0x134(r28) /* 800977E8 00094748 C0 01 01 14 */ lfs f0, 0x114(r1) /* 800977EC 0009474C D0 1C 01 38 */ stfs f0, 0x138(r28) /* 800977F0 00094750 C0 01 01 18 */ lfs f0, 0x118(r1) /* 800977F4 00094754 D0 1C 01 3C */ stfs f0, 0x13c(r28) /* 800977F8 00094758 C0 01 01 1C */ lfs f0, 0x11c(r1) /* 800977FC 0009475C D0 1C 01 40 */ stfs f0, 0x140(r28) /* 80097800 00094760 C0 01 01 20 */ lfs f0, 0x120(r1) /* 80097804 00094764 D0 1C 01 44 */ stfs f0, 0x144(r28) /* 80097808 00094768 80 01 01 24 */ lwz r0, 0x124(r1) /* 8009780C 0009476C 90 1C 01 48 */ stw r0, 0x148(r28) /* 80097810 00094770 80 01 01 28 */ lwz r0, 0x128(r1) /* 80097814 00094774 90 1C 01 4C */ stw r0, 0x14c(r28) /* 80097818 00094778 80 01 01 2C */ lwz r0, 0x12c(r1) /* 8009781C 0009477C 90 1C 01 50 */ stw r0, 0x150(r28) /* 80097820 00094780 80 01 01 30 */ lwz r0, 0x130(r1) /* 80097824 00094784 90 1C 01 54 */ stw r0, 0x154(r28) /* 80097828 00094788 80 01 01 34 */ lwz r0, 0x134(r1) /* 8009782C 0009478C 90 1C 01 58 */ stw r0, 0x158(r28) /* 80097830 00094790 80 01 01 38 */ lwz r0, 0x138(r1) /* 80097834 00094794 90 1C 01 5C */ stw r0, 0x15c(r28) /* 80097838 00094798 4B FF E3 3D */ bl TransformRenderStatesWorldToUniverse__11CAutoMapperFv /* 8009783C 0009479C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80097840 000947A0 7F 83 E3 78 */ mr r3, r28 /* 80097844 000947A4 C0 24 00 DC */ lfs f1, 0xdc(r4) /* 80097848 000947A8 4B FF F9 31 */ bl ResetInterpolationTimer__11CAutoMapperFf /* 8009784C 000947AC 48 00 04 20 */ b lbl_80097C6C lbl_80097850: /* 80097850 000947B0 2C 00 00 02 */ cmpwi r0, 2 /* 80097854 000947B4 40 82 02 04 */ bne lbl_80097A58 /* 80097858 000947B8 2C 1E 00 01 */ cmpwi r30, 1 /* 8009785C 000947BC 40 82 01 FC */ bne lbl_80097A58 /* 80097860 000947C0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80097864 000947C4 38 61 00 0C */ addi r3, r1, 0xc /* 80097868 000947C8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8009786C 000947CC 38 80 05 93 */ li r4, 0x593 /* 80097870 000947D0 38 A0 00 7F */ li r5, 0x7f /* 80097874 000947D4 38 C0 00 40 */ li r6, 0x40 /* 80097878 000947D8 38 E0 00 00 */ li r7, 0 /* 8009787C 000947DC 39 20 00 00 */ li r9, 0 /* 80097880 000947E0 48 25 24 F5 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80097884 000947E4 80 DC 01 F4 */ lwz r6, 0x1f4(r28) /* 80097888 000947E8 7F 84 E3 78 */ mr r4, r28 /* 8009788C 000947EC 80 FC 00 A0 */ lwz r7, 0xa0(r28) /* 80097890 000947F0 7F A5 EB 78 */ mr r5, r29 /* 80097894 000947F4 7C 06 00 D0 */ neg r0, r6 /* 80097898 000947F8 38 61 00 84 */ addi r3, r1, 0x84 /* 8009789C 000947FC 7C 00 30 78 */ andc r0, r0, r6 /* 800978A0 00094800 38 DC 00 B0 */ addi r6, r28, 0xb0 /* 800978A4 00094804 54 08 0F FE */ srwi r8, r0, 0x1f /* 800978A8 00094808 4B FF F5 C1 */ bl BuildMapScreenWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni /* 800978AC 0009480C 80 A1 00 84 */ lwz r5, 0x84(r1) /* 800978B0 00094810 7F 83 E3 78 */ mr r3, r28 /* 800978B4 00094814 80 01 00 88 */ lwz r0, 0x88(r1) /* 800978B8 00094818 38 9C 01 04 */ addi r4, r28, 0x104 /* 800978BC 0009481C 90 BC 01 04 */ stw r5, 0x104(r28) /* 800978C0 00094820 90 1C 01 08 */ stw r0, 0x108(r28) /* 800978C4 00094824 80 A1 00 8C */ lwz r5, 0x8c(r1) /* 800978C8 00094828 80 01 00 90 */ lwz r0, 0x90(r1) /* 800978CC 0009482C 90 BC 01 0C */ stw r5, 0x10c(r28) /* 800978D0 00094830 90 1C 01 10 */ stw r0, 0x110(r28) /* 800978D4 00094834 80 A1 00 94 */ lwz r5, 0x94(r1) /* 800978D8 00094838 80 01 00 98 */ lwz r0, 0x98(r1) /* 800978DC 0009483C 90 BC 01 14 */ stw r5, 0x114(r28) /* 800978E0 00094840 90 1C 01 18 */ stw r0, 0x118(r28) /* 800978E4 00094844 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 800978E8 00094848 D0 1C 01 1C */ stfs f0, 0x11c(r28) /* 800978EC 0009484C C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 800978F0 00094850 D0 1C 01 20 */ stfs f0, 0x120(r28) /* 800978F4 00094854 80 A1 00 A4 */ lwz r5, 0xa4(r1) /* 800978F8 00094858 80 01 00 A8 */ lwz r0, 0xa8(r1) /* 800978FC 0009485C 90 BC 01 24 */ stw r5, 0x124(r28) /* 80097900 00094860 90 1C 01 28 */ stw r0, 0x128(r28) /* 80097904 00094864 80 01 00 AC */ lwz r0, 0xac(r1) /* 80097908 00094868 90 1C 01 2C */ stw r0, 0x12c(r28) /* 8009790C 0009486C C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 80097910 00094870 D0 1C 01 30 */ stfs f0, 0x130(r28) /* 80097914 00094874 C0 01 00 B4 */ lfs f0, 0xb4(r1) /* 80097918 00094878 D0 1C 01 34 */ stfs f0, 0x134(r28) /* 8009791C 0009487C C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 80097920 00094880 D0 1C 01 38 */ stfs f0, 0x138(r28) /* 80097924 00094884 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 80097928 00094888 D0 1C 01 3C */ stfs f0, 0x13c(r28) /* 8009792C 0009488C C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 80097930 00094890 D0 1C 01 40 */ stfs f0, 0x140(r28) /* 80097934 00094894 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 80097938 00094898 D0 1C 01 44 */ stfs f0, 0x144(r28) /* 8009793C 0009489C 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 80097940 000948A0 90 1C 01 48 */ stw r0, 0x148(r28) /* 80097944 000948A4 80 01 00 CC */ lwz r0, 0xcc(r1) /* 80097948 000948A8 90 1C 01 4C */ stw r0, 0x14c(r28) /* 8009794C 000948AC 80 01 00 D0 */ lwz r0, 0xd0(r1) /* 80097950 000948B0 90 1C 01 50 */ stw r0, 0x150(r28) /* 80097954 000948B4 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 80097958 000948B8 90 1C 01 54 */ stw r0, 0x154(r28) /* 8009795C 000948BC 80 01 00 D8 */ lwz r0, 0xd8(r1) /* 80097960 000948C0 90 1C 01 58 */ stw r0, 0x158(r28) /* 80097964 000948C4 80 01 00 DC */ lwz r0, 0xdc(r1) /* 80097968 000948C8 90 1C 01 5C */ stw r0, 0x15c(r28) /* 8009796C 000948CC 4B FF E0 19 */ bl TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState /* 80097970 000948D0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80097974 000948D4 7F 83 E3 78 */ mr r3, r28 /* 80097978 000948D8 C0 24 00 DC */ lfs f1, 0xdc(r4) /* 8009797C 000948DC 4B FF F7 FD */ bl ResetInterpolationTimer__11CAutoMapperFf /* 80097980 000948E0 3B C0 00 00 */ li r30, 0 /* 80097984 000948E4 3B E0 00 00 */ li r31, 0 /* 80097988 000948E8 48 00 00 C0 */ b lbl_80097A48 lbl_8009798C: /* 8009798C 000948EC 80 7C 00 20 */ lwz r3, 0x20(r28) /* 80097990 000948F0 38 1F 00 04 */ addi r0, r31, 4 /* 80097994 000948F4 80 9C 00 24 */ lwz r4, 0x24(r28) /* 80097998 000948F8 7C 03 00 2E */ lwzx r0, r3, r0 /* 8009799C 000948FC 7C 00 20 40 */ cmplw r0, r4 /* 800979A0 00094900 40 82 00 10 */ bne lbl_800979B0 /* 800979A4 00094904 80 1D 08 50 */ lwz r0, 0x850(r29) /* 800979A8 00094908 7C 04 00 40 */ cmplw r4, r0 /* 800979AC 0009490C 40 82 00 94 */ bne lbl_80097A40 lbl_800979B0: /* 800979B0 00094910 38 60 00 00 */ li r3, 0 /* 800979B4 00094914 38 01 00 20 */ addi r0, r1, 0x20 /* 800979B8 00094918 98 61 00 20 */ stb r3, 0x20(r1) /* 800979BC 0009491C 90 61 00 24 */ stw r3, 0x24(r1) /* 800979C0 00094920 80 7C 00 20 */ lwz r3, 0x20(r28) /* 800979C4 00094924 7F 63 FA 14 */ add r27, r3, r31 /* 800979C8 00094928 7C 00 D8 40 */ cmplw r0, r27 /* 800979CC 0009492C 41 82 00 48 */ beq lbl_80097A14 /* 800979D0 00094930 88 1B 00 00 */ lbz r0, 0(r27) /* 800979D4 00094934 28 00 00 00 */ cmplwi r0, 0 /* 800979D8 00094938 41 82 00 24 */ beq lbl_800979FC /* 800979DC 0009493C 80 7B 00 04 */ lwz r3, 4(r27) /* 800979E0 00094940 28 03 00 00 */ cmplwi r3, 0 /* 800979E4 00094944 41 82 00 18 */ beq lbl_800979FC /* 800979E8 00094948 81 83 00 00 */ lwz r12, 0(r3) /* 800979EC 0009494C 38 80 00 01 */ li r4, 1 /* 800979F0 00094950 81 8C 00 08 */ lwz r12, 8(r12) /* 800979F4 00094954 7D 89 03 A6 */ mtctr r12 /* 800979F8 00094958 4E 80 04 21 */ bctrl lbl_800979FC: /* 800979FC 0009495C 88 61 00 20 */ lbz r3, 0x20(r1) /* 80097A00 00094960 38 00 00 00 */ li r0, 0 /* 80097A04 00094964 98 7B 00 00 */ stb r3, 0(r27) /* 80097A08 00094968 80 61 00 24 */ lwz r3, 0x24(r1) /* 80097A0C 0009496C 90 7B 00 04 */ stw r3, 4(r27) /* 80097A10 00094970 98 01 00 20 */ stb r0, 0x20(r1) lbl_80097A14: /* 80097A14 00094974 88 01 00 20 */ lbz r0, 0x20(r1) /* 80097A18 00094978 28 00 00 00 */ cmplwi r0, 0 /* 80097A1C 0009497C 41 82 00 24 */ beq lbl_80097A40 /* 80097A20 00094980 80 61 00 24 */ lwz r3, 0x24(r1) /* 80097A24 00094984 28 03 00 00 */ cmplwi r3, 0 /* 80097A28 00094988 41 82 00 18 */ beq lbl_80097A40 /* 80097A2C 0009498C 81 83 00 00 */ lwz r12, 0(r3) /* 80097A30 00094990 38 80 00 01 */ li r4, 1 /* 80097A34 00094994 81 8C 00 08 */ lwz r12, 8(r12) /* 80097A38 00094998 7D 89 03 A6 */ mtctr r12 /* 80097A3C 0009499C 4E 80 04 21 */ bctrl lbl_80097A40: /* 80097A40 000949A0 3B FF 00 08 */ addi r31, r31, 8 /* 80097A44 000949A4 3B DE 00 01 */ addi r30, r30, 1 lbl_80097A48: /* 80097A48 000949A8 80 1C 00 18 */ lwz r0, 0x18(r28) /* 80097A4C 000949AC 7C 1E 00 00 */ cmpw r30, r0 /* 80097A50 000949B0 41 80 FF 3C */ blt lbl_8009798C /* 80097A54 000949B4 48 00 02 18 */ b lbl_80097C6C lbl_80097A58: /* 80097A58 000949B8 2C 00 00 02 */ cmpwi r0, 2 /* 80097A5C 000949BC 40 82 02 10 */ bne lbl_80097C6C /* 80097A60 000949C0 2C 1E 00 00 */ cmpwi r30, 0 /* 80097A64 000949C4 40 82 02 08 */ bne lbl_80097C6C /* 80097A68 000949C8 80 1D 08 50 */ lwz r0, 0x850(r29) /* 80097A6C 000949CC 38 61 00 08 */ addi r3, r1, 8 /* 80097A70 000949D0 90 1C 00 24 */ stw r0, 0x24(r28) /* 80097A74 000949D4 80 9C 00 24 */ lwz r4, 0x24(r28) /* 80097A78 000949D8 81 84 00 00 */ lwz r12, 0(r4) /* 80097A7C 000949DC 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80097A80 000949E0 7D 89 03 A6 */ mtctr r12 /* 80097A84 000949E4 4E 80 04 21 */ bctrl /* 80097A88 000949E8 80 01 00 08 */ lwz r0, 8(r1) /* 80097A8C 000949EC 7F 84 E3 78 */ mr r4, r28 /* 80097A90 000949F0 7F A5 EB 78 */ mr r5, r29 /* 80097A94 000949F4 38 61 00 28 */ addi r3, r1, 0x28 /* 80097A98 000949F8 90 1C 00 A0 */ stw r0, 0xa0(r28) /* 80097A9C 000949FC 38 DC 00 B0 */ addi r6, r28, 0xb0 /* 80097AA0 00094A00 80 FC 00 A0 */ lwz r7, 0xa0(r28) /* 80097AA4 00094A04 4B FF F4 F5 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni /* 80097AA8 00094A08 80 61 00 28 */ lwz r3, 0x28(r1) /* 80097AAC 00094A0C 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80097AB0 00094A10 90 7C 01 04 */ stw r3, 0x104(r28) /* 80097AB4 00094A14 90 1C 01 08 */ stw r0, 0x108(r28) /* 80097AB8 00094A18 80 61 00 30 */ lwz r3, 0x30(r1) /* 80097ABC 00094A1C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80097AC0 00094A20 90 7C 01 0C */ stw r3, 0x10c(r28) /* 80097AC4 00094A24 90 1C 01 10 */ stw r0, 0x110(r28) /* 80097AC8 00094A28 80 61 00 38 */ lwz r3, 0x38(r1) /* 80097ACC 00094A2C 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80097AD0 00094A30 90 7C 01 14 */ stw r3, 0x114(r28) /* 80097AD4 00094A34 90 1C 01 18 */ stw r0, 0x118(r28) /* 80097AD8 00094A38 C0 01 00 40 */ lfs f0, 0x40(r1) /* 80097ADC 00094A3C D0 1C 01 1C */ stfs f0, 0x11c(r28) /* 80097AE0 00094A40 C0 01 00 44 */ lfs f0, 0x44(r1) /* 80097AE4 00094A44 D0 1C 01 20 */ stfs f0, 0x120(r28) /* 80097AE8 00094A48 80 61 00 48 */ lwz r3, 0x48(r1) /* 80097AEC 00094A4C 80 01 00 4C */ lwz r0, 0x4c(r1) /* 80097AF0 00094A50 90 7C 01 24 */ stw r3, 0x124(r28) /* 80097AF4 00094A54 90 1C 01 28 */ stw r0, 0x128(r28) /* 80097AF8 00094A58 80 01 00 50 */ lwz r0, 0x50(r1) /* 80097AFC 00094A5C 90 1C 01 2C */ stw r0, 0x12c(r28) /* 80097B00 00094A60 C0 01 00 54 */ lfs f0, 0x54(r1) /* 80097B04 00094A64 D0 1C 01 30 */ stfs f0, 0x130(r28) /* 80097B08 00094A68 C0 01 00 58 */ lfs f0, 0x58(r1) /* 80097B0C 00094A6C D0 1C 01 34 */ stfs f0, 0x134(r28) /* 80097B10 00094A70 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 80097B14 00094A74 D0 1C 01 38 */ stfs f0, 0x138(r28) /* 80097B18 00094A78 C0 01 00 60 */ lfs f0, 0x60(r1) /* 80097B1C 00094A7C D0 1C 01 3C */ stfs f0, 0x13c(r28) /* 80097B20 00094A80 C0 01 00 64 */ lfs f0, 0x64(r1) /* 80097B24 00094A84 D0 1C 01 40 */ stfs f0, 0x140(r28) /* 80097B28 00094A88 C0 01 00 68 */ lfs f0, 0x68(r1) /* 80097B2C 00094A8C D0 1C 01 44 */ stfs f0, 0x144(r28) /* 80097B30 00094A90 80 01 00 6C */ lwz r0, 0x6c(r1) /* 80097B34 00094A94 90 1C 01 48 */ stw r0, 0x148(r28) /* 80097B38 00094A98 80 01 00 70 */ lwz r0, 0x70(r1) /* 80097B3C 00094A9C 90 1C 01 4C */ stw r0, 0x14c(r28) /* 80097B40 00094AA0 80 01 00 74 */ lwz r0, 0x74(r1) /* 80097B44 00094AA4 90 1C 01 50 */ stw r0, 0x150(r28) /* 80097B48 00094AA8 80 01 00 78 */ lwz r0, 0x78(r1) /* 80097B4C 00094AAC 90 1C 01 54 */ stw r0, 0x154(r28) /* 80097B50 00094AB0 80 01 00 7C */ lwz r0, 0x7c(r1) /* 80097B54 00094AB4 90 1C 01 58 */ stw r0, 0x158(r28) /* 80097B58 00094AB8 80 01 00 80 */ lwz r0, 0x80(r1) /* 80097B5C 00094ABC 90 1C 01 5C */ stw r0, 0x15c(r28) /* 80097B60 00094AC0 80 7C 00 24 */ lwz r3, 0x24(r28) /* 80097B64 00094AC4 81 83 00 00 */ lwz r12, 0(r3) /* 80097B68 00094AC8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80097B6C 00094ACC 7D 89 03 A6 */ mtctr r12 /* 80097B70 00094AD0 4E 80 04 21 */ bctrl /* 80097B74 00094AD4 7C 64 1B 78 */ mr r4, r3 /* 80097B78 00094AD8 7F 83 E3 78 */ mr r3, r28 /* 80097B7C 00094ADC 4B FF DD C1 */ bl SetCurWorldAssetId__11CAutoMapperFi /* 80097B80 00094AE0 7F 83 E3 78 */ mr r3, r28 /* 80097B84 00094AE4 38 9C 01 04 */ addi r4, r28, 0x104 /* 80097B88 00094AE8 4B FF DD FD */ bl TransformRenderStateWorldToUniverse__11CAutoMapperFRQ211CAutoMapper22SAutoMapperRenderState /* 80097B8C 00094AEC 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80097B90 00094AF0 7F 83 E3 78 */ mr r3, r28 /* 80097B94 00094AF4 C0 24 00 68 */ lfs f1, 0x68(r4) /* 80097B98 00094AF8 4B FF F5 E1 */ bl ResetInterpolationTimer__11CAutoMapperFf /* 80097B9C 00094AFC 83 7C 02 00 */ lwz r27, 0x200(r28) /* 80097BA0 00094B00 80 9C 01 FC */ lwz r4, 0x1fc(r28) /* 80097BA4 00094B04 48 00 00 10 */ b lbl_80097BB4 lbl_80097BA8: /* 80097BA8 00094B08 38 7C 01 F8 */ addi r3, r28, 0x1f8 /* 80097BAC 00094B0C 48 00 67 49 */ bl sub_8009e2f4 /* 80097BB0 00094B10 7C 64 1B 78 */ mr r4, r3 lbl_80097BB4: /* 80097BB4 00094B14 7C 04 D8 40 */ cmplw r4, r27 /* 80097BB8 00094B18 40 82 FF F0 */ bne lbl_80097BA8 /* 80097BBC 00094B1C 3B A1 00 18 */ addi r29, r1, 0x18 /* 80097BC0 00094B20 3B E0 00 00 */ li r31, 0 /* 80097BC4 00094B24 3B C0 00 00 */ li r30, 0 /* 80097BC8 00094B28 48 00 00 98 */ b lbl_80097C60 lbl_80097BCC: /* 80097BCC 00094B2C 38 00 00 00 */ li r0, 0 /* 80097BD0 00094B30 98 01 00 18 */ stb r0, 0x18(r1) /* 80097BD4 00094B34 90 01 00 1C */ stw r0, 0x1c(r1) /* 80097BD8 00094B38 80 1C 00 20 */ lwz r0, 0x20(r28) /* 80097BDC 00094B3C 7F 60 F2 14 */ add r27, r0, r30 /* 80097BE0 00094B40 7C 1D D8 40 */ cmplw r29, r27 /* 80097BE4 00094B44 41 82 00 48 */ beq lbl_80097C2C /* 80097BE8 00094B48 88 1B 00 00 */ lbz r0, 0(r27) /* 80097BEC 00094B4C 28 00 00 00 */ cmplwi r0, 0 /* 80097BF0 00094B50 41 82 00 24 */ beq lbl_80097C14 /* 80097BF4 00094B54 80 7B 00 04 */ lwz r3, 4(r27) /* 80097BF8 00094B58 28 03 00 00 */ cmplwi r3, 0 /* 80097BFC 00094B5C 41 82 00 18 */ beq lbl_80097C14 /* 80097C00 00094B60 81 83 00 00 */ lwz r12, 0(r3) /* 80097C04 00094B64 38 80 00 01 */ li r4, 1 /* 80097C08 00094B68 81 8C 00 08 */ lwz r12, 8(r12) /* 80097C0C 00094B6C 7D 89 03 A6 */ mtctr r12 /* 80097C10 00094B70 4E 80 04 21 */ bctrl lbl_80097C14: /* 80097C14 00094B74 88 61 00 18 */ lbz r3, 0x18(r1) /* 80097C18 00094B78 38 00 00 00 */ li r0, 0 /* 80097C1C 00094B7C 98 7B 00 00 */ stb r3, 0(r27) /* 80097C20 00094B80 80 61 00 1C */ lwz r3, 0x1c(r1) /* 80097C24 00094B84 90 7B 00 04 */ stw r3, 4(r27) /* 80097C28 00094B88 98 01 00 18 */ stb r0, 0x18(r1) lbl_80097C2C: /* 80097C2C 00094B8C 88 01 00 18 */ lbz r0, 0x18(r1) /* 80097C30 00094B90 28 00 00 00 */ cmplwi r0, 0 /* 80097C34 00094B94 41 82 00 24 */ beq lbl_80097C58 /* 80097C38 00094B98 80 61 00 1C */ lwz r3, 0x1c(r1) /* 80097C3C 00094B9C 28 03 00 00 */ cmplwi r3, 0 /* 80097C40 00094BA0 41 82 00 18 */ beq lbl_80097C58 /* 80097C44 00094BA4 81 83 00 00 */ lwz r12, 0(r3) /* 80097C48 00094BA8 38 80 00 01 */ li r4, 1 /* 80097C4C 00094BAC 81 8C 00 08 */ lwz r12, 8(r12) /* 80097C50 00094BB0 7D 89 03 A6 */ mtctr r12 /* 80097C54 00094BB4 4E 80 04 21 */ bctrl lbl_80097C58: /* 80097C58 00094BB8 3B DE 00 08 */ addi r30, r30, 8 /* 80097C5C 00094BBC 3B FF 00 01 */ addi r31, r31, 1 lbl_80097C60: /* 80097C60 00094BC0 80 1C 00 18 */ lwz r0, 0x18(r28) /* 80097C64 00094BC4 7C 1F 00 00 */ cmpw r31, r0 /* 80097C68 00094BC8 41 80 FF 64 */ blt lbl_80097BCC lbl_80097C6C: /* 80097C6C 00094BCC BB 61 01 FC */ lmw r27, 0x1fc(r1) /* 80097C70 00094BD0 80 01 02 14 */ lwz r0, 0x214(r1) /* 80097C74 00094BD4 7C 08 03 A6 */ mtlr r0 /* 80097C78 00094BD8 38 21 02 10 */ addi r1, r1, 0x210 /* 80097C7C 00094BDC 4E 80 00 20 */ blr .global Update__11CAutoMapperFfRC13CStateManager Update__11CAutoMapperFfRC13CStateManager: /* 80097C80 00094BE0 94 21 FC C0 */ stwu r1, -0x340(r1) /* 80097C84 00094BE4 7C 08 02 A6 */ mflr r0 /* 80097C88 00094BE8 90 01 03 44 */ stw r0, 0x344(r1) /* 80097C8C 00094BEC DB E1 03 30 */ stfd f31, 0x330(r1) /* 80097C90 00094BF0 F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 /* 80097C94 00094BF4 DB C1 03 20 */ stfd f30, 0x320(r1) /* 80097C98 00094BF8 F3 C1 03 28 */ psq_st f30, 808(r1), 0, qr0 /* 80097C9C 00094BFC 93 E1 03 1C */ stw r31, 0x31c(r1) /* 80097CA0 00094C00 93 C1 03 18 */ stw r30, 0x318(r1) /* 80097CA4 00094C04 93 A1 03 14 */ stw r29, 0x314(r1) /* 80097CA8 00094C08 93 81 03 10 */ stw r28, 0x310(r1) /* 80097CAC 00094C0C 7C 7F 1B 78 */ mr r31, r3 /* 80097CB0 00094C10 FF E0 08 90 */ fmr f31, f1 /* 80097CB4 00094C14 80 03 01 BC */ lwz r0, 0x1bc(r3) /* 80097CB8 00094C18 7C 9D 23 78 */ mr r29, r4 /* 80097CBC 00094C1C 38 60 00 00 */ li r3, 0 /* 80097CC0 00094C20 2C 00 00 00 */ cmpwi r0, 0 /* 80097CC4 00094C24 41 82 00 14 */ beq lbl_80097CD8 /* 80097CC8 00094C28 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 80097CCC 00094C2C 2C 00 00 00 */ cmpwi r0, 0 /* 80097CD0 00094C30 41 82 00 08 */ beq lbl_80097CD8 /* 80097CD4 00094C34 38 60 00 01 */ li r3, 1 lbl_80097CD8: /* 80097CD8 00094C38 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80097CDC 00094C3C 41 82 00 44 */ beq lbl_80097D20 /* 80097CE0 00094C40 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) /* 80097CE4 00094C44 C8 42 8B B0 */ lfd f2, lbl_805AA8D0@sda21(r2) /* 80097CE8 00094C48 EC 20 F8 2A */ fadds f1, f0, f31 /* 80097CEC 00094C4C 48 2F CF C1 */ bl fmod /* 80097CF0 00094C50 FC 00 08 18 */ frsp f0, f1 /* 80097CF4 00094C54 C0 22 8B B8 */ lfs f1, lbl_805AA8D8@sda21(r2) /* 80097CF8 00094C58 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) /* 80097CFC 00094C5C C0 5F 01 D8 */ lfs f2, 0x1d8(r31) /* 80097D00 00094C60 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 80097D04 00094C64 40 80 00 0C */ bge lbl_80097D10 /* 80097D08 00094C68 EC 02 08 24 */ fdivs f0, f2, f1 /* 80097D0C 00094C6C 48 00 00 10 */ b lbl_80097D1C lbl_80097D10: /* 80097D10 00094C70 C0 02 8B BC */ lfs f0, lbl_805AA8DC@sda21(r2) /* 80097D14 00094C74 EC 00 10 28 */ fsubs f0, f0, f2 /* 80097D18 00094C78 EC 00 08 24 */ fdivs f0, f0, f1 lbl_80097D1C: /* 80097D1C 00094C7C D0 1F 01 DC */ stfs f0, 0x1dc(r31) lbl_80097D20: /* 80097D20 00094C80 83 DF 00 28 */ lwz r30, 0x28(r31) /* 80097D24 00094C84 28 1E 00 00 */ cmplwi r30, 0 /* 80097D28 00094C88 41 82 02 4C */ beq lbl_80097F74 /* 80097D2C 00094C8C 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 80097D30 00094C90 28 00 00 00 */ cmplwi r0, 0 /* 80097D34 00094C94 40 82 02 40 */ bne lbl_80097F74 /* 80097D38 00094C98 80 1E 00 08 */ lwz r0, 8(r30) /* 80097D3C 00094C9C 28 00 00 00 */ cmplwi r0, 0 /* 80097D40 00094CA0 41 82 00 0C */ beq lbl_80097D4C /* 80097D44 00094CA4 38 60 00 01 */ li r3, 1 /* 80097D48 00094CA8 48 00 00 3C */ b lbl_80097D84 lbl_80097D4C: /* 80097D4C 00094CAC 88 1E 00 04 */ lbz r0, 4(r30) /* 80097D50 00094CB0 28 00 00 00 */ cmplwi r0, 0 /* 80097D54 00094CB4 41 82 00 2C */ beq lbl_80097D80 /* 80097D58 00094CB8 80 7E 00 00 */ lwz r3, 0(r30) /* 80097D5C 00094CBC 80 03 00 10 */ lwz r0, 0x10(r3) /* 80097D60 00094CC0 28 00 00 00 */ cmplwi r0, 0 /* 80097D64 00094CC4 41 82 00 1C */ beq lbl_80097D80 /* 80097D68 00094CC8 7F C3 F3 78 */ mr r3, r30 /* 80097D6C 00094CCC 48 2A 90 A1 */ bl GetObj__6CTokenFv /* 80097D70 00094CD0 80 03 00 04 */ lwz r0, 4(r3) /* 80097D74 00094CD4 38 60 00 01 */ li r3, 1 /* 80097D78 00094CD8 90 1E 00 08 */ stw r0, 8(r30) /* 80097D7C 00094CDC 48 00 00 08 */ b lbl_80097D84 lbl_80097D80: /* 80097D80 00094CE0 38 60 00 00 */ li r3, 0 lbl_80097D84: /* 80097D84 00094CE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80097D88 00094CE8 41 82 01 EC */ beq lbl_80097F74 /* 80097D8C 00094CEC 80 9F 00 28 */ lwz r4, 0x28(r31) /* 80097D90 00094CF0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097D94 00094CF4 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l /* 80097D98 00094CF8 80 04 00 08 */ lwz r0, 8(r4) /* 80097D9C 00094CFC 38 83 00 16 */ addi r4, r3, 0x16 /* 80097DA0 00094D00 90 1F 00 2C */ stw r0, 0x2c(r31) /* 80097DA4 00094D04 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097DA8 00094D08 48 22 A3 AD */ bl FindWidget__9CGuiFrameCFPCc /* 80097DAC 00094D0C 7C 7E 1B 78 */ mr r30, r3 /* 80097DB0 00094D10 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80097DB4 00094D14 38 80 00 2A */ li r4, 0x2a /* 80097DB8 00094D18 48 2B E9 45 */ bl GetString__12CStringTableCFi /* 80097DBC 00094D1C 7C 64 1B 78 */ mr r4, r3 /* 80097DC0 00094D20 38 61 01 AC */ addi r3, r1, 0x1ac /* 80097DC4 00094D24 38 C1 00 18 */ addi r6, r1, 0x18 /* 80097DC8 00094D28 38 A0 FF FF */ li r5, -1 /* 80097DCC 00094D2C 48 2A 59 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80097DD0 00094D30 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 80097DD4 00094D34 38 81 01 AC */ addi r4, r1, 0x1ac /* 80097DD8 00094D38 38 A0 00 00 */ li r5, 0 /* 80097DDC 00094D3C 48 23 1A A9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80097DE0 00094D40 38 61 01 AC */ addi r3, r1, 0x1ac /* 80097DE4 00094D44 48 2A 53 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80097DE8 00094D48 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 80097DEC 00094D4C 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097DF0 00094D50 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 80097DF4 00094D54 38 84 00 24 */ addi r4, r4, 0x24 /* 80097DF8 00094D58 48 22 A3 5D */ bl FindWidget__9CGuiFrameCFPCc /* 80097DFC 00094D5C 7C 7E 1B 78 */ mr r30, r3 /* 80097E00 00094D60 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80097E04 00094D64 38 80 00 2B */ li r4, 0x2b /* 80097E08 00094D68 48 2B E8 F5 */ bl GetString__12CStringTableCFi /* 80097E0C 00094D6C 7C 64 1B 78 */ mr r4, r3 /* 80097E10 00094D70 38 61 01 9C */ addi r3, r1, 0x19c /* 80097E14 00094D74 38 C1 00 14 */ addi r6, r1, 0x14 /* 80097E18 00094D78 38 A0 FF FF */ li r5, -1 /* 80097E1C 00094D7C 48 2A 59 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80097E20 00094D80 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 80097E24 00094D84 38 81 01 9C */ addi r4, r1, 0x19c /* 80097E28 00094D88 38 A0 00 00 */ li r5, 0 /* 80097E2C 00094D8C 48 23 1A 59 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80097E30 00094D90 38 61 01 9C */ addi r3, r1, 0x19c /* 80097E34 00094D94 48 2A 53 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80097E38 00094D98 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 80097E3C 00094D9C 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097E40 00094DA0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 80097E44 00094DA4 38 84 00 33 */ addi r4, r4, 0x33 /* 80097E48 00094DA8 48 22 A3 0D */ bl FindWidget__9CGuiFrameCFPCc /* 80097E4C 00094DAC 90 7F 02 FC */ stw r3, 0x2fc(r31) /* 80097E50 00094DB0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097E54 00094DB4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 80097E58 00094DB8 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097E5C 00094DBC 38 84 00 41 */ addi r4, r4, 0x41 /* 80097E60 00094DC0 48 22 A2 F5 */ bl FindWidget__9CGuiFrameCFPCc /* 80097E64 00094DC4 90 7F 03 00 */ stw r3, 0x300(r31) /* 80097E68 00094DC8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097E6C 00094DCC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 80097E70 00094DD0 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097E74 00094DD4 38 84 00 57 */ addi r4, r4, 0x57 /* 80097E78 00094DD8 48 22 A2 DD */ bl FindWidget__9CGuiFrameCFPCc /* 80097E7C 00094DDC 90 7F 03 04 */ stw r3, 0x304(r31) /* 80097E80 00094DE0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097E84 00094DE4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 80097E88 00094DE8 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097E8C 00094DEC 38 84 00 6E */ addi r4, r4, 0x6e /* 80097E90 00094DF0 48 22 A2 C5 */ bl FindWidget__9CGuiFrameCFPCc /* 80097E94 00094DF4 90 7F 03 08 */ stw r3, 0x308(r31) /* 80097E98 00094DF8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097E9C 00094DFC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 80097EA0 00094E00 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097EA4 00094E04 38 84 00 85 */ addi r4, r4, 0x85 /* 80097EA8 00094E08 48 22 A2 AD */ bl FindWidget__9CGuiFrameCFPCc /* 80097EAC 00094E0C 7C 7E 1B 78 */ mr r30, r3 /* 80097EB0 00094E10 38 80 00 00 */ li r4, 0 /* 80097EB4 00094E14 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 80097EB8 00094E18 48 23 18 95 */ bl sub_802c974c /* 80097EBC 00094E1C 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 80097EC0 00094E20 38 80 00 01 */ li r4, 1 /* 80097EC4 00094E24 48 23 18 55 */ bl SetImageBaseline__15CGuiTextSupportFb /* 80097EC8 00094E28 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80097ECC 00094E2C 38 80 00 31 */ li r4, 0x31 /* 80097ED0 00094E30 48 2B E8 2D */ bl GetString__12CStringTableCFi /* 80097ED4 00094E34 7C 64 1B 78 */ mr r4, r3 /* 80097ED8 00094E38 38 61 01 8C */ addi r3, r1, 0x18c /* 80097EDC 00094E3C 38 C1 00 10 */ addi r6, r1, 0x10 /* 80097EE0 00094E40 38 A0 FF FF */ li r5, -1 /* 80097EE4 00094E44 48 2A 58 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80097EE8 00094E48 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 80097EEC 00094E4C 38 81 01 8C */ addi r4, r1, 0x18c /* 80097EF0 00094E50 38 A0 00 00 */ li r5, 0 /* 80097EF4 00094E54 48 23 19 91 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80097EF8 00094E58 38 61 01 8C */ addi r3, r1, 0x18c /* 80097EFC 00094E5C 48 2A 52 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80097F00 00094E60 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 80097F04 00094E64 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097F08 00094E68 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 80097F0C 00094E6C 38 84 00 98 */ addi r4, r4, 0x98 /* 80097F10 00094E70 48 22 A2 45 */ bl FindWidget__9CGuiFrameCFPCc /* 80097F14 00094E74 90 7F 03 0C */ stw r3, 0x30c(r31) /* 80097F18 00094E78 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097F1C 00094E7C 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 80097F20 00094E80 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097F24 00094E84 38 84 00 AC */ addi r4, r4, 0xac /* 80097F28 00094E88 48 22 A2 2D */ bl FindWidget__9CGuiFrameCFPCc /* 80097F2C 00094E8C 90 7F 03 10 */ stw r3, 0x310(r31) /* 80097F30 00094E90 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097F34 00094E94 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 80097F38 00094E98 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097F3C 00094E9C 38 84 00 C3 */ addi r4, r4, 0xc3 /* 80097F40 00094EA0 48 22 A2 15 */ bl FindWidget__9CGuiFrameCFPCc /* 80097F44 00094EA4 90 7F 03 14 */ stw r3, 0x314(r31) /* 80097F48 00094EA8 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 80097F4C 00094EAC 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 80097F50 00094EB0 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097F54 00094EB4 38 84 00 D9 */ addi r4, r4, 0xd9 /* 80097F58 00094EB8 48 22 A1 FD */ bl FindWidget__9CGuiFrameCFPCc /* 80097F5C 00094EBC 90 7F 02 F8 */ stw r3, 0x2f8(r31) /* 80097F60 00094EC0 38 80 00 00 */ li r4, 0 /* 80097F64 00094EC4 80 7F 02 F8 */ lwz r3, 0x2f8(r31) /* 80097F68 00094EC8 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80097F6C 00094ECC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 80097F70 00094ED0 98 03 00 B6 */ stb r0, 0xb6(r3) lbl_80097F74: /* 80097F74 00094ED4 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097F78 00094ED8 28 03 00 00 */ cmplwi r3, 0 /* 80097F7C 00094EDC 41 82 02 4C */ beq lbl_800981C8 /* 80097F80 00094EE0 FC 20 F8 90 */ fmr f1, f31 /* 80097F84 00094EE4 48 22 A7 81 */ bl Update__9CGuiFrameFf /* 80097F88 00094EE8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 80097F8C 00094EEC 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80097F90 00094EF0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 80097F94 00094EF4 38 84 00 EB */ addi r4, r4, 0xeb /* 80097F98 00094EF8 48 22 A1 BD */ bl FindWidget__9CGuiFrameCFPCc /* 80097F9C 00094EFC 38 00 00 00 */ li r0, 0 /* 80097FA0 00094F00 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 /* 80097FA4 00094F04 90 81 01 CC */ stw r4, 0x1cc(r1) /* 80097FA8 00094F08 3C 80 80 3D */ lis r4, lbl_803CD7FC@ha /* 80097FAC 00094F0C 38 E4 D7 FC */ addi r7, r4, lbl_803CD7FC@l /* 80097FB0 00094F10 80 82 8B 68 */ lwz r4, lbl_805AA888@sda21(r2) /* 80097FB4 00094F14 90 01 01 D0 */ stw r0, 0x1d0(r1) /* 80097FB8 00094F18 7C 7E 1B 78 */ mr r30, r3 /* 80097FBC 00094F1C 80 C7 00 00 */ lwz r6, 0(r7) /* 80097FC0 00094F20 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 80097FC4 00094F24 80 A7 00 04 */ lwz r5, 4(r7) /* 80097FC8 00094F28 81 1F 01 BC */ lwz r8, 0x1bc(r31) /* 80097FCC 00094F2C 80 67 00 08 */ lwz r3, 8(r7) /* 80097FD0 00094F30 80 07 00 0C */ lwz r0, 0xc(r7) /* 80097FD4 00094F34 2C 08 00 02 */ cmpwi r8, 2 /* 80097FD8 00094F38 90 C1 01 DC */ stw r6, 0x1dc(r1) /* 80097FDC 00094F3C 90 A1 01 E0 */ stw r5, 0x1e0(r1) /* 80097FE0 00094F40 90 61 01 E4 */ stw r3, 0x1e4(r1) /* 80097FE4 00094F44 90 01 01 E8 */ stw r0, 0x1e8(r1) /* 80097FE8 00094F48 90 81 00 4C */ stw r4, 0x4c(r1) /* 80097FEC 00094F4C 41 82 00 20 */ beq lbl_8009800C /* 80097FF0 00094F50 2C 08 00 01 */ cmpwi r8, 1 /* 80097FF4 00094F54 40 82 00 B0 */ bne lbl_800980A4 /* 80097FF8 00094F58 7F E3 FB 78 */ mr r3, r31 /* 80097FFC 00094F5C 7F A4 EB 78 */ mr r4, r29 /* 80098000 00094F60 48 00 41 39 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv /* 80098004 00094F64 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098008 00094F68 41 82 00 9C */ beq lbl_800980A4 lbl_8009800C: /* 8009800C 00094F6C 38 61 01 CC */ addi r3, r1, 0x1cc /* 80098010 00094F70 38 80 01 00 */ li r4, 0x100 /* 80098014 00094F74 38 A0 00 01 */ li r5, 1 /* 80098018 00094F78 48 2A 4F 5D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" /* 8009801C 00094F7C 38 61 01 CC */ addi r3, r1, 0x1cc /* 80098020 00094F80 38 81 01 DC */ addi r4, r1, 0x1dc /* 80098024 00094F84 38 A0 FF FF */ li r5, -1 /* 80098028 00094F88 48 2A 54 BD */ bl sub_8033d4e4 /* 8009802C 00094F8C 80 1F 02 F4 */ lwz r0, 0x2f4(r31) /* 80098030 00094F90 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 80098034 00094F94 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 80098038 00094F98 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l /* 8009803C 00094F9C 54 00 10 3A */ slwi r0, r0, 2 /* 80098040 00094FA0 7C 83 02 14 */ add r4, r3, r0 /* 80098044 00094FA4 38 65 00 FB */ addi r3, r5, 0xfb /* 80098048 00094FA8 80 84 00 98 */ lwz r4, 0x98(r4) /* 8009804C 00094FAC 4C C6 31 82 */ crclr 6 /* 80098050 00094FB0 48 23 E1 61 */ bl Stringize__7CBasicsFPCce /* 80098054 00094FB4 7C 64 1B 78 */ mr r4, r3 /* 80098058 00094FB8 38 61 01 7C */ addi r3, r1, 0x17c /* 8009805C 00094FBC 38 C1 00 0C */ addi r6, r1, 0xc /* 80098060 00094FC0 38 A0 FF FF */ li r5, -1 /* 80098064 00094FC4 48 2A 61 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 80098068 00094FC8 38 61 01 6C */ addi r3, r1, 0x16c /* 8009806C 00094FCC 38 81 01 7C */ addi r4, r1, 0x17c /* 80098070 00094FD0 48 2A 66 B1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80098074 00094FD4 38 61 01 CC */ addi r3, r1, 0x1cc /* 80098078 00094FD8 38 81 01 6C */ addi r4, r1, 0x16c /* 8009807C 00094FDC 48 2A 55 D1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80098080 00094FE0 38 61 01 6C */ addi r3, r1, 0x16c /* 80098084 00094FE4 48 2A 50 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80098088 00094FE8 38 61 01 7C */ addi r3, r1, 0x17c /* 8009808C 00094FEC 48 2A 5A 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80098090 00094FF0 38 61 01 CC */ addi r3, r1, 0x1cc /* 80098094 00094FF4 38 81 00 4C */ addi r4, r1, 0x4c /* 80098098 00094FF8 38 A0 FF FF */ li r5, -1 /* 8009809C 00094FFC 48 2A 54 49 */ bl sub_8033d4e4 /* 800980A0 00095000 48 00 00 24 */ b lbl_800980C4 lbl_800980A4: /* 800980A4 00095004 38 61 01 5C */ addi r3, r1, 0x15c /* 800980A8 00095008 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 /* 800980AC 0009500C 4B F7 D9 45 */ bl wstring_l__4rstlFPCw /* 800980B0 00095010 38 61 01 CC */ addi r3, r1, 0x1cc /* 800980B4 00095014 38 81 01 5C */ addi r4, r1, 0x15c /* 800980B8 00095018 48 2A 52 95 */ bl sub_8033d34c /* 800980BC 0009501C 38 61 01 5C */ addi r3, r1, 0x15c /* 800980C0 00095020 48 2A 50 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800980C4: /* 800980C4 00095024 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 800980C8 00095028 38 81 01 CC */ addi r4, r1, 0x1cc /* 800980CC 0009502C 38 A0 00 00 */ li r5, 0 /* 800980D0 00095030 48 23 17 B5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800980D4 00095034 38 61 01 CC */ addi r3, r1, 0x1cc /* 800980D8 00095038 48 2A 50 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800980DC 0009503C 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 800980E0 00095040 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 800980E4 00095044 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 800980E8 00095048 38 84 01 01 */ addi r4, r4, 0x101 /* 800980EC 0009504C 48 22 A0 69 */ bl FindWidget__9CGuiFrameCFPCc /* 800980F0 00095050 38 00 00 00 */ li r0, 0 /* 800980F4 00095054 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 /* 800980F8 00095058 90 81 01 BC */ stw r4, 0x1bc(r1) /* 800980FC 0009505C 7C 7E 1B 78 */ mr r30, r3 /* 80098100 00095060 90 01 01 C0 */ stw r0, 0x1c0(r1) /* 80098104 00095064 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 80098108 00095068 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 8009810C 0009506C 2C 00 00 02 */ cmpwi r0, 2 /* 80098110 00095070 40 82 00 34 */ bne lbl_80098144 /* 80098114 00095074 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80098118 00095078 38 80 00 2D */ li r4, 0x2d /* 8009811C 0009507C 48 2B E5 E1 */ bl GetString__12CStringTableCFi /* 80098120 00095080 7C 64 1B 78 */ mr r4, r3 /* 80098124 00095084 38 61 01 4C */ addi r3, r1, 0x14c /* 80098128 00095088 4B F7 D8 C9 */ bl wstring_l__4rstlFPCw /* 8009812C 0009508C 38 61 01 BC */ addi r3, r1, 0x1bc /* 80098130 00095090 38 81 01 4C */ addi r4, r1, 0x14c /* 80098134 00095094 48 2A 52 19 */ bl sub_8033d34c /* 80098138 00095098 38 61 01 4C */ addi r3, r1, 0x14c /* 8009813C 0009509C 48 2A 4F F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80098140 000950A0 48 00 00 70 */ b lbl_800981B0 lbl_80098144: /* 80098144 000950A4 2C 00 00 01 */ cmpwi r0, 1 /* 80098148 000950A8 40 82 00 48 */ bne lbl_80098190 /* 8009814C 000950AC 7F E3 FB 78 */ mr r3, r31 /* 80098150 000950B0 7F A4 EB 78 */ mr r4, r29 /* 80098154 000950B4 48 00 3F E5 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv /* 80098158 000950B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009815C 000950BC 41 82 00 34 */ beq lbl_80098190 /* 80098160 000950C0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80098164 000950C4 38 80 00 2C */ li r4, 0x2c /* 80098168 000950C8 48 2B E5 95 */ bl GetString__12CStringTableCFi /* 8009816C 000950CC 7C 64 1B 78 */ mr r4, r3 /* 80098170 000950D0 38 61 01 3C */ addi r3, r1, 0x13c /* 80098174 000950D4 4B F7 D8 7D */ bl wstring_l__4rstlFPCw /* 80098178 000950D8 38 61 01 BC */ addi r3, r1, 0x1bc /* 8009817C 000950DC 38 81 01 3C */ addi r4, r1, 0x13c /* 80098180 000950E0 48 2A 51 CD */ bl sub_8033d34c /* 80098184 000950E4 38 61 01 3C */ addi r3, r1, 0x13c /* 80098188 000950E8 48 2A 4F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009818C 000950EC 48 00 00 24 */ b lbl_800981B0 lbl_80098190: /* 80098190 000950F0 38 61 01 2C */ addi r3, r1, 0x12c /* 80098194 000950F4 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 /* 80098198 000950F8 4B F7 D8 59 */ bl wstring_l__4rstlFPCw /* 8009819C 000950FC 38 61 01 BC */ addi r3, r1, 0x1bc /* 800981A0 00095100 38 81 01 2C */ addi r4, r1, 0x12c /* 800981A4 00095104 48 2A 51 A9 */ bl sub_8033d34c /* 800981A8 00095108 38 61 01 2C */ addi r3, r1, 0x12c /* 800981AC 0009510C 48 2A 4F 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800981B0: /* 800981B0 00095110 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 800981B4 00095114 38 81 01 BC */ addi r4, r1, 0x1bc /* 800981B8 00095118 38 A0 00 00 */ li r5, 0 /* 800981BC 0009511C 48 23 16 C9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800981C0 00095120 38 61 01 BC */ addi r3, r1, 0x1bc /* 800981C4 00095124 48 2A 4F 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800981C8: /* 800981C8 00095128 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800981CC 0009512C C0 02 8B 90 */ lfs f0, lbl_805AA8B0@sda21(r2) /* 800981D0 00095130 80 03 01 64 */ lwz r0, 0x164(r3) /* 800981D4 00095134 EC 20 07 F2 */ fmuls f1, f0, f31 /* 800981D8 00095138 2C 00 00 01 */ cmpwi r0, 1 /* 800981DC 0009513C 41 82 00 48 */ beq lbl_80098224 /* 800981E0 00095140 40 80 00 10 */ bge lbl_800981F0 /* 800981E4 00095144 2C 00 00 00 */ cmpwi r0, 0 /* 800981E8 00095148 40 80 00 14 */ bge lbl_800981FC /* 800981EC 0009514C 48 00 00 84 */ b lbl_80098270 lbl_800981F0: /* 800981F0 00095150 2C 00 00 03 */ cmpwi r0, 3 /* 800981F4 00095154 40 80 00 7C */ bge lbl_80098270 /* 800981F8 00095158 48 00 00 54 */ b lbl_8009824C lbl_800981FC: /* 800981FC 0009515C C0 1F 03 18 */ lfs f0, 0x318(r31) /* 80098200 00095160 EC 00 08 28 */ fsubs f0, f0, f1 /* 80098204 00095164 D0 1F 03 18 */ stfs f0, 0x318(r31) /* 80098208 00095168 C0 1F 03 1C */ lfs f0, 0x31c(r31) /* 8009820C 0009516C EC 00 08 28 */ fsubs f0, f0, f1 /* 80098210 00095170 D0 1F 03 1C */ stfs f0, 0x31c(r31) /* 80098214 00095174 C0 1F 03 20 */ lfs f0, 0x320(r31) /* 80098218 00095178 EC 00 08 28 */ fsubs f0, f0, f1 /* 8009821C 0009517C D0 1F 03 20 */ stfs f0, 0x320(r31) /* 80098220 00095180 48 00 00 50 */ b lbl_80098270 lbl_80098224: /* 80098224 00095184 C0 1F 03 18 */ lfs f0, 0x318(r31) /* 80098228 00095188 EC 00 08 2A */ fadds f0, f0, f1 /* 8009822C 0009518C D0 1F 03 18 */ stfs f0, 0x318(r31) /* 80098230 00095190 C0 1F 03 1C */ lfs f0, 0x31c(r31) /* 80098234 00095194 EC 00 08 28 */ fsubs f0, f0, f1 /* 80098238 00095198 D0 1F 03 1C */ stfs f0, 0x31c(r31) /* 8009823C 0009519C C0 1F 03 20 */ lfs f0, 0x320(r31) /* 80098240 000951A0 EC 00 08 28 */ fsubs f0, f0, f1 /* 80098244 000951A4 D0 1F 03 20 */ stfs f0, 0x320(r31) /* 80098248 000951A8 48 00 00 28 */ b lbl_80098270 lbl_8009824C: /* 8009824C 000951AC C0 1F 03 18 */ lfs f0, 0x318(r31) /* 80098250 000951B0 EC 00 08 2A */ fadds f0, f0, f1 /* 80098254 000951B4 D0 1F 03 18 */ stfs f0, 0x318(r31) /* 80098258 000951B8 C0 1F 03 1C */ lfs f0, 0x31c(r31) /* 8009825C 000951BC EC 00 08 2A */ fadds f0, f0, f1 /* 80098260 000951C0 D0 1F 03 1C */ stfs f0, 0x31c(r31) /* 80098264 000951C4 C0 1F 03 20 */ lfs f0, 0x320(r31) /* 80098268 000951C8 EC 00 08 2A */ fadds f0, f0, f1 /* 8009826C 000951CC D0 1F 03 20 */ stfs f0, 0x320(r31) lbl_80098270: /* 80098270 000951D0 C0 3F 03 18 */ lfs f1, 0x318(r31) /* 80098274 000951D4 C0 0D 85 E4 */ lfs f0, lbl_805A71A4@sda21(r13) /* 80098278 000951D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8009827C 000951DC 40 80 00 0C */ bge lbl_80098288 /* 80098280 000951E0 38 7F 03 18 */ addi r3, r31, 0x318 /* 80098284 000951E4 48 00 00 08 */ b lbl_8009828C lbl_80098288: /* 80098288 000951E8 38 6D 85 E4 */ addi r3, r13, lbl_805A71A4@sda21 lbl_8009828C: /* 8009828C 000951EC C0 2D 85 E8 */ lfs f1, lbl_805A71A8@sda21(r13) /* 80098290 000951F0 C0 03 00 00 */ lfs f0, 0(r3) /* 80098294 000951F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80098298 000951F8 40 80 00 08 */ bge lbl_800982A0 /* 8009829C 000951FC 48 00 00 08 */ b lbl_800982A4 lbl_800982A0: /* 800982A0 00095200 38 6D 85 E8 */ addi r3, r13, lbl_805A71A8@sda21 lbl_800982A4: /* 800982A4 00095204 C0 03 00 00 */ lfs f0, 0(r3) /* 800982A8 00095208 D0 1F 03 18 */ stfs f0, 0x318(r31) /* 800982AC 0009520C C0 3F 03 1C */ lfs f1, 0x31c(r31) /* 800982B0 00095210 C0 0D 85 EC */ lfs f0, lbl_805A71AC@sda21(r13) /* 800982B4 00095214 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800982B8 00095218 40 80 00 0C */ bge lbl_800982C4 /* 800982BC 0009521C 38 7F 03 1C */ addi r3, r31, 0x31c /* 800982C0 00095220 48 00 00 08 */ b lbl_800982C8 lbl_800982C4: /* 800982C4 00095224 38 6D 85 EC */ addi r3, r13, lbl_805A71AC@sda21 lbl_800982C8: /* 800982C8 00095228 C0 2D 85 F0 */ lfs f1, lbl_805A71B0@sda21(r13) /* 800982CC 0009522C C0 03 00 00 */ lfs f0, 0(r3) /* 800982D0 00095230 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800982D4 00095234 40 80 00 08 */ bge lbl_800982DC /* 800982D8 00095238 48 00 00 08 */ b lbl_800982E0 lbl_800982DC: /* 800982DC 0009523C 38 6D 85 F0 */ addi r3, r13, lbl_805A71B0@sda21 lbl_800982E0: /* 800982E0 00095240 C0 03 00 00 */ lfs f0, 0(r3) /* 800982E4 00095244 D0 1F 03 1C */ stfs f0, 0x31c(r31) /* 800982E8 00095248 C0 3F 03 20 */ lfs f1, 0x320(r31) /* 800982EC 0009524C C0 0D 85 F4 */ lfs f0, lbl_805A71B4@sda21(r13) /* 800982F0 00095250 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800982F4 00095254 40 80 00 0C */ bge lbl_80098300 /* 800982F8 00095258 38 7F 03 20 */ addi r3, r31, 0x320 /* 800982FC 0009525C 48 00 00 08 */ b lbl_80098304 lbl_80098300: /* 80098300 00095260 38 6D 85 F4 */ addi r3, r13, lbl_805A71B4@sda21 lbl_80098304: /* 80098304 00095264 C0 2D 85 F8 */ lfs f1, lbl_805A71B8@sda21(r13) /* 80098308 00095268 C0 03 00 00 */ lfs f0, 0(r3) /* 8009830C 0009526C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80098310 00095270 40 80 00 08 */ bge lbl_80098318 /* 80098314 00095274 48 00 00 08 */ b lbl_8009831C lbl_80098318: /* 80098318 00095278 38 6D 85 F8 */ addi r3, r13, lbl_805A71B8@sda21 lbl_8009831C: /* 8009831C 0009527C C0 03 00 00 */ lfs f0, 0(r3) /* 80098320 00095280 D0 1F 03 20 */ stfs f0, 0x320(r31) /* 80098324 00095284 83 DF 03 0C */ lwz r30, 0x30c(r31) /* 80098328 00095288 28 1E 00 00 */ cmplwi r30, 0 /* 8009832C 0009528C 41 82 00 64 */ beq lbl_80098390 /* 80098330 00095290 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 80098334 00095294 38 61 02 AC */ addi r3, r1, 0x2ac /* 80098338 00095298 C0 1F 03 18 */ lfs f0, 0x318(r31) /* 8009833C 0009529C 38 81 01 20 */ addi r4, r1, 0x120 /* 80098340 000952A0 C0 42 8B C0 */ lfs f2, lbl_805AA8E0@sda21(r2) /* 80098344 000952A4 EC 60 00 72 */ fmuls f3, f0, f1 /* 80098348 000952A8 D0 21 01 18 */ stfs f1, 0x118(r1) /* 8009834C 000952AC EC 00 00 B2 */ fmuls f0, f0, f2 /* 80098350 000952B0 D0 41 01 14 */ stfs f2, 0x114(r1) /* 80098354 000952B4 D0 21 01 1C */ stfs f1, 0x11c(r1) /* 80098358 000952B8 D0 01 01 20 */ stfs f0, 0x120(r1) /* 8009835C 000952BC D0 61 01 24 */ stfs f3, 0x124(r1) /* 80098360 000952C0 D0 61 01 28 */ stfs f3, 0x128(r1) /* 80098364 000952C4 48 27 AD DD */ bl Translate__12CTransform4fFRC9CVector3f /* 80098368 000952C8 38 61 02 DC */ addi r3, r1, 0x2dc /* 8009836C 000952CC 38 81 02 AC */ addi r4, r1, 0x2ac /* 80098370 000952D0 38 BE 00 74 */ addi r5, r30, 0x74 /* 80098374 000952D4 48 27 A5 DD */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80098378 000952D8 83 DF 03 0C */ lwz r30, 0x30c(r31) /* 8009837C 000952DC 38 81 02 DC */ addi r4, r1, 0x2dc /* 80098380 000952E0 38 7E 00 04 */ addi r3, r30, 4 /* 80098384 000952E4 48 27 A7 BD */ bl __as__12CTransform4fFRC12CTransform4f /* 80098388 000952E8 7F C3 F3 78 */ mr r3, r30 /* 8009838C 000952EC 48 22 C4 5D */ bl RecalculateTransforms__10CGuiObjectFv lbl_80098390: /* 80098390 000952F0 83 DF 03 10 */ lwz r30, 0x310(r31) /* 80098394 000952F4 28 1E 00 00 */ cmplwi r30, 0 /* 80098398 000952F8 41 82 00 64 */ beq lbl_800983FC /* 8009839C 000952FC C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 800983A0 00095300 38 61 02 4C */ addi r3, r1, 0x24c /* 800983A4 00095304 C0 5F 03 1C */ lfs f2, 0x31c(r31) /* 800983A8 00095308 38 81 01 08 */ addi r4, r1, 0x108 /* 800983AC 0009530C C0 02 8B C4 */ lfs f0, lbl_805AA8E4@sda21(r2) /* 800983B0 00095310 EC 62 00 72 */ fmuls f3, f2, f1 /* 800983B4 00095314 D0 21 00 FC */ stfs f1, 0xfc(r1) /* 800983B8 00095318 EC 42 00 32 */ fmuls f2, f2, f0 /* 800983BC 0009531C D0 21 01 00 */ stfs f1, 0x100(r1) /* 800983C0 00095320 D0 01 01 04 */ stfs f0, 0x104(r1) /* 800983C4 00095324 D0 61 01 08 */ stfs f3, 0x108(r1) /* 800983C8 00095328 D0 61 01 0C */ stfs f3, 0x10c(r1) /* 800983CC 0009532C D0 41 01 10 */ stfs f2, 0x110(r1) /* 800983D0 00095330 48 27 AD 71 */ bl Translate__12CTransform4fFRC9CVector3f /* 800983D4 00095334 38 61 02 7C */ addi r3, r1, 0x27c /* 800983D8 00095338 38 81 02 4C */ addi r4, r1, 0x24c /* 800983DC 0009533C 38 BE 00 74 */ addi r5, r30, 0x74 /* 800983E0 00095340 48 27 A5 71 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 800983E4 00095344 83 DF 03 10 */ lwz r30, 0x310(r31) /* 800983E8 00095348 38 81 02 7C */ addi r4, r1, 0x27c /* 800983EC 0009534C 38 7E 00 04 */ addi r3, r30, 4 /* 800983F0 00095350 48 27 A7 51 */ bl __as__12CTransform4fFRC12CTransform4f /* 800983F4 00095354 7F C3 F3 78 */ mr r3, r30 /* 800983F8 00095358 48 22 C3 F1 */ bl RecalculateTransforms__10CGuiObjectFv lbl_800983FC: /* 800983FC 0009535C 83 DF 03 14 */ lwz r30, 0x314(r31) /* 80098400 00095360 28 1E 00 00 */ cmplwi r30, 0 /* 80098404 00095364 41 82 00 64 */ beq lbl_80098468 /* 80098408 00095368 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 8009840C 0009536C 38 61 01 EC */ addi r3, r1, 0x1ec /* 80098410 00095370 C0 5F 03 20 */ lfs f2, 0x320(r31) /* 80098414 00095374 38 81 00 F0 */ addi r4, r1, 0xf0 /* 80098418 00095378 C0 02 8B C8 */ lfs f0, lbl_805AA8E8@sda21(r2) /* 8009841C 0009537C EC 62 00 72 */ fmuls f3, f2, f1 /* 80098420 00095380 D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 80098424 00095384 EC 42 00 32 */ fmuls f2, f2, f0 /* 80098428 00095388 D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 8009842C 0009538C D0 01 00 EC */ stfs f0, 0xec(r1) /* 80098430 00095390 D0 61 00 F0 */ stfs f3, 0xf0(r1) /* 80098434 00095394 D0 61 00 F4 */ stfs f3, 0xf4(r1) /* 80098438 00095398 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 8009843C 0009539C 48 27 AD 05 */ bl Translate__12CTransform4fFRC9CVector3f /* 80098440 000953A0 38 61 02 1C */ addi r3, r1, 0x21c /* 80098444 000953A4 38 81 01 EC */ addi r4, r1, 0x1ec /* 80098448 000953A8 38 BE 00 74 */ addi r5, r30, 0x74 /* 8009844C 000953AC 48 27 A5 05 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80098450 000953B0 83 DF 03 14 */ lwz r30, 0x314(r31) /* 80098454 000953B4 38 81 02 1C */ addi r4, r1, 0x21c /* 80098458 000953B8 38 7E 00 04 */ addi r3, r30, 4 /* 8009845C 000953BC 48 27 A6 E5 */ bl __as__12CTransform4fFRC12CTransform4f /* 80098460 000953C0 7F C3 F3 78 */ mr r3, r30 /* 80098464 000953C4 48 22 C3 85 */ bl RecalculateTransforms__10CGuiObjectFv lbl_80098468: /* 80098468 000953C8 7F E3 FB 78 */ mr r3, r31 /* 8009846C 000953CC 38 80 00 00 */ li r4, 0 /* 80098470 000953D0 4B FF D8 B5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 80098474 000953D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098478 000953D8 41 82 02 E4 */ beq lbl_8009875C /* 8009847C 000953DC 7F A4 EB 78 */ mr r4, r29 /* 80098480 000953E0 38 61 00 D4 */ addi r3, r1, 0xd4 /* 80098484 000953E4 4B FF E5 6D */ bl GetMiniMapCameraOrientation__11CAutoMapperFRC13CStateManager /* 80098488 000953E8 C0 01 00 D4 */ lfs f0, 0xd4(r1) /* 8009848C 000953EC 7F E3 FB 78 */ mr r3, r31 /* 80098490 000953F0 7F A4 EB 78 */ mr r4, r29 /* 80098494 000953F4 D0 1F 00 B0 */ stfs f0, 0xb0(r31) /* 80098498 000953F8 80 A1 00 D8 */ lwz r5, 0xd8(r1) /* 8009849C 000953FC 80 01 00 DC */ lwz r0, 0xdc(r1) /* 800984A0 00095400 90 BF 00 B4 */ stw r5, 0xb4(r31) /* 800984A4 00095404 90 1F 00 B8 */ stw r0, 0xb8(r31) /* 800984A8 00095408 80 01 00 E0 */ lwz r0, 0xe0(r1) /* 800984AC 0009540C 90 1F 00 BC */ stw r0, 0xbc(r31) /* 800984B0 00095410 C3 DF 00 C0 */ lfs f30, 0xc0(r31) /* 800984B4 00095414 4B FF D8 F1 */ bl GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager /* 800984B8 00095418 EC 5E 08 28 */ fsubs f2, f30, f1 /* 800984BC 0009541C C0 02 8B CC */ lfs f0, lbl_805AA8EC@sda21(r2) /* 800984C0 00095420 FC 40 12 10 */ fabs f2, f2 /* 800984C4 00095424 FC 40 10 18 */ frsp f2, f2 /* 800984C8 00095428 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 800984CC 0009542C 40 80 00 0C */ bge lbl_800984D8 /* 800984D0 00095430 D0 3F 00 C0 */ stfs f1, 0xc0(r31) /* 800984D4 00095434 48 00 00 20 */ b lbl_800984F4 lbl_800984D8: /* 800984D8 00095438 FC 1E 08 40 */ fcmpo cr0, f30, f1 /* 800984DC 0009543C 40 80 00 10 */ bge lbl_800984EC /* 800984E0 00095440 EC 00 F0 2A */ fadds f0, f0, f30 /* 800984E4 00095444 D0 1F 00 C0 */ stfs f0, 0xc0(r31) /* 800984E8 00095448 48 00 00 0C */ b lbl_800984F4 lbl_800984EC: /* 800984EC 0009544C EC 1E 00 28 */ fsubs f0, f30, f0 /* 800984F0 00095450 D0 1F 00 C0 */ stfs f0, 0xc0(r31) lbl_800984F4: /* 800984F4 00095454 80 9F 00 24 */ lwz r4, 0x24(r31) /* 800984F8 00095458 38 61 00 48 */ addi r3, r1, 0x48 /* 800984FC 0009545C 81 84 00 00 */ lwz r12, 0(r4) /* 80098500 00095460 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80098504 00095464 7D 89 03 A6 */ mtctr r12 /* 80098508 00095468 4E 80 04 21 */ bctrl /* 8009850C 0009546C 80 01 00 48 */ lwz r0, 0x48(r1) /* 80098510 00095470 80 7F 00 A0 */ lwz r3, 0xa0(r31) /* 80098514 00095474 7C 00 18 00 */ cmpw r0, r3 /* 80098518 00095478 41 82 02 10 */ beq lbl_80098728 /* 8009851C 0009547C 80 FF 00 A8 */ lwz r7, 0xa8(r31) /* 80098520 00095480 7F E4 FB 78 */ mr r4, r31 /* 80098524 00095484 80 DF 00 AC */ lwz r6, 0xac(r31) /* 80098528 00095488 7F A5 EB 78 */ mr r5, r29 /* 8009852C 0009548C 38 61 00 C8 */ addi r3, r1, 0xc8 /* 80098530 00095490 90 FF 01 60 */ stw r7, 0x160(r31) /* 80098534 00095494 90 DF 01 64 */ stw r6, 0x164(r31) /* 80098538 00095498 80 FF 00 B0 */ lwz r7, 0xb0(r31) /* 8009853C 0009549C 80 DF 00 B4 */ lwz r6, 0xb4(r31) /* 80098540 000954A0 90 FF 01 68 */ stw r7, 0x168(r31) /* 80098544 000954A4 90 DF 01 6C */ stw r6, 0x16c(r31) /* 80098548 000954A8 80 FF 00 B8 */ lwz r7, 0xb8(r31) /* 8009854C 000954AC 80 DF 00 BC */ lwz r6, 0xbc(r31) /* 80098550 000954B0 90 FF 01 70 */ stw r7, 0x170(r31) /* 80098554 000954B4 90 DF 01 74 */ stw r6, 0x174(r31) /* 80098558 000954B8 C0 1F 00 C0 */ lfs f0, 0xc0(r31) /* 8009855C 000954BC D0 1F 01 78 */ stfs f0, 0x178(r31) /* 80098560 000954C0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) /* 80098564 000954C4 D0 1F 01 7C */ stfs f0, 0x17c(r31) /* 80098568 000954C8 80 FF 00 C8 */ lwz r7, 0xc8(r31) /* 8009856C 000954CC 80 DF 00 CC */ lwz r6, 0xcc(r31) /* 80098570 000954D0 90 FF 01 80 */ stw r7, 0x180(r31) /* 80098574 000954D4 90 DF 01 84 */ stw r6, 0x184(r31) /* 80098578 000954D8 80 DF 00 D0 */ lwz r6, 0xd0(r31) /* 8009857C 000954DC 90 DF 01 88 */ stw r6, 0x188(r31) /* 80098580 000954E0 C0 1F 00 D4 */ lfs f0, 0xd4(r31) /* 80098584 000954E4 D0 1F 01 8C */ stfs f0, 0x18c(r31) /* 80098588 000954E8 C0 1F 00 D8 */ lfs f0, 0xd8(r31) /* 8009858C 000954EC D0 1F 01 90 */ stfs f0, 0x190(r31) /* 80098590 000954F0 C0 1F 00 DC */ lfs f0, 0xdc(r31) /* 80098594 000954F4 D0 1F 01 94 */ stfs f0, 0x194(r31) /* 80098598 000954F8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) /* 8009859C 000954FC D0 1F 01 98 */ stfs f0, 0x198(r31) /* 800985A0 00095500 C0 1F 00 E4 */ lfs f0, 0xe4(r31) /* 800985A4 00095504 D0 1F 01 9C */ stfs f0, 0x19c(r31) /* 800985A8 00095508 C0 1F 00 E8 */ lfs f0, 0xe8(r31) /* 800985AC 0009550C D0 1F 01 A0 */ stfs f0, 0x1a0(r31) /* 800985B0 00095510 80 DF 00 EC */ lwz r6, 0xec(r31) /* 800985B4 00095514 90 DF 01 A4 */ stw r6, 0x1a4(r31) /* 800985B8 00095518 80 DF 00 F0 */ lwz r6, 0xf0(r31) /* 800985BC 0009551C 90 DF 01 A8 */ stw r6, 0x1a8(r31) /* 800985C0 00095520 80 DF 00 F4 */ lwz r6, 0xf4(r31) /* 800985C4 00095524 90 DF 01 AC */ stw r6, 0x1ac(r31) /* 800985C8 00095528 80 DF 00 F8 */ lwz r6, 0xf8(r31) /* 800985CC 0009552C 90 DF 01 B0 */ stw r6, 0x1b0(r31) /* 800985D0 00095530 80 DF 00 FC */ lwz r6, 0xfc(r31) /* 800985D4 00095534 90 DF 01 B4 */ stw r6, 0x1b4(r31) /* 800985D8 00095538 80 DF 01 00 */ lwz r6, 0x100(r31) /* 800985DC 0009553C 90 DF 01 B8 */ stw r6, 0x1b8(r31) /* 800985E0 00095540 80 FF 00 A8 */ lwz r7, 0xa8(r31) /* 800985E4 00095544 80 DF 00 AC */ lwz r6, 0xac(r31) /* 800985E8 00095548 90 FF 01 04 */ stw r7, 0x104(r31) /* 800985EC 0009554C 90 DF 01 08 */ stw r6, 0x108(r31) /* 800985F0 00095550 80 FF 00 B0 */ lwz r7, 0xb0(r31) /* 800985F4 00095554 80 DF 00 B4 */ lwz r6, 0xb4(r31) /* 800985F8 00095558 90 FF 01 0C */ stw r7, 0x10c(r31) /* 800985FC 0009555C 90 DF 01 10 */ stw r6, 0x110(r31) /* 80098600 00095560 80 FF 00 B8 */ lwz r7, 0xb8(r31) /* 80098604 00095564 80 DF 00 BC */ lwz r6, 0xbc(r31) /* 80098608 00095568 90 FF 01 14 */ stw r7, 0x114(r31) /* 8009860C 0009556C 90 DF 01 18 */ stw r6, 0x118(r31) /* 80098610 00095570 C0 1F 00 C0 */ lfs f0, 0xc0(r31) /* 80098614 00095574 D0 1F 01 1C */ stfs f0, 0x11c(r31) /* 80098618 00095578 C0 1F 00 C4 */ lfs f0, 0xc4(r31) /* 8009861C 0009557C D0 1F 01 20 */ stfs f0, 0x120(r31) /* 80098620 00095580 80 FF 00 C8 */ lwz r7, 0xc8(r31) /* 80098624 00095584 80 DF 00 CC */ lwz r6, 0xcc(r31) /* 80098628 00095588 90 FF 01 24 */ stw r7, 0x124(r31) /* 8009862C 0009558C 90 DF 01 28 */ stw r6, 0x128(r31) /* 80098630 00095590 80 DF 00 D0 */ lwz r6, 0xd0(r31) /* 80098634 00095594 90 DF 01 2C */ stw r6, 0x12c(r31) /* 80098638 00095598 C0 1F 00 D4 */ lfs f0, 0xd4(r31) /* 8009863C 0009559C D0 1F 01 30 */ stfs f0, 0x130(r31) /* 80098640 000955A0 C0 1F 00 D8 */ lfs f0, 0xd8(r31) /* 80098644 000955A4 D0 1F 01 34 */ stfs f0, 0x134(r31) /* 80098648 000955A8 C0 1F 00 DC */ lfs f0, 0xdc(r31) /* 8009864C 000955AC D0 1F 01 38 */ stfs f0, 0x138(r31) /* 80098650 000955B0 C0 1F 00 E0 */ lfs f0, 0xe0(r31) /* 80098654 000955B4 D0 1F 01 3C */ stfs f0, 0x13c(r31) /* 80098658 000955B8 C0 1F 00 E4 */ lfs f0, 0xe4(r31) /* 8009865C 000955BC D0 1F 01 40 */ stfs f0, 0x140(r31) /* 80098660 000955C0 C0 1F 00 E8 */ lfs f0, 0xe8(r31) /* 80098664 000955C4 D0 1F 01 44 */ stfs f0, 0x144(r31) /* 80098668 000955C8 80 DF 00 EC */ lwz r6, 0xec(r31) /* 8009866C 000955CC 90 DF 01 48 */ stw r6, 0x148(r31) /* 80098670 000955D0 80 DF 00 F0 */ lwz r6, 0xf0(r31) /* 80098674 000955D4 90 DF 01 4C */ stw r6, 0x14c(r31) /* 80098678 000955D8 80 DF 00 F4 */ lwz r6, 0xf4(r31) /* 8009867C 000955DC 90 DF 01 50 */ stw r6, 0x150(r31) /* 80098680 000955E0 80 DF 00 F8 */ lwz r6, 0xf8(r31) /* 80098684 000955E4 90 DF 01 54 */ stw r6, 0x154(r31) /* 80098688 000955E8 80 DF 00 FC */ lwz r6, 0xfc(r31) /* 8009868C 000955EC 90 DF 01 58 */ stw r6, 0x158(r31) /* 80098690 000955F0 80 DF 01 00 */ lwz r6, 0x100(r31) /* 80098694 000955F4 90 DF 01 5C */ stw r6, 0x15c(r31) /* 80098698 000955F8 80 DF 00 A0 */ lwz r6, 0xa0(r31) /* 8009869C 000955FC 90 DF 00 A4 */ stw r6, 0xa4(r31) /* 800986A0 00095600 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 800986A4 00095604 80 DF 00 A0 */ lwz r6, 0xa0(r31) /* 800986A8 00095608 4B FF E2 B1 */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri /* 800986AC 0009560C C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 800986B0 00095610 38 80 00 00 */ li r4, 0 /* 800986B4 00095614 38 60 00 04 */ li r3, 4 /* 800986B8 00095618 38 00 00 01 */ li r0, 1 /* 800986BC 0009561C D0 1F 01 24 */ stfs f0, 0x124(r31) /* 800986C0 00095620 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 800986C4 00095624 D0 1F 01 28 */ stfs f0, 0x128(r31) /* 800986C8 00095628 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 800986CC 0009562C D0 1F 01 2C */ stfs f0, 0x12c(r31) /* 800986D0 00095630 90 9F 01 48 */ stw r4, 0x148(r31) /* 800986D4 00095634 90 9F 01 4C */ stw r4, 0x14c(r31) /* 800986D8 00095638 90 7F 01 50 */ stw r3, 0x150(r31) /* 800986DC 0009563C 90 1F 01 54 */ stw r0, 0x154(r31) /* 800986E0 00095640 90 1F 01 58 */ stw r0, 0x158(r31) /* 800986E4 00095644 90 9F 01 5C */ stw r4, 0x15c(r31) /* 800986E8 00095648 4B FF DB CD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 800986EC 0009564C D0 3F 01 30 */ stfs f1, 0x130(r31) /* 800986F0 00095650 4B FF DB C5 */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 800986F4 00095654 D0 3F 01 34 */ stfs f1, 0x134(r31) /* 800986F8 00095658 4B FF DB BD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 800986FC 0009565C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80098700 00095660 EC 01 00 28 */ fsubs f0, f1, f0 /* 80098704 00095664 D0 1F 01 8C */ stfs f0, 0x18c(r31) /* 80098708 00095668 4B FF DB AD */ bl GetMapAreaMiniMapDrawDepth__11CAutoMapperFv /* 8009870C 0009566C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80098710 00095670 7F E3 FB 78 */ mr r3, r31 /* 80098714 00095674 EC 01 00 28 */ fsubs f0, f1, f0 /* 80098718 00095678 D0 1F 01 90 */ stfs f0, 0x190(r31) /* 8009871C 0009567C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80098720 00095680 C0 24 00 6C */ lfs f1, 0x6c(r4) /* 80098724 00095684 4B FF EA 55 */ bl ResetInterpolationTimer__11CAutoMapperFf lbl_80098728: /* 80098728 00095688 7F A3 EB 78 */ mr r3, r29 /* 8009872C 0009568C 4B FF DA ED */ bl GetMapAreaMiniMapDrawAlphaSurfaceVisited__11CAutoMapperFRC13CStateManager /* 80098730 00095690 D0 3F 00 DC */ stfs f1, 0xdc(r31) /* 80098734 00095694 7F A3 EB 78 */ mr r3, r29 /* 80098738 00095698 4B FF DA B5 */ bl GetMapAreaMiniMapDrawAlphaOutlineVisited__11CAutoMapperFRC13CStateManager /* 8009873C 0009569C D0 3F 00 E0 */ stfs f1, 0xe0(r31) /* 80098740 000956A0 7F A3 EB 78 */ mr r3, r29 /* 80098744 000956A4 4B FF DA 7D */ bl GetMapAreaMiniMapDrawAlphaSurfaceUnvisited__11CAutoMapperFRC13CStateManager /* 80098748 000956A8 D0 3F 00 E4 */ stfs f1, 0xe4(r31) /* 8009874C 000956AC 7F A3 EB 78 */ mr r3, r29 /* 80098750 000956B0 4B FF DA 45 */ bl GetMapAreaMiniMapDrawAlphaOutlineUnvisited__11CAutoMapperFRC13CStateManager /* 80098754 000956B4 D0 3F 00 E8 */ stfs f1, 0xe8(r31) /* 80098758 000956B8 48 00 00 F4 */ b lbl_8009884C lbl_8009875C: /* 8009875C 000956BC 80 9F 01 C0 */ lwz r4, 0x1c0(r31) /* 80098760 000956C0 2C 04 00 00 */ cmpwi r4, 0 /* 80098764 000956C4 40 82 00 54 */ bne lbl_800987B8 /* 80098768 000956C8 C3 DF 01 1C */ lfs f30, 0x11c(r31) /* 8009876C 000956CC 7F E3 FB 78 */ mr r3, r31 /* 80098770 000956D0 7F A4 EB 78 */ mr r4, r29 /* 80098774 000956D4 4B FF D6 31 */ bl GetDesiredMiniMapCameraDistance__11CAutoMapperCFRC13CStateManager /* 80098778 000956D8 EC 5E 08 28 */ fsubs f2, f30, f1 /* 8009877C 000956DC C0 02 8B CC */ lfs f0, lbl_805AA8EC@sda21(r2) /* 80098780 000956E0 FC 40 12 10 */ fabs f2, f2 /* 80098784 000956E4 FC 40 10 18 */ frsp f2, f2 /* 80098788 000956E8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8009878C 000956EC 40 80 00 0C */ bge lbl_80098798 /* 80098790 000956F0 D0 3F 00 C0 */ stfs f1, 0xc0(r31) /* 80098794 000956F4 48 00 00 B8 */ b lbl_8009884C lbl_80098798: /* 80098798 000956F8 FC 1E 08 40 */ fcmpo cr0, f30, f1 /* 8009879C 000956FC 40 80 00 10 */ bge lbl_800987AC /* 800987A0 00095700 EC 00 F0 2A */ fadds f0, f0, f30 /* 800987A4 00095704 D0 1F 01 1C */ stfs f0, 0x11c(r31) /* 800987A8 00095708 48 00 00 A4 */ b lbl_8009884C lbl_800987AC: /* 800987AC 0009570C EC 1E 00 28 */ fsubs f0, f30, f0 /* 800987B0 00095710 D0 1F 01 1C */ stfs f0, 0x11c(r31) /* 800987B4 00095714 48 00 00 98 */ b lbl_8009884C lbl_800987B8: /* 800987B8 00095718 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 800987BC 0009571C 38 60 00 00 */ li r3, 0 /* 800987C0 00095720 2C 00 00 00 */ cmpwi r0, 0 /* 800987C4 00095724 41 82 00 10 */ beq lbl_800987D4 /* 800987C8 00095728 2C 04 00 00 */ cmpwi r4, 0 /* 800987CC 0009572C 41 82 00 08 */ beq lbl_800987D4 /* 800987D0 00095730 38 60 00 01 */ li r3, 1 lbl_800987D4: /* 800987D4 00095734 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800987D8 00095738 41 82 00 74 */ beq lbl_8009884C /* 800987DC 0009573C 80 7F 00 24 */ lwz r3, 0x24(r31) /* 800987E0 00095740 28 03 00 00 */ cmplwi r3, 0 /* 800987E4 00095744 41 82 00 68 */ beq lbl_8009884C /* 800987E8 00095748 81 83 00 00 */ lwz r12, 0(r3) /* 800987EC 0009574C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 800987F0 00095750 7D 89 03 A6 */ mtctr r12 /* 800987F4 00095754 4E 80 04 21 */ bctrl /* 800987F8 00095758 7C 60 1B 78 */ mr r0, r3 /* 800987FC 0009575C 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80098800 00095760 7C 1C 03 78 */ mr r28, r0 /* 80098804 00095764 81 83 00 00 */ lwz r12, 0(r3) /* 80098808 00095768 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009880C 0009576C 7D 89 03 A6 */ mtctr r12 /* 80098810 00095770 4E 80 04 21 */ bctrl /* 80098814 00095774 7C 64 1B 78 */ mr r4, r3 /* 80098818 00095778 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009881C 0009577C 48 13 B1 BD */ bl StateForWorld__10CGameStateFUi /* 80098820 00095780 7C 64 1B 78 */ mr r4, r3 /* 80098824 00095784 38 61 00 44 */ addi r3, r1, 0x44 /* 80098828 00095788 48 13 C5 3D */ bl GetMapWorldInfo__11CWorldStateCFv /* 8009882C 0009578C 80 81 00 44 */ lwz r4, 0x44(r1) /* 80098830 00095790 38 61 00 44 */ addi r3, r1, 0x44 /* 80098834 00095794 83 C4 00 00 */ lwz r30, 0(r4) /* 80098838 00095798 4B F7 04 05 */ bl sub_80008c3c /* 8009883C 0009579C 80 BF 00 24 */ lwz r5, 0x24(r31) /* 80098840 000957A0 7F 83 E3 78 */ mr r3, r28 /* 80098844 000957A4 7F C4 F3 78 */ mr r4, r30 /* 80098848 000957A8 48 00 70 15 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld lbl_8009884C: /* 8009884C 000957AC 7F E3 FB 78 */ mr r3, r31 /* 80098850 000957B0 4B FF D4 A1 */ bl IsRenderStateInterpolating__11CAutoMapperCFv /* 80098854 000957B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098858 000957B8 41 82 00 78 */ beq lbl_800988D0 /* 8009885C 000957BC C0 1F 01 C8 */ lfs f0, 0x1c8(r31) /* 80098860 000957C0 EC 20 F8 2A */ fadds f1, f0, f31 /* 80098864 000957C4 D0 21 00 40 */ stfs f1, 0x40(r1) /* 80098868 000957C8 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) /* 8009886C 000957CC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80098870 000957D0 40 80 00 0C */ bge lbl_8009887C /* 80098874 000957D4 38 61 00 40 */ addi r3, r1, 0x40 /* 80098878 000957D8 48 00 00 08 */ b lbl_80098880 lbl_8009887C: /* 8009887C 000957DC 38 7F 01 C4 */ addi r3, r31, 0x1c4 lbl_80098880: /* 80098880 000957E0 C0 03 00 00 */ lfs f0, 0(r3) /* 80098884 000957E4 38 7F 01 60 */ addi r3, r31, 0x160 /* 80098888 000957E8 38 9F 00 A8 */ addi r4, r31, 0xa8 /* 8009888C 000957EC 38 BF 01 04 */ addi r5, r31, 0x104 /* 80098890 000957F0 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) /* 80098894 000957F4 C0 3F 01 C8 */ lfs f1, 0x1c8(r31) /* 80098898 000957F8 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) /* 8009889C 000957FC EC 21 00 24 */ fdivs f1, f1, f0 /* 800988A0 00095800 48 00 53 9D */ bl InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef /* 800988A4 00095804 C0 3F 01 C8 */ lfs f1, 0x1c8(r31) /* 800988A8 00095808 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) /* 800988AC 0009580C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800988B0 00095810 40 82 00 3C */ bne lbl_800988EC /* 800988B4 00095814 80 1F 03 28 */ lwz r0, 0x328(r31) /* 800988B8 00095818 2C 00 00 02 */ cmpwi r0, 2 /* 800988BC 0009581C 40 82 00 30 */ bne lbl_800988EC /* 800988C0 00095820 7F E3 FB 78 */ mr r3, r31 /* 800988C4 00095824 7F A4 EB 78 */ mr r4, r29 /* 800988C8 00095828 4B FF CD C9 */ bl SetupMiniMapWorld__11CAutoMapperFv /* 800988CC 0009582C 48 00 00 20 */ b lbl_800988EC lbl_800988D0: /* 800988D0 00095830 7F E3 FB 78 */ mr r3, r31 /* 800988D4 00095834 4B FF D4 35 */ bl IsInMapperStateTransition__11CAutoMapperCFv /* 800988D8 00095838 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800988DC 0009583C 41 82 00 10 */ beq lbl_800988EC /* 800988E0 00095840 7F E3 FB 78 */ mr r3, r31 /* 800988E4 00095844 7F A4 EB 78 */ mr r4, r29 /* 800988E8 00095848 4B FF E8 A1 */ bl CompleteMapperStateTransition__11CAutoMapperFv lbl_800988EC: /* 800988EC 0009584C 83 9F 00 88 */ lwz r28, 0x88(r31) /* 800988F0 00095850 7F E3 FB 78 */ mr r3, r31 /* 800988F4 00095854 38 80 00 02 */ li r4, 2 /* 800988F8 00095858 4B FF D4 2D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 800988FC 0009585C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098900 00095860 41 82 00 7C */ beq lbl_8009897C /* 80098904 00095864 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 80098908 00095868 80 9F 00 20 */ lwz r4, 0x20(r31) /* 8009890C 0009586C 54 03 18 38 */ slwi r3, r0, 3 /* 80098910 00095870 38 03 00 04 */ addi r0, r3, 4 /* 80098914 00095874 7F A4 00 2E */ lwzx r29, r4, r0 /* 80098918 00095878 28 1D 00 00 */ cmplwi r29, 0 /* 8009891C 0009587C 41 82 00 3C */ beq lbl_80098958 /* 80098920 00095880 7F A3 EB 78 */ mr r3, r29 /* 80098924 00095884 81 9D 00 00 */ lwz r12, 0(r29) /* 80098928 00095888 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8009892C 0009588C 7D 89 03 A6 */ mtctr r12 /* 80098930 00095890 4E 80 04 21 */ bctrl /* 80098934 00095894 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098938 00095898 41 82 00 20 */ beq lbl_80098958 /* 8009893C 0009589C 7F A3 EB 78 */ mr r3, r29 /* 80098940 000958A0 81 9D 00 00 */ lwz r12, 0(r29) /* 80098944 000958A4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80098948 000958A8 7D 89 03 A6 */ mtctr r12 /* 8009894C 000958AC 4E 80 04 21 */ bctrl /* 80098950 000958B0 7C 7C 1B 78 */ mr r28, r3 /* 80098954 000958B4 48 00 01 0C */ b lbl_80098A60 lbl_80098958: /* 80098958 000958B8 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8009895C 000958BC 28 03 00 00 */ cmplwi r3, 0 /* 80098960 000958C0 41 82 01 00 */ beq lbl_80098A60 /* 80098964 000958C4 81 83 00 00 */ lwz r12, 0(r3) /* 80098968 000958C8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8009896C 000958CC 7D 89 03 A6 */ mtctr r12 /* 80098970 000958D0 4E 80 04 21 */ bctrl /* 80098974 000958D4 7C 7C 1B 78 */ mr r28, r3 /* 80098978 000958D8 48 00 00 E8 */ b lbl_80098A60 lbl_8009897C: /* 8009897C 000958DC 80 1F 00 24 */ lwz r0, 0x24(r31) /* 80098980 000958E0 28 00 00 00 */ cmplwi r0, 0 /* 80098984 000958E4 41 82 00 DC */ beq lbl_80098A60 /* 80098988 000958E8 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 8009898C 000958EC 38 81 00 3C */ addi r4, r1, 0x3c /* 80098990 000958F0 90 01 00 3C */ stw r0, 0x3c(r1) /* 80098994 000958F4 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80098998 000958F8 90 01 00 38 */ stw r0, 0x38(r1) /* 8009899C 000958FC 81 83 00 00 */ lwz r12, 0(r3) /* 800989A0 00095900 81 8C 00 20 */ lwz r12, 0x20(r12) /* 800989A4 00095904 7D 89 03 A6 */ mtctr r12 /* 800989A8 00095908 4E 80 04 21 */ bctrl /* 800989AC 0009590C 7C 60 1B 78 */ mr r0, r3 /* 800989B0 00095910 80 7F 00 24 */ lwz r3, 0x24(r31) /* 800989B4 00095914 7C 1C 03 78 */ mr r28, r0 /* 800989B8 00095918 81 83 00 00 */ lwz r12, 0(r3) /* 800989BC 0009591C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800989C0 00095920 7D 89 03 A6 */ mtctr r12 /* 800989C4 00095924 4E 80 04 21 */ bctrl /* 800989C8 00095928 7C 64 1B 78 */ mr r4, r3 /* 800989CC 0009592C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800989D0 00095930 48 13 B0 09 */ bl StateForWorld__10CGameStateFUi /* 800989D4 00095934 7C 64 1B 78 */ mr r4, r3 /* 800989D8 00095938 38 61 00 34 */ addi r3, r1, 0x34 /* 800989DC 0009593C 48 13 C3 89 */ bl GetMapWorldInfo__11CWorldStateCFv /* 800989E0 00095940 80 81 00 34 */ lwz r4, 0x34(r1) /* 800989E4 00095944 38 61 00 34 */ addi r3, r1, 0x34 /* 800989E8 00095948 83 A4 00 00 */ lwz r29, 0(r4) /* 800989EC 0009594C 4B F7 02 51 */ bl sub_80008c3c /* 800989F0 00095950 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 800989F4 00095954 7F A3 EB 78 */ mr r3, r29 /* 800989F8 00095958 38 81 00 30 */ addi r4, r1, 0x30 /* 800989FC 0009595C 3B C0 00 01 */ li r30, 1 /* 80098A00 00095960 90 01 00 2C */ stw r0, 0x2c(r1) /* 80098A04 00095964 90 01 00 30 */ stw r0, 0x30(r1) /* 80098A08 00095968 48 0C F9 1D */ bl IsMapped__13CMapWorldInfoCF7TAreaId /* 80098A0C 0009596C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098A10 00095970 40 82 00 28 */ bne lbl_80098A38 /* 80098A14 00095974 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 80098A18 00095978 7F A3 EB 78 */ mr r3, r29 /* 80098A1C 0009597C 38 81 00 28 */ addi r4, r1, 0x28 /* 80098A20 00095980 90 01 00 24 */ stw r0, 0x24(r1) /* 80098A24 00095984 90 01 00 28 */ stw r0, 0x28(r1) /* 80098A28 00095988 48 0C F3 59 */ bl IsAreaVisited__13CMapWorldInfoCF7TAreaId /* 80098A2C 0009598C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098A30 00095990 40 82 00 08 */ bne lbl_80098A38 /* 80098A34 00095994 3B C0 00 00 */ li r30, 0 lbl_80098A38: /* 80098A38 00095998 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 80098A3C 0009599C 41 82 00 1C */ beq lbl_80098A58 /* 80098A40 000959A0 7F 83 E3 78 */ mr r3, r28 /* 80098A44 000959A4 81 9C 00 00 */ lwz r12, 0(r28) /* 80098A48 000959A8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80098A4C 000959AC 7D 89 03 A6 */ mtctr r12 /* 80098A50 000959B0 4E 80 04 21 */ bctrl /* 80098A54 000959B4 48 00 00 08 */ b lbl_80098A5C lbl_80098A58: /* 80098A58 000959B8 38 60 FF FF */ li r3, -1 lbl_80098A5C: /* 80098A5C 000959BC 7C 7C 1B 78 */ mr r28, r3 lbl_80098A60: /* 80098A60 000959C0 80 1F 00 88 */ lwz r0, 0x88(r31) /* 80098A64 000959C4 7C 1C 00 40 */ cmplw r28, r0 /* 80098A68 000959C8 41 82 01 84 */ beq lbl_80098BEC /* 80098A6C 000959CC 93 9F 00 88 */ stw r28, 0x88(r31) /* 80098A70 000959D0 80 9F 00 88 */ lwz r4, 0x88(r31) /* 80098A74 000959D4 3C 04 00 01 */ addis r0, r4, 1 /* 80098A78 000959D8 28 00 FF FF */ cmplwi r0, 0xffff /* 80098A7C 000959DC 41 82 00 B4 */ beq lbl_80098B30 /* 80098A80 000959E0 3C 60 53 54 */ lis r3, 0x53545247@ha /* 80098A84 000959E4 90 81 00 6C */ stw r4, 0x6c(r1) /* 80098A88 000959E8 38 03 52 47 */ addi r0, r3, 0x53545247@l /* 80098A8C 000959EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80098A90 000959F0 90 01 00 68 */ stw r0, 0x68(r1) /* 80098A94 000959F4 38 61 00 60 */ addi r3, r1, 0x60 /* 80098A98 000959F8 38 A1 00 68 */ addi r5, r1, 0x68 /* 80098A9C 000959FC 81 84 00 00 */ lwz r12, 0(r4) /* 80098AA0 00095A00 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80098AA4 00095A04 7D 89 03 A6 */ mtctr r12 /* 80098AA8 00095A08 4E 80 04 21 */ bctrl /* 80098AAC 00095A0C 38 61 00 BC */ addi r3, r1, 0xbc /* 80098AB0 00095A10 38 81 00 60 */ addi r4, r1, 0x60 /* 80098AB4 00095A14 48 2A 83 F5 */ bl __ct__6CTokenFRC6CToken /* 80098AB8 00095A18 38 00 00 00 */ li r0, 0 /* 80098ABC 00095A1C 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80098AC0 00095A20 88 1F 00 98 */ lbz r0, 0x98(r31) /* 80098AC4 00095A24 28 00 00 00 */ cmplwi r0, 0 /* 80098AC8 00095A28 40 82 00 2C */ bne lbl_80098AF4 /* 80098ACC 00095A2C 37 BF 00 8C */ addic. r29, r31, 0x8c /* 80098AD0 00095A30 41 82 00 18 */ beq lbl_80098AE8 /* 80098AD4 00095A34 7F A3 EB 78 */ mr r3, r29 /* 80098AD8 00095A38 38 81 00 BC */ addi r4, r1, 0xbc /* 80098ADC 00095A3C 48 2A 83 CD */ bl __ct__6CTokenFRC6CToken /* 80098AE0 00095A40 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80098AE4 00095A44 90 1D 00 08 */ stw r0, 8(r29) lbl_80098AE8: /* 80098AE8 00095A48 38 00 00 01 */ li r0, 1 /* 80098AEC 00095A4C 98 1F 00 98 */ stb r0, 0x98(r31) /* 80098AF0 00095A50 48 00 00 1C */ b lbl_80098B0C lbl_80098AF4: /* 80098AF4 00095A54 3B BF 00 8C */ addi r29, r31, 0x8c /* 80098AF8 00095A58 38 81 00 BC */ addi r4, r1, 0xbc /* 80098AFC 00095A5C 7F A3 EB 78 */ mr r3, r29 /* 80098B00 00095A60 48 2A 81 C5 */ bl __as__6CTokenFRC6CToken /* 80098B04 00095A64 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80098B08 00095A68 90 1D 00 08 */ stw r0, 8(r29) lbl_80098B0C: /* 80098B0C 00095A6C 38 61 00 BC */ addi r3, r1, 0xbc /* 80098B10 00095A70 38 80 00 00 */ li r4, 0 /* 80098B14 00095A74 48 2A 83 2D */ bl __dt__6CTokenFv /* 80098B18 00095A78 38 61 00 60 */ addi r3, r1, 0x60 /* 80098B1C 00095A7C 38 80 FF FF */ li r4, -1 /* 80098B20 00095A80 48 2A 83 21 */ bl __dt__6CTokenFv /* 80098B24 00095A84 38 7F 00 8C */ addi r3, r31, 0x8c /* 80098B28 00095A88 48 2A 82 5D */ bl Lock__6CTokenFv /* 80098B2C 00095A8C 48 00 00 C0 */ b lbl_80098BEC lbl_80098B30: /* 80098B30 00095A90 3B BF 00 8C */ addi r29, r31, 0x8c /* 80098B34 00095A94 38 81 00 AC */ addi r4, r1, 0xac /* 80098B38 00095A98 38 00 00 00 */ li r0, 0 /* 80098B3C 00095A9C 7C 1D 20 40 */ cmplw r29, r4 /* 80098B40 00095AA0 98 01 00 B8 */ stb r0, 0xb8(r1) /* 80098B44 00095AA4 41 82 00 7C */ beq lbl_80098BC0 /* 80098B48 00095AA8 28 00 00 00 */ cmplwi r0, 0 /* 80098B4C 00095AAC 41 82 00 48 */ beq lbl_80098B94 /* 80098B50 00095AB0 88 1F 00 98 */ lbz r0, 0x98(r31) /* 80098B54 00095AB4 28 00 00 00 */ cmplwi r0, 0 /* 80098B58 00095AB8 40 82 00 28 */ bne lbl_80098B80 /* 80098B5C 00095ABC 37 BF 00 8C */ addic. r29, r31, 0x8c /* 80098B60 00095AC0 41 82 00 14 */ beq lbl_80098B74 /* 80098B64 00095AC4 7F A3 EB 78 */ mr r3, r29 /* 80098B68 00095AC8 48 2A 83 41 */ bl __ct__6CTokenFRC6CToken /* 80098B6C 00095ACC 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80098B70 00095AD0 90 1D 00 08 */ stw r0, 8(r29) lbl_80098B74: /* 80098B74 00095AD4 38 00 00 01 */ li r0, 1 /* 80098B78 00095AD8 98 1F 00 98 */ stb r0, 0x98(r31) /* 80098B7C 00095ADC 48 00 00 44 */ b lbl_80098BC0 lbl_80098B80: /* 80098B80 00095AE0 7F A3 EB 78 */ mr r3, r29 /* 80098B84 00095AE4 48 2A 81 41 */ bl __as__6CTokenFRC6CToken /* 80098B88 00095AE8 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80098B8C 00095AEC 90 1D 00 08 */ stw r0, 8(r29) /* 80098B90 00095AF0 48 00 00 30 */ b lbl_80098BC0 lbl_80098B94: /* 80098B94 00095AF4 88 1F 00 98 */ lbz r0, 0x98(r31) /* 80098B98 00095AF8 28 00 00 00 */ cmplwi r0, 0 /* 80098B9C 00095AFC 41 82 00 1C */ beq lbl_80098BB8 /* 80098BA0 00095B00 34 7F 00 8C */ addic. r3, r31, 0x8c /* 80098BA4 00095B04 41 82 00 14 */ beq lbl_80098BB8 /* 80098BA8 00095B08 28 03 00 00 */ cmplwi r3, 0 /* 80098BAC 00095B0C 41 82 00 0C */ beq lbl_80098BB8 /* 80098BB0 00095B10 38 80 00 00 */ li r4, 0 /* 80098BB4 00095B14 48 2A 82 8D */ bl __dt__6CTokenFv lbl_80098BB8: /* 80098BB8 00095B18 38 00 00 00 */ li r0, 0 /* 80098BBC 00095B1C 98 1F 00 98 */ stb r0, 0x98(r31) lbl_80098BC0: /* 80098BC0 00095B20 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 80098BC4 00095B24 28 00 00 00 */ cmplwi r0, 0 /* 80098BC8 00095B28 41 82 00 1C */ beq lbl_80098BE4 /* 80098BCC 00095B2C 34 61 00 AC */ addic. r3, r1, 0xac /* 80098BD0 00095B30 41 82 00 14 */ beq lbl_80098BE4 /* 80098BD4 00095B34 28 03 00 00 */ cmplwi r3, 0 /* 80098BD8 00095B38 41 82 00 0C */ beq lbl_80098BE4 /* 80098BDC 00095B3C 38 80 00 00 */ li r4, 0 /* 80098BE0 00095B40 48 2A 82 61 */ bl __dt__6CTokenFv lbl_80098BE4: /* 80098BE4 00095B44 38 00 00 00 */ li r0, 0 /* 80098BE8 00095B48 98 01 00 B8 */ stb r0, 0xb8(r1) lbl_80098BEC: /* 80098BEC 00095B4C 80 1F 02 F8 */ lwz r0, 0x2f8(r31) /* 80098BF0 00095B50 28 00 00 00 */ cmplwi r0, 0 /* 80098BF4 00095B54 41 82 00 D0 */ beq lbl_80098CC4 /* 80098BF8 00095B58 88 1F 00 98 */ lbz r0, 0x98(r31) /* 80098BFC 00095B5C 28 00 00 00 */ cmplwi r0, 0 /* 80098C00 00095B60 41 82 00 9C */ beq lbl_80098C9C /* 80098C04 00095B64 3B BF 00 8C */ addi r29, r31, 0x8c /* 80098C08 00095B68 80 1F 00 94 */ lwz r0, 0x94(r31) /* 80098C0C 00095B6C 28 00 00 00 */ cmplwi r0, 0 /* 80098C10 00095B70 41 82 00 0C */ beq lbl_80098C1C /* 80098C14 00095B74 38 60 00 01 */ li r3, 1 /* 80098C18 00095B78 48 00 00 3C */ b lbl_80098C54 lbl_80098C1C: /* 80098C1C 00095B7C 88 1D 00 04 */ lbz r0, 4(r29) /* 80098C20 00095B80 28 00 00 00 */ cmplwi r0, 0 /* 80098C24 00095B84 41 82 00 2C */ beq lbl_80098C50 /* 80098C28 00095B88 80 7D 00 00 */ lwz r3, 0(r29) /* 80098C2C 00095B8C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80098C30 00095B90 28 00 00 00 */ cmplwi r0, 0 /* 80098C34 00095B94 41 82 00 1C */ beq lbl_80098C50 /* 80098C38 00095B98 7F A3 EB 78 */ mr r3, r29 /* 80098C3C 00095B9C 48 2A 81 D1 */ bl GetObj__6CTokenFv /* 80098C40 00095BA0 80 03 00 04 */ lwz r0, 4(r3) /* 80098C44 00095BA4 38 60 00 01 */ li r3, 1 /* 80098C48 00095BA8 90 1D 00 08 */ stw r0, 8(r29) /* 80098C4C 00095BAC 48 00 00 08 */ b lbl_80098C54 lbl_80098C50: /* 80098C50 00095BB0 38 60 00 00 */ li r3, 0 lbl_80098C54: /* 80098C54 00095BB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098C58 00095BB8 41 82 00 6C */ beq lbl_80098CC4 /* 80098C5C 00095BBC 80 7F 00 94 */ lwz r3, 0x94(r31) /* 80098C60 00095BC0 38 80 00 00 */ li r4, 0 /* 80098C64 00095BC4 48 2B DA 99 */ bl GetString__12CStringTableCFi /* 80098C68 00095BC8 7C 64 1B 78 */ mr r4, r3 /* 80098C6C 00095BCC 38 61 00 9C */ addi r3, r1, 0x9c /* 80098C70 00095BD0 38 C1 00 08 */ addi r6, r1, 8 /* 80098C74 00095BD4 38 A0 FF FF */ li r5, -1 /* 80098C78 00095BD8 48 2A 4B 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80098C7C 00095BDC 80 7F 02 F8 */ lwz r3, 0x2f8(r31) /* 80098C80 00095BE0 38 81 00 9C */ addi r4, r1, 0x9c /* 80098C84 00095BE4 38 A0 00 00 */ li r5, 0 /* 80098C88 00095BE8 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80098C8C 00095BEC 48 23 0B F9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80098C90 00095BF0 38 61 00 9C */ addi r3, r1, 0x9c /* 80098C94 00095BF4 48 2A 44 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80098C98 00095BF8 48 00 00 2C */ b lbl_80098CC4 lbl_80098C9C: /* 80098C9C 00095BFC 38 61 00 8C */ addi r3, r1, 0x8c /* 80098CA0 00095C00 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 /* 80098CA4 00095C04 4B F7 CD 4D */ bl wstring_l__4rstlFPCw /* 80098CA8 00095C08 80 7F 02 F8 */ lwz r3, 0x2f8(r31) /* 80098CAC 00095C0C 38 81 00 8C */ addi r4, r1, 0x8c /* 80098CB0 00095C10 38 A0 00 00 */ li r5, 0 /* 80098CB4 00095C14 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80098CB8 00095C18 48 23 0B CD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80098CBC 00095C1C 38 61 00 8C */ addi r3, r1, 0x8c /* 80098CC0 00095C20 48 2A 44 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80098CC4: /* 80098CC4 00095C24 7F E3 FB 78 */ mr r3, r31 /* 80098CC8 00095C28 38 80 00 01 */ li r4, 1 /* 80098CCC 00095C2C 4B FF D0 59 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 80098CD0 00095C30 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80098CD4 00095C34 41 82 01 D0 */ beq lbl_80098EA4 /* 80098CD8 00095C38 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 80098CDC 00095C3C 38 81 00 20 */ addi r4, r1, 0x20 /* 80098CE0 00095C40 90 01 00 20 */ stw r0, 0x20(r1) /* 80098CE4 00095C44 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80098CE8 00095C48 90 01 00 1C */ stw r0, 0x1c(r1) /* 80098CEC 00095C4C 81 83 00 00 */ lwz r12, 0(r3) /* 80098CF0 00095C50 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80098CF4 00095C54 7D 89 03 A6 */ mtctr r12 /* 80098CF8 00095C58 4E 80 04 21 */ bctrl /* 80098CFC 00095C5C 81 83 00 00 */ lwz r12, 0(r3) /* 80098D00 00095C60 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80098D04 00095C64 7D 89 03 A6 */ mtctr r12 /* 80098D08 00095C68 4E 80 04 21 */ bctrl /* 80098D0C 00095C6C 7C 64 1B 78 */ mr r4, r3 /* 80098D10 00095C70 7F E3 FB 78 */ mr r3, r31 /* 80098D14 00095C74 48 00 02 05 */ bl GetAreaHintDescriptionString__11CAutoMapperFUi /* 80098D18 00095C78 80 1F 00 74 */ lwz r0, 0x74(r31) /* 80098D1C 00095C7C 7C 03 00 40 */ cmplw r3, r0 /* 80098D20 00095C80 41 82 01 84 */ beq lbl_80098EA4 /* 80098D24 00095C84 90 7F 00 74 */ stw r3, 0x74(r31) /* 80098D28 00095C88 80 9F 00 74 */ lwz r4, 0x74(r31) /* 80098D2C 00095C8C 3C 04 00 01 */ addis r0, r4, 1 /* 80098D30 00095C90 28 00 FF FF */ cmplwi r0, 0xffff /* 80098D34 00095C94 41 82 00 B4 */ beq lbl_80098DE8 /* 80098D38 00095C98 3C 60 53 54 */ lis r3, 0x53545247@ha /* 80098D3C 00095C9C 90 81 00 5C */ stw r4, 0x5c(r1) /* 80098D40 00095CA0 38 03 52 47 */ addi r0, r3, 0x53545247@l /* 80098D44 00095CA4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80098D48 00095CA8 90 01 00 58 */ stw r0, 0x58(r1) /* 80098D4C 00095CAC 38 61 00 50 */ addi r3, r1, 0x50 /* 80098D50 00095CB0 38 A1 00 58 */ addi r5, r1, 0x58 /* 80098D54 00095CB4 81 84 00 00 */ lwz r12, 0(r4) /* 80098D58 00095CB8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80098D5C 00095CBC 7D 89 03 A6 */ mtctr r12 /* 80098D60 00095CC0 4E 80 04 21 */ bctrl /* 80098D64 00095CC4 38 61 00 80 */ addi r3, r1, 0x80 /* 80098D68 00095CC8 38 81 00 50 */ addi r4, r1, 0x50 /* 80098D6C 00095CCC 48 2A 81 3D */ bl __ct__6CTokenFRC6CToken /* 80098D70 00095CD0 38 00 00 00 */ li r0, 0 /* 80098D74 00095CD4 90 01 00 88 */ stw r0, 0x88(r1) /* 80098D78 00095CD8 88 1F 00 84 */ lbz r0, 0x84(r31) /* 80098D7C 00095CDC 28 00 00 00 */ cmplwi r0, 0 /* 80098D80 00095CE0 40 82 00 2C */ bne lbl_80098DAC /* 80098D84 00095CE4 37 BF 00 78 */ addic. r29, r31, 0x78 /* 80098D88 00095CE8 41 82 00 18 */ beq lbl_80098DA0 /* 80098D8C 00095CEC 7F A3 EB 78 */ mr r3, r29 /* 80098D90 00095CF0 38 81 00 80 */ addi r4, r1, 0x80 /* 80098D94 00095CF4 48 2A 81 15 */ bl __ct__6CTokenFRC6CToken /* 80098D98 00095CF8 80 01 00 88 */ lwz r0, 0x88(r1) /* 80098D9C 00095CFC 90 1D 00 08 */ stw r0, 8(r29) lbl_80098DA0: /* 80098DA0 00095D00 38 00 00 01 */ li r0, 1 /* 80098DA4 00095D04 98 1F 00 84 */ stb r0, 0x84(r31) /* 80098DA8 00095D08 48 00 00 1C */ b lbl_80098DC4 lbl_80098DAC: /* 80098DAC 00095D0C 3B BF 00 78 */ addi r29, r31, 0x78 /* 80098DB0 00095D10 38 81 00 80 */ addi r4, r1, 0x80 /* 80098DB4 00095D14 7F A3 EB 78 */ mr r3, r29 /* 80098DB8 00095D18 48 2A 7F 0D */ bl __as__6CTokenFRC6CToken /* 80098DBC 00095D1C 80 01 00 88 */ lwz r0, 0x88(r1) /* 80098DC0 00095D20 90 1D 00 08 */ stw r0, 8(r29) lbl_80098DC4: /* 80098DC4 00095D24 38 61 00 80 */ addi r3, r1, 0x80 /* 80098DC8 00095D28 38 80 00 00 */ li r4, 0 /* 80098DCC 00095D2C 48 2A 80 75 */ bl __dt__6CTokenFv /* 80098DD0 00095D30 38 61 00 50 */ addi r3, r1, 0x50 /* 80098DD4 00095D34 38 80 FF FF */ li r4, -1 /* 80098DD8 00095D38 48 2A 80 69 */ bl __dt__6CTokenFv /* 80098DDC 00095D3C 38 7F 00 78 */ addi r3, r31, 0x78 /* 80098DE0 00095D40 48 2A 7F A5 */ bl Lock__6CTokenFv /* 80098DE4 00095D44 48 00 00 C0 */ b lbl_80098EA4 lbl_80098DE8: /* 80098DE8 00095D48 3B BF 00 78 */ addi r29, r31, 0x78 /* 80098DEC 00095D4C 38 81 00 70 */ addi r4, r1, 0x70 /* 80098DF0 00095D50 38 00 00 00 */ li r0, 0 /* 80098DF4 00095D54 7C 1D 20 40 */ cmplw r29, r4 /* 80098DF8 00095D58 98 01 00 7C */ stb r0, 0x7c(r1) /* 80098DFC 00095D5C 41 82 00 7C */ beq lbl_80098E78 /* 80098E00 00095D60 28 00 00 00 */ cmplwi r0, 0 /* 80098E04 00095D64 41 82 00 48 */ beq lbl_80098E4C /* 80098E08 00095D68 88 1F 00 84 */ lbz r0, 0x84(r31) /* 80098E0C 00095D6C 28 00 00 00 */ cmplwi r0, 0 /* 80098E10 00095D70 40 82 00 28 */ bne lbl_80098E38 /* 80098E14 00095D74 37 BF 00 78 */ addic. r29, r31, 0x78 /* 80098E18 00095D78 41 82 00 14 */ beq lbl_80098E2C /* 80098E1C 00095D7C 7F A3 EB 78 */ mr r3, r29 /* 80098E20 00095D80 48 2A 80 89 */ bl __ct__6CTokenFRC6CToken /* 80098E24 00095D84 80 01 00 78 */ lwz r0, 0x78(r1) /* 80098E28 00095D88 90 1D 00 08 */ stw r0, 8(r29) lbl_80098E2C: /* 80098E2C 00095D8C 38 00 00 01 */ li r0, 1 /* 80098E30 00095D90 98 1F 00 84 */ stb r0, 0x84(r31) /* 80098E34 00095D94 48 00 00 44 */ b lbl_80098E78 lbl_80098E38: /* 80098E38 00095D98 7F A3 EB 78 */ mr r3, r29 /* 80098E3C 00095D9C 48 2A 7E 89 */ bl __as__6CTokenFRC6CToken /* 80098E40 00095DA0 80 01 00 78 */ lwz r0, 0x78(r1) /* 80098E44 00095DA4 90 1D 00 08 */ stw r0, 8(r29) /* 80098E48 00095DA8 48 00 00 30 */ b lbl_80098E78 lbl_80098E4C: /* 80098E4C 00095DAC 88 1F 00 84 */ lbz r0, 0x84(r31) /* 80098E50 00095DB0 28 00 00 00 */ cmplwi r0, 0 /* 80098E54 00095DB4 41 82 00 1C */ beq lbl_80098E70 /* 80098E58 00095DB8 34 7F 00 78 */ addic. r3, r31, 0x78 /* 80098E5C 00095DBC 41 82 00 14 */ beq lbl_80098E70 /* 80098E60 00095DC0 28 03 00 00 */ cmplwi r3, 0 /* 80098E64 00095DC4 41 82 00 0C */ beq lbl_80098E70 /* 80098E68 00095DC8 38 80 00 00 */ li r4, 0 /* 80098E6C 00095DCC 48 2A 7F D5 */ bl __dt__6CTokenFv lbl_80098E70: /* 80098E70 00095DD0 38 00 00 00 */ li r0, 0 /* 80098E74 00095DD4 98 1F 00 84 */ stb r0, 0x84(r31) lbl_80098E78: /* 80098E78 00095DD8 88 01 00 7C */ lbz r0, 0x7c(r1) /* 80098E7C 00095DDC 28 00 00 00 */ cmplwi r0, 0 /* 80098E80 00095DE0 41 82 00 1C */ beq lbl_80098E9C /* 80098E84 00095DE4 34 61 00 70 */ addic. r3, r1, 0x70 /* 80098E88 00095DE8 41 82 00 14 */ beq lbl_80098E9C /* 80098E8C 00095DEC 28 03 00 00 */ cmplwi r3, 0 /* 80098E90 00095DF0 41 82 00 0C */ beq lbl_80098E9C /* 80098E94 00095DF4 38 80 00 00 */ li r4, 0 /* 80098E98 00095DF8 48 2A 7F A9 */ bl __dt__6CTokenFv lbl_80098E9C: /* 80098E9C 00095DFC 38 00 00 00 */ li r0, 0 /* 80098EA0 00095E00 98 01 00 7C */ stb r0, 0x7c(r1) lbl_80098EA4: /* 80098EA4 00095E04 3B 80 00 00 */ li r28, 0 /* 80098EA8 00095E08 3B A0 00 00 */ li r29, 0 /* 80098EAC 00095E0C 48 00 00 30 */ b lbl_80098EDC lbl_80098EB0: /* 80098EB0 00095E10 80 1F 00 20 */ lwz r0, 0x20(r31) /* 80098EB4 00095E14 7C 60 EA 14 */ add r3, r0, r29 /* 80098EB8 00095E18 80 63 00 04 */ lwz r3, 4(r3) /* 80098EBC 00095E1C 28 03 00 00 */ cmplwi r3, 0 /* 80098EC0 00095E20 41 82 00 14 */ beq lbl_80098ED4 /* 80098EC4 00095E24 81 83 00 00 */ lwz r12, 0(r3) /* 80098EC8 00095E28 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80098ECC 00095E2C 7D 89 03 A6 */ mtctr r12 /* 80098ED0 00095E30 4E 80 04 21 */ bctrl lbl_80098ED4: /* 80098ED4 00095E34 3B BD 00 08 */ addi r29, r29, 8 /* 80098ED8 00095E38 3B 9C 00 01 */ addi r28, r28, 1 lbl_80098EDC: /* 80098EDC 00095E3C 80 1F 00 18 */ lwz r0, 0x18(r31) /* 80098EE0 00095E40 7C 1C 00 00 */ cmpw r28, r0 /* 80098EE4 00095E44 41 80 FF CC */ blt lbl_80098EB0 /* 80098EE8 00095E48 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 /* 80098EEC 00095E4C CB E1 03 30 */ lfd f31, 0x330(r1) /* 80098EF0 00095E50 E3 C1 03 28 */ psq_l f30, 808(r1), 0, qr0 /* 80098EF4 00095E54 CB C1 03 20 */ lfd f30, 0x320(r1) /* 80098EF8 00095E58 83 E1 03 1C */ lwz r31, 0x31c(r1) /* 80098EFC 00095E5C 83 C1 03 18 */ lwz r30, 0x318(r1) /* 80098F00 00095E60 83 A1 03 14 */ lwz r29, 0x314(r1) /* 80098F04 00095E64 80 01 03 44 */ lwz r0, 0x344(r1) /* 80098F08 00095E68 83 81 03 10 */ lwz r28, 0x310(r1) /* 80098F0C 00095E6C 7C 08 03 A6 */ mtlr r0 /* 80098F10 00095E70 38 21 03 40 */ addi r1, r1, 0x340 /* 80098F14 00095E74 4E 80 00 20 */ blr .global GetAreaHintDescriptionString__11CAutoMapperFUi GetAreaHintDescriptionString__11CAutoMapperFUi: /* 80098F18 00095E78 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80098F1C 00095E7C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80098F20 00095E80 3B E0 00 00 */ li r31, 0 /* 80098F24 00095E84 93 C1 00 18 */ stw r30, 0x18(r1) /* 80098F28 00095E88 7F FE FB 78 */ mr r30, r31 /* 80098F2C 00095E8C 93 A1 00 14 */ stw r29, 0x14(r1) /* 80098F30 00095E90 93 81 00 10 */ stw r28, 0x10(r1) /* 80098F34 00095E94 3B 80 00 00 */ li r28, 0 /* 80098F38 00095E98 80 ED A0 80 */ lwz r7, gpGameState@sda21(r13) /* 80098F3C 00095E9C 80 CD A0 84 */ lwz r6, gpMemoryCard@sda21(r13) /* 80098F40 00095EA0 83 A7 01 FC */ lwz r29, 0x1fc(r7) /* 80098F44 00095EA4 48 00 00 9C */ b lbl_80098FE0 lbl_80098F48: /* 80098F48 00095EA8 80 A7 02 04 */ lwz r5, 0x204(r7) /* 80098F4C 00095EAC 7C 05 F8 2E */ lwzx r0, r5, r31 /* 80098F50 00095EB0 2C 00 00 02 */ cmpwi r0, 2 /* 80098F54 00095EB4 40 82 00 80 */ bne lbl_80098FD4 /* 80098F58 00095EB8 80 A6 00 08 */ lwz r5, 8(r6) /* 80098F5C 00095EBC 39 80 00 00 */ li r12, 0 /* 80098F60 00095EC0 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80098F64 00095EC4 80 05 00 0C */ lwz r0, 0xc(r5) /* 80098F68 00095EC8 7D 00 F2 14 */ add r8, r0, r30 /* 80098F6C 00095ECC 80 08 00 24 */ lwz r0, 0x24(r8) /* 80098F70 00095ED0 7C 09 03 A6 */ mtctr r0 /* 80098F74 00095ED4 2C 00 00 00 */ cmpwi r0, 0 /* 80098F78 00095ED8 40 81 00 5C */ ble lbl_80098FD4 lbl_80098F7C: /* 80098F7C 00095EDC 80 08 00 2C */ lwz r0, 0x2c(r8) /* 80098F80 00095EE0 7D 20 62 14 */ add r9, r0, r12 /* 80098F84 00095EE4 80 09 00 04 */ lwz r0, 4(r9) /* 80098F88 00095EE8 7C 00 20 40 */ cmplw r0, r4 /* 80098F8C 00095EEC 40 82 00 40 */ bne lbl_80098FCC /* 80098F90 00095EF0 81 43 01 FC */ lwz r10, 0x1fc(r3) /* 80098F94 00095EF4 81 63 02 00 */ lwz r11, 0x200(r3) /* 80098F98 00095EF8 48 00 00 2C */ b lbl_80098FC4 lbl_80098F9C: /* 80098F9C 00095EFC 80 AA 00 14 */ lwz r5, 0x14(r10) /* 80098FA0 00095F00 80 09 00 08 */ lwz r0, 8(r9) /* 80098FA4 00095F04 7C 05 00 00 */ cmpw r5, r0 /* 80098FA8 00095F08 40 82 00 18 */ bne lbl_80098FC0 /* 80098FAC 00095F0C C0 2A 00 0C */ lfs f1, 0xc(r10) /* 80098FB0 00095F10 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80098FB4 00095F14 40 81 00 0C */ ble lbl_80098FC0 /* 80098FB8 00095F18 80 69 00 0C */ lwz r3, 0xc(r9) /* 80098FBC 00095F1C 48 00 00 30 */ b lbl_80098FEC lbl_80098FC0: /* 80098FC0 00095F20 81 4A 00 04 */ lwz r10, 4(r10) lbl_80098FC4: /* 80098FC4 00095F24 7C 0A 58 40 */ cmplw r10, r11 /* 80098FC8 00095F28 40 82 FF D4 */ bne lbl_80098F9C lbl_80098FCC: /* 80098FCC 00095F2C 39 8C 00 10 */ addi r12, r12, 0x10 /* 80098FD0 00095F30 42 00 FF AC */ bdnz lbl_80098F7C lbl_80098FD4: /* 80098FD4 00095F34 3B FF 00 0C */ addi r31, r31, 0xc /* 80098FD8 00095F38 3B DE 00 30 */ addi r30, r30, 0x30 /* 80098FDC 00095F3C 3B 9C 00 01 */ addi r28, r28, 1 lbl_80098FE0: /* 80098FE0 00095F40 7C 1C E8 00 */ cmpw r28, r29 /* 80098FE4 00095F44 41 80 FF 64 */ blt lbl_80098F48 /* 80098FE8 00095F48 38 60 FF FF */ li r3, -1 lbl_80098FEC: /* 80098FEC 00095F4C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80098FF0 00095F50 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80098FF4 00095F54 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80098FF8 00095F58 83 81 00 10 */ lwz r28, 0x10(r1) /* 80098FFC 00095F5C 38 21 00 20 */ addi r1, r1, 0x20 /* 80099000 00095F60 4E 80 00 20 */ blr .global Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff: /* 80099004 00095F64 94 21 F7 40 */ stwu r1, -0x8c0(r1) /* 80099008 00095F68 7C 08 02 A6 */ mflr r0 /* 8009900C 00095F6C 90 01 08 C4 */ stw r0, 0x8c4(r1) /* 80099010 00095F70 DB E1 08 B0 */ stfd f31, 0x8b0(r1) /* 80099014 00095F74 F3 E1 08 B8 */ psq_st f31, -1864(r1), 0, qr0 /* 80099018 00095F78 DB C1 08 A0 */ stfd f30, 0x8a0(r1) /* 8009901C 00095F7C F3 C1 08 A8 */ psq_st f30, -1880(r1), 0, qr0 /* 80099020 00095F80 DB A1 08 90 */ stfd f29, 0x890(r1) /* 80099024 00095F84 F3 A1 08 98 */ psq_st f29, -1896(r1), 0, qr0 /* 80099028 00095F88 DB 81 08 80 */ stfd f28, 0x880(r1) /* 8009902C 00095F8C F3 81 08 88 */ psq_st f28, -1912(r1), 0, qr0 /* 80099030 00095F90 DB 61 08 70 */ stfd f27, 0x870(r1) /* 80099034 00095F94 F3 61 08 78 */ psq_st f27, -1928(r1), 0, qr0 /* 80099038 00095F98 DB 41 08 60 */ stfd f26, 0x860(r1) /* 8009903C 00095F9C F3 41 08 68 */ psq_st f26, -1944(r1), 0, qr0 /* 80099040 00095FA0 DB 21 08 50 */ stfd f25, 0x850(r1) /* 80099044 00095FA4 F3 21 08 58 */ psq_st f25, -1960(r1), 0, qr0 /* 80099048 00095FA8 BF 01 08 30 */ stmw r24, 0x830(r1) /* 8009904C 00095FAC FF 20 08 90 */ fmr f25, f1 /* 80099050 00095FB0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) /* 80099054 00095FB4 7C 7F 1B 78 */ mr r31, r3 /* 80099058 00095FB8 7C 9E 23 78 */ mr r30, r4 /* 8009905C 00095FBC 7C B8 2B 78 */ mr r24, r5 /* 80099060 00095FC0 38 66 01 7C */ addi r3, r6, 0x17c /* 80099064 00095FC4 48 17 5D 11 */ bl GetHudAlpha__12CGameOptionsCFv /* 80099068 00095FC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8009906C 00095FCC EF 59 00 72 */ fmuls f26, f25, f1 /* 80099070 00095FD0 81 83 00 00 */ lwz r12, 0(r3) /* 80099074 00095FD4 81 8C 00 68 */ lwz r12, 0x68(r12) /* 80099078 00095FD8 7D 89 03 A6 */ mtctr r12 /* 8009907C 00095FDC 4E 80 04 21 */ bctrl /* 80099080 00095FE0 38 60 00 01 */ li r3, 1 /* 80099084 00095FE4 48 27 29 ED */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 80099088 00095FE8 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 8009908C 00095FEC 38 60 00 00 */ li r3, 0 /* 80099090 00095FF0 2C 00 00 00 */ cmpwi r0, 0 /* 80099094 00095FF4 41 82 00 14 */ beq lbl_800990A8 /* 80099098 00095FF8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 8009909C 00095FFC 2C 00 00 00 */ cmpwi r0, 0 /* 800990A0 00096000 41 82 00 08 */ beq lbl_800990A8 /* 800990A4 00096004 38 60 00 01 */ li r3, 1 lbl_800990A8: /* 800990A8 00096008 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800990AC 0009600C 41 82 00 0C */ beq lbl_800990B8 /* 800990B0 00096010 C3 A2 8B 80 */ lfs f29, lbl_805AA8A0@sda21(r2) /* 800990B4 00096014 48 00 00 8C */ b lbl_80099140 lbl_800990B8: /* 800990B8 00096018 7F E3 FB 78 */ mr r3, r31 /* 800990BC 0009601C 38 80 00 00 */ li r4, 0 /* 800990C0 00096020 4B FF CC 65 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 800990C4 00096024 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800990C8 00096028 41 82 00 0C */ beq lbl_800990D4 /* 800990CC 0009602C FF A0 D0 90 */ fmr f29, f26 /* 800990D0 00096030 48 00 00 70 */ b lbl_80099140 lbl_800990D4: /* 800990D4 00096034 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 800990D8 00096038 2C 00 00 00 */ cmpwi r0, 0 /* 800990DC 0009603C 40 82 00 2C */ bne lbl_80099108 /* 800990E0 00096040 C0 5F 01 C4 */ lfs f2, 0x1c4(r31) /* 800990E4 00096044 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 800990E8 00096048 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 800990EC 0009604C 40 81 00 0C */ ble lbl_800990F8 /* 800990F0 00096050 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) /* 800990F4 00096054 EC 20 10 24 */ fdivs f1, f0, f2 lbl_800990F8: /* 800990F8 00096058 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 800990FC 0009605C EC 00 08 28 */ fsubs f0, f0, f1 /* 80099100 00096060 EF BA 00 7A */ fmadds f29, f26, f1, f0 /* 80099104 00096064 48 00 00 3C */ b lbl_80099140 lbl_80099108: /* 80099108 00096068 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 8009910C 0009606C 2C 00 00 00 */ cmpwi r0, 0 /* 80099110 00096070 40 82 00 2C */ bne lbl_8009913C /* 80099114 00096074 C0 5F 01 C4 */ lfs f2, 0x1c4(r31) /* 80099118 00096078 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 8009911C 0009607C FC 02 08 40 */ fcmpo cr0, f2, f1 /* 80099120 00096080 40 81 00 0C */ ble lbl_8009912C /* 80099124 00096084 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) /* 80099128 00096088 EC 20 10 24 */ fdivs f1, f0, f2 lbl_8009912C: /* 8009912C 0009608C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099130 00096090 EC 00 08 28 */ fsubs f0, f0, f1 /* 80099134 00096094 EF BA 08 3A */ fmadds f29, f26, f0, f1 /* 80099138 00096098 48 00 00 08 */ b lbl_80099140 lbl_8009913C: /* 8009913C 0009609C C3 A2 8B 80 */ lfs f29, lbl_805AA8A0@sda21(r2) lbl_80099140: /* 80099140 000960A0 80 9F 00 A8 */ lwz r4, 0xa8(r31) /* 80099144 000960A4 3C 60 43 30 */ lis r3, 0x4330 /* 80099148 000960A8 80 1F 00 AC */ lwz r0, 0xac(r31) /* 8009914C 000960AC 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 80099150 000960B0 90 61 08 18 */ stw r3, 0x818(r1) /* 80099154 000960B4 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80099158 000960B8 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) /* 8009915C 000960BC 90 81 08 1C */ stw r4, 0x81c(r1) /* 80099160 000960C0 C0 22 8B 7C */ lfs f1, lbl_805AA89C@sda21(r2) /* 80099164 000960C4 C8 01 08 18 */ lfd f0, 0x818(r1) /* 80099168 000960C8 90 01 08 24 */ stw r0, 0x824(r1) /* 8009916C 000960CC EC A0 20 28 */ fsubs f5, f0, f4 /* 80099170 000960D0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) /* 80099174 000960D4 90 61 08 20 */ stw r3, 0x820(r1) /* 80099178 000960D8 EC 21 00 32 */ fmuls f1, f1, f0 /* 8009917C 000960DC C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) /* 80099180 000960E0 C8 01 08 20 */ lfd f0, 0x820(r1) /* 80099184 000960E4 C0 62 8B 70 */ lfs f3, lbl_805AA890@sda21(r2) /* 80099188 000960E8 EC 80 20 28 */ fsubs f4, f0, f4 /* 8009918C 000960EC C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) /* 80099190 000960F0 EC 22 00 72 */ fmuls f1, f2, f1 /* 80099194 000960F4 EF 45 20 24 */ fdivs f26, f5, f4 /* 80099198 000960F8 EC 23 00 7C */ fnmsubs f1, f3, f1, f0 /* 8009919C 000960FC 48 2F BA 19 */ bl tan /* 800991A0 00096100 FC 00 08 18 */ frsp f0, f1 /* 800991A4 00096104 C0 3F 00 C0 */ lfs f1, 0xc0(r31) /* 800991A8 00096108 38 61 06 64 */ addi r3, r1, 0x664 /* 800991AC 0009610C 38 9F 00 B0 */ addi r4, r31, 0xb0 /* 800991B0 00096110 38 BF 00 C8 */ addi r5, r31, 0xc8 /* 800991B4 00096114 EF 61 00 24 */ fdivs f27, f1, f0 /* 800991B8 00096118 48 27 8D 05 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f /* 800991BC 0009611C 38 61 07 E4 */ addi r3, r1, 0x7e4 /* 800991C0 00096120 38 81 06 64 */ addi r4, r1, 0x664 /* 800991C4 00096124 48 27 99 B1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800991C8 00096128 EC 1B 06 B2 */ fmuls f0, f27, f26 /* 800991CC 0009612C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) /* 800991D0 00096130 C0 82 8B 80 */ lfs f4, lbl_805AA8A0@sda21(r2) /* 800991D4 00096134 38 61 06 34 */ addi r3, r1, 0x634 /* 800991D8 00096138 C0 22 8B D0 */ lfs f1, lbl_805AA8F0@sda21(r2) /* 800991DC 0009613C EC 64 00 24 */ fdivs f3, f4, f0 /* 800991E0 00096140 D0 41 07 B8 */ stfs f2, 0x7b8(r1) /* 800991E4 00096144 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 800991E8 00096148 D0 41 07 BC */ stfs f2, 0x7bc(r1) /* 800991EC 0009614C D0 41 07 C0 */ stfs f2, 0x7c0(r1) /* 800991F0 00096150 D0 41 07 C4 */ stfs f2, 0x7c4(r1) /* 800991F4 00096154 EC 04 D8 24 */ fdivs f0, f4, f27 /* 800991F8 00096158 D0 61 07 B4 */ stfs f3, 0x7b4(r1) /* 800991FC 0009615C D0 21 07 C8 */ stfs f1, 0x7c8(r1) /* 80099200 00096160 D0 41 07 CC */ stfs f2, 0x7cc(r1) /* 80099204 00096164 D0 41 07 D0 */ stfs f2, 0x7d0(r1) /* 80099208 00096168 D0 41 07 D4 */ stfs f2, 0x7d4(r1) /* 8009920C 0009616C D0 41 07 D8 */ stfs f2, 0x7d8(r1) /* 80099210 00096170 D0 01 07 DC */ stfs f0, 0x7dc(r1) /* 80099214 00096174 D0 41 07 E0 */ stfs f2, 0x7e0(r1) /* 80099218 00096178 C0 64 00 C8 */ lfs f3, 0xc8(r4) /* 8009921C 0009617C C0 24 00 C4 */ lfs f1, 0xc4(r4) /* 80099220 00096180 48 27 9F E9 */ bl Scale__12CTransform4fFfff /* 80099224 00096184 38 61 07 84 */ addi r3, r1, 0x784 /* 80099228 00096188 38 81 06 34 */ addi r4, r1, 0x634 /* 8009922C 0009618C 48 27 99 49 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80099230 00096190 38 61 05 74 */ addi r3, r1, 0x574 /* 80099234 00096194 38 81 07 E4 */ addi r4, r1, 0x7e4 /* 80099238 00096198 48 27 9A 65 */ bl GetQuickInverse__12CTransform4fCFv /* 8009923C 0009619C 7F 04 C3 78 */ mr r4, r24 /* 80099240 000961A0 38 61 05 A4 */ addi r3, r1, 0x5a4 /* 80099244 000961A4 38 A1 07 84 */ addi r5, r1, 0x784 /* 80099248 000961A8 48 27 97 09 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8009924C 000961AC 38 61 05 D4 */ addi r3, r1, 0x5d4 /* 80099250 000961B0 38 81 05 A4 */ addi r4, r1, 0x5a4 /* 80099254 000961B4 38 A1 07 B4 */ addi r5, r1, 0x7b4 /* 80099258 000961B8 48 27 96 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8009925C 000961BC 38 61 06 04 */ addi r3, r1, 0x604 /* 80099260 000961C0 38 81 05 D4 */ addi r4, r1, 0x5d4 /* 80099264 000961C4 38 A1 05 74 */ addi r5, r1, 0x574 /* 80099268 000961C8 48 27 96 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8009926C 000961CC 38 61 07 54 */ addi r3, r1, 0x754 /* 80099270 000961D0 38 81 06 04 */ addi r4, r1, 0x604 /* 80099274 000961D4 48 27 99 01 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80099278 000961D8 80 9F 01 C0 */ lwz r4, 0x1c0(r31) /* 8009927C 000961DC C3 82 8B A8 */ lfs f28, lbl_805AA8C8@sda21(r2) /* 80099280 000961E0 2C 04 00 02 */ cmpwi r4, 2 /* 80099284 000961E4 40 82 00 3C */ bne lbl_800992C0 /* 80099288 000961E8 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 8009928C 000961EC 2C 00 00 02 */ cmpwi r0, 2 /* 80099290 000961F0 40 82 00 0C */ bne lbl_8009929C /* 80099294 000961F4 C3 82 8B 80 */ lfs f28, lbl_805AA8A0@sda21(r2) /* 80099298 000961F8 48 00 00 58 */ b lbl_800992F0 lbl_8009929C: /* 8009929C 000961FC C0 3F 01 C4 */ lfs f1, 0x1c4(r31) /* 800992A0 00096200 FC 01 E0 40 */ fcmpo cr0, f1, f28 /* 800992A4 00096204 40 81 00 10 */ ble lbl_800992B4 /* 800992A8 00096208 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) /* 800992AC 0009620C EC 00 08 24 */ fdivs f0, f0, f1 /* 800992B0 00096210 48 00 00 08 */ b lbl_800992B8 lbl_800992B4: /* 800992B4 00096214 FC 00 E0 90 */ fmr f0, f28 lbl_800992B8: /* 800992B8 00096218 FF 80 00 90 */ fmr f28, f0 /* 800992BC 0009621C 48 00 00 34 */ b lbl_800992F0 lbl_800992C0: /* 800992C0 00096220 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 800992C4 00096224 2C 00 00 02 */ cmpwi r0, 2 /* 800992C8 00096228 40 82 00 28 */ bne lbl_800992F0 /* 800992CC 0009622C C0 3F 01 C4 */ lfs f1, 0x1c4(r31) /* 800992D0 00096230 FC 01 E0 40 */ fcmpo cr0, f1, f28 /* 800992D4 00096234 40 81 00 10 */ ble lbl_800992E4 /* 800992D8 00096238 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) /* 800992DC 0009623C EC 20 08 24 */ fdivs f1, f0, f1 /* 800992E0 00096240 48 00 00 08 */ b lbl_800992E8 lbl_800992E4: /* 800992E4 00096244 FC 20 E0 90 */ fmr f1, f28 lbl_800992E8: /* 800992E8 00096248 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 800992EC 0009624C EF 80 08 28 */ fsubs f28, f0, f1 lbl_800992F0: /* 800992F0 00096250 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 800992F4 00096254 38 60 00 00 */ li r3, 0 /* 800992F8 00096258 2C 00 00 02 */ cmpwi r0, 2 /* 800992FC 0009625C 41 82 00 0C */ beq lbl_80099308 /* 80099300 00096260 2C 04 00 02 */ cmpwi r4, 2 /* 80099304 00096264 40 82 00 08 */ bne lbl_8009930C lbl_80099308: /* 80099308 00096268 38 60 00 01 */ li r3, 1 lbl_8009930C: /* 8009930C 0009626C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80099310 00096270 41 82 00 20 */ beq lbl_80099330 /* 80099314 00096274 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 80099318 00096278 80 9F 00 10 */ lwz r4, 0x10(r31) /* 8009931C 0009627C 1C 60 00 70 */ mulli r3, r0, 0x70 /* 80099320 00096280 80 04 00 1C */ lwz r0, 0x1c(r4) /* 80099324 00096284 3B A3 00 14 */ addi r29, r3, 0x14 /* 80099328 00096288 7F A0 EA 14 */ add r29, r0, r29 /* 8009932C 0009628C 48 00 00 0C */ b lbl_80099338 lbl_80099330: /* 80099330 00096290 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80099334 00096294 3B A3 66 70 */ addi r29, r3, skIdentity4f@l lbl_80099338: /* 80099338 00096298 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 8009933C 0009629C 38 60 00 00 */ li r3, 0 /* 80099340 000962A0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099344 000962A4 C0 5F 00 C0 */ lfs f2, 0xc0(r31) /* 80099348 000962A8 C0 24 00 0C */ lfs f1, 0xc(r4) /* 8009934C 000962AC EC 00 E0 28 */ fsubs f0, f0, f28 /* 80099350 000962B0 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 80099354 000962B4 EC 22 08 24 */ fdivs f1, f2, f1 /* 80099358 000962B8 2C 00 00 00 */ cmpwi r0, 0 /* 8009935C 000962BC EF 7D 00 32 */ fmuls f27, f29, f0 /* 80099360 000962C0 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 80099364 000962C4 41 82 00 14 */ beq lbl_80099378 /* 80099368 000962C8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 8009936C 000962CC 2C 00 00 00 */ cmpwi r0, 0 /* 80099370 000962D0 41 82 00 08 */ beq lbl_80099378 /* 80099374 000962D4 38 60 00 01 */ li r3, 1 lbl_80099378: /* 80099378 000962D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009937C 000962DC 41 82 02 34 */ beq lbl_800995B0 /* 80099380 000962E0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099384 000962E4 FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 80099388 000962E8 40 80 03 F4 */ bge lbl_8009977C /* 8009938C 000962EC 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80099390 000962F0 28 03 00 00 */ cmplwi r3, 0 /* 80099394 000962F4 41 82 03 E8 */ beq lbl_8009977C /* 80099398 000962F8 81 83 00 00 */ lwz r12, 0(r3) /* 8009939C 000962FC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800993A0 00096300 7D 89 03 A6 */ mtctr r12 /* 800993A4 00096304 4E 80 04 21 */ bctrl /* 800993A8 00096308 7C 64 1B 78 */ mr r4, r3 /* 800993AC 0009630C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800993B0 00096310 48 13 A6 29 */ bl StateForWorld__10CGameStateFUi /* 800993B4 00096314 7C 64 1B 78 */ mr r4, r3 /* 800993B8 00096318 38 61 00 30 */ addi r3, r1, 0x30 /* 800993BC 0009631C 48 13 B9 A9 */ bl GetMapWorldInfo__11CWorldStateCFv /* 800993C0 00096320 80 81 00 30 */ lwz r4, 0x30(r1) /* 800993C4 00096324 38 61 00 30 */ addi r3, r1, 0x30 /* 800993C8 00096328 83 84 00 00 */ lwz r28, 0(r4) /* 800993CC 0009632C 4B F6 F8 71 */ bl sub_80008c3c /* 800993D0 00096330 80 7F 00 24 */ lwz r3, 0x24(r31) /* 800993D4 00096334 81 83 00 00 */ lwz r12, 0(r3) /* 800993D8 00096338 81 8C 00 18 */ lwz r12, 0x18(r12) /* 800993DC 0009633C 7D 89 03 A6 */ mtctr r12 /* 800993E0 00096340 4E 80 04 21 */ bctrl /* 800993E4 00096344 80 1F 01 F4 */ lwz r0, 0x1f4(r31) /* 800993E8 00096348 7C 7B 1B 78 */ mr r27, r3 /* 800993EC 0009634C C3 42 8B A8 */ lfs f26, lbl_805AA8C8@sda21(r2) /* 800993F0 00096350 2C 00 00 00 */ cmpwi r0, 0 /* 800993F4 00096354 41 82 01 2C */ beq lbl_80099520 /* 800993F8 00096358 80 7F 01 E4 */ lwz r3, 0x1e4(r31) /* 800993FC 0009635C 80 03 00 08 */ lwz r0, 8(r3) /* 80099400 00096360 2C 00 00 04 */ cmpwi r0, 4 /* 80099404 00096364 40 82 01 1C */ bne lbl_80099520 /* 80099408 00096368 80 83 00 0C */ lwz r4, 0xc(r3) /* 8009940C 0009636C 80 7F 00 A0 */ lwz r3, 0xa0(r31) /* 80099410 00096370 80 1E 08 CC */ lwz r0, 0x8cc(r30) /* 80099414 00096374 90 81 00 38 */ stw r4, 0x38(r1) /* 80099418 00096378 7C 03 00 00 */ cmpw r3, r0 /* 8009941C 0009637C C3 21 00 38 */ lfs f25, 0x38(r1) /* 80099420 00096380 40 82 00 4C */ bne lbl_8009946C /* 80099424 00096384 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80099428 00096388 80 1E 08 50 */ lwz r0, 0x850(r30) /* 8009942C 0009638C 7C 03 00 40 */ cmplw r3, r0 /* 80099430 00096390 40 82 00 3C */ bne lbl_8009946C /* 80099434 00096394 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) /* 80099438 00096398 C8 42 8B D8 */ lfd f2, lbl_805AA8F8@sda21(r2) /* 8009943C 0009639C EC 39 00 32 */ fmuls f1, f25, f0 /* 80099440 000963A0 48 2F B8 6D */ bl fmod /* 80099444 000963A4 FC 40 08 18 */ frsp f2, f1 /* 80099448 000963A8 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) /* 8009944C 000963AC C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) /* 80099450 000963B0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80099454 000963B4 40 80 00 08 */ bge lbl_8009945C /* 80099458 000963B8 48 00 00 0C */ b lbl_80099464 lbl_8009945C: /* 8009945C 000963BC C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099460 000963C0 EC 40 10 28 */ fsubs f2, f0, f2 lbl_80099464: /* 80099464 000963C4 EF 41 00 B2 */ fmuls f26, f1, f2 /* 80099468 000963C8 48 00 00 B8 */ b lbl_80099520 lbl_8009946C: /* 8009946C 000963CC 83 5F 01 FC */ lwz r26, 0x1fc(r31) /* 80099470 000963D0 48 00 00 A4 */ b lbl_80099514 lbl_80099474: /* 80099474 000963D4 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80099478 000963D8 81 83 00 00 */ lwz r12, 0(r3) /* 8009947C 000963DC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80099480 000963E0 7D 89 03 A6 */ mtctr r12 /* 80099484 000963E4 4E 80 04 21 */ bctrl /* 80099488 000963E8 80 1A 00 10 */ lwz r0, 0x10(r26) /* 8009948C 000963EC 7C 00 18 40 */ cmplw r0, r3 /* 80099490 000963F0 40 82 00 80 */ bne lbl_80099510 /* 80099494 000963F4 80 7A 00 14 */ lwz r3, 0x14(r26) /* 80099498 000963F8 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 8009949C 000963FC 7C 03 00 00 */ cmpw r3, r0 /* 800994A0 00096400 40 82 00 70 */ bne lbl_80099510 /* 800994A4 00096404 C0 42 8B 70 */ lfs f2, lbl_805AA890@sda21(r2) /* 800994A8 00096408 C0 0D 85 D8 */ lfs f0, lbl_805A7198@sda21(r13) /* 800994AC 0009640C EC 39 10 28 */ fsubs f1, f25, f2 /* 800994B0 00096410 EC 21 10 24 */ fdivs f1, f1, f2 /* 800994B4 00096414 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800994B8 00096418 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 800994BC 0009641C 40 80 00 0C */ bge lbl_800994C8 /* 800994C0 00096420 38 61 00 2C */ addi r3, r1, 0x2c /* 800994C4 00096424 48 00 00 08 */ b lbl_800994CC lbl_800994C8: /* 800994C8 00096428 38 6D 85 D8 */ addi r3, r13, lbl_805A7198@sda21 lbl_800994CC: /* 800994CC 0009642C C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) /* 800994D0 00096430 C0 23 00 00 */ lfs f1, 0(r3) /* 800994D4 00096434 C0 02 8B E0 */ lfs f0, lbl_805AA900@sda21(r2) /* 800994D8 00096438 EC 22 08 28 */ fsubs f1, f2, f1 /* 800994DC 0009643C C8 42 8B D8 */ lfd f2, lbl_805AA8F8@sda21(r2) /* 800994E0 00096440 EC 21 00 32 */ fmuls f1, f1, f0 /* 800994E4 00096444 48 2F B7 C9 */ bl fmod /* 800994E8 00096448 FC 40 08 18 */ frsp f2, f1 /* 800994EC 0009644C C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) /* 800994F0 00096450 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) /* 800994F4 00096454 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 800994F8 00096458 40 80 00 08 */ bge lbl_80099500 /* 800994FC 0009645C 48 00 00 0C */ b lbl_80099508 lbl_80099500: /* 80099500 00096460 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099504 00096464 EC 40 10 28 */ fsubs f2, f0, f2 lbl_80099508: /* 80099508 00096468 EF 41 00 B2 */ fmuls f26, f1, f2 /* 8009950C 0009646C 48 00 00 14 */ b lbl_80099520 lbl_80099510: /* 80099510 00096470 83 5A 00 04 */ lwz r26, 4(r26) lbl_80099514: /* 80099514 00096474 80 1F 02 00 */ lwz r0, 0x200(r31) /* 80099518 00096478 7C 1A 00 40 */ cmplw r26, r0 /* 8009951C 0009647C 40 82 FF 58 */ bne lbl_80099474 lbl_80099520: /* 80099520 00096480 83 5F 00 A0 */ lwz r26, 0xa0(r31) /* 80099524 00096484 7F A5 EB 78 */ mr r5, r29 /* 80099528 00096488 38 61 05 08 */ addi r3, r1, 0x508 /* 8009952C 0009648C 38 81 07 54 */ addi r4, r1, 0x754 /* 80099530 00096490 48 27 94 21 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099534 00096494 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80099538 00096498 FC A0 D8 90 */ fmr f5, f27 /* 8009953C 0009649C FD 00 D0 90 */ fmr f8, f26 /* 80099540 000964A0 C0 C2 8B 90 */ lfs f6, lbl_805AA8B0@sda21(r2) /* 80099544 000964A4 D0 01 00 08 */ stfs f0, 8(r1) /* 80099548 000964A8 7F C4 F3 78 */ mr r4, r30 /* 8009954C 000964AC 7F 88 E3 78 */ mr r8, r28 /* 80099550 000964B0 C0 1F 00 DC */ lfs f0, 0xdc(r31) /* 80099554 000964B4 C0 5F 00 E0 */ lfs f2, 0xe0(r31) /* 80099558 000964B8 38 61 05 38 */ addi r3, r1, 0x538 /* 8009955C 000964BC C0 7F 00 E4 */ lfs f3, 0xe4(r31) /* 80099560 000964C0 EC 20 07 72 */ fmuls f1, f0, f29 /* 80099564 000964C4 C0 1F 00 E8 */ lfs f0, 0xe8(r31) /* 80099568 000964C8 EC 42 07 72 */ fmuls f2, f2, f29 /* 8009956C 000964CC EC 63 07 72 */ fmuls f3, f3, f29 /* 80099570 000964D0 80 FF 00 24 */ lwz r7, 0x24(r31) /* 80099574 000964D4 EC 80 07 72 */ fmuls f4, f0, f29 /* 80099578 000964D8 C0 FF 01 DC */ lfs f7, 0x1dc(r31) /* 8009957C 000964DC 38 A1 05 08 */ addi r5, r1, 0x508 /* 80099580 000964E0 38 C1 07 E4 */ addi r6, r1, 0x7e4 /* 80099584 000964E4 39 20 00 01 */ li r9, 1 /* 80099588 000964E8 48 00 83 BD */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb /* 8009958C 000964EC C0 3F 00 D4 */ lfs f1, 0xd4(r31) /* 80099590 000964F0 7C 64 1B 78 */ mr r4, r3 /* 80099594 000964F4 C0 5F 00 D8 */ lfs f2, 0xd8(r31) /* 80099598 000964F8 7F 63 DB 78 */ mr r3, r27 /* 8009959C 000964FC 7F 45 D3 78 */ mr r5, r26 /* 800995A0 00096500 7F 46 D3 78 */ mr r6, r26 /* 800995A4 00096504 38 E0 00 01 */ li r7, 1 /* 800995A8 00096508 48 00 75 B1 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb /* 800995AC 0009650C 48 00 01 D0 */ b lbl_8009977C lbl_800995B0: /* 800995B0 00096510 7F E3 FB 78 */ mr r3, r31 /* 800995B4 00096514 38 80 00 00 */ li r4, 0 /* 800995B8 00096518 4B FF C7 6D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 800995BC 0009651C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800995C0 00096520 41 82 00 D8 */ beq lbl_80099698 /* 800995C4 00096524 80 7F 00 24 */ lwz r3, 0x24(r31) /* 800995C8 00096528 81 83 00 00 */ lwz r12, 0(r3) /* 800995CC 0009652C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 800995D0 00096530 7D 89 03 A6 */ mtctr r12 /* 800995D4 00096534 4E 80 04 21 */ bctrl /* 800995D8 00096538 7C 60 1B 78 */ mr r0, r3 /* 800995DC 0009653C 80 7F 00 24 */ lwz r3, 0x24(r31) /* 800995E0 00096540 7C 1A 03 78 */ mr r26, r0 /* 800995E4 00096544 81 83 00 00 */ lwz r12, 0(r3) /* 800995E8 00096548 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800995EC 0009654C 7D 89 03 A6 */ mtctr r12 /* 800995F0 00096550 4E 80 04 21 */ bctrl /* 800995F4 00096554 7C 64 1B 78 */ mr r4, r3 /* 800995F8 00096558 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800995FC 0009655C 48 13 A3 DD */ bl StateForWorld__10CGameStateFUi /* 80099600 00096560 7C 64 1B 78 */ mr r4, r3 /* 80099604 00096564 38 61 00 28 */ addi r3, r1, 0x28 /* 80099608 00096568 48 13 B7 5D */ bl GetMapWorldInfo__11CWorldStateCFv /* 8009960C 0009656C 80 81 00 28 */ lwz r4, 0x28(r1) /* 80099610 00096570 38 61 00 28 */ addi r3, r1, 0x28 /* 80099614 00096574 83 64 00 00 */ lwz r27, 0(r4) /* 80099618 00096578 4B F6 F6 25 */ bl sub_80008c3c /* 8009961C 0009657C C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80099620 00096580 FC A0 D8 90 */ fmr f5, f27 /* 80099624 00096584 C0 E2 8B A8 */ lfs f7, lbl_805AA8C8@sda21(r2) /* 80099628 00096588 7F C4 F3 78 */ mr r4, r30 /* 8009962C 0009658C D0 01 00 08 */ stfs f0, 8(r1) /* 80099630 00096590 7F 68 DB 78 */ mr r8, r27 /* 80099634 00096594 FD 00 38 90 */ fmr f8, f7 /* 80099638 00096598 C0 3F 00 DC */ lfs f1, 0xdc(r31) /* 8009963C 0009659C 38 61 04 CC */ addi r3, r1, 0x4cc /* 80099640 000965A0 C0 5F 00 E0 */ lfs f2, 0xe0(r31) /* 80099644 000965A4 38 A1 07 54 */ addi r5, r1, 0x754 /* 80099648 000965A8 C0 7F 00 E4 */ lfs f3, 0xe4(r31) /* 8009964C 000965AC C0 1F 00 E8 */ lfs f0, 0xe8(r31) /* 80099650 000965B0 EC 21 07 72 */ fmuls f1, f1, f29 /* 80099654 000965B4 EC 42 07 72 */ fmuls f2, f2, f29 /* 80099658 000965B8 C0 C2 8B 80 */ lfs f6, lbl_805AA8A0@sda21(r2) /* 8009965C 000965BC EC 63 07 72 */ fmuls f3, f3, f29 /* 80099660 000965C0 80 FF 00 24 */ lwz r7, 0x24(r31) /* 80099664 000965C4 EC 80 07 72 */ fmuls f4, f0, f29 /* 80099668 000965C8 38 C1 07 E4 */ addi r6, r1, 0x7e4 /* 8009966C 000965CC 39 20 00 00 */ li r9, 0 /* 80099670 000965D0 48 00 82 D5 */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb /* 80099674 000965D4 80 BF 00 A0 */ lwz r5, 0xa0(r31) /* 80099678 000965D8 7C 64 1B 78 */ mr r4, r3 /* 8009967C 000965DC 80 DF 00 A4 */ lwz r6, 0xa4(r31) /* 80099680 000965E0 7F 43 D3 78 */ mr r3, r26 /* 80099684 000965E4 C0 3F 00 D4 */ lfs f1, 0xd4(r31) /* 80099688 000965E8 38 E0 00 00 */ li r7, 0 /* 8009968C 000965EC C0 5F 00 D8 */ lfs f2, 0xd8(r31) /* 80099690 000965F0 48 00 74 C9 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb /* 80099694 000965F4 48 00 00 E8 */ b lbl_8009977C lbl_80099698: /* 80099698 000965F8 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8009969C 000965FC 81 83 00 00 */ lwz r12, 0(r3) /* 800996A0 00096600 81 8C 00 18 */ lwz r12, 0x18(r12) /* 800996A4 00096604 7D 89 03 A6 */ mtctr r12 /* 800996A8 00096608 4E 80 04 21 */ bctrl /* 800996AC 0009660C 7C 60 1B 78 */ mr r0, r3 /* 800996B0 00096610 80 7F 00 24 */ lwz r3, 0x24(r31) /* 800996B4 00096614 7C 1C 03 78 */ mr r28, r0 /* 800996B8 00096618 81 83 00 00 */ lwz r12, 0(r3) /* 800996BC 0009661C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800996C0 00096620 7D 89 03 A6 */ mtctr r12 /* 800996C4 00096624 4E 80 04 21 */ bctrl /* 800996C8 00096628 7C 64 1B 78 */ mr r4, r3 /* 800996CC 0009662C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800996D0 00096630 48 13 A3 09 */ bl StateForWorld__10CGameStateFUi /* 800996D4 00096634 7C 64 1B 78 */ mr r4, r3 /* 800996D8 00096638 38 61 00 24 */ addi r3, r1, 0x24 /* 800996DC 0009663C 48 13 B6 89 */ bl GetMapWorldInfo__11CWorldStateCFv /* 800996E0 00096640 80 81 00 24 */ lwz r4, 0x24(r1) /* 800996E4 00096644 38 61 00 24 */ addi r3, r1, 0x24 /* 800996E8 00096648 83 64 00 00 */ lwz r27, 0(r4) /* 800996EC 0009664C 4B F6 F5 51 */ bl sub_80008c3c /* 800996F0 00096650 83 5F 00 A0 */ lwz r26, 0xa0(r31) /* 800996F4 00096654 7F A5 EB 78 */ mr r5, r29 /* 800996F8 00096658 38 61 04 60 */ addi r3, r1, 0x460 /* 800996FC 0009665C 38 81 07 54 */ addi r4, r1, 0x754 /* 80099700 00096660 48 27 92 51 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099704 00096664 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80099708 00096668 FC A0 D8 90 */ fmr f5, f27 /* 8009970C 0009666C C0 E2 8B A8 */ lfs f7, lbl_805AA8C8@sda21(r2) /* 80099710 00096670 7F C4 F3 78 */ mr r4, r30 /* 80099714 00096674 D0 01 00 08 */ stfs f0, 8(r1) /* 80099718 00096678 7F 68 DB 78 */ mr r8, r27 /* 8009971C 0009667C FD 00 38 90 */ fmr f8, f7 /* 80099720 00096680 C0 3F 00 DC */ lfs f1, 0xdc(r31) /* 80099724 00096684 38 61 04 90 */ addi r3, r1, 0x490 /* 80099728 00096688 C0 5F 00 E0 */ lfs f2, 0xe0(r31) /* 8009972C 0009668C 38 A1 04 60 */ addi r5, r1, 0x460 /* 80099730 00096690 C0 7F 00 E4 */ lfs f3, 0xe4(r31) /* 80099734 00096694 C0 1F 00 E8 */ lfs f0, 0xe8(r31) /* 80099738 00096698 EC 21 07 72 */ fmuls f1, f1, f29 /* 8009973C 0009669C EC 42 07 72 */ fmuls f2, f2, f29 /* 80099740 000966A0 C0 C2 8B 90 */ lfs f6, lbl_805AA8B0@sda21(r2) /* 80099744 000966A4 EC 63 07 72 */ fmuls f3, f3, f29 /* 80099748 000966A8 80 FF 00 24 */ lwz r7, 0x24(r31) /* 8009974C 000966AC EC 80 07 72 */ fmuls f4, f0, f29 /* 80099750 000966B0 38 C1 07 E4 */ addi r6, r1, 0x7e4 /* 80099754 000966B4 39 20 00 01 */ li r9, 1 /* 80099758 000966B8 48 00 81 ED */ bl __ct__Q29CMapWorld18CMapWorldDrawParmsFfffffRC13CStateManagerRC12CTransform4fRC12CTransform4fRC6IWorldRC13CMapWorldInfofb /* 8009975C 000966BC C0 3F 00 D4 */ lfs f1, 0xd4(r31) /* 80099760 000966C0 7C 64 1B 78 */ mr r4, r3 /* 80099764 000966C4 C0 5F 00 D8 */ lfs f2, 0xd8(r31) /* 80099768 000966C8 7F 83 E3 78 */ mr r3, r28 /* 8009976C 000966CC 7F 45 D3 78 */ mr r5, r26 /* 80099770 000966D0 7F 46 D3 78 */ mr r6, r26 /* 80099774 000966D4 38 E0 00 00 */ li r7, 0 /* 80099778 000966D8 48 00 73 E1 */ bl Draw__9CMapWorldCFRCQ29CMapWorld18CMapWorldDrawParmsiiffb lbl_8009977C: /* 8009977C 000966DC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80099780 000966E0 FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 80099784 000966E4 40 81 01 50 */ ble lbl_800998D4 /* 80099788 000966E8 83 5E 08 50 */ lwz r26, 0x850(r30) /* 8009978C 000966EC 83 9E 08 CC */ lwz r28, 0x8cc(r30) /* 80099790 000966F0 83 7F 00 10 */ lwz r27, 0x10(r31) /* 80099794 000966F4 7F 43 D3 78 */ mr r3, r26 /* 80099798 000966F8 4B FB DF 05 */ bl GetMapWorld__6CWorldCFv /* 8009979C 000966FC 7F 84 E3 78 */ mr r4, r28 /* 800997A0 00096700 48 00 7C 19 */ bl GetMapArea__9CMapWorldCFi /* 800997A4 00096704 7C 64 1B 78 */ mr r4, r3 /* 800997A8 00096708 7F 45 D3 78 */ mr r5, r26 /* 800997AC 0009670C 7F 86 E3 78 */ mr r6, r28 /* 800997B0 00096710 38 61 04 30 */ addi r3, r1, 0x430 /* 800997B4 00096714 4B FE 6C B5 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId /* 800997B8 00096718 38 61 07 24 */ addi r3, r1, 0x724 /* 800997BC 0009671C 38 81 04 30 */ addi r4, r1, 0x430 /* 800997C0 00096720 48 27 93 B5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800997C4 00096724 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800997C8 00096728 48 13 A2 09 */ bl CurrentWorldAssetId__10CGameStateCFv /* 800997CC 0009672C 7C 64 1B 78 */ mr r4, r3 /* 800997D0 00096730 7F 63 DB 78 */ mr r3, r27 /* 800997D4 00096734 48 16 87 95 */ bl GetMapWorldDataByWorldId__12CMapUniverseFUi /* 800997D8 00096738 7C 7C 1B 78 */ mr r28, r3 /* 800997DC 0009673C 38 61 04 00 */ addi r3, r1, 0x400 /* 800997E0 00096740 38 9C 00 14 */ addi r4, r28, 0x14 /* 800997E4 00096744 38 A1 07 24 */ addi r5, r1, 0x724 /* 800997E8 00096748 48 27 91 69 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 800997EC 0009674C 38 61 06 F4 */ addi r3, r1, 0x6f4 /* 800997F0 00096750 38 81 04 00 */ addi r4, r1, 0x400 /* 800997F4 00096754 48 27 93 81 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800997F8 00096758 C3 22 8B E4 */ lfs f25, lbl_805AA904@sda21(r2) /* 800997FC 0009675C 3B 20 FF FF */ li r25, -1 /* 80099800 00096760 3B 00 00 00 */ li r24, 0 /* 80099804 00096764 3B 40 00 00 */ li r26, 0 /* 80099808 00096768 48 00 00 74 */ b lbl_8009987C lbl_8009980C: /* 8009980C 0009676C 80 1C 00 50 */ lwz r0, 0x50(r28) /* 80099810 00096770 38 61 00 EC */ addi r3, r1, 0xec /* 80099814 00096774 C0 61 07 00 */ lfs f3, 0x700(r1) /* 80099818 00096778 7C 80 D2 14 */ add r4, r0, r26 /* 8009981C 0009677C C0 41 07 10 */ lfs f2, 0x710(r1) /* 80099820 00096780 C0 C4 00 1C */ lfs f6, 0x1c(r4) /* 80099824 00096784 C0 84 00 0C */ lfs f4, 0xc(r4) /* 80099828 00096788 C0 E4 00 2C */ lfs f7, 0x2c(r4) /* 8009982C 0009678C EC A2 30 28 */ fsubs f5, f2, f6 /* 80099830 00096790 C0 21 07 20 */ lfs f1, 0x720(r1) /* 80099834 00096794 EC 03 20 28 */ fsubs f0, f3, f4 /* 80099838 00096798 D0 81 00 D4 */ stfs f4, 0xd4(r1) /* 8009983C 0009679C EC 81 38 28 */ fsubs f4, f1, f7 /* 80099840 000967A0 D0 C1 00 D8 */ stfs f6, 0xd8(r1) /* 80099844 000967A4 D0 E1 00 DC */ stfs f7, 0xdc(r1) /* 80099848 000967A8 D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 8009984C 000967AC D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 80099850 000967B0 D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 80099854 000967B4 D0 01 00 EC */ stfs f0, 0xec(r1) /* 80099858 000967B8 D0 A1 00 F0 */ stfs f5, 0xf0(r1) /* 8009985C 000967BC D0 81 00 F4 */ stfs f4, 0xf4(r1) /* 80099860 000967C0 48 27 B0 59 */ bl Magnitude__9CVector3fCFv /* 80099864 000967C4 FC 01 C8 40 */ fcmpo cr0, f1, f25 /* 80099868 000967C8 40 80 00 0C */ bge lbl_80099874 /* 8009986C 000967CC 7F 19 C3 78 */ mr r25, r24 /* 80099870 000967D0 FF 20 08 90 */ fmr f25, f1 lbl_80099874: /* 80099874 000967D4 3B 5A 00 30 */ addi r26, r26, 0x30 /* 80099878 000967D8 3B 18 00 01 */ addi r24, r24, 1 lbl_8009987C: /* 8009987C 000967DC 80 1C 00 48 */ lwz r0, 0x48(r28) /* 80099880 000967E0 7C 18 00 00 */ cmpw r24, r0 /* 80099884 000967E4 41 80 FF 88 */ blt lbl_8009980C /* 80099888 000967E8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009988C 000967EC 48 13 A1 45 */ bl CurrentWorldAssetId__10CGameStateCFv /* 80099890 000967F0 FC 20 E0 90 */ fmr f1, f28 /* 80099894 000967F4 7C 65 1B 78 */ mr r5, r3 /* 80099898 000967F8 80 9F 00 9C */ lwz r4, 0x9c(r31) /* 8009989C 000967FC 7F 26 CB 78 */ mr r6, r25 /* 800998A0 00096800 C0 5F 01 DC */ lfs f2, 0x1dc(r31) /* 800998A4 00096804 7F C7 F3 78 */ mr r7, r30 /* 800998A8 00096808 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800998AC 0009680C 39 01 07 54 */ addi r8, r1, 0x754 /* 800998B0 00096810 39 21 07 E4 */ addi r9, r1, 0x7e4 /* 800998B4 00096814 48 16 96 1D */ bl sub_80202ed0 /* 800998B8 00096818 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 800998BC 0009681C 3C A0 80 5A */ lis r5, skZero3f@ha /* 800998C0 00096820 7C 64 1B 78 */ mr r4, r3 /* 800998C4 00096824 7F 63 DB 78 */ mr r3, r27 /* 800998C8 00096828 FC 40 08 90 */ fmr f2, f1 /* 800998CC 0009682C 38 A5 66 A0 */ addi r5, r5, skZero3f@l /* 800998D0 00096830 48 16 89 A5 */ bl Draw__12CMapUniverseCFRCQ212CMapUniverse21CMapUniverseDrawParmsRC9CVector3fff lbl_800998D4: /* 800998D4 00096834 7F E3 FB 78 */ mr r3, r31 /* 800998D8 00096838 38 80 00 02 */ li r4, 2 /* 800998DC 0009683C 4B FF C4 49 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 800998E0 00096840 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800998E4 00096844 40 82 05 58 */ bne lbl_80099E3C /* 800998E8 00096848 7F A5 EB 78 */ mr r5, r29 /* 800998EC 0009684C 38 61 03 D0 */ addi r3, r1, 0x3d0 /* 800998F0 00096850 38 81 07 54 */ addi r4, r1, 0x754 /* 800998F4 00096854 48 27 90 5D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 800998F8 00096858 38 61 06 C4 */ addi r3, r1, 0x6c4 /* 800998FC 0009685C 38 81 03 D0 */ addi r4, r1, 0x3d0 /* 80099900 00096860 48 27 92 75 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80099904 00096864 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80099908 00096868 80 1E 08 50 */ lwz r0, 0x850(r30) /* 8009990C 0009686C 7C 03 00 40 */ cmplw r3, r0 /* 80099910 00096870 40 82 02 68 */ bne lbl_80099B78 /* 80099914 00096874 48 27 05 CD */ bl GetSecondsMod900__9CGraphicsFv /* 80099918 00096878 C0 42 8B E8 */ lfs f2, lbl_805AA908@sda21(r2) /* 8009991C 0009687C C0 02 8B 74 */ lfs f0, lbl_805AA894@sda21(r2) /* 80099920 00096880 EC 22 00 78 */ fmsubs f1, f2, f1, f0 /* 80099924 00096884 48 27 B4 CD */ bl FastSinR__5CMathFf /* 80099928 00096888 C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) /* 8009992C 0009688C 38 81 00 20 */ addi r4, r1, 0x20 /* 80099930 00096890 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) /* 80099934 00096894 38 6D 85 DC */ addi r3, r13, lbl_805A719C@sda21 /* 80099938 00096898 EC 22 08 2A */ fadds f1, f2, f1 /* 8009993C 0009689C 38 AD 85 E0 */ addi r5, r13, lbl_805A71A0@sda21 /* 80099940 000968A0 EC 00 00 72 */ fmuls f0, f0, f1 /* 80099944 000968A4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80099948 000968A8 4B F7 29 6D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8009994C 000968AC 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 80099950 000968B0 C0 42 8B EC */ lfs f2, lbl_805AA90C@sda21(r2) /* 80099954 000968B4 C0 04 00 10 */ lfs f0, 0x10(r4) /* 80099958 000968B8 C0 24 00 0C */ lfs f1, 0xc(r4) /* 8009995C 000968BC EC 42 00 32 */ fmuls f2, f2, f0 /* 80099960 000968C0 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80099964 000968C4 C3 83 00 00 */ lfs f28, 0(r3) /* 80099968 000968C8 EC 22 08 24 */ fdivs f1, f2, f1 /* 8009996C 000968CC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80099970 000968D0 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 80099974 000968D4 40 80 00 0C */ bge lbl_80099980 /* 80099978 000968D8 38 61 00 1C */ addi r3, r1, 0x1c /* 8009997C 000968DC 48 00 00 08 */ b lbl_80099984 lbl_80099980: /* 80099980 000968E0 38 61 00 3C */ addi r3, r1, 0x3c lbl_80099984: /* 80099984 000968E4 C3 43 00 00 */ lfs f26, 0(r3) /* 80099988 000968E8 7F C5 F3 78 */ mr r5, r30 /* 8009998C 000968EC 80 9E 08 70 */ lwz r4, 0x870(r30) /* 80099990 000968F0 38 61 03 A0 */ addi r3, r1, 0x3a0 /* 80099994 000968F4 4B F7 0F D5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 80099998 000968F8 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8009999C 000968FC 38 81 03 A0 */ addi r4, r1, 0x3a0 /* 800999A0 00096900 4B F8 1E 61 */ bl sub_8001b800 /* 800999A4 00096904 C0 81 00 D0 */ lfs f4, 0xd0(r1) /* 800999A8 00096908 3C 00 43 30 */ lis r0, 0x4330 /* 800999AC 0009690C C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) /* 800999B0 00096910 90 01 08 18 */ stw r0, 0x818(r1) /* 800999B4 00096914 EC 44 00 32 */ fmuls f2, f4, f0 /* 800999B8 00096918 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) /* 800999BC 0009691C C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) /* 800999C0 00096920 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 800999C4 00096924 FC 40 10 1E */ fctiwz f2, f2 /* 800999C8 00096928 D8 41 08 20 */ stfd f2, 0x820(r1) /* 800999CC 0009692C 80 01 08 24 */ lwz r0, 0x824(r1) /* 800999D0 00096930 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 800999D4 00096934 90 01 08 1C */ stw r0, 0x81c(r1) /* 800999D8 00096938 C8 41 08 18 */ lfd f2, 0x818(r1) /* 800999DC 0009693C EC 42 18 28 */ fsubs f2, f2, f3 /* 800999E0 00096940 EF A2 20 7C */ fnmsubs f29, f2, f1, f4 /* 800999E4 00096944 FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 800999E8 00096948 40 80 00 08 */ bge lbl_800999F0 /* 800999EC 0009694C EF BD 08 2A */ fadds f29, f29, f1 lbl_800999F0: /* 800999F0 00096950 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 800999F4 00096954 80 7F 00 24 */ lwz r3, 0x24(r31) /* 800999F8 00096958 C0 44 00 60 */ lfs f2, 0x60(r4) /* 800999FC 0009695C C0 24 00 50 */ lfs f1, 0x50(r4) /* 80099A00 00096960 C0 04 00 40 */ lfs f0, 0x40(r4) /* 80099A04 00096964 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 80099A08 00096968 80 9E 08 CC */ lwz r4, 0x8cc(r30) /* 80099A0C 0009696C D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 80099A10 00096970 D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 80099A14 00096974 4B FE 69 E9 */ bl GetAreaPostTranslate__8CMapAreaFRC6IWorld7TAreaId /* 80099A18 00096978 C0 22 8B 6C */ lfs f1, lbl_805AA88C@sda21(r2) /* 80099A1C 0009697C C0 02 8B BC */ lfs f0, lbl_805AA8DC@sda21(r2) /* 80099A20 00096980 C0 A3 00 04 */ lfs f5, 4(r3) /* 80099A24 00096984 C0 61 00 B4 */ lfs f3, 0xb4(r1) /* 80099A28 00096988 EC 01 07 3A */ fmadds f0, f1, f28, f0 /* 80099A2C 0009698C C0 83 00 08 */ lfs f4, 8(r3) /* 80099A30 00096990 C0 43 00 00 */ lfs f2, 0(r3) /* 80099A34 00096994 EC A5 18 2A */ fadds f5, f5, f3 /* 80099A38 00096998 C0 61 00 B8 */ lfs f3, 0xb8(r1) /* 80099A3C 0009699C EC 3A 00 32 */ fmuls f1, f26, f0 /* 80099A40 000969A0 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 80099A44 000969A4 38 61 02 BC */ addi r3, r1, 0x2bc /* 80099A48 000969A8 EC 64 18 2A */ fadds f3, f4, f3 /* 80099A4C 000969AC EC 02 00 2A */ fadds f0, f2, f0 /* 80099A50 000969B0 D0 A1 00 C0 */ stfs f5, 0xc0(r1) /* 80099A54 000969B4 D0 61 00 C4 */ stfs f3, 0xc4(r1) /* 80099A58 000969B8 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 80099A5C 000969BC D3 A1 00 18 */ stfs f29, 0x18(r1) /* 80099A60 000969C0 48 27 97 E1 */ bl Scale__12CTransform4fFf /* 80099A64 000969C4 38 61 02 EC */ addi r3, r1, 0x2ec /* 80099A68 000969C8 38 81 00 18 */ addi r4, r1, 0x18 /* 80099A6C 000969CC 48 27 69 9D */ bl RotateZ__9CMatrix3fFRC9CRelAngle /* 80099A70 000969D0 38 61 03 10 */ addi r3, r1, 0x310 /* 80099A74 000969D4 38 81 02 EC */ addi r4, r1, 0x2ec /* 80099A78 000969D8 38 A1 00 BC */ addi r5, r1, 0xbc /* 80099A7C 000969DC 48 27 97 FD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80099A80 000969E0 7C 65 1B 78 */ mr r5, r3 /* 80099A84 000969E4 38 61 03 40 */ addi r3, r1, 0x340 /* 80099A88 000969E8 38 81 06 C4 */ addi r4, r1, 0x6c4 /* 80099A8C 000969EC 48 27 8E C5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099A90 000969F0 38 61 03 70 */ addi r3, r1, 0x370 /* 80099A94 000969F4 38 81 03 40 */ addi r4, r1, 0x340 /* 80099A98 000969F8 38 A1 02 BC */ addi r5, r1, 0x2bc /* 80099A9C 000969FC 48 27 8E B5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099AA0 00096A00 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80099AA4 00096A04 38 81 03 70 */ addi r4, r1, 0x370 /* 80099AA8 00096A08 81 83 00 00 */ lwz r12, 0(r3) /* 80099AAC 00096A0C 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80099AB0 00096A10 7D 89 03 A6 */ mtctr r12 /* 80099AB4 00096A14 4E 80 04 21 */ bctrl /* 80099AB8 00096A18 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 80099ABC 00096A1C 38 80 00 00 */ li r4, 0 /* 80099AC0 00096A20 80 7F 00 38 */ lwz r3, 0x38(r31) /* 80099AC4 00096A24 2C 00 00 00 */ cmpwi r0, 0 /* 80099AC8 00096A28 41 82 00 14 */ beq lbl_80099ADC /* 80099ACC 00096A2C 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 80099AD0 00096A30 2C 00 00 00 */ cmpwi r0, 0 /* 80099AD4 00096A34 41 82 00 08 */ beq lbl_80099ADC /* 80099AD8 00096A38 38 80 00 01 */ li r4, 1 lbl_80099ADC: /* 80099ADC 00096A3C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80099AE0 00096A40 41 82 00 0C */ beq lbl_80099AEC /* 80099AE4 00096A44 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099AE8 00096A48 48 00 00 08 */ b lbl_80099AF0 lbl_80099AEC: /* 80099AEC 00096A4C C0 1F 00 DC */ lfs f0, 0xdc(r31) lbl_80099AF0: /* 80099AF0 00096A50 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) /* 80099AF4 00096A54 3C 00 43 30 */ lis r0, 0x4330 /* 80099AF8 00096A58 90 01 08 28 */ stw r0, 0x828(r1) /* 80099AFC 00096A5C EC 40 06 F2 */ fmuls f2, f0, f27 /* 80099B00 00096A60 88 06 00 F3 */ lbz r0, 0xf3(r6) /* 80099B04 00096A64 C8 22 8C 00 */ lfd f1, lbl_805AA920@sda21(r2) /* 80099B08 00096A68 90 01 08 2C */ stw r0, 0x82c(r1) /* 80099B0C 00096A6C C8 01 08 28 */ lfd f0, 0x828(r1) /* 80099B10 00096A70 EC 00 08 28 */ fsubs f0, f0, f1 /* 80099B14 00096A74 EF E2 00 32 */ fmuls f31, f2, f0 /* 80099B18 00096A78 F3 E1 A0 11 */ psq_st f31, 17(r1), 1, qr2 /* 80099B1C 00096A7C 38 80 00 03 */ li r4, 3 /* 80099B20 00096A80 60 85 00 08 */ ori r5, r4, 8 /* 80099B24 00096A84 81 06 00 F0 */ lwz r8, 0xf0(r6) /* 80099B28 00096A88 89 21 00 11 */ lbz r9, 0x11(r1) /* 80099B2C 00096A8C 54 A0 04 3A */ rlwinm r0, r5, 0, 0x10, 0x1d /* 80099B30 00096A90 38 E0 00 05 */ li r7, 5 /* 80099B34 00096A94 38 C0 00 00 */ li r6, 0 /* 80099B38 00096A98 51 09 00 2E */ rlwimi r9, r8, 0, 0, 0x17 /* 80099B3C 00096A9C 60 00 00 01 */ ori r0, r0, 1 /* 80099B40 00096AA0 B0 81 00 42 */ sth r4, 0x42(r1) /* 80099B44 00096AA4 38 81 00 50 */ addi r4, r1, 0x50 /* 80099B48 00096AA8 98 E1 00 40 */ stb r7, 0x40(r1) /* 80099B4C 00096AAC 98 C1 00 41 */ stb r6, 0x41(r1) /* 80099B50 00096AB0 91 21 00 44 */ stw r9, 0x44(r1) /* 80099B54 00096AB4 98 E1 00 48 */ stb r7, 0x48(r1) /* 80099B58 00096AB8 98 C1 00 49 */ stb r6, 0x49(r1) /* 80099B5C 00096ABC B0 A1 00 4A */ sth r5, 0x4a(r1) /* 80099B60 00096AC0 91 21 00 4C */ stw r9, 0x4c(r1) /* 80099B64 00096AC4 98 E1 00 50 */ stb r7, 0x50(r1) /* 80099B68 00096AC8 98 C1 00 51 */ stb r6, 0x51(r1) /* 80099B6C 00096ACC B0 01 00 52 */ sth r0, 0x52(r1) /* 80099B70 00096AD0 91 21 00 54 */ stw r9, 0x54(r1) /* 80099B74 00096AD4 48 2B C0 61 */ bl Draw__6CModelCFRC11CModelFlags lbl_80099B78: /* 80099B78 00096AD8 7F E3 FB 78 */ mr r3, r31 /* 80099B7C 00096ADC 38 80 00 01 */ li r4, 1 /* 80099B80 00096AE0 4B FF C1 A5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 80099B84 00096AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80099B88 00096AE8 41 82 02 B4 */ beq lbl_80099E3C /* 80099B8C 00096AEC 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80099B90 00096AF0 81 83 00 00 */ lwz r12, 0(r3) /* 80099B94 00096AF4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80099B98 00096AF8 7D 89 03 A6 */ mtctr r12 /* 80099B9C 00096AFC 4E 80 04 21 */ bctrl /* 80099BA0 00096B00 7C 7D 1B 78 */ mr r29, r3 /* 80099BA4 00096B04 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80099BA8 00096B08 81 83 00 00 */ lwz r12, 0(r3) /* 80099BAC 00096B0C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80099BB0 00096B10 7D 89 03 A6 */ mtctr r12 /* 80099BB4 00096B14 4E 80 04 21 */ bctrl /* 80099BB8 00096B18 83 9F 01 FC */ lwz r28, 0x1fc(r31) /* 80099BBC 00096B1C 7C 7B 1B 78 */ mr r27, r3 /* 80099BC0 00096B20 48 00 02 70 */ b lbl_80099E30 lbl_80099BC4: /* 80099BC4 00096B24 80 1C 00 10 */ lwz r0, 0x10(r28) /* 80099BC8 00096B28 7C 00 E8 40 */ cmplw r0, r29 /* 80099BCC 00096B2C 40 82 02 60 */ bne lbl_80099E2C /* 80099BD0 00096B30 80 9C 00 14 */ lwz r4, 0x14(r28) /* 80099BD4 00096B34 7F 63 DB 78 */ mr r3, r27 /* 80099BD8 00096B38 48 00 77 E1 */ bl GetMapArea__9CMapWorldCFi /* 80099BDC 00096B3C 7C 78 1B 79 */ or. r24, r3, r3 /* 80099BE0 00096B40 41 82 02 4C */ beq lbl_80099E2C /* 80099BE4 00096B44 38 61 02 98 */ addi r3, r1, 0x298 /* 80099BE8 00096B48 38 81 07 E4 */ addi r4, r1, 0x7e4 /* 80099BEC 00096B4C 48 27 95 09 */ bl BuildMatrix3f__12CTransform4fCFv /* 80099BF0 00096B50 3C 80 80 5A */ lis r4, skZero3f@ha /* 80099BF4 00096B54 38 61 06 94 */ addi r3, r1, 0x694 /* 80099BF8 00096B58 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 80099BFC 00096B5C 38 81 02 98 */ addi r4, r1, 0x298 /* 80099C00 00096B60 48 27 96 79 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80099C04 00096B64 80 BF 00 24 */ lwz r5, 0x24(r31) /* 80099C08 00096B68 7F 04 C3 78 */ mr r4, r24 /* 80099C0C 00096B6C 80 DC 00 14 */ lwz r6, 0x14(r28) /* 80099C10 00096B70 38 61 01 78 */ addi r3, r1, 0x178 /* 80099C14 00096B74 4B FE 68 55 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId /* 80099C18 00096B78 C0 41 01 A4 */ lfs f2, 0x1a4(r1) /* 80099C1C 00096B7C 38 61 01 18 */ addi r3, r1, 0x118 /* 80099C20 00096B80 C0 21 01 94 */ lfs f1, 0x194(r1) /* 80099C24 00096B84 C0 01 01 84 */ lfs f0, 0x184(r1) /* 80099C28 00096B88 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 80099C2C 00096B8C C0 21 00 3C */ lfs f1, 0x3c(r1) /* 80099C30 00096B90 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 80099C34 00096B94 D0 41 00 AC */ stfs f2, 0xac(r1) /* 80099C38 00096B98 48 27 96 09 */ bl Scale__12CTransform4fFf /* 80099C3C 00096B9C 7F 04 C3 78 */ mr r4, r24 /* 80099C40 00096BA0 38 61 00 98 */ addi r3, r1, 0x98 /* 80099C44 00096BA4 4B FE 70 B9 */ bl GetAreaCenterPoint__8CMapAreaCFv /* 80099C48 00096BA8 38 61 01 48 */ addi r3, r1, 0x148 /* 80099C4C 00096BAC 38 81 00 98 */ addi r4, r1, 0x98 /* 80099C50 00096BB0 48 27 94 F1 */ bl Translate__12CTransform4fFRC9CVector3f /* 80099C54 00096BB4 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 80099C58 00096BB8 38 81 00 A4 */ addi r4, r1, 0xa4 /* 80099C5C 00096BBC 48 27 94 E5 */ bl Translate__12CTransform4fFRC9CVector3f /* 80099C60 00096BC0 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 80099C64 00096BC4 38 81 06 C4 */ addi r4, r1, 0x6c4 /* 80099C68 00096BC8 38 A1 01 A8 */ addi r5, r1, 0x1a8 /* 80099C6C 00096BCC 48 27 8C E5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099C70 00096BD0 38 61 02 08 */ addi r3, r1, 0x208 /* 80099C74 00096BD4 38 81 01 D8 */ addi r4, r1, 0x1d8 /* 80099C78 00096BD8 38 A1 01 48 */ addi r5, r1, 0x148 /* 80099C7C 00096BDC 48 27 8C D5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099C80 00096BE0 38 61 02 38 */ addi r3, r1, 0x238 /* 80099C84 00096BE4 38 81 02 08 */ addi r4, r1, 0x208 /* 80099C88 00096BE8 38 A1 01 18 */ addi r5, r1, 0x118 /* 80099C8C 00096BEC 48 27 8C C5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099C90 00096BF0 38 61 02 68 */ addi r3, r1, 0x268 /* 80099C94 00096BF4 38 81 02 38 */ addi r4, r1, 0x238 /* 80099C98 00096BF8 38 A1 06 94 */ addi r5, r1, 0x694 /* 80099C9C 00096BFC 48 27 8C B5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80099CA0 00096C00 38 61 02 68 */ addi r3, r1, 0x268 /* 80099CA4 00096C04 48 27 29 3D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f /* 80099CA8 00096C08 80 1C 00 08 */ lwz r0, 8(r28) /* 80099CAC 00096C0C C3 22 8B A8 */ lfs f25, lbl_805AA8C8@sda21(r2) /* 80099CB0 00096C10 2C 00 00 01 */ cmpwi r0, 1 /* 80099CB4 00096C14 40 82 00 08 */ bne lbl_80099CBC /* 80099CB8 00096C18 C3 3C 00 0C */ lfs f25, 0xc(r28) lbl_80099CBC: /* 80099CBC 00096C1C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80099CC0 00096C20 FC 19 00 40 */ fcmpo cr0, f25, f0 /* 80099CC4 00096C24 40 81 01 68 */ ble lbl_80099E2C /* 80099CC8 00096C28 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha /* 80099CCC 00096C2C 38 60 00 00 */ li r3, 0 /* 80099CD0 00096C30 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l /* 80099CD4 00096C34 48 27 05 E5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 80099CD8 00096C38 80 7F 00 44 */ lwz r3, 0x44(r31) /* 80099CDC 00096C3C 38 80 00 00 */ li r4, 0 /* 80099CE0 00096C40 38 A0 00 01 */ li r5, 1 /* 80099CE4 00096C44 48 27 5A 59 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80099CE8 00096C48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80099CEC 00096C4C 81 83 00 00 */ lwz r12, 0(r3) /* 80099CF0 00096C50 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80099CF4 00096C54 7D 89 03 A6 */ mtctr r12 /* 80099CF8 00096C58 4E 80 04 21 */ bctrl /* 80099CFC 00096C5C 38 60 00 98 */ li r3, 0x98 /* 80099D00 00096C60 48 27 19 69 */ bl StreamBegin__9CGraphicsF13ERglPrimitive /* 80099D04 00096C64 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 80099D08 00096C68 38 60 00 00 */ li r3, 0 /* 80099D0C 00096C6C 2C 00 00 00 */ cmpwi r0, 0 /* 80099D10 00096C70 41 82 00 14 */ beq lbl_80099D24 /* 80099D14 00096C74 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 80099D18 00096C78 2C 00 00 00 */ cmpwi r0, 0 /* 80099D1C 00096C7C 41 82 00 08 */ beq lbl_80099D24 /* 80099D20 00096C80 38 60 00 01 */ li r3, 1 lbl_80099D24: /* 80099D24 00096C84 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80099D28 00096C88 41 82 00 0C */ beq lbl_80099D34 /* 80099D2C 00096C8C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099D30 00096C90 48 00 00 08 */ b lbl_80099D38 lbl_80099D34: /* 80099D34 00096C94 C0 1F 00 DC */ lfs f0, 0xdc(r31) lbl_80099D38: /* 80099D38 00096C98 EC 19 00 32 */ fmuls f0, f25, f0 /* 80099D3C 00096C9C 38 00 00 FF */ li r0, 0xff /* 80099D40 00096CA0 C0 22 8B F0 */ lfs f1, lbl_805AA910@sda21(r2) /* 80099D44 00096CA4 98 01 00 34 */ stb r0, 0x34(r1) /* 80099D48 00096CA8 EC 00 06 F2 */ fmuls f0, f0, f27 /* 80099D4C 00096CAC 98 01 00 35 */ stb r0, 0x35(r1) /* 80099D50 00096CB0 EF C1 00 32 */ fmuls f30, f1, f0 /* 80099D54 00096CB4 98 01 00 36 */ stb r0, 0x36(r1) /* 80099D58 00096CB8 98 01 00 37 */ stb r0, 0x37(r1) /* 80099D5C 00096CBC F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 /* 80099D60 00096CC0 38 61 00 14 */ addi r3, r1, 0x14 /* 80099D64 00096CC4 80 81 00 34 */ lwz r4, 0x34(r1) /* 80099D68 00096CC8 88 01 00 10 */ lbz r0, 0x10(r1) /* 80099D6C 00096CCC 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 /* 80099D70 00096CD0 90 01 00 14 */ stw r0, 0x14(r1) /* 80099D74 00096CD4 48 27 17 D5 */ bl StreamColor__9CGraphicsFRC6CColor /* 80099D78 00096CD8 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 80099D7C 00096CDC C0 42 8B 80 */ lfs f2, lbl_805AA8A0@sda21(r2) /* 80099D80 00096CE0 48 27 16 E5 */ bl StreamTexcoord__9CGraphicsFff /* 80099D84 00096CE4 C0 42 8B F4 */ lfs f2, lbl_805AA914@sda21(r2) /* 80099D88 00096CE8 38 61 00 8C */ addi r3, r1, 0x8c /* 80099D8C 00096CEC C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) /* 80099D90 00096CF0 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) /* 80099D94 00096CF4 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 80099D98 00096CF8 D0 21 00 90 */ stfs f1, 0x90(r1) /* 80099D9C 00096CFC D0 01 00 94 */ stfs f0, 0x94(r1) /* 80099DA0 00096D00 48 27 18 21 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80099DA4 00096D04 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 80099DA8 00096D08 FC 40 08 90 */ fmr f2, f1 /* 80099DAC 00096D0C 48 27 16 B9 */ bl StreamTexcoord__9CGraphicsFff /* 80099DB0 00096D10 C0 42 8B F4 */ lfs f2, lbl_805AA914@sda21(r2) /* 80099DB4 00096D14 38 61 00 80 */ addi r3, r1, 0x80 /* 80099DB8 00096D18 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) /* 80099DBC 00096D1C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80099DC0 00096D20 D0 41 00 80 */ stfs f2, 0x80(r1) /* 80099DC4 00096D24 D0 21 00 84 */ stfs f1, 0x84(r1) /* 80099DC8 00096D28 D0 01 00 88 */ stfs f0, 0x88(r1) /* 80099DCC 00096D2C 48 27 17 F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80099DD0 00096D30 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 80099DD4 00096D34 FC 40 08 90 */ fmr f2, f1 /* 80099DD8 00096D38 48 27 16 8D */ bl StreamTexcoord__9CGraphicsFff /* 80099DDC 00096D3C C0 42 8B E0 */ lfs f2, lbl_805AA900@sda21(r2) /* 80099DE0 00096D40 38 61 00 74 */ addi r3, r1, 0x74 /* 80099DE4 00096D44 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) /* 80099DE8 00096D48 C0 02 8B D4 */ lfs f0, lbl_805AA8F4@sda21(r2) /* 80099DEC 00096D4C D0 41 00 74 */ stfs f2, 0x74(r1) /* 80099DF0 00096D50 D0 21 00 78 */ stfs f1, 0x78(r1) /* 80099DF4 00096D54 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 80099DF8 00096D58 48 27 17 C9 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80099DFC 00096D5C C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 80099E00 00096D60 C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) /* 80099E04 00096D64 48 27 16 61 */ bl StreamTexcoord__9CGraphicsFff /* 80099E08 00096D68 C0 42 8B E0 */ lfs f2, lbl_805AA900@sda21(r2) /* 80099E0C 00096D6C 38 61 00 68 */ addi r3, r1, 0x68 /* 80099E10 00096D70 C0 22 8B F8 */ lfs f1, lbl_805AA918@sda21(r2) /* 80099E14 00096D74 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 80099E18 00096D78 D0 41 00 68 */ stfs f2, 0x68(r1) /* 80099E1C 00096D7C D0 21 00 6C */ stfs f1, 0x6c(r1) /* 80099E20 00096D80 D0 01 00 70 */ stfs f0, 0x70(r1) /* 80099E24 00096D84 48 27 17 9D */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80099E28 00096D88 48 27 15 E9 */ bl StreamEnd__9CGraphicsFv lbl_80099E2C: /* 80099E2C 00096D8C 83 9C 00 04 */ lwz r28, 4(r28) lbl_80099E30: /* 80099E30 00096D90 80 1F 02 00 */ lwz r0, 0x200(r31) /* 80099E34 00096D94 7C 1C 00 40 */ cmplw r28, r0 /* 80099E38 00096D98 40 82 FD 8C */ bne lbl_80099BC4 lbl_80099E3C: /* 80099E3C 00096D9C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80099E40 00096DA0 38 80 00 00 */ li r4, 0 /* 80099E44 00096DA4 38 A0 00 00 */ li r5, 0 /* 80099E48 00096DA8 81 83 00 00 */ lwz r12, 0(r3) /* 80099E4C 00096DAC 81 8C 00 60 */ lwz r12, 0x60(r12) /* 80099E50 00096DB0 7D 89 03 A6 */ mtctr r12 /* 80099E54 00096DB4 4E 80 04 21 */ bctrl /* 80099E58 00096DB8 48 2B 01 55 */ bl White__6CColorFv /* 80099E5C 00096DBC 7C 64 1B 78 */ mr r4, r3 /* 80099E60 00096DC0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80099E64 00096DC4 81 83 00 00 */ lwz r12, 0(r3) /* 80099E68 00096DC8 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 80099E6C 00096DCC 7D 89 03 A6 */ mtctr r12 /* 80099E70 00096DD0 4E 80 04 21 */ bctrl /* 80099E74 00096DD4 48 27 2B 09 */ bl DisableAllLights__9CGraphicsFv /* 80099E78 00096DD8 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 80099E7C 00096DDC 28 00 00 00 */ cmplwi r0, 0 /* 80099E80 00096DE0 41 82 00 C4 */ beq lbl_80099F44 /* 80099E84 00096DE4 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 80099E88 00096DE8 38 60 00 00 */ li r3, 0 /* 80099E8C 00096DEC 2C 00 00 00 */ cmpwi r0, 0 /* 80099E90 00096DF0 41 82 00 14 */ beq lbl_80099EA4 /* 80099E94 00096DF4 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 80099E98 00096DF8 2C 00 00 00 */ cmpwi r0, 0 /* 80099E9C 00096DFC 41 82 00 08 */ beq lbl_80099EA4 /* 80099EA0 00096E00 38 60 00 01 */ li r3, 1 lbl_80099EA4: /* 80099EA4 00096E04 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80099EA8 00096E08 41 82 00 0C */ beq lbl_80099EB4 /* 80099EAC 00096E0C C3 42 8B 80 */ lfs f26, lbl_805AA8A0@sda21(r2) /* 80099EB0 00096E10 48 00 00 4C */ b lbl_80099EFC lbl_80099EB4: /* 80099EB4 00096E14 80 1F 01 C0 */ lwz r0, 0x1c0(r31) /* 80099EB8 00096E18 2C 00 00 00 */ cmpwi r0, 0 /* 80099EBC 00096E1C 41 82 00 20 */ beq lbl_80099EDC /* 80099EC0 00096E20 C0 3F 01 C4 */ lfs f1, 0x1c4(r31) /* 80099EC4 00096E24 C3 42 8B A8 */ lfs f26, lbl_805AA8C8@sda21(r2) /* 80099EC8 00096E28 FC 01 D0 40 */ fcmpo cr0, f1, f26 /* 80099ECC 00096E2C 40 81 00 30 */ ble lbl_80099EFC /* 80099ED0 00096E30 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) /* 80099ED4 00096E34 EF 40 08 24 */ fdivs f26, f0, f1 /* 80099ED8 00096E38 48 00 00 24 */ b lbl_80099EFC lbl_80099EDC: /* 80099EDC 00096E3C C0 5F 01 C4 */ lfs f2, 0x1c4(r31) /* 80099EE0 00096E40 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 80099EE4 00096E44 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 80099EE8 00096E48 40 81 00 0C */ ble lbl_80099EF4 /* 80099EEC 00096E4C C0 1F 01 C8 */ lfs f0, 0x1c8(r31) /* 80099EF0 00096E50 EC 20 10 24 */ fdivs f1, f0, f2 lbl_80099EF4: /* 80099EF4 00096E54 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 80099EF8 00096E58 EF 40 08 28 */ fsubs f26, f0, f1 lbl_80099EFC: /* 80099EFC 00096E5C C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 80099F00 00096E60 FC 40 08 90 */ fmr f2, f1 /* 80099F04 00096E64 48 27 04 DD */ bl SetDepthRange__9CGraphicsFff /* 80099F08 00096E68 3C 60 80 5A */ lis r3, skZero3f@ha /* 80099F0C 00096E6C D3 41 00 58 */ stfs f26, 0x58(r1) /* 80099F10 00096E70 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 80099F14 00096E74 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80099F18 00096E78 C0 45 00 00 */ lfs f2, 0(r5) /* 80099F1C 00096E7C 38 81 00 58 */ addi r4, r1, 0x58 /* 80099F20 00096E80 C0 25 00 04 */ lfs f1, 4(r5) /* 80099F24 00096E84 C0 05 00 08 */ lfs f0, 8(r5) /* 80099F28 00096E88 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 80099F2C 00096E8C D0 21 00 60 */ stfs f1, 0x60(r1) /* 80099F30 00096E90 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80099F34 00096E94 48 22 88 01 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms /* 80099F38 00096E98 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 80099F3C 00096E9C C0 42 8B FC */ lfs f2, lbl_805AA91C@sda21(r2) /* 80099F40 00096EA0 48 27 04 A1 */ bl SetDepthRange__9CGraphicsFff lbl_80099F44: /* 80099F44 00096EA4 E3 E1 08 B8 */ psq_l f31, -1864(r1), 0, qr0 /* 80099F48 00096EA8 CB E1 08 B0 */ lfd f31, 0x8b0(r1) /* 80099F4C 00096EAC E3 C1 08 A8 */ psq_l f30, -1880(r1), 0, qr0 /* 80099F50 00096EB0 CB C1 08 A0 */ lfd f30, 0x8a0(r1) /* 80099F54 00096EB4 E3 A1 08 98 */ psq_l f29, -1896(r1), 0, qr0 /* 80099F58 00096EB8 CB A1 08 90 */ lfd f29, 0x890(r1) /* 80099F5C 00096EBC E3 81 08 88 */ psq_l f28, -1912(r1), 0, qr0 /* 80099F60 00096EC0 CB 81 08 80 */ lfd f28, 0x880(r1) /* 80099F64 00096EC4 E3 61 08 78 */ psq_l f27, -1928(r1), 0, qr0 /* 80099F68 00096EC8 CB 61 08 70 */ lfd f27, 0x870(r1) /* 80099F6C 00096ECC E3 41 08 68 */ psq_l f26, -1944(r1), 0, qr0 /* 80099F70 00096ED0 CB 41 08 60 */ lfd f26, 0x860(r1) /* 80099F74 00096ED4 E3 21 08 58 */ psq_l f25, -1960(r1), 0, qr0 /* 80099F78 00096ED8 CB 21 08 50 */ lfd f25, 0x850(r1) /* 80099F7C 00096EDC BB 01 08 30 */ lmw r24, 0x830(r1) /* 80099F80 00096EE0 80 01 08 C4 */ lwz r0, 0x8c4(r1) /* 80099F84 00096EE4 7C 08 03 A6 */ mtlr r0 /* 80099F88 00096EE8 38 21 08 C0 */ addi r1, r1, 0x8c0 /* 80099F8C 00096EEC 4E 80 00 20 */ blr .global ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: /* 80099F90 00096EF0 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 80099F94 00096EF4 7C 08 02 A6 */ mflr r0 /* 80099F98 00096EF8 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 80099F9C 00096EFC DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 80099FA0 00096F00 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 80099FA4 00096F04 DB C1 01 90 */ stfd f30, 0x190(r1) /* 80099FA8 00096F08 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 80099FAC 00096F0C DB A1 01 80 */ stfd f29, 0x180(r1) /* 80099FB0 00096F10 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 80099FB4 00096F14 DB 81 01 70 */ stfd f28, 0x170(r1) /* 80099FB8 00096F18 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 80099FBC 00096F1C DB 61 01 60 */ stfd f27, 0x160(r1) /* 80099FC0 00096F20 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 /* 80099FC4 00096F24 93 E1 01 5C */ stw r31, 0x15c(r1) /* 80099FC8 00096F28 93 C1 01 58 */ stw r30, 0x158(r1) /* 80099FCC 00096F2C 93 A1 01 54 */ stw r29, 0x154(r1) /* 80099FD0 00096F30 7C 7F 1B 78 */ mr r31, r3 /* 80099FD4 00096F34 7C 9D 23 78 */ mr r29, r4 /* 80099FD8 00096F38 7C BE 2B 78 */ mr r30, r5 /* 80099FDC 00096F3C 38 60 00 2A */ li r3, 0x2a /* 80099FE0 00096F40 4B F7 29 39 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 80099FE4 00096F44 FF 80 08 90 */ fmr f28, f1 /* 80099FE8 00096F48 7F A4 EB 78 */ mr r4, r29 /* 80099FEC 00096F4C 38 60 00 2B */ li r3, 0x2b /* 80099FF0 00096F50 4B F7 29 29 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 80099FF4 00096F54 FF A0 08 90 */ fmr f29, f1 /* 80099FF8 00096F58 7F A4 EB 78 */ mr r4, r29 /* 80099FFC 00096F5C 38 60 00 2C */ li r3, 0x2c /* 8009A000 00096F60 4B F7 29 19 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A004 00096F64 FF C0 08 90 */ fmr f30, f1 /* 8009A008 00096F68 7F A4 EB 78 */ mr r4, r29 /* 8009A00C 00096F6C 38 60 00 2D */ li r3, 0x2d /* 8009A010 00096F70 4B F7 29 09 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A014 00096F74 FF E0 08 90 */ fmr f31, f1 /* 8009A018 00096F78 38 61 01 00 */ addi r3, r1, 0x100 /* 8009A01C 00096F7C 38 9F 00 B0 */ addi r4, r31, 0xb0 /* 8009A020 00096F80 48 27 80 6D */ bl BuildTransform__11CQuaternionCFv /* 8009A024 00096F84 38 61 01 24 */ addi r3, r1, 0x124 /* 8009A028 00096F88 38 81 01 00 */ addi r4, r1, 0x100 /* 8009A02C 00096F8C 48 27 5F F9 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 8009A030 00096F90 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A034 00096F94 FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 8009A038 00096F98 41 81 00 1C */ bgt lbl_8009A054 /* 8009A03C 00096F9C FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 8009A040 00096FA0 41 81 00 14 */ bgt lbl_8009A054 /* 8009A044 00096FA4 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 8009A048 00096FA8 41 81 00 0C */ bgt lbl_8009A054 /* 8009A04C 00096FAC FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8009A050 00096FB0 40 81 02 A4 */ ble lbl_8009A2F4 lbl_8009A054: /* 8009A054 00096FB4 C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) /* 8009A058 00096FB8 7F E3 FB 78 */ mr r3, r31 /* 8009A05C 00096FBC C0 1D 00 00 */ lfs f0, 0(r29) /* 8009A060 00096FC0 EF 61 00 32 */ fmuls f27, f1, f0 /* 8009A064 00096FC4 4B FF BC E9 */ bl GetFinalMapScreenCameraMoveSpeed__11CAutoMapperCFv /* 8009A068 00096FC8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A06C 00096FCC 38 80 00 00 */ li r4, 0 /* 8009A070 00096FD0 FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 8009A074 00096FD4 40 81 00 08 */ ble lbl_8009A07C /* 8009A078 00096FD8 38 80 00 01 */ li r4, 1 lbl_8009A07C: /* 8009A07C 00096FDC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A080 00096FE0 FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 8009A084 00096FE4 40 81 00 08 */ ble lbl_8009A08C /* 8009A088 00096FE8 38 84 00 02 */ addi r4, r4, 2 lbl_8009A08C: /* 8009A08C 00096FEC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A090 00096FF0 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 8009A094 00096FF4 40 81 00 08 */ ble lbl_8009A09C /* 8009A098 00096FF8 38 84 00 04 */ addi r4, r4, 4 lbl_8009A09C: /* 8009A09C 00096FFC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A0A0 00097000 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8009A0A4 00097004 40 81 00 08 */ ble lbl_8009A0AC /* 8009A0A8 00097008 38 84 00 08 */ addi r4, r4, 8 lbl_8009A0AC: /* 8009A0AC 0009700C 28 04 00 0A */ cmplwi r4, 0xa /* 8009A0B0 00097010 41 81 00 78 */ bgt lbl_8009A128 /* 8009A0B4 00097014 3C 60 80 3E */ lis r3, lbl_803DAE7C@ha /* 8009A0B8 00097018 54 80 10 3A */ slwi r0, r4, 2 /* 8009A0BC 0009701C 38 63 AE 7C */ addi r3, r3, lbl_803DAE7C@l /* 8009A0C0 00097020 7C 03 00 2E */ lwzx r0, r3, r0 /* 8009A0C4 00097024 7C 09 03 A6 */ mtctr r0 /* 8009A0C8 00097028 4E 80 04 20 */ bctr .global lbl_8009A0CC lbl_8009A0CC: /* 8009A0CC 0009702C 38 00 00 01 */ li r0, 1 /* 8009A0D0 00097030 90 1F 02 E8 */ stw r0, 0x2e8(r31) /* 8009A0D4 00097034 48 00 00 54 */ b lbl_8009A128 .global lbl_8009A0D8 lbl_8009A0D8: /* 8009A0D8 00097038 38 00 00 05 */ li r0, 5 /* 8009A0DC 0009703C 90 1F 02 E8 */ stw r0, 0x2e8(r31) /* 8009A0E0 00097040 48 00 00 48 */ b lbl_8009A128 .global lbl_8009A0E4 lbl_8009A0E4: /* 8009A0E4 00097044 38 00 00 03 */ li r0, 3 /* 8009A0E8 00097048 90 1F 02 E8 */ stw r0, 0x2e8(r31) /* 8009A0EC 0009704C 48 00 00 3C */ b lbl_8009A128 .global lbl_8009A0F0 lbl_8009A0F0: /* 8009A0F0 00097050 38 00 00 02 */ li r0, 2 /* 8009A0F4 00097054 90 1F 02 E8 */ stw r0, 0x2e8(r31) /* 8009A0F8 00097058 48 00 00 30 */ b lbl_8009A128 .global lbl_8009A0FC lbl_8009A0FC: /* 8009A0FC 0009705C 38 00 00 04 */ li r0, 4 /* 8009A100 00097060 90 1F 02 E8 */ stw r0, 0x2e8(r31) /* 8009A104 00097064 48 00 00 24 */ b lbl_8009A128 .global lbl_8009A108 lbl_8009A108: /* 8009A108 00097068 38 00 00 07 */ li r0, 7 /* 8009A10C 0009706C 90 1F 02 E8 */ stw r0, 0x2e8(r31) /* 8009A110 00097070 48 00 00 18 */ b lbl_8009A128 .global lbl_8009A114 lbl_8009A114: /* 8009A114 00097074 38 00 00 08 */ li r0, 8 /* 8009A118 00097078 90 1F 02 E8 */ stw r0, 0x2e8(r31) /* 8009A11C 0009707C 48 00 00 0C */ b lbl_8009A128 .global lbl_8009A120 lbl_8009A120: /* 8009A120 00097080 38 00 00 06 */ li r0, 6 /* 8009A124 00097084 90 1F 02 E8 */ stw r0, 0x2e8(r31) .global lbl_8009A128 lbl_8009A128: /* 8009A128 00097088 EC 7F F0 28 */ fsubs f3, f31, f30 /* 8009A12C 0009708C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) /* 8009A130 00097090 EC 1C E8 28 */ fsubs f0, f28, f29 /* 8009A134 00097094 38 61 00 88 */ addi r3, r1, 0x88 /* 8009A138 00097098 EC 5B 00 B2 */ fmuls f2, f27, f2 /* 8009A13C 0009709C 38 81 01 24 */ addi r4, r1, 0x124 /* 8009A140 000970A0 EC 7B 00 F2 */ fmuls f3, f27, f3 /* 8009A144 000970A4 38 A1 00 C4 */ addi r5, r1, 0xc4 /* 8009A148 000970A8 EC 1B 00 32 */ fmuls f0, f27, f0 /* 8009A14C 000970AC EC 41 00 B2 */ fmuls f2, f1, f2 /* 8009A150 000970B0 EC 61 00 F2 */ fmuls f3, f1, f3 /* 8009A154 000970B4 EC 01 00 32 */ fmuls f0, f1, f0 /* 8009A158 000970B8 D0 41 00 C8 */ stfs f2, 0xc8(r1) /* 8009A15C 000970BC D0 61 00 C4 */ stfs f3, 0xc4(r1) /* 8009A160 000970C0 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 8009A164 000970C4 48 27 61 31 */ bl __ml__9CMatrix3fCFRC9CVector3f /* 8009A168 000970C8 C0 9F 00 CC */ lfs f4, 0xcc(r31) /* 8009A16C 000970CC 38 61 00 7C */ addi r3, r1, 0x7c /* 8009A170 000970D0 C0 21 00 8C */ lfs f1, 0x8c(r1) /* 8009A174 000970D4 C0 7F 00 D0 */ lfs f3, 0xd0(r31) /* 8009A178 000970D8 C0 01 00 90 */ lfs f0, 0x90(r1) /* 8009A17C 000970DC EC 24 08 2A */ fadds f1, f4, f1 /* 8009A180 000970E0 C0 5F 00 C8 */ lfs f2, 0xc8(r31) /* 8009A184 000970E4 EC A3 00 2A */ fadds f5, f3, f0 /* 8009A188 000970E8 C0 01 00 88 */ lfs f0, 0x88(r1) /* 8009A18C 000970EC EC 81 20 28 */ fsubs f4, f1, f4 /* 8009A190 000970F0 D0 21 00 BC */ stfs f1, 0xbc(r1) /* 8009A194 000970F4 EC 22 00 2A */ fadds f1, f2, f0 /* 8009A198 000970F8 C3 9D 00 00 */ lfs f28, 0(r29) /* 8009A19C 000970FC EC 65 18 28 */ fsubs f3, f5, f3 /* 8009A1A0 00097100 D0 A1 00 C0 */ stfs f5, 0xc0(r1) /* 8009A1A4 00097104 EC 01 10 28 */ fsubs f0, f1, f2 /* 8009A1A8 00097108 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 8009A1AC 0009710C D0 01 00 7C */ stfs f0, 0x7c(r1) /* 8009A1B0 00097110 D0 81 00 80 */ stfs f4, 0x80(r1) /* 8009A1B4 00097114 D0 61 00 84 */ stfs f3, 0x84(r1) /* 8009A1B8 00097118 48 27 A7 01 */ bl Magnitude__9CVector3fCFv /* 8009A1BC 0009711C FC 01 E0 40 */ fcmpo cr0, f1, f28 /* 8009A1C0 00097120 40 81 00 14 */ ble lbl_8009A1D4 /* 8009A1C4 00097124 7F E3 FB 78 */ mr r3, r31 /* 8009A1C8 00097128 38 80 00 01 */ li r4, 1 /* 8009A1CC 0009712C 4B FF CA 5D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb /* 8009A1D0 00097130 48 00 00 10 */ b lbl_8009A1E0 lbl_8009A1D4: /* 8009A1D4 00097134 7F E3 FB 78 */ mr r3, r31 /* 8009A1D8 00097138 38 80 00 00 */ li r4, 0 /* 8009A1DC 0009713C 4B FF CA 4D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb lbl_8009A1E0: /* 8009A1E0 00097140 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 8009A1E4 00097144 2C 00 00 01 */ cmpwi r0, 1 /* 8009A1E8 00097148 40 82 00 60 */ bne lbl_8009A248 /* 8009A1EC 0009714C 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8009A1F0 00097150 81 83 00 00 */ lwz r12, 0(r3) /* 8009A1F4 00097154 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8009A1F8 00097158 7D 89 03 A6 */ mtctr r12 /* 8009A1FC 0009715C 4E 80 04 21 */ bctrl /* 8009A200 00097160 C0 41 01 40 */ lfs f2, 0x140(r1) /* 8009A204 00097164 7C 64 1B 78 */ mr r4, r3 /* 8009A208 00097168 C0 21 01 34 */ lfs f1, 0x134(r1) /* 8009A20C 0009716C 38 61 00 70 */ addi r3, r1, 0x70 /* 8009A210 00097170 C0 01 01 28 */ lfs f0, 0x128(r1) /* 8009A214 00097174 38 A1 00 B8 */ addi r5, r1, 0xb8 /* 8009A218 00097178 D0 21 00 68 */ stfs f1, 0x68(r1) /* 8009A21C 0009717C 38 C1 00 64 */ addi r6, r1, 0x64 /* 8009A220 00097180 D0 01 00 64 */ stfs f0, 0x64(r1) /* 8009A224 00097184 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8009A228 00097188 48 00 54 2D */ bl ConstrainToWorldVolume__9CMapWorldCFRC9CVector3fRC9CVector3f /* 8009A22C 0009718C C0 01 00 70 */ lfs f0, 0x70(r1) /* 8009A230 00097190 D0 1F 00 C8 */ stfs f0, 0xc8(r31) /* 8009A234 00097194 C0 01 00 74 */ lfs f0, 0x74(r1) /* 8009A238 00097198 D0 1F 00 CC */ stfs f0, 0xcc(r31) /* 8009A23C 0009719C C0 01 00 78 */ lfs f0, 0x78(r1) /* 8009A240 000971A0 D0 1F 00 D0 */ stfs f0, 0xd0(r31) /* 8009A244 000971A4 48 00 02 D4 */ b lbl_8009A518 lbl_8009A248: /* 8009A248 000971A8 83 DF 00 10 */ lwz r30, 0x10(r31) /* 8009A24C 000971AC 38 61 00 AC */ addi r3, r1, 0xac /* 8009A250 000971B0 C0 21 00 BC */ lfs f1, 0xbc(r1) /* 8009A254 000971B4 C0 1E 00 24 */ lfs f0, 0x24(r30) /* 8009A258 000971B8 C0 61 00 C0 */ lfs f3, 0xc0(r1) /* 8009A25C 000971BC C0 5E 00 28 */ lfs f2, 0x28(r30) /* 8009A260 000971C0 EC 81 00 28 */ fsubs f4, f1, f0 /* 8009A264 000971C4 C0 21 00 B8 */ lfs f1, 0xb8(r1) /* 8009A268 000971C8 C0 1E 00 20 */ lfs f0, 0x20(r30) /* 8009A26C 000971CC EC 43 10 28 */ fsubs f2, f3, f2 /* 8009A270 000971D0 C3 9E 00 2C */ lfs f28, 0x2c(r30) /* 8009A274 000971D4 EC 01 00 28 */ fsubs f0, f1, f0 /* 8009A278 000971D8 D0 81 00 B0 */ stfs f4, 0xb0(r1) /* 8009A27C 000971DC D0 01 00 AC */ stfs f0, 0xac(r1) /* 8009A280 000971E0 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 8009A284 000971E4 48 27 A6 35 */ bl Magnitude__9CVector3fCFv /* 8009A288 000971E8 FC 01 E0 40 */ fcmpo cr0, f1, f28 /* 8009A28C 000971EC 40 81 00 4C */ ble lbl_8009A2D8 /* 8009A290 000971F0 38 61 00 58 */ addi r3, r1, 0x58 /* 8009A294 000971F4 38 81 00 AC */ addi r4, r1, 0xac /* 8009A298 000971F8 48 27 A5 B9 */ bl AsNormalized__9CVector3fCFv /* 8009A29C 000971FC C0 41 00 5C */ lfs f2, 0x5c(r1) /* 8009A2A0 00097200 C0 21 00 60 */ lfs f1, 0x60(r1) /* 8009A2A4 00097204 C0 01 00 58 */ lfs f0, 0x58(r1) /* 8009A2A8 00097208 EC 9C 00 B2 */ fmuls f4, f28, f2 /* 8009A2AC 0009720C C0 BE 00 24 */ lfs f5, 0x24(r30) /* 8009A2B0 00097210 EC 5C 00 72 */ fmuls f2, f28, f1 /* 8009A2B4 00097214 C0 7E 00 28 */ lfs f3, 0x28(r30) /* 8009A2B8 00097218 EC 1C 00 32 */ fmuls f0, f28, f0 /* 8009A2BC 0009721C C0 3E 00 20 */ lfs f1, 0x20(r30) /* 8009A2C0 00097220 EC 85 20 2A */ fadds f4, f5, f4 /* 8009A2C4 00097224 EC 43 10 2A */ fadds f2, f3, f2 /* 8009A2C8 00097228 EC 01 00 2A */ fadds f0, f1, f0 /* 8009A2CC 0009722C D0 81 00 BC */ stfs f4, 0xbc(r1) /* 8009A2D0 00097230 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 8009A2D4 00097234 D0 41 00 C0 */ stfs f2, 0xc0(r1) lbl_8009A2D8: /* 8009A2D8 00097238 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 8009A2DC 0009723C D0 1F 00 C8 */ stfs f0, 0xc8(r31) /* 8009A2E0 00097240 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 8009A2E4 00097244 D0 1F 00 CC */ stfs f0, 0xcc(r31) /* 8009A2E8 00097248 C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 8009A2EC 0009724C D0 1F 00 D0 */ stfs f0, 0xd0(r31) /* 8009A2F0 00097250 48 00 02 28 */ b lbl_8009A518 lbl_8009A2F4: /* 8009A2F4 00097254 7F E3 FB 78 */ mr r3, r31 /* 8009A2F8 00097258 38 80 00 00 */ li r4, 0 /* 8009A2FC 0009725C 4B FF C9 2D */ bl SetShouldPanningSoundBePlaying__11CAutoMapperFb /* 8009A300 00097260 7F E3 FB 78 */ mr r3, r31 /* 8009A304 00097264 4B FF BA 95 */ bl GetBaseMapScreenCameraMoveSpeed__11CAutoMapperCFv /* 8009A308 00097268 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 8009A30C 0009726C 80 1F 01 BC */ lwz r0, 0x1bc(r31) /* 8009A310 00097270 C0 03 00 E0 */ lfs f0, 0xe0(r3) /* 8009A314 00097274 2C 00 00 01 */ cmpwi r0, 1 /* 8009A318 00097278 EF E0 00 72 */ fmuls f31, f0, f1 /* 8009A31C 0009727C 40 82 01 04 */ bne lbl_8009A420 /* 8009A320 00097280 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8009A324 00097284 81 83 00 00 */ lwz r12, 0(r3) /* 8009A328 00097288 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8009A32C 0009728C 7D 89 03 A6 */ mtctr r12 /* 8009A330 00097290 4E 80 04 21 */ bctrl /* 8009A334 00097294 80 9F 00 A0 */ lwz r4, 0xa0(r31) /* 8009A338 00097298 7C 7D 1B 78 */ mr r29, r3 /* 8009A33C 0009729C 48 00 70 7D */ bl GetMapArea__9CMapWorldCFi /* 8009A340 000972A0 80 9F 00 A0 */ lwz r4, 0xa0(r31) /* 8009A344 000972A4 7C 7E 1B 78 */ mr r30, r3 /* 8009A348 000972A8 7F A3 EB 78 */ mr r3, r29 /* 8009A34C 000972AC 48 00 70 6D */ bl GetMapArea__9CMapWorldCFi /* 8009A350 000972B0 7F C4 F3 78 */ mr r4, r30 /* 8009A354 000972B4 7C 7E 1B 78 */ mr r30, r3 /* 8009A358 000972B8 38 61 00 40 */ addi r3, r1, 0x40 /* 8009A35C 000972BC 4B FE 69 A1 */ bl GetAreaCenterPoint__8CMapAreaCFv /* 8009A360 000972C0 80 BF 00 24 */ lwz r5, 0x24(r31) /* 8009A364 000972C4 7F C4 F3 78 */ mr r4, r30 /* 8009A368 000972C8 80 DF 00 A0 */ lwz r6, 0xa0(r31) /* 8009A36C 000972CC 38 61 00 D0 */ addi r3, r1, 0xd0 /* 8009A370 000972D0 4B FE 60 F9 */ bl GetAreaPostTransform__8CMapAreaFRC6CWorld7TAreaId /* 8009A374 000972D4 38 61 00 4C */ addi r3, r1, 0x4c /* 8009A378 000972D8 38 81 00 D0 */ addi r4, r1, 0xd0 /* 8009A37C 000972DC 38 A1 00 40 */ addi r5, r1, 0x40 /* 8009A380 000972E0 48 27 87 69 */ bl __ml__12CTransform4fCFRC9CVector3f /* 8009A384 000972E4 C3 C1 00 4C */ lfs f30, 0x4c(r1) /* 8009A388 000972E8 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8009A38C 000972EC C0 1F 00 C8 */ lfs f0, 0xc8(r31) /* 8009A390 000972F0 C3 81 00 50 */ lfs f28, 0x50(r1) /* 8009A394 000972F4 C0 5F 00 CC */ lfs f2, 0xcc(r31) /* 8009A398 000972F8 EC 1E 00 28 */ fsubs f0, f30, f0 /* 8009A39C 000972FC C0 3F 00 D0 */ lfs f1, 0xd0(r31) /* 8009A3A0 00097300 C3 A1 00 54 */ lfs f29, 0x54(r1) /* 8009A3A4 00097304 EC 5C 10 28 */ fsubs f2, f28, f2 /* 8009A3A8 00097308 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8009A3AC 0009730C EC 1D 08 28 */ fsubs f0, f29, f1 /* 8009A3B0 00097310 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 8009A3B4 00097314 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 8009A3B8 00097318 48 27 A5 01 */ bl Magnitude__9CVector3fCFv /* 8009A3BC 0009731C FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 8009A3C0 00097320 40 80 00 14 */ bge lbl_8009A3D4 /* 8009A3C4 00097324 D3 DF 00 C8 */ stfs f30, 0xc8(r31) /* 8009A3C8 00097328 D3 9F 00 CC */ stfs f28, 0xcc(r31) /* 8009A3CC 0009732C D3 BF 00 D0 */ stfs f29, 0xd0(r31) /* 8009A3D0 00097330 48 00 01 48 */ b lbl_8009A518 lbl_8009A3D4: /* 8009A3D4 00097334 38 61 00 34 */ addi r3, r1, 0x34 /* 8009A3D8 00097338 38 81 00 A0 */ addi r4, r1, 0xa0 /* 8009A3DC 0009733C 48 27 A4 75 */ bl AsNormalized__9CVector3fCFv /* 8009A3E0 00097340 C0 01 00 34 */ lfs f0, 0x34(r1) /* 8009A3E4 00097344 C0 61 00 38 */ lfs f3, 0x38(r1) /* 8009A3E8 00097348 EC 1F 00 32 */ fmuls f0, f31, f0 /* 8009A3EC 0009734C C0 3F 00 C8 */ lfs f1, 0xc8(r31) /* 8009A3F0 00097350 C0 41 00 3C */ lfs f2, 0x3c(r1) /* 8009A3F4 00097354 EC 9F 00 F2 */ fmuls f4, f31, f3 /* 8009A3F8 00097358 C0 BF 00 CC */ lfs f5, 0xcc(r31) /* 8009A3FC 0009735C EC 01 00 2A */ fadds f0, f1, f0 /* 8009A400 00097360 C0 7F 00 D0 */ lfs f3, 0xd0(r31) /* 8009A404 00097364 EC 3F 00 B2 */ fmuls f1, f31, f2 /* 8009A408 00097368 EC 45 20 2A */ fadds f2, f5, f4 /* 8009A40C 0009736C D0 1F 00 C8 */ stfs f0, 0xc8(r31) /* 8009A410 00097370 EC 03 08 2A */ fadds f0, f3, f1 /* 8009A414 00097374 D0 5F 00 CC */ stfs f2, 0xcc(r31) /* 8009A418 00097378 D0 1F 00 D0 */ stfs f0, 0xd0(r31) /* 8009A41C 0009737C 48 00 00 FC */ b lbl_8009A518 lbl_8009A420: /* 8009A420 00097380 C0 41 01 40 */ lfs f2, 0x140(r1) /* 8009A424 00097384 7F E4 FB 78 */ mr r4, r31 /* 8009A428 00097388 83 BF 00 10 */ lwz r29, 0x10(r31) /* 8009A42C 0009738C 7F C7 F3 78 */ mr r7, r30 /* 8009A430 00097390 C0 21 01 34 */ lfs f1, 0x134(r1) /* 8009A434 00097394 38 61 00 08 */ addi r3, r1, 8 /* 8009A438 00097398 C0 01 01 28 */ lfs f0, 0x128(r1) /* 8009A43C 0009739C 38 BF 00 C8 */ addi r5, r31, 0xc8 /* 8009A440 000973A0 D0 21 00 20 */ stfs f1, 0x20(r1) /* 8009A444 000973A4 38 C1 00 28 */ addi r6, r1, 0x28 /* 8009A448 000973A8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8009A44C 000973AC D0 41 00 24 */ stfs f2, 0x24(r1) /* 8009A450 000973B0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 8009A454 000973B4 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 8009A458 000973B8 D0 41 00 30 */ stfs f2, 0x30(r1) /* 8009A45C 000973BC 4B FF BF 2D */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager /* 8009A460 000973C0 80 81 00 08 */ lwz r4, 8(r1) /* 8009A464 000973C4 38 61 00 94 */ addi r3, r1, 0x94 /* 8009A468 000973C8 80 01 00 0C */ lwz r0, 0xc(r1) /* 8009A46C 000973CC 1C 84 00 70 */ mulli r4, r4, 0x70 /* 8009A470 000973D0 80 BD 00 1C */ lwz r5, 0x1c(r29) /* 8009A474 000973D4 C0 5F 00 CC */ lfs f2, 0xcc(r31) /* 8009A478 000973D8 C0 3F 00 D0 */ lfs f1, 0xd0(r31) /* 8009A47C 000973DC 38 84 00 50 */ addi r4, r4, 0x50 /* 8009A480 000973E0 C0 1F 00 C8 */ lfs f0, 0xc8(r31) /* 8009A484 000973E4 1C 00 00 30 */ mulli r0, r0, 0x30 /* 8009A488 000973E8 7C 85 20 2E */ lwzx r4, r5, r4 /* 8009A48C 000973EC 7C 84 02 14 */ add r4, r4, r0 /* 8009A490 000973F0 C3 C4 00 2C */ lfs f30, 0x2c(r4) /* 8009A494 000973F4 C3 A4 00 1C */ lfs f29, 0x1c(r4) /* 8009A498 000973F8 C3 84 00 0C */ lfs f28, 0xc(r4) /* 8009A49C 000973FC EC 3E 08 28 */ fsubs f1, f30, f1 /* 8009A4A0 00097400 EC 5D 10 28 */ fsubs f2, f29, f2 /* 8009A4A4 00097404 EC 1C 00 28 */ fsubs f0, f28, f0 /* 8009A4A8 00097408 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 8009A4AC 0009740C D0 01 00 94 */ stfs f0, 0x94(r1) /* 8009A4B0 00097410 D0 41 00 98 */ stfs f2, 0x98(r1) /* 8009A4B4 00097414 48 27 A4 05 */ bl Magnitude__9CVector3fCFv /* 8009A4B8 00097418 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 8009A4BC 0009741C 40 80 00 14 */ bge lbl_8009A4D0 /* 8009A4C0 00097420 D3 9F 00 C8 */ stfs f28, 0xc8(r31) /* 8009A4C4 00097424 D3 BF 00 CC */ stfs f29, 0xcc(r31) /* 8009A4C8 00097428 D3 DF 00 D0 */ stfs f30, 0xd0(r31) /* 8009A4CC 0009742C 48 00 00 4C */ b lbl_8009A518 lbl_8009A4D0: /* 8009A4D0 00097430 38 61 00 10 */ addi r3, r1, 0x10 /* 8009A4D4 00097434 38 81 00 94 */ addi r4, r1, 0x94 /* 8009A4D8 00097438 48 27 A3 79 */ bl AsNormalized__9CVector3fCFv /* 8009A4DC 0009743C C0 01 00 10 */ lfs f0, 0x10(r1) /* 8009A4E0 00097440 C0 61 00 14 */ lfs f3, 0x14(r1) /* 8009A4E4 00097444 EC 1F 00 32 */ fmuls f0, f31, f0 /* 8009A4E8 00097448 C0 3F 00 C8 */ lfs f1, 0xc8(r31) /* 8009A4EC 0009744C C0 41 00 18 */ lfs f2, 0x18(r1) /* 8009A4F0 00097450 EC 9F 00 F2 */ fmuls f4, f31, f3 /* 8009A4F4 00097454 C0 BF 00 CC */ lfs f5, 0xcc(r31) /* 8009A4F8 00097458 EC 01 00 2A */ fadds f0, f1, f0 /* 8009A4FC 0009745C C0 7F 00 D0 */ lfs f3, 0xd0(r31) /* 8009A500 00097460 EC 3F 00 B2 */ fmuls f1, f31, f2 /* 8009A504 00097464 EC 45 20 2A */ fadds f2, f5, f4 /* 8009A508 00097468 D0 1F 00 C8 */ stfs f0, 0xc8(r31) /* 8009A50C 0009746C EC 03 08 2A */ fadds f0, f3, f1 /* 8009A510 00097470 D0 5F 00 CC */ stfs f2, 0xcc(r31) /* 8009A514 00097474 D0 1F 00 D0 */ stfs f0, 0xd0(r31) lbl_8009A518: /* 8009A518 00097478 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 8009A51C 0009747C CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 8009A520 00097480 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 8009A524 00097484 CB C1 01 90 */ lfd f30, 0x190(r1) /* 8009A528 00097488 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 8009A52C 0009748C CB A1 01 80 */ lfd f29, 0x180(r1) /* 8009A530 00097490 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 8009A534 00097494 CB 81 01 70 */ lfd f28, 0x170(r1) /* 8009A538 00097498 E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 /* 8009A53C 0009749C CB 61 01 60 */ lfd f27, 0x160(r1) /* 8009A540 000974A0 83 E1 01 5C */ lwz r31, 0x15c(r1) /* 8009A544 000974A4 83 C1 01 58 */ lwz r30, 0x158(r1) /* 8009A548 000974A8 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 8009A54C 000974AC 83 A1 01 54 */ lwz r29, 0x154(r1) /* 8009A550 000974B0 7C 08 03 A6 */ mtlr r0 /* 8009A554 000974B4 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 8009A558 000974B8 4E 80 00 20 */ blr .global ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: /* 8009A55C 000974BC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8009A560 000974C0 7C 08 02 A6 */ mflr r0 /* 8009A564 000974C4 90 01 00 34 */ stw r0, 0x34(r1) /* 8009A568 000974C8 DB E1 00 20 */ stfd f31, 0x20(r1) /* 8009A56C 000974CC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8009A570 000974D0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009A574 000974D4 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009A578 000974D8 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009A57C 000974DC 7C 7D 1B 78 */ mr r29, r3 /* 8009A580 000974E0 7C 9E 23 78 */ mr r30, r4 /* 8009A584 000974E4 38 60 00 2E */ li r3, 0x2e /* 8009A588 000974E8 4B F7 22 ED */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A58C 000974EC 7C 7F 1B 78 */ mr r31, r3 /* 8009A590 000974F0 7F C4 F3 78 */ mr r4, r30 /* 8009A594 000974F4 38 60 00 2F */ li r3, 0x2f /* 8009A598 000974F8 4B F7 22 DD */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A59C 000974FC 80 1D 03 24 */ lwz r0, 0x324(r29) /* 8009A5A0 00097500 38 80 00 00 */ li r4, 0 /* 8009A5A4 00097504 C3 FD 00 C0 */ lfs f31, 0xc0(r29) /* 8009A5A8 00097508 2C 00 00 01 */ cmpwi r0, 1 /* 8009A5AC 0009750C 41 82 00 40 */ beq lbl_8009A5EC /* 8009A5B0 00097510 40 80 00 10 */ bge lbl_8009A5C0 /* 8009A5B4 00097514 2C 00 00 00 */ cmpwi r0, 0 /* 8009A5B8 00097518 40 80 00 14 */ bge lbl_8009A5CC /* 8009A5BC 0009751C 48 00 00 6C */ b lbl_8009A628 lbl_8009A5C0: /* 8009A5C0 00097520 2C 00 00 03 */ cmpwi r0, 3 /* 8009A5C4 00097524 40 80 00 64 */ bge lbl_8009A628 /* 8009A5C8 00097528 48 00 00 44 */ b lbl_8009A60C lbl_8009A5CC: /* 8009A5CC 0009752C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8009A5D0 00097530 41 82 00 0C */ beq lbl_8009A5DC /* 8009A5D4 00097534 38 80 00 01 */ li r4, 1 /* 8009A5D8 00097538 48 00 00 50 */ b lbl_8009A628 lbl_8009A5DC: /* 8009A5DC 0009753C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009A5E0 00097540 41 82 00 48 */ beq lbl_8009A628 /* 8009A5E4 00097544 38 80 00 02 */ li r4, 2 /* 8009A5E8 00097548 48 00 00 40 */ b lbl_8009A628 lbl_8009A5EC: /* 8009A5EC 0009754C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8009A5F0 00097550 41 82 00 0C */ beq lbl_8009A5FC /* 8009A5F4 00097554 38 80 00 01 */ li r4, 1 /* 8009A5F8 00097558 48 00 00 30 */ b lbl_8009A628 lbl_8009A5FC: /* 8009A5FC 0009755C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009A600 00097560 41 82 00 28 */ beq lbl_8009A628 /* 8009A604 00097564 38 80 00 02 */ li r4, 2 /* 8009A608 00097568 48 00 00 20 */ b lbl_8009A628 lbl_8009A60C: /* 8009A60C 0009756C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009A610 00097570 41 82 00 0C */ beq lbl_8009A61C /* 8009A614 00097574 38 80 00 02 */ li r4, 2 /* 8009A618 00097578 48 00 00 10 */ b lbl_8009A628 lbl_8009A61C: /* 8009A61C 0009757C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8009A620 00097580 41 82 00 08 */ beq lbl_8009A628 /* 8009A624 00097584 38 80 00 01 */ li r4, 1 lbl_8009A628: /* 8009A628 00097588 90 9D 03 24 */ stw r4, 0x324(r29) /* 8009A62C 0009758C C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) /* 8009A630 00097590 C0 1E 00 00 */ lfs f0, 0(r30) /* 8009A634 00097594 80 1D 01 BC */ lwz r0, 0x1bc(r29) /* 8009A638 00097598 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 8009A63C 0009759C EC 41 00 32 */ fmuls f2, f1, f0 /* 8009A640 000975A0 2C 00 00 01 */ cmpwi r0, 1 /* 8009A644 000975A4 C0 23 00 70 */ lfs f1, 0x70(r3) /* 8009A648 000975A8 40 82 00 0C */ bne lbl_8009A654 /* 8009A64C 000975AC C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 8009A650 000975B0 48 00 00 08 */ b lbl_8009A658 lbl_8009A654: /* 8009A654 000975B4 C0 02 8B E0 */ lfs f0, lbl_805AA900@sda21(r2) lbl_8009A658: /* 8009A658 000975B8 EC 02 00 32 */ fmuls f0, f2, f0 /* 8009A65C 000975BC 80 1D 03 24 */ lwz r0, 0x324(r29) /* 8009A660 000975C0 2C 00 00 01 */ cmpwi r0, 1 /* 8009A664 000975C4 EC 21 00 32 */ fmuls f1, f1, f0 /* 8009A668 000975C8 40 82 00 28 */ bne lbl_8009A690 /* 8009A66C 000975CC C0 1D 00 C0 */ lfs f0, 0xc0(r29) /* 8009A670 000975D0 7F A3 EB 78 */ mr r3, r29 /* 8009A674 000975D4 EC 20 08 28 */ fsubs f1, f0, f1 /* 8009A678 000975D8 4B FF BA BD */ bl GetClampedMapScreenCameraDistance__11CAutoMapperCFf /* 8009A67C 000975DC D0 3D 00 C0 */ stfs f1, 0xc0(r29) /* 8009A680 000975E0 38 00 00 01 */ li r0, 1 /* 8009A684 000975E4 90 1D 02 F0 */ stw r0, 0x2f0(r29) /* 8009A688 000975E8 90 1D 03 24 */ stw r0, 0x324(r29) /* 8009A68C 000975EC 48 00 00 30 */ b lbl_8009A6BC lbl_8009A690: /* 8009A690 000975F0 2C 00 00 02 */ cmpwi r0, 2 /* 8009A694 000975F4 40 82 00 28 */ bne lbl_8009A6BC /* 8009A698 000975F8 C0 1D 00 C0 */ lfs f0, 0xc0(r29) /* 8009A69C 000975FC 7F A3 EB 78 */ mr r3, r29 /* 8009A6A0 00097600 EC 20 08 2A */ fadds f1, f0, f1 /* 8009A6A4 00097604 4B FF BA 91 */ bl GetClampedMapScreenCameraDistance__11CAutoMapperCFf /* 8009A6A8 00097608 D0 3D 00 C0 */ stfs f1, 0xc0(r29) /* 8009A6AC 0009760C 38 60 00 01 */ li r3, 1 /* 8009A6B0 00097610 38 00 00 02 */ li r0, 2 /* 8009A6B4 00097614 90 7D 02 EC */ stw r3, 0x2ec(r29) /* 8009A6B8 00097618 90 1D 03 24 */ stw r0, 0x324(r29) lbl_8009A6BC: /* 8009A6BC 0009761C C0 1D 00 C0 */ lfs f0, 0xc0(r29) /* 8009A6C0 00097620 FC 1F 00 00 */ fcmpu cr0, f31, f0 /* 8009A6C4 00097624 40 82 00 14 */ bne lbl_8009A6D8 /* 8009A6C8 00097628 7F A3 EB 78 */ mr r3, r29 /* 8009A6CC 0009762C 38 80 00 00 */ li r4, 0 /* 8009A6D0 00097630 4B FF C4 D5 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb /* 8009A6D4 00097634 48 00 00 10 */ b lbl_8009A6E4 lbl_8009A6D8: /* 8009A6D8 00097638 7F A3 EB 78 */ mr r3, r29 /* 8009A6DC 0009763C 38 80 00 01 */ li r4, 1 /* 8009A6E0 00097640 4B FF C4 C5 */ bl SetShouldZoomingSoundBePlaying__11CAutoMapperFb lbl_8009A6E4: /* 8009A6E4 00097644 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8009A6E8 00097648 80 01 00 34 */ lwz r0, 0x34(r1) /* 8009A6EC 0009764C CB E1 00 20 */ lfd f31, 0x20(r1) /* 8009A6F0 00097650 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009A6F4 00097654 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009A6F8 00097658 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009A6FC 0009765C 7C 08 03 A6 */ mtlr r0 /* 8009A700 00097660 38 21 00 30 */ addi r1, r1, 0x30 /* 8009A704 00097664 4E 80 00 20 */ blr .global ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: /* 8009A708 00097668 94 21 FE B0 */ stwu r1, -0x150(r1) /* 8009A70C 0009766C 7C 08 02 A6 */ mflr r0 /* 8009A710 00097670 90 01 01 54 */ stw r0, 0x154(r1) /* 8009A714 00097674 DB E1 01 40 */ stfd f31, 0x140(r1) /* 8009A718 00097678 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 /* 8009A71C 0009767C DB C1 01 30 */ stfd f30, 0x130(r1) /* 8009A720 00097680 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 /* 8009A724 00097684 DB A1 01 20 */ stfd f29, 0x120(r1) /* 8009A728 00097688 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 /* 8009A72C 0009768C DB 81 01 10 */ stfd f28, 0x110(r1) /* 8009A730 00097690 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 /* 8009A734 00097694 DB 61 01 00 */ stfd f27, 0x100(r1) /* 8009A738 00097698 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 /* 8009A73C 0009769C 93 E1 00 FC */ stw r31, 0xfc(r1) /* 8009A740 000976A0 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 8009A744 000976A4 7C 7F 1B 78 */ mr r31, r3 /* 8009A748 000976A8 7C 9E 23 78 */ mr r30, r4 /* 8009A74C 000976AC 38 60 00 26 */ li r3, 0x26 /* 8009A750 000976B0 4B F7 21 C9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A754 000976B4 FF 60 08 90 */ fmr f27, f1 /* 8009A758 000976B8 7F C4 F3 78 */ mr r4, r30 /* 8009A75C 000976BC 38 60 00 27 */ li r3, 0x27 /* 8009A760 000976C0 4B F7 21 B9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A764 000976C4 FF 80 08 90 */ fmr f28, f1 /* 8009A768 000976C8 7F C4 F3 78 */ mr r4, r30 /* 8009A76C 000976CC 38 60 00 28 */ li r3, 0x28 /* 8009A770 000976D0 4B F7 21 A9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A774 000976D4 FF A0 08 90 */ fmr f29, f1 /* 8009A778 000976D8 7F C4 F3 78 */ mr r4, r30 /* 8009A77C 000976DC 38 60 00 29 */ li r3, 0x29 /* 8009A780 000976E0 4B F7 21 99 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8009A784 000976E4 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A788 000976E8 38 80 00 00 */ li r4, 0 /* 8009A78C 000976EC FC 1B 00 40 */ fcmpo cr0, f27, f0 /* 8009A790 000976F0 40 81 00 08 */ ble lbl_8009A798 /* 8009A794 000976F4 38 80 00 02 */ li r4, 2 lbl_8009A798: /* 8009A798 000976F8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A79C 000976FC FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 8009A7A0 00097700 40 81 00 08 */ ble lbl_8009A7A8 /* 8009A7A4 00097704 38 84 00 01 */ addi r4, r4, 1 lbl_8009A7A8: /* 8009A7A8 00097708 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A7AC 0009770C FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 8009A7B0 00097710 40 81 00 08 */ ble lbl_8009A7B8 /* 8009A7B4 00097714 38 84 00 04 */ addi r4, r4, 4 lbl_8009A7B8: /* 8009A7B8 00097718 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A7BC 0009771C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8009A7C0 00097720 40 81 00 08 */ ble lbl_8009A7C8 /* 8009A7C4 00097724 38 84 00 08 */ addi r4, r4, 8 lbl_8009A7C8: /* 8009A7C8 00097728 28 04 00 0A */ cmplwi r4, 0xa /* 8009A7CC 0009772C 41 81 00 78 */ bgt lbl_8009A844 /* 8009A7D0 00097730 3C 60 80 3E */ lis r3, lbl_803DAEA8@ha /* 8009A7D4 00097734 54 80 10 3A */ slwi r0, r4, 2 /* 8009A7D8 00097738 38 63 AE A8 */ addi r3, r3, lbl_803DAEA8@l /* 8009A7DC 0009773C 7C 03 00 2E */ lwzx r0, r3, r0 /* 8009A7E0 00097740 7C 09 03 A6 */ mtctr r0 /* 8009A7E4 00097744 4E 80 04 20 */ bctr .global lbl_8009A7E8 lbl_8009A7E8: /* 8009A7E8 00097748 38 00 00 01 */ li r0, 1 /* 8009A7EC 0009774C 90 1F 02 E4 */ stw r0, 0x2e4(r31) /* 8009A7F0 00097750 48 00 00 54 */ b lbl_8009A844 .global lbl_8009A7F4 lbl_8009A7F4: /* 8009A7F4 00097754 38 00 00 05 */ li r0, 5 /* 8009A7F8 00097758 90 1F 02 E4 */ stw r0, 0x2e4(r31) /* 8009A7FC 0009775C 48 00 00 48 */ b lbl_8009A844 .global lbl_8009A800 lbl_8009A800: /* 8009A800 00097760 38 00 00 03 */ li r0, 3 /* 8009A804 00097764 90 1F 02 E4 */ stw r0, 0x2e4(r31) /* 8009A808 00097768 48 00 00 3C */ b lbl_8009A844 .global lbl_8009A80C lbl_8009A80C: /* 8009A80C 0009776C 38 00 00 02 */ li r0, 2 /* 8009A810 00097770 90 1F 02 E4 */ stw r0, 0x2e4(r31) /* 8009A814 00097774 48 00 00 30 */ b lbl_8009A844 .global lbl_8009A818 lbl_8009A818: /* 8009A818 00097778 38 00 00 04 */ li r0, 4 /* 8009A81C 0009777C 90 1F 02 E4 */ stw r0, 0x2e4(r31) /* 8009A820 00097780 48 00 00 24 */ b lbl_8009A844 .global lbl_8009A824 lbl_8009A824: /* 8009A824 00097784 38 00 00 07 */ li r0, 7 /* 8009A828 00097788 90 1F 02 E4 */ stw r0, 0x2e4(r31) /* 8009A82C 0009778C 48 00 00 18 */ b lbl_8009A844 .global lbl_8009A830 lbl_8009A830: /* 8009A830 00097790 38 00 00 08 */ li r0, 8 /* 8009A834 00097794 90 1F 02 E4 */ stw r0, 0x2e4(r31) /* 8009A838 00097798 48 00 00 0C */ b lbl_8009A844 .global lbl_8009A83C lbl_8009A83C: /* 8009A83C 0009779C 38 00 00 06 */ li r0, 6 /* 8009A840 000977A0 90 1F 02 E4 */ stw r0, 0x2e4(r31) .global lbl_8009A844 lbl_8009A844: /* 8009A844 000977A4 FC 00 D8 90 */ fmr f0, f27 /* 8009A848 000977A8 38 00 00 00 */ li r0, 0 /* 8009A84C 000977AC FC 1C D8 40 */ fcmpo cr0, f28, f27 /* 8009A850 000977B0 40 81 00 0C */ ble lbl_8009A85C /* 8009A854 000977B4 FC 00 E0 90 */ fmr f0, f28 /* 8009A858 000977B8 38 00 00 01 */ li r0, 1 lbl_8009A85C: /* 8009A85C 000977BC FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 8009A860 000977C0 40 81 00 0C */ ble lbl_8009A86C /* 8009A864 000977C4 FC 00 E8 90 */ fmr f0, f29 /* 8009A868 000977C8 38 00 00 02 */ li r0, 2 lbl_8009A86C: /* 8009A86C 000977CC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8009A870 000977D0 40 81 00 0C */ ble lbl_8009A87C /* 8009A874 000977D4 FC 00 08 90 */ fmr f0, f1 /* 8009A878 000977D8 38 00 00 03 */ li r0, 3 lbl_8009A87C: /* 8009A87C 000977DC C3 E2 8B A8 */ lfs f31, lbl_805AA8C8@sda21(r2) /* 8009A880 000977E0 2C 00 00 02 */ cmpwi r0, 2 /* 8009A884 000977E4 FF 80 F8 90 */ fmr f28, f31 /* 8009A888 000977E8 FF A0 F8 90 */ fmr f29, f31 /* 8009A88C 000977EC FF C0 F8 90 */ fmr f30, f31 /* 8009A890 000977F0 41 82 00 34 */ beq lbl_8009A8C4 /* 8009A894 000977F4 40 80 00 14 */ bge lbl_8009A8A8 /* 8009A898 000977F8 2C 00 00 00 */ cmpwi r0, 0 /* 8009A89C 000977FC 41 82 00 18 */ beq lbl_8009A8B4 /* 8009A8A0 00097800 40 80 00 1C */ bge lbl_8009A8BC /* 8009A8A4 00097804 48 00 00 2C */ b lbl_8009A8D0 lbl_8009A8A8: /* 8009A8A8 00097808 2C 00 00 04 */ cmpwi r0, 4 /* 8009A8AC 0009780C 40 80 00 24 */ bge lbl_8009A8D0 /* 8009A8B0 00097810 48 00 00 1C */ b lbl_8009A8CC lbl_8009A8B4: /* 8009A8B4 00097814 FF C0 00 90 */ fmr f30, f0 /* 8009A8B8 00097818 48 00 00 18 */ b lbl_8009A8D0 lbl_8009A8BC: /* 8009A8BC 0009781C FF A0 00 90 */ fmr f29, f0 /* 8009A8C0 00097820 48 00 00 10 */ b lbl_8009A8D0 lbl_8009A8C4: /* 8009A8C4 00097824 FF E0 00 90 */ fmr f31, f0 /* 8009A8C8 00097828 48 00 00 08 */ b lbl_8009A8D0 lbl_8009A8CC: /* 8009A8CC 0009782C FF 80 00 90 */ fmr f28, f0 lbl_8009A8D0: /* 8009A8D0 00097830 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009A8D4 00097834 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 8009A8D8 00097838 41 81 00 1C */ bgt lbl_8009A8F4 /* 8009A8DC 0009783C FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 8009A8E0 00097840 41 81 00 14 */ bgt lbl_8009A8F4 /* 8009A8E4 00097844 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8009A8E8 00097848 41 81 00 0C */ bgt lbl_8009A8F4 /* 8009A8EC 0009784C FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 8009A8F0 00097850 40 81 03 40 */ ble lbl_8009AC30 lbl_8009A8F4: /* 8009A8F4 00097854 C0 22 8C 08 */ lfs f1, lbl_805AA928@sda21(r2) /* 8009A8F8 00097858 7F E3 FB 78 */ mr r3, r31 /* 8009A8FC 0009785C C0 1E 00 00 */ lfs f0, 0(r30) /* 8009A900 00097860 38 80 00 01 */ li r4, 1 /* 8009A904 00097864 EF 61 00 32 */ fmuls f27, f1, f0 /* 8009A908 00097868 4B FF C2 19 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb /* 8009A90C 0009786C 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) /* 8009A910 00097870 38 61 00 70 */ addi r3, r1, 0x70 /* 8009A914 00097874 38 9F 00 B0 */ addi r4, r31, 0xb0 /* 8009A918 00097878 C0 05 00 14 */ lfs f0, 0x14(r5) /* 8009A91C 0009787C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8009A920 00097880 C0 05 00 18 */ lfs f0, 0x18(r5) /* 8009A924 00097884 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8009A928 00097888 4B F8 0C 9D */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion /* 8009A92C 0009788C C0 81 00 70 */ lfs f4, 0x70(r1) /* 8009A930 00097890 3C 00 43 30 */ lis r0, 0x4330 /* 8009A934 00097894 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) /* 8009A938 00097898 90 01 00 88 */ stw r0, 0x88(r1) /* 8009A93C 0009789C EC 04 00 32 */ fmuls f0, f4, f0 /* 8009A940 000978A0 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) /* 8009A944 000978A4 C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) /* 8009A948 000978A8 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 8009A94C 000978AC FC 00 00 1E */ fctiwz f0, f0 /* 8009A950 000978B0 C0 A1 00 78 */ lfs f5, 0x78(r1) /* 8009A954 000978B4 D8 01 00 80 */ stfd f0, 0x80(r1) /* 8009A958 000978B8 80 01 00 84 */ lwz r0, 0x84(r1) /* 8009A95C 000978BC 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009A960 000978C0 90 01 00 8C */ stw r0, 0x8c(r1) /* 8009A964 000978C4 C8 01 00 88 */ lfd f0, 0x88(r1) /* 8009A968 000978C8 EC 00 18 28 */ fsubs f0, f0, f3 /* 8009A96C 000978CC EC 00 20 BC */ fnmsubs f0, f0, f2, f4 /* 8009A970 000978D0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8009A974 000978D4 40 80 00 08 */ bge lbl_8009A97C /* 8009A978 000978D8 EC 00 10 2A */ fadds f0, f0, f2 lbl_8009A97C: /* 8009A97C 000978DC C0 22 8B A4 */ lfs f1, lbl_805AA8C4@sda21(r2) /* 8009A980 000978E0 3C 00 43 30 */ lis r0, 0x4330 /* 8009A984 000978E4 90 01 00 98 */ stw r0, 0x98(r1) /* 8009A988 000978E8 EC 65 00 72 */ fmuls f3, f5, f1 /* 8009A98C 000978EC C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) /* 8009A990 000978F0 C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) /* 8009A994 000978F4 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 8009A998 000978F8 FC 60 18 1E */ fctiwz f3, f3 /* 8009A99C 000978FC D8 61 00 90 */ stfd f3, 0x90(r1) /* 8009A9A0 00097900 80 01 00 94 */ lwz r0, 0x94(r1) /* 8009A9A4 00097904 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009A9A8 00097908 90 01 00 9C */ stw r0, 0x9c(r1) /* 8009A9AC 0009790C C8 61 00 98 */ lfd f3, 0x98(r1) /* 8009A9B0 00097910 EC 63 20 28 */ fsubs f3, f3, f4 /* 8009A9B4 00097914 ED 03 28 BC */ fnmsubs f8, f3, f2, f5 /* 8009A9B8 00097918 FC 08 08 40 */ fcmpo cr0, f8, f1 /* 8009A9BC 0009791C 40 80 00 08 */ bge lbl_8009A9C4 /* 8009A9C0 00097920 ED 08 10 2A */ fadds f8, f8, f2 lbl_8009A9C4: /* 8009A9C4 00097924 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) /* 8009A9C8 00097928 3C 00 43 30 */ lis r0, 0x4330 /* 8009A9CC 0009792C C0 E2 8B AC */ lfs f7, lbl_805AA8CC@sda21(r2) /* 8009A9D0 00097930 C0 23 00 74 */ lfs f1, 0x74(r3) /* 8009A9D4 00097934 C0 82 8B A4 */ lfs f4, lbl_805AA8C4@sda21(r2) /* 8009A9D8 00097938 EC 3B 00 72 */ fmuls f1, f27, f1 /* 8009A9DC 0009793C 90 01 00 A8 */ stw r0, 0xa8(r1) /* 8009A9E0 00097940 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) /* 8009A9E4 00097944 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) /* 8009A9E8 00097948 EC C1 07 F2 */ fmuls f6, f1, f31 /* 8009A9EC 0009794C C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) /* 8009A9F0 00097950 EC C7 01 B2 */ fmuls f6, f7, f6 /* 8009A9F4 00097954 EC C8 30 28 */ fsubs f6, f8, f6 /* 8009A9F8 00097958 EC 86 01 32 */ fmuls f4, f6, f4 /* 8009A9FC 0009795C FC 80 20 1E */ fctiwz f4, f4 /* 8009AA00 00097960 D8 81 00 A0 */ stfd f4, 0xa0(r1) /* 8009AA04 00097964 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8009AA08 00097968 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009AA0C 0009796C 90 01 00 AC */ stw r0, 0xac(r1) /* 8009AA10 00097970 C8 81 00 A8 */ lfd f4, 0xa8(r1) /* 8009AA14 00097974 EC 84 28 28 */ fsubs f4, f4, f5 /* 8009AA18 00097978 EC C4 30 FC */ fnmsubs f6, f4, f3, f6 /* 8009AA1C 0009797C FC 06 10 40 */ fcmpo cr0, f6, f2 /* 8009AA20 00097980 40 80 00 08 */ bge lbl_8009AA28 /* 8009AA24 00097984 EC C6 18 2A */ fadds f6, f6, f3 lbl_8009AA28: /* 8009AA28 00097988 EC 41 07 32 */ fmuls f2, f1, f28 /* 8009AA2C 0009798C C0 62 8B AC */ lfs f3, lbl_805AA8CC@sda21(r2) /* 8009AA30 00097990 3C 00 43 30 */ lis r0, 0x4330 /* 8009AA34 00097994 C0 82 8B A4 */ lfs f4, lbl_805AA8C4@sda21(r2) /* 8009AA38 00097998 90 01 00 B8 */ stw r0, 0xb8(r1) /* 8009AA3C 0009799C EC 43 00 B2 */ fmuls f2, f3, f2 /* 8009AA40 000979A0 C8 A2 8B 88 */ lfd f5, lbl_805AA8A8@sda21(r2) /* 8009AA44 000979A4 C0 62 8B 78 */ lfs f3, lbl_805AA898@sda21(r2) /* 8009AA48 000979A8 EC C6 10 2A */ fadds f6, f6, f2 /* 8009AA4C 000979AC C0 42 8B A8 */ lfs f2, lbl_805AA8C8@sda21(r2) /* 8009AA50 000979B0 EC 86 01 32 */ fmuls f4, f6, f4 /* 8009AA54 000979B4 FC 80 20 1E */ fctiwz f4, f4 /* 8009AA58 000979B8 D8 81 00 B0 */ stfd f4, 0xb0(r1) /* 8009AA5C 000979BC 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8009AA60 000979C0 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009AA64 000979C4 90 01 00 BC */ stw r0, 0xbc(r1) /* 8009AA68 000979C8 C8 81 00 B8 */ lfd f4, 0xb8(r1) /* 8009AA6C 000979CC EC 84 28 28 */ fsubs f4, f4, f5 /* 8009AA70 000979D0 EF E4 30 FC */ fnmsubs f31, f4, f3, f6 /* 8009AA74 000979D4 FC 1F 10 40 */ fcmpo cr0, f31, f2 /* 8009AA78 000979D8 40 80 00 08 */ bge lbl_8009AA80 /* 8009AA7C 000979DC EF FF 18 2A */ fadds f31, f31, f3 lbl_8009AA80: /* 8009AA80 000979E0 EC 41 07 B2 */ fmuls f2, f1, f30 /* 8009AA84 000979E4 C0 82 8B AC */ lfs f4, lbl_805AA8CC@sda21(r2) /* 8009AA88 000979E8 3C 00 43 30 */ lis r0, 0x4330 /* 8009AA8C 000979EC C0 62 8B A4 */ lfs f3, lbl_805AA8C4@sda21(r2) /* 8009AA90 000979F0 90 01 00 C8 */ stw r0, 0xc8(r1) /* 8009AA94 000979F4 EC A4 00 B2 */ fmuls f5, f4, f2 /* 8009AA98 000979F8 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) /* 8009AA9C 000979FC C0 42 8B 78 */ lfs f2, lbl_805AA898@sda21(r2) /* 8009AAA0 00097A00 EC A0 28 28 */ fsubs f5, f0, f5 /* 8009AAA4 00097A04 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009AAA8 00097A08 EC 65 00 F2 */ fmuls f3, f5, f3 /* 8009AAAC 00097A0C FC 60 18 1E */ fctiwz f3, f3 /* 8009AAB0 00097A10 D8 61 00 C0 */ stfd f3, 0xc0(r1) /* 8009AAB4 00097A14 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8009AAB8 00097A18 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009AABC 00097A1C 90 01 00 CC */ stw r0, 0xcc(r1) /* 8009AAC0 00097A20 C8 61 00 C8 */ lfd f3, 0xc8(r1) /* 8009AAC4 00097A24 EC 63 20 28 */ fsubs f3, f3, f4 /* 8009AAC8 00097A28 EC 83 28 BC */ fnmsubs f4, f3, f2, f5 /* 8009AACC 00097A2C FC 04 00 40 */ fcmpo cr0, f4, f0 /* 8009AAD0 00097A30 40 80 00 08 */ bge lbl_8009AAD8 /* 8009AAD4 00097A34 EC 84 10 2A */ fadds f4, f4, f2 lbl_8009AAD8: /* 8009AAD8 00097A38 EC 01 07 72 */ fmuls f0, f1, f29 /* 8009AADC 00097A3C C0 22 8B AC */ lfs f1, lbl_805AA8CC@sda21(r2) /* 8009AAE0 00097A40 3C 00 43 30 */ lis r0, 0x4330 /* 8009AAE4 00097A44 C0 42 8B A4 */ lfs f2, lbl_805AA8C4@sda21(r2) /* 8009AAE8 00097A48 90 01 00 D8 */ stw r0, 0xd8(r1) /* 8009AAEC 00097A4C EC 01 00 32 */ fmuls f0, f1, f0 /* 8009AAF0 00097A50 C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) /* 8009AAF4 00097A54 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) /* 8009AAF8 00097A58 EC 84 00 2A */ fadds f4, f4, f0 /* 8009AAFC 00097A5C C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009AB00 00097A60 EC 44 00 B2 */ fmuls f2, f4, f2 /* 8009AB04 00097A64 FC 40 10 1E */ fctiwz f2, f2 /* 8009AB08 00097A68 D8 41 00 D0 */ stfd f2, 0xd0(r1) /* 8009AB0C 00097A6C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8009AB10 00097A70 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009AB14 00097A74 90 01 00 DC */ stw r0, 0xdc(r1) /* 8009AB18 00097A78 C8 41 00 D8 */ lfd f2, 0xd8(r1) /* 8009AB1C 00097A7C EC 42 18 28 */ fsubs f2, f2, f3 /* 8009AB20 00097A80 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 /* 8009AB24 00097A84 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8009AB28 00097A88 40 80 00 08 */ bge lbl_8009AB30 /* 8009AB2C 00097A8C EC 42 08 2A */ fadds f2, f2, f1 lbl_8009AB30: /* 8009AB30 00097A90 C0 22 8C 0C */ lfs f1, lbl_805AA92C@sda21(r2) /* 8009AB34 00097A94 C0 02 8C 14 */ lfs f0, lbl_805AA934@sda21(r2) /* 8009AB38 00097A98 EC 21 00 B2 */ fmuls f1, f1, f2 /* 8009AB3C 00097A9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8009AB40 00097AA0 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8009AB44 00097AA4 40 81 00 10 */ ble lbl_8009AB54 /* 8009AB48 00097AA8 C0 02 8C 10 */ lfs f0, lbl_805AA930@sda21(r2) /* 8009AB4C 00097AAC EC 01 00 28 */ fsubs f0, f1, f0 /* 8009AB50 00097AB0 D0 01 00 14 */ stfs f0, 0x14(r1) lbl_8009AB54: /* 8009AB54 00097AB4 38 61 00 1C */ addi r3, r1, 0x1c /* 8009AB58 00097AB8 38 81 00 14 */ addi r4, r1, 0x14 /* 8009AB5C 00097ABC 38 A1 00 18 */ addi r5, r1, 0x18 /* 8009AB60 00097AC0 4B F7 17 55 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8009AB64 00097AC4 C0 43 00 00 */ lfs f2, 0(r3) /* 8009AB68 00097AC8 3C 00 43 30 */ lis r0, 0x4330 /* 8009AB6C 00097ACC C0 22 8B AC */ lfs f1, lbl_805AA8CC@sda21(r2) /* 8009AB70 00097AD0 C0 02 8B A4 */ lfs f0, lbl_805AA8C4@sda21(r2) /* 8009AB74 00097AD4 EC 81 00 B2 */ fmuls f4, f1, f2 /* 8009AB78 00097AD8 90 01 00 E8 */ stw r0, 0xe8(r1) /* 8009AB7C 00097ADC C8 62 8B 88 */ lfd f3, lbl_805AA8A8@sda21(r2) /* 8009AB80 00097AE0 C0 22 8B 78 */ lfs f1, lbl_805AA898@sda21(r2) /* 8009AB84 00097AE4 EC 44 00 32 */ fmuls f2, f4, f0 /* 8009AB88 00097AE8 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009AB8C 00097AEC FC 40 10 1E */ fctiwz f2, f2 /* 8009AB90 00097AF0 D8 41 00 E0 */ stfd f2, 0xe0(r1) /* 8009AB94 00097AF4 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 8009AB98 00097AF8 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009AB9C 00097AFC 90 01 00 EC */ stw r0, 0xec(r1) /* 8009ABA0 00097B00 C8 41 00 E8 */ lfd f2, 0xe8(r1) /* 8009ABA4 00097B04 EC 42 18 28 */ fsubs f2, f2, f3 /* 8009ABA8 00097B08 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 /* 8009ABAC 00097B0C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8009ABB0 00097B10 40 80 00 08 */ bge lbl_8009ABB8 /* 8009ABB4 00097B14 EC 42 08 2A */ fadds f2, f2, f1 lbl_8009ABB8: /* 8009ABB8 00097B18 C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009ABBC 00097B1C 38 61 00 50 */ addi r3, r1, 0x50 /* 8009ABC0 00097B20 D3 E1 00 08 */ stfs f31, 8(r1) /* 8009ABC4 00097B24 38 81 00 10 */ addi r4, r1, 0x10 /* 8009ABC8 00097B28 D0 41 00 0C */ stfs f2, 0xc(r1) /* 8009ABCC 00097B2C D0 01 00 10 */ stfs f0, 0x10(r1) /* 8009ABD0 00097B30 48 27 65 61 */ bl YRotation__11CQuaternionFRC9CRelAngle /* 8009ABD4 00097B34 38 61 00 40 */ addi r3, r1, 0x40 /* 8009ABD8 00097B38 38 81 00 0C */ addi r4, r1, 0xc /* 8009ABDC 00097B3C 48 27 65 8D */ bl XRotation__11CQuaternionFRC9CRelAngle /* 8009ABE0 00097B40 38 61 00 30 */ addi r3, r1, 0x30 /* 8009ABE4 00097B44 38 81 00 08 */ addi r4, r1, 8 /* 8009ABE8 00097B48 48 27 65 11 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 8009ABEC 00097B4C 38 61 00 20 */ addi r3, r1, 0x20 /* 8009ABF0 00097B50 38 81 00 30 */ addi r4, r1, 0x30 /* 8009ABF4 00097B54 38 A1 00 40 */ addi r5, r1, 0x40 /* 8009ABF8 00097B58 48 27 65 A9 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 8009ABFC 00097B5C 38 61 00 60 */ addi r3, r1, 0x60 /* 8009AC00 00097B60 38 81 00 20 */ addi r4, r1, 0x20 /* 8009AC04 00097B64 38 A1 00 50 */ addi r5, r1, 0x50 /* 8009AC08 00097B68 48 27 65 99 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 8009AC0C 00097B6C C0 01 00 60 */ lfs f0, 0x60(r1) /* 8009AC10 00097B70 D0 1F 00 B0 */ stfs f0, 0xb0(r31) /* 8009AC14 00097B74 80 61 00 64 */ lwz r3, 0x64(r1) /* 8009AC18 00097B78 80 01 00 68 */ lwz r0, 0x68(r1) /* 8009AC1C 00097B7C 90 7F 00 B4 */ stw r3, 0xb4(r31) /* 8009AC20 00097B80 90 1F 00 B8 */ stw r0, 0xb8(r31) /* 8009AC24 00097B84 80 01 00 6C */ lwz r0, 0x6c(r1) /* 8009AC28 00097B88 90 1F 00 BC */ stw r0, 0xbc(r31) /* 8009AC2C 00097B8C 48 00 00 10 */ b lbl_8009AC3C lbl_8009AC30: /* 8009AC30 00097B90 7F E3 FB 78 */ mr r3, r31 /* 8009AC34 00097B94 38 80 00 00 */ li r4, 0 /* 8009AC38 00097B98 4B FF BE E9 */ bl SetShouldRotatingSoundBePlaying__11CAutoMapperFb lbl_8009AC3C: /* 8009AC3C 00097B9C E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 /* 8009AC40 00097BA0 CB E1 01 40 */ lfd f31, 0x140(r1) /* 8009AC44 00097BA4 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 /* 8009AC48 00097BA8 CB C1 01 30 */ lfd f30, 0x130(r1) /* 8009AC4C 00097BAC E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 /* 8009AC50 00097BB0 CB A1 01 20 */ lfd f29, 0x120(r1) /* 8009AC54 00097BB4 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 /* 8009AC58 00097BB8 CB 81 01 10 */ lfd f28, 0x110(r1) /* 8009AC5C 00097BBC E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 /* 8009AC60 00097BC0 CB 61 01 00 */ lfd f27, 0x100(r1) /* 8009AC64 00097BC4 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 8009AC68 00097BC8 80 01 01 54 */ lwz r0, 0x154(r1) /* 8009AC6C 00097BCC 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 8009AC70 00097BD0 7C 08 03 A6 */ mtlr r0 /* 8009AC74 00097BD4 38 21 01 50 */ addi r1, r1, 0x150 /* 8009AC78 00097BD8 4E 80 00 20 */ blr .global ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager: /* 8009AC7C 00097BDC 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8009AC80 00097BE0 7C 08 02 A6 */ mflr r0 /* 8009AC84 00097BE4 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8009AC88 00097BE8 BF 61 00 AC */ stmw r27, 0xac(r1) /* 8009AC8C 00097BEC 7C 7D 1B 78 */ mr r29, r3 /* 8009AC90 00097BF0 7C 9E 23 78 */ mr r30, r4 /* 8009AC94 00097BF4 7C BF 2B 78 */ mr r31, r5 /* 8009AC98 00097BF8 38 61 00 60 */ addi r3, r1, 0x60 /* 8009AC9C 00097BFC 38 9D 00 B0 */ addi r4, r29, 0xb0 /* 8009ACA0 00097C00 48 27 73 ED */ bl BuildTransform__11CQuaternionCFv /* 8009ACA4 00097C04 38 61 00 84 */ addi r3, r1, 0x84 /* 8009ACA8 00097C08 38 81 00 60 */ addi r4, r1, 0x60 /* 8009ACAC 00097C0C 48 27 53 79 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 8009ACB0 00097C10 80 1D 01 BC */ lwz r0, 0x1bc(r29) /* 8009ACB4 00097C14 2C 00 00 01 */ cmpwi r0, 1 /* 8009ACB8 00097C18 40 82 00 44 */ bne lbl_8009ACFC /* 8009ACBC 00097C1C 88 1E 00 2D */ lbz r0, 0x2d(r30) /* 8009ACC0 00097C20 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8009ACC4 00097C24 41 82 01 44 */ beq lbl_8009AE08 /* 8009ACC8 00097C28 80 1D 03 28 */ lwz r0, 0x328(r29) /* 8009ACCC 00097C2C 2C 00 00 00 */ cmpwi r0, 0 /* 8009ACD0 00097C30 40 82 01 38 */ bne lbl_8009AE08 /* 8009ACD4 00097C34 7F A3 EB 78 */ mr r3, r29 /* 8009ACD8 00097C38 7F E4 FB 78 */ mr r4, r31 /* 8009ACDC 00097C3C 48 00 14 5D */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv /* 8009ACE0 00097C40 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009ACE4 00097C44 41 82 01 24 */ beq lbl_8009AE08 /* 8009ACE8 00097C48 7F A3 EB 78 */ mr r3, r29 /* 8009ACEC 00097C4C 7F E5 FB 78 */ mr r5, r31 /* 8009ACF0 00097C50 38 80 00 02 */ li r4, 2 /* 8009ACF4 00097C54 4B FF C6 41 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager /* 8009ACF8 00097C58 48 00 01 10 */ b lbl_8009AE08 lbl_8009ACFC: /* 8009ACFC 00097C5C 2C 00 00 02 */ cmpwi r0, 2 /* 8009AD00 00097C60 40 82 01 08 */ bne lbl_8009AE08 /* 8009AD04 00097C64 88 1E 00 2D */ lbz r0, 0x2d(r30) /* 8009AD08 00097C68 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8009AD0C 00097C6C 41 82 00 FC */ beq lbl_8009AE08 /* 8009AD10 00097C70 80 1D 00 9C */ lwz r0, 0x9c(r29) /* 8009AD14 00097C74 38 61 00 30 */ addi r3, r1, 0x30 /* 8009AD18 00097C78 80 9D 00 10 */ lwz r4, 0x10(r29) /* 8009AD1C 00097C7C 1C 00 00 70 */ mulli r0, r0, 0x70 /* 8009AD20 00097C80 80 84 00 1C */ lwz r4, 0x1c(r4) /* 8009AD24 00097C84 7F 84 02 14 */ add r28, r4, r0 /* 8009AD28 00097C88 38 9C 00 14 */ addi r4, r28, 0x14 /* 8009AD2C 00097C8C 48 27 7F 71 */ bl GetQuickInverse__12CTransform4fCFv /* 8009AD30 00097C90 38 61 00 24 */ addi r3, r1, 0x24 /* 8009AD34 00097C94 38 81 00 30 */ addi r4, r1, 0x30 /* 8009AD38 00097C98 38 BD 00 C8 */ addi r5, r29, 0xc8 /* 8009AD3C 00097C9C 48 27 7D AD */ bl __ml__12CTransform4fCFRC9CVector3f /* 8009AD40 00097CA0 83 9C 00 10 */ lwz r28, 0x10(r28) /* 8009AD44 00097CA4 3B 61 00 24 */ addi r27, r1, 0x24 /* 8009AD48 00097CA8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009AD4C 00097CAC 48 13 8C 85 */ bl CurrentWorldAssetId__10CGameStateCFv /* 8009AD50 00097CB0 7C 1C 18 40 */ cmplw r28, r3 /* 8009AD54 00097CB4 41 82 00 1C */ beq lbl_8009AD70 /* 8009AD58 00097CB8 38 00 00 01 */ li r0, 1 /* 8009AD5C 00097CBC 7F A3 EB 78 */ mr r3, r29 /* 8009AD60 00097CC0 98 1D 03 2C */ stb r0, 0x32c(r29) /* 8009AD64 00097CC4 7F E4 FB 78 */ mr r4, r31 /* 8009AD68 00097CC8 48 00 12 35 */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager /* 8009AD6C 00097CCC 48 00 00 9C */ b lbl_8009AE08 lbl_8009AD70: /* 8009AD70 00097CD0 80 1F 08 50 */ lwz r0, 0x850(r31) /* 8009AD74 00097CD4 90 1D 00 24 */ stw r0, 0x24(r29) /* 8009AD78 00097CD8 80 7D 00 24 */ lwz r3, 0x24(r29) /* 8009AD7C 00097CDC 81 83 00 00 */ lwz r12, 0(r3) /* 8009AD80 00097CE0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009AD84 00097CE4 7D 89 03 A6 */ mtctr r12 /* 8009AD88 00097CE8 4E 80 04 21 */ bctrl /* 8009AD8C 00097CEC 7C 64 1B 78 */ mr r4, r3 /* 8009AD90 00097CF0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009AD94 00097CF4 48 13 8C 45 */ bl StateForWorld__10CGameStateFUi /* 8009AD98 00097CF8 7C 64 1B 78 */ mr r4, r3 /* 8009AD9C 00097CFC 38 61 00 08 */ addi r3, r1, 8 /* 8009ADA0 00097D00 48 13 9F C5 */ bl GetMapWorldInfo__11CWorldStateCFv /* 8009ADA4 00097D04 80 81 00 08 */ lwz r4, 8(r1) /* 8009ADA8 00097D08 38 61 00 08 */ addi r3, r1, 8 /* 8009ADAC 00097D0C 83 84 00 00 */ lwz r28, 0(r4) /* 8009ADB0 00097D10 4B F6 DE 8D */ bl sub_80008c3c /* 8009ADB4 00097D14 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 8009ADB8 00097D18 7F A3 EB 78 */ mr r3, r29 /* 8009ADBC 00097D1C C0 21 00 94 */ lfs f1, 0x94(r1) /* 8009ADC0 00097D20 7F 64 DB 78 */ mr r4, r27 /* 8009ADC4 00097D24 C0 01 00 88 */ lfs f0, 0x88(r1) /* 8009ADC8 00097D28 7F E6 FB 78 */ mr r6, r31 /* 8009ADCC 00097D2C D0 21 00 1C */ stfs f1, 0x1c(r1) /* 8009ADD0 00097D30 7F 88 E3 78 */ mr r8, r28 /* 8009ADD4 00097D34 38 A1 00 18 */ addi r5, r1, 0x18 /* 8009ADD8 00097D38 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8009ADDC 00097D3C D0 41 00 20 */ stfs f2, 0x20(r1) /* 8009ADE0 00097D40 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8009ADE4 00097D44 80 FD 00 24 */ lwz r7, 0x24(r29) /* 8009ADE8 00097D48 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8009ADEC 00097D4C D0 41 00 14 */ stfs f2, 0x14(r1) /* 8009ADF0 00097D50 4B FF B7 CD */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo /* 8009ADF4 00097D54 90 7D 00 A0 */ stw r3, 0xa0(r29) /* 8009ADF8 00097D58 7F A3 EB 78 */ mr r3, r29 /* 8009ADFC 00097D5C 7F E5 FB 78 */ mr r5, r31 /* 8009AE00 00097D60 38 80 00 01 */ li r4, 1 /* 8009AE04 00097D64 4B FF C5 31 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager lbl_8009AE08: /* 8009AE08 00097D68 38 00 00 00 */ li r0, 0 /* 8009AE0C 00097D6C 90 1D 02 F4 */ stw r0, 0x2f4(r29) /* 8009AE10 00097D70 88 1E 00 2D */ lbz r0, 0x2d(r30) /* 8009AE14 00097D74 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8009AE18 00097D78 41 82 00 0C */ beq lbl_8009AE24 /* 8009AE1C 00097D7C 38 00 00 01 */ li r0, 1 /* 8009AE20 00097D80 90 1D 02 F4 */ stw r0, 0x2f4(r29) lbl_8009AE24: /* 8009AE24 00097D84 7F A3 EB 78 */ mr r3, r29 /* 8009AE28 00097D88 3B 80 00 00 */ li r28, 0 /* 8009AE2C 00097D8C 38 80 00 01 */ li r4, 1 /* 8009AE30 00097D90 4B FF AE F5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009AE34 00097D94 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009AE38 00097D98 40 82 00 18 */ bne lbl_8009AE50 /* 8009AE3C 00097D9C 7F A3 EB 78 */ mr r3, r29 /* 8009AE40 00097DA0 38 80 00 02 */ li r4, 2 /* 8009AE44 00097DA4 4B FF AE E1 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009AE48 00097DA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009AE4C 00097DAC 41 82 00 08 */ beq lbl_8009AE54 lbl_8009AE50: /* 8009AE50 00097DB0 3B 80 00 01 */ li r28, 1 lbl_8009AE54: /* 8009AE54 00097DB4 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 8009AE58 00097DB8 41 82 00 48 */ beq lbl_8009AEA0 /* 8009AE5C 00097DBC 38 00 00 00 */ li r0, 0 /* 8009AE60 00097DC0 7F A3 EB 78 */ mr r3, r29 /* 8009AE64 00097DC4 90 1D 02 E4 */ stw r0, 0x2e4(r29) /* 8009AE68 00097DC8 7F C4 F3 78 */ mr r4, r30 /* 8009AE6C 00097DCC 7F E5 FB 78 */ mr r5, r31 /* 8009AE70 00097DD0 90 1D 02 E8 */ stw r0, 0x2e8(r29) /* 8009AE74 00097DD4 90 1D 02 EC */ stw r0, 0x2ec(r29) /* 8009AE78 00097DD8 90 1D 02 F0 */ stw r0, 0x2f0(r29) /* 8009AE7C 00097DDC 4B FF F8 8D */ bl ProcessMapRotateInput__11CAutoMapperFRC11CFinalInputRC13CStateManager /* 8009AE80 00097DE0 7F A3 EB 78 */ mr r3, r29 /* 8009AE84 00097DE4 7F C4 F3 78 */ mr r4, r30 /* 8009AE88 00097DE8 7F E5 FB 78 */ mr r5, r31 /* 8009AE8C 00097DEC 4B FF F6 D1 */ bl ProcessMapZoomInput__11CAutoMapperFRC11CFinalInputRC13CStateManager /* 8009AE90 00097DF0 7F A3 EB 78 */ mr r3, r29 /* 8009AE94 00097DF4 7F C4 F3 78 */ mr r4, r30 /* 8009AE98 00097DF8 7F E5 FB 78 */ mr r5, r31 /* 8009AE9C 00097DFC 4B FF F0 F5 */ bl ProcessMapPanInput__11CAutoMapperFRC11CFinalInputRC13CStateManager lbl_8009AEA0: /* 8009AEA0 00097E00 BB 61 00 AC */ lmw r27, 0xac(r1) /* 8009AEA4 00097E04 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8009AEA8 00097E08 7C 08 03 A6 */ mtlr r0 /* 8009AEAC 00097E0C 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8009AEB0 00097E10 4E 80 00 20 */ blr .global ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager: /* 8009AEB4 00097E14 94 21 FE 00 */ stwu r1, -0x200(r1) /* 8009AEB8 00097E18 7C 08 02 A6 */ mflr r0 /* 8009AEBC 00097E1C 90 01 02 04 */ stw r0, 0x204(r1) /* 8009AEC0 00097E20 BE E1 01 DC */ stmw r23, 0x1dc(r1) /* 8009AEC4 00097E24 7C 7F 1B 78 */ mr r31, r3 /* 8009AEC8 00097E28 7C 9D 23 78 */ mr r29, r4 /* 8009AECC 00097E2C 7C BE 2B 78 */ mr r30, r5 /* 8009AED0 00097E30 4B FF AE 21 */ bl IsRenderStateInterpolating__11CAutoMapperCFv /* 8009AED4 00097E34 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009AED8 00097E38 40 82 00 94 */ bne lbl_8009AF6C /* 8009AEDC 00097E3C 7F E3 FB 78 */ mr r3, r31 /* 8009AEE0 00097E40 3B 00 00 00 */ li r24, 0 /* 8009AEE4 00097E44 38 80 00 01 */ li r4, 1 /* 8009AEE8 00097E48 4B FF AE 3D */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009AEEC 00097E4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009AEF0 00097E50 40 82 00 18 */ bne lbl_8009AF08 /* 8009AEF4 00097E54 7F E3 FB 78 */ mr r3, r31 /* 8009AEF8 00097E58 38 80 00 02 */ li r4, 2 /* 8009AEFC 00097E5C 4B FF AE 29 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009AF00 00097E60 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009AF04 00097E64 41 82 00 08 */ beq lbl_8009AF0C lbl_8009AF08: /* 8009AF08 00097E68 3B 00 00 01 */ li r24, 1 lbl_8009AF0C: /* 8009AF0C 00097E6C 57 00 06 3F */ clrlwi. r0, r24, 0x18 /* 8009AF10 00097E70 41 82 00 5C */ beq lbl_8009AF6C /* 8009AF14 00097E74 88 1F 03 2C */ lbz r0, 0x32c(r31) /* 8009AF18 00097E78 28 00 00 00 */ cmplwi r0, 0 /* 8009AF1C 00097E7C 41 82 00 14 */ beq lbl_8009AF30 /* 8009AF20 00097E80 7F E3 FB 78 */ mr r3, r31 /* 8009AF24 00097E84 7F C4 F3 78 */ mr r4, r30 /* 8009AF28 00097E88 48 00 10 75 */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager /* 8009AF2C 00097E8C 48 00 00 40 */ b lbl_8009AF6C lbl_8009AF30: /* 8009AF30 00097E90 80 1F 01 F4 */ lwz r0, 0x1f4(r31) /* 8009AF34 00097E94 2C 00 00 00 */ cmpwi r0, 0 /* 8009AF38 00097E98 40 81 00 18 */ ble lbl_8009AF50 /* 8009AF3C 00097E9C C0 3D 00 00 */ lfs f1, 0(r29) /* 8009AF40 00097EA0 7F E3 FB 78 */ mr r3, r31 /* 8009AF44 00097EA4 7F C4 F3 78 */ mr r4, r30 /* 8009AF48 00097EA8 48 00 09 9D */ bl UpdateHintNavigation__11CAutoMapperFfRC13CStateManager /* 8009AF4C 00097EAC 48 00 00 20 */ b lbl_8009AF6C lbl_8009AF50: /* 8009AF50 00097EB0 80 1F 03 28 */ lwz r0, 0x328(r31) /* 8009AF54 00097EB4 2C 00 00 00 */ cmpwi r0, 0 /* 8009AF58 00097EB8 40 82 00 14 */ bne lbl_8009AF6C /* 8009AF5C 00097EBC 7F E3 FB 78 */ mr r3, r31 /* 8009AF60 00097EC0 7F A4 EB 78 */ mr r4, r29 /* 8009AF64 00097EC4 7F C5 F3 78 */ mr r5, r30 /* 8009AF68 00097EC8 4B FF FD 15 */ bl ProcessMapScreenInput__11CAutoMapperRC11CFinalInputRC13CStateManager lbl_8009AF6C: /* 8009AF6C 00097ECC 38 61 01 90 */ addi r3, r1, 0x190 /* 8009AF70 00097ED0 38 9F 00 B0 */ addi r4, r31, 0xb0 /* 8009AF74 00097ED4 48 27 71 19 */ bl BuildTransform__11CQuaternionCFv /* 8009AF78 00097ED8 38 61 01 B4 */ addi r3, r1, 0x1b4 /* 8009AF7C 00097EDC 38 81 01 90 */ addi r4, r1, 0x190 /* 8009AF80 00097EE0 48 27 50 A5 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 8009AF84 00097EE4 7F E3 FB 78 */ mr r3, r31 /* 8009AF88 00097EE8 38 80 00 01 */ li r4, 1 /* 8009AF8C 00097EEC 4B FF AD 99 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009AF90 00097EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009AF94 00097EF4 41 82 00 BC */ beq lbl_8009B050 /* 8009AF98 00097EF8 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8009AF9C 00097EFC 81 83 00 00 */ lwz r12, 0(r3) /* 8009AFA0 00097F00 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009AFA4 00097F04 7D 89 03 A6 */ mtctr r12 /* 8009AFA8 00097F08 4E 80 04 21 */ bctrl /* 8009AFAC 00097F0C 7C 64 1B 78 */ mr r4, r3 /* 8009AFB0 00097F10 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009AFB4 00097F14 48 13 8A 25 */ bl StateForWorld__10CGameStateFUi /* 8009AFB8 00097F18 7C 64 1B 78 */ mr r4, r3 /* 8009AFBC 00097F1C 38 61 00 28 */ addi r3, r1, 0x28 /* 8009AFC0 00097F20 48 13 9D A5 */ bl GetMapWorldInfo__11CWorldStateCFv /* 8009AFC4 00097F24 80 81 00 28 */ lwz r4, 0x28(r1) /* 8009AFC8 00097F28 38 61 00 28 */ addi r3, r1, 0x28 /* 8009AFCC 00097F2C 83 04 00 00 */ lwz r24, 0(r4) /* 8009AFD0 00097F30 4B F6 DC 6D */ bl sub_80008c3c /* 8009AFD4 00097F34 C0 41 01 D0 */ lfs f2, 0x1d0(r1) /* 8009AFD8 00097F38 7F E3 FB 78 */ mr r3, r31 /* 8009AFDC 00097F3C C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 8009AFE0 00097F40 7F C6 F3 78 */ mr r6, r30 /* 8009AFE4 00097F44 C0 01 01 B8 */ lfs f0, 0x1b8(r1) /* 8009AFE8 00097F48 7F 08 C3 78 */ mr r8, r24 /* 8009AFEC 00097F4C D0 21 01 68 */ stfs f1, 0x168(r1) /* 8009AFF0 00097F50 38 9F 00 C8 */ addi r4, r31, 0xc8 /* 8009AFF4 00097F54 38 A1 01 64 */ addi r5, r1, 0x164 /* 8009AFF8 00097F58 D0 01 01 64 */ stfs f0, 0x164(r1) /* 8009AFFC 00097F5C D0 41 01 6C */ stfs f2, 0x16c(r1) /* 8009B000 00097F60 D0 01 01 58 */ stfs f0, 0x158(r1) /* 8009B004 00097F64 80 FF 00 24 */ lwz r7, 0x24(r31) /* 8009B008 00097F68 D0 21 01 5C */ stfs f1, 0x15c(r1) /* 8009B00C 00097F6C D0 41 01 60 */ stfs f2, 0x160(r1) /* 8009B010 00097F70 4B FF B5 AD */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo /* 8009B014 00097F74 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 8009B018 00097F78 7C 03 00 00 */ cmpw r3, r0 /* 8009B01C 00097F7C 41 82 03 28 */ beq lbl_8009B344 /* 8009B020 00097F80 90 7F 00 A0 */ stw r3, 0xa0(r31) /* 8009B024 00097F84 7F E3 FB 78 */ mr r3, r31 /* 8009B028 00097F88 7F C4 F3 78 */ mr r4, r30 /* 8009B02C 00097F8C 80 BF 00 A0 */ lwz r5, 0xa0(r31) /* 8009B030 00097F90 4B FF B2 15 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri /* 8009B034 00097F94 D0 3F 00 D4 */ stfs f1, 0xd4(r31) /* 8009B038 00097F98 7F E3 FB 78 */ mr r3, r31 /* 8009B03C 00097F9C 7F C4 F3 78 */ mr r4, r30 /* 8009B040 00097FA0 80 BF 00 A0 */ lwz r5, 0xa0(r31) /* 8009B044 00097FA4 4B FF B2 01 */ bl GetMapAreaMaxDrawDepth__11CAutoMapperCFRC13CStateManageri /* 8009B048 00097FA8 D0 3F 00 D8 */ stfs f1, 0xd8(r31) /* 8009B04C 00097FAC 48 00 02 F8 */ b lbl_8009B344 lbl_8009B050: /* 8009B050 00097FB0 7F E3 FB 78 */ mr r3, r31 /* 8009B054 00097FB4 38 80 00 02 */ li r4, 2 /* 8009B058 00097FB8 4B FF AC CD */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009B05C 00097FBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009B060 00097FC0 41 82 02 E4 */ beq lbl_8009B344 /* 8009B064 00097FC4 80 1F 01 F4 */ lwz r0, 0x1f4(r31) /* 8009B068 00097FC8 83 3F 00 10 */ lwz r25, 0x10(r31) /* 8009B06C 00097FCC 2C 00 00 00 */ cmpwi r0, 0 /* 8009B070 00097FD0 82 FF 00 9C */ lwz r23, 0x9c(r31) /* 8009B074 00097FD4 40 81 00 74 */ ble lbl_8009B0E8 /* 8009B078 00097FD8 80 7F 01 E4 */ lwz r3, 0x1e4(r31) /* 8009B07C 00097FDC 80 03 00 08 */ lwz r0, 8(r3) /* 8009B080 00097FE0 2C 00 00 01 */ cmpwi r0, 1 /* 8009B084 00097FE4 41 82 00 0C */ beq lbl_8009B090 /* 8009B088 00097FE8 2C 00 00 03 */ cmpwi r0, 3 /* 8009B08C 00097FEC 40 82 00 14 */ bne lbl_8009B0A0 lbl_8009B090: /* 8009B090 00097FF0 80 83 00 0C */ lwz r4, 0xc(r3) /* 8009B094 00097FF4 7F E3 FB 78 */ mr r3, r31 /* 8009B098 00097FF8 4B FF A8 A5 */ bl SetCurWorldAssetId__11CAutoMapperFi /* 8009B09C 00097FFC 48 00 00 90 */ b lbl_8009B12C lbl_8009B0A0: /* 8009B0A0 00098000 C0 41 01 D0 */ lfs f2, 0x1d0(r1) /* 8009B0A4 00098004 7F E4 FB 78 */ mr r4, r31 /* 8009B0A8 00098008 C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 8009B0AC 0009800C 7F C7 F3 78 */ mr r7, r30 /* 8009B0B0 00098010 C0 01 01 B8 */ lfs f0, 0x1b8(r1) /* 8009B0B4 00098014 38 61 00 50 */ addi r3, r1, 0x50 /* 8009B0B8 00098018 D0 21 01 44 */ stfs f1, 0x144(r1) /* 8009B0BC 0009801C 38 BF 00 C8 */ addi r5, r31, 0xc8 /* 8009B0C0 00098020 38 C1 01 4C */ addi r6, r1, 0x14c /* 8009B0C4 00098024 D0 01 01 40 */ stfs f0, 0x140(r1) /* 8009B0C8 00098028 D0 41 01 48 */ stfs f2, 0x148(r1) /* 8009B0CC 0009802C D0 01 01 4C */ stfs f0, 0x14c(r1) /* 8009B0D0 00098030 D0 21 01 50 */ stfs f1, 0x150(r1) /* 8009B0D4 00098034 D0 41 01 54 */ stfs f2, 0x154(r1) /* 8009B0D8 00098038 4B FF B2 B1 */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager /* 8009B0DC 0009803C 80 01 00 50 */ lwz r0, 0x50(r1) /* 8009B0E0 00098040 90 1F 00 9C */ stw r0, 0x9c(r31) /* 8009B0E4 00098044 48 00 00 48 */ b lbl_8009B12C lbl_8009B0E8: /* 8009B0E8 00098048 C0 41 01 D0 */ lfs f2, 0x1d0(r1) /* 8009B0EC 0009804C 7F E4 FB 78 */ mr r4, r31 /* 8009B0F0 00098050 C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 8009B0F4 00098054 7F C7 F3 78 */ mr r7, r30 /* 8009B0F8 00098058 C0 01 01 B8 */ lfs f0, 0x1b8(r1) /* 8009B0FC 0009805C 38 61 00 48 */ addi r3, r1, 0x48 /* 8009B100 00098060 D0 21 01 2C */ stfs f1, 0x12c(r1) /* 8009B104 00098064 38 BF 00 C8 */ addi r5, r31, 0xc8 /* 8009B108 00098068 38 C1 01 34 */ addi r6, r1, 0x134 /* 8009B10C 0009806C D0 01 01 28 */ stfs f0, 0x128(r1) /* 8009B110 00098070 D0 41 01 30 */ stfs f2, 0x130(r1) /* 8009B114 00098074 D0 01 01 34 */ stfs f0, 0x134(r1) /* 8009B118 00098078 D0 21 01 38 */ stfs f1, 0x138(r1) /* 8009B11C 0009807C D0 41 01 3C */ stfs f2, 0x13c(r1) /* 8009B120 00098080 4B FF B2 69 */ bl FindClosestVisibleWorld__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManager /* 8009B124 00098084 80 01 00 48 */ lwz r0, 0x48(r1) /* 8009B128 00098088 90 1F 00 9C */ stw r0, 0x9c(r31) lbl_8009B12C: /* 8009B12C 0009808C 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 8009B130 00098090 7C 00 B8 00 */ cmpw r0, r23 /* 8009B134 00098094 41 82 02 10 */ beq lbl_8009B344 /* 8009B138 00098098 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009B13C 0009809C 48 13 88 95 */ bl CurrentWorldAssetId__10CGameStateCFv /* 8009B140 000980A0 3B 60 00 00 */ li r27, 0 /* 8009B144 000980A4 7C 7C 1B 78 */ mr r28, r3 /* 8009B148 000980A8 7F 7A DB 78 */ mr r26, r27 /* 8009B14C 000980AC 3B 00 00 00 */ li r24, 0 /* 8009B150 000980B0 48 00 01 BC */ b lbl_8009B30C lbl_8009B154: /* 8009B154 000980B4 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 8009B158 000980B8 38 7B 00 10 */ addi r3, r27, 0x10 /* 8009B15C 000980BC 80 99 00 1C */ lwz r4, 0x1c(r25) /* 8009B160 000980C0 7C 18 00 00 */ cmpw r24, r0 /* 8009B164 000980C4 7E E4 18 2E */ lwzx r23, r4, r3 /* 8009B168 000980C8 40 82 01 08 */ bne lbl_8009B270 /* 8009B16C 000980CC 7C 1C B8 40 */ cmplw r28, r23 /* 8009B170 000980D0 41 82 01 00 */ beq lbl_8009B270 /* 8009B174 000980D4 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha /* 8009B178 000980D8 92 E1 00 44 */ stw r23, 0x44(r1) /* 8009B17C 000980DC 38 03 56 4C */ addi r0, r3, 0x4D4C564C@l /* 8009B180 000980E0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 8009B184 000980E4 90 01 00 40 */ stw r0, 0x40(r1) /* 8009B188 000980E8 38 81 00 40 */ addi r4, r1, 0x40 /* 8009B18C 000980EC 81 83 00 00 */ lwz r12, 0(r3) /* 8009B190 000980F0 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8009B194 000980F4 7D 89 03 A6 */ mtctr r12 /* 8009B198 000980F8 4E 80 04 21 */ bctrl /* 8009B19C 000980FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009B1A0 00098100 41 82 01 60 */ beq lbl_8009B300 /* 8009B1A4 00098104 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009B1A8 00098108 38 60 00 40 */ li r3, 0x40 /* 8009B1AC 0009810C 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 8009B1B0 00098110 38 A0 00 00 */ li r5, 0 /* 8009B1B4 00098114 38 84 00 0F */ addi r4, r4, 0xf /* 8009B1B8 00098118 48 27 A6 B5 */ bl __nw__FUlPCcPCc /* 8009B1BC 0009811C 7C 64 1B 79 */ or. r4, r3, r3 /* 8009B1C0 00098120 41 82 00 14 */ beq lbl_8009B1D4 /* 8009B1C4 00098124 7E E4 BB 78 */ mr r4, r23 /* 8009B1C8 00098128 38 A0 00 01 */ li r5, 1 /* 8009B1CC 0009812C 4B FB C2 B1 */ bl __ct__11CDummyWorldFUi /* 8009B1D0 00098130 7C 64 1B 78 */ mr r4, r3 lbl_8009B1D4: /* 8009B1D4 00098134 7C 04 00 D0 */ neg r0, r4 /* 8009B1D8 00098138 90 81 00 3C */ stw r4, 0x3c(r1) /* 8009B1DC 0009813C 7C 03 23 78 */ or r3, r0, r4 /* 8009B1E0 00098140 38 01 00 38 */ addi r0, r1, 0x38 /* 8009B1E4 00098144 54 63 0F FE */ srwi r3, r3, 0x1f /* 8009B1E8 00098148 98 61 00 38 */ stb r3, 0x38(r1) /* 8009B1EC 0009814C 80 7F 00 20 */ lwz r3, 0x20(r31) /* 8009B1F0 00098150 7E E3 D2 14 */ add r23, r3, r26 /* 8009B1F4 00098154 7C 00 B8 40 */ cmplw r0, r23 /* 8009B1F8 00098158 41 82 00 48 */ beq lbl_8009B240 /* 8009B1FC 0009815C 88 17 00 00 */ lbz r0, 0(r23) /* 8009B200 00098160 28 00 00 00 */ cmplwi r0, 0 /* 8009B204 00098164 41 82 00 24 */ beq lbl_8009B228 /* 8009B208 00098168 80 77 00 04 */ lwz r3, 4(r23) /* 8009B20C 0009816C 28 03 00 00 */ cmplwi r3, 0 /* 8009B210 00098170 41 82 00 18 */ beq lbl_8009B228 /* 8009B214 00098174 81 83 00 00 */ lwz r12, 0(r3) /* 8009B218 00098178 38 80 00 01 */ li r4, 1 /* 8009B21C 0009817C 81 8C 00 08 */ lwz r12, 8(r12) /* 8009B220 00098180 7D 89 03 A6 */ mtctr r12 /* 8009B224 00098184 4E 80 04 21 */ bctrl lbl_8009B228: /* 8009B228 00098188 88 61 00 38 */ lbz r3, 0x38(r1) /* 8009B22C 0009818C 38 00 00 00 */ li r0, 0 /* 8009B230 00098190 98 77 00 00 */ stb r3, 0(r23) /* 8009B234 00098194 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8009B238 00098198 90 77 00 04 */ stw r3, 4(r23) /* 8009B23C 0009819C 98 01 00 38 */ stb r0, 0x38(r1) lbl_8009B240: /* 8009B240 000981A0 88 01 00 38 */ lbz r0, 0x38(r1) /* 8009B244 000981A4 28 00 00 00 */ cmplwi r0, 0 /* 8009B248 000981A8 41 82 00 B8 */ beq lbl_8009B300 /* 8009B24C 000981AC 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8009B250 000981B0 28 03 00 00 */ cmplwi r3, 0 /* 8009B254 000981B4 41 82 00 AC */ beq lbl_8009B300 /* 8009B258 000981B8 81 83 00 00 */ lwz r12, 0(r3) /* 8009B25C 000981BC 38 80 00 01 */ li r4, 1 /* 8009B260 000981C0 81 8C 00 08 */ lwz r12, 8(r12) /* 8009B264 000981C4 7D 89 03 A6 */ mtctr r12 /* 8009B268 000981C8 4E 80 04 21 */ bctrl /* 8009B26C 000981CC 48 00 00 94 */ b lbl_8009B300 lbl_8009B270: /* 8009B270 000981D0 38 60 00 00 */ li r3, 0 /* 8009B274 000981D4 38 01 00 30 */ addi r0, r1, 0x30 /* 8009B278 000981D8 98 61 00 30 */ stb r3, 0x30(r1) /* 8009B27C 000981DC 90 61 00 34 */ stw r3, 0x34(r1) /* 8009B280 000981E0 80 7F 00 20 */ lwz r3, 0x20(r31) /* 8009B284 000981E4 7E E3 D2 14 */ add r23, r3, r26 /* 8009B288 000981E8 7C 00 B8 40 */ cmplw r0, r23 /* 8009B28C 000981EC 41 82 00 48 */ beq lbl_8009B2D4 /* 8009B290 000981F0 88 17 00 00 */ lbz r0, 0(r23) /* 8009B294 000981F4 28 00 00 00 */ cmplwi r0, 0 /* 8009B298 000981F8 41 82 00 24 */ beq lbl_8009B2BC /* 8009B29C 000981FC 80 77 00 04 */ lwz r3, 4(r23) /* 8009B2A0 00098200 28 03 00 00 */ cmplwi r3, 0 /* 8009B2A4 00098204 41 82 00 18 */ beq lbl_8009B2BC /* 8009B2A8 00098208 81 83 00 00 */ lwz r12, 0(r3) /* 8009B2AC 0009820C 38 80 00 01 */ li r4, 1 /* 8009B2B0 00098210 81 8C 00 08 */ lwz r12, 8(r12) /* 8009B2B4 00098214 7D 89 03 A6 */ mtctr r12 /* 8009B2B8 00098218 4E 80 04 21 */ bctrl lbl_8009B2BC: /* 8009B2BC 0009821C 88 61 00 30 */ lbz r3, 0x30(r1) /* 8009B2C0 00098220 38 00 00 00 */ li r0, 0 /* 8009B2C4 00098224 98 77 00 00 */ stb r3, 0(r23) /* 8009B2C8 00098228 80 61 00 34 */ lwz r3, 0x34(r1) /* 8009B2CC 0009822C 90 77 00 04 */ stw r3, 4(r23) /* 8009B2D0 00098230 98 01 00 30 */ stb r0, 0x30(r1) lbl_8009B2D4: /* 8009B2D4 00098234 88 01 00 30 */ lbz r0, 0x30(r1) /* 8009B2D8 00098238 28 00 00 00 */ cmplwi r0, 0 /* 8009B2DC 0009823C 41 82 00 24 */ beq lbl_8009B300 /* 8009B2E0 00098240 80 61 00 34 */ lwz r3, 0x34(r1) /* 8009B2E4 00098244 28 03 00 00 */ cmplwi r3, 0 /* 8009B2E8 00098248 41 82 00 18 */ beq lbl_8009B300 /* 8009B2EC 0009824C 81 83 00 00 */ lwz r12, 0(r3) /* 8009B2F0 00098250 38 80 00 01 */ li r4, 1 /* 8009B2F4 00098254 81 8C 00 08 */ lwz r12, 8(r12) /* 8009B2F8 00098258 7D 89 03 A6 */ mtctr r12 /* 8009B2FC 0009825C 4E 80 04 21 */ bctrl lbl_8009B300: /* 8009B300 00098260 3B 7B 00 70 */ addi r27, r27, 0x70 /* 8009B304 00098264 3B 5A 00 08 */ addi r26, r26, 8 /* 8009B308 00098268 3B 18 00 01 */ addi r24, r24, 1 lbl_8009B30C: /* 8009B30C 0009826C 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8009B310 00098270 7C 18 00 00 */ cmpw r24, r0 /* 8009B314 00098274 41 80 FE 40 */ blt lbl_8009B154 /* 8009B318 00098278 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 8009B31C 0009827C 80 99 00 1C */ lwz r4, 0x1c(r25) /* 8009B320 00098280 1C 60 00 70 */ mulli r3, r0, 0x70 /* 8009B324 00098284 38 03 00 10 */ addi r0, r3, 0x10 /* 8009B328 00098288 7C 04 00 2E */ lwzx r0, r4, r0 /* 8009B32C 0009828C 7C 1C 00 40 */ cmplw r28, r0 /* 8009B330 00098290 40 82 00 0C */ bne lbl_8009B33C /* 8009B334 00098294 80 1E 08 50 */ lwz r0, 0x850(r30) /* 8009B338 00098298 48 00 00 08 */ b lbl_8009B340 lbl_8009B33C: /* 8009B33C 0009829C 38 00 00 00 */ li r0, 0 lbl_8009B340: /* 8009B340 000982A0 90 1F 00 24 */ stw r0, 0x24(r31) lbl_8009B344: /* 8009B344 000982A4 80 1F 03 00 */ lwz r0, 0x300(r31) /* 8009B348 000982A8 28 00 00 00 */ cmplwi r0, 0 /* 8009B34C 000982AC 41 82 04 48 */ beq lbl_8009B794 /* 8009B350 000982B0 88 1F 00 84 */ lbz r0, 0x84(r31) /* 8009B354 000982B4 28 00 00 00 */ cmplwi r0, 0 /* 8009B358 000982B8 41 82 01 14 */ beq lbl_8009B46C /* 8009B35C 000982BC 3A FF 00 78 */ addi r23, r31, 0x78 /* 8009B360 000982C0 80 1F 00 80 */ lwz r0, 0x80(r31) /* 8009B364 000982C4 28 00 00 00 */ cmplwi r0, 0 /* 8009B368 000982C8 41 82 00 0C */ beq lbl_8009B374 /* 8009B36C 000982CC 38 60 00 01 */ li r3, 1 /* 8009B370 000982D0 48 00 00 3C */ b lbl_8009B3AC lbl_8009B374: /* 8009B374 000982D4 88 17 00 04 */ lbz r0, 4(r23) /* 8009B378 000982D8 28 00 00 00 */ cmplwi r0, 0 /* 8009B37C 000982DC 41 82 00 2C */ beq lbl_8009B3A8 /* 8009B380 000982E0 80 77 00 00 */ lwz r3, 0(r23) /* 8009B384 000982E4 80 03 00 10 */ lwz r0, 0x10(r3) /* 8009B388 000982E8 28 00 00 00 */ cmplwi r0, 0 /* 8009B38C 000982EC 41 82 00 1C */ beq lbl_8009B3A8 /* 8009B390 000982F0 7E E3 BB 78 */ mr r3, r23 /* 8009B394 000982F4 48 2A 5A 79 */ bl GetObj__6CTokenFv /* 8009B398 000982F8 80 03 00 04 */ lwz r0, 4(r3) /* 8009B39C 000982FC 38 60 00 01 */ li r3, 1 /* 8009B3A0 00098300 90 17 00 08 */ stw r0, 8(r23) /* 8009B3A4 00098304 48 00 00 08 */ b lbl_8009B3AC lbl_8009B3A8: /* 8009B3A8 00098308 38 60 00 00 */ li r3, 0 lbl_8009B3AC: /* 8009B3AC 0009830C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009B3B0 00098310 41 82 00 BC */ beq lbl_8009B46C /* 8009B3B4 00098314 80 7F 00 80 */ lwz r3, 0x80(r31) /* 8009B3B8 00098318 38 80 00 00 */ li r4, 0 /* 8009B3BC 0009831C 48 2B B3 41 */ bl GetString__12CStringTableCFi /* 8009B3C0 00098320 7C 64 1B 78 */ mr r4, r3 /* 8009B3C4 00098324 38 61 01 18 */ addi r3, r1, 0x118 /* 8009B3C8 00098328 38 C1 00 18 */ addi r6, r1, 0x18 /* 8009B3CC 0009832C 38 A0 FF FF */ li r5, -1 /* 8009B3D0 00098330 48 2A 23 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 8009B3D4 00098334 80 7F 02 FC */ lwz r3, 0x2fc(r31) /* 8009B3D8 00098338 38 81 01 18 */ addi r4, r1, 0x118 /* 8009B3DC 0009833C 38 A0 00 00 */ li r5, 0 /* 8009B3E0 00098340 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B3E4 00098344 48 22 E4 A1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B3E8 00098348 38 61 01 18 */ addi r3, r1, 0x118 /* 8009B3EC 0009834C 48 2A 1D 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B3F0 00098350 38 61 01 08 */ addi r3, r1, 0x108 /* 8009B3F4 00098354 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 /* 8009B3F8 00098358 4B F7 A5 F9 */ bl wstring_l__4rstlFPCw /* 8009B3FC 0009835C 80 7F 03 04 */ lwz r3, 0x304(r31) /* 8009B400 00098360 38 81 01 08 */ addi r4, r1, 0x108 /* 8009B404 00098364 38 A0 00 00 */ li r5, 0 /* 8009B408 00098368 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B40C 0009836C 48 22 E4 79 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B410 00098370 38 61 01 08 */ addi r3, r1, 0x108 /* 8009B414 00098374 48 2A 1D 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B418 00098378 38 61 00 F8 */ addi r3, r1, 0xf8 /* 8009B41C 0009837C 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 /* 8009B420 00098380 4B F7 A5 D1 */ bl wstring_l__4rstlFPCw /* 8009B424 00098384 80 7F 03 00 */ lwz r3, 0x300(r31) /* 8009B428 00098388 38 81 00 F8 */ addi r4, r1, 0xf8 /* 8009B42C 0009838C 38 A0 00 00 */ li r5, 0 /* 8009B430 00098390 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B434 00098394 48 22 E4 51 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B438 00098398 38 61 00 F8 */ addi r3, r1, 0xf8 /* 8009B43C 0009839C 48 2A 1C F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B440 000983A0 38 61 00 E8 */ addi r3, r1, 0xe8 /* 8009B444 000983A4 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 /* 8009B448 000983A8 4B F7 A5 A9 */ bl wstring_l__4rstlFPCw /* 8009B44C 000983AC 80 7F 03 08 */ lwz r3, 0x308(r31) /* 8009B450 000983B0 38 81 00 E8 */ addi r4, r1, 0xe8 /* 8009B454 000983B4 38 A0 00 00 */ li r5, 0 /* 8009B458 000983B8 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B45C 000983BC 48 22 E4 29 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B460 000983C0 38 61 00 E8 */ addi r3, r1, 0xe8 /* 8009B464 000983C4 48 2A 1C D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B468 000983C8 48 00 03 2C */ b lbl_8009B794 lbl_8009B46C: /* 8009B46C 000983CC 38 61 00 D8 */ addi r3, r1, 0xd8 /* 8009B470 000983D0 38 8D 85 FC */ addi r4, r13, lbl_805A71BC@sda21 /* 8009B474 000983D4 4B F7 A5 7D */ bl wstring_l__4rstlFPCw /* 8009B478 000983D8 80 7F 02 FC */ lwz r3, 0x2fc(r31) /* 8009B47C 000983DC 38 81 00 D8 */ addi r4, r1, 0xd8 /* 8009B480 000983E0 38 A0 00 00 */ li r5, 0 /* 8009B484 000983E4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B488 000983E8 48 22 E3 FD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B48C 000983EC 38 61 00 D8 */ addi r3, r1, 0xd8 /* 8009B490 000983F0 48 2A 1C A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B494 000983F4 3C 60 80 3D */ lis r3, lbl_803CD7EC@ha /* 8009B498 000983F8 38 00 00 00 */ li r0, 0 /* 8009B49C 000983FC 38 A3 D7 EC */ addi r5, r3, lbl_803CD7EC@l /* 8009B4A0 00098400 80 E2 8B 64 */ lwz r7, lbl_805AA884@sda21(r2) /* 8009B4A4 00098404 81 65 00 00 */ lwz r11, 0(r5) /* 8009B4A8 00098408 38 CD A9 1A */ addi r6, r13, lbl_805A94DA@sda21 /* 8009B4AC 0009840C 81 45 00 04 */ lwz r10, 4(r5) /* 8009B4B0 00098410 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B4B4 00098414 81 25 00 08 */ lwz r9, 8(r5) /* 8009B4B8 00098418 38 80 01 00 */ li r4, 0x100 /* 8009B4BC 0009841C 81 05 00 0C */ lwz r8, 0xc(r5) /* 8009B4C0 00098420 38 A0 00 01 */ li r5, 1 /* 8009B4C4 00098424 91 61 01 80 */ stw r11, 0x180(r1) /* 8009B4C8 00098428 83 0D A0 74 */ lwz r24, gpStringTable@sda21(r13) /* 8009B4CC 0009842C 91 41 01 84 */ stw r10, 0x184(r1) /* 8009B4D0 00098430 91 21 01 88 */ stw r9, 0x188(r1) /* 8009B4D4 00098434 91 01 01 8C */ stw r8, 0x18c(r1) /* 8009B4D8 00098438 90 E1 00 2C */ stw r7, 0x2c(r1) /* 8009B4DC 0009843C 90 C1 01 70 */ stw r6, 0x170(r1) /* 8009B4E0 00098440 90 01 01 74 */ stw r0, 0x174(r1) /* 8009B4E4 00098444 90 01 01 78 */ stw r0, 0x178(r1) /* 8009B4E8 00098448 48 2A 1A 8D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" /* 8009B4EC 0009844C 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B4F0 00098450 38 81 01 80 */ addi r4, r1, 0x180 /* 8009B4F4 00098454 38 A0 FF FF */ li r5, -1 /* 8009B4F8 00098458 48 2A 1F ED */ bl sub_8033d4e4 /* 8009B4FC 0009845C 80 1F 02 E4 */ lwz r0, 0x2e4(r31) /* 8009B500 00098460 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009B504 00098464 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 8009B508 00098468 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l /* 8009B50C 0009846C 54 00 10 3A */ slwi r0, r0, 2 /* 8009B510 00098470 7C 83 02 14 */ add r4, r3, r0 /* 8009B514 00098474 38 65 01 10 */ addi r3, r5, 0x110 /* 8009B518 00098478 80 84 00 24 */ lwz r4, 0x24(r4) /* 8009B51C 0009847C 4C C6 31 82 */ crclr 6 /* 8009B520 00098480 48 23 AC 91 */ bl Stringize__7CBasicsFPCce /* 8009B524 00098484 7C 64 1B 78 */ mr r4, r3 /* 8009B528 00098488 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8009B52C 0009848C 38 C1 00 14 */ addi r6, r1, 0x14 /* 8009B530 00098490 38 A0 FF FF */ li r5, -1 /* 8009B534 00098494 48 2A 2C 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8009B538 00098498 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8009B53C 0009849C 38 81 00 C8 */ addi r4, r1, 0xc8 /* 8009B540 000984A0 48 2A 31 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B544 000984A4 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B548 000984A8 38 81 00 B8 */ addi r4, r1, 0xb8 /* 8009B54C 000984AC 48 2A 21 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B550 000984B0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8009B554 000984B4 48 2A 1B E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B558 000984B8 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8009B55C 000984BC 48 2A 25 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B560 000984C0 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B564 000984C4 38 81 00 2C */ addi r4, r1, 0x2c /* 8009B568 000984C8 38 A0 FF FF */ li r5, -1 /* 8009B56C 000984CC 48 2A 1F 79 */ bl sub_8033d4e4 /* 8009B570 000984D0 7F 03 C3 78 */ mr r3, r24 /* 8009B574 000984D4 38 80 00 2E */ li r4, 0x2e /* 8009B578 000984D8 48 2B B1 85 */ bl GetString__12CStringTableCFi /* 8009B57C 000984DC 7C 64 1B 78 */ mr r4, r3 /* 8009B580 000984E0 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B584 000984E4 38 A0 FF FF */ li r5, -1 /* 8009B588 000984E8 48 2A 1F 5D */ bl sub_8033d4e4 /* 8009B58C 000984EC 80 7F 03 00 */ lwz r3, 0x300(r31) /* 8009B590 000984F0 38 81 01 70 */ addi r4, r1, 0x170 /* 8009B594 000984F4 38 A0 00 00 */ li r5, 0 /* 8009B598 000984F8 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B59C 000984FC 48 22 E2 E9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B5A0 00098500 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B5A4 00098504 38 81 01 80 */ addi r4, r1, 0x180 /* 8009B5A8 00098508 38 A0 FF FF */ li r5, -1 /* 8009B5AC 0009850C 48 2A 1C 51 */ bl sub_8033d1fc /* 8009B5B0 00098510 80 1F 02 E8 */ lwz r0, 0x2e8(r31) /* 8009B5B4 00098514 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009B5B8 00098518 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 8009B5BC 0009851C 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l /* 8009B5C0 00098520 54 00 10 3A */ slwi r0, r0, 2 /* 8009B5C4 00098524 7C 83 02 14 */ add r4, r3, r0 /* 8009B5C8 00098528 38 65 01 10 */ addi r3, r5, 0x110 /* 8009B5CC 0009852C 80 84 00 4C */ lwz r4, 0x4c(r4) /* 8009B5D0 00098530 4C C6 31 82 */ crclr 6 /* 8009B5D4 00098534 48 23 AB DD */ bl Stringize__7CBasicsFPCce /* 8009B5D8 00098538 7C 64 1B 78 */ mr r4, r3 /* 8009B5DC 0009853C 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8009B5E0 00098540 38 C1 00 10 */ addi r6, r1, 0x10 /* 8009B5E4 00098544 38 A0 FF FF */ li r5, -1 /* 8009B5E8 00098548 48 2A 2B AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8009B5EC 0009854C 38 61 00 98 */ addi r3, r1, 0x98 /* 8009B5F0 00098550 38 81 00 A8 */ addi r4, r1, 0xa8 /* 8009B5F4 00098554 48 2A 31 2D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B5F8 00098558 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B5FC 0009855C 38 81 00 98 */ addi r4, r1, 0x98 /* 8009B600 00098560 48 2A 20 4D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B604 00098564 38 61 00 98 */ addi r3, r1, 0x98 /* 8009B608 00098568 48 2A 1B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B60C 0009856C 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8009B610 00098570 48 2A 24 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B614 00098574 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B618 00098578 38 81 00 2C */ addi r4, r1, 0x2c /* 8009B61C 0009857C 38 A0 FF FF */ li r5, -1 /* 8009B620 00098580 48 2A 1E C5 */ bl sub_8033d4e4 /* 8009B624 00098584 7F 03 C3 78 */ mr r3, r24 /* 8009B628 00098588 38 80 00 2F */ li r4, 0x2f /* 8009B62C 0009858C 48 2B B0 D1 */ bl GetString__12CStringTableCFi /* 8009B630 00098590 7C 64 1B 78 */ mr r4, r3 /* 8009B634 00098594 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B638 00098598 38 A0 FF FF */ li r5, -1 /* 8009B63C 0009859C 48 2A 1E A9 */ bl sub_8033d4e4 /* 8009B640 000985A0 80 7F 03 04 */ lwz r3, 0x304(r31) /* 8009B644 000985A4 38 81 01 70 */ addi r4, r1, 0x170 /* 8009B648 000985A8 38 A0 00 00 */ li r5, 0 /* 8009B64C 000985AC 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B650 000985B0 48 22 E2 35 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B654 000985B4 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B658 000985B8 38 81 01 80 */ addi r4, r1, 0x180 /* 8009B65C 000985BC 38 A0 FF FF */ li r5, -1 /* 8009B660 000985C0 48 2A 1B 9D */ bl sub_8033d1fc /* 8009B664 000985C4 80 1F 02 EC */ lwz r0, 0x2ec(r31) /* 8009B668 000985C8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009B66C 000985CC 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 8009B670 000985D0 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l /* 8009B674 000985D4 54 00 10 3A */ slwi r0, r0, 2 /* 8009B678 000985D8 7C 83 02 14 */ add r4, r3, r0 /* 8009B67C 000985DC 38 65 00 FB */ addi r3, r5, 0xfb /* 8009B680 000985E0 80 84 00 74 */ lwz r4, 0x74(r4) /* 8009B684 000985E4 4C C6 31 82 */ crclr 6 /* 8009B688 000985E8 48 23 AB 29 */ bl Stringize__7CBasicsFPCce /* 8009B68C 000985EC 7C 64 1B 78 */ mr r4, r3 /* 8009B690 000985F0 38 61 00 88 */ addi r3, r1, 0x88 /* 8009B694 000985F4 38 C1 00 0C */ addi r6, r1, 0xc /* 8009B698 000985F8 38 A0 FF FF */ li r5, -1 /* 8009B69C 000985FC 48 2A 2A F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8009B6A0 00098600 38 61 00 78 */ addi r3, r1, 0x78 /* 8009B6A4 00098604 38 81 00 88 */ addi r4, r1, 0x88 /* 8009B6A8 00098608 48 2A 30 79 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B6AC 0009860C 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B6B0 00098610 38 81 00 78 */ addi r4, r1, 0x78 /* 8009B6B4 00098614 48 2A 1F 99 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B6B8 00098618 38 61 00 78 */ addi r3, r1, 0x78 /* 8009B6BC 0009861C 48 2A 1A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B6C0 00098620 38 61 00 88 */ addi r3, r1, 0x88 /* 8009B6C4 00098624 48 2A 24 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B6C8 00098628 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B6CC 0009862C 38 81 00 2C */ addi r4, r1, 0x2c /* 8009B6D0 00098630 38 A0 FF FF */ li r5, -1 /* 8009B6D4 00098634 48 2A 1E 11 */ bl sub_8033d4e4 /* 8009B6D8 00098638 7F 03 C3 78 */ mr r3, r24 /* 8009B6DC 0009863C 38 80 00 30 */ li r4, 0x30 /* 8009B6E0 00098640 48 2B B0 1D */ bl GetString__12CStringTableCFi /* 8009B6E4 00098644 7C 64 1B 78 */ mr r4, r3 /* 8009B6E8 00098648 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B6EC 0009864C 38 A0 FF FF */ li r5, -1 /* 8009B6F0 00098650 48 2A 1D F5 */ bl sub_8033d4e4 /* 8009B6F4 00098654 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B6F8 00098658 38 81 01 80 */ addi r4, r1, 0x180 /* 8009B6FC 0009865C 38 A0 FF FF */ li r5, -1 /* 8009B700 00098660 48 2A 1D E5 */ bl sub_8033d4e4 /* 8009B704 00098664 80 1F 02 F0 */ lwz r0, 0x2f0(r31) /* 8009B708 00098668 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009B70C 0009866C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 8009B710 00098670 38 A4 D8 0C */ addi r5, r4, lbl_803CD80C@l /* 8009B714 00098674 54 00 10 3A */ slwi r0, r0, 2 /* 8009B718 00098678 7C 83 02 14 */ add r4, r3, r0 /* 8009B71C 0009867C 38 65 00 FB */ addi r3, r5, 0xfb /* 8009B720 00098680 80 84 00 80 */ lwz r4, 0x80(r4) /* 8009B724 00098684 4C C6 31 82 */ crclr 6 /* 8009B728 00098688 48 23 AA 89 */ bl Stringize__7CBasicsFPCce /* 8009B72C 0009868C 7C 64 1B 78 */ mr r4, r3 /* 8009B730 00098690 38 61 00 68 */ addi r3, r1, 0x68 /* 8009B734 00098694 38 C1 00 08 */ addi r6, r1, 8 /* 8009B738 00098698 38 A0 FF FF */ li r5, -1 /* 8009B73C 0009869C 48 2A 2A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8009B740 000986A0 38 61 00 58 */ addi r3, r1, 0x58 /* 8009B744 000986A4 38 81 00 68 */ addi r4, r1, 0x68 /* 8009B748 000986A8 48 2A 2F D9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B74C 000986AC 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B750 000986B0 38 81 00 58 */ addi r4, r1, 0x58 /* 8009B754 000986B4 48 2A 1E F9 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B758 000986B8 38 61 00 58 */ addi r3, r1, 0x58 /* 8009B75C 000986BC 48 2A 19 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B760 000986C0 38 61 00 68 */ addi r3, r1, 0x68 /* 8009B764 000986C4 48 2A 23 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8009B768 000986C8 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B76C 000986CC 38 81 00 2C */ addi r4, r1, 0x2c /* 8009B770 000986D0 38 A0 FF FF */ li r5, -1 /* 8009B774 000986D4 48 2A 1D 71 */ bl sub_8033d4e4 /* 8009B778 000986D8 80 7F 03 08 */ lwz r3, 0x308(r31) /* 8009B77C 000986DC 38 81 01 70 */ addi r4, r1, 0x170 /* 8009B780 000986E0 38 A0 00 00 */ li r5, 0 /* 8009B784 000986E4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8009B788 000986E8 48 22 E0 FD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8009B78C 000986EC 38 61 01 70 */ addi r3, r1, 0x170 /* 8009B790 000986F0 48 2A 19 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8009B794: /* 8009B794 000986F4 88 1D 00 2D */ lbz r0, 0x2d(r29) /* 8009B798 000986F8 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 8009B79C 000986FC 41 82 00 C0 */ beq lbl_8009B85C /* 8009B7A0 00098700 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009B7A4 00098704 38 63 00 A8 */ addi r3, r3, 0xa8 /* 8009B7A8 00098708 80 03 00 BC */ lwz r0, 0xbc(r3) /* 8009B7AC 0009870C 2C 00 00 01 */ cmpwi r0, 1 /* 8009B7B0 00098710 41 82 00 50 */ beq lbl_8009B800 /* 8009B7B4 00098714 40 80 00 10 */ bge lbl_8009B7C4 /* 8009B7B8 00098718 2C 00 00 00 */ cmpwi r0, 0 /* 8009B7BC 0009871C 40 80 00 14 */ bge lbl_8009B7D0 /* 8009B7C0 00098720 48 00 00 9C */ b lbl_8009B85C lbl_8009B7C4: /* 8009B7C4 00098724 2C 00 00 03 */ cmpwi r0, 3 /* 8009B7C8 00098728 40 80 00 94 */ bge lbl_8009B85C /* 8009B7CC 0009872C 48 00 00 64 */ b lbl_8009B830 lbl_8009B7D0: /* 8009B7D0 00098730 38 80 00 01 */ li r4, 1 /* 8009B7D4 00098734 48 13 99 D5 */ bl SetAutoMapperKeyState__14CSystemOptionsFi /* 8009B7D8 00098738 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8009B7DC 0009873C 38 61 00 24 */ addi r3, r1, 0x24 /* 8009B7E0 00098740 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8009B7E4 00098744 38 80 05 AC */ li r4, 0x5ac /* 8009B7E8 00098748 38 A0 00 7F */ li r5, 0x7f /* 8009B7EC 0009874C 38 C0 00 40 */ li r6, 0x40 /* 8009B7F0 00098750 38 E0 00 00 */ li r7, 0 /* 8009B7F4 00098754 39 20 00 00 */ li r9, 0 /* 8009B7F8 00098758 48 24 E5 7D */ bl SfxStart__11CSfxManagerFUsssbsbi /* 8009B7FC 0009875C 48 00 00 60 */ b lbl_8009B85C lbl_8009B800: /* 8009B800 00098760 38 80 00 02 */ li r4, 2 /* 8009B804 00098764 48 13 99 A5 */ bl SetAutoMapperKeyState__14CSystemOptionsFi /* 8009B808 00098768 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8009B80C 0009876C 38 61 00 20 */ addi r3, r1, 0x20 /* 8009B810 00098770 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8009B814 00098774 38 80 05 A6 */ li r4, 0x5a6 /* 8009B818 00098778 38 A0 00 7F */ li r5, 0x7f /* 8009B81C 0009877C 38 C0 00 40 */ li r6, 0x40 /* 8009B820 00098780 38 E0 00 00 */ li r7, 0 /* 8009B824 00098784 39 20 00 00 */ li r9, 0 /* 8009B828 00098788 48 24 E5 4D */ bl SfxStart__11CSfxManagerFUsssbsbi /* 8009B82C 0009878C 48 00 00 30 */ b lbl_8009B85C lbl_8009B830: /* 8009B830 00098790 38 80 00 00 */ li r4, 0 /* 8009B834 00098794 48 13 99 75 */ bl SetAutoMapperKeyState__14CSystemOptionsFi /* 8009B838 00098798 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8009B83C 0009879C 38 61 00 1C */ addi r3, r1, 0x1c /* 8009B840 000987A0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8009B844 000987A4 38 80 05 AD */ li r4, 0x5ad /* 8009B848 000987A8 38 A0 00 7F */ li r5, 0x7f /* 8009B84C 000987AC 38 C0 00 40 */ li r6, 0x40 /* 8009B850 000987B0 38 E0 00 00 */ li r7, 0 /* 8009B854 000987B4 39 20 00 00 */ li r9, 0 /* 8009B858 000987B8 48 24 E5 1D */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_8009B85C: /* 8009B85C 000987BC 88 1D 00 2E */ lbz r0, 0x2e(r29) /* 8009B860 000987C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8009B864 000987C4 40 82 00 10 */ bne lbl_8009B874 /* 8009B868 000987C8 88 1D 00 2D */ lbz r0, 0x2d(r29) /* 8009B86C 000987CC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 8009B870 000987D0 41 82 00 60 */ beq lbl_8009B8D0 lbl_8009B874: /* 8009B874 000987D4 80 1F 03 28 */ lwz r0, 0x328(r31) /* 8009B878 000987D8 2C 00 00 00 */ cmpwi r0, 0 /* 8009B87C 000987DC 40 82 00 54 */ bne lbl_8009B8D0 /* 8009B880 000987E0 7F E3 FB 78 */ mr r3, r31 /* 8009B884 000987E4 7F C4 F3 78 */ mr r4, r30 /* 8009B888 000987E8 48 00 09 A5 */ bl CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager /* 8009B88C 000987EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009B890 000987F0 41 82 00 14 */ beq lbl_8009B8A4 /* 8009B894 000987F4 7F E3 FB 78 */ mr r3, r31 /* 8009B898 000987F8 7F C4 F3 78 */ mr r4, r30 /* 8009B89C 000987FC 4B FF 9E 49 */ bl LeaveMapScreen__11CAutoMapperCFRC13CStateManager /* 8009B8A0 00098800 48 00 00 30 */ b lbl_8009B8D0 lbl_8009B8A4: /* 8009B8A4 00098804 7F E3 FB 78 */ mr r3, r31 /* 8009B8A8 00098808 7F C4 F3 78 */ mr r4, r30 /* 8009B8AC 0009880C 48 00 09 6D */ bl NotHintNavigating__11CAutoMapperFv /* 8009B8B0 00098810 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009B8B4 00098814 41 82 00 1C */ beq lbl_8009B8D0 /* 8009B8B8 00098818 7F E3 FB 78 */ mr r3, r31 /* 8009B8BC 0009881C 7F C5 F3 78 */ mr r5, r30 /* 8009B8C0 00098820 38 80 00 02 */ li r4, 2 /* 8009B8C4 00098824 4B FF BA 71 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager /* 8009B8C8 00098828 38 00 00 01 */ li r0, 1 /* 8009B8CC 0009882C 90 1F 03 28 */ stw r0, 0x328(r31) lbl_8009B8D0: /* 8009B8D0 00098830 BA E1 01 DC */ lmw r23, 0x1dc(r1) /* 8009B8D4 00098834 80 01 02 04 */ lwz r0, 0x204(r1) /* 8009B8D8 00098838 7C 08 03 A6 */ mtlr r0 /* 8009B8DC 0009883C 38 21 02 00 */ addi r1, r1, 0x200 /* 8009B8E0 00098840 4E 80 00 20 */ blr .global UpdateHintNavigation__11CAutoMapperFfRC13CStateManager UpdateHintNavigation__11CAutoMapperFfRC13CStateManager: /* 8009B8E4 00098844 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8009B8E8 00098848 7C 08 02 A6 */ mflr r0 /* 8009B8EC 0009884C 90 01 00 54 */ stw r0, 0x54(r1) /* 8009B8F0 00098850 DB E1 00 40 */ stfd f31, 0x40(r1) /* 8009B8F4 00098854 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 8009B8F8 00098858 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8009B8FC 0009885C 93 C1 00 38 */ stw r30, 0x38(r1) /* 8009B900 00098860 93 A1 00 34 */ stw r29, 0x34(r1) /* 8009B904 00098864 7C 7E 1B 78 */ mr r30, r3 /* 8009B908 00098868 38 00 00 01 */ li r0, 1 /* 8009B90C 0009886C 83 A3 01 E4 */ lwz r29, 0x1e4(r3) /* 8009B910 00098870 FF E0 08 90 */ fmr f31, f1 /* 8009B914 00098874 7C 9F 23 78 */ mr r31, r4 /* 8009B918 00098878 80 DD 00 0C */ lwz r6, 0xc(r29) /* 8009B91C 0009887C 88 FD 00 10 */ lbz r7, 0x10(r29) /* 8009B920 00098880 90 C1 00 1C */ stw r6, 0x1c(r1) /* 8009B924 00098884 98 1D 00 10 */ stb r0, 0x10(r29) /* 8009B928 00098888 80 1D 00 08 */ lwz r0, 8(r29) /* 8009B92C 0009888C 28 00 00 06 */ cmplwi r0, 6 /* 8009B930 00098890 41 81 06 48 */ bgt lbl_8009BF78 /* 8009B934 00098894 3C A0 80 3E */ lis r5, lbl_803DAED4@ha /* 8009B938 00098898 54 00 10 3A */ slwi r0, r0, 2 /* 8009B93C 0009889C 38 A5 AE D4 */ addi r5, r5, lbl_803DAED4@l /* 8009B940 000988A0 7C 05 00 2E */ lwzx r0, r5, r0 /* 8009B944 000988A4 7C 09 03 A6 */ mtctr r0 /* 8009B948 000988A8 4E 80 04 20 */ bctr .global lbl_8009B94C lbl_8009B94C: /* 8009B94C 000988AC 80 7E 00 24 */ lwz r3, 0x24(r30) /* 8009B950 000988B0 83 BD 00 0C */ lwz r29, 0xc(r29) /* 8009B954 000988B4 81 83 00 00 */ lwz r12, 0(r3) /* 8009B958 000988B8 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8009B95C 000988BC 7D 89 03 A6 */ mtctr r12 /* 8009B960 000988C0 4E 80 04 21 */ bctrl /* 8009B964 000988C4 7F A4 EB 78 */ mr r4, r29 /* 8009B968 000988C8 48 00 5A 51 */ bl GetMapArea__9CMapWorldCFi /* 8009B96C 000988CC 28 03 00 00 */ cmplwi r3, 0 /* 8009B970 000988D0 41 82 06 08 */ beq lbl_8009BF78 /* 8009B974 000988D4 80 FE 00 A8 */ lwz r7, 0xa8(r30) /* 8009B978 000988D8 7F C4 F3 78 */ mr r4, r30 /* 8009B97C 000988DC 80 1E 00 AC */ lwz r0, 0xac(r30) /* 8009B980 000988E0 7F E5 FB 78 */ mr r5, r31 /* 8009B984 000988E4 7F A6 EB 78 */ mr r6, r29 /* 8009B988 000988E8 38 61 00 20 */ addi r3, r1, 0x20 /* 8009B98C 000988EC 90 FE 01 60 */ stw r7, 0x160(r30) /* 8009B990 000988F0 90 1E 01 64 */ stw r0, 0x164(r30) /* 8009B994 000988F4 80 FE 00 B0 */ lwz r7, 0xb0(r30) /* 8009B998 000988F8 80 1E 00 B4 */ lwz r0, 0xb4(r30) /* 8009B99C 000988FC 90 FE 01 68 */ stw r7, 0x168(r30) /* 8009B9A0 00098900 90 1E 01 6C */ stw r0, 0x16c(r30) /* 8009B9A4 00098904 80 FE 00 B8 */ lwz r7, 0xb8(r30) /* 8009B9A8 00098908 80 1E 00 BC */ lwz r0, 0xbc(r30) /* 8009B9AC 0009890C 90 FE 01 70 */ stw r7, 0x170(r30) /* 8009B9B0 00098910 90 1E 01 74 */ stw r0, 0x174(r30) /* 8009B9B4 00098914 C0 1E 00 C0 */ lfs f0, 0xc0(r30) /* 8009B9B8 00098918 D0 1E 01 78 */ stfs f0, 0x178(r30) /* 8009B9BC 0009891C C0 1E 00 C4 */ lfs f0, 0xc4(r30) /* 8009B9C0 00098920 D0 1E 01 7C */ stfs f0, 0x17c(r30) /* 8009B9C4 00098924 80 FE 00 C8 */ lwz r7, 0xc8(r30) /* 8009B9C8 00098928 80 1E 00 CC */ lwz r0, 0xcc(r30) /* 8009B9CC 0009892C 90 FE 01 80 */ stw r7, 0x180(r30) /* 8009B9D0 00098930 90 1E 01 84 */ stw r0, 0x184(r30) /* 8009B9D4 00098934 80 1E 00 D0 */ lwz r0, 0xd0(r30) /* 8009B9D8 00098938 90 1E 01 88 */ stw r0, 0x188(r30) /* 8009B9DC 0009893C C0 1E 00 D4 */ lfs f0, 0xd4(r30) /* 8009B9E0 00098940 D0 1E 01 8C */ stfs f0, 0x18c(r30) /* 8009B9E4 00098944 C0 1E 00 D8 */ lfs f0, 0xd8(r30) /* 8009B9E8 00098948 D0 1E 01 90 */ stfs f0, 0x190(r30) /* 8009B9EC 0009894C C0 1E 00 DC */ lfs f0, 0xdc(r30) /* 8009B9F0 00098950 D0 1E 01 94 */ stfs f0, 0x194(r30) /* 8009B9F4 00098954 C0 1E 00 E0 */ lfs f0, 0xe0(r30) /* 8009B9F8 00098958 D0 1E 01 98 */ stfs f0, 0x198(r30) /* 8009B9FC 0009895C C0 1E 00 E4 */ lfs f0, 0xe4(r30) /* 8009BA00 00098960 D0 1E 01 9C */ stfs f0, 0x19c(r30) /* 8009BA04 00098964 C0 1E 00 E8 */ lfs f0, 0xe8(r30) /* 8009BA08 00098968 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) /* 8009BA0C 0009896C 80 1E 00 EC */ lwz r0, 0xec(r30) /* 8009BA10 00098970 90 1E 01 A4 */ stw r0, 0x1a4(r30) /* 8009BA14 00098974 80 1E 00 F0 */ lwz r0, 0xf0(r30) /* 8009BA18 00098978 90 1E 01 A8 */ stw r0, 0x1a8(r30) /* 8009BA1C 0009897C 80 1E 00 F4 */ lwz r0, 0xf4(r30) /* 8009BA20 00098980 90 1E 01 AC */ stw r0, 0x1ac(r30) /* 8009BA24 00098984 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 8009BA28 00098988 90 1E 01 B0 */ stw r0, 0x1b0(r30) /* 8009BA2C 0009898C 80 1E 00 FC */ lwz r0, 0xfc(r30) /* 8009BA30 00098990 90 1E 01 B4 */ stw r0, 0x1b4(r30) /* 8009BA34 00098994 80 1E 01 00 */ lwz r0, 0x100(r30) /* 8009BA38 00098998 90 1E 01 B8 */ stw r0, 0x1b8(r30) /* 8009BA3C 0009899C 4B FF AF 1D */ bl GetAreaPointOfInterest__11CAutoMapperCFRC13CStateManageri /* 8009BA40 000989A0 C0 01 00 20 */ lfs f0, 0x20(r1) /* 8009BA44 000989A4 38 7E 01 04 */ addi r3, r30, 0x104 /* 8009BA48 000989A8 D0 1E 01 24 */ stfs f0, 0x124(r30) /* 8009BA4C 000989AC C0 01 00 24 */ lfs f0, 0x24(r1) /* 8009BA50 000989B0 D0 1E 01 28 */ stfs f0, 0x128(r30) /* 8009BA54 000989B4 C0 01 00 28 */ lfs f0, 0x28(r1) /* 8009BA58 000989B8 D0 1E 01 2C */ stfs f0, 0x12c(r30) /* 8009BA5C 000989BC 48 00 21 C1 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv /* 8009BA60 000989C0 38 00 00 01 */ li r0, 1 /* 8009BA64 000989C4 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) /* 8009BA68 000989C8 90 1E 01 50 */ stw r0, 0x150(r30) /* 8009BA6C 000989CC 7F C3 F3 78 */ mr r3, r30 /* 8009BA70 000989D0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 8009BA74 000989D4 C0 04 00 6C */ lfs f0, 0x6c(r4) /* 8009BA78 000989D8 EC 21 00 32 */ fmuls f1, f1, f0 /* 8009BA7C 000989DC 4B FF B6 FD */ bl ResetInterpolationTimer__11CAutoMapperFf /* 8009BA80 000989E0 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BA84 000989E4 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BA88 000989E8 48 00 27 79 */ bl sub_8009e200 /* 8009BA8C 000989EC 48 00 04 EC */ b lbl_8009BF78 .global lbl_8009BA90 lbl_8009BA90: /* 8009BA90 000989F0 80 7E 00 10 */ lwz r3, 0x10(r30) /* 8009BA94 000989F4 7C C4 33 78 */ mr r4, r6 /* 8009BA98 000989F8 48 16 64 D1 */ bl GetMapWorldDataByWorldId__12CMapUniverseFUi /* 8009BA9C 000989FC C0 23 00 64 */ lfs f1, 0x64(r3) /* 8009BAA0 00098A00 C0 43 00 68 */ lfs f2, 0x68(r3) /* 8009BAA4 00098A04 C0 63 00 6C */ lfs f3, 0x6c(r3) /* 8009BAA8 00098A08 38 7E 01 04 */ addi r3, r30, 0x104 /* 8009BAAC 00098A0C 80 9E 00 A8 */ lwz r4, 0xa8(r30) /* 8009BAB0 00098A10 80 1E 00 AC */ lwz r0, 0xac(r30) /* 8009BAB4 00098A14 90 9E 01 60 */ stw r4, 0x160(r30) /* 8009BAB8 00098A18 90 1E 01 64 */ stw r0, 0x164(r30) /* 8009BABC 00098A1C 80 9E 00 B0 */ lwz r4, 0xb0(r30) /* 8009BAC0 00098A20 80 1E 00 B4 */ lwz r0, 0xb4(r30) /* 8009BAC4 00098A24 90 9E 01 68 */ stw r4, 0x168(r30) /* 8009BAC8 00098A28 90 1E 01 6C */ stw r0, 0x16c(r30) /* 8009BACC 00098A2C 80 9E 00 B8 */ lwz r4, 0xb8(r30) /* 8009BAD0 00098A30 80 1E 00 BC */ lwz r0, 0xbc(r30) /* 8009BAD4 00098A34 90 9E 01 70 */ stw r4, 0x170(r30) /* 8009BAD8 00098A38 90 1E 01 74 */ stw r0, 0x174(r30) /* 8009BADC 00098A3C C0 1E 00 C0 */ lfs f0, 0xc0(r30) /* 8009BAE0 00098A40 D0 1E 01 78 */ stfs f0, 0x178(r30) /* 8009BAE4 00098A44 C0 1E 00 C4 */ lfs f0, 0xc4(r30) /* 8009BAE8 00098A48 D0 1E 01 7C */ stfs f0, 0x17c(r30) /* 8009BAEC 00098A4C 80 9E 00 C8 */ lwz r4, 0xc8(r30) /* 8009BAF0 00098A50 80 1E 00 CC */ lwz r0, 0xcc(r30) /* 8009BAF4 00098A54 90 9E 01 80 */ stw r4, 0x180(r30) /* 8009BAF8 00098A58 90 1E 01 84 */ stw r0, 0x184(r30) /* 8009BAFC 00098A5C 80 1E 00 D0 */ lwz r0, 0xd0(r30) /* 8009BB00 00098A60 90 1E 01 88 */ stw r0, 0x188(r30) /* 8009BB04 00098A64 C0 1E 00 D4 */ lfs f0, 0xd4(r30) /* 8009BB08 00098A68 D0 1E 01 8C */ stfs f0, 0x18c(r30) /* 8009BB0C 00098A6C C0 1E 00 D8 */ lfs f0, 0xd8(r30) /* 8009BB10 00098A70 D0 1E 01 90 */ stfs f0, 0x190(r30) /* 8009BB14 00098A74 C0 1E 00 DC */ lfs f0, 0xdc(r30) /* 8009BB18 00098A78 D0 1E 01 94 */ stfs f0, 0x194(r30) /* 8009BB1C 00098A7C C0 1E 00 E0 */ lfs f0, 0xe0(r30) /* 8009BB20 00098A80 D0 1E 01 98 */ stfs f0, 0x198(r30) /* 8009BB24 00098A84 C0 1E 00 E4 */ lfs f0, 0xe4(r30) /* 8009BB28 00098A88 D0 1E 01 9C */ stfs f0, 0x19c(r30) /* 8009BB2C 00098A8C C0 1E 00 E8 */ lfs f0, 0xe8(r30) /* 8009BB30 00098A90 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) /* 8009BB34 00098A94 80 1E 00 EC */ lwz r0, 0xec(r30) /* 8009BB38 00098A98 90 1E 01 A4 */ stw r0, 0x1a4(r30) /* 8009BB3C 00098A9C 80 1E 00 F0 */ lwz r0, 0xf0(r30) /* 8009BB40 00098AA0 90 1E 01 A8 */ stw r0, 0x1a8(r30) /* 8009BB44 00098AA4 80 1E 00 F4 */ lwz r0, 0xf4(r30) /* 8009BB48 00098AA8 90 1E 01 AC */ stw r0, 0x1ac(r30) /* 8009BB4C 00098AAC 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 8009BB50 00098AB0 90 1E 01 B0 */ stw r0, 0x1b0(r30) /* 8009BB54 00098AB4 80 1E 00 FC */ lwz r0, 0xfc(r30) /* 8009BB58 00098AB8 90 1E 01 B4 */ stw r0, 0x1b4(r30) /* 8009BB5C 00098ABC 80 1E 01 00 */ lwz r0, 0x100(r30) /* 8009BB60 00098AC0 90 1E 01 B8 */ stw r0, 0x1b8(r30) /* 8009BB64 00098AC4 D0 3E 01 24 */ stfs f1, 0x124(r30) /* 8009BB68 00098AC8 D0 5E 01 28 */ stfs f2, 0x128(r30) /* 8009BB6C 00098ACC D0 7E 01 2C */ stfs f3, 0x12c(r30) /* 8009BB70 00098AD0 48 00 20 AD */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv /* 8009BB74 00098AD4 38 00 00 01 */ li r0, 1 /* 8009BB78 00098AD8 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) /* 8009BB7C 00098ADC 90 1E 01 50 */ stw r0, 0x150(r30) /* 8009BB80 00098AE0 7F C3 F3 78 */ mr r3, r30 /* 8009BB84 00098AE4 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 8009BB88 00098AE8 C0 04 00 6C */ lfs f0, 0x6c(r4) /* 8009BB8C 00098AEC EC 21 00 32 */ fmuls f1, f1, f0 /* 8009BB90 00098AF0 4B FF B5 E9 */ bl ResetInterpolationTimer__11CAutoMapperFf /* 8009BB94 00098AF4 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BB98 00098AF8 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BB9C 00098AFC 48 00 26 65 */ bl sub_8009e200 /* 8009BBA0 00098B00 48 00 03 D8 */ b lbl_8009BF78 .global lbl_8009BBA4 lbl_8009BBA4: /* 8009BBA4 00098B04 48 00 05 95 */ bl HasCurrentMapUniverseWorld__11CAutoMapperFv /* 8009BBA8 00098B08 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009BBAC 00098B0C 41 82 00 24 */ beq lbl_8009BBD0 /* 8009BBB0 00098B10 7F C3 F3 78 */ mr r3, r30 /* 8009BBB4 00098B14 7F E5 FB 78 */ mr r5, r31 /* 8009BBB8 00098B18 38 80 00 02 */ li r4, 2 /* 8009BBBC 00098B1C 4B FF B7 79 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager /* 8009BBC0 00098B20 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BBC4 00098B24 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BBC8 00098B28 48 00 26 39 */ bl sub_8009e200 /* 8009BBCC 00098B2C 48 00 03 AC */ b lbl_8009BF78 lbl_8009BBD0: /* 8009BBD0 00098B30 83 BE 01 E8 */ lwz r29, 0x1e8(r30) /* 8009BBD4 00098B34 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BBD8 00098B38 48 00 00 10 */ b lbl_8009BBE8 lbl_8009BBDC: /* 8009BBDC 00098B3C 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BBE0 00098B40 48 00 26 21 */ bl sub_8009e200 /* 8009BBE4 00098B44 7C 64 1B 78 */ mr r4, r3 lbl_8009BBE8: /* 8009BBE8 00098B48 7C 04 E8 40 */ cmplw r4, r29 /* 8009BBEC 00098B4C 40 82 FF F0 */ bne lbl_8009BBDC /* 8009BBF0 00098B50 48 00 03 88 */ b lbl_8009BF78 .global lbl_8009BBF4 lbl_8009BBF4: /* 8009BBF4 00098B54 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BBF8 00098B58 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BBFC 00098B5C 48 00 26 05 */ bl sub_8009e200 /* 8009BC00 00098B60 38 00 00 01 */ li r0, 1 /* 8009BC04 00098B64 7F C3 F3 78 */ mr r3, r30 /* 8009BC08 00098B68 98 1E 03 2C */ stb r0, 0x32c(r30) /* 8009BC0C 00098B6C 7F E4 FB 78 */ mr r4, r31 /* 8009BC10 00098B70 48 00 03 8D */ bl CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager /* 8009BC14 00098B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009BC18 00098B78 40 82 03 60 */ bne lbl_8009BF78 /* 8009BC1C 00098B7C 83 BE 01 E8 */ lwz r29, 0x1e8(r30) /* 8009BC20 00098B80 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BC24 00098B84 48 00 00 10 */ b lbl_8009BC34 lbl_8009BC28: /* 8009BC28 00098B88 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BC2C 00098B8C 48 00 25 D5 */ bl sub_8009e200 /* 8009BC30 00098B90 7C 64 1B 78 */ mr r4, r3 lbl_8009BC34: /* 8009BC34 00098B94 7C 04 E8 40 */ cmplw r4, r29 /* 8009BC38 00098B98 40 82 FF F0 */ bne lbl_8009BC28 /* 8009BC3C 00098B9C 48 00 03 3C */ b lbl_8009BF78 .global lbl_8009BC40 lbl_8009BC40: /* 8009BC40 00098BA0 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8009BC44 00098BA4 28 07 00 00 */ cmplwi r7, 0 /* 8009BC48 00098BA8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8009BC4C 00098BAC 40 82 00 70 */ bne lbl_8009BCBC /* 8009BC50 00098BB0 80 7E 00 A0 */ lwz r3, 0xa0(r30) /* 8009BC54 00098BB4 80 1F 08 CC */ lwz r0, 0x8cc(r31) /* 8009BC58 00098BB8 7C 03 00 00 */ cmpw r3, r0 /* 8009BC5C 00098BBC 40 82 00 3C */ bne lbl_8009BC98 /* 8009BC60 00098BC0 80 7E 00 24 */ lwz r3, 0x24(r30) /* 8009BC64 00098BC4 80 1F 08 50 */ lwz r0, 0x850(r31) /* 8009BC68 00098BC8 7C 03 00 40 */ cmplw r3, r0 /* 8009BC6C 00098BCC 40 82 00 2C */ bne lbl_8009BC98 /* 8009BC70 00098BD0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8009BC74 00098BD4 38 61 00 14 */ addi r3, r1, 0x14 /* 8009BC78 00098BD8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8009BC7C 00098BDC 38 80 05 6A */ li r4, 0x56a /* 8009BC80 00098BE0 38 A0 00 7F */ li r5, 0x7f /* 8009BC84 00098BE4 38 C0 00 40 */ li r6, 0x40 /* 8009BC88 00098BE8 38 E0 00 00 */ li r7, 0 /* 8009BC8C 00098BEC 39 20 00 00 */ li r9, 0 /* 8009BC90 00098BF0 48 24 E0 E5 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 8009BC94 00098BF4 48 00 00 28 */ b lbl_8009BCBC lbl_8009BC98: /* 8009BC98 00098BF8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8009BC9C 00098BFC 38 61 00 10 */ addi r3, r1, 0x10 /* 8009BCA0 00098C00 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8009BCA4 00098C04 38 80 05 6B */ li r4, 0x56b /* 8009BCA8 00098C08 38 A0 00 7F */ li r5, 0x7f /* 8009BCAC 00098C0C 38 C0 00 40 */ li r6, 0x40 /* 8009BCB0 00098C10 38 E0 00 00 */ li r7, 0 /* 8009BCB4 00098C14 39 20 00 00 */ li r9, 0 /* 8009BCB8 00098C18 48 24 E0 BD */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_8009BCBC: /* 8009BCBC 00098C1C C0 21 00 18 */ lfs f1, 0x18(r1) /* 8009BCC0 00098C20 C0 0D 85 D0 */ lfs f0, lbl_805A7190@sda21(r13) /* 8009BCC4 00098C24 EC 21 F8 28 */ fsubs f1, f1, f31 /* 8009BCC8 00098C28 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8009BCCC 00098C2C D0 21 00 0C */ stfs f1, 0xc(r1) /* 8009BCD0 00098C30 40 80 00 0C */ bge lbl_8009BCDC /* 8009BCD4 00098C34 38 61 00 0C */ addi r3, r1, 0xc /* 8009BCD8 00098C38 48 00 00 08 */ b lbl_8009BCE0 lbl_8009BCDC: /* 8009BCDC 00098C3C 38 6D 85 D0 */ addi r3, r13, lbl_805A7190@sda21 lbl_8009BCE0: /* 8009BCE0 00098C40 C0 03 00 00 */ lfs f0, 0(r3) /* 8009BCE4 00098C44 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8009BCE8 00098C48 80 01 00 18 */ lwz r0, 0x18(r1) /* 8009BCEC 00098C4C 90 1D 00 0C */ stw r0, 0xc(r29) /* 8009BCF0 00098C50 83 BE 01 FC */ lwz r29, 0x1fc(r30) /* 8009BCF4 00098C54 48 00 00 7C */ b lbl_8009BD70 lbl_8009BCF8: /* 8009BCF8 00098C58 80 7E 00 24 */ lwz r3, 0x24(r30) /* 8009BCFC 00098C5C 81 83 00 00 */ lwz r12, 0(r3) /* 8009BD00 00098C60 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009BD04 00098C64 7D 89 03 A6 */ mtctr r12 /* 8009BD08 00098C68 4E 80 04 21 */ bctrl /* 8009BD0C 00098C6C 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8009BD10 00098C70 7C 00 18 40 */ cmplw r0, r3 /* 8009BD14 00098C74 40 82 00 58 */ bne lbl_8009BD6C /* 8009BD18 00098C78 80 7D 00 14 */ lwz r3, 0x14(r29) /* 8009BD1C 00098C7C 80 1E 00 A0 */ lwz r0, 0xa0(r30) /* 8009BD20 00098C80 7C 03 00 00 */ cmpw r3, r0 /* 8009BD24 00098C84 40 82 00 48 */ bne lbl_8009BD6C /* 8009BD28 00098C88 C0 21 00 18 */ lfs f1, 0x18(r1) /* 8009BD2C 00098C8C 38 00 00 01 */ li r0, 1 /* 8009BD30 00098C90 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) /* 8009BD34 00098C94 90 1D 00 08 */ stw r0, 8(r29) /* 8009BD38 00098C98 EC 21 00 24 */ fdivs f1, f1, f0 /* 8009BD3C 00098C9C C0 0D 85 D4 */ lfs f0, lbl_805A7194@sda21(r13) /* 8009BD40 00098CA0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8009BD44 00098CA4 D0 21 00 08 */ stfs f1, 8(r1) /* 8009BD48 00098CA8 40 80 00 0C */ bge lbl_8009BD54 /* 8009BD4C 00098CAC 38 61 00 08 */ addi r3, r1, 8 /* 8009BD50 00098CB0 48 00 00 08 */ b lbl_8009BD58 lbl_8009BD54: /* 8009BD54 00098CB4 38 6D 85 D4 */ addi r3, r13, lbl_805A7194@sda21 lbl_8009BD58: /* 8009BD58 00098CB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009BD5C 00098CBC C0 03 00 00 */ lfs f0, 0(r3) /* 8009BD60 00098CC0 EC 01 00 28 */ fsubs f0, f1, f0 /* 8009BD64 00098CC4 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 8009BD68 00098CC8 48 00 00 14 */ b lbl_8009BD7C lbl_8009BD6C: /* 8009BD6C 00098CCC 83 BD 00 04 */ lwz r29, 4(r29) lbl_8009BD70: /* 8009BD70 00098CD0 80 1E 02 00 */ lwz r0, 0x200(r30) /* 8009BD74 00098CD4 7C 1D 00 40 */ cmplw r29, r0 /* 8009BD78 00098CD8 40 82 FF 80 */ bne lbl_8009BCF8 lbl_8009BD7C: /* 8009BD7C 00098CDC C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 8009BD80 00098CE0 C0 01 00 18 */ lfs f0, 0x18(r1) /* 8009BD84 00098CE4 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 8009BD88 00098CE8 40 82 01 F0 */ bne lbl_8009BF78 /* 8009BD8C 00098CEC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BD90 00098CF0 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BD94 00098CF4 48 00 24 6D */ bl sub_8009e200 /* 8009BD98 00098CF8 48 00 01 E0 */ b lbl_8009BF78 .global lbl_8009BD9C lbl_8009BD9C: /* 8009BD9C 00098CFC 80 9E 00 A8 */ lwz r4, 0xa8(r30) /* 8009BDA0 00098D00 38 7E 01 04 */ addi r3, r30, 0x104 /* 8009BDA4 00098D04 80 1E 00 AC */ lwz r0, 0xac(r30) /* 8009BDA8 00098D08 90 9E 01 60 */ stw r4, 0x160(r30) /* 8009BDAC 00098D0C 90 1E 01 64 */ stw r0, 0x164(r30) /* 8009BDB0 00098D10 80 9E 00 B0 */ lwz r4, 0xb0(r30) /* 8009BDB4 00098D14 80 1E 00 B4 */ lwz r0, 0xb4(r30) /* 8009BDB8 00098D18 90 9E 01 68 */ stw r4, 0x168(r30) /* 8009BDBC 00098D1C 90 1E 01 6C */ stw r0, 0x16c(r30) /* 8009BDC0 00098D20 80 9E 00 B8 */ lwz r4, 0xb8(r30) /* 8009BDC4 00098D24 80 1E 00 BC */ lwz r0, 0xbc(r30) /* 8009BDC8 00098D28 90 9E 01 70 */ stw r4, 0x170(r30) /* 8009BDCC 00098D2C 90 1E 01 74 */ stw r0, 0x174(r30) /* 8009BDD0 00098D30 C0 1E 00 C0 */ lfs f0, 0xc0(r30) /* 8009BDD4 00098D34 D0 1E 01 78 */ stfs f0, 0x178(r30) /* 8009BDD8 00098D38 C0 1E 00 C4 */ lfs f0, 0xc4(r30) /* 8009BDDC 00098D3C D0 1E 01 7C */ stfs f0, 0x17c(r30) /* 8009BDE0 00098D40 80 9E 00 C8 */ lwz r4, 0xc8(r30) /* 8009BDE4 00098D44 80 1E 00 CC */ lwz r0, 0xcc(r30) /* 8009BDE8 00098D48 90 9E 01 80 */ stw r4, 0x180(r30) /* 8009BDEC 00098D4C 90 1E 01 84 */ stw r0, 0x184(r30) /* 8009BDF0 00098D50 80 1E 00 D0 */ lwz r0, 0xd0(r30) /* 8009BDF4 00098D54 90 1E 01 88 */ stw r0, 0x188(r30) /* 8009BDF8 00098D58 C0 1E 00 D4 */ lfs f0, 0xd4(r30) /* 8009BDFC 00098D5C D0 1E 01 8C */ stfs f0, 0x18c(r30) /* 8009BE00 00098D60 C0 1E 00 D8 */ lfs f0, 0xd8(r30) /* 8009BE04 00098D64 D0 1E 01 90 */ stfs f0, 0x190(r30) /* 8009BE08 00098D68 C0 1E 00 DC */ lfs f0, 0xdc(r30) /* 8009BE0C 00098D6C D0 1E 01 94 */ stfs f0, 0x194(r30) /* 8009BE10 00098D70 C0 1E 00 E0 */ lfs f0, 0xe0(r30) /* 8009BE14 00098D74 D0 1E 01 98 */ stfs f0, 0x198(r30) /* 8009BE18 00098D78 C0 1E 00 E4 */ lfs f0, 0xe4(r30) /* 8009BE1C 00098D7C D0 1E 01 9C */ stfs f0, 0x19c(r30) /* 8009BE20 00098D80 C0 1E 00 E8 */ lfs f0, 0xe8(r30) /* 8009BE24 00098D84 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) /* 8009BE28 00098D88 80 1E 00 EC */ lwz r0, 0xec(r30) /* 8009BE2C 00098D8C 90 1E 01 A4 */ stw r0, 0x1a4(r30) /* 8009BE30 00098D90 80 1E 00 F0 */ lwz r0, 0xf0(r30) /* 8009BE34 00098D94 90 1E 01 A8 */ stw r0, 0x1a8(r30) /* 8009BE38 00098D98 80 1E 00 F4 */ lwz r0, 0xf4(r30) /* 8009BE3C 00098D9C 90 1E 01 AC */ stw r0, 0x1ac(r30) /* 8009BE40 00098DA0 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 8009BE44 00098DA4 90 1E 01 B0 */ stw r0, 0x1b0(r30) /* 8009BE48 00098DA8 80 1E 00 FC */ lwz r0, 0xfc(r30) /* 8009BE4C 00098DAC 90 1E 01 B4 */ stw r0, 0x1b4(r30) /* 8009BE50 00098DB0 80 1E 01 00 */ lwz r0, 0x100(r30) /* 8009BE54 00098DB4 90 1E 01 B8 */ stw r0, 0x1b8(r30) /* 8009BE58 00098DB8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 8009BE5C 00098DBC C0 04 00 10 */ lfs f0, 0x10(r4) /* 8009BE60 00098DC0 D0 1E 01 1C */ stfs f0, 0x11c(r30) /* 8009BE64 00098DC4 48 00 1D B9 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv /* 8009BE68 00098DC8 38 00 00 01 */ li r0, 1 /* 8009BE6C 00098DCC C0 22 8B 70 */ lfs f1, lbl_805AA890@sda21(r2) /* 8009BE70 00098DD0 90 1E 01 4C */ stw r0, 0x14c(r30) /* 8009BE74 00098DD4 7F C3 F3 78 */ mr r3, r30 /* 8009BE78 00098DD8 4B FF B3 01 */ bl ResetInterpolationTimer__11CAutoMapperFf /* 8009BE7C 00098DDC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BE80 00098DE0 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BE84 00098DE4 48 00 23 7D */ bl sub_8009e200 /* 8009BE88 00098DE8 48 00 00 F0 */ b lbl_8009BF78 .global lbl_8009BE8C lbl_8009BE8C: /* 8009BE8C 00098DEC 80 9E 00 A8 */ lwz r4, 0xa8(r30) /* 8009BE90 00098DF0 38 7E 01 04 */ addi r3, r30, 0x104 /* 8009BE94 00098DF4 80 1E 00 AC */ lwz r0, 0xac(r30) /* 8009BE98 00098DF8 90 9E 01 60 */ stw r4, 0x160(r30) /* 8009BE9C 00098DFC 90 1E 01 64 */ stw r0, 0x164(r30) /* 8009BEA0 00098E00 80 9E 00 B0 */ lwz r4, 0xb0(r30) /* 8009BEA4 00098E04 80 1E 00 B4 */ lwz r0, 0xb4(r30) /* 8009BEA8 00098E08 90 9E 01 68 */ stw r4, 0x168(r30) /* 8009BEAC 00098E0C 90 1E 01 6C */ stw r0, 0x16c(r30) /* 8009BEB0 00098E10 80 9E 00 B8 */ lwz r4, 0xb8(r30) /* 8009BEB4 00098E14 80 1E 00 BC */ lwz r0, 0xbc(r30) /* 8009BEB8 00098E18 90 9E 01 70 */ stw r4, 0x170(r30) /* 8009BEBC 00098E1C 90 1E 01 74 */ stw r0, 0x174(r30) /* 8009BEC0 00098E20 C0 1E 00 C0 */ lfs f0, 0xc0(r30) /* 8009BEC4 00098E24 D0 1E 01 78 */ stfs f0, 0x178(r30) /* 8009BEC8 00098E28 C0 1E 00 C4 */ lfs f0, 0xc4(r30) /* 8009BECC 00098E2C D0 1E 01 7C */ stfs f0, 0x17c(r30) /* 8009BED0 00098E30 80 9E 00 C8 */ lwz r4, 0xc8(r30) /* 8009BED4 00098E34 80 1E 00 CC */ lwz r0, 0xcc(r30) /* 8009BED8 00098E38 90 9E 01 80 */ stw r4, 0x180(r30) /* 8009BEDC 00098E3C 90 1E 01 84 */ stw r0, 0x184(r30) /* 8009BEE0 00098E40 80 1E 00 D0 */ lwz r0, 0xd0(r30) /* 8009BEE4 00098E44 90 1E 01 88 */ stw r0, 0x188(r30) /* 8009BEE8 00098E48 C0 1E 00 D4 */ lfs f0, 0xd4(r30) /* 8009BEEC 00098E4C D0 1E 01 8C */ stfs f0, 0x18c(r30) /* 8009BEF0 00098E50 C0 1E 00 D8 */ lfs f0, 0xd8(r30) /* 8009BEF4 00098E54 D0 1E 01 90 */ stfs f0, 0x190(r30) /* 8009BEF8 00098E58 C0 1E 00 DC */ lfs f0, 0xdc(r30) /* 8009BEFC 00098E5C D0 1E 01 94 */ stfs f0, 0x194(r30) /* 8009BF00 00098E60 C0 1E 00 E0 */ lfs f0, 0xe0(r30) /* 8009BF04 00098E64 D0 1E 01 98 */ stfs f0, 0x198(r30) /* 8009BF08 00098E68 C0 1E 00 E4 */ lfs f0, 0xe4(r30) /* 8009BF0C 00098E6C D0 1E 01 9C */ stfs f0, 0x19c(r30) /* 8009BF10 00098E70 C0 1E 00 E8 */ lfs f0, 0xe8(r30) /* 8009BF14 00098E74 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) /* 8009BF18 00098E78 80 1E 00 EC */ lwz r0, 0xec(r30) /* 8009BF1C 00098E7C 90 1E 01 A4 */ stw r0, 0x1a4(r30) /* 8009BF20 00098E80 80 1E 00 F0 */ lwz r0, 0xf0(r30) /* 8009BF24 00098E84 90 1E 01 A8 */ stw r0, 0x1a8(r30) /* 8009BF28 00098E88 80 1E 00 F4 */ lwz r0, 0xf4(r30) /* 8009BF2C 00098E8C 90 1E 01 AC */ stw r0, 0x1ac(r30) /* 8009BF30 00098E90 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 8009BF34 00098E94 90 1E 01 B0 */ stw r0, 0x1b0(r30) /* 8009BF38 00098E98 80 1E 00 FC */ lwz r0, 0xfc(r30) /* 8009BF3C 00098E9C 90 1E 01 B4 */ stw r0, 0x1b4(r30) /* 8009BF40 00098EA0 80 1E 01 00 */ lwz r0, 0x100(r30) /* 8009BF44 00098EA4 90 1E 01 B8 */ stw r0, 0x1b8(r30) /* 8009BF48 00098EA8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) /* 8009BF4C 00098EAC C0 04 00 08 */ lfs f0, 8(r4) /* 8009BF50 00098EB0 D0 1E 01 1C */ stfs f0, 0x11c(r30) /* 8009BF54 00098EB4 48 00 1C C9 */ bl ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv /* 8009BF58 00098EB8 38 00 00 01 */ li r0, 1 /* 8009BF5C 00098EBC C0 22 8B 70 */ lfs f1, lbl_805AA890@sda21(r2) /* 8009BF60 00098EC0 90 1E 01 4C */ stw r0, 0x14c(r30) /* 8009BF64 00098EC4 7F C3 F3 78 */ mr r3, r30 /* 8009BF68 00098EC8 4B FF B2 11 */ bl ResetInterpolationTimer__11CAutoMapperFf /* 8009BF6C 00098ECC 80 9E 01 E4 */ lwz r4, 0x1e4(r30) /* 8009BF70 00098ED0 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009BF74 00098ED4 48 00 22 8D */ bl sub_8009e200 lbl_8009BF78: /* 8009BF78 00098ED8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 8009BF7C 00098EDC 80 01 00 54 */ lwz r0, 0x54(r1) /* 8009BF80 00098EE0 CB E1 00 40 */ lfd f31, 0x40(r1) /* 8009BF84 00098EE4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8009BF88 00098EE8 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8009BF8C 00098EEC 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8009BF90 00098EF0 7C 08 03 A6 */ mtlr r0 /* 8009BF94 00098EF4 38 21 00 50 */ addi r1, r1, 0x50 /* 8009BF98 00098EF8 4E 80 00 20 */ blr .global CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager CheckDummyWorldLoad__11CAutoMapperFRC13CStateManager: /* 8009BF9C 00098EFC 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8009BFA0 00098F00 7C 08 02 A6 */ mflr r0 /* 8009BFA4 00098F04 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8009BFA8 00098F08 BF 61 00 AC */ stmw r27, 0xac(r1) /* 8009BFAC 00098F0C 7C 9B 23 78 */ mr r27, r4 /* 8009BFB0 00098F10 7C 7F 1B 78 */ mr r31, r3 /* 8009BFB4 00098F14 80 A3 00 9C */ lwz r5, 0x9c(r3) /* 8009BFB8 00098F18 80 83 00 20 */ lwz r4, 0x20(r3) /* 8009BFBC 00098F1C 54 A0 18 38 */ slwi r0, r5, 3 /* 8009BFC0 00098F20 80 63 00 10 */ lwz r3, 0x10(r3) /* 8009BFC4 00098F24 7C 84 02 14 */ add r4, r4, r0 /* 8009BFC8 00098F28 83 C4 00 04 */ lwz r30, 4(r4) /* 8009BFCC 00098F2C 1C 05 00 70 */ mulli r0, r5, 0x70 /* 8009BFD0 00098F30 80 63 00 1C */ lwz r3, 0x1c(r3) /* 8009BFD4 00098F34 28 1E 00 00 */ cmplwi r30, 0 /* 8009BFD8 00098F38 7F A3 02 14 */ add r29, r3, r0 /* 8009BFDC 00098F3C 41 82 01 3C */ beq lbl_8009C118 /* 8009BFE0 00098F40 7F C3 F3 78 */ mr r3, r30 /* 8009BFE4 00098F44 81 9E 00 00 */ lwz r12, 0(r30) /* 8009BFE8 00098F48 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8009BFEC 00098F4C 7D 89 03 A6 */ mtctr r12 /* 8009BFF0 00098F50 4E 80 04 21 */ bctrl /* 8009BFF4 00098F54 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009BFF8 00098F58 41 82 01 18 */ beq lbl_8009C110 /* 8009BFFC 00098F5C 7F C3 F3 78 */ mr r3, r30 /* 8009C000 00098F60 81 9E 00 00 */ lwz r12, 0(r30) /* 8009C004 00098F64 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009C008 00098F68 7D 89 03 A6 */ mtctr r12 /* 8009C00C 00098F6C 4E 80 04 21 */ bctrl /* 8009C010 00098F70 7C 64 1B 78 */ mr r4, r3 /* 8009C014 00098F74 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009C018 00098F78 48 13 79 C1 */ bl StateForWorld__10CGameStateFUi /* 8009C01C 00098F7C 7C 64 1B 78 */ mr r4, r3 /* 8009C020 00098F80 38 61 00 08 */ addi r3, r1, 8 /* 8009C024 00098F84 48 13 8D 41 */ bl GetMapWorldInfo__11CWorldStateCFv /* 8009C028 00098F88 80 81 00 08 */ lwz r4, 8(r1) /* 8009C02C 00098F8C 38 61 00 08 */ addi r3, r1, 8 /* 8009C030 00098F90 83 84 00 00 */ lwz r28, 0(r4) /* 8009C034 00098F94 4B F6 CC 09 */ bl sub_80008c3c /* 8009C038 00098F98 38 61 00 54 */ addi r3, r1, 0x54 /* 8009C03C 00098F9C 38 9D 00 14 */ addi r4, r29, 0x14 /* 8009C040 00098FA0 48 27 6C 5D */ bl GetQuickInverse__12CTransform4fCFv /* 8009C044 00098FA4 38 61 00 24 */ addi r3, r1, 0x24 /* 8009C048 00098FA8 38 81 00 54 */ addi r4, r1, 0x54 /* 8009C04C 00098FAC 38 BF 00 C8 */ addi r5, r31, 0xc8 /* 8009C050 00098FB0 48 27 6A 99 */ bl __ml__12CTransform4fCFRC9CVector3f /* 8009C054 00098FB4 3B A1 00 24 */ addi r29, r1, 0x24 /* 8009C058 00098FB8 38 61 00 30 */ addi r3, r1, 0x30 /* 8009C05C 00098FBC 38 9F 00 B0 */ addi r4, r31, 0xb0 /* 8009C060 00098FC0 48 27 60 2D */ bl BuildTransform__11CQuaternionCFv /* 8009C064 00098FC4 38 61 00 84 */ addi r3, r1, 0x84 /* 8009C068 00098FC8 38 81 00 30 */ addi r4, r1, 0x30 /* 8009C06C 00098FCC 48 27 3F B9 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 8009C070 00098FD0 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 8009C074 00098FD4 7F E3 FB 78 */ mr r3, r31 /* 8009C078 00098FD8 C0 21 00 94 */ lfs f1, 0x94(r1) /* 8009C07C 00098FDC 7F A4 EB 78 */ mr r4, r29 /* 8009C080 00098FE0 C0 01 00 88 */ lfs f0, 0x88(r1) /* 8009C084 00098FE4 7F 66 DB 78 */ mr r6, r27 /* 8009C088 00098FE8 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8009C08C 00098FEC 7F C7 F3 78 */ mr r7, r30 /* 8009C090 00098FF0 7F 88 E3 78 */ mr r8, r28 /* 8009C094 00098FF4 38 A1 00 18 */ addi r5, r1, 0x18 /* 8009C098 00098FF8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8009C09C 00098FFC D0 41 00 14 */ stfs f2, 0x14(r1) /* 8009C0A0 00099000 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8009C0A4 00099004 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 8009C0A8 00099008 D0 41 00 20 */ stfs f2, 0x20(r1) /* 8009C0AC 0009900C 4B FF A5 11 */ bl FindClosestVisibleArea__11CAutoMapperCFRC9CVector3fRC13CUnitVector3fRC13CStateManagerRC6IWorldRC13CMapWorldInfo /* 8009C0B0 00099010 2C 03 FF FF */ cmpwi r3, -1 /* 8009C0B4 00099014 41 82 00 4C */ beq lbl_8009C100 /* 8009C0B8 00099018 90 7F 00 A0 */ stw r3, 0xa0(r31) /* 8009C0BC 0009901C 7F C3 F3 78 */ mr r3, r30 /* 8009C0C0 00099020 81 9E 00 00 */ lwz r12, 0(r30) /* 8009C0C4 00099024 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8009C0C8 00099028 7D 89 03 A6 */ mtctr r12 /* 8009C0CC 0009902C 4E 80 04 21 */ bctrl /* 8009C0D0 00099030 7F 84 E3 78 */ mr r4, r28 /* 8009C0D4 00099034 7F C5 F3 78 */ mr r5, r30 /* 8009C0D8 00099038 48 00 37 85 */ bl RecalculateWorldSphere__9CMapWorldCFRC13CMapWorldInfoRC6IWorld /* 8009C0DC 0009903C 93 DF 00 24 */ stw r30, 0x24(r31) /* 8009C0E0 00099040 7F E3 FB 78 */ mr r3, r31 /* 8009C0E4 00099044 7F 65 DB 78 */ mr r5, r27 /* 8009C0E8 00099048 38 80 00 01 */ li r4, 1 /* 8009C0EC 0009904C 4B FF B2 49 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager /* 8009C0F0 00099050 38 00 00 00 */ li r0, 0 /* 8009C0F4 00099054 38 60 00 01 */ li r3, 1 /* 8009C0F8 00099058 98 1F 03 2C */ stb r0, 0x32c(r31) /* 8009C0FC 0009905C 48 00 00 28 */ b lbl_8009C124 lbl_8009C100: /* 8009C100 00099060 38 00 00 00 */ li r0, 0 /* 8009C104 00099064 38 60 00 00 */ li r3, 0 /* 8009C108 00099068 98 1F 03 2C */ stb r0, 0x32c(r31) /* 8009C10C 0009906C 48 00 00 18 */ b lbl_8009C124 lbl_8009C110: /* 8009C110 00099070 38 60 00 01 */ li r3, 1 /* 8009C114 00099074 48 00 00 10 */ b lbl_8009C124 lbl_8009C118: /* 8009C118 00099078 38 00 00 00 */ li r0, 0 /* 8009C11C 0009907C 38 60 00 00 */ li r3, 0 /* 8009C120 00099080 98 1F 03 2C */ stb r0, 0x32c(r31) lbl_8009C124: /* 8009C124 00099084 BB 61 00 AC */ lmw r27, 0xac(r1) /* 8009C128 00099088 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8009C12C 0009908C 7C 08 03 A6 */ mtlr r0 /* 8009C130 00099090 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8009C134 00099094 4E 80 00 20 */ blr .global HasCurrentMapUniverseWorld__11CAutoMapperFv HasCurrentMapUniverseWorld__11CAutoMapperFv: /* 8009C138 00099098 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8009C13C 0009909C 7C 08 02 A6 */ mflr r0 /* 8009C140 000990A0 7C 64 1B 78 */ mr r4, r3 /* 8009C144 000990A4 90 01 00 14 */ stw r0, 0x14(r1) /* 8009C148 000990A8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8009C14C 000990AC 80 63 00 24 */ lwz r3, 0x24(r3) /* 8009C150 000990B0 83 E4 00 10 */ lwz r31, 0x10(r4) /* 8009C154 000990B4 81 83 00 00 */ lwz r12, 0(r3) /* 8009C158 000990B8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009C15C 000990BC 7D 89 03 A6 */ mtctr r12 /* 8009C160 000990C0 4E 80 04 21 */ bctrl /* 8009C164 000990C4 80 1F 00 14 */ lwz r0, 0x14(r31) /* 8009C168 000990C8 38 A0 00 00 */ li r5, 0 /* 8009C16C 000990CC 7C 09 03 A6 */ mtctr r0 /* 8009C170 000990D0 2C 00 00 00 */ cmpwi r0, 0 /* 8009C174 000990D4 40 81 00 28 */ ble lbl_8009C19C lbl_8009C178: /* 8009C178 000990D8 80 9F 00 1C */ lwz r4, 0x1c(r31) /* 8009C17C 000990DC 38 05 00 10 */ addi r0, r5, 0x10 /* 8009C180 000990E0 7C 04 00 2E */ lwzx r0, r4, r0 /* 8009C184 000990E4 7C 03 00 40 */ cmplw r3, r0 /* 8009C188 000990E8 40 82 00 0C */ bne lbl_8009C194 /* 8009C18C 000990EC 38 60 00 01 */ li r3, 1 /* 8009C190 000990F0 48 00 00 10 */ b lbl_8009C1A0 lbl_8009C194: /* 8009C194 000990F4 38 A5 00 70 */ addi r5, r5, 0x70 /* 8009C198 000990F8 42 00 FF E0 */ bdnz lbl_8009C178 lbl_8009C19C: /* 8009C19C 000990FC 38 60 00 00 */ li r3, 0 lbl_8009C1A0: /* 8009C1A0 00099100 80 01 00 14 */ lwz r0, 0x14(r1) /* 8009C1A4 00099104 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8009C1A8 00099108 7C 08 03 A6 */ mtlr r0 /* 8009C1AC 0009910C 38 21 00 10 */ addi r1, r1, 0x10 /* 8009C1B0 00099110 4E 80 00 20 */ blr .global UnmuteAllLoopedSounds__11CAutoMapperFv UnmuteAllLoopedSounds__11CAutoMapperFv: /* 8009C1B4 00099114 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009C1B8 00099118 7C 08 02 A6 */ mflr r0 /* 8009C1BC 0009911C 38 80 00 7F */ li r4, 0x7f /* 8009C1C0 00099120 90 01 00 24 */ stw r0, 0x24(r1) /* 8009C1C4 00099124 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009C1C8 00099128 7C 7F 1B 78 */ mr r31, r3 /* 8009C1CC 0009912C 38 61 00 10 */ addi r3, r1, 0x10 /* 8009C1D0 00099130 80 1F 01 CC */ lwz r0, 0x1cc(r31) /* 8009C1D4 00099134 90 01 00 10 */ stw r0, 0x10(r1) /* 8009C1D8 00099138 48 24 DA 81 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc /* 8009C1DC 0009913C 80 1F 01 D0 */ lwz r0, 0x1d0(r31) /* 8009C1E0 00099140 38 61 00 0C */ addi r3, r1, 0xc /* 8009C1E4 00099144 38 80 00 7F */ li r4, 0x7f /* 8009C1E8 00099148 90 01 00 0C */ stw r0, 0xc(r1) /* 8009C1EC 0009914C 48 24 DA 6D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc /* 8009C1F0 00099150 80 1F 01 D4 */ lwz r0, 0x1d4(r31) /* 8009C1F4 00099154 38 61 00 08 */ addi r3, r1, 8 /* 8009C1F8 00099158 38 80 00 7F */ li r4, 0x7f /* 8009C1FC 0009915C 90 01 00 08 */ stw r0, 8(r1) /* 8009C200 00099160 48 24 DA 59 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc /* 8009C204 00099164 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009C208 00099168 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009C20C 0009916C 7C 08 03 A6 */ mtlr r0 /* 8009C210 00099170 38 21 00 20 */ addi r1, r1, 0x20 /* 8009C214 00099174 4E 80 00 20 */ blr .global NotHintNavigating__11CAutoMapperFv NotHintNavigating__11CAutoMapperFv: /* 8009C218 00099178 80 03 01 F4 */ lwz r0, 0x1f4(r3) /* 8009C21C 0009917C 38 60 00 01 */ li r3, 1 /* 8009C220 00099180 7C 00 00 34 */ cntlzw r0, r0 /* 8009C224 00099184 5C 63 07 FE */ rlwnm r3, r3, r0, 0x1f, 0x1f /* 8009C228 00099188 4E 80 00 20 */ blr .global CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager: /* 8009C22C 0009918C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009C230 00099190 7C 08 02 A6 */ mflr r0 /* 8009C234 00099194 90 01 00 24 */ stw r0, 0x24(r1) /* 8009C238 00099198 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009C23C 0009919C 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009C240 000991A0 7C 9E 23 78 */ mr r30, r4 /* 8009C244 000991A4 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009C248 000991A8 7C 7D 1B 78 */ mr r29, r3 /* 8009C24C 000991AC 4B FF FF CD */ bl NotHintNavigating__11CAutoMapperFv /* 8009C250 000991B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009C254 000991B4 40 82 00 0C */ bne lbl_8009C260 /* 8009C258 000991B8 38 60 00 00 */ li r3, 0 /* 8009C25C 000991BC 48 00 00 68 */ b lbl_8009C2C4 lbl_8009C260: /* 8009C260 000991C0 7F A3 EB 78 */ mr r3, r29 /* 8009C264 000991C4 4B FF 9A 8D */ bl IsRenderStateInterpolating__11CAutoMapperCFv /* 8009C268 000991C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009C26C 000991CC 41 82 00 0C */ beq lbl_8009C278 /* 8009C270 000991D0 38 60 00 00 */ li r3, 0 /* 8009C274 000991D4 48 00 00 50 */ b lbl_8009C2C4 lbl_8009C278: /* 8009C278 000991D8 7F A3 EB 78 */ mr r3, r29 /* 8009C27C 000991DC 38 80 00 02 */ li r4, 2 /* 8009C280 000991E0 4B FF 9A A5 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009C284 000991E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009C288 000991E8 41 82 00 0C */ beq lbl_8009C294 /* 8009C28C 000991EC 3B E0 00 01 */ li r31, 1 /* 8009C290 000991F0 48 00 00 30 */ b lbl_8009C2C0 lbl_8009C294: /* 8009C294 000991F4 80 7D 00 24 */ lwz r3, 0x24(r29) /* 8009C298 000991F8 3B E0 00 00 */ li r31, 0 /* 8009C29C 000991FC 80 1E 08 50 */ lwz r0, 0x850(r30) /* 8009C2A0 00099200 7C 03 00 40 */ cmplw r3, r0 /* 8009C2A4 00099204 40 82 00 1C */ bne lbl_8009C2C0 /* 8009C2A8 00099208 7F A3 EB 78 */ mr r3, r29 /* 8009C2AC 0009920C 38 80 00 01 */ li r4, 1 /* 8009C2B0 00099210 4B FF 9A 75 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState /* 8009C2B4 00099214 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009C2B8 00099218 41 82 00 08 */ beq lbl_8009C2C0 /* 8009C2BC 0009921C 3B E0 00 01 */ li r31, 1 lbl_8009C2C0: /* 8009C2C0 00099220 7F E3 FB 78 */ mr r3, r31 lbl_8009C2C4: /* 8009C2C4 00099224 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009C2C8 00099228 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009C2CC 0009922C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009C2D0 00099230 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009C2D4 00099234 7C 08 03 A6 */ mtlr r0 /* 8009C2D8 00099238 38 21 00 20 */ addi r1, r1, 0x20 /* 8009C2DC 0009923C 4E 80 00 20 */ blr .global CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager: /* 8009C2E0 00099240 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8009C2E4 00099244 7C 08 02 A6 */ mflr r0 /* 8009C2E8 00099248 90 01 00 14 */ stw r0, 0x14(r1) /* 8009C2EC 0009924C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8009C2F0 00099250 3B E0 00 00 */ li r31, 0 /* 8009C2F4 00099254 80 03 03 28 */ lwz r0, 0x328(r3) /* 8009C2F8 00099258 2C 00 00 03 */ cmpwi r0, 3 /* 8009C2FC 0009925C 40 82 00 14 */ bne lbl_8009C310 /* 8009C300 00099260 4B FF FF 2D */ bl CanLeaveMapScreenInternal__11CAutoMapperCFRC13CStateManager /* 8009C304 00099264 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009C308 00099268 41 82 00 08 */ beq lbl_8009C310 /* 8009C30C 0009926C 3B E0 00 01 */ li r31, 1 lbl_8009C310: /* 8009C310 00099270 80 01 00 14 */ lwz r0, 0x14(r1) /* 8009C314 00099274 7F E3 FB 78 */ mr r3, r31 /* 8009C318 00099278 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8009C31C 0009927C 7C 08 03 A6 */ mtlr r0 /* 8009C320 00099280 38 21 00 10 */ addi r1, r1, 0x10 /* 8009C324 00099284 4E 80 00 20 */ blr .global OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager: /* 8009C328 00099288 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009C32C 0009928C 7C 08 02 A6 */ mflr r0 /* 8009C330 00099290 2C 04 00 02 */ cmpwi r4, 2 /* 8009C334 00099294 90 01 00 24 */ stw r0, 0x24(r1) /* 8009C338 00099298 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009C33C 0009929C 7C BF 2B 78 */ mr r31, r5 /* 8009C340 000992A0 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009C344 000992A4 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009C348 000992A8 7C 7D 1B 78 */ mr r29, r3 /* 8009C34C 000992AC 93 81 00 10 */ stw r28, 0x10(r1) /* 8009C350 000992B0 40 82 01 2C */ bne lbl_8009C47C /* 8009C354 000992B4 4B F6 84 BD */ bl EnsureWorldPaksReady__5CMainFv /* 8009C358 000992B8 83 DF 08 50 */ lwz r30, 0x850(r31) /* 8009C35C 000992BC 7F C3 F3 78 */ mr r3, r30 /* 8009C360 000992C0 4B FB B3 3D */ bl GetMapWorld__6CWorldCFv /* 8009C364 000992C4 7F C4 F3 78 */ mr r4, r30 /* 8009C368 000992C8 38 A0 00 00 */ li r5, 0 /* 8009C36C 000992CC 38 C0 27 0F */ li r6, 0x270f /* 8009C370 000992D0 48 00 4E 99 */ bl SetWhichMapAreasLoaded__9CMapWorldFRC6IWorldii /* 8009C374 000992D4 7F A3 EB 78 */ mr r3, r29 /* 8009C378 000992D8 48 00 01 6D */ bl SetupHintNavigation__11CAutoMapperFv /* 8009C37C 000992DC 7F A3 EB 78 */ mr r3, r29 /* 8009C380 000992E0 7F E5 FB 78 */ mr r5, r31 /* 8009C384 000992E4 38 80 00 01 */ li r4, 1 /* 8009C388 000992E8 4B FF AF AD */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager /* 8009C38C 000992EC 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009C390 000992F0 3B 80 00 00 */ li r28, 0 /* 8009C394 000992F4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 8009C398 000992F8 38 60 00 0C */ li r3, 0xc /* 8009C39C 000992FC 38 84 00 0F */ addi r4, r4, 0xf /* 8009C3A0 00099300 38 A0 00 00 */ li r5, 0 /* 8009C3A4 00099304 48 27 94 C9 */ bl __nw__FUlPCcPCc /* 8009C3A8 00099308 7C 7F 1B 79 */ or. r31, r3, r3 /* 8009C3AC 0009930C 41 82 00 38 */ beq lbl_8009C3E4 /* 8009C3B0 00099310 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009C3B4 00099314 38 61 00 08 */ addi r3, r1, 8 /* 8009C3B8 00099318 80 A2 8B 60 */ lwz r5, lbl_805AA880@sda21(r2) /* 8009C3BC 0009931C 81 84 00 00 */ lwz r12, 0(r4) /* 8009C3C0 00099320 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8009C3C4 00099324 7D 89 03 A6 */ mtctr r12 /* 8009C3C8 00099328 4E 80 04 21 */ bctrl /* 8009C3CC 0009932C 7F E3 FB 78 */ mr r3, r31 /* 8009C3D0 00099330 38 81 00 08 */ addi r4, r1, 8 /* 8009C3D4 00099334 3B 80 00 01 */ li r28, 1 /* 8009C3D8 00099338 48 2A 4A D1 */ bl __ct__6CTokenFRC6CToken /* 8009C3DC 0009933C 38 00 00 00 */ li r0, 0 /* 8009C3E0 00099340 90 1F 00 08 */ stw r0, 8(r31) lbl_8009C3E4: /* 8009C3E4 00099344 83 DD 00 28 */ lwz r30, 0x28(r29) /* 8009C3E8 00099348 28 1E 00 00 */ cmplwi r30, 0 /* 8009C3EC 0009934C 41 82 00 1C */ beq lbl_8009C408 /* 8009C3F0 00099350 41 82 00 10 */ beq lbl_8009C400 /* 8009C3F4 00099354 7F C3 F3 78 */ mr r3, r30 /* 8009C3F8 00099358 38 80 00 00 */ li r4, 0 /* 8009C3FC 0009935C 48 2A 4A 45 */ bl __dt__6CTokenFv lbl_8009C400: /* 8009C400 00099360 7F C3 F3 78 */ mr r3, r30 /* 8009C404 00099364 48 27 95 2D */ bl Free__7CMemoryFPCv lbl_8009C408: /* 8009C408 00099368 7F 80 07 75 */ extsb. r0, r28 /* 8009C40C 0009936C 93 FD 00 28 */ stw r31, 0x28(r29) /* 8009C410 00099370 41 82 00 10 */ beq lbl_8009C420 /* 8009C414 00099374 38 61 00 08 */ addi r3, r1, 8 /* 8009C418 00099378 38 80 FF FF */ li r4, -1 /* 8009C41C 0009937C 48 2A 4A 25 */ bl __dt__6CTokenFv lbl_8009C420: /* 8009C420 00099380 80 7D 00 28 */ lwz r3, 0x28(r29) /* 8009C424 00099384 48 2A 49 61 */ bl Lock__6CTokenFv /* 8009C428 00099388 7F A3 EB 78 */ mr r3, r29 /* 8009C42C 0009938C 38 9D 02 10 */ addi r4, r29, 0x210 /* 8009C430 00099390 38 A0 00 01 */ li r5, 1 /* 8009C434 00099394 48 00 10 15 */ bl "SetResLockState,9>>__11CAutoMapperFv" /* 8009C438 00099398 7F A3 EB 78 */ mr r3, r29 /* 8009C43C 0009939C 38 9D 02 5C */ addi r4, r29, 0x25c /* 8009C440 000993A0 38 A0 00 01 */ li r5, 1 /* 8009C444 000993A4 48 00 10 05 */ bl "SetResLockState,9>>__11CAutoMapperFv" /* 8009C448 000993A8 7F A3 EB 78 */ mr r3, r29 /* 8009C44C 000993AC 38 9D 02 A8 */ addi r4, r29, 0x2a8 /* 8009C450 000993B0 38 A0 00 01 */ li r5, 1 /* 8009C454 000993B4 48 00 0F 79 */ bl "SetResLockState,2>>__11CAutoMapperFv" /* 8009C458 000993B8 7F A3 EB 78 */ mr r3, r29 /* 8009C45C 000993BC 38 9D 02 BC */ addi r4, r29, 0x2bc /* 8009C460 000993C0 38 A0 00 01 */ li r5, 1 /* 8009C464 000993C4 48 00 0F 69 */ bl "SetResLockState,2>>__11CAutoMapperFv" /* 8009C468 000993C8 7F A3 EB 78 */ mr r3, r29 /* 8009C46C 000993CC 38 9D 02 D0 */ addi r4, r29, 0x2d0 /* 8009C470 000993D0 38 A0 00 01 */ li r5, 1 /* 8009C474 000993D4 48 00 0F 59 */ bl "SetResLockState,2>>__11CAutoMapperFv" /* 8009C478 000993D8 48 00 00 4C */ b lbl_8009C4C4 lbl_8009C47C: /* 8009C47C 000993DC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009C480 000993E0 48 13 75 51 */ bl CurrentWorldAssetId__10CGameStateCFv /* 8009C484 000993E4 4B F6 83 F9 */ bl EnsureWorldPakReady__5CMainFUi /* 8009C488 000993E8 80 1D 01 BC */ lwz r0, 0x1bc(r29) /* 8009C48C 000993EC 2C 00 00 02 */ cmpwi r0, 2 /* 8009C490 000993F0 41 82 00 14 */ beq lbl_8009C4A4 /* 8009C494 000993F4 80 7D 00 24 */ lwz r3, 0x24(r29) /* 8009C498 000993F8 80 1F 08 50 */ lwz r0, 0x850(r31) /* 8009C49C 000993FC 7C 03 00 40 */ cmplw r3, r0 /* 8009C4A0 00099400 40 82 00 1C */ bne lbl_8009C4BC lbl_8009C4A4: /* 8009C4A4 00099404 7F A3 EB 78 */ mr r3, r29 /* 8009C4A8 00099408 7F E5 FB 78 */ mr r5, r31 /* 8009C4AC 0009940C 38 80 00 00 */ li r4, 0 /* 8009C4B0 00099410 4B FF AE 85 */ bl BeginMapperStateTransition__11CAutoMapperFQ211CAutoMapper16EAutoMapperStateRC13CStateManager /* 8009C4B4 00099414 38 00 00 00 */ li r0, 0 /* 8009C4B8 00099418 90 1D 03 28 */ stw r0, 0x328(r29) lbl_8009C4BC: /* 8009C4BC 0009941C 7F A3 EB 78 */ mr r3, r29 /* 8009C4C0 00099420 4B FF A6 19 */ bl LeaveMapScreenState__11CAutoMapperFv lbl_8009C4C4: /* 8009C4C4 00099424 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009C4C8 00099428 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009C4CC 0009942C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009C4D0 00099430 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009C4D4 00099434 83 81 00 10 */ lwz r28, 0x10(r1) /* 8009C4D8 00099438 7C 08 03 A6 */ mtlr r0 /* 8009C4DC 0009943C 38 21 00 20 */ addi r1, r1, 0x20 /* 8009C4E0 00099440 4E 80 00 20 */ blr .global SetupHintNavigation__11CAutoMapperFv SetupHintNavigation__11CAutoMapperFv: /* 8009C4E4 00099444 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8009C4E8 00099448 7C 08 02 A6 */ mflr r0 /* 8009C4EC 0009944C 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8009C4F0 00099450 BE 81 00 90 */ stmw r20, 0x90(r1) /* 8009C4F4 00099454 7C 7F 1B 78 */ mr r31, r3 /* 8009C4F8 00099458 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 8009C4FC 0009945C 88 04 01 E4 */ lbz r0, 0x1e4(r4) /* 8009C500 00099460 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8009C504 00099464 41 82 07 14 */ beq lbl_8009CC18 /* 8009C508 00099468 82 9F 01 E8 */ lwz r20, 0x1e8(r31) /* 8009C50C 0009946C 80 9F 01 E4 */ lwz r4, 0x1e4(r31) /* 8009C510 00099470 48 00 00 10 */ b lbl_8009C520 lbl_8009C514: /* 8009C514 00099474 38 7F 01 E0 */ addi r3, r31, 0x1e0 /* 8009C518 00099478 48 00 1C E9 */ bl sub_8009e200 /* 8009C51C 0009947C 7C 64 1B 78 */ mr r4, r3 lbl_8009C520: /* 8009C520 00099480 7C 04 A0 40 */ cmplw r4, r20 /* 8009C524 00099484 40 82 FF F0 */ bne lbl_8009C514 /* 8009C528 00099488 82 9F 02 00 */ lwz r20, 0x200(r31) /* 8009C52C 0009948C 80 9F 01 FC */ lwz r4, 0x1fc(r31) /* 8009C530 00099490 48 00 00 10 */ b lbl_8009C540 lbl_8009C534: /* 8009C534 00099494 38 7F 01 F8 */ addi r3, r31, 0x1f8 /* 8009C538 00099498 48 00 1D BD */ bl sub_8009e2f4 /* 8009C53C 0009949C 7C 64 1B 78 */ mr r4, r3 lbl_8009C540: /* 8009C540 000994A0 7C 04 A0 40 */ cmplw r4, r20 /* 8009C544 000994A4 40 82 FF F0 */ bne lbl_8009C534 /* 8009C548 000994A8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8009C54C 000994AC 3B 63 01 F8 */ addi r27, r3, 0x1f8 /* 8009C550 000994B0 7F 63 DB 78 */ mr r3, r27 /* 8009C554 000994B4 48 1C B1 C9 */ bl GetCurrentDisplayedHint__12CHintOptionsCFv /* 8009C558 000994B8 28 03 00 00 */ cmplwi r3, 0 /* 8009C55C 000994BC 3A C0 00 00 */ li r22, 0 /* 8009C560 000994C0 41 82 05 90 */ beq lbl_8009CAF0 /* 8009C564 000994C4 48 1C B8 E9 */ bl CanContinue__Q212CHintOptions10SHintStateFv /* 8009C568 000994C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009C56C 000994CC 41 82 05 84 */ beq lbl_8009CAF0 /* 8009C570 000994D0 80 82 8C 18 */ lwz r4, lbl_805AA938@sda21(r2) /* 8009C574 000994D4 38 A0 00 04 */ li r5, 4 /* 8009C578 000994D8 82 9F 01 E8 */ lwz r20, 0x1e8(r31) /* 8009C57C 000994DC 38 00 00 00 */ li r0, 0 /* 8009C580 000994E0 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009C584 000994E4 90 A1 00 7C */ stw r5, 0x7c(r1) /* 8009C588 000994E8 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l /* 8009C58C 000994EC 82 B4 00 00 */ lwz r21, 0(r20) /* 8009C590 000994F0 90 81 00 80 */ stw r4, 0x80(r1) /* 8009C594 000994F4 38 83 00 0F */ addi r4, r3, 0xf /* 8009C598 000994F8 3A C0 00 01 */ li r22, 1 /* 8009C59C 000994FC 38 60 00 14 */ li r3, 0x14 /* 8009C5A0 00099500 98 01 00 84 */ stb r0, 0x84(r1) /* 8009C5A4 00099504 38 A0 00 00 */ li r5, 0 /* 8009C5A8 00099508 48 27 92 71 */ bl __nwa__FUlPCcPCc /* 8009C5AC 0009950C 28 03 00 00 */ cmplwi r3, 0 /* 8009C5B0 00099510 41 82 00 0C */ beq lbl_8009C5BC /* 8009C5B4 00099514 92 A3 00 00 */ stw r21, 0(r3) /* 8009C5B8 00099518 92 83 00 04 */ stw r20, 4(r3) lbl_8009C5BC: /* 8009C5BC 0009951C 34 A3 00 08 */ addic. r5, r3, 8 /* 8009C5C0 00099520 41 82 00 1C */ beq lbl_8009C5DC /* 8009C5C4 00099524 80 01 00 7C */ lwz r0, 0x7c(r1) /* 8009C5C8 00099528 80 81 00 80 */ lwz r4, 0x80(r1) /* 8009C5CC 0009952C 90 05 00 00 */ stw r0, 0(r5) /* 8009C5D0 00099530 88 01 00 84 */ lbz r0, 0x84(r1) /* 8009C5D4 00099534 90 85 00 04 */ stw r4, 4(r5) /* 8009C5D8 00099538 98 05 00 08 */ stb r0, 8(r5) lbl_8009C5DC: /* 8009C5DC 0009953C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009C5E0 00099540 7C 14 00 40 */ cmplw r20, r0 /* 8009C5E4 00099544 40 82 00 08 */ bne lbl_8009C5EC /* 8009C5E8 00099548 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009C5EC: /* 8009C5EC 0009954C 80 83 00 00 */ lwz r4, 0(r3) /* 8009C5F0 00099550 90 64 00 04 */ stw r3, 4(r4) /* 8009C5F4 00099554 80 83 00 04 */ lwz r4, 4(r3) /* 8009C5F8 00099558 90 64 00 00 */ stw r3, 0(r4) /* 8009C5FC 0009955C 7F 63 DB 78 */ mr r3, r27 /* 8009C600 00099560 80 9F 01 F4 */ lwz r4, 0x1f4(r31) /* 8009C604 00099564 38 04 00 01 */ addi r0, r4, 1 /* 8009C608 00099568 90 1F 01 F4 */ stw r0, 0x1f4(r31) /* 8009C60C 0009956C 48 1C B0 F1 */ bl GetNextHintIdx__12CHintOptionsFv /* 8009C610 00099570 1C 03 00 30 */ mulli r0, r3, 0x30 /* 8009C614 00099574 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) /* 8009C618 00099578 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8009C61C 0009957C 80 84 00 08 */ lwz r4, 8(r4) /* 8009C620 00099580 81 83 00 00 */ lwz r12, 0(r3) /* 8009C624 00099584 80 84 00 0C */ lwz r4, 0xc(r4) /* 8009C628 00099588 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009C62C 0009958C 7F 44 02 14 */ add r26, r4, r0 /* 8009C630 00099590 7D 89 03 A6 */ mtctr r12 /* 8009C634 00099594 4E 80 04 21 */ bctrl /* 8009C638 00099598 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009C63C 0009959C 83 A2 8C 1C */ lwz r29, lbl_805AA93C@sda21(r2) /* 8009C640 000995A0 7C 75 1B 78 */ mr r21, r3 /* 8009C644 000995A4 3A 80 00 00 */ li r20, 0 /* 8009C648 000995A8 3B C4 D8 0C */ addi r30, r4, lbl_803CD80C@l /* 8009C64C 000995AC 3B 00 00 00 */ li r24, 0 /* 8009C650 000995B0 48 00 04 94 */ b lbl_8009CAE4 lbl_8009C654: /* 8009C654 000995B4 80 1A 00 2C */ lwz r0, 0x2c(r26) /* 8009C658 000995B8 7F 20 C2 14 */ add r25, r0, r24 /* 8009C65C 000995BC 82 F9 00 00 */ lwz r23, 0(r25) /* 8009C660 000995C0 7C 17 A8 40 */ cmplw r23, r21 /* 8009C664 000995C4 41 82 01 BC */ beq lbl_8009C820 /* 8009C668 000995C8 83 9F 01 E8 */ lwz r28, 0x1e8(r31) /* 8009C66C 000995CC 38 00 00 00 */ li r0, 0 /* 8009C670 000995D0 38 80 00 02 */ li r4, 2 /* 8009C674 000995D4 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009C678 000995D8 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l /* 8009C67C 000995DC 90 81 00 70 */ stw r4, 0x70(r1) /* 8009C680 000995E0 82 BC 00 00 */ lwz r21, 0(r28) /* 8009C684 000995E4 38 83 00 0F */ addi r4, r3, 0xf /* 8009C688 000995E8 90 01 00 74 */ stw r0, 0x74(r1) /* 8009C68C 000995EC 38 60 00 14 */ li r3, 0x14 /* 8009C690 000995F0 38 A0 00 00 */ li r5, 0 /* 8009C694 000995F4 98 01 00 78 */ stb r0, 0x78(r1) /* 8009C698 000995F8 48 27 91 81 */ bl __nwa__FUlPCcPCc /* 8009C69C 000995FC 28 03 00 00 */ cmplwi r3, 0 /* 8009C6A0 00099600 41 82 00 0C */ beq lbl_8009C6AC /* 8009C6A4 00099604 92 A3 00 00 */ stw r21, 0(r3) /* 8009C6A8 00099608 93 83 00 04 */ stw r28, 4(r3) lbl_8009C6AC: /* 8009C6AC 0009960C 34 A3 00 08 */ addic. r5, r3, 8 /* 8009C6B0 00099610 41 82 00 1C */ beq lbl_8009C6CC /* 8009C6B4 00099614 80 01 00 70 */ lwz r0, 0x70(r1) /* 8009C6B8 00099618 80 81 00 74 */ lwz r4, 0x74(r1) /* 8009C6BC 0009961C 90 05 00 00 */ stw r0, 0(r5) /* 8009C6C0 00099620 88 01 00 78 */ lbz r0, 0x78(r1) /* 8009C6C4 00099624 90 85 00 04 */ stw r4, 4(r5) /* 8009C6C8 00099628 98 05 00 08 */ stb r0, 8(r5) lbl_8009C6CC: /* 8009C6CC 0009962C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009C6D0 00099630 7C 1C 00 40 */ cmplw r28, r0 /* 8009C6D4 00099634 40 82 00 08 */ bne lbl_8009C6DC /* 8009C6D8 00099638 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009C6DC: /* 8009C6DC 0009963C 80 A3 00 00 */ lwz r5, 0(r3) /* 8009C6E0 00099640 38 C0 00 01 */ li r6, 1 /* 8009C6E4 00099644 38 00 00 00 */ li r0, 0 /* 8009C6E8 00099648 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009C6EC 0009964C 90 65 00 04 */ stw r3, 4(r5) /* 8009C6F0 00099650 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 8009C6F4 00099654 38 A0 00 00 */ li r5, 0 /* 8009C6F8 00099658 80 E3 00 04 */ lwz r7, 4(r3) /* 8009C6FC 0009965C 38 84 00 0F */ addi r4, r4, 0xf /* 8009C700 00099660 90 C1 00 64 */ stw r6, 0x64(r1) /* 8009C704 00099664 90 67 00 00 */ stw r3, 0(r7) /* 8009C708 00099668 38 60 00 14 */ li r3, 0x14 /* 8009C70C 0009966C 80 DF 01 F4 */ lwz r6, 0x1f4(r31) /* 8009C710 00099670 92 E1 00 68 */ stw r23, 0x68(r1) /* 8009C714 00099674 38 C6 00 01 */ addi r6, r6, 1 /* 8009C718 00099678 90 DF 01 F4 */ stw r6, 0x1f4(r31) /* 8009C71C 0009967C 82 BF 01 E8 */ lwz r21, 0x1e8(r31) /* 8009C720 00099680 98 01 00 6C */ stb r0, 0x6c(r1) /* 8009C724 00099684 83 95 00 00 */ lwz r28, 0(r21) /* 8009C728 00099688 48 27 90 F1 */ bl __nwa__FUlPCcPCc /* 8009C72C 0009968C 28 03 00 00 */ cmplwi r3, 0 /* 8009C730 00099690 41 82 00 0C */ beq lbl_8009C73C /* 8009C734 00099694 93 83 00 00 */ stw r28, 0(r3) /* 8009C738 00099698 92 A3 00 04 */ stw r21, 4(r3) lbl_8009C73C: /* 8009C73C 0009969C 34 A3 00 08 */ addic. r5, r3, 8 /* 8009C740 000996A0 41 82 00 1C */ beq lbl_8009C75C /* 8009C744 000996A4 80 01 00 64 */ lwz r0, 0x64(r1) /* 8009C748 000996A8 80 81 00 68 */ lwz r4, 0x68(r1) /* 8009C74C 000996AC 90 05 00 00 */ stw r0, 0(r5) /* 8009C750 000996B0 88 01 00 6C */ lbz r0, 0x6c(r1) /* 8009C754 000996B4 90 85 00 04 */ stw r4, 4(r5) /* 8009C758 000996B8 98 05 00 08 */ stb r0, 8(r5) lbl_8009C75C: /* 8009C75C 000996BC 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009C760 000996C0 7C 15 00 40 */ cmplw r21, r0 /* 8009C764 000996C4 40 82 00 08 */ bne lbl_8009C76C /* 8009C768 000996C8 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009C76C: /* 8009C76C 000996CC 80 A3 00 00 */ lwz r5, 0(r3) /* 8009C770 000996D0 38 C0 00 03 */ li r6, 3 /* 8009C774 000996D4 38 00 00 00 */ li r0, 0 /* 8009C778 000996D8 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009C77C 000996DC 90 65 00 04 */ stw r3, 4(r5) /* 8009C780 000996E0 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 8009C784 000996E4 38 84 00 0F */ addi r4, r4, 0xf /* 8009C788 000996E8 38 A0 00 00 */ li r5, 0 /* 8009C78C 000996EC 80 E3 00 04 */ lwz r7, 4(r3) /* 8009C790 000996F0 90 C1 00 58 */ stw r6, 0x58(r1) /* 8009C794 000996F4 90 67 00 00 */ stw r3, 0(r7) /* 8009C798 000996F8 38 60 00 14 */ li r3, 0x14 /* 8009C79C 000996FC 80 DF 01 F4 */ lwz r6, 0x1f4(r31) /* 8009C7A0 00099700 92 E1 00 5C */ stw r23, 0x5c(r1) /* 8009C7A4 00099704 38 C6 00 01 */ addi r6, r6, 1 /* 8009C7A8 00099708 90 DF 01 F4 */ stw r6, 0x1f4(r31) /* 8009C7AC 0009970C 82 BF 01 E8 */ lwz r21, 0x1e8(r31) /* 8009C7B0 00099710 98 01 00 60 */ stb r0, 0x60(r1) /* 8009C7B4 00099714 83 95 00 00 */ lwz r28, 0(r21) /* 8009C7B8 00099718 48 27 90 61 */ bl __nwa__FUlPCcPCc /* 8009C7BC 0009971C 28 03 00 00 */ cmplwi r3, 0 /* 8009C7C0 00099720 41 82 00 0C */ beq lbl_8009C7CC /* 8009C7C4 00099724 93 83 00 00 */ stw r28, 0(r3) /* 8009C7C8 00099728 92 A3 00 04 */ stw r21, 4(r3) lbl_8009C7CC: /* 8009C7CC 0009972C 34 A3 00 08 */ addic. r5, r3, 8 /* 8009C7D0 00099730 41 82 00 1C */ beq lbl_8009C7EC /* 8009C7D4 00099734 80 01 00 58 */ lwz r0, 0x58(r1) /* 8009C7D8 00099738 80 81 00 5C */ lwz r4, 0x5c(r1) /* 8009C7DC 0009973C 90 05 00 00 */ stw r0, 0(r5) /* 8009C7E0 00099740 88 01 00 60 */ lbz r0, 0x60(r1) /* 8009C7E4 00099744 90 85 00 04 */ stw r4, 4(r5) /* 8009C7E8 00099748 98 05 00 08 */ stb r0, 8(r5) lbl_8009C7EC: /* 8009C7EC 0009974C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009C7F0 00099750 7C 15 00 40 */ cmplw r21, r0 /* 8009C7F4 00099754 40 82 00 08 */ bne lbl_8009C7FC /* 8009C7F8 00099758 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009C7FC: /* 8009C7FC 0009975C 80 83 00 00 */ lwz r4, 0(r3) /* 8009C800 00099760 7E F5 BB 78 */ mr r21, r23 /* 8009C804 00099764 90 64 00 04 */ stw r3, 4(r4) /* 8009C808 00099768 80 83 00 04 */ lwz r4, 4(r3) /* 8009C80C 0009976C 90 64 00 00 */ stw r3, 0(r4) /* 8009C810 00099770 80 7F 01 F4 */ lwz r3, 0x1f4(r31) /* 8009C814 00099774 38 03 00 01 */ addi r0, r3, 1 /* 8009C818 00099778 90 1F 01 F4 */ stw r0, 0x1f4(r31) /* 8009C81C 0009977C 48 00 00 94 */ b lbl_8009C8B0 lbl_8009C820: /* 8009C820 00099780 83 9F 01 E8 */ lwz r28, 0x1e8(r31) /* 8009C824 00099784 38 00 00 00 */ li r0, 0 /* 8009C828 00099788 38 80 00 06 */ li r4, 6 /* 8009C82C 0009978C 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009C830 00099790 38 63 D8 0C */ addi r3, r3, lbl_803CD80C@l /* 8009C834 00099794 90 81 00 4C */ stw r4, 0x4c(r1) /* 8009C838 00099798 82 FC 00 00 */ lwz r23, 0(r28) /* 8009C83C 0009979C 38 83 00 0F */ addi r4, r3, 0xf /* 8009C840 000997A0 90 01 00 50 */ stw r0, 0x50(r1) /* 8009C844 000997A4 38 60 00 14 */ li r3, 0x14 /* 8009C848 000997A8 38 A0 00 00 */ li r5, 0 /* 8009C84C 000997AC 98 01 00 54 */ stb r0, 0x54(r1) /* 8009C850 000997B0 48 27 8F C9 */ bl __nwa__FUlPCcPCc /* 8009C854 000997B4 28 03 00 00 */ cmplwi r3, 0 /* 8009C858 000997B8 41 82 00 0C */ beq lbl_8009C864 /* 8009C85C 000997BC 92 E3 00 00 */ stw r23, 0(r3) /* 8009C860 000997C0 93 83 00 04 */ stw r28, 4(r3) lbl_8009C864: /* 8009C864 000997C4 34 A3 00 08 */ addic. r5, r3, 8 /* 8009C868 000997C8 41 82 00 1C */ beq lbl_8009C884 /* 8009C86C 000997CC 80 01 00 4C */ lwz r0, 0x4c(r1) /* 8009C870 000997D0 80 81 00 50 */ lwz r4, 0x50(r1) /* 8009C874 000997D4 90 05 00 00 */ stw r0, 0(r5) /* 8009C878 000997D8 88 01 00 54 */ lbz r0, 0x54(r1) /* 8009C87C 000997DC 90 85 00 04 */ stw r4, 4(r5) /* 8009C880 000997E0 98 05 00 08 */ stb r0, 8(r5) lbl_8009C884: /* 8009C884 000997E4 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009C888 000997E8 7C 1C 00 40 */ cmplw r28, r0 /* 8009C88C 000997EC 40 82 00 08 */ bne lbl_8009C894 /* 8009C890 000997F0 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009C894: /* 8009C894 000997F4 80 83 00 00 */ lwz r4, 0(r3) /* 8009C898 000997F8 90 64 00 04 */ stw r3, 4(r4) /* 8009C89C 000997FC 80 83 00 04 */ lwz r4, 4(r3) /* 8009C8A0 00099800 90 64 00 00 */ stw r3, 0(r4) /* 8009C8A4 00099804 80 7F 01 F4 */ lwz r3, 0x1f4(r31) /* 8009C8A8 00099808 38 03 00 01 */ addi r0, r3, 1 /* 8009C8AC 0009980C 90 1F 01 F4 */ stw r0, 0x1f4(r31) lbl_8009C8B0: /* 8009C8B0 00099810 80 19 00 08 */ lwz r0, 8(r25) /* 8009C8B4 00099814 38 C0 00 00 */ li r6, 0 /* 8009C8B8 00099818 83 9F 01 E8 */ lwz r28, 0x1e8(r31) /* 8009C8BC 0009981C 38 9E 00 0F */ addi r4, r30, 0xf /* 8009C8C0 00099820 90 C1 00 40 */ stw r6, 0x40(r1) /* 8009C8C4 00099824 38 60 00 14 */ li r3, 0x14 /* 8009C8C8 00099828 82 FC 00 00 */ lwz r23, 0(r28) /* 8009C8CC 0009982C 38 A0 00 00 */ li r5, 0 /* 8009C8D0 00099830 90 01 00 44 */ stw r0, 0x44(r1) /* 8009C8D4 00099834 98 C1 00 48 */ stb r6, 0x48(r1) /* 8009C8D8 00099838 48 27 8F 41 */ bl __nwa__FUlPCcPCc /* 8009C8DC 0009983C 28 03 00 00 */ cmplwi r3, 0 /* 8009C8E0 00099840 41 82 00 0C */ beq lbl_8009C8EC /* 8009C8E4 00099844 92 E3 00 00 */ stw r23, 0(r3) /* 8009C8E8 00099848 93 83 00 04 */ stw r28, 4(r3) lbl_8009C8EC: /* 8009C8EC 0009984C 34 A3 00 08 */ addic. r5, r3, 8 /* 8009C8F0 00099850 41 82 00 1C */ beq lbl_8009C90C /* 8009C8F4 00099854 80 01 00 40 */ lwz r0, 0x40(r1) /* 8009C8F8 00099858 80 81 00 44 */ lwz r4, 0x44(r1) /* 8009C8FC 0009985C 90 05 00 00 */ stw r0, 0(r5) /* 8009C900 00099860 88 01 00 48 */ lbz r0, 0x48(r1) /* 8009C904 00099864 90 85 00 04 */ stw r4, 4(r5) /* 8009C908 00099868 98 05 00 08 */ stb r0, 8(r5) lbl_8009C90C: /* 8009C90C 0009986C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009C910 00099870 7C 1C 00 40 */ cmplw r28, r0 /* 8009C914 00099874 40 82 00 08 */ bne lbl_8009C91C /* 8009C918 00099878 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009C91C: /* 8009C91C 0009987C 80 E3 00 00 */ lwz r7, 0(r3) /* 8009C920 00099880 38 00 00 00 */ li r0, 0 /* 8009C924 00099884 38 C0 00 05 */ li r6, 5 /* 8009C928 00099888 90 01 00 38 */ stw r0, 0x38(r1) /* 8009C92C 0009988C 38 9E 00 0F */ addi r4, r30, 0xf /* 8009C930 00099890 38 A0 00 00 */ li r5, 0 /* 8009C934 00099894 90 67 00 04 */ stw r3, 4(r7) /* 8009C938 00099898 80 E3 00 04 */ lwz r7, 4(r3) /* 8009C93C 0009989C 90 C1 00 34 */ stw r6, 0x34(r1) /* 8009C940 000998A0 90 67 00 00 */ stw r3, 0(r7) /* 8009C944 000998A4 38 60 00 14 */ li r3, 0x14 /* 8009C948 000998A8 80 DF 01 F4 */ lwz r6, 0x1f4(r31) /* 8009C94C 000998AC 98 01 00 3C */ stb r0, 0x3c(r1) /* 8009C950 000998B0 38 06 00 01 */ addi r0, r6, 1 /* 8009C954 000998B4 90 1F 01 F4 */ stw r0, 0x1f4(r31) /* 8009C958 000998B8 82 FF 01 E8 */ lwz r23, 0x1e8(r31) /* 8009C95C 000998BC 83 97 00 00 */ lwz r28, 0(r23) /* 8009C960 000998C0 48 27 8E B9 */ bl __nwa__FUlPCcPCc /* 8009C964 000998C4 28 03 00 00 */ cmplwi r3, 0 /* 8009C968 000998C8 41 82 00 0C */ beq lbl_8009C974 /* 8009C96C 000998CC 93 83 00 00 */ stw r28, 0(r3) /* 8009C970 000998D0 92 E3 00 04 */ stw r23, 4(r3) lbl_8009C974: /* 8009C974 000998D4 34 A3 00 08 */ addic. r5, r3, 8 /* 8009C978 000998D8 41 82 00 1C */ beq lbl_8009C994 /* 8009C97C 000998DC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8009C980 000998E0 80 81 00 38 */ lwz r4, 0x38(r1) /* 8009C984 000998E4 90 05 00 00 */ stw r0, 0(r5) /* 8009C988 000998E8 88 01 00 3C */ lbz r0, 0x3c(r1) /* 8009C98C 000998EC 90 85 00 04 */ stw r4, 4(r5) /* 8009C990 000998F0 98 05 00 08 */ stb r0, 8(r5) lbl_8009C994: /* 8009C994 000998F4 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009C998 000998F8 7C 17 00 40 */ cmplw r23, r0 /* 8009C99C 000998FC 40 82 00 08 */ bne lbl_8009C9A4 /* 8009C9A0 00099900 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009C9A4: /* 8009C9A4 00099904 80 C3 00 00 */ lwz r6, 0(r3) /* 8009C9A8 00099908 38 80 00 04 */ li r4, 4 /* 8009C9AC 0009990C 38 00 00 00 */ li r0, 0 /* 8009C9B0 00099910 90 81 00 28 */ stw r4, 0x28(r1) /* 8009C9B4 00099914 38 9E 00 0F */ addi r4, r30, 0xf /* 8009C9B8 00099918 38 A0 00 00 */ li r5, 0 /* 8009C9BC 0009991C 90 66 00 04 */ stw r3, 4(r6) /* 8009C9C0 00099920 80 C3 00 04 */ lwz r6, 4(r3) /* 8009C9C4 00099924 93 A1 00 2C */ stw r29, 0x2c(r1) /* 8009C9C8 00099928 90 66 00 00 */ stw r3, 0(r6) /* 8009C9CC 0009992C 38 60 00 14 */ li r3, 0x14 /* 8009C9D0 00099930 80 DF 01 F4 */ lwz r6, 0x1f4(r31) /* 8009C9D4 00099934 98 01 00 30 */ stb r0, 0x30(r1) /* 8009C9D8 00099938 38 06 00 01 */ addi r0, r6, 1 /* 8009C9DC 0009993C 90 1F 01 F4 */ stw r0, 0x1f4(r31) /* 8009C9E0 00099940 82 FF 01 E8 */ lwz r23, 0x1e8(r31) /* 8009C9E4 00099944 83 97 00 00 */ lwz r28, 0(r23) /* 8009C9E8 00099948 48 27 8E 31 */ bl __nwa__FUlPCcPCc /* 8009C9EC 0009994C 28 03 00 00 */ cmplwi r3, 0 /* 8009C9F0 00099950 41 82 00 0C */ beq lbl_8009C9FC /* 8009C9F4 00099954 93 83 00 00 */ stw r28, 0(r3) /* 8009C9F8 00099958 92 E3 00 04 */ stw r23, 4(r3) lbl_8009C9FC: /* 8009C9FC 0009995C 34 A3 00 08 */ addic. r5, r3, 8 /* 8009CA00 00099960 41 82 00 1C */ beq lbl_8009CA1C /* 8009CA04 00099964 80 01 00 28 */ lwz r0, 0x28(r1) /* 8009CA08 00099968 80 81 00 2C */ lwz r4, 0x2c(r1) /* 8009CA0C 0009996C 90 05 00 00 */ stw r0, 0(r5) /* 8009CA10 00099970 88 01 00 30 */ lbz r0, 0x30(r1) /* 8009CA14 00099974 90 85 00 04 */ stw r4, 4(r5) /* 8009CA18 00099978 98 05 00 08 */ stb r0, 8(r5) lbl_8009CA1C: /* 8009CA1C 0009997C 80 1F 01 E4 */ lwz r0, 0x1e4(r31) /* 8009CA20 00099980 7C 17 00 40 */ cmplw r23, r0 /* 8009CA24 00099984 40 82 00 08 */ bne lbl_8009CA2C /* 8009CA28 00099988 90 7F 01 E4 */ stw r3, 0x1e4(r31) lbl_8009CA2C: /* 8009CA2C 0009998C 80 A3 00 00 */ lwz r5, 0(r3) /* 8009CA30 00099990 38 80 00 00 */ li r4, 0 /* 8009CA34 00099994 C0 22 8B A8 */ lfs f1, lbl_805AA8C8@sda21(r2) /* 8009CA38 00099998 90 65 00 04 */ stw r3, 4(r5) /* 8009CA3C 0009999C 80 A3 00 04 */ lwz r5, 4(r3) /* 8009CA40 000999A0 90 65 00 00 */ stw r3, 0(r5) /* 8009CA44 000999A4 38 61 00 18 */ addi r3, r1, 0x18 /* 8009CA48 000999A8 80 BF 01 F4 */ lwz r5, 0x1f4(r31) /* 8009CA4C 000999AC 38 05 00 01 */ addi r0, r5, 1 /* 8009CA50 000999B0 90 1F 01 F4 */ stw r0, 0x1f4(r31) /* 8009CA54 000999B4 80 B9 00 00 */ lwz r5, 0(r25) /* 8009CA58 000999B8 80 D9 00 08 */ lwz r6, 8(r25) /* 8009CA5C 000999BC 48 00 11 AD */ bl __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId /* 8009CA60 000999C0 82 FF 02 00 */ lwz r23, 0x200(r31) /* 8009CA64 000999C4 38 9E 00 0F */ addi r4, r30, 0xf /* 8009CA68 000999C8 38 60 00 18 */ li r3, 0x18 /* 8009CA6C 000999CC 38 A0 00 00 */ li r5, 0 /* 8009CA70 000999D0 83 37 00 00 */ lwz r25, 0(r23) /* 8009CA74 000999D4 48 27 8D A5 */ bl __nwa__FUlPCcPCc /* 8009CA78 000999D8 28 03 00 00 */ cmplwi r3, 0 /* 8009CA7C 000999DC 41 82 00 0C */ beq lbl_8009CA88 /* 8009CA80 000999E0 93 23 00 00 */ stw r25, 0(r3) /* 8009CA84 000999E4 92 E3 00 04 */ stw r23, 4(r3) lbl_8009CA88: /* 8009CA88 000999E8 34 83 00 08 */ addic. r4, r3, 8 /* 8009CA8C 000999EC 41 82 00 24 */ beq lbl_8009CAB0 /* 8009CA90 000999F0 80 01 00 18 */ lwz r0, 0x18(r1) /* 8009CA94 000999F4 90 04 00 00 */ stw r0, 0(r4) /* 8009CA98 000999F8 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8009CA9C 000999FC D0 04 00 04 */ stfs f0, 4(r4) /* 8009CAA0 00099A00 80 01 00 20 */ lwz r0, 0x20(r1) /* 8009CAA4 00099A04 90 04 00 08 */ stw r0, 8(r4) /* 8009CAA8 00099A08 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009CAAC 00099A0C 90 04 00 0C */ stw r0, 0xc(r4) lbl_8009CAB0: /* 8009CAB0 00099A10 80 1F 01 FC */ lwz r0, 0x1fc(r31) /* 8009CAB4 00099A14 7C 17 00 40 */ cmplw r23, r0 /* 8009CAB8 00099A18 40 82 00 08 */ bne lbl_8009CAC0 /* 8009CABC 00099A1C 90 7F 01 FC */ stw r3, 0x1fc(r31) lbl_8009CAC0: /* 8009CAC0 00099A20 80 83 00 00 */ lwz r4, 0(r3) /* 8009CAC4 00099A24 3B 18 00 10 */ addi r24, r24, 0x10 /* 8009CAC8 00099A28 3A 94 00 01 */ addi r20, r20, 1 /* 8009CACC 00099A2C 90 64 00 04 */ stw r3, 4(r4) /* 8009CAD0 00099A30 80 83 00 04 */ lwz r4, 4(r3) /* 8009CAD4 00099A34 90 64 00 00 */ stw r3, 0(r4) /* 8009CAD8 00099A38 80 7F 02 0C */ lwz r3, 0x20c(r31) /* 8009CADC 00099A3C 38 03 00 01 */ addi r0, r3, 1 /* 8009CAE0 00099A40 90 1F 02 0C */ stw r0, 0x20c(r31) lbl_8009CAE4: /* 8009CAE4 00099A44 80 1A 00 24 */ lwz r0, 0x24(r26) /* 8009CAE8 00099A48 7C 14 00 00 */ cmpw r20, r0 /* 8009CAEC 00099A4C 41 80 FB 68 */ blt lbl_8009C654 lbl_8009CAF0: /* 8009CAF0 00099A50 3B 40 00 00 */ li r26, 0 /* 8009CAF4 00099A54 56 DD 06 3E */ clrlwi r29, r22, 0x18 /* 8009CAF8 00099A58 7F 5C D3 78 */ mr r28, r26 /* 8009CAFC 00099A5C 3A 80 00 00 */ li r20, 0 /* 8009CB00 00099A60 48 00 01 0C */ b lbl_8009CC0C lbl_8009CB04: /* 8009CB04 00099A64 28 1D 00 00 */ cmplwi r29, 0 /* 8009CB08 00099A68 41 82 00 14 */ beq lbl_8009CB1C /* 8009CB0C 00099A6C 7F 63 DB 78 */ mr r3, r27 /* 8009CB10 00099A70 48 1C AB ED */ bl GetNextHintIdx__12CHintOptionsFv /* 8009CB14 00099A74 7C 14 18 00 */ cmpw r20, r3 /* 8009CB18 00099A78 41 82 00 E8 */ beq lbl_8009CC00 lbl_8009CB1C: /* 8009CB1C 00099A7C 80 7B 00 0C */ lwz r3, 0xc(r27) /* 8009CB20 00099A80 7C 03 D0 2E */ lwzx r0, r3, r26 /* 8009CB24 00099A84 2C 00 00 02 */ cmpwi r0, 2 /* 8009CB28 00099A88 40 82 00 D8 */ bne lbl_8009CC00 /* 8009CB2C 00099A8C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) /* 8009CB30 00099A90 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009CB34 00099A94 3B C3 D8 0C */ addi r30, r3, lbl_803CD80C@l /* 8009CB38 00099A98 3A A0 00 00 */ li r21, 0 /* 8009CB3C 00099A9C 80 64 00 08 */ lwz r3, 8(r4) /* 8009CB40 00099AA0 3B 00 00 00 */ li r24, 0 /* 8009CB44 00099AA4 80 03 00 0C */ lwz r0, 0xc(r3) /* 8009CB48 00099AA8 7F 20 E2 14 */ add r25, r0, r28 /* 8009CB4C 00099AAC 48 00 00 A8 */ b lbl_8009CBF4 lbl_8009CB50: /* 8009CB50 00099AB0 80 19 00 2C */ lwz r0, 0x2c(r25) /* 8009CB54 00099AB4 38 61 00 08 */ addi r3, r1, 8 /* 8009CB58 00099AB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009CB5C 00099ABC 38 80 00 01 */ li r4, 1 /* 8009CB60 00099AC0 7C C0 C2 14 */ add r6, r0, r24 /* 8009CB64 00099AC4 80 A6 00 00 */ lwz r5, 0(r6) /* 8009CB68 00099AC8 80 C6 00 08 */ lwz r6, 8(r6) /* 8009CB6C 00099ACC 48 00 10 9D */ bl __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId /* 8009CB70 00099AD0 82 DF 02 00 */ lwz r22, 0x200(r31) /* 8009CB74 00099AD4 38 9E 00 0F */ addi r4, r30, 0xf /* 8009CB78 00099AD8 38 60 00 18 */ li r3, 0x18 /* 8009CB7C 00099ADC 38 A0 00 00 */ li r5, 0 /* 8009CB80 00099AE0 82 F6 00 00 */ lwz r23, 0(r22) /* 8009CB84 00099AE4 48 27 8C 95 */ bl __nwa__FUlPCcPCc /* 8009CB88 00099AE8 28 03 00 00 */ cmplwi r3, 0 /* 8009CB8C 00099AEC 41 82 00 0C */ beq lbl_8009CB98 /* 8009CB90 00099AF0 92 E3 00 00 */ stw r23, 0(r3) /* 8009CB94 00099AF4 92 C3 00 04 */ stw r22, 4(r3) lbl_8009CB98: /* 8009CB98 00099AF8 34 83 00 08 */ addic. r4, r3, 8 /* 8009CB9C 00099AFC 41 82 00 24 */ beq lbl_8009CBC0 /* 8009CBA0 00099B00 80 01 00 08 */ lwz r0, 8(r1) /* 8009CBA4 00099B04 90 04 00 00 */ stw r0, 0(r4) /* 8009CBA8 00099B08 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8009CBAC 00099B0C D0 04 00 04 */ stfs f0, 4(r4) /* 8009CBB0 00099B10 80 01 00 10 */ lwz r0, 0x10(r1) /* 8009CBB4 00099B14 90 04 00 08 */ stw r0, 8(r4) /* 8009CBB8 00099B18 80 01 00 14 */ lwz r0, 0x14(r1) /* 8009CBBC 00099B1C 90 04 00 0C */ stw r0, 0xc(r4) lbl_8009CBC0: /* 8009CBC0 00099B20 80 1F 01 FC */ lwz r0, 0x1fc(r31) /* 8009CBC4 00099B24 7C 16 00 40 */ cmplw r22, r0 /* 8009CBC8 00099B28 40 82 00 08 */ bne lbl_8009CBD0 /* 8009CBCC 00099B2C 90 7F 01 FC */ stw r3, 0x1fc(r31) lbl_8009CBD0: /* 8009CBD0 00099B30 80 83 00 00 */ lwz r4, 0(r3) /* 8009CBD4 00099B34 3B 18 00 10 */ addi r24, r24, 0x10 /* 8009CBD8 00099B38 3A B5 00 01 */ addi r21, r21, 1 /* 8009CBDC 00099B3C 90 64 00 04 */ stw r3, 4(r4) /* 8009CBE0 00099B40 80 83 00 04 */ lwz r4, 4(r3) /* 8009CBE4 00099B44 90 64 00 00 */ stw r3, 0(r4) /* 8009CBE8 00099B48 80 7F 02 0C */ lwz r3, 0x20c(r31) /* 8009CBEC 00099B4C 38 03 00 01 */ addi r0, r3, 1 /* 8009CBF0 00099B50 90 1F 02 0C */ stw r0, 0x20c(r31) lbl_8009CBF4: /* 8009CBF4 00099B54 80 19 00 24 */ lwz r0, 0x24(r25) /* 8009CBF8 00099B58 7C 15 00 00 */ cmpw r21, r0 /* 8009CBFC 00099B5C 41 80 FF 54 */ blt lbl_8009CB50 lbl_8009CC00: /* 8009CC00 00099B60 3B 5A 00 0C */ addi r26, r26, 0xc /* 8009CC04 00099B64 3B 9C 00 30 */ addi r28, r28, 0x30 /* 8009CC08 00099B68 3A 94 00 01 */ addi r20, r20, 1 lbl_8009CC0C: /* 8009CC0C 00099B6C 80 1B 00 04 */ lwz r0, 4(r27) /* 8009CC10 00099B70 7C 14 00 00 */ cmpw r20, r0 /* 8009CC14 00099B74 41 80 FE F0 */ blt lbl_8009CB04 lbl_8009CC18: /* 8009CC18 00099B78 BA 81 00 90 */ lmw r20, 0x90(r1) /* 8009CC1C 00099B7C 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8009CC20 00099B80 7C 08 03 A6 */ mtlr r0 /* 8009CC24 00099B84 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8009CC28 00099B88 4E 80 00 20 */ blr .global CheckLoadComplete__11CAutoMapperFv CheckLoadComplete__11CAutoMapperFv: /* 8009CC2C 00099B8C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8009CC30 00099B90 7C 08 02 A6 */ mflr r0 /* 8009CC34 00099B94 90 01 00 34 */ stw r0, 0x34(r1) /* 8009CC38 00099B98 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8009CC3C 00099B9C 7C 7F 1B 78 */ mr r31, r3 /* 8009CC40 00099BA0 93 C1 00 28 */ stw r30, 0x28(r1) /* 8009CC44 00099BA4 80 03 00 04 */ lwz r0, 4(r3) /* 8009CC48 00099BA8 2C 00 00 01 */ cmpwi r0, 1 /* 8009CC4C 00099BAC 41 82 01 18 */ beq lbl_8009CD64 /* 8009CC50 00099BB0 40 80 00 10 */ bge lbl_8009CC60 /* 8009CC54 00099BB4 2C 00 00 00 */ cmpwi r0, 0 /* 8009CC58 00099BB8 40 80 00 14 */ bge lbl_8009CC6C /* 8009CC5C 00099BBC 48 00 02 58 */ b lbl_8009CEB4 lbl_8009CC60: /* 8009CC60 00099BC0 2C 00 00 03 */ cmpwi r0, 3 /* 8009CC64 00099BC4 40 80 02 50 */ bge lbl_8009CEB4 /* 8009CC68 00099BC8 48 00 02 44 */ b lbl_8009CEAC lbl_8009CC6C: /* 8009CC6C 00099BCC 80 1F 00 48 */ lwz r0, 0x48(r31) /* 8009CC70 00099BD0 38 7F 00 4C */ addi r3, r31, 0x4c /* 8009CC74 00099BD4 7C 65 1B 78 */ mr r5, r3 /* 8009CC78 00099BD8 54 00 18 38 */ slwi r0, r0, 3 /* 8009CC7C 00099BDC 7C 83 02 14 */ add r4, r3, r0 /* 8009CC80 00099BE0 48 00 00 20 */ b lbl_8009CCA0 lbl_8009CC84: /* 8009CC84 00099BE4 80 65 00 00 */ lwz r3, 0(r5) /* 8009CC88 00099BE8 80 03 00 10 */ lwz r0, 0x10(r3) /* 8009CC8C 00099BEC 28 00 00 00 */ cmplwi r0, 0 /* 8009CC90 00099BF0 40 82 00 0C */ bne lbl_8009CC9C /* 8009CC94 00099BF4 38 60 00 00 */ li r3, 0 /* 8009CC98 00099BF8 48 00 02 20 */ b lbl_8009CEB8 lbl_8009CC9C: /* 8009CC9C 00099BFC 38 A5 00 08 */ addi r5, r5, 8 lbl_8009CCA0: /* 8009CCA0 00099C00 7C 05 20 40 */ cmplw r5, r4 /* 8009CCA4 00099C04 40 82 FF E0 */ bne lbl_8009CC84 /* 8009CCA8 00099C08 80 1F 00 38 */ lwz r0, 0x38(r31) /* 8009CCAC 00099C0C 28 00 00 00 */ cmplwi r0, 0 /* 8009CCB0 00099C10 41 82 00 0C */ beq lbl_8009CCBC /* 8009CCB4 00099C14 38 60 00 01 */ li r3, 1 /* 8009CCB8 00099C18 48 00 00 3C */ b lbl_8009CCF4 lbl_8009CCBC: /* 8009CCBC 00099C1C 88 1F 00 34 */ lbz r0, 0x34(r31) /* 8009CCC0 00099C20 28 00 00 00 */ cmplwi r0, 0 /* 8009CCC4 00099C24 41 82 00 2C */ beq lbl_8009CCF0 /* 8009CCC8 00099C28 80 7F 00 30 */ lwz r3, 0x30(r31) /* 8009CCCC 00099C2C 80 03 00 10 */ lwz r0, 0x10(r3) /* 8009CCD0 00099C30 28 00 00 00 */ cmplwi r0, 0 /* 8009CCD4 00099C34 41 82 00 1C */ beq lbl_8009CCF0 /* 8009CCD8 00099C38 38 7F 00 30 */ addi r3, r31, 0x30 /* 8009CCDC 00099C3C 48 2A 41 31 */ bl GetObj__6CTokenFv /* 8009CCE0 00099C40 80 03 00 04 */ lwz r0, 4(r3) /* 8009CCE4 00099C44 38 60 00 01 */ li r3, 1 /* 8009CCE8 00099C48 90 1F 00 38 */ stw r0, 0x38(r31) /* 8009CCEC 00099C4C 48 00 00 08 */ b lbl_8009CCF4 lbl_8009CCF0: /* 8009CCF0 00099C50 38 60 00 00 */ li r3, 0 lbl_8009CCF4: /* 8009CCF4 00099C54 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009CCF8 00099C58 41 82 00 64 */ beq lbl_8009CD5C /* 8009CCFC 00099C5C 80 1F 00 44 */ lwz r0, 0x44(r31) /* 8009CD00 00099C60 28 00 00 00 */ cmplwi r0, 0 /* 8009CD04 00099C64 41 82 00 0C */ beq lbl_8009CD10 /* 8009CD08 00099C68 38 60 00 01 */ li r3, 1 /* 8009CD0C 00099C6C 48 00 00 3C */ b lbl_8009CD48 lbl_8009CD10: /* 8009CD10 00099C70 88 1F 00 40 */ lbz r0, 0x40(r31) /* 8009CD14 00099C74 28 00 00 00 */ cmplwi r0, 0 /* 8009CD18 00099C78 41 82 00 2C */ beq lbl_8009CD44 /* 8009CD1C 00099C7C 80 7F 00 3C */ lwz r3, 0x3c(r31) /* 8009CD20 00099C80 80 03 00 10 */ lwz r0, 0x10(r3) /* 8009CD24 00099C84 28 00 00 00 */ cmplwi r0, 0 /* 8009CD28 00099C88 41 82 00 1C */ beq lbl_8009CD44 /* 8009CD2C 00099C8C 38 7F 00 3C */ addi r3, r31, 0x3c /* 8009CD30 00099C90 48 2A 40 DD */ bl GetObj__6CTokenFv /* 8009CD34 00099C94 80 03 00 04 */ lwz r0, 4(r3) /* 8009CD38 00099C98 38 60 00 01 */ li r3, 1 /* 8009CD3C 00099C9C 90 1F 00 44 */ stw r0, 0x44(r31) /* 8009CD40 00099CA0 48 00 00 08 */ b lbl_8009CD48 lbl_8009CD44: /* 8009CD44 00099CA4 38 60 00 00 */ li r3, 0 lbl_8009CD48: /* 8009CD48 00099CA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009CD4C 00099CAC 41 82 00 10 */ beq lbl_8009CD5C /* 8009CD50 00099CB0 38 00 00 01 */ li r0, 1 /* 8009CD54 00099CB4 90 1F 00 04 */ stw r0, 4(r31) /* 8009CD58 00099CB8 48 00 00 0C */ b lbl_8009CD64 lbl_8009CD5C: /* 8009CD5C 00099CBC 38 60 00 00 */ li r3, 0 /* 8009CD60 00099CC0 48 00 01 58 */ b lbl_8009CEB8 lbl_8009CD64: /* 8009CD64 00099CC4 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8009CD68 00099CC8 28 00 00 00 */ cmplwi r0, 0 /* 8009CD6C 00099CCC 41 82 00 0C */ beq lbl_8009CD78 /* 8009CD70 00099CD0 38 60 00 01 */ li r3, 1 /* 8009CD74 00099CD4 48 00 00 3C */ b lbl_8009CDB0 lbl_8009CD78: /* 8009CD78 00099CD8 88 1F 00 0C */ lbz r0, 0xc(r31) /* 8009CD7C 00099CDC 28 00 00 00 */ cmplwi r0, 0 /* 8009CD80 00099CE0 41 82 00 2C */ beq lbl_8009CDAC /* 8009CD84 00099CE4 80 7F 00 08 */ lwz r3, 8(r31) /* 8009CD88 00099CE8 80 03 00 10 */ lwz r0, 0x10(r3) /* 8009CD8C 00099CEC 28 00 00 00 */ cmplwi r0, 0 /* 8009CD90 00099CF0 41 82 00 1C */ beq lbl_8009CDAC /* 8009CD94 00099CF4 38 7F 00 08 */ addi r3, r31, 8 /* 8009CD98 00099CF8 48 2A 40 75 */ bl GetObj__6CTokenFv /* 8009CD9C 00099CFC 80 03 00 04 */ lwz r0, 4(r3) /* 8009CDA0 00099D00 38 60 00 01 */ li r3, 1 /* 8009CDA4 00099D04 90 1F 00 10 */ stw r0, 0x10(r31) /* 8009CDA8 00099D08 48 00 00 08 */ b lbl_8009CDB0 lbl_8009CDAC: /* 8009CDAC 00099D0C 38 60 00 00 */ li r3, 0 lbl_8009CDB0: /* 8009CDB0 00099D10 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8009CDB4 00099D14 41 82 00 F0 */ beq lbl_8009CEA4 /* 8009CDB8 00099D18 80 7F 00 10 */ lwz r3, 0x10(r31) /* 8009CDBC 00099D1C 38 00 00 00 */ li r0, 0 /* 8009CDC0 00099D20 98 01 00 08 */ stb r0, 8(r1) /* 8009CDC4 00099D24 83 C3 00 14 */ lwz r30, 0x14(r3) /* 8009CDC8 00099D28 90 01 00 0C */ stw r0, 0xc(r1) /* 8009CDCC 00099D2C 57 C3 18 39 */ rlwinm. r3, r30, 3, 0, 0x1c /* 8009CDD0 00099D30 93 C1 00 14 */ stw r30, 0x14(r1) /* 8009CDD4 00099D34 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009CDD8 00099D38 40 82 00 0C */ bne lbl_8009CDE4 /* 8009CDDC 00099D3C 90 01 00 1C */ stw r0, 0x1c(r1) /* 8009CDE0 00099D40 48 00 00 1C */ b lbl_8009CDFC lbl_8009CDE4: /* 8009CDE4 00099D44 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009CDE8 00099D48 38 A0 00 00 */ li r5, 0 /* 8009CDEC 00099D4C 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 8009CDF0 00099D50 38 84 00 0F */ addi r4, r4, 0xf /* 8009CDF4 00099D54 48 27 8A 25 */ bl __nwa__FUlPCcPCc /* 8009CDF8 00099D58 90 61 00 1C */ stw r3, 0x1c(r1) lbl_8009CDFC: /* 8009CDFC 00099D5C 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8009CE00 00099D60 38 80 00 00 */ li r4, 0 /* 8009CE04 00099D64 80 01 00 0C */ lwz r0, 0xc(r1) /* 8009CE08 00099D68 7F C9 03 A6 */ mtctr r30 /* 8009CE0C 00099D6C 2C 1E 00 00 */ cmpwi r30, 0 /* 8009CE10 00099D70 40 81 00 24 */ ble lbl_8009CE34 lbl_8009CE14: /* 8009CE14 00099D74 28 05 00 00 */ cmplwi r5, 0 /* 8009CE18 00099D78 41 82 00 14 */ beq lbl_8009CE2C /* 8009CE1C 00099D7C 88 61 00 08 */ lbz r3, 8(r1) /* 8009CE20 00099D80 98 65 00 00 */ stb r3, 0(r5) /* 8009CE24 00099D84 90 05 00 04 */ stw r0, 4(r5) /* 8009CE28 00099D88 98 81 00 08 */ stb r4, 8(r1) lbl_8009CE2C: /* 8009CE2C 00099D8C 38 A5 00 08 */ addi r5, r5, 8 /* 8009CE30 00099D90 42 00 FF E4 */ bdnz lbl_8009CE14 lbl_8009CE34: /* 8009CE34 00099D94 38 7F 00 14 */ addi r3, r31, 0x14 /* 8009CE38 00099D98 38 81 00 10 */ addi r4, r1, 0x10 /* 8009CE3C 00099D9C 48 00 00 95 */ bl sub_8009ced0 /* 8009CE40 00099DA0 38 61 00 10 */ addi r3, r1, 0x10 /* 8009CE44 00099DA4 38 80 FF FF */ li r4, -1 /* 8009CE48 00099DA8 48 00 01 D1 */ bl sub_8009d018 /* 8009CE4C 00099DAC 88 01 00 08 */ lbz r0, 8(r1) /* 8009CE50 00099DB0 28 00 00 00 */ cmplwi r0, 0 /* 8009CE54 00099DB4 41 82 00 24 */ beq lbl_8009CE78 /* 8009CE58 00099DB8 80 61 00 0C */ lwz r3, 0xc(r1) /* 8009CE5C 00099DBC 28 03 00 00 */ cmplwi r3, 0 /* 8009CE60 00099DC0 41 82 00 18 */ beq lbl_8009CE78 /* 8009CE64 00099DC4 81 83 00 00 */ lwz r12, 0(r3) /* 8009CE68 00099DC8 38 80 00 01 */ li r4, 1 /* 8009CE6C 00099DCC 81 8C 00 08 */ lwz r12, 8(r12) /* 8009CE70 00099DD0 7D 89 03 A6 */ mtctr r12 /* 8009CE74 00099DD4 4E 80 04 21 */ bctrl lbl_8009CE78: /* 8009CE78 00099DD8 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8009CE7C 00099DDC 81 83 00 00 */ lwz r12, 0(r3) /* 8009CE80 00099DE0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009CE84 00099DE4 7D 89 03 A6 */ mtctr r12 /* 8009CE88 00099DE8 4E 80 04 21 */ bctrl /* 8009CE8C 00099DEC 7C 64 1B 78 */ mr r4, r3 /* 8009CE90 00099DF0 7F E3 FB 78 */ mr r3, r31 /* 8009CE94 00099DF4 4B FF 8A A9 */ bl SetCurWorldAssetId__11CAutoMapperFi /* 8009CE98 00099DF8 38 00 00 02 */ li r0, 2 /* 8009CE9C 00099DFC 90 1F 00 04 */ stw r0, 4(r31) /* 8009CEA0 00099E00 48 00 00 0C */ b lbl_8009CEAC lbl_8009CEA4: /* 8009CEA4 00099E04 38 60 00 00 */ li r3, 0 /* 8009CEA8 00099E08 48 00 00 10 */ b lbl_8009CEB8 lbl_8009CEAC: /* 8009CEAC 00099E0C 38 60 00 01 */ li r3, 1 /* 8009CEB0 00099E10 48 00 00 08 */ b lbl_8009CEB8 lbl_8009CEB4: /* 8009CEB4 00099E14 38 60 00 00 */ li r3, 0 lbl_8009CEB8: /* 8009CEB8 00099E18 80 01 00 34 */ lwz r0, 0x34(r1) /* 8009CEBC 00099E1C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8009CEC0 00099E20 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8009CEC4 00099E24 7C 08 03 A6 */ mtlr r0 /* 8009CEC8 00099E28 38 21 00 30 */ addi r1, r1, 0x30 /* 8009CECC 00099E2C 4E 80 00 20 */ blr .global sub_8009ced0 sub_8009ced0: /* 8009CED0 00099E30 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8009CED4 00099E34 7C 08 02 A6 */ mflr r0 /* 8009CED8 00099E38 90 01 00 34 */ stw r0, 0x34(r1) /* 8009CEDC 00099E3C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8009CEE0 00099E40 7C 9F 23 78 */ mr r31, r4 /* 8009CEE4 00099E44 93 C1 00 28 */ stw r30, 0x28(r1) /* 8009CEE8 00099E48 7C 7E 1B 78 */ mr r30, r3 /* 8009CEEC 00099E4C 7C 1E F8 40 */ cmplw r30, r31 /* 8009CEF0 00099E50 93 A1 00 24 */ stw r29, 0x24(r1) /* 8009CEF4 00099E54 93 81 00 20 */ stw r28, 0x20(r1) /* 8009CEF8 00099E58 40 82 00 08 */ bne lbl_8009CF00 /* 8009CEFC 00099E5C 48 00 00 FC */ b lbl_8009CFF8 lbl_8009CF00: /* 8009CF00 00099E60 80 1E 00 04 */ lwz r0, 4(r30) /* 8009CF04 00099E64 83 9E 00 0C */ lwz r28, 0xc(r30) /* 8009CF08 00099E68 54 00 18 38 */ slwi r0, r0, 3 /* 8009CF0C 00099E6C 7F BC 02 14 */ add r29, r28, r0 /* 8009CF10 00099E70 93 81 00 0C */ stw r28, 0xc(r1) /* 8009CF14 00099E74 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009CF18 00099E78 93 A1 00 10 */ stw r29, 0x10(r1) /* 8009CF1C 00099E7C 93 81 00 08 */ stw r28, 8(r1) /* 8009CF20 00099E80 48 00 00 3C */ b lbl_8009CF5C lbl_8009CF24: /* 8009CF24 00099E84 28 1C 00 00 */ cmplwi r28, 0 /* 8009CF28 00099E88 41 82 00 30 */ beq lbl_8009CF58 /* 8009CF2C 00099E8C 88 1C 00 00 */ lbz r0, 0(r28) /* 8009CF30 00099E90 28 00 00 00 */ cmplwi r0, 0 /* 8009CF34 00099E94 41 82 00 24 */ beq lbl_8009CF58 /* 8009CF38 00099E98 80 7C 00 04 */ lwz r3, 4(r28) /* 8009CF3C 00099E9C 28 03 00 00 */ cmplwi r3, 0 /* 8009CF40 00099EA0 41 82 00 18 */ beq lbl_8009CF58 /* 8009CF44 00099EA4 81 83 00 00 */ lwz r12, 0(r3) /* 8009CF48 00099EA8 38 80 00 01 */ li r4, 1 /* 8009CF4C 00099EAC 81 8C 00 08 */ lwz r12, 8(r12) /* 8009CF50 00099EB0 7D 89 03 A6 */ mtctr r12 /* 8009CF54 00099EB4 4E 80 04 21 */ bctrl lbl_8009CF58: /* 8009CF58 00099EB8 3B 9C 00 08 */ addi r28, r28, 8 lbl_8009CF5C: /* 8009CF5C 00099EBC 7C 1C E8 40 */ cmplw r28, r29 /* 8009CF60 00099EC0 40 82 FF C4 */ bne lbl_8009CF24 /* 8009CF64 00099EC4 38 00 00 00 */ li r0, 0 /* 8009CF68 00099EC8 90 1E 00 04 */ stw r0, 4(r30) /* 8009CF6C 00099ECC 80 9F 00 04 */ lwz r4, 4(r31) /* 8009CF70 00099ED0 2C 04 00 00 */ cmpwi r4, 0 /* 8009CF74 00099ED4 40 82 00 28 */ bne lbl_8009CF9C /* 8009CF78 00099ED8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8009CF7C 00099EDC 28 03 00 00 */ cmplwi r3, 0 /* 8009CF80 00099EE0 41 82 00 08 */ beq lbl_8009CF88 /* 8009CF84 00099EE4 48 27 89 AD */ bl Free__7CMemoryFPCv lbl_8009CF88: /* 8009CF88 00099EE8 38 00 00 00 */ li r0, 0 /* 8009CF8C 00099EEC 90 1E 00 04 */ stw r0, 4(r30) /* 8009CF90 00099EF0 90 1E 00 08 */ stw r0, 8(r30) /* 8009CF94 00099EF4 90 1E 00 0C */ stw r0, 0xc(r30) /* 8009CF98 00099EF8 48 00 00 5C */ b lbl_8009CFF4 lbl_8009CF9C: /* 8009CF9C 00099EFC 7F C3 F3 78 */ mr r3, r30 /* 8009CFA0 00099F00 48 00 11 3D */ bl "reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi" /* 8009CFA4 00099F04 80 7F 00 04 */ lwz r3, 4(r31) /* 8009CFA8 00099F08 38 00 00 00 */ li r0, 0 /* 8009CFAC 00099F0C 80 DF 00 0C */ lwz r6, 0xc(r31) /* 8009CFB0 00099F10 54 63 18 38 */ slwi r3, r3, 3 /* 8009CFB4 00099F14 80 9E 00 0C */ lwz r4, 0xc(r30) /* 8009CFB8 00099F18 7C A6 1A 14 */ add r5, r6, r3 /* 8009CFBC 00099F1C 48 00 00 28 */ b lbl_8009CFE4 lbl_8009CFC0: /* 8009CFC0 00099F20 28 04 00 00 */ cmplwi r4, 0 /* 8009CFC4 00099F24 41 82 00 18 */ beq lbl_8009CFDC /* 8009CFC8 00099F28 88 66 00 00 */ lbz r3, 0(r6) /* 8009CFCC 00099F2C 98 64 00 00 */ stb r3, 0(r4) /* 8009CFD0 00099F30 80 66 00 04 */ lwz r3, 4(r6) /* 8009CFD4 00099F34 90 64 00 04 */ stw r3, 4(r4) /* 8009CFD8 00099F38 98 06 00 00 */ stb r0, 0(r6) lbl_8009CFDC: /* 8009CFDC 00099F3C 38 84 00 08 */ addi r4, r4, 8 /* 8009CFE0 00099F40 38 C6 00 08 */ addi r6, r6, 8 lbl_8009CFE4: /* 8009CFE4 00099F44 7C 06 28 40 */ cmplw r6, r5 /* 8009CFE8 00099F48 40 82 FF D8 */ bne lbl_8009CFC0 /* 8009CFEC 00099F4C 80 1F 00 04 */ lwz r0, 4(r31) /* 8009CFF0 00099F50 90 1E 00 04 */ stw r0, 4(r30) lbl_8009CFF4: /* 8009CFF4 00099F54 7F C3 F3 78 */ mr r3, r30 lbl_8009CFF8: /* 8009CFF8 00099F58 80 01 00 34 */ lwz r0, 0x34(r1) /* 8009CFFC 00099F5C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8009D000 00099F60 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8009D004 00099F64 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8009D008 00099F68 83 81 00 20 */ lwz r28, 0x20(r1) /* 8009D00C 00099F6C 7C 08 03 A6 */ mtlr r0 /* 8009D010 00099F70 38 21 00 30 */ addi r1, r1, 0x30 /* 8009D014 00099F74 4E 80 00 20 */ blr .global sub_8009d018 sub_8009d018: /* 8009D018 00099F78 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8009D01C 00099F7C 7C 08 02 A6 */ mflr r0 /* 8009D020 00099F80 90 01 00 34 */ stw r0, 0x34(r1) /* 8009D024 00099F84 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8009D028 00099F88 93 C1 00 28 */ stw r30, 0x28(r1) /* 8009D02C 00099F8C 93 A1 00 24 */ stw r29, 0x24(r1) /* 8009D030 00099F90 7C 9D 23 78 */ mr r29, r4 /* 8009D034 00099F94 93 81 00 20 */ stw r28, 0x20(r1) /* 8009D038 00099F98 7C 7C 1B 79 */ or. r28, r3, r3 /* 8009D03C 00099F9C 41 82 00 88 */ beq lbl_8009D0C4 /* 8009D040 00099FA0 80 1C 00 04 */ lwz r0, 4(r28) /* 8009D044 00099FA4 83 DC 00 0C */ lwz r30, 0xc(r28) /* 8009D048 00099FA8 54 00 18 38 */ slwi r0, r0, 3 /* 8009D04C 00099FAC 7F FE 02 14 */ add r31, r30, r0 /* 8009D050 00099FB0 93 C1 00 10 */ stw r30, 0x10(r1) /* 8009D054 00099FB4 93 E1 00 08 */ stw r31, 8(r1) /* 8009D058 00099FB8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8009D05C 00099FBC 93 C1 00 14 */ stw r30, 0x14(r1) /* 8009D060 00099FC0 48 00 00 3C */ b lbl_8009D09C lbl_8009D064: /* 8009D064 00099FC4 28 1E 00 00 */ cmplwi r30, 0 /* 8009D068 00099FC8 41 82 00 30 */ beq lbl_8009D098 /* 8009D06C 00099FCC 88 1E 00 00 */ lbz r0, 0(r30) /* 8009D070 00099FD0 28 00 00 00 */ cmplwi r0, 0 /* 8009D074 00099FD4 41 82 00 24 */ beq lbl_8009D098 /* 8009D078 00099FD8 80 7E 00 04 */ lwz r3, 4(r30) /* 8009D07C 00099FDC 28 03 00 00 */ cmplwi r3, 0 /* 8009D080 00099FE0 41 82 00 18 */ beq lbl_8009D098 /* 8009D084 00099FE4 81 83 00 00 */ lwz r12, 0(r3) /* 8009D088 00099FE8 38 80 00 01 */ li r4, 1 /* 8009D08C 00099FEC 81 8C 00 08 */ lwz r12, 8(r12) /* 8009D090 00099FF0 7D 89 03 A6 */ mtctr r12 /* 8009D094 00099FF4 4E 80 04 21 */ bctrl lbl_8009D098: /* 8009D098 00099FF8 3B DE 00 08 */ addi r30, r30, 8 lbl_8009D09C: /* 8009D09C 00099FFC 7C 1E F8 40 */ cmplw r30, r31 /* 8009D0A0 0009A000 40 82 FF C4 */ bne lbl_8009D064 /* 8009D0A4 0009A004 80 7C 00 0C */ lwz r3, 0xc(r28) /* 8009D0A8 0009A008 28 03 00 00 */ cmplwi r3, 0 /* 8009D0AC 0009A00C 41 82 00 08 */ beq lbl_8009D0B4 /* 8009D0B0 0009A010 48 27 88 81 */ bl Free__7CMemoryFPCv lbl_8009D0B4: /* 8009D0B4 0009A014 7F A0 07 35 */ extsh. r0, r29 /* 8009D0B8 0009A018 40 81 00 0C */ ble lbl_8009D0C4 /* 8009D0BC 0009A01C 7F 83 E3 78 */ mr r3, r28 /* 8009D0C0 0009A020 48 27 88 71 */ bl Free__7CMemoryFPCv lbl_8009D0C4: /* 8009D0C4 0009A024 80 01 00 34 */ lwz r0, 0x34(r1) /* 8009D0C8 0009A028 7F 83 E3 78 */ mr r3, r28 /* 8009D0CC 0009A02C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8009D0D0 0009A030 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8009D0D4 0009A034 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8009D0D8 0009A038 83 81 00 20 */ lwz r28, 0x20(r1) /* 8009D0DC 0009A03C 7C 08 03 A6 */ mtlr r0 /* 8009D0E0 0009A040 38 21 00 30 */ addi r1, r1, 0x30 /* 8009D0E4 0009A044 4E 80 00 20 */ blr .global __dt__11CAutoMapperFv __dt__11CAutoMapperFv: /* 8009D0E8 0009A048 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009D0EC 0009A04C 7C 08 02 A6 */ mflr r0 /* 8009D0F0 0009A050 90 01 00 24 */ stw r0, 0x24(r1) /* 8009D0F4 0009A054 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009D0F8 0009A058 7C 9F 23 78 */ mr r31, r4 /* 8009D0FC 0009A05C 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009D100 0009A060 7C 7E 1B 79 */ or. r30, r3, r3 /* 8009D104 0009A064 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009D108 0009A068 93 81 00 10 */ stw r28, 0x10(r1) /* 8009D10C 0009A06C 41 82 02 9C */ beq lbl_8009D3A8 /* 8009D110 0009A070 3C 80 80 3E */ lis r4, lbl_803DAE70@ha /* 8009D114 0009A074 38 60 00 02 */ li r3, 2 /* 8009D118 0009A078 38 04 AE 70 */ addi r0, r4, lbl_803DAE70@l /* 8009D11C 0009A07C 90 1E 00 00 */ stw r0, 0(r30) /* 8009D120 0009A080 48 24 C9 95 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels /* 8009D124 0009A084 34 1E 02 D0 */ addic. r0, r30, 0x2d0 /* 8009D128 0009A088 41 82 00 38 */ beq lbl_8009D160 /* 8009D12C 0009A08C 3B 9E 02 D4 */ addi r28, r30, 0x2d4 /* 8009D130 0009A090 3B A0 00 00 */ li r29, 0 /* 8009D134 0009A094 48 00 00 18 */ b lbl_8009D14C lbl_8009D138: /* 8009D138 0009A098 7F 83 E3 78 */ mr r3, r28 /* 8009D13C 0009A09C 38 80 FF FF */ li r4, -1 /* 8009D140 0009A0A0 48 2A 3D 01 */ bl __dt__6CTokenFv /* 8009D144 0009A0A4 3B 9C 00 08 */ addi r28, r28, 8 /* 8009D148 0009A0A8 3B BD 00 01 */ addi r29, r29, 1 lbl_8009D14C: /* 8009D14C 0009A0AC 80 1E 02 D0 */ lwz r0, 0x2d0(r30) /* 8009D150 0009A0B0 7C 1D 00 00 */ cmpw r29, r0 /* 8009D154 0009A0B4 41 80 FF E4 */ blt lbl_8009D138 /* 8009D158 0009A0B8 38 00 00 00 */ li r0, 0 /* 8009D15C 0009A0BC 90 1E 02 D0 */ stw r0, 0x2d0(r30) lbl_8009D160: /* 8009D160 0009A0C0 34 1E 02 BC */ addic. r0, r30, 0x2bc /* 8009D164 0009A0C4 41 82 00 38 */ beq lbl_8009D19C /* 8009D168 0009A0C8 3B 9E 02 C0 */ addi r28, r30, 0x2c0 /* 8009D16C 0009A0CC 3B A0 00 00 */ li r29, 0 /* 8009D170 0009A0D0 48 00 00 18 */ b lbl_8009D188 lbl_8009D174: /* 8009D174 0009A0D4 7F 83 E3 78 */ mr r3, r28 /* 8009D178 0009A0D8 38 80 FF FF */ li r4, -1 /* 8009D17C 0009A0DC 48 2A 3C C5 */ bl __dt__6CTokenFv /* 8009D180 0009A0E0 3B 9C 00 08 */ addi r28, r28, 8 /* 8009D184 0009A0E4 3B BD 00 01 */ addi r29, r29, 1 lbl_8009D188: /* 8009D188 0009A0E8 80 1E 02 BC */ lwz r0, 0x2bc(r30) /* 8009D18C 0009A0EC 7C 1D 00 00 */ cmpw r29, r0 /* 8009D190 0009A0F0 41 80 FF E4 */ blt lbl_8009D174 /* 8009D194 0009A0F4 38 00 00 00 */ li r0, 0 /* 8009D198 0009A0F8 90 1E 02 BC */ stw r0, 0x2bc(r30) lbl_8009D19C: /* 8009D19C 0009A0FC 34 1E 02 A8 */ addic. r0, r30, 0x2a8 /* 8009D1A0 0009A100 41 82 00 38 */ beq lbl_8009D1D8 /* 8009D1A4 0009A104 3B 9E 02 AC */ addi r28, r30, 0x2ac /* 8009D1A8 0009A108 3B A0 00 00 */ li r29, 0 /* 8009D1AC 0009A10C 48 00 00 18 */ b lbl_8009D1C4 lbl_8009D1B0: /* 8009D1B0 0009A110 7F 83 E3 78 */ mr r3, r28 /* 8009D1B4 0009A114 38 80 FF FF */ li r4, -1 /* 8009D1B8 0009A118 48 2A 3C 89 */ bl __dt__6CTokenFv /* 8009D1BC 0009A11C 3B 9C 00 08 */ addi r28, r28, 8 /* 8009D1C0 0009A120 3B BD 00 01 */ addi r29, r29, 1 lbl_8009D1C4: /* 8009D1C4 0009A124 80 1E 02 A8 */ lwz r0, 0x2a8(r30) /* 8009D1C8 0009A128 7C 1D 00 00 */ cmpw r29, r0 /* 8009D1CC 0009A12C 41 80 FF E4 */ blt lbl_8009D1B0 /* 8009D1D0 0009A130 38 00 00 00 */ li r0, 0 /* 8009D1D4 0009A134 90 1E 02 A8 */ stw r0, 0x2a8(r30) lbl_8009D1D8: /* 8009D1D8 0009A138 34 1E 02 5C */ addic. r0, r30, 0x25c /* 8009D1DC 0009A13C 41 82 00 38 */ beq lbl_8009D214 /* 8009D1E0 0009A140 3B 9E 02 60 */ addi r28, r30, 0x260 /* 8009D1E4 0009A144 3B A0 00 00 */ li r29, 0 /* 8009D1E8 0009A148 48 00 00 18 */ b lbl_8009D200 lbl_8009D1EC: /* 8009D1EC 0009A14C 7F 83 E3 78 */ mr r3, r28 /* 8009D1F0 0009A150 38 80 FF FF */ li r4, -1 /* 8009D1F4 0009A154 48 2A 3C 4D */ bl __dt__6CTokenFv /* 8009D1F8 0009A158 3B 9C 00 08 */ addi r28, r28, 8 /* 8009D1FC 0009A15C 3B BD 00 01 */ addi r29, r29, 1 lbl_8009D200: /* 8009D200 0009A160 80 1E 02 5C */ lwz r0, 0x25c(r30) /* 8009D204 0009A164 7C 1D 00 00 */ cmpw r29, r0 /* 8009D208 0009A168 41 80 FF E4 */ blt lbl_8009D1EC /* 8009D20C 0009A16C 38 00 00 00 */ li r0, 0 /* 8009D210 0009A170 90 1E 02 5C */ stw r0, 0x25c(r30) lbl_8009D214: /* 8009D214 0009A174 34 1E 02 10 */ addic. r0, r30, 0x210 /* 8009D218 0009A178 41 82 00 38 */ beq lbl_8009D250 /* 8009D21C 0009A17C 3B 9E 02 14 */ addi r28, r30, 0x214 /* 8009D220 0009A180 3B A0 00 00 */ li r29, 0 /* 8009D224 0009A184 48 00 00 18 */ b lbl_8009D23C lbl_8009D228: /* 8009D228 0009A188 7F 83 E3 78 */ mr r3, r28 /* 8009D22C 0009A18C 38 80 FF FF */ li r4, -1 /* 8009D230 0009A190 48 2A 3C 11 */ bl __dt__6CTokenFv /* 8009D234 0009A194 3B 9C 00 08 */ addi r28, r28, 8 /* 8009D238 0009A198 3B BD 00 01 */ addi r29, r29, 1 lbl_8009D23C: /* 8009D23C 0009A19C 80 1E 02 10 */ lwz r0, 0x210(r30) /* 8009D240 0009A1A0 7C 1D 00 00 */ cmpw r29, r0 /* 8009D244 0009A1A4 41 80 FF E4 */ blt lbl_8009D228 /* 8009D248 0009A1A8 38 00 00 00 */ li r0, 0 /* 8009D24C 0009A1AC 90 1E 02 10 */ stw r0, 0x210(r30) lbl_8009D250: /* 8009D250 0009A1B0 38 7E 01 F8 */ addi r3, r30, 0x1f8 /* 8009D254 0009A1B4 38 80 FF FF */ li r4, -1 /* 8009D258 0009A1B8 48 00 11 19 */ bl sub_8009e370 /* 8009D25C 0009A1BC 38 7E 01 E0 */ addi r3, r30, 0x1e0 /* 8009D260 0009A1C0 38 80 FF FF */ li r4, -1 /* 8009D264 0009A1C4 48 00 10 19 */ bl sub_8009e27c /* 8009D268 0009A1C8 34 1E 00 8C */ addic. r0, r30, 0x8c /* 8009D26C 0009A1CC 41 82 00 30 */ beq lbl_8009D29C /* 8009D270 0009A1D0 88 1E 00 98 */ lbz r0, 0x98(r30) /* 8009D274 0009A1D4 28 00 00 00 */ cmplwi r0, 0 /* 8009D278 0009A1D8 41 82 00 1C */ beq lbl_8009D294 /* 8009D27C 0009A1DC 34 7E 00 8C */ addic. r3, r30, 0x8c /* 8009D280 0009A1E0 41 82 00 14 */ beq lbl_8009D294 /* 8009D284 0009A1E4 28 03 00 00 */ cmplwi r3, 0 /* 8009D288 0009A1E8 41 82 00 0C */ beq lbl_8009D294 /* 8009D28C 0009A1EC 38 80 00 00 */ li r4, 0 /* 8009D290 0009A1F0 48 2A 3B B1 */ bl __dt__6CTokenFv lbl_8009D294: /* 8009D294 0009A1F4 38 00 00 00 */ li r0, 0 /* 8009D298 0009A1F8 98 1E 00 98 */ stb r0, 0x98(r30) lbl_8009D29C: /* 8009D29C 0009A1FC 34 1E 00 78 */ addic. r0, r30, 0x78 /* 8009D2A0 0009A200 41 82 00 30 */ beq lbl_8009D2D0 /* 8009D2A4 0009A204 88 1E 00 84 */ lbz r0, 0x84(r30) /* 8009D2A8 0009A208 28 00 00 00 */ cmplwi r0, 0 /* 8009D2AC 0009A20C 41 82 00 1C */ beq lbl_8009D2C8 /* 8009D2B0 0009A210 34 7E 00 78 */ addic. r3, r30, 0x78 /* 8009D2B4 0009A214 41 82 00 14 */ beq lbl_8009D2C8 /* 8009D2B8 0009A218 28 03 00 00 */ cmplwi r3, 0 /* 8009D2BC 0009A21C 41 82 00 0C */ beq lbl_8009D2C8 /* 8009D2C0 0009A220 38 80 00 00 */ li r4, 0 /* 8009D2C4 0009A224 48 2A 3B 7D */ bl __dt__6CTokenFv lbl_8009D2C8: /* 8009D2C8 0009A228 38 00 00 00 */ li r0, 0 /* 8009D2CC 0009A22C 98 1E 00 84 */ stb r0, 0x84(r30) lbl_8009D2D0: /* 8009D2D0 0009A230 34 1E 00 48 */ addic. r0, r30, 0x48 /* 8009D2D4 0009A234 41 82 00 38 */ beq lbl_8009D30C /* 8009D2D8 0009A238 3B 9E 00 4C */ addi r28, r30, 0x4c /* 8009D2DC 0009A23C 3B A0 00 00 */ li r29, 0 /* 8009D2E0 0009A240 48 00 00 18 */ b lbl_8009D2F8 lbl_8009D2E4: /* 8009D2E4 0009A244 7F 83 E3 78 */ mr r3, r28 /* 8009D2E8 0009A248 38 80 FF FF */ li r4, -1 /* 8009D2EC 0009A24C 48 2A 3B 55 */ bl __dt__6CTokenFv /* 8009D2F0 0009A250 3B 9C 00 08 */ addi r28, r28, 8 /* 8009D2F4 0009A254 3B BD 00 01 */ addi r29, r29, 1 lbl_8009D2F8: /* 8009D2F8 0009A258 80 1E 00 48 */ lwz r0, 0x48(r30) /* 8009D2FC 0009A25C 7C 1D 00 00 */ cmpw r29, r0 /* 8009D300 0009A260 41 80 FF E4 */ blt lbl_8009D2E4 /* 8009D304 0009A264 38 00 00 00 */ li r0, 0 /* 8009D308 0009A268 90 1E 00 48 */ stw r0, 0x48(r30) lbl_8009D30C: /* 8009D30C 0009A26C 34 1E 00 3C */ addic. r0, r30, 0x3c /* 8009D310 0009A270 41 82 00 18 */ beq lbl_8009D328 /* 8009D314 0009A274 34 1E 00 3C */ addic. r0, r30, 0x3c /* 8009D318 0009A278 41 82 00 10 */ beq lbl_8009D328 /* 8009D31C 0009A27C 38 7E 00 3C */ addi r3, r30, 0x3c /* 8009D320 0009A280 38 80 00 00 */ li r4, 0 /* 8009D324 0009A284 48 2A 3B 1D */ bl __dt__6CTokenFv lbl_8009D328: /* 8009D328 0009A288 34 1E 00 30 */ addic. r0, r30, 0x30 /* 8009D32C 0009A28C 41 82 00 18 */ beq lbl_8009D344 /* 8009D330 0009A290 34 1E 00 30 */ addic. r0, r30, 0x30 /* 8009D334 0009A294 41 82 00 10 */ beq lbl_8009D344 /* 8009D338 0009A298 38 7E 00 30 */ addi r3, r30, 0x30 /* 8009D33C 0009A29C 38 80 00 00 */ li r4, 0 /* 8009D340 0009A2A0 48 2A 3B 01 */ bl __dt__6CTokenFv lbl_8009D344: /* 8009D344 0009A2A4 34 1E 00 28 */ addic. r0, r30, 0x28 /* 8009D348 0009A2A8 41 82 00 28 */ beq lbl_8009D370 /* 8009D34C 0009A2AC 83 BE 00 28 */ lwz r29, 0x28(r30) /* 8009D350 0009A2B0 28 1D 00 00 */ cmplwi r29, 0 /* 8009D354 0009A2B4 41 82 00 1C */ beq lbl_8009D370 /* 8009D358 0009A2B8 41 82 00 10 */ beq lbl_8009D368 /* 8009D35C 0009A2BC 7F A3 EB 78 */ mr r3, r29 /* 8009D360 0009A2C0 38 80 00 00 */ li r4, 0 /* 8009D364 0009A2C4 48 2A 3A DD */ bl __dt__6CTokenFv lbl_8009D368: /* 8009D368 0009A2C8 7F A3 EB 78 */ mr r3, r29 /* 8009D36C 0009A2CC 48 27 85 C5 */ bl Free__7CMemoryFPCv lbl_8009D370: /* 8009D370 0009A2D0 38 7E 00 14 */ addi r3, r30, 0x14 /* 8009D374 0009A2D4 38 80 FF FF */ li r4, -1 /* 8009D378 0009A2D8 4B FF FC A1 */ bl sub_8009d018 /* 8009D37C 0009A2DC 34 1E 00 08 */ addic. r0, r30, 8 /* 8009D380 0009A2E0 41 82 00 18 */ beq lbl_8009D398 /* 8009D384 0009A2E4 34 1E 00 08 */ addic. r0, r30, 8 /* 8009D388 0009A2E8 41 82 00 10 */ beq lbl_8009D398 /* 8009D38C 0009A2EC 38 7E 00 08 */ addi r3, r30, 8 /* 8009D390 0009A2F0 38 80 00 00 */ li r4, 0 /* 8009D394 0009A2F4 48 2A 3A AD */ bl __dt__6CTokenFv lbl_8009D398: /* 8009D398 0009A2F8 7F E0 07 35 */ extsh. r0, r31 /* 8009D39C 0009A2FC 40 81 00 0C */ ble lbl_8009D3A8 /* 8009D3A0 0009A300 7F C3 F3 78 */ mr r3, r30 /* 8009D3A4 0009A304 48 27 85 8D */ bl Free__7CMemoryFPCv lbl_8009D3A8: /* 8009D3A8 0009A308 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009D3AC 0009A30C 7F C3 F3 78 */ mr r3, r30 /* 8009D3B0 0009A310 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009D3B4 0009A314 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009D3B8 0009A318 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009D3BC 0009A31C 83 81 00 10 */ lwz r28, 0x10(r1) /* 8009D3C0 0009A320 7C 08 03 A6 */ mtlr r0 /* 8009D3C4 0009A324 38 21 00 20 */ addi r1, r1, 0x20 /* 8009D3C8 0009A328 4E 80 00 20 */ blr .global "SetResLockState,2>>__11CAutoMapperFv" "SetResLockState,2>>__11CAutoMapperFv": /* 8009D3CC 0009A32C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009D3D0 0009A330 7C 08 02 A6 */ mflr r0 /* 8009D3D4 0009A334 90 01 00 24 */ stw r0, 0x24(r1) /* 8009D3D8 0009A338 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009D3DC 0009A33C 54 BF 06 3E */ clrlwi r31, r5, 0x18 /* 8009D3E0 0009A340 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009D3E4 0009A344 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009D3E8 0009A348 7C 9D 23 78 */ mr r29, r4 /* 8009D3EC 0009A34C 3B DD 00 04 */ addi r30, r29, 4 /* 8009D3F0 0009A350 48 00 00 24 */ b lbl_8009D414 lbl_8009D3F4: /* 8009D3F4 0009A354 28 1F 00 00 */ cmplwi r31, 0 /* 8009D3F8 0009A358 41 82 00 10 */ beq lbl_8009D408 /* 8009D3FC 0009A35C 7F C3 F3 78 */ mr r3, r30 /* 8009D400 0009A360 48 2A 39 85 */ bl Lock__6CTokenFv /* 8009D404 0009A364 48 00 00 0C */ b lbl_8009D410 lbl_8009D408: /* 8009D408 0009A368 7F C3 F3 78 */ mr r3, r30 /* 8009D40C 0009A36C 48 2A 39 35 */ bl Unlock__6CTokenFv lbl_8009D410: /* 8009D410 0009A370 3B DE 00 08 */ addi r30, r30, 8 lbl_8009D414: /* 8009D414 0009A374 80 1D 00 00 */ lwz r0, 0(r29) /* 8009D418 0009A378 54 00 18 38 */ slwi r0, r0, 3 /* 8009D41C 0009A37C 7C 7D 02 14 */ add r3, r29, r0 /* 8009D420 0009A380 38 03 00 04 */ addi r0, r3, 4 /* 8009D424 0009A384 7C 1E 00 40 */ cmplw r30, r0 /* 8009D428 0009A388 40 82 FF CC */ bne lbl_8009D3F4 /* 8009D42C 0009A38C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009D430 0009A390 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009D434 0009A394 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009D438 0009A398 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009D43C 0009A39C 7C 08 03 A6 */ mtlr r0 /* 8009D440 0009A3A0 38 21 00 20 */ addi r1, r1, 0x20 /* 8009D444 0009A3A4 4E 80 00 20 */ blr .global "SetResLockState,9>>__11CAutoMapperFv" "SetResLockState,9>>__11CAutoMapperFv": /* 8009D448 0009A3A8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009D44C 0009A3AC 7C 08 02 A6 */ mflr r0 /* 8009D450 0009A3B0 90 01 00 24 */ stw r0, 0x24(r1) /* 8009D454 0009A3B4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009D458 0009A3B8 54 BF 06 3E */ clrlwi r31, r5, 0x18 /* 8009D45C 0009A3BC 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009D460 0009A3C0 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009D464 0009A3C4 7C 9D 23 78 */ mr r29, r4 /* 8009D468 0009A3C8 3B DD 00 04 */ addi r30, r29, 4 /* 8009D46C 0009A3CC 48 00 00 24 */ b lbl_8009D490 lbl_8009D470: /* 8009D470 0009A3D0 28 1F 00 00 */ cmplwi r31, 0 /* 8009D474 0009A3D4 41 82 00 10 */ beq lbl_8009D484 /* 8009D478 0009A3D8 7F C3 F3 78 */ mr r3, r30 /* 8009D47C 0009A3DC 48 2A 39 09 */ bl Lock__6CTokenFv /* 8009D480 0009A3E0 48 00 00 0C */ b lbl_8009D48C lbl_8009D484: /* 8009D484 0009A3E4 7F C3 F3 78 */ mr r3, r30 /* 8009D488 0009A3E8 48 2A 38 B9 */ bl Unlock__6CTokenFv lbl_8009D48C: /* 8009D48C 0009A3EC 3B DE 00 08 */ addi r30, r30, 8 lbl_8009D490: /* 8009D490 0009A3F0 80 1D 00 00 */ lwz r0, 0(r29) /* 8009D494 0009A3F4 54 00 18 38 */ slwi r0, r0, 3 /* 8009D498 0009A3F8 7C 7D 02 14 */ add r3, r29, r0 /* 8009D49C 0009A3FC 38 03 00 04 */ addi r0, r3, 4 /* 8009D4A0 0009A400 7C 1E 00 40 */ cmplw r30, r0 /* 8009D4A4 0009A404 40 82 FF CC */ bne lbl_8009D470 /* 8009D4A8 0009A408 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009D4AC 0009A40C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009D4B0 0009A410 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009D4B4 0009A414 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009D4B8 0009A418 7C 08 03 A6 */ mtlr r0 /* 8009D4BC 0009A41C 38 21 00 20 */ addi r1, r1, 0x20 /* 8009D4C0 0009A420 4E 80 00 20 */ blr .global __ct__11CAutoMapperFR13CStateManager __ct__11CAutoMapperFR13CStateManager: /* 8009D4C4 0009A424 94 21 FE B0 */ stwu r1, -0x150(r1) /* 8009D4C8 0009A428 7C 08 02 A6 */ mflr r0 /* 8009D4CC 0009A42C 3C A0 80 3E */ lis r5, lbl_803DAE70@ha /* 8009D4D0 0009A430 90 01 01 54 */ stw r0, 0x154(r1) /* 8009D4D4 0009A434 38 05 AE 70 */ addi r0, r5, lbl_803DAE70@l /* 8009D4D8 0009A438 BF 21 01 34 */ stmw r25, 0x134(r1) /* 8009D4DC 0009A43C 7C 7F 1B 78 */ mr r31, r3 /* 8009D4E0 0009A440 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009D4E4 0009A444 7C 99 23 78 */ mr r25, r4 /* 8009D4E8 0009A448 38 A3 D8 0C */ addi r5, r3, lbl_803CD80C@l /* 8009D4EC 0009A44C 38 61 00 BC */ addi r3, r1, 0xbc /* 8009D4F0 0009A450 38 A5 01 21 */ addi r5, r5, 0x121 /* 8009D4F4 0009A454 90 1F 00 00 */ stw r0, 0(r31) /* 8009D4F8 0009A458 38 00 00 00 */ li r0, 0 /* 8009D4FC 0009A45C 90 1F 00 04 */ stw r0, 4(r31) /* 8009D500 0009A460 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D504 0009A464 81 84 00 00 */ lwz r12, 0(r4) /* 8009D508 0009A468 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8009D50C 0009A46C 7D 89 03 A6 */ mtctr r12 /* 8009D510 0009A470 4E 80 04 21 */ bctrl /* 8009D514 0009A474 3B 5F 00 08 */ addi r26, r31, 8 /* 8009D518 0009A478 38 81 00 BC */ addi r4, r1, 0xbc /* 8009D51C 0009A47C 7F 43 D3 78 */ mr r3, r26 /* 8009D520 0009A480 48 2A 39 89 */ bl __ct__6CTokenFRC6CToken /* 8009D524 0009A484 38 00 00 00 */ li r0, 0 /* 8009D528 0009A488 38 61 00 BC */ addi r3, r1, 0xbc /* 8009D52C 0009A48C 90 1A 00 08 */ stw r0, 8(r26) /* 8009D530 0009A490 38 80 FF FF */ li r4, -1 /* 8009D534 0009A494 48 2A 39 0D */ bl __dt__6CTokenFv /* 8009D538 0009A498 38 C0 00 00 */ li r6, 0 /* 8009D53C 0009A49C 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009D540 0009A4A0 90 DF 00 18 */ stw r6, 0x18(r31) /* 8009D544 0009A4A4 38 83 D8 0C */ addi r4, r3, lbl_803CD80C@l /* 8009D548 0009A4A8 38 61 00 B4 */ addi r3, r1, 0xb4 /* 8009D54C 0009A4AC 90 DF 00 1C */ stw r6, 0x1c(r31) /* 8009D550 0009A4B0 38 A4 01 32 */ addi r5, r4, 0x132 /* 8009D554 0009A4B4 90 DF 00 20 */ stw r6, 0x20(r31) /* 8009D558 0009A4B8 80 19 08 50 */ lwz r0, 0x850(r25) /* 8009D55C 0009A4BC 90 1F 00 24 */ stw r0, 0x24(r31) /* 8009D560 0009A4C0 90 DF 00 28 */ stw r6, 0x28(r31) /* 8009D564 0009A4C4 90 DF 00 2C */ stw r6, 0x2c(r31) /* 8009D568 0009A4C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D56C 0009A4CC 81 84 00 00 */ lwz r12, 0(r4) /* 8009D570 0009A4D0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8009D574 0009A4D4 7D 89 03 A6 */ mtctr r12 /* 8009D578 0009A4D8 4E 80 04 21 */ bctrl /* 8009D57C 0009A4DC 3B 5F 00 30 */ addi r26, r31, 0x30 /* 8009D580 0009A4E0 38 81 00 B4 */ addi r4, r1, 0xb4 /* 8009D584 0009A4E4 7F 43 D3 78 */ mr r3, r26 /* 8009D588 0009A4E8 48 2A 39 21 */ bl __ct__6CTokenFRC6CToken /* 8009D58C 0009A4EC 38 00 00 00 */ li r0, 0 /* 8009D590 0009A4F0 38 61 00 B4 */ addi r3, r1, 0xb4 /* 8009D594 0009A4F4 90 1A 00 08 */ stw r0, 8(r26) /* 8009D598 0009A4F8 38 80 FF FF */ li r4, -1 /* 8009D59C 0009A4FC 48 2A 38 A5 */ bl __dt__6CTokenFv /* 8009D5A0 0009A500 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D5A4 0009A504 3C 60 80 3D */ lis r3, lbl_803CD80C@ha /* 8009D5A8 0009A508 38 A3 D8 0C */ addi r5, r3, lbl_803CD80C@l /* 8009D5AC 0009A50C 38 61 00 AC */ addi r3, r1, 0xac /* 8009D5B0 0009A510 81 84 00 00 */ lwz r12, 0(r4) /* 8009D5B4 0009A514 38 A5 01 44 */ addi r5, r5, 0x144 /* 8009D5B8 0009A518 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8009D5BC 0009A51C 7D 89 03 A6 */ mtctr r12 /* 8009D5C0 0009A520 4E 80 04 21 */ bctrl /* 8009D5C4 0009A524 3B 5F 00 3C */ addi r26, r31, 0x3c /* 8009D5C8 0009A528 38 81 00 AC */ addi r4, r1, 0xac /* 8009D5CC 0009A52C 7F 43 D3 78 */ mr r3, r26 /* 8009D5D0 0009A530 48 2A 38 D9 */ bl __ct__6CTokenFRC6CToken /* 8009D5D4 0009A534 38 00 00 00 */ li r0, 0 /* 8009D5D8 0009A538 38 61 00 AC */ addi r3, r1, 0xac /* 8009D5DC 0009A53C 90 1A 00 08 */ stw r0, 8(r26) /* 8009D5E0 0009A540 38 80 FF FF */ li r4, -1 /* 8009D5E4 0009A544 48 2A 38 5D */ bl __dt__6CTokenFv /* 8009D5E8 0009A548 38 80 00 00 */ li r4, 0 /* 8009D5EC 0009A54C 38 00 FF FF */ li r0, -1 /* 8009D5F0 0009A550 90 9F 00 48 */ stw r4, 0x48(r31) /* 8009D5F4 0009A554 38 61 00 08 */ addi r3, r1, 8 /* 8009D5F8 0009A558 90 1F 00 74 */ stw r0, 0x74(r31) /* 8009D5FC 0009A55C 98 9F 00 84 */ stb r4, 0x84(r31) /* 8009D600 0009A560 90 1F 00 88 */ stw r0, 0x88(r31) /* 8009D604 0009A564 98 9F 00 98 */ stb r4, 0x98(r31) /* 8009D608 0009A568 90 9F 00 9C */ stw r4, 0x9c(r31) /* 8009D60C 0009A56C 80 9F 00 24 */ lwz r4, 0x24(r31) /* 8009D610 0009A570 81 84 00 00 */ lwz r12, 0(r4) /* 8009D614 0009A574 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8009D618 0009A578 7D 89 03 A6 */ mtctr r12 /* 8009D61C 0009A57C 4E 80 04 21 */ bctrl /* 8009D620 0009A580 80 01 00 08 */ lwz r0, 8(r1) /* 8009D624 0009A584 7F 24 CB 78 */ mr r4, r25 /* 8009D628 0009A588 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 8009D62C 0009A58C 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 8009D630 0009A590 90 1F 00 A4 */ stw r0, 0xa4(r31) /* 8009D634 0009A594 80 79 08 70 */ lwz r3, 0x870(r25) /* 8009D638 0009A598 4B F6 E4 E1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 8009D63C 0009A59C 7C 64 1B 78 */ mr r4, r3 /* 8009D640 0009A5A0 38 61 00 C4 */ addi r3, r1, 0xc4 /* 8009D644 0009A5A4 38 84 00 34 */ addi r4, r4, 0x34 /* 8009D648 0009A5A8 48 27 4A E1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 8009D64C 0009A5AC 80 FF 00 A0 */ lwz r7, 0xa0(r31) /* 8009D650 0009A5B0 7F E4 FB 78 */ mr r4, r31 /* 8009D654 0009A5B4 7F 25 CB 78 */ mr r5, r25 /* 8009D658 0009A5B8 38 61 00 D4 */ addi r3, r1, 0xd4 /* 8009D65C 0009A5BC 38 C1 00 C4 */ addi r6, r1, 0xc4 /* 8009D660 0009A5C0 4B FF 99 39 */ bl BuildMiniMapWorldRenderState__11CAutoMapperCFRC13CStateManagerRC11CQuaternioni /* 8009D664 0009A5C4 38 7F 00 A8 */ addi r3, r31, 0xa8 /* 8009D668 0009A5C8 38 81 00 D4 */ addi r4, r1, 0xd4 /* 8009D66C 0009A5CC 4B FF 97 41 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState /* 8009D670 0009A5D0 38 7F 01 04 */ addi r3, r31, 0x104 /* 8009D674 0009A5D4 38 9F 00 A8 */ addi r4, r31, 0xa8 /* 8009D678 0009A5D8 4B FF 97 35 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState /* 8009D67C 0009A5DC 38 7F 01 60 */ addi r3, r31, 0x160 /* 8009D680 0009A5E0 38 9F 00 A8 */ addi r4, r31, 0xa8 /* 8009D684 0009A5E4 4B FF 97 29 */ bl __ct__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderState /* 8009D688 0009A5E8 38 A0 00 00 */ li r5, 0 /* 8009D68C 0009A5EC C0 02 8B A8 */ lfs f0, lbl_805AA8C8@sda21(r2) /* 8009D690 0009A5F0 90 BF 01 BC */ stw r5, 0x1bc(r31) /* 8009D694 0009A5F4 38 9F 01 EC */ addi r4, r31, 0x1ec /* 8009D698 0009A5F8 38 1F 02 04 */ addi r0, r31, 0x204 /* 8009D69C 0009A5FC 38 7F 00 08 */ addi r3, r31, 8 /* 8009D6A0 0009A600 90 BF 01 C0 */ stw r5, 0x1c0(r31) /* 8009D6A4 0009A604 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) /* 8009D6A8 0009A608 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) /* 8009D6AC 0009A60C 90 BF 01 CC */ stw r5, 0x1cc(r31) /* 8009D6B0 0009A610 90 BF 01 D0 */ stw r5, 0x1d0(r31) /* 8009D6B4 0009A614 90 BF 01 D4 */ stw r5, 0x1d4(r31) /* 8009D6B8 0009A618 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) /* 8009D6BC 0009A61C D0 1F 01 DC */ stfs f0, 0x1dc(r31) /* 8009D6C0 0009A620 90 9F 01 E4 */ stw r4, 0x1e4(r31) /* 8009D6C4 0009A624 90 9F 01 E8 */ stw r4, 0x1e8(r31) /* 8009D6C8 0009A628 90 9F 01 EC */ stw r4, 0x1ec(r31) /* 8009D6CC 0009A62C 90 9F 01 F0 */ stw r4, 0x1f0(r31) /* 8009D6D0 0009A630 90 BF 01 F4 */ stw r5, 0x1f4(r31) /* 8009D6D4 0009A634 90 1F 01 FC */ stw r0, 0x1fc(r31) /* 8009D6D8 0009A638 90 1F 02 00 */ stw r0, 0x200(r31) /* 8009D6DC 0009A63C 90 1F 02 04 */ stw r0, 0x204(r31) /* 8009D6E0 0009A640 90 1F 02 08 */ stw r0, 0x208(r31) /* 8009D6E4 0009A644 90 BF 02 0C */ stw r5, 0x20c(r31) /* 8009D6E8 0009A648 90 BF 02 10 */ stw r5, 0x210(r31) /* 8009D6EC 0009A64C 90 BF 02 5C */ stw r5, 0x25c(r31) /* 8009D6F0 0009A650 90 BF 02 A8 */ stw r5, 0x2a8(r31) /* 8009D6F4 0009A654 90 BF 02 BC */ stw r5, 0x2bc(r31) /* 8009D6F8 0009A658 90 BF 02 D0 */ stw r5, 0x2d0(r31) /* 8009D6FC 0009A65C 90 BF 02 E4 */ stw r5, 0x2e4(r31) /* 8009D700 0009A660 90 BF 02 E8 */ stw r5, 0x2e8(r31) /* 8009D704 0009A664 90 BF 02 EC */ stw r5, 0x2ec(r31) /* 8009D708 0009A668 90 BF 02 F0 */ stw r5, 0x2f0(r31) /* 8009D70C 0009A66C 90 BF 02 F4 */ stw r5, 0x2f4(r31) /* 8009D710 0009A670 90 BF 02 F8 */ stw r5, 0x2f8(r31) /* 8009D714 0009A674 90 BF 02 FC */ stw r5, 0x2fc(r31) /* 8009D718 0009A678 90 BF 03 00 */ stw r5, 0x300(r31) /* 8009D71C 0009A67C 90 BF 03 04 */ stw r5, 0x304(r31) /* 8009D720 0009A680 90 BF 03 08 */ stw r5, 0x308(r31) /* 8009D724 0009A684 90 BF 03 0C */ stw r5, 0x30c(r31) /* 8009D728 0009A688 90 BF 03 10 */ stw r5, 0x310(r31) /* 8009D72C 0009A68C 90 BF 03 14 */ stw r5, 0x314(r31) /* 8009D730 0009A690 D0 1F 03 18 */ stfs f0, 0x318(r31) /* 8009D734 0009A694 D0 1F 03 1C */ stfs f0, 0x31c(r31) /* 8009D738 0009A698 D0 1F 03 20 */ stfs f0, 0x320(r31) /* 8009D73C 0009A69C 90 BF 03 24 */ stw r5, 0x324(r31) /* 8009D740 0009A6A0 90 BF 03 28 */ stw r5, 0x328(r31) /* 8009D744 0009A6A4 98 BF 03 2C */ stb r5, 0x32c(r31) /* 8009D748 0009A6A8 48 2A 36 3D */ bl Lock__6CTokenFv /* 8009D74C 0009A6AC 38 7F 00 30 */ addi r3, r31, 0x30 /* 8009D750 0009A6B0 48 2A 36 35 */ bl Lock__6CTokenFv /* 8009D754 0009A6B4 7F 43 D3 78 */ mr r3, r26 /* 8009D758 0009A6B8 48 2A 36 2D */ bl Lock__6CTokenFv /* 8009D75C 0009A6BC 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) /* 8009D760 0009A6C0 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8009D764 0009A6C4 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8009D768 0009A6C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D76C 0009A6CC 80 C5 00 04 */ lwz r6, 4(r5) /* 8009D770 0009A6D0 38 61 00 9C */ addi r3, r1, 0x9c /* 8009D774 0009A6D4 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 8009D778 0009A6D8 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8009D77C 0009A6DC 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 8009D780 0009A6E0 81 84 00 00 */ lwz r12, 0(r4) /* 8009D784 0009A6E4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009D788 0009A6E8 7D 89 03 A6 */ mtctr r12 /* 8009D78C 0009A6EC 4E 80 04 21 */ bctrl /* 8009D790 0009A6F0 38 7F 00 48 */ addi r3, r31, 0x48 /* 8009D794 0009A6F4 80 1F 00 48 */ lwz r0, 0x48(r31) /* 8009D798 0009A6F8 54 00 18 38 */ slwi r0, r0, 3 /* 8009D79C 0009A6FC 7C 63 02 14 */ add r3, r3, r0 /* 8009D7A0 0009A700 34 63 00 04 */ addic. r3, r3, 4 /* 8009D7A4 0009A704 41 82 00 0C */ beq lbl_8009D7B0 /* 8009D7A8 0009A708 38 81 00 9C */ addi r4, r1, 0x9c /* 8009D7AC 0009A70C 48 2A 36 FD */ bl __ct__6CTokenFRC6CToken lbl_8009D7B0: /* 8009D7B0 0009A710 80 BF 00 48 */ lwz r5, 0x48(r31) /* 8009D7B4 0009A714 38 61 00 9C */ addi r3, r1, 0x9c /* 8009D7B8 0009A718 38 80 FF FF */ li r4, -1 /* 8009D7BC 0009A71C 38 05 00 01 */ addi r0, r5, 1 /* 8009D7C0 0009A720 90 1F 00 48 */ stw r0, 0x48(r31) /* 8009D7C4 0009A724 48 2A 36 7D */ bl __dt__6CTokenFv /* 8009D7C8 0009A728 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) /* 8009D7CC 0009A72C 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8009D7D0 0009A730 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8009D7D4 0009A734 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D7D8 0009A738 80 C5 00 08 */ lwz r6, 8(r5) /* 8009D7DC 0009A73C 38 61 00 8C */ addi r3, r1, 0x8c /* 8009D7E0 0009A740 38 A1 00 94 */ addi r5, r1, 0x94 /* 8009D7E4 0009A744 90 01 00 94 */ stw r0, 0x94(r1) /* 8009D7E8 0009A748 90 C1 00 98 */ stw r6, 0x98(r1) /* 8009D7EC 0009A74C 81 84 00 00 */ lwz r12, 0(r4) /* 8009D7F0 0009A750 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009D7F4 0009A754 7D 89 03 A6 */ mtctr r12 /* 8009D7F8 0009A758 4E 80 04 21 */ bctrl /* 8009D7FC 0009A75C 38 7F 00 48 */ addi r3, r31, 0x48 /* 8009D800 0009A760 80 1F 00 48 */ lwz r0, 0x48(r31) /* 8009D804 0009A764 54 00 18 38 */ slwi r0, r0, 3 /* 8009D808 0009A768 7C 63 02 14 */ add r3, r3, r0 /* 8009D80C 0009A76C 34 63 00 04 */ addic. r3, r3, 4 /* 8009D810 0009A770 41 82 00 0C */ beq lbl_8009D81C /* 8009D814 0009A774 38 81 00 8C */ addi r4, r1, 0x8c /* 8009D818 0009A778 48 2A 36 91 */ bl __ct__6CTokenFRC6CToken lbl_8009D81C: /* 8009D81C 0009A77C 80 BF 00 48 */ lwz r5, 0x48(r31) /* 8009D820 0009A780 38 61 00 8C */ addi r3, r1, 0x8c /* 8009D824 0009A784 38 80 FF FF */ li r4, -1 /* 8009D828 0009A788 38 05 00 01 */ addi r0, r5, 1 /* 8009D82C 0009A78C 90 1F 00 48 */ stw r0, 0x48(r31) /* 8009D830 0009A790 48 2A 36 11 */ bl __dt__6CTokenFv /* 8009D834 0009A794 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) /* 8009D838 0009A798 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8009D83C 0009A79C 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8009D840 0009A7A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D844 0009A7A4 80 C5 00 0C */ lwz r6, 0xc(r5) /* 8009D848 0009A7A8 38 61 00 7C */ addi r3, r1, 0x7c /* 8009D84C 0009A7AC 38 A1 00 84 */ addi r5, r1, 0x84 /* 8009D850 0009A7B0 90 01 00 84 */ stw r0, 0x84(r1) /* 8009D854 0009A7B4 90 C1 00 88 */ stw r6, 0x88(r1) /* 8009D858 0009A7B8 81 84 00 00 */ lwz r12, 0(r4) /* 8009D85C 0009A7BC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009D860 0009A7C0 7D 89 03 A6 */ mtctr r12 /* 8009D864 0009A7C4 4E 80 04 21 */ bctrl /* 8009D868 0009A7C8 38 7F 00 48 */ addi r3, r31, 0x48 /* 8009D86C 0009A7CC 80 1F 00 48 */ lwz r0, 0x48(r31) /* 8009D870 0009A7D0 54 00 18 38 */ slwi r0, r0, 3 /* 8009D874 0009A7D4 7C 63 02 14 */ add r3, r3, r0 /* 8009D878 0009A7D8 34 63 00 04 */ addic. r3, r3, 4 /* 8009D87C 0009A7DC 41 82 00 0C */ beq lbl_8009D888 /* 8009D880 0009A7E0 38 81 00 7C */ addi r4, r1, 0x7c /* 8009D884 0009A7E4 48 2A 36 25 */ bl __ct__6CTokenFRC6CToken lbl_8009D888: /* 8009D888 0009A7E8 80 BF 00 48 */ lwz r5, 0x48(r31) /* 8009D88C 0009A7EC 38 61 00 7C */ addi r3, r1, 0x7c /* 8009D890 0009A7F0 38 80 FF FF */ li r4, -1 /* 8009D894 0009A7F4 38 05 00 01 */ addi r0, r5, 1 /* 8009D898 0009A7F8 90 1F 00 48 */ stw r0, 0x48(r31) /* 8009D89C 0009A7FC 48 2A 35 A5 */ bl __dt__6CTokenFv /* 8009D8A0 0009A800 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) /* 8009D8A4 0009A804 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8009D8A8 0009A808 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8009D8AC 0009A80C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D8B0 0009A810 80 C5 00 10 */ lwz r6, 0x10(r5) /* 8009D8B4 0009A814 38 61 00 6C */ addi r3, r1, 0x6c /* 8009D8B8 0009A818 38 A1 00 74 */ addi r5, r1, 0x74 /* 8009D8BC 0009A81C 90 01 00 74 */ stw r0, 0x74(r1) /* 8009D8C0 0009A820 90 C1 00 78 */ stw r6, 0x78(r1) /* 8009D8C4 0009A824 81 84 00 00 */ lwz r12, 0(r4) /* 8009D8C8 0009A828 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009D8CC 0009A82C 7D 89 03 A6 */ mtctr r12 /* 8009D8D0 0009A830 4E 80 04 21 */ bctrl /* 8009D8D4 0009A834 38 7F 00 48 */ addi r3, r31, 0x48 /* 8009D8D8 0009A838 80 1F 00 48 */ lwz r0, 0x48(r31) /* 8009D8DC 0009A83C 54 00 18 38 */ slwi r0, r0, 3 /* 8009D8E0 0009A840 7C 63 02 14 */ add r3, r3, r0 /* 8009D8E4 0009A844 34 63 00 04 */ addic. r3, r3, 4 /* 8009D8E8 0009A848 41 82 00 0C */ beq lbl_8009D8F4 /* 8009D8EC 0009A84C 38 81 00 6C */ addi r4, r1, 0x6c /* 8009D8F0 0009A850 48 2A 35 B9 */ bl __ct__6CTokenFRC6CToken lbl_8009D8F4: /* 8009D8F4 0009A854 80 BF 00 48 */ lwz r5, 0x48(r31) /* 8009D8F8 0009A858 38 61 00 6C */ addi r3, r1, 0x6c /* 8009D8FC 0009A85C 38 80 FF FF */ li r4, -1 /* 8009D900 0009A860 38 05 00 01 */ addi r0, r5, 1 /* 8009D904 0009A864 90 1F 00 48 */ stw r0, 0x48(r31) /* 8009D908 0009A868 48 2A 35 39 */ bl __dt__6CTokenFv /* 8009D90C 0009A86C 80 AD A1 4C */ lwz r5, gpTweakPlayerRes@sda21(r13) /* 8009D910 0009A870 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8009D914 0009A874 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8009D918 0009A878 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D91C 0009A87C 80 C5 00 14 */ lwz r6, 0x14(r5) /* 8009D920 0009A880 38 61 00 5C */ addi r3, r1, 0x5c /* 8009D924 0009A884 38 A1 00 64 */ addi r5, r1, 0x64 /* 8009D928 0009A888 90 01 00 64 */ stw r0, 0x64(r1) /* 8009D92C 0009A88C 90 C1 00 68 */ stw r6, 0x68(r1) /* 8009D930 0009A890 81 84 00 00 */ lwz r12, 0(r4) /* 8009D934 0009A894 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009D938 0009A898 7D 89 03 A6 */ mtctr r12 /* 8009D93C 0009A89C 4E 80 04 21 */ bctrl /* 8009D940 0009A8A0 38 7F 00 48 */ addi r3, r31, 0x48 /* 8009D944 0009A8A4 80 1F 00 48 */ lwz r0, 0x48(r31) /* 8009D948 0009A8A8 54 00 18 38 */ slwi r0, r0, 3 /* 8009D94C 0009A8AC 7C 63 02 14 */ add r3, r3, r0 /* 8009D950 0009A8B0 34 63 00 04 */ addic. r3, r3, 4 /* 8009D954 0009A8B4 41 82 00 0C */ beq lbl_8009D960 /* 8009D958 0009A8B8 38 81 00 5C */ addi r4, r1, 0x5c /* 8009D95C 0009A8BC 48 2A 35 4D */ bl __ct__6CTokenFRC6CToken lbl_8009D960: /* 8009D960 0009A8C0 80 BF 00 48 */ lwz r5, 0x48(r31) /* 8009D964 0009A8C4 38 61 00 5C */ addi r3, r1, 0x5c /* 8009D968 0009A8C8 38 80 FF FF */ li r4, -1 /* 8009D96C 0009A8CC 38 05 00 01 */ addi r0, r5, 1 /* 8009D970 0009A8D0 90 1F 00 48 */ stw r0, 0x48(r31) /* 8009D974 0009A8D4 48 2A 34 CD */ bl __dt__6CTokenFv /* 8009D978 0009A8D8 3B 5F 00 4C */ addi r26, r31, 0x4c /* 8009D97C 0009A8DC 3B 3F 00 48 */ addi r25, r31, 0x48 /* 8009D980 0009A8E0 48 00 00 10 */ b lbl_8009D990 lbl_8009D984: /* 8009D984 0009A8E4 7F 43 D3 78 */ mr r3, r26 /* 8009D988 0009A8E8 48 2A 33 FD */ bl Lock__6CTokenFv /* 8009D98C 0009A8EC 3B 5A 00 08 */ addi r26, r26, 8 lbl_8009D990: /* 8009D990 0009A8F0 80 19 00 00 */ lwz r0, 0(r25) /* 8009D994 0009A8F4 54 00 18 38 */ slwi r0, r0, 3 /* 8009D998 0009A8F8 7C 79 02 14 */ add r3, r25, r0 /* 8009D99C 0009A8FC 38 03 00 04 */ addi r0, r3, 4 /* 8009D9A0 0009A900 7C 1A 00 40 */ cmplw r26, r0 /* 8009D9A4 0009A904 40 82 FF E0 */ bne lbl_8009D984 /* 8009D9A8 0009A908 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8009D9AC 0009A90C 3B 9F 02 10 */ addi r28, r31, 0x210 /* 8009D9B0 0009A910 3B C3 54 52 */ addi r30, r3, 0x54585452@l /* 8009D9B4 0009A914 3B 7F 02 5C */ addi r27, r31, 0x25c /* 8009D9B8 0009A918 3B 40 00 00 */ li r26, 0 /* 8009D9BC 0009A91C 3B A0 00 00 */ li r29, 0 lbl_8009D9C0: /* 8009D9C0 0009A920 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) /* 8009D9C4 0009A924 38 61 00 4C */ addi r3, r1, 0x4c /* 8009D9C8 0009A928 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009D9CC 0009A92C 38 A1 00 54 */ addi r5, r1, 0x54 /* 8009D9D0 0009A930 7C C0 EA 14 */ add r6, r0, r29 /* 8009D9D4 0009A934 80 06 00 24 */ lwz r0, 0x24(r6) /* 8009D9D8 0009A938 93 C1 00 54 */ stw r30, 0x54(r1) /* 8009D9DC 0009A93C 90 01 00 58 */ stw r0, 0x58(r1) /* 8009D9E0 0009A940 81 84 00 00 */ lwz r12, 0(r4) /* 8009D9E4 0009A944 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009D9E8 0009A948 7D 89 03 A6 */ mtctr r12 /* 8009D9EC 0009A94C 4E 80 04 21 */ bctrl /* 8009D9F0 0009A950 80 1C 00 00 */ lwz r0, 0(r28) /* 8009D9F4 0009A954 54 00 18 38 */ slwi r0, r0, 3 /* 8009D9F8 0009A958 7C 7C 02 14 */ add r3, r28, r0 /* 8009D9FC 0009A95C 34 63 00 04 */ addic. r3, r3, 4 /* 8009DA00 0009A960 41 82 00 0C */ beq lbl_8009DA0C /* 8009DA04 0009A964 38 81 00 4C */ addi r4, r1, 0x4c /* 8009DA08 0009A968 48 2A 34 A1 */ bl __ct__6CTokenFRC6CToken lbl_8009DA0C: /* 8009DA0C 0009A96C 80 BF 02 10 */ lwz r5, 0x210(r31) /* 8009DA10 0009A970 38 61 00 4C */ addi r3, r1, 0x4c /* 8009DA14 0009A974 38 80 FF FF */ li r4, -1 /* 8009DA18 0009A978 38 05 00 01 */ addi r0, r5, 1 /* 8009DA1C 0009A97C 90 1F 02 10 */ stw r0, 0x210(r31) /* 8009DA20 0009A980 48 2A 34 21 */ bl __dt__6CTokenFv /* 8009DA24 0009A984 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) /* 8009DA28 0009A988 38 61 00 3C */ addi r3, r1, 0x3c /* 8009DA2C 0009A98C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009DA30 0009A990 38 A1 00 44 */ addi r5, r1, 0x44 /* 8009DA34 0009A994 7C C0 EA 14 */ add r6, r0, r29 /* 8009DA38 0009A998 80 06 00 4C */ lwz r0, 0x4c(r6) /* 8009DA3C 0009A99C 93 C1 00 44 */ stw r30, 0x44(r1) /* 8009DA40 0009A9A0 90 01 00 48 */ stw r0, 0x48(r1) /* 8009DA44 0009A9A4 81 84 00 00 */ lwz r12, 0(r4) /* 8009DA48 0009A9A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009DA4C 0009A9AC 7D 89 03 A6 */ mtctr r12 /* 8009DA50 0009A9B0 4E 80 04 21 */ bctrl /* 8009DA54 0009A9B4 80 1B 00 00 */ lwz r0, 0(r27) /* 8009DA58 0009A9B8 54 00 18 38 */ slwi r0, r0, 3 /* 8009DA5C 0009A9BC 7C 7B 02 14 */ add r3, r27, r0 /* 8009DA60 0009A9C0 34 63 00 04 */ addic. r3, r3, 4 /* 8009DA64 0009A9C4 41 82 00 0C */ beq lbl_8009DA70 /* 8009DA68 0009A9C8 38 81 00 3C */ addi r4, r1, 0x3c /* 8009DA6C 0009A9CC 48 2A 34 3D */ bl __ct__6CTokenFRC6CToken lbl_8009DA70: /* 8009DA70 0009A9D0 80 BF 02 5C */ lwz r5, 0x25c(r31) /* 8009DA74 0009A9D4 38 61 00 3C */ addi r3, r1, 0x3c /* 8009DA78 0009A9D8 38 80 FF FF */ li r4, -1 /* 8009DA7C 0009A9DC 38 05 00 01 */ addi r0, r5, 1 /* 8009DA80 0009A9E0 90 1F 02 5C */ stw r0, 0x25c(r31) /* 8009DA84 0009A9E4 48 2A 33 BD */ bl __dt__6CTokenFv /* 8009DA88 0009A9E8 3B 5A 00 01 */ addi r26, r26, 1 /* 8009DA8C 0009A9EC 3B BD 00 04 */ addi r29, r29, 4 /* 8009DA90 0009A9F0 2C 1A 00 09 */ cmpwi r26, 9 /* 8009DA94 0009A9F4 41 80 FF 2C */ blt lbl_8009D9C0 /* 8009DA98 0009A9F8 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8009DA9C 0009A9FC 3B 7F 02 A8 */ addi r27, r31, 0x2a8 /* 8009DAA0 0009AA00 3B C3 54 52 */ addi r30, r3, 0x54585452@l /* 8009DAA4 0009AA04 3B 9F 02 BC */ addi r28, r31, 0x2bc /* 8009DAA8 0009AA08 3B 5F 02 D0 */ addi r26, r31, 0x2d0 /* 8009DAAC 0009AA0C 3B 20 00 00 */ li r25, 0 /* 8009DAB0 0009AA10 3B A0 00 00 */ li r29, 0 lbl_8009DAB4: /* 8009DAB4 0009AA14 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) /* 8009DAB8 0009AA18 38 61 00 2C */ addi r3, r1, 0x2c /* 8009DABC 0009AA1C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009DAC0 0009AA20 38 A1 00 34 */ addi r5, r1, 0x34 /* 8009DAC4 0009AA24 7C C0 EA 14 */ add r6, r0, r29 /* 8009DAC8 0009AA28 80 06 00 74 */ lwz r0, 0x74(r6) /* 8009DACC 0009AA2C 93 C1 00 34 */ stw r30, 0x34(r1) /* 8009DAD0 0009AA30 90 01 00 38 */ stw r0, 0x38(r1) /* 8009DAD4 0009AA34 81 84 00 00 */ lwz r12, 0(r4) /* 8009DAD8 0009AA38 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009DADC 0009AA3C 7D 89 03 A6 */ mtctr r12 /* 8009DAE0 0009AA40 4E 80 04 21 */ bctrl /* 8009DAE4 0009AA44 80 1B 00 00 */ lwz r0, 0(r27) /* 8009DAE8 0009AA48 54 00 18 38 */ slwi r0, r0, 3 /* 8009DAEC 0009AA4C 7C 7B 02 14 */ add r3, r27, r0 /* 8009DAF0 0009AA50 34 63 00 04 */ addic. r3, r3, 4 /* 8009DAF4 0009AA54 41 82 00 0C */ beq lbl_8009DB00 /* 8009DAF8 0009AA58 38 81 00 2C */ addi r4, r1, 0x2c /* 8009DAFC 0009AA5C 48 2A 33 AD */ bl __ct__6CTokenFRC6CToken lbl_8009DB00: /* 8009DB00 0009AA60 80 BF 02 A8 */ lwz r5, 0x2a8(r31) /* 8009DB04 0009AA64 38 61 00 2C */ addi r3, r1, 0x2c /* 8009DB08 0009AA68 38 80 FF FF */ li r4, -1 /* 8009DB0C 0009AA6C 38 05 00 01 */ addi r0, r5, 1 /* 8009DB10 0009AA70 90 1F 02 A8 */ stw r0, 0x2a8(r31) /* 8009DB14 0009AA74 48 2A 33 2D */ bl __dt__6CTokenFv /* 8009DB18 0009AA78 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) /* 8009DB1C 0009AA7C 38 61 00 1C */ addi r3, r1, 0x1c /* 8009DB20 0009AA80 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009DB24 0009AA84 38 A1 00 24 */ addi r5, r1, 0x24 /* 8009DB28 0009AA88 7C C0 EA 14 */ add r6, r0, r29 /* 8009DB2C 0009AA8C 80 06 00 80 */ lwz r0, 0x80(r6) /* 8009DB30 0009AA90 93 C1 00 24 */ stw r30, 0x24(r1) /* 8009DB34 0009AA94 90 01 00 28 */ stw r0, 0x28(r1) /* 8009DB38 0009AA98 81 84 00 00 */ lwz r12, 0(r4) /* 8009DB3C 0009AA9C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009DB40 0009AAA0 7D 89 03 A6 */ mtctr r12 /* 8009DB44 0009AAA4 4E 80 04 21 */ bctrl /* 8009DB48 0009AAA8 80 1C 00 00 */ lwz r0, 0(r28) /* 8009DB4C 0009AAAC 54 00 18 38 */ slwi r0, r0, 3 /* 8009DB50 0009AAB0 7C 7C 02 14 */ add r3, r28, r0 /* 8009DB54 0009AAB4 34 63 00 04 */ addic. r3, r3, 4 /* 8009DB58 0009AAB8 41 82 00 0C */ beq lbl_8009DB64 /* 8009DB5C 0009AABC 38 81 00 1C */ addi r4, r1, 0x1c /* 8009DB60 0009AAC0 48 2A 33 49 */ bl __ct__6CTokenFRC6CToken lbl_8009DB64: /* 8009DB64 0009AAC4 80 BF 02 BC */ lwz r5, 0x2bc(r31) /* 8009DB68 0009AAC8 38 61 00 1C */ addi r3, r1, 0x1c /* 8009DB6C 0009AACC 38 80 FF FF */ li r4, -1 /* 8009DB70 0009AAD0 38 05 00 01 */ addi r0, r5, 1 /* 8009DB74 0009AAD4 90 1F 02 BC */ stw r0, 0x2bc(r31) /* 8009DB78 0009AAD8 48 2A 32 C9 */ bl __dt__6CTokenFv /* 8009DB7C 0009AADC 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13) /* 8009DB80 0009AAE0 38 61 00 0C */ addi r3, r1, 0xc /* 8009DB84 0009AAE4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8009DB88 0009AAE8 38 A1 00 14 */ addi r5, r1, 0x14 /* 8009DB8C 0009AAEC 7C C0 EA 14 */ add r6, r0, r29 /* 8009DB90 0009AAF0 80 06 00 98 */ lwz r0, 0x98(r6) /* 8009DB94 0009AAF4 93 C1 00 14 */ stw r30, 0x14(r1) /* 8009DB98 0009AAF8 90 01 00 18 */ stw r0, 0x18(r1) /* 8009DB9C 0009AAFC 81 84 00 00 */ lwz r12, 0(r4) /* 8009DBA0 0009AB00 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8009DBA4 0009AB04 7D 89 03 A6 */ mtctr r12 /* 8009DBA8 0009AB08 4E 80 04 21 */ bctrl /* 8009DBAC 0009AB0C 80 1A 00 00 */ lwz r0, 0(r26) /* 8009DBB0 0009AB10 54 00 18 38 */ slwi r0, r0, 3 /* 8009DBB4 0009AB14 7C 7A 02 14 */ add r3, r26, r0 /* 8009DBB8 0009AB18 34 63 00 04 */ addic. r3, r3, 4 /* 8009DBBC 0009AB1C 41 82 00 0C */ beq lbl_8009DBC8 /* 8009DBC0 0009AB20 38 81 00 0C */ addi r4, r1, 0xc /* 8009DBC4 0009AB24 48 2A 32 E5 */ bl __ct__6CTokenFRC6CToken lbl_8009DBC8: /* 8009DBC8 0009AB28 80 BF 02 D0 */ lwz r5, 0x2d0(r31) /* 8009DBCC 0009AB2C 38 61 00 0C */ addi r3, r1, 0xc /* 8009DBD0 0009AB30 38 80 FF FF */ li r4, -1 /* 8009DBD4 0009AB34 38 05 00 01 */ addi r0, r5, 1 /* 8009DBD8 0009AB38 90 1F 02 D0 */ stw r0, 0x2d0(r31) /* 8009DBDC 0009AB3C 48 2A 32 65 */ bl __dt__6CTokenFv /* 8009DBE0 0009AB40 3B 39 00 01 */ addi r25, r25, 1 /* 8009DBE4 0009AB44 3B BD 00 04 */ addi r29, r29, 4 /* 8009DBE8 0009AB48 2C 19 00 02 */ cmpwi r25, 2 /* 8009DBEC 0009AB4C 41 80 FE C8 */ blt lbl_8009DAB4 /* 8009DBF0 0009AB50 7F E3 FB 78 */ mr r3, r31 /* 8009DBF4 0009AB54 BB 21 01 34 */ lmw r25, 0x134(r1) /* 8009DBF8 0009AB58 80 01 01 54 */ lwz r0, 0x154(r1) /* 8009DBFC 0009AB5C 7C 08 03 A6 */ mtlr r0 /* 8009DC00 0009AB60 38 21 01 50 */ addi r1, r1, 0x150 /* 8009DC04 0009AB64 4E 80 00 20 */ blr .global __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId __ct__Q211CAutoMapper23SAutoMapperHintLocationUifUi7TAreaId: /* 8009DC08 0009AB68 90 83 00 00 */ stw r4, 0(r3) /* 8009DC0C 0009AB6C D0 23 00 04 */ stfs f1, 4(r3) /* 8009DC10 0009AB70 90 A3 00 08 */ stw r5, 8(r3) /* 8009DC14 0009AB74 90 C3 00 0C */ stw r6, 0xc(r3) /* 8009DC18 0009AB78 4E 80 00 20 */ blr .global ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv ResetInterpolation__Q211CAutoMapper22SAutoMapperRenderStateFv: /* 8009DC1C 0009AB7C 38 00 00 00 */ li r0, 0 /* 8009DC20 0009AB80 90 03 00 44 */ stw r0, 0x44(r3) /* 8009DC24 0009AB84 90 03 00 48 */ stw r0, 0x48(r3) /* 8009DC28 0009AB88 90 03 00 4C */ stw r0, 0x4c(r3) /* 8009DC2C 0009AB8C 90 03 00 50 */ stw r0, 0x50(r3) /* 8009DC30 0009AB90 90 03 00 54 */ stw r0, 0x54(r3) /* 8009DC34 0009AB94 90 03 00 58 */ stw r0, 0x58(r3) /* 8009DC38 0009AB98 4E 80 00 20 */ blr .global InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef InterpolateWithClamp__Q211CAutoMapper22SAutoMapperRenderStateFRCQ211CAutoMapper22SAutoMapperRenderStateRQ211CAutoMapper22SAutoMapperRenderStateRCQ211CAutoMapper22SAutoMapperRenderStatef: /* 8009DC3C 0009AB9C 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8009DC40 0009ABA0 7C 08 02 A6 */ mflr r0 /* 8009DC44 0009ABA4 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8009DC48 0009ABA8 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 8009DC4C 0009ABAC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 8009DC50 0009ABB0 DB C1 00 B0 */ stfd f30, 0xb0(r1) /* 8009DC54 0009ABB4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 /* 8009DC58 0009ABB8 DB A1 00 A0 */ stfd f29, 0xa0(r1) /* 8009DC5C 0009ABBC F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 /* 8009DC60 0009ABC0 DB 81 00 90 */ stfd f28, 0x90(r1) /* 8009DC64 0009ABC4 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 /* 8009DC68 0009ABC8 93 E1 00 8C */ stw r31, 0x8c(r1) /* 8009DC6C 0009ABCC 93 C1 00 88 */ stw r30, 0x88(r1) /* 8009DC70 0009ABD0 93 A1 00 84 */ stw r29, 0x84(r1) /* 8009DC74 0009ABD4 D0 21 00 08 */ stfs f1, 8(r1) /* 8009DC78 0009ABD8 7C 7D 1B 78 */ mr r29, r3 /* 8009DC7C 0009ABDC 7C 9E 23 78 */ mr r30, r4 /* 8009DC80 0009ABE0 7C BF 2B 78 */ mr r31, r5 /* 8009DC84 0009ABE4 38 81 00 08 */ addi r4, r1, 8 /* 8009DC88 0009ABE8 38 6D 85 A8 */ addi r3, r13, lbl_805A7168@sda21 /* 8009DC8C 0009ABEC 38 AD 85 AC */ addi r5, r13, lbl_805A716C@sda21 /* 8009DC90 0009ABF0 4B F6 E6 25 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8009DC94 0009ABF4 C3 E3 00 00 */ lfs f31, 0(r3) /* 8009DC98 0009ABF8 38 81 00 18 */ addi r4, r1, 0x18 /* 8009DC9C 0009ABFC 38 6D 85 B0 */ addi r3, r13, lbl_805A7170@sda21 /* 8009DCA0 0009AC00 38 AD 85 B4 */ addi r5, r13, lbl_805A7174@sda21 /* 8009DCA4 0009AC04 EC 1F 07 F2 */ fmuls f0, f31, f31 /* 8009DCA8 0009AC08 EC 1F 00 32 */ fmuls f0, f31, f0 /* 8009DCAC 0009AC0C D0 01 00 18 */ stfs f0, 0x18(r1) /* 8009DCB0 0009AC10 4B F6 E6 05 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8009DCB4 0009AC14 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009DCB8 0009AC18 38 81 00 14 */ addi r4, r1, 0x14 /* 8009DCBC 0009AC1C C3 C3 00 00 */ lfs f30, 0(r3) /* 8009DCC0 0009AC20 38 6D 85 B8 */ addi r3, r13, lbl_805A7178@sda21 /* 8009DCC4 0009AC24 EF A1 F8 28 */ fsubs f29, f1, f31 /* 8009DCC8 0009AC28 38 AD 85 BC */ addi r5, r13, lbl_805A717C@sda21 /* 8009DCCC 0009AC2C EC 1D 07 72 */ fmuls f0, f29, f29 /* 8009DCD0 0009AC30 EC 1D 00 32 */ fmuls f0, f29, f0 /* 8009DCD4 0009AC34 EC 01 00 28 */ fsubs f0, f1, f0 /* 8009DCD8 0009AC38 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8009DCDC 0009AC3C 4B F6 E5 D9 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8009DCE0 0009AC40 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) /* 8009DCE4 0009AC44 C3 83 00 00 */ lfs f28, 0(r3) /* 8009DCE8 0009AC48 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8009DCEC 0009AC4C 4C 41 13 82 */ cror 2, 1, 2 /* 8009DCF0 0009AC50 40 82 00 38 */ bne lbl_8009DD28 /* 8009DCF4 0009AC54 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) /* 8009DCF8 0009AC58 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 8009DCFC 0009AC5C EC 21 07 F8 */ fmsubs f1, f1, f31, f0 /* 8009DD00 0009AC60 48 27 78 01 */ bl SqrtF__5CMathFf /* 8009DD04 0009AC64 C0 02 8B 70 */ lfs f0, lbl_805AA890@sda21(r2) /* 8009DD08 0009AC68 38 81 00 10 */ addi r4, r1, 0x10 /* 8009DD0C 0009AC6C 38 6D 85 C0 */ addi r3, r13, lbl_805A7180@sda21 /* 8009DD10 0009AC70 38 AD 85 C4 */ addi r5, r13, lbl_805A7184@sda21 /* 8009DD14 0009AC74 EC 00 00 7A */ fmadds f0, f0, f1, f0 /* 8009DD18 0009AC78 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8009DD1C 0009AC7C 4B F6 E5 99 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8009DD20 0009AC80 C0 03 00 00 */ lfs f0, 0(r3) /* 8009DD24 0009AC84 48 00 00 3C */ b lbl_8009DD60 lbl_8009DD28: /* 8009DD28 0009AC88 C0 22 8B 90 */ lfs f1, lbl_805AA8B0@sda21(r2) /* 8009DD2C 0009AC8C C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 8009DD30 0009AC90 EC 21 07 78 */ fmsubs f1, f1, f29, f0 /* 8009DD34 0009AC94 48 27 77 CD */ bl SqrtF__5CMathFf /* 8009DD38 0009AC98 C0 42 8B 70 */ lfs f2, lbl_805AA890@sda21(r2) /* 8009DD3C 0009AC9C 38 81 00 0C */ addi r4, r1, 0xc /* 8009DD40 0009ACA0 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 8009DD44 0009ACA4 38 6D 85 C8 */ addi r3, r13, lbl_805A7188@sda21 /* 8009DD48 0009ACA8 EC 22 10 7A */ fmadds f1, f2, f1, f2 /* 8009DD4C 0009ACAC 38 AD 85 CC */ addi r5, r13, lbl_805A718C@sda21 /* 8009DD50 0009ACB0 EC 00 08 28 */ fsubs f0, f0, f1 /* 8009DD54 0009ACB4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8009DD58 0009ACB8 4B F6 E5 5D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8009DD5C 0009ACBC C0 03 00 00 */ lfs f0, 0(r3) lbl_8009DD60: /* 8009DD60 0009ACC0 3C 60 80 3D */ lis r3, lbl_803CD7D8@ha /* 8009DD64 0009ACC4 80 FF 00 44 */ lwz r7, 0x44(r31) /* 8009DD68 0009ACC8 38 C3 D7 D8 */ addi r6, r3, lbl_803CD7D8@l /* 8009DD6C 0009ACCC 80 A6 00 04 */ lwz r5, 4(r6) /* 8009DD70 0009ACD0 2C 07 00 00 */ cmpwi r7, 0 /* 8009DD74 0009ACD4 80 86 00 08 */ lwz r4, 8(r6) /* 8009DD78 0009ACD8 80 66 00 0C */ lwz r3, 0xc(r6) /* 8009DD7C 0009ACDC 80 06 00 10 */ lwz r0, 0x10(r6) /* 8009DD80 0009ACE0 90 A1 00 38 */ stw r5, 0x38(r1) /* 8009DD84 0009ACE4 80 A6 00 00 */ lwz r5, 0(r6) /* 8009DD88 0009ACE8 90 81 00 3C */ stw r4, 0x3c(r1) /* 8009DD8C 0009ACEC 90 61 00 40 */ stw r3, 0x40(r1) /* 8009DD90 0009ACF0 90 01 00 44 */ stw r0, 0x44(r1) /* 8009DD94 0009ACF4 90 A1 00 34 */ stw r5, 0x34(r1) /* 8009DD98 0009ACF8 D3 E1 00 38 */ stfs f31, 0x38(r1) /* 8009DD9C 0009ACFC D3 81 00 3C */ stfs f28, 0x3c(r1) /* 8009DDA0 0009AD00 D3 C1 00 40 */ stfs f30, 0x40(r1) /* 8009DDA4 0009AD04 D0 01 00 44 */ stfs f0, 0x44(r1) /* 8009DDA8 0009AD08 41 82 00 C0 */ beq lbl_8009DE68 /* 8009DDAC 0009AD0C 80 7F 00 00 */ lwz r3, 0(r31) /* 8009DDB0 0009AD10 3C A0 43 30 */ lis r5, 0x4330 /* 8009DDB4 0009AD14 80 1F 00 04 */ lwz r0, 4(r31) /* 8009DDB8 0009AD18 54 E7 10 3A */ slwi r7, r7, 2 /* 8009DDBC 0009AD1C 6C 64 80 00 */ xoris r4, r3, 0x8000 /* 8009DDC0 0009AD20 80 DD 00 00 */ lwz r6, 0(r29) /* 8009DDC4 0009AD24 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8009DDC8 0009AD28 80 7D 00 04 */ lwz r3, 4(r29) /* 8009DDCC 0009AD2C 90 81 00 54 */ stw r4, 0x54(r1) /* 8009DDD0 0009AD30 6C C6 80 00 */ xoris r6, r6, 0x8000 /* 8009DDD4 0009AD34 6C 64 80 00 */ xoris r4, r3, 0x8000 /* 8009DDD8 0009AD38 C8 82 8B 88 */ lfd f4, lbl_805AA8A8@sda21(r2) /* 8009DDDC 0009AD3C 90 A1 00 50 */ stw r5, 0x50(r1) /* 8009DDE0 0009AD40 38 61 00 34 */ addi r3, r1, 0x34 /* 8009DDE4 0009AD44 7C 63 3C 2E */ lfsx f3, r3, r7 /* 8009DDE8 0009AD48 38 61 00 1C */ addi r3, r1, 0x1c /* 8009DDEC 0009AD4C C8 01 00 50 */ lfd f0, 0x50(r1) /* 8009DDF0 0009AD50 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009DDF4 0009AD54 EC 00 20 28 */ fsubs f0, f0, f4 /* 8009DDF8 0009AD58 90 01 00 6C */ stw r0, 0x6c(r1) /* 8009DDFC 0009AD5C EC A1 18 28 */ fsubs f5, f1, f3 /* 8009DE00 0009AD60 90 A1 00 68 */ stw r5, 0x68(r1) /* 8009DE04 0009AD64 EC 43 00 32 */ fmuls f2, f3, f0 /* 8009DE08 0009AD68 C8 01 00 68 */ lfd f0, 0x68(r1) /* 8009DE0C 0009AD6C 90 C1 00 4C */ stw r6, 0x4c(r1) /* 8009DE10 0009AD70 EC 00 20 28 */ fsubs f0, f0, f4 /* 8009DE14 0009AD74 90 A1 00 48 */ stw r5, 0x48(r1) /* 8009DE18 0009AD78 C8 21 00 48 */ lfd f1, 0x48(r1) /* 8009DE1C 0009AD7C EC 03 00 32 */ fmuls f0, f3, f0 /* 8009DE20 0009AD80 90 81 00 64 */ stw r4, 0x64(r1) /* 8009DE24 0009AD84 EC 61 20 28 */ fsubs f3, f1, f4 /* 8009DE28 0009AD88 90 A1 00 60 */ stw r5, 0x60(r1) /* 8009DE2C 0009AD8C C8 21 00 60 */ lfd f1, 0x60(r1) /* 8009DE30 0009AD90 EC 45 10 FA */ fmadds f2, f5, f3, f2 /* 8009DE34 0009AD94 EC 21 20 28 */ fsubs f1, f1, f4 /* 8009DE38 0009AD98 FC 40 10 1E */ fctiwz f2, f2 /* 8009DE3C 0009AD9C EC 05 00 7A */ fmadds f0, f5, f1, f0 /* 8009DE40 0009ADA0 D8 41 00 58 */ stfd f2, 0x58(r1) /* 8009DE44 0009ADA4 FC 00 00 1E */ fctiwz f0, f0 /* 8009DE48 0009ADA8 80 81 00 5C */ lwz r4, 0x5c(r1) /* 8009DE4C 0009ADAC D8 01 00 70 */ stfd f0, 0x70(r1) /* 8009DE50 0009ADB0 80 A1 00 74 */ lwz r5, 0x74(r1) /* 8009DE54 0009ADB4 48 27 64 F9 */ bl __ct__9CVector2iFii /* 8009DE58 0009ADB8 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8009DE5C 0009ADBC 90 1E 00 00 */ stw r0, 0(r30) /* 8009DE60 0009ADC0 80 01 00 20 */ lwz r0, 0x20(r1) /* 8009DE64 0009ADC4 90 1E 00 04 */ stw r0, 4(r30) lbl_8009DE68: /* 8009DE68 0009ADC8 80 1F 00 48 */ lwz r0, 0x48(r31) /* 8009DE6C 0009ADCC 2C 00 00 00 */ cmpwi r0, 0 /* 8009DE70 0009ADD0 41 82 00 74 */ beq lbl_8009DEE4 /* 8009DE74 0009ADD4 54 00 10 3A */ slwi r0, r0, 2 /* 8009DE78 0009ADD8 38 61 00 34 */ addi r3, r1, 0x34 /* 8009DE7C 0009ADDC 7F 83 04 2E */ lfsx f28, r3, r0 /* 8009DE80 0009ADE0 38 61 00 24 */ addi r3, r1, 0x24 /* 8009DE84 0009ADE4 38 9D 00 08 */ addi r4, r29, 8 /* 8009DE88 0009ADE8 38 BF 00 08 */ addi r5, r31, 8 /* 8009DE8C 0009ADEC FC 20 E0 90 */ fmr f1, f28 /* 8009DE90 0009ADF0 48 27 3E 69 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf /* 8009DE94 0009ADF4 C0 21 00 24 */ lfs f1, 0x24(r1) /* 8009DE98 0009ADF8 C0 02 8B 80 */ lfs f0, lbl_805AA8A0@sda21(r2) /* 8009DE9C 0009ADFC D0 3E 00 08 */ stfs f1, 8(r30) /* 8009DEA0 0009AE00 EC 40 E0 28 */ fsubs f2, f0, f28 /* 8009DEA4 0009AE04 80 61 00 28 */ lwz r3, 0x28(r1) /* 8009DEA8 0009AE08 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8009DEAC 0009AE0C 90 7E 00 0C */ stw r3, 0xc(r30) /* 8009DEB0 0009AE10 90 1E 00 10 */ stw r0, 0x10(r30) /* 8009DEB4 0009AE14 80 01 00 30 */ lwz r0, 0x30(r1) /* 8009DEB8 0009AE18 90 1E 00 14 */ stw r0, 0x14(r30) /* 8009DEBC 0009AE1C C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8009DEC0 0009AE20 C0 3D 00 18 */ lfs f1, 0x18(r29) /* 8009DEC4 0009AE24 EC 00 07 32 */ fmuls f0, f0, f28 /* 8009DEC8 0009AE28 EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 8009DECC 0009AE2C D0 1E 00 18 */ stfs f0, 0x18(r30) /* 8009DED0 0009AE30 C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8009DED4 0009AE34 C0 3D 00 1C */ lfs f1, 0x1c(r29) /* 8009DED8 0009AE38 EC 00 07 32 */ fmuls f0, f0, f28 /* 8009DEDC 0009AE3C EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 8009DEE0 0009AE40 D0 1E 00 1C */ stfs f0, 0x1c(r30) lbl_8009DEE4: /* 8009DEE4 0009AE44 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 8009DEE8 0009AE48 2C 00 00 00 */ cmpwi r0, 0 /* 8009DEEC 0009AE4C 41 82 00 54 */ beq lbl_8009DF40 /* 8009DEF0 0009AE50 54 00 10 3A */ slwi r0, r0, 2 /* 8009DEF4 0009AE54 38 61 00 34 */ addi r3, r1, 0x34 /* 8009DEF8 0009AE58 7C E3 04 2E */ lfsx f7, r3, r0 /* 8009DEFC 0009AE5C C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009DF00 0009AE60 C0 1F 00 20 */ lfs f0, 0x20(r31) /* 8009DF04 0009AE64 C0 7F 00 24 */ lfs f3, 0x24(r31) /* 8009DF08 0009AE68 EC C1 38 28 */ fsubs f6, f1, f7 /* 8009DF0C 0009AE6C C0 5F 00 28 */ lfs f2, 0x28(r31) /* 8009DF10 0009AE70 EC 00 01 F2 */ fmuls f0, f0, f7 /* 8009DF14 0009AE74 C0 3D 00 20 */ lfs f1, 0x20(r29) /* 8009DF18 0009AE78 EC 83 01 F2 */ fmuls f4, f3, f7 /* 8009DF1C 0009AE7C C0 BD 00 24 */ lfs f5, 0x24(r29) /* 8009DF20 0009AE80 EC 01 01 BA */ fmadds f0, f1, f6, f0 /* 8009DF24 0009AE84 C0 7D 00 28 */ lfs f3, 0x28(r29) /* 8009DF28 0009AE88 EC 22 01 F2 */ fmuls f1, f2, f7 /* 8009DF2C 0009AE8C EC 45 21 BA */ fmadds f2, f5, f6, f4 /* 8009DF30 0009AE90 D0 1E 00 20 */ stfs f0, 0x20(r30) /* 8009DF34 0009AE94 EC 03 09 BA */ fmadds f0, f3, f6, f1 /* 8009DF38 0009AE98 D0 5E 00 24 */ stfs f2, 0x24(r30) /* 8009DF3C 0009AE9C D0 1E 00 28 */ stfs f0, 0x28(r30) lbl_8009DF40: /* 8009DF40 0009AEA0 80 1F 00 50 */ lwz r0, 0x50(r31) /* 8009DF44 0009AEA4 2C 00 00 00 */ cmpwi r0, 0 /* 8009DF48 0009AEA8 41 82 00 2C */ beq lbl_8009DF74 /* 8009DF4C 0009AEAC 54 00 10 3A */ slwi r0, r0, 2 /* 8009DF50 0009AEB0 38 61 00 34 */ addi r3, r1, 0x34 /* 8009DF54 0009AEB4 7C 63 04 2E */ lfsx f3, r3, r0 /* 8009DF58 0009AEB8 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009DF5C 0009AEBC C0 1F 00 2C */ lfs f0, 0x2c(r31) /* 8009DF60 0009AEC0 EC 21 18 28 */ fsubs f1, f1, f3 /* 8009DF64 0009AEC4 C0 5D 00 2C */ lfs f2, 0x2c(r29) /* 8009DF68 0009AEC8 EC 00 00 F2 */ fmuls f0, f0, f3 /* 8009DF6C 0009AECC EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 8009DF70 0009AED0 D0 1E 00 2C */ stfs f0, 0x2c(r30) lbl_8009DF74: /* 8009DF74 0009AED4 80 1F 00 54 */ lwz r0, 0x54(r31) /* 8009DF78 0009AED8 2C 00 00 00 */ cmpwi r0, 0 /* 8009DF7C 0009AEDC 41 82 00 2C */ beq lbl_8009DFA8 /* 8009DF80 0009AEE0 54 00 10 3A */ slwi r0, r0, 2 /* 8009DF84 0009AEE4 38 61 00 34 */ addi r3, r1, 0x34 /* 8009DF88 0009AEE8 7C 63 04 2E */ lfsx f3, r3, r0 /* 8009DF8C 0009AEEC C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009DF90 0009AEF0 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 8009DF94 0009AEF4 EC 21 18 28 */ fsubs f1, f1, f3 /* 8009DF98 0009AEF8 C0 5D 00 30 */ lfs f2, 0x30(r29) /* 8009DF9C 0009AEFC EC 00 00 F2 */ fmuls f0, f0, f3 /* 8009DFA0 0009AF00 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 8009DFA4 0009AF04 D0 1E 00 30 */ stfs f0, 0x30(r30) lbl_8009DFA8: /* 8009DFA8 0009AF08 80 1F 00 58 */ lwz r0, 0x58(r31) /* 8009DFAC 0009AF0C 2C 00 00 00 */ cmpwi r0, 0 /* 8009DFB0 0009AF10 41 82 00 68 */ beq lbl_8009E018 /* 8009DFB4 0009AF14 54 00 10 3A */ slwi r0, r0, 2 /* 8009DFB8 0009AF18 38 61 00 34 */ addi r3, r1, 0x34 /* 8009DFBC 0009AF1C 7C 63 04 2E */ lfsx f3, r3, r0 /* 8009DFC0 0009AF20 C0 22 8B 80 */ lfs f1, lbl_805AA8A0@sda21(r2) /* 8009DFC4 0009AF24 C0 1F 00 34 */ lfs f0, 0x34(r31) /* 8009DFC8 0009AF28 EC 41 18 28 */ fsubs f2, f1, f3 /* 8009DFCC 0009AF2C C0 3D 00 34 */ lfs f1, 0x34(r29) /* 8009DFD0 0009AF30 EC 00 00 F2 */ fmuls f0, f0, f3 /* 8009DFD4 0009AF34 EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 8009DFD8 0009AF38 D0 1E 00 34 */ stfs f0, 0x34(r30) /* 8009DFDC 0009AF3C C0 1F 00 38 */ lfs f0, 0x38(r31) /* 8009DFE0 0009AF40 C0 3D 00 38 */ lfs f1, 0x38(r29) /* 8009DFE4 0009AF44 EC 00 00 F2 */ fmuls f0, f0, f3 /* 8009DFE8 0009AF48 EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 8009DFEC 0009AF4C D0 1E 00 38 */ stfs f0, 0x38(r30) /* 8009DFF0 0009AF50 C0 1F 00 3C */ lfs f0, 0x3c(r31) /* 8009DFF4 0009AF54 C0 3D 00 3C */ lfs f1, 0x3c(r29) /* 8009DFF8 0009AF58 EC 00 00 F2 */ fmuls f0, f0, f3 /* 8009DFFC 0009AF5C EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 8009E000 0009AF60 D0 1E 00 3C */ stfs f0, 0x3c(r30) /* 8009E004 0009AF64 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8009E008 0009AF68 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 8009E00C 0009AF6C EC 00 00 F2 */ fmuls f0, f0, f3 /* 8009E010 0009AF70 EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 8009E014 0009AF74 D0 1E 00 40 */ stfs f0, 0x40(r30) lbl_8009E018: /* 8009E018 0009AF78 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 8009E01C 0009AF7C CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 8009E020 0009AF80 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 /* 8009E024 0009AF84 CB C1 00 B0 */ lfd f30, 0xb0(r1) /* 8009E028 0009AF88 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 /* 8009E02C 0009AF8C CB A1 00 A0 */ lfd f29, 0xa0(r1) /* 8009E030 0009AF90 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 /* 8009E034 0009AF94 CB 81 00 90 */ lfd f28, 0x90(r1) /* 8009E038 0009AF98 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 8009E03C 0009AF9C 83 C1 00 88 */ lwz r30, 0x88(r1) /* 8009E040 0009AFA0 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8009E044 0009AFA4 83 A1 00 84 */ lwz r29, 0x84(r1) /* 8009E048 0009AFA8 7C 08 03 A6 */ mtlr r0 /* 8009E04C 0009AFAC 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8009E050 0009AFB0 4E 80 00 20 */ blr .global __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff __ct__Q211CAutoMapper22SAutoMapperRenderStateFRC9CVector2iRC11CQuaternionffRC9CVector3fffffff: /* 8009E054 0009AFB4 80 E4 00 00 */ lwz r7, 0(r4) /* 8009E058 0009AFB8 38 00 00 00 */ li r0, 0 /* 8009E05C 0009AFBC 90 E3 00 00 */ stw r7, 0(r3) /* 8009E060 0009AFC0 80 84 00 04 */ lwz r4, 4(r4) /* 8009E064 0009AFC4 90 83 00 04 */ stw r4, 4(r3) /* 8009E068 0009AFC8 C0 05 00 00 */ lfs f0, 0(r5) /* 8009E06C 0009AFCC D0 03 00 08 */ stfs f0, 8(r3) /* 8009E070 0009AFD0 C0 05 00 04 */ lfs f0, 4(r5) /* 8009E074 0009AFD4 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8009E078 0009AFD8 C0 05 00 08 */ lfs f0, 8(r5) /* 8009E07C 0009AFDC D0 03 00 10 */ stfs f0, 0x10(r3) /* 8009E080 0009AFE0 C0 05 00 0C */ lfs f0, 0xc(r5) /* 8009E084 0009AFE4 D0 03 00 14 */ stfs f0, 0x14(r3) /* 8009E088 0009AFE8 D0 23 00 18 */ stfs f1, 0x18(r3) /* 8009E08C 0009AFEC D0 43 00 1C */ stfs f2, 0x1c(r3) /* 8009E090 0009AFF0 C0 06 00 00 */ lfs f0, 0(r6) /* 8009E094 0009AFF4 D0 03 00 20 */ stfs f0, 0x20(r3) /* 8009E098 0009AFF8 C0 06 00 04 */ lfs f0, 4(r6) /* 8009E09C 0009AFFC D0 03 00 24 */ stfs f0, 0x24(r3) /* 8009E0A0 0009B000 C0 06 00 08 */ lfs f0, 8(r6) /* 8009E0A4 0009B004 D0 03 00 28 */ stfs f0, 0x28(r3) /* 8009E0A8 0009B008 D0 63 00 2C */ stfs f3, 0x2c(r3) /* 8009E0AC 0009B00C D0 83 00 30 */ stfs f4, 0x30(r3) /* 8009E0B0 0009B010 D0 A3 00 34 */ stfs f5, 0x34(r3) /* 8009E0B4 0009B014 D0 C3 00 38 */ stfs f6, 0x38(r3) /* 8009E0B8 0009B018 D0 E3 00 3C */ stfs f7, 0x3c(r3) /* 8009E0BC 0009B01C D1 03 00 40 */ stfs f8, 0x40(r3) /* 8009E0C0 0009B020 90 03 00 44 */ stw r0, 0x44(r3) /* 8009E0C4 0009B024 90 03 00 48 */ stw r0, 0x48(r3) /* 8009E0C8 0009B028 90 03 00 4C */ stw r0, 0x4c(r3) /* 8009E0CC 0009B02C 90 03 00 50 */ stw r0, 0x50(r3) /* 8009E0D0 0009B030 90 03 00 54 */ stw r0, 0x54(r3) /* 8009E0D4 0009B034 90 03 00 58 */ stw r0, 0x58(r3) /* 8009E0D8 0009B038 4E 80 00 20 */ blr .global "reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl61vector,Q24rstl17rmemory_allocator>Fi": /* 8009E0DC 0009B03C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8009E0E0 0009B040 7C 08 02 A6 */ mflr r0 /* 8009E0E4 0009B044 90 01 00 34 */ stw r0, 0x34(r1) /* 8009E0E8 0009B048 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8009E0EC 0009B04C 7C 9F 23 78 */ mr r31, r4 /* 8009E0F0 0009B050 7C 7E 1B 78 */ mr r30, r3 /* 8009E0F4 0009B054 80 03 00 08 */ lwz r0, 8(r3) /* 8009E0F8 0009B058 7C 1F 00 00 */ cmpw r31, r0 /* 8009E0FC 0009B05C 40 81 00 F0 */ ble lbl_8009E1EC /* 8009E100 0009B060 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c /* 8009E104 0009B064 40 82 00 0C */ bne lbl_8009E110 /* 8009E108 0009B068 3B A0 00 00 */ li r29, 0 /* 8009E10C 0009B06C 48 00 00 1C */ b lbl_8009E128 lbl_8009E110: /* 8009E110 0009B070 3C 80 80 3D */ lis r4, lbl_803CD80C@ha /* 8009E114 0009B074 38 A0 00 00 */ li r5, 0 /* 8009E118 0009B078 38 84 D8 0C */ addi r4, r4, lbl_803CD80C@l /* 8009E11C 0009B07C 38 84 00 0F */ addi r4, r4, 0xf /* 8009E120 0009B080 48 27 76 F9 */ bl __nwa__FUlPCcPCc /* 8009E124 0009B084 7C 7D 1B 78 */ mr r29, r3 lbl_8009E128: /* 8009E128 0009B088 80 7E 00 04 */ lwz r3, 4(r30) /* 8009E12C 0009B08C 7F A5 EB 78 */ mr r5, r29 /* 8009E130 0009B090 80 DE 00 0C */ lwz r6, 0xc(r30) /* 8009E134 0009B094 38 00 00 00 */ li r0, 0 /* 8009E138 0009B098 54 63 18 38 */ slwi r3, r3, 3 /* 8009E13C 0009B09C 7C 86 1A 14 */ add r4, r6, r3 /* 8009E140 0009B0A0 90 C1 00 10 */ stw r6, 0x10(r1) /* 8009E144 0009B0A4 90 81 00 08 */ stw r4, 8(r1) /* 8009E148 0009B0A8 90 81 00 0C */ stw r4, 0xc(r1) /* 8009E14C 0009B0AC 90 C1 00 14 */ stw r6, 0x14(r1) /* 8009E150 0009B0B0 48 00 00 28 */ b lbl_8009E178 lbl_8009E154: /* 8009E154 0009B0B4 28 05 00 00 */ cmplwi r5, 0 /* 8009E158 0009B0B8 41 82 00 18 */ beq lbl_8009E170 /* 8009E15C 0009B0BC 88 66 00 00 */ lbz r3, 0(r6) /* 8009E160 0009B0C0 98 65 00 00 */ stb r3, 0(r5) /* 8009E164 0009B0C4 80 66 00 04 */ lwz r3, 4(r6) /* 8009E168 0009B0C8 90 65 00 04 */ stw r3, 4(r5) /* 8009E16C 0009B0CC 98 06 00 00 */ stb r0, 0(r6) lbl_8009E170: /* 8009E170 0009B0D0 38 A5 00 08 */ addi r5, r5, 8 /* 8009E174 0009B0D4 38 C6 00 08 */ addi r6, r6, 8 lbl_8009E178: /* 8009E178 0009B0D8 7C 06 20 40 */ cmplw r6, r4 /* 8009E17C 0009B0DC 40 82 FF D8 */ bne lbl_8009E154 /* 8009E180 0009B0E0 80 1E 00 04 */ lwz r0, 4(r30) /* 8009E184 0009B0E4 83 7E 00 0C */ lwz r27, 0xc(r30) /* 8009E188 0009B0E8 54 00 18 38 */ slwi r0, r0, 3 /* 8009E18C 0009B0EC 7F 9B 02 14 */ add r28, r27, r0 /* 8009E190 0009B0F0 48 00 00 3C */ b lbl_8009E1CC lbl_8009E194: /* 8009E194 0009B0F4 28 1B 00 00 */ cmplwi r27, 0 /* 8009E198 0009B0F8 41 82 00 30 */ beq lbl_8009E1C8 /* 8009E19C 0009B0FC 88 1B 00 00 */ lbz r0, 0(r27) /* 8009E1A0 0009B100 28 00 00 00 */ cmplwi r0, 0 /* 8009E1A4 0009B104 41 82 00 24 */ beq lbl_8009E1C8 /* 8009E1A8 0009B108 80 7B 00 04 */ lwz r3, 4(r27) /* 8009E1AC 0009B10C 28 03 00 00 */ cmplwi r3, 0 /* 8009E1B0 0009B110 41 82 00 18 */ beq lbl_8009E1C8 /* 8009E1B4 0009B114 81 83 00 00 */ lwz r12, 0(r3) /* 8009E1B8 0009B118 38 80 00 01 */ li r4, 1 /* 8009E1BC 0009B11C 81 8C 00 08 */ lwz r12, 8(r12) /* 8009E1C0 0009B120 7D 89 03 A6 */ mtctr r12 /* 8009E1C4 0009B124 4E 80 04 21 */ bctrl lbl_8009E1C8: /* 8009E1C8 0009B128 3B 7B 00 08 */ addi r27, r27, 8 lbl_8009E1CC: /* 8009E1CC 0009B12C 7C 1B E0 40 */ cmplw r27, r28 /* 8009E1D0 0009B130 40 82 FF C4 */ bne lbl_8009E194 /* 8009E1D4 0009B134 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8009E1D8 0009B138 28 03 00 00 */ cmplwi r3, 0 /* 8009E1DC 0009B13C 41 82 00 08 */ beq lbl_8009E1E4 /* 8009E1E0 0009B140 48 27 77 51 */ bl Free__7CMemoryFPCv lbl_8009E1E4: /* 8009E1E4 0009B144 93 BE 00 0C */ stw r29, 0xc(r30) /* 8009E1E8 0009B148 93 FE 00 08 */ stw r31, 8(r30) lbl_8009E1EC: /* 8009E1EC 0009B14C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8009E1F0 0009B150 80 01 00 34 */ lwz r0, 0x34(r1) /* 8009E1F4 0009B154 7C 08 03 A6 */ mtlr r0 /* 8009E1F8 0009B158 38 21 00 30 */ addi r1, r1, 0x30 /* 8009E1FC 0009B15C 4E 80 00 20 */ blr .global sub_8009e200 sub_8009e200: /* 8009E200 0009B160 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8009E204 0009B164 7C 08 02 A6 */ mflr r0 /* 8009E208 0009B168 90 01 00 14 */ stw r0, 0x14(r1) /* 8009E20C 0009B16C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8009E210 0009B170 93 C1 00 08 */ stw r30, 8(r1) /* 8009E214 0009B174 7C 7E 1B 78 */ mr r30, r3 /* 8009E218 0009B178 80 03 00 04 */ lwz r0, 4(r3) /* 8009E21C 0009B17C 83 E4 00 04 */ lwz r31, 4(r4) /* 8009E220 0009B180 7C 04 00 40 */ cmplw r4, r0 /* 8009E224 0009B184 40 82 00 08 */ bne lbl_8009E22C /* 8009E228 0009B188 93 FE 00 04 */ stw r31, 4(r30) lbl_8009E22C: /* 8009E22C 0009B18C 80 04 00 04 */ lwz r0, 4(r4) /* 8009E230 0009B190 28 04 00 00 */ cmplwi r4, 0 /* 8009E234 0009B194 80 64 00 00 */ lwz r3, 0(r4) /* 8009E238 0009B198 90 03 00 04 */ stw r0, 4(r3) /* 8009E23C 0009B19C 80 04 00 00 */ lwz r0, 0(r4) /* 8009E240 0009B1A0 80 64 00 04 */ lwz r3, 4(r4) /* 8009E244 0009B1A4 90 03 00 00 */ stw r0, 0(r3) /* 8009E248 0009B1A8 41 82 00 0C */ beq lbl_8009E254 /* 8009E24C 0009B1AC 7C 83 23 78 */ mr r3, r4 /* 8009E250 0009B1B0 48 27 76 E1 */ bl Free__7CMemoryFPCv lbl_8009E254: /* 8009E254 0009B1B4 80 9E 00 14 */ lwz r4, 0x14(r30) /* 8009E258 0009B1B8 7F E3 FB 78 */ mr r3, r31 /* 8009E25C 0009B1BC 38 04 FF FF */ addi r0, r4, -1 /* 8009E260 0009B1C0 90 1E 00 14 */ stw r0, 0x14(r30) /* 8009E264 0009B1C4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8009E268 0009B1C8 83 C1 00 08 */ lwz r30, 8(r1) /* 8009E26C 0009B1CC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8009E270 0009B1D0 7C 08 03 A6 */ mtlr r0 /* 8009E274 0009B1D4 38 21 00 10 */ addi r1, r1, 0x10 /* 8009E278 0009B1D8 4E 80 00 20 */ blr .global sub_8009e27c sub_8009e27c: /* 8009E27C 0009B1DC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009E280 0009B1E0 7C 08 02 A6 */ mflr r0 /* 8009E284 0009B1E4 90 01 00 24 */ stw r0, 0x24(r1) /* 8009E288 0009B1E8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009E28C 0009B1EC 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009E290 0009B1F0 7C 9E 23 78 */ mr r30, r4 /* 8009E294 0009B1F4 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009E298 0009B1F8 7C 7D 1B 79 */ or. r29, r3, r3 /* 8009E29C 0009B1FC 41 82 00 38 */ beq lbl_8009E2D4 /* 8009E2A0 0009B200 83 FD 00 04 */ lwz r31, 4(r29) /* 8009E2A4 0009B204 48 00 00 14 */ b lbl_8009E2B8 lbl_8009E2A8: /* 8009E2A8 0009B208 7F E3 FB 79 */ or. r3, r31, r31 /* 8009E2AC 0009B20C 83 FF 00 04 */ lwz r31, 4(r31) /* 8009E2B0 0009B210 41 82 00 08 */ beq lbl_8009E2B8 /* 8009E2B4 0009B214 48 27 76 7D */ bl Free__7CMemoryFPCv lbl_8009E2B8: /* 8009E2B8 0009B218 80 1D 00 08 */ lwz r0, 8(r29) /* 8009E2BC 0009B21C 7C 1F 00 40 */ cmplw r31, r0 /* 8009E2C0 0009B220 40 82 FF E8 */ bne lbl_8009E2A8 /* 8009E2C4 0009B224 7F C0 07 35 */ extsh. r0, r30 /* 8009E2C8 0009B228 40 81 00 0C */ ble lbl_8009E2D4 /* 8009E2CC 0009B22C 7F A3 EB 78 */ mr r3, r29 /* 8009E2D0 0009B230 48 27 76 61 */ bl Free__7CMemoryFPCv lbl_8009E2D4: /* 8009E2D4 0009B234 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009E2D8 0009B238 7F A3 EB 78 */ mr r3, r29 /* 8009E2DC 0009B23C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009E2E0 0009B240 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009E2E4 0009B244 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009E2E8 0009B248 7C 08 03 A6 */ mtlr r0 /* 8009E2EC 0009B24C 38 21 00 20 */ addi r1, r1, 0x20 /* 8009E2F0 0009B250 4E 80 00 20 */ blr .global sub_8009e2f4 sub_8009e2f4: /* 8009E2F4 0009B254 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8009E2F8 0009B258 7C 08 02 A6 */ mflr r0 /* 8009E2FC 0009B25C 90 01 00 14 */ stw r0, 0x14(r1) /* 8009E300 0009B260 93 E1 00 0C */ stw r31, 0xc(r1) /* 8009E304 0009B264 93 C1 00 08 */ stw r30, 8(r1) /* 8009E308 0009B268 7C 7E 1B 78 */ mr r30, r3 /* 8009E30C 0009B26C 80 03 00 04 */ lwz r0, 4(r3) /* 8009E310 0009B270 83 E4 00 04 */ lwz r31, 4(r4) /* 8009E314 0009B274 7C 04 00 40 */ cmplw r4, r0 /* 8009E318 0009B278 40 82 00 08 */ bne lbl_8009E320 /* 8009E31C 0009B27C 93 FE 00 04 */ stw r31, 4(r30) lbl_8009E320: /* 8009E320 0009B280 80 04 00 04 */ lwz r0, 4(r4) /* 8009E324 0009B284 28 04 00 00 */ cmplwi r4, 0 /* 8009E328 0009B288 80 64 00 00 */ lwz r3, 0(r4) /* 8009E32C 0009B28C 90 03 00 04 */ stw r0, 4(r3) /* 8009E330 0009B290 80 04 00 00 */ lwz r0, 0(r4) /* 8009E334 0009B294 80 64 00 04 */ lwz r3, 4(r4) /* 8009E338 0009B298 90 03 00 00 */ stw r0, 0(r3) /* 8009E33C 0009B29C 41 82 00 0C */ beq lbl_8009E348 /* 8009E340 0009B2A0 7C 83 23 78 */ mr r3, r4 /* 8009E344 0009B2A4 48 27 75 ED */ bl Free__7CMemoryFPCv lbl_8009E348: /* 8009E348 0009B2A8 80 9E 00 14 */ lwz r4, 0x14(r30) /* 8009E34C 0009B2AC 7F E3 FB 78 */ mr r3, r31 /* 8009E350 0009B2B0 38 04 FF FF */ addi r0, r4, -1 /* 8009E354 0009B2B4 90 1E 00 14 */ stw r0, 0x14(r30) /* 8009E358 0009B2B8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8009E35C 0009B2BC 83 C1 00 08 */ lwz r30, 8(r1) /* 8009E360 0009B2C0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8009E364 0009B2C4 7C 08 03 A6 */ mtlr r0 /* 8009E368 0009B2C8 38 21 00 10 */ addi r1, r1, 0x10 /* 8009E36C 0009B2CC 4E 80 00 20 */ blr .global sub_8009e370 sub_8009e370: /* 8009E370 0009B2D0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8009E374 0009B2D4 7C 08 02 A6 */ mflr r0 /* 8009E378 0009B2D8 90 01 00 24 */ stw r0, 0x24(r1) /* 8009E37C 0009B2DC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8009E380 0009B2E0 93 C1 00 18 */ stw r30, 0x18(r1) /* 8009E384 0009B2E4 7C 9E 23 78 */ mr r30, r4 /* 8009E388 0009B2E8 93 A1 00 14 */ stw r29, 0x14(r1) /* 8009E38C 0009B2EC 7C 7D 1B 79 */ or. r29, r3, r3 /* 8009E390 0009B2F0 41 82 00 38 */ beq lbl_8009E3C8 /* 8009E394 0009B2F4 83 FD 00 04 */ lwz r31, 4(r29) /* 8009E398 0009B2F8 48 00 00 14 */ b lbl_8009E3AC lbl_8009E39C: /* 8009E39C 0009B2FC 7F E3 FB 79 */ or. r3, r31, r31 /* 8009E3A0 0009B300 83 FF 00 04 */ lwz r31, 4(r31) /* 8009E3A4 0009B304 41 82 00 08 */ beq lbl_8009E3AC /* 8009E3A8 0009B308 48 27 75 89 */ bl Free__7CMemoryFPCv lbl_8009E3AC: /* 8009E3AC 0009B30C 80 1D 00 08 */ lwz r0, 8(r29) /* 8009E3B0 0009B310 7C 1F 00 40 */ cmplw r31, r0 /* 8009E3B4 0009B314 40 82 FF E8 */ bne lbl_8009E39C /* 8009E3B8 0009B318 7F C0 07 35 */ extsh. r0, r30 /* 8009E3BC 0009B31C 40 81 00 0C */ ble lbl_8009E3C8 /* 8009E3C0 0009B320 7F A3 EB 78 */ mr r3, r29 /* 8009E3C4 0009B324 48 27 75 6D */ bl Free__7CMemoryFPCv lbl_8009E3C8: /* 8009E3C8 0009B328 80 01 00 24 */ lwz r0, 0x24(r1) /* 8009E3CC 0009B32C 7F A3 EB 78 */ mr r3, r29 /* 8009E3D0 0009B330 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8009E3D4 0009B334 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8009E3D8 0009B338 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8009E3DC 0009B33C 7C 08 03 A6 */ mtlr r0 /* 8009E3E0 0009B340 38 21 00 20 */ addi r1, r1, 0x20 /* 8009E3E4 0009B344 4E 80 00 20 */ blr .section .rodata .global lbl_803CD7D8 lbl_803CD7D8: # ROM: 0x3CA7D8 .4byte 0 .4byte 0 .4byte 0 .4byte 0 .4byte 0 .global lbl_803CD7EC lbl_803CD7EC: # ROM: 0x3CA7EC .4byte 0x00260069 .4byte 0x006D0061 .4byte 0x00670065 .4byte 0x003D0000 .global lbl_803CD7FC lbl_803CD7FC: # ROM: 0x3CA7FC .4byte 0x00260069 .4byte 0x006D0061 .4byte 0x00670065 .4byte 0x003D0000 .global lbl_803CD80C lbl_803CD80C: # ROM: 0x3CA80C .asciz "FRME_MapScreen" .byte 0x3F .asciz "?(??)" .byte 0x74, 0x65 .asciz "xtpane_left" .asciz "textpane_yicon" .byte 0x74 .asciz "extpane_hint" .byte 0x74, 0x65, 0x78 .asciz "tpane_instructions" .byte 0x74 .asciz "extpane_instructions1" .byte 0x74, 0x65 .asciz "xtpane_instructions2" .byte 0x74, 0x65, 0x78 .asciz "tpane_mapLegend" .asciz "basewidget_leftPane" .asciz "basewidget_yButtonPane" .byte 0x62 .asciz "asewidget_bottomPane" .byte 0x74, 0x65, 0x78 .asciz "tpane_areaname" .byte 0x74 .asciz "extpane_right1" .byte 0x25 .asciz "8.8X" .byte 0x74, 0x65, 0x78 .asciz "tpane_right" .asciz "SI,0.6,1.0,%8.8X" .byte 0x4D, 0x41, 0x50 .asciz "U_MapUniverse" .byte 0x43, 0x4D .asciz "DL_MiniMapSamus" .asciz "TXTR_HintBeacon"