prime/asm/MetroidPrime/Factories/CSaveWorldFactory.s

1091 lines
51 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
2022-07-14 05:36:41 +00:00
.section .text, "ax"
.global FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer
FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer:
/* 8026AD60 00267CC0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026AD64 00267CC4 7C 08 02 A6 */ mflr r0
/* 8026AD68 00267CC8 3C 80 80 3D */ lis r4, lbl_803D5418@ha
/* 8026AD6C 00267CCC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026AD70 00267CD0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l
/* 8026AD74 00267CD4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026AD78 00267CD8 7C BF 2B 78 */ mr r31, r5
/* 8026AD7C 00267CDC 38 A0 00 00 */ li r5, 0
/* 8026AD80 00267CE0 93 C1 00 08 */ stw r30, 8(r1)
/* 8026AD84 00267CE4 7C 7E 1B 78 */ mr r30, r3
/* 8026AD88 00267CE8 38 60 00 54 */ li r3, 0x54
/* 8026AD8C 00267CEC 48 0A AA E1 */ bl __nw__FUlPCcPCc
/* 8026AD90 00267CF0 7C 64 1B 79 */ or. r4, r3, r3
/* 8026AD94 00267CF4 41 82 00 10 */ beq lbl_8026ADA4
/* 8026AD98 00267CF8 7F E4 FB 78 */ mr r4, r31
/* 8026AD9C 00267CFC 48 00 04 8D */ bl __ct__10CSaveWorldFR12CinputStream
/* 8026ADA0 00267D00 7C 64 1B 78 */ mr r4, r3
lbl_8026ADA4:
/* 8026ADA4 00267D04 7F C3 F3 78 */ mr r3, r30
/* 8026ADA8 00267D08 48 00 00 1D */ bl sub_8026adc4
/* 8026ADAC 00267D0C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026ADB0 00267D10 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026ADB4 00267D14 83 C1 00 08 */ lwz r30, 8(r1)
/* 8026ADB8 00267D18 7C 08 03 A6 */ mtlr r0
/* 8026ADBC 00267D1C 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8026ADC0 00267D20 4E 80 00 20 */ blr
.global sub_8026adc4
sub_8026adc4:
/* 8026ADC4 00267D24 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8026ADC8 00267D28 7C 08 02 A6 */ mflr r0
/* 8026ADCC 00267D2C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8026ADD0 00267D30 7C 04 00 D0 */ neg r0, r4
/* 8026ADD4 00267D34 7C 00 23 78 */ or r0, r0, r4
/* 8026ADD8 00267D38 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8026ADDC 00267D3C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8026ADE0 00267D40 7C 7F 1B 78 */ mr r31, r3
/* 8026ADE4 00267D44 38 61 00 08 */ addi r3, r1, 8
/* 8026ADE8 00267D48 90 81 00 14 */ stw r4, 0x14(r1)
/* 8026ADEC 00267D4C 38 81 00 10 */ addi r4, r1, 0x10
/* 8026ADF0 00267D50 98 01 00 10 */ stb r0, 0x10(r1)
/* 8026ADF4 00267D54 48 00 02 B9 */ bl sub_8026b0ac
/* 8026ADF8 00267D58 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8026ADFC 00267D5C 38 00 00 00 */ li r0, 0
/* 8026AE00 00267D60 98 01 00 08 */ stb r0, 8(r1)
/* 8026AE04 00267D64 7C 03 00 D0 */ neg r0, r3
/* 8026AE08 00267D68 7C 00 1B 78 */ or r0, r0, r3
/* 8026AE0C 00267D6C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8026AE10 00267D70 98 1F 00 00 */ stb r0, 0(r31)
/* 8026AE14 00267D74 90 7F 00 04 */ stw r3, 4(r31)
/* 8026AE18 00267D78 88 01 00 08 */ lbz r0, 8(r1)
/* 8026AE1C 00267D7C 28 00 00 00 */ cmplwi r0, 0
/* 8026AE20 00267D80 41 82 00 24 */ beq lbl_8026AE44
/* 8026AE24 00267D84 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8026AE28 00267D88 28 03 00 00 */ cmplwi r3, 0
/* 8026AE2C 00267D8C 41 82 00 18 */ beq lbl_8026AE44
/* 8026AE30 00267D90 81 83 00 00 */ lwz r12, 0(r3)
/* 8026AE34 00267D94 38 80 00 01 */ li r4, 1
/* 8026AE38 00267D98 81 8C 00 08 */ lwz r12, 8(r12)
/* 8026AE3C 00267D9C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8026AE40 00267DA0 4E 80 04 21 */ bctrl
lbl_8026AE44:
/* 8026AE44 00267DA4 38 61 00 10 */ addi r3, r1, 0x10
/* 8026AE48 00267DA8 38 80 FF FF */ li r4, -1
/* 8026AE4C 00267DAC 48 00 03 29 */ bl sub_8026b174
/* 8026AE50 00267DB0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8026AE54 00267DB4 7F E3 FB 78 */ mr r3, r31
/* 8026AE58 00267DB8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8026AE5C 00267DBC 7C 08 03 A6 */ mtlr r0
/* 8026AE60 00267DC0 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8026AE64 00267DC4 4E 80 00 20 */ blr
.global sub_8026ae68
sub_8026ae68:
/* 8026AE68 00267DC8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026AE6C 00267DCC 7C 08 02 A6 */ mflr r0
/* 8026AE70 00267DD0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026AE74 00267DD4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026AE78 00267DD8 7C 9F 23 78 */ mr r31, r4
/* 8026AE7C 00267DDC 93 C1 00 08 */ stw r30, 8(r1)
/* 8026AE80 00267DE0 7C 7E 1B 79 */ or. r30, r3, r3
/* 8026AE84 00267DE4 41 82 00 58 */ beq lbl_8026AEDC
/* 8026AE88 00267DE8 3C 60 80 3F */ lis r3, lbl_803EA790@ha
/* 8026AE8C 00267DEC 38 03 A7 90 */ addi r0, r3, lbl_803EA790@l
/* 8026AE90 00267DF0 90 1E 00 00 */ stw r0, 0(r30)
/* 8026AE94 00267DF4 80 7E 00 04 */ lwz r3, 4(r30)
/* 8026AE98 00267DF8 28 03 00 00 */ cmplwi r3, 0
/* 8026AE9C 00267DFC 41 82 00 0C */ beq lbl_8026AEA8
/* 8026AEA0 00267E00 38 80 00 01 */ li r4, 1
/* 8026AEA4 00267E04 48 00 00 55 */ bl sub_8026aef8
lbl_8026AEA8:
/* 8026AEA8 00267E08 28 1E 00 00 */ cmplwi r30, 0
/* 8026AEAC 00267E0C 41 82 00 20 */ beq lbl_8026AECC
/* 8026AEB0 00267E10 3C 60 80 3E */ lis r3, __vt__31TObjOwnerDerivedFromIObjUntyped@ha
/* 8026AEB4 00267E14 38 03 8D 78 */ addi r0, r3, __vt__31TObjOwnerDerivedFromIObjUntyped@l
/* 8026AEB8 00267E18 90 1E 00 00 */ stw r0, 0(r30)
/* 8026AEBC 00267E1C 41 82 00 10 */ beq lbl_8026AECC
/* 8026AEC0 00267E20 3C 60 80 3E */ lis r3, __vt__4IObj@ha
/* 8026AEC4 00267E24 38 03 8D 6C */ addi r0, r3, __vt__4IObj@l
/* 8026AEC8 00267E28 90 1E 00 00 */ stw r0, 0(r30)
lbl_8026AECC:
/* 8026AECC 00267E2C 7F E0 07 35 */ extsh. r0, r31
/* 8026AED0 00267E30 40 81 00 0C */ ble lbl_8026AEDC
/* 8026AED4 00267E34 7F C3 F3 78 */ mr r3, r30
/* 8026AED8 00267E38 48 0A AA 59 */ bl Free__7CMemoryFPCv
lbl_8026AEDC:
/* 8026AEDC 00267E3C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026AEE0 00267E40 7F C3 F3 78 */ mr r3, r30
/* 8026AEE4 00267E44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026AEE8 00267E48 83 C1 00 08 */ lwz r30, 8(r1)
/* 8026AEEC 00267E4C 7C 08 03 A6 */ mtlr r0
/* 8026AEF0 00267E50 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8026AEF4 00267E54 4E 80 00 20 */ blr
.global sub_8026aef8
sub_8026aef8:
/* 8026AEF8 00267E58 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8026AEFC 00267E5C 7C 08 02 A6 */ mflr r0
/* 8026AF00 00267E60 90 01 00 64 */ stw r0, 0x64(r1)
/* 8026AF04 00267E64 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8026AF08 00267E68 7C 9F 23 78 */ mr r31, r4
/* 8026AF0C 00267E6C 93 C1 00 58 */ stw r30, 0x58(r1)
/* 8026AF10 00267E70 7C 7E 1B 79 */ or. r30, r3, r3
/* 8026AF14 00267E74 41 82 01 7C */ beq lbl_8026B090
/* 8026AF18 00267E78 34 1E 00 44 */ addic. r0, r30, 0x44
/* 8026AF1C 00267E7C 41 82 00 44 */ beq lbl_8026AF60
/* 8026AF20 00267E80 80 1E 00 48 */ lwz r0, 0x48(r30)
/* 8026AF24 00267E84 80 7E 00 50 */ lwz r3, 0x50(r30)
/* 8026AF28 00267E88 54 00 18 38 */ slwi r0, r0, 3
/* 8026AF2C 00267E8C 7C 03 02 14 */ add r0, r3, r0
/* 8026AF30 00267E90 90 61 00 4C */ stw r3, 0x4c(r1)
/* 8026AF34 00267E94 7C 64 1B 78 */ mr r4, r3
/* 8026AF38 00267E98 90 01 00 54 */ stw r0, 0x54(r1)
/* 8026AF3C 00267E9C 90 01 00 50 */ stw r0, 0x50(r1)
/* 8026AF40 00267EA0 90 61 00 48 */ stw r3, 0x48(r1)
/* 8026AF44 00267EA4 48 00 00 08 */ b lbl_8026AF4C
lbl_8026AF48:
/* 8026AF48 00267EA8 38 84 00 08 */ addi r4, r4, 8
lbl_8026AF4C:
/* 8026AF4C 00267EAC 7C 04 00 40 */ cmplw r4, r0
/* 8026AF50 00267EB0 40 82 FF F8 */ bne lbl_8026AF48
/* 8026AF54 00267EB4 28 03 00 00 */ cmplwi r3, 0
/* 8026AF58 00267EB8 41 82 00 08 */ beq lbl_8026AF60
/* 8026AF5C 00267EBC 48 0A A9 D5 */ bl Free__7CMemoryFPCv
lbl_8026AF60:
/* 8026AF60 00267EC0 34 1E 00 34 */ addic. r0, r30, 0x34
/* 8026AF64 00267EC4 41 82 00 44 */ beq lbl_8026AFA8
/* 8026AF68 00267EC8 80 1E 00 38 */ lwz r0, 0x38(r30)
/* 8026AF6C 00267ECC 80 7E 00 40 */ lwz r3, 0x40(r30)
/* 8026AF70 00267ED0 54 00 10 3A */ slwi r0, r0, 2
/* 8026AF74 00267ED4 7C 03 02 14 */ add r0, r3, r0
/* 8026AF78 00267ED8 90 61 00 3C */ stw r3, 0x3c(r1)
/* 8026AF7C 00267EDC 7C 64 1B 78 */ mr r4, r3
/* 8026AF80 00267EE0 90 01 00 44 */ stw r0, 0x44(r1)
/* 8026AF84 00267EE4 90 01 00 40 */ stw r0, 0x40(r1)
/* 8026AF88 00267EE8 90 61 00 38 */ stw r3, 0x38(r1)
/* 8026AF8C 00267EEC 48 00 00 08 */ b lbl_8026AF94
lbl_8026AF90:
/* 8026AF90 00267EF0 38 84 00 04 */ addi r4, r4, 4
lbl_8026AF94:
/* 8026AF94 00267EF4 7C 04 00 40 */ cmplw r4, r0
/* 8026AF98 00267EF8 40 82 FF F8 */ bne lbl_8026AF90
/* 8026AF9C 00267EFC 28 03 00 00 */ cmplwi r3, 0
/* 8026AFA0 00267F00 41 82 00 08 */ beq lbl_8026AFA8
/* 8026AFA4 00267F04 48 0A A9 8D */ bl Free__7CMemoryFPCv
lbl_8026AFA8:
/* 8026AFA8 00267F08 34 1E 00 24 */ addic. r0, r30, 0x24
/* 8026AFAC 00267F0C 41 82 00 44 */ beq lbl_8026AFF0
/* 8026AFB0 00267F10 80 1E 00 28 */ lwz r0, 0x28(r30)
/* 8026AFB4 00267F14 80 7E 00 30 */ lwz r3, 0x30(r30)
/* 8026AFB8 00267F18 54 00 18 38 */ slwi r0, r0, 3
/* 8026AFBC 00267F1C 7C 03 02 14 */ add r0, r3, r0
/* 8026AFC0 00267F20 90 61 00 2C */ stw r3, 0x2c(r1)
/* 8026AFC4 00267F24 7C 64 1B 78 */ mr r4, r3
/* 8026AFC8 00267F28 90 01 00 34 */ stw r0, 0x34(r1)
/* 8026AFCC 00267F2C 90 01 00 30 */ stw r0, 0x30(r1)
/* 8026AFD0 00267F30 90 61 00 28 */ stw r3, 0x28(r1)
/* 8026AFD4 00267F34 48 00 00 08 */ b lbl_8026AFDC
lbl_8026AFD8:
/* 8026AFD8 00267F38 38 84 00 08 */ addi r4, r4, 8
lbl_8026AFDC:
/* 8026AFDC 00267F3C 7C 04 00 40 */ cmplw r4, r0
/* 8026AFE0 00267F40 40 82 FF F8 */ bne lbl_8026AFD8
/* 8026AFE4 00267F44 28 03 00 00 */ cmplwi r3, 0
/* 8026AFE8 00267F48 41 82 00 08 */ beq lbl_8026AFF0
/* 8026AFEC 00267F4C 48 0A A9 45 */ bl Free__7CMemoryFPCv
lbl_8026AFF0:
/* 8026AFF0 00267F50 34 1E 00 14 */ addic. r0, r30, 0x14
/* 8026AFF4 00267F54 41 82 00 44 */ beq lbl_8026B038
/* 8026AFF8 00267F58 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 8026AFFC 00267F5C 80 7E 00 20 */ lwz r3, 0x20(r30)
/* 8026B000 00267F60 54 00 10 3A */ slwi r0, r0, 2
/* 8026B004 00267F64 7C 03 02 14 */ add r0, r3, r0
/* 8026B008 00267F68 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8026B00C 00267F6C 7C 64 1B 78 */ mr r4, r3
/* 8026B010 00267F70 90 01 00 24 */ stw r0, 0x24(r1)
/* 8026B014 00267F74 90 01 00 20 */ stw r0, 0x20(r1)
/* 8026B018 00267F78 90 61 00 18 */ stw r3, 0x18(r1)
/* 8026B01C 00267F7C 48 00 00 08 */ b lbl_8026B024
lbl_8026B020:
/* 8026B020 00267F80 38 84 00 04 */ addi r4, r4, 4
lbl_8026B024:
/* 8026B024 00267F84 7C 04 00 40 */ cmplw r4, r0
/* 8026B028 00267F88 40 82 FF F8 */ bne lbl_8026B020
/* 8026B02C 00267F8C 28 03 00 00 */ cmplwi r3, 0
/* 8026B030 00267F90 41 82 00 08 */ beq lbl_8026B038
/* 8026B034 00267F94 48 0A A8 FD */ bl Free__7CMemoryFPCv
lbl_8026B038:
/* 8026B038 00267F98 34 1E 00 04 */ addic. r0, r30, 4
/* 8026B03C 00267F9C 41 82 00 44 */ beq lbl_8026B080
/* 8026B040 00267FA0 80 1E 00 08 */ lwz r0, 8(r30)
/* 8026B044 00267FA4 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 8026B048 00267FA8 54 00 10 3A */ slwi r0, r0, 2
/* 8026B04C 00267FAC 7C 03 02 14 */ add r0, r3, r0
/* 8026B050 00267FB0 90 61 00 0C */ stw r3, 0xc(r1)
/* 8026B054 00267FB4 7C 64 1B 78 */ mr r4, r3
/* 8026B058 00267FB8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026B05C 00267FBC 90 01 00 10 */ stw r0, 0x10(r1)
/* 8026B060 00267FC0 90 61 00 08 */ stw r3, 8(r1)
/* 8026B064 00267FC4 48 00 00 08 */ b lbl_8026B06C
lbl_8026B068:
/* 8026B068 00267FC8 38 84 00 04 */ addi r4, r4, 4
lbl_8026B06C:
/* 8026B06C 00267FCC 7C 04 00 40 */ cmplw r4, r0
/* 8026B070 00267FD0 40 82 FF F8 */ bne lbl_8026B068
/* 8026B074 00267FD4 28 03 00 00 */ cmplwi r3, 0
/* 8026B078 00267FD8 41 82 00 08 */ beq lbl_8026B080
/* 8026B07C 00267FDC 48 0A A8 B5 */ bl Free__7CMemoryFPCv
lbl_8026B080:
/* 8026B080 00267FE0 7F E0 07 35 */ extsh. r0, r31
/* 8026B084 00267FE4 40 81 00 0C */ ble lbl_8026B090
/* 8026B088 00267FE8 7F C3 F3 78 */ mr r3, r30
/* 8026B08C 00267FEC 48 0A A8 A5 */ bl Free__7CMemoryFPCv
lbl_8026B090:
/* 8026B090 00267FF0 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8026B094 00267FF4 7F C3 F3 78 */ mr r3, r30
/* 8026B098 00267FF8 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8026B09C 00267FFC 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8026B0A0 00268000 7C 08 03 A6 */ mtlr r0
/* 8026B0A4 00268004 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 8026B0A8 00268008 4E 80 00 20 */ blr
.global sub_8026b0ac
sub_8026b0ac:
/* 8026B0AC 0026800C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026B0B0 00268010 7C 08 02 A6 */ mflr r0
/* 8026B0B4 00268014 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026B0B8 00268018 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026B0BC 0026801C 7C 7F 1B 78 */ mr r31, r3
/* 8026B0C0 00268020 48 00 00 19 */ bl sub_8026b0d8
/* 8026B0C4 00268024 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026B0C8 00268028 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026B0CC 0026802C 7C 08 03 A6 */ mtlr r0
/* 8026B0D0 00268030 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8026B0D4 00268034 4E 80 00 20 */ blr
.global sub_8026b0d8
sub_8026b0d8:
/* 8026B0D8 00268038 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026B0DC 0026803C 7C 08 02 A6 */ mflr r0
/* 8026B0E0 00268040 3C A0 80 3D */ lis r5, lbl_803D5418@ha
/* 8026B0E4 00268044 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026B0E8 00268048 38 05 54 18 */ addi r0, r5, lbl_803D5418@l
/* 8026B0EC 0026804C 38 A0 00 00 */ li r5, 0
/* 8026B0F0 00268050 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026B0F4 00268054 7C 9F 23 78 */ mr r31, r4
/* 8026B0F8 00268058 7C 04 03 78 */ mr r4, r0
/* 8026B0FC 0026805C 93 C1 00 08 */ stw r30, 8(r1)
/* 8026B100 00268060 7C 7E 1B 78 */ mr r30, r3
/* 8026B104 00268064 38 60 00 08 */ li r3, 8
/* 8026B108 00268068 48 0A A7 65 */ bl __nw__FUlPCcPCc
/* 8026B10C 0026806C 28 03 00 00 */ cmplwi r3, 0
/* 8026B110 00268070 41 82 00 38 */ beq lbl_8026B148
/* 8026B114 00268074 3C 80 80 3E */ lis r4, __vt__4IObj@ha
/* 8026B118 00268078 3C A0 80 3E */ lis r5, __vt__31TObjOwnerDerivedFromIObjUntyped@ha
/* 8026B11C 0026807C 38 04 8D 6C */ addi r0, r4, __vt__4IObj@l
/* 8026B120 00268080 3C 80 80 3F */ lis r4, lbl_803EA790@ha
/* 8026B124 00268084 90 03 00 00 */ stw r0, 0(r3)
/* 8026B128 00268088 38 C5 8D 78 */ addi r6, r5, __vt__31TObjOwnerDerivedFromIObjUntyped@l
/* 8026B12C 0026808C 38 A0 00 00 */ li r5, 0
/* 8026B130 00268090 38 04 A7 90 */ addi r0, r4, lbl_803EA790@l
/* 8026B134 00268094 90 C3 00 00 */ stw r6, 0(r3)
/* 8026B138 00268098 98 BF 00 00 */ stb r5, 0(r31)
/* 8026B13C 0026809C 80 9F 00 04 */ lwz r4, 4(r31)
/* 8026B140 002680A0 90 83 00 04 */ stw r4, 4(r3)
/* 8026B144 002680A4 90 03 00 00 */ stw r0, 0(r3)
lbl_8026B148:
/* 8026B148 002680A8 7C 03 00 D0 */ neg r0, r3
/* 8026B14C 002680AC 7C 00 1B 78 */ or r0, r0, r3
/* 8026B150 002680B0 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8026B154 002680B4 98 1E 00 00 */ stb r0, 0(r30)
/* 8026B158 002680B8 90 7E 00 04 */ stw r3, 4(r30)
/* 8026B15C 002680BC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026B160 002680C0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8026B164 002680C4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026B168 002680C8 7C 08 03 A6 */ mtlr r0
/* 8026B16C 002680CC 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8026B170 002680D0 4E 80 00 20 */ blr
.global sub_8026b174
sub_8026b174:
/* 8026B174 002680D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8026B178 002680D8 7C 08 02 A6 */ mflr r0
/* 8026B17C 002680DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026B180 002680E0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8026B184 002680E4 7C 9F 23 78 */ mr r31, r4
/* 8026B188 002680E8 93 C1 00 08 */ stw r30, 8(r1)
/* 8026B18C 002680EC 7C 7E 1B 79 */ or. r30, r3, r3
/* 8026B190 002680F0 41 82 00 2C */ beq lbl_8026B1BC
/* 8026B194 002680F4 88 1E 00 00 */ lbz r0, 0(r30)
/* 8026B198 002680F8 28 00 00 00 */ cmplwi r0, 0
/* 8026B19C 002680FC 41 82 00 10 */ beq lbl_8026B1AC
/* 8026B1A0 00268100 80 7E 00 04 */ lwz r3, 4(r30)
/* 8026B1A4 00268104 38 80 00 01 */ li r4, 1
/* 8026B1A8 00268108 4B FF FD 51 */ bl sub_8026aef8
lbl_8026B1AC:
/* 8026B1AC 0026810C 7F E0 07 35 */ extsh. r0, r31
/* 8026B1B0 00268110 40 81 00 0C */ ble lbl_8026B1BC
/* 8026B1B4 00268114 7F C3 F3 78 */ mr r3, r30
/* 8026B1B8 00268118 48 0A A7 79 */ bl Free__7CMemoryFPCv
lbl_8026B1BC:
/* 8026B1BC 0026811C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8026B1C0 00268120 7F C3 F3 78 */ mr r3, r30
/* 8026B1C4 00268124 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8026B1C8 00268128 83 C1 00 08 */ lwz r30, 8(r1)
/* 8026B1CC 0026812C 7C 08 03 A6 */ mtlr r0
/* 8026B1D0 00268130 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8026B1D4 00268134 4E 80 00 20 */ blr
.global GetRelayIndex__10CSaveWorldCFRC9TEditorId
GetRelayIndex__10CSaveWorldCFRC9TEditorId:
/* 8026B1D8 00268138 80 03 00 18 */ lwz r0, 0x18(r3)
/* 8026B1DC 0026813C 38 E0 00 00 */ li r7, 0
/* 8026B1E0 00268140 38 C0 00 00 */ li r6, 0
/* 8026B1E4 00268144 7C 09 03 A6 */ mtctr r0
/* 8026B1E8 00268148 2C 00 00 00 */ cmpwi r0, 0
/* 8026B1EC 0026814C 40 81 00 34 */ ble lbl_8026B220
lbl_8026B1F0:
/* 8026B1F0 00268150 80 A3 00 20 */ lwz r5, 0x20(r3)
/* 8026B1F4 00268154 80 04 00 00 */ lwz r0, 0(r4)
/* 8026B1F8 00268158 7C A5 30 2E */ lwzx r5, r5, r6
/* 8026B1FC 0026815C 54 00 01 BE */ clrlwi r0, r0, 6
/* 8026B200 00268160 54 A5 01 BE */ clrlwi r5, r5, 6
/* 8026B204 00268164 7C 05 00 40 */ cmplw r5, r0
/* 8026B208 00268168 40 82 00 0C */ bne lbl_8026B214
/* 8026B20C 0026816C 7C E3 3B 78 */ mr r3, r7
2022-07-14 05:48:03 +00:00
/* 8026B210 00268170 4E 80 00 20 */ blr
lbl_8026B214:
/* 8026B214 00268174 38 C6 00 04 */ addi r6, r6, 4
/* 8026B218 00268178 38 E7 00 01 */ addi r7, r7, 1
/* 8026B21C 0026817C 42 00 FF D4 */ bdnz lbl_8026B1F0
lbl_8026B220:
/* 8026B220 00268180 38 60 FF FF */ li r3, -1
2022-07-14 05:48:03 +00:00
/* 8026B224 00268184 4E 80 00 20 */ blr
.global __ct__10CSaveWorldFR12CinputStream
__ct__10CSaveWorldFR12CinputStream:
/* 8026B228 00268188 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 8026B22C 0026818C 7C 08 02 A6 */ mflr r0
/* 8026B230 00268190 90 01 01 34 */ stw r0, 0x134(r1)
/* 8026B234 00268194 38 00 00 00 */ li r0, 0
/* 8026B238 00268198 BF 21 01 14 */ stmw r25, 0x114(r1)
/* 8026B23C 0026819C 7C 7F 1B 78 */ mr r31, r3
/* 8026B240 002681A0 7C 9E 23 78 */ mr r30, r4
/* 8026B244 002681A4 90 03 00 00 */ stw r0, 0(r3)
/* 8026B248 002681A8 7F C3 F3 78 */ mr r3, r30
/* 8026B24C 002681AC 90 1F 00 08 */ stw r0, 8(r31)
/* 8026B250 002681B0 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8026B254 002681B4 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8026B258 002681B8 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8026B25C 002681BC 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 8026B260 002681C0 90 1F 00 20 */ stw r0, 0x20(r31)
/* 8026B264 002681C4 90 1F 00 28 */ stw r0, 0x28(r31)
/* 8026B268 002681C8 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 8026B26C 002681CC 90 1F 00 30 */ stw r0, 0x30(r31)
/* 8026B270 002681D0 90 1F 00 38 */ stw r0, 0x38(r31)
/* 8026B274 002681D4 90 1F 00 3C */ stw r0, 0x3c(r31)
/* 8026B278 002681D8 90 1F 00 40 */ stw r0, 0x40(r31)
/* 8026B27C 002681DC 90 1F 00 48 */ stw r0, 0x48(r31)
/* 8026B280 002681E0 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 8026B284 002681E4 90 1F 00 50 */ stw r0, 0x50(r31)
/* 8026B288 002681E8 48 0D 39 FD */ bl ReadLong__12CInputStreamFv
/* 8026B28C 002681EC 7F C3 F3 78 */ mr r3, r30
/* 8026B290 002681F0 48 0D 39 F5 */ bl ReadLong__12CInputStreamFv
/* 8026B294 002681F4 7C 7D 1B 78 */ mr r29, r3
/* 8026B298 002681F8 28 1D 00 01 */ cmplwi r29, 1
/* 8026B29C 002681FC 40 81 00 10 */ ble lbl_8026B2AC
/* 8026B2A0 00268200 7F C3 F3 78 */ mr r3, r30
/* 8026B2A4 00268204 48 0D 39 E1 */ bl ReadLong__12CInputStreamFv
/* 8026B2A8 00268208 90 7F 00 00 */ stw r3, 0(r31)
lbl_8026B2AC:
/* 8026B2AC 0026820C 28 1D 00 02 */ cmplwi r29, 2
/* 8026B2B0 00268210 40 81 01 9C */ ble lbl_8026B44C
/* 8026B2B4 00268214 38 00 00 00 */ li r0, 0
/* 8026B2B8 00268218 7F C3 F3 78 */ mr r3, r30
/* 8026B2BC 0026821C 90 01 00 F8 */ stw r0, 0xf8(r1)
/* 8026B2C0 00268220 90 01 00 FC */ stw r0, 0xfc(r1)
/* 8026B2C4 00268224 90 01 01 00 */ stw r0, 0x100(r1)
/* 8026B2C8 00268228 48 0D 39 BD */ bl ReadLong__12CInputStreamFv
/* 8026B2CC 0026822C 7C 7A 1B 78 */ mr r26, r3
/* 8026B2D0 00268230 38 61 00 F4 */ addi r3, r1, 0xf4
/* 8026B2D4 00268234 7F 44 D3 78 */ mr r4, r26
/* 8026B2D8 00268238 4B DE 50 71 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
/* 8026B2DC 0026823C 3B 60 00 00 */ li r27, 0
/* 8026B2E0 00268240 48 00 00 64 */ b lbl_8026B344
lbl_8026B2E4:
/* 8026B2E4 00268244 7F C4 F3 78 */ mr r4, r30
/* 8026B2E8 00268248 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8026B2EC 0026824C 4B EA F1 75 */ bl __ct__9TEditorIdFR12CInputStream
/* 8026B2F0 00268250 80 01 00 F8 */ lwz r0, 0xf8(r1)
/* 8026B2F4 00268254 80 A1 00 FC */ lwz r5, 0xfc(r1)
/* 8026B2F8 00268258 7C 00 28 00 */ cmpw r0, r5
/* 8026B2FC 0026825C 41 80 00 1C */ blt lbl_8026B318
/* 8026B300 00268260 2C 05 00 00 */ cmpwi r5, 0
/* 8026B304 00268264 38 61 00 F4 */ addi r3, r1, 0xf4
/* 8026B308 00268268 38 80 00 04 */ li r4, 4
/* 8026B30C 0026826C 41 82 00 08 */ beq lbl_8026B314
/* 8026B310 00268270 54 A4 08 3C */ slwi r4, r5, 1
lbl_8026B314:
/* 8026B314 00268274 4B DE 50 35 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
lbl_8026B318:
/* 8026B318 00268278 80 01 00 F8 */ lwz r0, 0xf8(r1)
/* 8026B31C 0026827C 80 61 01 00 */ lwz r3, 0x100(r1)
/* 8026B320 00268280 54 00 10 3A */ slwi r0, r0, 2
/* 8026B324 00268284 7C 63 02 15 */ add. r3, r3, r0
/* 8026B328 00268288 41 82 00 0C */ beq lbl_8026B334
/* 8026B32C 0026828C 80 01 00 B0 */ lwz r0, 0xb0(r1)
/* 8026B330 00268290 90 03 00 00 */ stw r0, 0(r3)
lbl_8026B334:
/* 8026B334 00268294 80 61 00 F8 */ lwz r3, 0xf8(r1)
/* 8026B338 00268298 3B 7B 00 01 */ addi r27, r27, 1
/* 8026B33C 0026829C 38 03 00 01 */ addi r0, r3, 1
/* 8026B340 002682A0 90 01 00 F8 */ stw r0, 0xf8(r1)
lbl_8026B344:
/* 8026B344 002682A4 7C 1B D0 00 */ cmpw r27, r26
/* 8026B348 002682A8 41 80 FF 9C */ blt lbl_8026B2E4
/* 8026B34C 002682AC 38 7F 00 04 */ addi r3, r31, 4
/* 8026B350 002682B0 38 01 00 F4 */ addi r0, r1, 0xf4
/* 8026B354 002682B4 7C 03 00 40 */ cmplw r3, r0
/* 8026B358 002682B8 41 82 00 B4 */ beq lbl_8026B40C
/* 8026B35C 002682BC 80 1F 00 08 */ lwz r0, 8(r31)
/* 8026B360 002682C0 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 8026B364 002682C4 54 00 10 3A */ slwi r0, r0, 2
/* 8026B368 002682C8 7C 03 02 14 */ add r0, r3, r0
/* 8026B36C 002682CC 90 61 00 4C */ stw r3, 0x4c(r1)
/* 8026B370 002682D0 90 01 00 54 */ stw r0, 0x54(r1)
/* 8026B374 002682D4 90 01 00 50 */ stw r0, 0x50(r1)
/* 8026B378 002682D8 90 61 00 48 */ stw r3, 0x48(r1)
/* 8026B37C 002682DC 48 00 00 08 */ b lbl_8026B384
lbl_8026B380:
/* 8026B380 002682E0 38 63 00 04 */ addi r3, r3, 4
lbl_8026B384:
/* 8026B384 002682E4 7C 03 00 40 */ cmplw r3, r0
/* 8026B388 002682E8 40 82 FF F8 */ bne lbl_8026B380
/* 8026B38C 002682EC 38 00 00 00 */ li r0, 0
/* 8026B390 002682F0 90 1F 00 08 */ stw r0, 8(r31)
/* 8026B394 002682F4 80 81 00 F8 */ lwz r4, 0xf8(r1)
/* 8026B398 002682F8 2C 04 00 00 */ cmpwi r4, 0
/* 8026B39C 002682FC 40 82 00 28 */ bne lbl_8026B3C4
/* 8026B3A0 00268300 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 8026B3A4 00268304 28 03 00 00 */ cmplwi r3, 0
/* 8026B3A8 00268308 41 82 00 08 */ beq lbl_8026B3B0
/* 8026B3AC 0026830C 48 0A A5 85 */ bl Free__7CMemoryFPCv
lbl_8026B3B0:
/* 8026B3B0 00268310 38 00 00 00 */ li r0, 0
/* 8026B3B4 00268314 90 1F 00 08 */ stw r0, 8(r31)
/* 8026B3B8 00268318 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8026B3BC 0026831C 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8026B3C0 00268320 48 00 00 4C */ b lbl_8026B40C
lbl_8026B3C4:
/* 8026B3C4 00268324 38 7F 00 04 */ addi r3, r31, 4
/* 8026B3C8 00268328 4B DE 4F 81 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
/* 8026B3CC 0026832C 80 01 00 F8 */ lwz r0, 0xf8(r1)
/* 8026B3D0 00268330 80 A1 01 00 */ lwz r5, 0x100(r1)
/* 8026B3D4 00268334 54 00 10 3A */ slwi r0, r0, 2
/* 8026B3D8 00268338 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 8026B3DC 0026833C 7C 85 02 14 */ add r4, r5, r0
/* 8026B3E0 00268340 48 00 00 1C */ b lbl_8026B3FC
lbl_8026B3E4:
/* 8026B3E4 00268344 28 03 00 00 */ cmplwi r3, 0
/* 8026B3E8 00268348 41 82 00 0C */ beq lbl_8026B3F4
/* 8026B3EC 0026834C 80 05 00 00 */ lwz r0, 0(r5)
/* 8026B3F0 00268350 90 03 00 00 */ stw r0, 0(r3)
lbl_8026B3F4:
/* 8026B3F4 00268354 38 63 00 04 */ addi r3, r3, 4
/* 8026B3F8 00268358 38 A5 00 04 */ addi r5, r5, 4
lbl_8026B3FC:
/* 8026B3FC 0026835C 7C 05 20 40 */ cmplw r5, r4
/* 8026B400 00268360 40 82 FF E4 */ bne lbl_8026B3E4
/* 8026B404 00268364 80 01 00 F8 */ lwz r0, 0xf8(r1)
/* 8026B408 00268368 90 1F 00 08 */ stw r0, 8(r31)
lbl_8026B40C:
/* 8026B40C 0026836C 80 01 00 F8 */ lwz r0, 0xf8(r1)
/* 8026B410 00268370 80 61 01 00 */ lwz r3, 0x100(r1)
/* 8026B414 00268374 54 00 10 3A */ slwi r0, r0, 2
/* 8026B418 00268378 7C 03 02 14 */ add r0, r3, r0
/* 8026B41C 0026837C 90 61 00 A4 */ stw r3, 0xa4(r1)
/* 8026B420 00268380 7C 64 1B 78 */ mr r4, r3
/* 8026B424 00268384 90 01 00 AC */ stw r0, 0xac(r1)
/* 8026B428 00268388 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 8026B42C 0026838C 90 61 00 A0 */ stw r3, 0xa0(r1)
/* 8026B430 00268390 48 00 00 08 */ b lbl_8026B438
lbl_8026B434:
/* 8026B434 00268394 38 84 00 04 */ addi r4, r4, 4
lbl_8026B438:
/* 8026B438 00268398 7C 04 00 40 */ cmplw r4, r0
/* 8026B43C 0026839C 40 82 FF F8 */ bne lbl_8026B434
/* 8026B440 002683A0 28 03 00 00 */ cmplwi r3, 0
/* 8026B444 002683A4 41 82 00 08 */ beq lbl_8026B44C
/* 8026B448 002683A8 48 0A A4 E9 */ bl Free__7CMemoryFPCv
lbl_8026B44C:
/* 8026B44C 002683AC 28 1D 00 02 */ cmplwi r29, 2
/* 8026B450 002683B0 40 81 01 9C */ ble lbl_8026B5EC
/* 8026B454 002683B4 38 00 00 00 */ li r0, 0
/* 8026B458 002683B8 7F C3 F3 78 */ mr r3, r30
/* 8026B45C 002683BC 90 01 00 E8 */ stw r0, 0xe8(r1)
/* 8026B460 002683C0 90 01 00 EC */ stw r0, 0xec(r1)
/* 8026B464 002683C4 90 01 00 F0 */ stw r0, 0xf0(r1)
/* 8026B468 002683C8 48 0D 38 1D */ bl ReadLong__12CInputStreamFv
/* 8026B46C 002683CC 7C 7A 1B 78 */ mr r26, r3
/* 8026B470 002683D0 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8026B474 002683D4 7F 44 D3 78 */ mr r4, r26
/* 8026B478 002683D8 4B DE 4E D1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
/* 8026B47C 002683DC 3B 60 00 00 */ li r27, 0
/* 8026B480 002683E0 48 00 00 64 */ b lbl_8026B4E4
lbl_8026B484:
/* 8026B484 002683E4 7F C4 F3 78 */ mr r4, r30
/* 8026B488 002683E8 38 61 00 9C */ addi r3, r1, 0x9c
/* 8026B48C 002683EC 4B EA EF D5 */ bl __ct__9TEditorIdFR12CInputStream
/* 8026B490 002683F0 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 8026B494 002683F4 80 A1 00 EC */ lwz r5, 0xec(r1)
/* 8026B498 002683F8 7C 00 28 00 */ cmpw r0, r5
/* 8026B49C 002683FC 41 80 00 1C */ blt lbl_8026B4B8
/* 8026B4A0 00268400 2C 05 00 00 */ cmpwi r5, 0
/* 8026B4A4 00268404 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8026B4A8 00268408 38 80 00 04 */ li r4, 4
/* 8026B4AC 0026840C 41 82 00 08 */ beq lbl_8026B4B4
/* 8026B4B0 00268410 54 A4 08 3C */ slwi r4, r5, 1
lbl_8026B4B4:
/* 8026B4B4 00268414 4B DE 4E 95 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
lbl_8026B4B8:
/* 8026B4B8 00268418 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 8026B4BC 0026841C 80 61 00 F0 */ lwz r3, 0xf0(r1)
/* 8026B4C0 00268420 54 00 10 3A */ slwi r0, r0, 2
/* 8026B4C4 00268424 7C 63 02 15 */ add. r3, r3, r0
/* 8026B4C8 00268428 41 82 00 0C */ beq lbl_8026B4D4
/* 8026B4CC 0026842C 80 01 00 9C */ lwz r0, 0x9c(r1)
/* 8026B4D0 00268430 90 03 00 00 */ stw r0, 0(r3)
lbl_8026B4D4:
/* 8026B4D4 00268434 80 61 00 E8 */ lwz r3, 0xe8(r1)
/* 8026B4D8 00268438 3B 7B 00 01 */ addi r27, r27, 1
/* 8026B4DC 0026843C 38 03 00 01 */ addi r0, r3, 1
/* 8026B4E0 00268440 90 01 00 E8 */ stw r0, 0xe8(r1)
lbl_8026B4E4:
/* 8026B4E4 00268444 7C 1B D0 00 */ cmpw r27, r26
/* 8026B4E8 00268448 41 80 FF 9C */ blt lbl_8026B484
/* 8026B4EC 0026844C 38 7F 00 14 */ addi r3, r31, 0x14
/* 8026B4F0 00268450 38 01 00 E4 */ addi r0, r1, 0xe4
/* 8026B4F4 00268454 7C 03 00 40 */ cmplw r3, r0
/* 8026B4F8 00268458 41 82 00 B4 */ beq lbl_8026B5AC
/* 8026B4FC 0026845C 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 8026B500 00268460 80 7F 00 20 */ lwz r3, 0x20(r31)
/* 8026B504 00268464 54 00 10 3A */ slwi r0, r0, 2
/* 8026B508 00268468 7C 03 02 14 */ add r0, r3, r0
/* 8026B50C 0026846C 90 61 00 3C */ stw r3, 0x3c(r1)
/* 8026B510 00268470 90 01 00 44 */ stw r0, 0x44(r1)
/* 8026B514 00268474 90 01 00 40 */ stw r0, 0x40(r1)
/* 8026B518 00268478 90 61 00 38 */ stw r3, 0x38(r1)
/* 8026B51C 0026847C 48 00 00 08 */ b lbl_8026B524
lbl_8026B520:
/* 8026B520 00268480 38 63 00 04 */ addi r3, r3, 4
lbl_8026B524:
/* 8026B524 00268484 7C 03 00 40 */ cmplw r3, r0
/* 8026B528 00268488 40 82 FF F8 */ bne lbl_8026B520
/* 8026B52C 0026848C 38 00 00 00 */ li r0, 0
/* 8026B530 00268490 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8026B534 00268494 80 81 00 E8 */ lwz r4, 0xe8(r1)
/* 8026B538 00268498 2C 04 00 00 */ cmpwi r4, 0
/* 8026B53C 0026849C 40 82 00 28 */ bne lbl_8026B564
/* 8026B540 002684A0 80 7F 00 20 */ lwz r3, 0x20(r31)
/* 8026B544 002684A4 28 03 00 00 */ cmplwi r3, 0
/* 8026B548 002684A8 41 82 00 08 */ beq lbl_8026B550
/* 8026B54C 002684AC 48 0A A3 E5 */ bl Free__7CMemoryFPCv
lbl_8026B550:
/* 8026B550 002684B0 38 00 00 00 */ li r0, 0
/* 8026B554 002684B4 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8026B558 002684B8 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 8026B55C 002684BC 90 1F 00 20 */ stw r0, 0x20(r31)
/* 8026B560 002684C0 48 00 00 4C */ b lbl_8026B5AC
lbl_8026B564:
/* 8026B564 002684C4 38 7F 00 14 */ addi r3, r31, 0x14
/* 8026B568 002684C8 4B DE 4D E1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
/* 8026B56C 002684CC 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 8026B570 002684D0 80 A1 00 F0 */ lwz r5, 0xf0(r1)
/* 8026B574 002684D4 54 00 10 3A */ slwi r0, r0, 2
/* 8026B578 002684D8 80 7F 00 20 */ lwz r3, 0x20(r31)
/* 8026B57C 002684DC 7C 85 02 14 */ add r4, r5, r0
/* 8026B580 002684E0 48 00 00 1C */ b lbl_8026B59C
lbl_8026B584:
/* 8026B584 002684E4 28 03 00 00 */ cmplwi r3, 0
/* 8026B588 002684E8 41 82 00 0C */ beq lbl_8026B594
/* 8026B58C 002684EC 80 05 00 00 */ lwz r0, 0(r5)
/* 8026B590 002684F0 90 03 00 00 */ stw r0, 0(r3)
lbl_8026B594:
/* 8026B594 002684F4 38 63 00 04 */ addi r3, r3, 4
/* 8026B598 002684F8 38 A5 00 04 */ addi r5, r5, 4
lbl_8026B59C:
/* 8026B59C 002684FC 7C 05 20 40 */ cmplw r5, r4
/* 8026B5A0 00268500 40 82 FF E4 */ bne lbl_8026B584
/* 8026B5A4 00268504 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 8026B5A8 00268508 90 1F 00 18 */ stw r0, 0x18(r31)
lbl_8026B5AC:
/* 8026B5AC 0026850C 80 01 00 E8 */ lwz r0, 0xe8(r1)
/* 8026B5B0 00268510 80 61 00 F0 */ lwz r3, 0xf0(r1)
/* 8026B5B4 00268514 54 00 10 3A */ slwi r0, r0, 2
/* 8026B5B8 00268518 7C 03 02 14 */ add r0, r3, r0
/* 8026B5BC 0026851C 90 61 00 90 */ stw r3, 0x90(r1)
/* 8026B5C0 00268520 7C 64 1B 78 */ mr r4, r3
/* 8026B5C4 00268524 90 01 00 98 */ stw r0, 0x98(r1)
/* 8026B5C8 00268528 90 01 00 94 */ stw r0, 0x94(r1)
/* 8026B5CC 0026852C 90 61 00 8C */ stw r3, 0x8c(r1)
/* 8026B5D0 00268530 48 00 00 08 */ b lbl_8026B5D8
lbl_8026B5D4:
/* 8026B5D4 00268534 38 84 00 04 */ addi r4, r4, 4
lbl_8026B5D8:
/* 8026B5D8 00268538 7C 04 00 40 */ cmplw r4, r0
/* 8026B5DC 0026853C 40 82 FF F8 */ bne lbl_8026B5D4
/* 8026B5E0 00268540 28 03 00 00 */ cmplwi r3, 0
/* 8026B5E4 00268544 41 82 00 08 */ beq lbl_8026B5EC
/* 8026B5E8 00268548 48 0A A3 49 */ bl Free__7CMemoryFPCv
lbl_8026B5EC:
/* 8026B5EC 0026854C 38 00 00 00 */ li r0, 0
/* 8026B5F0 00268550 7F C3 F3 78 */ mr r3, r30
/* 8026B5F4 00268554 90 01 00 D8 */ stw r0, 0xd8(r1)
/* 8026B5F8 00268558 90 01 00 DC */ stw r0, 0xdc(r1)
/* 8026B5FC 0026855C 90 01 00 E0 */ stw r0, 0xe0(r1)
/* 8026B600 00268560 48 0D 36 85 */ bl ReadLong__12CInputStreamFv
/* 8026B604 00268564 7C 79 1B 78 */ mr r25, r3
/* 8026B608 00268568 38 61 00 D4 */ addi r3, r1, 0xd4
/* 8026B60C 0026856C 7F 24 CB 78 */ mr r4, r25
/* 8026B610 00268570 48 00 04 ED */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi"
/* 8026B614 00268574 3B 40 00 00 */ li r26, 0
/* 8026B618 00268578 48 00 00 70 */ b lbl_8026B688
lbl_8026B61C:
/* 8026B61C 0026857C 7F C3 F3 78 */ mr r3, r30
/* 8026B620 00268580 48 0D 36 65 */ bl ReadLong__12CInputStreamFv
/* 8026B624 00268584 7C 7B 1B 78 */ mr r27, r3
/* 8026B628 00268588 7F C3 F3 78 */ mr r3, r30
/* 8026B62C 0026858C 48 0D 36 59 */ bl ReadLong__12CInputStreamFv
/* 8026B630 00268590 80 01 00 D8 */ lwz r0, 0xd8(r1)
/* 8026B634 00268594 7C 7C 1B 78 */ mr r28, r3
/* 8026B638 00268598 80 A1 00 DC */ lwz r5, 0xdc(r1)
/* 8026B63C 0026859C 7C 00 28 00 */ cmpw r0, r5
/* 8026B640 002685A0 41 80 00 1C */ blt lbl_8026B65C
/* 8026B644 002685A4 2C 05 00 00 */ cmpwi r5, 0
/* 8026B648 002685A8 38 61 00 D4 */ addi r3, r1, 0xd4
/* 8026B64C 002685AC 38 80 00 04 */ li r4, 4
/* 8026B650 002685B0 41 82 00 08 */ beq lbl_8026B658
/* 8026B654 002685B4 54 A4 08 3C */ slwi r4, r5, 1
lbl_8026B658:
/* 8026B658 002685B8 48 00 04 A5 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi"
lbl_8026B65C:
/* 8026B65C 002685BC 80 01 00 D8 */ lwz r0, 0xd8(r1)
/* 8026B660 002685C0 80 61 00 E0 */ lwz r3, 0xe0(r1)
/* 8026B664 002685C4 54 00 18 38 */ slwi r0, r0, 3
/* 8026B668 002685C8 7C 63 02 15 */ add. r3, r3, r0
/* 8026B66C 002685CC 41 82 00 0C */ beq lbl_8026B678
/* 8026B670 002685D0 93 63 00 00 */ stw r27, 0(r3)
/* 8026B674 002685D4 93 83 00 04 */ stw r28, 4(r3)
lbl_8026B678:
/* 8026B678 002685D8 80 61 00 D8 */ lwz r3, 0xd8(r1)
/* 8026B67C 002685DC 3B 5A 00 01 */ addi r26, r26, 1
/* 8026B680 002685E0 38 03 00 01 */ addi r0, r3, 1
/* 8026B684 002685E4 90 01 00 D8 */ stw r0, 0xd8(r1)
lbl_8026B688:
/* 8026B688 002685E8 7C 1A C8 00 */ cmpw r26, r25
/* 8026B68C 002685EC 41 80 FF 90 */ blt lbl_8026B61C
/* 8026B690 002685F0 38 7F 00 24 */ addi r3, r31, 0x24
/* 8026B694 002685F4 38 01 00 D4 */ addi r0, r1, 0xd4
/* 8026B698 002685F8 7C 03 00 40 */ cmplw r3, r0
/* 8026B69C 002685FC 41 82 00 BC */ beq lbl_8026B758
/* 8026B6A0 00268600 80 1F 00 28 */ lwz r0, 0x28(r31)
/* 8026B6A4 00268604 80 7F 00 30 */ lwz r3, 0x30(r31)
/* 8026B6A8 00268608 54 00 18 38 */ slwi r0, r0, 3
/* 8026B6AC 0026860C 7C 03 02 14 */ add r0, r3, r0
/* 8026B6B0 00268610 90 61 00 2C */ stw r3, 0x2c(r1)
/* 8026B6B4 00268614 90 01 00 34 */ stw r0, 0x34(r1)
/* 8026B6B8 00268618 90 01 00 30 */ stw r0, 0x30(r1)
/* 8026B6BC 0026861C 90 61 00 28 */ stw r3, 0x28(r1)
/* 8026B6C0 00268620 48 00 00 08 */ b lbl_8026B6C8
lbl_8026B6C4:
/* 8026B6C4 00268624 38 63 00 08 */ addi r3, r3, 8
lbl_8026B6C8:
/* 8026B6C8 00268628 7C 03 00 40 */ cmplw r3, r0
/* 8026B6CC 0026862C 40 82 FF F8 */ bne lbl_8026B6C4
/* 8026B6D0 00268630 38 00 00 00 */ li r0, 0
/* 8026B6D4 00268634 90 1F 00 28 */ stw r0, 0x28(r31)
/* 8026B6D8 00268638 80 81 00 D8 */ lwz r4, 0xd8(r1)
/* 8026B6DC 0026863C 2C 04 00 00 */ cmpwi r4, 0
/* 8026B6E0 00268640 40 82 00 28 */ bne lbl_8026B708
/* 8026B6E4 00268644 80 7F 00 30 */ lwz r3, 0x30(r31)
/* 8026B6E8 00268648 28 03 00 00 */ cmplwi r3, 0
/* 8026B6EC 0026864C 41 82 00 08 */ beq lbl_8026B6F4
/* 8026B6F0 00268650 48 0A A2 41 */ bl Free__7CMemoryFPCv
lbl_8026B6F4:
/* 8026B6F4 00268654 38 00 00 00 */ li r0, 0
/* 8026B6F8 00268658 90 1F 00 28 */ stw r0, 0x28(r31)
/* 8026B6FC 0026865C 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 8026B700 00268660 90 1F 00 30 */ stw r0, 0x30(r31)
/* 8026B704 00268664 48 00 00 54 */ b lbl_8026B758
lbl_8026B708:
/* 8026B708 00268668 38 7F 00 24 */ addi r3, r31, 0x24
/* 8026B70C 0026866C 48 00 03 F1 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi"
/* 8026B710 00268670 80 01 00 D8 */ lwz r0, 0xd8(r1)
/* 8026B714 00268674 80 A1 00 E0 */ lwz r5, 0xe0(r1)
/* 8026B718 00268678 54 00 18 38 */ slwi r0, r0, 3
/* 8026B71C 0026867C 80 7F 00 30 */ lwz r3, 0x30(r31)
/* 8026B720 00268680 7C 85 02 14 */ add r4, r5, r0
/* 8026B724 00268684 48 00 00 24 */ b lbl_8026B748
lbl_8026B728:
/* 8026B728 00268688 28 03 00 00 */ cmplwi r3, 0
/* 8026B72C 0026868C 41 82 00 14 */ beq lbl_8026B740
/* 8026B730 00268690 80 05 00 00 */ lwz r0, 0(r5)
/* 8026B734 00268694 90 03 00 00 */ stw r0, 0(r3)
/* 8026B738 00268698 80 05 00 04 */ lwz r0, 4(r5)
/* 8026B73C 0026869C 90 03 00 04 */ stw r0, 4(r3)
lbl_8026B740:
/* 8026B740 002686A0 38 63 00 08 */ addi r3, r3, 8
/* 8026B744 002686A4 38 A5 00 08 */ addi r5, r5, 8
lbl_8026B748:
/* 8026B748 002686A8 7C 05 20 40 */ cmplw r5, r4
/* 8026B74C 002686AC 40 82 FF DC */ bne lbl_8026B728
/* 8026B750 002686B0 80 01 00 D8 */ lwz r0, 0xd8(r1)
/* 8026B754 002686B4 90 1F 00 28 */ stw r0, 0x28(r31)
lbl_8026B758:
/* 8026B758 002686B8 80 01 00 D8 */ lwz r0, 0xd8(r1)
/* 8026B75C 002686BC 80 61 00 E0 */ lwz r3, 0xe0(r1)
/* 8026B760 002686C0 54 00 18 38 */ slwi r0, r0, 3
/* 8026B764 002686C4 7C 03 02 14 */ add r0, r3, r0
/* 8026B768 002686C8 90 61 00 80 */ stw r3, 0x80(r1)
/* 8026B76C 002686CC 7C 64 1B 78 */ mr r4, r3
/* 8026B770 002686D0 90 01 00 88 */ stw r0, 0x88(r1)
/* 8026B774 002686D4 90 01 00 84 */ stw r0, 0x84(r1)
/* 8026B778 002686D8 90 61 00 7C */ stw r3, 0x7c(r1)
/* 8026B77C 002686DC 48 00 00 08 */ b lbl_8026B784
lbl_8026B780:
/* 8026B780 002686E0 38 84 00 08 */ addi r4, r4, 8
lbl_8026B784:
/* 8026B784 002686E4 7C 04 00 40 */ cmplw r4, r0
/* 8026B788 002686E8 40 82 FF F8 */ bne lbl_8026B780
/* 8026B78C 002686EC 28 03 00 00 */ cmplwi r3, 0
/* 8026B790 002686F0 41 82 00 08 */ beq lbl_8026B798
/* 8026B794 002686F4 48 0A A1 9D */ bl Free__7CMemoryFPCv
lbl_8026B798:
/* 8026B798 002686F8 38 00 00 00 */ li r0, 0
/* 8026B79C 002686FC 7F C3 F3 78 */ mr r3, r30
/* 8026B7A0 00268700 90 01 00 C8 */ stw r0, 0xc8(r1)
/* 8026B7A4 00268704 90 01 00 CC */ stw r0, 0xcc(r1)
/* 8026B7A8 00268708 90 01 00 D0 */ stw r0, 0xd0(r1)
/* 8026B7AC 0026870C 48 0D 34 D9 */ bl ReadLong__12CInputStreamFv
/* 8026B7B0 00268710 7C 79 1B 78 */ mr r25, r3
/* 8026B7B4 00268714 38 61 00 C4 */ addi r3, r1, 0xc4
/* 8026B7B8 00268718 7F 24 CB 78 */ mr r4, r25
/* 8026B7BC 0026871C 4B DE 4B 8D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
/* 8026B7C0 00268720 3B 40 00 00 */ li r26, 0
/* 8026B7C4 00268724 48 00 00 64 */ b lbl_8026B828
lbl_8026B7C8:
/* 8026B7C8 00268728 7F C4 F3 78 */ mr r4, r30
/* 8026B7CC 0026872C 38 61 00 78 */ addi r3, r1, 0x78
/* 8026B7D0 00268730 4B EA EC 91 */ bl __ct__9TEditorIdFR12CInputStream
/* 8026B7D4 00268734 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 8026B7D8 00268738 80 A1 00 CC */ lwz r5, 0xcc(r1)
/* 8026B7DC 0026873C 7C 00 28 00 */ cmpw r0, r5
/* 8026B7E0 00268740 41 80 00 1C */ blt lbl_8026B7FC
/* 8026B7E4 00268744 2C 05 00 00 */ cmpwi r5, 0
/* 8026B7E8 00268748 38 61 00 C4 */ addi r3, r1, 0xc4
/* 8026B7EC 0026874C 38 80 00 04 */ li r4, 4
/* 8026B7F0 00268750 41 82 00 08 */ beq lbl_8026B7F8
/* 8026B7F4 00268754 54 A4 08 3C */ slwi r4, r5, 1
lbl_8026B7F8:
/* 8026B7F8 00268758 4B DE 4B 51 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
lbl_8026B7FC:
/* 8026B7FC 0026875C 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 8026B800 00268760 80 61 00 D0 */ lwz r3, 0xd0(r1)
/* 8026B804 00268764 54 00 10 3A */ slwi r0, r0, 2
/* 8026B808 00268768 7C 63 02 15 */ add. r3, r3, r0
/* 8026B80C 0026876C 41 82 00 0C */ beq lbl_8026B818
/* 8026B810 00268770 80 01 00 78 */ lwz r0, 0x78(r1)
/* 8026B814 00268774 90 03 00 00 */ stw r0, 0(r3)
lbl_8026B818:
/* 8026B818 00268778 80 61 00 C8 */ lwz r3, 0xc8(r1)
/* 8026B81C 0026877C 3B 5A 00 01 */ addi r26, r26, 1
/* 8026B820 00268780 38 03 00 01 */ addi r0, r3, 1
/* 8026B824 00268784 90 01 00 C8 */ stw r0, 0xc8(r1)
lbl_8026B828:
/* 8026B828 00268788 7C 1A C8 00 */ cmpw r26, r25
/* 8026B82C 0026878C 41 80 FF 9C */ blt lbl_8026B7C8
/* 8026B830 00268790 38 7F 00 34 */ addi r3, r31, 0x34
/* 8026B834 00268794 38 01 00 C4 */ addi r0, r1, 0xc4
/* 8026B838 00268798 7C 03 00 40 */ cmplw r3, r0
/* 8026B83C 0026879C 41 82 00 B4 */ beq lbl_8026B8F0
/* 8026B840 002687A0 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 8026B844 002687A4 80 7F 00 40 */ lwz r3, 0x40(r31)
/* 8026B848 002687A8 54 00 10 3A */ slwi r0, r0, 2
/* 8026B84C 002687AC 7C 03 02 14 */ add r0, r3, r0
/* 8026B850 002687B0 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8026B854 002687B4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8026B858 002687B8 90 01 00 20 */ stw r0, 0x20(r1)
/* 8026B85C 002687BC 90 61 00 18 */ stw r3, 0x18(r1)
/* 8026B860 002687C0 48 00 00 08 */ b lbl_8026B868
lbl_8026B864:
/* 8026B864 002687C4 38 63 00 04 */ addi r3, r3, 4
lbl_8026B868:
/* 8026B868 002687C8 7C 03 00 40 */ cmplw r3, r0
/* 8026B86C 002687CC 40 82 FF F8 */ bne lbl_8026B864
/* 8026B870 002687D0 38 00 00 00 */ li r0, 0
/* 8026B874 002687D4 90 1F 00 38 */ stw r0, 0x38(r31)
/* 8026B878 002687D8 80 81 00 C8 */ lwz r4, 0xc8(r1)
/* 8026B87C 002687DC 2C 04 00 00 */ cmpwi r4, 0
/* 8026B880 002687E0 40 82 00 28 */ bne lbl_8026B8A8
/* 8026B884 002687E4 80 7F 00 40 */ lwz r3, 0x40(r31)
/* 8026B888 002687E8 28 03 00 00 */ cmplwi r3, 0
/* 8026B88C 002687EC 41 82 00 08 */ beq lbl_8026B894
/* 8026B890 002687F0 48 0A A0 A1 */ bl Free__7CMemoryFPCv
lbl_8026B894:
/* 8026B894 002687F4 38 00 00 00 */ li r0, 0
/* 8026B898 002687F8 90 1F 00 38 */ stw r0, 0x38(r31)
/* 8026B89C 002687FC 90 1F 00 3C */ stw r0, 0x3c(r31)
/* 8026B8A0 00268800 90 1F 00 40 */ stw r0, 0x40(r31)
/* 8026B8A4 00268804 48 00 00 4C */ b lbl_8026B8F0
lbl_8026B8A8:
/* 8026B8A8 00268808 38 7F 00 34 */ addi r3, r31, 0x34
/* 8026B8AC 0026880C 4B DE 4A 9D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi"
/* 8026B8B0 00268810 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 8026B8B4 00268814 80 A1 00 D0 */ lwz r5, 0xd0(r1)
/* 8026B8B8 00268818 54 00 10 3A */ slwi r0, r0, 2
/* 8026B8BC 0026881C 80 7F 00 40 */ lwz r3, 0x40(r31)
/* 8026B8C0 00268820 7C 85 02 14 */ add r4, r5, r0
/* 8026B8C4 00268824 48 00 00 1C */ b lbl_8026B8E0
lbl_8026B8C8:
/* 8026B8C8 00268828 28 03 00 00 */ cmplwi r3, 0
/* 8026B8CC 0026882C 41 82 00 0C */ beq lbl_8026B8D8
/* 8026B8D0 00268830 80 05 00 00 */ lwz r0, 0(r5)
/* 8026B8D4 00268834 90 03 00 00 */ stw r0, 0(r3)
lbl_8026B8D8:
/* 8026B8D8 00268838 38 63 00 04 */ addi r3, r3, 4
/* 8026B8DC 0026883C 38 A5 00 04 */ addi r5, r5, 4
lbl_8026B8E0:
/* 8026B8E0 00268840 7C 05 20 40 */ cmplw r5, r4
/* 8026B8E4 00268844 40 82 FF E4 */ bne lbl_8026B8C8
/* 8026B8E8 00268848 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 8026B8EC 0026884C 90 1F 00 38 */ stw r0, 0x38(r31)
lbl_8026B8F0:
/* 8026B8F0 00268850 80 01 00 C8 */ lwz r0, 0xc8(r1)
/* 8026B8F4 00268854 80 61 00 D0 */ lwz r3, 0xd0(r1)
/* 8026B8F8 00268858 54 00 10 3A */ slwi r0, r0, 2
/* 8026B8FC 0026885C 7C 03 02 14 */ add r0, r3, r0
/* 8026B900 00268860 90 61 00 6C */ stw r3, 0x6c(r1)
/* 8026B904 00268864 7C 64 1B 78 */ mr r4, r3
/* 8026B908 00268868 90 01 00 74 */ stw r0, 0x74(r1)
/* 8026B90C 0026886C 90 01 00 70 */ stw r0, 0x70(r1)
/* 8026B910 00268870 90 61 00 68 */ stw r3, 0x68(r1)
/* 8026B914 00268874 48 00 00 08 */ b lbl_8026B91C
lbl_8026B918:
/* 8026B918 00268878 38 84 00 04 */ addi r4, r4, 4
lbl_8026B91C:
/* 8026B91C 0026887C 7C 04 00 40 */ cmplw r4, r0
/* 8026B920 00268880 40 82 FF F8 */ bne lbl_8026B918
/* 8026B924 00268884 28 03 00 00 */ cmplwi r3, 0
/* 8026B928 00268888 41 82 00 08 */ beq lbl_8026B930
/* 8026B92C 0026888C 48 0A A0 05 */ bl Free__7CMemoryFPCv
lbl_8026B930:
/* 8026B930 00268890 28 1D 00 00 */ cmplwi r29, 0
/* 8026B934 00268894 41 82 01 B0 */ beq lbl_8026BAE4
/* 8026B938 00268898 38 00 00 00 */ li r0, 0
/* 8026B93C 0026889C 7F C3 F3 78 */ mr r3, r30
/* 8026B940 002688A0 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 8026B944 002688A4 90 01 00 BC */ stw r0, 0xbc(r1)
/* 8026B948 002688A8 90 01 00 C0 */ stw r0, 0xc0(r1)
/* 8026B94C 002688AC 48 0D 33 39 */ bl ReadLong__12CInputStreamFv
/* 8026B950 002688B0 7C 79 1B 78 */ mr r25, r3
/* 8026B954 002688B4 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8026B958 002688B8 7F 24 CB 78 */ mr r4, r25
/* 8026B95C 002688BC 4B D9 D0 F1 */ bl "reserve__Q24rstl55vector<Q24rstl11pair<Ui,Ui>,Q24rstl17rmemory_allocator>Fi"
/* 8026B960 002688C0 3B 40 00 00 */ li r26, 0
/* 8026B964 002688C4 48 00 00 70 */ b lbl_8026B9D4
lbl_8026B968:
/* 8026B968 002688C8 7F C3 F3 78 */ mr r3, r30
/* 8026B96C 002688CC 48 0D 33 19 */ bl ReadLong__12CInputStreamFv
/* 8026B970 002688D0 7C 7C 1B 78 */ mr r28, r3
/* 8026B974 002688D4 7F C3 F3 78 */ mr r3, r30
/* 8026B978 002688D8 48 0D 33 0D */ bl ReadLong__12CInputStreamFv
/* 8026B97C 002688DC 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 8026B980 002688E0 7C 7D 1B 78 */ mr r29, r3
/* 8026B984 002688E4 80 A1 00 BC */ lwz r5, 0xbc(r1)
/* 8026B988 002688E8 7C 00 28 00 */ cmpw r0, r5
/* 8026B98C 002688EC 41 80 00 1C */ blt lbl_8026B9A8
/* 8026B990 002688F0 2C 05 00 00 */ cmpwi r5, 0
/* 8026B994 002688F4 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8026B998 002688F8 38 80 00 04 */ li r4, 4
/* 8026B99C 002688FC 41 82 00 08 */ beq lbl_8026B9A4
/* 8026B9A0 00268900 54 A4 08 3C */ slwi r4, r5, 1
lbl_8026B9A4:
/* 8026B9A4 00268904 4B D9 D0 A9 */ bl "reserve__Q24rstl55vector<Q24rstl11pair<Ui,Ui>,Q24rstl17rmemory_allocator>Fi"
lbl_8026B9A8:
/* 8026B9A8 00268908 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 8026B9AC 0026890C 80 61 00 C0 */ lwz r3, 0xc0(r1)
/* 8026B9B0 00268910 54 00 18 38 */ slwi r0, r0, 3
/* 8026B9B4 00268914 7C 63 02 15 */ add. r3, r3, r0
/* 8026B9B8 00268918 41 82 00 0C */ beq lbl_8026B9C4
/* 8026B9BC 0026891C 93 83 00 00 */ stw r28, 0(r3)
/* 8026B9C0 00268920 93 A3 00 04 */ stw r29, 4(r3)
lbl_8026B9C4:
/* 8026B9C4 00268924 80 61 00 B8 */ lwz r3, 0xb8(r1)
/* 8026B9C8 00268928 3B 5A 00 01 */ addi r26, r26, 1
/* 8026B9CC 0026892C 38 03 00 01 */ addi r0, r3, 1
/* 8026B9D0 00268930 90 01 00 B8 */ stw r0, 0xb8(r1)
lbl_8026B9D4:
/* 8026B9D4 00268934 7C 1A C8 00 */ cmpw r26, r25
/* 8026B9D8 00268938 41 80 FF 90 */ blt lbl_8026B968
/* 8026B9DC 0026893C 38 7F 00 44 */ addi r3, r31, 0x44
/* 8026B9E0 00268940 38 01 00 B4 */ addi r0, r1, 0xb4
/* 8026B9E4 00268944 7C 03 00 40 */ cmplw r3, r0
/* 8026B9E8 00268948 41 82 00 BC */ beq lbl_8026BAA4
/* 8026B9EC 0026894C 80 1F 00 48 */ lwz r0, 0x48(r31)
/* 8026B9F0 00268950 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8026B9F4 00268954 54 00 18 38 */ slwi r0, r0, 3
/* 8026B9F8 00268958 7C 03 02 14 */ add r0, r3, r0
/* 8026B9FC 0026895C 90 61 00 0C */ stw r3, 0xc(r1)
/* 8026BA00 00268960 90 01 00 14 */ stw r0, 0x14(r1)
/* 8026BA04 00268964 90 01 00 10 */ stw r0, 0x10(r1)
/* 8026BA08 00268968 90 61 00 08 */ stw r3, 8(r1)
/* 8026BA0C 0026896C 48 00 00 08 */ b lbl_8026BA14
lbl_8026BA10:
/* 8026BA10 00268970 38 63 00 08 */ addi r3, r3, 8
lbl_8026BA14:
/* 8026BA14 00268974 7C 03 00 40 */ cmplw r3, r0
/* 8026BA18 00268978 40 82 FF F8 */ bne lbl_8026BA10
/* 8026BA1C 0026897C 38 00 00 00 */ li r0, 0
/* 8026BA20 00268980 90 1F 00 48 */ stw r0, 0x48(r31)
/* 8026BA24 00268984 80 81 00 B8 */ lwz r4, 0xb8(r1)
/* 8026BA28 00268988 2C 04 00 00 */ cmpwi r4, 0
/* 8026BA2C 0026898C 40 82 00 28 */ bne lbl_8026BA54
/* 8026BA30 00268990 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8026BA34 00268994 28 03 00 00 */ cmplwi r3, 0
/* 8026BA38 00268998 41 82 00 08 */ beq lbl_8026BA40
/* 8026BA3C 0026899C 48 0A 9E F5 */ bl Free__7CMemoryFPCv
lbl_8026BA40:
/* 8026BA40 002689A0 38 00 00 00 */ li r0, 0
/* 8026BA44 002689A4 90 1F 00 48 */ stw r0, 0x48(r31)
/* 8026BA48 002689A8 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 8026BA4C 002689AC 90 1F 00 50 */ stw r0, 0x50(r31)
/* 8026BA50 002689B0 48 00 00 54 */ b lbl_8026BAA4
lbl_8026BA54:
/* 8026BA54 002689B4 38 7F 00 44 */ addi r3, r31, 0x44
/* 8026BA58 002689B8 4B D9 CF F5 */ bl "reserve__Q24rstl55vector<Q24rstl11pair<Ui,Ui>,Q24rstl17rmemory_allocator>Fi"
/* 8026BA5C 002689BC 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 8026BA60 002689C0 80 A1 00 C0 */ lwz r5, 0xc0(r1)
/* 8026BA64 002689C4 54 00 18 38 */ slwi r0, r0, 3
/* 8026BA68 002689C8 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8026BA6C 002689CC 7C 85 02 14 */ add r4, r5, r0
/* 8026BA70 002689D0 48 00 00 24 */ b lbl_8026BA94
lbl_8026BA74:
/* 8026BA74 002689D4 28 03 00 00 */ cmplwi r3, 0
/* 8026BA78 002689D8 41 82 00 14 */ beq lbl_8026BA8C
/* 8026BA7C 002689DC 80 05 00 00 */ lwz r0, 0(r5)
/* 8026BA80 002689E0 90 03 00 00 */ stw r0, 0(r3)
/* 8026BA84 002689E4 80 05 00 04 */ lwz r0, 4(r5)
/* 8026BA88 002689E8 90 03 00 04 */ stw r0, 4(r3)
lbl_8026BA8C:
/* 8026BA8C 002689EC 38 63 00 08 */ addi r3, r3, 8
/* 8026BA90 002689F0 38 A5 00 08 */ addi r5, r5, 8
lbl_8026BA94:
/* 8026BA94 002689F4 7C 05 20 40 */ cmplw r5, r4
/* 8026BA98 002689F8 40 82 FF DC */ bne lbl_8026BA74
/* 8026BA9C 002689FC 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 8026BAA0 00268A00 90 1F 00 48 */ stw r0, 0x48(r31)
lbl_8026BAA4:
/* 8026BAA4 00268A04 80 01 00 B8 */ lwz r0, 0xb8(r1)
/* 8026BAA8 00268A08 80 61 00 C0 */ lwz r3, 0xc0(r1)
/* 8026BAAC 00268A0C 54 00 18 38 */ slwi r0, r0, 3
/* 8026BAB0 00268A10 7C 03 02 14 */ add r0, r3, r0
/* 8026BAB4 00268A14 90 61 00 5C */ stw r3, 0x5c(r1)
/* 8026BAB8 00268A18 7C 64 1B 78 */ mr r4, r3
/* 8026BABC 00268A1C 90 01 00 64 */ stw r0, 0x64(r1)
/* 8026BAC0 00268A20 90 01 00 60 */ stw r0, 0x60(r1)
/* 8026BAC4 00268A24 90 61 00 58 */ stw r3, 0x58(r1)
/* 8026BAC8 00268A28 48 00 00 08 */ b lbl_8026BAD0
lbl_8026BACC:
/* 8026BACC 00268A2C 38 84 00 08 */ addi r4, r4, 8
lbl_8026BAD0:
/* 8026BAD0 00268A30 7C 04 00 40 */ cmplw r4, r0
/* 8026BAD4 00268A34 40 82 FF F8 */ bne lbl_8026BACC
/* 8026BAD8 00268A38 28 03 00 00 */ cmplwi r3, 0
/* 8026BADC 00268A3C 41 82 00 08 */ beq lbl_8026BAE4
/* 8026BAE0 00268A40 48 0A 9E 51 */ bl Free__7CMemoryFPCv
lbl_8026BAE4:
/* 8026BAE4 00268A44 7F E3 FB 78 */ mr r3, r31
/* 8026BAE8 00268A48 BB 21 01 14 */ lmw r25, 0x114(r1)
/* 8026BAEC 00268A4C 80 01 01 34 */ lwz r0, 0x134(r1)
/* 8026BAF0 00268A50 7C 08 03 A6 */ mtlr r0
/* 8026BAF4 00268A54 38 21 01 30 */ addi r1, r1, 0x130
2022-07-14 05:48:03 +00:00
/* 8026BAF8 00268A58 4E 80 00 20 */ blr
.global "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi":
/* 8026BAFC 00268A5C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8026BB00 00268A60 7C 08 02 A6 */ mflr r0
/* 8026BB04 00268A64 90 01 00 34 */ stw r0, 0x34(r1)
/* 8026BB08 00268A68 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8026BB0C 00268A6C 7C 9F 23 78 */ mr r31, r4
/* 8026BB10 00268A70 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8026BB14 00268A74 7C 7E 1B 78 */ mr r30, r3
/* 8026BB18 00268A78 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8026BB1C 00268A7C 80 03 00 08 */ lwz r0, 8(r3)
/* 8026BB20 00268A80 7C 1F 00 00 */ cmpw r31, r0
/* 8026BB24 00268A84 40 81 00 B0 */ ble lbl_8026BBD4
/* 8026BB28 00268A88 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 8026BB2C 00268A8C 40 82 00 0C */ bne lbl_8026BB38
/* 8026BB30 00268A90 3B A0 00 00 */ li r29, 0
/* 8026BB34 00268A94 48 00 00 18 */ b lbl_8026BB4C
lbl_8026BB38:
/* 8026BB38 00268A98 3C 80 80 3D */ lis r4, lbl_803D5418@ha
/* 8026BB3C 00268A9C 38 A0 00 00 */ li r5, 0
/* 8026BB40 00268AA0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l
/* 8026BB44 00268AA4 48 0A 9C D5 */ bl __nwa__FUlPCcPCc
/* 8026BB48 00268AA8 7C 7D 1B 78 */ mr r29, r3
lbl_8026BB4C:
/* 8026BB4C 00268AAC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8026BB50 00268AB0 7F A4 EB 78 */ mr r4, r29
/* 8026BB54 00268AB4 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8026BB58 00268AB8 54 00 18 38 */ slwi r0, r0, 3
/* 8026BB5C 00268ABC 7C 65 02 14 */ add r3, r5, r0
/* 8026BB60 00268AC0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8026BB64 00268AC4 90 61 00 08 */ stw r3, 8(r1)
/* 8026BB68 00268AC8 90 61 00 0C */ stw r3, 0xc(r1)
/* 8026BB6C 00268ACC 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8026BB70 00268AD0 48 00 00 24 */ b lbl_8026BB94
lbl_8026BB74:
/* 8026BB74 00268AD4 28 04 00 00 */ cmplwi r4, 0
/* 8026BB78 00268AD8 41 82 00 14 */ beq lbl_8026BB8C
/* 8026BB7C 00268ADC 80 05 00 00 */ lwz r0, 0(r5)
/* 8026BB80 00268AE0 90 04 00 00 */ stw r0, 0(r4)
/* 8026BB84 00268AE4 80 05 00 04 */ lwz r0, 4(r5)
/* 8026BB88 00268AE8 90 04 00 04 */ stw r0, 4(r4)
lbl_8026BB8C:
/* 8026BB8C 00268AEC 38 84 00 08 */ addi r4, r4, 8
/* 8026BB90 00268AF0 38 A5 00 08 */ addi r5, r5, 8
lbl_8026BB94:
/* 8026BB94 00268AF4 7C 05 18 40 */ cmplw r5, r3
/* 8026BB98 00268AF8 40 82 FF DC */ bne lbl_8026BB74
/* 8026BB9C 00268AFC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8026BBA0 00268B00 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8026BBA4 00268B04 54 00 18 38 */ slwi r0, r0, 3
/* 8026BBA8 00268B08 7C 64 1B 78 */ mr r4, r3
/* 8026BBAC 00268B0C 7C 03 02 14 */ add r0, r3, r0
/* 8026BBB0 00268B10 48 00 00 08 */ b lbl_8026BBB8
lbl_8026BBB4:
/* 8026BBB4 00268B14 38 84 00 08 */ addi r4, r4, 8
lbl_8026BBB8:
/* 8026BBB8 00268B18 7C 04 00 40 */ cmplw r4, r0
/* 8026BBBC 00268B1C 40 82 FF F8 */ bne lbl_8026BBB4
/* 8026BBC0 00268B20 28 03 00 00 */ cmplwi r3, 0
/* 8026BBC4 00268B24 41 82 00 08 */ beq lbl_8026BBCC
/* 8026BBC8 00268B28 48 0A 9D 69 */ bl Free__7CMemoryFPCv
lbl_8026BBCC:
/* 8026BBCC 00268B2C 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8026BBD0 00268B30 93 FE 00 08 */ stw r31, 8(r30)
lbl_8026BBD4:
/* 8026BBD4 00268B34 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8026BBD8 00268B38 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8026BBDC 00268B3C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8026BBE0 00268B40 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8026BBE4 00268B44 7C 08 03 A6 */ mtlr r0
/* 8026BBE8 00268B48 38 21 00 30 */ addi r1, r1, 0x30
/* 8026BBEC 00268B4C 4E 80 00 20 */ blr
2022-07-18 05:21:27 +00:00
.section .rodata
.global lbl_803D5418
lbl_803D5418:
# ROM: 0x3D2418
.asciz "??(??)"
.balign 4