donut-decomp/asm/MSL_C.PPCEABI.bare.H/printf_8000b290.s

3135 lines
137 KiB
ArmAsm
Raw Normal View History

2022-10-16 16:05:58 +00:00
.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
2022-10-16 16:31:36 +00:00
.global parse_format_8000B290
parse_format_8000B290:
2022-10-16 16:05:58 +00:00
/* 8000B290 000070D0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8000B294 000070D4 7C 08 02 A6 */ mflr r0
/* 8000B298 000070D8 38 E0 00 00 */ li r7, 0x0
/* 8000B29C 000070DC 88 C3 00 01 */ lbz r6, 0x1(r3)
/* 8000B2A0 000070E0 90 01 00 34 */ stw r0, 0x34(r1)
/* 8000B2A4 000070E4 39 00 00 01 */ li r8, 0x1
/* 8000B2A8 000070E8 7C C6 07 74 */ extsb r6, r6
/* 8000B2AC 000070EC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8000B2B0 000070F0 2C 06 00 25 */ cmpwi r6, 0x25
/* 8000B2B4 000070F4 3B E3 00 01 */ addi r31, r3, 0x1
/* 8000B2B8 000070F8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8000B2BC 000070FC 7C BE 2B 78 */ mr r30, r5
/* 8000B2C0 00007100 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8000B2C4 00007104 7C 9D 23 78 */ mr r29, r4
/* 8000B2C8 00007108 99 01 00 08 */ stb r8, 0x8(r1)
/* 8000B2CC 0000710C 98 E1 00 09 */ stb r7, 0x9(r1)
/* 8000B2D0 00007110 98 E1 00 0A */ stb r7, 0xa(r1)
/* 8000B2D4 00007114 98 E1 00 0B */ stb r7, 0xb(r1)
/* 8000B2D8 00007118 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8000B2DC 0000711C 90 E1 00 10 */ stw r7, 0x10(r1)
/* 8000B2E0 00007120 90 E1 00 14 */ stw r7, 0x14(r1)
/* 8000B2E4 00007124 40 82 00 28 */ bne lbl_8000B30C
/* 8000B2E8 00007128 98 C1 00 0D */ stb r6, 0xd(r1)
/* 8000B2EC 0000712C 38 7F 00 01 */ addi r3, r31, 0x1
/* 8000B2F0 00007130 80 81 00 08 */ lwz r4, 0x8(r1)
/* 8000B2F4 00007134 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8000B2F8 00007138 90 85 00 00 */ stw r4, 0x0(r5)
/* 8000B2FC 0000713C 90 05 00 04 */ stw r0, 0x4(r5)
/* 8000B300 00007140 90 E5 00 08 */ stw r7, 0x8(r5)
/* 8000B304 00007144 90 E5 00 0C */ stw r7, 0xc(r5)
/* 8000B308 00007148 48 00 05 28 */ b lbl_8000B830
.global lbl_8000B30C
lbl_8000B30C:
/* 8000B30C 0000714C 38 00 00 02 */ li r0, 0x2
.global lbl_8000B310
lbl_8000B310:
/* 8000B310 00007150 2C 06 00 2D */ cmpwi r6, 0x2d
/* 8000B314 00007154 38 80 00 01 */ li r4, 0x1
/* 8000B318 00007158 41 82 00 28 */ beq lbl_8000B340
/* 8000B31C 0000715C 2C 06 00 2B */ cmpwi r6, 0x2b
/* 8000B320 00007160 41 82 00 28 */ beq lbl_8000B348
/* 8000B324 00007164 2C 06 00 20 */ cmpwi r6, 0x20
/* 8000B328 00007168 41 82 00 28 */ beq lbl_8000B350
/* 8000B32C 0000716C 2C 06 00 23 */ cmpwi r6, 0x23
/* 8000B330 00007170 41 82 00 34 */ beq lbl_8000B364
/* 8000B334 00007174 2C 06 00 30 */ cmpwi r6, 0x30
/* 8000B338 00007178 41 82 00 34 */ beq lbl_8000B36C
/* 8000B33C 0000717C 48 00 00 44 */ b lbl_8000B380
.global lbl_8000B340
lbl_8000B340:
/* 8000B340 00007180 98 E1 00 08 */ stb r7, 0x8(r1)
/* 8000B344 00007184 48 00 00 40 */ b lbl_8000B384
.global lbl_8000B348
lbl_8000B348:
/* 8000B348 00007188 99 01 00 09 */ stb r8, 0x9(r1)
/* 8000B34C 0000718C 48 00 00 38 */ b lbl_8000B384
.global lbl_8000B350
lbl_8000B350:
/* 8000B350 00007190 88 61 00 09 */ lbz r3, 0x9(r1)
/* 8000B354 00007194 28 03 00 01 */ cmplwi r3, 0x1
/* 8000B358 00007198 41 82 00 2C */ beq lbl_8000B384
/* 8000B35C 0000719C 98 01 00 09 */ stb r0, 0x9(r1)
/* 8000B360 000071A0 48 00 00 24 */ b lbl_8000B384
.global lbl_8000B364
lbl_8000B364:
/* 8000B364 000071A4 99 01 00 0B */ stb r8, 0xb(r1)
/* 8000B368 000071A8 48 00 00 1C */ b lbl_8000B384
.global lbl_8000B36C
lbl_8000B36C:
/* 8000B36C 000071AC 88 61 00 08 */ lbz r3, 0x8(r1)
/* 8000B370 000071B0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B374 000071B4 41 82 00 10 */ beq lbl_8000B384
/* 8000B378 000071B8 98 01 00 08 */ stb r0, 0x8(r1)
/* 8000B37C 000071BC 48 00 00 08 */ b lbl_8000B384
.global lbl_8000B380
lbl_8000B380:
/* 8000B380 000071C0 38 80 00 00 */ li r4, 0x0
.global lbl_8000B384
lbl_8000B384:
/* 8000B384 000071C4 2C 04 00 00 */ cmpwi r4, 0x0
/* 8000B388 000071C8 41 82 00 10 */ beq lbl_8000B398
/* 8000B38C 000071CC 8C DF 00 01 */ lbzu r6, 0x1(r31)
/* 8000B390 000071D0 7C C6 07 74 */ extsb r6, r6
/* 8000B394 000071D4 4B FF FF 7C */ b lbl_8000B310
.global lbl_8000B398
lbl_8000B398:
/* 8000B398 000071D8 2C 06 00 2A */ cmpwi r6, 0x2a
/* 8000B39C 000071DC 40 82 00 3C */ bne lbl_8000B3D8
/* 8000B3A0 000071E0 7F A3 EB 78 */ mr r3, r29
/* 8000B3A4 000071E4 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000B3A8 000071E8 4B FF B7 01 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000B3AC 000071EC 80 03 00 00 */ lwz r0, 0x0(r3)
/* 8000B3B0 000071F0 90 01 00 10 */ stw r0, 0x10(r1)
/* 8000B3B4 000071F4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B3B8 000071F8 40 80 00 14 */ bge lbl_8000B3CC
/* 8000B3BC 000071FC 7C 00 00 D0 */ neg r0, r0
/* 8000B3C0 00007200 38 60 00 00 */ li r3, 0x0
/* 8000B3C4 00007204 98 61 00 08 */ stb r3, 0x8(r1)
/* 8000B3C8 00007208 90 01 00 10 */ stw r0, 0x10(r1)
.global lbl_8000B3CC
lbl_8000B3CC:
/* 8000B3CC 0000720C 8C DF 00 01 */ lbzu r6, 0x1(r31)
/* 8000B3D0 00007210 7C C6 07 74 */ extsb r6, r6
/* 8000B3D4 00007214 48 00 00 68 */ b lbl_8000B43C
.global lbl_8000B3D8
lbl_8000B3D8:
2022-10-16 16:31:36 +00:00
/* 8000B3D8 00007218 3C 60 80 42 */ lis r3, _current_locale@ha
/* 8000B3DC 0000721C 38 63 15 10 */ addi r3, r3, _current_locale@l
2022-10-16 16:05:58 +00:00
/* 8000B3E0 00007220 80 83 00 38 */ lwz r4, 0x38(r3)
/* 8000B3E4 00007224 48 00 00 20 */ b lbl_8000B404
.global lbl_8000B3E8
lbl_8000B3E8:
/* 8000B3E8 00007228 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8000B3EC 0000722C 1C 00 00 0A */ mulli r0, r0, 0xa
/* 8000B3F0 00007230 7C 66 02 14 */ add r3, r6, r0
/* 8000B3F4 00007234 8C DF 00 01 */ lbzu r6, 0x1(r31)
/* 8000B3F8 00007238 38 03 FF D0 */ addi r0, r3, -0x30
/* 8000B3FC 0000723C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8000B400 00007240 7C C6 07 74 */ extsb r6, r6
.global lbl_8000B404
lbl_8000B404:
/* 8000B404 00007244 28 06 00 FF */ cmplwi r6, 0xff
/* 8000B408 00007248 38 00 00 01 */ li r0, 0x1
/* 8000B40C 0000724C 41 81 00 08 */ bgt lbl_8000B414
/* 8000B410 00007250 38 00 00 00 */ li r0, 0x0
.global lbl_8000B414
lbl_8000B414:
/* 8000B414 00007254 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B418 00007258 41 82 00 0C */ beq lbl_8000B424
/* 8000B41C 0000725C 38 00 00 00 */ li r0, 0x0
/* 8000B420 00007260 48 00 00 14 */ b lbl_8000B434
.global lbl_8000B424
lbl_8000B424:
/* 8000B424 00007264 80 64 00 08 */ lwz r3, 0x8(r4)
/* 8000B428 00007268 54 C0 08 3C */ slwi r0, r6, 1
/* 8000B42C 0000726C 7C 03 02 2E */ lhzx r0, r3, r0
/* 8000B430 00007270 54 00 07 38 */ rlwinm r0, r0, 0, 28, 28
.global lbl_8000B434
lbl_8000B434:
/* 8000B434 00007274 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B438 00007278 40 82 FF B0 */ bne lbl_8000B3E8
.global lbl_8000B43C
lbl_8000B43C:
/* 8000B43C 0000727C 80 E1 00 10 */ lwz r7, 0x10(r1)
/* 8000B440 00007280 2C 07 01 FD */ cmpwi r7, 0x1fd
/* 8000B444 00007284 40 81 00 30 */ ble lbl_8000B474
/* 8000B448 00007288 38 00 00 FF */ li r0, 0xff
/* 8000B44C 0000728C 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B450 00007290 80 A1 00 08 */ lwz r5, 0x8(r1)
/* 8000B454 00007294 38 7F 00 01 */ addi r3, r31, 0x1
/* 8000B458 00007298 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8000B45C 0000729C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8000B460 000072A0 90 BE 00 00 */ stw r5, 0x0(r30)
/* 8000B464 000072A4 90 9E 00 04 */ stw r4, 0x4(r30)
/* 8000B468 000072A8 90 FE 00 08 */ stw r7, 0x8(r30)
/* 8000B46C 000072AC 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8000B470 000072B0 48 00 03 C0 */ b lbl_8000B830
.global lbl_8000B474
lbl_8000B474:
/* 8000B474 000072B4 2C 06 00 2E */ cmpwi r6, 0x2e
/* 8000B478 000072B8 40 82 00 B0 */ bne lbl_8000B528
/* 8000B47C 000072BC 8C DF 00 01 */ lbzu r6, 0x1(r31)
/* 8000B480 000072C0 38 00 00 01 */ li r0, 0x1
/* 8000B484 000072C4 98 01 00 0A */ stb r0, 0xa(r1)
/* 8000B488 000072C8 7C C6 07 74 */ extsb r6, r6
/* 8000B48C 000072CC 2C 06 00 2A */ cmpwi r6, 0x2a
/* 8000B490 000072D0 40 82 00 34 */ bne lbl_8000B4C4
/* 8000B494 000072D4 7F A3 EB 78 */ mr r3, r29
/* 8000B498 000072D8 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000B49C 000072DC 4B FF B6 0D */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000B4A0 000072E0 80 03 00 00 */ lwz r0, 0x0(r3)
/* 8000B4A4 000072E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000B4A8 000072E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B4AC 000072EC 40 80 00 0C */ bge lbl_8000B4B8
/* 8000B4B0 000072F0 38 00 00 00 */ li r0, 0x0
/* 8000B4B4 000072F4 98 01 00 0A */ stb r0, 0xa(r1)
.global lbl_8000B4B8
lbl_8000B4B8:
/* 8000B4B8 000072F8 8C DF 00 01 */ lbzu r6, 0x1(r31)
/* 8000B4BC 000072FC 7C C6 07 74 */ extsb r6, r6
/* 8000B4C0 00007300 48 00 00 68 */ b lbl_8000B528
.global lbl_8000B4C4
lbl_8000B4C4:
2022-10-16 16:31:36 +00:00
/* 8000B4C4 00007304 3C 60 80 42 */ lis r3, _current_locale@ha
/* 8000B4C8 00007308 38 63 15 10 */ addi r3, r3, _current_locale@l
2022-10-16 16:05:58 +00:00
/* 8000B4CC 0000730C 80 83 00 38 */ lwz r4, 0x38(r3)
/* 8000B4D0 00007310 48 00 00 20 */ b lbl_8000B4F0
.global lbl_8000B4D4
lbl_8000B4D4:
/* 8000B4D4 00007314 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8000B4D8 00007318 1C 00 00 0A */ mulli r0, r0, 0xa
/* 8000B4DC 0000731C 7C 66 02 14 */ add r3, r6, r0
/* 8000B4E0 00007320 8C DF 00 01 */ lbzu r6, 0x1(r31)
/* 8000B4E4 00007324 38 03 FF D0 */ addi r0, r3, -0x30
/* 8000B4E8 00007328 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000B4EC 0000732C 7C C6 07 74 */ extsb r6, r6
.global lbl_8000B4F0
lbl_8000B4F0:
/* 8000B4F0 00007330 28 06 00 FF */ cmplwi r6, 0xff
/* 8000B4F4 00007334 38 00 00 01 */ li r0, 0x1
/* 8000B4F8 00007338 41 81 00 08 */ bgt lbl_8000B500
/* 8000B4FC 0000733C 38 00 00 00 */ li r0, 0x0
.global lbl_8000B500
lbl_8000B500:
/* 8000B500 00007340 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B504 00007344 41 82 00 0C */ beq lbl_8000B510
/* 8000B508 00007348 38 00 00 00 */ li r0, 0x0
/* 8000B50C 0000734C 48 00 00 14 */ b lbl_8000B520
.global lbl_8000B510
lbl_8000B510:
/* 8000B510 00007350 80 64 00 08 */ lwz r3, 0x8(r4)
/* 8000B514 00007354 54 C0 08 3C */ slwi r0, r6, 1
/* 8000B518 00007358 7C 03 02 2E */ lhzx r0, r3, r0
/* 8000B51C 0000735C 54 00 07 38 */ rlwinm r0, r0, 0, 28, 28
.global lbl_8000B520
lbl_8000B520:
/* 8000B520 00007360 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B524 00007364 40 82 FF B0 */ bne lbl_8000B4D4
.global lbl_8000B528
lbl_8000B528:
/* 8000B528 00007368 2C 06 00 68 */ cmpwi r6, 0x68
/* 8000B52C 0000736C 38 80 00 01 */ li r4, 0x1
/* 8000B530 00007370 41 82 00 30 */ beq lbl_8000B560
/* 8000B534 00007374 2C 06 00 6C */ cmpwi r6, 0x6c
/* 8000B538 00007378 41 82 00 54 */ beq lbl_8000B58C
/* 8000B53C 0000737C 2C 06 00 4C */ cmpwi r6, 0x4c
/* 8000B540 00007380 41 82 00 78 */ beq lbl_8000B5B8
/* 8000B544 00007384 2C 06 00 6A */ cmpwi r6, 0x6a
/* 8000B548 00007388 41 82 00 7C */ beq lbl_8000B5C4
/* 8000B54C 0000738C 2C 06 00 74 */ cmpwi r6, 0x74
/* 8000B550 00007390 41 82 00 80 */ beq lbl_8000B5D0
/* 8000B554 00007394 2C 06 00 7A */ cmpwi r6, 0x7a
/* 8000B558 00007398 41 82 00 84 */ beq lbl_8000B5DC
/* 8000B55C 0000739C 48 00 00 8C */ b lbl_8000B5E8
.global lbl_8000B560
lbl_8000B560:
/* 8000B560 000073A0 88 1F 00 01 */ lbz r0, 0x1(r31)
/* 8000B564 000073A4 38 60 00 02 */ li r3, 0x2
/* 8000B568 000073A8 98 61 00 0C */ stb r3, 0xc(r1)
/* 8000B56C 000073AC 7C 03 07 74 */ extsb r3, r0
/* 8000B570 000073B0 2C 03 00 68 */ cmpwi r3, 0x68
/* 8000B574 000073B4 40 82 00 78 */ bne lbl_8000B5EC
/* 8000B578 000073B8 38 00 00 01 */ li r0, 0x1
/* 8000B57C 000073BC 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B580 000073C0 7C 66 1B 78 */ mr r6, r3
/* 8000B584 000073C4 3B FF 00 01 */ addi r31, r31, 0x1
/* 8000B588 000073C8 48 00 00 64 */ b lbl_8000B5EC
.global lbl_8000B58C
lbl_8000B58C:
/* 8000B58C 000073CC 88 1F 00 01 */ lbz r0, 0x1(r31)
/* 8000B590 000073D0 38 60 00 03 */ li r3, 0x3
/* 8000B594 000073D4 98 61 00 0C */ stb r3, 0xc(r1)
/* 8000B598 000073D8 7C 03 07 74 */ extsb r3, r0
/* 8000B59C 000073DC 2C 03 00 6C */ cmpwi r3, 0x6c
/* 8000B5A0 000073E0 40 82 00 4C */ bne lbl_8000B5EC
/* 8000B5A4 000073E4 38 00 00 04 */ li r0, 0x4
/* 8000B5A8 000073E8 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B5AC 000073EC 7C 66 1B 78 */ mr r6, r3
/* 8000B5B0 000073F0 3B FF 00 01 */ addi r31, r31, 0x1
/* 8000B5B4 000073F4 48 00 00 38 */ b lbl_8000B5EC
.global lbl_8000B5B8
lbl_8000B5B8:
/* 8000B5B8 000073F8 38 00 00 09 */ li r0, 0x9
/* 8000B5BC 000073FC 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B5C0 00007400 48 00 00 2C */ b lbl_8000B5EC
.global lbl_8000B5C4
lbl_8000B5C4:
/* 8000B5C4 00007404 38 00 00 06 */ li r0, 0x6
/* 8000B5C8 00007408 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B5CC 0000740C 48 00 00 20 */ b lbl_8000B5EC
.global lbl_8000B5D0
lbl_8000B5D0:
/* 8000B5D0 00007410 38 00 00 08 */ li r0, 0x8
/* 8000B5D4 00007414 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B5D8 00007418 48 00 00 14 */ b lbl_8000B5EC
.global lbl_8000B5DC
lbl_8000B5DC:
/* 8000B5DC 0000741C 38 00 00 07 */ li r0, 0x7
/* 8000B5E0 00007420 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B5E4 00007424 48 00 00 08 */ b lbl_8000B5EC
.global lbl_8000B5E8
lbl_8000B5E8:
/* 8000B5E8 00007428 38 80 00 00 */ li r4, 0x0
.global lbl_8000B5EC
lbl_8000B5EC:
/* 8000B5EC 0000742C 2C 04 00 00 */ cmpwi r4, 0x0
/* 8000B5F0 00007430 41 82 00 0C */ beq lbl_8000B5FC
/* 8000B5F4 00007434 8C DF 00 01 */ lbzu r6, 0x1(r31)
/* 8000B5F8 00007438 7C C6 07 74 */ extsb r6, r6
.global lbl_8000B5FC
lbl_8000B5FC:
/* 8000B5FC 0000743C 38 06 FF BF */ addi r0, r6, -0x41
/* 8000B600 00007440 98 C1 00 0D */ stb r6, 0xd(r1)
/* 8000B604 00007444 28 00 00 37 */ cmplwi r0, 0x37
/* 8000B608 00007448 41 81 01 FC */ bgt lbl_8000B804
2022-10-16 16:31:36 +00:00
/* 8000B60C 0000744C 3C 60 80 42 */ lis r3, "@2465"@ha
2022-10-16 16:05:58 +00:00
/* 8000B610 00007450 54 00 10 3A */ slwi r0, r0, 2
2022-10-16 16:31:36 +00:00
/* 8000B614 00007454 38 63 15 58 */ addi r3, r3, "@2465"@l
2022-10-16 16:05:58 +00:00
/* 8000B618 00007458 7C 63 00 2E */ lwzx r3, r3, r0
/* 8000B61C 0000745C 7C 69 03 A6 */ mtctr r3
/* 8000B620 00007460 4E 80 04 20 */ bctr
.global lbl_8000B624
lbl_8000B624:
/* 8000B624 00007464 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8000B628 00007468 28 00 00 09 */ cmplwi r0, 0x9
/* 8000B62C 0000746C 40 82 00 10 */ bne lbl_8000B63C
/* 8000B630 00007470 38 00 00 FF */ li r0, 0xff
/* 8000B634 00007474 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B638 00007478 48 00 01 D4 */ b lbl_8000B80C
.global lbl_8000B63C
lbl_8000B63C:
/* 8000B63C 0000747C 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8000B640 00007480 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B644 00007484 40 82 00 10 */ bne lbl_8000B654
/* 8000B648 00007488 38 00 00 01 */ li r0, 0x1
/* 8000B64C 0000748C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000B650 00007490 48 00 01 BC */ b lbl_8000B80C
.global lbl_8000B654
lbl_8000B654:
/* 8000B654 00007494 88 01 00 08 */ lbz r0, 0x8(r1)
/* 8000B658 00007498 28 00 00 02 */ cmplwi r0, 0x2
/* 8000B65C 0000749C 40 82 01 B0 */ bne lbl_8000B80C
/* 8000B660 000074A0 38 00 00 01 */ li r0, 0x1
/* 8000B664 000074A4 98 01 00 08 */ stb r0, 0x8(r1)
/* 8000B668 000074A8 48 00 01 A4 */ b lbl_8000B80C
.global lbl_8000B66C
lbl_8000B66C:
/* 8000B66C 000074AC 88 61 00 0C */ lbz r3, 0xc(r1)
/* 8000B670 000074B0 38 03 00 FA */ addi r0, r3, 0xfa
/* 8000B674 000074B4 54 00 06 3E */ clrlwi r0, r0, 24
/* 8000B678 000074B8 28 00 00 02 */ cmplwi r0, 0x2
/* 8000B67C 000074BC 40 81 00 14 */ ble lbl_8000B690
/* 8000B680 000074C0 28 03 00 02 */ cmplwi r3, 0x2
/* 8000B684 000074C4 41 82 00 0C */ beq lbl_8000B690
/* 8000B688 000074C8 28 03 00 04 */ cmplwi r3, 0x4
/* 8000B68C 000074CC 40 82 00 10 */ bne lbl_8000B69C
.global lbl_8000B690
lbl_8000B690:
/* 8000B690 000074D0 38 00 00 FF */ li r0, 0xff
/* 8000B694 000074D4 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B698 000074D8 48 00 01 74 */ b lbl_8000B80C
.global lbl_8000B69C
lbl_8000B69C:
/* 8000B69C 000074DC 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8000B6A0 000074E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B6A4 000074E4 40 82 01 68 */ bne lbl_8000B80C
/* 8000B6A8 000074E8 38 00 00 06 */ li r0, 0x6
/* 8000B6AC 000074EC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000B6B0 000074F0 48 00 01 5C */ b lbl_8000B80C
.global lbl_8000B6B4
lbl_8000B6B4:
/* 8000B6B4 000074F4 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8000B6B8 000074F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B6BC 000074FC 40 82 00 0C */ bne lbl_8000B6C8
/* 8000B6C0 00007500 38 00 00 0D */ li r0, 0xd
/* 8000B6C4 00007504 90 01 00 14 */ stw r0, 0x14(r1)
.global lbl_8000B6C8
lbl_8000B6C8:
/* 8000B6C8 00007508 88 61 00 0C */ lbz r3, 0xc(r1)
/* 8000B6CC 0000750C 38 03 00 FA */ addi r0, r3, 0xfa
/* 8000B6D0 00007510 54 00 06 3E */ clrlwi r0, r0, 24
/* 8000B6D4 00007514 28 00 00 02 */ cmplwi r0, 0x2
/* 8000B6D8 00007518 40 81 00 1C */ ble lbl_8000B6F4
/* 8000B6DC 0000751C 38 03 00 FF */ addi r0, r3, 0xff
/* 8000B6E0 00007520 54 00 06 3E */ clrlwi r0, r0, 24
/* 8000B6E4 00007524 28 00 00 01 */ cmplwi r0, 0x1
/* 8000B6E8 00007528 40 81 00 0C */ ble lbl_8000B6F4
/* 8000B6EC 0000752C 28 03 00 04 */ cmplwi r3, 0x4
/* 8000B6F0 00007530 40 82 01 1C */ bne lbl_8000B80C
.global lbl_8000B6F4
lbl_8000B6F4:
/* 8000B6F4 00007534 38 00 00 FF */ li r0, 0xff
/* 8000B6F8 00007538 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B6FC 0000753C 48 00 01 10 */ b lbl_8000B80C
.global lbl_8000B700
lbl_8000B700:
/* 8000B700 00007540 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8000B704 00007544 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B708 00007548 40 82 00 0C */ bne lbl_8000B714
/* 8000B70C 0000754C 38 00 00 01 */ li r0, 0x1
/* 8000B710 00007550 90 01 00 14 */ stw r0, 0x14(r1)
.global lbl_8000B714
lbl_8000B714:
/* 8000B714 00007554 88 61 00 0C */ lbz r3, 0xc(r1)
/* 8000B718 00007558 38 03 00 FA */ addi r0, r3, 0xfa
/* 8000B71C 0000755C 54 00 06 3E */ clrlwi r0, r0, 24
/* 8000B720 00007560 28 00 00 02 */ cmplwi r0, 0x2
/* 8000B724 00007564 40 81 00 1C */ ble lbl_8000B740
/* 8000B728 00007568 38 03 00 FF */ addi r0, r3, 0xff
/* 8000B72C 0000756C 54 00 06 3E */ clrlwi r0, r0, 24
/* 8000B730 00007570 28 00 00 01 */ cmplwi r0, 0x1
/* 8000B734 00007574 40 81 00 0C */ ble lbl_8000B740
/* 8000B738 00007578 28 03 00 04 */ cmplwi r3, 0x4
/* 8000B73C 0000757C 40 82 00 10 */ bne lbl_8000B74C
.global lbl_8000B740
lbl_8000B740:
/* 8000B740 00007580 38 00 00 FF */ li r0, 0xff
/* 8000B744 00007584 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B748 00007588 48 00 00 C4 */ b lbl_8000B80C
.global lbl_8000B74C
lbl_8000B74C:
/* 8000B74C 0000758C 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8000B750 00007590 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B754 00007594 40 82 00 B8 */ bne lbl_8000B80C
/* 8000B758 00007598 38 00 00 06 */ li r0, 0x6
/* 8000B75C 0000759C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000B760 000075A0 48 00 00 AC */ b lbl_8000B80C
.global lbl_8000B764
lbl_8000B764:
/* 8000B764 000075A4 38 A0 00 78 */ li r5, 0x78
/* 8000B768 000075A8 38 80 00 01 */ li r4, 0x1
/* 8000B76C 000075AC 38 60 00 03 */ li r3, 0x3
/* 8000B770 000075B0 38 00 00 08 */ li r0, 0x8
/* 8000B774 000075B4 98 A1 00 0D */ stb r5, 0xd(r1)
/* 8000B778 000075B8 98 81 00 0B */ stb r4, 0xb(r1)
/* 8000B77C 000075BC 98 61 00 0C */ stb r3, 0xc(r1)
/* 8000B780 000075C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000B784 000075C4 48 00 00 88 */ b lbl_8000B80C
.global lbl_8000B788
lbl_8000B788:
/* 8000B788 000075C8 88 61 00 0C */ lbz r3, 0xc(r1)
/* 8000B78C 000075CC 28 03 00 03 */ cmplwi r3, 0x3
/* 8000B790 000075D0 40 82 00 10 */ bne lbl_8000B7A0
/* 8000B794 000075D4 38 00 00 05 */ li r0, 0x5
/* 8000B798 000075D8 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B79C 000075DC 48 00 00 70 */ b lbl_8000B80C
.global lbl_8000B7A0
lbl_8000B7A0:
/* 8000B7A0 000075E0 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8000B7A4 000075E4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B7A8 000075E8 40 82 00 0C */ bne lbl_8000B7B4
/* 8000B7AC 000075EC 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B7B0 000075F0 41 82 00 5C */ beq lbl_8000B80C
.global lbl_8000B7B4
lbl_8000B7B4:
/* 8000B7B4 000075F4 38 00 00 FF */ li r0, 0xff
/* 8000B7B8 000075F8 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B7BC 000075FC 48 00 00 50 */ b lbl_8000B80C
.global lbl_8000B7C0
lbl_8000B7C0:
/* 8000B7C0 00007600 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8000B7C4 00007604 28 00 00 03 */ cmplwi r0, 0x3
/* 8000B7C8 00007608 40 82 00 10 */ bne lbl_8000B7D8
/* 8000B7CC 0000760C 38 00 00 05 */ li r0, 0x5
/* 8000B7D0 00007610 98 01 00 0C */ stb r0, 0xc(r1)
/* 8000B7D4 00007614 48 00 00 38 */ b lbl_8000B80C
.global lbl_8000B7D8
lbl_8000B7D8:
/* 8000B7D8 00007618 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B7DC 0000761C 41 82 00 30 */ beq lbl_8000B80C
/* 8000B7E0 00007620 38 00 00 FF */ li r0, 0xff
/* 8000B7E4 00007624 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B7E8 00007628 48 00 00 24 */ b lbl_8000B80C
.global lbl_8000B7EC
lbl_8000B7EC:
/* 8000B7EC 0000762C 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8000B7F0 00007630 28 00 00 09 */ cmplwi r0, 0x9
/* 8000B7F4 00007634 40 82 00 18 */ bne lbl_8000B80C
/* 8000B7F8 00007638 38 00 00 FF */ li r0, 0xff
/* 8000B7FC 0000763C 98 01 00 0D */ stb r0, 0xd(r1)
/* 8000B800 00007640 48 00 00 0C */ b lbl_8000B80C
.global lbl_8000B804
lbl_8000B804:
/* 8000B804 00007644 38 00 00 FF */ li r0, 0xff
/* 8000B808 00007648 98 01 00 0D */ stb r0, 0xd(r1)
.global lbl_8000B80C
lbl_8000B80C:
/* 8000B80C 0000764C 80 C1 00 08 */ lwz r6, 0x8(r1)
/* 8000B810 00007650 38 7F 00 01 */ addi r3, r31, 0x1
/* 8000B814 00007654 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8000B818 00007658 80 81 00 10 */ lwz r4, 0x10(r1)
/* 8000B81C 0000765C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8000B820 00007660 90 DE 00 00 */ stw r6, 0x0(r30)
/* 8000B824 00007664 90 BE 00 04 */ stw r5, 0x4(r30)
/* 8000B828 00007668 90 9E 00 08 */ stw r4, 0x8(r30)
/* 8000B82C 0000766C 90 1E 00 0C */ stw r0, 0xc(r30)
.global lbl_8000B830
lbl_8000B830:
/* 8000B830 00007670 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8000B834 00007674 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8000B838 00007678 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8000B83C 0000767C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8000B840 00007680 7C 08 03 A6 */ mtlr r0
/* 8000B844 00007684 38 21 00 30 */ addi r1, r1, 0x30
/* 8000B848 00007688 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global long2str_8000B84C
long2str_8000B84C:
2022-10-16 16:05:58 +00:00
/* 8000B84C 0000768C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B850 00007690 39 00 00 00 */ li r8, 0x0
/* 8000B854 00007694 99 04 FF FF */ stb r8, -0x1(r4)
/* 8000B858 00007698 38 C4 FF FF */ addi r6, r4, -0x1
/* 8000B85C 0000769C 38 E0 00 00 */ li r7, 0x0
/* 8000B860 000076A0 40 82 00 30 */ bne lbl_8000B890
/* 8000B864 000076A4 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8000B868 000076A8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B86C 000076AC 40 82 00 24 */ bne lbl_8000B890
/* 8000B870 000076B0 88 05 00 03 */ lbz r0, 0x3(r5)
/* 8000B874 000076B4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000B878 000076B8 41 82 00 10 */ beq lbl_8000B888
/* 8000B87C 000076BC 88 05 00 05 */ lbz r0, 0x5(r5)
/* 8000B880 000076C0 28 00 00 6F */ cmplwi r0, 0x6f
/* 8000B884 000076C4 41 82 00 0C */ beq lbl_8000B890
.global lbl_8000B888
lbl_8000B888:
/* 8000B888 000076C8 7C C3 33 78 */ mr r3, r6
/* 8000B88C 000076CC 4E 80 00 20 */ blr
.global lbl_8000B890
lbl_8000B890:
/* 8000B890 000076D0 89 25 00 05 */ lbz r9, 0x5(r5)
/* 8000B894 000076D4 2C 09 00 64 */ cmpwi r9, 0x64
/* 8000B898 000076D8 41 82 00 30 */ beq lbl_8000B8C8
/* 8000B89C 000076DC 2C 09 00 69 */ cmpwi r9, 0x69
/* 8000B8A0 000076E0 41 82 00 28 */ beq lbl_8000B8C8
/* 8000B8A4 000076E4 2C 09 00 6F */ cmpwi r9, 0x6f
/* 8000B8A8 000076E8 41 82 00 4C */ beq lbl_8000B8F4
/* 8000B8AC 000076EC 2C 09 00 75 */ cmpwi r9, 0x75
/* 8000B8B0 000076F0 41 82 00 54 */ beq lbl_8000B904
/* 8000B8B4 000076F4 2C 09 00 78 */ cmpwi r9, 0x78
/* 8000B8B8 000076F8 41 82 00 5C */ beq lbl_8000B914
/* 8000B8BC 000076FC 2C 09 00 58 */ cmpwi r9, 0x58
/* 8000B8C0 00007700 41 82 00 54 */ beq lbl_8000B914
/* 8000B8C4 00007704 48 00 00 5C */ b lbl_8000B920
.global lbl_8000B8C8
lbl_8000B8C8:
/* 8000B8C8 00007708 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B8CC 0000770C 38 00 00 0A */ li r0, 0xa
/* 8000B8D0 00007710 40 80 00 50 */ bge lbl_8000B920
/* 8000B8D4 00007714 7C 69 FE 70 */ srawi r9, r3, 31
/* 8000B8D8 00007718 3D 00 80 00 */ lis r8, 0x8000
/* 8000B8DC 0000771C 7D 28 42 78 */ xor r8, r9, r8
/* 8000B8E0 00007720 7C 68 43 79 */ or. r8, r3, r8
/* 8000B8E4 00007724 41 82 00 08 */ beq lbl_8000B8EC
/* 8000B8E8 00007728 7C 63 00 D0 */ neg r3, r3
.global lbl_8000B8EC
lbl_8000B8EC:
/* 8000B8EC 0000772C 39 00 00 01 */ li r8, 0x1
/* 8000B8F0 00007730 48 00 00 30 */ b lbl_8000B920
.global lbl_8000B8F4
lbl_8000B8F4:
/* 8000B8F4 00007734 38 00 00 00 */ li r0, 0x0
/* 8000B8F8 00007738 98 05 00 01 */ stb r0, 0x1(r5)
/* 8000B8FC 0000773C 38 00 00 08 */ li r0, 0x8
/* 8000B900 00007740 48 00 00 20 */ b lbl_8000B920
.global lbl_8000B904
lbl_8000B904:
/* 8000B904 00007744 38 00 00 00 */ li r0, 0x0
/* 8000B908 00007748 98 05 00 01 */ stb r0, 0x1(r5)
/* 8000B90C 0000774C 38 00 00 0A */ li r0, 0xa
/* 8000B910 00007750 48 00 00 10 */ b lbl_8000B920
.global lbl_8000B914
lbl_8000B914:
/* 8000B914 00007754 38 00 00 00 */ li r0, 0x0
/* 8000B918 00007758 98 05 00 01 */ stb r0, 0x1(r5)
/* 8000B91C 0000775C 38 00 00 10 */ li r0, 0x10
.global lbl_8000B920
lbl_8000B920:
/* 8000B920 00007760 7D 23 03 96 */ divwu r9, r3, r0
/* 8000B924 00007764 7D 29 01 D6 */ mullw r9, r9, r0
/* 8000B928 00007768 7D 69 18 50 */ subf r11, r9, r3
/* 8000B92C 0000776C 7C 63 03 96 */ divwu r3, r3, r0
/* 8000B930 00007770 2C 0B 00 0A */ cmpwi r11, 0xa
/* 8000B934 00007774 40 80 00 0C */ bge lbl_8000B940
/* 8000B938 00007778 39 6B 00 30 */ addi r11, r11, 0x30
/* 8000B93C 0000777C 48 00 00 1C */ b lbl_8000B958
.global lbl_8000B940
lbl_8000B940:
/* 8000B940 00007780 89 25 00 05 */ lbz r9, 0x5(r5)
/* 8000B944 00007784 39 4B 00 37 */ addi r10, r11, 0x37
/* 8000B948 00007788 28 09 00 78 */ cmplwi r9, 0x78
/* 8000B94C 0000778C 40 82 00 08 */ bne lbl_8000B954
/* 8000B950 00007790 39 4B 00 57 */ addi r10, r11, 0x57
.global lbl_8000B954
lbl_8000B954:
/* 8000B954 00007794 7D 4B 53 78 */ mr r11, r10
.global lbl_8000B958
lbl_8000B958:
/* 8000B958 00007798 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B95C 0000779C 99 66 FF FF */ stb r11, -0x1(r6)
/* 8000B960 000077A0 38 C6 FF FF */ addi r6, r6, -0x1
/* 8000B964 000077A4 38 E7 00 01 */ addi r7, r7, 0x1
/* 8000B968 000077A8 40 82 FF B8 */ bne lbl_8000B920
/* 8000B96C 000077AC 28 00 00 08 */ cmplwi r0, 0x8
/* 8000B970 000077B0 40 82 00 28 */ bne lbl_8000B998
/* 8000B974 000077B4 88 65 00 03 */ lbz r3, 0x3(r5)
/* 8000B978 000077B8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B97C 000077BC 41 82 00 1C */ beq lbl_8000B998
/* 8000B980 000077C0 88 66 00 00 */ lbz r3, 0x0(r6)
/* 8000B984 000077C4 2C 03 00 30 */ cmpwi r3, 0x30
/* 8000B988 000077C8 41 82 00 10 */ beq lbl_8000B998
/* 8000B98C 000077CC 38 60 00 30 */ li r3, 0x30
/* 8000B990 000077D0 9C 66 FF FF */ stbu r3, -0x1(r6)
/* 8000B994 000077D4 38 E7 00 01 */ addi r7, r7, 0x1
.global lbl_8000B998
lbl_8000B998:
/* 8000B998 000077D8 88 65 00 00 */ lbz r3, 0x0(r5)
/* 8000B99C 000077DC 28 03 00 02 */ cmplwi r3, 0x2
/* 8000B9A0 000077E0 40 82 00 4C */ bne lbl_8000B9EC
/* 8000B9A4 000077E4 80 65 00 08 */ lwz r3, 0x8(r5)
/* 8000B9A8 000077E8 2C 08 00 00 */ cmpwi r8, 0x0
/* 8000B9AC 000077EC 90 65 00 0C */ stw r3, 0xc(r5)
/* 8000B9B0 000077F0 40 82 00 10 */ bne lbl_8000B9C0
/* 8000B9B4 000077F4 88 65 00 01 */ lbz r3, 0x1(r5)
/* 8000B9B8 000077F8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B9BC 000077FC 41 82 00 10 */ beq lbl_8000B9CC
.global lbl_8000B9C0
lbl_8000B9C0:
/* 8000B9C0 00007800 80 65 00 0C */ lwz r3, 0xc(r5)
/* 8000B9C4 00007804 38 63 FF FF */ addi r3, r3, -0x1
/* 8000B9C8 00007808 90 65 00 0C */ stw r3, 0xc(r5)
.global lbl_8000B9CC
lbl_8000B9CC:
/* 8000B9CC 0000780C 28 00 00 10 */ cmplwi r0, 0x10
/* 8000B9D0 00007810 40 82 00 1C */ bne lbl_8000B9EC
/* 8000B9D4 00007814 88 65 00 03 */ lbz r3, 0x3(r5)
/* 8000B9D8 00007818 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000B9DC 0000781C 41 82 00 10 */ beq lbl_8000B9EC
/* 8000B9E0 00007820 80 65 00 0C */ lwz r3, 0xc(r5)
/* 8000B9E4 00007824 38 63 FF FE */ addi r3, r3, -0x2
/* 8000B9E8 00007828 90 65 00 0C */ stw r3, 0xc(r5)
.global lbl_8000B9EC
lbl_8000B9EC:
/* 8000B9EC 0000782C 81 25 00 0C */ lwz r9, 0xc(r5)
/* 8000B9F0 00007830 7C 66 20 50 */ subf r3, r6, r4
/* 8000B9F4 00007834 7C 69 1A 14 */ add r3, r9, r3
/* 8000B9F8 00007838 2C 03 01 FD */ cmpwi r3, 0x1fd
/* 8000B9FC 0000783C 40 81 00 0C */ ble lbl_8000BA08
/* 8000BA00 00007840 38 60 00 00 */ li r3, 0x0
/* 8000BA04 00007844 4E 80 00 20 */ blr
.global lbl_8000BA08
lbl_8000BA08:
/* 8000BA08 00007848 38 80 00 30 */ li r4, 0x30
/* 8000BA0C 0000784C 48 00 00 0C */ b lbl_8000BA18
.global lbl_8000BA10
lbl_8000BA10:
/* 8000BA10 00007850 9C 86 FF FF */ stbu r4, -0x1(r6)
/* 8000BA14 00007854 38 E7 00 01 */ addi r7, r7, 0x1
.global lbl_8000BA18
lbl_8000BA18:
/* 8000BA18 00007858 80 65 00 0C */ lwz r3, 0xc(r5)
/* 8000BA1C 0000785C 7C 07 18 00 */ cmpw r7, r3
/* 8000BA20 00007860 41 80 FF F0 */ blt lbl_8000BA10
/* 8000BA24 00007864 28 00 00 10 */ cmplwi r0, 0x10
/* 8000BA28 00007868 40 82 00 20 */ bne lbl_8000BA48
/* 8000BA2C 0000786C 88 05 00 03 */ lbz r0, 0x3(r5)
/* 8000BA30 00007870 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000BA34 00007874 41 82 00 14 */ beq lbl_8000BA48
/* 8000BA38 00007878 88 65 00 05 */ lbz r3, 0x5(r5)
/* 8000BA3C 0000787C 38 00 00 30 */ li r0, 0x30
/* 8000BA40 00007880 98 66 FF FF */ stb r3, -0x1(r6)
/* 8000BA44 00007884 9C 06 FF FE */ stbu r0, -0x2(r6)
.global lbl_8000BA48
lbl_8000BA48:
/* 8000BA48 00007888 2C 08 00 00 */ cmpwi r8, 0x0
/* 8000BA4C 0000788C 41 82 00 10 */ beq lbl_8000BA5C
/* 8000BA50 00007890 38 00 00 2D */ li r0, 0x2d
/* 8000BA54 00007894 9C 06 FF FF */ stbu r0, -0x1(r6)
/* 8000BA58 00007898 48 00 00 2C */ b lbl_8000BA84
.global lbl_8000BA5C
lbl_8000BA5C:
/* 8000BA5C 0000789C 88 05 00 01 */ lbz r0, 0x1(r5)
/* 8000BA60 000078A0 28 00 00 01 */ cmplwi r0, 0x1
/* 8000BA64 000078A4 40 82 00 10 */ bne lbl_8000BA74
/* 8000BA68 000078A8 38 00 00 2B */ li r0, 0x2b
/* 8000BA6C 000078AC 9C 06 FF FF */ stbu r0, -0x1(r6)
/* 8000BA70 000078B0 48 00 00 14 */ b lbl_8000BA84
.global lbl_8000BA74
lbl_8000BA74:
/* 8000BA74 000078B4 28 00 00 02 */ cmplwi r0, 0x2
/* 8000BA78 000078B8 40 82 00 0C */ bne lbl_8000BA84
/* 8000BA7C 000078BC 38 00 00 20 */ li r0, 0x20
/* 8000BA80 000078C0 9C 06 FF FF */ stbu r0, -0x1(r6)
.global lbl_8000BA84
lbl_8000BA84:
/* 8000BA84 000078C4 7C C3 33 78 */ mr r3, r6
/* 8000BA88 000078C8 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global longlong2str_8000BA8C
longlong2str_8000BA8C:
2022-10-16 16:05:58 +00:00
/* 8000BA8C 000078CC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8000BA90 000078D0 7C 08 02 A6 */ mflr r0
/* 8000BA94 000078D4 90 01 00 34 */ stw r0, 0x34(r1)
/* 8000BA98 000078D8 7C 80 1B 79 */ or. r0, r4, r3
/* 8000BA9C 000078DC BE C1 00 08 */ stmw r22, 0x8(r1)
/* 8000BAA0 000078E0 3B 20 00 00 */ li r25, 0x0
/* 8000BAA4 000078E4 7C 7F 1B 78 */ mr r31, r3
/* 8000BAA8 000078E8 7C 9E 23 78 */ mr r30, r4
/* 8000BAAC 000078EC 7C B7 2B 78 */ mr r23, r5
/* 8000BAB0 000078F0 7C D8 33 78 */ mr r24, r6
/* 8000BAB4 000078F4 3B 65 FF FF */ addi r27, r5, -0x1
/* 8000BAB8 000078F8 3B 40 00 00 */ li r26, 0x0
/* 8000BABC 000078FC 9B 25 FF FF */ stb r25, -0x1(r5)
/* 8000BAC0 00007900 40 82 00 30 */ bne lbl_8000BAF0
/* 8000BAC4 00007904 80 06 00 0C */ lwz r0, 0xc(r6)
/* 8000BAC8 00007908 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000BACC 0000790C 40 82 00 24 */ bne lbl_8000BAF0
/* 8000BAD0 00007910 88 06 00 03 */ lbz r0, 0x3(r6)
/* 8000BAD4 00007914 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000BAD8 00007918 41 82 00 10 */ beq lbl_8000BAE8
/* 8000BADC 0000791C 88 06 00 05 */ lbz r0, 0x5(r6)
/* 8000BAE0 00007920 28 00 00 6F */ cmplwi r0, 0x6f
/* 8000BAE4 00007924 41 82 00 0C */ beq lbl_8000BAF0
.global lbl_8000BAE8
lbl_8000BAE8:
/* 8000BAE8 00007928 7F 63 DB 78 */ mr r3, r27
/* 8000BAEC 0000792C 48 00 02 3C */ b lbl_8000BD28
.global lbl_8000BAF0
lbl_8000BAF0:
/* 8000BAF0 00007930 88 06 00 05 */ lbz r0, 0x5(r6)
/* 8000BAF4 00007934 2C 00 00 64 */ cmpwi r0, 0x64
/* 8000BAF8 00007938 41 82 00 30 */ beq lbl_8000BB28
/* 8000BAFC 0000793C 2C 00 00 69 */ cmpwi r0, 0x69
/* 8000BB00 00007940 41 82 00 28 */ beq lbl_8000BB28
/* 8000BB04 00007944 2C 00 00 6F */ cmpwi r0, 0x6f
/* 8000BB08 00007948 41 82 00 64 */ beq lbl_8000BB6C
/* 8000BB0C 0000794C 2C 00 00 75 */ cmpwi r0, 0x75
/* 8000BB10 00007950 41 82 00 6C */ beq lbl_8000BB7C
/* 8000BB14 00007954 2C 00 00 78 */ cmpwi r0, 0x78
/* 8000BB18 00007958 41 82 00 74 */ beq lbl_8000BB8C
/* 8000BB1C 0000795C 2C 00 00 58 */ cmpwi r0, 0x58
/* 8000BB20 00007960 41 82 00 6C */ beq lbl_8000BB8C
/* 8000BB24 00007964 48 00 00 74 */ b lbl_8000BB98
.global lbl_8000BB28
lbl_8000BB28:
/* 8000BB28 00007968 3B A0 00 00 */ li r29, 0x0
/* 8000BB2C 0000796C 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 8000BB30 00007970 6F A6 80 00 */ xoris r6, r29, 0x8000
/* 8000BB34 00007974 3B 80 00 0A */ li r28, 0xa
/* 8000BB38 00007978 7C BD 20 10 */ subfc r5, r29, r4
/* 8000BB3C 0000797C 7C C6 01 10 */ subfe r6, r6, r0
/* 8000BB40 00007980 7C C0 01 10 */ subfe r6, r0, r0
/* 8000BB44 00007984 7C C6 00 D1 */ neg. r6, r6
/* 8000BB48 00007988 41 82 00 50 */ beq lbl_8000BB98
/* 8000BB4C 0000798C 3C 00 80 00 */ lis r0, 0x8000
/* 8000BB50 00007990 7C 60 02 78 */ xor r0, r3, r0
/* 8000BB54 00007994 7C 80 03 79 */ or. r0, r4, r0
/* 8000BB58 00007998 41 82 00 0C */ beq lbl_8000BB64
/* 8000BB5C 0000799C 23 C4 00 00 */ subfic r30, r4, 0x0
/* 8000BB60 000079A0 7F E3 01 90 */ subfze r31, r3
.global lbl_8000BB64
lbl_8000BB64:
/* 8000BB64 000079A4 3B 20 00 01 */ li r25, 0x1
/* 8000BB68 000079A8 48 00 00 30 */ b lbl_8000BB98
.global lbl_8000BB6C
lbl_8000BB6C:
/* 8000BB6C 000079AC 3B A0 00 00 */ li r29, 0x0
/* 8000BB70 000079B0 9B A6 00 01 */ stb r29, 0x1(r6)
/* 8000BB74 000079B4 3B 80 00 08 */ li r28, 0x8
/* 8000BB78 000079B8 48 00 00 20 */ b lbl_8000BB98
.global lbl_8000BB7C
lbl_8000BB7C:
/* 8000BB7C 000079BC 3B A0 00 00 */ li r29, 0x0
/* 8000BB80 000079C0 9B A6 00 01 */ stb r29, 0x1(r6)
/* 8000BB84 000079C4 3B 80 00 0A */ li r28, 0xa
/* 8000BB88 000079C8 48 00 00 10 */ b lbl_8000BB98
.global lbl_8000BB8C
lbl_8000BB8C:
/* 8000BB8C 000079CC 3B A0 00 00 */ li r29, 0x0
/* 8000BB90 000079D0 9B A6 00 01 */ stb r29, 0x1(r6)
/* 8000BB94 000079D4 3B 80 00 10 */ li r28, 0x10
.global lbl_8000BB98
lbl_8000BB98:
/* 8000BB98 000079D8 7F E3 FB 78 */ mr r3, r31
/* 8000BB9C 000079DC 7F C4 F3 78 */ mr r4, r30
/* 8000BBA0 000079E0 7F A5 EB 78 */ mr r5, r29
/* 8000BBA4 000079E4 7F 86 E3 78 */ mr r6, r28
2022-10-16 16:31:36 +00:00
/* 8000BBA8 000079E8 4B FF BA 1D */ bl __mod2u
2022-10-16 16:05:58 +00:00
/* 8000BBAC 000079EC 7C 96 23 78 */ mr r22, r4
/* 8000BBB0 000079F0 7F E3 FB 78 */ mr r3, r31
/* 8000BBB4 000079F4 7F C4 F3 78 */ mr r4, r30
/* 8000BBB8 000079F8 7F A5 EB 78 */ mr r5, r29
/* 8000BBBC 000079FC 7F 86 E3 78 */ mr r6, r28
2022-10-16 16:31:36 +00:00
/* 8000BBC0 00007A00 4B FF B7 E1 */ bl __div2u
2022-10-16 16:05:58 +00:00
/* 8000BBC4 00007A04 2C 16 00 0A */ cmpwi r22, 0xa
/* 8000BBC8 00007A08 7C 9E 23 78 */ mr r30, r4
/* 8000BBCC 00007A0C 7C 7F 1B 78 */ mr r31, r3
/* 8000BBD0 00007A10 40 80 00 0C */ bge lbl_8000BBDC
/* 8000BBD4 00007A14 38 B6 00 30 */ addi r5, r22, 0x30
/* 8000BBD8 00007A18 48 00 00 18 */ b lbl_8000BBF0
.global lbl_8000BBDC
lbl_8000BBDC:
/* 8000BBDC 00007A1C 88 18 00 05 */ lbz r0, 0x5(r24)
/* 8000BBE0 00007A20 38 B6 00 37 */ addi r5, r22, 0x37
/* 8000BBE4 00007A24 28 00 00 78 */ cmplwi r0, 0x78
/* 8000BBE8 00007A28 40 82 00 08 */ bne lbl_8000BBF0
/* 8000BBEC 00007A2C 38 B6 00 57 */ addi r5, r22, 0x57
.global lbl_8000BBF0
lbl_8000BBF0:
/* 8000BBF0 00007A30 7C 80 1B 79 */ or. r0, r4, r3
/* 8000BBF4 00007A34 9C BB FF FF */ stbu r5, -0x1(r27)
/* 8000BBF8 00007A38 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8000BBFC 00007A3C 40 82 FF 9C */ bne lbl_8000BB98
/* 8000BC00 00007A40 6B 80 00 08 */ xori r0, r28, 0x8
/* 8000BC04 00007A44 7C 00 EB 79 */ or. r0, r0, r29
/* 8000BC08 00007A48 40 82 00 28 */ bne lbl_8000BC30
/* 8000BC0C 00007A4C 88 18 00 03 */ lbz r0, 0x3(r24)
/* 8000BC10 00007A50 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000BC14 00007A54 41 82 00 1C */ beq lbl_8000BC30
/* 8000BC18 00007A58 88 1B 00 00 */ lbz r0, 0x0(r27)
/* 8000BC1C 00007A5C 2C 00 00 30 */ cmpwi r0, 0x30
/* 8000BC20 00007A60 41 82 00 10 */ beq lbl_8000BC30
/* 8000BC24 00007A64 38 00 00 30 */ li r0, 0x30
/* 8000BC28 00007A68 9C 1B FF FF */ stbu r0, -0x1(r27)
/* 8000BC2C 00007A6C 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_8000BC30
lbl_8000BC30:
/* 8000BC30 00007A70 88 18 00 00 */ lbz r0, 0x0(r24)
/* 8000BC34 00007A74 28 00 00 02 */ cmplwi r0, 0x2
/* 8000BC38 00007A78 40 82 00 50 */ bne lbl_8000BC88
/* 8000BC3C 00007A7C 80 18 00 08 */ lwz r0, 0x8(r24)
/* 8000BC40 00007A80 2C 19 00 00 */ cmpwi r25, 0x0
/* 8000BC44 00007A84 90 18 00 0C */ stw r0, 0xc(r24)
/* 8000BC48 00007A88 40 82 00 10 */ bne lbl_8000BC58
/* 8000BC4C 00007A8C 88 18 00 01 */ lbz r0, 0x1(r24)
/* 8000BC50 00007A90 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000BC54 00007A94 41 82 00 10 */ beq lbl_8000BC64
.global lbl_8000BC58
lbl_8000BC58:
/* 8000BC58 00007A98 80 78 00 0C */ lwz r3, 0xc(r24)
/* 8000BC5C 00007A9C 38 03 FF FF */ addi r0, r3, -0x1
/* 8000BC60 00007AA0 90 18 00 0C */ stw r0, 0xc(r24)
.global lbl_8000BC64
lbl_8000BC64:
/* 8000BC64 00007AA4 6B 80 00 10 */ xori r0, r28, 0x10
/* 8000BC68 00007AA8 7C 00 EB 79 */ or. r0, r0, r29
/* 8000BC6C 00007AAC 40 82 00 1C */ bne lbl_8000BC88
/* 8000BC70 00007AB0 88 18 00 03 */ lbz r0, 0x3(r24)
/* 8000BC74 00007AB4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000BC78 00007AB8 41 82 00 10 */ beq lbl_8000BC88
/* 8000BC7C 00007ABC 80 78 00 0C */ lwz r3, 0xc(r24)
/* 8000BC80 00007AC0 38 03 FF FE */ addi r0, r3, -0x2
/* 8000BC84 00007AC4 90 18 00 0C */ stw r0, 0xc(r24)
.global lbl_8000BC88
lbl_8000BC88:
/* 8000BC88 00007AC8 80 78 00 0C */ lwz r3, 0xc(r24)
/* 8000BC8C 00007ACC 7C 1B B8 50 */ subf r0, r27, r23
/* 8000BC90 00007AD0 7C 03 02 14 */ add r0, r3, r0
/* 8000BC94 00007AD4 2C 00 01 FD */ cmpwi r0, 0x1fd
/* 8000BC98 00007AD8 40 81 00 0C */ ble lbl_8000BCA4
/* 8000BC9C 00007ADC 38 60 00 00 */ li r3, 0x0
/* 8000BCA0 00007AE0 48 00 00 88 */ b lbl_8000BD28
.global lbl_8000BCA4
lbl_8000BCA4:
/* 8000BCA4 00007AE4 38 60 00 30 */ li r3, 0x30
/* 8000BCA8 00007AE8 48 00 00 0C */ b lbl_8000BCB4
.global lbl_8000BCAC
lbl_8000BCAC:
/* 8000BCAC 00007AEC 9C 7B FF FF */ stbu r3, -0x1(r27)
/* 8000BCB0 00007AF0 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_8000BCB4
lbl_8000BCB4:
/* 8000BCB4 00007AF4 80 18 00 0C */ lwz r0, 0xc(r24)
/* 8000BCB8 00007AF8 7C 1A 00 00 */ cmpw r26, r0
/* 8000BCBC 00007AFC 41 80 FF F0 */ blt lbl_8000BCAC
/* 8000BCC0 00007B00 6B 80 00 10 */ xori r0, r28, 0x10
/* 8000BCC4 00007B04 7C 00 EB 79 */ or. r0, r0, r29
/* 8000BCC8 00007B08 40 82 00 20 */ bne lbl_8000BCE8
/* 8000BCCC 00007B0C 88 18 00 03 */ lbz r0, 0x3(r24)
/* 8000BCD0 00007B10 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000BCD4 00007B14 41 82 00 14 */ beq lbl_8000BCE8
/* 8000BCD8 00007B18 88 78 00 05 */ lbz r3, 0x5(r24)
/* 8000BCDC 00007B1C 38 00 00 30 */ li r0, 0x30
/* 8000BCE0 00007B20 98 7B FF FF */ stb r3, -0x1(r27)
/* 8000BCE4 00007B24 9C 1B FF FE */ stbu r0, -0x2(r27)
.global lbl_8000BCE8
lbl_8000BCE8:
/* 8000BCE8 00007B28 2C 19 00 00 */ cmpwi r25, 0x0
/* 8000BCEC 00007B2C 41 82 00 10 */ beq lbl_8000BCFC
/* 8000BCF0 00007B30 38 00 00 2D */ li r0, 0x2d
/* 8000BCF4 00007B34 9C 1B FF FF */ stbu r0, -0x1(r27)
/* 8000BCF8 00007B38 48 00 00 2C */ b lbl_8000BD24
.global lbl_8000BCFC
lbl_8000BCFC:
/* 8000BCFC 00007B3C 88 18 00 01 */ lbz r0, 0x1(r24)
/* 8000BD00 00007B40 28 00 00 01 */ cmplwi r0, 0x1
/* 8000BD04 00007B44 40 82 00 10 */ bne lbl_8000BD14
/* 8000BD08 00007B48 38 00 00 2B */ li r0, 0x2b
/* 8000BD0C 00007B4C 9C 1B FF FF */ stbu r0, -0x1(r27)
/* 8000BD10 00007B50 48 00 00 14 */ b lbl_8000BD24
.global lbl_8000BD14
lbl_8000BD14:
/* 8000BD14 00007B54 28 00 00 02 */ cmplwi r0, 0x2
/* 8000BD18 00007B58 40 82 00 0C */ bne lbl_8000BD24
/* 8000BD1C 00007B5C 38 00 00 20 */ li r0, 0x20
/* 8000BD20 00007B60 9C 1B FF FF */ stbu r0, -0x1(r27)
.global lbl_8000BD24
lbl_8000BD24:
/* 8000BD24 00007B64 7F 63 DB 78 */ mr r3, r27
.global lbl_8000BD28
lbl_8000BD28:
/* 8000BD28 00007B68 BA C1 00 08 */ lmw r22, 0x8(r1)
/* 8000BD2C 00007B6C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8000BD30 00007B70 7C 08 03 A6 */ mtlr r0
/* 8000BD34 00007B74 38 21 00 30 */ addi r1, r1, 0x30
/* 8000BD38 00007B78 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global double2hex_8000BD3C
double2hex_8000BD3C:
2022-10-16 16:05:58 +00:00
/* 8000BD3C 00007B7C 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8000BD40 00007B80 7C 08 02 A6 */ mflr r0
2022-10-16 16:31:36 +00:00
/* 8000BD44 00007B84 3C A0 80 42 */ lis r5, __lconv@ha
2022-10-16 16:05:58 +00:00
/* 8000BD48 00007B88 90 01 00 94 */ stw r0, 0x94(r1)
/* 8000BD4C 00007B8C DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8000BD50 00007B90 F3 E1 00 88 */ psq_st f31, 0x88(r1), 0, qr0
/* 8000BD54 00007B94 FF E0 08 90 */ fmr f31, f1
/* 8000BD58 00007B98 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8000BD5C 00007B9C 93 C1 00 78 */ stw r30, 0x78(r1)
/* 8000BD60 00007BA0 7C 9E 23 78 */ mr r30, r4
/* 8000BD64 00007BA4 93 A1 00 74 */ stw r29, 0x74(r1)
/* 8000BD68 00007BA8 7C 7D 1B 78 */ mr r29, r3
/* 8000BD6C 00007BAC 93 81 00 70 */ stw r28, 0x70(r1)
/* 8000BD70 00007BB0 80 04 00 0C */ lwz r0, 0xc(r4)
2022-10-16 16:31:36 +00:00
/* 8000BD74 00007BB4 80 A5 13 60 */ lwz r5, __lconv@l(r5)
2022-10-16 16:05:58 +00:00
/* 8000BD78 00007BB8 2C 00 01 FD */ cmpwi r0, 0x1fd
/* 8000BD7C 00007BBC D8 21 00 08 */ stfd f1, 0x8(r1)
/* 8000BD80 00007BC0 8B E5 00 00 */ lbz r31, 0x0(r5)
/* 8000BD84 00007BC4 40 81 00 0C */ ble lbl_8000BD90
/* 8000BD88 00007BC8 38 60 00 00 */ li r3, 0x0
/* 8000BD8C 00007BCC 48 00 03 50 */ b lbl_8000C0DC
.global lbl_8000BD90
lbl_8000BD90:
/* 8000BD90 00007BD0 3B 80 00 00 */ li r28, 0x0
/* 8000BD94 00007BD4 38 00 00 20 */ li r0, 0x20
/* 8000BD98 00007BD8 9B 81 00 10 */ stb r28, 0x10(r1)
/* 8000BD9C 00007BDC 38 61 00 10 */ addi r3, r1, 0x10
/* 8000BDA0 00007BE0 38 81 00 38 */ addi r4, r1, 0x38
/* 8000BDA4 00007BE4 B0 01 00 12 */ sth r0, 0x12(r1)
2022-10-16 16:31:36 +00:00
/* 8000BDA8 00007BE8 4B FF E3 81 */ bl __num2dec
2022-10-16 16:05:58 +00:00
/* 8000BDAC 00007BEC 88 01 00 3D */ lbz r0, 0x3d(r1)
/* 8000BDB0 00007BF0 2C 00 00 30 */ cmpwi r0, 0x30
/* 8000BDB4 00007BF4 41 82 00 18 */ beq lbl_8000BDCC
/* 8000BDB8 00007BF8 2C 00 00 49 */ cmpwi r0, 0x49
/* 8000BDBC 00007BFC 41 82 00 18 */ beq lbl_8000BDD4
/* 8000BDC0 00007C00 2C 00 00 4E */ cmpwi r0, 0x4e
/* 8000BDC4 00007C04 41 82 00 9C */ beq lbl_8000BE60
/* 8000BDC8 00007C08 48 00 01 28 */ b lbl_8000BEF0
.global lbl_8000BDCC
lbl_8000BDCC:
/* 8000BDCC 00007C0C B3 81 00 3A */ sth r28, 0x3a(r1)
/* 8000BDD0 00007C10 48 00 01 20 */ b lbl_8000BEF0
.global lbl_8000BDD4
lbl_8000BDD4:
/* 8000BDD4 00007C14 88 01 00 38 */ lbz r0, 0x38(r1)
/* 8000BDD8 00007C18 7C 00 07 75 */ extsb. r0, r0
/* 8000BDDC 00007C1C 41 82 00 40 */ beq lbl_8000BE1C
/* 8000BDE0 00007C20 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8000BDE4 00007C24 3B 9D FF FB */ addi r28, r29, -0x5
/* 8000BDE8 00007C28 28 00 00 41 */ cmplwi r0, 0x41
/* 8000BDEC 00007C2C 40 82 00 18 */ bne lbl_8000BE04
2022-10-16 16:31:36 +00:00
/* 8000BDF0 00007C30 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BDF4 00007C34 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BDF8 00007C38 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
/* 8000BDFC 00007C3C 48 00 1B C5 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000BE00 00007C40 48 00 00 58 */ b lbl_8000BE58
.global lbl_8000BE04
lbl_8000BE04:
2022-10-16 16:31:36 +00:00
/* 8000BE04 00007C44 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BE08 00007C48 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BE0C 00007C4C 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000BE10 00007C50 38 84 00 05 */ addi r4, r4, 0x5
2022-10-16 16:31:36 +00:00
/* 8000BE14 00007C54 48 00 1B AD */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000BE18 00007C58 48 00 00 40 */ b lbl_8000BE58
.global lbl_8000BE1C
lbl_8000BE1C:
/* 8000BE1C 00007C5C 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8000BE20 00007C60 3B 9D FF FC */ addi r28, r29, -0x4
/* 8000BE24 00007C64 28 00 00 41 */ cmplwi r0, 0x41
/* 8000BE28 00007C68 40 82 00 1C */ bne lbl_8000BE44
2022-10-16 16:31:36 +00:00
/* 8000BE2C 00007C6C 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BE30 00007C70 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BE34 00007C74 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000BE38 00007C78 38 84 00 0A */ addi r4, r4, 0xa
2022-10-16 16:31:36 +00:00
/* 8000BE3C 00007C7C 48 00 1B 85 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000BE40 00007C80 48 00 00 18 */ b lbl_8000BE58
.global lbl_8000BE44
lbl_8000BE44:
2022-10-16 16:31:36 +00:00
/* 8000BE44 00007C84 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BE48 00007C88 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BE4C 00007C8C 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000BE50 00007C90 38 84 00 0E */ addi r4, r4, 0xe
2022-10-16 16:31:36 +00:00
/* 8000BE54 00007C94 48 00 1B 6D */ bl strcpy
2022-10-16 16:05:58 +00:00
.global lbl_8000BE58
lbl_8000BE58:
/* 8000BE58 00007C98 7F 83 E3 78 */ mr r3, r28
/* 8000BE5C 00007C9C 48 00 02 80 */ b lbl_8000C0DC
.global lbl_8000BE60
lbl_8000BE60:
/* 8000BE60 00007CA0 88 01 00 38 */ lbz r0, 0x38(r1)
/* 8000BE64 00007CA4 7C 00 07 75 */ extsb. r0, r0
/* 8000BE68 00007CA8 41 82 00 44 */ beq lbl_8000BEAC
/* 8000BE6C 00007CAC 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8000BE70 00007CB0 3B 9D FF FB */ addi r28, r29, -0x5
/* 8000BE74 00007CB4 28 00 00 41 */ cmplwi r0, 0x41
/* 8000BE78 00007CB8 40 82 00 1C */ bne lbl_8000BE94
2022-10-16 16:31:36 +00:00
/* 8000BE7C 00007CBC 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BE80 00007CC0 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BE84 00007CC4 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000BE88 00007CC8 38 84 00 12 */ addi r4, r4, 0x12
2022-10-16 16:31:36 +00:00
/* 8000BE8C 00007CCC 48 00 1B 35 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000BE90 00007CD0 48 00 00 58 */ b lbl_8000BEE8
.global lbl_8000BE94
lbl_8000BE94:
2022-10-16 16:31:36 +00:00
/* 8000BE94 00007CD4 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BE98 00007CD8 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BE9C 00007CDC 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000BEA0 00007CE0 38 84 00 17 */ addi r4, r4, 0x17
2022-10-16 16:31:36 +00:00
/* 8000BEA4 00007CE4 48 00 1B 1D */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000BEA8 00007CE8 48 00 00 40 */ b lbl_8000BEE8
.global lbl_8000BEAC
lbl_8000BEAC:
/* 8000BEAC 00007CEC 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8000BEB0 00007CF0 3B 9D FF FC */ addi r28, r29, -0x4
/* 8000BEB4 00007CF4 28 00 00 41 */ cmplwi r0, 0x41
/* 8000BEB8 00007CF8 40 82 00 1C */ bne lbl_8000BED4
2022-10-16 16:31:36 +00:00
/* 8000BEBC 00007CFC 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BEC0 00007D00 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BEC4 00007D04 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000BEC8 00007D08 38 84 00 1C */ addi r4, r4, 0x1c
2022-10-16 16:31:36 +00:00
/* 8000BECC 00007D0C 48 00 1A F5 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000BED0 00007D10 48 00 00 18 */ b lbl_8000BEE8
.global lbl_8000BED4
lbl_8000BED4:
2022-10-16 16:31:36 +00:00
/* 8000BED4 00007D14 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000BED8 00007D18 7F 83 E3 78 */ mr r3, r28
2022-10-16 16:31:36 +00:00
/* 8000BEDC 00007D1C 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000BEE0 00007D20 38 84 00 20 */ addi r4, r4, 0x20
2022-10-16 16:31:36 +00:00
/* 8000BEE4 00007D24 48 00 1A DD */ bl strcpy
2022-10-16 16:05:58 +00:00
.global lbl_8000BEE8
lbl_8000BEE8:
/* 8000BEE8 00007D28 7F 83 E3 78 */ mr r3, r28
/* 8000BEEC 00007D2C 48 00 01 F0 */ b lbl_8000C0DC
.global lbl_8000BEF0
lbl_8000BEF0:
/* 8000BEF0 00007D30 88 01 00 09 */ lbz r0, 0x9(r1)
/* 8000BEF4 00007D34 39 00 00 00 */ li r8, 0x0
/* 8000BEF8 00007D38 88 61 00 08 */ lbz r3, 0x8(r1)
/* 8000BEFC 00007D3C 39 20 00 01 */ li r9, 0x1
/* 8000BF00 00007D40 54 00 88 1C */ slwi r0, r0, 17
/* 8000BF04 00007D44 38 E0 00 64 */ li r7, 0x64
/* 8000BF08 00007D48 50 60 C8 0C */ rlwimi r0, r3, 25, 0, 6
/* 8000BF0C 00007D4C 99 21 00 28 */ stb r9, 0x28(r1)
/* 8000BF10 00007D50 54 05 5D 7E */ srwi r5, r0, 21
/* 8000BF14 00007D54 7F A4 EB 78 */ mr r4, r29
/* 8000BF18 00007D58 7C 05 00 D0 */ neg r0, r5
/* 8000BF1C 00007D5C 99 21 00 29 */ stb r9, 0x29(r1)
/* 8000BF20 00007D60 7C 03 2B 78 */ or r3, r0, r5
/* 8000BF24 00007D64 38 05 FC 01 */ addi r0, r5, -0x3ff
/* 8000BF28 00007D68 99 01 00 2A */ stb r8, 0x2a(r1)
/* 8000BF2C 00007D6C 7C 63 FE 70 */ srawi r3, r3, 31
/* 8000BF30 00007D70 38 A1 00 18 */ addi r5, r1, 0x18
/* 8000BF34 00007D74 99 01 00 2B */ stb r8, 0x2b(r1)
/* 8000BF38 00007D78 7C 03 18 38 */ and r3, r0, r3
/* 8000BF3C 00007D7C 80 C1 00 28 */ lwz r6, 0x28(r1)
/* 8000BF40 00007D80 99 01 00 2C */ stb r8, 0x2c(r1)
/* 8000BF44 00007D84 98 E1 00 2D */ stb r7, 0x2d(r1)
/* 8000BF48 00007D88 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8000BF4C 00007D8C 91 01 00 30 */ stw r8, 0x30(r1)
/* 8000BF50 00007D90 91 21 00 34 */ stw r9, 0x34(r1)
/* 8000BF54 00007D94 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8000BF58 00007D98 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8000BF5C 00007D9C 91 01 00 20 */ stw r8, 0x20(r1)
/* 8000BF60 00007DA0 91 21 00 24 */ stw r9, 0x24(r1)
2022-10-16 16:31:36 +00:00
/* 8000BF64 00007DA4 4B FF F8 E9 */ bl long2str_8000B84C
2022-10-16 16:05:58 +00:00
/* 8000BF68 00007DA8 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8000BF6C 00007DAC 28 00 00 61 */ cmplwi r0, 0x61
/* 8000BF70 00007DB0 40 82 00 10 */ bne lbl_8000BF80
/* 8000BF74 00007DB4 38 00 00 70 */ li r0, 0x70
/* 8000BF78 00007DB8 9C 03 FF FF */ stbu r0, -0x1(r3)
/* 8000BF7C 00007DBC 48 00 00 0C */ b lbl_8000BF88
.global lbl_8000BF80
lbl_8000BF80:
/* 8000BF80 00007DC0 38 00 00 50 */ li r0, 0x50
/* 8000BF84 00007DC4 9C 03 FF FF */ stbu r0, -0x1(r3)
.global lbl_8000BF88
lbl_8000BF88:
/* 8000BF88 00007DC8 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8000BF8C 00007DCC 39 01 00 08 */ addi r8, r1, 0x8
/* 8000BF90 00007DD0 54 04 10 3A */ slwi r4, r0, 2
/* 8000BF94 00007DD4 39 24 00 0B */ addi r9, r4, 0xb
/* 8000BF98 00007DD8 7C 09 03 A6 */ mtctr r0
/* 8000BF9C 00007DDC 2C 00 00 01 */ cmpwi r0, 0x1
/* 8000BFA0 00007DE0 41 80 00 94 */ blt lbl_8000C034
.global lbl_8000BFA4
lbl_8000BFA4:
/* 8000BFA4 00007DE4 2C 09 00 40 */ cmpwi r9, 0x40
/* 8000BFA8 00007DE8 40 80 00 7C */ bge lbl_8000C024
/* 8000BFAC 00007DEC 7D 24 1E 70 */ srawi r4, r9, 3
/* 8000BFB0 00007DF0 38 09 FF FC */ addi r0, r9, -0x4
/* 8000BFB4 00007DF4 7C E8 22 14 */ add r7, r8, r4
/* 8000BFB8 00007DF8 55 26 07 7E */ clrlwi r6, r9, 29
/* 8000BFBC 00007DFC 55 24 00 38 */ clrrwi r4, r9, 3
/* 8000BFC0 00007E00 54 00 00 38 */ clrrwi r0, r0, 3
/* 8000BFC4 00007E04 88 A7 00 00 */ lbz r5, 0x0(r7)
/* 8000BFC8 00007E08 20 C6 00 07 */ subfic r6, r6, 0x7
/* 8000BFCC 00007E0C 7C 04 00 00 */ cmpw r4, r0
/* 8000BFD0 00007E10 7C A0 36 30 */ sraw r0, r5, r6
/* 8000BFD4 00007E14 54 04 06 3E */ clrlwi r4, r0, 24
/* 8000BFD8 00007E18 41 82 00 1C */ beq lbl_8000BFF4
/* 8000BFDC 00007E1C 88 07 FF FF */ lbz r0, -0x1(r7)
/* 8000BFE0 00007E20 54 00 40 2E */ slwi r0, r0, 8
/* 8000BFE4 00007E24 7C 00 36 30 */ sraw r0, r0, r6
/* 8000BFE8 00007E28 54 00 06 3E */ clrlwi r0, r0, 24
/* 8000BFEC 00007E2C 7C 80 03 78 */ or r0, r4, r0
/* 8000BFF0 00007E30 54 04 06 3E */ clrlwi r4, r0, 24
.global lbl_8000BFF4
lbl_8000BFF4:
/* 8000BFF4 00007E34 54 84 07 3E */ clrlwi r4, r4, 28
/* 8000BFF8 00007E38 28 04 00 0A */ cmplwi r4, 0xa
/* 8000BFFC 00007E3C 40 80 00 0C */ bge lbl_8000C008
/* 8000C000 00007E40 38 84 00 30 */ addi r4, r4, 0x30
/* 8000C004 00007E44 48 00 00 24 */ b lbl_8000C028
.global lbl_8000C008
lbl_8000C008:
/* 8000C008 00007E48 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8000C00C 00007E4C 28 00 00 61 */ cmplwi r0, 0x61
/* 8000C010 00007E50 40 82 00 0C */ bne lbl_8000C01C
/* 8000C014 00007E54 38 84 00 57 */ addi r4, r4, 0x57
/* 8000C018 00007E58 48 00 00 10 */ b lbl_8000C028
.global lbl_8000C01C
lbl_8000C01C:
/* 8000C01C 00007E5C 38 84 00 37 */ addi r4, r4, 0x37
/* 8000C020 00007E60 48 00 00 08 */ b lbl_8000C028
.global lbl_8000C024
lbl_8000C024:
/* 8000C024 00007E64 38 80 00 30 */ li r4, 0x30
.global lbl_8000C028
lbl_8000C028:
/* 8000C028 00007E68 9C 83 FF FF */ stbu r4, -0x1(r3)
/* 8000C02C 00007E6C 39 29 FF FC */ addi r9, r9, -0x4
/* 8000C030 00007E70 42 00 FF 74 */ bdnz lbl_8000BFA4
.global lbl_8000C034
lbl_8000C034:
/* 8000C034 00007E74 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8000C038 00007E78 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C03C 00007E7C 40 82 00 10 */ bne lbl_8000C04C
/* 8000C040 00007E80 88 1E 00 03 */ lbz r0, 0x3(r30)
/* 8000C044 00007E84 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C048 00007E88 41 82 00 08 */ beq lbl_8000C050
.global lbl_8000C04C
lbl_8000C04C:
/* 8000C04C 00007E8C 9F E3 FF FF */ stbu r31, -0x1(r3)
.global lbl_8000C050
lbl_8000C050:
/* 8000C050 00007E90 FC 20 FA 10 */ fabs f1, f31
2022-10-16 16:31:36 +00:00
/* 8000C054 00007E94 C8 02 80 20 */ lfd f0, "@2604_8055DFA0"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8000C058 00007E98 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 8000C05C 00007E9C 41 82 00 10 */ beq lbl_8000C06C
/* 8000C060 00007EA0 38 00 00 31 */ li r0, 0x31
/* 8000C064 00007EA4 9C 03 FF FF */ stbu r0, -0x1(r3)
/* 8000C068 00007EA8 48 00 00 0C */ b lbl_8000C074
.global lbl_8000C06C
lbl_8000C06C:
/* 8000C06C 00007EAC 38 00 00 30 */ li r0, 0x30
/* 8000C070 00007EB0 9C 03 FF FF */ stbu r0, -0x1(r3)
.global lbl_8000C074
lbl_8000C074:
/* 8000C074 00007EB4 88 1E 00 05 */ lbz r0, 0x5(r30)
/* 8000C078 00007EB8 28 00 00 61 */ cmplwi r0, 0x61
/* 8000C07C 00007EBC 40 82 00 10 */ bne lbl_8000C08C
/* 8000C080 00007EC0 38 00 00 78 */ li r0, 0x78
/* 8000C084 00007EC4 9C 03 FF FF */ stbu r0, -0x1(r3)
/* 8000C088 00007EC8 48 00 00 0C */ b lbl_8000C094
.global lbl_8000C08C
lbl_8000C08C:
/* 8000C08C 00007ECC 38 00 00 58 */ li r0, 0x58
/* 8000C090 00007ED0 9C 03 FF FF */ stbu r0, -0x1(r3)
.global lbl_8000C094
lbl_8000C094:
/* 8000C094 00007ED4 38 00 00 30 */ li r0, 0x30
/* 8000C098 00007ED8 9C 03 FF FF */ stbu r0, -0x1(r3)
/* 8000C09C 00007EDC 88 01 00 38 */ lbz r0, 0x38(r1)
/* 8000C0A0 00007EE0 7C 00 07 75 */ extsb. r0, r0
/* 8000C0A4 00007EE4 41 82 00 10 */ beq lbl_8000C0B4
/* 8000C0A8 00007EE8 38 00 00 2D */ li r0, 0x2d
/* 8000C0AC 00007EEC 9C 03 FF FF */ stbu r0, -0x1(r3)
/* 8000C0B0 00007EF0 48 00 00 2C */ b lbl_8000C0DC
.global lbl_8000C0B4
lbl_8000C0B4:
/* 8000C0B4 00007EF4 88 1E 00 01 */ lbz r0, 0x1(r30)
/* 8000C0B8 00007EF8 28 00 00 01 */ cmplwi r0, 0x1
/* 8000C0BC 00007EFC 40 82 00 10 */ bne lbl_8000C0CC
/* 8000C0C0 00007F00 38 00 00 2B */ li r0, 0x2b
/* 8000C0C4 00007F04 9C 03 FF FF */ stbu r0, -0x1(r3)
/* 8000C0C8 00007F08 48 00 00 14 */ b lbl_8000C0DC
.global lbl_8000C0CC
lbl_8000C0CC:
/* 8000C0CC 00007F0C 28 00 00 02 */ cmplwi r0, 0x2
/* 8000C0D0 00007F10 40 82 00 0C */ bne lbl_8000C0DC
/* 8000C0D4 00007F14 38 00 00 20 */ li r0, 0x20
/* 8000C0D8 00007F18 9C 03 FF FF */ stbu r0, -0x1(r3)
.global lbl_8000C0DC
lbl_8000C0DC:
/* 8000C0DC 00007F1C 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8000C0E0 00007F20 E3 E1 00 88 */ psq_l f31, 0x88(r1), 0, qr0
/* 8000C0E4 00007F24 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 8000C0E8 00007F28 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8000C0EC 00007F2C 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 8000C0F0 00007F30 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 8000C0F4 00007F34 83 81 00 70 */ lwz r28, 0x70(r1)
/* 8000C0F8 00007F38 7C 08 03 A6 */ mtlr r0
/* 8000C0FC 00007F3C 38 21 00 90 */ addi r1, r1, 0x90
/* 8000C100 00007F40 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global round_decimal
round_decimal:
2022-10-16 16:05:58 +00:00
/* 8000C104 00007F44 2C 04 00 00 */ cmpwi r4, 0x0
/* 8000C108 00007F48 40 80 00 20 */ bge lbl_8000C128
.global lbl_8000C10C
lbl_8000C10C:
/* 8000C10C 00007F4C 38 A0 00 00 */ li r5, 0x0
/* 8000C110 00007F50 38 80 00 01 */ li r4, 0x1
/* 8000C114 00007F54 38 00 00 30 */ li r0, 0x30
/* 8000C118 00007F58 B0 A3 00 02 */ sth r5, 0x2(r3)
/* 8000C11C 00007F5C 98 83 00 04 */ stb r4, 0x4(r3)
/* 8000C120 00007F60 98 03 00 05 */ stb r0, 0x5(r3)
/* 8000C124 00007F64 4E 80 00 20 */ blr
.global lbl_8000C128
lbl_8000C128:
/* 8000C128 00007F68 88 E3 00 04 */ lbz r7, 0x4(r3)
/* 8000C12C 00007F6C 7C 04 38 00 */ cmpw r4, r7
/* 8000C130 00007F70 4C 80 00 20 */ bgelr
/* 8000C134 00007F74 7C C3 22 14 */ add r6, r3, r4
/* 8000C138 00007F78 88 A6 00 05 */ lbz r5, 0x5(r6)
/* 8000C13C 00007F7C 39 06 00 05 */ addi r8, r6, 0x5
/* 8000C140 00007F80 38 05 FF D0 */ addi r0, r5, -0x30
/* 8000C144 00007F84 7C 06 07 74 */ extsb r6, r0
/* 8000C148 00007F88 2C 06 00 05 */ cmpwi r6, 0x5
/* 8000C14C 00007F8C 40 82 00 40 */ bne lbl_8000C18C
/* 8000C150 00007F90 7C A3 3A 14 */ add r5, r3, r7
/* 8000C154 00007F94 38 A5 00 05 */ addi r5, r5, 0x5
.global lbl_8000C158
lbl_8000C158:
/* 8000C158 00007F98 38 A5 FF FF */ addi r5, r5, -0x1
/* 8000C15C 00007F9C 7C 05 40 40 */ cmplw r5, r8
/* 8000C160 00007FA0 40 81 00 10 */ ble lbl_8000C170
/* 8000C164 00007FA4 88 05 00 00 */ lbz r0, 0x0(r5)
/* 8000C168 00007FA8 2C 00 00 30 */ cmpwi r0, 0x30
/* 8000C16C 00007FAC 41 82 FF EC */ beq lbl_8000C158
.global lbl_8000C170
lbl_8000C170:
/* 8000C170 00007FB0 7C 05 40 40 */ cmplw r5, r8
/* 8000C174 00007FB4 40 82 00 10 */ bne lbl_8000C184
/* 8000C178 00007FB8 88 08 FF FF */ lbz r0, -0x1(r8)
/* 8000C17C 00007FBC 54 05 07 FE */ clrlwi r5, r0, 31
/* 8000C180 00007FC0 48 00 00 20 */ b lbl_8000C1A0
.global lbl_8000C184
lbl_8000C184:
/* 8000C184 00007FC4 38 A0 00 01 */ li r5, 0x1
/* 8000C188 00007FC8 48 00 00 18 */ b lbl_8000C1A0
.global lbl_8000C18C
lbl_8000C18C:
/* 8000C18C 00007FCC 68 C0 00 05 */ xori r0, r6, 0x5
/* 8000C190 00007FD0 7C 05 0E 70 */ srawi r5, r0, 1
/* 8000C194 00007FD4 7C 00 30 38 */ and r0, r0, r6
/* 8000C198 00007FD8 7C 00 28 50 */ subf r0, r0, r5
/* 8000C19C 00007FDC 54 05 0F FE */ srwi r5, r0, 31
.global lbl_8000C1A0
lbl_8000C1A0:
/* 8000C1A0 00007FE0 7C 89 03 A6 */ mtctr r4
/* 8000C1A4 00007FE4 2C 04 00 00 */ cmpwi r4, 0x0
/* 8000C1A8 00007FE8 41 82 00 4C */ beq lbl_8000C1F4
.global lbl_8000C1AC
lbl_8000C1AC:
/* 8000C1AC 00007FEC 8C 08 FF FF */ lbzu r0, -0x1(r8)
/* 8000C1B0 00007FF0 7C A0 2A 14 */ add r5, r0, r5
/* 8000C1B4 00007FF4 38 05 FF D0 */ addi r0, r5, -0x30
/* 8000C1B8 00007FF8 7C 06 07 74 */ extsb r6, r0
/* 8000C1BC 00007FFC 68 C0 00 09 */ xori r0, r6, 0x9
/* 8000C1C0 00008000 7C 05 0E 70 */ srawi r5, r0, 1
/* 8000C1C4 00008004 7C 00 30 38 */ and r0, r0, r6
/* 8000C1C8 00008008 7C 00 28 50 */ subf r0, r0, r5
/* 8000C1CC 0000800C 54 05 0F FF */ srwi. r5, r0, 31
/* 8000C1D0 00008010 40 82 00 0C */ bne lbl_8000C1DC
/* 8000C1D4 00008014 2C 06 00 00 */ cmpwi r6, 0x0
/* 8000C1D8 00008018 40 82 00 0C */ bne lbl_8000C1E4
.global lbl_8000C1DC
lbl_8000C1DC:
/* 8000C1DC 0000801C 38 84 FF FF */ addi r4, r4, -0x1
/* 8000C1E0 00008020 48 00 00 10 */ b lbl_8000C1F0
.global lbl_8000C1E4
lbl_8000C1E4:
/* 8000C1E4 00008024 38 06 00 30 */ addi r0, r6, 0x30
/* 8000C1E8 00008028 98 08 00 00 */ stb r0, 0x0(r8)
/* 8000C1EC 0000802C 48 00 00 08 */ b lbl_8000C1F4
.global lbl_8000C1F0
lbl_8000C1F0:
/* 8000C1F0 00008030 42 00 FF BC */ bdnz lbl_8000C1AC
.global lbl_8000C1F4
lbl_8000C1F4:
/* 8000C1F4 00008034 2C 05 00 00 */ cmpwi r5, 0x0
/* 8000C1F8 00008038 41 82 00 24 */ beq lbl_8000C21C
/* 8000C1FC 0000803C A8 A3 00 02 */ lha r5, 0x2(r3)
/* 8000C200 00008040 38 80 00 01 */ li r4, 0x1
/* 8000C204 00008044 38 00 00 31 */ li r0, 0x31
/* 8000C208 00008048 98 83 00 04 */ stb r4, 0x4(r3)
/* 8000C20C 0000804C 38 85 00 01 */ addi r4, r5, 0x1
/* 8000C210 00008050 B0 83 00 02 */ sth r4, 0x2(r3)
/* 8000C214 00008054 98 03 00 05 */ stb r0, 0x5(r3)
/* 8000C218 00008058 4E 80 00 20 */ blr
.global lbl_8000C21C
lbl_8000C21C:
/* 8000C21C 0000805C 2C 04 00 00 */ cmpwi r4, 0x0
/* 8000C220 00008060 41 82 FE EC */ beq lbl_8000C10C
/* 8000C224 00008064 98 83 00 04 */ stb r4, 0x4(r3)
/* 8000C228 00008068 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global float2str_8000C22C
float2str_8000C22C:
2022-10-16 16:05:58 +00:00
/* 8000C22C 0000806C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8000C230 00008070 7C 08 02 A6 */ mflr r0
2022-10-16 16:31:36 +00:00
/* 8000C234 00008074 3C A0 80 42 */ lis r5, __lconv@ha
2022-10-16 16:05:58 +00:00
/* 8000C238 00008078 90 01 00 54 */ stw r0, 0x54(r1)
/* 8000C23C 0000807C DB E1 00 48 */ stfd f31, 0x48(r1)
/* 8000C240 00008080 FF E0 08 90 */ fmr f31, f1
/* 8000C244 00008084 93 E1 00 44 */ stw r31, 0x44(r1)
/* 8000C248 00008088 93 C1 00 40 */ stw r30, 0x40(r1)
/* 8000C24C 0000808C 93 A1 00 3C */ stw r29, 0x3c(r1)
/* 8000C250 00008090 7C 9D 23 78 */ mr r29, r4
/* 8000C254 00008094 93 81 00 38 */ stw r28, 0x38(r1)
/* 8000C258 00008098 7C 7C 1B 78 */ mr r28, r3
/* 8000C25C 0000809C 80 04 00 0C */ lwz r0, 0xc(r4)
2022-10-16 16:31:36 +00:00
/* 8000C260 000080A0 80 A5 13 60 */ lwz r5, __lconv@l(r5)
2022-10-16 16:05:58 +00:00
/* 8000C264 000080A4 2C 00 01 FD */ cmpwi r0, 0x1fd
/* 8000C268 000080A8 8B C5 00 00 */ lbz r30, 0x0(r5)
/* 8000C26C 000080AC 40 81 00 0C */ ble lbl_8000C278
/* 8000C270 000080B0 38 60 00 00 */ li r3, 0x0
/* 8000C274 000080B4 48 00 07 30 */ b lbl_8000C9A4
.global lbl_8000C278
lbl_8000C278:
/* 8000C278 000080B8 38 60 00 00 */ li r3, 0x0
/* 8000C27C 000080BC 38 00 00 20 */ li r0, 0x20
/* 8000C280 000080C0 98 61 00 08 */ stb r3, 0x8(r1)
/* 8000C284 000080C4 38 61 00 08 */ addi r3, r1, 0x8
/* 8000C288 000080C8 38 81 00 0C */ addi r4, r1, 0xc
/* 8000C28C 000080CC B0 01 00 0A */ sth r0, 0xa(r1)
2022-10-16 16:31:36 +00:00
/* 8000C290 000080D0 4B FF DE 99 */ bl __num2dec
2022-10-16 16:05:58 +00:00
/* 8000C294 000080D4 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8000C298 000080D8 38 A1 00 11 */ addi r5, r1, 0x11
/* 8000C29C 000080DC 7C A5 02 14 */ add r5, r5, r0
/* 8000C2A0 000080E0 48 00 00 1C */ b lbl_8000C2BC
.global lbl_8000C2A4
lbl_8000C2A4:
/* 8000C2A4 000080E4 88 81 00 10 */ lbz r4, 0x10(r1)
/* 8000C2A8 000080E8 A8 61 00 0E */ lha r3, 0xe(r1)
/* 8000C2AC 000080EC 38 04 FF FF */ addi r0, r4, -0x1
/* 8000C2B0 000080F0 98 01 00 10 */ stb r0, 0x10(r1)
/* 8000C2B4 000080F4 38 03 00 01 */ addi r0, r3, 0x1
/* 8000C2B8 000080F8 B0 01 00 0E */ sth r0, 0xe(r1)
.global lbl_8000C2BC
lbl_8000C2BC:
/* 8000C2BC 000080FC 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8000C2C0 00008100 28 00 00 01 */ cmplwi r0, 0x1
/* 8000C2C4 00008104 40 81 00 10 */ ble lbl_8000C2D4
/* 8000C2C8 00008108 8C 05 FF FF */ lbzu r0, -0x1(r5)
/* 8000C2CC 0000810C 2C 00 00 30 */ cmpwi r0, 0x30
/* 8000C2D0 00008110 41 82 FF D4 */ beq lbl_8000C2A4
.global lbl_8000C2D4
lbl_8000C2D4:
/* 8000C2D4 00008114 88 01 00 11 */ lbz r0, 0x11(r1)
/* 8000C2D8 00008118 2C 00 00 30 */ cmpwi r0, 0x30
/* 8000C2DC 0000811C 41 82 00 18 */ beq lbl_8000C2F4
/* 8000C2E0 00008120 2C 00 00 49 */ cmpwi r0, 0x49
/* 8000C2E4 00008124 41 82 00 1C */ beq lbl_8000C300
/* 8000C2E8 00008128 2C 00 00 4E */ cmpwi r0, 0x4e
/* 8000C2EC 0000812C 41 82 01 18 */ beq lbl_8000C404
/* 8000C2F0 00008130 48 00 02 1C */ b lbl_8000C50C
.global lbl_8000C2F4
lbl_8000C2F4:
/* 8000C2F4 00008134 38 00 00 00 */ li r0, 0x0
/* 8000C2F8 00008138 B0 01 00 0E */ sth r0, 0xe(r1)
/* 8000C2FC 0000813C 48 00 02 10 */ b lbl_8000C50C
.global lbl_8000C300
lbl_8000C300:
2022-10-16 16:31:36 +00:00
/* 8000C300 00008140 C8 02 80 20 */ lfd f0, "@2604_8055DFA0"@sda21(r2)
2022-10-16 16:05:58 +00:00
/* 8000C304 00008144 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8000C308 00008148 40 80 00 7C */ bge lbl_8000C384
/* 8000C30C 0000814C 88 1D 00 05 */ lbz r0, 0x5(r29)
/* 8000C310 00008150 3B FC FF FB */ addi r31, r28, -0x5
/* 8000C314 00008154 38 60 00 01 */ li r3, 0x1
/* 8000C318 00008158 28 00 00 FF */ cmplwi r0, 0xff
/* 8000C31C 0000815C 41 81 00 08 */ bgt lbl_8000C324
/* 8000C320 00008160 38 60 00 00 */ li r3, 0x0
.global lbl_8000C324
lbl_8000C324:
/* 8000C324 00008164 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000C328 00008168 41 82 00 0C */ beq lbl_8000C334
/* 8000C32C 0000816C 38 00 00 00 */ li r0, 0x0
/* 8000C330 00008170 48 00 00 20 */ b lbl_8000C350
.global lbl_8000C334
lbl_8000C334:
2022-10-16 16:31:36 +00:00
/* 8000C334 00008174 3C 60 80 42 */ lis r3, _current_locale@ha
2022-10-16 16:05:58 +00:00
/* 8000C338 00008178 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8000C33C 0000817C 38 63 15 10 */ addi r3, r3, _current_locale@l
2022-10-16 16:05:58 +00:00
/* 8000C340 00008180 80 63 00 38 */ lwz r3, 0x38(r3)
/* 8000C344 00008184 80 63 00 08 */ lwz r3, 0x8(r3)
/* 8000C348 00008188 7C 03 02 2E */ lhzx r0, r3, r0
/* 8000C34C 0000818C 54 00 05 AC */ rlwinm r0, r0, 0, 22, 22
.global lbl_8000C350
lbl_8000C350:
/* 8000C350 00008190 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C354 00008194 41 82 00 18 */ beq lbl_8000C36C
2022-10-16 16:31:36 +00:00
/* 8000C358 00008198 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C35C 0000819C 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C360 000081A0 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
/* 8000C364 000081A4 48 00 16 5D */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000C368 000081A8 48 00 00 94 */ b lbl_8000C3FC
.global lbl_8000C36C
lbl_8000C36C:
2022-10-16 16:31:36 +00:00
/* 8000C36C 000081AC 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C370 000081B0 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C374 000081B4 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C378 000081B8 38 84 00 05 */ addi r4, r4, 0x5
2022-10-16 16:31:36 +00:00
/* 8000C37C 000081BC 48 00 16 45 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000C380 000081C0 48 00 00 7C */ b lbl_8000C3FC
.global lbl_8000C384
lbl_8000C384:
/* 8000C384 000081C4 88 1D 00 05 */ lbz r0, 0x5(r29)
/* 8000C388 000081C8 3B FC FF FC */ addi r31, r28, -0x4
/* 8000C38C 000081CC 38 60 00 01 */ li r3, 0x1
/* 8000C390 000081D0 28 00 00 FF */ cmplwi r0, 0xff
/* 8000C394 000081D4 41 81 00 08 */ bgt lbl_8000C39C
/* 8000C398 000081D8 38 60 00 00 */ li r3, 0x0
.global lbl_8000C39C
lbl_8000C39C:
/* 8000C39C 000081DC 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000C3A0 000081E0 41 82 00 0C */ beq lbl_8000C3AC
/* 8000C3A4 000081E4 38 00 00 00 */ li r0, 0x0
/* 8000C3A8 000081E8 48 00 00 20 */ b lbl_8000C3C8
.global lbl_8000C3AC
lbl_8000C3AC:
2022-10-16 16:31:36 +00:00
/* 8000C3AC 000081EC 3C 60 80 42 */ lis r3, _current_locale@ha
2022-10-16 16:05:58 +00:00
/* 8000C3B0 000081F0 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8000C3B4 000081F4 38 63 15 10 */ addi r3, r3, _current_locale@l
2022-10-16 16:05:58 +00:00
/* 8000C3B8 000081F8 80 63 00 38 */ lwz r3, 0x38(r3)
/* 8000C3BC 000081FC 80 63 00 08 */ lwz r3, 0x8(r3)
/* 8000C3C0 00008200 7C 03 02 2E */ lhzx r0, r3, r0
/* 8000C3C4 00008204 54 00 05 AC */ rlwinm r0, r0, 0, 22, 22
.global lbl_8000C3C8
lbl_8000C3C8:
/* 8000C3C8 00008208 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C3CC 0000820C 41 82 00 1C */ beq lbl_8000C3E8
2022-10-16 16:31:36 +00:00
/* 8000C3D0 00008210 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C3D4 00008214 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C3D8 00008218 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C3DC 0000821C 38 84 00 0A */ addi r4, r4, 0xa
2022-10-16 16:31:36 +00:00
/* 8000C3E0 00008220 48 00 15 E1 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000C3E4 00008224 48 00 00 18 */ b lbl_8000C3FC
.global lbl_8000C3E8
lbl_8000C3E8:
2022-10-16 16:31:36 +00:00
/* 8000C3E8 00008228 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C3EC 0000822C 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C3F0 00008230 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C3F4 00008234 38 84 00 0E */ addi r4, r4, 0xe
2022-10-16 16:31:36 +00:00
/* 8000C3F8 00008238 48 00 15 C9 */ bl strcpy
2022-10-16 16:05:58 +00:00
.global lbl_8000C3FC
lbl_8000C3FC:
/* 8000C3FC 0000823C 7F E3 FB 78 */ mr r3, r31
/* 8000C400 00008240 48 00 05 A4 */ b lbl_8000C9A4
.global lbl_8000C404
lbl_8000C404:
/* 8000C404 00008244 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8000C408 00008248 7C 00 07 75 */ extsb. r0, r0
/* 8000C40C 0000824C 41 82 00 80 */ beq lbl_8000C48C
/* 8000C410 00008250 88 1D 00 05 */ lbz r0, 0x5(r29)
/* 8000C414 00008254 3B FC FF FB */ addi r31, r28, -0x5
/* 8000C418 00008258 38 60 00 01 */ li r3, 0x1
/* 8000C41C 0000825C 28 00 00 FF */ cmplwi r0, 0xff
/* 8000C420 00008260 41 81 00 08 */ bgt lbl_8000C428
/* 8000C424 00008264 38 60 00 00 */ li r3, 0x0
.global lbl_8000C428
lbl_8000C428:
/* 8000C428 00008268 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000C42C 0000826C 41 82 00 0C */ beq lbl_8000C438
/* 8000C430 00008270 38 00 00 00 */ li r0, 0x0
/* 8000C434 00008274 48 00 00 20 */ b lbl_8000C454
.global lbl_8000C438
lbl_8000C438:
2022-10-16 16:31:36 +00:00
/* 8000C438 00008278 3C 60 80 42 */ lis r3, _current_locale@ha
2022-10-16 16:05:58 +00:00
/* 8000C43C 0000827C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8000C440 00008280 38 63 15 10 */ addi r3, r3, _current_locale@l
2022-10-16 16:05:58 +00:00
/* 8000C444 00008284 80 63 00 38 */ lwz r3, 0x38(r3)
/* 8000C448 00008288 80 63 00 08 */ lwz r3, 0x8(r3)
/* 8000C44C 0000828C 7C 03 02 2E */ lhzx r0, r3, r0
/* 8000C450 00008290 54 00 05 AC */ rlwinm r0, r0, 0, 22, 22
.global lbl_8000C454
lbl_8000C454:
/* 8000C454 00008294 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C458 00008298 41 82 00 1C */ beq lbl_8000C474
2022-10-16 16:31:36 +00:00
/* 8000C45C 0000829C 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C460 000082A0 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C464 000082A4 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C468 000082A8 38 84 00 12 */ addi r4, r4, 0x12
2022-10-16 16:31:36 +00:00
/* 8000C46C 000082AC 48 00 15 55 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000C470 000082B0 48 00 00 94 */ b lbl_8000C504
.global lbl_8000C474
lbl_8000C474:
2022-10-16 16:31:36 +00:00
/* 8000C474 000082B4 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C478 000082B8 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C47C 000082BC 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C480 000082C0 38 84 00 17 */ addi r4, r4, 0x17
2022-10-16 16:31:36 +00:00
/* 8000C484 000082C4 48 00 15 3D */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000C488 000082C8 48 00 00 7C */ b lbl_8000C504
.global lbl_8000C48C
lbl_8000C48C:
/* 8000C48C 000082CC 88 1D 00 05 */ lbz r0, 0x5(r29)
/* 8000C490 000082D0 3B FC FF FC */ addi r31, r28, -0x4
/* 8000C494 000082D4 38 60 00 01 */ li r3, 0x1
/* 8000C498 000082D8 28 00 00 FF */ cmplwi r0, 0xff
/* 8000C49C 000082DC 41 81 00 08 */ bgt lbl_8000C4A4
/* 8000C4A0 000082E0 38 60 00 00 */ li r3, 0x0
.global lbl_8000C4A4
lbl_8000C4A4:
/* 8000C4A4 000082E4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000C4A8 000082E8 41 82 00 0C */ beq lbl_8000C4B4
/* 8000C4AC 000082EC 38 00 00 00 */ li r0, 0x0
/* 8000C4B0 000082F0 48 00 00 20 */ b lbl_8000C4D0
.global lbl_8000C4B4
lbl_8000C4B4:
2022-10-16 16:31:36 +00:00
/* 8000C4B4 000082F4 3C 60 80 42 */ lis r3, _current_locale@ha
2022-10-16 16:05:58 +00:00
/* 8000C4B8 000082F8 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8000C4BC 000082FC 38 63 15 10 */ addi r3, r3, _current_locale@l
2022-10-16 16:05:58 +00:00
/* 8000C4C0 00008300 80 63 00 38 */ lwz r3, 0x38(r3)
/* 8000C4C4 00008304 80 63 00 08 */ lwz r3, 0x8(r3)
/* 8000C4C8 00008308 7C 03 02 2E */ lhzx r0, r3, r0
/* 8000C4CC 0000830C 54 00 05 AC */ rlwinm r0, r0, 0, 22, 22
.global lbl_8000C4D0
lbl_8000C4D0:
/* 8000C4D0 00008310 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C4D4 00008314 41 82 00 1C */ beq lbl_8000C4F0
2022-10-16 16:31:36 +00:00
/* 8000C4D8 00008318 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C4DC 0000831C 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C4E0 00008320 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C4E4 00008324 38 84 00 1C */ addi r4, r4, 0x1c
2022-10-16 16:31:36 +00:00
/* 8000C4E8 00008328 48 00 14 D9 */ bl strcpy
2022-10-16 16:05:58 +00:00
/* 8000C4EC 0000832C 48 00 00 18 */ b lbl_8000C504
.global lbl_8000C4F0
lbl_8000C4F0:
2022-10-16 16:31:36 +00:00
/* 8000C4F0 00008330 3C 80 80 40 */ lis r4, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C4F4 00008334 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 8000C4F8 00008338 38 84 6C 70 */ addi r4, r4, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C4FC 0000833C 38 84 00 20 */ addi r4, r4, 0x20
2022-10-16 16:31:36 +00:00
/* 8000C500 00008340 48 00 14 C1 */ bl strcpy
2022-10-16 16:05:58 +00:00
.global lbl_8000C504
lbl_8000C504:
/* 8000C504 00008344 7F E3 FB 78 */ mr r3, r31
/* 8000C508 00008348 48 00 04 9C */ b lbl_8000C9A4
.global lbl_8000C50C
lbl_8000C50C:
/* 8000C50C 0000834C 88 61 00 10 */ lbz r3, 0x10(r1)
/* 8000C510 00008350 38 00 00 00 */ li r0, 0x0
/* 8000C514 00008354 A8 81 00 0E */ lha r4, 0xe(r1)
/* 8000C518 00008358 3B FC FF FF */ addi r31, r28, -0x1
/* 8000C51C 0000835C 38 63 FF FF */ addi r3, r3, -0x1
/* 8000C520 00008360 7C 63 07 34 */ extsh r3, r3
/* 8000C524 00008364 7C 64 1A 14 */ add r3, r4, r3
/* 8000C528 00008368 B0 61 00 0E */ sth r3, 0xe(r1)
/* 8000C52C 0000836C 98 1C FF FF */ stb r0, -0x1(r28)
/* 8000C530 00008370 88 1D 00 05 */ lbz r0, 0x5(r29)
/* 8000C534 00008374 2C 00 00 67 */ cmpwi r0, 0x67
/* 8000C538 00008378 41 82 00 30 */ beq lbl_8000C568
/* 8000C53C 0000837C 2C 00 00 47 */ cmpwi r0, 0x47
/* 8000C540 00008380 41 82 00 28 */ beq lbl_8000C568
/* 8000C544 00008384 2C 00 00 65 */ cmpwi r0, 0x65
/* 8000C548 00008388 41 82 00 D8 */ beq lbl_8000C620
/* 8000C54C 0000838C 2C 00 00 45 */ cmpwi r0, 0x45
/* 8000C550 00008390 41 82 00 D0 */ beq lbl_8000C620
/* 8000C554 00008394 2C 00 00 66 */ cmpwi r0, 0x66
/* 8000C558 00008398 41 82 02 2C */ beq lbl_8000C784
/* 8000C55C 0000839C 2C 00 00 46 */ cmpwi r0, 0x46
/* 8000C560 000083A0 41 82 02 24 */ beq lbl_8000C784
/* 8000C564 000083A4 48 00 04 3C */ b lbl_8000C9A0
.global lbl_8000C568
lbl_8000C568:
/* 8000C568 000083A8 80 9D 00 0C */ lwz r4, 0xc(r29)
/* 8000C56C 000083AC 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8000C570 000083B0 7C 00 20 00 */ cmpw r0, r4
/* 8000C574 000083B4 40 81 00 0C */ ble lbl_8000C580
/* 8000C578 000083B8 38 61 00 0C */ addi r3, r1, 0xc
2022-10-16 16:31:36 +00:00
/* 8000C57C 000083BC 4B FF FB 89 */ bl round_decimal
2022-10-16 16:05:58 +00:00
.global lbl_8000C580
lbl_8000C580:
/* 8000C580 000083C0 A8 81 00 0E */ lha r4, 0xe(r1)
/* 8000C584 000083C4 2C 04 FF FC */ cmpwi r4, -0x4
/* 8000C588 000083C8 41 80 00 10 */ blt lbl_8000C598
/* 8000C58C 000083CC 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8000C590 000083D0 7C 04 18 00 */ cmpw r4, r3
/* 8000C594 000083D4 41 80 00 50 */ blt lbl_8000C5E4
.global lbl_8000C598
lbl_8000C598:
/* 8000C598 000083D8 88 1D 00 03 */ lbz r0, 0x3(r29)
/* 8000C59C 000083DC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C5A0 000083E0 41 82 00 14 */ beq lbl_8000C5B4
/* 8000C5A4 000083E4 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8000C5A8 000083E8 38 03 FF FF */ addi r0, r3, -0x1
/* 8000C5AC 000083EC 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8000C5B0 000083F0 48 00 00 10 */ b lbl_8000C5C0
.global lbl_8000C5B4
lbl_8000C5B4:
/* 8000C5B4 000083F4 88 61 00 10 */ lbz r3, 0x10(r1)
/* 8000C5B8 000083F8 38 03 FF FF */ addi r0, r3, -0x1
/* 8000C5BC 000083FC 90 1D 00 0C */ stw r0, 0xc(r29)
.global lbl_8000C5C0
lbl_8000C5C0:
/* 8000C5C0 00008400 88 1D 00 05 */ lbz r0, 0x5(r29)
/* 8000C5C4 00008404 28 00 00 67 */ cmplwi r0, 0x67
/* 8000C5C8 00008408 40 82 00 10 */ bne lbl_8000C5D8
/* 8000C5CC 0000840C 38 00 00 65 */ li r0, 0x65
/* 8000C5D0 00008410 98 1D 00 05 */ stb r0, 0x5(r29)
/* 8000C5D4 00008414 48 00 00 4C */ b lbl_8000C620
.global lbl_8000C5D8
lbl_8000C5D8:
/* 8000C5D8 00008418 38 00 00 45 */ li r0, 0x45
/* 8000C5DC 0000841C 98 1D 00 05 */ stb r0, 0x5(r29)
/* 8000C5E0 00008420 48 00 00 40 */ b lbl_8000C620
.global lbl_8000C5E4
lbl_8000C5E4:
/* 8000C5E4 00008424 88 1D 00 03 */ lbz r0, 0x3(r29)
/* 8000C5E8 00008428 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C5EC 0000842C 41 82 00 14 */ beq lbl_8000C600
/* 8000C5F0 00008430 38 04 00 01 */ addi r0, r4, 0x1
/* 8000C5F4 00008434 7C 00 18 50 */ subf r0, r0, r3
/* 8000C5F8 00008438 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8000C5FC 0000843C 48 00 01 88 */ b lbl_8000C784
.global lbl_8000C600
lbl_8000C600:
/* 8000C600 00008440 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8000C604 00008444 38 64 00 01 */ addi r3, r4, 0x1
/* 8000C608 00008448 7C 03 00 51 */ subf. r0, r3, r0
/* 8000C60C 0000844C 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8000C610 00008450 40 80 01 74 */ bge lbl_8000C784
/* 8000C614 00008454 38 00 00 00 */ li r0, 0x0
/* 8000C618 00008458 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8000C61C 0000845C 48 00 01 68 */ b lbl_8000C784
.global lbl_8000C620
lbl_8000C620:
/* 8000C620 00008460 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8000C624 00008464 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8000C628 00008468 38 83 00 01 */ addi r4, r3, 0x1
/* 8000C62C 0000846C 7C 00 20 00 */ cmpw r0, r4
/* 8000C630 00008470 40 81 00 0C */ ble lbl_8000C63C
/* 8000C634 00008474 38 61 00 0C */ addi r3, r1, 0xc
2022-10-16 16:31:36 +00:00
/* 8000C638 00008478 4B FF FA CD */ bl round_decimal
2022-10-16 16:05:58 +00:00
.global lbl_8000C63C
lbl_8000C63C:
/* 8000C63C 0000847C A8 C1 00 0E */ lha r6, 0xe(r1)
/* 8000C640 00008480 39 00 00 2B */ li r8, 0x2b
/* 8000C644 00008484 2C 06 00 00 */ cmpwi r6, 0x0
/* 8000C648 00008488 40 80 00 0C */ bge lbl_8000C654
/* 8000C64C 0000848C 7C C6 00 D0 */ neg r6, r6
/* 8000C650 00008490 39 00 00 2D */ li r8, 0x2d
.global lbl_8000C654
lbl_8000C654:
/* 8000C654 00008494 3C 60 66 66 */ lis r3, 0x6666
/* 8000C658 00008498 38 E0 00 00 */ li r7, 0x0
/* 8000C65C 0000849C 38 A3 66 67 */ addi r5, r3, 0x6667
/* 8000C660 000084A0 48 00 00 38 */ b lbl_8000C698
.global lbl_8000C664
lbl_8000C664:
/* 8000C664 000084A4 7C 05 30 96 */ mulhw r0, r5, r6
/* 8000C668 000084A8 38 E7 00 01 */ addi r7, r7, 0x1
/* 8000C66C 000084AC 7C 03 16 70 */ srawi r3, r0, 2
/* 8000C670 000084B0 54 64 0F FE */ srwi r4, r3, 31
/* 8000C674 000084B4 7C 00 16 70 */ srawi r0, r0, 2
/* 8000C678 000084B8 7C 63 22 14 */ add r3, r3, r4
/* 8000C67C 000084BC 1C 83 00 0A */ mulli r4, r3, 0xa
/* 8000C680 000084C0 54 03 0F FE */ srwi r3, r0, 31
/* 8000C684 000084C4 7C 84 30 50 */ subf r4, r4, r6
/* 8000C688 000084C8 7C C0 1A 14 */ add r6, r0, r3
/* 8000C68C 000084CC 38 04 00 30 */ addi r0, r4, 0x30
/* 8000C690 000084D0 98 1F FF FF */ stb r0, -0x1(r31)
/* 8000C694 000084D4 3B FF FF FF */ addi r31, r31, -0x1
.global lbl_8000C698
lbl_8000C698:
/* 8000C698 000084D8 2C 06 00 00 */ cmpwi r6, 0x0
/* 8000C69C 000084DC 40 82 FF C8 */ bne lbl_8000C664
/* 8000C6A0 000084E0 2C 07 00 02 */ cmpwi r7, 0x2
/* 8000C6A4 000084E4 41 80 FF C0 */ blt lbl_8000C664
/* 8000C6A8 000084E8 99 1F FF FF */ stb r8, -0x1(r31)
/* 8000C6AC 000084EC 88 1D 00 05 */ lbz r0, 0x5(r29)
/* 8000C6B0 000084F0 9C 1F FF FE */ stbu r0, -0x2(r31)
/* 8000C6B4 000084F4 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8000C6B8 000084F8 7C 1F E0 50 */ subf r0, r31, r28
/* 8000C6BC 000084FC 7C 03 02 14 */ add r0, r3, r0
/* 8000C6C0 00008500 2C 00 01 FD */ cmpwi r0, 0x1fd
/* 8000C6C4 00008504 40 81 00 0C */ ble lbl_8000C6D0
/* 8000C6C8 00008508 38 60 00 00 */ li r3, 0x0
/* 8000C6CC 0000850C 48 00 02 D8 */ b lbl_8000C9A4
.global lbl_8000C6D0
lbl_8000C6D0:
/* 8000C6D0 00008510 88 81 00 10 */ lbz r4, 0x10(r1)
/* 8000C6D4 00008514 38 03 00 01 */ addi r0, r3, 0x1
/* 8000C6D8 00008518 7C 04 00 00 */ cmpw r4, r0
/* 8000C6DC 0000851C 40 80 00 20 */ bge lbl_8000C6FC
/* 8000C6E0 00008520 38 63 00 02 */ addi r3, r3, 0x2
/* 8000C6E4 00008524 38 00 00 30 */ li r0, 0x30
/* 8000C6E8 00008528 7C 64 18 50 */ subf r3, r4, r3
/* 8000C6EC 0000852C 48 00 00 08 */ b lbl_8000C6F4
.global lbl_8000C6F0
lbl_8000C6F0:
/* 8000C6F0 00008530 9C 1F FF FF */ stbu r0, -0x1(r31)
.global lbl_8000C6F4
lbl_8000C6F4:
/* 8000C6F4 00008534 34 63 FF FF */ addic. r3, r3, -0x1
/* 8000C6F8 00008538 40 82 FF F8 */ bne lbl_8000C6F0
.global lbl_8000C6FC
lbl_8000C6FC:
/* 8000C6FC 0000853C 88 61 00 10 */ lbz r3, 0x10(r1)
/* 8000C700 00008540 38 81 00 11 */ addi r4, r1, 0x11
/* 8000C704 00008544 7C 84 1A 14 */ add r4, r4, r3
/* 8000C708 00008548 48 00 00 0C */ b lbl_8000C714
.global lbl_8000C70C
lbl_8000C70C:
/* 8000C70C 0000854C 8C 04 FF FF */ lbzu r0, -0x1(r4)
/* 8000C710 00008550 9C 1F FF FF */ stbu r0, -0x1(r31)
.global lbl_8000C714
lbl_8000C714:
/* 8000C714 00008554 34 63 FF FF */ addic. r3, r3, -0x1
/* 8000C718 00008558 40 82 FF F4 */ bne lbl_8000C70C
/* 8000C71C 0000855C 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8000C720 00008560 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C724 00008564 40 82 00 10 */ bne lbl_8000C734
/* 8000C728 00008568 88 1D 00 03 */ lbz r0, 0x3(r29)
/* 8000C72C 0000856C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C730 00008570 41 82 00 08 */ beq lbl_8000C738
.global lbl_8000C734
lbl_8000C734:
/* 8000C734 00008574 9F DF FF FF */ stbu r30, -0x1(r31)
.global lbl_8000C738
lbl_8000C738:
/* 8000C738 00008578 88 01 00 11 */ lbz r0, 0x11(r1)
/* 8000C73C 0000857C 9C 1F FF FF */ stbu r0, -0x1(r31)
/* 8000C740 00008580 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8000C744 00008584 7C 00 07 75 */ extsb. r0, r0
/* 8000C748 00008588 41 82 00 10 */ beq lbl_8000C758
/* 8000C74C 0000858C 38 00 00 2D */ li r0, 0x2d
/* 8000C750 00008590 9C 1F FF FF */ stbu r0, -0x1(r31)
/* 8000C754 00008594 48 00 02 4C */ b lbl_8000C9A0
.global lbl_8000C758
lbl_8000C758:
/* 8000C758 00008598 88 1D 00 01 */ lbz r0, 0x1(r29)
/* 8000C75C 0000859C 28 00 00 01 */ cmplwi r0, 0x1
/* 8000C760 000085A0 40 82 00 10 */ bne lbl_8000C770
/* 8000C764 000085A4 38 00 00 2B */ li r0, 0x2b
/* 8000C768 000085A8 9C 1F FF FF */ stbu r0, -0x1(r31)
/* 8000C76C 000085AC 48 00 02 34 */ b lbl_8000C9A0
.global lbl_8000C770
lbl_8000C770:
/* 8000C770 000085B0 28 00 00 02 */ cmplwi r0, 0x2
/* 8000C774 000085B4 40 82 02 2C */ bne lbl_8000C9A0
/* 8000C778 000085B8 38 00 00 20 */ li r0, 0x20
/* 8000C77C 000085BC 9C 1F FF FF */ stbu r0, -0x1(r31)
/* 8000C780 000085C0 48 00 02 20 */ b lbl_8000C9A0
.global lbl_8000C784
lbl_8000C784:
/* 8000C784 000085C4 88 81 00 10 */ lbz r4, 0x10(r1)
/* 8000C788 000085C8 A8 A1 00 0E */ lha r5, 0xe(r1)
/* 8000C78C 000085CC 7C 65 20 50 */ subf r3, r5, r4
/* 8000C790 000085D0 35 03 FF FF */ addic. r8, r3, -0x1
/* 8000C794 000085D4 40 80 00 08 */ bge lbl_8000C79C
/* 8000C798 000085D8 39 00 00 00 */ li r8, 0x0
.global lbl_8000C79C
lbl_8000C79C:
/* 8000C79C 000085DC 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8000C7A0 000085E0 7C 08 00 00 */ cmpw r8, r0
/* 8000C7A4 000085E4 40 81 00 2C */ ble lbl_8000C7D0
/* 8000C7A8 000085E8 7C 00 40 50 */ subf r0, r0, r8
/* 8000C7AC 000085EC 38 61 00 0C */ addi r3, r1, 0xc
/* 8000C7B0 000085F0 7C 80 20 50 */ subf r4, r0, r4
2022-10-16 16:31:36 +00:00
/* 8000C7B4 000085F4 4B FF F9 51 */ bl round_decimal
2022-10-16 16:05:58 +00:00
/* 8000C7B8 000085F8 88 81 00 10 */ lbz r4, 0x10(r1)
/* 8000C7BC 000085FC A8 A1 00 0E */ lha r5, 0xe(r1)
/* 8000C7C0 00008600 7C 65 20 50 */ subf r3, r5, r4
/* 8000C7C4 00008604 35 03 FF FF */ addic. r8, r3, -0x1
/* 8000C7C8 00008608 40 80 00 08 */ bge lbl_8000C7D0
/* 8000C7CC 0000860C 39 00 00 00 */ li r8, 0x0
.global lbl_8000C7D0
lbl_8000C7D0:
/* 8000C7D0 00008610 34 E5 00 01 */ addic. r7, r5, 0x1
/* 8000C7D4 00008614 40 80 00 08 */ bge lbl_8000C7DC
/* 8000C7D8 00008618 38 E0 00 00 */ li r7, 0x0
.global lbl_8000C7DC
lbl_8000C7DC:
/* 8000C7DC 0000861C 7C 07 42 14 */ add r0, r7, r8
/* 8000C7E0 00008620 2C 00 01 FD */ cmpwi r0, 0x1fd
/* 8000C7E4 00008624 40 81 00 0C */ ble lbl_8000C7F0
/* 8000C7E8 00008628 38 60 00 00 */ li r3, 0x0
/* 8000C7EC 0000862C 48 00 01 B8 */ b lbl_8000C9A4
.global lbl_8000C7F0
lbl_8000C7F0:
/* 8000C7F0 00008630 38 C1 00 11 */ addi r6, r1, 0x11
/* 8000C7F4 00008634 38 A0 00 00 */ li r5, 0x0
/* 8000C7F8 00008638 7C C6 22 14 */ add r6, r6, r4
/* 8000C7FC 0000863C 38 60 00 30 */ li r3, 0x30
/* 8000C800 00008640 48 00 00 0C */ b lbl_8000C80C
.global lbl_8000C804
lbl_8000C804:
/* 8000C804 00008644 9C 7F FF FF */ stbu r3, -0x1(r31)
/* 8000C808 00008648 38 A5 00 01 */ addi r5, r5, 0x1
.global lbl_8000C80C
lbl_8000C80C:
/* 8000C80C 0000864C 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8000C810 00008650 7C 08 00 50 */ subf r0, r8, r0
/* 8000C814 00008654 7C 05 00 00 */ cmpw r5, r0
/* 8000C818 00008658 41 80 FF EC */ blt lbl_8000C804
/* 8000C81C 0000865C 38 60 00 00 */ li r3, 0x0
/* 8000C820 00008660 48 00 00 10 */ b lbl_8000C830
.global lbl_8000C824
lbl_8000C824:
/* 8000C824 00008664 8C 06 FF FF */ lbzu r0, -0x1(r6)
/* 8000C828 00008668 38 63 00 01 */ addi r3, r3, 0x1
/* 8000C82C 0000866C 9C 1F FF FF */ stbu r0, -0x1(r31)
.global lbl_8000C830
lbl_8000C830:
/* 8000C830 00008670 7C 03 40 00 */ cmpw r3, r8
/* 8000C834 00008674 40 80 00 10 */ bge lbl_8000C844
/* 8000C838 00008678 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8000C83C 0000867C 7C 03 00 00 */ cmpw r3, r0
/* 8000C840 00008680 41 80 FF E4 */ blt lbl_8000C824
.global lbl_8000C844
lbl_8000C844:
/* 8000C844 00008684 7C 03 40 00 */ cmpw r3, r8
/* 8000C848 00008688 7C 63 40 50 */ subf r3, r3, r8
/* 8000C84C 0000868C 38 80 00 30 */ li r4, 0x30
/* 8000C850 00008690 40 80 00 48 */ bge lbl_8000C898
/* 8000C854 00008694 54 60 E8 FF */ srwi. r0, r3, 3
/* 8000C858 00008698 7C 09 03 A6 */ mtctr r0
/* 8000C85C 0000869C 41 82 00 30 */ beq lbl_8000C88C
.global lbl_8000C860
lbl_8000C860:
/* 8000C860 000086A0 98 9F FF FF */ stb r4, -0x1(r31)
/* 8000C864 000086A4 98 9F FF FE */ stb r4, -0x2(r31)
/* 8000C868 000086A8 98 9F FF FD */ stb r4, -0x3(r31)
/* 8000C86C 000086AC 98 9F FF FC */ stb r4, -0x4(r31)
/* 8000C870 000086B0 98 9F FF FB */ stb r4, -0x5(r31)
/* 8000C874 000086B4 98 9F FF FA */ stb r4, -0x6(r31)
/* 8000C878 000086B8 98 9F FF F9 */ stb r4, -0x7(r31)
/* 8000C87C 000086BC 9C 9F FF F8 */ stbu r4, -0x8(r31)
/* 8000C880 000086C0 42 00 FF E0 */ bdnz lbl_8000C860
/* 8000C884 000086C4 70 63 00 07 */ andi. r3, r3, 0x7
/* 8000C888 000086C8 41 82 00 10 */ beq lbl_8000C898
.global lbl_8000C88C
lbl_8000C88C:
/* 8000C88C 000086CC 7C 69 03 A6 */ mtctr r3
.global lbl_8000C890
lbl_8000C890:
/* 8000C890 000086D0 9C 9F FF FF */ stbu r4, -0x1(r31)
/* 8000C894 000086D4 42 00 FF FC */ bdnz lbl_8000C890
.global lbl_8000C898
lbl_8000C898:
/* 8000C898 000086D8 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8000C89C 000086DC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C8A0 000086E0 40 82 00 10 */ bne lbl_8000C8B0
/* 8000C8A4 000086E4 88 1D 00 03 */ lbz r0, 0x3(r29)
/* 8000C8A8 000086E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000C8AC 000086EC 41 82 00 08 */ beq lbl_8000C8B4
.global lbl_8000C8B0
lbl_8000C8B0:
/* 8000C8B0 000086F0 9F DF FF FF */ stbu r30, -0x1(r31)
.global lbl_8000C8B4
lbl_8000C8B4:
/* 8000C8B4 000086F4 2C 07 00 00 */ cmpwi r7, 0x0
/* 8000C8B8 000086F8 41 82 00 A0 */ beq lbl_8000C958
/* 8000C8BC 000086FC 38 80 00 00 */ li r4, 0x0
/* 8000C8C0 00008700 38 60 00 30 */ li r3, 0x30
/* 8000C8C4 00008704 48 00 00 0C */ b lbl_8000C8D0
.global lbl_8000C8C8
lbl_8000C8C8:
/* 8000C8C8 00008708 9C 7F FF FF */ stbu r3, -0x1(r31)
/* 8000C8CC 0000870C 38 84 00 01 */ addi r4, r4, 0x1
.global lbl_8000C8D0
lbl_8000C8D0:
/* 8000C8D0 00008710 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8000C8D4 00008714 7C 00 38 50 */ subf r0, r0, r7
/* 8000C8D8 00008718 7C 04 00 00 */ cmpw r4, r0
/* 8000C8DC 0000871C 41 80 FF EC */ blt lbl_8000C8C8
/* 8000C8E0 00008720 7C 04 38 00 */ cmpw r4, r7
/* 8000C8E4 00008724 7C 64 38 50 */ subf r3, r4, r7
/* 8000C8E8 00008728 40 80 00 78 */ bge lbl_8000C960
/* 8000C8EC 0000872C 54 60 E8 FF */ srwi. r0, r3, 3
/* 8000C8F0 00008730 7C 09 03 A6 */ mtctr r0
/* 8000C8F4 00008734 41 82 00 50 */ beq lbl_8000C944
.global lbl_8000C8F8
lbl_8000C8F8:
/* 8000C8F8 00008738 88 06 FF FF */ lbz r0, -0x1(r6)
/* 8000C8FC 0000873C 98 1F FF FF */ stb r0, -0x1(r31)
/* 8000C900 00008740 88 06 FF FE */ lbz r0, -0x2(r6)
/* 8000C904 00008744 98 1F FF FE */ stb r0, -0x2(r31)
/* 8000C908 00008748 88 06 FF FD */ lbz r0, -0x3(r6)
/* 8000C90C 0000874C 98 1F FF FD */ stb r0, -0x3(r31)
/* 8000C910 00008750 88 06 FF FC */ lbz r0, -0x4(r6)
/* 8000C914 00008754 98 1F FF FC */ stb r0, -0x4(r31)
/* 8000C918 00008758 88 06 FF FB */ lbz r0, -0x5(r6)
/* 8000C91C 0000875C 98 1F FF FB */ stb r0, -0x5(r31)
/* 8000C920 00008760 88 06 FF FA */ lbz r0, -0x6(r6)
/* 8000C924 00008764 98 1F FF FA */ stb r0, -0x6(r31)
/* 8000C928 00008768 88 06 FF F9 */ lbz r0, -0x7(r6)
/* 8000C92C 0000876C 98 1F FF F9 */ stb r0, -0x7(r31)
/* 8000C930 00008770 8C 06 FF F8 */ lbzu r0, -0x8(r6)
/* 8000C934 00008774 9C 1F FF F8 */ stbu r0, -0x8(r31)
/* 8000C938 00008778 42 00 FF C0 */ bdnz lbl_8000C8F8
/* 8000C93C 0000877C 70 63 00 07 */ andi. r3, r3, 0x7
/* 8000C940 00008780 41 82 00 20 */ beq lbl_8000C960
.global lbl_8000C944
lbl_8000C944:
/* 8000C944 00008784 7C 69 03 A6 */ mtctr r3
.global lbl_8000C948
lbl_8000C948:
/* 8000C948 00008788 8C 06 FF FF */ lbzu r0, -0x1(r6)
/* 8000C94C 0000878C 9C 1F FF FF */ stbu r0, -0x1(r31)
/* 8000C950 00008790 42 00 FF F8 */ bdnz lbl_8000C948
/* 8000C954 00008794 48 00 00 0C */ b lbl_8000C960
.global lbl_8000C958
lbl_8000C958:
/* 8000C958 00008798 38 00 00 30 */ li r0, 0x30
/* 8000C95C 0000879C 9C 1F FF FF */ stbu r0, -0x1(r31)
.global lbl_8000C960
lbl_8000C960:
/* 8000C960 000087A0 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8000C964 000087A4 7C 00 07 75 */ extsb. r0, r0
/* 8000C968 000087A8 41 82 00 10 */ beq lbl_8000C978
/* 8000C96C 000087AC 38 00 00 2D */ li r0, 0x2d
/* 8000C970 000087B0 9C 1F FF FF */ stbu r0, -0x1(r31)
/* 8000C974 000087B4 48 00 00 2C */ b lbl_8000C9A0
.global lbl_8000C978
lbl_8000C978:
/* 8000C978 000087B8 88 1D 00 01 */ lbz r0, 0x1(r29)
/* 8000C97C 000087BC 28 00 00 01 */ cmplwi r0, 0x1
/* 8000C980 000087C0 40 82 00 10 */ bne lbl_8000C990
/* 8000C984 000087C4 38 00 00 2B */ li r0, 0x2b
/* 8000C988 000087C8 9C 1F FF FF */ stbu r0, -0x1(r31)
/* 8000C98C 000087CC 48 00 00 14 */ b lbl_8000C9A0
.global lbl_8000C990
lbl_8000C990:
/* 8000C990 000087D0 28 00 00 02 */ cmplwi r0, 0x2
/* 8000C994 000087D4 40 82 00 0C */ bne lbl_8000C9A0
/* 8000C998 000087D8 38 00 00 20 */ li r0, 0x20
/* 8000C99C 000087DC 9C 1F FF FF */ stbu r0, -0x1(r31)
.global lbl_8000C9A0
lbl_8000C9A0:
/* 8000C9A0 000087E0 7F E3 FB 78 */ mr r3, r31
.global lbl_8000C9A4
lbl_8000C9A4:
/* 8000C9A4 000087E4 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8000C9A8 000087E8 CB E1 00 48 */ lfd f31, 0x48(r1)
/* 8000C9AC 000087EC 83 E1 00 44 */ lwz r31, 0x44(r1)
/* 8000C9B0 000087F0 83 C1 00 40 */ lwz r30, 0x40(r1)
/* 8000C9B4 000087F4 83 A1 00 3C */ lwz r29, 0x3c(r1)
/* 8000C9B8 000087F8 83 81 00 38 */ lwz r28, 0x38(r1)
/* 8000C9BC 000087FC 7C 08 03 A6 */ mtlr r0
/* 8000C9C0 00008800 38 21 00 50 */ addi r1, r1, 0x50
/* 8000C9C4 00008804 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __pformatter
__pformatter:
2022-10-16 16:05:58 +00:00
/* 8000C9C8 00008808 94 21 FD 30 */ stwu r1, -0x2d0(r1)
/* 8000C9CC 0000880C 7C 08 02 A6 */ mflr r0
/* 8000C9D0 00008810 90 01 02 D4 */ stw r0, 0x2d4(r1)
/* 8000C9D4 00008814 BD E1 02 8C */ stmw r15, 0x28c(r1)
/* 8000C9D8 00008818 3B 00 00 20 */ li r24, 0x20
2022-10-16 16:31:36 +00:00
/* 8000C9DC 0000881C 3E C0 80 40 */ lis r22, "@stringBase0_80406C70"@ha
2022-10-16 16:05:58 +00:00
/* 8000C9E0 00008820 7C 79 1B 78 */ mr r25, r3
/* 8000C9E4 00008824 7C 9A 23 78 */ mr r26, r4
/* 8000C9E8 00008828 7C AF 2B 78 */ mr r15, r5
/* 8000C9EC 0000882C 7C DB 33 78 */ mr r27, r6
/* 8000C9F0 00008830 7C FC 3B 78 */ mr r28, r7
2022-10-16 16:31:36 +00:00
/* 8000C9F4 00008834 3A D6 6C 70 */ addi r22, r22, "@stringBase0_80406C70"@l
2022-10-16 16:05:58 +00:00
/* 8000C9F8 00008838 3A A1 02 7F */ addi r21, r1, 0x27f
/* 8000C9FC 0000883C 3A 20 00 00 */ li r17, 0x0
2022-10-16 16:31:36 +00:00
/* 8000CA00 00008840 3E 80 80 42 */ lis r20, "@2934"@ha
2022-10-16 16:05:58 +00:00
/* 8000CA04 00008844 3A E0 00 25 */ li r23, 0x25
/* 8000CA08 00008848 9B 01 00 09 */ stb r24, 0x9(r1)
/* 8000CA0C 0000884C 48 00 08 44 */ b lbl_8000D250
.global lbl_8000CA10
lbl_8000CA10:
/* 8000CA10 00008850 7D E3 7B 78 */ mr r3, r15
/* 8000CA14 00008854 38 80 00 25 */ li r4, 0x25
2022-10-16 16:31:36 +00:00
/* 8000CA18 00008858 48 00 12 81 */ bl strchr
2022-10-16 16:05:58 +00:00
/* 8000CA1C 0000885C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CA20 00008860 7C 70 1B 78 */ mr r16, r3
/* 8000CA24 00008864 40 82 00 40 */ bne lbl_8000CA64
/* 8000CA28 00008868 7D E3 7B 78 */ mr r3, r15
2022-10-16 16:31:36 +00:00
/* 8000CA2C 0000886C 4B FF A0 61 */ bl strlen
2022-10-16 16:05:58 +00:00
/* 8000CA30 00008870 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CA34 00008874 7C 65 1B 78 */ mr r5, r3
/* 8000CA38 00008878 7E 31 1A 14 */ add r17, r17, r3
/* 8000CA3C 0000887C 41 82 08 20 */ beq lbl_8000D25C
/* 8000CA40 00008880 7F 2C CB 78 */ mr r12, r25
/* 8000CA44 00008884 7F 43 D3 78 */ mr r3, r26
/* 8000CA48 00008888 7D E4 7B 78 */ mr r4, r15
/* 8000CA4C 0000888C 7D 89 03 A6 */ mtctr r12
/* 8000CA50 00008890 4E 80 04 21 */ bctrl
/* 8000CA54 00008894 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CA58 00008898 40 82 08 04 */ bne lbl_8000D25C
/* 8000CA5C 0000889C 38 60 FF FF */ li r3, -0x1
/* 8000CA60 000088A0 48 00 08 00 */ b lbl_8000D260
.global lbl_8000CA64
lbl_8000CA64:
/* 8000CA64 000088A4 7C AF 18 51 */ subf. r5, r15, r3
/* 8000CA68 000088A8 7E 31 2A 14 */ add r17, r17, r5
/* 8000CA6C 000088AC 41 82 00 28 */ beq lbl_8000CA94
/* 8000CA70 000088B0 7F 2C CB 78 */ mr r12, r25
/* 8000CA74 000088B4 7F 43 D3 78 */ mr r3, r26
/* 8000CA78 000088B8 7D E4 7B 78 */ mr r4, r15
/* 8000CA7C 000088BC 7D 89 03 A6 */ mtctr r12
/* 8000CA80 000088C0 4E 80 04 21 */ bctrl
/* 8000CA84 000088C4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CA88 000088C8 40 82 00 0C */ bne lbl_8000CA94
/* 8000CA8C 000088CC 38 60 FF FF */ li r3, -0x1
/* 8000CA90 000088D0 48 00 07 D0 */ b lbl_8000D260
.global lbl_8000CA94
lbl_8000CA94:
/* 8000CA94 000088D4 7E 03 83 78 */ mr r3, r16
/* 8000CA98 000088D8 7F 64 DB 78 */ mr r4, r27
/* 8000CA9C 000088DC 38 A1 00 70 */ addi r5, r1, 0x70
2022-10-16 16:31:36 +00:00
/* 8000CAA0 000088E0 4B FF E7 F1 */ bl parse_format_8000B290
2022-10-16 16:05:58 +00:00
/* 8000CAA4 000088E4 88 81 00 75 */ lbz r4, 0x75(r1)
/* 8000CAA8 000088E8 7C 6F 1B 78 */ mr r15, r3
/* 8000CAAC 000088EC 38 04 FF DB */ addi r0, r4, -0x25
/* 8000CAB0 000088F0 28 00 00 53 */ cmplwi r0, 0x53
/* 8000CAB4 000088F4 41 81 05 BC */ bgt lbl_8000D070
2022-10-16 16:31:36 +00:00
/* 8000CAB8 000088F8 38 74 16 38 */ addi r3, r20, "@2934"@l
2022-10-16 16:05:58 +00:00
/* 8000CABC 000088FC 54 00 10 3A */ slwi r0, r0, 2
/* 8000CAC0 00008900 7C 63 00 2E */ lwzx r3, r3, r0
/* 8000CAC4 00008904 7C 69 03 A6 */ mtctr r3
/* 8000CAC8 00008908 4E 80 04 20 */ bctr
.global lbl_8000CACC
lbl_8000CACC:
/* 8000CACC 0000890C 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CAD0 00008910 28 00 00 03 */ cmplwi r0, 0x3
/* 8000CAD4 00008914 40 82 00 18 */ bne lbl_8000CAEC
/* 8000CAD8 00008918 7F 63 DB 78 */ mr r3, r27
/* 8000CADC 0000891C 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CAE0 00008920 4B FF 9F C9 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CAE4 00008924 83 E3 00 00 */ lwz r31, 0x0(r3)
/* 8000CAE8 00008928 48 00 00 8C */ b lbl_8000CB74
.global lbl_8000CAEC
lbl_8000CAEC:
/* 8000CAEC 0000892C 28 00 00 04 */ cmplwi r0, 0x4
/* 8000CAF0 00008930 40 82 00 1C */ bne lbl_8000CB0C
/* 8000CAF4 00008934 7F 63 DB 78 */ mr r3, r27
/* 8000CAF8 00008938 38 80 00 02 */ li r4, 0x2
2022-10-16 16:31:36 +00:00
/* 8000CAFC 0000893C 4B FF 9F AD */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CB00 00008940 83 C3 00 00 */ lwz r30, 0x0(r3)
/* 8000CB04 00008944 83 A3 00 04 */ lwz r29, 0x4(r3)
/* 8000CB08 00008948 48 00 00 6C */ b lbl_8000CB74
.global lbl_8000CB0C
lbl_8000CB0C:
/* 8000CB0C 0000894C 28 00 00 06 */ cmplwi r0, 0x6
/* 8000CB10 00008950 40 82 00 1C */ bne lbl_8000CB2C
/* 8000CB14 00008954 7F 63 DB 78 */ mr r3, r27
/* 8000CB18 00008958 38 80 00 02 */ li r4, 0x2
2022-10-16 16:31:36 +00:00
/* 8000CB1C 0000895C 4B FF 9F 8D */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CB20 00008960 83 C3 00 00 */ lwz r30, 0x0(r3)
/* 8000CB24 00008964 83 A3 00 04 */ lwz r29, 0x4(r3)
/* 8000CB28 00008968 48 00 00 4C */ b lbl_8000CB74
.global lbl_8000CB2C
lbl_8000CB2C:
/* 8000CB2C 0000896C 28 00 00 07 */ cmplwi r0, 0x7
/* 8000CB30 00008970 40 82 00 18 */ bne lbl_8000CB48
/* 8000CB34 00008974 7F 63 DB 78 */ mr r3, r27
/* 8000CB38 00008978 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CB3C 0000897C 4B FF 9F 6D */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CB40 00008980 83 E3 00 00 */ lwz r31, 0x0(r3)
/* 8000CB44 00008984 48 00 00 30 */ b lbl_8000CB74
.global lbl_8000CB48
lbl_8000CB48:
/* 8000CB48 00008988 28 00 00 08 */ cmplwi r0, 0x8
/* 8000CB4C 0000898C 40 82 00 18 */ bne lbl_8000CB64
/* 8000CB50 00008990 7F 63 DB 78 */ mr r3, r27
/* 8000CB54 00008994 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CB58 00008998 4B FF 9F 51 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CB5C 0000899C 83 E3 00 00 */ lwz r31, 0x0(r3)
/* 8000CB60 000089A0 48 00 00 14 */ b lbl_8000CB74
.global lbl_8000CB64
lbl_8000CB64:
/* 8000CB64 000089A4 7F 63 DB 78 */ mr r3, r27
/* 8000CB68 000089A8 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CB6C 000089AC 4B FF 9F 3D */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CB70 000089B0 83 E3 00 00 */ lwz r31, 0x0(r3)
.global lbl_8000CB74
lbl_8000CB74:
/* 8000CB74 000089B4 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CB78 000089B8 28 00 00 02 */ cmplwi r0, 0x2
/* 8000CB7C 000089BC 40 82 00 08 */ bne lbl_8000CB84
/* 8000CB80 000089C0 7F FF 07 34 */ extsh r31, r31
.global lbl_8000CB84
lbl_8000CB84:
/* 8000CB84 000089C4 28 00 00 01 */ cmplwi r0, 0x1
/* 8000CB88 000089C8 40 82 00 08 */ bne lbl_8000CB90
/* 8000CB8C 000089CC 7F FF 07 74 */ extsb r31, r31
.global lbl_8000CB90
lbl_8000CB90:
/* 8000CB90 000089D0 28 00 00 04 */ cmplwi r0, 0x4
/* 8000CB94 000089D4 41 82 00 0C */ beq lbl_8000CBA0
/* 8000CB98 000089D8 28 00 00 06 */ cmplwi r0, 0x6
/* 8000CB9C 000089DC 40 82 00 48 */ bne lbl_8000CBE4
.global lbl_8000CBA0
lbl_8000CBA0:
/* 8000CBA0 000089E0 81 21 00 70 */ lwz r9, 0x70(r1)
/* 8000CBA4 000089E4 7F A4 EB 78 */ mr r4, r29
/* 8000CBA8 000089E8 81 01 00 74 */ lwz r8, 0x74(r1)
/* 8000CBAC 000089EC 7F C3 F3 78 */ mr r3, r30
/* 8000CBB0 000089F0 80 E1 00 78 */ lwz r7, 0x78(r1)
/* 8000CBB4 000089F4 38 A1 02 80 */ addi r5, r1, 0x280
/* 8000CBB8 000089F8 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8000CBBC 000089FC 38 C1 00 60 */ addi r6, r1, 0x60
/* 8000CBC0 00008A00 91 21 00 60 */ stw r9, 0x60(r1)
/* 8000CBC4 00008A04 91 01 00 64 */ stw r8, 0x64(r1)
/* 8000CBC8 00008A08 90 E1 00 68 */ stw r7, 0x68(r1)
/* 8000CBCC 00008A0C 90 01 00 6C */ stw r0, 0x6c(r1)
2022-10-16 16:31:36 +00:00
/* 8000CBD0 00008A10 4B FF EE BD */ bl longlong2str_8000BA8C
2022-10-16 16:05:58 +00:00
/* 8000CBD4 00008A14 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CBD8 00008A18 7C 72 1B 78 */ mr r18, r3
/* 8000CBDC 00008A1C 41 82 04 94 */ beq lbl_8000D070
/* 8000CBE0 00008A20 48 00 00 40 */ b lbl_8000CC20
.global lbl_8000CBE4
lbl_8000CBE4:
/* 8000CBE4 00008A24 81 01 00 70 */ lwz r8, 0x70(r1)
/* 8000CBE8 00008A28 7F E3 FB 78 */ mr r3, r31
/* 8000CBEC 00008A2C 80 E1 00 74 */ lwz r7, 0x74(r1)
/* 8000CBF0 00008A30 38 81 02 80 */ addi r4, r1, 0x280
/* 8000CBF4 00008A34 80 C1 00 78 */ lwz r6, 0x78(r1)
/* 8000CBF8 00008A38 38 A1 00 50 */ addi r5, r1, 0x50
/* 8000CBFC 00008A3C 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8000CC00 00008A40 91 01 00 50 */ stw r8, 0x50(r1)
/* 8000CC04 00008A44 90 E1 00 54 */ stw r7, 0x54(r1)
/* 8000CC08 00008A48 90 C1 00 58 */ stw r6, 0x58(r1)
/* 8000CC0C 00008A4C 90 01 00 5C */ stw r0, 0x5c(r1)
2022-10-16 16:31:36 +00:00
/* 8000CC10 00008A50 4B FF EC 3D */ bl long2str_8000B84C
2022-10-16 16:05:58 +00:00
/* 8000CC14 00008A54 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CC18 00008A58 7C 72 1B 78 */ mr r18, r3
/* 8000CC1C 00008A5C 41 82 04 54 */ beq lbl_8000D070
.global lbl_8000CC20
lbl_8000CC20:
/* 8000CC20 00008A60 7E 72 A8 50 */ subf r19, r18, r21
/* 8000CC24 00008A64 48 00 04 90 */ b lbl_8000D0B4
.global lbl_8000CC28
lbl_8000CC28:
/* 8000CC28 00008A68 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CC2C 00008A6C 28 00 00 03 */ cmplwi r0, 0x3
/* 8000CC30 00008A70 40 82 00 18 */ bne lbl_8000CC48
/* 8000CC34 00008A74 7F 63 DB 78 */ mr r3, r27
/* 8000CC38 00008A78 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CC3C 00008A7C 4B FF 9E 6D */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CC40 00008A80 83 E3 00 00 */ lwz r31, 0x0(r3)
/* 8000CC44 00008A84 48 00 00 8C */ b lbl_8000CCD0
.global lbl_8000CC48
lbl_8000CC48:
/* 8000CC48 00008A88 28 00 00 04 */ cmplwi r0, 0x4
/* 8000CC4C 00008A8C 40 82 00 1C */ bne lbl_8000CC68
/* 8000CC50 00008A90 7F 63 DB 78 */ mr r3, r27
/* 8000CC54 00008A94 38 80 00 02 */ li r4, 0x2
2022-10-16 16:31:36 +00:00
/* 8000CC58 00008A98 4B FF 9E 51 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CC5C 00008A9C 83 C3 00 00 */ lwz r30, 0x0(r3)
/* 8000CC60 00008AA0 83 A3 00 04 */ lwz r29, 0x4(r3)
/* 8000CC64 00008AA4 48 00 00 6C */ b lbl_8000CCD0
.global lbl_8000CC68
lbl_8000CC68:
/* 8000CC68 00008AA8 28 00 00 06 */ cmplwi r0, 0x6
/* 8000CC6C 00008AAC 40 82 00 1C */ bne lbl_8000CC88
/* 8000CC70 00008AB0 7F 63 DB 78 */ mr r3, r27
/* 8000CC74 00008AB4 38 80 00 02 */ li r4, 0x2
2022-10-16 16:31:36 +00:00
/* 8000CC78 00008AB8 4B FF 9E 31 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CC7C 00008ABC 83 C3 00 00 */ lwz r30, 0x0(r3)
/* 8000CC80 00008AC0 83 A3 00 04 */ lwz r29, 0x4(r3)
/* 8000CC84 00008AC4 48 00 00 4C */ b lbl_8000CCD0
.global lbl_8000CC88
lbl_8000CC88:
/* 8000CC88 00008AC8 28 00 00 07 */ cmplwi r0, 0x7
/* 8000CC8C 00008ACC 40 82 00 18 */ bne lbl_8000CCA4
/* 8000CC90 00008AD0 7F 63 DB 78 */ mr r3, r27
/* 8000CC94 00008AD4 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CC98 00008AD8 4B FF 9E 11 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CC9C 00008ADC 83 E3 00 00 */ lwz r31, 0x0(r3)
/* 8000CCA0 00008AE0 48 00 00 30 */ b lbl_8000CCD0
.global lbl_8000CCA4
lbl_8000CCA4:
/* 8000CCA4 00008AE4 28 00 00 08 */ cmplwi r0, 0x8
/* 8000CCA8 00008AE8 40 82 00 18 */ bne lbl_8000CCC0
/* 8000CCAC 00008AEC 7F 63 DB 78 */ mr r3, r27
/* 8000CCB0 00008AF0 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CCB4 00008AF4 4B FF 9D F5 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CCB8 00008AF8 83 E3 00 00 */ lwz r31, 0x0(r3)
/* 8000CCBC 00008AFC 48 00 00 14 */ b lbl_8000CCD0
.global lbl_8000CCC0
lbl_8000CCC0:
/* 8000CCC0 00008B00 7F 63 DB 78 */ mr r3, r27
/* 8000CCC4 00008B04 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CCC8 00008B08 4B FF 9D E1 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CCCC 00008B0C 83 E3 00 00 */ lwz r31, 0x0(r3)
.global lbl_8000CCD0
lbl_8000CCD0:
/* 8000CCD0 00008B10 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CCD4 00008B14 28 00 00 02 */ cmplwi r0, 0x2
/* 8000CCD8 00008B18 40 82 00 08 */ bne lbl_8000CCE0
/* 8000CCDC 00008B1C 57 FF 04 3E */ clrlwi r31, r31, 16
.global lbl_8000CCE0
lbl_8000CCE0:
/* 8000CCE0 00008B20 28 00 00 01 */ cmplwi r0, 0x1
/* 8000CCE4 00008B24 40 82 00 08 */ bne lbl_8000CCEC
/* 8000CCE8 00008B28 57 FF 06 3E */ clrlwi r31, r31, 24
.global lbl_8000CCEC
lbl_8000CCEC:
/* 8000CCEC 00008B2C 28 00 00 04 */ cmplwi r0, 0x4
/* 8000CCF0 00008B30 41 82 00 0C */ beq lbl_8000CCFC
/* 8000CCF4 00008B34 28 00 00 06 */ cmplwi r0, 0x6
/* 8000CCF8 00008B38 40 82 00 48 */ bne lbl_8000CD40
.global lbl_8000CCFC
lbl_8000CCFC:
/* 8000CCFC 00008B3C 81 21 00 70 */ lwz r9, 0x70(r1)
/* 8000CD00 00008B40 7F A4 EB 78 */ mr r4, r29
/* 8000CD04 00008B44 81 01 00 74 */ lwz r8, 0x74(r1)
/* 8000CD08 00008B48 7F C3 F3 78 */ mr r3, r30
/* 8000CD0C 00008B4C 80 E1 00 78 */ lwz r7, 0x78(r1)
/* 8000CD10 00008B50 38 A1 02 80 */ addi r5, r1, 0x280
/* 8000CD14 00008B54 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8000CD18 00008B58 38 C1 00 40 */ addi r6, r1, 0x40
/* 8000CD1C 00008B5C 91 21 00 40 */ stw r9, 0x40(r1)
/* 8000CD20 00008B60 91 01 00 44 */ stw r8, 0x44(r1)
/* 8000CD24 00008B64 90 E1 00 48 */ stw r7, 0x48(r1)
/* 8000CD28 00008B68 90 01 00 4C */ stw r0, 0x4c(r1)
2022-10-16 16:31:36 +00:00
/* 8000CD2C 00008B6C 4B FF ED 61 */ bl longlong2str_8000BA8C
2022-10-16 16:05:58 +00:00
/* 8000CD30 00008B70 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CD34 00008B74 7C 72 1B 78 */ mr r18, r3
/* 8000CD38 00008B78 41 82 03 38 */ beq lbl_8000D070
/* 8000CD3C 00008B7C 48 00 00 40 */ b lbl_8000CD7C
.global lbl_8000CD40
lbl_8000CD40:
/* 8000CD40 00008B80 81 01 00 70 */ lwz r8, 0x70(r1)
/* 8000CD44 00008B84 7F E3 FB 78 */ mr r3, r31
/* 8000CD48 00008B88 80 E1 00 74 */ lwz r7, 0x74(r1)
/* 8000CD4C 00008B8C 38 81 02 80 */ addi r4, r1, 0x280
/* 8000CD50 00008B90 80 C1 00 78 */ lwz r6, 0x78(r1)
/* 8000CD54 00008B94 38 A1 00 30 */ addi r5, r1, 0x30
/* 8000CD58 00008B98 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8000CD5C 00008B9C 91 01 00 30 */ stw r8, 0x30(r1)
/* 8000CD60 00008BA0 90 E1 00 34 */ stw r7, 0x34(r1)
/* 8000CD64 00008BA4 90 C1 00 38 */ stw r6, 0x38(r1)
/* 8000CD68 00008BA8 90 01 00 3C */ stw r0, 0x3c(r1)
2022-10-16 16:31:36 +00:00
/* 8000CD6C 00008BAC 4B FF EA E1 */ bl long2str_8000B84C
2022-10-16 16:05:58 +00:00
/* 8000CD70 00008BB0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CD74 00008BB4 7C 72 1B 78 */ mr r18, r3
/* 8000CD78 00008BB8 41 82 02 F8 */ beq lbl_8000D070
.global lbl_8000CD7C
lbl_8000CD7C:
/* 8000CD7C 00008BBC 7E 72 A8 50 */ subf r19, r18, r21
/* 8000CD80 00008BC0 48 00 03 34 */ b lbl_8000D0B4
.global lbl_8000CD84
lbl_8000CD84:
/* 8000CD84 00008BC4 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CD88 00008BC8 28 00 00 09 */ cmplwi r0, 0x9
/* 8000CD8C 00008BCC 40 82 00 18 */ bne lbl_8000CDA4
/* 8000CD90 00008BD0 7F 63 DB 78 */ mr r3, r27
/* 8000CD94 00008BD4 38 80 00 03 */ li r4, 0x3
2022-10-16 16:31:36 +00:00
/* 8000CD98 00008BD8 4B FF 9D 11 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CD9C 00008BDC C8 23 00 00 */ lfd f1, 0x0(r3)
/* 8000CDA0 00008BE0 48 00 00 14 */ b lbl_8000CDB4
.global lbl_8000CDA4
lbl_8000CDA4:
/* 8000CDA4 00008BE4 7F 63 DB 78 */ mr r3, r27
/* 8000CDA8 00008BE8 38 80 00 03 */ li r4, 0x3
2022-10-16 16:31:36 +00:00
/* 8000CDAC 00008BEC 4B FF 9C FD */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CDB0 00008BF0 C8 23 00 00 */ lfd f1, 0x0(r3)
.global lbl_8000CDB4
lbl_8000CDB4:
/* 8000CDB4 00008BF4 80 E1 00 70 */ lwz r7, 0x70(r1)
/* 8000CDB8 00008BF8 38 61 02 80 */ addi r3, r1, 0x280
/* 8000CDBC 00008BFC 80 C1 00 74 */ lwz r6, 0x74(r1)
/* 8000CDC0 00008C00 38 81 00 20 */ addi r4, r1, 0x20
/* 8000CDC4 00008C04 80 A1 00 78 */ lwz r5, 0x78(r1)
/* 8000CDC8 00008C08 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8000CDCC 00008C0C 90 E1 00 20 */ stw r7, 0x20(r1)
/* 8000CDD0 00008C10 90 C1 00 24 */ stw r6, 0x24(r1)
/* 8000CDD4 00008C14 90 A1 00 28 */ stw r5, 0x28(r1)
/* 8000CDD8 00008C18 90 01 00 2C */ stw r0, 0x2c(r1)
2022-10-16 16:31:36 +00:00
/* 8000CDDC 00008C1C 4B FF F4 51 */ bl float2str_8000C22C
2022-10-16 16:05:58 +00:00
/* 8000CDE0 00008C20 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CDE4 00008C24 7C 72 1B 78 */ mr r18, r3
/* 8000CDE8 00008C28 41 82 02 88 */ beq lbl_8000D070
/* 8000CDEC 00008C2C 7E 63 A8 50 */ subf r19, r3, r21
/* 8000CDF0 00008C30 48 00 02 C4 */ b lbl_8000D0B4
.global lbl_8000CDF4
lbl_8000CDF4:
/* 8000CDF4 00008C34 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CDF8 00008C38 28 00 00 09 */ cmplwi r0, 0x9
/* 8000CDFC 00008C3C 40 82 00 18 */ bne lbl_8000CE14
/* 8000CE00 00008C40 7F 63 DB 78 */ mr r3, r27
/* 8000CE04 00008C44 38 80 00 03 */ li r4, 0x3
2022-10-16 16:31:36 +00:00
/* 8000CE08 00008C48 4B FF 9C A1 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CE0C 00008C4C C8 23 00 00 */ lfd f1, 0x0(r3)
/* 8000CE10 00008C50 48 00 00 14 */ b lbl_8000CE24
.global lbl_8000CE14
lbl_8000CE14:
/* 8000CE14 00008C54 7F 63 DB 78 */ mr r3, r27
/* 8000CE18 00008C58 38 80 00 03 */ li r4, 0x3
2022-10-16 16:31:36 +00:00
/* 8000CE1C 00008C5C 4B FF 9C 8D */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CE20 00008C60 C8 23 00 00 */ lfd f1, 0x0(r3)
.global lbl_8000CE24
lbl_8000CE24:
/* 8000CE24 00008C64 80 E1 00 70 */ lwz r7, 0x70(r1)
/* 8000CE28 00008C68 38 61 02 80 */ addi r3, r1, 0x280
/* 8000CE2C 00008C6C 80 C1 00 74 */ lwz r6, 0x74(r1)
/* 8000CE30 00008C70 38 81 00 10 */ addi r4, r1, 0x10
/* 8000CE34 00008C74 80 A1 00 78 */ lwz r5, 0x78(r1)
/* 8000CE38 00008C78 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8000CE3C 00008C7C 90 E1 00 10 */ stw r7, 0x10(r1)
/* 8000CE40 00008C80 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8000CE44 00008C84 90 A1 00 18 */ stw r5, 0x18(r1)
/* 8000CE48 00008C88 90 01 00 1C */ stw r0, 0x1c(r1)
2022-10-16 16:31:36 +00:00
/* 8000CE4C 00008C8C 4B FF EE F1 */ bl double2hex_8000BD3C
2022-10-16 16:05:58 +00:00
/* 8000CE50 00008C90 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CE54 00008C94 7C 72 1B 78 */ mr r18, r3
/* 8000CE58 00008C98 41 82 02 18 */ beq lbl_8000D070
/* 8000CE5C 00008C9C 7E 63 A8 50 */ subf r19, r3, r21
/* 8000CE60 00008CA0 48 00 02 54 */ b lbl_8000D0B4
.global lbl_8000CE64
lbl_8000CE64:
/* 8000CE64 00008CA4 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CE68 00008CA8 28 00 00 05 */ cmplwi r0, 0x5
/* 8000CE6C 00008CAC 40 82 00 64 */ bne lbl_8000CED0
/* 8000CE70 00008CB0 7F 63 DB 78 */ mr r3, r27
/* 8000CE74 00008CB4 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CE78 00008CB8 4B FF 9C 31 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CE7C 00008CBC 2C 1C 00 00 */ cmpwi r28, 0x0
/* 8000CE80 00008CC0 80 83 00 00 */ lwz r4, 0x0(r3)
/* 8000CE84 00008CC4 41 82 00 24 */ beq lbl_8000CEA8
/* 8000CE88 00008CC8 2C 04 00 00 */ cmpwi r4, 0x0
/* 8000CE8C 00008CCC 40 82 00 1C */ bne lbl_8000CEA8
/* 8000CE90 00008CD0 38 60 00 00 */ li r3, 0x0
/* 8000CE94 00008CD4 38 80 00 00 */ li r4, 0x0
/* 8000CE98 00008CD8 38 A0 FF FF */ li r5, -0x1
2022-10-16 16:31:36 +00:00
/* 8000CE9C 00008CDC 48 00 36 C1 */ bl __msl_runtime_constraint_violation_s
2022-10-16 16:05:58 +00:00
/* 8000CEA0 00008CE0 38 60 FF FF */ li r3, -0x1
/* 8000CEA4 00008CE4 48 00 03 BC */ b lbl_8000D260
.global lbl_8000CEA8
lbl_8000CEA8:
/* 8000CEA8 00008CE8 2C 04 00 00 */ cmpwi r4, 0x0
/* 8000CEAC 00008CEC 40 82 00 08 */ bne lbl_8000CEB4
2022-10-16 16:31:36 +00:00
/* 8000CEB0 00008CF0 38 8D 80 20 */ addi r4, r13, "@wstringBase0_80556440"@sda21
2022-10-16 16:05:58 +00:00
.global lbl_8000CEB4
lbl_8000CEB4:
/* 8000CEB4 00008CF4 38 61 00 80 */ addi r3, r1, 0x80
/* 8000CEB8 00008CF8 38 A0 02 00 */ li r5, 0x200
2022-10-16 16:31:36 +00:00
/* 8000CEBC 00008CFC 4B FF DD D9 */ bl wcstombs
2022-10-16 16:05:58 +00:00
/* 8000CEC0 00008D00 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CEC4 00008D04 41 80 01 AC */ blt lbl_8000D070
/* 8000CEC8 00008D08 3A 41 00 80 */ addi r18, r1, 0x80
/* 8000CECC 00008D0C 48 00 00 14 */ b lbl_8000CEE0
.global lbl_8000CED0
lbl_8000CED0:
/* 8000CED0 00008D10 7F 63 DB 78 */ mr r3, r27
/* 8000CED4 00008D14 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CED8 00008D18 4B FF 9B D1 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CEDC 00008D1C 82 43 00 00 */ lwz r18, 0x0(r3)
.global lbl_8000CEE0
lbl_8000CEE0:
/* 8000CEE0 00008D20 2C 1C 00 00 */ cmpwi r28, 0x0
/* 8000CEE4 00008D24 41 82 00 24 */ beq lbl_8000CF08
/* 8000CEE8 00008D28 2C 12 00 00 */ cmpwi r18, 0x0
/* 8000CEEC 00008D2C 40 82 00 1C */ bne lbl_8000CF08
/* 8000CEF0 00008D30 38 60 00 00 */ li r3, 0x0
/* 8000CEF4 00008D34 38 80 00 00 */ li r4, 0x0
/* 8000CEF8 00008D38 38 A0 FF FF */ li r5, -0x1
2022-10-16 16:31:36 +00:00
/* 8000CEFC 00008D3C 48 00 36 61 */ bl __msl_runtime_constraint_violation_s
2022-10-16 16:05:58 +00:00
/* 8000CF00 00008D40 38 60 FF FF */ li r3, -0x1
/* 8000CF04 00008D44 48 00 03 5C */ b lbl_8000D260
.global lbl_8000CF08
lbl_8000CF08:
/* 8000CF08 00008D48 2C 12 00 00 */ cmpwi r18, 0x0
/* 8000CF0C 00008D4C 40 82 00 08 */ bne lbl_8000CF14
/* 8000CF10 00008D50 3A 56 00 24 */ addi r18, r22, 0x24
.global lbl_8000CF14
lbl_8000CF14:
/* 8000CF14 00008D54 88 01 00 73 */ lbz r0, 0x73(r1)
/* 8000CF18 00008D58 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000CF1C 00008D5C 41 82 00 2C */ beq lbl_8000CF48
/* 8000CF20 00008D60 88 01 00 72 */ lbz r0, 0x72(r1)
/* 8000CF24 00008D64 8A 72 00 00 */ lbz r19, 0x0(r18)
/* 8000CF28 00008D68 3A 52 00 01 */ addi r18, r18, 0x1
/* 8000CF2C 00008D6C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000CF30 00008D70 41 82 01 84 */ beq lbl_8000D0B4
/* 8000CF34 00008D74 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8000CF38 00008D78 7C 13 00 00 */ cmpw r19, r0
/* 8000CF3C 00008D7C 40 81 01 78 */ ble lbl_8000D0B4
/* 8000CF40 00008D80 7C 13 03 78 */ mr r19, r0
/* 8000CF44 00008D84 48 00 01 70 */ b lbl_8000D0B4
.global lbl_8000CF48
lbl_8000CF48:
/* 8000CF48 00008D88 88 01 00 72 */ lbz r0, 0x72(r1)
/* 8000CF4C 00008D8C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000CF50 00008D90 41 82 00 28 */ beq lbl_8000CF78
/* 8000CF54 00008D94 82 61 00 7C */ lwz r19, 0x7c(r1)
/* 8000CF58 00008D98 7E 43 93 78 */ mr r3, r18
/* 8000CF5C 00008D9C 38 80 00 00 */ li r4, 0x0
/* 8000CF60 00008DA0 7E 65 9B 78 */ mr r5, r19
2022-10-16 16:31:36 +00:00
/* 8000CF64 00008DA4 4B FF DE B5 */ bl memchr
2022-10-16 16:05:58 +00:00
/* 8000CF68 00008DA8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000CF6C 00008DAC 41 82 01 48 */ beq lbl_8000D0B4
/* 8000CF70 00008DB0 7E 72 18 50 */ subf r19, r18, r3
/* 8000CF74 00008DB4 48 00 01 40 */ b lbl_8000D0B4
.global lbl_8000CF78
lbl_8000CF78:
/* 8000CF78 00008DB8 7E 43 93 78 */ mr r3, r18
2022-10-16 16:31:36 +00:00
/* 8000CF7C 00008DBC 4B FF 9B 11 */ bl strlen
2022-10-16 16:05:58 +00:00
/* 8000CF80 00008DC0 7C 73 1B 78 */ mr r19, r3
/* 8000CF84 00008DC4 48 00 01 30 */ b lbl_8000D0B4
.global lbl_8000CF88
lbl_8000CF88:
/* 8000CF88 00008DC8 7F 63 DB 78 */ mr r3, r27
/* 8000CF8C 00008DCC 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000CF90 00008DD0 4B FF 9B 19 */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000CF94 00008DD4 2C 1C 00 00 */ cmpwi r28, 0x0
/* 8000CF98 00008DD8 80 63 00 00 */ lwz r3, 0x0(r3)
/* 8000CF9C 00008DDC 41 82 00 1C */ beq lbl_8000CFB8
/* 8000CFA0 00008DE0 38 60 00 00 */ li r3, 0x0
/* 8000CFA4 00008DE4 38 80 00 00 */ li r4, 0x0
/* 8000CFA8 00008DE8 38 A0 FF FF */ li r5, -0x1
2022-10-16 16:31:36 +00:00
/* 8000CFAC 00008DEC 48 00 35 B1 */ bl __msl_runtime_constraint_violation_s
2022-10-16 16:05:58 +00:00
/* 8000CFB0 00008DF0 38 60 FF FF */ li r3, -0x1
/* 8000CFB4 00008DF4 48 00 02 AC */ b lbl_8000D260
.global lbl_8000CFB8
lbl_8000CFB8:
/* 8000CFB8 00008DF8 88 01 00 74 */ lbz r0, 0x74(r1)
/* 8000CFBC 00008DFC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000CFC0 00008E00 41 82 00 38 */ beq lbl_8000CFF8
/* 8000CFC4 00008E04 2C 00 00 02 */ cmpwi r0, 0x2
/* 8000CFC8 00008E08 41 82 00 38 */ beq lbl_8000D000
/* 8000CFCC 00008E0C 2C 00 00 03 */ cmpwi r0, 0x3
/* 8000CFD0 00008E10 41 82 00 38 */ beq lbl_8000D008
/* 8000CFD4 00008E14 2C 00 00 06 */ cmpwi r0, 0x6
/* 8000CFD8 00008E18 41 82 00 38 */ beq lbl_8000D010
/* 8000CFDC 00008E1C 2C 00 00 07 */ cmpwi r0, 0x7
/* 8000CFE0 00008E20 41 82 00 40 */ beq lbl_8000D020
/* 8000CFE4 00008E24 2C 00 00 08 */ cmpwi r0, 0x8
/* 8000CFE8 00008E28 41 82 00 40 */ beq lbl_8000D028
/* 8000CFEC 00008E2C 2C 00 00 04 */ cmpwi r0, 0x4
/* 8000CFF0 00008E30 41 82 00 40 */ beq lbl_8000D030
/* 8000CFF4 00008E34 48 00 02 5C */ b lbl_8000D250
.global lbl_8000CFF8
lbl_8000CFF8:
/* 8000CFF8 00008E38 92 23 00 00 */ stw r17, 0x0(r3)
/* 8000CFFC 00008E3C 48 00 02 54 */ b lbl_8000D250
.global lbl_8000D000
lbl_8000D000:
/* 8000D000 00008E40 B2 23 00 00 */ sth r17, 0x0(r3)
/* 8000D004 00008E44 48 00 02 4C */ b lbl_8000D250
.global lbl_8000D008
lbl_8000D008:
/* 8000D008 00008E48 92 23 00 00 */ stw r17, 0x0(r3)
/* 8000D00C 00008E4C 48 00 02 44 */ b lbl_8000D250
.global lbl_8000D010
lbl_8000D010:
/* 8000D010 00008E50 92 23 00 04 */ stw r17, 0x4(r3)
/* 8000D014 00008E54 7E 20 FE 70 */ srawi r0, r17, 31
/* 8000D018 00008E58 90 03 00 00 */ stw r0, 0x0(r3)
/* 8000D01C 00008E5C 48 00 02 34 */ b lbl_8000D250
.global lbl_8000D020
lbl_8000D020:
/* 8000D020 00008E60 92 23 00 00 */ stw r17, 0x0(r3)
/* 8000D024 00008E64 48 00 02 2C */ b lbl_8000D250
.global lbl_8000D028
lbl_8000D028:
/* 8000D028 00008E68 92 23 00 00 */ stw r17, 0x0(r3)
/* 8000D02C 00008E6C 48 00 02 24 */ b lbl_8000D250
.global lbl_8000D030
lbl_8000D030:
/* 8000D030 00008E70 92 23 00 04 */ stw r17, 0x4(r3)
/* 8000D034 00008E74 7E 20 FE 70 */ srawi r0, r17, 31
/* 8000D038 00008E78 90 03 00 00 */ stw r0, 0x0(r3)
/* 8000D03C 00008E7C 48 00 02 14 */ b lbl_8000D250
.global lbl_8000D040
lbl_8000D040:
/* 8000D040 00008E80 7F 63 DB 78 */ mr r3, r27
/* 8000D044 00008E84 3A 41 00 80 */ addi r18, r1, 0x80
/* 8000D048 00008E88 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8000D04C 00008E8C 4B FF 9A 5D */ bl __va_arg
2022-10-16 16:05:58 +00:00
/* 8000D050 00008E90 80 03 00 00 */ lwz r0, 0x0(r3)
/* 8000D054 00008E94 3A 60 00 01 */ li r19, 0x1
/* 8000D058 00008E98 98 01 00 80 */ stb r0, 0x80(r1)
/* 8000D05C 00008E9C 48 00 00 58 */ b lbl_8000D0B4
.global lbl_8000D060
lbl_8000D060:
/* 8000D060 00008EA0 9A E1 00 80 */ stb r23, 0x80(r1)
/* 8000D064 00008EA4 3A 41 00 80 */ addi r18, r1, 0x80
/* 8000D068 00008EA8 3A 60 00 01 */ li r19, 0x1
/* 8000D06C 00008EAC 48 00 00 48 */ b lbl_8000D0B4
.global lbl_8000D070
lbl_8000D070:
/* 8000D070 00008EB0 7E 03 83 78 */ mr r3, r16
2022-10-16 16:31:36 +00:00
/* 8000D074 00008EB4 4B FF 9A 19 */ bl strlen
2022-10-16 16:05:58 +00:00
/* 8000D078 00008EB8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D07C 00008EBC 7C 65 1B 78 */ mr r5, r3
/* 8000D080 00008EC0 7E 31 1A 14 */ add r17, r17, r3
/* 8000D084 00008EC4 41 82 00 28 */ beq lbl_8000D0AC
/* 8000D088 00008EC8 7F 2C CB 78 */ mr r12, r25
/* 8000D08C 00008ECC 7F 43 D3 78 */ mr r3, r26
/* 8000D090 00008ED0 7E 04 83 78 */ mr r4, r16
/* 8000D094 00008ED4 7D 89 03 A6 */ mtctr r12
/* 8000D098 00008ED8 4E 80 04 21 */ bctrl
/* 8000D09C 00008EDC 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D0A0 00008EE0 40 82 00 0C */ bne lbl_8000D0AC
/* 8000D0A4 00008EE4 38 60 FF FF */ li r3, -0x1
/* 8000D0A8 00008EE8 48 00 01 B8 */ b lbl_8000D260
.global lbl_8000D0AC
lbl_8000D0AC:
/* 8000D0AC 00008EEC 7E 23 8B 78 */ mr r3, r17
/* 8000D0B0 00008EF0 48 00 01 B0 */ b lbl_8000D260
.global lbl_8000D0B4
lbl_8000D0B4:
/* 8000D0B4 00008EF4 88 01 00 70 */ lbz r0, 0x70(r1)
/* 8000D0B8 00008EF8 7E 70 9B 78 */ mr r16, r19
/* 8000D0BC 00008EFC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000D0C0 00008F00 41 82 01 10 */ beq lbl_8000D1D0
/* 8000D0C4 00008F04 28 00 00 02 */ cmplwi r0, 0x2
/* 8000D0C8 00008F08 38 60 00 20 */ li r3, 0x20
/* 8000D0CC 00008F0C 40 82 00 08 */ bne lbl_8000D0D4
/* 8000D0D0 00008F10 38 60 00 30 */ li r3, 0x30
.global lbl_8000D0D4
lbl_8000D0D4:
/* 8000D0D4 00008F14 98 61 00 09 */ stb r3, 0x9(r1)
/* 8000D0D8 00008F18 88 12 00 00 */ lbz r0, 0x0(r18)
/* 8000D0DC 00008F1C 7C 00 07 74 */ extsb r0, r0
/* 8000D0E0 00008F20 2C 00 00 2B */ cmpwi r0, 0x2b
/* 8000D0E4 00008F24 41 82 00 14 */ beq lbl_8000D0F8
/* 8000D0E8 00008F28 2C 00 00 2D */ cmpwi r0, 0x2d
/* 8000D0EC 00008F2C 41 82 00 0C */ beq lbl_8000D0F8
/* 8000D0F0 00008F30 2C 00 00 20 */ cmpwi r0, 0x20
/* 8000D0F4 00008F34 40 82 00 40 */ bne lbl_8000D134
.global lbl_8000D0F8
lbl_8000D0F8:
/* 8000D0F8 00008F38 7C 60 07 74 */ extsb r0, r3
/* 8000D0FC 00008F3C 2C 00 00 30 */ cmpwi r0, 0x30
/* 8000D100 00008F40 40 82 00 34 */ bne lbl_8000D134
/* 8000D104 00008F44 7F 2C CB 78 */ mr r12, r25
/* 8000D108 00008F48 7F 43 D3 78 */ mr r3, r26
/* 8000D10C 00008F4C 7E 44 93 78 */ mr r4, r18
/* 8000D110 00008F50 38 A0 00 01 */ li r5, 0x1
/* 8000D114 00008F54 7D 89 03 A6 */ mtctr r12
/* 8000D118 00008F58 4E 80 04 21 */ bctrl
/* 8000D11C 00008F5C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D120 00008F60 40 82 00 0C */ bne lbl_8000D12C
/* 8000D124 00008F64 38 60 FF FF */ li r3, -0x1
/* 8000D128 00008F68 48 00 01 38 */ b lbl_8000D260
.global lbl_8000D12C
lbl_8000D12C:
/* 8000D12C 00008F6C 3A 52 00 01 */ addi r18, r18, 0x1
/* 8000D130 00008F70 3A 73 FF FF */ addi r19, r19, -0x1
.global lbl_8000D134
lbl_8000D134:
/* 8000D134 00008F74 88 01 00 70 */ lbz r0, 0x70(r1)
/* 8000D138 00008F78 28 00 00 02 */ cmplwi r0, 0x2
/* 8000D13C 00008F7C 40 82 00 88 */ bne lbl_8000D1C4
/* 8000D140 00008F80 88 01 00 75 */ lbz r0, 0x75(r1)
/* 8000D144 00008F84 28 00 00 61 */ cmplwi r0, 0x61
/* 8000D148 00008F88 41 82 00 0C */ beq lbl_8000D154
/* 8000D14C 00008F8C 28 00 00 41 */ cmplwi r0, 0x41
/* 8000D150 00008F90 40 82 00 74 */ bne lbl_8000D1C4
.global lbl_8000D154
lbl_8000D154:
/* 8000D154 00008F94 2C 13 00 02 */ cmpwi r19, 0x2
/* 8000D158 00008F98 40 80 00 0C */ bge lbl_8000D164
/* 8000D15C 00008F9C 38 60 FF FF */ li r3, -0x1
/* 8000D160 00008FA0 48 00 01 00 */ b lbl_8000D260
.global lbl_8000D164
lbl_8000D164:
/* 8000D164 00008FA4 7F 2C CB 78 */ mr r12, r25
/* 8000D168 00008FA8 7F 43 D3 78 */ mr r3, r26
/* 8000D16C 00008FAC 7E 44 93 78 */ mr r4, r18
/* 8000D170 00008FB0 38 A0 00 02 */ li r5, 0x2
/* 8000D174 00008FB4 7D 89 03 A6 */ mtctr r12
/* 8000D178 00008FB8 4E 80 04 21 */ bctrl
/* 8000D17C 00008FBC 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D180 00008FC0 40 82 00 0C */ bne lbl_8000D18C
/* 8000D184 00008FC4 38 60 FF FF */ li r3, -0x1
/* 8000D188 00008FC8 48 00 00 D8 */ b lbl_8000D260
.global lbl_8000D18C
lbl_8000D18C:
/* 8000D18C 00008FCC 3A 73 FF FE */ addi r19, r19, -0x2
/* 8000D190 00008FD0 3A 52 00 02 */ addi r18, r18, 0x2
/* 8000D194 00008FD4 48 00 00 30 */ b lbl_8000D1C4
.global lbl_8000D198
lbl_8000D198:
/* 8000D198 00008FD8 7F 2C CB 78 */ mr r12, r25
/* 8000D19C 00008FDC 7F 43 D3 78 */ mr r3, r26
/* 8000D1A0 00008FE0 38 81 00 09 */ addi r4, r1, 0x9
/* 8000D1A4 00008FE4 38 A0 00 01 */ li r5, 0x1
/* 8000D1A8 00008FE8 7D 89 03 A6 */ mtctr r12
/* 8000D1AC 00008FEC 4E 80 04 21 */ bctrl
/* 8000D1B0 00008FF0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D1B4 00008FF4 40 82 00 0C */ bne lbl_8000D1C0
/* 8000D1B8 00008FF8 38 60 FF FF */ li r3, -0x1
/* 8000D1BC 00008FFC 48 00 00 A4 */ b lbl_8000D260
.global lbl_8000D1C0
lbl_8000D1C0:
/* 8000D1C0 00009000 3A 10 00 01 */ addi r16, r16, 0x1
.global lbl_8000D1C4
lbl_8000D1C4:
/* 8000D1C4 00009004 80 01 00 78 */ lwz r0, 0x78(r1)
/* 8000D1C8 00009008 7C 10 00 00 */ cmpw r16, r0
/* 8000D1CC 0000900C 41 80 FF CC */ blt lbl_8000D198
.global lbl_8000D1D0
lbl_8000D1D0:
/* 8000D1D0 00009010 2C 13 00 00 */ cmpwi r19, 0x0
/* 8000D1D4 00009014 41 82 00 2C */ beq lbl_8000D200
/* 8000D1D8 00009018 7F 2C CB 78 */ mr r12, r25
/* 8000D1DC 0000901C 7F 43 D3 78 */ mr r3, r26
/* 8000D1E0 00009020 7E 44 93 78 */ mr r4, r18
/* 8000D1E4 00009024 7E 65 9B 78 */ mr r5, r19
/* 8000D1E8 00009028 7D 89 03 A6 */ mtctr r12
/* 8000D1EC 0000902C 4E 80 04 21 */ bctrl
/* 8000D1F0 00009030 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D1F4 00009034 40 82 00 0C */ bne lbl_8000D200
/* 8000D1F8 00009038 38 60 FF FF */ li r3, -0x1
/* 8000D1FC 0000903C 48 00 00 64 */ b lbl_8000D260
.global lbl_8000D200
lbl_8000D200:
/* 8000D200 00009040 88 01 00 70 */ lbz r0, 0x70(r1)
/* 8000D204 00009044 2C 00 00 00 */ cmpwi r0, 0x0
/* 8000D208 00009048 40 82 00 44 */ bne lbl_8000D24C
/* 8000D20C 0000904C 48 00 00 34 */ b lbl_8000D240
.global lbl_8000D210
lbl_8000D210:
/* 8000D210 00009050 7F 2C CB 78 */ mr r12, r25
/* 8000D214 00009054 7F 43 D3 78 */ mr r3, r26
/* 8000D218 00009058 9B 01 00 08 */ stb r24, 0x8(r1)
/* 8000D21C 0000905C 38 81 00 08 */ addi r4, r1, 0x8
/* 8000D220 00009060 38 A0 00 01 */ li r5, 0x1
/* 8000D224 00009064 7D 89 03 A6 */ mtctr r12
/* 8000D228 00009068 4E 80 04 21 */ bctrl
/* 8000D22C 0000906C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D230 00009070 40 82 00 0C */ bne lbl_8000D23C
/* 8000D234 00009074 38 60 FF FF */ li r3, -0x1
/* 8000D238 00009078 48 00 00 28 */ b lbl_8000D260
.global lbl_8000D23C
lbl_8000D23C:
/* 8000D23C 0000907C 3A 10 00 01 */ addi r16, r16, 0x1
.global lbl_8000D240
lbl_8000D240:
/* 8000D240 00009080 80 01 00 78 */ lwz r0, 0x78(r1)
/* 8000D244 00009084 7C 10 00 00 */ cmpw r16, r0
/* 8000D248 00009088 41 80 FF C8 */ blt lbl_8000D210
.global lbl_8000D24C
lbl_8000D24C:
/* 8000D24C 0000908C 7E 31 82 14 */ add r17, r17, r16
.global lbl_8000D250
lbl_8000D250:
/* 8000D250 00009090 88 0F 00 00 */ lbz r0, 0x0(r15)
/* 8000D254 00009094 7C 00 07 75 */ extsb. r0, r0
/* 8000D258 00009098 40 82 F7 B8 */ bne lbl_8000CA10
.global lbl_8000D25C
lbl_8000D25C:
/* 8000D25C 0000909C 7E 23 8B 78 */ mr r3, r17
.global lbl_8000D260
lbl_8000D260:
/* 8000D260 000090A0 B9 E1 02 8C */ lmw r15, 0x28c(r1)
/* 8000D264 000090A4 80 01 02 D4 */ lwz r0, 0x2d4(r1)
/* 8000D268 000090A8 7C 08 03 A6 */ mtlr r0
/* 8000D26C 000090AC 38 21 02 D0 */ addi r1, r1, 0x2d0
/* 8000D270 000090B0 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __FileWrite
__FileWrite:
2022-10-16 16:05:58 +00:00
/* 8000D274 000090B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8000D278 000090B8 7C 08 02 A6 */ mflr r0
/* 8000D27C 000090BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000D280 000090C0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8000D284 000090C4 7C BF 2B 78 */ mr r31, r5
/* 8000D288 000090C8 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8000D28C 000090CC 7C 7E 1B 78 */ mr r30, r3
/* 8000D290 000090D0 7C 83 23 78 */ mr r3, r4
/* 8000D294 000090D4 38 80 00 01 */ li r4, 0x1
/* 8000D298 000090D8 7F C6 F3 78 */ mr r6, r30
2022-10-16 16:31:36 +00:00
/* 8000D29C 000090DC 4B FF D1 51 */ bl __fwrite
2022-10-16 16:05:58 +00:00
/* 8000D2A0 000090E0 7C 1F 18 40 */ cmplw r31, r3
/* 8000D2A4 000090E4 40 82 00 08 */ bne lbl_8000D2AC
/* 8000D2A8 000090E8 48 00 00 08 */ b lbl_8000D2B0
.global lbl_8000D2AC
lbl_8000D2AC:
/* 8000D2AC 000090EC 3B C0 00 00 */ li r30, 0x0
.global lbl_8000D2B0
lbl_8000D2B0:
/* 8000D2B0 000090F0 7F C3 F3 78 */ mr r3, r30
/* 8000D2B4 000090F4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8000D2B8 000090F8 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8000D2BC 000090FC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8000D2C0 00009100 7C 08 03 A6 */ mtlr r0
/* 8000D2C4 00009104 38 21 00 10 */ addi r1, r1, 0x10
/* 8000D2C8 00009108 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __StringWrite
__StringWrite:
2022-10-16 16:05:58 +00:00
/* 8000D2CC 0000910C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8000D2D0 00009110 7C 08 02 A6 */ mflr r0
/* 8000D2D4 00009114 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000D2D8 00009118 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8000D2DC 0000911C 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8000D2E0 00009120 7C 7E 1B 78 */ mr r30, r3
/* 8000D2E4 00009124 80 C3 00 08 */ lwz r6, 0x8(r3)
/* 8000D2E8 00009128 80 E3 00 04 */ lwz r7, 0x4(r3)
/* 8000D2EC 0000912C 7C 06 2A 14 */ add r0, r6, r5
/* 8000D2F0 00009130 7C 00 38 40 */ cmplw r0, r7
/* 8000D2F4 00009134 7F E6 38 50 */ subf r31, r6, r7
/* 8000D2F8 00009138 41 81 00 08 */ bgt lbl_8000D300
/* 8000D2FC 0000913C 7C BF 2B 78 */ mr r31, r5
.global lbl_8000D300
lbl_8000D300:
/* 8000D300 00009140 80 03 00 00 */ lwz r0, 0x0(r3)
/* 8000D304 00009144 7F E5 FB 78 */ mr r5, r31
/* 8000D308 00009148 7C 60 32 14 */ add r3, r0, r6
2022-10-16 16:31:36 +00:00
/* 8000D30C 0000914C 4B FF 6C F5 */ bl memcpy
2022-10-16 16:05:58 +00:00
/* 8000D310 00009150 80 1E 00 08 */ lwz r0, 0x8(r30)
/* 8000D314 00009154 38 60 00 01 */ li r3, 0x1
/* 8000D318 00009158 7C 00 FA 14 */ add r0, r0, r31
/* 8000D31C 0000915C 90 1E 00 08 */ stw r0, 0x8(r30)
/* 8000D320 00009160 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8000D324 00009164 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8000D328 00009168 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8000D32C 0000916C 7C 08 03 A6 */ mtlr r0
/* 8000D330 00009170 38 21 00 10 */ addi r1, r1, 0x10
/* 8000D334 00009174 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global printf
printf:
2022-10-16 16:05:58 +00:00
/* 8000D338 00009178 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8000D33C 0000917C 7C 08 02 A6 */ mflr r0
/* 8000D340 00009180 90 01 00 84 */ stw r0, 0x84(r1)
/* 8000D344 00009184 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8000D348 00009188 93 C1 00 78 */ stw r30, 0x78(r1)
/* 8000D34C 0000918C 7C 7E 1B 78 */ mr r30, r3
/* 8000D350 00009190 40 86 00 24 */ bne cr1, lbl_8000D374
/* 8000D354 00009194 D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8000D358 00009198 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 8000D35C 0000919C D8 61 00 38 */ stfd f3, 0x38(r1)
/* 8000D360 000091A0 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 8000D364 000091A4 D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8000D368 000091A8 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 8000D36C 000091AC D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 8000D370 000091B0 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_8000D374
lbl_8000D374:
2022-10-16 16:31:36 +00:00
/* 8000D374 000091B4 3F E0 80 42 */ lis r31, __files@ha
2022-10-16 16:05:58 +00:00
/* 8000D378 000091B8 90 81 00 0C */ stw r4, 0xc(r1)
2022-10-16 16:31:36 +00:00
/* 8000D37C 000091BC 3B FF 10 F8 */ addi r31, r31, __files@l
2022-10-16 16:05:58 +00:00
/* 8000D380 000091C0 38 80 FF FF */ li r4, -0x1
/* 8000D384 000091C4 90 61 00 08 */ stw r3, 0x8(r1)
/* 8000D388 000091C8 38 7F 00 50 */ addi r3, r31, 0x50
/* 8000D38C 000091CC 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8000D390 000091D0 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8000D394 000091D4 90 E1 00 18 */ stw r7, 0x18(r1)
/* 8000D398 000091D8 91 01 00 1C */ stw r8, 0x1c(r1)
/* 8000D39C 000091DC 91 21 00 20 */ stw r9, 0x20(r1)
/* 8000D3A0 000091E0 91 41 00 24 */ stw r10, 0x24(r1)
2022-10-16 16:31:36 +00:00
/* 8000D3A4 000091E4 48 00 30 39 */ bl fwide
2022-10-16 16:05:58 +00:00
/* 8000D3A8 000091E8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D3AC 000091EC 41 80 00 0C */ blt lbl_8000D3B8
/* 8000D3B0 000091F0 38 60 FF FF */ li r3, -0x1
/* 8000D3B4 000091F4 48 00 00 38 */ b lbl_8000D3EC
.global lbl_8000D3B8
lbl_8000D3B8:
/* 8000D3B8 000091F8 38 81 00 88 */ addi r4, r1, 0x88
/* 8000D3BC 000091FC 38 01 00 08 */ addi r0, r1, 0x8
/* 8000D3C0 00009200 3C A0 01 00 */ lis r5, 0x100
2022-10-16 16:31:36 +00:00
/* 8000D3C4 00009204 3C 60 80 01 */ lis r3, __FileWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D3C8 00009208 90 A1 00 68 */ stw r5, 0x68(r1)
/* 8000D3CC 0000920C 38 C1 00 68 */ addi r6, r1, 0x68
/* 8000D3D0 00009210 7F C5 F3 78 */ mr r5, r30
2022-10-16 16:31:36 +00:00
/* 8000D3D4 00009214 38 63 D2 74 */ addi r3, r3, __FileWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D3D8 00009218 90 81 00 6C */ stw r4, 0x6c(r1)
/* 8000D3DC 0000921C 38 9F 00 50 */ addi r4, r31, 0x50
/* 8000D3E0 00009220 38 E0 00 00 */ li r7, 0x0
/* 8000D3E4 00009224 90 01 00 70 */ stw r0, 0x70(r1)
2022-10-16 16:31:36 +00:00
/* 8000D3E8 00009228 4B FF F5 E1 */ bl __pformatter
2022-10-16 16:05:58 +00:00
.global lbl_8000D3EC
lbl_8000D3EC:
/* 8000D3EC 0000922C 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8000D3F0 00009230 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8000D3F4 00009234 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 8000D3F8 00009238 7C 08 03 A6 */ mtlr r0
/* 8000D3FC 0000923C 38 21 00 80 */ addi r1, r1, 0x80
/* 8000D400 00009240 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global fprintf
fprintf:
2022-10-16 16:05:58 +00:00
/* 8000D404 00009244 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8000D408 00009248 7C 08 02 A6 */ mflr r0
/* 8000D40C 0000924C 90 01 00 84 */ stw r0, 0x84(r1)
/* 8000D410 00009250 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8000D414 00009254 7C 9F 23 78 */ mr r31, r4
/* 8000D418 00009258 93 C1 00 78 */ stw r30, 0x78(r1)
/* 8000D41C 0000925C 7C 7E 1B 78 */ mr r30, r3
/* 8000D420 00009260 40 86 00 24 */ bne cr1, lbl_8000D444
/* 8000D424 00009264 D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8000D428 00009268 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 8000D42C 0000926C D8 61 00 38 */ stfd f3, 0x38(r1)
/* 8000D430 00009270 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 8000D434 00009274 D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8000D438 00009278 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 8000D43C 0000927C D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 8000D440 00009280 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_8000D444
lbl_8000D444:
/* 8000D444 00009284 90 61 00 08 */ stw r3, 0x8(r1)
/* 8000D448 00009288 7F C3 F3 78 */ mr r3, r30
/* 8000D44C 0000928C 90 81 00 0C */ stw r4, 0xc(r1)
/* 8000D450 00009290 38 80 FF FF */ li r4, -0x1
/* 8000D454 00009294 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8000D458 00009298 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8000D45C 0000929C 90 E1 00 18 */ stw r7, 0x18(r1)
/* 8000D460 000092A0 91 01 00 1C */ stw r8, 0x1c(r1)
/* 8000D464 000092A4 91 21 00 20 */ stw r9, 0x20(r1)
/* 8000D468 000092A8 91 41 00 24 */ stw r10, 0x24(r1)
2022-10-16 16:31:36 +00:00
/* 8000D46C 000092AC 48 00 2F 71 */ bl fwide
2022-10-16 16:05:58 +00:00
/* 8000D470 000092B0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D474 000092B4 41 80 00 0C */ blt lbl_8000D480
/* 8000D478 000092B8 38 60 FF FF */ li r3, -0x1
/* 8000D47C 000092BC 48 00 00 38 */ b lbl_8000D4B4
.global lbl_8000D480
lbl_8000D480:
/* 8000D480 000092C0 38 E1 00 88 */ addi r7, r1, 0x88
/* 8000D484 000092C4 38 01 00 08 */ addi r0, r1, 0x8
/* 8000D488 000092C8 3C 80 02 00 */ lis r4, 0x200
2022-10-16 16:31:36 +00:00
/* 8000D48C 000092CC 3C 60 80 01 */ lis r3, __FileWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D490 000092D0 90 81 00 68 */ stw r4, 0x68(r1)
/* 8000D494 000092D4 38 C1 00 68 */ addi r6, r1, 0x68
/* 8000D498 000092D8 7F C4 F3 78 */ mr r4, r30
/* 8000D49C 000092DC 7F E5 FB 78 */ mr r5, r31
/* 8000D4A0 000092E0 90 E1 00 6C */ stw r7, 0x6c(r1)
2022-10-16 16:31:36 +00:00
/* 8000D4A4 000092E4 38 63 D2 74 */ addi r3, r3, __FileWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D4A8 000092E8 38 E0 00 00 */ li r7, 0x0
/* 8000D4AC 000092EC 90 01 00 70 */ stw r0, 0x70(r1)
2022-10-16 16:31:36 +00:00
/* 8000D4B0 000092F0 4B FF F5 19 */ bl __pformatter
2022-10-16 16:05:58 +00:00
.global lbl_8000D4B4
lbl_8000D4B4:
/* 8000D4B4 000092F4 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8000D4B8 000092F8 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8000D4BC 000092FC 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 8000D4C0 00009300 7C 08 03 A6 */ mtlr r0
/* 8000D4C4 00009304 38 21 00 80 */ addi r1, r1, 0x80
/* 8000D4C8 00009308 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global vprintf
vprintf:
2022-10-16 16:05:58 +00:00
/* 8000D4CC 0000930C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8000D4D0 00009310 7C 08 02 A6 */ mflr r0
/* 8000D4D4 00009314 90 01 00 24 */ stw r0, 0x24(r1)
/* 8000D4D8 00009318 93 E1 00 1C */ stw r31, 0x1c(r1)
2022-10-16 16:31:36 +00:00
/* 8000D4DC 0000931C 3F E0 80 42 */ lis r31, __files@ha
/* 8000D4E0 00009320 3B FF 10 F8 */ addi r31, r31, __files@l
2022-10-16 16:05:58 +00:00
/* 8000D4E4 00009324 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8000D4E8 00009328 7C 9E 23 78 */ mr r30, r4
/* 8000D4EC 0000932C 38 80 FF FF */ li r4, -0x1
/* 8000D4F0 00009330 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8000D4F4 00009334 7C 7D 1B 78 */ mr r29, r3
/* 8000D4F8 00009338 38 7F 00 50 */ addi r3, r31, 0x50
2022-10-16 16:31:36 +00:00
/* 8000D4FC 0000933C 48 00 2E E1 */ bl fwide
2022-10-16 16:05:58 +00:00
/* 8000D500 00009340 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D504 00009344 41 80 00 0C */ blt lbl_8000D510
/* 8000D508 00009348 38 60 FF FF */ li r3, -0x1
/* 8000D50C 0000934C 48 00 00 20 */ b lbl_8000D52C
.global lbl_8000D510
lbl_8000D510:
2022-10-16 16:31:36 +00:00
/* 8000D510 00009350 3C 60 80 01 */ lis r3, __FileWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D514 00009354 7F A5 EB 78 */ mr r5, r29
/* 8000D518 00009358 7F C6 F3 78 */ mr r6, r30
/* 8000D51C 0000935C 38 9F 00 50 */ addi r4, r31, 0x50
2022-10-16 16:31:36 +00:00
/* 8000D520 00009360 38 63 D2 74 */ addi r3, r3, __FileWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D524 00009364 38 E0 00 00 */ li r7, 0x0
2022-10-16 16:31:36 +00:00
/* 8000D528 00009368 4B FF F4 A1 */ bl __pformatter
2022-10-16 16:05:58 +00:00
.global lbl_8000D52C
lbl_8000D52C:
/* 8000D52C 0000936C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8000D530 00009370 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8000D534 00009374 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8000D538 00009378 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8000D53C 0000937C 7C 08 03 A6 */ mtlr r0
/* 8000D540 00009380 38 21 00 20 */ addi r1, r1, 0x20
/* 8000D544 00009384 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global vfprintf
vfprintf:
2022-10-16 16:05:58 +00:00
/* 8000D548 00009388 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8000D54C 0000938C 7C 08 02 A6 */ mflr r0
/* 8000D550 00009390 90 01 00 24 */ stw r0, 0x24(r1)
/* 8000D554 00009394 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8000D558 00009398 7C BF 2B 78 */ mr r31, r5
/* 8000D55C 0000939C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8000D560 000093A0 7C 9E 23 78 */ mr r30, r4
/* 8000D564 000093A4 38 80 FF FF */ li r4, -0x1
/* 8000D568 000093A8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8000D56C 000093AC 7C 7D 1B 78 */ mr r29, r3
2022-10-16 16:31:36 +00:00
/* 8000D570 000093B0 48 00 2E 6D */ bl fwide
2022-10-16 16:05:58 +00:00
/* 8000D574 000093B4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8000D578 000093B8 41 80 00 0C */ blt lbl_8000D584
/* 8000D57C 000093BC 38 60 FF FF */ li r3, -0x1
/* 8000D580 000093C0 48 00 00 20 */ b lbl_8000D5A0
.global lbl_8000D584
lbl_8000D584:
2022-10-16 16:31:36 +00:00
/* 8000D584 000093C4 3C 60 80 01 */ lis r3, __FileWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D588 000093C8 7F A4 EB 78 */ mr r4, r29
/* 8000D58C 000093CC 7F C5 F3 78 */ mr r5, r30
/* 8000D590 000093D0 7F E6 FB 78 */ mr r6, r31
2022-10-16 16:31:36 +00:00
/* 8000D594 000093D4 38 63 D2 74 */ addi r3, r3, __FileWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D598 000093D8 38 E0 00 00 */ li r7, 0x0
2022-10-16 16:31:36 +00:00
/* 8000D59C 000093DC 4B FF F4 2D */ bl __pformatter
2022-10-16 16:05:58 +00:00
.global lbl_8000D5A0
lbl_8000D5A0:
/* 8000D5A0 000093E0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8000D5A4 000093E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8000D5A8 000093E8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8000D5AC 000093EC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8000D5B0 000093F0 7C 08 03 A6 */ mtlr r0
/* 8000D5B4 000093F4 38 21 00 20 */ addi r1, r1, 0x20
/* 8000D5B8 000093F8 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global vsnprintf
vsnprintf:
2022-10-16 16:05:58 +00:00
/* 8000D5BC 000093FC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8000D5C0 00009400 7C 08 02 A6 */ mflr r0
2022-10-16 16:31:36 +00:00
/* 8000D5C4 00009404 3C E0 80 01 */ lis r7, __StringWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D5C8 00009408 90 01 00 34 */ stw r0, 0x34(r1)
/* 8000D5CC 0000940C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8000D5D0 00009410 3B E0 00 00 */ li r31, 0x0
/* 8000D5D4 00009414 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8000D5D8 00009418 7C 9E 23 78 */ mr r30, r4
/* 8000D5DC 0000941C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8000D5E0 00009420 7C 7D 1B 78 */ mr r29, r3
/* 8000D5E4 00009424 90 61 00 08 */ stw r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 8000D5E8 00009428 38 67 D2 CC */ addi r3, r7, __StringWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D5EC 0000942C 38 E0 00 00 */ li r7, 0x0
/* 8000D5F0 00009430 90 81 00 0C */ stw r4, 0xc(r1)
/* 8000D5F4 00009434 38 81 00 08 */ addi r4, r1, 0x8
/* 8000D5F8 00009438 93 E1 00 10 */ stw r31, 0x10(r1)
2022-10-16 16:31:36 +00:00
/* 8000D5FC 0000943C 4B FF F3 CD */ bl __pformatter
2022-10-16 16:05:58 +00:00
/* 8000D600 00009440 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8000D604 00009444 41 82 00 24 */ beq lbl_8000D628
/* 8000D608 00009448 7C 03 F0 40 */ cmplw r3, r30
/* 8000D60C 0000944C 40 80 00 0C */ bge lbl_8000D618
/* 8000D610 00009450 7F FD 19 AE */ stbx r31, r29, r3
/* 8000D614 00009454 48 00 00 14 */ b lbl_8000D628
.global lbl_8000D618
lbl_8000D618:
/* 8000D618 00009458 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8000D61C 0000945C 41 82 00 0C */ beq lbl_8000D628
/* 8000D620 00009460 7C 9D F2 14 */ add r4, r29, r30
/* 8000D624 00009464 9B E4 FF FF */ stb r31, -0x1(r4)
.global lbl_8000D628
lbl_8000D628:
/* 8000D628 00009468 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8000D62C 0000946C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8000D630 00009470 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8000D634 00009474 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8000D638 00009478 7C 08 03 A6 */ mtlr r0
/* 8000D63C 0000947C 38 21 00 30 */ addi r1, r1, 0x30
/* 8000D640 00009480 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global vsprintf
vsprintf:
2022-10-16 16:05:58 +00:00
/* 8000D644 00009484 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8000D648 00009488 7C 08 02 A6 */ mflr r0
/* 8000D64C 0000948C 7C A6 2B 78 */ mr r6, r5
/* 8000D650 00009490 7C 85 23 78 */ mr r5, r4
/* 8000D654 00009494 90 01 00 34 */ stw r0, 0x34(r1)
2022-10-16 16:31:36 +00:00
/* 8000D658 00009498 3C E0 80 01 */ lis r7, __StringWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D65C 0000949C 38 81 00 08 */ addi r4, r1, 0x8
/* 8000D660 000094A0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8000D664 000094A4 3B E0 00 00 */ li r31, 0x0
/* 8000D668 000094A8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8000D66C 000094AC 3B C0 FF FF */ li r30, -0x1
/* 8000D670 000094B0 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8000D674 000094B4 7C 7D 1B 78 */ mr r29, r3
/* 8000D678 000094B8 90 61 00 08 */ stw r3, 0x8(r1)
2022-10-16 16:31:36 +00:00
/* 8000D67C 000094BC 38 67 D2 CC */ addi r3, r7, __StringWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D680 000094C0 38 E0 00 00 */ li r7, 0x0
/* 8000D684 000094C4 93 C1 00 0C */ stw r30, 0xc(r1)
/* 8000D688 000094C8 93 E1 00 10 */ stw r31, 0x10(r1)
2022-10-16 16:31:36 +00:00
/* 8000D68C 000094CC 4B FF F3 3D */ bl __pformatter
2022-10-16 16:05:58 +00:00
/* 8000D690 000094D0 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8000D694 000094D4 41 82 00 18 */ beq lbl_8000D6AC
/* 8000D698 000094D8 7C 03 F0 40 */ cmplw r3, r30
/* 8000D69C 000094DC 40 80 00 0C */ bge lbl_8000D6A8
/* 8000D6A0 000094E0 7F FD 19 AE */ stbx r31, r29, r3
/* 8000D6A4 000094E4 48 00 00 08 */ b lbl_8000D6AC
.global lbl_8000D6A8
lbl_8000D6A8:
/* 8000D6A8 000094E8 9B FD FF FE */ stb r31, -0x2(r29)
.global lbl_8000D6AC
lbl_8000D6AC:
/* 8000D6AC 000094EC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8000D6B0 000094F0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8000D6B4 000094F4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8000D6B8 000094F8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8000D6BC 000094FC 7C 08 03 A6 */ mtlr r0
/* 8000D6C0 00009500 38 21 00 30 */ addi r1, r1, 0x30
/* 8000D6C4 00009504 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global snprintf
snprintf:
2022-10-16 16:05:58 +00:00
/* 8000D6C8 00009508 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8000D6CC 0000950C 7C 08 02 A6 */ mflr r0
/* 8000D6D0 00009510 90 01 00 94 */ stw r0, 0x94(r1)
/* 8000D6D4 00009514 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 8000D6D8 00009518 93 C1 00 88 */ stw r30, 0x88(r1)
/* 8000D6DC 0000951C 93 A1 00 84 */ stw r29, 0x84(r1)
/* 8000D6E0 00009520 7C 9D 23 78 */ mr r29, r4
/* 8000D6E4 00009524 93 81 00 80 */ stw r28, 0x80(r1)
/* 8000D6E8 00009528 7C 7C 1B 78 */ mr r28, r3
/* 8000D6EC 0000952C 40 86 00 24 */ bne cr1, lbl_8000D710
/* 8000D6F0 00009530 D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8000D6F4 00009534 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 8000D6F8 00009538 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 8000D6FC 0000953C D8 81 00 40 */ stfd f4, 0x40(r1)
/* 8000D700 00009540 D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8000D704 00009544 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 8000D708 00009548 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 8000D70C 0000954C D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_8000D710
lbl_8000D710:
/* 8000D710 00009550 39 81 00 98 */ addi r12, r1, 0x98
/* 8000D714 00009554 38 01 00 08 */ addi r0, r1, 0x8
/* 8000D718 00009558 3F C0 03 00 */ lis r30, 0x300
/* 8000D71C 0000955C 90 E1 00 18 */ stw r7, 0x18(r1)
/* 8000D720 00009560 3B E0 00 00 */ li r31, 0x0
/* 8000D724 00009564 38 E1 00 74 */ addi r7, r1, 0x74
/* 8000D728 00009568 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8000D72C 0000956C 7C E6 3B 78 */ mr r6, r7
2022-10-16 16:31:36 +00:00
/* 8000D730 00009570 3D 60 80 01 */ lis r11, __StringWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D734 00009574 38 E0 00 00 */ li r7, 0x0
/* 8000D738 00009578 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8000D73C 0000957C 90 61 00 08 */ stw r3, 0x8(r1)
/* 8000D740 00009580 90 61 00 68 */ stw r3, 0x68(r1)
2022-10-16 16:31:36 +00:00
/* 8000D744 00009584 38 6B D2 CC */ addi r3, r11, __StringWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D748 00009588 90 81 00 0C */ stw r4, 0xc(r1)
/* 8000D74C 0000958C 90 81 00 6C */ stw r4, 0x6c(r1)
/* 8000D750 00009590 38 81 00 68 */ addi r4, r1, 0x68
/* 8000D754 00009594 91 01 00 1C */ stw r8, 0x1c(r1)
/* 8000D758 00009598 91 21 00 20 */ stw r9, 0x20(r1)
/* 8000D75C 0000959C 91 41 00 24 */ stw r10, 0x24(r1)
/* 8000D760 000095A0 93 C1 00 74 */ stw r30, 0x74(r1)
/* 8000D764 000095A4 91 81 00 78 */ stw r12, 0x78(r1)
/* 8000D768 000095A8 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8000D76C 000095AC 93 E1 00 70 */ stw r31, 0x70(r1)
2022-10-16 16:31:36 +00:00
/* 8000D770 000095B0 4B FF F2 59 */ bl __pformatter
2022-10-16 16:05:58 +00:00
/* 8000D774 000095B4 2C 1C 00 00 */ cmpwi r28, 0x0
/* 8000D778 000095B8 41 82 00 24 */ beq lbl_8000D79C
/* 8000D77C 000095BC 7C 03 E8 40 */ cmplw r3, r29
/* 8000D780 000095C0 40 80 00 0C */ bge lbl_8000D78C
/* 8000D784 000095C4 7F FC 19 AE */ stbx r31, r28, r3
/* 8000D788 000095C8 48 00 00 14 */ b lbl_8000D79C
.global lbl_8000D78C
lbl_8000D78C:
/* 8000D78C 000095CC 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8000D790 000095D0 41 82 00 0C */ beq lbl_8000D79C
/* 8000D794 000095D4 7C 9C EA 14 */ add r4, r28, r29
/* 8000D798 000095D8 9B E4 FF FF */ stb r31, -0x1(r4)
.global lbl_8000D79C
lbl_8000D79C:
/* 8000D79C 000095DC 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8000D7A0 000095E0 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8000D7A4 000095E4 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8000D7A8 000095E8 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 8000D7AC 000095EC 83 81 00 80 */ lwz r28, 0x80(r1)
/* 8000D7B0 000095F0 7C 08 03 A6 */ mtlr r0
/* 8000D7B4 000095F4 38 21 00 90 */ addi r1, r1, 0x90
/* 8000D7B8 000095F8 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global sprintf
sprintf:
2022-10-16 16:05:58 +00:00
/* 8000D7BC 000095FC 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8000D7C0 00009600 7C 08 02 A6 */ mflr r0
/* 8000D7C4 00009604 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8000D7C8 00009608 BF 61 00 8C */ stmw r27, 0x8c(r1)
/* 8000D7CC 0000960C 7C 7B 1B 78 */ mr r27, r3
/* 8000D7D0 00009610 40 86 00 24 */ bne cr1, lbl_8000D7F4
/* 8000D7D4 00009614 D8 21 00 28 */ stfd f1, 0x28(r1)
/* 8000D7D8 00009618 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 8000D7DC 0000961C D8 61 00 38 */ stfd f3, 0x38(r1)
/* 8000D7E0 00009620 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 8000D7E4 00009624 D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 8000D7E8 00009628 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 8000D7EC 0000962C D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 8000D7F0 00009630 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_8000D7F4
lbl_8000D7F4:
/* 8000D7F4 00009634 39 81 00 A8 */ addi r12, r1, 0xa8
/* 8000D7F8 00009638 38 01 00 08 */ addi r0, r1, 0x8
/* 8000D7FC 0000963C 3F A0 02 00 */ lis r29, 0x200
/* 8000D800 00009640 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8000D804 00009644 3B C0 FF FF */ li r30, -0x1
/* 8000D808 00009648 3B E0 00 00 */ li r31, 0x0
/* 8000D80C 0000964C 90 E1 00 18 */ stw r7, 0x18(r1)
/* 8000D810 00009650 3B 81 00 74 */ addi r28, r1, 0x74
2022-10-16 16:31:36 +00:00
/* 8000D814 00009654 3D 60 80 01 */ lis r11, __StringWrite@ha
2022-10-16 16:05:58 +00:00
/* 8000D818 00009658 7C 85 23 78 */ mr r5, r4
/* 8000D81C 0000965C 90 81 00 0C */ stw r4, 0xc(r1)
/* 8000D820 00009660 38 81 00 68 */ addi r4, r1, 0x68
/* 8000D824 00009664 38 E0 00 00 */ li r7, 0x0
/* 8000D828 00009668 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8000D82C 0000966C 7F 86 E3 78 */ mr r6, r28
/* 8000D830 00009670 90 61 00 08 */ stw r3, 0x8(r1)
/* 8000D834 00009674 90 61 00 68 */ stw r3, 0x68(r1)
2022-10-16 16:31:36 +00:00
/* 8000D838 00009678 38 6B D2 CC */ addi r3, r11, __StringWrite@l
2022-10-16 16:05:58 +00:00
/* 8000D83C 0000967C 91 01 00 1C */ stw r8, 0x1c(r1)
/* 8000D840 00009680 91 21 00 20 */ stw r9, 0x20(r1)
/* 8000D844 00009684 91 41 00 24 */ stw r10, 0x24(r1)
/* 8000D848 00009688 93 A1 00 74 */ stw r29, 0x74(r1)
/* 8000D84C 0000968C 91 81 00 78 */ stw r12, 0x78(r1)
/* 8000D850 00009690 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8000D854 00009694 93 C1 00 6C */ stw r30, 0x6c(r1)
/* 8000D858 00009698 93 E1 00 70 */ stw r31, 0x70(r1)
2022-10-16 16:31:36 +00:00
/* 8000D85C 0000969C 4B FF F1 6D */ bl __pformatter
2022-10-16 16:05:58 +00:00
/* 8000D860 000096A0 2C 1B 00 00 */ cmpwi r27, 0x0
/* 8000D864 000096A4 41 82 00 18 */ beq lbl_8000D87C
/* 8000D868 000096A8 7C 03 F0 40 */ cmplw r3, r30
/* 8000D86C 000096AC 40 80 00 0C */ bge lbl_8000D878
/* 8000D870 000096B0 7F FB 19 AE */ stbx r31, r27, r3
/* 8000D874 000096B4 48 00 00 08 */ b lbl_8000D87C
.global lbl_8000D878
lbl_8000D878:
/* 8000D878 000096B8 9B FB FF FE */ stb r31, -0x2(r27)
.global lbl_8000D87C
lbl_8000D87C:
/* 8000D87C 000096BC BB 61 00 8C */ lmw r27, 0x8c(r1)
/* 8000D880 000096C0 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8000D884 000096C4 7C 08 03 A6 */ mtlr r0
/* 8000D888 000096C8 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8000D88C 000096CC 4E 80 00 20 */ blr