prime/asm/Kyoto/Animation/CCharAnimTime.s

908 lines
40 KiB
ArmAsm

.include "macros.inc"
.section .sdata
.balign 8
.global lbl_805A8938
lbl_805A8938:
# ROM: 0x3F62D8
.4byte 0
.global lbl_805A893C
lbl_805A893C:
# ROM: 0x3F62DC
.4byte 0x00000002
.global lbl_805A8940
lbl_805A8940:
# ROM: 0x3F62E0
.4byte 0
.global lbl_805A8944
lbl_805A8944:
# ROM: 0x3F62E4
.4byte 0x00000004
.global lbl_805A8948
lbl_805A8948:
# ROM: 0x3F62E8
.4byte 0
.global lbl_805A894C
lbl_805A894C:
# ROM: 0x3F62EC
.4byte 0x00000001
.global lbl_805A8950
lbl_805A8950:
# ROM: 0x3F62F0
.4byte 0xFFFFFFFF
.global lbl_805A8954
lbl_805A8954:
# ROM: 0x3F62F4
.4byte 0
.section .text, "ax"
.global PutTo__13CCharAnimTimeCFR13COutputStream
PutTo__13CCharAnimTimeCFR13COutputStream:
/* 80348334 00345294 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80348338 00345298 7C 08 02 A6 */ mflr r0
/* 8034833C 0034529C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80348340 003452A0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80348344 003452A4 7C 9F 23 78 */ mr r31, r4
/* 80348348 003452A8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034834C 003452AC 7C 7E 1B 78 */ mr r30, r3
/* 80348350 003452B0 C0 03 00 00 */ lfs f0, 0(r3)
/* 80348354 003452B4 7F E3 FB 78 */ mr r3, r31
/* 80348358 003452B8 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8034835C 003452BC 80 01 00 10 */ lwz r0, 0x10(r1)
/* 80348360 003452C0 90 01 00 0C */ stw r0, 0xc(r1)
/* 80348364 003452C4 4B FF 71 55 */ bl FlushShiftRegister__13COutputStreamFv
/* 80348368 003452C8 7F E3 FB 78 */ mr r3, r31
/* 8034836C 003452CC 38 81 00 0C */ addi r4, r1, 0xc
/* 80348370 003452D0 38 A0 00 04 */ li r5, 4
/* 80348374 003452D4 4B FF 72 35 */ bl DoPut__13COutputStreamFPCvUl
/* 80348378 003452D8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8034837C 003452DC 7F E3 FB 78 */ mr r3, r31
/* 80348380 003452E0 90 01 00 08 */ stw r0, 8(r1)
/* 80348384 003452E4 4B FF 71 35 */ bl FlushShiftRegister__13COutputStreamFv
/* 80348388 003452E8 7F E3 FB 78 */ mr r3, r31
/* 8034838C 003452EC 38 81 00 08 */ addi r4, r1, 8
/* 80348390 003452F0 38 A0 00 04 */ li r5, 4
/* 80348394 003452F4 4B FF 72 15 */ bl DoPut__13COutputStreamFPCvUl
/* 80348398 003452F8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034839C 003452FC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803483A0 00345300 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803483A4 00345304 7C 08 03 A6 */ mtlr r0
/* 803483A8 00345308 38 21 00 20 */ addi r1, r1, 0x20
/* 803483AC 0034530C 4E 80 00 20 */ blr
.global EqualsZero__13CCharAnimTimeCFv
EqualsZero__13CCharAnimTimeCFv:
/* 803483B0 00345310 80 83 00 04 */ lwz r4, 4(r3)
/* 803483B4 00345314 38 00 00 00 */ li r0, 0
/* 803483B8 00345318 2C 04 00 01 */ cmpwi r4, 1
/* 803483BC 0034531C 41 82 00 24 */ beq lbl_803483E0
/* 803483C0 00345320 2C 04 00 02 */ cmpwi r4, 2
/* 803483C4 00345324 41 82 00 1C */ beq lbl_803483E0
/* 803483C8 00345328 2C 04 00 03 */ cmpwi r4, 3
/* 803483CC 0034532C 41 82 00 14 */ beq lbl_803483E0
/* 803483D0 00345330 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2)
/* 803483D4 00345334 C0 03 00 00 */ lfs f0, 0(r3)
/* 803483D8 00345338 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 803483DC 0034533C 40 82 00 08 */ bne lbl_803483E4
lbl_803483E0:
/* 803483E0 00345340 38 00 00 01 */ li r0, 1
lbl_803483E4:
/* 803483E4 00345344 7C 03 03 78 */ mr r3, r0
/* 803483E8 00345348 4E 80 00 20 */ blr
.global GreaterThanZero__13CCharAnimTimeCFv
GreaterThanZero__13CCharAnimTimeCFv:
/* 803483EC 0034534C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 803483F0 00345350 7C 08 02 A6 */ mflr r0
/* 803483F4 00345354 90 01 00 14 */ stw r0, 0x14(r1)
/* 803483F8 00345358 93 E1 00 0C */ stw r31, 0xc(r1)
/* 803483FC 0034535C 7C 7F 1B 78 */ mr r31, r3
/* 80348400 00345360 4B FF FF B1 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348404 00345364 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348408 00345368 41 82 00 0C */ beq lbl_80348414
/* 8034840C 0034536C 38 60 00 00 */ li r3, 0
/* 80348410 00345370 48 00 00 18 */ b lbl_80348428
lbl_80348414:
/* 80348414 00345374 C0 3F 00 00 */ lfs f1, 0(r31)
/* 80348418 00345378 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 8034841C 0034537C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348420 00345380 7C 00 00 26 */ mfcr r0
/* 80348424 00345384 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f
lbl_80348428:
/* 80348428 00345388 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034842C 0034538C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80348430 00345390 7C 08 03 A6 */ mtlr r0
/* 80348434 00345394 38 21 00 10 */ addi r1, r1, 0x10
/* 80348438 00345398 4E 80 00 20 */ blr
.global __ge__13CCharAnimTimeCFRC13CCharAnimTime
__ge__13CCharAnimTimeCFRC13CCharAnimTime:
/* 8034843C 0034539C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80348440 003453A0 7C 08 02 A6 */ mflr r0
/* 80348444 003453A4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80348448 003453A8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034844C 003453AC 3B E0 00 00 */ li r31, 0
/* 80348450 003453B0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80348454 003453B4 7C 9E 23 78 */ mr r30, r4
/* 80348458 003453B8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8034845C 003453BC 7C 7D 1B 78 */ mr r29, r3
/* 80348460 003453C0 48 00 06 A1 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime
/* 80348464 003453C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348468 003453C8 40 82 00 18 */ bne lbl_80348480
/* 8034846C 003453CC 7F A3 EB 78 */ mr r3, r29
/* 80348470 003453D0 7F C4 F3 78 */ mr r4, r30
/* 80348474 003453D4 48 00 05 F9 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime
/* 80348478 003453D8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034847C 003453DC 41 82 00 08 */ beq lbl_80348484
lbl_80348480:
/* 80348480 003453E0 3B E0 00 01 */ li r31, 1
lbl_80348484:
/* 80348484 003453E4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80348488 003453E8 7F E3 FB 78 */ mr r3, r31
/* 8034848C 003453EC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80348490 003453F0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80348494 003453F4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80348498 003453F8 7C 08 03 A6 */ mtlr r0
/* 8034849C 003453FC 38 21 00 20 */ addi r1, r1, 0x20
/* 803484A0 00345400 4E 80 00 20 */ blr
.global __le__13CCharAnimTimeCFRC13CCharAnimTime
__le__13CCharAnimTimeCFRC13CCharAnimTime:
/* 803484A4 00345404 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 803484A8 00345408 7C 08 02 A6 */ mflr r0
/* 803484AC 0034540C 90 01 00 24 */ stw r0, 0x24(r1)
/* 803484B0 00345410 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 803484B4 00345414 3B E0 00 00 */ li r31, 0
/* 803484B8 00345418 93 C1 00 18 */ stw r30, 0x18(r1)
/* 803484BC 0034541C 7C 9E 23 78 */ mr r30, r4
/* 803484C0 00345420 93 A1 00 14 */ stw r29, 0x14(r1)
/* 803484C4 00345424 7C 7D 1B 78 */ mr r29, r3
/* 803484C8 00345428 48 00 06 39 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime
/* 803484CC 0034542C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803484D0 00345430 40 82 00 18 */ bne lbl_803484E8
/* 803484D4 00345434 7F A3 EB 78 */ mr r3, r29
/* 803484D8 00345438 7F C4 F3 78 */ mr r4, r30
/* 803484DC 0034543C 48 00 07 61 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime
/* 803484E0 00345440 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803484E4 00345444 41 82 00 08 */ beq lbl_803484EC
lbl_803484E8:
/* 803484E8 00345448 3B E0 00 01 */ li r31, 1
lbl_803484EC:
/* 803484EC 0034544C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803484F0 00345450 7F E3 FB 78 */ mr r3, r31
/* 803484F4 00345454 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803484F8 00345458 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803484FC 0034545C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80348500 00345460 7C 08 03 A6 */ mtlr r0
/* 80348504 00345464 38 21 00 20 */ addi r1, r1, 0x20
/* 80348508 00345468 4E 80 00 20 */ blr
.global __ami__13CCharAnimTimeFRC13CCharAnimTime
__ami__13CCharAnimTimeFRC13CCharAnimTime:
/* 8034850C 0034546C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80348510 00345470 7C 08 02 A6 */ mflr r0
/* 80348514 00345474 7C 85 23 78 */ mr r5, r4
/* 80348518 00345478 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034851C 0034547C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80348520 00345480 7C 7F 1B 78 */ mr r31, r3
/* 80348524 00345484 7F E4 FB 78 */ mr r4, r31
/* 80348528 00345488 38 61 00 08 */ addi r3, r1, 8
/* 8034852C 0034548C 48 00 02 39 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime
/* 80348530 00345490 C0 01 00 08 */ lfs f0, 8(r1)
/* 80348534 00345494 7F E3 FB 78 */ mr r3, r31
/* 80348538 00345498 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8034853C 0034549C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80348540 003454A0 90 1F 00 04 */ stw r0, 4(r31)
/* 80348544 003454A4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80348548 003454A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034854C 003454AC 7C 08 03 A6 */ mtlr r0
/* 80348550 003454B0 38 21 00 20 */ addi r1, r1, 0x20
/* 80348554 003454B4 4E 80 00 20 */ blr
.global __apl__13CCharAnimTimeFRC13CCharAnimTime
__apl__13CCharAnimTimeFRC13CCharAnimTime:
/* 80348558 003454B8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034855C 003454BC 7C 08 02 A6 */ mflr r0
/* 80348560 003454C0 7C 85 23 78 */ mr r5, r4
/* 80348564 003454C4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80348568 003454C8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034856C 003454CC 7C 7F 1B 78 */ mr r31, r3
/* 80348570 003454D0 7F E4 FB 78 */ mr r4, r31
/* 80348574 003454D4 38 61 00 08 */ addi r3, r1, 8
/* 80348578 003454D8 48 00 00 2D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime
/* 8034857C 003454DC C0 01 00 08 */ lfs f0, 8(r1)
/* 80348580 003454E0 7F E3 FB 78 */ mr r3, r31
/* 80348584 003454E4 D0 1F 00 00 */ stfs f0, 0(r31)
/* 80348588 003454E8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8034858C 003454EC 90 1F 00 04 */ stw r0, 4(r31)
/* 80348590 003454F0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80348594 003454F4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80348598 003454F8 7C 08 03 A6 */ mtlr r0
/* 8034859C 003454FC 38 21 00 20 */ addi r1, r1, 0x20
/* 803485A0 00345500 4E 80 00 20 */ blr
.global __pl__13CCharAnimTimeCFRC13CCharAnimTime
__pl__13CCharAnimTimeCFRC13CCharAnimTime:
/* 803485A4 00345504 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 803485A8 00345508 7C 08 02 A6 */ mflr r0
/* 803485AC 0034550C 90 01 00 24 */ stw r0, 0x24(r1)
/* 803485B0 00345510 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 803485B4 00345514 7C 7F 1B 78 */ mr r31, r3
/* 803485B8 00345518 93 C1 00 18 */ stw r30, 0x18(r1)
/* 803485BC 0034551C 7C BE 2B 78 */ mr r30, r5
/* 803485C0 00345520 93 A1 00 14 */ stw r29, 0x14(r1)
/* 803485C4 00345524 7C 9D 23 78 */ mr r29, r4
/* 803485C8 00345528 80 64 00 04 */ lwz r3, 4(r4)
/* 803485CC 0034552C 2C 03 00 04 */ cmpwi r3, 4
/* 803485D0 00345530 41 82 00 10 */ beq lbl_803485E0
/* 803485D4 00345534 80 1E 00 04 */ lwz r0, 4(r30)
/* 803485D8 00345538 2C 00 00 04 */ cmpwi r0, 4
/* 803485DC 0034553C 40 82 00 7C */ bne lbl_80348658
lbl_803485E0:
/* 803485E0 00345540 2C 03 00 04 */ cmpwi r3, 4
/* 803485E4 00345544 40 82 00 44 */ bne lbl_80348628
/* 803485E8 00345548 80 1E 00 04 */ lwz r0, 4(r30)
/* 803485EC 0034554C 2C 00 00 04 */ cmpwi r0, 4
/* 803485F0 00345550 40 82 00 38 */ bne lbl_80348628
/* 803485F4 00345554 C0 1E 00 00 */ lfs f0, 0(r30)
/* 803485F8 00345558 C0 3D 00 00 */ lfs f1, 0(r29)
/* 803485FC 0034555C FC 00 08 00 */ fcmpu cr0, f0, f1
/* 80348600 00345560 40 82 00 14 */ bne lbl_80348614
/* 80348604 00345564 D0 3F 00 00 */ stfs f1, 0(r31)
/* 80348608 00345568 80 1D 00 04 */ lwz r0, 4(r29)
/* 8034860C 0034556C 90 1F 00 04 */ stw r0, 4(r31)
/* 80348610 00345570 48 00 01 38 */ b lbl_80348748
lbl_80348614:
/* 80348614 00345574 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13)
/* 80348618 00345578 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8034861C 0034557C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13)
/* 80348620 00345580 90 1F 00 04 */ stw r0, 4(r31)
/* 80348624 00345584 48 00 01 24 */ b lbl_80348748
lbl_80348628:
/* 80348628 00345588 2C 03 00 04 */ cmpwi r3, 4
/* 8034862C 0034558C 40 82 00 18 */ bne lbl_80348644
/* 80348630 00345590 C0 1D 00 00 */ lfs f0, 0(r29)
/* 80348634 00345594 D0 1F 00 00 */ stfs f0, 0(r31)
/* 80348638 00345598 80 1D 00 04 */ lwz r0, 4(r29)
/* 8034863C 0034559C 90 1F 00 04 */ stw r0, 4(r31)
/* 80348640 003455A0 48 00 01 08 */ b lbl_80348748
lbl_80348644:
/* 80348644 003455A4 C0 1E 00 00 */ lfs f0, 0(r30)
/* 80348648 003455A8 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8034864C 003455AC 80 1E 00 04 */ lwz r0, 4(r30)
/* 80348650 003455B0 90 1F 00 04 */ stw r0, 4(r31)
/* 80348654 003455B4 48 00 00 F4 */ b lbl_80348748
lbl_80348658:
/* 80348658 003455B8 7F A3 EB 78 */ mr r3, r29
/* 8034865C 003455BC 4B FF FD 55 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348660 003455C0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348664 003455C4 41 82 00 D0 */ beq lbl_80348734
/* 80348668 003455C8 7F C3 F3 78 */ mr r3, r30
/* 8034866C 003455CC 4B FF FD 45 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348670 003455D0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348674 003455D4 41 82 00 C0 */ beq lbl_80348734
/* 80348678 003455D8 80 1D 00 04 */ lwz r0, 4(r29)
/* 8034867C 003455DC 2C 00 00 03 */ cmpwi r0, 3
/* 80348680 003455E0 40 82 00 0C */ bne lbl_8034868C
/* 80348684 003455E4 38 60 FF FF */ li r3, -1
/* 80348688 003455E8 48 00 00 18 */ b lbl_803486A0
lbl_8034868C:
/* 8034868C 003455EC 2C 00 00 02 */ cmpwi r0, 2
/* 80348690 003455F0 40 82 00 0C */ bne lbl_8034869C
/* 80348694 003455F4 38 60 00 00 */ li r3, 0
/* 80348698 003455F8 48 00 00 08 */ b lbl_803486A0
lbl_8034869C:
/* 8034869C 003455FC 38 60 00 01 */ li r3, 1
lbl_803486A0:
/* 803486A0 00345600 80 1E 00 04 */ lwz r0, 4(r30)
/* 803486A4 00345604 2C 00 00 03 */ cmpwi r0, 3
/* 803486A8 00345608 40 82 00 0C */ bne lbl_803486B4
/* 803486AC 0034560C 38 80 FF FF */ li r4, -1
/* 803486B0 00345610 48 00 00 18 */ b lbl_803486C8
lbl_803486B4:
/* 803486B4 00345614 2C 00 00 02 */ cmpwi r0, 2
/* 803486B8 00345618 40 82 00 0C */ bne lbl_803486C4
/* 803486BC 0034561C 38 80 00 00 */ li r4, 0
/* 803486C0 00345620 48 00 00 08 */ b lbl_803486C8
lbl_803486C4:
/* 803486C4 00345624 38 80 00 01 */ li r4, 1
lbl_803486C8:
/* 803486C8 00345628 80 0D 9D 8C */ lwz r0, lbl_805A894C@sda21(r13)
/* 803486CC 0034562C 7C 63 22 14 */ add r3, r3, r4
/* 803486D0 00345630 90 61 00 08 */ stw r3, 8(r1)
/* 803486D4 00345634 38 81 00 08 */ addi r4, r1, 8
/* 803486D8 00345638 7C 00 18 00 */ cmpw r0, r3
/* 803486DC 0034563C 40 80 00 08 */ bge lbl_803486E4
/* 803486E0 00345640 38 8D 9D 8C */ addi r4, r13, lbl_805A894C@sda21
lbl_803486E4:
/* 803486E4 00345644 80 6D 9D 90 */ lwz r3, lbl_805A8950@sda21(r13)
/* 803486E8 00345648 80 04 00 00 */ lwz r0, 0(r4)
/* 803486EC 0034564C 7C 03 00 00 */ cmpw r3, r0
/* 803486F0 00345650 40 80 00 08 */ bge lbl_803486F8
/* 803486F4 00345654 48 00 00 08 */ b lbl_803486FC
lbl_803486F8:
/* 803486F8 00345658 38 8D 9D 90 */ addi r4, r13, lbl_805A8950@sda21
lbl_803486FC:
/* 803486FC 0034565C 80 04 00 00 */ lwz r0, 0(r4)
/* 80348700 00345660 2C 00 FF FF */ cmpwi r0, -1
/* 80348704 00345664 40 82 00 0C */ bne lbl_80348710
/* 80348708 00345668 38 00 00 03 */ li r0, 3
/* 8034870C 0034566C 48 00 00 18 */ b lbl_80348724
lbl_80348710:
/* 80348710 00345670 2C 00 00 00 */ cmpwi r0, 0
/* 80348714 00345674 40 82 00 0C */ bne lbl_80348720
/* 80348718 00345678 38 00 00 02 */ li r0, 2
/* 8034871C 0034567C 48 00 00 08 */ b lbl_80348724
lbl_80348720:
/* 80348720 00345680 38 00 00 01 */ li r0, 1
lbl_80348724:
/* 80348724 00345684 C0 0D 9D 94 */ lfs f0, lbl_805A8954@sda21(r13)
/* 80348728 00345688 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8034872C 0034568C 90 1F 00 04 */ stw r0, 4(r31)
/* 80348730 00345690 48 00 00 18 */ b lbl_80348748
lbl_80348734:
/* 80348734 00345694 C0 3D 00 00 */ lfs f1, 0(r29)
/* 80348738 00345698 7F E3 FB 78 */ mr r3, r31
/* 8034873C 0034569C C0 1E 00 00 */ lfs f0, 0(r30)
/* 80348740 003456A0 EC 21 00 2A */ fadds f1, f1, f0
/* 80348744 003456A4 48 00 06 A9 */ bl __ct__13CCharAnimTimeFf
lbl_80348748:
/* 80348748 003456A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034874C 003456AC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80348750 003456B0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80348754 003456B4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80348758 003456B8 7C 08 03 A6 */ mtlr r0
/* 8034875C 003456BC 38 21 00 20 */ addi r1, r1, 0x20
/* 80348760 003456C0 4E 80 00 20 */ blr
.global __mi__13CCharAnimTimeCFRC13CCharAnimTime
__mi__13CCharAnimTimeCFRC13CCharAnimTime:
/* 80348764 003456C4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80348768 003456C8 7C 08 02 A6 */ mflr r0
/* 8034876C 003456CC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80348770 003456D0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80348774 003456D4 7C BF 2B 78 */ mr r31, r5
/* 80348778 003456D8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034877C 003456DC 7C 9E 23 78 */ mr r30, r4
/* 80348780 003456E0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80348784 003456E4 7C 7D 1B 78 */ mr r29, r3
/* 80348788 003456E8 80 64 00 04 */ lwz r3, 4(r4)
/* 8034878C 003456EC 2C 03 00 04 */ cmpwi r3, 4
/* 80348790 003456F0 41 82 00 10 */ beq lbl_803487A0
/* 80348794 003456F4 80 1F 00 04 */ lwz r0, 4(r31)
/* 80348798 003456F8 2C 00 00 04 */ cmpwi r0, 4
/* 8034879C 003456FC 40 82 00 80 */ bne lbl_8034881C
lbl_803487A0:
/* 803487A0 00345700 2C 03 00 04 */ cmpwi r3, 4
/* 803487A4 00345704 40 82 00 44 */ bne lbl_803487E8
/* 803487A8 00345708 80 1F 00 04 */ lwz r0, 4(r31)
/* 803487AC 0034570C 2C 00 00 04 */ cmpwi r0, 4
/* 803487B0 00345710 40 82 00 38 */ bne lbl_803487E8
/* 803487B4 00345714 C0 1F 00 00 */ lfs f0, 0(r31)
/* 803487B8 00345718 C0 3E 00 00 */ lfs f1, 0(r30)
/* 803487BC 0034571C FC 00 08 00 */ fcmpu cr0, f0, f1
/* 803487C0 00345720 40 82 00 18 */ bne lbl_803487D8
/* 803487C4 00345724 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13)
/* 803487C8 00345728 D0 1D 00 00 */ stfs f0, 0(r29)
/* 803487CC 0034572C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13)
/* 803487D0 00345730 90 1D 00 04 */ stw r0, 4(r29)
/* 803487D4 00345734 48 00 01 04 */ b lbl_803488D8
lbl_803487D8:
/* 803487D8 00345738 D0 3D 00 00 */ stfs f1, 0(r29)
/* 803487DC 0034573C 80 1E 00 04 */ lwz r0, 4(r30)
/* 803487E0 00345740 90 1D 00 04 */ stw r0, 4(r29)
/* 803487E4 00345744 48 00 00 F4 */ b lbl_803488D8
lbl_803487E8:
/* 803487E8 00345748 2C 03 00 04 */ cmpwi r3, 4
/* 803487EC 0034574C 40 82 00 18 */ bne lbl_80348804
/* 803487F0 00345750 C0 1E 00 00 */ lfs f0, 0(r30)
/* 803487F4 00345754 D0 1D 00 00 */ stfs f0, 0(r29)
/* 803487F8 00345758 80 1E 00 04 */ lwz r0, 4(r30)
/* 803487FC 0034575C 90 1D 00 04 */ stw r0, 4(r29)
/* 80348800 00345760 48 00 00 D8 */ b lbl_803488D8
lbl_80348804:
/* 80348804 00345764 C0 1F 00 00 */ lfs f0, 0(r31)
/* 80348808 00345768 FC 00 00 50 */ fneg f0, f0
/* 8034880C 0034576C D0 1D 00 00 */ stfs f0, 0(r29)
/* 80348810 00345770 80 0D 9D 84 */ lwz r0, lbl_805A8944@sda21(r13)
/* 80348814 00345774 90 1D 00 04 */ stw r0, 4(r29)
/* 80348818 00345778 48 00 00 C0 */ b lbl_803488D8
lbl_8034881C:
/* 8034881C 0034577C 7F C3 F3 78 */ mr r3, r30
/* 80348820 00345780 4B FF FB 91 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348824 00345784 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348828 00345788 41 82 00 9C */ beq lbl_803488C4
/* 8034882C 0034578C 7F E3 FB 78 */ mr r3, r31
/* 80348830 00345790 4B FF FB 81 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348834 00345794 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348838 00345798 41 82 00 8C */ beq lbl_803488C4
/* 8034883C 0034579C 80 1E 00 04 */ lwz r0, 4(r30)
/* 80348840 003457A0 2C 00 00 03 */ cmpwi r0, 3
/* 80348844 003457A4 40 82 00 0C */ bne lbl_80348850
/* 80348848 003457A8 38 00 FF FF */ li r0, -1
/* 8034884C 003457AC 48 00 00 18 */ b lbl_80348864
lbl_80348850:
/* 80348850 003457B0 2C 00 00 02 */ cmpwi r0, 2
/* 80348854 003457B4 40 82 00 0C */ bne lbl_80348860
/* 80348858 003457B8 38 00 00 00 */ li r0, 0
/* 8034885C 003457BC 48 00 00 08 */ b lbl_80348864
lbl_80348860:
/* 80348860 003457C0 38 00 00 01 */ li r0, 1
lbl_80348864:
/* 80348864 003457C4 80 7F 00 04 */ lwz r3, 4(r31)
/* 80348868 003457C8 2C 03 00 03 */ cmpwi r3, 3
/* 8034886C 003457CC 40 82 00 0C */ bne lbl_80348878
/* 80348870 003457D0 38 60 FF FF */ li r3, -1
/* 80348874 003457D4 48 00 00 18 */ b lbl_8034888C
lbl_80348878:
/* 80348878 003457D8 2C 03 00 02 */ cmpwi r3, 2
/* 8034887C 003457DC 40 82 00 0C */ bne lbl_80348888
/* 80348880 003457E0 38 60 00 00 */ li r3, 0
/* 80348884 003457E4 48 00 00 08 */ b lbl_8034888C
lbl_80348888:
/* 80348888 003457E8 38 60 00 01 */ li r3, 1
lbl_8034888C:
/* 8034888C 003457EC 7C 03 00 50 */ subf r0, r3, r0
/* 80348890 003457F0 2C 00 FF FF */ cmpwi r0, -1
/* 80348894 003457F4 40 82 00 0C */ bne lbl_803488A0
/* 80348898 003457F8 38 00 00 03 */ li r0, 3
/* 8034889C 003457FC 48 00 00 18 */ b lbl_803488B4
lbl_803488A0:
/* 803488A0 00345800 2C 00 00 00 */ cmpwi r0, 0
/* 803488A4 00345804 40 82 00 0C */ bne lbl_803488B0
/* 803488A8 00345808 38 00 00 02 */ li r0, 2
/* 803488AC 0034580C 48 00 00 08 */ b lbl_803488B4
lbl_803488B0:
/* 803488B0 00345810 38 00 00 01 */ li r0, 1
lbl_803488B4:
/* 803488B4 00345814 C0 0D 9D 88 */ lfs f0, lbl_805A8948@sda21(r13)
/* 803488B8 00345818 D0 1D 00 00 */ stfs f0, 0(r29)
/* 803488BC 0034581C 90 1D 00 04 */ stw r0, 4(r29)
/* 803488C0 00345820 48 00 00 18 */ b lbl_803488D8
lbl_803488C4:
/* 803488C4 00345824 C0 3E 00 00 */ lfs f1, 0(r30)
/* 803488C8 00345828 7F A3 EB 78 */ mr r3, r29
/* 803488CC 0034582C C0 1F 00 00 */ lfs f0, 0(r31)
/* 803488D0 00345830 EC 21 00 28 */ fsubs f1, f1, f0
/* 803488D4 00345834 48 00 05 19 */ bl __ct__13CCharAnimTimeFf
lbl_803488D8:
/* 803488D8 00345838 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803488DC 0034583C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803488E0 00345840 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 803488E4 00345844 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 803488E8 00345848 7C 08 03 A6 */ mtlr r0
/* 803488EC 0034584C 38 21 00 20 */ addi r1, r1, 0x20
/* 803488F0 00345850 4E 80 00 20 */ blr
.global __ml__13CCharAnimTimeCFRCf
__ml__13CCharAnimTimeCFRCf:
/* 803488F4 00345854 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 803488F8 00345858 7C 08 02 A6 */ mflr r0
/* 803488FC 0034585C C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2)
/* 80348900 00345860 90 01 00 24 */ stw r0, 0x24(r1)
/* 80348904 00345864 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80348908 00345868 7C BF 2B 78 */ mr r31, r5
/* 8034890C 0034586C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80348910 00345870 7C 9E 23 78 */ mr r30, r4
/* 80348914 00345874 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80348918 00345878 7C 7D 1B 78 */ mr r29, r3
/* 8034891C 0034587C C0 05 00 00 */ lfs f0, 0(r5)
/* 80348920 00345880 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80348924 00345884 40 82 00 18 */ bne lbl_8034893C
/* 80348928 00345888 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13)
/* 8034892C 0034588C D0 1D 00 00 */ stfs f0, 0(r29)
/* 80348930 00345890 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13)
/* 80348934 00345894 90 1D 00 04 */ stw r0, 4(r29)
/* 80348938 00345898 48 00 00 C4 */ b lbl_803489FC
lbl_8034893C:
/* 8034893C 0034589C 7F C3 F3 78 */ mr r3, r30
/* 80348940 003458A0 4B FF FA 71 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348944 003458A4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348948 003458A8 41 82 00 A0 */ beq lbl_803489E8
/* 8034894C 003458AC C0 3F 00 00 */ lfs f1, 0(r31)
/* 80348950 003458B0 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 80348954 003458B4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348958 003458B8 40 81 00 18 */ ble lbl_80348970
/* 8034895C 003458BC C0 1E 00 00 */ lfs f0, 0(r30)
/* 80348960 003458C0 D0 1D 00 00 */ stfs f0, 0(r29)
/* 80348964 003458C4 80 1E 00 04 */ lwz r0, 4(r30)
/* 80348968 003458C8 90 1D 00 04 */ stw r0, 4(r29)
/* 8034896C 003458CC 48 00 00 90 */ b lbl_803489FC
lbl_80348970:
/* 80348970 003458D0 40 80 00 64 */ bge lbl_803489D4
/* 80348974 003458D4 80 1E 00 04 */ lwz r0, 4(r30)
/* 80348978 003458D8 2C 00 00 03 */ cmpwi r0, 3
/* 8034897C 003458DC 40 82 00 0C */ bne lbl_80348988
/* 80348980 003458E0 38 00 FF FF */ li r0, -1
/* 80348984 003458E4 48 00 00 18 */ b lbl_8034899C
lbl_80348988:
/* 80348988 003458E8 2C 00 00 02 */ cmpwi r0, 2
/* 8034898C 003458EC 40 82 00 0C */ bne lbl_80348998
/* 80348990 003458F0 38 00 00 00 */ li r0, 0
/* 80348994 003458F4 48 00 00 08 */ b lbl_8034899C
lbl_80348998:
/* 80348998 003458F8 38 00 00 01 */ li r0, 1
lbl_8034899C:
/* 8034899C 003458FC 7C 00 00 D0 */ neg r0, r0
/* 803489A0 00345900 2C 00 FF FF */ cmpwi r0, -1
/* 803489A4 00345904 40 82 00 0C */ bne lbl_803489B0
/* 803489A8 00345908 38 00 00 03 */ li r0, 3
/* 803489AC 0034590C 48 00 00 18 */ b lbl_803489C4
lbl_803489B0:
/* 803489B0 00345910 2C 00 00 00 */ cmpwi r0, 0
/* 803489B4 00345914 40 82 00 0C */ bne lbl_803489C0
/* 803489B8 00345918 38 00 00 02 */ li r0, 2
/* 803489BC 0034591C 48 00 00 08 */ b lbl_803489C4
lbl_803489C0:
/* 803489C0 00345920 38 00 00 01 */ li r0, 1
lbl_803489C4:
/* 803489C4 00345924 C0 0D 9D 78 */ lfs f0, lbl_805A8938@sda21(r13)
/* 803489C8 00345928 D0 1D 00 00 */ stfs f0, 0(r29)
/* 803489CC 0034592C 90 1D 00 04 */ stw r0, 4(r29)
/* 803489D0 00345930 48 00 00 2C */ b lbl_803489FC
lbl_803489D4:
/* 803489D4 00345934 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13)
/* 803489D8 00345938 D0 1D 00 00 */ stfs f0, 0(r29)
/* 803489DC 0034593C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13)
/* 803489E0 00345940 90 1D 00 04 */ stw r0, 4(r29)
/* 803489E4 00345944 48 00 00 18 */ b lbl_803489FC
lbl_803489E8:
/* 803489E8 00345948 C0 3E 00 00 */ lfs f1, 0(r30)
/* 803489EC 0034594C 7F A3 EB 78 */ mr r3, r29
/* 803489F0 00345950 C0 1F 00 00 */ lfs f0, 0(r31)
/* 803489F4 00345954 EC 21 00 32 */ fmuls f1, f1, f0
/* 803489F8 00345958 48 00 03 F5 */ bl __ct__13CCharAnimTimeFf
lbl_803489FC:
/* 803489FC 0034595C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80348A00 00345960 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80348A04 00345964 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80348A08 00345968 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80348A0C 0034596C 7C 08 03 A6 */ mtlr r0
/* 80348A10 00345970 38 21 00 20 */ addi r1, r1, 0x20
/* 80348A14 00345974 4E 80 00 20 */ blr
.global __dv__13CCharAnimTimeCFRC13CCharAnimTime
__dv__13CCharAnimTimeCFRC13CCharAnimTime:
/* 80348A18 00345978 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80348A1C 0034597C 7C 08 02 A6 */ mflr r0
/* 80348A20 00345980 90 01 00 14 */ stw r0, 0x14(r1)
/* 80348A24 00345984 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80348A28 00345988 7C 9F 23 78 */ mr r31, r4
/* 80348A2C 0034598C 93 C1 00 08 */ stw r30, 8(r1)
/* 80348A30 00345990 7C 7E 1B 78 */ mr r30, r3
/* 80348A34 00345994 4B FF F9 7D */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348A38 00345998 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348A3C 0034599C 41 82 00 0C */ beq lbl_80348A48
/* 80348A40 003459A0 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2)
/* 80348A44 003459A4 48 00 00 10 */ b lbl_80348A54
lbl_80348A48:
/* 80348A48 003459A8 C0 3E 00 00 */ lfs f1, 0(r30)
/* 80348A4C 003459AC C0 1F 00 00 */ lfs f0, 0(r31)
/* 80348A50 003459B0 EC 21 00 24 */ fdivs f1, f1, f0
lbl_80348A54:
/* 80348A54 003459B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80348A58 003459B8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80348A5C 003459BC 83 C1 00 08 */ lwz r30, 8(r1)
/* 80348A60 003459C0 7C 08 03 A6 */ mtlr r0
/* 80348A64 003459C4 38 21 00 10 */ addi r1, r1, 0x10
/* 80348A68 003459C8 4E 80 00 20 */ blr
.global __gt__13CCharAnimTimeCFRC13CCharAnimTime
__gt__13CCharAnimTimeCFRC13CCharAnimTime:
/* 80348A6C 003459CC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80348A70 003459D0 7C 08 02 A6 */ mflr r0
/* 80348A74 003459D4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80348A78 003459D8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80348A7C 003459DC 3B E0 00 00 */ li r31, 0
/* 80348A80 003459E0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80348A84 003459E4 7C 9E 23 78 */ mr r30, r4
/* 80348A88 003459E8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80348A8C 003459EC 7C 7D 1B 78 */ mr r29, r3
/* 80348A90 003459F0 48 00 00 71 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime
/* 80348A94 003459F4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348A98 003459F8 40 82 00 1C */ bne lbl_80348AB4
/* 80348A9C 003459FC 7F A3 EB 78 */ mr r3, r29
/* 80348AA0 00345A00 7F C4 F3 78 */ mr r4, r30
/* 80348AA4 00345A04 48 00 01 99 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime
/* 80348AA8 00345A08 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348AAC 00345A0C 40 82 00 08 */ bne lbl_80348AB4
/* 80348AB0 00345A10 3B E0 00 01 */ li r31, 1
lbl_80348AB4:
/* 80348AB4 00345A14 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80348AB8 00345A18 7F E3 FB 78 */ mr r3, r31
/* 80348ABC 00345A1C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80348AC0 00345A20 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80348AC4 00345A24 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80348AC8 00345A28 7C 08 03 A6 */ mtlr r0
/* 80348ACC 00345A2C 38 21 00 20 */ addi r1, r1, 0x20
/* 80348AD0 00345A30 4E 80 00 20 */ blr
.global __ne__13CCharAnimTimeCFRC13CCharAnimTime
__ne__13CCharAnimTimeCFRC13CCharAnimTime:
/* 80348AD4 00345A34 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80348AD8 00345A38 7C 08 02 A6 */ mflr r0
/* 80348ADC 00345A3C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80348AE0 00345A40 48 00 00 21 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime
/* 80348AE4 00345A44 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 80348AE8 00345A48 7C 00 00 34 */ cntlzw r0, r0
/* 80348AEC 00345A4C 54 03 D9 7E */ srwi r3, r0, 5
/* 80348AF0 00345A50 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80348AF4 00345A54 7C 08 03 A6 */ mtlr r0
/* 80348AF8 00345A58 38 21 00 10 */ addi r1, r1, 0x10
/* 80348AFC 00345A5C 4E 80 00 20 */ blr
.global __eq__13CCharAnimTimeCFRC13CCharAnimTime
__eq__13CCharAnimTimeCFRC13CCharAnimTime:
/* 80348B00 00345A60 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80348B04 00345A64 7C 08 02 A6 */ mflr r0
/* 80348B08 00345A68 90 01 00 14 */ stw r0, 0x14(r1)
/* 80348B0C 00345A6C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80348B10 00345A70 7C 9F 23 78 */ mr r31, r4
/* 80348B14 00345A74 93 C1 00 08 */ stw r30, 8(r1)
/* 80348B18 00345A78 7C 7E 1B 78 */ mr r30, r3
/* 80348B1C 00345A7C 80 03 00 04 */ lwz r0, 4(r3)
/* 80348B20 00345A80 2C 00 00 00 */ cmpwi r0, 0
/* 80348B24 00345A84 40 82 00 4C */ bne lbl_80348B70
/* 80348B28 00345A88 80 1F 00 04 */ lwz r0, 4(r31)
/* 80348B2C 00345A8C 2C 00 00 00 */ cmpwi r0, 0
/* 80348B30 00345A90 40 82 00 1C */ bne lbl_80348B4C
/* 80348B34 00345A94 C0 3E 00 00 */ lfs f1, 0(r30)
/* 80348B38 00345A98 C0 1F 00 00 */ lfs f0, 0(r31)
/* 80348B3C 00345A9C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80348B40 00345AA0 7C 00 00 26 */ mfcr r0
/* 80348B44 00345AA4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
/* 80348B48 00345AA8 48 00 00 DC */ b lbl_80348C24
lbl_80348B4C:
/* 80348B4C 00345AAC 7F E3 FB 78 */ mr r3, r31
/* 80348B50 00345AB0 4B FF F8 61 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348B54 00345AB4 54 64 06 3E */ clrlwi r4, r3, 0x18
/* 80348B58 00345AB8 38 00 00 00 */ li r0, 0
/* 80348B5C 00345ABC 7C 64 00 D0 */ neg r3, r4
/* 80348B60 00345AC0 7C 63 23 78 */ or r3, r3, r4
/* 80348B64 00345AC4 7C 63 FE 70 */ srawi r3, r3, 0x1f
/* 80348B68 00345AC8 7C 03 18 78 */ andc r3, r0, r3
/* 80348B6C 00345ACC 48 00 00 B8 */ b lbl_80348C24
lbl_80348B70:
/* 80348B70 00345AD0 4B FF F8 41 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348B74 00345AD4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348B78 00345AD8 41 82 00 7C */ beq lbl_80348BF4
/* 80348B7C 00345ADC 7F E3 FB 78 */ mr r3, r31
/* 80348B80 00345AE0 4B FF F8 31 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348B84 00345AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348B88 00345AE8 41 82 00 64 */ beq lbl_80348BEC
/* 80348B8C 00345AEC 80 1E 00 04 */ lwz r0, 4(r30)
/* 80348B90 00345AF0 2C 00 00 03 */ cmpwi r0, 3
/* 80348B94 00345AF4 40 82 00 0C */ bne lbl_80348BA0
/* 80348B98 00345AF8 38 00 FF FF */ li r0, -1
/* 80348B9C 00345AFC 48 00 00 18 */ b lbl_80348BB4
lbl_80348BA0:
/* 80348BA0 00345B00 2C 00 00 02 */ cmpwi r0, 2
/* 80348BA4 00345B04 40 82 00 0C */ bne lbl_80348BB0
/* 80348BA8 00345B08 38 00 00 00 */ li r0, 0
/* 80348BAC 00345B0C 48 00 00 08 */ b lbl_80348BB4
lbl_80348BB0:
/* 80348BB0 00345B10 38 00 00 01 */ li r0, 1
lbl_80348BB4:
/* 80348BB4 00345B14 80 7F 00 04 */ lwz r3, 4(r31)
/* 80348BB8 00345B18 2C 03 00 03 */ cmpwi r3, 3
/* 80348BBC 00345B1C 40 82 00 0C */ bne lbl_80348BC8
/* 80348BC0 00345B20 38 60 FF FF */ li r3, -1
/* 80348BC4 00345B24 48 00 00 18 */ b lbl_80348BDC
lbl_80348BC8:
/* 80348BC8 00345B28 2C 03 00 02 */ cmpwi r3, 2
/* 80348BCC 00345B2C 40 82 00 0C */ bne lbl_80348BD8
/* 80348BD0 00345B30 38 60 00 00 */ li r3, 0
/* 80348BD4 00345B34 48 00 00 08 */ b lbl_80348BDC
lbl_80348BD8:
/* 80348BD8 00345B38 38 60 00 01 */ li r3, 1
lbl_80348BDC:
/* 80348BDC 00345B3C 7C 00 18 50 */ subf r0, r0, r3
/* 80348BE0 00345B40 7C 00 00 34 */ cntlzw r0, r0
/* 80348BE4 00345B44 54 03 D9 7E */ srwi r3, r0, 5
/* 80348BE8 00345B48 48 00 00 3C */ b lbl_80348C24
lbl_80348BEC:
/* 80348BEC 00345B4C 38 60 00 00 */ li r3, 0
/* 80348BF0 00345B50 48 00 00 34 */ b lbl_80348C24
lbl_80348BF4:
/* 80348BF4 00345B54 80 1F 00 04 */ lwz r0, 4(r31)
/* 80348BF8 00345B58 2C 00 00 04 */ cmpwi r0, 4
/* 80348BFC 00345B5C 40 82 00 24 */ bne lbl_80348C20
/* 80348C00 00345B60 C0 5E 00 00 */ lfs f2, 0(r30)
/* 80348C04 00345B64 C0 3F 00 00 */ lfs f1, 0(r31)
/* 80348C08 00345B68 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 80348C0C 00345B6C EC 22 00 72 */ fmuls f1, f2, f1
/* 80348C10 00345B70 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348C14 00345B74 7C 00 00 26 */ mfcr r0
/* 80348C18 00345B78 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f
/* 80348C1C 00345B7C 48 00 00 08 */ b lbl_80348C24
lbl_80348C20:
/* 80348C20 00345B80 38 60 00 00 */ li r3, 0
lbl_80348C24:
/* 80348C24 00345B84 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80348C28 00345B88 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80348C2C 00345B8C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80348C30 00345B90 7C 08 03 A6 */ mtlr r0
/* 80348C34 00345B94 38 21 00 10 */ addi r1, r1, 0x10
/* 80348C38 00345B98 4E 80 00 20 */ blr
.global __lt__13CCharAnimTimeCFRC13CCharAnimTime
__lt__13CCharAnimTimeCFRC13CCharAnimTime:
/* 80348C3C 00345B9C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80348C40 00345BA0 7C 08 02 A6 */ mflr r0
/* 80348C44 00345BA4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80348C48 00345BA8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80348C4C 00345BAC 7C 9F 23 78 */ mr r31, r4
/* 80348C50 00345BB0 93 C1 00 08 */ stw r30, 8(r1)
/* 80348C54 00345BB4 7C 7E 1B 78 */ mr r30, r3
/* 80348C58 00345BB8 80 03 00 04 */ lwz r0, 4(r3)
/* 80348C5C 00345BBC 2C 00 00 00 */ cmpwi r0, 0
/* 80348C60 00345BC0 40 82 00 68 */ bne lbl_80348CC8
/* 80348C64 00345BC4 80 1F 00 04 */ lwz r0, 4(r31)
/* 80348C68 00345BC8 2C 00 00 00 */ cmpwi r0, 0
/* 80348C6C 00345BCC 40 82 00 1C */ bne lbl_80348C88
/* 80348C70 00345BD0 C0 3E 00 00 */ lfs f1, 0(r30)
/* 80348C74 00345BD4 C0 1F 00 00 */ lfs f0, 0(r31)
/* 80348C78 00345BD8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348C7C 00345BDC 7C 00 00 26 */ mfcr r0
/* 80348C80 00345BE0 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80348C84 00345BE4 48 00 01 50 */ b lbl_80348DD4
lbl_80348C88:
/* 80348C88 00345BE8 7F E3 FB 78 */ mr r3, r31
/* 80348C8C 00345BEC 4B FF F7 25 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348C90 00345BF0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348C94 00345BF4 41 82 00 1C */ beq lbl_80348CB0
/* 80348C98 00345BF8 C0 3E 00 00 */ lfs f1, 0(r30)
/* 80348C9C 00345BFC C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 80348CA0 00345C00 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348CA4 00345C04 7C 00 00 26 */ mfcr r0
/* 80348CA8 00345C08 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80348CAC 00345C0C 48 00 01 28 */ b lbl_80348DD4
lbl_80348CB0:
/* 80348CB0 00345C10 C0 3F 00 00 */ lfs f1, 0(r31)
/* 80348CB4 00345C14 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 80348CB8 00345C18 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348CBC 00345C1C 7C 00 00 26 */ mfcr r0
/* 80348CC0 00345C20 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f
/* 80348CC4 00345C24 48 00 01 10 */ b lbl_80348DD4
lbl_80348CC8:
/* 80348CC8 00345C28 4B FF F6 E9 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348CCC 00345C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348CD0 00345C30 41 82 00 B8 */ beq lbl_80348D88
/* 80348CD4 00345C34 7F E3 FB 78 */ mr r3, r31
/* 80348CD8 00345C38 4B FF F6 D9 */ bl EqualsZero__13CCharAnimTimeCFv
/* 80348CDC 00345C3C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80348CE0 00345C40 41 82 00 6C */ beq lbl_80348D4C
/* 80348CE4 00345C44 80 1E 00 04 */ lwz r0, 4(r30)
/* 80348CE8 00345C48 2C 00 00 03 */ cmpwi r0, 3
/* 80348CEC 00345C4C 40 82 00 0C */ bne lbl_80348CF8
/* 80348CF0 00345C50 38 00 FF FF */ li r0, -1
/* 80348CF4 00345C54 48 00 00 18 */ b lbl_80348D0C
lbl_80348CF8:
/* 80348CF8 00345C58 2C 00 00 02 */ cmpwi r0, 2
/* 80348CFC 00345C5C 40 82 00 0C */ bne lbl_80348D08
/* 80348D00 00345C60 38 00 00 00 */ li r0, 0
/* 80348D04 00345C64 48 00 00 08 */ b lbl_80348D0C
lbl_80348D08:
/* 80348D08 00345C68 38 00 00 01 */ li r0, 1
lbl_80348D0C:
/* 80348D0C 00345C6C 80 7F 00 04 */ lwz r3, 4(r31)
/* 80348D10 00345C70 2C 03 00 03 */ cmpwi r3, 3
/* 80348D14 00345C74 40 82 00 0C */ bne lbl_80348D20
/* 80348D18 00345C78 38 80 FF FF */ li r4, -1
/* 80348D1C 00345C7C 48 00 00 18 */ b lbl_80348D34
lbl_80348D20:
/* 80348D20 00345C80 2C 03 00 02 */ cmpwi r3, 2
/* 80348D24 00345C84 40 82 00 0C */ bne lbl_80348D30
/* 80348D28 00345C88 38 80 00 00 */ li r4, 0
/* 80348D2C 00345C8C 48 00 00 08 */ b lbl_80348D34
lbl_80348D30:
/* 80348D30 00345C90 38 80 00 01 */ li r4, 1
lbl_80348D34:
/* 80348D34 00345C94 7C 80 02 78 */ xor r0, r4, r0
/* 80348D38 00345C98 7C 03 0E 70 */ srawi r3, r0, 1
/* 80348D3C 00345C9C 7C 00 20 38 */ and r0, r0, r4
/* 80348D40 00345CA0 7C 00 18 50 */ subf r0, r0, r3
/* 80348D44 00345CA4 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80348D48 00345CA8 48 00 00 8C */ b lbl_80348DD4
lbl_80348D4C:
/* 80348D4C 00345CAC 80 1F 00 04 */ lwz r0, 4(r31)
/* 80348D50 00345CB0 2C 00 00 00 */ cmpwi r0, 0
/* 80348D54 00345CB4 40 82 00 1C */ bne lbl_80348D70
/* 80348D58 00345CB8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2)
/* 80348D5C 00345CBC C0 1F 00 00 */ lfs f0, 0(r31)
/* 80348D60 00345CC0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348D64 00345CC4 7C 00 00 26 */ mfcr r0
/* 80348D68 00345CC8 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80348D6C 00345CCC 48 00 00 68 */ b lbl_80348DD4
lbl_80348D70:
/* 80348D70 00345CD0 C0 3F 00 00 */ lfs f1, 0(r31)
/* 80348D74 00345CD4 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 80348D78 00345CD8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348D7C 00345CDC 7C 00 00 26 */ mfcr r0
/* 80348D80 00345CE0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f
/* 80348D84 00345CE4 48 00 00 50 */ b lbl_80348DD4
lbl_80348D88:
/* 80348D88 00345CE8 80 1F 00 04 */ lwz r0, 4(r31)
/* 80348D8C 00345CEC 2C 00 00 04 */ cmpwi r0, 4
/* 80348D90 00345CF0 40 82 00 30 */ bne lbl_80348DC0
/* 80348D94 00345CF4 C0 1E 00 00 */ lfs f0, 0(r30)
/* 80348D98 00345CF8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2)
/* 80348D9C 00345CFC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80348DA0 00345D00 40 80 00 18 */ bge lbl_80348DB8
/* 80348DA4 00345D04 C0 1F 00 00 */ lfs f0, 0(r31)
/* 80348DA8 00345D08 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80348DAC 00345D0C 40 81 00 0C */ ble lbl_80348DB8
/* 80348DB0 00345D10 38 60 00 01 */ li r3, 1
/* 80348DB4 00345D14 48 00 00 20 */ b lbl_80348DD4
lbl_80348DB8:
/* 80348DB8 00345D18 38 60 00 00 */ li r3, 0
/* 80348DBC 00345D1C 48 00 00 18 */ b lbl_80348DD4
lbl_80348DC0:
/* 80348DC0 00345D20 C0 3E 00 00 */ lfs f1, 0(r30)
/* 80348DC4 00345D24 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 80348DC8 00345D28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80348DCC 00345D2C 7C 00 00 26 */ mfcr r0
/* 80348DD0 00345D30 54 03 0F FE */ srwi r3, r0, 0x1f
lbl_80348DD4:
/* 80348DD4 00345D34 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80348DD8 00345D38 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80348DDC 00345D3C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80348DE0 00345D40 7C 08 03 A6 */ mtlr r0
/* 80348DE4 00345D44 38 21 00 10 */ addi r1, r1, 0x10
/* 80348DE8 00345D48 4E 80 00 20 */ blr
.global __ct__13CCharAnimTimeFf
__ct__13CCharAnimTimeFf:
/* 80348DEC 00345D4C C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2)
/* 80348DF0 00345D50 D0 23 00 00 */ stfs f1, 0(r3)
/* 80348DF4 00345D54 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 80348DF8 00345D58 40 82 00 10 */ bne lbl_80348E08
/* 80348DFC 00345D5C 38 00 00 02 */ li r0, 2
/* 80348E00 00345D60 90 03 00 04 */ stw r0, 4(r3)
/* 80348E04 00345D64 4E 80 00 20 */ blr
lbl_80348E08:
/* 80348E08 00345D68 38 00 00 00 */ li r0, 0
/* 80348E0C 00345D6C 90 03 00 04 */ stw r0, 4(r3)
/* 80348E10 00345D70 4E 80 00 20 */ blr
.global __ct__13CCharAnimTimeFR12CInputStream
__ct__13CCharAnimTimeFR12CInputStream:
/* 80348E14 00345D74 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80348E18 00345D78 7C 08 02 A6 */ mflr r0
/* 80348E1C 00345D7C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80348E20 00345D80 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80348E24 00345D84 7C 9F 23 78 */ mr r31, r4
/* 80348E28 00345D88 93 C1 00 08 */ stw r30, 8(r1)
/* 80348E2C 00345D8C 7C 7E 1B 78 */ mr r30, r3
/* 80348E30 00345D90 7F E3 FB 78 */ mr r3, r31
/* 80348E34 00345D94 4B FF 5D F5 */ bl ReadFloat__12CInputStreamFv
/* 80348E38 00345D98 D0 3E 00 00 */ stfs f1, 0(r30)
/* 80348E3C 00345D9C 7F E3 FB 78 */ mr r3, r31
/* 80348E40 00345DA0 4B FF 5E 45 */ bl ReadLong__12CInputStreamFv
/* 80348E44 00345DA4 90 7E 00 04 */ stw r3, 4(r30)
/* 80348E48 00345DA8 7F C3 F3 78 */ mr r3, r30
/* 80348E4C 00345DAC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80348E50 00345DB0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80348E54 00345DB4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80348E58 00345DB8 7C 08 03 A6 */ mtlr r0
/* 80348E5C 00345DBC 38 21 00 10 */ addi r1, r1, 0x10
/* 80348E60 00345DC0 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805AE940
lbl_805AE940:
# ROM: 0x3FB1E0
.4byte 0
.4byte 0