donut-decomp/asm/homebuttonLib/lyt_window.s

2743 lines
142 KiB
ArmAsm
Raw Permalink 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 __ct__Q36nw4hbm3lyt6WindowFPCQ46nw4hbm3lyt3res6WindowRCQ36nw4hbm3lyt11ResBlockSet
__ct__Q36nw4hbm3lyt6WindowFPCQ46nw4hbm3lyt3res6WindowRCQ36nw4hbm3lyt11ResBlockSet:
2022-10-16 16:05:58 +00:00
/* 8013D4F0 00139330 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8013D4F4 00139334 7C 08 02 A6 */ mflr r0
/* 8013D4F8 00139338 90 01 00 34 */ stw r0, 0x34(r1)
/* 8013D4FC 0013933C 39 61 00 30 */ addi r11, r1, 0x30
/* 8013D500 00139340 4B EC 9E 29 */ bl lbl_80007328
/* 8013D504 00139344 7C 77 1B 78 */ mr r23, r3
/* 8013D508 00139348 7C 98 23 78 */ mr r24, r4
/* 8013D50C 0013934C 7C B9 2B 78 */ mr r25, r5
2022-10-16 16:31:36 +00:00
/* 8013D510 00139350 4B FF D5 71 */ bl __ct__Q36nw4hbm3lyt4PaneFPCQ46nw4hbm3lyt3res4Pane
/* 8013D514 00139354 3C 60 80 44 */ lis r3, __vt__Q36nw4hbm3lyt6Window@ha
/* 8013D518 00139358 3C 80 80 13 */ lis r4, __ct__Q36nw4hbm2ut5ColorFv@ha
/* 8013D51C 0013935C 38 63 42 A4 */ addi r3, r3, __vt__Q36nw4hbm3lyt6Window@l
/* 8013D520 00139360 3C A0 80 13 */ lis r5, __dt__Q36nw4hbm2ut5ColorFv@ha
2022-10-16 16:05:58 +00:00
/* 8013D524 00139364 3B 57 00 E4 */ addi r26, r23, 0xe4
/* 8013D528 00139368 90 77 00 00 */ stw r3, 0x0(r23)
/* 8013D52C 0013936C 7F 43 D3 78 */ mr r3, r26
2022-10-16 16:31:36 +00:00
/* 8013D530 00139370 38 84 7B A0 */ addi r4, r4, __ct__Q36nw4hbm2ut5ColorFv@l
/* 8013D534 00139374 38 A5 5C 40 */ addi r5, r5, __dt__Q36nw4hbm2ut5ColorFv@l
2022-10-16 16:05:58 +00:00
/* 8013D538 00139378 38 C0 00 04 */ li r6, 0x4
/* 8013D53C 0013937C 38 E0 00 04 */ li r7, 0x4
2022-10-16 16:31:36 +00:00
/* 8013D540 00139380 4B EC 9A E5 */ bl __construct_array
2022-10-16 16:05:58 +00:00
/* 8013D544 00139384 38 7A 00 10 */ addi r3, r26, 0x10
2022-10-16 16:31:36 +00:00
/* 8013D548 00139388 4B FC 08 89 */ bl __ct__Q44nw4r3lyt6detail11TexCoordAryFv
2022-10-16 16:05:58 +00:00
/* 8013D54C 0013938C C0 18 00 4C */ lfs f0, 0x4c(r24)
/* 8013D550 00139390 D0 17 00 D4 */ stfs f0, 0xd4(r23)
/* 8013D554 00139394 80 79 00 08 */ lwz r3, 0x8(r25)
/* 8013D558 00139398 C0 18 00 50 */ lfs f0, 0x50(r24)
/* 8013D55C 0013939C D0 17 00 D8 */ stfs f0, 0xd8(r23)
/* 8013D560 001393A0 3B A3 00 0C */ addi r29, r3, 0xc
/* 8013D564 001393A4 C0 18 00 54 */ lfs f0, 0x54(r24)
/* 8013D568 001393A8 D0 17 00 DC */ stfs f0, 0xdc(r23)
/* 8013D56C 001393AC C0 18 00 58 */ lfs f0, 0x58(r24)
/* 8013D570 001393B0 D0 17 00 E0 */ stfs f0, 0xe0(r23)
/* 8013D574 001393B4 80 18 00 60 */ lwz r0, 0x60(r24)
/* 8013D578 001393B8 7F 78 02 14 */ add r27, r24, r0
/* 8013D57C 001393BC 7C 18 00 2E */ lwzx r0, r24, r0
/* 8013D580 001393C0 90 17 00 E4 */ stw r0, 0xe4(r23)
/* 8013D584 001393C4 80 1B 00 04 */ lwz r0, 0x4(r27)
/* 8013D588 001393C8 90 17 00 E8 */ stw r0, 0xe8(r23)
/* 8013D58C 001393CC 80 1B 00 08 */ lwz r0, 0x8(r27)
/* 8013D590 001393D0 90 17 00 EC */ stw r0, 0xec(r23)
/* 8013D594 001393D4 80 1B 00 0C */ lwz r0, 0xc(r27)
/* 8013D598 001393D8 90 17 00 F0 */ stw r0, 0xf0(r23)
/* 8013D59C 001393DC 88 1B 00 12 */ lbz r0, 0x12(r27)
/* 8013D5A0 001393E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013D5A4 001393E4 41 82 00 3C */ beq lbl_8013D5E0
/* 8013D5A8 001393E8 28 00 00 08 */ cmplwi r0, 0x8
/* 8013D5AC 001393EC 3B 40 00 08 */ li r26, 0x8
/* 8013D5B0 001393F0 41 81 00 08 */ bgt lbl_8013D5B8
/* 8013D5B4 001393F4 7C 1A 03 78 */ mr r26, r0
.global lbl_8013D5B8
lbl_8013D5B8:
/* 8013D5B8 001393F8 38 77 00 F4 */ addi r3, r23, 0xf4
/* 8013D5BC 001393FC 57 44 06 3E */ clrlwi r4, r26, 24
2022-10-16 16:31:36 +00:00
/* 8013D5C0 00139400 4B FF 87 81 */ bl Reserve__Q46nw4hbm3lyt6detail11TexCoordAryFUc
2022-10-16 16:05:58 +00:00
/* 8013D5C4 00139404 88 17 00 F4 */ lbz r0, 0xf4(r23)
/* 8013D5C8 00139408 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013D5CC 0013940C 41 82 00 14 */ beq lbl_8013D5E0
/* 8013D5D0 00139410 38 77 00 F4 */ addi r3, r23, 0xf4
/* 8013D5D4 00139414 38 9B 00 14 */ addi r4, r27, 0x14
/* 8013D5D8 00139418 57 45 06 3E */ clrlwi r5, r26, 24
2022-10-16 16:31:36 +00:00
/* 8013D5DC 0013941C 4B FC 09 F5 */ bl Copy__Q44nw4r3lyt6detail11TexCoordAryFPCvUc
2022-10-16 16:05:58 +00:00
.global lbl_8013D5E0
lbl_8013D5E0:
2022-10-16 16:31:36 +00:00
/* 8013D5E0 00139420 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
2022-10-16 16:05:58 +00:00
/* 8013D5E4 00139424 38 80 00 5C */ li r4, 0x5c
2022-10-16 16:31:36 +00:00
/* 8013D5E8 00139428 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013D5EC 0013942C 4B F6 62 05 */ bl MEMAllocFromAllocator
2022-10-16 16:05:58 +00:00
/* 8013D5F0 00139430 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D5F4 00139434 41 82 00 28 */ beq lbl_8013D61C
/* 8013D5F8 00139438 A0 1B 00 10 */ lhz r0, 0x10(r27)
/* 8013D5FC 0013943C 80 99 00 08 */ lwz r4, 0x8(r25)
/* 8013D600 00139440 54 00 10 3A */ slwi r0, r0, 2
/* 8013D604 00139444 7C 1D 00 2E */ lwzx r0, r29, r0
/* 8013D608 00139448 7C 84 02 14 */ add r4, r4, r0
/* 8013D60C 0013944C 41 82 00 0C */ beq lbl_8013D618
/* 8013D610 00139450 7F 25 CB 78 */ mr r5, r25
2022-10-16 16:31:36 +00:00
/* 8013D614 00139454 4B FF A5 9D */ bl __ct__Q36nw4hbm3lyt8MaterialFPCQ46nw4hbm3lyt3res8MaterialRCQ36nw4hbm3lyt11ResBlockSet
2022-10-16 16:05:58 +00:00
.global lbl_8013D618
lbl_8013D618:
/* 8013D618 00139458 90 77 00 28 */ stw r3, 0x28(r23)
.global lbl_8013D61C
lbl_8013D61C:
/* 8013D61C 0013945C 3B C0 00 00 */ li r30, 0x0
/* 8013D620 00139460 9B D7 01 00 */ stb r30, 0x100(r23)
/* 8013D624 00139464 93 D7 00 FC */ stw r30, 0xfc(r23)
/* 8013D628 00139468 88 18 00 5C */ lbz r0, 0x5c(r24)
/* 8013D62C 0013946C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013D630 00139470 41 82 00 B4 */ beq lbl_8013D6E4
2022-10-16 16:31:36 +00:00
/* 8013D634 00139474 3F E0 80 54 */ lis r31, mspAllocator__Q36nw4hbm3lyt6Layout@ha
2022-10-16 16:05:58 +00:00
/* 8013D638 00139478 54 04 1D 78 */ rlwinm r4, r0, 3, 21, 28
2022-10-16 16:31:36 +00:00
/* 8013D63C 0013947C 80 7F 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r31)
/* 8013D640 00139480 4B F6 61 B1 */ bl MEMAllocFromAllocator
2022-10-16 16:05:58 +00:00
/* 8013D644 00139484 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D648 00139488 90 77 00 FC */ stw r3, 0xfc(r23)
/* 8013D64C 0013948C 41 82 00 98 */ beq lbl_8013D6E4
/* 8013D650 00139490 88 18 00 5C */ lbz r0, 0x5c(r24)
/* 8013D654 00139494 3B 40 00 00 */ li r26, 0x0
/* 8013D658 00139498 98 17 01 00 */ stb r0, 0x100(r23)
/* 8013D65C 0013949C 3B 60 00 00 */ li r27, 0x0
/* 8013D660 001394A0 80 18 00 64 */ lwz r0, 0x64(r24)
/* 8013D664 001394A4 7F 98 02 14 */ add r28, r24, r0
/* 8013D668 001394A8 48 00 00 70 */ b lbl_8013D6D8
.global lbl_8013D66C
lbl_8013D66C:
/* 8013D66C 001394AC 80 1C 00 00 */ lwz r0, 0x0(r28)
/* 8013D670 001394B0 38 80 00 5C */ li r4, 0x5c
/* 8013D674 001394B4 80 77 00 FC */ lwz r3, 0xfc(r23)
/* 8013D678 001394B8 7E D8 02 14 */ add r22, r24, r0
/* 8013D67C 001394BC 88 16 00 02 */ lbz r0, 0x2(r22)
/* 8013D680 001394C0 7C 03 D9 AE */ stbx r0, r3, r27
/* 8013D684 001394C4 80 17 00 FC */ lwz r0, 0xfc(r23)
/* 8013D688 001394C8 7C 60 DA 14 */ add r3, r0, r27
/* 8013D68C 001394CC 93 C3 00 04 */ stw r30, 0x4(r3)
/* 8013D690 001394D0 80 7F 37 70 */ lwz r3, 0x3770(r31)
2022-10-16 16:31:36 +00:00
/* 8013D694 001394D4 4B F6 61 5D */ bl MEMAllocFromAllocator
2022-10-16 16:05:58 +00:00
/* 8013D698 001394D8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D69C 001394DC 41 82 00 30 */ beq lbl_8013D6CC
/* 8013D6A0 001394E0 A0 16 00 00 */ lhz r0, 0x0(r22)
/* 8013D6A4 001394E4 80 99 00 08 */ lwz r4, 0x8(r25)
/* 8013D6A8 001394E8 54 00 10 3A */ slwi r0, r0, 2
/* 8013D6AC 001394EC 7C 1D 00 2E */ lwzx r0, r29, r0
/* 8013D6B0 001394F0 7C 84 02 14 */ add r4, r4, r0
/* 8013D6B4 001394F4 41 82 00 0C */ beq lbl_8013D6C0
/* 8013D6B8 001394F8 7F 25 CB 78 */ mr r5, r25
2022-10-16 16:31:36 +00:00
/* 8013D6BC 001394FC 4B FF A4 F5 */ bl __ct__Q36nw4hbm3lyt8MaterialFPCQ46nw4hbm3lyt3res8MaterialRCQ36nw4hbm3lyt11ResBlockSet
2022-10-16 16:05:58 +00:00
.global lbl_8013D6C0
lbl_8013D6C0:
/* 8013D6C0 00139500 80 17 00 FC */ lwz r0, 0xfc(r23)
/* 8013D6C4 00139504 7C 80 DA 14 */ add r4, r0, r27
/* 8013D6C8 00139508 90 64 00 04 */ stw r3, 0x4(r4)
.global lbl_8013D6CC
lbl_8013D6CC:
/* 8013D6CC 0013950C 3B 9C 00 04 */ addi r28, r28, 0x4
/* 8013D6D0 00139510 3B 7B 00 08 */ addi r27, r27, 0x8
/* 8013D6D4 00139514 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_8013D6D8
lbl_8013D6D8:
/* 8013D6D8 00139518 88 17 01 00 */ lbz r0, 0x100(r23)
/* 8013D6DC 0013951C 7C 1A 00 00 */ cmpw r26, r0
/* 8013D6E0 00139520 41 80 FF 8C */ blt lbl_8013D66C
.global lbl_8013D6E4
lbl_8013D6E4:
/* 8013D6E4 00139524 39 61 00 30 */ addi r11, r1, 0x30
/* 8013D6E8 00139528 7E E3 BB 78 */ mr r3, r23
/* 8013D6EC 0013952C 4B EC 9C 89 */ bl lbl_80007374
/* 8013D6F0 00139530 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8013D6F4 00139534 7C 08 03 A6 */ mtlr r0
/* 8013D6F8 00139538 38 21 00 30 */ addi r1, r1, 0x30
/* 8013D6FC 0013953C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global __dt__Q36nw4hbm3lyt6WindowFv
__dt__Q36nw4hbm3lyt6WindowFv:
2022-10-16 16:05:58 +00:00
/* 8013D700 00139540 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013D704 00139544 7C 08 02 A6 */ mflr r0
/* 8013D708 00139548 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013D70C 0013954C 39 61 00 20 */ addi r11, r1, 0x20
/* 8013D710 00139550 4B EC 9C 2D */ bl lbl_8000733C
/* 8013D714 00139554 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D718 00139558 7C 7B 1B 78 */ mr r27, r3
/* 8013D71C 0013955C 7C 9C 23 78 */ mr r28, r4
/* 8013D720 00139560 41 82 01 08 */ beq lbl_8013D828
/* 8013D724 00139564 80 03 00 FC */ lwz r0, 0xfc(r3)
2022-10-16 16:31:36 +00:00
/* 8013D728 00139568 3C 80 80 44 */ lis r4, __vt__Q36nw4hbm3lyt6Window@ha
/* 8013D72C 0013956C 38 84 42 A4 */ addi r4, r4, __vt__Q36nw4hbm3lyt6Window@l
2022-10-16 16:05:58 +00:00
/* 8013D730 00139570 90 83 00 00 */ stw r4, 0x0(r3)
/* 8013D734 00139574 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013D738 00139578 41 82 00 6C */ beq lbl_8013D7A4
/* 8013D73C 0013957C 3B A0 00 00 */ li r29, 0x0
/* 8013D740 00139580 3B C0 00 00 */ li r30, 0x0
2022-10-16 16:31:36 +00:00
/* 8013D744 00139584 3F E0 80 54 */ lis r31, mspAllocator__Q36nw4hbm3lyt6Layout@ha
2022-10-16 16:05:58 +00:00
/* 8013D748 00139588 48 00 00 40 */ b lbl_8013D788
.global lbl_8013D74C
lbl_8013D74C:
/* 8013D74C 0013958C 80 1B 00 FC */ lwz r0, 0xfc(r27)
/* 8013D750 00139590 38 80 FF FF */ li r4, -0x1
/* 8013D754 00139594 7C 60 F2 14 */ add r3, r0, r30
/* 8013D758 00139598 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013D75C 0013959C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013D760 001395A0 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8013D764 001395A4 7D 89 03 A6 */ mtctr r12
/* 8013D768 001395A8 4E 80 04 21 */ bctrl
/* 8013D76C 001395AC 80 1B 00 FC */ lwz r0, 0xfc(r27)
2022-10-16 16:31:36 +00:00
/* 8013D770 001395B0 80 7F 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r31)
2022-10-16 16:05:58 +00:00
/* 8013D774 001395B4 7C 80 F2 14 */ add r4, r0, r30
/* 8013D778 001395B8 80 84 00 04 */ lwz r4, 0x4(r4)
2022-10-16 16:31:36 +00:00
/* 8013D77C 001395BC 4B F6 60 85 */ bl MEMFreeToAllocator
2022-10-16 16:05:58 +00:00
/* 8013D780 001395C0 3B DE 00 08 */ addi r30, r30, 0x8
/* 8013D784 001395C4 3B BD 00 01 */ addi r29, r29, 0x1
.global lbl_8013D788
lbl_8013D788:
/* 8013D788 001395C8 88 1B 01 00 */ lbz r0, 0x100(r27)
/* 8013D78C 001395CC 7C 1D 00 00 */ cmpw r29, r0
/* 8013D790 001395D0 41 80 FF BC */ blt lbl_8013D74C
2022-10-16 16:31:36 +00:00
/* 8013D794 001395D4 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
2022-10-16 16:05:58 +00:00
/* 8013D798 001395D8 80 9B 00 FC */ lwz r4, 0xfc(r27)
2022-10-16 16:31:36 +00:00
/* 8013D79C 001395DC 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013D7A0 001395E0 4B F6 60 61 */ bl MEMFreeToAllocator
2022-10-16 16:05:58 +00:00
.global lbl_8013D7A4
lbl_8013D7A4:
/* 8013D7A4 001395E4 80 7B 00 28 */ lwz r3, 0x28(r27)
/* 8013D7A8 001395E8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D7AC 001395EC 41 82 00 3C */ beq lbl_8013D7E8
/* 8013D7B0 001395F0 88 03 00 54 */ lbz r0, 0x54(r3)
/* 8013D7B4 001395F4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013D7B8 001395F8 40 82 00 30 */ bne lbl_8013D7E8
/* 8013D7BC 001395FC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013D7C0 00139600 38 80 FF FF */ li r4, -0x1
/* 8013D7C4 00139604 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8013D7C8 00139608 7D 89 03 A6 */ mtctr r12
/* 8013D7CC 0013960C 4E 80 04 21 */ bctrl
2022-10-16 16:31:36 +00:00
/* 8013D7D0 00139610 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
2022-10-16 16:05:58 +00:00
/* 8013D7D4 00139614 80 9B 00 28 */ lwz r4, 0x28(r27)
2022-10-16 16:31:36 +00:00
/* 8013D7D8 00139618 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013D7DC 0013961C 4B F6 60 25 */ bl MEMFreeToAllocator
2022-10-16 16:05:58 +00:00
/* 8013D7E0 00139620 38 00 00 00 */ li r0, 0x0
/* 8013D7E4 00139624 90 1B 00 28 */ stw r0, 0x28(r27)
.global lbl_8013D7E8
lbl_8013D7E8:
/* 8013D7E8 00139628 38 7B 00 F4 */ addi r3, r27, 0xf4
2022-10-16 16:31:36 +00:00
/* 8013D7EC 0013962C 4B FF 85 05 */ bl Free__Q46nw4hbm3lyt6detail11TexCoordAryFv
2022-10-16 16:05:58 +00:00
/* 8013D7F0 00139630 34 7B 00 E4 */ addic. r3, r27, 0xe4
/* 8013D7F4 00139634 41 82 00 18 */ beq lbl_8013D80C
2022-10-16 16:31:36 +00:00
/* 8013D7F8 00139638 3C 80 80 13 */ lis r4, __dt__Q36nw4hbm2ut5ColorFv@ha
2022-10-16 16:05:58 +00:00
/* 8013D7FC 0013963C 38 A0 00 04 */ li r5, 0x4
2022-10-16 16:31:36 +00:00
/* 8013D800 00139640 38 84 5C 40 */ addi r4, r4, __dt__Q36nw4hbm2ut5ColorFv@l
2022-10-16 16:05:58 +00:00
/* 8013D804 00139644 38 C0 00 04 */ li r6, 0x4
2022-10-16 16:31:36 +00:00
/* 8013D808 00139648 4B EC 99 15 */ bl __destroy_arr
2022-10-16 16:05:58 +00:00
.global lbl_8013D80C
lbl_8013D80C:
/* 8013D80C 0013964C 7F 63 DB 78 */ mr r3, r27
/* 8013D810 00139650 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 8013D814 00139654 4B FF D3 8D */ bl __dt__Q36nw4hbm3lyt4PaneFv
2022-10-16 16:05:58 +00:00
/* 8013D818 00139658 2C 1C 00 00 */ cmpwi r28, 0x0
/* 8013D81C 0013965C 40 81 00 0C */ ble lbl_8013D828
/* 8013D820 00139660 7F 63 DB 78 */ mr r3, r27
2022-10-16 16:31:36 +00:00
/* 8013D824 00139664 48 08 1E F1 */ bl __dl__FPv
2022-10-16 16:05:58 +00:00
.global lbl_8013D828
lbl_8013D828:
/* 8013D828 00139668 39 61 00 20 */ addi r11, r1, 0x20
/* 8013D82C 0013966C 7F 63 DB 78 */ mr r3, r27
/* 8013D830 00139670 4B EC 9B 59 */ bl lbl_80007388
/* 8013D834 00139674 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013D838 00139678 7C 08 03 A6 */ mtlr r0
/* 8013D83C 0013967C 38 21 00 20 */ addi r1, r1, 0x20
/* 8013D840 00139680 4E 80 00 20 */ blr
/* 8013D844 00139684 00 00 00 00 */ .4byte 0x00000000
/* 8013D848 00139688 00 00 00 00 */ .4byte 0x00000000
/* 8013D84C 0013968C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global FindMaterialByName__Q36nw4hbm3lyt6WindowFPCcb
FindMaterialByName__Q36nw4hbm3lyt6WindowFPCcb:
2022-10-16 16:05:58 +00:00
/* 8013D850 00139690 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013D854 00139694 7C 08 02 A6 */ mflr r0
/* 8013D858 00139698 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013D85C 0013969C 39 61 00 20 */ addi r11, r1, 0x20
/* 8013D860 001396A0 4B EC 9A DD */ bl lbl_8000733C
/* 8013D864 001396A4 80 C3 00 28 */ lwz r6, 0x28(r3)
/* 8013D868 001396A8 7C 7B 1B 78 */ mr r27, r3
/* 8013D86C 001396AC 7C 9C 23 78 */ mr r28, r4
/* 8013D870 001396B0 7C BD 2B 78 */ mr r29, r5
/* 8013D874 001396B4 2C 06 00 00 */ cmpwi r6, 0x0
/* 8013D878 001396B8 41 82 00 1C */ beq lbl_8013D894
/* 8013D87C 001396BC 38 66 00 04 */ addi r3, r6, 0x4
2022-10-16 16:31:36 +00:00
/* 8013D880 001396C0 4B FC 04 F1 */ bl EqualsMaterialName__Q34nw4r3lyt6detailFPCcPCc
2022-10-16 16:05:58 +00:00
/* 8013D884 001396C4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D888 001396C8 41 82 00 0C */ beq lbl_8013D894
/* 8013D88C 001396CC 80 7B 00 28 */ lwz r3, 0x28(r27)
/* 8013D890 001396D0 48 00 00 A4 */ b lbl_8013D934
.global lbl_8013D894
lbl_8013D894:
/* 8013D894 001396D4 3B E0 00 00 */ li r31, 0x0
/* 8013D898 001396D8 3B C0 00 00 */ li r30, 0x0
/* 8013D89C 001396DC 48 00 00 40 */ b lbl_8013D8DC
.global lbl_8013D8A0
lbl_8013D8A0:
/* 8013D8A0 001396E0 80 1B 00 FC */ lwz r0, 0xfc(r27)
/* 8013D8A4 001396E4 7F 84 E3 78 */ mr r4, r28
/* 8013D8A8 001396E8 7C 60 F2 14 */ add r3, r0, r30
/* 8013D8AC 001396EC 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013D8B0 001396F0 38 63 00 04 */ addi r3, r3, 0x4
2022-10-16 16:31:36 +00:00
/* 8013D8B4 001396F4 4B FC 04 BD */ bl EqualsMaterialName__Q34nw4r3lyt6detailFPCcPCc
2022-10-16 16:05:58 +00:00
/* 8013D8B8 001396F8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D8BC 001396FC 41 82 00 18 */ beq lbl_8013D8D4
/* 8013D8C0 00139700 80 7B 00 FC */ lwz r3, 0xfc(r27)
/* 8013D8C4 00139704 57 E0 18 38 */ slwi r0, r31, 3
/* 8013D8C8 00139708 7C 63 02 14 */ add r3, r3, r0
/* 8013D8CC 0013970C 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013D8D0 00139710 48 00 00 64 */ b lbl_8013D934
.global lbl_8013D8D4
lbl_8013D8D4:
/* 8013D8D4 00139714 3B DE 00 08 */ addi r30, r30, 0x8
/* 8013D8D8 00139718 3B FF 00 01 */ addi r31, r31, 0x1
.global lbl_8013D8DC
lbl_8013D8DC:
/* 8013D8DC 0013971C 88 1B 01 00 */ lbz r0, 0x100(r27)
/* 8013D8E0 00139720 7C 1F 00 00 */ cmpw r31, r0
/* 8013D8E4 00139724 41 80 FF BC */ blt lbl_8013D8A0
/* 8013D8E8 00139728 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013D8EC 0013972C 41 82 00 44 */ beq lbl_8013D930
/* 8013D8F0 00139730 83 FB 00 14 */ lwz r31, 0x14(r27)
/* 8013D8F4 00139734 3B DB 00 14 */ addi r30, r27, 0x14
/* 8013D8F8 00139738 48 00 00 30 */ b lbl_8013D928
.global lbl_8013D8FC
lbl_8013D8FC:
/* 8013D8FC 0013973C 81 9F FF FC */ lwz r12, -0x4(r31)
/* 8013D900 00139740 38 7F FF FC */ addi r3, r31, -0x4
/* 8013D904 00139744 7F 84 E3 78 */ mr r4, r28
/* 8013D908 00139748 38 A0 00 01 */ li r5, 0x1
/* 8013D90C 0013974C 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8013D910 00139750 7D 89 03 A6 */ mtctr r12
/* 8013D914 00139754 4E 80 04 21 */ bctrl
/* 8013D918 00139758 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D91C 0013975C 41 82 00 08 */ beq lbl_8013D924
/* 8013D920 00139760 48 00 00 14 */ b lbl_8013D934
.global lbl_8013D924
lbl_8013D924:
/* 8013D924 00139764 83 FF 00 00 */ lwz r31, 0x0(r31)
.global lbl_8013D928
lbl_8013D928:
/* 8013D928 00139768 7C 1F F0 40 */ cmplw r31, r30
/* 8013D92C 0013976C 40 82 FF D0 */ bne lbl_8013D8FC
.global lbl_8013D930
lbl_8013D930:
/* 8013D930 00139770 38 60 00 00 */ li r3, 0x0
.global lbl_8013D934
lbl_8013D934:
/* 8013D934 00139774 39 61 00 20 */ addi r11, r1, 0x20
/* 8013D938 00139778 4B EC 9A 51 */ bl lbl_80007388
/* 8013D93C 0013977C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013D940 00139780 7C 08 03 A6 */ mtlr r0
/* 8013D944 00139784 38 21 00 20 */ addi r1, r1, 0x20
/* 8013D948 00139788 4E 80 00 20 */ blr
/* 8013D94C 0013978C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global FindAnimationLink__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransform
FindAnimationLink__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransform:
2022-10-16 16:05:58 +00:00
/* 8013D950 00139790 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013D954 00139794 7C 08 02 A6 */ mflr r0
/* 8013D958 00139798 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013D95C 0013979C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013D960 001397A0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013D964 001397A4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013D968 001397A8 7C 9D 23 78 */ mr r29, r4
/* 8013D96C 001397AC 93 81 00 10 */ stw r28, 0x10(r1)
/* 8013D970 001397B0 7C 7C 1B 78 */ mr r28, r3
2022-10-16 16:31:36 +00:00
/* 8013D974 001397B4 4B FF DE 7D */ bl FindAnimationLink__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransform
2022-10-16 16:05:58 +00:00
/* 8013D978 001397B8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D97C 001397BC 41 82 00 08 */ beq lbl_8013D984
/* 8013D980 001397C0 48 00 00 54 */ b lbl_8013D9D4
.global lbl_8013D984
lbl_8013D984:
/* 8013D984 001397C4 3B C0 00 00 */ li r30, 0x0
/* 8013D988 001397C8 3B E0 00 00 */ li r31, 0x0
/* 8013D98C 001397CC 48 00 00 38 */ b lbl_8013D9C4
.global lbl_8013D990
lbl_8013D990:
/* 8013D990 001397D0 80 1C 00 FC */ lwz r0, 0xfc(r28)
/* 8013D994 001397D4 7F A4 EB 78 */ mr r4, r29
/* 8013D998 001397D8 7C 60 FA 14 */ add r3, r0, r31
/* 8013D99C 001397DC 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013D9A0 001397E0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013D9A4 001397E4 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8013D9A8 001397E8 7D 89 03 A6 */ mtctr r12
/* 8013D9AC 001397EC 4E 80 04 21 */ bctrl
/* 8013D9B0 001397F0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D9B4 001397F4 41 82 00 08 */ beq lbl_8013D9BC
/* 8013D9B8 001397F8 48 00 00 1C */ b lbl_8013D9D4
.global lbl_8013D9BC
lbl_8013D9BC:
/* 8013D9BC 001397FC 3B FF 00 08 */ addi r31, r31, 0x8
/* 8013D9C0 00139800 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_8013D9C4
lbl_8013D9C4:
/* 8013D9C4 00139804 88 1C 01 00 */ lbz r0, 0x100(r28)
/* 8013D9C8 00139808 7C 1E 00 00 */ cmpw r30, r0
/* 8013D9CC 0013980C 41 80 FF C4 */ blt lbl_8013D990
/* 8013D9D0 00139810 38 60 00 00 */ li r3, 0x0
.global lbl_8013D9D4
lbl_8013D9D4:
/* 8013D9D4 00139814 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013D9D8 00139818 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013D9DC 0013981C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013D9E0 00139820 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013D9E4 00139824 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8013D9E8 00139828 7C 08 03 A6 */ mtlr r0
/* 8013D9EC 0013982C 38 21 00 20 */ addi r1, r1, 0x20
/* 8013D9F0 00139830 4E 80 00 20 */ blr
/* 8013D9F4 00139834 00 00 00 00 */ .4byte 0x00000000
/* 8013D9F8 00139838 00 00 00 00 */ .4byte 0x00000000
/* 8013D9FC 0013983C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetAnimationEnable__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransformbb
SetAnimationEnable__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransformbb:
2022-10-16 16:05:58 +00:00
/* 8013DA00 00139840 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013DA04 00139844 7C 08 02 A6 */ mflr r0
/* 8013DA08 00139848 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013DA0C 0013984C 39 61 00 20 */ addi r11, r1, 0x20
/* 8013DA10 00139850 4B EC 99 29 */ bl lbl_80007338
/* 8013DA14 00139854 7C 7A 1B 78 */ mr r26, r3
/* 8013DA18 00139858 7C 9B 23 78 */ mr r27, r4
/* 8013DA1C 0013985C 7C BC 2B 78 */ mr r28, r5
/* 8013DA20 00139860 7C DD 33 78 */ mr r29, r6
/* 8013DA24 00139864 3B C0 00 00 */ li r30, 0x0
/* 8013DA28 00139868 3B E0 00 00 */ li r31, 0x0
/* 8013DA2C 0013986C 48 00 00 30 */ b lbl_8013DA5C
.global lbl_8013DA30
lbl_8013DA30:
/* 8013DA30 00139870 80 1A 00 FC */ lwz r0, 0xfc(r26)
/* 8013DA34 00139874 7F 64 DB 78 */ mr r4, r27
/* 8013DA38 00139878 7F 85 E3 78 */ mr r5, r28
/* 8013DA3C 0013987C 7C 60 FA 14 */ add r3, r0, r31
/* 8013DA40 00139880 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013DA44 00139884 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013DA48 00139888 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8013DA4C 0013988C 7D 89 03 A6 */ mtctr r12
/* 8013DA50 00139890 4E 80 04 21 */ bctrl
/* 8013DA54 00139894 3B FF 00 08 */ addi r31, r31, 0x8
/* 8013DA58 00139898 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_8013DA5C
lbl_8013DA5C:
/* 8013DA5C 0013989C 88 1A 01 00 */ lbz r0, 0x100(r26)
/* 8013DA60 001398A0 7C 1E 00 00 */ cmpw r30, r0
/* 8013DA64 001398A4 41 80 FF CC */ blt lbl_8013DA30
/* 8013DA68 001398A8 7F 43 D3 78 */ mr r3, r26
/* 8013DA6C 001398AC 7F 64 DB 78 */ mr r4, r27
/* 8013DA70 001398B0 7F 85 E3 78 */ mr r5, r28
/* 8013DA74 001398B4 7F A6 EB 78 */ mr r6, r29
2022-10-16 16:31:36 +00:00
/* 8013DA78 001398B8 4B FF DD F9 */ bl SetAnimationEnable__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransformbb
2022-10-16 16:05:58 +00:00
/* 8013DA7C 001398BC 39 61 00 20 */ addi r11, r1, 0x20
/* 8013DA80 001398C0 4B EC 99 05 */ bl lbl_80007384
/* 8013DA84 001398C4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013DA88 001398C8 7C 08 03 A6 */ mtlr r0
/* 8013DA8C 001398CC 38 21 00 20 */ addi r1, r1, 0x20
/* 8013DA90 001398D0 4E 80 00 20 */ blr
/* 8013DA94 001398D4 00 00 00 00 */ .4byte 0x00000000
/* 8013DA98 001398D8 00 00 00 00 */ .4byte 0x00000000
/* 8013DA9C 001398DC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetVtxColor__Q36nw4hbm3lyt6WindowCFUl
GetVtxColor__Q36nw4hbm3lyt6WindowCFUl:
2022-10-16 16:05:58 +00:00
/* 8013DAA0 001398E0 54 A0 10 3A */ slwi r0, r5, 2
/* 8013DAA4 001398E4 7C 84 02 14 */ add r4, r4, r0
/* 8013DAA8 001398E8 80 04 00 E4 */ lwz r0, 0xe4(r4)
/* 8013DAAC 001398EC 90 03 00 00 */ stw r0, 0x0(r3)
/* 8013DAB0 001398F0 4E 80 00 20 */ blr
/* 8013DAB4 001398F4 00 00 00 00 */ .4byte 0x00000000
/* 8013DAB8 001398F8 00 00 00 00 */ .4byte 0x00000000
/* 8013DABC 001398FC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetVtxColor__Q36nw4hbm3lyt6WindowFUlQ36nw4hbm2ut5Color
SetVtxColor__Q36nw4hbm3lyt6WindowFUlQ36nw4hbm2ut5Color:
2022-10-16 16:05:58 +00:00
/* 8013DAC0 00139900 54 84 10 3A */ slwi r4, r4, 2
/* 8013DAC4 00139904 88 05 00 00 */ lbz r0, 0x0(r5)
/* 8013DAC8 00139908 7C 63 22 14 */ add r3, r3, r4
/* 8013DACC 0013990C 98 03 00 E4 */ stb r0, 0xe4(r3)
/* 8013DAD0 00139910 88 05 00 01 */ lbz r0, 0x1(r5)
/* 8013DAD4 00139914 98 03 00 E5 */ stb r0, 0xe5(r3)
/* 8013DAD8 00139918 88 05 00 02 */ lbz r0, 0x2(r5)
/* 8013DADC 0013991C 98 03 00 E6 */ stb r0, 0xe6(r3)
/* 8013DAE0 00139920 88 05 00 03 */ lbz r0, 0x3(r5)
/* 8013DAE4 00139924 98 03 00 E7 */ stb r0, 0xe7(r3)
/* 8013DAE8 00139928 4E 80 00 20 */ blr
/* 8013DAEC 0013992C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetVtxColorElement__Q36nw4hbm3lyt6WindowCFUl
GetVtxColorElement__Q36nw4hbm3lyt6WindowCFUl:
2022-10-16 16:05:58 +00:00
/* 8013DAF0 00139930 54 85 00 3A */ clrrwi r5, r4, 2
/* 8013DAF4 00139934 54 80 07 BE */ clrlwi r0, r4, 30
/* 8013DAF8 00139938 7C 63 2A 14 */ add r3, r3, r5
/* 8013DAFC 0013993C 7C 63 02 14 */ add r3, r3, r0
/* 8013DB00 00139940 88 63 00 E4 */ lbz r3, 0xe4(r3)
/* 8013DB04 00139944 4E 80 00 20 */ blr
/* 8013DB08 00139948 00 00 00 00 */ .4byte 0x00000000
/* 8013DB0C 0013994C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global SetVtxColorElement__Q36nw4hbm3lyt6WindowFUlUc
SetVtxColorElement__Q36nw4hbm3lyt6WindowFUlUc:
2022-10-16 16:05:58 +00:00
/* 8013DB10 00139950 54 86 00 3A */ clrrwi r6, r4, 2
/* 8013DB14 00139954 54 80 07 BE */ clrlwi r0, r4, 30
/* 8013DB18 00139958 7C 63 32 14 */ add r3, r3, r6
/* 8013DB1C 0013995C 7C 63 02 14 */ add r3, r3, r0
/* 8013DB20 00139960 98 A3 00 E4 */ stb r5, 0xe4(r3)
/* 8013DB24 00139964 4E 80 00 20 */ blr
/* 8013DB28 00139968 00 00 00 00 */ .4byte 0x00000000
/* 8013DB2C 0013996C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global DrawSelf__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm3lyt8DrawInfo
DrawSelf__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm3lyt8DrawInfo:
2022-10-16 16:05:58 +00:00
/* 8013DB30 00139970 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8013DB34 00139974 7C 08 02 A6 */ mflr r0
/* 8013DB38 00139978 90 01 00 64 */ stw r0, 0x64(r1)
/* 8013DB3C 0013997C 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8013DB40 00139980 93 C1 00 58 */ stw r30, 0x58(r1)
/* 8013DB44 00139984 7C 7E 1B 78 */ mr r30, r3
/* 8013DB48 00139988 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013DB4C 0013998C 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 8013DB50 00139990 7D 89 03 A6 */ mtctr r12
/* 8013DB54 00139994 4E 80 04 21 */ bctrl
/* 8013DB58 00139998 88 7E 01 00 */ lbz r3, 0x100(r30)
/* 8013DB5C 0013999C 38 00 00 00 */ li r0, 0x0
/* 8013DB60 001399A0 90 01 00 30 */ stw r0, 0x30(r1)
/* 8013DB64 001399A4 2C 03 00 01 */ cmpwi r3, 0x1
/* 8013DB68 001399A8 83 FE 00 FC */ lwz r31, 0xfc(r30)
/* 8013DB6C 001399AC 90 01 00 34 */ stw r0, 0x34(r1)
/* 8013DB70 001399B0 90 01 00 38 */ stw r0, 0x38(r1)
/* 8013DB74 001399B4 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8013DB78 001399B8 41 82 00 18 */ beq lbl_8013DB90
/* 8013DB7C 001399BC 2C 03 00 04 */ cmpwi r3, 0x4
/* 8013DB80 001399C0 41 82 00 3C */ beq lbl_8013DBBC
/* 8013DB84 001399C4 2C 03 00 08 */ cmpwi r3, 0x8
/* 8013DB88 001399C8 41 82 00 34 */ beq lbl_8013DBBC
/* 8013DB8C 001399CC 48 00 00 78 */ b lbl_8013DC04
.global lbl_8013DB90
lbl_8013DB90:
/* 8013DB90 001399D0 80 9F 00 04 */ lwz r4, 0x4(r31)
/* 8013DB94 001399D4 38 61 00 08 */ addi r3, r1, 0x8
/* 8013DB98 001399D8 38 A0 00 00 */ li r5, 0x0
2022-10-16 16:31:36 +00:00
/* 8013DB9C 001399DC 4B FF CD D5 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013DBA0 001399E0 C0 21 00 08 */ lfs f1, 0x8(r1)
/* 8013DBA4 001399E4 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8013DBA8 001399E8 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 8013DBAC 001399EC D0 01 00 38 */ stfs f0, 0x38(r1)
/* 8013DBB0 001399F0 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 8013DBB4 001399F4 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 8013DBB8 001399F8 48 00 00 4C */ b lbl_8013DC04
.global lbl_8013DBBC
lbl_8013DBBC:
/* 8013DBBC 001399FC 80 9F 00 04 */ lwz r4, 0x4(r31)
/* 8013DBC0 00139A00 38 61 00 10 */ addi r3, r1, 0x10
/* 8013DBC4 00139A04 38 A0 00 00 */ li r5, 0x0
2022-10-16 16:31:36 +00:00
/* 8013DBC8 00139A08 4B FF CD A9 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013DBCC 00139A0C C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8013DBD0 00139A10 38 61 00 18 */ addi r3, r1, 0x18
/* 8013DBD4 00139A14 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8013DBD8 00139A18 38 A0 00 00 */ li r5, 0x0
/* 8013DBDC 00139A1C D0 21 00 30 */ stfs f1, 0x30(r1)
/* 8013DBE0 00139A20 80 9F 00 1C */ lwz r4, 0x1c(r31)
/* 8013DBE4 00139A24 D0 01 00 38 */ stfs f0, 0x38(r1)
2022-10-16 16:31:36 +00:00
/* 8013DBE8 00139A28 4B FF CD 89 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013DBEC 00139A2C C0 21 00 18 */ lfs f1, 0x18(r1)
/* 8013DBF0 00139A30 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8013DBF4 00139A34 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8013DBF8 00139A38 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8013DBFC 00139A3C D0 21 00 34 */ stfs f1, 0x34(r1)
/* 8013DC00 00139A40 D0 01 00 3C */ stfs f0, 0x3c(r1)
.global lbl_8013DC04
lbl_8013DC04:
/* 8013DC04 00139A44 80 C1 00 30 */ lwz r6, 0x30(r1)
/* 8013DC08 00139A48 7F C3 F3 78 */ mr r3, r30
/* 8013DC0C 00139A4C 80 A1 00 34 */ lwz r5, 0x34(r1)
/* 8013DC10 00139A50 80 81 00 38 */ lwz r4, 0x38(r1)
/* 8013DC14 00139A54 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8013DC18 00139A58 90 C1 00 40 */ stw r6, 0x40(r1)
/* 8013DC1C 00139A5C 90 A1 00 44 */ stw r5, 0x44(r1)
/* 8013DC20 00139A60 90 81 00 48 */ stw r4, 0x48(r1)
/* 8013DC24 00139A64 90 01 00 4C */ stw r0, 0x4c(r1)
2022-10-16 16:31:36 +00:00
/* 8013DC28 00139A68 4B FF DE 19 */ bl GetVtxPos__Q36nw4hbm3lyt4PaneCFv
2022-10-16 16:05:58 +00:00
/* 8013DC2C 00139A6C 90 61 00 28 */ stw r3, 0x28(r1)
/* 8013DC30 00139A70 38 A1 00 40 */ addi r5, r1, 0x40
/* 8013DC34 00139A74 90 81 00 2C */ stw r4, 0x2c(r1)
/* 8013DC38 00139A78 81 9E 00 00 */ lwz r12, 0x0(r30)
/* 8013DC3C 00139A7C 90 61 00 20 */ stw r3, 0x20(r1)
/* 8013DC40 00139A80 7F C3 F3 78 */ mr r3, r30
/* 8013DC44 00139A84 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 8013DC48 00139A88 90 81 00 24 */ stw r4, 0x24(r1)
/* 8013DC4C 00139A8C 38 81 00 28 */ addi r4, r1, 0x28
/* 8013DC50 00139A90 88 DE 00 CE */ lbz r6, 0xce(r30)
/* 8013DC54 00139A94 7D 89 03 A6 */ mtctr r12
/* 8013DC58 00139A98 4E 80 04 21 */ bctrl
/* 8013DC5C 00139A9C 88 1E 01 00 */ lbz r0, 0x100(r30)
/* 8013DC60 00139AA0 2C 00 00 01 */ cmpwi r0, 0x1
/* 8013DC64 00139AA4 41 82 00 18 */ beq lbl_8013DC7C
/* 8013DC68 00139AA8 2C 00 00 04 */ cmpwi r0, 0x4
/* 8013DC6C 00139AAC 41 82 00 38 */ beq lbl_8013DCA4
/* 8013DC70 00139AB0 2C 00 00 08 */ cmpwi r0, 0x8
/* 8013DC74 00139AB4 41 82 00 58 */ beq lbl_8013DCCC
/* 8013DC78 00139AB8 48 00 00 78 */ b lbl_8013DCF0
.global lbl_8013DC7C
lbl_8013DC7C:
/* 8013DC7C 00139ABC 81 9E 00 00 */ lwz r12, 0x0(r30)
/* 8013DC80 00139AC0 7F C3 F3 78 */ mr r3, r30
/* 8013DC84 00139AC4 38 81 00 28 */ addi r4, r1, 0x28
/* 8013DC88 00139AC8 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013DC8C 00139ACC 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 8013DC90 00139AD0 80 BE 00 FC */ lwz r5, 0xfc(r30)
/* 8013DC94 00139AD4 88 FE 00 CE */ lbz r7, 0xce(r30)
/* 8013DC98 00139AD8 7D 89 03 A6 */ mtctr r12
/* 8013DC9C 00139ADC 4E 80 04 21 */ bctrl
/* 8013DCA0 00139AE0 48 00 00 50 */ b lbl_8013DCF0
.global lbl_8013DCA4
lbl_8013DCA4:
/* 8013DCA4 00139AE4 81 9E 00 00 */ lwz r12, 0x0(r30)
/* 8013DCA8 00139AE8 7F C3 F3 78 */ mr r3, r30
/* 8013DCAC 00139AEC 38 81 00 28 */ addi r4, r1, 0x28
/* 8013DCB0 00139AF0 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013DCB4 00139AF4 81 8C 00 74 */ lwz r12, 0x74(r12)
/* 8013DCB8 00139AF8 80 BE 00 FC */ lwz r5, 0xfc(r30)
/* 8013DCBC 00139AFC 88 FE 00 CE */ lbz r7, 0xce(r30)
/* 8013DCC0 00139B00 7D 89 03 A6 */ mtctr r12
/* 8013DCC4 00139B04 4E 80 04 21 */ bctrl
/* 8013DCC8 00139B08 48 00 00 28 */ b lbl_8013DCF0
.global lbl_8013DCCC
lbl_8013DCCC:
/* 8013DCCC 00139B0C 81 9E 00 00 */ lwz r12, 0x0(r30)
/* 8013DCD0 00139B10 7F C3 F3 78 */ mr r3, r30
/* 8013DCD4 00139B14 38 81 00 28 */ addi r4, r1, 0x28
/* 8013DCD8 00139B18 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013DCDC 00139B1C 81 8C 00 78 */ lwz r12, 0x78(r12)
/* 8013DCE0 00139B20 80 BE 00 FC */ lwz r5, 0xfc(r30)
/* 8013DCE4 00139B24 88 FE 00 CE */ lbz r7, 0xce(r30)
/* 8013DCE8 00139B28 7D 89 03 A6 */ mtctr r12
/* 8013DCEC 00139B2C 4E 80 04 21 */ bctrl
.global lbl_8013DCF0
lbl_8013DCF0:
/* 8013DCF0 00139B30 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8013DCF4 00139B34 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8013DCF8 00139B38 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8013DCFC 00139B3C 7C 08 03 A6 */ mtlr r0
/* 8013DD00 00139B40 38 21 00 60 */ addi r1, r1, 0x60
/* 8013DD04 00139B44 4E 80 00 20 */ blr
/* 8013DD08 00139B48 00 00 00 00 */ .4byte 0x00000000
/* 8013DD0C 00139B4C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global AnimateSelf__Q36nw4hbm3lyt6WindowFUl
AnimateSelf__Q36nw4hbm3lyt6WindowFUl:
2022-10-16 16:05:58 +00:00
/* 8013DD10 00139B50 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013DD14 00139B54 7C 08 02 A6 */ mflr r0
/* 8013DD18 00139B58 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013DD1C 00139B5C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013DD20 00139B60 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013DD24 00139B64 7C 9E 23 78 */ mr r30, r4
/* 8013DD28 00139B68 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013DD2C 00139B6C 7C 7D 1B 78 */ mr r29, r3
2022-10-16 16:31:36 +00:00
/* 8013DD30 00139B70 4B FF D8 E1 */ bl AnimateSelf__Q36nw4hbm3lyt4PaneFUl
2022-10-16 16:05:58 +00:00
/* 8013DD34 00139B74 88 1D 00 CF */ lbz r0, 0xcf(r29)
/* 8013DD38 00139B78 54 00 07 FF */ clrlwi. r0, r0, 31
/* 8013DD3C 00139B7C 40 82 00 0C */ bne lbl_8013DD48
/* 8013DD40 00139B80 57 C0 07 FF */ clrlwi. r0, r30, 31
/* 8013DD44 00139B84 40 82 00 40 */ bne lbl_8013DD84
.global lbl_8013DD48
lbl_8013DD48:
/* 8013DD48 00139B88 3B C0 00 00 */ li r30, 0x0
/* 8013DD4C 00139B8C 3B E0 00 00 */ li r31, 0x0
/* 8013DD50 00139B90 48 00 00 28 */ b lbl_8013DD78
.global lbl_8013DD54
lbl_8013DD54:
/* 8013DD54 00139B94 80 1D 00 FC */ lwz r0, 0xfc(r29)
/* 8013DD58 00139B98 7C 60 FA 14 */ add r3, r0, r31
/* 8013DD5C 00139B9C 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013DD60 00139BA0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013DD64 00139BA4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8013DD68 00139BA8 7D 89 03 A6 */ mtctr r12
/* 8013DD6C 00139BAC 4E 80 04 21 */ bctrl
/* 8013DD70 00139BB0 3B FF 00 08 */ addi r31, r31, 0x8
/* 8013DD74 00139BB4 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_8013DD78
lbl_8013DD78:
/* 8013DD78 00139BB8 88 1D 01 00 */ lbz r0, 0x100(r29)
/* 8013DD7C 00139BBC 7C 1E 00 00 */ cmpw r30, r0
/* 8013DD80 00139BC0 41 80 FF D4 */ blt lbl_8013DD54
.global lbl_8013DD84
lbl_8013DD84:
/* 8013DD84 00139BC4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013DD88 00139BC8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013DD8C 00139BCC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013DD90 00139BD0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013DD94 00139BD4 7C 08 03 A6 */ mtlr r0
/* 8013DD98 00139BD8 38 21 00 20 */ addi r1, r1, 0x20
/* 8013DD9C 00139BDC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global UnbindAnimationSelf__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransform
UnbindAnimationSelf__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransform:
2022-10-16 16:05:58 +00:00
/* 8013DDA0 00139BE0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013DDA4 00139BE4 7C 08 02 A6 */ mflr r0
/* 8013DDA8 00139BE8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013DDAC 00139BEC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013DDB0 00139BF0 3B E0 00 00 */ li r31, 0x0
/* 8013DDB4 00139BF4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013DDB8 00139BF8 3B C0 00 00 */ li r30, 0x0
/* 8013DDBC 00139BFC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013DDC0 00139C00 7C 9D 23 78 */ mr r29, r4
/* 8013DDC4 00139C04 93 81 00 10 */ stw r28, 0x10(r1)
/* 8013DDC8 00139C08 7C 7C 1B 78 */ mr r28, r3
/* 8013DDCC 00139C0C 48 00 00 2C */ b lbl_8013DDF8
.global lbl_8013DDD0
lbl_8013DDD0:
/* 8013DDD0 00139C10 80 1C 00 FC */ lwz r0, 0xfc(r28)
/* 8013DDD4 00139C14 7F A4 EB 78 */ mr r4, r29
/* 8013DDD8 00139C18 7C 60 FA 14 */ add r3, r0, r31
/* 8013DDDC 00139C1C 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013DDE0 00139C20 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013DDE4 00139C24 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8013DDE8 00139C28 7D 89 03 A6 */ mtctr r12
/* 8013DDEC 00139C2C 4E 80 04 21 */ bctrl
/* 8013DDF0 00139C30 3B FF 00 08 */ addi r31, r31, 0x8
/* 8013DDF4 00139C34 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_8013DDF8
lbl_8013DDF8:
/* 8013DDF8 00139C38 88 1C 01 00 */ lbz r0, 0x100(r28)
/* 8013DDFC 00139C3C 7C 1E 00 00 */ cmpw r30, r0
/* 8013DE00 00139C40 41 80 FF D0 */ blt lbl_8013DDD0
/* 8013DE04 00139C44 7F 83 E3 78 */ mr r3, r28
/* 8013DE08 00139C48 7F A4 EB 78 */ mr r4, r29
2022-10-16 16:31:36 +00:00
/* 8013DE0C 00139C4C 4B FF D9 05 */ bl UnbindAnimationSelf__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransform
2022-10-16 16:05:58 +00:00
/* 8013DE10 00139C50 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013DE14 00139C54 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013DE18 00139C58 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013DE1C 00139C5C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013DE20 00139C60 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8013DE24 00139C64 7C 08 03 A6 */ mtlr r0
/* 8013DE28 00139C68 38 21 00 20 */ addi r1, r1, 0x20
/* 8013DE2C 00139C6C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global DrawContent__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt15WindowFrameSizeUc
DrawContent__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt15WindowFrameSizeUc:
2022-10-16 16:05:58 +00:00
/* 8013DE30 00139C70 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8013DE34 00139C74 7C 08 02 A6 */ mflr r0
/* 8013DE38 00139C78 90 01 00 34 */ stw r0, 0x34(r1)
/* 8013DE3C 00139C7C 39 61 00 30 */ addi r11, r1, 0x30
/* 8013DE40 00139C80 4B EC 94 FD */ bl lbl_8000733C
/* 8013DE44 00139C84 7C DE 33 78 */ mr r30, r6
/* 8013DE48 00139C88 7C 7B 1B 78 */ mr r27, r3
/* 8013DE4C 00139C8C 7C 9C 23 78 */ mr r28, r4
/* 8013DE50 00139C90 7C BD 2B 78 */ mr r29, r5
/* 8013DE54 00139C94 7F C4 F3 78 */ mr r4, r30
/* 8013DE58 00139C98 38 63 00 E4 */ addi r3, r3, 0xe4
2022-10-16 16:31:36 +00:00
/* 8013DE5C 00139C9C 4B FC 02 15 */ bl IsModulateVertexColor__Q34nw4r3lyt6detailFPQ34nw4r2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013DE60 00139CA0 7C 64 1B 78 */ mr r4, r3
/* 8013DE64 00139CA4 80 7B 00 28 */ lwz r3, 0x28(r27)
/* 8013DE68 00139CA8 7F C5 F3 78 */ mr r5, r30
/* 8013DE6C 00139CAC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013DE70 00139CB0 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013DE74 00139CB4 7D 89 03 A6 */ mtctr r12
/* 8013DE78 00139CB8 4E 80 04 21 */ bctrl
/* 8013DE7C 00139CBC 88 9B 00 F5 */ lbz r4, 0xf5(r27)
/* 8013DE80 00139CC0 7C 7F 1B 78 */ mr r31, r3
2022-10-16 16:31:36 +00:00
/* 8013DE84 00139CC4 4B FC 02 9D */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013DE88 00139CC8 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013DE8C 00139CCC 41 82 00 0C */ beq lbl_8013DE98
/* 8013DE90 00139CD0 38 FB 00 E4 */ addi r7, r27, 0xe4
/* 8013DE94 00139CD4 48 00 00 08 */ b lbl_8013DE9C
.global lbl_8013DE98
lbl_8013DE98:
/* 8013DE98 00139CD8 38 E0 00 00 */ li r7, 0x0
.global lbl_8013DE9C
lbl_8013DE9C:
/* 8013DE9C 00139CDC C0 3B 00 50 */ lfs f1, 0x50(r27)
/* 8013DEA0 00139CE0 7F C8 F3 78 */ mr r8, r30
/* 8013DEA4 00139CE4 C0 9D 00 08 */ lfs f4, 0x8(r29)
/* 8013DEA8 00139CE8 38 61 00 10 */ addi r3, r1, 0x10
/* 8013DEAC 00139CEC C0 1B 00 4C */ lfs f0, 0x4c(r27)
/* 8013DEB0 00139CF0 38 81 00 08 */ addi r4, r1, 0x8
/* 8013DEB4 00139CF4 C0 DD 00 00 */ lfs f6, 0x0(r29)
/* 8013DEB8 00139CF8 EC 61 20 28 */ fsubs f3, f1, f4
/* 8013DEBC 00139CFC C1 5B 00 DC */ lfs f10, 0xdc(r27)
/* 8013DEC0 00139D00 EC 40 30 28 */ fsubs f2, f0, f6
/* 8013DEC4 00139D04 C0 3C 00 04 */ lfs f1, 0x4(r28)
/* 8013DEC8 00139D08 ED 2A 18 2A */ fadds f9, f10, f3
/* 8013DECC 00139D0C C0 1C 00 00 */ lfs f0, 0x0(r28)
/* 8013DED0 00139D10 EC 21 20 2A */ fadds f1, f1, f4
/* 8013DED4 00139D14 C0 BB 00 D4 */ lfs f5, 0xd4(r27)
/* 8013DED8 00139D18 EC 85 10 2A */ fadds f4, f5, f2
/* 8013DEDC 00139D1C C1 1D 00 0C */ lfs f8, 0xc(r29)
/* 8013DEE0 00139D20 C0 7D 00 04 */ lfs f3, 0x4(r29)
/* 8013DEE4 00139D24 EC 00 30 2A */ fadds f0, f0, f6
/* 8013DEE8 00139D28 ED 09 40 28 */ fsubs f8, f9, f8
/* 8013DEEC 00139D2C C0 FB 00 E0 */ lfs f7, 0xe0(r27)
/* 8013DEF0 00139D30 EC 64 18 28 */ fsubs f3, f4, f3
/* 8013DEF4 00139D34 C0 5B 00 D8 */ lfs f2, 0xd8(r27)
/* 8013DEF8 00139D38 80 DB 00 F8 */ lwz r6, 0xf8(r27)
/* 8013DEFC 00139D3C EC 87 40 2A */ fadds f4, f7, f8
/* 8013DF00 00139D40 88 BB 00 F5 */ lbz r5, 0xf5(r27)
/* 8013DF04 00139D44 EC 21 50 28 */ fsubs f1, f1, f10
/* 8013DF08 00139D48 EC 42 18 2A */ fadds f2, f2, f3
/* 8013DF0C 00139D4C D0 81 00 0C */ stfs f4, 0xc(r1)
/* 8013DF10 00139D50 EC 00 28 28 */ fsubs f0, f0, f5
/* 8013DF14 00139D54 D0 41 00 08 */ stfs f2, 0x8(r1)
/* 8013DF18 00139D58 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8013DF1C 00139D5C D0 21 00 14 */ stfs f1, 0x14(r1)
2022-10-16 16:31:36 +00:00
/* 8013DF20 00139D60 4B FF 85 11 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013DF24 00139D64 39 61 00 30 */ addi r11, r1, 0x30
/* 8013DF28 00139D68 4B EC 94 61 */ bl lbl_80007388
/* 8013DF2C 00139D6C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8013DF30 00139D70 7C 08 03 A6 */ mtlr r0
/* 8013DF34 00139D74 38 21 00 30 */ addi r1, r1, 0x30
/* 8013DF38 00139D78 4E 80 00 20 */ blr
/* 8013DF3C 00139D7C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global DrawFrame__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2RCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc
DrawFrame__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2RCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc:
2022-10-16 16:05:58 +00:00
/* 8013DF40 00139D80 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8013DF44 00139D84 7C 08 02 A6 */ mflr r0
/* 8013DF48 00139D88 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8013DF4C 00139D8C 39 61 00 C0 */ addi r11, r1, 0xc0
/* 8013DF50 00139D90 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 8013DF54 00139D94 F3 E1 00 C8 */ psq_st f31, 0xc8(r1), 0, qr0
/* 8013DF58 00139D98 4B EC 93 D1 */ bl lbl_80007328
/* 8013DF5C 00139D9C 3C 00 43 30 */ lis r0, 0x4330
/* 8013DF60 00139DA0 7C FE 3B 78 */ mr r30, r7
/* 8013DF64 00139DA4 7C 7B 1B 78 */ mr r27, r3
/* 8013DF68 00139DA8 7C 9C 23 78 */ mr r28, r4
/* 8013DF6C 00139DAC 90 01 00 88 */ stw r0, 0x88(r1)
/* 8013DF70 00139DB0 7C B6 2B 78 */ mr r22, r5
/* 8013DF74 00139DB4 7C DD 33 78 */ mr r29, r6
/* 8013DF78 00139DB8 7F C4 F3 78 */ mr r4, r30
/* 8013DF7C 00139DBC 90 01 00 90 */ stw r0, 0x90(r1)
/* 8013DF80 00139DC0 38 60 00 00 */ li r3, 0x0
2022-10-16 16:31:36 +00:00
/* 8013DF84 00139DC4 4B FC 00 ED */ bl IsModulateVertexColor__Q34nw4r3lyt6detailFPQ34nw4r2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013DF88 00139DC8 7C 64 1B 78 */ mr r4, r3
/* 8013DF8C 00139DCC 80 76 00 04 */ lwz r3, 0x4(r22)
/* 8013DF90 00139DD0 7F C5 F3 78 */ mr r5, r30
/* 8013DF94 00139DD4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013DF98 00139DD8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013DF9C 00139DDC 7D 89 03 A6 */ mtctr r12
/* 8013DFA0 00139DE0 4E 80 04 21 */ bctrl
/* 8013DFA4 00139DE4 7C 7F 1B 78 */ mr r31, r3
/* 8013DFA8 00139DE8 38 80 00 01 */ li r4, 0x1
2022-10-16 16:31:36 +00:00
/* 8013DFAC 00139DEC 4B FC 01 75 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013DFB0 00139DF0 80 96 00 04 */ lwz r4, 0x4(r22)
/* 8013DFB4 00139DF4 38 61 00 50 */ addi r3, r1, 0x50
/* 8013DFB8 00139DF8 38 A0 00 00 */ li r5, 0x0
2022-10-16 16:31:36 +00:00
/* 8013DFBC 00139DFC 4B FF C9 B5 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
/* 8013DFC0 00139E00 3C 60 80 44 */ lis r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
2022-10-16 16:05:58 +00:00
/* 8013DFC4 00139E04 3B 00 FF FF */ li r24, -0x1
2022-10-16 16:31:36 +00:00
/* 8013DFC8 00139E08 38 63 42 68 */ addi r3, r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
/* 8013DFCC 00139E0C 3C 80 80 41 */ lis r4, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013DFD0 00139E10 88 E3 00 09 */ lbz r7, 0x9(r3)
2022-10-16 16:31:36 +00:00
/* 8013DFD4 00139E14 3F 40 80 41 */ lis r26, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013DFD8 00139E18 88 03 00 08 */ lbz r0, 0x8(r3)
2022-10-16 16:31:36 +00:00
/* 8013DFDC 00139E1C 3C A0 80 41 */ lis r5, "@9107"@ha
2022-10-16 16:05:58 +00:00
/* 8013DFE0 00139E20 7D 63 38 AE */ lbzx r11, r3, r7
/* 8013DFE4 00139E24 7D 03 3A 14 */ add r8, r3, r7
/* 8013DFE8 00139E28 7F 23 00 EE */ lbzux r25, r3, r0
/* 8013DFEC 00139E2C 54 17 10 3A */ slwi r23, r0, 2
/* 8013DFF0 00139E30 91 61 00 94 */ stw r11, 0x94(r1)
/* 8013DFF4 00139E34 54 F6 10 3A */ slwi r22, r7, 2
/* 8013DFF8 00139E38 88 03 00 02 */ lbz r0, 0x2(r3)
/* 8013DFFC 00139E3C 39 21 00 38 */ addi r9, r1, 0x38
/* 8013E000 00139E40 C8 41 00 90 */ lfd f2, 0x90(r1)
/* 8013E004 00139E44 39 81 00 78 */ addi r12, r1, 0x78
/* 8013E008 00139E48 7C 79 00 50 */ subf r3, r25, r0
2022-10-16 16:31:36 +00:00
/* 8013E00C 00139E4C C1 85 E2 70 */ lfs f12, "@9107"@l(r5)
2022-10-16 16:05:58 +00:00
/* 8013E010 00139E50 88 08 00 04 */ lbz r0, 0x4(r8)
/* 8013E014 00139E54 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013E018 00139E58 90 61 00 94 */ stw r3, 0x94(r1)
/* 8013E01C 00139E5C 38 C1 00 68 */ addi r6, r1, 0x68
/* 8013E020 00139E60 7C 0B 00 50 */ subf r0, r11, r0
2022-10-16 16:31:36 +00:00
/* 8013E024 00139E64 C8 24 E2 80 */ lfd f1, "@9115"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013E028 00139E68 C8 01 00 90 */ lfd f0, 0x90(r1)
/* 8013E02C 00139E6C 6C 00 80 00 */ xoris r0, r0, 0x8000
2022-10-16 16:31:36 +00:00
/* 8013E030 00139E70 C8 7A E2 78 */ lfd f3, "@9114"@l(r26)
2022-10-16 16:05:58 +00:00
/* 8013E034 00139E74 39 41 00 70 */ addi r10, r1, 0x70
/* 8013E038 00139E78 90 01 00 94 */ stw r0, 0x94(r1)
/* 8013E03C 00139E7C EC 80 08 28 */ fsubs f4, f0, f1
/* 8013E040 00139E80 C1 7C 00 00 */ lfs f11, 0x0(r28)
/* 8013E044 00139E84 EC C2 18 28 */ fsubs f6, f2, f3
/* 8013E048 00139E88 C8 01 00 90 */ lfd f0, 0x90(r1)
/* 8013E04C 00139E8C 39 01 00 80 */ addi r8, r1, 0x80
/* 8013E050 00139E90 93 21 00 8C */ stw r25, 0x8c(r1)
/* 8013E054 00139E94 EC 20 08 28 */ fsubs f1, f0, f1
/* 8013E058 00139E98 C1 5C 00 04 */ lfs f10, 0x4(r28)
/* 8013E05C 00139E9C C8 01 00 88 */ lfd f0, 0x88(r1)
/* 8013E060 00139EA0 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013E064 00139EA4 C1 A1 00 54 */ lfs f13, 0x54(r1)
/* 8013E068 00139EA8 38 61 00 48 */ addi r3, r1, 0x48
/* 8013E06C 00139EAC 93 21 00 8C */ stw r25, 0x8c(r1)
/* 8013E070 00139EB0 EC E0 18 28 */ fsubs f7, f0, f3
/* 8013E074 00139EB4 C3 E1 00 50 */ lfs f31, 0x50(r1)
/* 8013E078 00139EB8 38 81 00 40 */ addi r4, r1, 0x40
/* 8013E07C 00139EBC C8 01 00 88 */ lfd f0, 0x88(r1)
/* 8013E080 00139EC0 38 A0 00 01 */ li r5, 0x1
/* 8013E084 00139EC4 93 01 00 58 */ stw r24, 0x58(r1)
/* 8013E088 00139EC8 EC A0 18 28 */ fsubs f5, f0, f3
/* 8013E08C 00139ECC C1 3D 00 04 */ lfs f9, 0x4(r29)
/* 8013E090 00139ED0 91 61 00 8C */ stw r11, 0x8c(r1)
/* 8013E094 00139ED4 38 E0 00 00 */ li r7, 0x0
/* 8013E098 00139ED8 C1 1D 00 08 */ lfs f8, 0x8(r29)
/* 8013E09C 00139EDC C8 01 00 88 */ lfd f0, 0x88(r1)
/* 8013E0A0 00139EE0 93 01 00 5C */ stw r24, 0x5c(r1)
/* 8013E0A4 00139EE4 EC 40 18 28 */ fsubs f2, f0, f3
/* 8013E0A8 00139EE8 93 01 00 60 */ stw r24, 0x60(r1)
/* 8013E0AC 00139EEC 93 01 00 64 */ stw r24, 0x64(r1)
/* 8013E0B0 00139EF0 D1 81 00 40 */ stfs f12, 0x40(r1)
/* 8013E0B4 00139EF4 D1 81 00 44 */ stfs f12, 0x44(r1)
/* 8013E0B8 00139EF8 D1 61 00 48 */ stfs f11, 0x48(r1)
/* 8013E0BC 00139EFC D1 41 00 4C */ stfs f10, 0x4c(r1)
/* 8013E0C0 00139F00 C0 1B 00 4C */ lfs f0, 0x4c(r27)
/* 8013E0C4 00139F04 D3 E1 00 38 */ stfs f31, 0x38(r1)
/* 8013E0C8 00139F08 ED 20 48 28 */ fsubs f9, f0, f9
/* 8013E0CC 00139F0C D1 A1 00 3C */ stfs f13, 0x3c(r1)
/* 8013E0D0 00139F10 7C 69 BC 2E */ lfsx f3, r9, r23
/* 8013E0D4 00139F14 7C 09 B4 2E */ lfsx f0, r9, r22
/* 8013E0D8 00139F18 7C EC BD 2E */ stfsx f7, r12, r23
/* 8013E0DC 00139F1C EC 64 00 F2 */ fmuls f3, f4, f3
/* 8013E0E0 00139F20 EC 01 00 32 */ fmuls f0, f1, f0
/* 8013E0E4 00139F24 7C E6 BD 2E */ stfsx f7, r6, r23
/* 8013E0E8 00139F28 EC 29 18 24 */ fdivs f1, f9, f3
/* 8013E0EC 00139F2C 7C CA B5 2E */ stfsx f6, r10, r22
/* 8013E0F0 00139F30 7C C6 B5 2E */ stfsx f6, r6, r22
/* 8013E0F4 00139F34 D1 21 00 40 */ stfs f9, 0x40(r1)
/* 8013E0F8 00139F38 D1 01 00 44 */ stfs f8, 0x44(r1)
/* 8013E0FC 00139F3C EC 08 00 24 */ fdivs f0, f8, f0
/* 8013E100 00139F40 EC 25 08 2A */ fadds f1, f5, f1
/* 8013E104 00139F44 EC 02 00 2A */ fadds f0, f2, f0
/* 8013E108 00139F48 7C 2A BD 2E */ stfsx f1, r10, r23
/* 8013E10C 00139F4C 7C 28 BD 2E */ stfsx f1, r8, r23
/* 8013E110 00139F50 7C 0C B5 2E */ stfsx f0, r12, r22
/* 8013E114 00139F54 7C 08 B5 2E */ stfsx f0, r8, r22
/* 8013E118 00139F58 41 82 00 08 */ beq lbl_8013E120
/* 8013E11C 00139F5C 38 E1 00 58 */ addi r7, r1, 0x58
.global lbl_8013E120
lbl_8013E120:
/* 8013E120 00139F60 7F C8 F3 78 */ mr r8, r30
2022-10-16 16:31:36 +00:00
/* 8013E124 00139F64 4B FF 83 0D */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
/* 8013E128 00139F68 3C 60 80 44 */ lis r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
2022-10-16 16:05:58 +00:00
/* 8013E12C 00139F6C C0 81 00 54 */ lfs f4, 0x54(r1)
2022-10-16 16:31:36 +00:00
/* 8013E130 00139F70 38 63 42 68 */ addi r3, r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013E134 00139F74 C0 C1 00 50 */ lfs f6, 0x50(r1)
/* 8013E138 00139F78 89 03 00 13 */ lbz r8, 0x13(r3)
/* 8013E13C 00139F7C 39 63 00 0A */ addi r11, r3, 0xa
/* 8013E140 00139F80 89 43 00 12 */ lbz r10, 0x12(r3)
2022-10-16 16:31:36 +00:00
/* 8013E144 00139F84 3C 80 80 41 */ lis r4, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013E148 00139F88 7C AB 42 14 */ add r5, r11, r8
/* 8013E14C 00139F8C C1 1C 00 04 */ lfs f8, 0x4(r28)
/* 8013E150 00139F90 89 25 00 02 */ lbz r9, 0x2(r5)
/* 8013E154 00139F94 7C 6B 52 14 */ add r3, r11, r10
/* 8013E158 00139F98 91 21 00 94 */ stw r9, 0x94(r1)
/* 8013E15C 00139F9C 55 16 10 3A */ slwi r22, r8, 2
/* 8013E160 00139FA0 8B 43 00 02 */ lbz r26, 0x2(r3)
2022-10-16 16:31:36 +00:00
/* 8013E164 00139FA4 3D 80 80 41 */ lis r12, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013E168 00139FA8 7C 6B 50 AE */ lbzx r3, r11, r10
/* 8013E16C 00139FAC 55 40 10 3A */ slwi r0, r10, 2
/* 8013E170 00139FB0 C0 1B 00 4C */ lfs f0, 0x4c(r27)
/* 8013E174 00139FB4 38 E1 00 28 */ addi r7, r1, 0x28
/* 8013E178 00139FB8 7C 7A 18 50 */ subf r3, r26, r3
/* 8013E17C 00139FBC C0 3C 00 00 */ lfs f1, 0x0(r28)
/* 8013E180 00139FC0 C8 41 00 90 */ lfd f2, 0x90(r1)
/* 8013E184 00139FC4 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013E188 00139FC8 EC 61 00 2A */ fadds f3, f1, f0
/* 8013E18C 00139FCC C0 FD 00 04 */ lfs f7, 0x4(r29)
/* 8013E190 00139FD0 90 61 00 94 */ stw r3, 0x94(r1)
/* 8013E194 00139FD4 39 61 00 80 */ addi r11, r1, 0x80
/* 8013E198 00139FD8 88 65 00 06 */ lbz r3, 0x6(r5)
/* 8013E19C 00139FDC 39 41 00 70 */ addi r10, r1, 0x70
/* 8013E1A0 00139FE0 ED 23 38 28 */ fsubs f9, f3, f7
2022-10-16 16:31:36 +00:00
/* 8013E1A4 00139FE4 C8 24 E2 80 */ lfd f1, "@9115"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013E1A8 00139FE8 C8 01 00 90 */ lfd f0, 0x90(r1)
/* 8013E1AC 00139FEC 7C 69 18 50 */ subf r3, r9, r3
/* 8013E1B0 00139FF0 D0 C1 00 28 */ stfs f6, 0x28(r1)
/* 8013E1B4 00139FF4 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013E1B8 00139FF8 90 61 00 94 */ stw r3, 0x94(r1)
/* 8013E1BC 00139FFC EC 60 08 28 */ fsubs f3, f0, f1
2022-10-16 16:31:36 +00:00
/* 8013E1C0 0013A000 C8 CC E2 78 */ lfd f6, "@9114"@l(r12)
2022-10-16 16:05:58 +00:00
/* 8013E1C4 0013A004 38 C1 00 68 */ addi r6, r1, 0x68
/* 8013E1C8 0013A008 D0 81 00 2C */ stfs f4, 0x2c(r1)
/* 8013E1CC 0013A00C 39 01 00 78 */ addi r8, r1, 0x78
/* 8013E1D0 0013A010 EC 82 30 28 */ fsubs f4, f2, f6
/* 8013E1D4 0013A014 7C 47 04 2E */ lfsx f2, r7, r0
/* 8013E1D8 0013A018 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013E1DC 0013A01C C8 01 00 90 */ lfd f0, 0x90(r1)
/* 8013E1E0 0013A020 38 61 00 48 */ addi r3, r1, 0x48
/* 8013E1E4 0013A024 EC 43 00 B2 */ fmuls f2, f3, f2
/* 8013E1E8 0013A028 EC 20 08 28 */ fsubs f1, f0, f1
/* 8013E1EC 0013A02C 7C 07 B4 2E */ lfsx f0, r7, r22
/* 8013E1F0 0013A030 93 41 00 8C */ stw r26, 0x8c(r1)
/* 8013E1F4 0013A034 38 81 00 40 */ addi r4, r1, 0x40
/* 8013E1F8 0013A038 C0 BD 00 0C */ lfs f5, 0xc(r29)
/* 8013E1FC 0013A03C C8 61 00 88 */ lfd f3, 0x88(r1)
/* 8013E200 0013A040 D1 21 00 48 */ stfs f9, 0x48(r1)
/* 8013E204 0013A044 EC 47 10 24 */ fdivs f2, f7, f2
/* 8013E208 0013A048 38 A0 00 01 */ li r5, 0x1
/* 8013E20C 0013A04C 38 E0 00 00 */ li r7, 0x0
/* 8013E210 0013A050 D1 01 00 4C */ stfs f8, 0x4c(r1)
/* 8013E214 0013A054 D0 E1 00 40 */ stfs f7, 0x40(r1)
/* 8013E218 0013A058 C0 FB 00 50 */ lfs f7, 0x50(r27)
/* 8013E21C 0013A05C EC E7 28 28 */ fsubs f7, f7, f5
/* 8013E220 0013A060 93 41 00 8C */ stw r26, 0x8c(r1)
/* 8013E224 0013A064 EC 01 00 32 */ fmuls f0, f1, f0
/* 8013E228 0013A068 C8 21 00 88 */ lfd f1, 0x88(r1)
/* 8013E22C 0013A06C EC A3 30 28 */ fsubs f5, f3, f6
/* 8013E230 0013A070 D1 21 00 30 */ stfs f9, 0x30(r1)
/* 8013E234 0013A074 EC 61 30 28 */ fsubs f3, f1, f6
/* 8013E238 0013A078 91 21 00 8C */ stw r9, 0x8c(r1)
/* 8013E23C 0013A07C EC 07 00 24 */ fdivs f0, f7, f0
/* 8013E240 0013A080 7C AB 05 2E */ stfsx f5, r11, r0
/* 8013E244 0013A084 C8 21 00 88 */ lfd f1, 0x88(r1)
/* 8013E248 0013A088 7C AA 05 2E */ stfsx f5, r10, r0
/* 8013E24C 0013A08C 7C 86 B5 2E */ stfsx f4, r6, r22
/* 8013E250 0013A090 7C 8A B5 2E */ stfsx f4, r10, r22
/* 8013E254 0013A094 EC 43 10 2A */ fadds f2, f3, f2
/* 8013E258 0013A098 D1 01 00 34 */ stfs f8, 0x34(r1)
/* 8013E25C 0013A09C EC 21 30 28 */ fsubs f1, f1, f6
/* 8013E260 0013A0A0 7C 46 05 2E */ stfsx f2, r6, r0
/* 8013E264 0013A0A4 7C 48 05 2E */ stfsx f2, r8, r0
/* 8013E268 0013A0A8 EC 01 00 2A */ fadds f0, f1, f0
/* 8013E26C 0013A0AC 7C 0B B5 2E */ stfsx f0, r11, r22
/* 8013E270 0013A0B0 D0 E1 00 44 */ stfs f7, 0x44(r1)
/* 8013E274 0013A0B4 7C 08 B5 2E */ stfsx f0, r8, r22
/* 8013E278 0013A0B8 41 82 00 08 */ beq lbl_8013E280
/* 8013E27C 0013A0BC 38 E1 00 58 */ addi r7, r1, 0x58
.global lbl_8013E280
lbl_8013E280:
/* 8013E280 0013A0C0 7F C8 F3 78 */ mr r8, r30
2022-10-16 16:31:36 +00:00
/* 8013E284 0013A0C4 4B FF 81 AD */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
/* 8013E288 0013A0C8 3C 60 80 44 */ lis r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
2022-10-16 16:05:58 +00:00
/* 8013E28C 0013A0CC C1 61 00 54 */ lfs f11, 0x54(r1)
2022-10-16 16:31:36 +00:00
/* 8013E290 0013A0D0 38 63 42 68 */ addi r3, r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013E294 0013A0D4 C1 81 00 50 */ lfs f12, 0x50(r1)
/* 8013E298 0013A0D8 38 63 00 28 */ addi r3, r3, 0x28
2022-10-16 16:31:36 +00:00
/* 8013E29C 0013A0DC 3C E0 80 41 */ lis r7, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013E2A0 0013A0E0 88 03 00 09 */ lbz r0, 0x9(r3)
2022-10-16 16:31:36 +00:00
/* 8013E2A4 0013A0E4 3C 80 80 41 */ lis r4, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013E2A8 0013A0E8 89 03 00 08 */ lbz r8, 0x8(r3)
/* 8013E2AC 0013A0EC 39 81 00 70 */ addi r12, r1, 0x70
/* 8013E2B0 0013A0F0 7C A3 02 14 */ add r5, r3, r0
2022-10-16 16:31:36 +00:00
/* 8013E2B4 0013A0F4 C8 C7 E2 78 */ lfd f6, "@9114"@l(r7)
2022-10-16 16:05:58 +00:00
/* 8013E2B8 0013A0F8 89 45 00 06 */ lbz r10, 0x6(r5)
/* 8013E2BC 0013A0FC 7C 63 42 14 */ add r3, r3, r8
/* 8013E2C0 0013A100 91 41 00 94 */ stw r10, 0x94(r1)
/* 8013E2C4 0013A104 54 17 10 3A */ slwi r23, r0, 2
/* 8013E2C8 0013A108 8B 43 00 06 */ lbz r26, 0x6(r3)
/* 8013E2CC 0013A10C 55 16 10 3A */ slwi r22, r8, 2
/* 8013E2D0 0013A110 88 03 00 04 */ lbz r0, 0x4(r3)
/* 8013E2D4 0013A114 39 01 00 18 */ addi r8, r1, 0x18
/* 8013E2D8 0013A118 C8 41 00 90 */ lfd f2, 0x90(r1)
/* 8013E2DC 0013A11C 39 61 00 80 */ addi r11, r1, 0x80
/* 8013E2E0 0013A120 7C 7A 00 50 */ subf r3, r26, r0
/* 8013E2E4 0013A124 C0 3C 00 04 */ lfs f1, 0x4(r28)
/* 8013E2E8 0013A128 88 05 00 02 */ lbz r0, 0x2(r5)
/* 8013E2EC 0013A12C 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013E2F0 0013A130 C0 1B 00 50 */ lfs f0, 0x50(r27)
/* 8013E2F4 0013A134 EC 82 30 28 */ fsubs f4, f2, f6
/* 8013E2F8 0013A138 90 61 00 94 */ stw r3, 0x94(r1)
/* 8013E2FC 0013A13C 7C 0A 00 50 */ subf r0, r10, r0
/* 8013E300 0013A140 EC 01 00 2A */ fadds f0, f1, f0
/* 8013E304 0013A144 C1 1D 00 0C */ lfs f8, 0xc(r29)
/* 8013E308 0013A148 C0 3C 00 00 */ lfs f1, 0x0(r28)
/* 8013E30C 0013A14C C0 BD 00 00 */ lfs f5, 0x0(r29)
/* 8013E310 0013A150 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013E314 0013A154 ED 20 40 28 */ fsubs f9, f0, f8
/* 8013E318 0013A158 ED 41 28 2A */ fadds f10, f1, f5
/* 8013E31C 0013A15C C8 01 00 90 */ lfd f0, 0x90(r1)
2022-10-16 16:31:36 +00:00
/* 8013E320 0013A160 C8 24 E2 80 */ lfd f1, "@9115"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013E324 0013A164 39 21 00 78 */ addi r9, r1, 0x78
/* 8013E328 0013A168 90 01 00 94 */ stw r0, 0x94(r1)
/* 8013E32C 0013A16C EC 60 08 28 */ fsubs f3, f0, f1
/* 8013E330 0013A170 C8 01 00 90 */ lfd f0, 0x90(r1)
/* 8013E334 0013A174 38 C1 00 68 */ addi r6, r1, 0x68
/* 8013E338 0013A178 D1 41 00 48 */ stfs f10, 0x48(r1)
/* 8013E33C 0013A17C 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013E340 0013A180 EC 20 08 28 */ fsubs f1, f0, f1
/* 8013E344 0013A184 D1 21 00 4C */ stfs f9, 0x4c(r1)
/* 8013E348 0013A188 38 61 00 48 */ addi r3, r1, 0x48
/* 8013E34C 0013A18C 38 81 00 40 */ addi r4, r1, 0x40
/* 8013E350 0013A190 38 A0 00 01 */ li r5, 0x1
/* 8013E354 0013A194 C0 1B 00 4C */ lfs f0, 0x4c(r27)
/* 8013E358 0013A198 D1 81 00 18 */ stfs f12, 0x18(r1)
/* 8013E35C 0013A19C 38 E0 00 00 */ li r7, 0x0
/* 8013E360 0013A1A0 EC E0 28 28 */ fsubs f7, f0, f5
/* 8013E364 0013A1A4 D1 61 00 1C */ stfs f11, 0x1c(r1)
/* 8013E368 0013A1A8 93 41 00 8C */ stw r26, 0x8c(r1)
/* 8013E36C 0013A1AC 7C 48 B4 2E */ lfsx f2, r8, r22
/* 8013E370 0013A1B0 C8 01 00 88 */ lfd f0, 0x88(r1)
/* 8013E374 0013A1B4 EC 43 00 B2 */ fmuls f2, f3, f2
/* 8013E378 0013A1B8 D1 41 00 20 */ stfs f10, 0x20(r1)
/* 8013E37C 0013A1BC EC A0 30 28 */ fsubs f5, f0, f6
/* 8013E380 0013A1C0 7C 08 BC 2E */ lfsx f0, r8, r23
/* 8013E384 0013A1C4 93 41 00 8C */ stw r26, 0x8c(r1)
/* 8013E388 0013A1C8 EC 01 00 32 */ fmuls f0, f1, f0
/* 8013E38C 0013A1CC C8 61 00 88 */ lfd f3, 0x88(r1)
/* 8013E390 0013A1D0 EC 47 10 24 */ fdivs f2, f7, f2
/* 8013E394 0013A1D4 7C AC B5 2E */ stfsx f5, r12, r22
/* 8013E398 0013A1D8 91 41 00 8C */ stw r10, 0x8c(r1)
/* 8013E39C 0013A1DC 7C AB B5 2E */ stfsx f5, r11, r22
/* 8013E3A0 0013A1E0 C8 21 00 88 */ lfd f1, 0x88(r1)
/* 8013E3A4 0013A1E4 7C 89 BD 2E */ stfsx f4, r9, r23
/* 8013E3A8 0013A1E8 EC 63 30 28 */ fsubs f3, f3, f6
/* 8013E3AC 0013A1EC 7C 8B BD 2E */ stfsx f4, r11, r23
/* 8013E3B0 0013A1F0 EC 08 00 24 */ fdivs f0, f8, f0
/* 8013E3B4 0013A1F4 D1 21 00 24 */ stfs f9, 0x24(r1)
/* 8013E3B8 0013A1F8 D0 E1 00 40 */ stfs f7, 0x40(r1)
/* 8013E3BC 0013A1FC D1 01 00 44 */ stfs f8, 0x44(r1)
/* 8013E3C0 0013A200 EC 43 10 2A */ fadds f2, f3, f2
/* 8013E3C4 0013A204 EC 21 30 28 */ fsubs f1, f1, f6
/* 8013E3C8 0013A208 7C 49 B5 2E */ stfsx f2, r9, r22
/* 8013E3CC 0013A20C 7C 46 B5 2E */ stfsx f2, r6, r22
/* 8013E3D0 0013A210 EC 01 00 2A */ fadds f0, f1, f0
/* 8013E3D4 0013A214 7C 0C BD 2E */ stfsx f0, r12, r23
/* 8013E3D8 0013A218 7C 06 BD 2E */ stfsx f0, r6, r23
/* 8013E3DC 0013A21C 41 82 00 08 */ beq lbl_8013E3E4
/* 8013E3E0 0013A220 38 E1 00 58 */ addi r7, r1, 0x58
.global lbl_8013E3E4
lbl_8013E3E4:
/* 8013E3E4 0013A224 7F C8 F3 78 */ mr r8, r30
2022-10-16 16:31:36 +00:00
/* 8013E3E8 0013A228 4B FF 80 49 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
/* 8013E3EC 0013A22C 3C 60 80 44 */ lis r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
2022-10-16 16:05:58 +00:00
/* 8013E3F0 0013A230 C1 3C 00 00 */ lfs f9, 0x0(r28)
2022-10-16 16:31:36 +00:00
/* 8013E3F4 0013A234 38 63 42 68 */ addi r3, r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
/* 8013E3F8 0013A238 3C 80 80 41 */ lis r4, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013E3FC 0013A23C 89 03 00 1D */ lbz r8, 0x1d(r3)
/* 8013E400 0013A240 39 23 00 14 */ addi r9, r3, 0x14
/* 8013E404 0013A244 88 03 00 1C */ lbz r0, 0x1c(r3)
2022-10-16 16:31:36 +00:00
/* 8013E408 0013A248 3C A0 80 41 */ lis r5, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013E40C 0013A24C 7C 69 42 14 */ add r3, r9, r8
/* 8013E410 0013A250 C1 41 00 54 */ lfs f10, 0x54(r1)
/* 8013E414 0013A254 89 43 00 04 */ lbz r10, 0x4(r3)
/* 8013E418 0013A258 7C 69 02 14 */ add r3, r9, r0
/* 8013E41C 0013A25C 91 41 00 94 */ stw r10, 0x94(r1)
/* 8013E420 0013A260 54 16 10 3A */ slwi r22, r0, 2
/* 8013E424 0013A264 89 83 00 04 */ lbz r12, 0x4(r3)
/* 8013E428 0013A268 38 E1 00 08 */ addi r7, r1, 0x8
/* 8013E42C 0013A26C 88 03 00 06 */ lbz r0, 0x6(r3)
/* 8013E430 0013A270 55 17 10 3A */ slwi r23, r8, 2
/* 8013E434 0013A274 C8 41 00 90 */ lfd f2, 0x90(r1)
/* 8013E438 0013A278 38 C1 00 68 */ addi r6, r1, 0x68
/* 8013E43C 0013A27C 7C 6C 00 50 */ subf r3, r12, r0
/* 8013E440 0013A280 7C 09 40 AE */ lbzx r0, r9, r8
/* 8013E444 0013A284 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013E448 0013A288 90 61 00 94 */ stw r3, 0x94(r1)
/* 8013E44C 0013A28C C0 C1 00 50 */ lfs f6, 0x50(r1)
/* 8013E450 0013A290 7C 0A 00 50 */ subf r0, r10, r0
2022-10-16 16:31:36 +00:00
/* 8013E454 0013A294 C8 24 E2 80 */ lfd f1, "@9115"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013E458 0013A298 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013E45C 0013A29C C8 01 00 90 */ lfd f0, 0x90(r1)
/* 8013E460 0013A2A0 39 61 00 78 */ addi r11, r1, 0x78
/* 8013E464 0013A2A4 D0 C1 00 08 */ stfs f6, 0x8(r1)
/* 8013E468 0013A2A8 39 21 00 80 */ addi r9, r1, 0x80
2022-10-16 16:31:36 +00:00
/* 8013E46C 0013A2AC C8 C5 E2 78 */ lfd f6, "@9114"@l(r5)
2022-10-16 16:05:58 +00:00
/* 8013E470 0013A2B0 EC 60 08 28 */ fsubs f3, f0, f1
/* 8013E474 0013A2B4 90 01 00 94 */ stw r0, 0x94(r1)
/* 8013E478 0013A2B8 39 01 00 70 */ addi r8, r1, 0x70
/* 8013E47C 0013A2BC C0 BD 00 00 */ lfs f5, 0x0(r29)
/* 8013E480 0013A2C0 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013E484 0013A2C4 C8 01 00 90 */ lfd f0, 0x90(r1)
/* 8013E488 0013A2C8 C0 9C 00 04 */ lfs f4, 0x4(r28)
/* 8013E48C 0013A2CC 38 61 00 48 */ addi r3, r1, 0x48
/* 8013E490 0013A2D0 C0 FD 00 08 */ lfs f7, 0x8(r29)
/* 8013E494 0013A2D4 EC 20 08 28 */ fsubs f1, f0, f1
/* 8013E498 0013A2D8 D1 41 00 0C */ stfs f10, 0xc(r1)
/* 8013E49C 0013A2DC 38 81 00 40 */ addi r4, r1, 0x40
/* 8013E4A0 0013A2E0 ED 04 38 2A */ fadds f8, f4, f7
/* 8013E4A4 0013A2E4 38 A0 00 01 */ li r5, 0x1
/* 8013E4A8 0013A2E8 EC 82 30 28 */ fsubs f4, f2, f6
/* 8013E4AC 0013A2EC 7C 47 B4 2E */ lfsx f2, r7, r22
/* 8013E4B0 0013A2F0 7C 07 BC 2E */ lfsx f0, r7, r23
/* 8013E4B4 0013A2F4 38 E0 00 00 */ li r7, 0x0
/* 8013E4B8 0013A2F8 EC 43 00 B2 */ fmuls f2, f3, f2
/* 8013E4BC 0013A2FC 91 81 00 8C */ stw r12, 0x8c(r1)
/* 8013E4C0 0013A300 EC 01 00 32 */ fmuls f0, f1, f0
/* 8013E4C4 0013A304 C8 61 00 88 */ lfd f3, 0x88(r1)
/* 8013E4C8 0013A308 D1 21 00 48 */ stfs f9, 0x48(r1)
/* 8013E4CC 0013A30C EC 45 10 24 */ fdivs f2, f5, f2
/* 8013E4D0 0013A310 91 81 00 8C */ stw r12, 0x8c(r1)
/* 8013E4D4 0013A314 C8 21 00 88 */ lfd f1, 0x88(r1)
/* 8013E4D8 0013A318 D1 01 00 4C */ stfs f8, 0x4c(r1)
/* 8013E4DC 0013A31C D0 A1 00 40 */ stfs f5, 0x40(r1)
/* 8013E4E0 0013A320 C0 BB 00 50 */ lfs f5, 0x50(r27)
/* 8013E4E4 0013A324 EC E5 38 28 */ fsubs f7, f5, f7
/* 8013E4E8 0013A328 91 41 00 8C */ stw r10, 0x8c(r1)
/* 8013E4EC 0013A32C EC A3 30 28 */ fsubs f5, f3, f6
/* 8013E4F0 0013A330 EC 61 30 28 */ fsubs f3, f1, f6
/* 8013E4F4 0013A334 C8 21 00 88 */ lfd f1, 0x88(r1)
/* 8013E4F8 0013A338 7C A6 B5 2E */ stfsx f5, r6, r22
/* 8013E4FC 0013A33C EC 07 00 24 */ fdivs f0, f7, f0
/* 8013E500 0013A340 7C AB B5 2E */ stfsx f5, r11, r22
/* 8013E504 0013A344 7C 89 BD 2E */ stfsx f4, r9, r23
/* 8013E508 0013A348 7C 8B BD 2E */ stfsx f4, r11, r23
/* 8013E50C 0013A34C D1 21 00 10 */ stfs f9, 0x10(r1)
/* 8013E510 0013A350 D1 01 00 14 */ stfs f8, 0x14(r1)
/* 8013E514 0013A354 EC 43 10 2A */ fadds f2, f3, f2
/* 8013E518 0013A358 D0 E1 00 44 */ stfs f7, 0x44(r1)
/* 8013E51C 0013A35C EC 21 30 28 */ fsubs f1, f1, f6
/* 8013E520 0013A360 7C 49 B5 2E */ stfsx f2, r9, r22
/* 8013E524 0013A364 7C 48 B5 2E */ stfsx f2, r8, r22
/* 8013E528 0013A368 EC 01 00 2A */ fadds f0, f1, f0
/* 8013E52C 0013A36C 7C 06 BD 2E */ stfsx f0, r6, r23
/* 8013E530 0013A370 7C 08 BD 2E */ stfsx f0, r8, r23
/* 8013E534 0013A374 41 82 00 08 */ beq lbl_8013E53C
/* 8013E538 0013A378 38 E1 00 58 */ addi r7, r1, 0x58
.global lbl_8013E53C
lbl_8013E53C:
/* 8013E53C 0013A37C 7F C8 F3 78 */ mr r8, r30
2022-10-16 16:31:36 +00:00
/* 8013E540 0013A380 4B FF 7E F1 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013E544 0013A384 39 61 00 C0 */ addi r11, r1, 0xc0
/* 8013E548 0013A388 E3 E1 00 C8 */ psq_l f31, 0xc8(r1), 0, qr0
/* 8013E54C 0013A38C CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 8013E550 0013A390 4B EC 8E 25 */ bl lbl_80007374
/* 8013E554 0013A394 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8013E558 0013A398 7C 08 03 A6 */ mtlr r0
/* 8013E55C 0013A39C 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8013E560 0013A3A0 4E 80 00 20 */ blr
/* 8013E564 0013A3A4 00 00 00 00 */ .4byte 0x00000000
/* 8013E568 0013A3A8 00 00 00 00 */ .4byte 0x00000000
/* 8013E56C 0013A3AC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global DrawFrame4__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2PCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc
DrawFrame4__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2PCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc:
2022-10-16 16:05:58 +00:00
/* 8013E570 0013A3B0 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 8013E574 0013A3B4 7C 08 02 A6 */ mflr r0
/* 8013E578 0013A3B8 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 8013E57C 0013A3BC 39 61 00 E0 */ addi r11, r1, 0xe0
/* 8013E580 0013A3C0 4B EC 8D AD */ bl lbl_8000732C
2022-10-16 16:31:36 +00:00
/* 8013E584 0013A3C4 3D 00 80 41 */ lis r8, "@9107"@ha
2022-10-16 16:05:58 +00:00
/* 8013E588 0013A3C8 38 00 FF FF */ li r0, -0x1
2022-10-16 16:31:36 +00:00
/* 8013E58C 0013A3CC C0 08 E2 70 */ lfs f0, "@9107"@l(r8)
2022-10-16 16:05:58 +00:00
/* 8013E590 0013A3D0 3D 00 43 30 */ lis r8, 0x4330
/* 8013E594 0013A3D4 7C FC 3B 78 */ mr r28, r7
/* 8013E598 0013A3D8 91 01 00 A0 */ stw r8, 0xa0(r1)
/* 8013E59C 0013A3DC 7C 78 1B 78 */ mr r24, r3
/* 8013E5A0 0013A3E0 7C 99 23 78 */ mr r25, r4
/* 8013E5A4 0013A3E4 91 01 00 A8 */ stw r8, 0xa8(r1)
/* 8013E5A8 0013A3E8 7C BA 2B 78 */ mr r26, r5
/* 8013E5AC 0013A3EC 7C DB 33 78 */ mr r27, r6
/* 8013E5B0 0013A3F0 7F 84 E3 78 */ mr r4, r28
/* 8013E5B4 0013A3F4 90 01 00 70 */ stw r0, 0x70(r1)
/* 8013E5B8 0013A3F8 38 60 00 00 */ li r3, 0x0
/* 8013E5BC 0013A3FC 90 01 00 74 */ stw r0, 0x74(r1)
/* 8013E5C0 0013A400 90 01 00 78 */ stw r0, 0x78(r1)
/* 8013E5C4 0013A404 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8013E5C8 0013A408 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8013E5CC 0013A40C D0 01 00 64 */ stfs f0, 0x64(r1)
2022-10-16 16:31:36 +00:00
/* 8013E5D0 0013A410 4B FB FA A1 */ bl IsModulateVertexColor__Q34nw4r3lyt6detailFPQ34nw4r2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013E5D4 0013A414 7C 7E 1B 78 */ mr r30, r3
/* 8013E5D8 0013A418 80 7A 00 04 */ lwz r3, 0x4(r26)
/* 8013E5DC 0013A41C 7F C4 F3 78 */ mr r4, r30
/* 8013E5E0 0013A420 7F 85 E3 78 */ mr r5, r28
/* 8013E5E4 0013A424 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013E5E8 0013A428 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013E5EC 0013A42C 7D 89 03 A6 */ mtctr r12
/* 8013E5F0 0013A430 4E 80 04 21 */ bctrl
/* 8013E5F4 0013A434 C0 39 00 00 */ lfs f1, 0x0(r25)
/* 8013E5F8 0013A438 7C 7D 1B 78 */ mr r29, r3
/* 8013E5FC 0013A43C C0 19 00 04 */ lfs f0, 0x4(r25)
/* 8013E600 0013A440 38 61 00 58 */ addi r3, r1, 0x58
/* 8013E604 0013A444 D0 21 00 68 */ stfs f1, 0x68(r1)
/* 8013E608 0013A448 38 A0 00 00 */ li r5, 0x0
/* 8013E60C 0013A44C C0 3B 00 04 */ lfs f1, 0x4(r27)
/* 8013E610 0013A450 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 8013E614 0013A454 C0 1B 00 08 */ lfs f0, 0x8(r27)
/* 8013E618 0013A458 C0 58 00 4C */ lfs f2, 0x4c(r24)
/* 8013E61C 0013A45C 8B FA 00 00 */ lbz r31, 0x0(r26)
/* 8013E620 0013A460 EC 22 08 28 */ fsubs f1, f2, f1
/* 8013E624 0013A464 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 8013E628 0013A468 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 8013E62C 0013A46C D0 21 00 60 */ stfs f1, 0x60(r1)
2022-10-16 16:31:36 +00:00
/* 8013E630 0013A470 4B FF C3 41 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013E634 0013A474 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013E638 0013A478 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013E63C 0013A47C 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013E640 0013A480 C0 41 00 5C */ lfs f2, 0x5c(r1)
2022-10-16 16:31:36 +00:00
/* 8013E644 0013A484 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013E648 0013A488 C0 61 00 58 */ lfs f3, 0x58(r1)
/* 8013E64C 0013A48C 7C E4 02 14 */ add r7, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013E650 0013A490 3C 80 80 41 */ lis r4, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013E654 0013A494 88 07 00 09 */ lbz r0, 0x9(r7)
/* 8013E658 0013A498 38 C1 00 38 */ addi r6, r1, 0x38
/* 8013E65C 0013A49C 88 A7 00 08 */ lbz r5, 0x8(r7)
/* 8013E660 0013A4A0 39 21 00 90 */ addi r9, r1, 0x90
/* 8013E664 0013A4A4 7D 07 00 AE */ lbzx r8, r7, r0
/* 8013E668 0013A4A8 7E E7 02 14 */ add r23, r7, r0
2022-10-16 16:31:36 +00:00
/* 8013E66C 0013A4AC C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013E670 0013A4B0 7C 67 2A 14 */ add r3, r7, r5
/* 8013E674 0013A4B4 7D 47 28 AE */ lbzx r10, r7, r5
/* 8013E678 0013A4B8 54 0C 10 3A */ slwi r12, r0, 2
/* 8013E67C 0013A4BC 91 01 00 AC */ stw r8, 0xac(r1)
/* 8013E680 0013A4C0 54 AB 10 3A */ slwi r11, r5, 2
/* 8013E684 0013A4C4 88 03 00 02 */ lbz r0, 0x2(r3)
/* 8013E688 0013A4C8 3B E1 00 80 */ addi r31, r1, 0x80
/* 8013E68C 0013A4CC C8 21 00 A8 */ lfd f1, 0xa8(r1)
/* 8013E690 0013A4D0 38 E1 00 88 */ addi r7, r1, 0x88
/* 8013E694 0013A4D4 7C 6A 00 50 */ subf r3, r10, r0
/* 8013E698 0013A4D8 88 17 00 04 */ lbz r0, 0x4(r23)
/* 8013E69C 0013A4DC 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013E6A0 0013A4E0 90 61 00 AC */ stw r3, 0xac(r1)
2022-10-16 16:31:36 +00:00
/* 8013E6A4 0013A4E4 C9 04 E2 78 */ lfd f8, "@9114"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013E6A8 0013A4E8 7C 08 00 50 */ subf r0, r8, r0
/* 8013E6AC 0013A4EC C8 01 00 A8 */ lfd f0, 0xa8(r1)
/* 8013E6B0 0013A4F0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013E6B4 0013A4F4 D0 61 00 38 */ stfs f3, 0x38(r1)
/* 8013E6B8 0013A4F8 EC C1 40 28 */ fsubs f6, f1, f8
/* 8013E6BC 0013A4FC EC 80 28 28 */ fsubs f4, f0, f5
/* 8013E6C0 0013A500 C0 61 00 60 */ lfs f3, 0x60(r1)
/* 8013E6C4 0013A504 D0 41 00 3C */ stfs f2, 0x3c(r1)
/* 8013E6C8 0013A508 38 A1 00 98 */ addi r5, r1, 0x98
/* 8013E6CC 0013A50C C0 01 00 64 */ lfs f0, 0x64(r1)
/* 8013E6D0 0013A510 90 01 00 AC */ stw r0, 0xac(r1)
/* 8013E6D4 0013A514 7C 26 5C 2E */ lfsx f1, r6, r11
/* 8013E6D8 0013A518 7F A3 EB 78 */ mr r3, r29
/* 8013E6DC 0013A51C C8 41 00 A8 */ lfd f2, 0xa8(r1)
/* 8013E6E0 0013A520 38 80 00 01 */ li r4, 0x1
/* 8013E6E4 0013A524 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013E6E8 0013A528 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013E6EC 0013A52C EC 42 28 28 */ fsubs f2, f2, f5
/* 8013E6F0 0013A530 91 41 00 A4 */ stw r10, 0xa4(r1)
/* 8013E6F4 0013A534 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013E6F8 0013A538 C8 E1 00 A0 */ lfd f7, 0xa0(r1)
/* 8013E6FC 0013A53C 91 41 00 A4 */ stw r10, 0xa4(r1)
/* 8013E700 0013A540 C8 A1 00 A0 */ lfd f5, 0xa0(r1)
/* 8013E704 0013A544 91 01 00 A4 */ stw r8, 0xa4(r1)
/* 8013E708 0013A548 C8 61 00 A0 */ lfd f3, 0xa0(r1)
/* 8013E70C 0013A54C EC 22 00 72 */ fmuls f1, f2, f1
/* 8013E710 0013A550 EC E7 40 28 */ fsubs f7, f7, f8
/* 8013E714 0013A554 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013E718 0013A558 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013E71C 0013A55C 7C E9 5D 2E */ stfsx f7, r9, r11
/* 8013E720 0013A560 7C FF 5D 2E */ stfsx f7, r31, r11
/* 8013E724 0013A564 7C C7 65 2E */ stfsx f6, r7, r12
/* 8013E728 0013A568 7C DF 65 2E */ stfsx f6, r31, r12
/* 8013E72C 0013A56C EC 42 20 2A */ fadds f2, f2, f4
/* 8013E730 0013A570 EC 23 40 28 */ fsubs f1, f3, f8
/* 8013E734 0013A574 7C 47 5D 2E */ stfsx f2, r7, r11
/* 8013E738 0013A578 7C 45 5D 2E */ stfsx f2, r5, r11
/* 8013E73C 0013A57C EC 01 00 2A */ fadds f0, f1, f0
/* 8013E740 0013A580 7C 09 65 2E */ stfsx f0, r9, r12
/* 8013E744 0013A584 7C 05 65 2E */ stfsx f0, r5, r12
2022-10-16 16:31:36 +00:00
/* 8013E748 0013A588 4B FB F9 D9 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013E74C 0013A58C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013E750 0013A590 7F E6 FB 78 */ mr r6, r31
/* 8013E754 0013A594 38 61 00 68 */ addi r3, r1, 0x68
/* 8013E758 0013A598 38 81 00 60 */ addi r4, r1, 0x60
/* 8013E75C 0013A59C 38 A0 00 01 */ li r5, 0x1
/* 8013E760 0013A5A0 38 E0 00 00 */ li r7, 0x0
/* 8013E764 0013A5A4 41 82 00 08 */ beq lbl_8013E76C
/* 8013E768 0013A5A8 38 E1 00 70 */ addi r7, r1, 0x70
.global lbl_8013E76C
lbl_8013E76C:
/* 8013E76C 0013A5AC 7F 88 E3 78 */ mr r8, r28
2022-10-16 16:31:36 +00:00
/* 8013E770 0013A5B0 4B FF 7C C1 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013E774 0013A5B4 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 8013E778 0013A5B8 7F C4 F3 78 */ mr r4, r30
/* 8013E77C 0013A5BC 7F 85 E3 78 */ mr r5, r28
/* 8013E780 0013A5C0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013E784 0013A5C4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013E788 0013A5C8 7D 89 03 A6 */ mtctr r12
/* 8013E78C 0013A5CC 4E 80 04 21 */ bctrl
/* 8013E790 0013A5D0 C0 59 00 00 */ lfs f2, 0x0(r25)
/* 8013E794 0013A5D4 7C 7D 1B 78 */ mr r29, r3
/* 8013E798 0013A5D8 C0 18 00 4C */ lfs f0, 0x4c(r24)
/* 8013E79C 0013A5DC 38 61 00 50 */ addi r3, r1, 0x50
/* 8013E7A0 0013A5E0 C0 79 00 04 */ lfs f3, 0x4(r25)
/* 8013E7A4 0013A5E4 38 A0 00 00 */ li r5, 0x0
/* 8013E7A8 0013A5E8 EC 42 00 2A */ fadds f2, f2, f0
/* 8013E7AC 0013A5EC C0 3B 00 04 */ lfs f1, 0x4(r27)
/* 8013E7B0 0013A5F0 D0 61 00 6C */ stfs f3, 0x6c(r1)
/* 8013E7B4 0013A5F4 C0 1B 00 0C */ lfs f0, 0xc(r27)
/* 8013E7B8 0013A5F8 EC 42 08 28 */ fsubs f2, f2, f1
/* 8013E7BC 0013A5FC D0 21 00 60 */ stfs f1, 0x60(r1)
/* 8013E7C0 0013A600 8B FA 00 08 */ lbz r31, 0x8(r26)
/* 8013E7C4 0013A604 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 8013E7C8 0013A608 80 9A 00 0C */ lwz r4, 0xc(r26)
/* 8013E7CC 0013A60C C0 38 00 50 */ lfs f1, 0x50(r24)
/* 8013E7D0 0013A610 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 8013E7D4 0013A614 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013E7D8 0013A618 D0 61 00 34 */ stfs f3, 0x34(r1)
/* 8013E7DC 0013A61C D0 01 00 64 */ stfs f0, 0x64(r1)
2022-10-16 16:31:36 +00:00
/* 8013E7E0 0013A620 4B FF C1 91 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013E7E4 0013A624 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013E7E8 0013A628 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013E7EC 0013A62C 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013E7F0 0013A630 C0 41 00 54 */ lfs f2, 0x54(r1)
2022-10-16 16:31:36 +00:00
/* 8013E7F4 0013A634 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013E7F8 0013A638 C0 61 00 50 */ lfs f3, 0x50(r1)
/* 8013E7FC 0013A63C 7D 84 02 14 */ add r12, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013E800 0013A640 3D 40 80 41 */ lis r10, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013E804 0013A644 88 8C 00 09 */ lbz r4, 0x9(r12)
/* 8013E808 0013A648 38 C1 00 28 */ addi r6, r1, 0x28
/* 8013E80C 0013A64C 89 0C 00 08 */ lbz r8, 0x8(r12)
/* 8013E810 0013A650 39 21 00 98 */ addi r9, r1, 0x98
/* 8013E814 0013A654 7C AC 22 14 */ add r5, r12, r4
2022-10-16 16:31:36 +00:00
/* 8013E818 0013A658 C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013E81C 0013A65C 88 E5 00 02 */ lbz r7, 0x2(r5)
/* 8013E820 0013A660 7C 6C 42 14 */ add r3, r12, r8
/* 8013E824 0013A664 89 63 00 02 */ lbz r11, 0x2(r3)
/* 8013E828 0013A668 54 97 10 3A */ slwi r23, r4, 2
/* 8013E82C 0013A66C 90 E1 00 AC */ stw r7, 0xac(r1)
/* 8013E830 0013A670 55 00 10 3A */ slwi r0, r8, 2
/* 8013E834 0013A674 7C 6C 40 AE */ lbzx r3, r12, r8
/* 8013E838 0013A678 39 01 00 88 */ addi r8, r1, 0x88
/* 8013E83C 0013A67C C8 21 00 A8 */ lfd f1, 0xa8(r1)
/* 8013E840 0013A680 3B E1 00 80 */ addi r31, r1, 0x80
/* 8013E844 0013A684 7C 8B 18 50 */ subf r4, r11, r3
/* 8013E848 0013A688 88 65 00 06 */ lbz r3, 0x6(r5)
/* 8013E84C 0013A68C 6C 84 80 00 */ xoris r4, r4, 0x8000
/* 8013E850 0013A690 90 81 00 AC */ stw r4, 0xac(r1)
/* 8013E854 0013A694 7C 67 18 50 */ subf r3, r7, r3
2022-10-16 16:31:36 +00:00
/* 8013E858 0013A698 C9 0A E2 78 */ lfd f8, "@9114"@l(r10)
2022-10-16 16:05:58 +00:00
/* 8013E85C 0013A69C C8 01 00 A8 */ lfd f0, 0xa8(r1)
/* 8013E860 0013A6A0 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013E864 0013A6A4 D0 61 00 28 */ stfs f3, 0x28(r1)
/* 8013E868 0013A6A8 EC C1 40 28 */ fsubs f6, f1, f8
/* 8013E86C 0013A6AC EC 80 28 28 */ fsubs f4, f0, f5
/* 8013E870 0013A6B0 C0 61 00 60 */ lfs f3, 0x60(r1)
/* 8013E874 0013A6B4 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8013E878 0013A6B8 38 A1 00 90 */ addi r5, r1, 0x90
/* 8013E87C 0013A6BC C0 01 00 64 */ lfs f0, 0x64(r1)
/* 8013E880 0013A6C0 90 61 00 AC */ stw r3, 0xac(r1)
/* 8013E884 0013A6C4 7C 26 04 2E */ lfsx f1, r6, r0
/* 8013E888 0013A6C8 7F A3 EB 78 */ mr r3, r29
/* 8013E88C 0013A6CC C8 41 00 A8 */ lfd f2, 0xa8(r1)
/* 8013E890 0013A6D0 38 80 00 01 */ li r4, 0x1
/* 8013E894 0013A6D4 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013E898 0013A6D8 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013E89C 0013A6DC EC 42 28 28 */ fsubs f2, f2, f5
/* 8013E8A0 0013A6E0 91 61 00 A4 */ stw r11, 0xa4(r1)
/* 8013E8A4 0013A6E4 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013E8A8 0013A6E8 C8 E1 00 A0 */ lfd f7, 0xa0(r1)
/* 8013E8AC 0013A6EC 91 61 00 A4 */ stw r11, 0xa4(r1)
/* 8013E8B0 0013A6F0 C8 A1 00 A0 */ lfd f5, 0xa0(r1)
/* 8013E8B4 0013A6F4 90 E1 00 A4 */ stw r7, 0xa4(r1)
/* 8013E8B8 0013A6F8 C8 61 00 A0 */ lfd f3, 0xa0(r1)
/* 8013E8BC 0013A6FC EC 22 00 72 */ fmuls f1, f2, f1
/* 8013E8C0 0013A700 EC E7 40 28 */ fsubs f7, f7, f8
/* 8013E8C4 0013A704 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013E8C8 0013A708 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013E8CC 0013A70C 7C E9 05 2E */ stfsx f7, r9, r0
/* 8013E8D0 0013A710 7C E8 05 2E */ stfsx f7, r8, r0
/* 8013E8D4 0013A714 7C DF BD 2E */ stfsx f6, r31, r23
/* 8013E8D8 0013A718 7C C8 BD 2E */ stfsx f6, r8, r23
/* 8013E8DC 0013A71C EC 42 20 2A */ fadds f2, f2, f4
/* 8013E8E0 0013A720 EC 23 40 28 */ fsubs f1, f3, f8
/* 8013E8E4 0013A724 7C 5F 05 2E */ stfsx f2, r31, r0
/* 8013E8E8 0013A728 7C 45 05 2E */ stfsx f2, r5, r0
/* 8013E8EC 0013A72C EC 01 00 2A */ fadds f0, f1, f0
/* 8013E8F0 0013A730 7C 09 BD 2E */ stfsx f0, r9, r23
/* 8013E8F4 0013A734 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013E8F8 0013A738 4B FB F8 29 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013E8FC 0013A73C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013E900 0013A740 7F E6 FB 78 */ mr r6, r31
/* 8013E904 0013A744 38 61 00 68 */ addi r3, r1, 0x68
/* 8013E908 0013A748 38 81 00 60 */ addi r4, r1, 0x60
/* 8013E90C 0013A74C 38 A0 00 01 */ li r5, 0x1
/* 8013E910 0013A750 38 E0 00 00 */ li r7, 0x0
/* 8013E914 0013A754 41 82 00 08 */ beq lbl_8013E91C
/* 8013E918 0013A758 38 E1 00 70 */ addi r7, r1, 0x70
.global lbl_8013E91C
lbl_8013E91C:
/* 8013E91C 0013A75C 7F 88 E3 78 */ mr r8, r28
2022-10-16 16:31:36 +00:00
/* 8013E920 0013A760 4B FF 7B 11 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013E924 0013A764 80 7A 00 1C */ lwz r3, 0x1c(r26)
/* 8013E928 0013A768 7F C4 F3 78 */ mr r4, r30
/* 8013E92C 0013A76C 7F 85 E3 78 */ mr r5, r28
/* 8013E930 0013A770 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013E934 0013A774 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013E938 0013A778 7D 89 03 A6 */ mtctr r12
/* 8013E93C 0013A77C 4E 80 04 21 */ bctrl
/* 8013E940 0013A780 C0 39 00 04 */ lfs f1, 0x4(r25)
/* 8013E944 0013A784 7C 7D 1B 78 */ mr r29, r3
/* 8013E948 0013A788 C0 18 00 50 */ lfs f0, 0x50(r24)
/* 8013E94C 0013A78C 38 61 00 48 */ addi r3, r1, 0x48
/* 8013E950 0013A790 C0 5B 00 0C */ lfs f2, 0xc(r27)
/* 8013E954 0013A794 38 A0 00 00 */ li r5, 0x0
/* 8013E958 0013A798 EC 61 00 2A */ fadds f3, f1, f0
/* 8013E95C 0013A79C C0 19 00 00 */ lfs f0, 0x0(r25)
/* 8013E960 0013A7A0 C0 3B 00 00 */ lfs f1, 0x0(r27)
/* 8013E964 0013A7A4 8B FA 00 18 */ lbz r31, 0x18(r26)
/* 8013E968 0013A7A8 EC 63 10 28 */ fsubs f3, f3, f2
/* 8013E96C 0013A7AC 80 9A 00 1C */ lwz r4, 0x1c(r26)
/* 8013E970 0013A7B0 EC 80 08 2A */ fadds f4, f0, f1
/* 8013E974 0013A7B4 D0 61 00 6C */ stfs f3, 0x6c(r1)
/* 8013E978 0013A7B8 D0 81 00 68 */ stfs f4, 0x68(r1)
/* 8013E97C 0013A7BC C0 18 00 4C */ lfs f0, 0x4c(r24)
/* 8013E980 0013A7C0 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 8013E984 0013A7C4 EC 00 08 28 */ fsubs f0, f0, f1
/* 8013E988 0013A7C8 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 8013E98C 0013A7CC D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8013E990 0013A7D0 D0 41 00 64 */ stfs f2, 0x64(r1)
2022-10-16 16:31:36 +00:00
/* 8013E994 0013A7D4 4B FF BF DD */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013E998 0013A7D8 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013E99C 0013A7DC 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013E9A0 0013A7E0 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013E9A4 0013A7E4 C0 41 00 4C */ lfs f2, 0x4c(r1)
2022-10-16 16:31:36 +00:00
/* 8013E9A8 0013A7E8 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013E9AC 0013A7EC C0 61 00 48 */ lfs f3, 0x48(r1)
/* 8013E9B0 0013A7F0 7C E4 02 14 */ add r7, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013E9B4 0013A7F4 3D 40 80 41 */ lis r10, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013E9B8 0013A7F8 88 07 00 09 */ lbz r0, 0x9(r7)
/* 8013E9BC 0013A7FC 38 A1 00 18 */ addi r5, r1, 0x18
/* 8013E9C0 0013A800 88 C7 00 08 */ lbz r6, 0x8(r7)
/* 8013E9C4 0013A804 39 21 00 88 */ addi r9, r1, 0x88
2022-10-16 16:31:36 +00:00
/* 8013E9C8 0013A808 C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013E9CC 0013A80C 7C 87 02 14 */ add r4, r7, r0
/* 8013E9D0 0013A810 7C 67 32 14 */ add r3, r7, r6
/* 8013E9D4 0013A814 88 E4 00 06 */ lbz r7, 0x6(r4)
/* 8013E9D8 0013A818 90 E1 00 AC */ stw r7, 0xac(r1)
/* 8013E9DC 0013A81C 54 17 10 3A */ slwi r23, r0, 2
/* 8013E9E0 0013A820 89 63 00 06 */ lbz r11, 0x6(r3)
/* 8013E9E4 0013A824 54 CC 10 3A */ slwi r12, r6, 2
/* 8013E9E8 0013A828 88 03 00 04 */ lbz r0, 0x4(r3)
/* 8013E9EC 0013A82C 39 01 00 98 */ addi r8, r1, 0x98
/* 8013E9F0 0013A830 C8 21 00 A8 */ lfd f1, 0xa8(r1)
/* 8013E9F4 0013A834 38 C1 00 90 */ addi r6, r1, 0x90
/* 8013E9F8 0013A838 7C 6B 00 50 */ subf r3, r11, r0
/* 8013E9FC 0013A83C 88 04 00 02 */ lbz r0, 0x2(r4)
/* 8013EA00 0013A840 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013EA04 0013A844 90 61 00 AC */ stw r3, 0xac(r1)
/* 8013EA08 0013A848 7C 07 00 50 */ subf r0, r7, r0
2022-10-16 16:31:36 +00:00
/* 8013EA0C 0013A84C C9 0A E2 78 */ lfd f8, "@9114"@l(r10)
2022-10-16 16:05:58 +00:00
/* 8013EA10 0013A850 C8 01 00 A8 */ lfd f0, 0xa8(r1)
/* 8013EA14 0013A854 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013EA18 0013A858 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 8013EA1C 0013A85C EC C1 40 28 */ fsubs f6, f1, f8
/* 8013EA20 0013A860 EC 80 28 28 */ fsubs f4, f0, f5
/* 8013EA24 0013A864 C0 61 00 60 */ lfs f3, 0x60(r1)
/* 8013EA28 0013A868 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 8013EA2C 0013A86C 3B E1 00 80 */ addi r31, r1, 0x80
/* 8013EA30 0013A870 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 8013EA34 0013A874 90 01 00 AC */ stw r0, 0xac(r1)
/* 8013EA38 0013A878 7C 25 64 2E */ lfsx f1, r5, r12
/* 8013EA3C 0013A87C 7F A3 EB 78 */ mr r3, r29
/* 8013EA40 0013A880 C8 41 00 A8 */ lfd f2, 0xa8(r1)
/* 8013EA44 0013A884 38 80 00 01 */ li r4, 0x1
/* 8013EA48 0013A888 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013EA4C 0013A88C 7C 25 BC 2E */ lfsx f1, r5, r23
/* 8013EA50 0013A890 EC 42 28 28 */ fsubs f2, f2, f5
/* 8013EA54 0013A894 91 61 00 A4 */ stw r11, 0xa4(r1)
/* 8013EA58 0013A898 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013EA5C 0013A89C C8 E1 00 A0 */ lfd f7, 0xa0(r1)
/* 8013EA60 0013A8A0 91 61 00 A4 */ stw r11, 0xa4(r1)
/* 8013EA64 0013A8A4 C8 A1 00 A0 */ lfd f5, 0xa0(r1)
/* 8013EA68 0013A8A8 90 E1 00 A4 */ stw r7, 0xa4(r1)
/* 8013EA6C 0013A8AC C8 61 00 A0 */ lfd f3, 0xa0(r1)
/* 8013EA70 0013A8B0 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013EA74 0013A8B4 EC E7 40 28 */ fsubs f7, f7, f8
/* 8013EA78 0013A8B8 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013EA7C 0013A8BC EC 00 08 24 */ fdivs f0, f0, f1
/* 8013EA80 0013A8C0 7C E9 65 2E */ stfsx f7, r9, r12
/* 8013EA84 0013A8C4 7C E8 65 2E */ stfsx f7, r8, r12
/* 8013EA88 0013A8C8 7C C6 BD 2E */ stfsx f6, r6, r23
/* 8013EA8C 0013A8CC 7C C8 BD 2E */ stfsx f6, r8, r23
/* 8013EA90 0013A8D0 EC 42 20 2A */ fadds f2, f2, f4
/* 8013EA94 0013A8D4 EC 23 40 28 */ fsubs f1, f3, f8
/* 8013EA98 0013A8D8 7C 46 65 2E */ stfsx f2, r6, r12
/* 8013EA9C 0013A8DC 7C 5F 65 2E */ stfsx f2, r31, r12
/* 8013EAA0 0013A8E0 EC 01 00 2A */ fadds f0, f1, f0
/* 8013EAA4 0013A8E4 7C 09 BD 2E */ stfsx f0, r9, r23
/* 8013EAA8 0013A8E8 7C 1F BD 2E */ stfsx f0, r31, r23
2022-10-16 16:31:36 +00:00
/* 8013EAAC 0013A8EC 4B FB F6 75 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013EAB0 0013A8F0 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013EAB4 0013A8F4 7F E6 FB 78 */ mr r6, r31
/* 8013EAB8 0013A8F8 38 61 00 68 */ addi r3, r1, 0x68
/* 8013EABC 0013A8FC 38 81 00 60 */ addi r4, r1, 0x60
/* 8013EAC0 0013A900 38 A0 00 01 */ li r5, 0x1
/* 8013EAC4 0013A904 38 E0 00 00 */ li r7, 0x0
/* 8013EAC8 0013A908 41 82 00 08 */ beq lbl_8013EAD0
/* 8013EACC 0013A90C 38 E1 00 70 */ addi r7, r1, 0x70
.global lbl_8013EAD0
lbl_8013EAD0:
/* 8013EAD0 0013A910 7F 88 E3 78 */ mr r8, r28
2022-10-16 16:31:36 +00:00
/* 8013EAD4 0013A914 4B FF 79 5D */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013EAD8 0013A918 80 7A 00 14 */ lwz r3, 0x14(r26)
/* 8013EADC 0013A91C 7F C4 F3 78 */ mr r4, r30
/* 8013EAE0 0013A920 7F 85 E3 78 */ mr r5, r28
/* 8013EAE4 0013A924 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013EAE8 0013A928 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013EAEC 0013A92C 7D 89 03 A6 */ mtctr r12
/* 8013EAF0 0013A930 4E 80 04 21 */ bctrl
/* 8013EAF4 0013A934 C0 19 00 04 */ lfs f0, 0x4(r25)
/* 8013EAF8 0013A938 7C 7D 1B 78 */ mr r29, r3
/* 8013EAFC 0013A93C C0 3B 00 08 */ lfs f1, 0x8(r27)
/* 8013EB00 0013A940 38 61 00 40 */ addi r3, r1, 0x40
/* 8013EB04 0013A944 C0 79 00 00 */ lfs f3, 0x0(r25)
/* 8013EB08 0013A948 38 A0 00 00 */ li r5, 0x0
/* 8013EB0C 0013A94C EC 40 08 2A */ fadds f2, f0, f1
/* 8013EB10 0013A950 C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 8013EB14 0013A954 D0 61 00 68 */ stfs f3, 0x68(r1)
/* 8013EB18 0013A958 8B 3A 00 10 */ lbz r25, 0x10(r26)
/* 8013EB1C 0013A95C D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 8013EB20 0013A960 80 9A 00 14 */ lwz r4, 0x14(r26)
/* 8013EB24 0013A964 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8013EB28 0013A968 C0 18 00 50 */ lfs f0, 0x50(r24)
/* 8013EB2C 0013A96C D0 61 00 10 */ stfs f3, 0x10(r1)
/* 8013EB30 0013A970 EC 00 08 28 */ fsubs f0, f0, f1
/* 8013EB34 0013A974 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8013EB38 0013A978 D0 01 00 64 */ stfs f0, 0x64(r1)
2022-10-16 16:31:36 +00:00
/* 8013EB3C 0013A97C 4B FF BE 35 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013EB40 0013A980 1C 19 00 0A */ mulli r0, r25, 0xa
2022-10-16 16:31:36 +00:00
/* 8013EB44 0013A984 3C 60 80 44 */ lis r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013EB48 0013A988 3C A0 80 41 */ lis r5, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013EB4C 0013A98C C0 21 00 44 */ lfs f1, 0x44(r1)
2022-10-16 16:31:36 +00:00
/* 8013EB50 0013A990 38 63 42 68 */ addi r3, r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
/* 8013EB54 0013A994 C9 05 E2 78 */ lfd f8, "@9114"@l(r5)
2022-10-16 16:05:58 +00:00
/* 8013EB58 0013A998 7D 43 02 14 */ add r10, r3, r0
2022-10-16 16:31:36 +00:00
/* 8013EB5C 0013A99C 3C 80 80 41 */ lis r4, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013EB60 0013A9A0 88 EA 00 09 */ lbz r7, 0x9(r10)
/* 8013EB64 0013A9A4 38 C1 00 08 */ addi r6, r1, 0x8
/* 8013EB68 0013A9A8 89 2A 00 08 */ lbz r9, 0x8(r10)
/* 8013EB6C 0013A9AC 3B 01 00 80 */ addi r24, r1, 0x80
/* 8013EB70 0013A9B0 7C 6A 3A 14 */ add r3, r10, r7
/* 8013EB74 0013A9B4 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 8013EB78 0013A9B8 89 03 00 04 */ lbz r8, 0x4(r3)
/* 8013EB7C 0013A9BC 7C 6A 4A 14 */ add r3, r10, r9
/* 8013EB80 0013A9C0 7C 0A 38 AE */ lbzx r0, r10, r7
/* 8013EB84 0013A9C4 55 2B 10 3A */ slwi r11, r9, 2
/* 8013EB88 0013A9C8 89 43 00 04 */ lbz r10, 0x4(r3)
/* 8013EB8C 0013A9CC 54 EC 10 3A */ slwi r12, r7, 2
/* 8013EB90 0013A9D0 91 01 00 AC */ stw r8, 0xac(r1)
/* 8013EB94 0013A9D4 7C 08 00 50 */ subf r0, r8, r0
/* 8013EB98 0013A9D8 88 63 00 06 */ lbz r3, 0x6(r3)
/* 8013EB9C 0013A9DC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013EBA0 0013A9E0 C8 01 00 A8 */ lfd f0, 0xa8(r1)
/* 8013EBA4 0013A9E4 39 21 00 90 */ addi r9, r1, 0x90
/* 8013EBA8 0013A9E8 7C 6A 18 50 */ subf r3, r10, r3
2022-10-16 16:31:36 +00:00
/* 8013EBAC 0013A9EC C8 A4 E2 80 */ lfd f5, "@9115"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013EBB0 0013A9F0 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013EBB4 0013A9F4 90 61 00 AC */ stw r3, 0xac(r1)
/* 8013EBB8 0013A9F8 EC C0 40 28 */ fsubs f6, f0, f8
/* 8013EBBC 0013A9FC C0 61 00 60 */ lfs f3, 0x60(r1)
/* 8013EBC0 0013AA00 C8 01 00 A8 */ lfd f0, 0xa8(r1)
/* 8013EBC4 0013AA04 38 E1 00 98 */ addi r7, r1, 0x98
/* 8013EBC8 0013AA08 D0 41 00 08 */ stfs f2, 0x8(r1)
/* 8013EBCC 0013AA0C 38 A1 00 88 */ addi r5, r1, 0x88
/* 8013EBD0 0013AA10 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8013EBD4 0013AA14 EC 40 28 28 */ fsubs f2, f0, f5
/* 8013EBD8 0013AA18 7F A3 EB 78 */ mr r3, r29
/* 8013EBDC 0013AA1C 38 80 00 01 */ li r4, 0x1
/* 8013EBE0 0013AA20 90 01 00 AC */ stw r0, 0xac(r1)
/* 8013EBE4 0013AA24 7C 26 5C 2E */ lfsx f1, r6, r11
/* 8013EBE8 0013AA28 C8 01 00 A8 */ lfd f0, 0xa8(r1)
/* 8013EBEC 0013AA2C EC 82 00 72 */ fmuls f4, f2, f1
/* 8013EBF0 0013AA30 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013EBF4 0013AA34 EC 40 28 28 */ fsubs f2, f0, f5
/* 8013EBF8 0013AA38 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 8013EBFC 0013AA3C 91 41 00 A4 */ stw r10, 0xa4(r1)
/* 8013EC00 0013AA40 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013EC04 0013AA44 C8 E1 00 A0 */ lfd f7, 0xa0(r1)
/* 8013EC08 0013AA48 91 41 00 A4 */ stw r10, 0xa4(r1)
/* 8013EC0C 0013AA4C C8 A1 00 A0 */ lfd f5, 0xa0(r1)
/* 8013EC10 0013AA50 91 01 00 A4 */ stw r8, 0xa4(r1)
/* 8013EC14 0013AA54 C8 61 00 A0 */ lfd f3, 0xa0(r1)
/* 8013EC18 0013AA58 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013EC1C 0013AA5C EC E7 40 28 */ fsubs f7, f7, f8
/* 8013EC20 0013AA60 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013EC24 0013AA64 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013EC28 0013AA68 7C F8 5D 2E */ stfsx f7, r24, r11
/* 8013EC2C 0013AA6C 7C E9 5D 2E */ stfsx f7, r9, r11
/* 8013EC30 0013AA70 7C C7 65 2E */ stfsx f6, r7, r12
/* 8013EC34 0013AA74 7C C9 65 2E */ stfsx f6, r9, r12
/* 8013EC38 0013AA78 EC 42 20 2A */ fadds f2, f2, f4
/* 8013EC3C 0013AA7C EC 23 40 28 */ fsubs f1, f3, f8
/* 8013EC40 0013AA80 7C 47 5D 2E */ stfsx f2, r7, r11
/* 8013EC44 0013AA84 7C 45 5D 2E */ stfsx f2, r5, r11
/* 8013EC48 0013AA88 EC 01 00 2A */ fadds f0, f1, f0
/* 8013EC4C 0013AA8C 7C 18 65 2E */ stfsx f0, r24, r12
/* 8013EC50 0013AA90 7C 05 65 2E */ stfsx f0, r5, r12
2022-10-16 16:31:36 +00:00
/* 8013EC54 0013AA94 4B FB F4 CD */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013EC58 0013AA98 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013EC5C 0013AA9C 7F 06 C3 78 */ mr r6, r24
/* 8013EC60 0013AAA0 38 61 00 68 */ addi r3, r1, 0x68
/* 8013EC64 0013AAA4 38 81 00 60 */ addi r4, r1, 0x60
/* 8013EC68 0013AAA8 38 A0 00 01 */ li r5, 0x1
/* 8013EC6C 0013AAAC 38 E0 00 00 */ li r7, 0x0
/* 8013EC70 0013AAB0 41 82 00 08 */ beq lbl_8013EC78
/* 8013EC74 0013AAB4 38 E1 00 70 */ addi r7, r1, 0x70
.global lbl_8013EC78
lbl_8013EC78:
/* 8013EC78 0013AAB8 7F 88 E3 78 */ mr r8, r28
2022-10-16 16:31:36 +00:00
/* 8013EC7C 0013AABC 4B FF 77 B5 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013EC80 0013AAC0 39 61 00 E0 */ addi r11, r1, 0xe0
/* 8013EC84 0013AAC4 4B EC 86 F5 */ bl lbl_80007378
/* 8013EC88 0013AAC8 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 8013EC8C 0013AACC 7C 08 03 A6 */ mtlr r0
/* 8013EC90 0013AAD0 38 21 00 E0 */ addi r1, r1, 0xe0
/* 8013EC94 0013AAD4 4E 80 00 20 */ blr
/* 8013EC98 0013AAD8 00 00 00 00 */ .4byte 0x00000000
/* 8013EC9C 0013AADC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global DrawFrame8__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2PCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc
DrawFrame8__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2PCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc:
2022-10-16 16:05:58 +00:00
/* 8013ECA0 0013AAE0 94 21 FE 90 */ stwu r1, -0x170(r1)
/* 8013ECA4 0013AAE4 7C 08 02 A6 */ mflr r0
/* 8013ECA8 0013AAE8 90 01 01 74 */ stw r0, 0x174(r1)
/* 8013ECAC 0013AAEC 39 61 01 70 */ addi r11, r1, 0x170
/* 8013ECB0 0013AAF0 4B EC 86 7D */ bl lbl_8000732C
2022-10-16 16:31:36 +00:00
/* 8013ECB4 0013AAF4 3D 00 80 41 */ lis r8, "@9107"@ha
2022-10-16 16:05:58 +00:00
/* 8013ECB8 0013AAF8 38 00 FF FF */ li r0, -0x1
2022-10-16 16:31:36 +00:00
/* 8013ECBC 0013AAFC C0 08 E2 70 */ lfs f0, "@9107"@l(r8)
2022-10-16 16:05:58 +00:00
/* 8013ECC0 0013AB00 3D 00 43 30 */ lis r8, 0x4330
/* 8013ECC4 0013AB04 7C FC 3B 78 */ mr r28, r7
/* 8013ECC8 0013AB08 91 01 01 38 */ stw r8, 0x138(r1)
/* 8013ECCC 0013AB0C 7C 78 1B 78 */ mr r24, r3
/* 8013ECD0 0013AB10 7C 99 23 78 */ mr r25, r4
/* 8013ECD4 0013AB14 91 01 01 40 */ stw r8, 0x140(r1)
/* 8013ECD8 0013AB18 7C BA 2B 78 */ mr r26, r5
/* 8013ECDC 0013AB1C 7C DB 33 78 */ mr r27, r6
/* 8013ECE0 0013AB20 7F 84 E3 78 */ mr r4, r28
/* 8013ECE4 0013AB24 90 01 01 08 */ stw r0, 0x108(r1)
/* 8013ECE8 0013AB28 38 60 00 00 */ li r3, 0x0
/* 8013ECEC 0013AB2C 90 01 01 0C */ stw r0, 0x10c(r1)
/* 8013ECF0 0013AB30 90 01 01 10 */ stw r0, 0x110(r1)
/* 8013ECF4 0013AB34 90 01 01 14 */ stw r0, 0x114(r1)
/* 8013ECF8 0013AB38 D0 01 01 00 */ stfs f0, 0x100(r1)
/* 8013ECFC 0013AB3C D0 01 01 04 */ stfs f0, 0x104(r1)
2022-10-16 16:31:36 +00:00
/* 8013ED00 0013AB40 4B FB F3 71 */ bl IsModulateVertexColor__Q34nw4r3lyt6detailFPQ34nw4r2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013ED04 0013AB44 7C 7E 1B 78 */ mr r30, r3
/* 8013ED08 0013AB48 80 7A 00 04 */ lwz r3, 0x4(r26)
/* 8013ED0C 0013AB4C 7F C4 F3 78 */ mr r4, r30
/* 8013ED10 0013AB50 7F 85 E3 78 */ mr r5, r28
/* 8013ED14 0013AB54 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013ED18 0013AB58 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013ED1C 0013AB5C 7D 89 03 A6 */ mtctr r12
/* 8013ED20 0013AB60 4E 80 04 21 */ bctrl
/* 8013ED24 0013AB64 C0 3B 00 08 */ lfs f1, 0x8(r27)
/* 8013ED28 0013AB68 7C 7D 1B 78 */ mr r29, r3
/* 8013ED2C 0013AB6C C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 8013ED30 0013AB70 38 61 00 F0 */ addi r3, r1, 0xf0
/* 8013ED34 0013AB74 D0 01 00 F8 */ stfs f0, 0xf8(r1)
/* 8013ED38 0013AB78 38 A0 00 00 */ li r5, 0x0
/* 8013ED3C 0013AB7C 8B FA 00 00 */ lbz r31, 0x0(r26)
/* 8013ED40 0013AB80 D0 21 00 FC */ stfs f1, 0xfc(r1)
/* 8013ED44 0013AB84 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 8013ED48 0013AB88 D0 01 01 00 */ stfs f0, 0x100(r1)
/* 8013ED4C 0013AB8C D0 21 01 04 */ stfs f1, 0x104(r1)
2022-10-16 16:31:36 +00:00
/* 8013ED50 0013AB90 4B FF BC 21 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013ED54 0013AB94 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013ED58 0013AB98 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013ED5C 0013AB9C 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013ED60 0013ABA0 C0 41 00 F4 */ lfs f2, 0xf4(r1)
2022-10-16 16:31:36 +00:00
/* 8013ED64 0013ABA4 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013ED68 0013ABA8 C0 61 00 F0 */ lfs f3, 0xf0(r1)
/* 8013ED6C 0013ABAC 7C E4 02 14 */ add r7, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013ED70 0013ABB0 3C 80 80 41 */ lis r4, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013ED74 0013ABB4 88 07 00 09 */ lbz r0, 0x9(r7)
/* 8013ED78 0013ABB8 38 C1 00 40 */ addi r6, r1, 0x40
/* 8013ED7C 0013ABBC 88 A7 00 08 */ lbz r5, 0x8(r7)
/* 8013ED80 0013ABC0 39 21 01 28 */ addi r9, r1, 0x128
/* 8013ED84 0013ABC4 7D 07 00 AE */ lbzx r8, r7, r0
/* 8013ED88 0013ABC8 7E E7 02 14 */ add r23, r7, r0
2022-10-16 16:31:36 +00:00
/* 8013ED8C 0013ABCC C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013ED90 0013ABD0 7C 67 2A 14 */ add r3, r7, r5
/* 8013ED94 0013ABD4 7D 47 28 AE */ lbzx r10, r7, r5
/* 8013ED98 0013ABD8 54 0C 10 3A */ slwi r12, r0, 2
/* 8013ED9C 0013ABDC 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013EDA0 0013ABE0 54 AB 10 3A */ slwi r11, r5, 2
/* 8013EDA4 0013ABE4 88 03 00 02 */ lbz r0, 0x2(r3)
/* 8013EDA8 0013ABE8 3B E1 01 18 */ addi r31, r1, 0x118
/* 8013EDAC 0013ABEC C8 21 01 40 */ lfd f1, 0x140(r1)
/* 8013EDB0 0013ABF0 38 E1 01 20 */ addi r7, r1, 0x120
/* 8013EDB4 0013ABF4 7C 6A 00 50 */ subf r3, r10, r0
/* 8013EDB8 0013ABF8 88 17 00 04 */ lbz r0, 0x4(r23)
/* 8013EDBC 0013ABFC 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013EDC0 0013AC00 90 61 01 44 */ stw r3, 0x144(r1)
2022-10-16 16:31:36 +00:00
/* 8013EDC4 0013AC04 C9 04 E2 78 */ lfd f8, "@9114"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013EDC8 0013AC08 7C 08 00 50 */ subf r0, r8, r0
/* 8013EDCC 0013AC0C C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013EDD0 0013AC10 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013EDD4 0013AC14 D0 61 00 40 */ stfs f3, 0x40(r1)
/* 8013EDD8 0013AC18 EC C1 40 28 */ fsubs f6, f1, f8
/* 8013EDDC 0013AC1C EC 80 28 28 */ fsubs f4, f0, f5
/* 8013EDE0 0013AC20 C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013EDE4 0013AC24 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8013EDE8 0013AC28 38 A1 01 30 */ addi r5, r1, 0x130
/* 8013EDEC 0013AC2C C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013EDF0 0013AC30 90 01 01 44 */ stw r0, 0x144(r1)
/* 8013EDF4 0013AC34 7C 26 5C 2E */ lfsx f1, r6, r11
/* 8013EDF8 0013AC38 7F A3 EB 78 */ mr r3, r29
/* 8013EDFC 0013AC3C C8 41 01 40 */ lfd f2, 0x140(r1)
/* 8013EE00 0013AC40 38 80 00 01 */ li r4, 0x1
/* 8013EE04 0013AC44 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013EE08 0013AC48 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013EE0C 0013AC4C EC 42 28 28 */ fsubs f2, f2, f5
/* 8013EE10 0013AC50 91 41 01 3C */ stw r10, 0x13c(r1)
/* 8013EE14 0013AC54 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013EE18 0013AC58 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013EE1C 0013AC5C 91 41 01 3C */ stw r10, 0x13c(r1)
/* 8013EE20 0013AC60 C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013EE24 0013AC64 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013EE28 0013AC68 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013EE2C 0013AC6C EC 22 00 72 */ fmuls f1, f2, f1
/* 8013EE30 0013AC70 EC E7 40 28 */ fsubs f7, f7, f8
/* 8013EE34 0013AC74 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013EE38 0013AC78 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013EE3C 0013AC7C 7C E9 5D 2E */ stfsx f7, r9, r11
/* 8013EE40 0013AC80 7C FF 5D 2E */ stfsx f7, r31, r11
/* 8013EE44 0013AC84 7C C7 65 2E */ stfsx f6, r7, r12
/* 8013EE48 0013AC88 7C DF 65 2E */ stfsx f6, r31, r12
/* 8013EE4C 0013AC8C EC 42 20 2A */ fadds f2, f2, f4
/* 8013EE50 0013AC90 EC 23 40 28 */ fsubs f1, f3, f8
/* 8013EE54 0013AC94 7C 47 5D 2E */ stfsx f2, r7, r11
/* 8013EE58 0013AC98 7C 45 5D 2E */ stfsx f2, r5, r11
/* 8013EE5C 0013AC9C EC 01 00 2A */ fadds f0, f1, f0
/* 8013EE60 0013ACA0 7C 09 65 2E */ stfsx f0, r9, r12
/* 8013EE64 0013ACA4 7C 05 65 2E */ stfsx f0, r5, r12
2022-10-16 16:31:36 +00:00
/* 8013EE68 0013ACA8 4B FB F2 B9 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013EE6C 0013ACAC 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013EE70 0013ACB0 7F 23 CB 78 */ mr r3, r25
/* 8013EE74 0013ACB4 7F E6 FB 78 */ mr r6, r31
/* 8013EE78 0013ACB8 38 81 01 00 */ addi r4, r1, 0x100
/* 8013EE7C 0013ACBC 38 A0 00 01 */ li r5, 0x1
/* 8013EE80 0013ACC0 38 E0 00 00 */ li r7, 0x0
/* 8013EE84 0013ACC4 41 82 00 08 */ beq lbl_8013EE8C
/* 8013EE88 0013ACC8 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013EE8C
lbl_8013EE8C:
/* 8013EE8C 0013ACCC 7F 88 E3 78 */ mr r8, r28
2022-10-16 16:31:36 +00:00
/* 8013EE90 0013ACD0 4B FF 75 A1 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013EE94 0013ACD4 80 7A 00 34 */ lwz r3, 0x34(r26)
/* 8013EE98 0013ACD8 7F C4 F3 78 */ mr r4, r30
/* 8013EE9C 0013ACDC 7F 85 E3 78 */ mr r5, r28
/* 8013EEA0 0013ACE0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013EEA4 0013ACE4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013EEA8 0013ACE8 7D 89 03 A6 */ mtctr r12
/* 8013EEAC 0013ACEC 4E 80 04 21 */ bctrl
/* 8013EEB0 0013ACF0 C0 38 00 4C */ lfs f1, 0x4c(r24)
/* 8013EEB4 0013ACF4 7C 7D 1B 78 */ mr r29, r3
/* 8013EEB8 0013ACF8 C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 8013EEBC 0013ACFC 38 61 00 E0 */ addi r3, r1, 0xe0
/* 8013EEC0 0013AD00 C0 5B 00 08 */ lfs f2, 0x8(r27)
/* 8013EEC4 0013AD04 38 A0 00 00 */ li r5, 0x0
/* 8013EEC8 0013AD08 EC 21 00 28 */ fsubs f1, f1, f0
/* 8013EECC 0013AD0C C0 1B 00 04 */ lfs f0, 0x4(r27)
/* 8013EED0 0013AD10 D0 41 00 EC */ stfs f2, 0xec(r1)
/* 8013EED4 0013AD14 8B FA 00 30 */ lbz r31, 0x30(r26)
/* 8013EED8 0013AD18 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013EEDC 0013AD1C D0 41 01 04 */ stfs f2, 0x104(r1)
/* 8013EEE0 0013AD20 80 9A 00 34 */ lwz r4, 0x34(r26)
/* 8013EEE4 0013AD24 D0 01 00 E8 */ stfs f0, 0xe8(r1)
/* 8013EEE8 0013AD28 D0 01 01 00 */ stfs f0, 0x100(r1)
2022-10-16 16:31:36 +00:00
/* 8013EEEC 0013AD2C 4B FF BA 85 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013EEF0 0013AD30 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013EEF4 0013AD34 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013EEF8 0013AD38 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013EEFC 0013AD3C C0 41 00 E4 */ lfs f2, 0xe4(r1)
2022-10-16 16:31:36 +00:00
/* 8013EF00 0013AD40 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013EF04 0013AD44 C0 61 00 E0 */ lfs f3, 0xe0(r1)
/* 8013EF08 0013AD48 7C E4 02 14 */ add r7, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013EF0C 0013AD4C 3C 80 80 41 */ lis r4, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013EF10 0013AD50 88 07 00 09 */ lbz r0, 0x9(r7)
/* 8013EF14 0013AD54 38 C1 00 38 */ addi r6, r1, 0x38
/* 8013EF18 0013AD58 88 A7 00 08 */ lbz r5, 0x8(r7)
/* 8013EF1C 0013AD5C 39 41 01 28 */ addi r10, r1, 0x128
/* 8013EF20 0013AD60 7D 07 00 AE */ lbzx r8, r7, r0
/* 8013EF24 0013AD64 7F E7 02 14 */ add r31, r7, r0
2022-10-16 16:31:36 +00:00
/* 8013EF28 0013AD68 C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013EF2C 0013AD6C 7C 67 2A 14 */ add r3, r7, r5
/* 8013EF30 0013AD70 7D 67 28 AE */ lbzx r11, r7, r5
/* 8013EF34 0013AD74 54 17 10 3A */ slwi r23, r0, 2
/* 8013EF38 0013AD78 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013EF3C 0013AD7C 54 AC 10 3A */ slwi r12, r5, 2
/* 8013EF40 0013AD80 88 03 00 02 */ lbz r0, 0x2(r3)
/* 8013EF44 0013AD84 39 21 01 18 */ addi r9, r1, 0x118
/* 8013EF48 0013AD88 C8 21 01 40 */ lfd f1, 0x140(r1)
/* 8013EF4C 0013AD8C 38 E1 01 20 */ addi r7, r1, 0x120
/* 8013EF50 0013AD90 7C 6B 00 50 */ subf r3, r11, r0
/* 8013EF54 0013AD94 88 1F 00 04 */ lbz r0, 0x4(r31)
/* 8013EF58 0013AD98 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013EF5C 0013AD9C 90 61 01 44 */ stw r3, 0x144(r1)
2022-10-16 16:31:36 +00:00
/* 8013EF60 0013ADA0 C9 04 E2 78 */ lfd f8, "@9114"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013EF64 0013ADA4 7C 08 00 50 */ subf r0, r8, r0
/* 8013EF68 0013ADA8 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013EF6C 0013ADAC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013EF70 0013ADB0 D0 61 00 38 */ stfs f3, 0x38(r1)
/* 8013EF74 0013ADB4 EC C1 40 28 */ fsubs f6, f1, f8
/* 8013EF78 0013ADB8 EC 80 28 28 */ fsubs f4, f0, f5
/* 8013EF7C 0013ADBC C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013EF80 0013ADC0 D0 41 00 3C */ stfs f2, 0x3c(r1)
/* 8013EF84 0013ADC4 38 A1 01 30 */ addi r5, r1, 0x130
/* 8013EF88 0013ADC8 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013EF8C 0013ADCC 90 01 01 44 */ stw r0, 0x144(r1)
/* 8013EF90 0013ADD0 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013EF94 0013ADD4 7F A3 EB 78 */ mr r3, r29
/* 8013EF98 0013ADD8 C8 41 01 40 */ lfd f2, 0x140(r1)
/* 8013EF9C 0013ADDC 38 80 00 01 */ li r4, 0x1
/* 8013EFA0 0013ADE0 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013EFA4 0013ADE4 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013EFA8 0013ADE8 EC 42 28 28 */ fsubs f2, f2, f5
/* 8013EFAC 0013ADEC 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013EFB0 0013ADF0 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013EFB4 0013ADF4 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013EFB8 0013ADF8 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013EFBC 0013ADFC C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013EFC0 0013AE00 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013EFC4 0013AE04 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013EFC8 0013AE08 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013EFCC 0013AE0C EC E7 40 28 */ fsubs f7, f7, f8
/* 8013EFD0 0013AE10 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013EFD4 0013AE14 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013EFD8 0013AE18 7C EA 65 2E */ stfsx f7, r10, r12
/* 8013EFDC 0013AE1C 7C E9 65 2E */ stfsx f7, r9, r12
/* 8013EFE0 0013AE20 7C C7 BD 2E */ stfsx f6, r7, r23
/* 8013EFE4 0013AE24 7C C9 BD 2E */ stfsx f6, r9, r23
/* 8013EFE8 0013AE28 EC 42 20 2A */ fadds f2, f2, f4
/* 8013EFEC 0013AE2C EC 23 40 28 */ fsubs f1, f3, f8
/* 8013EFF0 0013AE30 7C 47 65 2E */ stfsx f2, r7, r12
/* 8013EFF4 0013AE34 7C 45 65 2E */ stfsx f2, r5, r12
/* 8013EFF8 0013AE38 EC 01 00 2A */ fadds f0, f1, f0
/* 8013EFFC 0013AE3C 7C 0A BD 2E */ stfsx f0, r10, r23
/* 8013F000 0013AE40 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013F004 0013AE44 4B FB F1 1D */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013F008 0013AE48 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013F00C 0013AE4C 38 E0 00 00 */ li r7, 0x0
/* 8013F010 0013AE50 41 82 00 08 */ beq lbl_8013F018
/* 8013F014 0013AE54 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013F018
lbl_8013F018:
/* 8013F018 0013AE58 C0 39 00 00 */ lfs f1, 0x0(r25)
/* 8013F01C 0013AE5C 7F 88 E3 78 */ mr r8, r28
/* 8013F020 0013AE60 C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 8013F024 0013AE64 38 61 00 D8 */ addi r3, r1, 0xd8
/* 8013F028 0013AE68 C0 59 00 04 */ lfs f2, 0x4(r25)
/* 8013F02C 0013AE6C 38 81 01 00 */ addi r4, r1, 0x100
/* 8013F030 0013AE70 EC 01 00 2A */ fadds f0, f1, f0
/* 8013F034 0013AE74 D0 41 00 DC */ stfs f2, 0xdc(r1)
/* 8013F038 0013AE78 38 C1 01 18 */ addi r6, r1, 0x118
/* 8013F03C 0013AE7C 38 A0 00 01 */ li r5, 0x1
/* 8013F040 0013AE80 D0 01 00 D8 */ stfs f0, 0xd8(r1)
2022-10-16 16:31:36 +00:00
/* 8013F044 0013AE84 4B FF 73 ED */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013F048 0013AE88 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 8013F04C 0013AE8C 7F C4 F3 78 */ mr r4, r30
/* 8013F050 0013AE90 7F 85 E3 78 */ mr r5, r28
/* 8013F054 0013AE94 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013F058 0013AE98 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013F05C 0013AE9C 7D 89 03 A6 */ mtctr r12
/* 8013F060 0013AEA0 4E 80 04 21 */ bctrl
/* 8013F064 0013AEA4 C0 3B 00 08 */ lfs f1, 0x8(r27)
/* 8013F068 0013AEA8 7C 7D 1B 78 */ mr r29, r3
/* 8013F06C 0013AEAC C0 1B 00 04 */ lfs f0, 0x4(r27)
/* 8013F070 0013AEB0 38 61 00 C8 */ addi r3, r1, 0xc8
/* 8013F074 0013AEB4 D0 01 00 D0 */ stfs f0, 0xd0(r1)
/* 8013F078 0013AEB8 38 A0 00 00 */ li r5, 0x0
/* 8013F07C 0013AEBC 8B FA 00 08 */ lbz r31, 0x8(r26)
/* 8013F080 0013AEC0 D0 21 00 D4 */ stfs f1, 0xd4(r1)
/* 8013F084 0013AEC4 80 9A 00 0C */ lwz r4, 0xc(r26)
/* 8013F088 0013AEC8 D0 01 01 00 */ stfs f0, 0x100(r1)
/* 8013F08C 0013AECC D0 21 01 04 */ stfs f1, 0x104(r1)
2022-10-16 16:31:36 +00:00
/* 8013F090 0013AED0 4B FF B8 E1 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013F094 0013AED4 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013F098 0013AED8 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013F09C 0013AEDC 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013F0A0 0013AEE0 C0 41 00 CC */ lfs f2, 0xcc(r1)
2022-10-16 16:31:36 +00:00
/* 8013F0A4 0013AEE4 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013F0A8 0013AEE8 C0 61 00 C8 */ lfs f3, 0xc8(r1)
/* 8013F0AC 0013AEEC 7D 24 02 14 */ add r9, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013F0B0 0013AEF0 3D 60 80 41 */ lis r11, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013F0B4 0013AEF4 88 89 00 09 */ lbz r4, 0x9(r9)
/* 8013F0B8 0013AEF8 38 C1 00 30 */ addi r6, r1, 0x30
/* 8013F0BC 0013AEFC 88 E9 00 08 */ lbz r7, 0x8(r9)
/* 8013F0C0 0013AF00 39 41 01 30 */ addi r10, r1, 0x130
/* 8013F0C4 0013AF04 7C A9 22 14 */ add r5, r9, r4
2022-10-16 16:31:36 +00:00
/* 8013F0C8 0013AF08 C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013F0CC 0013AF0C 89 05 00 02 */ lbz r8, 0x2(r5)
/* 8013F0D0 0013AF10 7C 69 3A 14 */ add r3, r9, r7
/* 8013F0D4 0013AF14 89 83 00 02 */ lbz r12, 0x2(r3)
/* 8013F0D8 0013AF18 54 97 10 3A */ slwi r23, r4, 2
/* 8013F0DC 0013AF1C 7C 69 38 AE */ lbzx r3, r9, r7
/* 8013F0E0 0013AF20 54 E0 10 3A */ slwi r0, r7, 2
/* 8013F0E4 0013AF24 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013F0E8 0013AF28 39 21 01 20 */ addi r9, r1, 0x120
/* 8013F0EC 0013AF2C 7C 8C 18 50 */ subf r4, r12, r3
/* 8013F0F0 0013AF30 88 65 00 06 */ lbz r3, 0x6(r5)
/* 8013F0F4 0013AF34 C8 21 01 40 */ lfd f1, 0x140(r1)
/* 8013F0F8 0013AF38 6C 84 80 00 */ xoris r4, r4, 0x8000
/* 8013F0FC 0013AF3C 7C 68 18 50 */ subf r3, r8, r3
2022-10-16 16:31:36 +00:00
/* 8013F100 0013AF40 C9 0B E2 78 */ lfd f8, "@9114"@l(r11)
2022-10-16 16:05:58 +00:00
/* 8013F104 0013AF44 90 81 01 44 */ stw r4, 0x144(r1)
/* 8013F108 0013AF48 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013F10C 0013AF4C EC C1 40 28 */ fsubs f6, f1, f8
/* 8013F110 0013AF50 38 E1 01 18 */ addi r7, r1, 0x118
/* 8013F114 0013AF54 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F118 0013AF58 38 A1 01 28 */ addi r5, r1, 0x128
/* 8013F11C 0013AF5C D0 61 00 30 */ stfs f3, 0x30(r1)
/* 8013F120 0013AF60 38 80 00 01 */ li r4, 0x1
/* 8013F124 0013AF64 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 8013F128 0013AF68 EC 80 28 28 */ fsubs f4, f0, f5
/* 8013F12C 0013AF6C C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013F130 0013AF70 90 61 01 44 */ stw r3, 0x144(r1)
/* 8013F134 0013AF74 7F A3 EB 78 */ mr r3, r29
/* 8013F138 0013AF78 7C 26 04 2E */ lfsx f1, r6, r0
/* 8013F13C 0013AF7C C8 41 01 40 */ lfd f2, 0x140(r1)
/* 8013F140 0013AF80 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013F144 0013AF84 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013F148 0013AF88 EC 42 28 28 */ fsubs f2, f2, f5
/* 8013F14C 0013AF8C C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013F150 0013AF90 91 81 01 3C */ stw r12, 0x13c(r1)
/* 8013F154 0013AF94 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013F158 0013AF98 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013F15C 0013AF9C 91 81 01 3C */ stw r12, 0x13c(r1)
/* 8013F160 0013AFA0 C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013F164 0013AFA4 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013F168 0013AFA8 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013F16C 0013AFAC EC 22 00 72 */ fmuls f1, f2, f1
/* 8013F170 0013AFB0 EC E7 40 28 */ fsubs f7, f7, f8
/* 8013F174 0013AFB4 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013F178 0013AFB8 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013F17C 0013AFBC 7C EA 05 2E */ stfsx f7, r10, r0
/* 8013F180 0013AFC0 7C E9 05 2E */ stfsx f7, r9, r0
/* 8013F184 0013AFC4 7C C7 BD 2E */ stfsx f6, r7, r23
/* 8013F188 0013AFC8 7C C9 BD 2E */ stfsx f6, r9, r23
/* 8013F18C 0013AFCC EC 42 20 2A */ fadds f2, f2, f4
/* 8013F190 0013AFD0 EC 23 40 28 */ fsubs f1, f3, f8
/* 8013F194 0013AFD4 7C 47 05 2E */ stfsx f2, r7, r0
/* 8013F198 0013AFD8 7C 45 05 2E */ stfsx f2, r5, r0
/* 8013F19C 0013AFDC EC 01 00 2A */ fadds f0, f1, f0
/* 8013F1A0 0013AFE0 7C 0A BD 2E */ stfsx f0, r10, r23
/* 8013F1A4 0013AFE4 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013F1A8 0013AFE8 4B FB EF 79 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013F1AC 0013AFEC 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013F1B0 0013AFF0 38 E0 00 00 */ li r7, 0x0
/* 8013F1B4 0013AFF4 41 82 00 08 */ beq lbl_8013F1BC
/* 8013F1B8 0013AFF8 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013F1BC
lbl_8013F1BC:
/* 8013F1BC 0013AFFC C0 39 00 00 */ lfs f1, 0x0(r25)
/* 8013F1C0 0013B000 7F 88 E3 78 */ mr r8, r28
/* 8013F1C4 0013B004 C0 18 00 4C */ lfs f0, 0x4c(r24)
/* 8013F1C8 0013B008 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8013F1CC 0013B00C C0 59 00 04 */ lfs f2, 0x4(r25)
/* 8013F1D0 0013B010 38 81 01 00 */ addi r4, r1, 0x100
/* 8013F1D4 0013B014 EC 21 00 2A */ fadds f1, f1, f0
/* 8013F1D8 0013B018 C0 1B 00 04 */ lfs f0, 0x4(r27)
/* 8013F1DC 0013B01C D0 41 00 C4 */ stfs f2, 0xc4(r1)
/* 8013F1E0 0013B020 38 C1 01 18 */ addi r6, r1, 0x118
/* 8013F1E4 0013B024 38 A0 00 01 */ li r5, 0x1
/* 8013F1E8 0013B028 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013F1EC 0013B02C D0 01 00 C0 */ stfs f0, 0xc0(r1)
2022-10-16 16:31:36 +00:00
/* 8013F1F0 0013B030 4B FF 72 41 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013F1F4 0013B034 80 7A 00 2C */ lwz r3, 0x2c(r26)
/* 8013F1F8 0013B038 7F C4 F3 78 */ mr r4, r30
/* 8013F1FC 0013B03C 7F 85 E3 78 */ mr r5, r28
/* 8013F200 0013B040 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013F204 0013B044 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013F208 0013B048 7D 89 03 A6 */ mtctr r12
/* 8013F20C 0013B04C 4E 80 04 21 */ bctrl
/* 8013F210 0013B050 C0 38 00 50 */ lfs f1, 0x50(r24)
/* 8013F214 0013B054 7C 7D 1B 78 */ mr r29, r3
/* 8013F218 0013B058 C0 1B 00 08 */ lfs f0, 0x8(r27)
/* 8013F21C 0013B05C 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8013F220 0013B060 C0 5B 00 04 */ lfs f2, 0x4(r27)
/* 8013F224 0013B064 38 A0 00 00 */ li r5, 0x0
/* 8013F228 0013B068 EC 21 00 28 */ fsubs f1, f1, f0
/* 8013F22C 0013B06C C0 1B 00 0C */ lfs f0, 0xc(r27)
/* 8013F230 0013B070 D0 41 00 B8 */ stfs f2, 0xb8(r1)
/* 8013F234 0013B074 8B FA 00 28 */ lbz r31, 0x28(r26)
/* 8013F238 0013B078 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013F23C 0013B07C D0 41 01 00 */ stfs f2, 0x100(r1)
/* 8013F240 0013B080 80 9A 00 2C */ lwz r4, 0x2c(r26)
/* 8013F244 0013B084 D0 01 00 BC */ stfs f0, 0xbc(r1)
/* 8013F248 0013B088 D0 01 01 04 */ stfs f0, 0x104(r1)
2022-10-16 16:31:36 +00:00
/* 8013F24C 0013B08C 4B FF B7 25 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013F250 0013B090 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013F254 0013B094 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013F258 0013B098 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013F25C 0013B09C C0 41 00 B4 */ lfs f2, 0xb4(r1)
2022-10-16 16:31:36 +00:00
/* 8013F260 0013B0A0 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013F264 0013B0A4 C0 61 00 B0 */ lfs f3, 0xb0(r1)
/* 8013F268 0013B0A8 7D 24 02 14 */ add r9, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013F26C 0013B0AC 3D 60 80 41 */ lis r11, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013F270 0013B0B0 88 89 00 09 */ lbz r4, 0x9(r9)
/* 8013F274 0013B0B4 38 C1 00 28 */ addi r6, r1, 0x28
/* 8013F278 0013B0B8 88 E9 00 08 */ lbz r7, 0x8(r9)
/* 8013F27C 0013B0BC 39 41 01 30 */ addi r10, r1, 0x130
/* 8013F280 0013B0C0 7C A9 22 14 */ add r5, r9, r4
2022-10-16 16:31:36 +00:00
/* 8013F284 0013B0C4 C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013F288 0013B0C8 89 05 00 02 */ lbz r8, 0x2(r5)
/* 8013F28C 0013B0CC 7C 69 3A 14 */ add r3, r9, r7
/* 8013F290 0013B0D0 89 83 00 02 */ lbz r12, 0x2(r3)
/* 8013F294 0013B0D4 54 97 10 3A */ slwi r23, r4, 2
/* 8013F298 0013B0D8 7C 69 38 AE */ lbzx r3, r9, r7
/* 8013F29C 0013B0DC 54 E0 10 3A */ slwi r0, r7, 2
/* 8013F2A0 0013B0E0 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013F2A4 0013B0E4 39 21 01 20 */ addi r9, r1, 0x120
/* 8013F2A8 0013B0E8 7C 8C 18 50 */ subf r4, r12, r3
/* 8013F2AC 0013B0EC 88 65 00 06 */ lbz r3, 0x6(r5)
/* 8013F2B0 0013B0F0 C8 21 01 40 */ lfd f1, 0x140(r1)
/* 8013F2B4 0013B0F4 6C 84 80 00 */ xoris r4, r4, 0x8000
/* 8013F2B8 0013B0F8 7C 68 18 50 */ subf r3, r8, r3
2022-10-16 16:31:36 +00:00
/* 8013F2BC 0013B0FC C9 0B E2 78 */ lfd f8, "@9114"@l(r11)
2022-10-16 16:05:58 +00:00
/* 8013F2C0 0013B100 90 81 01 44 */ stw r4, 0x144(r1)
/* 8013F2C4 0013B104 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013F2C8 0013B108 EC C1 40 28 */ fsubs f6, f1, f8
/* 8013F2CC 0013B10C 38 E1 01 18 */ addi r7, r1, 0x118
/* 8013F2D0 0013B110 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F2D4 0013B114 38 A1 01 28 */ addi r5, r1, 0x128
/* 8013F2D8 0013B118 D0 61 00 28 */ stfs f3, 0x28(r1)
/* 8013F2DC 0013B11C 38 80 00 01 */ li r4, 0x1
/* 8013F2E0 0013B120 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8013F2E4 0013B124 EC 80 28 28 */ fsubs f4, f0, f5
/* 8013F2E8 0013B128 C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013F2EC 0013B12C 90 61 01 44 */ stw r3, 0x144(r1)
/* 8013F2F0 0013B130 7F A3 EB 78 */ mr r3, r29
/* 8013F2F4 0013B134 7C 26 04 2E */ lfsx f1, r6, r0
/* 8013F2F8 0013B138 C8 41 01 40 */ lfd f2, 0x140(r1)
/* 8013F2FC 0013B13C EC 84 00 72 */ fmuls f4, f4, f1
/* 8013F300 0013B140 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013F304 0013B144 EC 42 28 28 */ fsubs f2, f2, f5
/* 8013F308 0013B148 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013F30C 0013B14C 91 81 01 3C */ stw r12, 0x13c(r1)
/* 8013F310 0013B150 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013F314 0013B154 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013F318 0013B158 91 81 01 3C */ stw r12, 0x13c(r1)
/* 8013F31C 0013B15C C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013F320 0013B160 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013F324 0013B164 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013F328 0013B168 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013F32C 0013B16C EC E7 40 28 */ fsubs f7, f7, f8
/* 8013F330 0013B170 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013F334 0013B174 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013F338 0013B178 7C EA 05 2E */ stfsx f7, r10, r0
/* 8013F33C 0013B17C 7C E9 05 2E */ stfsx f7, r9, r0
/* 8013F340 0013B180 7C C7 BD 2E */ stfsx f6, r7, r23
/* 8013F344 0013B184 7C C9 BD 2E */ stfsx f6, r9, r23
/* 8013F348 0013B188 EC 42 20 2A */ fadds f2, f2, f4
/* 8013F34C 0013B18C EC 23 40 28 */ fsubs f1, f3, f8
/* 8013F350 0013B190 7C 47 05 2E */ stfsx f2, r7, r0
/* 8013F354 0013B194 7C 45 05 2E */ stfsx f2, r5, r0
/* 8013F358 0013B198 EC 01 00 2A */ fadds f0, f1, f0
/* 8013F35C 0013B19C 7C 0A BD 2E */ stfsx f0, r10, r23
/* 8013F360 0013B1A0 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013F364 0013B1A4 4B FB ED BD */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013F368 0013B1A8 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013F36C 0013B1AC 38 E0 00 00 */ li r7, 0x0
/* 8013F370 0013B1B0 41 82 00 08 */ beq lbl_8013F378
/* 8013F374 0013B1B4 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013F378
lbl_8013F378:
/* 8013F378 0013B1B8 C0 39 00 00 */ lfs f1, 0x0(r25)
/* 8013F37C 0013B1BC 7F 88 E3 78 */ mr r8, r28
/* 8013F380 0013B1C0 C0 18 00 4C */ lfs f0, 0x4c(r24)
/* 8013F384 0013B1C4 38 61 00 A8 */ addi r3, r1, 0xa8
/* 8013F388 0013B1C8 C0 79 00 04 */ lfs f3, 0x4(r25)
/* 8013F38C 0013B1CC 38 81 01 00 */ addi r4, r1, 0x100
/* 8013F390 0013B1D0 EC 21 00 2A */ fadds f1, f1, f0
/* 8013F394 0013B1D4 C0 5B 00 08 */ lfs f2, 0x8(r27)
/* 8013F398 0013B1D8 C0 1B 00 04 */ lfs f0, 0x4(r27)
/* 8013F39C 0013B1DC 38 C1 01 18 */ addi r6, r1, 0x118
/* 8013F3A0 0013B1E0 EC 43 10 2A */ fadds f2, f3, f2
/* 8013F3A4 0013B1E4 38 A0 00 01 */ li r5, 0x1
/* 8013F3A8 0013B1E8 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013F3AC 0013B1EC D0 41 00 AC */ stfs f2, 0xac(r1)
/* 8013F3B0 0013B1F0 D0 01 00 A8 */ stfs f0, 0xa8(r1)
2022-10-16 16:31:36 +00:00
/* 8013F3B4 0013B1F4 4B FF 70 7D */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013F3B8 0013B1F8 80 7A 00 1C */ lwz r3, 0x1c(r26)
/* 8013F3BC 0013B1FC 7F C4 F3 78 */ mr r4, r30
/* 8013F3C0 0013B200 7F 85 E3 78 */ mr r5, r28
/* 8013F3C4 0013B204 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013F3C8 0013B208 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013F3CC 0013B20C 7D 89 03 A6 */ mtctr r12
/* 8013F3D0 0013B210 4E 80 04 21 */ bctrl
/* 8013F3D4 0013B214 C0 3B 00 0C */ lfs f1, 0xc(r27)
/* 8013F3D8 0013B218 7C 7D 1B 78 */ mr r29, r3
/* 8013F3DC 0013B21C C0 1B 00 04 */ lfs f0, 0x4(r27)
/* 8013F3E0 0013B220 38 61 00 98 */ addi r3, r1, 0x98
/* 8013F3E4 0013B224 D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 8013F3E8 0013B228 38 A0 00 00 */ li r5, 0x0
/* 8013F3EC 0013B22C 8B FA 00 18 */ lbz r31, 0x18(r26)
/* 8013F3F0 0013B230 D0 21 00 A4 */ stfs f1, 0xa4(r1)
/* 8013F3F4 0013B234 80 9A 00 1C */ lwz r4, 0x1c(r26)
/* 8013F3F8 0013B238 D0 01 01 00 */ stfs f0, 0x100(r1)
/* 8013F3FC 0013B23C D0 21 01 04 */ stfs f1, 0x104(r1)
2022-10-16 16:31:36 +00:00
/* 8013F400 0013B240 4B FF B5 71 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013F404 0013B244 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013F408 0013B248 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013F40C 0013B24C 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013F410 0013B250 C0 41 00 9C */ lfs f2, 0x9c(r1)
2022-10-16 16:31:36 +00:00
/* 8013F414 0013B254 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013F418 0013B258 C0 61 00 98 */ lfs f3, 0x98(r1)
/* 8013F41C 0013B25C 7D 04 02 14 */ add r8, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013F420 0013B260 3C A0 80 41 */ lis r5, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013F424 0013B264 88 08 00 09 */ lbz r0, 0x9(r8)
/* 8013F428 0013B268 38 C1 00 20 */ addi r6, r1, 0x20
/* 8013F42C 0013B26C 88 E8 00 08 */ lbz r7, 0x8(r8)
/* 8013F430 0013B270 39 41 01 20 */ addi r10, r1, 0x120
2022-10-16 16:31:36 +00:00
/* 8013F434 0013B274 C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013F438 0013B278 7C 88 02 14 */ add r4, r8, r0
/* 8013F43C 0013B27C 7C 68 3A 14 */ add r3, r8, r7
/* 8013F440 0013B280 89 04 00 06 */ lbz r8, 0x6(r4)
/* 8013F444 0013B284 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013F448 0013B288 54 17 10 3A */ slwi r23, r0, 2
/* 8013F44C 0013B28C 89 63 00 06 */ lbz r11, 0x6(r3)
/* 8013F450 0013B290 54 EC 10 3A */ slwi r12, r7, 2
/* 8013F454 0013B294 88 03 00 04 */ lbz r0, 0x4(r3)
/* 8013F458 0013B298 39 21 01 30 */ addi r9, r1, 0x130
/* 8013F45C 0013B29C C8 21 01 40 */ lfd f1, 0x140(r1)
/* 8013F460 0013B2A0 38 E1 01 28 */ addi r7, r1, 0x128
/* 8013F464 0013B2A4 7C 6B 00 50 */ subf r3, r11, r0
/* 8013F468 0013B2A8 88 04 00 02 */ lbz r0, 0x2(r4)
/* 8013F46C 0013B2AC 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013F470 0013B2B0 90 61 01 44 */ stw r3, 0x144(r1)
/* 8013F474 0013B2B4 7C 08 00 50 */ subf r0, r8, r0
2022-10-16 16:31:36 +00:00
/* 8013F478 0013B2B8 C9 05 E2 78 */ lfd f8, "@9114"@l(r5)
2022-10-16 16:05:58 +00:00
/* 8013F47C 0013B2BC C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F480 0013B2C0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013F484 0013B2C4 D0 61 00 20 */ stfs f3, 0x20(r1)
/* 8013F488 0013B2C8 EC C1 40 28 */ fsubs f6, f1, f8
/* 8013F48C 0013B2CC EC 80 28 28 */ fsubs f4, f0, f5
/* 8013F490 0013B2D0 C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013F494 0013B2D4 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8013F498 0013B2D8 38 A1 01 18 */ addi r5, r1, 0x118
/* 8013F49C 0013B2DC C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013F4A0 0013B2E0 90 01 01 44 */ stw r0, 0x144(r1)
/* 8013F4A4 0013B2E4 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013F4A8 0013B2E8 7F A3 EB 78 */ mr r3, r29
/* 8013F4AC 0013B2EC C8 41 01 40 */ lfd f2, 0x140(r1)
/* 8013F4B0 0013B2F0 38 80 00 01 */ li r4, 0x1
/* 8013F4B4 0013B2F4 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013F4B8 0013B2F8 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013F4BC 0013B2FC EC 42 28 28 */ fsubs f2, f2, f5
/* 8013F4C0 0013B300 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013F4C4 0013B304 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013F4C8 0013B308 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013F4CC 0013B30C 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013F4D0 0013B310 C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013F4D4 0013B314 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013F4D8 0013B318 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013F4DC 0013B31C EC 22 00 72 */ fmuls f1, f2, f1
/* 8013F4E0 0013B320 EC E7 40 28 */ fsubs f7, f7, f8
/* 8013F4E4 0013B324 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013F4E8 0013B328 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013F4EC 0013B32C 7C EA 65 2E */ stfsx f7, r10, r12
/* 8013F4F0 0013B330 7C E9 65 2E */ stfsx f7, r9, r12
/* 8013F4F4 0013B334 7C C7 BD 2E */ stfsx f6, r7, r23
/* 8013F4F8 0013B338 7C C9 BD 2E */ stfsx f6, r9, r23
/* 8013F4FC 0013B33C EC 42 20 2A */ fadds f2, f2, f4
/* 8013F500 0013B340 EC 23 40 28 */ fsubs f1, f3, f8
/* 8013F504 0013B344 7C 47 65 2E */ stfsx f2, r7, r12
/* 8013F508 0013B348 7C 45 65 2E */ stfsx f2, r5, r12
/* 8013F50C 0013B34C EC 01 00 2A */ fadds f0, f1, f0
/* 8013F510 0013B350 7C 0A BD 2E */ stfsx f0, r10, r23
/* 8013F514 0013B354 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013F518 0013B358 4B FB EC 09 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013F51C 0013B35C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013F520 0013B360 38 E0 00 00 */ li r7, 0x0
/* 8013F524 0013B364 41 82 00 08 */ beq lbl_8013F52C
/* 8013F528 0013B368 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013F52C
lbl_8013F52C:
/* 8013F52C 0013B36C C0 79 00 04 */ lfs f3, 0x4(r25)
/* 8013F530 0013B370 7F 88 E3 78 */ mr r8, r28
/* 8013F534 0013B374 C0 58 00 50 */ lfs f2, 0x50(r24)
/* 8013F538 0013B378 38 61 00 90 */ addi r3, r1, 0x90
/* 8013F53C 0013B37C C0 39 00 00 */ lfs f1, 0x0(r25)
/* 8013F540 0013B380 38 81 01 00 */ addi r4, r1, 0x100
/* 8013F544 0013B384 C0 18 00 4C */ lfs f0, 0x4c(r24)
/* 8013F548 0013B388 EC 63 10 2A */ fadds f3, f3, f2
/* 8013F54C 0013B38C C0 5B 00 0C */ lfs f2, 0xc(r27)
/* 8013F550 0013B390 38 C1 01 18 */ addi r6, r1, 0x118
/* 8013F554 0013B394 EC 21 00 2A */ fadds f1, f1, f0
/* 8013F558 0013B398 C0 1B 00 04 */ lfs f0, 0x4(r27)
/* 8013F55C 0013B39C EC 43 10 28 */ fsubs f2, f3, f2
/* 8013F560 0013B3A0 38 A0 00 01 */ li r5, 0x1
/* 8013F564 0013B3A4 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013F568 0013B3A8 D0 41 00 94 */ stfs f2, 0x94(r1)
/* 8013F56C 0013B3AC D0 01 00 90 */ stfs f0, 0x90(r1)
2022-10-16 16:31:36 +00:00
/* 8013F570 0013B3B0 4B FF 6E C1 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013F574 0013B3B4 80 7A 00 3C */ lwz r3, 0x3c(r26)
/* 8013F578 0013B3B8 7F C4 F3 78 */ mr r4, r30
/* 8013F57C 0013B3BC 7F 85 E3 78 */ mr r5, r28
/* 8013F580 0013B3C0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013F584 0013B3C4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013F588 0013B3C8 7D 89 03 A6 */ mtctr r12
/* 8013F58C 0013B3CC 4E 80 04 21 */ bctrl
/* 8013F590 0013B3D0 C0 38 00 4C */ lfs f1, 0x4c(r24)
/* 8013F594 0013B3D4 7C 7D 1B 78 */ mr r29, r3
/* 8013F598 0013B3D8 C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 8013F59C 0013B3DC 38 61 00 80 */ addi r3, r1, 0x80
/* 8013F5A0 0013B3E0 C0 5B 00 0C */ lfs f2, 0xc(r27)
/* 8013F5A4 0013B3E4 38 A0 00 00 */ li r5, 0x0
/* 8013F5A8 0013B3E8 EC 21 00 28 */ fsubs f1, f1, f0
/* 8013F5AC 0013B3EC C0 1B 00 04 */ lfs f0, 0x4(r27)
/* 8013F5B0 0013B3F0 D0 41 00 8C */ stfs f2, 0x8c(r1)
/* 8013F5B4 0013B3F4 8B FA 00 38 */ lbz r31, 0x38(r26)
/* 8013F5B8 0013B3F8 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013F5BC 0013B3FC D0 41 01 04 */ stfs f2, 0x104(r1)
/* 8013F5C0 0013B400 80 9A 00 3C */ lwz r4, 0x3c(r26)
/* 8013F5C4 0013B404 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 8013F5C8 0013B408 D0 01 01 00 */ stfs f0, 0x100(r1)
2022-10-16 16:31:36 +00:00
/* 8013F5CC 0013B40C 4B FF B3 A5 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013F5D0 0013B410 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013F5D4 0013B414 3C 80 80 44 */ lis r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013F5D8 0013B418 3C 60 80 41 */ lis r3, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013F5DC 0013B41C C0 41 00 84 */ lfs f2, 0x84(r1)
2022-10-16 16:31:36 +00:00
/* 8013F5E0 0013B420 38 84 42 68 */ addi r4, r4, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
2022-10-16 16:05:58 +00:00
/* 8013F5E4 0013B424 C0 61 00 80 */ lfs f3, 0x80(r1)
/* 8013F5E8 0013B428 7D 04 02 14 */ add r8, r4, r0
2022-10-16 16:31:36 +00:00
/* 8013F5EC 0013B42C 3C A0 80 41 */ lis r5, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013F5F0 0013B430 88 08 00 09 */ lbz r0, 0x9(r8)
/* 8013F5F4 0013B434 38 C1 00 18 */ addi r6, r1, 0x18
/* 8013F5F8 0013B438 88 E8 00 08 */ lbz r7, 0x8(r8)
/* 8013F5FC 0013B43C 39 41 01 20 */ addi r10, r1, 0x120
2022-10-16 16:31:36 +00:00
/* 8013F600 0013B440 C8 A3 E2 80 */ lfd f5, "@9115"@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013F604 0013B444 7C 88 02 14 */ add r4, r8, r0
/* 8013F608 0013B448 7C 68 3A 14 */ add r3, r8, r7
/* 8013F60C 0013B44C 89 04 00 06 */ lbz r8, 0x6(r4)
/* 8013F610 0013B450 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013F614 0013B454 54 17 10 3A */ slwi r23, r0, 2
/* 8013F618 0013B458 89 63 00 06 */ lbz r11, 0x6(r3)
/* 8013F61C 0013B45C 54 EC 10 3A */ slwi r12, r7, 2
/* 8013F620 0013B460 88 03 00 04 */ lbz r0, 0x4(r3)
/* 8013F624 0013B464 39 21 01 30 */ addi r9, r1, 0x130
/* 8013F628 0013B468 C8 21 01 40 */ lfd f1, 0x140(r1)
/* 8013F62C 0013B46C 38 E1 01 28 */ addi r7, r1, 0x128
/* 8013F630 0013B470 7C 6B 00 50 */ subf r3, r11, r0
/* 8013F634 0013B474 88 04 00 02 */ lbz r0, 0x2(r4)
/* 8013F638 0013B478 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013F63C 0013B47C 90 61 01 44 */ stw r3, 0x144(r1)
/* 8013F640 0013B480 7C 08 00 50 */ subf r0, r8, r0
2022-10-16 16:31:36 +00:00
/* 8013F644 0013B484 C9 05 E2 78 */ lfd f8, "@9114"@l(r5)
2022-10-16 16:05:58 +00:00
/* 8013F648 0013B488 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F64C 0013B48C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013F650 0013B490 D0 61 00 18 */ stfs f3, 0x18(r1)
/* 8013F654 0013B494 EC C1 40 28 */ fsubs f6, f1, f8
/* 8013F658 0013B498 EC 80 28 28 */ fsubs f4, f0, f5
/* 8013F65C 0013B49C C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013F660 0013B4A0 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 8013F664 0013B4A4 38 A1 01 18 */ addi r5, r1, 0x118
/* 8013F668 0013B4A8 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013F66C 0013B4AC 90 01 01 44 */ stw r0, 0x144(r1)
/* 8013F670 0013B4B0 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013F674 0013B4B4 7F A3 EB 78 */ mr r3, r29
/* 8013F678 0013B4B8 C8 41 01 40 */ lfd f2, 0x140(r1)
/* 8013F67C 0013B4BC 38 80 00 01 */ li r4, 0x1
/* 8013F680 0013B4C0 EC 84 00 72 */ fmuls f4, f4, f1
/* 8013F684 0013B4C4 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013F688 0013B4C8 EC 42 28 28 */ fsubs f2, f2, f5
/* 8013F68C 0013B4CC 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013F690 0013B4D0 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013F694 0013B4D4 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013F698 0013B4D8 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013F69C 0013B4DC C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013F6A0 0013B4E0 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013F6A4 0013B4E4 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013F6A8 0013B4E8 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013F6AC 0013B4EC EC E7 40 28 */ fsubs f7, f7, f8
/* 8013F6B0 0013B4F0 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013F6B4 0013B4F4 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013F6B8 0013B4F8 7C EA 65 2E */ stfsx f7, r10, r12
/* 8013F6BC 0013B4FC 7C E9 65 2E */ stfsx f7, r9, r12
/* 8013F6C0 0013B500 7C C7 BD 2E */ stfsx f6, r7, r23
/* 8013F6C4 0013B504 7C C9 BD 2E */ stfsx f6, r9, r23
/* 8013F6C8 0013B508 EC 42 20 2A */ fadds f2, f2, f4
/* 8013F6CC 0013B50C EC 23 40 28 */ fsubs f1, f3, f8
/* 8013F6D0 0013B510 7C 47 65 2E */ stfsx f2, r7, r12
/* 8013F6D4 0013B514 7C 45 65 2E */ stfsx f2, r5, r12
/* 8013F6D8 0013B518 EC 01 00 2A */ fadds f0, f1, f0
/* 8013F6DC 0013B51C 7C 0A BD 2E */ stfsx f0, r10, r23
/* 8013F6E0 0013B520 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013F6E4 0013B524 4B FB EA 3D */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013F6E8 0013B528 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013F6EC 0013B52C 38 E0 00 00 */ li r7, 0x0
/* 8013F6F0 0013B530 41 82 00 08 */ beq lbl_8013F6F8
/* 8013F6F4 0013B534 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013F6F8
lbl_8013F6F8:
/* 8013F6F8 0013B538 C0 39 00 04 */ lfs f1, 0x4(r25)
/* 8013F6FC 0013B53C 7F 88 E3 78 */ mr r8, r28
/* 8013F700 0013B540 C0 18 00 50 */ lfs f0, 0x50(r24)
/* 8013F704 0013B544 38 61 00 78 */ addi r3, r1, 0x78
/* 8013F708 0013B548 C0 5B 00 0C */ lfs f2, 0xc(r27)
/* 8013F70C 0013B54C 38 81 01 00 */ addi r4, r1, 0x100
/* 8013F710 0013B550 EC 61 00 2A */ fadds f3, f1, f0
/* 8013F714 0013B554 C0 39 00 00 */ lfs f1, 0x0(r25)
/* 8013F718 0013B558 C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 8013F71C 0013B55C 38 C1 01 18 */ addi r6, r1, 0x118
/* 8013F720 0013B560 38 A0 00 01 */ li r5, 0x1
/* 8013F724 0013B564 EC 43 10 28 */ fsubs f2, f3, f2
/* 8013F728 0013B568 EC 01 00 2A */ fadds f0, f1, f0
/* 8013F72C 0013B56C D0 41 00 7C */ stfs f2, 0x7c(r1)
/* 8013F730 0013B570 D0 01 00 78 */ stfs f0, 0x78(r1)
2022-10-16 16:31:36 +00:00
/* 8013F734 0013B574 4B FF 6C FD */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013F738 0013B578 80 7A 00 14 */ lwz r3, 0x14(r26)
/* 8013F73C 0013B57C 7F C4 F3 78 */ mr r4, r30
/* 8013F740 0013B580 7F 85 E3 78 */ mr r5, r28
/* 8013F744 0013B584 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013F748 0013B588 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013F74C 0013B58C 7D 89 03 A6 */ mtctr r12
/* 8013F750 0013B590 4E 80 04 21 */ bctrl
/* 8013F754 0013B594 C0 3B 00 0C */ lfs f1, 0xc(r27)
/* 8013F758 0013B598 7C 7D 1B 78 */ mr r29, r3
/* 8013F75C 0013B59C C0 1B 00 00 */ lfs f0, 0x0(r27)
/* 8013F760 0013B5A0 38 61 00 68 */ addi r3, r1, 0x68
/* 8013F764 0013B5A4 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 8013F768 0013B5A8 38 A0 00 00 */ li r5, 0x0
/* 8013F76C 0013B5AC 8B FA 00 10 */ lbz r31, 0x10(r26)
/* 8013F770 0013B5B0 D0 21 00 74 */ stfs f1, 0x74(r1)
/* 8013F774 0013B5B4 80 9A 00 14 */ lwz r4, 0x14(r26)
/* 8013F778 0013B5B8 D0 01 01 00 */ stfs f0, 0x100(r1)
/* 8013F77C 0013B5BC D0 21 01 04 */ stfs f1, 0x104(r1)
2022-10-16 16:31:36 +00:00
/* 8013F780 0013B5C0 4B FF B1 F1 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013F784 0013B5C4 1C 1F 00 0A */ mulli r0, r31, 0xa
2022-10-16 16:31:36 +00:00
/* 8013F788 0013B5C8 3C 60 80 44 */ lis r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013F78C 0013B5CC 3C A0 80 41 */ lis r5, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013F790 0013B5D0 C0 21 00 6C */ lfs f1, 0x6c(r1)
2022-10-16 16:31:36 +00:00
/* 8013F794 0013B5D4 38 63 42 68 */ addi r3, r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
/* 8013F798 0013B5D8 C9 05 E2 78 */ lfd f8, "@9114"@l(r5)
2022-10-16 16:05:58 +00:00
/* 8013F79C 0013B5DC 7D 63 02 14 */ add r11, r3, r0
2022-10-16 16:31:36 +00:00
/* 8013F7A0 0013B5E0 3C 80 80 41 */ lis r4, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013F7A4 0013B5E4 88 EB 00 09 */ lbz r7, 0x9(r11)
/* 8013F7A8 0013B5E8 38 C1 00 10 */ addi r6, r1, 0x10
/* 8013F7AC 0013B5EC 89 2B 00 08 */ lbz r9, 0x8(r11)
/* 8013F7B0 0013B5F0 39 41 01 18 */ addi r10, r1, 0x118
/* 8013F7B4 0013B5F4 7C 6B 3A 14 */ add r3, r11, r7
/* 8013F7B8 0013B5F8 C0 41 00 68 */ lfs f2, 0x68(r1)
/* 8013F7BC 0013B5FC 89 03 00 04 */ lbz r8, 0x4(r3)
/* 8013F7C0 0013B600 7C 6B 4A 14 */ add r3, r11, r9
/* 8013F7C4 0013B604 7C 0B 38 AE */ lbzx r0, r11, r7
/* 8013F7C8 0013B608 55 2C 10 3A */ slwi r12, r9, 2
/* 8013F7CC 0013B60C 89 63 00 04 */ lbz r11, 0x4(r3)
/* 8013F7D0 0013B610 54 F7 10 3A */ slwi r23, r7, 2
/* 8013F7D4 0013B614 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013F7D8 0013B618 7C 08 00 50 */ subf r0, r8, r0
/* 8013F7DC 0013B61C 88 63 00 06 */ lbz r3, 0x6(r3)
/* 8013F7E0 0013B620 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013F7E4 0013B624 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F7E8 0013B628 39 21 01 28 */ addi r9, r1, 0x128
/* 8013F7EC 0013B62C 7C 6B 18 50 */ subf r3, r11, r3
2022-10-16 16:31:36 +00:00
/* 8013F7F0 0013B630 C8 A4 E2 80 */ lfd f5, "@9115"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013F7F4 0013B634 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013F7F8 0013B638 90 61 01 44 */ stw r3, 0x144(r1)
/* 8013F7FC 0013B63C EC C0 40 28 */ fsubs f6, f0, f8
/* 8013F800 0013B640 C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013F804 0013B644 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F808 0013B648 38 E1 01 30 */ addi r7, r1, 0x130
/* 8013F80C 0013B64C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8013F810 0013B650 38 A1 01 20 */ addi r5, r1, 0x120
/* 8013F814 0013B654 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8013F818 0013B658 EC 40 28 28 */ fsubs f2, f0, f5
/* 8013F81C 0013B65C 7F A3 EB 78 */ mr r3, r29
/* 8013F820 0013B660 38 80 00 01 */ li r4, 0x1
/* 8013F824 0013B664 90 01 01 44 */ stw r0, 0x144(r1)
/* 8013F828 0013B668 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013F82C 0013B66C C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F830 0013B670 EC 82 00 72 */ fmuls f4, f2, f1
/* 8013F834 0013B674 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013F838 0013B678 EC 40 28 28 */ fsubs f2, f0, f5
/* 8013F83C 0013B67C C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013F840 0013B680 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013F844 0013B684 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013F848 0013B688 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013F84C 0013B68C 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013F850 0013B690 C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013F854 0013B694 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013F858 0013B698 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013F85C 0013B69C EC 22 00 72 */ fmuls f1, f2, f1
/* 8013F860 0013B6A0 EC E7 40 28 */ fsubs f7, f7, f8
/* 8013F864 0013B6A4 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013F868 0013B6A8 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013F86C 0013B6AC 7C EA 65 2E */ stfsx f7, r10, r12
/* 8013F870 0013B6B0 7C E9 65 2E */ stfsx f7, r9, r12
/* 8013F874 0013B6B4 7C C7 BD 2E */ stfsx f6, r7, r23
/* 8013F878 0013B6B8 7C C9 BD 2E */ stfsx f6, r9, r23
/* 8013F87C 0013B6BC EC 42 20 2A */ fadds f2, f2, f4
/* 8013F880 0013B6C0 EC 23 40 28 */ fsubs f1, f3, f8
/* 8013F884 0013B6C4 7C 47 65 2E */ stfsx f2, r7, r12
/* 8013F888 0013B6C8 7C 45 65 2E */ stfsx f2, r5, r12
/* 8013F88C 0013B6CC EC 01 00 2A */ fadds f0, f1, f0
/* 8013F890 0013B6D0 7C 0A BD 2E */ stfsx f0, r10, r23
/* 8013F894 0013B6D4 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013F898 0013B6D8 4B FB E8 89 */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013F89C 0013B6DC 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013F8A0 0013B6E0 38 E0 00 00 */ li r7, 0x0
/* 8013F8A4 0013B6E4 41 82 00 08 */ beq lbl_8013F8AC
/* 8013F8A8 0013B6E8 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013F8AC
lbl_8013F8AC:
/* 8013F8AC 0013B6EC C0 39 00 04 */ lfs f1, 0x4(r25)
/* 8013F8B0 0013B6F0 7F 88 E3 78 */ mr r8, r28
/* 8013F8B4 0013B6F4 C0 18 00 50 */ lfs f0, 0x50(r24)
/* 8013F8B8 0013B6F8 38 61 00 60 */ addi r3, r1, 0x60
/* 8013F8BC 0013B6FC C0 59 00 00 */ lfs f2, 0x0(r25)
/* 8013F8C0 0013B700 38 81 01 00 */ addi r4, r1, 0x100
/* 8013F8C4 0013B704 EC 21 00 2A */ fadds f1, f1, f0
/* 8013F8C8 0013B708 C0 1B 00 0C */ lfs f0, 0xc(r27)
/* 8013F8CC 0013B70C D0 41 00 60 */ stfs f2, 0x60(r1)
/* 8013F8D0 0013B710 38 C1 01 18 */ addi r6, r1, 0x118
/* 8013F8D4 0013B714 38 A0 00 01 */ li r5, 0x1
/* 8013F8D8 0013B718 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013F8DC 0013B71C D0 01 00 64 */ stfs f0, 0x64(r1)
2022-10-16 16:31:36 +00:00
/* 8013F8E0 0013B720 4B FF 6B 51 */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013F8E4 0013B724 80 7A 00 24 */ lwz r3, 0x24(r26)
/* 8013F8E8 0013B728 7F C4 F3 78 */ mr r4, r30
/* 8013F8EC 0013B72C 7F 85 E3 78 */ mr r5, r28
/* 8013F8F0 0013B730 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013F8F4 0013B734 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013F8F8 0013B738 7D 89 03 A6 */ mtctr r12
/* 8013F8FC 0013B73C 4E 80 04 21 */ bctrl
/* 8013F900 0013B740 C0 38 00 50 */ lfs f1, 0x50(r24)
/* 8013F904 0013B744 7C 7D 1B 78 */ mr r29, r3
/* 8013F908 0013B748 C0 1B 00 08 */ lfs f0, 0x8(r27)
/* 8013F90C 0013B74C 38 61 00 50 */ addi r3, r1, 0x50
/* 8013F910 0013B750 C0 5B 00 00 */ lfs f2, 0x0(r27)
/* 8013F914 0013B754 38 A0 00 00 */ li r5, 0x0
/* 8013F918 0013B758 EC 21 00 28 */ fsubs f1, f1, f0
/* 8013F91C 0013B75C C0 1B 00 0C */ lfs f0, 0xc(r27)
/* 8013F920 0013B760 D0 41 00 58 */ stfs f2, 0x58(r1)
/* 8013F924 0013B764 8B 1A 00 20 */ lbz r24, 0x20(r26)
/* 8013F928 0013B768 EC 01 00 28 */ fsubs f0, f1, f0
/* 8013F92C 0013B76C D0 41 01 00 */ stfs f2, 0x100(r1)
/* 8013F930 0013B770 80 9A 00 24 */ lwz r4, 0x24(r26)
/* 8013F934 0013B774 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 8013F938 0013B778 D0 01 01 04 */ stfs f0, 0x104(r1)
2022-10-16 16:31:36 +00:00
/* 8013F93C 0013B77C 4B FF B0 35 */ bl GetTextureSize__Q36nw4hbm3lyt6detailFPQ36nw4hbm3lyt8MaterialUc
2022-10-16 16:05:58 +00:00
/* 8013F940 0013B780 1C 18 00 0A */ mulli r0, r24, 0xa
2022-10-16 16:31:36 +00:00
/* 8013F944 0013B784 3C 60 80 44 */ lis r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@ha
/* 8013F948 0013B788 3C A0 80 41 */ lis r5, "@9114"@ha
2022-10-16 16:05:58 +00:00
/* 8013F94C 0013B78C C0 21 00 54 */ lfs f1, 0x54(r1)
2022-10-16 16:31:36 +00:00
/* 8013F950 0013B790 38 63 42 68 */ addi r3, r3, "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"@l
/* 8013F954 0013B794 C9 05 E2 78 */ lfd f8, "@9114"@l(r5)
2022-10-16 16:05:58 +00:00
/* 8013F958 0013B798 7D 63 02 14 */ add r11, r3, r0
2022-10-16 16:31:36 +00:00
/* 8013F95C 0013B79C 3C 80 80 41 */ lis r4, "@9115"@ha
2022-10-16 16:05:58 +00:00
/* 8013F960 0013B7A0 88 EB 00 09 */ lbz r7, 0x9(r11)
/* 8013F964 0013B7A4 38 C1 00 08 */ addi r6, r1, 0x8
/* 8013F968 0013B7A8 89 2B 00 08 */ lbz r9, 0x8(r11)
/* 8013F96C 0013B7AC 39 41 01 18 */ addi r10, r1, 0x118
/* 8013F970 0013B7B0 7C 6B 3A 14 */ add r3, r11, r7
/* 8013F974 0013B7B4 C0 41 00 50 */ lfs f2, 0x50(r1)
/* 8013F978 0013B7B8 89 03 00 04 */ lbz r8, 0x4(r3)
/* 8013F97C 0013B7BC 7C 6B 4A 14 */ add r3, r11, r9
/* 8013F980 0013B7C0 7C 0B 38 AE */ lbzx r0, r11, r7
/* 8013F984 0013B7C4 55 2C 10 3A */ slwi r12, r9, 2
/* 8013F988 0013B7C8 89 63 00 04 */ lbz r11, 0x4(r3)
/* 8013F98C 0013B7CC 54 F7 10 3A */ slwi r23, r7, 2
/* 8013F990 0013B7D0 91 01 01 44 */ stw r8, 0x144(r1)
/* 8013F994 0013B7D4 7C 08 00 50 */ subf r0, r8, r0
/* 8013F998 0013B7D8 88 63 00 06 */ lbz r3, 0x6(r3)
/* 8013F99C 0013B7DC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013F9A0 0013B7E0 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F9A4 0013B7E4 39 21 01 28 */ addi r9, r1, 0x128
/* 8013F9A8 0013B7E8 7C 6B 18 50 */ subf r3, r11, r3
2022-10-16 16:31:36 +00:00
/* 8013F9AC 0013B7EC C8 A4 E2 80 */ lfd f5, "@9115"@l(r4)
2022-10-16 16:05:58 +00:00
/* 8013F9B0 0013B7F0 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8013F9B4 0013B7F4 90 61 01 44 */ stw r3, 0x144(r1)
/* 8013F9B8 0013B7F8 EC C0 40 28 */ fsubs f6, f0, f8
/* 8013F9BC 0013B7FC C0 61 01 00 */ lfs f3, 0x100(r1)
/* 8013F9C0 0013B800 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F9C4 0013B804 38 E1 01 30 */ addi r7, r1, 0x130
/* 8013F9C8 0013B808 D0 41 00 08 */ stfs f2, 0x8(r1)
/* 8013F9CC 0013B80C 38 A1 01 20 */ addi r5, r1, 0x120
/* 8013F9D0 0013B810 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8013F9D4 0013B814 EC 40 28 28 */ fsubs f2, f0, f5
/* 8013F9D8 0013B818 7F A3 EB 78 */ mr r3, r29
/* 8013F9DC 0013B81C 38 80 00 01 */ li r4, 0x1
/* 8013F9E0 0013B820 90 01 01 44 */ stw r0, 0x144(r1)
/* 8013F9E4 0013B824 7C 26 64 2E */ lfsx f1, r6, r12
/* 8013F9E8 0013B828 C8 01 01 40 */ lfd f0, 0x140(r1)
/* 8013F9EC 0013B82C EC 82 00 72 */ fmuls f4, f2, f1
/* 8013F9F0 0013B830 7C 26 BC 2E */ lfsx f1, r6, r23
/* 8013F9F4 0013B834 EC 40 28 28 */ fsubs f2, f0, f5
/* 8013F9F8 0013B838 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 8013F9FC 0013B83C 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013FA00 0013B840 EC 83 20 24 */ fdivs f4, f3, f4
/* 8013FA04 0013B844 C8 E1 01 38 */ lfd f7, 0x138(r1)
/* 8013FA08 0013B848 91 61 01 3C */ stw r11, 0x13c(r1)
/* 8013FA0C 0013B84C C8 A1 01 38 */ lfd f5, 0x138(r1)
/* 8013FA10 0013B850 91 01 01 3C */ stw r8, 0x13c(r1)
/* 8013FA14 0013B854 C8 61 01 38 */ lfd f3, 0x138(r1)
/* 8013FA18 0013B858 EC 22 00 72 */ fmuls f1, f2, f1
/* 8013FA1C 0013B85C EC E7 40 28 */ fsubs f7, f7, f8
/* 8013FA20 0013B860 EC 45 40 28 */ fsubs f2, f5, f8
/* 8013FA24 0013B864 EC 00 08 24 */ fdivs f0, f0, f1
/* 8013FA28 0013B868 7C EA 65 2E */ stfsx f7, r10, r12
/* 8013FA2C 0013B86C 7C E9 65 2E */ stfsx f7, r9, r12
/* 8013FA30 0013B870 7C C7 BD 2E */ stfsx f6, r7, r23
/* 8013FA34 0013B874 7C C9 BD 2E */ stfsx f6, r9, r23
/* 8013FA38 0013B878 EC 42 20 2A */ fadds f2, f2, f4
/* 8013FA3C 0013B87C EC 23 40 28 */ fsubs f1, f3, f8
/* 8013FA40 0013B880 7C 47 65 2E */ stfsx f2, r7, r12
/* 8013FA44 0013B884 7C 45 65 2E */ stfsx f2, r5, r12
/* 8013FA48 0013B888 EC 01 00 2A */ fadds f0, f1, f0
/* 8013FA4C 0013B88C 7C 0A BD 2E */ stfsx f0, r10, r23
/* 8013FA50 0013B890 7C 05 BD 2E */ stfsx f0, r5, r23
2022-10-16 16:31:36 +00:00
/* 8013FA54 0013B894 4B FB E6 CD */ bl SetVertexFormat__Q34nw4r3lyt6detailFbUc
2022-10-16 16:05:58 +00:00
/* 8013FA58 0013B898 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013FA5C 0013B89C 38 E0 00 00 */ li r7, 0x0
/* 8013FA60 0013B8A0 41 82 00 08 */ beq lbl_8013FA68
/* 8013FA64 0013B8A4 38 E1 01 08 */ addi r7, r1, 0x108
.global lbl_8013FA68
lbl_8013FA68:
/* 8013FA68 0013B8A8 C0 39 00 04 */ lfs f1, 0x4(r25)
/* 8013FA6C 0013B8AC 7F 88 E3 78 */ mr r8, r28
/* 8013FA70 0013B8B0 C0 1B 00 08 */ lfs f0, 0x8(r27)
/* 8013FA74 0013B8B4 38 61 00 48 */ addi r3, r1, 0x48
/* 8013FA78 0013B8B8 C0 59 00 00 */ lfs f2, 0x0(r25)
/* 8013FA7C 0013B8BC 38 81 01 00 */ addi r4, r1, 0x100
/* 8013FA80 0013B8C0 EC 01 00 2A */ fadds f0, f1, f0
/* 8013FA84 0013B8C4 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 8013FA88 0013B8C8 38 C1 01 18 */ addi r6, r1, 0x118
/* 8013FA8C 0013B8CC 38 A0 00 01 */ li r5, 0x1
/* 8013FA90 0013B8D0 D0 01 00 4C */ stfs f0, 0x4c(r1)
2022-10-16 16:31:36 +00:00
/* 8013FA94 0013B8D4 4B FF 69 9D */ bl DrawQuad__Q36nw4hbm3lyt6detailFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt4SizeUcPA4_CQ36nw4hbm4math4VEC2PCQ36nw4hbm2ut5ColorUc
2022-10-16 16:05:58 +00:00
/* 8013FA98 0013B8D8 39 61 01 70 */ addi r11, r1, 0x170
/* 8013FA9C 0013B8DC 4B EC 78 DD */ bl lbl_80007378
/* 8013FAA0 0013B8E0 80 01 01 74 */ lwz r0, 0x174(r1)
/* 8013FAA4 0013B8E4 7C 08 03 A6 */ mtlr r0
/* 8013FAA8 0013B8E8 38 21 01 70 */ addi r1, r1, 0x170
/* 8013FAAC 0013B8EC 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global GetFrameMaterial__Q36nw4hbm3lyt6WindowCFUl
GetFrameMaterial__Q36nw4hbm3lyt6WindowCFUl:
2022-10-16 16:05:58 +00:00
/* 8013FAB0 0013B8F0 88 03 01 00 */ lbz r0, 0x100(r3)
/* 8013FAB4 0013B8F4 7C 04 00 40 */ cmplw r4, r0
/* 8013FAB8 0013B8F8 41 80 00 0C */ blt lbl_8013FAC4
/* 8013FABC 0013B8FC 38 60 00 00 */ li r3, 0x0
/* 8013FAC0 0013B900 4E 80 00 20 */ blr
.global lbl_8013FAC4
lbl_8013FAC4:
/* 8013FAC4 0013B904 80 63 00 FC */ lwz r3, 0xfc(r3)
/* 8013FAC8 0013B908 54 80 18 38 */ slwi r0, r4, 3
/* 8013FACC 0013B90C 7C 63 02 14 */ add r3, r3, r0
/* 8013FAD0 0013B910 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8013FAD4 0013B914 4E 80 00 20 */ blr
/* 8013FAD8 0013B918 00 00 00 00 */ .4byte 0x00000000
/* 8013FADC 0013B91C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global GetContentMaterial__Q36nw4hbm3lyt6WindowCFv
GetContentMaterial__Q36nw4hbm3lyt6WindowCFv:
2022-10-16 16:05:58 +00:00
/* 8013FAE0 0013B920 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013FAE4 0013B924 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 8013FAE8 0013B928 7D 89 03 A6 */ mtctr r12
/* 8013FAEC 0013B92C 4E 80 04 20 */ bctr
2022-10-16 16:31:36 +00:00
.global GetRuntimeTypeInfo__Q36nw4hbm3lyt6WindowCFv
GetRuntimeTypeInfo__Q36nw4hbm3lyt6WindowCFv:
/* 8013FAF0 0013B930 3C 60 80 54 */ lis r3, typeInfo__Q36nw4hbm3lyt6Window@ha
/* 8013FAF4 0013B934 38 63 37 90 */ addi r3, r3, typeInfo__Q36nw4hbm3lyt6Window@l
2022-10-16 16:05:58 +00:00
/* 8013FAF8 0013B938 4E 80 00 20 */ blr
/* 8013FAFC 0013B93C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global "__sinit_@@1lyt_window_cpp_8013FB00"
"__sinit_@@1lyt_window_cpp_8013FB00":
/* 8013FB00 0013B940 3C 80 80 54 */ lis r4, typeInfo__Q36nw4hbm3lyt4Pane@ha
/* 8013FB04 0013B944 3C 60 80 54 */ lis r3, typeInfo__Q36nw4hbm3lyt6Window@ha
/* 8013FB08 0013B948 38 84 37 78 */ addi r4, r4, typeInfo__Q36nw4hbm3lyt4Pane@l
/* 8013FB0C 0013B94C 90 83 37 90 */ stw r4, typeInfo__Q36nw4hbm3lyt6Window@l(r3)
2022-10-16 16:05:58 +00:00
/* 8013FB10 0013B950 4E 80 00 20 */ blr
/* 8013FB14 0013B954 00 00 00 00 */ .4byte 0x00000000
/* 8013FB18 0013B958 00 00 00 00 */ .4byte 0x00000000
/* 8013FB1C 0013B95C 00 00 00 00 */ .4byte 0x00000000
2022-10-17 08:59:46 +00:00
.include "macros.inc"
.section .ctors, "wa" # 0x80406260 - 0x80406540 ; 0x000002E0
.4byte "__sinit_@@1lyt_window_cpp_8013FB00"
.include "macros.inc"
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
.global "@9107"
"@9107":
.4byte 0
.4byte 0
.global "@9114"
"@9114":
.4byte 0x43300000
.4byte 0
.global "@9115"
"@9115":
.4byte 0x43300000
.4byte 0x80000000
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos"
"@LOCAL@GetTexutreFlipInfo__24@unnamed@lyt_window_cpp@FUc@flipInfos":
.4byte 0x00000100
.4byte 0x00010101
.4byte 0x00010100
.4byte 0x00000101
.4byte 0x00010001
.4byte 0x00010101
.4byte 0x00000100
.4byte 0x00010001
.4byte 0x00000101
.4byte 0x01000100
.4byte 0x01010001
.4byte 0x01000000
.4byte 0x00010100
.4byte 0x01010000
.4byte 0x00010100
.global __vt__Q36nw4hbm3lyt6Window
__vt__Q36nw4hbm3lyt6Window:
.4byte __RTTI__Q36nw4hbm3lyt6Window
.4byte 0
.4byte __dt__Q36nw4hbm3lyt6WindowFv
.4byte GetRuntimeTypeInfo__Q36nw4hbm3lyt6WindowCFv
.4byte CalculateMtx__Q36nw4hbm3lyt4PaneFRCQ36nw4hbm3lyt8DrawInfo
.4byte Draw__Q36nw4hbm3lyt4PaneFRCQ36nw4hbm3lyt8DrawInfo
.4byte DrawSelf__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm3lyt8DrawInfo
.4byte Animate__Q36nw4hbm3lyt4PaneFUl
.4byte AnimateSelf__Q36nw4hbm3lyt6WindowFUl
.4byte GetVtxColor__Q36nw4hbm3lyt6WindowCFUl
.4byte SetVtxColor__Q36nw4hbm3lyt6WindowFUlQ36nw4hbm2ut5Color
.4byte GetColorElement__Q36nw4hbm3lyt4PaneCFUl
.4byte SetColorElement__Q36nw4hbm3lyt4PaneFUlUc
.4byte GetVtxColorElement__Q36nw4hbm3lyt6WindowCFUl
.4byte SetVtxColorElement__Q36nw4hbm3lyt6WindowFUlUc
.4byte FindPaneByName__Q36nw4hbm3lyt4PaneFPCcb
.4byte FindMaterialByName__Q36nw4hbm3lyt6WindowFPCcb
.4byte BindAnimation__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransformb
.4byte UnbindAnimation__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransformb
.4byte UnbindAllAnimation__Q36nw4hbm3lyt4PaneFb
.4byte UnbindAnimationSelf__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransform
.4byte FindAnimationLink__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransform
.4byte SetAnimationEnable__Q36nw4hbm3lyt6WindowFPQ36nw4hbm3lyt13AnimTransformbb
.4byte GetMaterial__Q36nw4hbm3lyt4PaneCFv
.4byte LoadMtx__Q36nw4hbm3lyt4PaneFRCQ36nw4hbm3lyt8DrawInfo
.4byte GetContentMaterial__Q36nw4hbm3lyt6WindowCFv
.4byte GetFrameMaterial__Q36nw4hbm3lyt6WindowCFUl
.4byte DrawContent__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2RCQ36nw4hbm3lyt15WindowFrameSizeUc
.4byte DrawFrame__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2RCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc
.4byte DrawFrame4__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2PCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc
.4byte DrawFrame8__Q36nw4hbm3lyt6WindowFRCQ36nw4hbm4math4VEC2PCQ46nw4hbm3lyt6Window5FrameRCQ36nw4hbm3lyt15WindowFrameSizeUc
.global "@8272"
"@8272":
.4byte 0x6E773468
.4byte 0x626D3A3A
.4byte 0x6C79743A
.4byte 0x3A57696E
.4byte 0x646F7700
.global "@8273"
"@8273":
.4byte __RTTI__Q46nw4hbm3lyt6detail8PaneBase
.4byte 0
.4byte __RTTI__Q36nw4hbm3lyt4Pane
.4byte 0
.4byte 0
.global __RTTI__Q36nw4hbm3lyt6Window
__RTTI__Q36nw4hbm3lyt6Window:
.4byte "@8272"
.4byte "@8273"
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global typeInfo__Q36nw4hbm3lyt6Window
typeInfo__Q36nw4hbm3lyt6Window:
.skip 0x8