.include "macros.inc" .section .data .global lbl_803DA340 lbl_803DA340: # ROM: 0x3D7340 .4byte 0 .4byte 0 .4byte GetMetaTrans__23CTransitionDatabaseGameCFUiUi .4byte 0 .section .sbss # CTransitionDatabaseGame .global lbl_805A8DF0 lbl_805A8DF0: .skip 0x4 .global lbl_805A8DF4 lbl_805A8DF4: .skip 0x4 .global lbl_805A8DF8 lbl_805A8DF8: .skip 0x4 .global lbl_805A8DFC lbl_805A8DFC: .skip 0x4 .section .text, "ax" .global GetMetaTrans__23CTransitionDatabaseGameCFUiUi GetMetaTrans__23CTransitionDatabaseGameCFUiUi: /* 8006E13C 0006B09C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8006E140 0006B0A0 7C 08 02 A6 */ mflr r0 /* 8006E144 0006B0A4 90 01 00 74 */ stw r0, 0x74(r1) /* 8006E148 0006B0A8 38 C1 00 5C */ addi r6, r1, 0x5c /* 8006E14C 0006B0AC 38 E1 00 10 */ addi r7, r1, 0x10 /* 8006E150 0006B0B0 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8006E154 0006B0B4 7C 7F 1B 78 */ mr r31, r3 /* 8006E158 0006B0B8 80 03 00 18 */ lwz r0, 0x18(r3) /* 8006E15C 0006B0BC 38 61 00 38 */ addi r3, r1, 0x38 /* 8006E160 0006B0C0 89 2D A2 38 */ lbz r9, lbl_805A8DF8@sda21(r13) /* 8006E164 0006B0C4 1C 00 00 0C */ mulli r0, r0, 0xc /* 8006E168 0006B0C8 81 1F 00 20 */ lwz r8, 0x20(r31) /* 8006E16C 0006B0CC 90 81 00 5C */ stw r4, 0x5c(r1) /* 8006E170 0006B0D0 38 81 00 3C */ addi r4, r1, 0x3c /* 8006E174 0006B0D4 7C 08 02 14 */ add r0, r8, r0 /* 8006E178 0006B0D8 90 A1 00 08 */ stw r5, 8(r1) /* 8006E17C 0006B0DC 90 A1 00 60 */ stw r5, 0x60(r1) /* 8006E180 0006B0E0 38 A1 00 40 */ addi r5, r1, 0x40 /* 8006E184 0006B0E4 99 21 00 20 */ stb r9, 0x20(r1) /* 8006E188 0006B0E8 99 21 00 18 */ stb r9, 0x18(r1) /* 8006E18C 0006B0EC 90 01 00 58 */ stw r0, 0x58(r1) /* 8006E190 0006B0F0 90 01 00 54 */ stw r0, 0x54(r1) /* 8006E194 0006B0F4 91 01 00 50 */ stw r8, 0x50(r1) /* 8006E198 0006B0F8 99 21 00 10 */ stb r9, 0x10(r1) /* 8006E19C 0006B0FC 90 01 00 40 */ stw r0, 0x40(r1) /* 8006E1A0 0006B100 91 01 00 3C */ stw r8, 0x3c(r1) /* 8006E1A4 0006B104 48 00 0A 69 */ bl "lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r" /* 8006E1A8 0006B108 80 81 00 38 */ lwz r4, 0x38(r1) /* 8006E1AC 0006B10C 80 01 00 54 */ lwz r0, 0x54(r1) /* 8006E1B0 0006B110 90 81 00 34 */ stw r4, 0x34(r1) /* 8006E1B4 0006B114 7C 64 00 50 */ subf r3, r4, r0 /* 8006E1B8 0006B118 7C 00 20 50 */ subf r0, r0, r4 /* 8006E1BC 0006B11C 7C 60 03 78 */ or r0, r3, r0 /* 8006E1C0 0006B120 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f /* 8006E1C4 0006B124 41 82 00 4C */ beq lbl_8006E210 /* 8006E1C8 0006B128 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8006E1CC 0006B12C 80 64 00 00 */ lwz r3, 0(r4) /* 8006E1D0 0006B130 7C 00 18 40 */ cmplw r0, r3 /* 8006E1D4 0006B134 40 82 00 20 */ bne lbl_8006E1F4 /* 8006E1D8 0006B138 80 01 00 60 */ lwz r0, 0x60(r1) /* 8006E1DC 0006B13C 80 64 00 04 */ lwz r3, 4(r4) /* 8006E1E0 0006B140 7C 60 02 78 */ xor r0, r3, r0 /* 8006E1E4 0006B144 7C 00 00 34 */ cntlzw r0, r0 /* 8006E1E8 0006B148 7C 60 00 30 */ slw r0, r3, r0 /* 8006E1EC 0006B14C 54 00 0F FE */ srwi r0, r0, 0x1f /* 8006E1F0 0006B150 48 00 00 14 */ b lbl_8006E204 lbl_8006E1F4: /* 8006E1F4 0006B154 7C 60 02 78 */ xor r0, r3, r0 /* 8006E1F8 0006B158 7C 00 00 34 */ cntlzw r0, r0 /* 8006E1FC 0006B15C 7C 60 00 30 */ slw r0, r3, r0 /* 8006E200 0006B160 54 00 0F FE */ srwi r0, r0, 0x1f lbl_8006E204: /* 8006E204 0006B164 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 8006E208 0006B168 7C 00 00 34 */ cntlzw r0, r0 /* 8006E20C 0006B16C 54 00 D9 7E */ srwi r0, r0, 5 lbl_8006E210: /* 8006E210 0006B170 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8006E214 0006B174 38 81 00 54 */ addi r4, r1, 0x54 /* 8006E218 0006B178 41 82 00 08 */ beq lbl_8006E220 /* 8006E21C 0006B17C 38 81 00 34 */ addi r4, r1, 0x34 lbl_8006E220: /* 8006E220 0006B180 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8006E224 0006B184 80 7F 00 20 */ lwz r3, 0x20(r31) /* 8006E228 0006B188 1C 00 00 0C */ mulli r0, r0, 0xc /* 8006E22C 0006B18C 80 84 00 00 */ lwz r4, 0(r4) /* 8006E230 0006B190 7C 03 02 14 */ add r0, r3, r0 /* 8006E234 0006B194 7C 04 00 40 */ cmplw r4, r0 /* 8006E238 0006B198 41 82 00 0C */ beq lbl_8006E244 /* 8006E23C 0006B19C 38 64 00 08 */ addi r3, r4, 8 /* 8006E240 0006B1A0 48 00 00 B4 */ b lbl_8006E2F4 lbl_8006E244: /* 8006E244 0006B1A4 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8006E248 0006B1A8 38 61 00 28 */ addi r3, r1, 0x28 /* 8006E24C 0006B1AC 81 1F 00 30 */ lwz r8, 0x30(r31) /* 8006E250 0006B1B0 38 81 00 2C */ addi r4, r1, 0x2c /* 8006E254 0006B1B4 89 2D A2 3C */ lbz r9, lbl_805A8DFC@sda21(r13) /* 8006E258 0006B1B8 54 00 18 38 */ slwi r0, r0, 3 /* 8006E25C 0006B1BC 7C 08 02 14 */ add r0, r8, r0 /* 8006E260 0006B1C0 91 01 00 44 */ stw r8, 0x44(r1) /* 8006E264 0006B1C4 38 A1 00 30 */ addi r5, r1, 0x30 /* 8006E268 0006B1C8 38 C1 00 08 */ addi r6, r1, 8 /* 8006E26C 0006B1CC 99 21 00 1C */ stb r9, 0x1c(r1) /* 8006E270 0006B1D0 38 E1 00 0C */ addi r7, r1, 0xc /* 8006E274 0006B1D4 99 21 00 14 */ stb r9, 0x14(r1) /* 8006E278 0006B1D8 90 01 00 4C */ stw r0, 0x4c(r1) /* 8006E27C 0006B1DC 90 01 00 48 */ stw r0, 0x48(r1) /* 8006E280 0006B1E0 99 21 00 0C */ stb r9, 0xc(r1) /* 8006E284 0006B1E4 90 01 00 30 */ stw r0, 0x30(r1) /* 8006E288 0006B1E8 91 01 00 2C */ stw r8, 0x2c(r1) /* 8006E28C 0006B1EC 48 00 0A 75 */ bl "lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst" /* 8006E290 0006B1F0 80 A1 00 28 */ lwz r5, 0x28(r1) /* 8006E294 0006B1F4 38 80 00 00 */ li r4, 0 /* 8006E298 0006B1F8 80 01 00 48 */ lwz r0, 0x48(r1) /* 8006E29C 0006B1FC 90 A1 00 24 */ stw r5, 0x24(r1) /* 8006E2A0 0006B200 7C 05 00 40 */ cmplw r5, r0 /* 8006E2A4 0006B204 41 82 00 18 */ beq lbl_8006E2BC /* 8006E2A8 0006B208 80 61 00 08 */ lwz r3, 8(r1) /* 8006E2AC 0006B20C 80 05 00 00 */ lwz r0, 0(r5) /* 8006E2B0 0006B210 7C 03 00 40 */ cmplw r3, r0 /* 8006E2B4 0006B214 41 80 00 08 */ blt lbl_8006E2BC /* 8006E2B8 0006B218 38 80 00 01 */ li r4, 1 lbl_8006E2BC: /* 8006E2BC 0006B21C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8006E2C0 0006B220 38 81 00 48 */ addi r4, r1, 0x48 /* 8006E2C4 0006B224 41 82 00 08 */ beq lbl_8006E2CC /* 8006E2C8 0006B228 38 81 00 24 */ addi r4, r1, 0x24 lbl_8006E2CC: /* 8006E2CC 0006B22C 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8006E2D0 0006B230 80 7F 00 30 */ lwz r3, 0x30(r31) /* 8006E2D4 0006B234 54 00 18 38 */ slwi r0, r0, 3 /* 8006E2D8 0006B238 80 84 00 00 */ lwz r4, 0(r4) /* 8006E2DC 0006B23C 7C 03 02 14 */ add r0, r3, r0 /* 8006E2E0 0006B240 7C 04 00 40 */ cmplw r4, r0 /* 8006E2E4 0006B244 41 82 00 0C */ beq lbl_8006E2F0 /* 8006E2E8 0006B248 38 64 00 04 */ addi r3, r4, 4 /* 8006E2EC 0006B24C 48 00 00 08 */ b lbl_8006E2F4 lbl_8006E2F0: /* 8006E2F0 0006B250 38 7F 00 10 */ addi r3, r31, 0x10 lbl_8006E2F4: /* 8006E2F4 0006B254 80 01 00 74 */ lwz r0, 0x74(r1) /* 8006E2F8 0006B258 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8006E2FC 0006B25C 7C 08 03 A6 */ mtlr r0 /* 8006E300 0006B260 38 21 00 70 */ addi r1, r1, 0x70 /* 8006E304 0006B264 4E 80 00 20 */ blr .global "__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>" "__ct__23CTransitionDatabaseGameFRCQ24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>RCQ24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>RCQ24rstl20rc_ptr<10IMetaTrans>": /* 8006E308 0006B268 94 21 FF 80 */ stwu r1, -0x80(r1) /* 8006E30C 0006B26C 7C 08 02 A6 */ mflr r0 /* 8006E310 0006B270 3C E0 80 3E */ lis r7, lbl_803D9C08@ha /* 8006E314 0006B274 90 01 00 84 */ stw r0, 0x84(r1) /* 8006E318 0006B278 38 00 00 00 */ li r0, 0 /* 8006E31C 0006B27C BF 61 00 6C */ stmw r27, 0x6c(r1) /* 8006E320 0006B280 7C 7F 1B 78 */ mr r31, r3 /* 8006E324 0006B284 7C 9C 23 78 */ mr r28, r4 /* 8006E328 0006B288 7C BB 2B 78 */ mr r27, r5 /* 8006E32C 0006B28C 7C DD 33 78 */ mr r29, r6 /* 8006E330 0006B290 98 01 00 50 */ stb r0, 0x50(r1) /* 8006E334 0006B294 38 07 9C 08 */ addi r0, r7, lbl_803D9C08@l /* 8006E338 0006B298 90 03 00 00 */ stw r0, 0(r3) /* 8006E33C 0006B29C 88 01 00 50 */ lbz r0, 0x50(r1) /* 8006E340 0006B2A0 98 03 00 0C */ stb r0, 0xc(r3) /* 8006E344 0006B2A4 88 01 00 50 */ lbz r0, 0x50(r1) /* 8006E348 0006B2A8 28 00 00 00 */ cmplwi r0, 0 /* 8006E34C 0006B2AC 41 82 00 14 */ beq lbl_8006E360 /* 8006E350 0006B2B0 34 7F 00 04 */ addic. r3, r31, 4 /* 8006E354 0006B2B4 38 81 00 48 */ addi r4, r1, 0x48 /* 8006E358 0006B2B8 41 82 00 08 */ beq lbl_8006E360 /* 8006E35C 0006B2BC 48 2D 2B 4D */ bl __ct__6CTokenFRC6CToken lbl_8006E360: /* 8006E360 0006B2C0 88 01 00 50 */ lbz r0, 0x50(r1) /* 8006E364 0006B2C4 28 00 00 00 */ cmplwi r0, 0 /* 8006E368 0006B2C8 41 82 00 14 */ beq lbl_8006E37C /* 8006E36C 0006B2CC 34 61 00 48 */ addic. r3, r1, 0x48 /* 8006E370 0006B2D0 41 82 00 0C */ beq lbl_8006E37C /* 8006E374 0006B2D4 38 80 00 00 */ li r4, 0 /* 8006E378 0006B2D8 48 2D 2A C9 */ bl __dt__6CTokenFv lbl_8006E37C: /* 8006E37C 0006B2DC 38 C0 00 00 */ li r6, 0 /* 8006E380 0006B2E0 3C 60 80 3E */ lis r3, lbl_803DA340@ha /* 8006E384 0006B2E4 98 C1 00 50 */ stb r6, 0x50(r1) /* 8006E388 0006B2E8 38 03 A3 40 */ addi r0, r3, lbl_803DA340@l /* 8006E38C 0006B2EC 38 7F 00 14 */ addi r3, r31, 0x14 /* 8006E390 0006B2F0 90 1F 00 00 */ stw r0, 0(r31) /* 8006E394 0006B2F4 80 1D 00 00 */ lwz r0, 0(r29) /* 8006E398 0006B2F8 90 1F 00 10 */ stw r0, 0x10(r31) /* 8006E39C 0006B2FC 80 BF 00 10 */ lwz r5, 0x10(r31) /* 8006E3A0 0006B300 80 85 00 04 */ lwz r4, 4(r5) /* 8006E3A4 0006B304 38 04 00 01 */ addi r0, r4, 1 /* 8006E3A8 0006B308 90 05 00 04 */ stw r0, 4(r5) /* 8006E3AC 0006B30C 90 DF 00 18 */ stw r6, 0x18(r31) /* 8006E3B0 0006B310 90 DF 00 1C */ stw r6, 0x1c(r31) /* 8006E3B4 0006B314 90 DF 00 20 */ stw r6, 0x20(r31) /* 8006E3B8 0006B318 90 DF 00 28 */ stw r6, 0x28(r31) /* 8006E3BC 0006B31C 90 DF 00 2C */ stw r6, 0x2c(r31) /* 8006E3C0 0006B320 90 DF 00 30 */ stw r6, 0x30(r31) /* 8006E3C4 0006B324 80 9C 00 04 */ lwz r4, 4(r28) /* 8006E3C8 0006B328 83 9C 00 0C */ lwz r28, 0xc(r28) /* 8006E3CC 0006B32C 54 80 20 36 */ slwi r0, r4, 4 /* 8006E3D0 0006B330 7F DC 02 14 */ add r30, r28, r0 /* 8006E3D4 0006B334 48 00 09 ED */ bl "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" /* 8006E3D8 0006B338 3B A1 00 5C */ addi r29, r1, 0x5c /* 8006E3DC 0006B33C 48 00 00 AC */ b lbl_8006E488 lbl_8006E3E0: /* 8006E3E0 0006B340 80 7C 00 08 */ lwz r3, 8(r28) /* 8006E3E4 0006B344 80 1C 00 04 */ lwz r0, 4(r28) /* 8006E3E8 0006B348 90 01 00 54 */ stw r0, 0x54(r1) /* 8006E3EC 0006B34C 90 61 00 58 */ stw r3, 0x58(r1) /* 8006E3F0 0006B350 80 9C 00 0C */ lwz r4, 0xc(r28) /* 8006E3F4 0006B354 90 81 00 5C */ stw r4, 0x5c(r1) /* 8006E3F8 0006B358 80 64 00 04 */ lwz r3, 4(r4) /* 8006E3FC 0006B35C 38 03 00 01 */ addi r0, r3, 1 /* 8006E400 0006B360 90 04 00 04 */ stw r0, 4(r4) /* 8006E404 0006B364 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8006E408 0006B368 80 BF 00 1C */ lwz r5, 0x1c(r31) /* 8006E40C 0006B36C 7C 00 28 00 */ cmpw r0, r5 /* 8006E410 0006B370 41 80 00 1C */ blt lbl_8006E42C /* 8006E414 0006B374 2C 05 00 00 */ cmpwi r5, 0 /* 8006E418 0006B378 38 7F 00 14 */ addi r3, r31, 0x14 /* 8006E41C 0006B37C 38 80 00 04 */ li r4, 4 /* 8006E420 0006B380 41 82 00 08 */ beq lbl_8006E428 /* 8006E424 0006B384 54 A4 08 3C */ slwi r4, r5, 1 lbl_8006E428: /* 8006E428 0006B388 48 00 09 99 */ bl "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" lbl_8006E42C: /* 8006E42C 0006B38C 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8006E430 0006B390 80 7F 00 20 */ lwz r3, 0x20(r31) /* 8006E434 0006B394 1C 00 00 0C */ mulli r0, r0, 0xc /* 8006E438 0006B398 7C 63 02 15 */ add. r3, r3, r0 /* 8006E43C 0006B39C 41 82 00 2C */ beq lbl_8006E468 /* 8006E440 0006B3A0 80 01 00 54 */ lwz r0, 0x54(r1) /* 8006E444 0006B3A4 90 03 00 00 */ stw r0, 0(r3) /* 8006E448 0006B3A8 80 01 00 58 */ lwz r0, 0x58(r1) /* 8006E44C 0006B3AC 90 03 00 04 */ stw r0, 4(r3) /* 8006E450 0006B3B0 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8006E454 0006B3B4 90 03 00 08 */ stw r0, 8(r3) /* 8006E458 0006B3B8 80 83 00 08 */ lwz r4, 8(r3) /* 8006E45C 0006B3BC 80 64 00 04 */ lwz r3, 4(r4) /* 8006E460 0006B3C0 38 03 00 01 */ addi r0, r3, 1 /* 8006E464 0006B3C4 90 04 00 04 */ stw r0, 4(r4) lbl_8006E468: /* 8006E468 0006B3C8 80 7F 00 18 */ lwz r3, 0x18(r31) /* 8006E46C 0006B3CC 28 1D 00 00 */ cmplwi r29, 0 /* 8006E470 0006B3D0 3B 9C 00 10 */ addi r28, r28, 0x10 /* 8006E474 0006B3D4 38 03 00 01 */ addi r0, r3, 1 /* 8006E478 0006B3D8 90 1F 00 18 */ stw r0, 0x18(r31) /* 8006E47C 0006B3DC 41 82 00 0C */ beq lbl_8006E488 /* 8006E480 0006B3E0 7F A3 EB 78 */ mr r3, r29 /* 8006E484 0006B3E4 4B FC 5E 11 */ bl __dt__17CMetaTransFactoryFv lbl_8006E488: /* 8006E488 0006B3E8 7C 1C F0 40 */ cmplw r28, r30 /* 8006E48C 0006B3EC 40 82 FF 54 */ bne lbl_8006E3E0 /* 8006E490 0006B3F0 88 ED A2 30 */ lbz r7, lbl_805A8DF0@sda21(r13) /* 8006E494 0006B3F4 38 61 00 30 */ addi r3, r1, 0x30 /* 8006E498 0006B3F8 38 81 00 38 */ addi r4, r1, 0x38 /* 8006E49C 0006B3FC 38 A1 00 10 */ addi r5, r1, 0x10 /* 8006E4A0 0006B400 98 E1 00 10 */ stb r7, 0x10(r1) /* 8006E4A4 0006B404 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8006E4A8 0006B408 80 DF 00 20 */ lwz r6, 0x20(r31) /* 8006E4AC 0006B40C 1C 00 00 0C */ mulli r0, r0, 0xc /* 8006E4B0 0006B410 98 E1 00 1C */ stb r7, 0x1c(r1) /* 8006E4B4 0006B414 98 E1 00 14 */ stb r7, 0x14(r1) /* 8006E4B8 0006B418 7C C6 02 14 */ add r6, r6, r0 /* 8006E4BC 0006B41C 90 C1 00 38 */ stw r6, 0x38(r1) /* 8006E4C0 0006B420 80 1F 00 20 */ lwz r0, 0x20(r31) /* 8006E4C4 0006B424 90 C1 00 3C */ stw r6, 0x3c(r1) /* 8006E4C8 0006B428 90 01 00 34 */ stw r0, 0x34(r1) /* 8006E4CC 0006B42C 90 01 00 30 */ stw r0, 0x30(r1) /* 8006E4D0 0006B430 48 00 01 21 */ bl sub_8006e5f0 /* 8006E4D4 0006B434 80 9B 00 04 */ lwz r4, 4(r27) /* 8006E4D8 0006B438 38 7F 00 24 */ addi r3, r31, 0x24 /* 8006E4DC 0006B43C 83 9B 00 0C */ lwz r28, 0xc(r27) /* 8006E4E0 0006B440 54 80 18 38 */ slwi r0, r4, 3 /* 8006E4E4 0006B444 7F DC 02 14 */ add r30, r28, r0 /* 8006E4E8 0006B448 48 00 09 F1 */ bl "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" /* 8006E4EC 0006B44C 3B A1 00 44 */ addi r29, r1, 0x44 /* 8006E4F0 0006B450 48 00 00 9C */ b lbl_8006E58C lbl_8006E4F4: /* 8006E4F4 0006B454 80 1C 00 00 */ lwz r0, 0(r28) /* 8006E4F8 0006B458 90 01 00 40 */ stw r0, 0x40(r1) /* 8006E4FC 0006B45C 80 9C 00 04 */ lwz r4, 4(r28) /* 8006E500 0006B460 90 81 00 44 */ stw r4, 0x44(r1) /* 8006E504 0006B464 80 64 00 04 */ lwz r3, 4(r4) /* 8006E508 0006B468 38 03 00 01 */ addi r0, r3, 1 /* 8006E50C 0006B46C 90 04 00 04 */ stw r0, 4(r4) /* 8006E510 0006B470 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8006E514 0006B474 80 BF 00 2C */ lwz r5, 0x2c(r31) /* 8006E518 0006B478 7C 00 28 00 */ cmpw r0, r5 /* 8006E51C 0006B47C 41 80 00 1C */ blt lbl_8006E538 /* 8006E520 0006B480 2C 05 00 00 */ cmpwi r5, 0 /* 8006E524 0006B484 38 7F 00 24 */ addi r3, r31, 0x24 /* 8006E528 0006B488 38 80 00 04 */ li r4, 4 /* 8006E52C 0006B48C 41 82 00 08 */ beq lbl_8006E534 /* 8006E530 0006B490 54 A4 08 3C */ slwi r4, r5, 1 lbl_8006E534: /* 8006E534 0006B494 48 00 09 A5 */ bl "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" lbl_8006E538: /* 8006E538 0006B498 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8006E53C 0006B49C 80 7F 00 30 */ lwz r3, 0x30(r31) /* 8006E540 0006B4A0 54 00 18 38 */ slwi r0, r0, 3 /* 8006E544 0006B4A4 7C 63 02 15 */ add. r3, r3, r0 /* 8006E548 0006B4A8 41 82 00 24 */ beq lbl_8006E56C /* 8006E54C 0006B4AC 80 01 00 40 */ lwz r0, 0x40(r1) /* 8006E550 0006B4B0 90 03 00 00 */ stw r0, 0(r3) /* 8006E554 0006B4B4 80 01 00 44 */ lwz r0, 0x44(r1) /* 8006E558 0006B4B8 90 03 00 04 */ stw r0, 4(r3) /* 8006E55C 0006B4BC 80 83 00 04 */ lwz r4, 4(r3) /* 8006E560 0006B4C0 80 64 00 04 */ lwz r3, 4(r4) /* 8006E564 0006B4C4 38 03 00 01 */ addi r0, r3, 1 /* 8006E568 0006B4C8 90 04 00 04 */ stw r0, 4(r4) lbl_8006E56C: /* 8006E56C 0006B4CC 80 7F 00 28 */ lwz r3, 0x28(r31) /* 8006E570 0006B4D0 28 1D 00 00 */ cmplwi r29, 0 /* 8006E574 0006B4D4 3B 9C 00 08 */ addi r28, r28, 8 /* 8006E578 0006B4D8 38 03 00 01 */ addi r0, r3, 1 /* 8006E57C 0006B4DC 90 1F 00 28 */ stw r0, 0x28(r31) /* 8006E580 0006B4E0 41 82 00 0C */ beq lbl_8006E58C /* 8006E584 0006B4E4 7F A3 EB 78 */ mr r3, r29 /* 8006E588 0006B4E8 4B FC 5D 0D */ bl __dt__17CMetaTransFactoryFv lbl_8006E58C: /* 8006E58C 0006B4EC 7C 1C F0 40 */ cmplw r28, r30 /* 8006E590 0006B4F0 40 82 FF 64 */ bne lbl_8006E4F4 /* 8006E594 0006B4F4 88 ED A2 34 */ lbz r7, lbl_805A8DF4@sda21(r13) /* 8006E598 0006B4F8 38 61 00 20 */ addi r3, r1, 0x20 /* 8006E59C 0006B4FC 38 81 00 28 */ addi r4, r1, 0x28 /* 8006E5A0 0006B500 38 A1 00 08 */ addi r5, r1, 8 /* 8006E5A4 0006B504 98 E1 00 08 */ stb r7, 8(r1) /* 8006E5A8 0006B508 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8006E5AC 0006B50C 80 DF 00 30 */ lwz r6, 0x30(r31) /* 8006E5B0 0006B510 54 00 18 38 */ slwi r0, r0, 3 /* 8006E5B4 0006B514 98 E1 00 18 */ stb r7, 0x18(r1) /* 8006E5B8 0006B518 7C C6 02 14 */ add r6, r6, r0 /* 8006E5BC 0006B51C 90 C1 00 28 */ stw r6, 0x28(r1) /* 8006E5C0 0006B520 80 1F 00 30 */ lwz r0, 0x30(r31) /* 8006E5C4 0006B524 98 E1 00 0C */ stb r7, 0xc(r1) /* 8006E5C8 0006B528 90 C1 00 2C */ stw r6, 0x2c(r1) /* 8006E5CC 0006B52C 90 01 00 24 */ stw r0, 0x24(r1) /* 8006E5D0 0006B530 90 01 00 20 */ stw r0, 0x20(r1) /* 8006E5D4 0006B534 48 00 03 79 */ bl sub_8006e94c /* 8006E5D8 0006B538 7F E3 FB 78 */ mr r3, r31 /* 8006E5DC 0006B53C BB 61 00 6C */ lmw r27, 0x6c(r1) /* 8006E5E0 0006B540 80 01 00 84 */ lwz r0, 0x84(r1) /* 8006E5E4 0006B544 7C 08 03 A6 */ mtlr r0 /* 8006E5E8 0006B548 38 21 00 80 */ addi r1, r1, 0x80 /* 8006E5EC 0006B54C 4E 80 00 20 */ blr .global sub_8006e5f0 sub_8006e5f0: /* 8006E5F0 0006B550 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8006E5F4 0006B554 7C 08 02 A6 */ mflr r0 /* 8006E5F8 0006B558 90 01 00 74 */ stw r0, 0x74(r1) /* 8006E5FC 0006B55C BF 61 00 5C */ stmw r27, 0x5c(r1) /* 8006E600 0006B560 7C 9D 23 78 */ mr r29, r4 /* 8006E604 0006B564 7C 7C 1B 78 */ mr r28, r3 /* 8006E608 0006B568 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha /* 8006E60C 0006B56C 38 84 AA AB */ addi r4, r4, 0x2AAAAAAB@l /* 8006E610 0006B570 7C BE 2B 78 */ mr r30, r5 /* 8006E614 0006B574 80 63 00 00 */ lwz r3, 0(r3) /* 8006E618 0006B578 80 DD 00 00 */ lwz r6, 0(r29) /* 8006E61C 0006B57C 7C 03 30 50 */ subf r0, r3, r6 /* 8006E620 0006B580 7C 04 00 96 */ mulhw r0, r4, r0 /* 8006E624 0006B584 7C 00 0E 70 */ srawi r0, r0, 1 /* 8006E628 0006B588 54 04 0F FE */ srwi r4, r0, 0x1f /* 8006E62C 0006B58C 7C 80 22 14 */ add r4, r0, r4 /* 8006E630 0006B590 2C 04 00 01 */ cmpwi r4, 1 /* 8006E634 0006B594 40 81 01 FC */ ble lbl_8006E830 /* 8006E638 0006B598 2C 04 00 14 */ cmpwi r4, 0x14 /* 8006E63C 0006B59C 41 81 00 30 */ bgt lbl_8006E66C /* 8006E640 0006B5A0 88 FE 00 00 */ lbz r7, 0(r30) /* 8006E644 0006B5A4 38 61 00 34 */ addi r3, r1, 0x34 /* 8006E648 0006B5A8 80 DD 00 00 */ lwz r6, 0(r29) /* 8006E64C 0006B5AC 38 81 00 30 */ addi r4, r1, 0x30 /* 8006E650 0006B5B0 80 1C 00 00 */ lwz r0, 0(r28) /* 8006E654 0006B5B4 38 A1 00 14 */ addi r5, r1, 0x14 /* 8006E658 0006B5B8 98 E1 00 14 */ stb r7, 0x14(r1) /* 8006E65C 0006B5BC 90 C1 00 30 */ stw r6, 0x30(r1) /* 8006E660 0006B5C0 90 01 00 34 */ stw r0, 0x34(r1) /* 8006E664 0006B5C4 48 00 11 8D */ bl "__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl" /* 8006E668 0006B5C8 48 00 01 C8 */ b lbl_8006E830 lbl_8006E66C: /* 8006E66C 0006B5CC 54 80 0F FE */ srwi r0, r4, 0x1f /* 8006E670 0006B5D0 38 A6 FF F4 */ addi r5, r6, -12 /* 8006E674 0006B5D4 7C 80 22 14 */ add r4, r0, r4 /* 8006E678 0006B5D8 88 1E 00 00 */ lbz r0, 0(r30) /* 8006E67C 0006B5DC 7C 84 0E 70 */ srawi r4, r4, 1 /* 8006E680 0006B5E0 90 A1 00 3C */ stw r5, 0x3c(r1) /* 8006E684 0006B5E4 1C 84 00 0C */ mulli r4, r4, 0xc /* 8006E688 0006B5E8 38 C1 00 10 */ addi r6, r1, 0x10 /* 8006E68C 0006B5EC 98 01 00 10 */ stb r0, 0x10(r1) /* 8006E690 0006B5F0 7F 63 22 14 */ add r27, r3, r4 /* 8006E694 0006B5F4 7F 64 DB 78 */ mr r4, r27 /* 8006E698 0006B5F8 48 00 0C F5 */ bl sub_8006f38c /* 8006E69C 0006B5FC 80 1B 00 00 */ lwz r0, 0(r27) /* 8006E6A0 0006B600 3B E1 00 48 */ addi r31, r1, 0x48 /* 8006E6A4 0006B604 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006E6A8 0006B608 90 01 00 40 */ stw r0, 0x40(r1) /* 8006E6AC 0006B60C 38 03 FF F4 */ addi r0, r3, -12 /* 8006E6B0 0006B610 80 7B 00 04 */ lwz r3, 4(r27) /* 8006E6B4 0006B614 90 01 00 3C */ stw r0, 0x3c(r1) /* 8006E6B8 0006B618 90 61 00 44 */ stw r3, 0x44(r1) /* 8006E6BC 0006B61C 80 9B 00 08 */ lwz r4, 8(r27) /* 8006E6C0 0006B620 90 81 00 48 */ stw r4, 0x48(r1) /* 8006E6C4 0006B624 80 64 00 04 */ lwz r3, 4(r4) /* 8006E6C8 0006B628 38 03 00 01 */ addi r0, r3, 1 /* 8006E6CC 0006B62C 90 04 00 04 */ stw r0, 4(r4) /* 8006E6D0 0006B630 80 7C 00 00 */ lwz r3, 0(r28) /* 8006E6D4 0006B634 38 03 00 0C */ addi r0, r3, 0xc /* 8006E6D8 0006B638 90 01 00 38 */ stw r0, 0x38(r1) lbl_8006E6DC: /* 8006E6DC 0006B63C 80 01 00 40 */ lwz r0, 0x40(r1) /* 8006E6E0 0006B640 80 81 00 44 */ lwz r4, 0x44(r1) /* 8006E6E4 0006B644 48 00 00 10 */ b lbl_8006E6F4 lbl_8006E6E8: /* 8006E6E8 0006B648 80 61 00 38 */ lwz r3, 0x38(r1) /* 8006E6EC 0006B64C 38 63 00 0C */ addi r3, r3, 0xc /* 8006E6F0 0006B650 90 61 00 38 */ stw r3, 0x38(r1) lbl_8006E6F4: /* 8006E6F4 0006B654 80 61 00 38 */ lwz r3, 0x38(r1) /* 8006E6F8 0006B658 80 A3 00 00 */ lwz r5, 0(r3) /* 8006E6FC 0006B65C 7C 05 00 40 */ cmplw r5, r0 /* 8006E700 0006B660 40 82 00 1C */ bne lbl_8006E71C /* 8006E704 0006B664 80 63 00 04 */ lwz r3, 4(r3) /* 8006E708 0006B668 7C 83 1A 78 */ xor r3, r4, r3 /* 8006E70C 0006B66C 7C 63 00 34 */ cntlzw r3, r3 /* 8006E710 0006B670 7C 83 18 30 */ slw r3, r4, r3 /* 8006E714 0006B674 54 63 0F FE */ srwi r3, r3, 0x1f /* 8006E718 0006B678 48 00 00 14 */ b lbl_8006E72C lbl_8006E71C: /* 8006E71C 0006B67C 7C 03 2A 78 */ xor r3, r0, r5 /* 8006E720 0006B680 7C 63 00 34 */ cntlzw r3, r3 /* 8006E724 0006B684 7C 03 18 30 */ slw r3, r0, r3 /* 8006E728 0006B688 54 63 0F FE */ srwi r3, r3, 0x1f lbl_8006E72C: /* 8006E72C 0006B68C 54 63 06 3F */ clrlwi. r3, r3, 0x18 /* 8006E730 0006B690 40 82 FF B8 */ bne lbl_8006E6E8 /* 8006E734 0006B694 80 A1 00 44 */ lwz r5, 0x44(r1) /* 8006E738 0006B698 48 00 00 10 */ b lbl_8006E748 lbl_8006E73C: /* 8006E73C 0006B69C 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006E740 0006B6A0 38 63 FF F4 */ addi r3, r3, -12 /* 8006E744 0006B6A4 90 61 00 3C */ stw r3, 0x3c(r1) lbl_8006E748: /* 8006E748 0006B6A8 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006E74C 0006B6AC 80 83 00 00 */ lwz r4, 0(r3) /* 8006E750 0006B6B0 7C 00 20 40 */ cmplw r0, r4 /* 8006E754 0006B6B4 40 82 00 1C */ bne lbl_8006E770 /* 8006E758 0006B6B8 80 83 00 04 */ lwz r4, 4(r3) /* 8006E75C 0006B6BC 7C 83 2A 78 */ xor r3, r4, r5 /* 8006E760 0006B6C0 7C 63 00 34 */ cntlzw r3, r3 /* 8006E764 0006B6C4 7C 83 18 30 */ slw r3, r4, r3 /* 8006E768 0006B6C8 54 63 0F FE */ srwi r3, r3, 0x1f /* 8006E76C 0006B6CC 48 00 00 14 */ b lbl_8006E780 lbl_8006E770: /* 8006E770 0006B6D0 7C 83 02 78 */ xor r3, r4, r0 /* 8006E774 0006B6D4 7C 63 00 34 */ cntlzw r3, r3 /* 8006E778 0006B6D8 7C 83 18 30 */ slw r3, r4, r3 /* 8006E77C 0006B6DC 54 63 0F FE */ srwi r3, r3, 0x1f lbl_8006E780: /* 8006E780 0006B6E0 54 63 06 3F */ clrlwi. r3, r3, 0x18 /* 8006E784 0006B6E4 40 82 FF B8 */ bne lbl_8006E73C /* 8006E788 0006B6E8 80 61 00 38 */ lwz r3, 0x38(r1) /* 8006E78C 0006B6EC 80 01 00 3C */ lwz r0, 0x3c(r1) /* 8006E790 0006B6F0 7C 03 00 40 */ cmplw r3, r0 /* 8006E794 0006B6F4 40 80 00 3C */ bge lbl_8006E7D0 /* 8006E798 0006B6F8 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 8006E79C 0006B6FC 38 61 00 2C */ addi r3, r1, 0x2c /* 8006E7A0 0006B700 80 01 00 38 */ lwz r0, 0x38(r1) /* 8006E7A4 0006B704 38 81 00 28 */ addi r4, r1, 0x28 /* 8006E7A8 0006B708 90 A1 00 28 */ stw r5, 0x28(r1) /* 8006E7AC 0006B70C 90 01 00 2C */ stw r0, 0x2c(r1) /* 8006E7B0 0006B710 48 00 00 95 */ bl sub_8006e844 /* 8006E7B4 0006B714 80 81 00 38 */ lwz r4, 0x38(r1) /* 8006E7B8 0006B718 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006E7BC 0006B71C 38 84 00 0C */ addi r4, r4, 0xc /* 8006E7C0 0006B720 38 03 FF F4 */ addi r0, r3, -12 /* 8006E7C4 0006B724 90 81 00 38 */ stw r4, 0x38(r1) /* 8006E7C8 0006B728 90 01 00 3C */ stw r0, 0x3c(r1) /* 8006E7CC 0006B72C 4B FF FF 10 */ b lbl_8006E6DC lbl_8006E7D0: /* 8006E7D0 0006B730 88 FE 00 00 */ lbz r7, 0(r30) /* 8006E7D4 0006B734 38 61 00 24 */ addi r3, r1, 0x24 /* 8006E7D8 0006B738 80 C1 00 38 */ lwz r6, 0x38(r1) /* 8006E7DC 0006B73C 38 81 00 20 */ addi r4, r1, 0x20 /* 8006E7E0 0006B740 80 1C 00 00 */ lwz r0, 0(r28) /* 8006E7E4 0006B744 38 A1 00 0C */ addi r5, r1, 0xc /* 8006E7E8 0006B748 98 E1 00 0C */ stb r7, 0xc(r1) /* 8006E7EC 0006B74C 90 C1 00 20 */ stw r6, 0x20(r1) /* 8006E7F0 0006B750 90 01 00 24 */ stw r0, 0x24(r1) /* 8006E7F4 0006B754 4B FF FD FD */ bl sub_8006e5f0 /* 8006E7F8 0006B758 88 FE 00 00 */ lbz r7, 0(r30) /* 8006E7FC 0006B75C 38 61 00 1C */ addi r3, r1, 0x1c /* 8006E800 0006B760 80 DD 00 00 */ lwz r6, 0(r29) /* 8006E804 0006B764 38 81 00 18 */ addi r4, r1, 0x18 /* 8006E808 0006B768 80 01 00 38 */ lwz r0, 0x38(r1) /* 8006E80C 0006B76C 38 A1 00 08 */ addi r5, r1, 8 /* 8006E810 0006B770 98 E1 00 08 */ stb r7, 8(r1) /* 8006E814 0006B774 90 C1 00 18 */ stw r6, 0x18(r1) /* 8006E818 0006B778 90 01 00 1C */ stw r0, 0x1c(r1) /* 8006E81C 0006B77C 4B FF FD D5 */ bl sub_8006e5f0 /* 8006E820 0006B780 28 1F 00 00 */ cmplwi r31, 0 /* 8006E824 0006B784 41 82 00 0C */ beq lbl_8006E830 /* 8006E828 0006B788 7F E3 FB 78 */ mr r3, r31 /* 8006E82C 0006B78C 4B FC 5A 69 */ bl __dt__17CMetaTransFactoryFv lbl_8006E830: /* 8006E830 0006B790 BB 61 00 5C */ lmw r27, 0x5c(r1) /* 8006E834 0006B794 80 01 00 74 */ lwz r0, 0x74(r1) /* 8006E838 0006B798 7C 08 03 A6 */ mtlr r0 /* 8006E83C 0006B79C 38 21 00 70 */ addi r1, r1, 0x70 /* 8006E840 0006B7A0 4E 80 00 20 */ blr .global sub_8006e844 sub_8006e844: /* 8006E844 0006B7A4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006E848 0006B7A8 7C 08 02 A6 */ mflr r0 /* 8006E84C 0006B7AC 90 01 00 34 */ stw r0, 0x34(r1) /* 8006E850 0006B7B0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8006E854 0006B7B4 3B E1 00 10 */ addi r31, r1, 0x10 /* 8006E858 0006B7B8 93 C1 00 28 */ stw r30, 0x28(r1) /* 8006E85C 0006B7BC 7C 9E 23 78 */ mr r30, r4 /* 8006E860 0006B7C0 93 A1 00 24 */ stw r29, 0x24(r1) /* 8006E864 0006B7C4 93 81 00 20 */ stw r28, 0x20(r1) /* 8006E868 0006B7C8 80 A3 00 00 */ lwz r5, 0(r3) /* 8006E86C 0006B7CC 80 05 00 00 */ lwz r0, 0(r5) /* 8006E870 0006B7D0 90 01 00 08 */ stw r0, 8(r1) /* 8006E874 0006B7D4 80 05 00 04 */ lwz r0, 4(r5) /* 8006E878 0006B7D8 90 01 00 0C */ stw r0, 0xc(r1) /* 8006E87C 0006B7DC 80 A5 00 08 */ lwz r5, 8(r5) /* 8006E880 0006B7E0 90 A1 00 10 */ stw r5, 0x10(r1) /* 8006E884 0006B7E4 80 85 00 04 */ lwz r4, 4(r5) /* 8006E888 0006B7E8 38 04 00 01 */ addi r0, r4, 1 /* 8006E88C 0006B7EC 90 05 00 04 */ stw r0, 4(r5) /* 8006E890 0006B7F0 83 BE 00 00 */ lwz r29, 0(r30) /* 8006E894 0006B7F4 83 83 00 00 */ lwz r28, 0(r3) /* 8006E898 0006B7F8 80 7D 00 00 */ lwz r3, 0(r29) /* 8006E89C 0006B7FC 80 1D 00 04 */ lwz r0, 4(r29) /* 8006E8A0 0006B800 90 7C 00 00 */ stw r3, 0(r28) /* 8006E8A4 0006B804 90 1C 00 04 */ stw r0, 4(r28) /* 8006E8A8 0006B808 80 7C 00 08 */ lwz r3, 8(r28) /* 8006E8AC 0006B80C 80 1D 00 08 */ lwz r0, 8(r29) /* 8006E8B0 0006B810 7C 03 00 40 */ cmplw r3, r0 /* 8006E8B4 0006B814 41 82 00 24 */ beq lbl_8006E8D8 /* 8006E8B8 0006B818 38 7C 00 08 */ addi r3, r28, 8 /* 8006E8BC 0006B81C 4B FC 59 D9 */ bl __dt__17CMetaTransFactoryFv /* 8006E8C0 0006B820 80 1D 00 08 */ lwz r0, 8(r29) /* 8006E8C4 0006B824 90 1C 00 08 */ stw r0, 8(r28) /* 8006E8C8 0006B828 80 9C 00 08 */ lwz r4, 8(r28) /* 8006E8CC 0006B82C 80 64 00 04 */ lwz r3, 4(r4) /* 8006E8D0 0006B830 38 03 00 01 */ addi r0, r3, 1 /* 8006E8D4 0006B834 90 04 00 04 */ stw r0, 4(r4) lbl_8006E8D8: /* 8006E8D8 0006B838 83 9E 00 00 */ lwz r28, 0(r30) /* 8006E8DC 0006B83C 80 61 00 08 */ lwz r3, 8(r1) /* 8006E8E0 0006B840 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006E8E4 0006B844 90 7C 00 00 */ stw r3, 0(r28) /* 8006E8E8 0006B848 90 1C 00 04 */ stw r0, 4(r28) /* 8006E8EC 0006B84C 80 7C 00 08 */ lwz r3, 8(r28) /* 8006E8F0 0006B850 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006E8F4 0006B854 7C 03 00 40 */ cmplw r3, r0 /* 8006E8F8 0006B858 41 82 00 24 */ beq lbl_8006E91C /* 8006E8FC 0006B85C 38 7C 00 08 */ addi r3, r28, 8 /* 8006E900 0006B860 4B FC 59 95 */ bl __dt__17CMetaTransFactoryFv /* 8006E904 0006B864 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006E908 0006B868 90 1C 00 08 */ stw r0, 8(r28) /* 8006E90C 0006B86C 80 9C 00 08 */ lwz r4, 8(r28) /* 8006E910 0006B870 80 64 00 04 */ lwz r3, 4(r4) /* 8006E914 0006B874 38 03 00 01 */ addi r0, r3, 1 /* 8006E918 0006B878 90 04 00 04 */ stw r0, 4(r4) lbl_8006E91C: /* 8006E91C 0006B87C 28 1F 00 00 */ cmplwi r31, 0 /* 8006E920 0006B880 41 82 00 0C */ beq lbl_8006E92C /* 8006E924 0006B884 7F E3 FB 78 */ mr r3, r31 /* 8006E928 0006B888 4B FC 59 6D */ bl __dt__17CMetaTransFactoryFv lbl_8006E92C: /* 8006E92C 0006B88C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006E930 0006B890 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8006E934 0006B894 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8006E938 0006B898 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8006E93C 0006B89C 83 81 00 20 */ lwz r28, 0x20(r1) /* 8006E940 0006B8A0 7C 08 03 A6 */ mtlr r0 /* 8006E944 0006B8A4 38 21 00 30 */ addi r1, r1, 0x30 /* 8006E948 0006B8A8 4E 80 00 20 */ blr .global sub_8006e94c sub_8006e94c: /* 8006E94C 0006B8AC 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8006E950 0006B8B0 7C 08 02 A6 */ mflr r0 /* 8006E954 0006B8B4 90 01 00 64 */ stw r0, 0x64(r1) /* 8006E958 0006B8B8 BF 61 00 4C */ stmw r27, 0x4c(r1) /* 8006E95C 0006B8BC 7C 7C 1B 78 */ mr r28, r3 /* 8006E960 0006B8C0 7C BE 2B 78 */ mr r30, r5 /* 8006E964 0006B8C4 7C 9D 23 78 */ mr r29, r4 /* 8006E968 0006B8C8 80 63 00 00 */ lwz r3, 0(r3) /* 8006E96C 0006B8CC 80 A4 00 00 */ lwz r5, 0(r4) /* 8006E970 0006B8D0 7C 03 28 50 */ subf r0, r3, r5 /* 8006E974 0006B8D4 7C 00 1E 70 */ srawi r0, r0, 3 /* 8006E978 0006B8D8 7C 80 01 94 */ addze r4, r0 /* 8006E97C 0006B8DC 2C 04 00 01 */ cmpwi r4, 1 /* 8006E980 0006B8E0 40 81 01 88 */ ble lbl_8006EB08 /* 8006E984 0006B8E4 2C 04 00 14 */ cmpwi r4, 0x14 /* 8006E988 0006B8E8 41 81 00 30 */ bgt lbl_8006E9B8 /* 8006E98C 0006B8EC 88 FE 00 00 */ lbz r7, 0(r30) /* 8006E990 0006B8F0 38 61 00 34 */ addi r3, r1, 0x34 /* 8006E994 0006B8F4 80 DD 00 00 */ lwz r6, 0(r29) /* 8006E998 0006B8F8 38 81 00 30 */ addi r4, r1, 0x30 /* 8006E99C 0006B8FC 80 1C 00 00 */ lwz r0, 0(r28) /* 8006E9A0 0006B900 38 A1 00 14 */ addi r5, r1, 0x14 /* 8006E9A4 0006B904 98 E1 00 14 */ stb r7, 0x14(r1) /* 8006E9A8 0006B908 90 C1 00 30 */ stw r6, 0x30(r1) /* 8006E9AC 0006B90C 90 01 00 34 */ stw r0, 0x34(r1) /* 8006E9B0 0006B910 48 00 0D 29 */ bl sub_8006f6d8 /* 8006E9B4 0006B914 48 00 01 54 */ b lbl_8006EB08 lbl_8006E9B8: /* 8006E9B8 0006B918 54 80 0F FE */ srwi r0, r4, 0x1f /* 8006E9BC 0006B91C 38 A5 FF F8 */ addi r5, r5, -8 /* 8006E9C0 0006B920 7C 80 22 14 */ add r4, r0, r4 /* 8006E9C4 0006B924 88 1E 00 00 */ lbz r0, 0(r30) /* 8006E9C8 0006B928 7C 84 0E 70 */ srawi r4, r4, 1 /* 8006E9CC 0006B92C 90 A1 00 3C */ stw r5, 0x3c(r1) /* 8006E9D0 0006B930 54 84 18 38 */ slwi r4, r4, 3 /* 8006E9D4 0006B934 38 C1 00 10 */ addi r6, r1, 0x10 /* 8006E9D8 0006B938 7F 63 22 14 */ add r27, r3, r4 /* 8006E9DC 0006B93C 98 01 00 10 */ stb r0, 0x10(r1) /* 8006E9E0 0006B940 7F 64 DB 78 */ mr r4, r27 /* 8006E9E4 0006B944 48 00 07 49 */ bl sub_8006f12c /* 8006E9E8 0006B948 80 1B 00 00 */ lwz r0, 0(r27) /* 8006E9EC 0006B94C 3B E1 00 44 */ addi r31, r1, 0x44 /* 8006E9F0 0006B950 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006E9F4 0006B954 90 01 00 40 */ stw r0, 0x40(r1) /* 8006E9F8 0006B958 38 03 FF F8 */ addi r0, r3, -8 /* 8006E9FC 0006B95C 80 9B 00 04 */ lwz r4, 4(r27) /* 8006EA00 0006B960 90 01 00 3C */ stw r0, 0x3c(r1) /* 8006EA04 0006B964 90 81 00 44 */ stw r4, 0x44(r1) /* 8006EA08 0006B968 80 64 00 04 */ lwz r3, 4(r4) /* 8006EA0C 0006B96C 38 03 00 01 */ addi r0, r3, 1 /* 8006EA10 0006B970 90 04 00 04 */ stw r0, 4(r4) /* 8006EA14 0006B974 80 7C 00 00 */ lwz r3, 0(r28) /* 8006EA18 0006B978 38 03 00 08 */ addi r0, r3, 8 /* 8006EA1C 0006B97C 90 01 00 38 */ stw r0, 0x38(r1) lbl_8006EA20: /* 8006EA20 0006B980 80 81 00 40 */ lwz r4, 0x40(r1) /* 8006EA24 0006B984 48 00 00 10 */ b lbl_8006EA34 lbl_8006EA28: /* 8006EA28 0006B988 80 61 00 38 */ lwz r3, 0x38(r1) /* 8006EA2C 0006B98C 38 03 00 08 */ addi r0, r3, 8 /* 8006EA30 0006B990 90 01 00 38 */ stw r0, 0x38(r1) lbl_8006EA34: /* 8006EA34 0006B994 80 61 00 38 */ lwz r3, 0x38(r1) /* 8006EA38 0006B998 80 03 00 00 */ lwz r0, 0(r3) /* 8006EA3C 0006B99C 7C 00 20 40 */ cmplw r0, r4 /* 8006EA40 0006B9A0 41 80 FF E8 */ blt lbl_8006EA28 /* 8006EA44 0006B9A4 48 00 00 10 */ b lbl_8006EA54 lbl_8006EA48: /* 8006EA48 0006B9A8 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006EA4C 0006B9AC 38 03 FF F8 */ addi r0, r3, -8 /* 8006EA50 0006B9B0 90 01 00 3C */ stw r0, 0x3c(r1) lbl_8006EA54: /* 8006EA54 0006B9B4 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006EA58 0006B9B8 80 03 00 00 */ lwz r0, 0(r3) /* 8006EA5C 0006B9BC 7C 04 00 40 */ cmplw r4, r0 /* 8006EA60 0006B9C0 41 80 FF E8 */ blt lbl_8006EA48 /* 8006EA64 0006B9C4 80 01 00 38 */ lwz r0, 0x38(r1) /* 8006EA68 0006B9C8 7C 00 18 40 */ cmplw r0, r3 /* 8006EA6C 0006B9CC 40 80 00 3C */ bge lbl_8006EAA8 /* 8006EA70 0006B9D0 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 8006EA74 0006B9D4 38 61 00 2C */ addi r3, r1, 0x2c /* 8006EA78 0006B9D8 80 01 00 38 */ lwz r0, 0x38(r1) /* 8006EA7C 0006B9DC 38 81 00 28 */ addi r4, r1, 0x28 /* 8006EA80 0006B9E0 90 A1 00 28 */ stw r5, 0x28(r1) /* 8006EA84 0006B9E4 90 01 00 2C */ stw r0, 0x2c(r1) /* 8006EA88 0006B9E8 48 00 00 95 */ bl sub_8006eb1c /* 8006EA8C 0006B9EC 80 81 00 38 */ lwz r4, 0x38(r1) /* 8006EA90 0006B9F0 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8006EA94 0006B9F4 38 84 00 08 */ addi r4, r4, 8 /* 8006EA98 0006B9F8 38 03 FF F8 */ addi r0, r3, -8 /* 8006EA9C 0006B9FC 90 81 00 38 */ stw r4, 0x38(r1) /* 8006EAA0 0006BA00 90 01 00 3C */ stw r0, 0x3c(r1) /* 8006EAA4 0006BA04 4B FF FF 7C */ b lbl_8006EA20 lbl_8006EAA8: /* 8006EAA8 0006BA08 88 FE 00 00 */ lbz r7, 0(r30) /* 8006EAAC 0006BA0C 38 61 00 24 */ addi r3, r1, 0x24 /* 8006EAB0 0006BA10 80 C1 00 38 */ lwz r6, 0x38(r1) /* 8006EAB4 0006BA14 38 81 00 20 */ addi r4, r1, 0x20 /* 8006EAB8 0006BA18 80 1C 00 00 */ lwz r0, 0(r28) /* 8006EABC 0006BA1C 38 A1 00 0C */ addi r5, r1, 0xc /* 8006EAC0 0006BA20 98 E1 00 0C */ stb r7, 0xc(r1) /* 8006EAC4 0006BA24 90 C1 00 20 */ stw r6, 0x20(r1) /* 8006EAC8 0006BA28 90 01 00 24 */ stw r0, 0x24(r1) /* 8006EACC 0006BA2C 4B FF FE 81 */ bl sub_8006e94c /* 8006EAD0 0006BA30 88 FE 00 00 */ lbz r7, 0(r30) /* 8006EAD4 0006BA34 38 61 00 1C */ addi r3, r1, 0x1c /* 8006EAD8 0006BA38 80 DD 00 00 */ lwz r6, 0(r29) /* 8006EADC 0006BA3C 38 81 00 18 */ addi r4, r1, 0x18 /* 8006EAE0 0006BA40 80 01 00 38 */ lwz r0, 0x38(r1) /* 8006EAE4 0006BA44 38 A1 00 08 */ addi r5, r1, 8 /* 8006EAE8 0006BA48 98 E1 00 08 */ stb r7, 8(r1) /* 8006EAEC 0006BA4C 90 C1 00 18 */ stw r6, 0x18(r1) /* 8006EAF0 0006BA50 90 01 00 1C */ stw r0, 0x1c(r1) /* 8006EAF4 0006BA54 4B FF FE 59 */ bl sub_8006e94c /* 8006EAF8 0006BA58 28 1F 00 00 */ cmplwi r31, 0 /* 8006EAFC 0006BA5C 41 82 00 0C */ beq lbl_8006EB08 /* 8006EB00 0006BA60 7F E3 FB 78 */ mr r3, r31 /* 8006EB04 0006BA64 4B FC 57 91 */ bl __dt__17CMetaTransFactoryFv lbl_8006EB08: /* 8006EB08 0006BA68 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 8006EB0C 0006BA6C 80 01 00 64 */ lwz r0, 0x64(r1) /* 8006EB10 0006BA70 7C 08 03 A6 */ mtlr r0 /* 8006EB14 0006BA74 38 21 00 60 */ addi r1, r1, 0x60 /* 8006EB18 0006BA78 4E 80 00 20 */ blr .global sub_8006eb1c sub_8006eb1c: /* 8006EB1C 0006BA7C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8006EB20 0006BA80 7C 08 02 A6 */ mflr r0 /* 8006EB24 0006BA84 90 01 00 24 */ stw r0, 0x24(r1) /* 8006EB28 0006BA88 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8006EB2C 0006BA8C 3B E1 00 0C */ addi r31, r1, 0xc /* 8006EB30 0006BA90 93 C1 00 18 */ stw r30, 0x18(r1) /* 8006EB34 0006BA94 93 A1 00 14 */ stw r29, 0x14(r1) /* 8006EB38 0006BA98 93 81 00 10 */ stw r28, 0x10(r1) /* 8006EB3C 0006BA9C 7C 9C 23 78 */ mr r28, r4 /* 8006EB40 0006BAA0 80 A3 00 00 */ lwz r5, 0(r3) /* 8006EB44 0006BAA4 80 05 00 00 */ lwz r0, 0(r5) /* 8006EB48 0006BAA8 90 01 00 08 */ stw r0, 8(r1) /* 8006EB4C 0006BAAC 80 A5 00 04 */ lwz r5, 4(r5) /* 8006EB50 0006BAB0 90 A1 00 0C */ stw r5, 0xc(r1) /* 8006EB54 0006BAB4 80 85 00 04 */ lwz r4, 4(r5) /* 8006EB58 0006BAB8 38 04 00 01 */ addi r0, r4, 1 /* 8006EB5C 0006BABC 90 05 00 04 */ stw r0, 4(r5) /* 8006EB60 0006BAC0 83 DC 00 00 */ lwz r30, 0(r28) /* 8006EB64 0006BAC4 83 A3 00 00 */ lwz r29, 0(r3) /* 8006EB68 0006BAC8 80 1E 00 00 */ lwz r0, 0(r30) /* 8006EB6C 0006BACC 90 1D 00 00 */ stw r0, 0(r29) /* 8006EB70 0006BAD0 80 7D 00 04 */ lwz r3, 4(r29) /* 8006EB74 0006BAD4 80 1E 00 04 */ lwz r0, 4(r30) /* 8006EB78 0006BAD8 7C 03 00 40 */ cmplw r3, r0 /* 8006EB7C 0006BADC 41 82 00 24 */ beq lbl_8006EBA0 /* 8006EB80 0006BAE0 38 7D 00 04 */ addi r3, r29, 4 /* 8006EB84 0006BAE4 4B FC 57 11 */ bl __dt__17CMetaTransFactoryFv /* 8006EB88 0006BAE8 80 1E 00 04 */ lwz r0, 4(r30) /* 8006EB8C 0006BAEC 90 1D 00 04 */ stw r0, 4(r29) /* 8006EB90 0006BAF0 80 9D 00 04 */ lwz r4, 4(r29) /* 8006EB94 0006BAF4 80 64 00 04 */ lwz r3, 4(r4) /* 8006EB98 0006BAF8 38 03 00 01 */ addi r0, r3, 1 /* 8006EB9C 0006BAFC 90 04 00 04 */ stw r0, 4(r4) lbl_8006EBA0: /* 8006EBA0 0006BB00 83 BC 00 00 */ lwz r29, 0(r28) /* 8006EBA4 0006BB04 80 01 00 08 */ lwz r0, 8(r1) /* 8006EBA8 0006BB08 90 1D 00 00 */ stw r0, 0(r29) /* 8006EBAC 0006BB0C 80 7D 00 04 */ lwz r3, 4(r29) /* 8006EBB0 0006BB10 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006EBB4 0006BB14 7C 03 00 40 */ cmplw r3, r0 /* 8006EBB8 0006BB18 41 82 00 24 */ beq lbl_8006EBDC /* 8006EBBC 0006BB1C 38 7D 00 04 */ addi r3, r29, 4 /* 8006EBC0 0006BB20 4B FC 56 D5 */ bl __dt__17CMetaTransFactoryFv /* 8006EBC4 0006BB24 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006EBC8 0006BB28 90 1D 00 04 */ stw r0, 4(r29) /* 8006EBCC 0006BB2C 80 9D 00 04 */ lwz r4, 4(r29) /* 8006EBD0 0006BB30 80 64 00 04 */ lwz r3, 4(r4) /* 8006EBD4 0006BB34 38 03 00 01 */ addi r0, r3, 1 /* 8006EBD8 0006BB38 90 04 00 04 */ stw r0, 4(r4) lbl_8006EBDC: /* 8006EBDC 0006BB3C 28 1F 00 00 */ cmplwi r31, 0 /* 8006EBE0 0006BB40 41 82 00 0C */ beq lbl_8006EBEC /* 8006EBE4 0006BB44 7F E3 FB 78 */ mr r3, r31 /* 8006EBE8 0006BB48 4B FC 56 AD */ bl __dt__17CMetaTransFactoryFv lbl_8006EBEC: /* 8006EBEC 0006BB4C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8006EBF0 0006BB50 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8006EBF4 0006BB54 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8006EBF8 0006BB58 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8006EBFC 0006BB5C 83 81 00 10 */ lwz r28, 0x10(r1) /* 8006EC00 0006BB60 7C 08 03 A6 */ mtlr r0 /* 8006EC04 0006BB64 38 21 00 20 */ addi r1, r1, 0x20 /* 8006EC08 0006BB68 4E 80 00 20 */ blr .global "lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r" "lower_bound,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl11pair,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20r": /* 8006EC0C 0006BB6C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006EC10 0006BB70 7C 08 02 A6 */ mflr r0 /* 8006EC14 0006BB74 90 01 00 34 */ stw r0, 0x34(r1) /* 8006EC18 0006BB78 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8006EC1C 0006BB7C 7C 9C 23 78 */ mr r28, r4 /* 8006EC20 0006BB80 7C 7B 1B 78 */ mr r27, r3 /* 8006EC24 0006BB84 7C DD 33 78 */ mr r29, r6 /* 8006EC28 0006BB88 38 61 00 0C */ addi r3, r1, 0xc /* 8006EC2C 0006BB8C 80 85 00 00 */ lwz r4, 0(r5) /* 8006EC30 0006BB90 80 1C 00 00 */ lwz r0, 0(r28) /* 8006EC34 0006BB94 90 81 00 08 */ stw r4, 8(r1) /* 8006EC38 0006BB98 38 81 00 08 */ addi r4, r1, 8 /* 8006EC3C 0006BB9C 90 01 00 0C */ stw r0, 0xc(r1) /* 8006EC40 0006BBA0 48 00 04 25 */ bl "distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po" /* 8006EC44 0006BBA4 80 1C 00 00 */ lwz r0, 0(r28) /* 8006EC48 0006BBA8 7C 7F 1B 78 */ mr r31, r3 /* 8006EC4C 0006BBAC 90 01 00 10 */ stw r0, 0x10(r1) /* 8006EC50 0006BBB0 48 00 00 8C */ b lbl_8006ECDC lbl_8006EC54: /* 8006EC54 0006BBB4 57 E3 0F FE */ srwi r3, r31, 0x1f /* 8006EC58 0006BBB8 80 1C 00 00 */ lwz r0, 0(r28) /* 8006EC5C 0006BBBC 7C 83 FA 14 */ add r4, r3, r31 /* 8006EC60 0006BBC0 38 61 00 10 */ addi r3, r1, 0x10 /* 8006EC64 0006BBC4 7C 9E 0E 70 */ srawi r30, r4, 1 /* 8006EC68 0006BBC8 90 01 00 10 */ stw r0, 0x10(r1) /* 8006EC6C 0006BBCC 7F C4 F3 78 */ mr r4, r30 /* 8006EC70 0006BBD0 48 00 03 75 */ bl "advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" /* 8006EC74 0006BBD4 80 81 00 10 */ lwz r4, 0x10(r1) /* 8006EC78 0006BBD8 80 7D 00 00 */ lwz r3, 0(r29) /* 8006EC7C 0006BBDC 80 04 00 00 */ lwz r0, 0(r4) /* 8006EC80 0006BBE0 7C 00 18 40 */ cmplw r0, r3 /* 8006EC84 0006BBE4 40 82 00 20 */ bne lbl_8006ECA4 /* 8006EC88 0006BBE8 80 04 00 04 */ lwz r0, 4(r4) /* 8006EC8C 0006BBEC 80 7D 00 04 */ lwz r3, 4(r29) /* 8006EC90 0006BBF0 7C 60 02 78 */ xor r0, r3, r0 /* 8006EC94 0006BBF4 7C 00 00 34 */ cntlzw r0, r0 /* 8006EC98 0006BBF8 7C 60 00 30 */ slw r0, r3, r0 /* 8006EC9C 0006BBFC 54 00 0F FE */ srwi r0, r0, 0x1f /* 8006ECA0 0006BC00 48 00 00 14 */ b lbl_8006ECB4 lbl_8006ECA4: /* 8006ECA4 0006BC04 7C 60 02 78 */ xor r0, r3, r0 /* 8006ECA8 0006BC08 7C 00 00 34 */ cntlzw r0, r0 /* 8006ECAC 0006BC0C 7C 60 00 30 */ slw r0, r3, r0 /* 8006ECB0 0006BC10 54 00 0F FE */ srwi r0, r0, 0x1f lbl_8006ECB4: /* 8006ECB4 0006BC14 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8006ECB8 0006BC18 41 82 00 20 */ beq lbl_8006ECD8 /* 8006ECBC 0006BC1C 90 9C 00 00 */ stw r4, 0(r28) /* 8006ECC0 0006BC20 7C 7E F8 50 */ subf r3, r30, r31 /* 8006ECC4 0006BC24 3B E3 FF FF */ addi r31, r3, -1 /* 8006ECC8 0006BC28 80 7C 00 00 */ lwz r3, 0(r28) /* 8006ECCC 0006BC2C 38 03 00 0C */ addi r0, r3, 0xc /* 8006ECD0 0006BC30 90 1C 00 00 */ stw r0, 0(r28) /* 8006ECD4 0006BC34 48 00 00 08 */ b lbl_8006ECDC lbl_8006ECD8: /* 8006ECD8 0006BC38 7F DF F3 78 */ mr r31, r30 lbl_8006ECDC: /* 8006ECDC 0006BC3C 2C 1F 00 00 */ cmpwi r31, 0 /* 8006ECE0 0006BC40 41 81 FF 74 */ bgt lbl_8006EC54 /* 8006ECE4 0006BC44 80 1C 00 00 */ lwz r0, 0(r28) /* 8006ECE8 0006BC48 90 1B 00 00 */ stw r0, 0(r27) /* 8006ECEC 0006BC4C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8006ECF0 0006BC50 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006ECF4 0006BC54 7C 08 03 A6 */ mtlr r0 /* 8006ECF8 0006BC58 38 21 00 30 */ addi r1, r1, 0x30 /* 8006ECFC 0006BC5C 4E 80 00 20 */ blr .global "lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst" "lower_bound>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Ui,Q24rstl124pair_sorter_finder>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rst": /* 8006ED00 0006BC60 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006ED04 0006BC64 7C 08 02 A6 */ mflr r0 /* 8006ED08 0006BC68 90 01 00 34 */ stw r0, 0x34(r1) /* 8006ED0C 0006BC6C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8006ED10 0006BC70 7C 9F 23 78 */ mr r31, r4 /* 8006ED14 0006BC74 7C 7E 1B 78 */ mr r30, r3 /* 8006ED18 0006BC78 7C DB 33 78 */ mr r27, r6 /* 8006ED1C 0006BC7C 38 61 00 0C */ addi r3, r1, 0xc /* 8006ED20 0006BC80 80 85 00 00 */ lwz r4, 0(r5) /* 8006ED24 0006BC84 80 1F 00 00 */ lwz r0, 0(r31) /* 8006ED28 0006BC88 90 81 00 08 */ stw r4, 8(r1) /* 8006ED2C 0006BC8C 38 81 00 08 */ addi r4, r1, 8 /* 8006ED30 0006BC90 90 01 00 0C */ stw r0, 0xc(r1) /* 8006ED34 0006BC94 48 00 03 75 */ bl "distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve" /* 8006ED38 0006BC98 80 1F 00 00 */ lwz r0, 0(r31) /* 8006ED3C 0006BC9C 7C 7D 1B 78 */ mr r29, r3 /* 8006ED40 0006BCA0 90 01 00 10 */ stw r0, 0x10(r1) /* 8006ED44 0006BCA4 48 00 00 58 */ b lbl_8006ED9C lbl_8006ED48: /* 8006ED48 0006BCA8 57 A3 0F FE */ srwi r3, r29, 0x1f /* 8006ED4C 0006BCAC 80 1F 00 00 */ lwz r0, 0(r31) /* 8006ED50 0006BCB0 7C 83 EA 14 */ add r4, r3, r29 /* 8006ED54 0006BCB4 38 61 00 10 */ addi r3, r1, 0x10 /* 8006ED58 0006BCB8 7C 9C 0E 70 */ srawi r28, r4, 1 /* 8006ED5C 0006BCBC 90 01 00 10 */ stw r0, 0x10(r1) /* 8006ED60 0006BCC0 7F 84 E3 78 */ mr r4, r28 /* 8006ED64 0006BCC4 48 00 02 AD */ bl "advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" /* 8006ED68 0006BCC8 80 81 00 10 */ lwz r4, 0x10(r1) /* 8006ED6C 0006BCCC 80 1B 00 00 */ lwz r0, 0(r27) /* 8006ED70 0006BCD0 80 64 00 00 */ lwz r3, 0(r4) /* 8006ED74 0006BCD4 7C 03 00 40 */ cmplw r3, r0 /* 8006ED78 0006BCD8 40 80 00 20 */ bge lbl_8006ED98 /* 8006ED7C 0006BCDC 90 9F 00 00 */ stw r4, 0(r31) /* 8006ED80 0006BCE0 7C 7C E8 50 */ subf r3, r28, r29 /* 8006ED84 0006BCE4 3B A3 FF FF */ addi r29, r3, -1 /* 8006ED88 0006BCE8 80 7F 00 00 */ lwz r3, 0(r31) /* 8006ED8C 0006BCEC 38 03 00 08 */ addi r0, r3, 8 /* 8006ED90 0006BCF0 90 1F 00 00 */ stw r0, 0(r31) /* 8006ED94 0006BCF4 48 00 00 08 */ b lbl_8006ED9C lbl_8006ED98: /* 8006ED98 0006BCF8 7F 9D E3 78 */ mr r29, r28 lbl_8006ED9C: /* 8006ED9C 0006BCFC 2C 1D 00 00 */ cmpwi r29, 0 /* 8006EDA0 0006BD00 41 81 FF A8 */ bgt lbl_8006ED48 /* 8006EDA4 0006BD04 80 1F 00 00 */ lwz r0, 0(r31) /* 8006EDA8 0006BD08 90 1E 00 00 */ stw r0, 0(r30) /* 8006EDAC 0006BD0C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8006EDB0 0006BD10 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006EDB4 0006BD14 7C 08 03 A6 */ mtlr r0 /* 8006EDB8 0006BD18 38 21 00 30 */ addi r1, r1, 0x30 /* 8006EDBC 0006BD1C 4E 80 00 20 */ blr .global "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>Fi": /* 8006EDC0 0006BD20 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006EDC4 0006BD24 7C 08 02 A6 */ mflr r0 /* 8006EDC8 0006BD28 90 01 00 34 */ stw r0, 0x34(r1) /* 8006EDCC 0006BD2C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8006EDD0 0006BD30 7C 9E 23 78 */ mr r30, r4 /* 8006EDD4 0006BD34 7C 7D 1B 78 */ mr r29, r3 /* 8006EDD8 0006BD38 80 03 00 08 */ lwz r0, 8(r3) /* 8006EDDC 0006BD3C 7C 1E 00 00 */ cmpw r30, r0 /* 8006EDE0 0006BD40 40 81 00 E4 */ ble lbl_8006EEC4 /* 8006EDE4 0006BD44 1C 7E 00 0C */ mulli r3, r30, 0xc /* 8006EDE8 0006BD48 2C 03 00 00 */ cmpwi r3, 0 /* 8006EDEC 0006BD4C 40 82 00 0C */ bne lbl_8006EDF8 /* 8006EDF0 0006BD50 3B E0 00 00 */ li r31, 0 /* 8006EDF4 0006BD54 48 00 00 18 */ b lbl_8006EE0C lbl_8006EDF8: /* 8006EDF8 0006BD58 3C 80 80 3D */ lis r4, lbl_803CD288@ha /* 8006EDFC 0006BD5C 38 A0 00 00 */ li r5, 0 /* 8006EE00 0006BD60 38 84 D2 88 */ addi r4, r4, lbl_803CD288@l /* 8006EE04 0006BD64 48 2A 6A 15 */ bl __nwa__FUlPCcPCc /* 8006EE08 0006BD68 7C 7F 1B 78 */ mr r31, r3 lbl_8006EE0C: /* 8006EE0C 0006BD6C 80 1D 00 04 */ lwz r0, 4(r29) /* 8006EE10 0006BD70 7F E6 FB 78 */ mr r6, r31 /* 8006EE14 0006BD74 80 FD 00 0C */ lwz r7, 0xc(r29) /* 8006EE18 0006BD78 1C 00 00 0C */ mulli r0, r0, 0xc /* 8006EE1C 0006BD7C 90 E1 00 10 */ stw r7, 0x10(r1) /* 8006EE20 0006BD80 7C A7 02 14 */ add r5, r7, r0 /* 8006EE24 0006BD84 90 E1 00 14 */ stw r7, 0x14(r1) /* 8006EE28 0006BD88 90 A1 00 08 */ stw r5, 8(r1) /* 8006EE2C 0006BD8C 90 A1 00 0C */ stw r5, 0xc(r1) /* 8006EE30 0006BD90 48 00 00 3C */ b lbl_8006EE6C lbl_8006EE34: /* 8006EE34 0006BD94 28 06 00 00 */ cmplwi r6, 0 /* 8006EE38 0006BD98 41 82 00 2C */ beq lbl_8006EE64 /* 8006EE3C 0006BD9C 80 07 00 00 */ lwz r0, 0(r7) /* 8006EE40 0006BDA0 90 06 00 00 */ stw r0, 0(r6) /* 8006EE44 0006BDA4 80 07 00 04 */ lwz r0, 4(r7) /* 8006EE48 0006BDA8 90 06 00 04 */ stw r0, 4(r6) /* 8006EE4C 0006BDAC 80 07 00 08 */ lwz r0, 8(r7) /* 8006EE50 0006BDB0 90 06 00 08 */ stw r0, 8(r6) /* 8006EE54 0006BDB4 80 86 00 08 */ lwz r4, 8(r6) /* 8006EE58 0006BDB8 80 64 00 04 */ lwz r3, 4(r4) /* 8006EE5C 0006BDBC 38 03 00 01 */ addi r0, r3, 1 /* 8006EE60 0006BDC0 90 04 00 04 */ stw r0, 4(r4) lbl_8006EE64: /* 8006EE64 0006BDC4 38 C6 00 0C */ addi r6, r6, 0xc /* 8006EE68 0006BDC8 38 E7 00 0C */ addi r7, r7, 0xc lbl_8006EE6C: /* 8006EE6C 0006BDCC 7C 07 28 40 */ cmplw r7, r5 /* 8006EE70 0006BDD0 40 82 FF C4 */ bne lbl_8006EE34 /* 8006EE74 0006BDD4 80 1D 00 04 */ lwz r0, 4(r29) /* 8006EE78 0006BDD8 83 7D 00 0C */ lwz r27, 0xc(r29) /* 8006EE7C 0006BDDC 1C 00 00 0C */ mulli r0, r0, 0xc /* 8006EE80 0006BDE0 7F 9B 02 14 */ add r28, r27, r0 /* 8006EE84 0006BDE4 48 00 00 20 */ b lbl_8006EEA4 lbl_8006EE88: /* 8006EE88 0006BDE8 28 1B 00 00 */ cmplwi r27, 0 /* 8006EE8C 0006BDEC 41 82 00 14 */ beq lbl_8006EEA0 /* 8006EE90 0006BDF0 34 1B 00 08 */ addic. r0, r27, 8 /* 8006EE94 0006BDF4 41 82 00 0C */ beq lbl_8006EEA0 /* 8006EE98 0006BDF8 38 7B 00 08 */ addi r3, r27, 8 /* 8006EE9C 0006BDFC 4B FC 53 F9 */ bl __dt__17CMetaTransFactoryFv lbl_8006EEA0: /* 8006EEA0 0006BE00 3B 7B 00 0C */ addi r27, r27, 0xc lbl_8006EEA4: /* 8006EEA4 0006BE04 7C 1B E0 40 */ cmplw r27, r28 /* 8006EEA8 0006BE08 40 82 FF E0 */ bne lbl_8006EE88 /* 8006EEAC 0006BE0C 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8006EEB0 0006BE10 28 03 00 00 */ cmplwi r3, 0 /* 8006EEB4 0006BE14 41 82 00 08 */ beq lbl_8006EEBC /* 8006EEB8 0006BE18 48 2A 6A 79 */ bl Free__7CMemoryFPCv lbl_8006EEBC: /* 8006EEBC 0006BE1C 93 FD 00 0C */ stw r31, 0xc(r29) /* 8006EEC0 0006BE20 93 DD 00 08 */ stw r30, 8(r29) lbl_8006EEC4: /* 8006EEC4 0006BE24 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8006EEC8 0006BE28 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006EECC 0006BE2C 7C 08 03 A6 */ mtlr r0 /* 8006EED0 0006BE30 38 21 00 30 */ addi r1, r1, 0x30 /* 8006EED4 0006BE34 4E 80 00 20 */ blr .global "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl82vector>,Q24rstl17rmemory_allocator>Fi": /* 8006EED8 0006BE38 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006EEDC 0006BE3C 7C 08 02 A6 */ mflr r0 /* 8006EEE0 0006BE40 90 01 00 34 */ stw r0, 0x34(r1) /* 8006EEE4 0006BE44 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8006EEE8 0006BE48 7C 9F 23 78 */ mr r31, r4 /* 8006EEEC 0006BE4C 7C 7E 1B 78 */ mr r30, r3 /* 8006EEF0 0006BE50 80 03 00 08 */ lwz r0, 8(r3) /* 8006EEF4 0006BE54 7C 1F 00 00 */ cmpw r31, r0 /* 8006EEF8 0006BE58 40 81 00 D8 */ ble lbl_8006EFD0 /* 8006EEFC 0006BE5C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c /* 8006EF00 0006BE60 40 82 00 0C */ bne lbl_8006EF0C /* 8006EF04 0006BE64 3B A0 00 00 */ li r29, 0 /* 8006EF08 0006BE68 48 00 00 18 */ b lbl_8006EF20 lbl_8006EF0C: /* 8006EF0C 0006BE6C 3C 80 80 3D */ lis r4, lbl_803CD288@ha /* 8006EF10 0006BE70 38 A0 00 00 */ li r5, 0 /* 8006EF14 0006BE74 38 84 D2 88 */ addi r4, r4, lbl_803CD288@l /* 8006EF18 0006BE78 48 2A 69 01 */ bl __nwa__FUlPCcPCc /* 8006EF1C 0006BE7C 7C 7D 1B 78 */ mr r29, r3 lbl_8006EF20: /* 8006EF20 0006BE80 80 1E 00 04 */ lwz r0, 4(r30) /* 8006EF24 0006BE84 7F A6 EB 78 */ mr r6, r29 /* 8006EF28 0006BE88 80 FE 00 0C */ lwz r7, 0xc(r30) /* 8006EF2C 0006BE8C 54 00 18 38 */ slwi r0, r0, 3 /* 8006EF30 0006BE90 7C A7 02 14 */ add r5, r7, r0 /* 8006EF34 0006BE94 90 E1 00 10 */ stw r7, 0x10(r1) /* 8006EF38 0006BE98 90 A1 00 08 */ stw r5, 8(r1) /* 8006EF3C 0006BE9C 90 A1 00 0C */ stw r5, 0xc(r1) /* 8006EF40 0006BEA0 90 E1 00 14 */ stw r7, 0x14(r1) /* 8006EF44 0006BEA4 48 00 00 34 */ b lbl_8006EF78 lbl_8006EF48: /* 8006EF48 0006BEA8 28 06 00 00 */ cmplwi r6, 0 /* 8006EF4C 0006BEAC 41 82 00 24 */ beq lbl_8006EF70 /* 8006EF50 0006BEB0 80 07 00 00 */ lwz r0, 0(r7) /* 8006EF54 0006BEB4 90 06 00 00 */ stw r0, 0(r6) /* 8006EF58 0006BEB8 80 07 00 04 */ lwz r0, 4(r7) /* 8006EF5C 0006BEBC 90 06 00 04 */ stw r0, 4(r6) /* 8006EF60 0006BEC0 80 86 00 04 */ lwz r4, 4(r6) /* 8006EF64 0006BEC4 80 64 00 04 */ lwz r3, 4(r4) /* 8006EF68 0006BEC8 38 03 00 01 */ addi r0, r3, 1 /* 8006EF6C 0006BECC 90 04 00 04 */ stw r0, 4(r4) lbl_8006EF70: /* 8006EF70 0006BED0 38 C6 00 08 */ addi r6, r6, 8 /* 8006EF74 0006BED4 38 E7 00 08 */ addi r7, r7, 8 lbl_8006EF78: /* 8006EF78 0006BED8 7C 07 28 40 */ cmplw r7, r5 /* 8006EF7C 0006BEDC 40 82 FF CC */ bne lbl_8006EF48 /* 8006EF80 0006BEE0 80 1E 00 04 */ lwz r0, 4(r30) /* 8006EF84 0006BEE4 83 7E 00 0C */ lwz r27, 0xc(r30) /* 8006EF88 0006BEE8 54 00 18 38 */ slwi r0, r0, 3 /* 8006EF8C 0006BEEC 7F 9B 02 14 */ add r28, r27, r0 /* 8006EF90 0006BEF0 48 00 00 20 */ b lbl_8006EFB0 lbl_8006EF94: /* 8006EF94 0006BEF4 28 1B 00 00 */ cmplwi r27, 0 /* 8006EF98 0006BEF8 41 82 00 14 */ beq lbl_8006EFAC /* 8006EF9C 0006BEFC 34 1B 00 04 */ addic. r0, r27, 4 /* 8006EFA0 0006BF00 41 82 00 0C */ beq lbl_8006EFAC /* 8006EFA4 0006BF04 38 7B 00 04 */ addi r3, r27, 4 /* 8006EFA8 0006BF08 4B FC 52 ED */ bl __dt__17CMetaTransFactoryFv lbl_8006EFAC: /* 8006EFAC 0006BF0C 3B 7B 00 08 */ addi r27, r27, 8 lbl_8006EFB0: /* 8006EFB0 0006BF10 7C 1B E0 40 */ cmplw r27, r28 /* 8006EFB4 0006BF14 40 82 FF E0 */ bne lbl_8006EF94 /* 8006EFB8 0006BF18 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8006EFBC 0006BF1C 28 03 00 00 */ cmplwi r3, 0 /* 8006EFC0 0006BF20 41 82 00 08 */ beq lbl_8006EFC8 /* 8006EFC4 0006BF24 48 2A 69 6D */ bl Free__7CMemoryFPCv lbl_8006EFC8: /* 8006EFC8 0006BF28 93 BE 00 0C */ stw r29, 0xc(r30) /* 8006EFCC 0006BF2C 93 FE 00 08 */ stw r31, 8(r30) lbl_8006EFD0: /* 8006EFD0 0006BF30 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8006EFD4 0006BF34 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006EFD8 0006BF38 7C 08 03 A6 */ mtlr r0 /* 8006EFDC 0006BF3C 38 21 00 30 */ addi r1, r1, 0x30 /* 8006EFE0 0006BF40 4E 80 00 20 */ blr .global "advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" "advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": /* 8006EFE4 0006BF44 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8006EFE8 0006BF48 7C 08 02 A6 */ mflr r0 /* 8006EFEC 0006BF4C 90 01 00 14 */ stw r0, 0x14(r1) /* 8006EFF0 0006BF50 38 A1 00 0C */ addi r5, r1, 0xc /* 8006EFF4 0006BF54 88 01 00 08 */ lbz r0, 8(r1) /* 8006EFF8 0006BF58 98 01 00 0C */ stb r0, 0xc(r1) /* 8006EFFC 0006BF5C 48 00 00 55 */ bl "__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand" /* 8006F000 0006BF60 80 01 00 14 */ lwz r0, 0x14(r1) /* 8006F004 0006BF64 7C 08 03 A6 */ mtlr r0 /* 8006F008 0006BF68 38 21 00 10 */ addi r1, r1, 0x10 /* 8006F00C 0006BF6C 4E 80 00 20 */ blr .global "advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" "advance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": /* 8006F010 0006BF70 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8006F014 0006BF74 7C 08 02 A6 */ mflr r0 /* 8006F018 0006BF78 90 01 00 14 */ stw r0, 0x14(r1) /* 8006F01C 0006BF7C 38 A1 00 0C */ addi r5, r1, 0xc /* 8006F020 0006BF80 88 01 00 08 */ lbz r0, 8(r1) /* 8006F024 0006BF84 98 01 00 0C */ stb r0, 0xc(r1) /* 8006F028 0006BF88 48 00 00 15 */ bl sub_8006f03c /* 8006F02C 0006BF8C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8006F030 0006BF90 7C 08 03 A6 */ mtlr r0 /* 8006F034 0006BF94 38 21 00 10 */ addi r1, r1, 0x10 /* 8006F038 0006BF98 4E 80 00 20 */ blr .global sub_8006f03c sub_8006f03c: /* 8006F03C 0006BF9C 80 A3 00 00 */ lwz r5, 0(r3) /* 8006F040 0006BFA0 54 80 18 38 */ slwi r0, r4, 3 /* 8006F044 0006BFA4 7C 05 02 14 */ add r0, r5, r0 /* 8006F048 0006BFA8 90 03 00 00 */ stw r0, 0(r3) /* 8006F04C 0006BFAC 4E 80 00 20 */ blr .global "__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand" "__advance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26rand": /* 8006F050 0006BFB0 1C 04 00 0C */ mulli r0, r4, 0xc /* 8006F054 0006BFB4 80 83 00 00 */ lwz r4, 0(r3) /* 8006F058 0006BFB8 7C 04 02 14 */ add r0, r4, r0 /* 8006F05C 0006BFBC 90 03 00 00 */ stw r0, 0(r3) /* 8006F060 0006BFC0 4E 80 00 20 */ blr .global "distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po" "distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_po": /* 8006F064 0006BFC4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8006F068 0006BFC8 7C 08 02 A6 */ mflr r0 /* 8006F06C 0006BFCC 90 01 00 24 */ stw r0, 0x24(r1) /* 8006F070 0006BFD0 38 A1 00 0C */ addi r5, r1, 0xc /* 8006F074 0006BFD4 88 E1 00 08 */ lbz r7, 8(r1) /* 8006F078 0006BFD8 80 C4 00 00 */ lwz r6, 0(r4) /* 8006F07C 0006BFDC 38 81 00 10 */ addi r4, r1, 0x10 /* 8006F080 0006BFE0 80 03 00 00 */ lwz r0, 0(r3) /* 8006F084 0006BFE4 38 61 00 14 */ addi r3, r1, 0x14 /* 8006F088 0006BFE8 90 C1 00 10 */ stw r6, 0x10(r1) /* 8006F08C 0006BFEC 98 E1 00 0C */ stb r7, 0xc(r1) /* 8006F090 0006BFF0 90 01 00 14 */ stw r0, 0x14(r1) /* 8006F094 0006BFF4 48 00 00 59 */ bl "__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_" /* 8006F098 0006BFF8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8006F09C 0006BFFC 7C 08 03 A6 */ mtlr r0 /* 8006F0A0 0006C000 38 21 00 20 */ addi r1, r1, 0x20 /* 8006F0A4 0006C004 4E 80 00 20 */ blr .global "distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve" "distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82ve": /* 8006F0A8 0006C008 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8006F0AC 0006C00C 7C 08 02 A6 */ mflr r0 /* 8006F0B0 0006C010 90 01 00 24 */ stw r0, 0x24(r1) /* 8006F0B4 0006C014 38 A1 00 0C */ addi r5, r1, 0xc /* 8006F0B8 0006C018 88 E1 00 08 */ lbz r7, 8(r1) /* 8006F0BC 0006C01C 80 C4 00 00 */ lwz r6, 0(r4) /* 8006F0C0 0006C020 38 81 00 10 */ addi r4, r1, 0x10 /* 8006F0C4 0006C024 80 03 00 00 */ lwz r0, 0(r3) /* 8006F0C8 0006C028 38 61 00 14 */ addi r3, r1, 0x14 /* 8006F0CC 0006C02C 90 C1 00 10 */ stw r6, 0x10(r1) /* 8006F0D0 0006C030 98 E1 00 0C */ stb r7, 0xc(r1) /* 8006F0D4 0006C034 90 01 00 14 */ stw r0, 0x14(r1) /* 8006F0D8 0006C038 48 00 00 3D */ bl "__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82" /* 8006F0DC 0006C03C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8006F0E0 0006C040 7C 08 03 A6 */ mtlr r0 /* 8006F0E4 0006C044 38 21 00 20 */ addi r1, r1, 0x20 /* 8006F0E8 0006C048 4E 80 00 20 */ blr .global "__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_" "__distance,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl227const_pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl227const_": /* 8006F0EC 0006C04C 80 A3 00 00 */ lwz r5, 0(r3) /* 8006F0F0 0006C050 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha /* 8006F0F4 0006C054 80 04 00 00 */ lwz r0, 0(r4) /* 8006F0F8 0006C058 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l /* 8006F0FC 0006C05C 7C 05 00 50 */ subf r0, r5, r0 /* 8006F100 0006C060 7C 03 00 96 */ mulhw r0, r3, r0 /* 8006F104 0006C064 7C 00 0E 70 */ srawi r0, r0, 1 /* 8006F108 0006C068 54 03 0F FE */ srwi r3, r0, 0x1f /* 8006F10C 0006C06C 7C 60 1A 14 */ add r3, r0, r3 /* 8006F110 0006C070 4E 80 00 20 */ blr .global "__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82" "__distance>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl190const_pointer_iterator>,Q24rstl82vector>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl190const_pointer_iterator>,Q24rstl82": /* 8006F114 0006C074 80 63 00 00 */ lwz r3, 0(r3) /* 8006F118 0006C078 80 04 00 00 */ lwz r0, 0(r4) /* 8006F11C 0006C07C 7C 03 00 50 */ subf r0, r3, r0 /* 8006F120 0006C080 7C 00 1E 70 */ srawi r0, r0, 3 /* 8006F124 0006C084 7C 60 01 94 */ addze r3, r0 /* 8006F128 0006C088 4E 80 00 20 */ blr .global sub_8006f12c sub_8006f12c: /* 8006F12C 0006C08C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8006F130 0006C090 7C 08 02 A6 */ mflr r0 /* 8006F134 0006C094 90 01 00 24 */ stw r0, 0x24(r1) /* 8006F138 0006C098 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8006F13C 0006C09C 93 C1 00 18 */ stw r30, 0x18(r1) /* 8006F140 0006C0A0 7C 9E 23 78 */ mr r30, r4 /* 8006F144 0006C0A4 93 A1 00 14 */ stw r29, 0x14(r1) /* 8006F148 0006C0A8 7C 7D 1B 78 */ mr r29, r3 /* 8006F14C 0006C0AC 93 81 00 10 */ stw r28, 0x10(r1) /* 8006F150 0006C0B0 7C BC 2B 78 */ mr r28, r5 /* 8006F154 0006C0B4 80 C4 00 00 */ lwz r6, 0(r4) /* 8006F158 0006C0B8 80 03 00 00 */ lwz r0, 0(r3) /* 8006F15C 0006C0BC 7C 06 00 40 */ cmplw r6, r0 /* 8006F160 0006C0C0 40 80 00 08 */ bge lbl_8006F168 /* 8006F164 0006C0C4 48 00 01 4D */ bl sub_8006f2b0 lbl_8006F168: /* 8006F168 0006C0C8 80 7C 00 00 */ lwz r3, 0(r28) /* 8006F16C 0006C0CC 80 1E 00 00 */ lwz r0, 0(r30) /* 8006F170 0006C0D0 7C 03 00 40 */ cmplw r3, r0 /* 8006F174 0006C0D4 40 80 01 1C */ bge lbl_8006F290 /* 8006F178 0006C0D8 90 61 00 08 */ stw r3, 8(r1) /* 8006F17C 0006C0DC 3B E1 00 0C */ addi r31, r1, 0xc /* 8006F180 0006C0E0 80 9C 00 04 */ lwz r4, 4(r28) /* 8006F184 0006C0E4 90 81 00 0C */ stw r4, 0xc(r1) /* 8006F188 0006C0E8 80 64 00 04 */ lwz r3, 4(r4) /* 8006F18C 0006C0EC 38 03 00 01 */ addi r0, r3, 1 /* 8006F190 0006C0F0 90 04 00 04 */ stw r0, 4(r4) /* 8006F194 0006C0F4 80 1E 00 00 */ lwz r0, 0(r30) /* 8006F198 0006C0F8 90 1C 00 00 */ stw r0, 0(r28) /* 8006F19C 0006C0FC 80 7C 00 04 */ lwz r3, 4(r28) /* 8006F1A0 0006C100 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F1A4 0006C104 7C 03 00 40 */ cmplw r3, r0 /* 8006F1A8 0006C108 41 82 00 24 */ beq lbl_8006F1CC /* 8006F1AC 0006C10C 38 7C 00 04 */ addi r3, r28, 4 /* 8006F1B0 0006C110 4B FC 50 E5 */ bl __dt__17CMetaTransFactoryFv /* 8006F1B4 0006C114 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F1B8 0006C118 90 1C 00 04 */ stw r0, 4(r28) /* 8006F1BC 0006C11C 80 9C 00 04 */ lwz r4, 4(r28) /* 8006F1C0 0006C120 80 64 00 04 */ lwz r3, 4(r4) /* 8006F1C4 0006C124 38 03 00 01 */ addi r0, r3, 1 /* 8006F1C8 0006C128 90 04 00 04 */ stw r0, 4(r4) lbl_8006F1CC: /* 8006F1CC 0006C12C 80 61 00 08 */ lwz r3, 8(r1) /* 8006F1D0 0006C130 80 1D 00 00 */ lwz r0, 0(r29) /* 8006F1D4 0006C134 7C 03 00 40 */ cmplw r3, r0 /* 8006F1D8 0006C138 40 80 00 74 */ bge lbl_8006F24C /* 8006F1DC 0006C13C 90 1E 00 00 */ stw r0, 0(r30) /* 8006F1E0 0006C140 80 7E 00 04 */ lwz r3, 4(r30) /* 8006F1E4 0006C144 80 1D 00 04 */ lwz r0, 4(r29) /* 8006F1E8 0006C148 7C 03 00 40 */ cmplw r3, r0 /* 8006F1EC 0006C14C 41 82 00 24 */ beq lbl_8006F210 /* 8006F1F0 0006C150 38 7E 00 04 */ addi r3, r30, 4 /* 8006F1F4 0006C154 4B FC 50 A1 */ bl __dt__17CMetaTransFactoryFv /* 8006F1F8 0006C158 80 1D 00 04 */ lwz r0, 4(r29) /* 8006F1FC 0006C15C 90 1E 00 04 */ stw r0, 4(r30) /* 8006F200 0006C160 80 9E 00 04 */ lwz r4, 4(r30) /* 8006F204 0006C164 80 64 00 04 */ lwz r3, 4(r4) /* 8006F208 0006C168 38 03 00 01 */ addi r0, r3, 1 /* 8006F20C 0006C16C 90 04 00 04 */ stw r0, 4(r4) lbl_8006F210: /* 8006F210 0006C170 80 01 00 08 */ lwz r0, 8(r1) /* 8006F214 0006C174 90 1D 00 00 */ stw r0, 0(r29) /* 8006F218 0006C178 80 7D 00 04 */ lwz r3, 4(r29) /* 8006F21C 0006C17C 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F220 0006C180 7C 03 00 40 */ cmplw r3, r0 /* 8006F224 0006C184 41 82 00 5C */ beq lbl_8006F280 /* 8006F228 0006C188 38 7D 00 04 */ addi r3, r29, 4 /* 8006F22C 0006C18C 4B FC 50 69 */ bl __dt__17CMetaTransFactoryFv /* 8006F230 0006C190 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F234 0006C194 90 1D 00 04 */ stw r0, 4(r29) /* 8006F238 0006C198 80 9D 00 04 */ lwz r4, 4(r29) /* 8006F23C 0006C19C 80 64 00 04 */ lwz r3, 4(r4) /* 8006F240 0006C1A0 38 03 00 01 */ addi r0, r3, 1 /* 8006F244 0006C1A4 90 04 00 04 */ stw r0, 4(r4) /* 8006F248 0006C1A8 48 00 00 38 */ b lbl_8006F280 lbl_8006F24C: /* 8006F24C 0006C1AC 90 7E 00 00 */ stw r3, 0(r30) /* 8006F250 0006C1B0 80 7E 00 04 */ lwz r3, 4(r30) /* 8006F254 0006C1B4 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F258 0006C1B8 7C 03 00 40 */ cmplw r3, r0 /* 8006F25C 0006C1BC 41 82 00 24 */ beq lbl_8006F280 /* 8006F260 0006C1C0 38 7E 00 04 */ addi r3, r30, 4 /* 8006F264 0006C1C4 4B FC 50 31 */ bl __dt__17CMetaTransFactoryFv /* 8006F268 0006C1C8 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F26C 0006C1CC 90 1E 00 04 */ stw r0, 4(r30) /* 8006F270 0006C1D0 80 9E 00 04 */ lwz r4, 4(r30) /* 8006F274 0006C1D4 80 64 00 04 */ lwz r3, 4(r4) /* 8006F278 0006C1D8 38 03 00 01 */ addi r0, r3, 1 /* 8006F27C 0006C1DC 90 04 00 04 */ stw r0, 4(r4) lbl_8006F280: /* 8006F280 0006C1E0 28 1F 00 00 */ cmplwi r31, 0 /* 8006F284 0006C1E4 41 82 00 0C */ beq lbl_8006F290 /* 8006F288 0006C1E8 7F E3 FB 78 */ mr r3, r31 /* 8006F28C 0006C1EC 4B FC 50 09 */ bl __dt__17CMetaTransFactoryFv lbl_8006F290: /* 8006F290 0006C1F0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8006F294 0006C1F4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8006F298 0006C1F8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8006F29C 0006C1FC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8006F2A0 0006C200 83 81 00 10 */ lwz r28, 0x10(r1) /* 8006F2A4 0006C204 7C 08 03 A6 */ mtlr r0 /* 8006F2A8 0006C208 38 21 00 20 */ addi r1, r1, 0x20 /* 8006F2AC 0006C20C 4E 80 00 20 */ blr .global sub_8006f2b0 sub_8006f2b0: /* 8006F2B0 0006C210 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8006F2B4 0006C214 7C 08 02 A6 */ mflr r0 /* 8006F2B8 0006C218 90 01 00 24 */ stw r0, 0x24(r1) /* 8006F2BC 0006C21C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8006F2C0 0006C220 3B E1 00 0C */ addi r31, r1, 0xc /* 8006F2C4 0006C224 93 C1 00 18 */ stw r30, 0x18(r1) /* 8006F2C8 0006C228 7C 9E 23 78 */ mr r30, r4 /* 8006F2CC 0006C22C 93 A1 00 14 */ stw r29, 0x14(r1) /* 8006F2D0 0006C230 7C 7D 1B 78 */ mr r29, r3 /* 8006F2D4 0006C234 80 03 00 00 */ lwz r0, 0(r3) /* 8006F2D8 0006C238 90 01 00 08 */ stw r0, 8(r1) /* 8006F2DC 0006C23C 80 83 00 04 */ lwz r4, 4(r3) /* 8006F2E0 0006C240 90 81 00 0C */ stw r4, 0xc(r1) /* 8006F2E4 0006C244 80 64 00 04 */ lwz r3, 4(r4) /* 8006F2E8 0006C248 38 03 00 01 */ addi r0, r3, 1 /* 8006F2EC 0006C24C 90 04 00 04 */ stw r0, 4(r4) /* 8006F2F0 0006C250 80 1E 00 00 */ lwz r0, 0(r30) /* 8006F2F4 0006C254 90 1D 00 00 */ stw r0, 0(r29) /* 8006F2F8 0006C258 80 7D 00 04 */ lwz r3, 4(r29) /* 8006F2FC 0006C25C 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F300 0006C260 7C 03 00 40 */ cmplw r3, r0 /* 8006F304 0006C264 41 82 00 24 */ beq lbl_8006F328 /* 8006F308 0006C268 38 7D 00 04 */ addi r3, r29, 4 /* 8006F30C 0006C26C 4B FC 4F 89 */ bl __dt__17CMetaTransFactoryFv /* 8006F310 0006C270 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F314 0006C274 90 1D 00 04 */ stw r0, 4(r29) /* 8006F318 0006C278 80 9D 00 04 */ lwz r4, 4(r29) /* 8006F31C 0006C27C 80 64 00 04 */ lwz r3, 4(r4) /* 8006F320 0006C280 38 03 00 01 */ addi r0, r3, 1 /* 8006F324 0006C284 90 04 00 04 */ stw r0, 4(r4) lbl_8006F328: /* 8006F328 0006C288 80 01 00 08 */ lwz r0, 8(r1) /* 8006F32C 0006C28C 90 1E 00 00 */ stw r0, 0(r30) /* 8006F330 0006C290 80 7E 00 04 */ lwz r3, 4(r30) /* 8006F334 0006C294 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F338 0006C298 7C 03 00 40 */ cmplw r3, r0 /* 8006F33C 0006C29C 41 82 00 24 */ beq lbl_8006F360 /* 8006F340 0006C2A0 38 7E 00 04 */ addi r3, r30, 4 /* 8006F344 0006C2A4 4B FC 4F 51 */ bl __dt__17CMetaTransFactoryFv /* 8006F348 0006C2A8 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F34C 0006C2AC 90 1E 00 04 */ stw r0, 4(r30) /* 8006F350 0006C2B0 80 9E 00 04 */ lwz r4, 4(r30) /* 8006F354 0006C2B4 80 64 00 04 */ lwz r3, 4(r4) /* 8006F358 0006C2B8 38 03 00 01 */ addi r0, r3, 1 /* 8006F35C 0006C2BC 90 04 00 04 */ stw r0, 4(r4) lbl_8006F360: /* 8006F360 0006C2C0 28 1F 00 00 */ cmplwi r31, 0 /* 8006F364 0006C2C4 41 82 00 0C */ beq lbl_8006F370 /* 8006F368 0006C2C8 7F E3 FB 78 */ mr r3, r31 /* 8006F36C 0006C2CC 4B FC 4F 29 */ bl __dt__17CMetaTransFactoryFv lbl_8006F370: /* 8006F370 0006C2D0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8006F374 0006C2D4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8006F378 0006C2D8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8006F37C 0006C2DC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8006F380 0006C2E0 7C 08 03 A6 */ mtlr r0 /* 8006F384 0006C2E4 38 21 00 20 */ addi r1, r1, 0x20 /* 8006F388 0006C2E8 4E 80 00 20 */ blr .global sub_8006f38c sub_8006f38c: /* 8006F38C 0006C2EC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006F390 0006C2F0 7C 08 02 A6 */ mflr r0 /* 8006F394 0006C2F4 90 01 00 34 */ stw r0, 0x34(r1) /* 8006F398 0006C2F8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8006F39C 0006C2FC 93 C1 00 28 */ stw r30, 0x28(r1) /* 8006F3A0 0006C300 7C BE 2B 78 */ mr r30, r5 /* 8006F3A4 0006C304 93 A1 00 24 */ stw r29, 0x24(r1) /* 8006F3A8 0006C308 7C 9D 23 78 */ mr r29, r4 /* 8006F3AC 0006C30C 93 81 00 20 */ stw r28, 0x20(r1) /* 8006F3B0 0006C310 7C 7C 1B 78 */ mr r28, r3 /* 8006F3B4 0006C314 80 04 00 00 */ lwz r0, 0(r4) /* 8006F3B8 0006C318 80 63 00 00 */ lwz r3, 0(r3) /* 8006F3BC 0006C31C 7C 00 18 40 */ cmplw r0, r3 /* 8006F3C0 0006C320 40 82 00 20 */ bne lbl_8006F3E0 /* 8006F3C4 0006C324 80 1D 00 04 */ lwz r0, 4(r29) /* 8006F3C8 0006C328 80 7C 00 04 */ lwz r3, 4(r28) /* 8006F3CC 0006C32C 7C 60 02 78 */ xor r0, r3, r0 /* 8006F3D0 0006C330 7C 00 00 34 */ cntlzw r0, r0 /* 8006F3D4 0006C334 7C 60 00 30 */ slw r0, r3, r0 /* 8006F3D8 0006C338 54 00 0F FE */ srwi r0, r0, 0x1f /* 8006F3DC 0006C33C 48 00 00 14 */ b lbl_8006F3F0 lbl_8006F3E0: /* 8006F3E0 0006C340 7C 60 02 78 */ xor r0, r3, r0 /* 8006F3E4 0006C344 7C 00 00 34 */ cntlzw r0, r0 /* 8006F3E8 0006C348 7C 60 00 30 */ slw r0, r3, r0 /* 8006F3EC 0006C34C 54 00 0F FE */ srwi r0, r0, 0x1f lbl_8006F3F0: /* 8006F3F0 0006C350 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8006F3F4 0006C354 41 82 00 10 */ beq lbl_8006F404 /* 8006F3F8 0006C358 7F 83 E3 78 */ mr r3, r28 /* 8006F3FC 0006C35C 7F A4 EB 78 */ mr r4, r29 /* 8006F400 0006C360 48 00 01 E5 */ bl sub_8006f5e4 lbl_8006F404: /* 8006F404 0006C364 80 9E 00 00 */ lwz r4, 0(r30) /* 8006F408 0006C368 80 7D 00 00 */ lwz r3, 0(r29) /* 8006F40C 0006C36C 7C 04 18 40 */ cmplw r4, r3 /* 8006F410 0006C370 40 82 00 20 */ bne lbl_8006F430 /* 8006F414 0006C374 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F418 0006C378 80 7D 00 04 */ lwz r3, 4(r29) /* 8006F41C 0006C37C 7C 60 02 78 */ xor r0, r3, r0 /* 8006F420 0006C380 7C 00 00 34 */ cntlzw r0, r0 /* 8006F424 0006C384 7C 60 00 30 */ slw r0, r3, r0 /* 8006F428 0006C388 54 00 0F FE */ srwi r0, r0, 0x1f /* 8006F42C 0006C38C 48 00 00 14 */ b lbl_8006F440 lbl_8006F430: /* 8006F430 0006C390 7C 60 22 78 */ xor r0, r3, r4 /* 8006F434 0006C394 7C 00 00 34 */ cntlzw r0, r0 /* 8006F438 0006C398 7C 60 00 30 */ slw r0, r3, r0 /* 8006F43C 0006C39C 54 00 0F FE */ srwi r0, r0, 0x1f lbl_8006F440: /* 8006F440 0006C3A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8006F444 0006C3A4 41 82 01 80 */ beq lbl_8006F5C4 /* 8006F448 0006C3A8 90 81 00 08 */ stw r4, 8(r1) /* 8006F44C 0006C3AC 3B E1 00 10 */ addi r31, r1, 0x10 /* 8006F450 0006C3B0 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F454 0006C3B4 90 01 00 0C */ stw r0, 0xc(r1) /* 8006F458 0006C3B8 80 9E 00 08 */ lwz r4, 8(r30) /* 8006F45C 0006C3BC 90 81 00 10 */ stw r4, 0x10(r1) /* 8006F460 0006C3C0 80 64 00 04 */ lwz r3, 4(r4) /* 8006F464 0006C3C4 38 03 00 01 */ addi r0, r3, 1 /* 8006F468 0006C3C8 90 04 00 04 */ stw r0, 4(r4) /* 8006F46C 0006C3CC 80 7D 00 00 */ lwz r3, 0(r29) /* 8006F470 0006C3D0 80 1D 00 04 */ lwz r0, 4(r29) /* 8006F474 0006C3D4 90 7E 00 00 */ stw r3, 0(r30) /* 8006F478 0006C3D8 90 1E 00 04 */ stw r0, 4(r30) /* 8006F47C 0006C3DC 80 7E 00 08 */ lwz r3, 8(r30) /* 8006F480 0006C3E0 80 1D 00 08 */ lwz r0, 8(r29) /* 8006F484 0006C3E4 7C 03 00 40 */ cmplw r3, r0 /* 8006F488 0006C3E8 41 82 00 24 */ beq lbl_8006F4AC /* 8006F48C 0006C3EC 38 7E 00 08 */ addi r3, r30, 8 /* 8006F490 0006C3F0 4B FC 4E 05 */ bl __dt__17CMetaTransFactoryFv /* 8006F494 0006C3F4 80 1D 00 08 */ lwz r0, 8(r29) /* 8006F498 0006C3F8 90 1E 00 08 */ stw r0, 8(r30) /* 8006F49C 0006C3FC 80 9E 00 08 */ lwz r4, 8(r30) /* 8006F4A0 0006C400 80 64 00 04 */ lwz r3, 4(r4) /* 8006F4A4 0006C404 38 03 00 01 */ addi r0, r3, 1 /* 8006F4A8 0006C408 90 04 00 04 */ stw r0, 4(r4) lbl_8006F4AC: /* 8006F4AC 0006C40C 80 01 00 08 */ lwz r0, 8(r1) /* 8006F4B0 0006C410 80 7C 00 00 */ lwz r3, 0(r28) /* 8006F4B4 0006C414 7C 00 18 40 */ cmplw r0, r3 /* 8006F4B8 0006C418 40 82 00 20 */ bne lbl_8006F4D8 /* 8006F4BC 0006C41C 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F4C0 0006C420 80 7C 00 04 */ lwz r3, 4(r28) /* 8006F4C4 0006C424 7C 60 02 78 */ xor r0, r3, r0 /* 8006F4C8 0006C428 7C 00 00 34 */ cntlzw r0, r0 /* 8006F4CC 0006C42C 7C 60 00 30 */ slw r0, r3, r0 /* 8006F4D0 0006C430 54 00 0F FE */ srwi r0, r0, 0x1f /* 8006F4D4 0006C434 48 00 00 14 */ b lbl_8006F4E8 lbl_8006F4D8: /* 8006F4D8 0006C438 7C 60 02 78 */ xor r0, r3, r0 /* 8006F4DC 0006C43C 7C 00 00 34 */ cntlzw r0, r0 /* 8006F4E0 0006C440 7C 60 00 30 */ slw r0, r3, r0 /* 8006F4E4 0006C444 54 00 0F FE */ srwi r0, r0, 0x1f lbl_8006F4E8: /* 8006F4E8 0006C448 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8006F4EC 0006C44C 41 82 00 88 */ beq lbl_8006F574 /* 8006F4F0 0006C450 80 7C 00 00 */ lwz r3, 0(r28) /* 8006F4F4 0006C454 80 1C 00 04 */ lwz r0, 4(r28) /* 8006F4F8 0006C458 90 7D 00 00 */ stw r3, 0(r29) /* 8006F4FC 0006C45C 90 1D 00 04 */ stw r0, 4(r29) /* 8006F500 0006C460 80 7D 00 08 */ lwz r3, 8(r29) /* 8006F504 0006C464 80 1C 00 08 */ lwz r0, 8(r28) /* 8006F508 0006C468 7C 03 00 40 */ cmplw r3, r0 /* 8006F50C 0006C46C 41 82 00 24 */ beq lbl_8006F530 /* 8006F510 0006C470 38 7D 00 08 */ addi r3, r29, 8 /* 8006F514 0006C474 4B FC 4D 81 */ bl __dt__17CMetaTransFactoryFv /* 8006F518 0006C478 80 1C 00 08 */ lwz r0, 8(r28) /* 8006F51C 0006C47C 90 1D 00 08 */ stw r0, 8(r29) /* 8006F520 0006C480 80 9D 00 08 */ lwz r4, 8(r29) /* 8006F524 0006C484 80 64 00 04 */ lwz r3, 4(r4) /* 8006F528 0006C488 38 03 00 01 */ addi r0, r3, 1 /* 8006F52C 0006C48C 90 04 00 04 */ stw r0, 4(r4) lbl_8006F530: /* 8006F530 0006C490 80 61 00 08 */ lwz r3, 8(r1) /* 8006F534 0006C494 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F538 0006C498 90 7C 00 00 */ stw r3, 0(r28) /* 8006F53C 0006C49C 90 1C 00 04 */ stw r0, 4(r28) /* 8006F540 0006C4A0 80 7C 00 08 */ lwz r3, 8(r28) /* 8006F544 0006C4A4 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F548 0006C4A8 7C 03 00 40 */ cmplw r3, r0 /* 8006F54C 0006C4AC 41 82 00 68 */ beq lbl_8006F5B4 /* 8006F550 0006C4B0 38 7C 00 08 */ addi r3, r28, 8 /* 8006F554 0006C4B4 4B FC 4D 41 */ bl __dt__17CMetaTransFactoryFv /* 8006F558 0006C4B8 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F55C 0006C4BC 90 1C 00 08 */ stw r0, 8(r28) /* 8006F560 0006C4C0 80 9C 00 08 */ lwz r4, 8(r28) /* 8006F564 0006C4C4 80 64 00 04 */ lwz r3, 4(r4) /* 8006F568 0006C4C8 38 03 00 01 */ addi r0, r3, 1 /* 8006F56C 0006C4CC 90 04 00 04 */ stw r0, 4(r4) /* 8006F570 0006C4D0 48 00 00 44 */ b lbl_8006F5B4 lbl_8006F574: /* 8006F574 0006C4D4 80 61 00 08 */ lwz r3, 8(r1) /* 8006F578 0006C4D8 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F57C 0006C4DC 90 7D 00 00 */ stw r3, 0(r29) /* 8006F580 0006C4E0 90 1D 00 04 */ stw r0, 4(r29) /* 8006F584 0006C4E4 80 7D 00 08 */ lwz r3, 8(r29) /* 8006F588 0006C4E8 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F58C 0006C4EC 7C 03 00 40 */ cmplw r3, r0 /* 8006F590 0006C4F0 41 82 00 24 */ beq lbl_8006F5B4 /* 8006F594 0006C4F4 38 7D 00 08 */ addi r3, r29, 8 /* 8006F598 0006C4F8 4B FC 4C FD */ bl __dt__17CMetaTransFactoryFv /* 8006F59C 0006C4FC 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F5A0 0006C500 90 1D 00 08 */ stw r0, 8(r29) /* 8006F5A4 0006C504 80 9D 00 08 */ lwz r4, 8(r29) /* 8006F5A8 0006C508 80 64 00 04 */ lwz r3, 4(r4) /* 8006F5AC 0006C50C 38 03 00 01 */ addi r0, r3, 1 /* 8006F5B0 0006C510 90 04 00 04 */ stw r0, 4(r4) lbl_8006F5B4: /* 8006F5B4 0006C514 28 1F 00 00 */ cmplwi r31, 0 /* 8006F5B8 0006C518 41 82 00 0C */ beq lbl_8006F5C4 /* 8006F5BC 0006C51C 7F E3 FB 78 */ mr r3, r31 /* 8006F5C0 0006C520 4B FC 4C D5 */ bl __dt__17CMetaTransFactoryFv lbl_8006F5C4: /* 8006F5C4 0006C524 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006F5C8 0006C528 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8006F5CC 0006C52C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8006F5D0 0006C530 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8006F5D4 0006C534 83 81 00 20 */ lwz r28, 0x20(r1) /* 8006F5D8 0006C538 7C 08 03 A6 */ mtlr r0 /* 8006F5DC 0006C53C 38 21 00 30 */ addi r1, r1, 0x30 /* 8006F5E0 0006C540 4E 80 00 20 */ blr .global sub_8006f5e4 sub_8006f5e4: /* 8006F5E4 0006C544 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006F5E8 0006C548 7C 08 02 A6 */ mflr r0 /* 8006F5EC 0006C54C 90 01 00 34 */ stw r0, 0x34(r1) /* 8006F5F0 0006C550 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8006F5F4 0006C554 3B E1 00 10 */ addi r31, r1, 0x10 /* 8006F5F8 0006C558 93 C1 00 28 */ stw r30, 0x28(r1) /* 8006F5FC 0006C55C 7C 9E 23 78 */ mr r30, r4 /* 8006F600 0006C560 93 A1 00 24 */ stw r29, 0x24(r1) /* 8006F604 0006C564 7C 7D 1B 78 */ mr r29, r3 /* 8006F608 0006C568 80 03 00 00 */ lwz r0, 0(r3) /* 8006F60C 0006C56C 90 01 00 08 */ stw r0, 8(r1) /* 8006F610 0006C570 80 03 00 04 */ lwz r0, 4(r3) /* 8006F614 0006C574 90 01 00 0C */ stw r0, 0xc(r1) /* 8006F618 0006C578 80 83 00 08 */ lwz r4, 8(r3) /* 8006F61C 0006C57C 90 81 00 10 */ stw r4, 0x10(r1) /* 8006F620 0006C580 80 64 00 04 */ lwz r3, 4(r4) /* 8006F624 0006C584 38 03 00 01 */ addi r0, r3, 1 /* 8006F628 0006C588 90 04 00 04 */ stw r0, 4(r4) /* 8006F62C 0006C58C 80 7E 00 00 */ lwz r3, 0(r30) /* 8006F630 0006C590 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F634 0006C594 90 7D 00 00 */ stw r3, 0(r29) /* 8006F638 0006C598 90 1D 00 04 */ stw r0, 4(r29) /* 8006F63C 0006C59C 80 7D 00 08 */ lwz r3, 8(r29) /* 8006F640 0006C5A0 80 1E 00 08 */ lwz r0, 8(r30) /* 8006F644 0006C5A4 7C 03 00 40 */ cmplw r3, r0 /* 8006F648 0006C5A8 41 82 00 24 */ beq lbl_8006F66C /* 8006F64C 0006C5AC 38 7D 00 08 */ addi r3, r29, 8 /* 8006F650 0006C5B0 4B FC 4C 45 */ bl __dt__17CMetaTransFactoryFv /* 8006F654 0006C5B4 80 1E 00 08 */ lwz r0, 8(r30) /* 8006F658 0006C5B8 90 1D 00 08 */ stw r0, 8(r29) /* 8006F65C 0006C5BC 80 9D 00 08 */ lwz r4, 8(r29) /* 8006F660 0006C5C0 80 64 00 04 */ lwz r3, 4(r4) /* 8006F664 0006C5C4 38 03 00 01 */ addi r0, r3, 1 /* 8006F668 0006C5C8 90 04 00 04 */ stw r0, 4(r4) lbl_8006F66C: /* 8006F66C 0006C5CC 80 61 00 08 */ lwz r3, 8(r1) /* 8006F670 0006C5D0 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F674 0006C5D4 90 7E 00 00 */ stw r3, 0(r30) /* 8006F678 0006C5D8 90 1E 00 04 */ stw r0, 4(r30) /* 8006F67C 0006C5DC 80 7E 00 08 */ lwz r3, 8(r30) /* 8006F680 0006C5E0 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F684 0006C5E4 7C 03 00 40 */ cmplw r3, r0 /* 8006F688 0006C5E8 41 82 00 24 */ beq lbl_8006F6AC /* 8006F68C 0006C5EC 38 7E 00 08 */ addi r3, r30, 8 /* 8006F690 0006C5F0 4B FC 4C 05 */ bl __dt__17CMetaTransFactoryFv /* 8006F694 0006C5F4 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F698 0006C5F8 90 1E 00 08 */ stw r0, 8(r30) /* 8006F69C 0006C5FC 80 9E 00 08 */ lwz r4, 8(r30) /* 8006F6A0 0006C600 80 64 00 04 */ lwz r3, 4(r4) /* 8006F6A4 0006C604 38 03 00 01 */ addi r0, r3, 1 /* 8006F6A8 0006C608 90 04 00 04 */ stw r0, 4(r4) lbl_8006F6AC: /* 8006F6AC 0006C60C 28 1F 00 00 */ cmplwi r31, 0 /* 8006F6B0 0006C610 41 82 00 0C */ beq lbl_8006F6BC /* 8006F6B4 0006C614 7F E3 FB 78 */ mr r3, r31 /* 8006F6B8 0006C618 4B FC 4B DD */ bl __dt__17CMetaTransFactoryFv lbl_8006F6BC: /* 8006F6BC 0006C61C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006F6C0 0006C620 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8006F6C4 0006C624 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8006F6C8 0006C628 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8006F6CC 0006C62C 7C 08 03 A6 */ mtlr r0 /* 8006F6D0 0006C630 38 21 00 30 */ addi r1, r1, 0x30 /* 8006F6D4 0006C634 4E 80 00 20 */ blr .global sub_8006f6d8 sub_8006f6d8: /* 8006F6D8 0006C638 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006F6DC 0006C63C 7C 08 02 A6 */ mflr r0 /* 8006F6E0 0006C640 90 01 00 34 */ stw r0, 0x34(r1) /* 8006F6E4 0006C644 BF 41 00 18 */ stmw r26, 0x18(r1) /* 8006F6E8 0006C648 7C 7A 1B 78 */ mr r26, r3 /* 8006F6EC 0006C64C 7C 9B 23 78 */ mr r27, r4 /* 8006F6F0 0006C650 3B 81 00 0C */ addi r28, r1, 0xc /* 8006F6F4 0006C654 83 E3 00 00 */ lwz r31, 0(r3) /* 8006F6F8 0006C658 3B FF 00 08 */ addi r31, r31, 8 /* 8006F6FC 0006C65C 48 00 00 D4 */ b lbl_8006F7D0 lbl_8006F700: /* 8006F700 0006C660 80 1F 00 00 */ lwz r0, 0(r31) /* 8006F704 0006C664 7F FD FB 78 */ mr r29, r31 /* 8006F708 0006C668 3B DF FF F8 */ addi r30, r31, -8 /* 8006F70C 0006C66C 90 01 00 08 */ stw r0, 8(r1) /* 8006F710 0006C670 80 9F 00 04 */ lwz r4, 4(r31) /* 8006F714 0006C674 90 81 00 0C */ stw r4, 0xc(r1) /* 8006F718 0006C678 80 64 00 04 */ lwz r3, 4(r4) /* 8006F71C 0006C67C 38 03 00 01 */ addi r0, r3, 1 /* 8006F720 0006C680 90 04 00 04 */ stw r0, 4(r4) /* 8006F724 0006C684 48 00 00 44 */ b lbl_8006F768 lbl_8006F728: /* 8006F728 0006C688 80 1E 00 00 */ lwz r0, 0(r30) /* 8006F72C 0006C68C 90 1D 00 00 */ stw r0, 0(r29) /* 8006F730 0006C690 80 7D 00 04 */ lwz r3, 4(r29) /* 8006F734 0006C694 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F738 0006C698 7C 03 00 40 */ cmplw r3, r0 /* 8006F73C 0006C69C 41 82 00 24 */ beq lbl_8006F760 /* 8006F740 0006C6A0 38 7D 00 04 */ addi r3, r29, 4 /* 8006F744 0006C6A4 4B FC 4B 51 */ bl __dt__17CMetaTransFactoryFv /* 8006F748 0006C6A8 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F74C 0006C6AC 90 1D 00 04 */ stw r0, 4(r29) /* 8006F750 0006C6B0 80 9D 00 04 */ lwz r4, 4(r29) /* 8006F754 0006C6B4 80 64 00 04 */ lwz r3, 4(r4) /* 8006F758 0006C6B8 38 03 00 01 */ addi r0, r3, 1 /* 8006F75C 0006C6BC 90 04 00 04 */ stw r0, 4(r4) lbl_8006F760: /* 8006F760 0006C6C0 3B BD FF F8 */ addi r29, r29, -8 /* 8006F764 0006C6C4 3B DE FF F8 */ addi r30, r30, -8 lbl_8006F768: /* 8006F768 0006C6C8 80 1A 00 00 */ lwz r0, 0(r26) /* 8006F76C 0006C6CC 7C 00 E8 40 */ cmplw r0, r29 /* 8006F770 0006C6D0 40 80 00 14 */ bge lbl_8006F784 /* 8006F774 0006C6D4 80 61 00 08 */ lwz r3, 8(r1) /* 8006F778 0006C6D8 80 1E 00 00 */ lwz r0, 0(r30) /* 8006F77C 0006C6DC 7C 03 00 40 */ cmplw r3, r0 /* 8006F780 0006C6E0 41 80 FF A8 */ blt lbl_8006F728 lbl_8006F784: /* 8006F784 0006C6E4 80 01 00 08 */ lwz r0, 8(r1) /* 8006F788 0006C6E8 90 1D 00 00 */ stw r0, 0(r29) /* 8006F78C 0006C6EC 80 7D 00 04 */ lwz r3, 4(r29) /* 8006F790 0006C6F0 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F794 0006C6F4 7C 03 00 40 */ cmplw r3, r0 /* 8006F798 0006C6F8 41 82 00 24 */ beq lbl_8006F7BC /* 8006F79C 0006C6FC 38 7D 00 04 */ addi r3, r29, 4 /* 8006F7A0 0006C700 4B FC 4A F5 */ bl __dt__17CMetaTransFactoryFv /* 8006F7A4 0006C704 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F7A8 0006C708 90 1D 00 04 */ stw r0, 4(r29) /* 8006F7AC 0006C70C 80 9D 00 04 */ lwz r4, 4(r29) /* 8006F7B0 0006C710 80 64 00 04 */ lwz r3, 4(r4) /* 8006F7B4 0006C714 38 03 00 01 */ addi r0, r3, 1 /* 8006F7B8 0006C718 90 04 00 04 */ stw r0, 4(r4) lbl_8006F7BC: /* 8006F7BC 0006C71C 28 1C 00 00 */ cmplwi r28, 0 /* 8006F7C0 0006C720 41 82 00 0C */ beq lbl_8006F7CC /* 8006F7C4 0006C724 7F 83 E3 78 */ mr r3, r28 /* 8006F7C8 0006C728 4B FC 4A CD */ bl __dt__17CMetaTransFactoryFv lbl_8006F7CC: /* 8006F7CC 0006C72C 3B FF 00 08 */ addi r31, r31, 8 lbl_8006F7D0: /* 8006F7D0 0006C730 80 1B 00 00 */ lwz r0, 0(r27) /* 8006F7D4 0006C734 7C 1F 00 40 */ cmplw r31, r0 /* 8006F7D8 0006C738 41 80 FF 28 */ blt lbl_8006F700 /* 8006F7DC 0006C73C BB 41 00 18 */ lmw r26, 0x18(r1) /* 8006F7E0 0006C740 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006F7E4 0006C744 7C 08 03 A6 */ mtlr r0 /* 8006F7E8 0006C748 38 21 00 30 */ addi r1, r1, 0x30 /* 8006F7EC 0006C74C 4E 80 00 20 */ blr .global "__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl" "__insertion_sort,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl100vector,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,Q24rstl142pair_sorter_finder,Q24rstl20rc_ptr<10IMetaTrans>>,Q237@unnamed@CTransitionDatabaseGame_cpp@13uint_comparer>>__4rstlFQ24rstl221pointer_iterator,Q24rstl20rc_ptr<10IMetaTrans>>,Q24rstl": /* 8006F7F0 0006C750 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8006F7F4 0006C754 7C 08 02 A6 */ mflr r0 /* 8006F7F8 0006C758 90 01 00 34 */ stw r0, 0x34(r1) /* 8006F7FC 0006C75C BF 41 00 18 */ stmw r26, 0x18(r1) /* 8006F800 0006C760 7C 7A 1B 78 */ mr r26, r3 /* 8006F804 0006C764 7C 9B 23 78 */ mr r27, r4 /* 8006F808 0006C768 3B 81 00 10 */ addi r28, r1, 0x10 /* 8006F80C 0006C76C 83 E3 00 00 */ lwz r31, 0(r3) /* 8006F810 0006C770 3B FF 00 0C */ addi r31, r31, 0xc /* 8006F814 0006C774 48 00 01 20 */ b lbl_8006F934 lbl_8006F818: /* 8006F818 0006C778 80 1F 00 00 */ lwz r0, 0(r31) /* 8006F81C 0006C77C 7F FD FB 78 */ mr r29, r31 /* 8006F820 0006C780 3B DF FF F4 */ addi r30, r31, -12 /* 8006F824 0006C784 90 01 00 08 */ stw r0, 8(r1) /* 8006F828 0006C788 80 1F 00 04 */ lwz r0, 4(r31) /* 8006F82C 0006C78C 90 01 00 0C */ stw r0, 0xc(r1) /* 8006F830 0006C790 80 9F 00 08 */ lwz r4, 8(r31) /* 8006F834 0006C794 90 81 00 10 */ stw r4, 0x10(r1) /* 8006F838 0006C798 80 64 00 04 */ lwz r3, 4(r4) /* 8006F83C 0006C79C 38 03 00 01 */ addi r0, r3, 1 /* 8006F840 0006C7A0 90 04 00 04 */ stw r0, 4(r4) /* 8006F844 0006C7A4 48 00 00 4C */ b lbl_8006F890 lbl_8006F848: /* 8006F848 0006C7A8 80 7E 00 00 */ lwz r3, 0(r30) /* 8006F84C 0006C7AC 80 1E 00 04 */ lwz r0, 4(r30) /* 8006F850 0006C7B0 90 7D 00 00 */ stw r3, 0(r29) /* 8006F854 0006C7B4 90 1D 00 04 */ stw r0, 4(r29) /* 8006F858 0006C7B8 80 7D 00 08 */ lwz r3, 8(r29) /* 8006F85C 0006C7BC 80 1E 00 08 */ lwz r0, 8(r30) /* 8006F860 0006C7C0 7C 03 00 40 */ cmplw r3, r0 /* 8006F864 0006C7C4 41 82 00 24 */ beq lbl_8006F888 /* 8006F868 0006C7C8 38 7D 00 08 */ addi r3, r29, 8 /* 8006F86C 0006C7CC 4B FC 4A 29 */ bl __dt__17CMetaTransFactoryFv /* 8006F870 0006C7D0 80 1E 00 08 */ lwz r0, 8(r30) /* 8006F874 0006C7D4 90 1D 00 08 */ stw r0, 8(r29) /* 8006F878 0006C7D8 80 9D 00 08 */ lwz r4, 8(r29) /* 8006F87C 0006C7DC 80 64 00 04 */ lwz r3, 4(r4) /* 8006F880 0006C7E0 38 03 00 01 */ addi r0, r3, 1 /* 8006F884 0006C7E4 90 04 00 04 */ stw r0, 4(r4) lbl_8006F888: /* 8006F888 0006C7E8 3B BD FF F4 */ addi r29, r29, -12 /* 8006F88C 0006C7EC 3B DE FF F4 */ addi r30, r30, -12 lbl_8006F890: /* 8006F890 0006C7F0 80 1A 00 00 */ lwz r0, 0(r26) /* 8006F894 0006C7F4 7C 00 E8 40 */ cmplw r0, r29 /* 8006F898 0006C7F8 40 80 00 48 */ bge lbl_8006F8E0 /* 8006F89C 0006C7FC 80 01 00 08 */ lwz r0, 8(r1) /* 8006F8A0 0006C800 80 7E 00 00 */ lwz r3, 0(r30) /* 8006F8A4 0006C804 7C 00 18 40 */ cmplw r0, r3 /* 8006F8A8 0006C808 40 82 00 20 */ bne lbl_8006F8C8 /* 8006F8AC 0006C80C 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F8B0 0006C810 80 7E 00 04 */ lwz r3, 4(r30) /* 8006F8B4 0006C814 7C 60 02 78 */ xor r0, r3, r0 /* 8006F8B8 0006C818 7C 00 00 34 */ cntlzw r0, r0 /* 8006F8BC 0006C81C 7C 60 00 30 */ slw r0, r3, r0 /* 8006F8C0 0006C820 54 00 0F FE */ srwi r0, r0, 0x1f /* 8006F8C4 0006C824 48 00 00 14 */ b lbl_8006F8D8 lbl_8006F8C8: /* 8006F8C8 0006C828 7C 60 02 78 */ xor r0, r3, r0 /* 8006F8CC 0006C82C 7C 00 00 34 */ cntlzw r0, r0 /* 8006F8D0 0006C830 7C 60 00 30 */ slw r0, r3, r0 /* 8006F8D4 0006C834 54 00 0F FE */ srwi r0, r0, 0x1f lbl_8006F8D8: /* 8006F8D8 0006C838 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8006F8DC 0006C83C 40 82 FF 6C */ bne lbl_8006F848 lbl_8006F8E0: /* 8006F8E0 0006C840 80 61 00 08 */ lwz r3, 8(r1) /* 8006F8E4 0006C844 80 01 00 0C */ lwz r0, 0xc(r1) /* 8006F8E8 0006C848 90 7D 00 00 */ stw r3, 0(r29) /* 8006F8EC 0006C84C 90 1D 00 04 */ stw r0, 4(r29) /* 8006F8F0 0006C850 80 7D 00 08 */ lwz r3, 8(r29) /* 8006F8F4 0006C854 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F8F8 0006C858 7C 03 00 40 */ cmplw r3, r0 /* 8006F8FC 0006C85C 41 82 00 24 */ beq lbl_8006F920 /* 8006F900 0006C860 38 7D 00 08 */ addi r3, r29, 8 /* 8006F904 0006C864 4B FC 49 91 */ bl __dt__17CMetaTransFactoryFv /* 8006F908 0006C868 80 01 00 10 */ lwz r0, 0x10(r1) /* 8006F90C 0006C86C 90 1D 00 08 */ stw r0, 8(r29) /* 8006F910 0006C870 80 9D 00 08 */ lwz r4, 8(r29) /* 8006F914 0006C874 80 64 00 04 */ lwz r3, 4(r4) /* 8006F918 0006C878 38 03 00 01 */ addi r0, r3, 1 /* 8006F91C 0006C87C 90 04 00 04 */ stw r0, 4(r4) lbl_8006F920: /* 8006F920 0006C880 28 1C 00 00 */ cmplwi r28, 0 /* 8006F924 0006C884 41 82 00 0C */ beq lbl_8006F930 /* 8006F928 0006C888 7F 83 E3 78 */ mr r3, r28 /* 8006F92C 0006C88C 4B FC 49 69 */ bl __dt__17CMetaTransFactoryFv lbl_8006F930: /* 8006F930 0006C890 3B FF 00 0C */ addi r31, r31, 0xc lbl_8006F934: /* 8006F934 0006C894 80 1B 00 00 */ lwz r0, 0(r27) /* 8006F938 0006C898 7C 1F 00 40 */ cmplw r31, r0 /* 8006F93C 0006C89C 41 80 FE DC */ blt lbl_8006F818 /* 8006F940 0006C8A0 BB 41 00 18 */ lmw r26, 0x18(r1) /* 8006F944 0006C8A4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8006F948 0006C8A8 7C 08 03 A6 */ mtlr r0 /* 8006F94C 0006C8AC 38 21 00 30 */ addi r1, r1, 0x30 /* 8006F950 0006C8B0 4E 80 00 20 */ blr .section .rodata .global lbl_803CD288 lbl_803CD288: # ROM: 0x3CA288 .asciz "??(??)" .balign 4