mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-12-13 16:55:41 +00:00
75c3292df0
linkmap goes faster now
1054 lines
51 KiB
ArmAsm
1054 lines
51 KiB
ArmAsm
.include "macros.inc"
|
|
.section .rodata # 0x804732E0 - 0x8049E220
|
|
.balign 8
|
|
lbl_80498CB0:
|
|
.asciz "khUtil.cpp"
|
|
.balign 4
|
|
lbl_80498CBC:
|
|
.asciz "P2Assert"
|
|
.balign 4
|
|
lbl_80498CC8:
|
|
.asciz "khUtil.h"
|
|
|
|
.section .data, "wa" # 0x8049E220 - 0x804EFC20
|
|
.balign 8
|
|
.global __vt__Q32kh6Screen14khUtilColorAnm
|
|
__vt__Q32kh6Screen14khUtilColorAnm:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte __dt__Q32kh6Screen14khUtilColorAnmFv
|
|
.4byte getChildCount__5CNodeFv
|
|
.4byte update__Q32kh6Screen14khUtilColorAnmFv
|
|
.4byte draw__Q29P2DScreen4NodeFR8GraphicsR14J2DGrafContext
|
|
.4byte doInit__Q29P2DScreen4NodeFv
|
|
.4byte do_update__Q32kh6Screen14khUtilColorAnmFv
|
|
.global __vt__Q32kh6Screen14khUtilFadePane
|
|
__vt__Q32kh6Screen14khUtilFadePane:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte __dt__Q32kh6Screen14khUtilFadePaneFv
|
|
.4byte getChildCount__5CNodeFv
|
|
.4byte update__Q32kh6Screen14khUtilFadePaneFv
|
|
.4byte draw__Q29P2DScreen4NodeFR8GraphicsR14J2DGrafContext
|
|
.4byte doInit__Q29P2DScreen4NodeFv
|
|
.4byte fadein_finish__Q32kh6Screen14khUtilFadePaneFv
|
|
.4byte fadeout_finish__Q32kh6Screen14khUtilFadePaneFv
|
|
.4byte 0
|
|
|
|
.section .sdata2, "a" # 0x80516360 - 0x80520E40
|
|
.balign 8
|
|
lbl_80520180:
|
|
.float 0.25
|
|
lbl_80520184:
|
|
.float 1.0
|
|
.balign 8
|
|
lbl_80520188:
|
|
.4byte 0x43300000
|
|
.4byte 0x80000000
|
|
.balign 8
|
|
lbl_80520190:
|
|
.4byte 0x43300000
|
|
.4byte 0x00000000
|
|
|
|
.section .text, "ax" # 0x800056C0 - 0x80472F00
|
|
.global getSerialTagName__Q22kh6ScreenFUxi
|
|
getSerialTagName__Q22kh6ScreenFUxi:
|
|
/* 8040B3F4 00408334 3C C0 66 66 */ lis r6, 0x66666667@ha
|
|
/* 8040B3F8 00408338 38 06 66 67 */ addi r0, r6, 0x66666667@l
|
|
/* 8040B3FC 0040833C 7D 00 28 96 */ mulhw r8, r0, r5
|
|
/* 8040B400 00408340 7D 00 16 70 */ srawi r0, r8, 2
|
|
/* 8040B404 00408344 54 06 0F FE */ srwi r6, r0, 0x1f
|
|
/* 8040B408 00408348 7C 00 32 14 */ add r0, r0, r6
|
|
/* 8040B40C 0040834C 1C 00 00 0A */ mulli r0, r0, 0xa
|
|
/* 8040B410 00408350 7C E0 28 50 */ subf r7, r0, r5
|
|
/* 8040B414 00408354 7C E6 FE 70 */ srawi r6, r7, 0x1f
|
|
/* 8040B418 00408358 7D 00 16 70 */ srawi r0, r8, 2
|
|
/* 8040B41C 0040835C 54 05 0F FE */ srwi r5, r0, 0x1f
|
|
/* 8040B420 00408360 7C 00 2A 14 */ add r0, r0, r5
|
|
/* 8040B424 00408364 54 05 40 2E */ slwi r5, r0, 8
|
|
/* 8040B428 00408368 7C A0 FE 70 */ srawi r0, r5, 0x1f
|
|
/* 8040B42C 0040836C 7C 84 28 14 */ addc r4, r4, r5
|
|
/* 8040B430 00408370 7C 03 01 14 */ adde r0, r3, r0
|
|
/* 8040B434 00408374 7C 87 20 14 */ addc r4, r7, r4
|
|
/* 8040B438 00408378 7C 66 01 14 */ adde r3, r6, r0
|
|
/* 8040B43C 0040837C 4E 80 00 20 */ blr
|
|
|
|
.global setTex__Q22kh6ScreenFP9J2DScreenUxPC7ResTIMG
|
|
setTex__Q22kh6ScreenFP9J2DScreenUxPC7ResTIMG:
|
|
/* 8040B440 00408380 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8040B444 00408384 7C 08 02 A6 */ mflr r0
|
|
/* 8040B448 00408388 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8040B44C 0040838C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8040B450 00408390 7C FF 3B 78 */ mr r31, r7
|
|
/* 8040B454 00408394 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040B458 00408398 81 8C 00 3C */ lwz r12, 0x3c(r12)
|
|
/* 8040B45C 0040839C 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B460 004083A0 4E 80 04 21 */ bctrl
|
|
/* 8040B464 004083A4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040B468 004083A8 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B46C 004083AC 38 A0 00 00 */ li r5, 0
|
|
/* 8040B470 004083B0 81 8C 01 10 */ lwz r12, 0x110(r12)
|
|
/* 8040B474 004083B4 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B478 004083B8 4E 80 04 21 */ bctrl
|
|
/* 8040B47C 004083BC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8040B480 004083C0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8040B484 004083C4 7C 08 03 A6 */ mtlr r0
|
|
/* 8040B488 004083C8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8040B48C 004083CC 4E 80 00 20 */ blr
|
|
|
|
.global setTex__Q22kh6ScreenFP9J2DScreenUxPCc
|
|
setTex__Q22kh6ScreenFP9J2DScreenUxPCc:
|
|
/* 8040B490 004083D0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8040B494 004083D4 7C 08 02 A6 */ mflr r0
|
|
/* 8040B498 004083D8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8040B49C 004083DC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8040B4A0 004083E0 7C FF 3B 78 */ mr r31, r7
|
|
/* 8040B4A4 004083E4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040B4A8 004083E8 81 8C 00 3C */ lwz r12, 0x3c(r12)
|
|
/* 8040B4AC 004083EC 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B4B0 004083F0 4E 80 04 21 */ bctrl
|
|
/* 8040B4B4 004083F4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040B4B8 004083F8 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B4BC 004083FC 38 A0 00 00 */ li r5, 0
|
|
/* 8040B4C0 00408400 81 8C 01 14 */ lwz r12, 0x114(r12)
|
|
/* 8040B4C4 00408404 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B4C8 00408408 4E 80 04 21 */ bctrl
|
|
/* 8040B4CC 0040840C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8040B4D0 00408410 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8040B4D4 00408414 7C 08 03 A6 */ mtlr r0
|
|
/* 8040B4D8 00408418 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8040B4DC 0040841C 4E 80 00 20 */ blr
|
|
|
|
.global setMatAnm__Q22kh6ScreenFP7J2DPaneP10J2DAnmBase
|
|
setMatAnm__Q22kh6ScreenFP7J2DPaneP10J2DAnmBase:
|
|
/* 8040B4E0 00408420 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8040B4E4 00408424 7C 08 02 A6 */ mflr r0
|
|
/* 8040B4E8 00408428 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8040B4EC 0040842C BF 21 00 14 */ stmw r25, 0x14(r1)
|
|
/* 8040B4F0 00408430 7C 79 1B 78 */ mr r25, r3
|
|
/* 8040B4F4 00408434 7C 9F 23 78 */ mr r31, r4
|
|
/* 8040B4F8 00408438 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040B4FC 0040843C 81 8C 00 5C */ lwz r12, 0x5c(r12)
|
|
/* 8040B500 00408440 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B504 00408444 4E 80 04 21 */ bctrl
|
|
/* 8040B508 00408448 83 D9 00 DC */ lwz r30, 0xdc(r25)
|
|
/* 8040B50C 0040844C 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8040B510 00408450 41 82 01 C4 */ beq .L_8040B6D4
|
|
/* 8040B514 00408454 3B DE FF F4 */ addi r30, r30, -12
|
|
/* 8040B518 00408458 48 00 01 BC */ b .L_8040B6D4
|
|
.L_8040B51C:
|
|
/* 8040B51C 0040845C 83 7E 00 0C */ lwz r27, 0xc(r30)
|
|
/* 8040B520 00408460 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B524 00408464 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B528 00408468 81 9B 00 00 */ lwz r12, 0(r27)
|
|
/* 8040B52C 0040846C 81 8C 00 5C */ lwz r12, 0x5c(r12)
|
|
/* 8040B530 00408470 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B534 00408474 4E 80 04 21 */ bctrl
|
|
/* 8040B538 00408478 83 BB 00 DC */ lwz r29, 0xdc(r27)
|
|
/* 8040B53C 0040847C 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 8040B540 00408480 41 82 01 7C */ beq .L_8040B6BC
|
|
/* 8040B544 00408484 3B BD FF F4 */ addi r29, r29, -12
|
|
/* 8040B548 00408488 48 00 01 74 */ b .L_8040B6BC
|
|
.L_8040B54C:
|
|
/* 8040B54C 0040848C 83 7D 00 0C */ lwz r27, 0xc(r29)
|
|
/* 8040B550 00408490 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B554 00408494 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B558 00408498 81 9B 00 00 */ lwz r12, 0(r27)
|
|
/* 8040B55C 0040849C 81 8C 00 5C */ lwz r12, 0x5c(r12)
|
|
/* 8040B560 004084A0 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B564 004084A4 4E 80 04 21 */ bctrl
|
|
/* 8040B568 004084A8 83 9B 00 DC */ lwz r28, 0xdc(r27)
|
|
/* 8040B56C 004084AC 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8040B570 004084B0 41 82 01 34 */ beq .L_8040B6A4
|
|
/* 8040B574 004084B4 3B 9C FF F4 */ addi r28, r28, -12
|
|
/* 8040B578 004084B8 48 00 01 2C */ b .L_8040B6A4
|
|
.L_8040B57C:
|
|
/* 8040B57C 004084BC 83 7C 00 0C */ lwz r27, 0xc(r28)
|
|
/* 8040B580 004084C0 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B584 004084C4 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B588 004084C8 81 9B 00 00 */ lwz r12, 0(r27)
|
|
/* 8040B58C 004084CC 81 8C 00 5C */ lwz r12, 0x5c(r12)
|
|
/* 8040B590 004084D0 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B594 004084D4 4E 80 04 21 */ bctrl
|
|
/* 8040B598 004084D8 38 7B 00 DC */ addi r3, r27, 0xdc
|
|
/* 8040B59C 004084DC 4B C1 86 85 */ bl getFirstLink__10JSUPtrListCFv
|
|
/* 8040B5A0 004084E0 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8040B5A4 004084E4 41 82 00 08 */ beq .L_8040B5AC
|
|
/* 8040B5A8 004084E8 38 63 FF F4 */ addi r3, r3, -12
|
|
.L_8040B5AC:
|
|
/* 8040B5AC 004084EC 7C 79 1B 78 */ mr r25, r3
|
|
/* 8040B5B0 004084F0 48 00 00 DC */ b .L_8040B68C
|
|
.L_8040B5B4:
|
|
/* 8040B5B4 004084F4 7F 23 CB 78 */ mr r3, r25
|
|
/* 8040B5B8 004084F8 4B C2 D3 85 */ bl "getObject__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B5BC 004084FC 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040B5C0 00408500 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8040B5C4 00408504 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B5C8 00408508 81 8C 00 5C */ lwz r12, 0x5c(r12)
|
|
/* 8040B5CC 0040850C 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B5D0 00408510 4E 80 04 21 */ bctrl
|
|
/* 8040B5D4 00408514 3B 5B 00 DC */ addi r26, r27, 0xdc
|
|
/* 8040B5D8 00408518 7F 43 D3 78 */ mr r3, r26
|
|
/* 8040B5DC 0040851C 4B C2 D3 4D */ bl "getFirstChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B5E0 00408520 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8040B5E4 00408524 48 00 00 84 */ b .L_8040B668
|
|
.L_8040B5E8:
|
|
/* 8040B5E8 00408528 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 8040B5EC 0040852C 4B EF 7E FD */ bl "getObject__25JSUTreeIterator<7J2DPane>CFv"
|
|
/* 8040B5F0 00408530 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040B5F4 00408534 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8040B5F8 00408538 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B5FC 0040853C 81 8C 00 5C */ lwz r12, 0x5c(r12)
|
|
/* 8040B600 00408540 7D 89 03 A6 */ mtctr r12
|
|
/* 8040B604 00408544 4E 80 04 21 */ bctrl
|
|
/* 8040B608 00408548 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B60C 0040854C 4B EF 7E E9 */ bl getPaneTree__7J2DPaneFv
|
|
/* 8040B610 00408550 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8040B614 00408554 4B C2 D3 15 */ bl "getFirstChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B618 00408558 7C 64 1B 78 */ mr r4, r3
|
|
/* 8040B61C 0040855C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B620 00408560 4B C2 D2 F5 */ bl "__ct__25JSUTreeIterator<7J2DPane>FP17JSUTree<7J2DPane>"
|
|
/* 8040B624 00408564 48 00 00 1C */ b .L_8040B640
|
|
.L_8040B628:
|
|
/* 8040B628 00408568 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B62C 0040856C 4B EF 7E BD */ bl "getObject__25JSUTreeIterator<7J2DPane>CFv"
|
|
/* 8040B630 00408570 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B634 00408574 4B FF FE AD */ bl setMatAnm__Q22kh6ScreenFP7J2DPaneP10J2DAnmBase
|
|
/* 8040B638 00408578 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B63C 0040857C 4B C2 D2 BD */ bl "__pp__25JSUTreeIterator<7J2DPane>Fv"
|
|
.L_8040B640:
|
|
/* 8040B640 00408580 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B644 00408584 4B C2 D2 AD */ bl "getEndChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B648 00408588 7C 64 1B 78 */ mr r4, r3
|
|
/* 8040B64C 0040858C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B650 00408590 4B C2 D2 89 */ bl "__ne__25JSUTreeIterator<7J2DPane>CFPC17JSUTree<7J2DPane>"
|
|
/* 8040B654 00408594 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8040B658 00408598 40 82 FF D0 */ bne .L_8040B628
|
|
/* 8040B65C 0040859C 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
/* 8040B660 004085A0 4B C2 D2 65 */ bl "getNextChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B664 004085A4 90 61 00 0C */ stw r3, 0xc(r1)
|
|
.L_8040B668:
|
|
/* 8040B668 004085A8 7F 43 D3 78 */ mr r3, r26
|
|
/* 8040B66C 004085AC 4B C2 D2 85 */ bl "getEndChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B670 004085B0 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 8040B674 004085B4 7C 00 18 40 */ cmplw r0, r3
|
|
/* 8040B678 004085B8 40 82 FF 70 */ bne .L_8040B5E8
|
|
/* 8040B67C 004085BC 83 39 00 18 */ lwz r25, 0x18(r25)
|
|
/* 8040B680 004085C0 28 19 00 00 */ cmplwi r25, 0
|
|
/* 8040B684 004085C4 41 82 00 08 */ beq .L_8040B68C
|
|
/* 8040B688 004085C8 3B 39 FF F4 */ addi r25, r25, -12
|
|
.L_8040B68C:
|
|
/* 8040B68C 004085CC 28 19 00 00 */ cmplwi r25, 0
|
|
/* 8040B690 004085D0 40 82 FF 24 */ bne .L_8040B5B4
|
|
/* 8040B694 004085D4 83 9C 00 18 */ lwz r28, 0x18(r28)
|
|
/* 8040B698 004085D8 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8040B69C 004085DC 41 82 00 08 */ beq .L_8040B6A4
|
|
/* 8040B6A0 004085E0 3B 9C FF F4 */ addi r28, r28, -12
|
|
.L_8040B6A4:
|
|
/* 8040B6A4 004085E4 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8040B6A8 004085E8 40 82 FE D4 */ bne .L_8040B57C
|
|
/* 8040B6AC 004085EC 83 BD 00 18 */ lwz r29, 0x18(r29)
|
|
/* 8040B6B0 004085F0 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 8040B6B4 004085F4 41 82 00 08 */ beq .L_8040B6BC
|
|
/* 8040B6B8 004085F8 3B BD FF F4 */ addi r29, r29, -12
|
|
.L_8040B6BC:
|
|
/* 8040B6BC 004085FC 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 8040B6C0 00408600 40 82 FE 8C */ bne .L_8040B54C
|
|
/* 8040B6C4 00408604 83 DE 00 18 */ lwz r30, 0x18(r30)
|
|
/* 8040B6C8 00408608 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8040B6CC 0040860C 41 82 00 08 */ beq .L_8040B6D4
|
|
/* 8040B6D0 00408610 3B DE FF F4 */ addi r30, r30, -12
|
|
.L_8040B6D4:
|
|
/* 8040B6D4 00408614 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8040B6D8 00408618 40 82 FE 44 */ bne .L_8040B51C
|
|
/* 8040B6DC 0040861C BB 21 00 14 */ lmw r25, 0x14(r1)
|
|
/* 8040B6E0 00408620 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8040B6E4 00408624 7C 08 03 A6 */ mtlr r0
|
|
/* 8040B6E8 00408628 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8040B6EC 0040862C 4E 80 00 20 */ blr
|
|
|
|
.global setInfAlpha__Q22kh6ScreenFP7J2DPane
|
|
setInfAlpha__Q22kh6ScreenFP7J2DPane:
|
|
/* 8040B6F0 00408630 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8040B6F4 00408634 7C 08 02 A6 */ mflr r0
|
|
/* 8040B6F8 00408638 38 80 00 01 */ li r4, 1
|
|
/* 8040B6FC 0040863C 38 A0 00 00 */ li r5, 0
|
|
/* 8040B700 00408640 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8040B704 00408644 BF 21 00 14 */ stmw r25, 0x14(r1)
|
|
/* 8040B708 00408648 7C 79 1B 78 */ mr r25, r3
|
|
/* 8040B70C 0040864C 4B C2 D6 A1 */ bl setInfluencedAlpha__7J2DPaneFbb
|
|
/* 8040B710 00408650 83 F9 00 DC */ lwz r31, 0xdc(r25)
|
|
/* 8040B714 00408654 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8040B718 00408658 41 82 01 D8 */ beq .L_8040B8F0
|
|
/* 8040B71C 0040865C 3B FF FF F4 */ addi r31, r31, -12
|
|
/* 8040B720 00408660 48 00 01 D0 */ b .L_8040B8F0
|
|
.L_8040B724:
|
|
/* 8040B724 00408664 83 7F 00 0C */ lwz r27, 0xc(r31)
|
|
/* 8040B728 00408668 38 80 00 01 */ li r4, 1
|
|
/* 8040B72C 0040866C 38 A0 00 00 */ li r5, 0
|
|
/* 8040B730 00408670 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B734 00408674 4B C2 D6 79 */ bl setInfluencedAlpha__7J2DPaneFbb
|
|
/* 8040B738 00408678 83 DB 00 DC */ lwz r30, 0xdc(r27)
|
|
/* 8040B73C 0040867C 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8040B740 00408680 41 82 01 98 */ beq .L_8040B8D8
|
|
/* 8040B744 00408684 3B DE FF F4 */ addi r30, r30, -12
|
|
/* 8040B748 00408688 48 00 01 90 */ b .L_8040B8D8
|
|
.L_8040B74C:
|
|
/* 8040B74C 0040868C 83 7E 00 0C */ lwz r27, 0xc(r30)
|
|
/* 8040B750 00408690 38 80 00 01 */ li r4, 1
|
|
/* 8040B754 00408694 38 A0 00 00 */ li r5, 0
|
|
/* 8040B758 00408698 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B75C 0040869C 4B C2 D6 51 */ bl setInfluencedAlpha__7J2DPaneFbb
|
|
/* 8040B760 004086A0 83 BB 00 DC */ lwz r29, 0xdc(r27)
|
|
/* 8040B764 004086A4 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 8040B768 004086A8 41 82 01 58 */ beq .L_8040B8C0
|
|
/* 8040B76C 004086AC 3B BD FF F4 */ addi r29, r29, -12
|
|
/* 8040B770 004086B0 48 00 01 50 */ b .L_8040B8C0
|
|
.L_8040B774:
|
|
/* 8040B774 004086B4 83 7D 00 0C */ lwz r27, 0xc(r29)
|
|
/* 8040B778 004086B8 38 80 00 01 */ li r4, 1
|
|
/* 8040B77C 004086BC 38 A0 00 00 */ li r5, 0
|
|
/* 8040B780 004086C0 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B784 004086C4 4B C2 D6 29 */ bl setInfluencedAlpha__7J2DPaneFbb
|
|
/* 8040B788 004086C8 83 9B 00 DC */ lwz r28, 0xdc(r27)
|
|
/* 8040B78C 004086CC 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8040B790 004086D0 41 82 01 18 */ beq .L_8040B8A8
|
|
/* 8040B794 004086D4 3B 9C FF F4 */ addi r28, r28, -12
|
|
/* 8040B798 004086D8 48 00 01 10 */ b .L_8040B8A8
|
|
.L_8040B79C:
|
|
/* 8040B79C 004086DC 83 7C 00 0C */ lwz r27, 0xc(r28)
|
|
/* 8040B7A0 004086E0 38 80 00 01 */ li r4, 1
|
|
/* 8040B7A4 004086E4 38 A0 00 00 */ li r5, 0
|
|
/* 8040B7A8 004086E8 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B7AC 004086EC 4B C2 D6 01 */ bl setInfluencedAlpha__7J2DPaneFbb
|
|
/* 8040B7B0 004086F0 38 7B 00 DC */ addi r3, r27, 0xdc
|
|
/* 8040B7B4 004086F4 4B C1 84 6D */ bl getFirstLink__10JSUPtrListCFv
|
|
/* 8040B7B8 004086F8 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8040B7BC 004086FC 41 82 00 08 */ beq .L_8040B7C4
|
|
/* 8040B7C0 00408700 38 63 FF F4 */ addi r3, r3, -12
|
|
.L_8040B7C4:
|
|
/* 8040B7C4 00408704 7C 79 1B 78 */ mr r25, r3
|
|
/* 8040B7C8 00408708 48 00 00 C8 */ b .L_8040B890
|
|
.L_8040B7CC:
|
|
/* 8040B7CC 0040870C 7F 23 CB 78 */ mr r3, r25
|
|
/* 8040B7D0 00408710 4B C2 D1 6D */ bl "getObject__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B7D4 00408714 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8040B7D8 00408718 38 80 00 01 */ li r4, 1
|
|
/* 8040B7DC 0040871C 38 A0 00 00 */ li r5, 0
|
|
/* 8040B7E0 00408720 4B C2 D5 CD */ bl setInfluencedAlpha__7J2DPaneFbb
|
|
/* 8040B7E4 00408724 3B 5B 00 DC */ addi r26, r27, 0xdc
|
|
/* 8040B7E8 00408728 7F 43 D3 78 */ mr r3, r26
|
|
/* 8040B7EC 0040872C 4B C2 D1 3D */ bl "getFirstChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B7F0 00408730 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8040B7F4 00408734 48 00 00 78 */ b .L_8040B86C
|
|
.L_8040B7F8:
|
|
/* 8040B7F8 00408738 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 8040B7FC 0040873C 4B EF 7C ED */ bl "getObject__25JSUTreeIterator<7J2DPane>CFv"
|
|
/* 8040B800 00408740 38 80 00 01 */ li r4, 1
|
|
/* 8040B804 00408744 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8040B808 00408748 38 A0 00 00 */ li r5, 0
|
|
/* 8040B80C 0040874C 4B C2 D5 A1 */ bl setInfluencedAlpha__7J2DPaneFbb
|
|
/* 8040B810 00408750 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B814 00408754 4B EF 7C E1 */ bl getPaneTree__7J2DPaneFv
|
|
/* 8040B818 00408758 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8040B81C 0040875C 4B C2 D1 0D */ bl "getFirstChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B820 00408760 7C 64 1B 78 */ mr r4, r3
|
|
/* 8040B824 00408764 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B828 00408768 4B C2 D0 ED */ bl "__ct__25JSUTreeIterator<7J2DPane>FP17JSUTree<7J2DPane>"
|
|
/* 8040B82C 0040876C 48 00 00 18 */ b .L_8040B844
|
|
.L_8040B830:
|
|
/* 8040B830 00408770 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B834 00408774 4B EF 7C B5 */ bl "getObject__25JSUTreeIterator<7J2DPane>CFv"
|
|
/* 8040B838 00408778 4B FF FE B9 */ bl setInfAlpha__Q22kh6ScreenFP7J2DPane
|
|
/* 8040B83C 0040877C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B840 00408780 4B C2 D0 B9 */ bl "__pp__25JSUTreeIterator<7J2DPane>Fv"
|
|
.L_8040B844:
|
|
/* 8040B844 00408784 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040B848 00408788 4B C2 D0 A9 */ bl "getEndChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B84C 0040878C 7C 64 1B 78 */ mr r4, r3
|
|
/* 8040B850 00408790 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B854 00408794 4B C2 D0 85 */ bl "__ne__25JSUTreeIterator<7J2DPane>CFPC17JSUTree<7J2DPane>"
|
|
/* 8040B858 00408798 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8040B85C 0040879C 40 82 FF D4 */ bne .L_8040B830
|
|
/* 8040B860 004087A0 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
/* 8040B864 004087A4 4B C2 D0 61 */ bl "getNextChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B868 004087A8 90 61 00 0C */ stw r3, 0xc(r1)
|
|
.L_8040B86C:
|
|
/* 8040B86C 004087AC 7F 43 D3 78 */ mr r3, r26
|
|
/* 8040B870 004087B0 4B C2 D0 81 */ bl "getEndChild__17JSUTree<7J2DPane>CFv"
|
|
/* 8040B874 004087B4 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 8040B878 004087B8 7C 00 18 40 */ cmplw r0, r3
|
|
/* 8040B87C 004087BC 40 82 FF 7C */ bne .L_8040B7F8
|
|
/* 8040B880 004087C0 83 39 00 18 */ lwz r25, 0x18(r25)
|
|
/* 8040B884 004087C4 28 19 00 00 */ cmplwi r25, 0
|
|
/* 8040B888 004087C8 41 82 00 08 */ beq .L_8040B890
|
|
/* 8040B88C 004087CC 3B 39 FF F4 */ addi r25, r25, -12
|
|
.L_8040B890:
|
|
/* 8040B890 004087D0 28 19 00 00 */ cmplwi r25, 0
|
|
/* 8040B894 004087D4 40 82 FF 38 */ bne .L_8040B7CC
|
|
/* 8040B898 004087D8 83 9C 00 18 */ lwz r28, 0x18(r28)
|
|
/* 8040B89C 004087DC 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8040B8A0 004087E0 41 82 00 08 */ beq .L_8040B8A8
|
|
/* 8040B8A4 004087E4 3B 9C FF F4 */ addi r28, r28, -12
|
|
.L_8040B8A8:
|
|
/* 8040B8A8 004087E8 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8040B8AC 004087EC 40 82 FE F0 */ bne .L_8040B79C
|
|
/* 8040B8B0 004087F0 83 BD 00 18 */ lwz r29, 0x18(r29)
|
|
/* 8040B8B4 004087F4 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 8040B8B8 004087F8 41 82 00 08 */ beq .L_8040B8C0
|
|
/* 8040B8BC 004087FC 3B BD FF F4 */ addi r29, r29, -12
|
|
.L_8040B8C0:
|
|
/* 8040B8C0 00408800 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 8040B8C4 00408804 40 82 FE B0 */ bne .L_8040B774
|
|
/* 8040B8C8 00408808 83 DE 00 18 */ lwz r30, 0x18(r30)
|
|
/* 8040B8CC 0040880C 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8040B8D0 00408810 41 82 00 08 */ beq .L_8040B8D8
|
|
/* 8040B8D4 00408814 3B DE FF F4 */ addi r30, r30, -12
|
|
.L_8040B8D8:
|
|
/* 8040B8D8 00408818 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8040B8DC 0040881C 40 82 FE 70 */ bne .L_8040B74C
|
|
/* 8040B8E0 00408820 83 FF 00 18 */ lwz r31, 0x18(r31)
|
|
/* 8040B8E4 00408824 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8040B8E8 00408828 41 82 00 08 */ beq .L_8040B8F0
|
|
/* 8040B8EC 0040882C 3B FF FF F4 */ addi r31, r31, -12
|
|
.L_8040B8F0:
|
|
/* 8040B8F0 00408830 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8040B8F4 00408834 40 82 FE 30 */ bne .L_8040B724
|
|
/* 8040B8F8 00408838 BB 21 00 14 */ lmw r25, 0x14(r1)
|
|
/* 8040B8FC 0040883C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8040B900 00408840 7C 08 03 A6 */ mtlr r0
|
|
/* 8040B904 00408844 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8040B908 00408848 4E 80 00 20 */ blr
|
|
|
|
.global getPaneCenterX__Q22kh6ScreenFP7J2DPane
|
|
getPaneCenterX__Q22kh6ScreenFP7J2DPane:
|
|
/* 8040B90C 0040884C 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 8040B910 00408850 7C 08 02 A6 */ mflr r0
|
|
/* 8040B914 00408854 38 A0 00 00 */ li r5, 0
|
|
/* 8040B918 00408858 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 8040B91C 0040885C 93 E1 00 6C */ stw r31, 0x6c(r1)
|
|
/* 8040B920 00408860 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8040B924 00408864 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B928 00408868 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 8040B92C 0040886C 4B C2 D6 6D */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040B930 00408870 80 A1 00 2C */ lwz r5, 0x2c(r1)
|
|
/* 8040B934 00408874 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B938 00408878 80 C1 00 30 */ lwz r6, 0x30(r1)
|
|
/* 8040B93C 0040887C 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 8040B940 00408880 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8040B944 00408884 90 A1 00 5C */ stw r5, 0x5c(r1)
|
|
/* 8040B948 00408888 38 A0 00 01 */ li r5, 1
|
|
/* 8040B94C 0040888C 90 C1 00 60 */ stw r6, 0x60(r1)
|
|
/* 8040B950 00408890 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8040B954 00408894 4B C2 D6 45 */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040B958 00408898 80 A1 00 20 */ lwz r5, 0x20(r1)
|
|
/* 8040B95C 0040889C 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B960 004088A0 80 C1 00 24 */ lwz r6, 0x24(r1)
|
|
/* 8040B964 004088A4 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 8040B968 004088A8 80 01 00 28 */ lwz r0, 0x28(r1)
|
|
/* 8040B96C 004088AC 90 A1 00 50 */ stw r5, 0x50(r1)
|
|
/* 8040B970 004088B0 38 A0 00 02 */ li r5, 2
|
|
/* 8040B974 004088B4 90 C1 00 54 */ stw r6, 0x54(r1)
|
|
/* 8040B978 004088B8 90 01 00 58 */ stw r0, 0x58(r1)
|
|
/* 8040B97C 004088BC 4B C2 D6 1D */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040B980 004088C0 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
/* 8040B984 004088C4 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040B988 004088C8 80 C1 00 18 */ lwz r6, 0x18(r1)
|
|
/* 8040B98C 004088CC 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040B990 004088D0 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 8040B994 004088D4 90 A1 00 44 */ stw r5, 0x44(r1)
|
|
/* 8040B998 004088D8 38 A0 00 03 */ li r5, 3
|
|
/* 8040B99C 004088DC 90 C1 00 48 */ stw r6, 0x48(r1)
|
|
/* 8040B9A0 004088E0 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
/* 8040B9A4 004088E4 4B C2 D5 F5 */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040B9A8 004088E8 C0 21 00 5C */ lfs f1, 0x5c(r1)
|
|
/* 8040B9AC 004088EC C0 01 00 50 */ lfs f0, 0x50(r1)
|
|
/* 8040B9B0 004088F0 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 8040B9B4 004088F4 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8040B9B8 004088F8 C0 21 00 44 */ lfs f1, 0x44(r1)
|
|
/* 8040B9BC 004088FC 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 8040B9C0 00408900 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
/* 8040B9C4 00408904 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8040B9C8 00408908 C0 21 00 38 */ lfs f1, 0x38(r1)
|
|
/* 8040B9CC 0040890C 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
/* 8040B9D0 00408910 C0 42 1E 20 */ lfs f2, lbl_80520180@sda21(r2)
|
|
/* 8040B9D4 00408914 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8040B9D8 00408918 90 61 00 3C */ stw r3, 0x3c(r1)
|
|
/* 8040B9DC 0040891C 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 8040B9E0 00408920 EC 22 00 32 */ fmuls f1, f2, f0
|
|
/* 8040B9E4 00408924 83 E1 00 6C */ lwz r31, 0x6c(r1)
|
|
/* 8040B9E8 00408928 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 8040B9EC 0040892C 7C 08 03 A6 */ mtlr r0
|
|
/* 8040B9F0 00408930 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 8040B9F4 00408934 4E 80 00 20 */ blr
|
|
|
|
.global getPaneCenterY__Q22kh6ScreenFP7J2DPane
|
|
getPaneCenterY__Q22kh6ScreenFP7J2DPane:
|
|
/* 8040B9F8 00408938 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 8040B9FC 0040893C 7C 08 02 A6 */ mflr r0
|
|
/* 8040BA00 00408940 38 A0 00 00 */ li r5, 0
|
|
/* 8040BA04 00408944 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 8040BA08 00408948 93 E1 00 6C */ stw r31, 0x6c(r1)
|
|
/* 8040BA0C 0040894C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8040BA10 00408950 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040BA14 00408954 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 8040BA18 00408958 4B C2 D5 81 */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040BA1C 0040895C 80 A1 00 2C */ lwz r5, 0x2c(r1)
|
|
/* 8040BA20 00408960 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040BA24 00408964 80 C1 00 30 */ lwz r6, 0x30(r1)
|
|
/* 8040BA28 00408968 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 8040BA2C 0040896C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8040BA30 00408970 90 A1 00 5C */ stw r5, 0x5c(r1)
|
|
/* 8040BA34 00408974 38 A0 00 01 */ li r5, 1
|
|
/* 8040BA38 00408978 90 C1 00 60 */ stw r6, 0x60(r1)
|
|
/* 8040BA3C 0040897C 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8040BA40 00408980 4B C2 D5 59 */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040BA44 00408984 80 A1 00 20 */ lwz r5, 0x20(r1)
|
|
/* 8040BA48 00408988 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040BA4C 0040898C 80 C1 00 24 */ lwz r6, 0x24(r1)
|
|
/* 8040BA50 00408990 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 8040BA54 00408994 80 01 00 28 */ lwz r0, 0x28(r1)
|
|
/* 8040BA58 00408998 90 A1 00 50 */ stw r5, 0x50(r1)
|
|
/* 8040BA5C 0040899C 38 A0 00 02 */ li r5, 2
|
|
/* 8040BA60 004089A0 90 C1 00 54 */ stw r6, 0x54(r1)
|
|
/* 8040BA64 004089A4 90 01 00 58 */ stw r0, 0x58(r1)
|
|
/* 8040BA68 004089A8 4B C2 D5 31 */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040BA6C 004089AC 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
/* 8040BA70 004089B0 7F E4 FB 78 */ mr r4, r31
|
|
/* 8040BA74 004089B4 80 C1 00 18 */ lwz r6, 0x18(r1)
|
|
/* 8040BA78 004089B8 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8040BA7C 004089BC 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 8040BA80 004089C0 90 A1 00 44 */ stw r5, 0x44(r1)
|
|
/* 8040BA84 004089C4 38 A0 00 03 */ li r5, 3
|
|
/* 8040BA88 004089C8 90 C1 00 48 */ stw r6, 0x48(r1)
|
|
/* 8040BA8C 004089CC 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
/* 8040BA90 004089D0 4B C2 D5 09 */ bl getGlbVtx__7J2DPaneCFUc
|
|
/* 8040BA94 004089D4 C0 21 00 60 */ lfs f1, 0x60(r1)
|
|
/* 8040BA98 004089D8 C0 01 00 54 */ lfs f0, 0x54(r1)
|
|
/* 8040BA9C 004089DC 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 8040BAA0 004089E0 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8040BAA4 004089E4 C0 21 00 48 */ lfs f1, 0x48(r1)
|
|
/* 8040BAA8 004089E8 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 8040BAAC 004089EC 80 61 00 08 */ lwz r3, 8(r1)
|
|
/* 8040BAB0 004089F0 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8040BAB4 004089F4 C0 21 00 3C */ lfs f1, 0x3c(r1)
|
|
/* 8040BAB8 004089F8 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
/* 8040BABC 004089FC C0 42 1E 20 */ lfs f2, lbl_80520180@sda21(r2)
|
|
/* 8040BAC0 00408A00 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8040BAC4 00408A04 90 61 00 38 */ stw r3, 0x38(r1)
|
|
/* 8040BAC8 00408A08 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 8040BACC 00408A0C EC 22 00 32 */ fmuls f1, f2, f0
|
|
/* 8040BAD0 00408A10 83 E1 00 6C */ lwz r31, 0x6c(r1)
|
|
/* 8040BAD4 00408A14 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 8040BAD8 00408A18 7C 08 03 A6 */ mtlr r0
|
|
/* 8040BADC 00408A1C 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 8040BAE0 00408A20 4E 80 00 20 */ blr
|
|
|
|
.global create__Q32kh6Screen14khUtilFadePaneFPQ29P2DScreen3MgrUxUc
|
|
create__Q32kh6Screen14khUtilFadePaneFPQ29P2DScreen3MgrUxUc:
|
|
/* 8040BAE4 00408A24 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8040BAE8 00408A28 7C 08 02 A6 */ mflr r0
|
|
/* 8040BAEC 00408A2C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8040BAF0 00408A30 BF 61 00 0C */ stmw r27, 0xc(r1)
|
|
/* 8040BAF4 00408A34 7C 7B 1B 79 */ or. r27, r3, r3
|
|
/* 8040BAF8 00408A38 7C BD 2B 78 */ mr r29, r5
|
|
/* 8040BAFC 00408A3C 7C DC 33 78 */ mr r28, r6
|
|
/* 8040BB00 00408A40 7C FE 3B 78 */ mr r30, r7
|
|
/* 8040BB04 00408A44 40 82 00 0C */ bne .L_8040BB10
|
|
/* 8040BB08 00408A48 38 60 00 00 */ li r3, 0
|
|
/* 8040BB0C 00408A4C 48 00 00 68 */ b .L_8040BB74
|
|
.L_8040BB10:
|
|
/* 8040BB10 00408A50 38 60 00 30 */ li r3, 0x30
|
|
/* 8040BB14 00408A54 4B C1 83 91 */ bl __nw__FUl
|
|
/* 8040BB18 00408A58 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 8040BB1C 00408A5C 41 82 00 10 */ beq .L_8040BB2C
|
|
/* 8040BB20 00408A60 7F C4 F3 78 */ mr r4, r30
|
|
/* 8040BB24 00408A64 48 00 00 65 */ bl __ct__Q32kh6Screen14khUtilFadePaneFUc
|
|
/* 8040BB28 00408A68 7C 7F 1B 78 */ mr r31, r3
|
|
.L_8040BB2C:
|
|
/* 8040BB2C 00408A6C 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8040BB30 00408A70 40 82 00 20 */ bne .L_8040BB50
|
|
/* 8040BB34 00408A74 3C 60 80 4A */ lis r3, lbl_80498CB0@ha
|
|
/* 8040BB38 00408A78 3C A0 80 4A */ lis r5, lbl_80498CBC@ha
|
|
/* 8040BB3C 00408A7C 38 63 8C B0 */ addi r3, r3, lbl_80498CB0@l
|
|
/* 8040BB40 00408A80 38 80 00 92 */ li r4, 0x92
|
|
/* 8040BB44 00408A84 38 A5 8C BC */ addi r5, r5, lbl_80498CBC@l
|
|
/* 8040BB48 00408A88 4C C6 31 82 */ crclr 6
|
|
/* 8040BB4C 00408A8C 4B C1 EA F5 */ bl panic_f__12JUTExceptionFPCciPCce
|
|
.L_8040BB50:
|
|
/* 8040BB50 00408A90 7F 63 DB 78 */ mr r3, r27
|
|
/* 8040BB54 00408A94 7F 86 E3 78 */ mr r6, r28
|
|
/* 8040BB58 00408A98 7F A5 EB 78 */ mr r5, r29
|
|
/* 8040BB5C 00408A9C 7F E7 FB 78 */ mr r7, r31
|
|
/* 8040BB60 00408AA0 48 02 8F C5 */ bl addCallBack__Q29P2DScreen3MgrFUxPQ29P2DScreen4Node
|
|
/* 8040BB64 00408AA4 7C 64 1B 78 */ mr r4, r3
|
|
/* 8040BB68 00408AA8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8040BB6C 00408AAC 48 00 01 AD */ bl add__Q32kh6Screen14khUtilFadePaneFP7J2DPane
|
|
/* 8040BB70 00408AB0 7F E3 FB 78 */ mr r3, r31
|
|
.L_8040BB74:
|
|
/* 8040BB74 00408AB4 BB 61 00 0C */ lmw r27, 0xc(r1)
|
|
/* 8040BB78 00408AB8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8040BB7C 00408ABC 7C 08 03 A6 */ mtlr r0
|
|
/* 8040BB80 00408AC0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8040BB84 00408AC4 4E 80 00 20 */ blr
|
|
|
|
.global __ct__Q32kh6Screen14khUtilFadePaneFUc
|
|
__ct__Q32kh6Screen14khUtilFadePaneFUc:
|
|
/* 8040BB88 00408AC8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8040BB8C 00408ACC 7C 08 02 A6 */ mflr r0
|
|
/* 8040BB90 00408AD0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8040BB94 00408AD4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8040BB98 00408AD8 7C 9F 23 78 */ mr r31, r4
|
|
/* 8040BB9C 00408ADC 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8040BBA0 00408AE0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8040BBA4 00408AE4 48 00 57 ED */ bl __ct__5CNodeFv
|
|
/* 8040BBA8 00408AE8 3C 60 80 4D */ lis r3, __vt__Q29P2DScreen4Node@ha
|
|
/* 8040BBAC 00408AEC 3C A0 80 4D */ lis r5, __vt__Q29P2DScreen12CallBackNode@ha
|
|
/* 8040BBB0 00408AF0 38 03 7B 0C */ addi r0, r3, __vt__Q29P2DScreen4Node@l
|
|
/* 8040BBB4 00408AF4 3C 80 80 4F */ lis r4, __vt__Q32kh6Screen14khUtilFadePane@ha
|
|
/* 8040BBB8 00408AF8 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 8040BBBC 00408AFC 38 C0 00 00 */ li r6, 0
|
|
/* 8040BBC0 00408B00 3C 60 80 4F */ lis r3, __vt__Q42kh6Screen14khUtilFadePane10khPaneNode@ha
|
|
/* 8040BBC4 00408B04 38 A5 7F 2C */ addi r5, r5, __vt__Q29P2DScreen12CallBackNode@l
|
|
/* 8040BBC8 00408B08 90 DE 00 18 */ stw r6, 0x18(r30)
|
|
/* 8040BBCC 00408B0C 38 84 B1 D8 */ addi r4, r4, __vt__Q32kh6Screen14khUtilFadePane@l
|
|
/* 8040BBD0 00408B10 38 03 A5 50 */ addi r0, r3, __vt__Q42kh6Screen14khUtilFadePane10khPaneNode@l
|
|
/* 8040BBD4 00408B14 7F C3 F3 78 */ mr r3, r30
|
|
/* 8040BBD8 00408B18 90 BE 00 00 */ stw r5, 0(r30)
|
|
/* 8040BBDC 00408B1C 90 9E 00 00 */ stw r4, 0(r30)
|
|
/* 8040BBE0 00408B20 90 1E 00 1C */ stw r0, 0x1c(r30)
|
|
/* 8040BBE4 00408B24 90 DE 00 20 */ stw r6, 0x20(r30)
|
|
/* 8040BBE8 00408B28 90 DE 00 24 */ stw r6, 0x24(r30)
|
|
/* 8040BBEC 00408B2C 90 DE 00 28 */ stw r6, 0x28(r30)
|
|
/* 8040BBF0 00408B30 98 DE 00 2C */ stb r6, 0x2c(r30)
|
|
/* 8040BBF4 00408B34 9B FE 00 2D */ stb r31, 0x2d(r30)
|
|
/* 8040BBF8 00408B38 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8040BBFC 00408B3C 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8040BC00 00408B40 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8040BC04 00408B44 7C 08 03 A6 */ mtlr r0
|
|
/* 8040BC08 00408B48 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8040BC0C 00408B4C 4E 80 00 20 */ blr
|
|
|
|
.global update__Q32kh6Screen14khUtilFadePaneFv
|
|
update__Q32kh6Screen14khUtilFadePaneFv:
|
|
/* 8040BC10 00408B50 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8040BC14 00408B54 7C 08 02 A6 */ mflr r0
|
|
/* 8040BC18 00408B58 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8040BC1C 00408B5C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8040BC20 00408B60 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8040BC24 00408B64 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8040BC28 00408B68 80 03 00 28 */ lwz r0, 0x28(r3)
|
|
/* 8040BC2C 00408B6C 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 8040BC30 00408B70 41 82 00 A0 */ beq .L_8040BCD0
|
|
/* 8040BC34 00408B74 40 80 00 10 */ bge .L_8040BC44
|
|
/* 8040BC38 00408B78 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8040BC3C 00408B7C 40 80 00 14 */ bge .L_8040BC50
|
|
/* 8040BC40 00408B80 48 00 00 90 */ b .L_8040BCD0
|
|
.L_8040BC44:
|
|
/* 8040BC44 00408B84 2C 00 00 03 */ cmpwi r0, 3
|
|
/* 8040BC48 00408B88 40 80 00 88 */ bge .L_8040BCD0
|
|
/* 8040BC4C 00408B8C 48 00 00 48 */ b .L_8040BC94
|
|
.L_8040BC50:
|
|
/* 8040BC50 00408B90 88 BE 00 2D */ lbz r5, 0x2d(r30)
|
|
/* 8040BC54 00408B94 88 9E 00 2C */ lbz r4, 0x2c(r30)
|
|
/* 8040BC58 00408B98 20 05 00 FF */ subfic r0, r5, 0xff
|
|
/* 8040BC5C 00408B9C 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8040BC60 00408BA0 40 81 00 28 */ ble .L_8040BC88
|
|
/* 8040BC64 00408BA4 38 80 00 FF */ li r4, 0xff
|
|
/* 8040BC68 00408BA8 38 00 00 01 */ li r0, 1
|
|
/* 8040BC6C 00408BAC 98 9E 00 2C */ stb r4, 0x2c(r30)
|
|
/* 8040BC70 00408BB0 90 1E 00 28 */ stw r0, 0x28(r30)
|
|
/* 8040BC74 00408BB4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040BC78 00408BB8 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8040BC7C 00408BBC 7D 89 03 A6 */ mtctr r12
|
|
/* 8040BC80 00408BC0 4E 80 04 21 */ bctrl
|
|
/* 8040BC84 00408BC4 48 00 00 4C */ b .L_8040BCD0
|
|
.L_8040BC88:
|
|
/* 8040BC88 00408BC8 7C 04 2A 14 */ add r0, r4, r5
|
|
/* 8040BC8C 00408BCC 98 1E 00 2C */ stb r0, 0x2c(r30)
|
|
/* 8040BC90 00408BD0 48 00 00 40 */ b .L_8040BCD0
|
|
.L_8040BC94:
|
|
/* 8040BC94 00408BD4 88 1E 00 2C */ lbz r0, 0x2c(r30)
|
|
/* 8040BC98 00408BD8 88 9E 00 2D */ lbz r4, 0x2d(r30)
|
|
/* 8040BC9C 00408BDC 7C 00 20 40 */ cmplw r0, r4
|
|
/* 8040BCA0 00408BE0 40 80 00 28 */ bge .L_8040BCC8
|
|
/* 8040BCA4 00408BE4 38 80 00 00 */ li r4, 0
|
|
/* 8040BCA8 00408BE8 38 00 00 03 */ li r0, 3
|
|
/* 8040BCAC 00408BEC 98 9E 00 2C */ stb r4, 0x2c(r30)
|
|
/* 8040BCB0 00408BF0 90 1E 00 28 */ stw r0, 0x28(r30)
|
|
/* 8040BCB4 00408BF4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040BCB8 00408BF8 81 8C 00 20 */ lwz r12, 0x20(r12)
|
|
/* 8040BCBC 00408BFC 7D 89 03 A6 */ mtctr r12
|
|
/* 8040BCC0 00408C00 4E 80 04 21 */ bctrl
|
|
/* 8040BCC4 00408C04 48 00 00 0C */ b .L_8040BCD0
|
|
.L_8040BCC8:
|
|
/* 8040BCC8 00408C08 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 8040BCCC 00408C0C 98 1E 00 2C */ stb r0, 0x2c(r30)
|
|
.L_8040BCD0:
|
|
/* 8040BCD0 00408C10 83 FE 00 24 */ lwz r31, 0x24(r30)
|
|
/* 8040BCD4 00408C14 48 00 00 20 */ b .L_8040BCF4
|
|
.L_8040BCD8:
|
|
/* 8040BCD8 00408C18 80 7F 00 04 */ lwz r3, 4(r31)
|
|
/* 8040BCDC 00408C1C 88 9E 00 2C */ lbz r4, 0x2c(r30)
|
|
/* 8040BCE0 00408C20 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040BCE4 00408C24 81 8C 00 24 */ lwz r12, 0x24(r12)
|
|
/* 8040BCE8 00408C28 7D 89 03 A6 */ mtctr r12
|
|
/* 8040BCEC 00408C2C 4E 80 04 21 */ bctrl
|
|
/* 8040BCF0 00408C30 83 FF 00 08 */ lwz r31, 8(r31)
|
|
.L_8040BCF4:
|
|
/* 8040BCF4 00408C34 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8040BCF8 00408C38 40 82 FF E0 */ bne .L_8040BCD8
|
|
/* 8040BCFC 00408C3C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8040BD00 00408C40 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8040BD04 00408C44 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8040BD08 00408C48 7C 08 03 A6 */ mtlr r0
|
|
/* 8040BD0C 00408C4C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8040BD10 00408C50 4E 80 00 20 */ blr
|
|
|
|
.global fadeout_finish__Q32kh6Screen14khUtilFadePaneFv
|
|
fadeout_finish__Q32kh6Screen14khUtilFadePaneFv:
|
|
/* 8040BD14 00408C54 4E 80 00 20 */ blr
|
|
|
|
.global add__Q32kh6Screen14khUtilFadePaneFP7J2DPane
|
|
add__Q32kh6Screen14khUtilFadePaneFP7J2DPane:
|
|
/* 8040BD18 00408C58 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8040BD1C 00408C5C 7C 08 02 A6 */ mflr r0
|
|
/* 8040BD20 00408C60 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8040BD24 00408C64 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8040BD28 00408C68 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8040BD2C 00408C6C 3B C0 00 00 */ li r30, 0
|
|
/* 8040BD30 00408C70 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8040BD34 00408C74 7C 9D 23 79 */ or. r29, r4, r4
|
|
/* 8040BD38 00408C78 41 82 00 78 */ beq .L_8040BDB0
|
|
/* 8040BD3C 00408C7C 3B C3 00 1C */ addi r30, r3, 0x1c
|
|
/* 8040BD40 00408C80 48 00 00 08 */ b .L_8040BD48
|
|
.L_8040BD44:
|
|
/* 8040BD44 00408C84 7C 1E 03 78 */ mr r30, r0
|
|
.L_8040BD48:
|
|
/* 8040BD48 00408C88 80 1E 00 08 */ lwz r0, 8(r30)
|
|
/* 8040BD4C 00408C8C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8040BD50 00408C90 40 82 FF F4 */ bne .L_8040BD44
|
|
/* 8040BD54 00408C94 38 60 00 0C */ li r3, 0xc
|
|
/* 8040BD58 00408C98 4B C1 81 4D */ bl __nw__FUl
|
|
/* 8040BD5C 00408C9C 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 8040BD60 00408CA0 41 82 00 1C */ beq .L_8040BD7C
|
|
/* 8040BD64 00408CA4 3C 60 80 4F */ lis r3, __vt__Q42kh6Screen14khUtilFadePane10khPaneNode@ha
|
|
/* 8040BD68 00408CA8 38 00 00 00 */ li r0, 0
|
|
/* 8040BD6C 00408CAC 38 63 A5 50 */ addi r3, r3, __vt__Q42kh6Screen14khUtilFadePane10khPaneNode@l
|
|
/* 8040BD70 00408CB0 90 7F 00 00 */ stw r3, 0(r31)
|
|
/* 8040BD74 00408CB4 93 BF 00 04 */ stw r29, 4(r31)
|
|
/* 8040BD78 00408CB8 90 1F 00 08 */ stw r0, 8(r31)
|
|
.L_8040BD7C:
|
|
/* 8040BD7C 00408CBC 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8040BD80 00408CC0 40 82 00 20 */ bne .L_8040BDA0
|
|
/* 8040BD84 00408CC4 3C 60 80 4A */ lis r3, lbl_80498CC8@ha
|
|
/* 8040BD88 00408CC8 3C A0 80 4A */ lis r5, lbl_80498CBC@ha
|
|
/* 8040BD8C 00408CCC 38 63 8C C8 */ addi r3, r3, lbl_80498CC8@l
|
|
/* 8040BD90 00408CD0 38 80 00 40 */ li r4, 0x40
|
|
/* 8040BD94 00408CD4 38 A5 8C BC */ addi r5, r5, lbl_80498CBC@l
|
|
/* 8040BD98 00408CD8 4C C6 31 82 */ crclr 6
|
|
/* 8040BD9C 00408CDC 4B C1 E8 A5 */ bl panic_f__12JUTExceptionFPCciPCce
|
|
.L_8040BDA0:
|
|
/* 8040BDA0 00408CE0 93 FE 00 08 */ stw r31, 8(r30)
|
|
/* 8040BDA4 00408CE4 7F A3 EB 78 */ mr r3, r29
|
|
/* 8040BDA8 00408CE8 3B C0 00 01 */ li r30, 1
|
|
/* 8040BDAC 00408CEC 4B FF F9 45 */ bl setInfAlpha__Q22kh6ScreenFP7J2DPane
|
|
.L_8040BDB0:
|
|
/* 8040BDB0 00408CF0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8040BDB4 00408CF4 7F C3 F3 78 */ mr r3, r30
|
|
/* 8040BDB8 00408CF8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8040BDBC 00408CFC 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8040BDC0 00408D00 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8040BDC4 00408D04 7C 08 03 A6 */ mtlr r0
|
|
/* 8040BDC8 00408D08 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8040BDCC 00408D0C 4E 80 00 20 */ blr
|
|
|
|
.global fadein__Q32kh6Screen14khUtilFadePaneFv
|
|
fadein__Q32kh6Screen14khUtilFadePaneFv:
|
|
/* 8040BDD0 00408D10 80 03 00 28 */ lwz r0, 0x28(r3)
|
|
/* 8040BDD4 00408D14 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 8040BDD8 00408D18 41 82 00 0C */ beq .L_8040BDE4
|
|
/* 8040BDDC 00408D1C 2C 00 00 03 */ cmpwi r0, 3
|
|
/* 8040BDE0 00408D20 4C 82 00 20 */ bnelr
|
|
.L_8040BDE4:
|
|
/* 8040BDE4 00408D24 38 00 00 00 */ li r0, 0
|
|
/* 8040BDE8 00408D28 90 03 00 28 */ stw r0, 0x28(r3)
|
|
/* 8040BDEC 00408D2C 4E 80 00 20 */ blr
|
|
|
|
.global fadeout__Q32kh6Screen14khUtilFadePaneFv
|
|
fadeout__Q32kh6Screen14khUtilFadePaneFv:
|
|
/* 8040BDF0 00408D30 80 03 00 28 */ lwz r0, 0x28(r3)
|
|
/* 8040BDF4 00408D34 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8040BDF8 00408D38 41 82 00 0C */ beq .L_8040BE04
|
|
/* 8040BDFC 00408D3C 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 8040BE00 00408D40 4C 82 00 20 */ bnelr
|
|
.L_8040BE04:
|
|
/* 8040BE04 00408D44 38 00 00 02 */ li r0, 2
|
|
/* 8040BE08 00408D48 90 03 00 28 */ stw r0, 0x28(r3)
|
|
/* 8040BE0C 00408D4C 4E 80 00 20 */ blr
|
|
|
|
.global set_init_alpha__Q32kh6Screen14khUtilFadePaneFUc
|
|
set_init_alpha__Q32kh6Screen14khUtilFadePaneFUc:
|
|
/* 8040BE10 00408D50 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8040BE14 00408D54 7C 08 02 A6 */ mflr r0
|
|
/* 8040BE18 00408D58 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8040BE1C 00408D5C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8040BE20 00408D60 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8040BE24 00408D64 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8040BE28 00408D68 98 83 00 2C */ stb r4, 0x2c(r3)
|
|
/* 8040BE2C 00408D6C 83 E3 00 24 */ lwz r31, 0x24(r3)
|
|
/* 8040BE30 00408D70 48 00 00 20 */ b .L_8040BE50
|
|
.L_8040BE34:
|
|
/* 8040BE34 00408D74 80 7F 00 04 */ lwz r3, 4(r31)
|
|
/* 8040BE38 00408D78 88 9E 00 2C */ lbz r4, 0x2c(r30)
|
|
/* 8040BE3C 00408D7C 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040BE40 00408D80 81 8C 00 24 */ lwz r12, 0x24(r12)
|
|
/* 8040BE44 00408D84 7D 89 03 A6 */ mtctr r12
|
|
/* 8040BE48 00408D88 4E 80 04 21 */ bctrl
|
|
/* 8040BE4C 00408D8C 83 FF 00 08 */ lwz r31, 8(r31)
|
|
.L_8040BE50:
|
|
/* 8040BE50 00408D90 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8040BE54 00408D94 40 82 FF E0 */ bne .L_8040BE34
|
|
/* 8040BE58 00408D98 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8040BE5C 00408D9C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8040BE60 00408DA0 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8040BE64 00408DA4 7C 08 03 A6 */ mtlr r0
|
|
/* 8040BE68 00408DA8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8040BE6C 00408DAC 4E 80 00 20 */ blr
|
|
|
|
.global __ct__Q32kh6Screen14khUtilColorAnmFPQ29P2DScreen3MgrUxii
|
|
__ct__Q32kh6Screen14khUtilColorAnmFPQ29P2DScreen3MgrUxii:
|
|
/* 8040BE70 00408DB0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8040BE74 00408DB4 7C 08 02 A6 */ mflr r0
|
|
/* 8040BE78 00408DB8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8040BE7C 00408DBC BF 21 00 14 */ stmw r25, 0x14(r1)
|
|
/* 8040BE80 00408DC0 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8040BE84 00408DC4 7F 80 E3 78 */ mr r0, r28
|
|
/* 8040BE88 00408DC8 7C 9D 23 78 */ mr r29, r4
|
|
/* 8040BE8C 00408DCC 7C BF 2B 78 */ mr r31, r5
|
|
/* 8040BE90 00408DD0 7C DE 33 78 */ mr r30, r6
|
|
/* 8040BE94 00408DD4 7C FA 3B 78 */ mr r26, r7
|
|
/* 8040BE98 00408DD8 7D 1B 43 78 */ mr r27, r8
|
|
/* 8040BE9C 00408DDC 7C 19 03 78 */ mr r25, r0
|
|
/* 8040BEA0 00408DE0 48 00 54 F1 */ bl __ct__5CNodeFv
|
|
/* 8040BEA4 00408DE4 3C 60 80 4D */ lis r3, __vt__Q29P2DScreen4Node@ha
|
|
/* 8040BEA8 00408DE8 3C 80 80 4D */ lis r4, __vt__Q29P2DScreen12CallBackNode@ha
|
|
/* 8040BEAC 00408DEC 38 03 7B 0C */ addi r0, r3, __vt__Q29P2DScreen4Node@l
|
|
/* 8040BEB0 00408DF0 3C 60 80 4F */ lis r3, __vt__Q32kh6Screen14khUtilColorAnm@ha
|
|
/* 8040BEB4 00408DF4 90 19 00 00 */ stw r0, 0(r25)
|
|
/* 8040BEB8 00408DF8 38 A0 00 00 */ li r5, 0
|
|
/* 8040BEBC 00408DFC 38 84 7F 2C */ addi r4, r4, __vt__Q29P2DScreen12CallBackNode@l
|
|
/* 8040BEC0 00408E00 38 63 B1 B8 */ addi r3, r3, __vt__Q32kh6Screen14khUtilColorAnm@l
|
|
/* 8040BEC4 00408E04 90 B9 00 18 */ stw r5, 0x18(r25)
|
|
/* 8040BEC8 00408E08 38 00 FF FF */ li r0, -1
|
|
/* 8040BECC 00408E0C 90 99 00 00 */ stw r4, 0(r25)
|
|
/* 8040BED0 00408E10 90 7C 00 00 */ stw r3, 0(r28)
|
|
/* 8040BED4 00408E14 90 1C 00 20 */ stw r0, 0x20(r28)
|
|
/* 8040BED8 00408E18 90 1C 00 24 */ stw r0, 0x24(r28)
|
|
/* 8040BEDC 00408E1C 93 5C 00 28 */ stw r26, 0x28(r28)
|
|
/* 8040BEE0 00408E20 93 7C 00 2C */ stw r27, 0x2c(r28)
|
|
/* 8040BEE4 00408E24 90 BC 00 30 */ stw r5, 0x30(r28)
|
|
/* 8040BEE8 00408E28 98 BC 00 20 */ stb r5, 0x20(r28)
|
|
/* 8040BEEC 00408E2C 98 BC 00 21 */ stb r5, 0x21(r28)
|
|
/* 8040BEF0 00408E30 98 BC 00 22 */ stb r5, 0x22(r28)
|
|
/* 8040BEF4 00408E34 98 BC 00 23 */ stb r5, 0x23(r28)
|
|
/* 8040BEF8 00408E38 83 7C 00 28 */ lwz r27, 0x28(r28)
|
|
/* 8040BEFC 00408E3C 57 63 10 3A */ slwi r3, r27, 2
|
|
/* 8040BF00 00408E40 38 63 00 10 */ addi r3, r3, 0x10
|
|
/* 8040BF04 00408E44 4B C1 80 A9 */ bl __nwa__FUl
|
|
/* 8040BF08 00408E48 3C 80 80 04 */ lis r4, __ct__Q28JUtility6TColorFv@ha
|
|
/* 8040BF0C 00408E4C 7F 67 DB 78 */ mr r7, r27
|
|
/* 8040BF10 00408E50 38 84 9B 94 */ addi r4, r4, __ct__Q28JUtility6TColorFv@l
|
|
/* 8040BF14 00408E54 38 A0 00 00 */ li r5, 0
|
|
/* 8040BF18 00408E58 38 C0 00 04 */ li r6, 4
|
|
/* 8040BF1C 00408E5C 4B CB 5A D5 */ bl __construct_new_array
|
|
/* 8040BF20 00408E60 39 00 00 00 */ li r8, 0
|
|
/* 8040BF24 00408E64 90 7C 00 1C */ stw r3, 0x1c(r28)
|
|
/* 8040BF28 00408E68 7D 06 43 78 */ mr r6, r8
|
|
/* 8040BF2C 00408E6C 39 20 00 00 */ li r9, 0
|
|
/* 8040BF30 00408E70 7D 05 43 78 */ mr r5, r8
|
|
/* 8040BF34 00408E74 7D 04 43 78 */ mr r4, r8
|
|
/* 8040BF38 00408E78 7D 03 43 78 */ mr r3, r8
|
|
/* 8040BF3C 00408E7C 48 00 00 24 */ b .L_8040BF60
|
|
.L_8040BF40:
|
|
/* 8040BF40 00408E80 80 1C 00 1C */ lwz r0, 0x1c(r28)
|
|
/* 8040BF44 00408E84 39 29 00 01 */ addi r9, r9, 1
|
|
/* 8040BF48 00408E88 7C E0 42 14 */ add r7, r0, r8
|
|
/* 8040BF4C 00408E8C 39 08 00 04 */ addi r8, r8, 4
|
|
/* 8040BF50 00408E90 98 C7 00 00 */ stb r6, 0(r7)
|
|
/* 8040BF54 00408E94 98 A7 00 01 */ stb r5, 1(r7)
|
|
/* 8040BF58 00408E98 98 87 00 02 */ stb r4, 2(r7)
|
|
/* 8040BF5C 00408E9C 98 67 00 03 */ stb r3, 3(r7)
|
|
.L_8040BF60:
|
|
/* 8040BF60 00408EA0 80 1C 00 28 */ lwz r0, 0x28(r28)
|
|
/* 8040BF64 00408EA4 7C 09 00 00 */ cmpw r9, r0
|
|
/* 8040BF68 00408EA8 41 80 FF D8 */ blt .L_8040BF40
|
|
/* 8040BF6C 00408EAC 88 7C 00 20 */ lbz r3, 0x20(r28)
|
|
/* 8040BF70 00408EB0 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 8040BF74 00408EB4 38 00 00 00 */ li r0, 0
|
|
/* 8040BF78 00408EB8 98 7C 00 24 */ stb r3, 0x24(r28)
|
|
/* 8040BF7C 00408EBC 88 7C 00 21 */ lbz r3, 0x21(r28)
|
|
/* 8040BF80 00408EC0 98 7C 00 25 */ stb r3, 0x25(r28)
|
|
/* 8040BF84 00408EC4 88 7C 00 22 */ lbz r3, 0x22(r28)
|
|
/* 8040BF88 00408EC8 98 7C 00 26 */ stb r3, 0x26(r28)
|
|
/* 8040BF8C 00408ECC 88 7C 00 23 */ lbz r3, 0x23(r28)
|
|
/* 8040BF90 00408ED0 98 7C 00 27 */ stb r3, 0x27(r28)
|
|
/* 8040BF94 00408ED4 98 1C 00 34 */ stb r0, 0x34(r28)
|
|
/* 8040BF98 00408ED8 41 82 00 18 */ beq .L_8040BFB0
|
|
/* 8040BF9C 00408EDC 7F A3 EB 78 */ mr r3, r29
|
|
/* 8040BFA0 00408EE0 7F C6 F3 78 */ mr r6, r30
|
|
/* 8040BFA4 00408EE4 7F E5 FB 78 */ mr r5, r31
|
|
/* 8040BFA8 00408EE8 7F 87 E3 78 */ mr r7, r28
|
|
/* 8040BFAC 00408EEC 48 02 8B 79 */ bl addCallBack__Q29P2DScreen3MgrFUxPQ29P2DScreen4Node
|
|
.L_8040BFB0:
|
|
/* 8040BFB0 00408EF0 7F 83 E3 78 */ mr r3, r28
|
|
/* 8040BFB4 00408EF4 BB 21 00 14 */ lmw r25, 0x14(r1)
|
|
/* 8040BFB8 00408EF8 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8040BFBC 00408EFC 7C 08 03 A6 */ mtlr r0
|
|
/* 8040BFC0 00408F00 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8040BFC4 00408F04 4E 80 00 20 */ blr
|
|
|
|
.global update__Q32kh6Screen14khUtilColorAnmFv
|
|
update__Q32kh6Screen14khUtilColorAnmFv:
|
|
/* 8040BFC8 00408F08 94 21 FF 70 */ stwu r1, -0x90(r1)
|
|
/* 8040BFCC 00408F0C 7C 08 02 A6 */ mflr r0
|
|
/* 8040BFD0 00408F10 90 01 00 94 */ stw r0, 0x94(r1)
|
|
/* 8040BFD4 00408F14 88 03 00 34 */ lbz r0, 0x34(r3)
|
|
/* 8040BFD8 00408F18 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8040BFDC 00408F1C 41 82 01 C0 */ beq .L_8040C19C
|
|
/* 8040BFE0 00408F20 80 83 00 28 */ lwz r4, 0x28(r3)
|
|
/* 8040BFE4 00408F24 3C C0 43 30 */ lis r6, 0x4330
|
|
/* 8040BFE8 00408F28 80 A3 00 30 */ lwz r5, 0x30(r3)
|
|
/* 8040BFEC 00408F2C 38 84 FF FF */ addi r4, r4, -1
|
|
/* 8040BFF0 00408F30 80 03 00 2C */ lwz r0, 0x2c(r3)
|
|
/* 8040BFF4 00408F34 7C 85 21 D6 */ mullw r4, r5, r4
|
|
/* 8040BFF8 00408F38 90 C1 00 10 */ stw r6, 0x10(r1)
|
|
/* 8040BFFC 00408F3C 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
/* 8040C000 00408F40 C8 62 1E 28 */ lfd f3, lbl_80520188@sda21(r2)
|
|
/* 8040C004 00408F44 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 8040C008 00408F48 81 03 00 1C */ lwz r8, 0x1c(r3)
|
|
/* 8040C00C 00408F4C 6C 80 80 00 */ xoris r0, r4, 0x8000
|
|
/* 8040C010 00408F50 90 C1 00 18 */ stw r6, 0x18(r1)
|
|
/* 8040C014 00408F54 C8 C2 1E 30 */ lfd f6, lbl_80520190@sda21(r2)
|
|
/* 8040C018 00408F58 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8040C01C 00408F5C C8 01 00 18 */ lfd f0, 0x18(r1)
|
|
/* 8040C020 00408F60 C8 21 00 10 */ lfd f1, 0x10(r1)
|
|
/* 8040C024 00408F64 EC 00 18 28 */ fsubs f0, f0, f3
|
|
/* 8040C028 00408F68 90 C1 00 28 */ stw r6, 0x28(r1)
|
|
/* 8040C02C 00408F6C EC 41 18 28 */ fsubs f2, f1, f3
|
|
/* 8040C030 00408F70 C0 22 1E 24 */ lfs f1, lbl_80520184@sda21(r2)
|
|
/* 8040C034 00408F74 90 C1 00 38 */ stw r6, 0x38(r1)
|
|
/* 8040C038 00408F78 ED 02 00 24 */ fdivs f8, f2, f0
|
|
/* 8040C03C 00408F7C 90 C1 00 50 */ stw r6, 0x50(r1)
|
|
/* 8040C040 00408F80 90 C1 00 30 */ stw r6, 0x30(r1)
|
|
/* 8040C044 00408F84 90 C1 00 68 */ stw r6, 0x68(r1)
|
|
/* 8040C048 00408F88 90 C1 00 48 */ stw r6, 0x48(r1)
|
|
/* 8040C04C 00408F8C 90 C1 00 60 */ stw r6, 0x60(r1)
|
|
/* 8040C050 00408F90 FC 00 40 1E */ fctiwz f0, f8
|
|
/* 8040C054 00408F94 D8 01 00 20 */ stfd f0, 0x20(r1)
|
|
/* 8040C058 00408F98 80 E1 00 24 */ lwz r7, 0x24(r1)
|
|
/* 8040C05C 00408F9C 38 07 00 01 */ addi r0, r7, 1
|
|
/* 8040C060 00408FA0 54 E5 10 3A */ slwi r5, r7, 2
|
|
/* 8040C064 00408FA4 54 04 10 3A */ slwi r4, r0, 2
|
|
/* 8040C068 00408FA8 6C E0 80 00 */ xoris r0, r7, 0x8000
|
|
/* 8040C06C 00408FAC 7C 88 20 2E */ lwzx r4, r8, r4
|
|
/* 8040C070 00408FB0 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 8040C074 00408FB4 7C 08 28 2E */ lwzx r0, r8, r5
|
|
/* 8040C078 00408FB8 90 81 00 08 */ stw r4, 8(r1)
|
|
/* 8040C07C 00408FBC C8 01 00 28 */ lfd f0, 0x28(r1)
|
|
/* 8040C080 00408FC0 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 8040C084 00408FC4 88 81 00 08 */ lbz r4, 8(r1)
|
|
/* 8040C088 00408FC8 EC 00 18 28 */ fsubs f0, f0, f3
|
|
/* 8040C08C 00408FCC 88 01 00 09 */ lbz r0, 9(r1)
|
|
/* 8040C090 00408FD0 90 81 00 3C */ stw r4, 0x3c(r1)
|
|
/* 8040C094 00408FD4 88 81 00 0C */ lbz r4, 0xc(r1)
|
|
/* 8040C098 00408FD8 ED 08 00 28 */ fsubs f8, f8, f0
|
|
/* 8040C09C 00408FDC 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 8040C0A0 00408FE0 C8 01 00 38 */ lfd f0, 0x38(r1)
|
|
/* 8040C0A4 00408FE4 88 01 00 0A */ lbz r0, 0xa(r1)
|
|
/* 8040C0A8 00408FE8 EC E1 40 28 */ fsubs f7, f1, f8
|
|
/* 8040C0AC 00408FEC 90 81 00 34 */ stw r4, 0x34(r1)
|
|
/* 8040C0B0 00408FF0 EC 20 30 28 */ fsubs f1, f0, f6
|
|
/* 8040C0B4 00408FF4 88 81 00 0D */ lbz r4, 0xd(r1)
|
|
/* 8040C0B8 00408FF8 90 01 00 6C */ stw r0, 0x6c(r1)
|
|
/* 8040C0BC 00408FFC C8 01 00 50 */ lfd f0, 0x50(r1)
|
|
/* 8040C0C0 00409000 EC 81 02 32 */ fmuls f4, f1, f8
|
|
/* 8040C0C4 00409004 90 81 00 4C */ stw r4, 0x4c(r1)
|
|
/* 8040C0C8 00409008 C8 41 00 30 */ lfd f2, 0x30(r1)
|
|
/* 8040C0CC 0040900C EC 20 30 28 */ fsubs f1, f0, f6
|
|
/* 8040C0D0 00409010 88 01 00 0E */ lbz r0, 0xe(r1)
|
|
/* 8040C0D4 00409014 C8 01 00 68 */ lfd f0, 0x68(r1)
|
|
/* 8040C0D8 00409018 EC A2 30 28 */ fsubs f5, f2, f6
|
|
/* 8040C0DC 0040901C 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8040C0E0 00409020 EC 41 02 32 */ fmuls f2, f1, f8
|
|
/* 8040C0E4 00409024 C8 61 00 48 */ lfd f3, 0x48(r1)
|
|
/* 8040C0E8 00409028 EC 00 30 28 */ fsubs f0, f0, f6
|
|
/* 8040C0EC 0040902C C8 21 00 60 */ lfd f1, 0x60(r1)
|
|
/* 8040C0F0 00409030 EC 63 30 28 */ fsubs f3, f3, f6
|
|
/* 8040C0F4 00409034 EC 85 21 FA */ fmadds f4, f5, f7, f4
|
|
/* 8040C0F8 00409038 EC 21 30 28 */ fsubs f1, f1, f6
|
|
/* 8040C0FC 0040903C EC 00 02 32 */ fmuls f0, f0, f8
|
|
/* 8040C100 00409040 EC 43 11 FA */ fmadds f2, f3, f7, f2
|
|
/* 8040C104 00409044 FC 60 20 1E */ fctiwz f3, f4
|
|
/* 8040C108 00409048 EC 01 01 FA */ fmadds f0, f1, f7, f0
|
|
/* 8040C10C 0040904C FC 20 10 1E */ fctiwz f1, f2
|
|
/* 8040C110 00409050 D8 61 00 40 */ stfd f3, 0x40(r1)
|
|
/* 8040C114 00409054 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 8040C118 00409058 D8 21 00 58 */ stfd f1, 0x58(r1)
|
|
/* 8040C11C 0040905C 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 8040C120 00409060 D8 01 00 70 */ stfd f0, 0x70(r1)
|
|
/* 8040C124 00409064 80 81 00 5C */ lwz r4, 0x5c(r1)
|
|
/* 8040C128 00409068 98 03 00 20 */ stb r0, 0x20(r3)
|
|
/* 8040C12C 0040906C 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 8040C130 00409070 98 83 00 21 */ stb r4, 0x21(r3)
|
|
/* 8040C134 00409074 98 03 00 22 */ stb r0, 0x22(r3)
|
|
/* 8040C138 00409078 88 01 00 0B */ lbz r0, 0xb(r1)
|
|
/* 8040C13C 0040907C 88 81 00 0F */ lbz r4, 0xf(r1)
|
|
/* 8040C140 00409080 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8040C144 00409084 90 C1 00 80 */ stw r6, 0x80(r1)
|
|
/* 8040C148 00409088 C8 01 00 80 */ lfd f0, 0x80(r1)
|
|
/* 8040C14C 0040908C 90 81 00 7C */ stw r4, 0x7c(r1)
|
|
/* 8040C150 00409090 EC 00 30 28 */ fsubs f0, f0, f6
|
|
/* 8040C154 00409094 90 C1 00 78 */ stw r6, 0x78(r1)
|
|
/* 8040C158 00409098 C8 21 00 78 */ lfd f1, 0x78(r1)
|
|
/* 8040C15C 0040909C EC 00 02 32 */ fmuls f0, f0, f8
|
|
/* 8040C160 004090A0 EC 21 30 28 */ fsubs f1, f1, f6
|
|
/* 8040C164 004090A4 EC 01 01 FA */ fmadds f0, f1, f7, f0
|
|
/* 8040C168 004090A8 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 8040C16C 004090AC D8 01 00 88 */ stfd f0, 0x88(r1)
|
|
/* 8040C170 004090B0 80 01 00 8C */ lwz r0, 0x8c(r1)
|
|
/* 8040C174 004090B4 98 03 00 23 */ stb r0, 0x23(r3)
|
|
/* 8040C178 004090B8 80 83 00 30 */ lwz r4, 0x30(r3)
|
|
/* 8040C17C 004090BC 38 84 00 01 */ addi r4, r4, 1
|
|
/* 8040C180 004090C0 90 83 00 30 */ stw r4, 0x30(r3)
|
|
/* 8040C184 004090C4 80 03 00 2C */ lwz r0, 0x2c(r3)
|
|
/* 8040C188 004090C8 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8040C18C 004090CC 41 80 00 38 */ blt .L_8040C1C4
|
|
/* 8040C190 004090D0 38 00 00 00 */ li r0, 0
|
|
/* 8040C194 004090D4 90 03 00 30 */ stw r0, 0x30(r3)
|
|
/* 8040C198 004090D8 48 00 00 2C */ b .L_8040C1C4
|
|
.L_8040C19C:
|
|
/* 8040C19C 004090DC 88 83 00 24 */ lbz r4, 0x24(r3)
|
|
/* 8040C1A0 004090E0 38 00 00 00 */ li r0, 0
|
|
/* 8040C1A4 004090E4 98 83 00 20 */ stb r4, 0x20(r3)
|
|
/* 8040C1A8 004090E8 88 83 00 25 */ lbz r4, 0x25(r3)
|
|
/* 8040C1AC 004090EC 98 83 00 21 */ stb r4, 0x21(r3)
|
|
/* 8040C1B0 004090F0 88 83 00 26 */ lbz r4, 0x26(r3)
|
|
/* 8040C1B4 004090F4 98 83 00 22 */ stb r4, 0x22(r3)
|
|
/* 8040C1B8 004090F8 88 83 00 27 */ lbz r4, 0x27(r3)
|
|
/* 8040C1BC 004090FC 98 83 00 23 */ stb r4, 0x23(r3)
|
|
/* 8040C1C0 00409100 90 03 00 30 */ stw r0, 0x30(r3)
|
|
.L_8040C1C4:
|
|
/* 8040C1C4 00409104 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8040C1C8 00409108 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8040C1CC 0040910C 7D 89 03 A6 */ mtctr r12
|
|
/* 8040C1D0 00409110 4E 80 04 21 */ bctrl
|
|
/* 8040C1D4 00409114 80 01 00 94 */ lwz r0, 0x94(r1)
|
|
/* 8040C1D8 00409118 7C 08 03 A6 */ mtlr r0
|
|
/* 8040C1DC 0040911C 38 21 00 90 */ addi r1, r1, 0x90
|
|
/* 8040C1E0 00409120 4E 80 00 20 */ blr
|
|
|
|
.global do_update__Q32kh6Screen14khUtilColorAnmFv
|
|
do_update__Q32kh6Screen14khUtilColorAnmFv:
|
|
/* 8040C1E4 00409124 4E 80 00 20 */ blr
|