donut-decomp/asm/homebuttonLib/HBMBase.s

12353 lines
520 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global initgx__10homebuttonFv
initgx__10homebuttonFv:
/* 8012C410 00128250 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8012C414 00128254 7C 08 02 A6 */ mflr r0
/* 8012C418 00128258 38 60 00 00 */ li r3, 0x0
/* 8012C41C 0012825C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8012C420 00128260 4B F0 91 41 */ bl GXSetCullMode
/* 8012C424 00128264 38 61 00 08 */ addi r3, r1, 0x8
/* 8012C428 00128268 4B F0 40 B9 */ bl PSMTXIdentity
/* 8012C42C 0012826C 38 61 00 08 */ addi r3, r1, 0x8
/* 8012C430 00128270 38 80 00 00 */ li r4, 0x0
/* 8012C434 00128274 4B F0 C7 ED */ bl GXLoadPosMtxImm
/* 8012C438 00128278 38 60 00 00 */ li r3, 0x0
/* 8012C43C 0012827C 4B F0 C9 05 */ bl GXSetCurrentMtx
/* 8012C440 00128280 4B F0 79 71 */ bl GXClearVtxDesc
/* 8012C444 00128284 38 60 00 09 */ li r3, 0x9
/* 8012C448 00128288 38 80 00 01 */ li r4, 0x1
/* 8012C44C 0012828C 4B F0 73 55 */ bl GXSetVtxDesc
/* 8012C450 00128290 38 60 00 00 */ li r3, 0x0
/* 8012C454 00128294 38 80 00 09 */ li r4, 0x9
/* 8012C458 00128298 38 A0 00 00 */ li r5, 0x0
/* 8012C45C 0012829C 38 C0 00 04 */ li r6, 0x4
/* 8012C460 001282A0 38 E0 00 00 */ li r7, 0x0
/* 8012C464 001282A4 4B F0 79 8D */ bl GXSetVtxAttrFmt
/* 8012C468 001282A8 38 60 00 01 */ li r3, 0x1
/* 8012C46C 001282AC 4B F0 A0 75 */ bl GXSetNumChans
/* 8012C470 001282B0 38 60 00 04 */ li r3, 0x4
/* 8012C474 001282B4 38 80 00 00 */ li r4, 0x0
/* 8012C478 001282B8 38 A0 00 00 */ li r5, 0x0
/* 8012C47C 001282BC 38 C0 00 00 */ li r6, 0x0
/* 8012C480 001282C0 38 E0 00 00 */ li r7, 0x0
/* 8012C484 001282C4 39 00 00 00 */ li r8, 0x0
/* 8012C488 001282C8 39 20 00 02 */ li r9, 0x2
/* 8012C48C 001282CC 4B F0 A0 85 */ bl GXSetChanCtrl
/* 8012C490 001282D0 38 60 00 05 */ li r3, 0x5
/* 8012C494 001282D4 38 80 00 00 */ li r4, 0x0
/* 8012C498 001282D8 38 A0 00 00 */ li r5, 0x0
/* 8012C49C 001282DC 38 C0 00 00 */ li r6, 0x0
/* 8012C4A0 001282E0 38 E0 00 00 */ li r7, 0x0
/* 8012C4A4 001282E4 39 00 00 00 */ li r8, 0x0
/* 8012C4A8 001282E8 39 20 00 02 */ li r9, 0x2
/* 8012C4AC 001282EC 4B F0 A0 65 */ bl GXSetChanCtrl
/* 8012C4B0 001282F0 38 60 00 00 */ li r3, 0x0
/* 8012C4B4 001282F4 4B F0 82 2D */ bl GXSetNumTexGens
/* 8012C4B8 001282F8 38 60 00 01 */ li r3, 0x1
/* 8012C4BC 001282FC 4B F0 BD A5 */ bl GXSetNumTevStages
/* 8012C4C0 00128300 38 60 00 00 */ li r3, 0x0
/* 8012C4C4 00128304 38 80 00 FF */ li r4, 0xff
/* 8012C4C8 00128308 38 A0 00 FF */ li r5, 0xff
/* 8012C4CC 0012830C 38 C0 00 FF */ li r6, 0xff
/* 8012C4D0 00128310 4B F0 BC 31 */ bl GXSetTevOrder
/* 8012C4D4 00128314 38 60 00 00 */ li r3, 0x0
/* 8012C4D8 00128318 38 80 00 0F */ li r4, 0xf
/* 8012C4DC 0012831C 38 A0 00 0F */ li r5, 0xf
/* 8012C4E0 00128320 38 C0 00 0F */ li r6, 0xf
/* 8012C4E4 00128324 38 E0 00 02 */ li r7, 0x2
/* 8012C4E8 00128328 4B F0 B7 79 */ bl GXSetTevColorIn
/* 8012C4EC 0012832C 38 60 00 00 */ li r3, 0x0
/* 8012C4F0 00128330 38 80 00 00 */ li r4, 0x0
/* 8012C4F4 00128334 38 A0 00 00 */ li r5, 0x0
/* 8012C4F8 00128338 38 C0 00 00 */ li r6, 0x0
/* 8012C4FC 0012833C 38 E0 00 01 */ li r7, 0x1
/* 8012C500 00128340 39 00 00 00 */ li r8, 0x0
/* 8012C504 00128344 4B F0 B7 DD */ bl GXSetTevColorOp
/* 8012C508 00128348 38 60 00 00 */ li r3, 0x0
/* 8012C50C 0012834C 38 80 00 07 */ li r4, 0x7
/* 8012C510 00128350 38 A0 00 07 */ li r5, 0x7
/* 8012C514 00128354 38 C0 00 07 */ li r6, 0x7
/* 8012C518 00128358 38 E0 00 01 */ li r7, 0x1
/* 8012C51C 0012835C 4B F0 B7 85 */ bl GXSetTevAlphaIn
/* 8012C520 00128360 38 60 00 00 */ li r3, 0x0
/* 8012C524 00128364 38 80 00 00 */ li r4, 0x0
/* 8012C528 00128368 38 A0 00 00 */ li r5, 0x0
/* 8012C52C 0012836C 38 C0 00 00 */ li r6, 0x0
/* 8012C530 00128370 38 E0 00 01 */ li r7, 0x1
/* 8012C534 00128374 39 00 00 00 */ li r8, 0x0
/* 8012C538 00128378 4B F0 B8 09 */ bl GXSetTevAlphaOp
/* 8012C53C 0012837C 38 60 00 07 */ li r3, 0x7
/* 8012C540 00128380 38 80 00 00 */ li r4, 0x0
/* 8012C544 00128384 38 A0 00 01 */ li r5, 0x1
/* 8012C548 00128388 38 C0 00 07 */ li r6, 0x7
/* 8012C54C 0012838C 38 E0 00 00 */ li r7, 0x0
/* 8012C550 00128390 4B F0 BA E1 */ bl GXSetAlphaCompare
/* 8012C554 00128394 38 60 00 01 */ li r3, 0x1
/* 8012C558 00128398 38 80 00 04 */ li r4, 0x4
/* 8012C55C 0012839C 38 A0 00 05 */ li r5, 0x5
/* 8012C560 001283A0 38 C0 00 05 */ li r6, 0x5
/* 8012C564 001283A4 4B F0 C1 CD */ bl GXSetBlendMode
/* 8012C568 001283A8 38 60 00 00 */ li r3, 0x0
/* 8012C56C 001283AC 4B F0 C2 65 */ bl GXSetAlphaUpdate
/* 8012C570 001283B0 38 60 00 00 */ li r3, 0x0
/* 8012C574 001283B4 38 80 00 07 */ li r4, 0x7
/* 8012C578 001283B8 38 A0 00 00 */ li r5, 0x0
/* 8012C57C 001283BC 4B F0 C2 A5 */ bl GXSetZMode
/* 8012C580 001283C0 38 60 00 00 */ li r3, 0x0
/* 8012C584 001283C4 4B F0 95 CD */ bl GXSetDispCopyGamma
/* 8012C588 001283C8 38 60 00 00 */ li r3, 0x0
/* 8012C58C 001283CC 4B F0 B5 65 */ bl GXSetNumIndStages
/* 8012C590 001283D0 38 60 00 00 */ li r3, 0x0
/* 8012C594 001283D4 38 80 00 00 */ li r4, 0x0
/* 8012C598 001283D8 38 A0 00 01 */ li r5, 0x1
/* 8012C59C 001283DC 38 C0 00 02 */ li r6, 0x2
/* 8012C5A0 001283E0 38 E0 00 03 */ li r7, 0x3
/* 8012C5A4 001283E4 4B F0 BA 0D */ bl GXSetTevSwapModeTable
/* 8012C5A8 001283E8 38 60 00 00 */ li r3, 0x0
/* 8012C5AC 001283EC 38 80 00 00 */ li r4, 0x0
/* 8012C5B0 001283F0 38 A0 00 00 */ li r5, 0x0
/* 8012C5B4 001283F4 4B F0 B9 BD */ bl GXSetTevSwapMode
/* 8012C5B8 001283F8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8012C5BC 001283FC 7C 08 03 A6 */ mtlr r0
/* 8012C5C0 00128400 38 21 00 40 */ addi r1, r1, 0x40
/* 8012C5C4 00128404 4E 80 00 20 */ blr
/* 8012C5C8 00128408 00 00 00 00 */ .4byte 0x00000000
/* 8012C5CC 0012840C 00 00 00 00 */ .4byte 0x00000000
.global __ct__Q210homebutton10HomeButtonFPC11HBMDataInfo
__ct__Q210homebutton10HomeButtonFPC11HBMDataInfo:
/* 8012C5D0 00128410 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8012C5D4 00128414 7C 08 02 A6 */ mflr r0
/* 8012C5D8 00128418 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012C5DC 0012841C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8012C5E0 00128420 3B E0 00 00 */ li r31, 0x0
/* 8012C5E4 00128424 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8012C5E8 00128428 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8012C5EC 0012842C 93 81 00 10 */ stw r28, 0x10(r1)
/* 8012C5F0 00128430 7C 7C 1B 78 */ mr r28, r3
/* 8012C5F4 00128434 90 83 00 04 */ stw r4, 0x4(r3)
/* 8012C5F8 00128438 93 E3 00 08 */ stw r31, 0x8(r3)
/* 8012C5FC 0012843C 93 E3 01 D8 */ stw r31, 0x1d8(r3)
/* 8012C600 00128440 93 E3 01 F0 */ stw r31, 0x1f0(r3)
/* 8012C604 00128444 38 63 01 F8 */ addi r3, r3, 0x1f8
/* 8012C608 00128448 48 00 A2 39 */ bl __ct__Q36nw4hbm3lyt8DrawInfoFv
/* 8012C60C 0012844C 38 80 00 01 */ li r4, 0x1
/* 8012C610 00128450 38 00 FF FF */ li r0, -0x1
/* 8012C614 00128454 38 A0 00 1E */ li r5, 0x1e
/* 8012C618 00128458 38 60 00 02 */ li r3, 0x2
/* 8012C61C 0012845C 93 FC 03 F4 */ stw r31, 0x3f4(r28)
/* 8012C620 00128460 3B A0 00 00 */ li r29, 0x0
/* 8012C624 00128464 3B C0 00 00 */ li r30, 0x0
/* 8012C628 00128468 90 BC 03 F8 */ stw r5, 0x3f8(r28)
/* 8012C62C 0012846C 93 FC 03 FC */ stw r31, 0x3fc(r28)
/* 8012C630 00128470 9B FC 04 01 */ stb r31, 0x401(r28)
/* 8012C634 00128474 9B FC 04 02 */ stb r31, 0x402(r28)
/* 8012C638 00128478 9B FC 04 03 */ stb r31, 0x403(r28)
/* 8012C63C 0012847C 98 9C 04 00 */ stb r4, 0x400(r28)
/* 8012C640 00128480 90 9C 05 B8 */ stw r4, 0x5b8(r28)
/* 8012C644 00128484 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012C648 00128488 90 1C 00 B8 */ stw r0, 0xb8(r28)
/* 8012C64C 0012848C 90 1C 00 18 */ stw r0, 0x18(r28)
/* 8012C650 00128490 93 FC 00 1C */ stw r31, 0x1c(r28)
/* 8012C654 00128494 93 FC 00 00 */ stw r31, 0x0(r28)
/* 8012C658 00128498 93 FC 00 68 */ stw r31, 0x68(r28)
/* 8012C65C 0012849C 9B FC 00 8E */ stb r31, 0x8e(r28)
/* 8012C660 001284A0 93 FC 00 6C */ stw r31, 0x6c(r28)
/* 8012C664 001284A4 93 FC 00 70 */ stw r31, 0x70(r28)
/* 8012C668 001284A8 93 FC 00 74 */ stw r31, 0x74(r28)
/* 8012C66C 001284AC 93 FC 00 78 */ stw r31, 0x78(r28)
/* 8012C670 001284B0 9B FC 00 8F */ stb r31, 0x8f(r28)
/* 8012C674 001284B4 9B FC 00 90 */ stb r31, 0x90(r28)
/* 8012C678 001284B8 9B FC 00 97 */ stb r31, 0x97(r28)
.global lbl_8012C67C
lbl_8012C67C:
/* 8012C67C 001284BC 7C 7C F2 14 */ add r3, r28, r30
/* 8012C680 001284C0 38 63 04 08 */ addi r3, r3, 0x408
/* 8012C684 001284C4 4B EE F1 7D */ bl OSCreateAlarm
/* 8012C688 001284C8 7C 7C F2 14 */ add r3, r28, r30
/* 8012C68C 001284CC 38 63 04 C8 */ addi r3, r3, 0x4c8
/* 8012C690 001284D0 4B EE F1 71 */ bl OSCreateAlarm
/* 8012C694 001284D4 3B BD 00 01 */ addi r29, r29, 0x1
/* 8012C698 001284D8 3B DE 00 30 */ addi r30, r30, 0x30
/* 8012C69C 001284DC 2C 1D 00 04 */ cmpwi r29, 0x4
/* 8012C6A0 001284E0 41 80 FF DC */ blt lbl_8012C67C
/* 8012C6A4 001284E4 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012C6A8 001284E8 4B EE F1 59 */ bl OSCreateAlarm
/* 8012C6AC 001284EC 3C 60 80 54 */ lis r3, sMutex__Q210homebutton10HomeButton@ha
/* 8012C6B0 001284F0 38 63 36 C8 */ addi r3, r3, sMutex__Q210homebutton10HomeButton@l
/* 8012C6B4 001284F4 4B EF 64 AD */ bl OSInitMutex
/* 8012C6B8 001284F8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8012C6BC 001284FC 7F 83 E3 78 */ mr r3, r28
/* 8012C6C0 00128500 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8012C6C4 00128504 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8012C6C8 00128508 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8012C6CC 0012850C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8012C6D0 00128510 7C 08 03 A6 */ mtlr r0
/* 8012C6D4 00128514 38 21 00 20 */ addi r1, r1, 0x20
/* 8012C6D8 00128518 4E 80 00 20 */ blr
/* 8012C6DC 0012851C 00 00 00 00 */ .4byte 0x00000000
.global __dt__Q210homebutton10HomeButtonFv
__dt__Q210homebutton10HomeButtonFv:
/* 8012C6E0 00128520 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8012C6E4 00128524 7C 08 02 A6 */ mflr r0
/* 8012C6E8 00128528 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012C6EC 0012852C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012C6F0 00128530 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8012C6F4 00128534 7C 9F 23 78 */ mr r31, r4
/* 8012C6F8 00128538 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8012C6FC 0012853C 7C 7E 1B 78 */ mr r30, r3
/* 8012C700 00128540 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8012C704 00128544 93 81 00 10 */ stw r28, 0x10(r1)
/* 8012C708 00128548 41 82 02 70 */ beq lbl_8012C978
/* 8012C70C 0012854C 80 63 01 EC */ lwz r3, 0x1ec(r3)
/* 8012C710 00128550 38 80 FF FF */ li r4, -0x1
/* 8012C714 00128554 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012C718 00128558 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8012C71C 0012855C 7D 89 03 A6 */ mtctr r12
/* 8012C720 00128560 4E 80 04 21 */ bctrl
/* 8012C724 00128564 80 7E 01 EC */ lwz r3, 0x1ec(r30)
/* 8012C728 00128568 4B FF F9 69 */ bl HBMFreeMem__FPv
/* 8012C72C 0012856C 80 7E 01 D8 */ lwz r3, 0x1d8(r30)
/* 8012C730 00128570 38 80 FF FF */ li r4, -0x1
/* 8012C734 00128574 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012C738 00128578 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8012C73C 0012857C 7D 89 03 A6 */ mtctr r12
/* 8012C740 00128580 4E 80 04 21 */ bctrl
/* 8012C744 00128584 80 7E 01 D8 */ lwz r3, 0x1d8(r30)
/* 8012C748 00128588 4B FF F9 49 */ bl HBMFreeMem__FPv
/* 8012C74C 0012858C 80 7E 00 04 */ lwz r3, 0x4(r30)
/* 8012C750 00128590 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8012C754 00128594 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012C758 00128598 40 82 00 44 */ bne lbl_8012C79C
/* 8012C75C 0012859C 3B 80 00 00 */ li r28, 0x0
/* 8012C760 001285A0 3B A0 00 00 */ li r29, 0x0
.global lbl_8012C764
lbl_8012C764:
/* 8012C764 001285A4 7C 7E EA 14 */ add r3, r30, r29
/* 8012C768 001285A8 38 80 FF FF */ li r4, -0x1
/* 8012C76C 001285AC 80 63 01 DC */ lwz r3, 0x1dc(r3)
/* 8012C770 001285B0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012C774 001285B4 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8012C778 001285B8 7D 89 03 A6 */ mtctr r12
/* 8012C77C 001285BC 4E 80 04 21 */ bctrl
/* 8012C780 001285C0 7C 7E EA 14 */ add r3, r30, r29
/* 8012C784 001285C4 80 63 01 DC */ lwz r3, 0x1dc(r3)
/* 8012C788 001285C8 4B FF F9 09 */ bl HBMFreeMem__FPv
/* 8012C78C 001285CC 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012C790 001285D0 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012C794 001285D4 2C 1C 00 04 */ cmpwi r28, 0x4
/* 8012C798 001285D8 41 80 FF CC */ blt lbl_8012C764
.global lbl_8012C79C
lbl_8012C79C:
/* 8012C79C 001285DC 3B 80 00 00 */ li r28, 0x0
/* 8012C7A0 001285E0 3B A0 00 00 */ li r29, 0x0
/* 8012C7A4 001285E4 48 00 00 34 */ b lbl_8012C7D8
.global lbl_8012C7A8
lbl_8012C7A8:
/* 8012C7A8 001285E8 7C 7E EA 14 */ add r3, r30, r29
/* 8012C7AC 001285EC 38 80 FF FF */ li r4, -0x1
/* 8012C7B0 001285F0 80 63 02 60 */ lwz r3, 0x260(r3)
/* 8012C7B4 001285F4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012C7B8 001285F8 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8012C7BC 001285FC 7D 89 03 A6 */ mtctr r12
/* 8012C7C0 00128600 4E 80 04 21 */ bctrl
/* 8012C7C4 00128604 7C 7E EA 14 */ add r3, r30, r29
/* 8012C7C8 00128608 80 63 02 60 */ lwz r3, 0x260(r3)
/* 8012C7CC 0012860C 4B FF F8 C5 */ bl HBMFreeMem__FPv
/* 8012C7D0 00128610 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012C7D4 00128614 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_8012C7D8
lbl_8012C7D8:
/* 8012C7D8 00128618 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8012C7DC 0012861C 7C 1C 00 00 */ cmpw r28, r0
/* 8012C7E0 00128620 41 80 FF C8 */ blt lbl_8012C7A8
/* 8012C7E4 00128624 3B 80 00 00 */ li r28, 0x0
/* 8012C7E8 00128628 3B A0 00 00 */ li r29, 0x0
.global lbl_8012C7EC
lbl_8012C7EC:
/* 8012C7EC 0012862C 7C 7E EA 14 */ add r3, r30, r29
/* 8012C7F0 00128630 38 80 FF FF */ li r4, -0x1
/* 8012C7F4 00128634 80 63 03 B8 */ lwz r3, 0x3b8(r3)
/* 8012C7F8 00128638 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012C7FC 0012863C 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8012C800 00128640 7D 89 03 A6 */ mtctr r12
/* 8012C804 00128644 4E 80 04 21 */ bctrl
/* 8012C808 00128648 7C 7E EA 14 */ add r3, r30, r29
/* 8012C80C 0012864C 80 63 03 B8 */ lwz r3, 0x3b8(r3)
/* 8012C810 00128650 4B FF F8 81 */ bl HBMFreeMem__FPv
/* 8012C814 00128654 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012C818 00128658 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012C81C 0012865C 2C 1C 00 0F */ cmpwi r28, 0xf
/* 8012C820 00128660 41 80 FF CC */ blt lbl_8012C7EC
/* 8012C824 00128664 3B 80 00 00 */ li r28, 0x0
/* 8012C828 00128668 3B A0 00 00 */ li r29, 0x0
.global lbl_8012C82C
lbl_8012C82C:
/* 8012C82C 0012866C 7C 7E EA 14 */ add r3, r30, r29
/* 8012C830 00128670 38 80 FF FF */ li r4, -0x1
/* 8012C834 00128674 80 63 02 90 */ lwz r3, 0x290(r3)
/* 8012C838 00128678 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012C83C 0012867C 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8012C840 00128680 7D 89 03 A6 */ mtctr r12
/* 8012C844 00128684 4E 80 04 21 */ bctrl
/* 8012C848 00128688 7C 7E EA 14 */ add r3, r30, r29
/* 8012C84C 0012868C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 8012C850 00128690 4B FF F8 41 */ bl HBMFreeMem__FPv
/* 8012C854 00128694 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012C858 00128698 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012C85C 0012869C 2C 1C 00 4A */ cmpwi r28, 0x4a
/* 8012C860 001286A0 41 80 FF CC */ blt lbl_8012C82C
/* 8012C864 001286A4 80 7E 01 F4 */ lwz r3, 0x1f4(r30)
/* 8012C868 001286A8 4B FF F8 29 */ bl HBMFreeMem__FPv
/* 8012C86C 001286AC 80 7E 01 F0 */ lwz r3, 0x1f0(r30)
/* 8012C870 001286B0 38 80 FF FF */ li r4, -0x1
/* 8012C874 001286B4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012C878 001286B8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8012C87C 001286BC 7D 89 03 A6 */ mtctr r12
/* 8012C880 001286C0 4E 80 04 21 */ bctrl
/* 8012C884 001286C4 80 7E 01 F0 */ lwz r3, 0x1f0(r30)
/* 8012C888 001286C8 4B FF F8 09 */ bl HBMFreeMem__FPv
/* 8012C88C 001286CC 3B 80 00 00 */ li r28, 0x0
/* 8012C890 001286D0 3B A0 00 00 */ li r29, 0x0
.global lbl_8012C894
lbl_8012C894:
/* 8012C894 001286D4 88 1E 00 94 */ lbz r0, 0x94(r30)
/* 8012C898 001286D8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012C89C 001286DC 41 82 00 10 */ beq lbl_8012C8AC
/* 8012C8A0 001286E0 7C 7E EA 14 */ add r3, r30, r29
/* 8012C8A4 001286E4 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 8012C8A8 001286E8 4B FF DB F9 */ bl clearCallback__Q210homebutton10ControllerFv
.global lbl_8012C8AC
lbl_8012C8AC:
/* 8012C8AC 001286EC 7C 7E EA 14 */ add r3, r30, r29
/* 8012C8B0 001286F0 38 80 FF FF */ li r4, -0x1
/* 8012C8B4 001286F4 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 8012C8B8 001286F8 4B FF DA 99 */ bl __dt__Q210homebutton10ControllerFv
/* 8012C8BC 001286FC 7C 7E EA 14 */ add r3, r30, r29
/* 8012C8C0 00128700 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 8012C8C4 00128704 4B FF F7 CD */ bl HBMFreeMem__FPv
/* 8012C8C8 00128708 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012C8CC 0012870C 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012C8D0 00128710 2C 1C 00 04 */ cmpwi r28, 0x4
/* 8012C8D4 00128714 41 80 FF C0 */ blt lbl_8012C894
/* 8012C8D8 00128718 80 7E 02 5C */ lwz r3, 0x25c(r30)
/* 8012C8DC 0012871C 38 80 FF FF */ li r4, -0x1
/* 8012C8E0 00128720 81 83 01 F0 */ lwz r12, 0x1f0(r3)
/* 8012C8E4 00128724 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8012C8E8 00128728 7D 89 03 A6 */ mtctr r12
/* 8012C8EC 0012872C 4E 80 04 21 */ bctrl
/* 8012C8F0 00128730 80 7E 02 5C */ lwz r3, 0x25c(r30)
/* 8012C8F4 00128734 4B FF F7 9D */ bl HBMFreeMem__FPv
/* 8012C8F8 00128738 88 1E 00 94 */ lbz r0, 0x94(r30)
/* 8012C8FC 0012873C 38 60 00 00 */ li r3, 0x0
/* 8012C900 00128740 90 7E 02 5C */ stw r3, 0x25c(r30)
/* 8012C904 00128744 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012C908 00128748 41 82 00 0C */ beq lbl_8012C914
/* 8012C90C 0012874C 80 7E 01 AC */ lwz r3, 0x1ac(r30)
/* 8012C910 00128750 4B F2 9B 71 */ bl WPADSetSimpleSyncCallback
.global lbl_8012C914
lbl_8012C914:
/* 8012C914 00128754 80 7E 00 B0 */ lwz r3, 0xb0(r30)
/* 8012C918 00128758 4B FF F7 79 */ bl HBMFreeMem__FPv
/* 8012C91C 0012875C 80 7E 00 B4 */ lwz r3, 0xb4(r30)
/* 8012C920 00128760 4B FF F7 71 */ bl HBMFreeMem__FPv
/* 8012C924 00128764 3B 80 00 00 */ li r28, 0x0
/* 8012C928 00128768 3B A0 00 00 */ li r29, 0x0
.global lbl_8012C92C
lbl_8012C92C:
/* 8012C92C 0012876C 7C 7E EA 14 */ add r3, r30, r29
/* 8012C930 00128770 38 63 04 08 */ addi r3, r3, 0x408
/* 8012C934 00128774 4B EE F2 2D */ bl OSCancelAlarm
/* 8012C938 00128778 7C 7E EA 14 */ add r3, r30, r29
/* 8012C93C 0012877C 38 63 04 C8 */ addi r3, r3, 0x4c8
/* 8012C940 00128780 4B EE F2 21 */ bl OSCancelAlarm
/* 8012C944 00128784 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012C948 00128788 3B BD 00 30 */ addi r29, r29, 0x30
/* 8012C94C 0012878C 2C 1C 00 04 */ cmpwi r28, 0x4
/* 8012C950 00128790 41 80 FF DC */ blt lbl_8012C92C
/* 8012C954 00128794 38 7E 05 88 */ addi r3, r30, 0x588
/* 8012C958 00128798 4B EE F2 09 */ bl OSCancelAlarm
/* 8012C95C 0012879C 38 7E 01 F8 */ addi r3, r30, 0x1f8
/* 8012C960 001287A0 38 80 FF FF */ li r4, -0x1
/* 8012C964 001287A4 48 00 9F 5D */ bl __dt__Q36nw4hbm3lyt8DrawInfoFv
/* 8012C968 001287A8 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8012C96C 001287AC 40 81 00 0C */ ble lbl_8012C978
/* 8012C970 001287B0 7F C3 F3 78 */ mr r3, r30
/* 8012C974 001287B4 48 09 2D A1 */ bl __dl__FPv
.global lbl_8012C978
lbl_8012C978:
/* 8012C978 001287B8 7F C3 F3 78 */ mr r3, r30
/* 8012C97C 001287BC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8012C980 001287C0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8012C984 001287C4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8012C988 001287C8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8012C98C 001287CC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8012C990 001287D0 7C 08 03 A6 */ mtlr r0
/* 8012C994 001287D4 38 21 00 20 */ addi r1, r1, 0x20
/* 8012C998 001287D8 4E 80 00 20 */ blr
/* 8012C99C 001287DC 00 00 00 00 */ .4byte 0x00000000
.global __dt__Q36nw4hbm3lyt19ArcResourceAccessorFv
__dt__Q36nw4hbm3lyt19ArcResourceAccessorFv:
/* 8012C9A0 001287E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012C9A4 001287E4 7C 08 02 A6 */ mflr r0
/* 8012C9A8 001287E8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012C9AC 001287EC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012C9B0 001287F0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012C9B4 001287F4 7C 9F 23 78 */ mr r31, r4
/* 8012C9B8 001287F8 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8012C9BC 001287FC 7C 7E 1B 78 */ mr r30, r3
/* 8012C9C0 00128800 41 82 00 30 */ beq lbl_8012C9F0
/* 8012C9C4 00128804 34 63 00 24 */ addic. r3, r3, 0x24
/* 8012C9C8 00128808 41 82 00 0C */ beq lbl_8012C9D4
/* 8012C9CC 0012880C 38 80 00 00 */ li r4, 0x0
/* 8012C9D0 00128810 4B FF 32 B1 */ bl __dt__Q44nw4r2ut6detail12LinkListImplFv
.global lbl_8012C9D4
lbl_8012C9D4:
/* 8012C9D4 00128814 7F C3 F3 78 */ mr r3, r30
/* 8012C9D8 00128818 38 80 00 00 */ li r4, 0x0
/* 8012C9DC 0012881C 48 00 F6 C5 */ bl __dt__Q36nw4hbm3lyt16ResourceAccessorFv
/* 8012C9E0 00128820 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8012C9E4 00128824 40 81 00 0C */ ble lbl_8012C9F0
/* 8012C9E8 00128828 7F C3 F3 78 */ mr r3, r30
/* 8012C9EC 0012882C 48 09 2D 29 */ bl __dl__FPv
.global lbl_8012C9F0
lbl_8012C9F0:
/* 8012C9F0 00128830 7F C3 F3 78 */ mr r3, r30
/* 8012C9F4 00128834 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012C9F8 00128838 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8012C9FC 0012883C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012CA00 00128840 7C 08 03 A6 */ mtlr r0
/* 8012CA04 00128844 38 21 00 10 */ addi r1, r1, 0x10
/* 8012CA08 00128848 4E 80 00 20 */ blr
/* 8012CA0C 0012884C 00 00 00 00 */ .4byte 0x00000000
.global createInstance__Q210homebutton10HomeButtonFPC11HBMDataInfo
createInstance__Q210homebutton10HomeButtonFPC11HBMDataInfo:
/* 8012CA10 00128850 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012CA14 00128854 7C 08 02 A6 */ mflr r0
/* 8012CA18 00128858 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012CA1C 0012885C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012CA20 00128860 7C 7F 1B 78 */ mr r31, r3
/* 8012CA24 00128864 38 60 07 40 */ li r3, 0x740
/* 8012CA28 00128868 4B FF F6 59 */ bl HBMAllocMem__FUl
/* 8012CA2C 0012886C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CA30 00128870 41 82 00 18 */ beq lbl_8012CA48
/* 8012CA34 00128874 41 82 00 0C */ beq lbl_8012CA40
/* 8012CA38 00128878 7F E4 FB 78 */ mr r4, r31
/* 8012CA3C 0012887C 4B FF FB 95 */ bl __ct__Q210homebutton10HomeButtonFPC11HBMDataInfo
.global lbl_8012CA40
lbl_8012CA40:
/* 8012CA40 00128880 3C 80 80 54 */ lis r4, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8012CA44 00128884 90 64 36 C0 */ stw r3, spHomeButtonObj__Q210homebutton10HomeButton@l(r4)
.global lbl_8012CA48
lbl_8012CA48:
/* 8012CA48 00128888 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012CA4C 0012888C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012CA50 00128890 7C 08 03 A6 */ mtlr r0
/* 8012CA54 00128894 38 21 00 10 */ addi r1, r1, 0x10
/* 8012CA58 00128898 4E 80 00 20 */ blr
/* 8012CA5C 0012889C 00 00 00 00 */ .4byte 0x00000000
.global deleteInstance__Q210homebutton10HomeButtonFv
deleteInstance__Q210homebutton10HomeButtonFv:
/* 8012CA60 001288A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012CA64 001288A4 7C 08 02 A6 */ mflr r0
/* 8012CA68 001288A8 38 80 FF FF */ li r4, -0x1
/* 8012CA6C 001288AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012CA70 001288B0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012CA74 001288B4 3F E0 80 54 */ lis r31, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8012CA78 001288B8 80 7F 36 C0 */ lwz r3, spHomeButtonObj__Q210homebutton10HomeButton@l(r31)
/* 8012CA7C 001288BC 4B FF FC 65 */ bl __dt__Q210homebutton10HomeButtonFv
/* 8012CA80 001288C0 80 7F 36 C0 */ lwz r3, 0x36c0(r31)
/* 8012CA84 001288C4 4B FF F6 0D */ bl HBMFreeMem__FPv
/* 8012CA88 001288C8 38 00 00 00 */ li r0, 0x0
/* 8012CA8C 001288CC 90 1F 36 C0 */ stw r0, 0x36c0(r31)
/* 8012CA90 001288D0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012CA94 001288D4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012CA98 001288D8 7C 08 03 A6 */ mtlr r0
/* 8012CA9C 001288DC 38 21 00 10 */ addi r1, r1, 0x10
/* 8012CAA0 001288E0 4E 80 00 20 */ blr
/* 8012CAA4 001288E4 00 00 00 00 */ .4byte 0x00000000
/* 8012CAA8 001288E8 00 00 00 00 */ .4byte 0x00000000
/* 8012CAAC 001288EC 00 00 00 00 */ .4byte 0x00000000
.global getInstance__Q210homebutton10HomeButtonFv
getInstance__Q210homebutton10HomeButtonFv:
/* 8012CAB0 001288F0 3C 60 80 54 */ lis r3, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8012CAB4 001288F4 80 63 36 C0 */ lwz r3, spHomeButtonObj__Q210homebutton10HomeButton@l(r3)
/* 8012CAB8 001288F8 4E 80 00 20 */ blr
/* 8012CABC 001288FC 00 00 00 00 */ .4byte 0x00000000
.global create__Q210homebutton10HomeButtonFv
create__Q210homebutton10HomeButtonFv:
/* 8012CAC0 00128900 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 8012CAC4 00128904 7C 08 02 A6 */ mflr r0
/* 8012CAC8 00128908 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 8012CACC 0012890C 39 61 00 D0 */ addi r11, r1, 0xd0
/* 8012CAD0 00128910 DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 8012CAD4 00128914 F3 E1 00 D8 */ psq_st f31, 0xd8(r1), 0, qr0
/* 8012CAD8 00128918 4B ED A8 4D */ bl lbl_80007324
/* 8012CADC 0012891C 38 00 00 00 */ li r0, 0x0
/* 8012CAE0 00128920 3F 60 80 41 */ lis r27, "@9436_8040DE40"@ha
/* 8012CAE4 00128924 3F 80 80 44 */ lis r28, "@9521_80443068"@ha
/* 8012CAE8 00128928 98 03 00 94 */ stb r0, 0x94(r3)
/* 8012CAEC 0012892C 7C 7F 1B 78 */ mr r31, r3
/* 8012CAF0 00128930 3B 7B DE 40 */ addi r27, r27, "@9436_8040DE40"@l
/* 8012CAF4 00128934 98 03 00 95 */ stb r0, 0x95(r3)
/* 8012CAF8 00128938 3B 9C 30 68 */ addi r28, r28, "@9521_80443068"@l
/* 8012CAFC 0012893C 98 03 00 96 */ stb r0, 0x96(r3)
/* 8012CB00 00128940 90 03 01 AC */ stw r0, 0x1ac(r3)
/* 8012CB04 00128944 48 00 08 CD */ bl set_config__Q210homebutton10HomeButtonFv
/* 8012CB08 00128948 7F E3 FB 78 */ mr r3, r31
/* 8012CB0C 0012894C 48 00 0A 35 */ bl set_text__Q210homebutton10HomeButtonFv
/* 8012CB10 00128950 38 60 00 B0 */ li r3, 0xb0
/* 8012CB14 00128954 4B FF F5 6D */ bl HBMAllocMem__FUl
/* 8012CB18 00128958 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CB1C 0012895C 41 82 00 10 */ beq lbl_8012CB2C
/* 8012CB20 00128960 41 82 00 08 */ beq lbl_8012CB28
/* 8012CB24 00128964 48 00 8F 7D */ bl __ct__Q36nw4hbm3lyt19ArcResourceAccessorFv
.global lbl_8012CB28
lbl_8012CB28:
/* 8012CB28 00128968 90 7F 01 EC */ stw r3, 0x1ec(r31)
.global lbl_8012CB2C
lbl_8012CB2C:
/* 8012CB2C 0012896C 80 9F 00 04 */ lwz r4, 0x4(r31)
/* 8012CB30 00128970 38 BC 0B 30 */ addi r5, r28, 0xb30
/* 8012CB34 00128974 80 7F 01 EC */ lwz r3, 0x1ec(r31)
/* 8012CB38 00128978 80 84 00 00 */ lwz r4, 0x0(r4)
/* 8012CB3C 0012897C 4B FD 10 45 */ bl Attach__Q34nw4r3lyt19ArcResourceAccessorFPvPCc
/* 8012CB40 00128980 80 7F 00 04 */ lwz r3, 0x4(r31)
/* 8012CB44 00128984 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8012CB48 00128988 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012CB4C 0012898C 40 82 00 7C */ bne lbl_8012CBC8
/* 8012CB50 00128990 7F F5 FB 78 */ mr r21, r31
/* 8012CB54 00128994 3A DC 00 40 */ addi r22, r28, 0x40
/* 8012CB58 00128998 3A E0 00 00 */ li r23, 0x0
.global lbl_8012CB5C
lbl_8012CB5C:
/* 8012CB5C 0012899C 38 60 00 24 */ li r3, 0x24
/* 8012CB60 001289A0 4B FF F5 21 */ bl HBMAllocMem__FUl
/* 8012CB64 001289A4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CB68 001289A8 41 82 00 10 */ beq lbl_8012CB78
/* 8012CB6C 001289AC 41 82 00 08 */ beq lbl_8012CB74
/* 8012CB70 001289B0 48 00 A2 51 */ bl __ct__Q36nw4hbm3lyt6LayoutFv
.global lbl_8012CB74
lbl_8012CB74:
/* 8012CB74 001289B4 90 75 01 DC */ stw r3, 0x1dc(r21)
.global lbl_8012CB78
lbl_8012CB78:
/* 8012CB78 001289B8 80 7F 01 EC */ lwz r3, 0x1ec(r31)
/* 8012CB7C 001289BC 38 80 00 00 */ li r4, 0x0
/* 8012CB80 001289C0 80 B6 00 00 */ lwz r5, 0x0(r22)
/* 8012CB84 001289C4 38 C0 00 00 */ li r6, 0x0
/* 8012CB88 001289C8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CB8C 001289CC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012CB90 001289D0 7D 89 03 A6 */ mtctr r12
/* 8012CB94 001289D4 4E 80 04 21 */ bctrl
/* 8012CB98 001289D8 7C 64 1B 78 */ mr r4, r3
/* 8012CB9C 001289DC 80 75 01 DC */ lwz r3, 0x1dc(r21)
/* 8012CBA0 001289E0 80 BF 01 EC */ lwz r5, 0x1ec(r31)
/* 8012CBA4 001289E4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CBA8 001289E8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012CBAC 001289EC 7D 89 03 A6 */ mtctr r12
/* 8012CBB0 001289F0 4E 80 04 21 */ bctrl
/* 8012CBB4 001289F4 3A F7 00 01 */ addi r23, r23, 0x1
/* 8012CBB8 001289F8 3A D6 00 04 */ addi r22, r22, 0x4
/* 8012CBBC 001289FC 2C 17 00 04 */ cmpwi r23, 0x4
/* 8012CBC0 00128A00 3A B5 00 04 */ addi r21, r21, 0x4
/* 8012CBC4 00128A04 41 80 FF 98 */ blt lbl_8012CB5C
.global lbl_8012CBC8
lbl_8012CBC8:
/* 8012CBC8 00128A08 38 60 00 24 */ li r3, 0x24
/* 8012CBCC 00128A0C 4B FF F4 B5 */ bl HBMAllocMem__FUl
/* 8012CBD0 00128A10 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CBD4 00128A14 41 82 00 10 */ beq lbl_8012CBE4
/* 8012CBD8 00128A18 41 82 00 08 */ beq lbl_8012CBE0
/* 8012CBDC 00128A1C 48 00 A1 E5 */ bl __ct__Q36nw4hbm3lyt6LayoutFv
.global lbl_8012CBE0
lbl_8012CBE0:
/* 8012CBE0 00128A20 90 7F 01 D8 */ stw r3, 0x1d8(r31)
.global lbl_8012CBE4
lbl_8012CBE4:
/* 8012CBE4 00128A24 80 7F 01 EC */ lwz r3, 0x1ec(r31)
/* 8012CBE8 00128A28 38 80 00 00 */ li r4, 0x0
/* 8012CBEC 00128A2C 80 BF 00 B0 */ lwz r5, 0xb0(r31)
/* 8012CBF0 00128A30 38 C0 00 00 */ li r6, 0x0
/* 8012CBF4 00128A34 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CBF8 00128A38 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012CBFC 00128A3C 7D 89 03 A6 */ mtctr r12
/* 8012CC00 00128A40 4E 80 04 21 */ bctrl
/* 8012CC04 00128A44 7C 64 1B 78 */ mr r4, r3
/* 8012CC08 00128A48 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CC0C 00128A4C 80 BF 01 EC */ lwz r5, 0x1ec(r31)
/* 8012CC10 00128A50 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CC14 00128A54 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012CC18 00128A58 7D 89 03 A6 */ mtctr r12
/* 8012CC1C 00128A5C 4E 80 04 21 */ bctrl
/* 8012CC20 00128A60 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CC24 00128A64 C3 FB 02 DC */ lfs f31, 0x2dc(r27)
/* 8012CC28 00128A68 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012CC2C 00128A6C 83 03 00 14 */ lwz r24, 0x14(r3)
/* 8012CC30 00128A70 3A A3 00 14 */ addi r21, r3, 0x14
/* 8012CC34 00128A74 48 00 00 58 */ b lbl_8012CC8C
.global lbl_8012CC38
lbl_8012CC38:
/* 8012CC38 00128A78 3A D8 00 B0 */ addi r22, r24, 0xb0
/* 8012CC3C 00128A7C 38 9C 0B 38 */ addi r4, r28, 0xb38
/* 8012CC40 00128A80 7E C3 B3 78 */ mr r3, r22
/* 8012CC44 00128A84 4B EE 0E F9 */ bl strcmp
/* 8012CC48 00128A88 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CC4C 00128A8C 41 82 00 2C */ beq lbl_8012CC78
/* 8012CC50 00128A90 7E C3 B3 78 */ mr r3, r22
/* 8012CC54 00128A94 38 9C 0B 40 */ addi r4, r28, 0xb40
/* 8012CC58 00128A98 4B EE 0E E5 */ bl strcmp
/* 8012CC5C 00128A9C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CC60 00128AA0 41 82 00 18 */ beq lbl_8012CC78
/* 8012CC64 00128AA4 7E C3 B3 78 */ mr r3, r22
/* 8012CC68 00128AA8 38 9C 0B 48 */ addi r4, r28, 0xb48
/* 8012CC6C 00128AAC 4B EE 0E D1 */ bl strcmp
/* 8012CC70 00128AB0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CC74 00128AB4 40 82 00 14 */ bne lbl_8012CC88
.global lbl_8012CC78
lbl_8012CC78:
/* 8012CC78 00128AB8 D3 F8 00 40 */ stfs f31, 0x40(r24)
/* 8012CC7C 00128ABC D3 E1 00 18 */ stfs f31, 0x18(r1)
/* 8012CC80 00128AC0 D3 E1 00 1C */ stfs f31, 0x1c(r1)
/* 8012CC84 00128AC4 D3 F8 00 44 */ stfs f31, 0x44(r24)
.global lbl_8012CC88
lbl_8012CC88:
/* 8012CC88 00128AC8 83 18 00 00 */ lwz r24, 0x0(r24)
.global lbl_8012CC8C
lbl_8012CC8C:
/* 8012CC8C 00128ACC 7C 18 A8 40 */ cmplw r24, r21
/* 8012CC90 00128AD0 40 82 FF A8 */ bne lbl_8012CC38
/* 8012CC94 00128AD4 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CC98 00128AD8 38 9C 0B 50 */ addi r4, r28, 0xb50
/* 8012CC9C 00128ADC C0 3B 02 DC */ lfs f1, 0x2dc(r27)
/* 8012CCA0 00128AE0 38 A0 00 01 */ li r5, 0x1
/* 8012CCA4 00128AE4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012CCA8 00128AE8 C0 1B 02 E0 */ lfs f0, 0x2e0(r27)
/* 8012CCAC 00128AEC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CCB0 00128AF0 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8012CCB4 00128AF4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012CCB8 00128AF8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8012CCBC 00128AFC 7D 89 03 A6 */ mtctr r12
/* 8012CCC0 00128B00 4E 80 04 21 */ bctrl
/* 8012CCC4 00128B04 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 8012CCC8 00128B08 38 9C 0B 5C */ addi r4, r28, 0xb5c
/* 8012CCCC 00128B0C D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8012CCD0 00128B10 38 A0 00 01 */ li r5, 0x1
/* 8012CCD4 00128B14 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8012CCD8 00128B18 D0 03 00 48 */ stfs f0, 0x48(r3)
/* 8012CCDC 00128B1C C0 3B 02 DC */ lfs f1, 0x2dc(r27)
/* 8012CCE0 00128B20 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CCE4 00128B24 C0 1B 02 E0 */ lfs f0, 0x2e0(r27)
/* 8012CCE8 00128B28 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012CCEC 00128B2C D0 21 00 08 */ stfs f1, 0x8(r1)
/* 8012CCF0 00128B30 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CCF4 00128B34 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8012CCF8 00128B38 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012CCFC 00128B3C 7D 89 03 A6 */ mtctr r12
/* 8012CD00 00128B40 4E 80 04 21 */ bctrl
/* 8012CD04 00128B44 C0 01 00 08 */ lfs f0, 0x8(r1)
/* 8012CD08 00128B48 7F FA FB 78 */ mr r26, r31
/* 8012CD0C 00128B4C D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8012CD10 00128B50 3B 3B 00 08 */ addi r25, r27, 0x8
/* 8012CD14 00128B54 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8012CD18 00128B58 3B DC 01 AC */ addi r30, r28, 0x1ac
/* 8012CD1C 00128B5C D0 03 00 48 */ stfs f0, 0x48(r3)
/* 8012CD20 00128B60 3B BC 01 50 */ addi r29, r28, 0x150
/* 8012CD24 00128B64 CB FB 02 E8 */ lfd f31, 0x2e8(r27)
/* 8012CD28 00128B68 3B 00 00 00 */ li r24, 0x0
/* 8012CD2C 00128B6C 3E A0 43 30 */ lis r21, 0x4330
/* 8012CD30 00128B70 48 00 01 2C */ b lbl_8012CE5C
.global lbl_8012CD34
lbl_8012CD34:
/* 8012CD34 00128B74 80 9F 00 B4 */ lwz r4, 0xb4(r31)
/* 8012CD38 00128B78 38 61 00 58 */ addi r3, r1, 0x58
/* 8012CD3C 00128B7C 4B EE 0C 85 */ bl strcpy
/* 8012CD40 00128B80 80 19 00 04 */ lwz r0, 0x4(r25)
/* 8012CD44 00128B84 38 61 00 58 */ addi r3, r1, 0x58
/* 8012CD48 00128B88 54 00 10 3A */ slwi r0, r0, 2
/* 8012CD4C 00128B8C 7C 9E 00 2E */ lwzx r4, r30, r0
/* 8012CD50 00128B90 4B EE 0D 75 */ bl strcat
/* 8012CD54 00128B94 80 7F 01 EC */ lwz r3, 0x1ec(r31)
/* 8012CD58 00128B98 38 A1 00 58 */ addi r5, r1, 0x58
/* 8012CD5C 00128B9C 38 80 00 00 */ li r4, 0x0
/* 8012CD60 00128BA0 38 C0 00 00 */ li r6, 0x0
/* 8012CD64 00128BA4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CD68 00128BA8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012CD6C 00128BAC 7D 89 03 A6 */ mtctr r12
/* 8012CD70 00128BB0 4E 80 04 21 */ bctrl
/* 8012CD74 00128BB4 7C 76 1B 78 */ mr r22, r3
/* 8012CD78 00128BB8 38 60 00 28 */ li r3, 0x28
/* 8012CD7C 00128BBC 4B FF F3 05 */ bl HBMAllocMem__FUl
/* 8012CD80 00128BC0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CD84 00128BC4 41 82 00 10 */ beq lbl_8012CD94
/* 8012CD88 00128BC8 41 82 00 08 */ beq lbl_8012CD90
/* 8012CD8C 00128BCC 4B FF B9 F5 */ bl __ct__Q210homebutton18GroupAnmControllerFv
.global lbl_8012CD90
lbl_8012CD90:
/* 8012CD90 00128BD0 90 7A 02 60 */ stw r3, 0x260(r26)
.global lbl_8012CD94
lbl_8012CD94:
/* 8012CD94 00128BD4 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CD98 00128BD8 7E C4 B3 78 */ mr r4, r22
/* 8012CD9C 00128BDC 80 BF 01 EC */ lwz r5, 0x1ec(r31)
/* 8012CDA0 00128BE0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CDA4 00128BE4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8012CDA8 00128BE8 7D 89 03 A6 */ mtctr r12
/* 8012CDAC 00128BEC 4E 80 04 21 */ bctrl
/* 8012CDB0 00128BF0 80 9A 02 60 */ lwz r4, 0x260(r26)
/* 8012CDB4 00128BF4 80 19 00 00 */ lwz r0, 0x0(r25)
/* 8012CDB8 00128BF8 90 64 00 24 */ stw r3, 0x24(r4)
/* 8012CDBC 00128BFC 54 00 10 3A */ slwi r0, r0, 2
/* 8012CDC0 00128C00 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CDC4 00128C04 7C 9D 00 2E */ lwzx r4, r29, r0
/* 8012CDC8 00128C08 80 63 00 14 */ lwz r3, 0x14(r3)
/* 8012CDCC 00128C0C 48 00 9D D5 */ bl FindGroupByName__Q36nw4hbm3lyt14GroupContainerFPCc
/* 8012CDD0 00128C10 80 9A 02 60 */ lwz r4, 0x260(r26)
/* 8012CDD4 00128C14 90 64 00 20 */ stw r3, 0x20(r4)
/* 8012CDD8 00128C18 80 7A 02 60 */ lwz r3, 0x260(r26)
/* 8012CDDC 00128C1C 80 63 00 20 */ lwz r3, 0x20(r3)
/* 8012CDE0 00128C20 82 E3 00 10 */ lwz r23, 0x10(r3)
/* 8012CDE4 00128C24 3A C3 00 10 */ addi r22, r3, 0x10
/* 8012CDE8 00128C28 48 00 00 28 */ b lbl_8012CE10
.global lbl_8012CDEC
lbl_8012CDEC:
/* 8012CDEC 00128C2C 80 77 00 08 */ lwz r3, 0x8(r23)
/* 8012CDF0 00128C30 38 A0 00 00 */ li r5, 0x0
/* 8012CDF4 00128C34 80 9A 02 60 */ lwz r4, 0x260(r26)
/* 8012CDF8 00128C38 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CDFC 00128C3C 80 84 00 24 */ lwz r4, 0x24(r4)
/* 8012CE00 00128C40 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8012CE04 00128C44 7D 89 03 A6 */ mtctr r12
/* 8012CE08 00128C48 4E 80 04 21 */ bctrl
/* 8012CE0C 00128C4C 82 F7 00 00 */ lwz r23, 0x0(r23)
.global lbl_8012CE10
lbl_8012CE10:
/* 8012CE10 00128C50 7C 17 B0 40 */ cmplw r23, r22
/* 8012CE14 00128C54 40 82 FF D8 */ bne lbl_8012CDEC
/* 8012CE18 00128C58 80 7A 02 60 */ lwz r3, 0x260(r26)
/* 8012CE1C 00128C5C 80 63 00 24 */ lwz r3, 0x24(r3)
/* 8012CE20 00128C60 4B FC F7 01 */ bl GetFrameSize__Q34nw4r3lyt13AnimTransformCFv
/* 8012CE24 00128C64 54 60 04 3E */ clrlwi r0, r3, 16
/* 8012CE28 00128C68 90 01 00 9C */ stw r0, 0x9c(r1)
/* 8012CE2C 00128C6C 80 BF 00 04 */ lwz r5, 0x4(r31)
/* 8012CE30 00128C70 38 80 00 00 */ li r4, 0x0
/* 8012CE34 00128C74 92 A1 00 98 */ stw r21, 0x98(r1)
/* 8012CE38 00128C78 80 7A 02 60 */ lwz r3, 0x260(r26)
/* 8012CE3C 00128C7C C8 01 00 98 */ lfd f0, 0x98(r1)
/* 8012CE40 00128C80 C0 5B 02 E4 */ lfs f2, 0x2e4(r27)
/* 8012CE44 00128C84 EC 20 F8 28 */ fsubs f1, f0, f31
/* 8012CE48 00128C88 C0 65 00 30 */ lfs f3, 0x30(r5)
/* 8012CE4C 00128C8C 4B FF B7 85 */ bl init__Q210homebutton15FrameControllerFifff
/* 8012CE50 00128C90 3B 39 00 08 */ addi r25, r25, 0x8
/* 8012CE54 00128C94 3B 5A 00 04 */ addi r26, r26, 0x4
/* 8012CE58 00128C98 3B 18 00 01 */ addi r24, r24, 0x1
.global lbl_8012CE5C
lbl_8012CE5C:
/* 8012CE5C 00128C9C 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 8012CE60 00128CA0 7C 18 00 00 */ cmpw r24, r0
/* 8012CE64 00128CA4 41 80 FE D0 */ blt lbl_8012CD34
/* 8012CE68 00128CA8 CB FB 02 E8 */ lfd f31, 0x2e8(r27)
/* 8012CE6C 00128CAC 7F F9 FB 78 */ mr r25, r31
/* 8012CE70 00128CB0 3B 5B 00 68 */ addi r26, r27, 0x68
/* 8012CE74 00128CB4 3B BC 06 10 */ addi r29, r28, 0x610
/* 8012CE78 00128CB8 3B DC 08 38 */ addi r30, r28, 0x838
/* 8012CE7C 00128CBC 3B 00 00 00 */ li r24, 0x0
/* 8012CE80 00128CC0 3E A0 43 30 */ lis r21, 0x4330
.global lbl_8012CE84
lbl_8012CE84:
/* 8012CE84 00128CC4 80 9F 00 B4 */ lwz r4, 0xb4(r31)
/* 8012CE88 00128CC8 38 61 00 58 */ addi r3, r1, 0x58
/* 8012CE8C 00128CCC 4B EE 0B 35 */ bl strcpy
/* 8012CE90 00128CD0 80 1A 00 04 */ lwz r0, 0x4(r26)
/* 8012CE94 00128CD4 38 61 00 58 */ addi r3, r1, 0x58
/* 8012CE98 00128CD8 54 00 10 3A */ slwi r0, r0, 2
/* 8012CE9C 00128CDC 7C 9D 00 2E */ lwzx r4, r29, r0
/* 8012CEA0 00128CE0 4B EE 0C 25 */ bl strcat
/* 8012CEA4 00128CE4 80 7F 01 EC */ lwz r3, 0x1ec(r31)
/* 8012CEA8 00128CE8 38 A1 00 58 */ addi r5, r1, 0x58
/* 8012CEAC 00128CEC 38 80 00 00 */ li r4, 0x0
/* 8012CEB0 00128CF0 38 C0 00 00 */ li r6, 0x0
/* 8012CEB4 00128CF4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CEB8 00128CF8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012CEBC 00128CFC 7D 89 03 A6 */ mtctr r12
/* 8012CEC0 00128D00 4E 80 04 21 */ bctrl
/* 8012CEC4 00128D04 7C 76 1B 78 */ mr r22, r3
/* 8012CEC8 00128D08 38 60 00 28 */ li r3, 0x28
/* 8012CECC 00128D0C 4B FF F1 B5 */ bl HBMAllocMem__FUl
/* 8012CED0 00128D10 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012CED4 00128D14 41 82 00 10 */ beq lbl_8012CEE4
/* 8012CED8 00128D18 41 82 00 08 */ beq lbl_8012CEE0
/* 8012CEDC 00128D1C 4B FF B8 A5 */ bl __ct__Q210homebutton18GroupAnmControllerFv
.global lbl_8012CEE0
lbl_8012CEE0:
/* 8012CEE0 00128D20 90 79 02 90 */ stw r3, 0x290(r25)
.global lbl_8012CEE4
lbl_8012CEE4:
/* 8012CEE4 00128D24 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CEE8 00128D28 7E C4 B3 78 */ mr r4, r22
/* 8012CEEC 00128D2C 80 BF 01 EC */ lwz r5, 0x1ec(r31)
/* 8012CEF0 00128D30 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CEF4 00128D34 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8012CEF8 00128D38 7D 89 03 A6 */ mtctr r12
/* 8012CEFC 00128D3C 4E 80 04 21 */ bctrl
/* 8012CF00 00128D40 80 99 02 90 */ lwz r4, 0x290(r25)
/* 8012CF04 00128D44 80 1A 00 00 */ lwz r0, 0x0(r26)
/* 8012CF08 00128D48 90 64 00 24 */ stw r3, 0x24(r4)
/* 8012CF0C 00128D4C 54 00 10 3A */ slwi r0, r0, 2
/* 8012CF10 00128D50 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012CF14 00128D54 7C 9E 00 2E */ lwzx r4, r30, r0
/* 8012CF18 00128D58 80 63 00 14 */ lwz r3, 0x14(r3)
/* 8012CF1C 00128D5C 48 00 9C 85 */ bl FindGroupByName__Q36nw4hbm3lyt14GroupContainerFPCc
/* 8012CF20 00128D60 80 99 02 90 */ lwz r4, 0x290(r25)
/* 8012CF24 00128D64 90 64 00 20 */ stw r3, 0x20(r4)
/* 8012CF28 00128D68 80 79 02 90 */ lwz r3, 0x290(r25)
/* 8012CF2C 00128D6C 80 63 00 20 */ lwz r3, 0x20(r3)
/* 8012CF30 00128D70 82 C3 00 10 */ lwz r22, 0x10(r3)
/* 8012CF34 00128D74 3A E3 00 10 */ addi r23, r3, 0x10
/* 8012CF38 00128D78 48 00 00 28 */ b lbl_8012CF60
.global lbl_8012CF3C
lbl_8012CF3C:
/* 8012CF3C 00128D7C 80 76 00 08 */ lwz r3, 0x8(r22)
/* 8012CF40 00128D80 38 A0 00 00 */ li r5, 0x0
/* 8012CF44 00128D84 80 99 02 90 */ lwz r4, 0x290(r25)
/* 8012CF48 00128D88 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CF4C 00128D8C 80 84 00 24 */ lwz r4, 0x24(r4)
/* 8012CF50 00128D90 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8012CF54 00128D94 7D 89 03 A6 */ mtctr r12
/* 8012CF58 00128D98 4E 80 04 21 */ bctrl
/* 8012CF5C 00128D9C 82 D6 00 00 */ lwz r22, 0x0(r22)
.global lbl_8012CF60
lbl_8012CF60:
/* 8012CF60 00128DA0 7C 16 B8 40 */ cmplw r22, r23
/* 8012CF64 00128DA4 40 82 FF D8 */ bne lbl_8012CF3C
/* 8012CF68 00128DA8 80 79 02 90 */ lwz r3, 0x290(r25)
/* 8012CF6C 00128DAC 80 63 00 24 */ lwz r3, 0x24(r3)
/* 8012CF70 00128DB0 4B FC F5 B1 */ bl GetFrameSize__Q34nw4r3lyt13AnimTransformCFv
/* 8012CF74 00128DB4 54 60 04 3E */ clrlwi r0, r3, 16
/* 8012CF78 00128DB8 90 01 00 9C */ stw r0, 0x9c(r1)
/* 8012CF7C 00128DBC 80 BF 00 04 */ lwz r5, 0x4(r31)
/* 8012CF80 00128DC0 38 80 00 00 */ li r4, 0x0
/* 8012CF84 00128DC4 92 A1 00 98 */ stw r21, 0x98(r1)
/* 8012CF88 00128DC8 80 79 02 90 */ lwz r3, 0x290(r25)
/* 8012CF8C 00128DCC C8 01 00 98 */ lfd f0, 0x98(r1)
/* 8012CF90 00128DD0 C0 5B 02 E4 */ lfs f2, 0x2e4(r27)
/* 8012CF94 00128DD4 EC 20 F8 28 */ fsubs f1, f0, f31
/* 8012CF98 00128DD8 C0 65 00 30 */ lfs f3, 0x30(r5)
/* 8012CF9C 00128DDC 4B FF B6 35 */ bl init__Q210homebutton15FrameControllerFifff
/* 8012CFA0 00128DE0 3B 18 00 01 */ addi r24, r24, 0x1
/* 8012CFA4 00128DE4 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012CFA8 00128DE8 2C 18 00 4A */ cmpwi r24, 0x4a
/* 8012CFAC 00128DEC 3B 5A 00 08 */ addi r26, r26, 0x8
/* 8012CFB0 00128DF0 41 80 FE D4 */ blt lbl_8012CE84
/* 8012CFB4 00128DF4 CB FB 02 E8 */ lfd f31, 0x2e8(r27)
/* 8012CFB8 00128DF8 7F FE FB 78 */ mr r30, r31
/* 8012CFBC 00128DFC 3B BC 02 F0 */ addi r29, r28, 0x2f0
/* 8012CFC0 00128E00 3B 5C 04 00 */ addi r26, r28, 0x400
/* 8012CFC4 00128E04 3B 20 00 00 */ li r25, 0x0
/* 8012CFC8 00128E08 3F 00 43 30 */ lis r24, 0x4330
.global lbl_8012CFCC
lbl_8012CFCC:
/* 8012CFCC 00128E0C 80 9F 00 B4 */ lwz r4, 0xb4(r31)
/* 8012CFD0 00128E10 38 61 00 58 */ addi r3, r1, 0x58
/* 8012CFD4 00128E14 4B EE 09 ED */ bl strcpy
/* 8012CFD8 00128E18 80 9D 00 00 */ lwz r4, 0x0(r29)
/* 8012CFDC 00128E1C 38 61 00 58 */ addi r3, r1, 0x58
/* 8012CFE0 00128E20 4B EE 0A E5 */ bl strcat
/* 8012CFE4 00128E24 80 7F 01 EC */ lwz r3, 0x1ec(r31)
/* 8012CFE8 00128E28 38 A1 00 58 */ addi r5, r1, 0x58
/* 8012CFEC 00128E2C 38 80 00 00 */ li r4, 0x0
/* 8012CFF0 00128E30 38 C0 00 00 */ li r6, 0x0
/* 8012CFF4 00128E34 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012CFF8 00128E38 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012CFFC 00128E3C 7D 89 03 A6 */ mtctr r12
/* 8012D000 00128E40 4E 80 04 21 */ bctrl
/* 8012D004 00128E44 7C 75 1B 78 */ mr r21, r3
/* 8012D008 00128E48 38 60 00 28 */ li r3, 0x28
/* 8012D00C 00128E4C 4B FF F0 75 */ bl HBMAllocMem__FUl
/* 8012D010 00128E50 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012D014 00128E54 41 82 00 10 */ beq lbl_8012D024
/* 8012D018 00128E58 41 82 00 08 */ beq lbl_8012D020
/* 8012D01C 00128E5C 4B FF B7 65 */ bl __ct__Q210homebutton18GroupAnmControllerFv
.global lbl_8012D020
lbl_8012D020:
/* 8012D020 00128E60 90 7E 03 B8 */ stw r3, 0x3b8(r30)
.global lbl_8012D024
lbl_8012D024:
/* 8012D024 00128E64 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012D028 00128E68 7E A4 AB 78 */ mr r4, r21
/* 8012D02C 00128E6C 80 BF 01 EC */ lwz r5, 0x1ec(r31)
/* 8012D030 00128E70 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D034 00128E74 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8012D038 00128E78 7D 89 03 A6 */ mtctr r12
/* 8012D03C 00128E7C 4E 80 04 21 */ bctrl
/* 8012D040 00128E80 80 9E 03 B8 */ lwz r4, 0x3b8(r30)
/* 8012D044 00128E84 90 64 00 24 */ stw r3, 0x24(r4)
/* 8012D048 00128E88 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012D04C 00128E8C 80 9A 00 00 */ lwz r4, 0x0(r26)
/* 8012D050 00128E90 80 63 00 14 */ lwz r3, 0x14(r3)
/* 8012D054 00128E94 48 00 9B 4D */ bl FindGroupByName__Q36nw4hbm3lyt14GroupContainerFPCc
/* 8012D058 00128E98 80 9E 03 B8 */ lwz r4, 0x3b8(r30)
/* 8012D05C 00128E9C 90 64 00 20 */ stw r3, 0x20(r4)
/* 8012D060 00128EA0 80 7E 03 B8 */ lwz r3, 0x3b8(r30)
/* 8012D064 00128EA4 80 63 00 20 */ lwz r3, 0x20(r3)
/* 8012D068 00128EA8 82 C3 00 10 */ lwz r22, 0x10(r3)
/* 8012D06C 00128EAC 3A E3 00 10 */ addi r23, r3, 0x10
/* 8012D070 00128EB0 48 00 00 28 */ b lbl_8012D098
.global lbl_8012D074
lbl_8012D074:
/* 8012D074 00128EB4 80 76 00 08 */ lwz r3, 0x8(r22)
/* 8012D078 00128EB8 38 A0 00 00 */ li r5, 0x0
/* 8012D07C 00128EBC 80 9E 03 B8 */ lwz r4, 0x3b8(r30)
/* 8012D080 00128EC0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D084 00128EC4 80 84 00 24 */ lwz r4, 0x24(r4)
/* 8012D088 00128EC8 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8012D08C 00128ECC 7D 89 03 A6 */ mtctr r12
/* 8012D090 00128ED0 4E 80 04 21 */ bctrl
/* 8012D094 00128ED4 82 D6 00 00 */ lwz r22, 0x0(r22)
.global lbl_8012D098
lbl_8012D098:
/* 8012D098 00128ED8 7C 16 B8 40 */ cmplw r22, r23
/* 8012D09C 00128EDC 40 82 FF D8 */ bne lbl_8012D074
/* 8012D0A0 00128EE0 80 7E 03 B8 */ lwz r3, 0x3b8(r30)
/* 8012D0A4 00128EE4 80 63 00 24 */ lwz r3, 0x24(r3)
/* 8012D0A8 00128EE8 4B FC F4 79 */ bl GetFrameSize__Q34nw4r3lyt13AnimTransformCFv
/* 8012D0AC 00128EEC 54 60 04 3E */ clrlwi r0, r3, 16
/* 8012D0B0 00128EF0 90 01 00 9C */ stw r0, 0x9c(r1)
/* 8012D0B4 00128EF4 80 BF 00 04 */ lwz r5, 0x4(r31)
/* 8012D0B8 00128EF8 38 80 00 00 */ li r4, 0x0
/* 8012D0BC 00128EFC 93 01 00 98 */ stw r24, 0x98(r1)
/* 8012D0C0 00128F00 80 7E 03 B8 */ lwz r3, 0x3b8(r30)
/* 8012D0C4 00128F04 C8 01 00 98 */ lfd f0, 0x98(r1)
/* 8012D0C8 00128F08 C0 5B 02 E4 */ lfs f2, 0x2e4(r27)
/* 8012D0CC 00128F0C EC 20 F8 28 */ fsubs f1, f0, f31
/* 8012D0D0 00128F10 C0 65 00 30 */ lfs f3, 0x30(r5)
/* 8012D0D4 00128F14 4B FF B4 FD */ bl init__Q210homebutton15FrameControllerFifff
/* 8012D0D8 00128F18 3B 39 00 01 */ addi r25, r25, 0x1
/* 8012D0DC 00128F1C 3B DE 00 04 */ addi r30, r30, 0x4
/* 8012D0E0 00128F20 2C 19 00 0F */ cmpwi r25, 0xf
/* 8012D0E4 00128F24 3B 5A 00 04 */ addi r26, r26, 0x4
/* 8012D0E8 00128F28 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012D0EC 00128F2C 41 80 FE E0 */ blt lbl_8012CFCC
/* 8012D0F0 00128F30 38 60 00 0C */ li r3, 0xc
/* 8012D0F4 00128F34 4B FF EF 8D */ bl HBMAllocMem__FUl
/* 8012D0F8 00128F38 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012D0FC 00128F3C 41 82 00 1C */ beq lbl_8012D118
/* 8012D100 00128F40 41 82 00 14 */ beq lbl_8012D114
/* 8012D104 00128F44 3C 80 80 44 */ lis r4, __vt__Q210homebutton22HomeButtonEventHandler@ha
/* 8012D108 00128F48 38 84 3C B8 */ addi r4, r4, __vt__Q210homebutton22HomeButtonEventHandler@l
/* 8012D10C 00128F4C 90 83 00 00 */ stw r4, 0x0(r3)
/* 8012D110 00128F50 93 E3 00 08 */ stw r31, 0x8(r3)
.global lbl_8012D114
lbl_8012D114:
/* 8012D114 00128F54 90 7F 01 F4 */ stw r3, 0x1f4(r31)
.global lbl_8012D118
lbl_8012D118:
/* 8012D118 00128F58 38 60 00 2C */ li r3, 0x2c
/* 8012D11C 00128F5C 4B FF EF 65 */ bl HBMAllocMem__FUl
/* 8012D120 00128F60 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012D124 00128F64 7C 75 1B 78 */ mr r21, r3
/* 8012D128 00128F68 41 82 00 78 */ beq lbl_8012D1A0
/* 8012D12C 00128F6C 41 82 00 70 */ beq lbl_8012D19C
/* 8012D130 00128F70 3C 80 80 44 */ lis r4, spAllocator@ha
/* 8012D134 00128F74 80 1F 01 F4 */ lwz r0, 0x1f4(r31)
/* 8012D138 00128F78 80 A4 30 64 */ lwz r5, spAllocator@l(r4)
/* 8012D13C 00128F7C 3C 80 80 44 */ lis r4, __vt__Q310homebutton3gui7Manager@ha
/* 8012D140 00128F80 38 84 2B 70 */ addi r4, r4, __vt__Q310homebutton3gui7Manager@l
/* 8012D144 00128F84 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012D148 00128F88 90 83 00 00 */ stw r4, 0x0(r3)
/* 8012D14C 00128F8C 90 03 00 04 */ stw r0, 0x4(r3)
/* 8012D150 00128F90 90 A3 00 14 */ stw r5, 0x14(r3)
/* 8012D154 00128F94 41 82 00 1C */ beq lbl_8012D170
/* 8012D158 00128F98 7C 03 03 78 */ mr r3, r0
/* 8012D15C 00128F9C 7E A4 AB 78 */ mr r4, r21
/* 8012D160 00128FA0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D164 00128FA4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012D168 00128FA8 7D 89 03 A6 */ mtctr r12
/* 8012D16C 00128FAC 4E 80 04 21 */ bctrl
.global lbl_8012D170
lbl_8012D170:
/* 8012D170 00128FB0 38 75 00 08 */ addi r3, r21, 0x8
/* 8012D174 00128FB4 38 80 00 08 */ li r4, 0x8
/* 8012D178 00128FB8 4B F7 66 B9 */ bl MEMInitList
/* 8012D17C 00128FBC 3C 60 80 44 */ lis r3, __vt__Q310homebutton3gui11PaneManager@ha
/* 8012D180 00128FC0 38 00 00 00 */ li r0, 0x0
/* 8012D184 00128FC4 38 63 2A D0 */ addi r3, r3, __vt__Q310homebutton3gui11PaneManager@l
/* 8012D188 00128FC8 90 75 00 00 */ stw r3, 0x0(r21)
/* 8012D18C 00128FCC 38 75 00 18 */ addi r3, r21, 0x18
/* 8012D190 00128FD0 38 80 00 08 */ li r4, 0x8
/* 8012D194 00128FD4 90 15 00 24 */ stw r0, 0x24(r21)
/* 8012D198 00128FD8 4B F7 66 99 */ bl MEMInitList
.global lbl_8012D19C
lbl_8012D19C:
/* 8012D19C 00128FDC 92 BF 01 F0 */ stw r21, 0x1f0(r31)
.global lbl_8012D1A0
lbl_8012D1A0:
/* 8012D1A0 00128FE0 80 7F 01 F0 */ lwz r3, 0x1f0(r31)
/* 8012D1A4 00128FE4 80 9F 01 D8 */ lwz r4, 0x1d8(r31)
/* 8012D1A8 00128FE8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D1AC 00128FEC 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8012D1B0 00128FF0 7D 89 03 A6 */ mtctr r12
/* 8012D1B4 00128FF4 4E 80 04 21 */ bctrl
/* 8012D1B8 00128FF8 38 60 01 F8 */ li r3, 0x1f8
/* 8012D1BC 00128FFC 4B FF EE C5 */ bl HBMAllocMem__FUl
/* 8012D1C0 00129000 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012D1C4 00129004 41 82 00 18 */ beq lbl_8012D1DC
/* 8012D1C8 00129008 41 82 00 10 */ beq lbl_8012D1D8
/* 8012D1CC 0012900C 80 9F 00 04 */ lwz r4, 0x4(r31)
/* 8012D1D0 00129010 80 84 00 04 */ lwz r4, 0x4(r4)
/* 8012D1D4 00129014 4B FF DD 0D */ bl __ct__Q210homebutton9RemoteSpkFPv
.global lbl_8012D1D8
lbl_8012D1D8:
/* 8012D1D8 00129018 90 7F 02 5C */ stw r3, 0x25c(r31)
.global lbl_8012D1DC
lbl_8012D1DC:
/* 8012D1DC 0012901C 7F F5 FB 78 */ mr r21, r31
/* 8012D1E0 00129020 3A C0 00 00 */ li r22, 0x0
.global lbl_8012D1E4
lbl_8012D1E4:
/* 8012D1E4 00129024 38 60 00 48 */ li r3, 0x48
/* 8012D1E8 00129028 4B FF EE 99 */ bl HBMAllocMem__FUl
/* 8012D1EC 0012902C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012D1F0 00129030 41 82 00 18 */ beq lbl_8012D208
/* 8012D1F4 00129034 41 82 00 10 */ beq lbl_8012D204
/* 8012D1F8 00129038 80 BF 02 5C */ lwz r5, 0x25c(r31)
/* 8012D1FC 0012903C 7E C4 B3 78 */ mr r4, r22
/* 8012D200 00129040 4B FF D0 91 */ bl __ct__Q210homebutton10ControllerFiPQ210homebutton9RemoteSpk
.global lbl_8012D204
lbl_8012D204:
/* 8012D204 00129044 90 75 02 4C */ stw r3, 0x24c(r21)
.global lbl_8012D208
lbl_8012D208:
/* 8012D208 00129048 3A D6 00 01 */ addi r22, r22, 0x1
/* 8012D20C 0012904C 3A B5 00 04 */ addi r21, r21, 0x4
/* 8012D210 00129050 2C 16 00 04 */ cmpwi r22, 0x4
/* 8012D214 00129054 41 80 FF D0 */ blt lbl_8012D1E4
/* 8012D218 00129058 80 7F 01 F0 */ lwz r3, 0x1f0(r31)
/* 8012D21C 0012905C 38 9F 01 F8 */ addi r4, r31, 0x1f8
/* 8012D220 00129060 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D224 00129064 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 8012D228 00129068 7D 89 03 A6 */ mtctr r12
/* 8012D22C 0012906C 4E 80 04 21 */ bctrl
/* 8012D230 00129070 80 9F 00 04 */ lwz r4, 0x4(r31)
/* 8012D234 00129074 38 61 00 28 */ addi r3, r1, 0x28
/* 8012D238 00129078 C0 3B 02 E0 */ lfs f1, 0x2e0(r27)
/* 8012D23C 0012907C C0 04 00 34 */ lfs f0, 0x34(r4)
/* 8012D240 00129080 88 9F 00 8F */ lbz r4, 0x8f(r31)
/* 8012D244 00129084 EC 01 00 24 */ fdivs f0, f1, f0
/* 8012D248 00129088 88 1F 02 48 */ lbz r0, 0x248(r31)
/* 8012D24C 0012908C 50 80 2E B4 */ rlwimi r0, r4, 5, 26, 26
/* 8012D250 00129090 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8012D254 00129094 D0 3F 02 40 */ stfs f1, 0x240(r31)
/* 8012D258 00129098 98 1F 02 48 */ stb r0, 0x248(r31)
/* 8012D25C 0012909C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8012D260 001290A0 D0 1F 02 3C */ stfs f0, 0x23c(r31)
/* 8012D264 001290A4 4B F0 32 7D */ bl PSMTXIdentity
/* 8012D268 001290A8 80 61 00 28 */ lwz r3, 0x28(r1)
/* 8012D26C 001290AC 3F 60 80 54 */ lis r27, typeInfo__Q36nw4hbm3lyt7TextBox@ha
/* 8012D270 001290B0 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8012D274 001290B4 3B BC 09 E4 */ addi r29, r28, 0x9e4
/* 8012D278 001290B8 90 1F 02 00 */ stw r0, 0x200(r31)
/* 8012D27C 001290BC 3B 7B 37 88 */ addi r27, r27, typeInfo__Q36nw4hbm3lyt7TextBox@l
/* 8012D280 001290C0 3B 80 00 00 */ li r28, 0x0
/* 8012D284 001290C4 3B C0 00 00 */ li r30, 0x0
/* 8012D288 001290C8 90 7F 01 FC */ stw r3, 0x1fc(r31)
/* 8012D28C 001290CC 80 61 00 30 */ lwz r3, 0x30(r1)
/* 8012D290 001290D0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8012D294 001290D4 90 1F 02 08 */ stw r0, 0x208(r31)
/* 8012D298 001290D8 90 7F 02 04 */ stw r3, 0x204(r31)
/* 8012D29C 001290DC 80 61 00 38 */ lwz r3, 0x38(r1)
/* 8012D2A0 001290E0 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8012D2A4 001290E4 90 1F 02 10 */ stw r0, 0x210(r31)
/* 8012D2A8 001290E8 90 7F 02 0C */ stw r3, 0x20c(r31)
/* 8012D2AC 001290EC 80 61 00 40 */ lwz r3, 0x40(r1)
/* 8012D2B0 001290F0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8012D2B4 001290F4 90 1F 02 18 */ stw r0, 0x218(r31)
/* 8012D2B8 001290F8 90 7F 02 14 */ stw r3, 0x214(r31)
/* 8012D2BC 001290FC 80 61 00 48 */ lwz r3, 0x48(r1)
/* 8012D2C0 00129100 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8012D2C4 00129104 90 1F 02 20 */ stw r0, 0x220(r31)
/* 8012D2C8 00129108 90 7F 02 1C */ stw r3, 0x21c(r31)
/* 8012D2CC 0012910C 80 61 00 50 */ lwz r3, 0x50(r1)
/* 8012D2D0 00129110 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8012D2D4 00129114 90 1F 02 28 */ stw r0, 0x228(r31)
/* 8012D2D8 00129118 90 7F 02 24 */ stw r3, 0x224(r31)
.global lbl_8012D2DC
lbl_8012D2DC:
/* 8012D2DC 0012911C 80 7F 01 D8 */ lwz r3, 0x1d8(r31)
/* 8012D2E0 00129120 38 A0 00 01 */ li r5, 0x1
/* 8012D2E4 00129124 80 9D 00 00 */ lwz r4, 0x0(r29)
/* 8012D2E8 00129128 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D2EC 0012912C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D2F0 00129130 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D2F4 00129134 7D 89 03 A6 */ mtctr r12
/* 8012D2F8 00129138 4E 80 04 21 */ bctrl
/* 8012D2FC 0012913C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D300 00129140 7C 75 1B 78 */ mr r21, r3
/* 8012D304 00129144 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012D308 00129148 7D 89 03 A6 */ mtctr r12
/* 8012D30C 0012914C 4E 80 04 21 */ bctrl
/* 8012D310 00129150 48 00 00 1C */ b lbl_8012D32C
/* 8012D314 00129154 60 00 00 00 */ nop
.global lbl_8012D318
lbl_8012D318:
/* 8012D318 00129158 7C 03 D8 40 */ cmplw r3, r27
/* 8012D31C 0012915C 40 82 00 0C */ bne lbl_8012D328
/* 8012D320 00129160 38 00 00 01 */ li r0, 0x1
/* 8012D324 00129164 48 00 00 14 */ b lbl_8012D338
.global lbl_8012D328
lbl_8012D328:
/* 8012D328 00129168 80 63 00 00 */ lwz r3, 0x0(r3)
.global lbl_8012D32C
lbl_8012D32C:
/* 8012D32C 0012916C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012D330 00129170 40 82 FF E8 */ bne lbl_8012D318
/* 8012D334 00129174 38 00 00 00 */ li r0, 0x0
.global lbl_8012D338
lbl_8012D338:
/* 8012D338 00129178 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012D33C 0012917C 41 82 00 08 */ beq lbl_8012D344
/* 8012D340 00129180 48 00 00 08 */ b lbl_8012D348
.global lbl_8012D344
lbl_8012D344:
/* 8012D344 00129184 3A A0 00 00 */ li r21, 0x0
.global lbl_8012D348
lbl_8012D348:
/* 8012D348 00129188 80 7F 00 04 */ lwz r3, 0x4(r31)
/* 8012D34C 0012918C 7C 1E FA 14 */ add r0, r30, r31
/* 8012D350 00129190 38 A0 00 00 */ li r5, 0x0
/* 8012D354 00129194 80 63 00 1C */ lwz r3, 0x1c(r3)
/* 8012D358 00129198 1C 63 00 18 */ mulli r3, r3, 0x18
/* 8012D35C 0012919C 7C 63 02 14 */ add r3, r3, r0
/* 8012D360 001291A0 80 83 00 BC */ lwz r4, 0xbc(r3)
/* 8012D364 001291A4 7C 83 23 78 */ mr r3, r4
.global lbl_8012D368
lbl_8012D368:
/* 8012D368 001291A8 A0 03 00 00 */ lhz r0, 0x0(r3)
/* 8012D36C 001291AC 28 00 00 22 */ cmplwi r0, 0x22
/* 8012D370 001291B0 41 82 00 10 */ beq lbl_8012D380
/* 8012D374 001291B4 38 63 00 02 */ addi r3, r3, 0x2
/* 8012D378 001291B8 38 A5 00 01 */ addi r5, r5, 0x1
/* 8012D37C 001291BC 4B FF FF EC */ b lbl_8012D368
.global lbl_8012D380
lbl_8012D380:
/* 8012D380 001291C0 81 95 00 00 */ lwz r12, 0x0(r21)
/* 8012D384 001291C4 54 A6 04 3E */ clrlwi r6, r5, 16
/* 8012D388 001291C8 7E A3 AB 78 */ mr r3, r21
/* 8012D38C 001291CC 38 A0 00 00 */ li r5, 0x0
/* 8012D390 001291D0 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 8012D394 001291D4 7D 89 03 A6 */ mtctr r12
/* 8012D398 001291D8 4E 80 04 21 */ bctrl
/* 8012D39C 001291DC 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012D3A0 001291E0 3B DE 00 04 */ addi r30, r30, 0x4
/* 8012D3A4 001291E4 2C 1C 00 03 */ cmpwi r28, 0x3
/* 8012D3A8 001291E8 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012D3AC 001291EC 41 80 FF 30 */ blt lbl_8012D2DC
/* 8012D3B0 001291F0 39 61 00 D0 */ addi r11, r1, 0xd0
/* 8012D3B4 001291F4 E3 E1 00 D8 */ psq_l f31, 0xd8(r1), 0, qr0
/* 8012D3B8 001291F8 CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 8012D3BC 001291FC 4B ED 9F B5 */ bl lbl_80007370
/* 8012D3C0 00129200 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 8012D3C4 00129204 7C 08 03 A6 */ mtlr r0
/* 8012D3C8 00129208 38 21 00 E0 */ addi r1, r1, 0xe0
/* 8012D3CC 0012920C 4E 80 00 20 */ blr
.global set_config__Q210homebutton10HomeButtonFv
set_config__Q210homebutton10HomeButtonFv:
/* 8012D3D0 00129210 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8012D3D4 00129214 7C 08 02 A6 */ mflr r0
/* 8012D3D8 00129218 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012D3DC 0012921C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8012D3E0 00129220 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8012D3E4 00129224 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8012D3E8 00129228 7C 7D 1B 78 */ mr r29, r3
/* 8012D3EC 0012922C 93 81 00 10 */ stw r28, 0x10(r1)
/* 8012D3F0 00129230 3B 80 00 00 */ li r28, 0x0
/* 8012D3F4 00129234 80 83 00 04 */ lwz r4, 0x4(r3)
/* 8012D3F8 00129238 83 E4 00 0C */ lwz r31, 0xc(r4)
/* 8012D3FC 0012923C 80 04 00 28 */ lwz r0, 0x28(r4)
/* 8012D400 00129240 7F E3 FB 78 */ mr r3, r31
/* 8012D404 00129244 7F DF 02 14 */ add r30, r31, r0
/* 8012D408 00129248 48 00 00 1C */ b lbl_8012D424
/* 8012D40C 0012924C 60 00 00 00 */ nop
.global lbl_8012D410
lbl_8012D410:
/* 8012D410 00129250 7C 80 07 74 */ extsb r0, r4
/* 8012D414 00129254 2C 00 00 2C */ cmpwi r0, 0x2c
/* 8012D418 00129258 41 82 00 18 */ beq lbl_8012D430
/* 8012D41C 0012925C 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012D420 00129260 38 63 00 01 */ addi r3, r3, 0x1
.global lbl_8012D424
lbl_8012D424:
/* 8012D424 00129264 88 83 00 00 */ lbz r4, 0x0(r3)
/* 8012D428 00129268 7C 80 07 75 */ extsb. r0, r4
/* 8012D42C 0012926C 40 82 FF E4 */ bne lbl_8012D410
.global lbl_8012D430
lbl_8012D430:
/* 8012D430 00129270 38 7C 00 01 */ addi r3, r28, 0x1
/* 8012D434 00129274 4B FF EC 4D */ bl HBMAllocMem__FUl
/* 8012D438 00129278 90 7D 00 B0 */ stw r3, 0xb0(r29)
/* 8012D43C 0012927C 7F E4 FB 78 */ mr r4, r31
/* 8012D440 00129280 7F 85 E3 78 */ mr r5, r28
/* 8012D444 00129284 4B EE 06 3D */ bl strncpy
/* 8012D448 00129288 80 9D 00 B0 */ lwz r4, 0xb0(r29)
/* 8012D44C 0012928C 7C 7C FA 14 */ add r3, r28, r31
/* 8012D450 00129290 3B E3 00 01 */ addi r31, r3, 0x1
/* 8012D454 00129294 38 00 00 00 */ li r0, 0x0
/* 8012D458 00129298 7C 04 E1 AE */ stbx r0, r4, r28
/* 8012D45C 0012929C 7F E3 FB 78 */ mr r3, r31
/* 8012D460 001292A0 3B 80 00 00 */ li r28, 0x0
/* 8012D464 001292A4 48 00 00 18 */ b lbl_8012D47C
.global lbl_8012D468
lbl_8012D468:
/* 8012D468 001292A8 7C 80 07 74 */ extsb r0, r4
/* 8012D46C 001292AC 2C 00 00 2C */ cmpwi r0, 0x2c
/* 8012D470 001292B0 41 82 00 18 */ beq lbl_8012D488
/* 8012D474 001292B4 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012D478 001292B8 38 63 00 01 */ addi r3, r3, 0x1
.global lbl_8012D47C
lbl_8012D47C:
/* 8012D47C 001292BC 88 83 00 00 */ lbz r4, 0x0(r3)
/* 8012D480 001292C0 7C 80 07 75 */ extsb. r0, r4
/* 8012D484 001292C4 40 82 FF E4 */ bne lbl_8012D468
.global lbl_8012D488
lbl_8012D488:
/* 8012D488 001292C8 38 7C 00 01 */ addi r3, r28, 0x1
/* 8012D48C 001292CC 4B FF EB F5 */ bl HBMAllocMem__FUl
/* 8012D490 001292D0 90 7D 00 B4 */ stw r3, 0xb4(r29)
/* 8012D494 001292D4 7F E4 FB 78 */ mr r4, r31
/* 8012D498 001292D8 7F 85 E3 78 */ mr r5, r28
/* 8012D49C 001292DC 4B EE 05 E5 */ bl strncpy
/* 8012D4A0 001292E0 80 7D 00 B4 */ lwz r3, 0xb4(r29)
/* 8012D4A4 001292E4 38 80 00 00 */ li r4, 0x0
/* 8012D4A8 001292E8 7F A5 EB 78 */ mr r5, r29
/* 8012D4AC 001292EC 7F FF E2 14 */ add r31, r31, r28
/* 8012D4B0 001292F0 7C 83 E1 AE */ stbx r4, r3, r28
/* 8012D4B4 001292F4 39 00 00 00 */ li r8, 0x0
/* 8012D4B8 001292F8 39 20 00 00 */ li r9, 0x0
/* 8012D4BC 001292FC 38 60 00 01 */ li r3, 0x1
/* 8012D4C0 00129300 48 00 00 38 */ b lbl_8012D4F8
/* 8012D4C4 00129304 60 00 00 00 */ nop
.global lbl_8012D4C8
lbl_8012D4C8:
/* 8012D4C8 00129308 7C E0 07 74 */ extsb r0, r7
/* 8012D4CC 0012930C 2C 00 00 2C */ cmpwi r0, 0x2c
/* 8012D4D0 00129310 40 82 00 24 */ bne lbl_8012D4F4
/* 8012D4D4 00129314 88 06 00 01 */ lbz r0, 0x1(r6)
/* 8012D4D8 00129318 2C 00 00 31 */ cmpwi r0, 0x31
/* 8012D4DC 0012931C 40 82 00 0C */ bne lbl_8012D4E8
/* 8012D4E0 00129320 90 65 00 A0 */ stw r3, 0xa0(r5)
/* 8012D4E4 00129324 48 00 00 08 */ b lbl_8012D4EC
.global lbl_8012D4E8
lbl_8012D4E8:
/* 8012D4E8 00129328 90 85 00 A0 */ stw r4, 0xa0(r5)
.global lbl_8012D4EC
lbl_8012D4EC:
/* 8012D4EC 0012932C 38 A5 00 04 */ addi r5, r5, 0x4
/* 8012D4F0 00129330 39 29 00 01 */ addi r9, r9, 0x1
.global lbl_8012D4F4
lbl_8012D4F4:
/* 8012D4F4 00129334 39 08 00 01 */ addi r8, r8, 0x1
.global lbl_8012D4F8
lbl_8012D4F8:
/* 8012D4F8 00129338 7C FF 40 AE */ lbzx r7, r31, r8
/* 8012D4FC 0012933C 7C DF 42 14 */ add r6, r31, r8
/* 8012D500 00129340 7C E0 07 75 */ extsb. r0, r7
/* 8012D504 00129344 41 82 00 0C */ beq lbl_8012D510
/* 8012D508 00129348 7C 06 F0 40 */ cmplw r6, r30
/* 8012D50C 0012934C 41 80 FF BC */ blt lbl_8012D4C8
.global lbl_8012D510
lbl_8012D510:
/* 8012D510 00129350 55 20 10 3A */ slwi r0, r9, 2
/* 8012D514 00129354 91 3D 00 0C */ stw r9, 0xc(r29)
/* 8012D518 00129358 7C 09 00 50 */ subf r0, r9, r0
/* 8012D51C 0012935C 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8012D520 00129360 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8012D524 00129364 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8012D528 00129368 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8012D52C 0012936C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8012D530 00129370 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8012D534 00129374 7C 08 03 A6 */ mtlr r0
/* 8012D538 00129378 38 21 00 20 */ addi r1, r1, 0x20
/* 8012D53C 0012937C 4E 80 00 20 */ blr
.global set_text__Q210homebutton10HomeButtonFv
set_text__Q210homebutton10HomeButtonFv:
/* 8012D540 00129380 80 83 00 04 */ lwz r4, 0x4(r3)
/* 8012D544 00129384 39 00 00 00 */ li r8, 0x0
/* 8012D548 00129388 39 20 00 00 */ li r9, 0x0
/* 8012D54C 0012938C 39 40 00 00 */ li r10, 0x0
/* 8012D550 00129390 81 64 00 08 */ lwz r11, 0x8(r4)
/* 8012D554 00129394 38 E0 00 00 */ li r7, 0x0
/* 8012D558 00129398 7D 66 5B 78 */ mr r6, r11
/* 8012D55C 0012939C 48 00 00 58 */ b lbl_8012D5B4
.global lbl_8012D560
lbl_8012D560:
/* 8012D560 001293A0 28 00 00 22 */ cmplwi r0, 0x22
/* 8012D564 001293A4 40 82 00 48 */ bne lbl_8012D5AC
/* 8012D568 001293A8 2C 0A 00 00 */ cmpwi r10, 0x0
/* 8012D56C 001293AC 40 82 00 3C */ bne lbl_8012D5A8
/* 8012D570 001293B0 1C 89 00 18 */ mulli r4, r9, 0x18
/* 8012D574 001293B4 38 A8 00 01 */ addi r5, r8, 0x1
/* 8012D578 001293B8 7C 07 1A 14 */ add r0, r7, r3
/* 8012D57C 001293BC 39 29 00 01 */ addi r9, r9, 0x1
/* 8012D580 001293C0 54 A5 08 3C */ slwi r5, r5, 1
/* 8012D584 001293C4 39 40 00 01 */ li r10, 0x1
/* 8012D588 001293C8 7C 84 02 14 */ add r4, r4, r0
/* 8012D58C 001293CC 2C 09 00 0A */ cmpwi r9, 0xa
/* 8012D590 001293D0 7C 0B 2A 14 */ add r0, r11, r5
/* 8012D594 001293D4 90 04 00 BC */ stw r0, 0xbc(r4)
/* 8012D598 001293D8 40 82 00 14 */ bne lbl_8012D5AC
/* 8012D59C 001293DC 39 20 00 00 */ li r9, 0x0
/* 8012D5A0 001293E0 38 E7 00 04 */ addi r7, r7, 0x4
/* 8012D5A4 001293E4 48 00 00 08 */ b lbl_8012D5AC
.global lbl_8012D5A8
lbl_8012D5A8:
/* 8012D5A8 001293E8 39 40 00 00 */ li r10, 0x0
.global lbl_8012D5AC
lbl_8012D5AC:
/* 8012D5AC 001293EC 38 C6 00 02 */ addi r6, r6, 0x2
/* 8012D5B0 001293F0 39 08 00 01 */ addi r8, r8, 0x1
.global lbl_8012D5B4
lbl_8012D5B4:
/* 8012D5B4 001293F4 A0 06 00 00 */ lhz r0, 0x0(r6)
/* 8012D5B8 001293F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012D5BC 001293FC 40 82 FF A4 */ bne lbl_8012D560
/* 8012D5C0 00129400 4E 80 00 20 */ blr
/* 8012D5C4 00129404 00 00 00 00 */ .4byte 0x00000000
/* 8012D5C8 00129408 00 00 00 00 */ .4byte 0x00000000
/* 8012D5CC 0012940C 00 00 00 00 */ .4byte 0x00000000
.global init__Q210homebutton10HomeButtonFv
init__Q210homebutton10HomeButtonFv:
/* 8012D5D0 00129410 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8012D5D4 00129414 7C 08 02 A6 */ mflr r0
/* 8012D5D8 00129418 90 01 00 84 */ stw r0, 0x84(r1)
/* 8012D5DC 0012941C 39 61 00 60 */ addi r11, r1, 0x60
/* 8012D5E0 00129420 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 8012D5E4 00129424 F3 E1 00 78 */ psq_st f31, 0x78(r1), 0, qr0
/* 8012D5E8 00129428 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 8012D5EC 0012942C F3 C1 00 68 */ psq_st f30, 0x68(r1), 0, qr0
/* 8012D5F0 00129430 4B ED 9D 49 */ bl lbl_80007338
/* 8012D5F4 00129434 88 03 00 94 */ lbz r0, 0x94(r3)
/* 8012D5F8 00129438 3F C0 80 41 */ lis r30, "@9436_8040DE40"@ha
/* 8012D5FC 0012943C 3F E0 80 44 */ lis r31, "@9521_80443068"@ha
/* 8012D600 00129440 7C 7D 1B 78 */ mr r29, r3
/* 8012D604 00129444 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012D608 00129448 3B DE DE 40 */ addi r30, r30, "@9436_8040DE40"@l
/* 8012D60C 0012944C 3B FF 30 68 */ addi r31, r31, "@9521_80443068"@l
/* 8012D610 00129450 40 82 04 9C */ bne lbl_8012DAAC
/* 8012D614 00129454 38 00 00 01 */ li r0, 0x1
/* 8012D618 00129458 98 03 00 94 */ stb r0, 0x94(r3)
/* 8012D61C 0012945C B0 03 05 CA */ sth r0, 0x5ca(r3)
/* 8012D620 00129460 4B F2 8E 51 */ bl WPADStopSimpleSync
/* 8012D624 00129464 3B 80 00 00 */ li r28, 0x0
/* 8012D628 00129468 9B 9D 00 95 */ stb r28, 0x95(r29)
/* 8012D62C 0012946C 3C 80 80 54 */ lis r4, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8012D630 00129470 88 1D 00 97 */ lbz r0, 0x97(r29)
/* 8012D634 00129474 9B 9D 00 96 */ stb r28, 0x96(r29)
/* 8012D638 00129478 C0 5E 02 F0 */ lfs f2, 0x2f0(r30)
/* 8012D63C 0012947C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012D640 00129480 9B 9D 00 9A */ stb r28, 0x9a(r29)
/* 8012D644 00129484 C0 3E 02 F4 */ lfs f1, 0x2f4(r30)
/* 8012D648 00129488 9B 9D 00 98 */ stb r28, 0x98(r29)
/* 8012D64C 0012948C 93 9D 01 AC */ stw r28, 0x1ac(r29)
/* 8012D650 00129490 80 64 36 C0 */ lwz r3, spHomeButtonObj__Q210homebutton10HomeButton@l(r4)
/* 8012D654 00129494 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8012D658 00129498 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8012D65C 0012949C EC 02 00 24 */ fdivs f0, f2, f0
/* 8012D660 001294A0 FC 00 00 1E */ fctiwz f0, f0
/* 8012D664 001294A4 D8 01 00 30 */ stfd f0, 0x30(r1)
/* 8012D668 001294A8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8012D66C 001294AC 90 1D 05 BC */ stw r0, 0x5bc(r29)
/* 8012D670 001294B0 80 64 36 C0 */ lwz r3, 0x36c0(r4)
/* 8012D674 001294B4 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8012D678 001294B8 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8012D67C 001294BC EC 01 00 24 */ fdivs f0, f1, f0
/* 8012D680 001294C0 FC 00 00 1E */ fctiwz f0, f0
/* 8012D684 001294C4 D8 01 00 38 */ stfd f0, 0x38(r1)
/* 8012D688 001294C8 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8012D68C 001294CC 90 1D 05 C0 */ stw r0, 0x5c0(r29)
/* 8012D690 001294D0 41 82 00 40 */ beq lbl_8012D6D0
/* 8012D694 001294D4 38 7D 05 D4 */ addi r3, r29, 0x5d4
/* 8012D698 001294D8 4B F1 8B 39 */ bl AXFXReverbHiShutdown
/* 8012D69C 001294DC 80 7D 07 34 */ lwz r3, 0x734(r29)
/* 8012D6A0 001294E0 80 9D 07 38 */ lwz r4, 0x738(r29)
/* 8012D6A4 001294E4 4B F1 63 BD */ bl AXRegisterAuxACallback
/* 8012D6A8 001294E8 80 7D 05 CC */ lwz r3, 0x5cc(r29)
/* 8012D6AC 001294EC 80 9D 05 D0 */ lwz r4, 0x5d0(r29)
/* 8012D6B0 001294F0 4B F1 99 B1 */ bl AXFXSetHooks
/* 8012D6B4 001294F4 A0 7D 05 C4 */ lhz r3, 0x5c4(r29)
/* 8012D6B8 001294F8 4B F1 70 09 */ bl AXSetAuxAReturnVolume
/* 8012D6BC 001294FC A0 7D 05 C6 */ lhz r3, 0x5c6(r29)
/* 8012D6C0 00129500 4B F1 70 11 */ bl AXSetAuxBReturnVolume
/* 8012D6C4 00129504 A0 7D 05 C8 */ lhz r3, 0x5c8(r29)
/* 8012D6C8 00129508 4B F1 70 19 */ bl AXSetAuxCReturnVolume
/* 8012D6CC 0012950C 9B 9D 00 97 */ stb r28, 0x97(r29)
.global lbl_8012D6D0
lbl_8012D6D0:
/* 8012D6D0 00129510 38 00 00 00 */ li r0, 0x0
/* 8012D6D4 00129514 90 1D 00 20 */ stw r0, 0x20(r29)
/* 8012D6D8 00129518 90 1D 00 24 */ stw r0, 0x24(r29)
/* 8012D6DC 0012951C 90 1D 00 28 */ stw r0, 0x28(r29)
/* 8012D6E0 00129520 90 1D 00 2C */ stw r0, 0x2c(r29)
/* 8012D6E4 00129524 90 1D 00 30 */ stw r0, 0x30(r29)
/* 8012D6E8 00129528 90 1D 00 34 */ stw r0, 0x34(r29)
/* 8012D6EC 0012952C 90 1D 00 38 */ stw r0, 0x38(r29)
/* 8012D6F0 00129530 90 1D 00 3C */ stw r0, 0x3c(r29)
/* 8012D6F4 00129534 90 1D 00 40 */ stw r0, 0x40(r29)
/* 8012D6F8 00129538 90 1D 00 44 */ stw r0, 0x44(r29)
/* 8012D6FC 0012953C 90 1D 00 48 */ stw r0, 0x48(r29)
/* 8012D700 00129540 90 1D 00 4C */ stw r0, 0x4c(r29)
/* 8012D704 00129544 90 1D 00 50 */ stw r0, 0x50(r29)
/* 8012D708 00129548 90 1D 00 54 */ stw r0, 0x54(r29)
/* 8012D70C 0012954C 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8012D710 00129550 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 8012D714 00129554 90 1D 00 00 */ stw r0, 0x0(r29)
/* 8012D718 00129558 98 1D 00 90 */ stb r0, 0x90(r29)
/* 8012D71C 0012955C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D720 00129560 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012D724 00129564 7D 89 03 A6 */ mtctr r12
/* 8012D728 00129568 4E 80 04 21 */ bctrl
/* 8012D72C 0012956C 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 8012D730 00129570 38 80 00 00 */ li r4, 0x0
/* 8012D734 00129574 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D738 00129578 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 8012D73C 0012957C 7D 89 03 A6 */ mtctr r12
/* 8012D740 00129580 4E 80 04 21 */ bctrl
/* 8012D744 00129584 3B 7F 00 98 */ addi r27, r31, 0x98
/* 8012D748 00129588 3B 40 00 00 */ li r26, 0x0
/* 8012D74C 0012958C 48 00 00 58 */ b lbl_8012D7A4
.global lbl_8012D750
lbl_8012D750:
/* 8012D750 00129590 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012D754 00129594 38 A0 00 01 */ li r5, 0x1
/* 8012D758 00129598 80 9B 00 00 */ lwz r4, 0x0(r27)
/* 8012D75C 0012959C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D760 001295A0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D764 001295A4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D768 001295A8 7D 89 03 A6 */ mtctr r12
/* 8012D76C 001295AC 4E 80 04 21 */ bctrl
/* 8012D770 001295B0 7C 64 1B 78 */ mr r4, r3
/* 8012D774 001295B4 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 8012D778 001295B8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D77C 001295BC 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8012D780 001295C0 7D 89 03 A6 */ mtctr r12
/* 8012D784 001295C4 4E 80 04 21 */ bctrl
/* 8012D788 001295C8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D78C 001295CC 38 80 00 01 */ li r4, 0x1
/* 8012D790 001295D0 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 8012D794 001295D4 7D 89 03 A6 */ mtctr r12
/* 8012D798 001295D8 4E 80 04 21 */ bctrl
/* 8012D79C 001295DC 3B 7B 00 04 */ addi r27, r27, 0x4
/* 8012D7A0 001295E0 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_8012D7A4
lbl_8012D7A4:
/* 8012D7A4 001295E4 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8012D7A8 001295E8 7C 1A 00 00 */ cmpw r26, r0
/* 8012D7AC 001295EC 41 80 FF A4 */ blt lbl_8012D750
/* 8012D7B0 001295F0 7F A3 EB 78 */ mr r3, r29
/* 8012D7B4 001295F4 48 00 3F 8D */ bl updateTrigPane__Q210homebutton10HomeButtonFv
/* 8012D7B8 001295F8 80 9D 01 D8 */ lwz r4, 0x1d8(r29)
/* 8012D7BC 001295FC 38 61 00 20 */ addi r3, r1, 0x20
/* 8012D7C0 00129600 48 00 9C 91 */ bl GetLayoutRect__Q36nw4hbm3lyt6LayoutCFv
/* 8012D7C4 00129604 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8012D7C8 00129608 38 9D 01 F8 */ addi r4, r29, 0x1f8
/* 8012D7CC 0012960C D0 1D 02 2C */ stfs f0, 0x22c(r29)
/* 8012D7D0 00129610 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012D7D4 00129614 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8012D7D8 00129618 D0 1D 02 30 */ stfs f0, 0x230(r29)
/* 8012D7DC 0012961C C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8012D7E0 00129620 D0 1D 02 34 */ stfs f0, 0x234(r29)
/* 8012D7E4 00129624 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 8012D7E8 00129628 D0 1D 02 38 */ stfs f0, 0x238(r29)
/* 8012D7EC 0012962C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D7F0 00129630 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8012D7F4 00129634 7D 89 03 A6 */ mtctr r12
/* 8012D7F8 00129638 4E 80 04 21 */ bctrl
/* 8012D7FC 0012963C C0 1E 02 F8 */ lfs f0, 0x2f8(r30)
/* 8012D800 00129640 7F BB EB 78 */ mr r27, r29
/* 8012D804 00129644 D0 01 00 08 */ stfs f0, 0x8(r1)
/* 8012D808 00129648 3B 40 00 00 */ li r26, 0x0
/* 8012D80C 0012964C FF C0 00 18 */ frsp f30, f0
/* 8012D810 00129650 C3 FE 02 E4 */ lfs f31, 0x2e4(r30)
/* 8012D814 00129654 D0 01 00 0C */ stfs f0, 0xc(r1)
.global lbl_8012D818
lbl_8012D818:
/* 8012D818 00129658 80 7B 01 DC */ lwz r3, 0x1dc(r27)
/* 8012D81C 0012965C 38 9D 01 F8 */ addi r4, r29, 0x1f8
/* 8012D820 00129660 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D824 00129664 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8012D828 00129668 7D 89 03 A6 */ mtctr r12
/* 8012D82C 0012966C 4E 80 04 21 */ bctrl
/* 8012D830 00129670 80 7B 01 DC */ lwz r3, 0x1dc(r27)
/* 8012D834 00129674 38 A0 00 01 */ li r5, 0x1
/* 8012D838 00129678 80 9F 00 58 */ lwz r4, 0x58(r31)
/* 8012D83C 0012967C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D840 00129680 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D844 00129684 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D848 00129688 7D 89 03 A6 */ mtctr r12
/* 8012D84C 0012968C 4E 80 04 21 */ bctrl
/* 8012D850 00129690 D3 C3 00 2C */ stfs f30, 0x2c(r3)
/* 8012D854 00129694 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012D858 00129698 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8012D85C 0012969C 3B 7B 00 04 */ addi r27, r27, 0x4
/* 8012D860 001296A0 D3 C3 00 30 */ stfs f30, 0x30(r3)
/* 8012D864 001296A4 D3 C1 00 10 */ stfs f30, 0x10(r1)
/* 8012D868 001296A8 D3 C1 00 14 */ stfs f30, 0x14(r1)
/* 8012D86C 001296AC D3 E1 00 18 */ stfs f31, 0x18(r1)
/* 8012D870 001296B0 D3 E3 00 34 */ stfs f31, 0x34(r3)
/* 8012D874 001296B4 41 80 FF A4 */ blt lbl_8012D818
/* 8012D878 001296B8 3B 80 00 00 */ li r28, 0x0
.global lbl_8012D87C
lbl_8012D87C:
/* 8012D87C 001296BC 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 8012D880 001296C0 7F 84 E3 78 */ mr r4, r28
/* 8012D884 001296C4 C0 3E 02 FC */ lfs f1, 0x2fc(r30)
/* 8012D888 001296C8 38 A0 00 00 */ li r5, 0x0
/* 8012D88C 001296CC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D890 001296D0 38 C0 00 00 */ li r6, 0x0
/* 8012D894 001296D4 FC 40 08 90 */ fmr f2, f1
/* 8012D898 001296D8 38 E0 00 00 */ li r7, 0x0
/* 8012D89C 001296DC 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8012D8A0 001296E0 39 00 00 00 */ li r8, 0x0
/* 8012D8A4 001296E4 7D 89 03 A6 */ mtctr r12
/* 8012D8A8 001296E8 4E 80 04 21 */ bctrl
/* 8012D8AC 001296EC 3B 9C 00 01 */ addi r28, r28, 0x1
/* 8012D8B0 001296F0 2C 1C 00 08 */ cmpwi r28, 0x8
/* 8012D8B4 001296F4 41 80 FF C8 */ blt lbl_8012D87C
/* 8012D8B8 001296F8 C3 FE 02 E4 */ lfs f31, 0x2e4(r30)
/* 8012D8BC 001296FC 7F BB EB 78 */ mr r27, r29
/* 8012D8C0 00129700 3B 40 00 00 */ li r26, 0x0
/* 8012D8C4 00129704 3B 80 00 00 */ li r28, 0x0
.global lbl_8012D8C8
lbl_8012D8C8:
/* 8012D8C8 00129708 93 9B 00 58 */ stw r28, 0x58(r27)
/* 8012D8CC 0012970C 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8012D8D0 00129710 4B FF CE 01 */ bl setInValidPos__Q210homebutton10ControllerFv
/* 8012D8D4 00129714 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8012D8D8 00129718 4B FF CD D9 */ bl clrKpadButton__Q210homebutton10ControllerFv
/* 8012D8DC 0012971C 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8012D8E0 00129720 4B EF 6B C1 */ bl DefaultSwitchThreadCallback
/* 8012D8E4 00129724 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8012D8E8 00129728 4B FF D3 39 */ bl clrBatteryFlag__Q210homebutton10ControllerFv
/* 8012D8EC 0012972C 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8012D8F0 00129730 4B FF CB 01 */ bl initCallback__Q210homebutton10ControllerFv
/* 8012D8F4 00129734 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8012D8F8 00129738 4B FF CF 19 */ bl initSound__Q210homebutton10ControllerFv
/* 8012D8FC 0012973C 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012D900 00129740 D3 FB 01 B0 */ stfs f31, 0x1b0(r27)
/* 8012D904 00129744 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8012D908 00129748 D3 FB 01 C0 */ stfs f31, 0x1c0(r27)
/* 8012D90C 0012974C 3B 7B 00 04 */ addi r27, r27, 0x4
/* 8012D910 00129750 41 80 FF B8 */ blt lbl_8012D8C8
/* 8012D914 00129754 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012D918 00129758 38 A0 00 01 */ li r5, 0x1
/* 8012D91C 0012975C 80 9F 09 00 */ lwz r4, 0x900(r31)
/* 8012D920 00129760 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D924 00129764 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D928 00129768 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D92C 0012976C 7D 89 03 A6 */ mtctr r12
/* 8012D930 00129770 4E 80 04 21 */ bctrl
/* 8012D934 00129774 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012D938 00129778 38 9F 0B 68 */ addi r4, r31, 0xb68
/* 8012D93C 0012977C 38 A0 00 01 */ li r5, 0x1
/* 8012D940 00129780 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012D944 00129784 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012D948 00129788 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012D94C 0012978C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D950 00129790 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D954 00129794 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D958 00129798 7D 89 03 A6 */ mtctr r12
/* 8012D95C 0012979C 4E 80 04 21 */ bctrl
/* 8012D960 001297A0 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012D964 001297A4 38 9F 0B 74 */ addi r4, r31, 0xb74
/* 8012D968 001297A8 38 A0 00 01 */ li r5, 0x1
/* 8012D96C 001297AC 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012D970 001297B0 60 00 00 01 */ ori r0, r0, 0x1
/* 8012D974 001297B4 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012D978 001297B8 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012D97C 001297BC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D980 001297C0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D984 001297C4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D988 001297C8 7D 89 03 A6 */ mtctr r12
/* 8012D98C 001297CC 4E 80 04 21 */ bctrl
/* 8012D990 001297D0 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012D994 001297D4 38 9F 0B 7C */ addi r4, r31, 0xb7c
/* 8012D998 001297D8 38 A0 00 01 */ li r5, 0x1
/* 8012D99C 001297DC 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012D9A0 001297E0 60 00 00 01 */ ori r0, r0, 0x1
/* 8012D9A4 001297E4 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012D9A8 001297E8 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012D9AC 001297EC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D9B0 001297F0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D9B4 001297F4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D9B8 001297F8 7D 89 03 A6 */ mtctr r12
/* 8012D9BC 001297FC 4E 80 04 21 */ bctrl
/* 8012D9C0 00129800 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012D9C4 00129804 38 9F 09 98 */ addi r4, r31, 0x998
/* 8012D9C8 00129808 3B 84 00 08 */ addi r28, r4, 0x8
/* 8012D9CC 0012980C 3B 60 00 02 */ li r27, 0x2
/* 8012D9D0 00129810 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012D9D4 00129814 60 00 00 01 */ ori r0, r0, 0x1
/* 8012D9D8 00129818 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_8012D9DC
lbl_8012D9DC:
/* 8012D9DC 0012981C 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012D9E0 00129820 38 A0 00 01 */ li r5, 0x1
/* 8012D9E4 00129824 80 9C 00 00 */ lwz r4, 0x0(r28)
/* 8012D9E8 00129828 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012D9EC 0012982C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012D9F0 00129830 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012D9F4 00129834 7D 89 03 A6 */ mtctr r12
/* 8012D9F8 00129838 4E 80 04 21 */ bctrl
/* 8012D9FC 0012983C 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012DA00 00129840 3B 7B 00 01 */ addi r27, r27, 0x1
/* 8012DA04 00129844 2C 1B 00 07 */ cmpwi r27, 0x7
/* 8012DA08 00129848 3B 9C 00 04 */ addi r28, r28, 0x4
/* 8012DA0C 0012984C 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012DA10 00129850 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012DA14 00129854 41 80 FF C8 */ blt lbl_8012D9DC
/* 8012DA18 00129858 3B 9F 09 E4 */ addi r28, r31, 0x9e4
/* 8012DA1C 0012985C 3B 60 00 00 */ li r27, 0x0
.global lbl_8012DA20
lbl_8012DA20:
/* 8012DA20 00129860 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8012DA24 00129864 38 A0 00 01 */ li r5, 0x1
/* 8012DA28 00129868 80 9C 00 00 */ lwz r4, 0x0(r28)
/* 8012DA2C 0012986C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012DA30 00129870 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012DA34 00129874 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012DA38 00129878 7D 89 03 A6 */ mtctr r12
/* 8012DA3C 0012987C 4E 80 04 21 */ bctrl
/* 8012DA40 00129880 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012DA44 00129884 3B 7B 00 01 */ addi r27, r27, 0x1
/* 8012DA48 00129888 2C 1B 00 03 */ cmpwi r27, 0x3
/* 8012DA4C 0012988C 3B 9C 00 04 */ addi r28, r28, 0x4
/* 8012DA50 00129890 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012DA54 00129894 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012DA58 00129898 41 80 FF C8 */ blt lbl_8012DA20
/* 8012DA5C 0012989C 80 7D 02 5C */ lwz r3, 0x25c(r29)
/* 8012DA60 001298A0 4B FF D5 F1 */ bl Start__Q210homebutton9RemoteSpkFv
/* 8012DA64 001298A4 7F A3 EB 78 */ mr r3, r29
/* 8012DA68 001298A8 38 80 00 00 */ li r4, 0x0
/* 8012DA6C 001298AC 48 00 06 15 */ bl calc__Q210homebutton10HomeButtonFPC17HBMControllerData
/* 8012DA70 001298B0 3C 60 80 54 */ lis r3, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8012DA74 001298B4 C0 3E 03 00 */ lfs f1, 0x300(r30)
/* 8012DA78 001298B8 80 83 36 C0 */ lwz r4, spHomeButtonObj__Q210homebutton10HomeButton@l(r3)
/* 8012DA7C 001298BC 38 00 00 01 */ li r0, 0x1
/* 8012DA80 001298C0 38 60 00 00 */ li r3, 0x0
/* 8012DA84 001298C4 80 84 00 04 */ lwz r4, 0x4(r4)
/* 8012DA88 001298C8 C0 04 00 30 */ lfs f0, 0x30(r4)
/* 8012DA8C 001298CC EC 01 00 24 */ fdivs f0, f1, f0
/* 8012DA90 001298D0 98 1D 04 00 */ stb r0, 0x400(r29)
/* 8012DA94 001298D4 90 7D 03 F4 */ stw r3, 0x3f4(r29)
/* 8012DA98 001298D8 90 7D 03 FC */ stw r3, 0x3fc(r29)
/* 8012DA9C 001298DC FC 00 00 1E */ fctiwz f0, f0
/* 8012DAA0 001298E0 D8 01 00 38 */ stfd f0, 0x38(r1)
/* 8012DAA4 001298E4 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8012DAA8 001298E8 90 1D 03 F8 */ stw r0, 0x3f8(r29)
.global lbl_8012DAAC
lbl_8012DAAC:
/* 8012DAAC 001298EC 39 61 00 60 */ addi r11, r1, 0x60
/* 8012DAB0 001298F0 E3 E1 00 78 */ psq_l f31, 0x78(r1), 0, qr0
/* 8012DAB4 001298F4 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8012DAB8 001298F8 E3 C1 00 68 */ psq_l f30, 0x68(r1), 0, qr0
/* 8012DABC 001298FC CB C1 00 60 */ lfd f30, 0x60(r1)
/* 8012DAC0 00129900 4B ED 98 C5 */ bl lbl_80007384
/* 8012DAC4 00129904 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8012DAC8 00129908 7C 08 03 A6 */ mtlr r0
/* 8012DACC 0012990C 38 21 00 80 */ addi r1, r1, 0x80
/* 8012DAD0 00129910 4E 80 00 20 */ blr
/* 8012DAD4 00129914 00 00 00 00 */ .4byte 0x00000000
/* 8012DAD8 00129918 00 00 00 00 */ .4byte 0x00000000
/* 8012DADC 0012991C 00 00 00 00 */ .4byte 0x00000000
.global init_volume__Q210homebutton10HomeButtonFv
init_volume__Q210homebutton10HomeButtonFv:
/* 8012DAE0 00129920 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8012DAE4 00129924 7C 08 02 A6 */ mflr r0
/* 8012DAE8 00129928 90 01 00 64 */ stw r0, 0x64(r1)
/* 8012DAEC 0012992C 39 61 00 40 */ addi r11, r1, 0x40
/* 8012DAF0 00129930 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 8012DAF4 00129934 F3 E1 00 58 */ psq_st f31, 0x58(r1), 0, qr0
/* 8012DAF8 00129938 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 8012DAFC 0012993C F3 C1 00 48 */ psq_st f30, 0x48(r1), 0, qr0
/* 8012DB00 00129940 4B ED 98 35 */ bl lbl_80007334
/* 8012DB04 00129944 3F E0 80 41 */ lis r31, "@9436_8040DE40"@ha
/* 8012DB08 00129948 7C 7D 1B 78 */ mr r29, r3
/* 8012DB0C 0012994C 3B FF DE 40 */ addi r31, r31, "@9436_8040DE40"@l
/* 8012DB10 00129950 4B F2 C4 A1 */ bl WPADGetSpeakerVolume
/* 8012DB14 00129954 54 60 06 3E */ clrlwi r0, r3, 24
/* 8012DB18 00129958 3F 40 43 30 */ lis r26, 0x4330
/* 8012DB1C 0012995C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8012DB20 00129960 38 60 00 7F */ li r3, 0x7f
/* 8012DB24 00129964 C8 7F 02 E8 */ lfd f3, 0x2e8(r31)
/* 8012DB28 00129968 93 41 00 08 */ stw r26, 0x8(r1)
/* 8012DB2C 0012996C C0 3F 03 08 */ lfs f1, 0x308(r31)
/* 8012DB30 00129970 C8 41 00 08 */ lfd f2, 0x8(r1)
/* 8012DB34 00129974 C0 1F 03 04 */ lfs f0, 0x304(r31)
/* 8012DB38 00129978 EC 42 18 28 */ fsubs f2, f2, f3
/* 8012DB3C 0012997C EC 21 00 B2 */ fmuls f1, f1, f2
/* 8012DB40 00129980 EC 00 08 2A */ fadds f0, f0, f1
/* 8012DB44 00129984 FC 00 00 1E */ fctiwz f0, f0
/* 8012DB48 00129988 D8 01 00 10 */ stfd f0, 0x10(r1)
/* 8012DB4C 0012998C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012DB50 00129990 90 1D 00 84 */ stw r0, 0x84(r29)
/* 8012DB54 00129994 4B F2 C4 9D */ bl WPADSetSpeakerVolume
/* 8012DB58 00129998 CB DF 03 10 */ lfd f30, 0x310(r31)
/* 8012DB5C 0012999C 7F B9 EB 78 */ mr r25, r29
/* 8012DB60 001299A0 C3 FF 03 0C */ lfs f31, 0x30c(r31)
/* 8012DB64 001299A4 3B 60 00 00 */ li r27, 0x0
.global lbl_8012DB68
lbl_8012DB68:
/* 8012DB68 001299A8 80 1D 00 84 */ lwz r0, 0x84(r29)
/* 8012DB6C 001299AC 93 41 00 10 */ stw r26, 0x10(r1)
/* 8012DB70 001299B0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8012DB74 001299B4 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012DB78 001299B8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012DB7C 001299BC C8 01 00 10 */ lfd f0, 0x10(r1)
/* 8012DB80 001299C0 EC 00 F0 28 */ fsubs f0, f0, f30
/* 8012DB84 001299C4 EC 20 F8 24 */ fdivs f1, f0, f31
/* 8012DB88 001299C8 4B FF CB 79 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 8012DB8C 001299CC 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012DB90 001299D0 4B FF CB 61 */ bl connect__Q210homebutton10ControllerFv
/* 8012DB94 001299D4 3B 7B 00 01 */ addi r27, r27, 0x1
/* 8012DB98 001299D8 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012DB9C 001299DC 2C 1B 00 04 */ cmpwi r27, 0x4
/* 8012DBA0 001299E0 41 80 FF C8 */ blt lbl_8012DB68
/* 8012DBA4 001299E4 3B C0 00 00 */ li r30, 0x0
/* 8012DBA8 001299E8 3B 40 00 01 */ li r26, 0x1
/* 8012DBAC 001299EC 3B 60 00 25 */ li r27, 0x25
/* 8012DBB0 001299F0 3B 80 00 25 */ li r28, 0x25
.global lbl_8012DBB4
lbl_8012DBB4:
/* 8012DBB4 001299F4 80 1D 00 84 */ lwz r0, 0x84(r29)
/* 8012DBB8 001299F8 7C 1E 00 00 */ cmpw r30, r0
/* 8012DBBC 001299FC 40 80 00 7C */ bge lbl_8012DC38
/* 8012DBC0 00129A00 38 BF 00 68 */ addi r5, r31, 0x68
/* 8012DBC4 00129A04 38 7E 00 15 */ addi r3, r30, 0x15
/* 8012DBC8 00129A08 38 80 00 00 */ li r4, 0x0
/* 8012DBCC 00129A0C 7F 69 03 A6 */ mtctr r27
.global lbl_8012DBD0
lbl_8012DBD0:
/* 8012DBD0 00129A10 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8012DBD4 00129A14 7C 03 00 00 */ cmpw r3, r0
/* 8012DBD8 00129A18 40 82 00 14 */ bne lbl_8012DBEC
/* 8012DBDC 00129A1C 80 05 00 04 */ lwz r0, 0x4(r5)
/* 8012DBE0 00129A20 2C 00 00 0A */ cmpwi r0, 0xa
/* 8012DBE4 00129A24 40 82 00 08 */ bne lbl_8012DBEC
/* 8012DBE8 00129A28 48 00 00 34 */ b lbl_8012DC1C
.global lbl_8012DBEC
lbl_8012DBEC:
/* 8012DBEC 00129A2C 80 05 00 08 */ lwz r0, 0x8(r5)
/* 8012DBF0 00129A30 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DBF4 00129A34 7C 03 00 00 */ cmpw r3, r0
/* 8012DBF8 00129A38 40 82 00 14 */ bne lbl_8012DC0C
/* 8012DBFC 00129A3C 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8012DC00 00129A40 2C 00 00 0A */ cmpwi r0, 0xa
/* 8012DC04 00129A44 40 82 00 08 */ bne lbl_8012DC0C
/* 8012DC08 00129A48 48 00 00 14 */ b lbl_8012DC1C
.global lbl_8012DC0C
lbl_8012DC0C:
/* 8012DC0C 00129A4C 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012DC10 00129A50 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DC14 00129A54 42 00 FF BC */ bdnz lbl_8012DBD0
/* 8012DC18 00129A58 38 80 FF FF */ li r4, -0x1
.global lbl_8012DC1C
lbl_8012DC1C:
/* 8012DC1C 00129A5C 54 80 10 3A */ slwi r0, r4, 2
/* 8012DC20 00129A60 7C 7D 02 14 */ add r3, r29, r0
/* 8012DC24 00129A64 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012DC28 00129A68 7F 23 CB 78 */ mr r3, r25
/* 8012DC2C 00129A6C 4B FF A9 E5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012DC30 00129A70 93 59 00 14 */ stw r26, 0x14(r25)
/* 8012DC34 00129A74 48 00 00 78 */ b lbl_8012DCAC
.global lbl_8012DC38
lbl_8012DC38:
/* 8012DC38 00129A78 38 BF 00 68 */ addi r5, r31, 0x68
/* 8012DC3C 00129A7C 38 7E 00 15 */ addi r3, r30, 0x15
/* 8012DC40 00129A80 38 80 00 00 */ li r4, 0x0
/* 8012DC44 00129A84 7F 89 03 A6 */ mtctr r28
.global lbl_8012DC48
lbl_8012DC48:
/* 8012DC48 00129A88 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8012DC4C 00129A8C 7C 03 00 00 */ cmpw r3, r0
/* 8012DC50 00129A90 40 82 00 14 */ bne lbl_8012DC64
/* 8012DC54 00129A94 80 05 00 04 */ lwz r0, 0x4(r5)
/* 8012DC58 00129A98 2C 00 00 09 */ cmpwi r0, 0x9
/* 8012DC5C 00129A9C 40 82 00 08 */ bne lbl_8012DC64
/* 8012DC60 00129AA0 48 00 00 34 */ b lbl_8012DC94
.global lbl_8012DC64
lbl_8012DC64:
/* 8012DC64 00129AA4 80 05 00 08 */ lwz r0, 0x8(r5)
/* 8012DC68 00129AA8 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DC6C 00129AAC 7C 03 00 00 */ cmpw r3, r0
/* 8012DC70 00129AB0 40 82 00 14 */ bne lbl_8012DC84
/* 8012DC74 00129AB4 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8012DC78 00129AB8 2C 00 00 09 */ cmpwi r0, 0x9
/* 8012DC7C 00129ABC 40 82 00 08 */ bne lbl_8012DC84
/* 8012DC80 00129AC0 48 00 00 14 */ b lbl_8012DC94
.global lbl_8012DC84
lbl_8012DC84:
/* 8012DC84 00129AC4 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012DC88 00129AC8 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DC8C 00129ACC 42 00 FF BC */ bdnz lbl_8012DC48
/* 8012DC90 00129AD0 38 80 FF FF */ li r4, -0x1
.global lbl_8012DC94
lbl_8012DC94:
/* 8012DC94 00129AD4 54 80 10 3A */ slwi r0, r4, 2
/* 8012DC98 00129AD8 7C 7D 02 14 */ add r3, r29, r0
/* 8012DC9C 00129ADC 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012DCA0 00129AE0 7F 23 CB 78 */ mr r3, r25
/* 8012DCA4 00129AE4 4B FF A9 6D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012DCA8 00129AE8 93 59 00 14 */ stw r26, 0x14(r25)
.global lbl_8012DCAC
lbl_8012DCAC:
/* 8012DCAC 00129AEC 3B DE 00 01 */ addi r30, r30, 0x1
/* 8012DCB0 00129AF0 2C 1E 00 0A */ cmpwi r30, 0xa
/* 8012DCB4 00129AF4 41 80 FF 00 */ blt lbl_8012DBB4
/* 8012DCB8 00129AF8 39 61 00 40 */ addi r11, r1, 0x40
/* 8012DCBC 00129AFC E3 E1 00 58 */ psq_l f31, 0x58(r1), 0, qr0
/* 8012DCC0 00129B00 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 8012DCC4 00129B04 E3 C1 00 48 */ psq_l f30, 0x48(r1), 0, qr0
/* 8012DCC8 00129B08 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 8012DCCC 00129B0C 4B ED 96 B5 */ bl lbl_80007380
/* 8012DCD0 00129B10 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8012DCD4 00129B14 7C 08 03 A6 */ mtlr r0
/* 8012DCD8 00129B18 38 21 00 60 */ addi r1, r1, 0x60
/* 8012DCDC 00129B1C 4E 80 00 20 */ blr
.global init_sound__Q210homebutton10HomeButtonFv
init_sound__Q210homebutton10HomeButtonFv:
/* 8012DCE0 00129B20 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8012DCE4 00129B24 7C 08 02 A6 */ mflr r0
/* 8012DCE8 00129B28 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012DCEC 00129B2C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8012DCF0 00129B30 3F E0 80 41 */ lis r31, "@9436_8040DE40"@ha
/* 8012DCF4 00129B34 3B FF DE 40 */ addi r31, r31, "@9436_8040DE40"@l
/* 8012DCF8 00129B38 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8012DCFC 00129B3C 7C 7E 1B 78 */ mr r30, r3
/* 8012DD00 00129B40 80 83 00 04 */ lwz r4, 0x4(r3)
/* 8012DD04 00129B44 81 84 00 14 */ lwz r12, 0x14(r4)
/* 8012DD08 00129B48 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012DD0C 00129B4C 41 82 00 14 */ beq lbl_8012DD20
/* 8012DD10 00129B50 38 60 00 00 */ li r3, 0x0
/* 8012DD14 00129B54 38 80 00 00 */ li r4, 0x0
/* 8012DD18 00129B58 7D 89 03 A6 */ mtctr r12
/* 8012DD1C 00129B5C 4E 80 04 21 */ bctrl
.global lbl_8012DD20
lbl_8012DD20:
/* 8012DD20 00129B60 4B F1 69 51 */ bl AXGetAuxAReturnVolume
/* 8012DD24 00129B64 B0 7E 05 C4 */ sth r3, 0x5c4(r30)
/* 8012DD28 00129B68 4B F1 69 59 */ bl AXGetAuxBReturnVolume
/* 8012DD2C 00129B6C B0 7E 05 C6 */ sth r3, 0x5c6(r30)
/* 8012DD30 00129B70 4B F1 69 61 */ bl AXGetAuxCReturnVolume
/* 8012DD34 00129B74 B0 7E 05 C8 */ sth r3, 0x5c8(r30)
/* 8012DD38 00129B78 38 7E 05 CC */ addi r3, r30, 0x5cc
/* 8012DD3C 00129B7C 38 9E 05 D0 */ addi r4, r30, 0x5d0
/* 8012DD40 00129B80 4B F1 93 31 */ bl AXFXGetHooks
/* 8012DD44 00129B84 38 7E 07 34 */ addi r3, r30, 0x734
/* 8012DD48 00129B88 38 9E 07 38 */ addi r4, r30, 0x738
/* 8012DD4C 00129B8C 4B F1 5E 65 */ bl AXGetAuxACallback
/* 8012DD50 00129B90 3C 60 80 13 */ lis r3, HBMAllocMem__FUl@ha
/* 8012DD54 00129B94 3C 80 80 13 */ lis r4, HBMFreeMem__FPv@ha
/* 8012DD58 00129B98 38 63 C0 80 */ addi r3, r3, HBMAllocMem__FUl@l
/* 8012DD5C 00129B9C 38 84 C0 90 */ addi r4, r4, HBMFreeMem__FPv@l
/* 8012DD60 00129BA0 4B F1 93 01 */ bl AXFXSetHooks
/* 8012DD64 00129BA4 C0 7F 02 E4 */ lfs f3, 0x2e4(r31)
/* 8012DD68 00129BA8 38 7E 05 D4 */ addi r3, r30, 0x5d4
/* 8012DD6C 00129BAC C0 5F 03 18 */ lfs f2, 0x318(r31)
/* 8012DD70 00129BB0 C0 3F 03 1C */ lfs f1, 0x31c(r31)
/* 8012DD74 00129BB4 C0 1F 02 E0 */ lfs f0, 0x2e0(r31)
/* 8012DD78 00129BB8 D0 7E 07 2C */ stfs f3, 0x72c(r30)
/* 8012DD7C 00129BBC D0 5E 07 24 */ stfs f2, 0x724(r30)
/* 8012DD80 00129BC0 D0 3E 07 1C */ stfs f1, 0x71c(r30)
/* 8012DD84 00129BC4 D0 7E 07 28 */ stfs f3, 0x728(r30)
/* 8012DD88 00129BC8 D0 7E 07 30 */ stfs f3, 0x730(r30)
/* 8012DD8C 00129BCC D0 1E 07 20 */ stfs f0, 0x720(r30)
/* 8012DD90 00129BD0 4B F1 83 D1 */ bl AXFXReverbHiInit
/* 8012DD94 00129BD4 3C 60 80 04 */ lis r3, AXFXReverbHiCallback@ha
/* 8012DD98 00129BD8 38 9E 05 D4 */ addi r4, r30, 0x5d4
/* 8012DD9C 00129BDC 38 63 62 00 */ addi r3, r3, AXFXReverbHiCallback@l
/* 8012DDA0 00129BE0 4B F1 5C C1 */ bl AXRegisterAuxACallback
/* 8012DDA4 00129BE4 3C 60 00 01 */ lis r3, 0x1
/* 8012DDA8 00129BE8 38 03 80 00 */ addi r0, r3, -0x8000
/* 8012DDAC 00129BEC 54 03 04 3E */ clrlwi r3, r0, 16
/* 8012DDB0 00129BF0 4B F1 69 11 */ bl AXSetAuxAReturnVolume
/* 8012DDB4 00129BF4 38 60 00 00 */ li r3, 0x0
/* 8012DDB8 00129BF8 4B F1 69 19 */ bl AXSetAuxBReturnVolume
/* 8012DDBC 00129BFC 38 60 00 00 */ li r3, 0x0
/* 8012DDC0 00129C00 4B F1 69 21 */ bl AXSetAuxCReturnVolume
/* 8012DDC4 00129C04 80 7E 00 04 */ lwz r3, 0x4(r30)
/* 8012DDC8 00129C08 81 83 00 14 */ lwz r12, 0x14(r3)
/* 8012DDCC 00129C0C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012DDD0 00129C10 41 82 00 14 */ beq lbl_8012DDE4
/* 8012DDD4 00129C14 38 60 00 01 */ li r3, 0x1
/* 8012DDD8 00129C18 38 80 00 00 */ li r4, 0x0
/* 8012DDDC 00129C1C 7D 89 03 A6 */ mtctr r12
/* 8012DDE0 00129C20 4E 80 04 21 */ bctrl
.global lbl_8012DDE4
lbl_8012DDE4:
/* 8012DDE4 00129C24 4B F1 F1 7D */ bl SCGetSoundMode
/* 8012DDE8 00129C28 54 63 06 3E */ clrlwi r3, r3, 24
/* 8012DDEC 00129C2C 4B FF E2 85 */ bl SetSoundMode__10homebuttonFUl
/* 8012DDF0 00129C30 38 00 00 01 */ li r0, 0x1
/* 8012DDF4 00129C34 98 1E 00 97 */ stb r0, 0x97(r30)
/* 8012DDF8 00129C38 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8012DDFC 00129C3C 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8012DE00 00129C40 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8012DE04 00129C44 7C 08 03 A6 */ mtlr r0
/* 8012DE08 00129C48 38 21 00 10 */ addi r1, r1, 0x10
/* 8012DE0C 00129C4C 4E 80 00 20 */ blr
.global init_battery__Q210homebutton10HomeButtonFPC17HBMControllerData
init_battery__Q210homebutton10HomeButtonFPC17HBMControllerData:
/* 8012DE10 00129C50 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8012DE14 00129C54 7C 08 02 A6 */ mflr r0
/* 8012DE18 00129C58 90 01 00 44 */ stw r0, 0x44(r1)
/* 8012DE1C 00129C5C 39 61 00 40 */ addi r11, r1, 0x40
/* 8012DE20 00129C60 4B ED 95 01 */ bl lbl_80007320
/* 8012DE24 00129C64 7C 78 1B 78 */ mr r24, r3
/* 8012DE28 00129C68 3F 40 80 54 */ lis r26, sWpadInfo__Q210homebutton10HomeButton@ha
/* 8012DE2C 00129C6C 7C 9C 23 78 */ mr r28, r4
/* 8012DE30 00129C70 3B 20 00 00 */ li r25, 0x0
/* 8012DE34 00129C74 7F 1B C3 78 */ mr r27, r24
/* 8012DE38 00129C78 3B 5A 36 E0 */ addi r26, r26, sWpadInfo__Q210homebutton10HomeButton@l
/* 8012DE3C 00129C7C 3F A0 80 44 */ lis r29, scCursorPaneName__Q210homebutton10HomeButton@ha
/* 8012DE40 00129C80 3F C0 80 41 */ lis r30, scGroupAnmTable__10homebutton@ha
/* 8012DE44 00129C84 3B E0 00 01 */ li r31, 0x1
/* 8012DE48 00129C88 3A A0 00 00 */ li r21, 0x0
/* 8012DE4C 00129C8C 3A C0 00 25 */ li r22, 0x25
/* 8012DE50 00129C90 3A E0 00 25 */ li r23, 0x25
.global lbl_8012DE54
lbl_8012DE54:
/* 8012DE54 00129C94 80 1C 00 00 */ lwz r0, 0x0(r28)
/* 8012DE58 00129C98 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012DE5C 00129C9C 41 82 00 D0 */ beq lbl_8012DF2C
/* 8012DE60 00129CA0 80 78 00 04 */ lwz r3, 0x4(r24)
/* 8012DE64 00129CA4 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8012DE68 00129CA8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012DE6C 00129CAC 40 82 00 34 */ bne lbl_8012DEA0
/* 8012DE70 00129CB0 80 7B 01 DC */ lwz r3, 0x1dc(r27)
/* 8012DE74 00129CB4 38 A0 00 01 */ li r5, 0x1
/* 8012DE78 00129CB8 80 9D 30 C0 */ lwz r4, scCursorPaneName__Q210homebutton10HomeButton@l(r29)
/* 8012DE7C 00129CBC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012DE80 00129CC0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012DE84 00129CC4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012DE88 00129CC8 7D 89 03 A6 */ mtctr r12
/* 8012DE8C 00129CCC 4E 80 04 21 */ bctrl
/* 8012DE90 00129CD0 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012DE94 00129CD4 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012DE98 00129CD8 60 00 00 01 */ ori r0, r0, 0x1
/* 8012DE9C 00129CDC 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_8012DEA0
lbl_8012DEA0:
/* 8012DEA0 00129CE0 38 BE DE A8 */ addi r5, r30, scGroupAnmTable__10homebutton@l
/* 8012DEA4 00129CE4 38 79 00 1F */ addi r3, r25, 0x1f
/* 8012DEA8 00129CE8 38 80 00 00 */ li r4, 0x0
/* 8012DEAC 00129CEC 7E C9 03 A6 */ mtctr r22
.global lbl_8012DEB0
lbl_8012DEB0:
/* 8012DEB0 00129CF0 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8012DEB4 00129CF4 7C 03 00 00 */ cmpw r3, r0
/* 8012DEB8 00129CF8 40 82 00 14 */ bne lbl_8012DECC
/* 8012DEBC 00129CFC 80 05 00 04 */ lwz r0, 0x4(r5)
/* 8012DEC0 00129D00 2C 00 00 11 */ cmpwi r0, 0x11
/* 8012DEC4 00129D04 40 82 00 08 */ bne lbl_8012DECC
/* 8012DEC8 00129D08 48 00 00 34 */ b lbl_8012DEFC
.global lbl_8012DECC
lbl_8012DECC:
/* 8012DECC 00129D0C 80 05 00 08 */ lwz r0, 0x8(r5)
/* 8012DED0 00129D10 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DED4 00129D14 7C 03 00 00 */ cmpw r3, r0
/* 8012DED8 00129D18 40 82 00 14 */ bne lbl_8012DEEC
/* 8012DEDC 00129D1C 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8012DEE0 00129D20 2C 00 00 11 */ cmpwi r0, 0x11
/* 8012DEE4 00129D24 40 82 00 08 */ bne lbl_8012DEEC
/* 8012DEE8 00129D28 48 00 00 14 */ b lbl_8012DEFC
.global lbl_8012DEEC
lbl_8012DEEC:
/* 8012DEEC 00129D2C 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012DEF0 00129D30 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DEF4 00129D34 42 00 FF BC */ bdnz lbl_8012DEB0
/* 8012DEF8 00129D38 38 80 FF FF */ li r4, -0x1
.global lbl_8012DEFC
lbl_8012DEFC:
/* 8012DEFC 00129D3C 54 80 10 3A */ slwi r0, r4, 2
/* 8012DF00 00129D40 7C 78 02 14 */ add r3, r24, r0
/* 8012DF04 00129D44 82 83 02 90 */ lwz r20, 0x290(r3)
/* 8012DF08 00129D48 7E 83 A3 78 */ mr r3, r20
/* 8012DF0C 00129D4C 4B FF A7 05 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012DF10 00129D50 93 F4 00 14 */ stw r31, 0x14(r20)
/* 8012DF14 00129D54 7C 78 CA 14 */ add r3, r24, r25
/* 8012DF18 00129D58 7F 44 D3 78 */ mr r4, r26
/* 8012DF1C 00129D5C 9B E3 00 80 */ stb r31, 0x80(r3)
/* 8012DF20 00129D60 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8012DF24 00129D64 4B FF CB ED */ bl getInfoAsync__Q210homebutton10ControllerFP8WPADInfo
/* 8012DF28 00129D68 48 00 00 BC */ b lbl_8012DFE4
.global lbl_8012DF2C
lbl_8012DF2C:
/* 8012DF2C 00129D6C 80 78 00 04 */ lwz r3, 0x4(r24)
/* 8012DF30 00129D70 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8012DF34 00129D74 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012DF38 00129D78 40 82 00 30 */ bne lbl_8012DF68
/* 8012DF3C 00129D7C 80 7B 01 DC */ lwz r3, 0x1dc(r27)
/* 8012DF40 00129D80 38 A0 00 01 */ li r5, 0x1
/* 8012DF44 00129D84 80 9D 30 C0 */ lwz r4, 0x30c0(r29)
/* 8012DF48 00129D88 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012DF4C 00129D8C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012DF50 00129D90 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012DF54 00129D94 7D 89 03 A6 */ mtctr r12
/* 8012DF58 00129D98 4E 80 04 21 */ bctrl
/* 8012DF5C 00129D9C 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012DF60 00129DA0 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012DF64 00129DA4 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_8012DF68
lbl_8012DF68:
/* 8012DF68 00129DA8 38 BE DE A8 */ addi r5, r30, -0x2158
/* 8012DF6C 00129DAC 38 79 00 1F */ addi r3, r25, 0x1f
/* 8012DF70 00129DB0 38 80 00 00 */ li r4, 0x0
/* 8012DF74 00129DB4 7E E9 03 A6 */ mtctr r23
.global lbl_8012DF78
lbl_8012DF78:
/* 8012DF78 00129DB8 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8012DF7C 00129DBC 7C 03 00 00 */ cmpw r3, r0
/* 8012DF80 00129DC0 40 82 00 14 */ bne lbl_8012DF94
/* 8012DF84 00129DC4 80 05 00 04 */ lwz r0, 0x4(r5)
/* 8012DF88 00129DC8 2C 00 00 10 */ cmpwi r0, 0x10
/* 8012DF8C 00129DCC 40 82 00 08 */ bne lbl_8012DF94
/* 8012DF90 00129DD0 48 00 00 34 */ b lbl_8012DFC4
.global lbl_8012DF94
lbl_8012DF94:
/* 8012DF94 00129DD4 80 05 00 08 */ lwz r0, 0x8(r5)
/* 8012DF98 00129DD8 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DF9C 00129DDC 7C 03 00 00 */ cmpw r3, r0
/* 8012DFA0 00129DE0 40 82 00 14 */ bne lbl_8012DFB4
/* 8012DFA4 00129DE4 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8012DFA8 00129DE8 2C 00 00 10 */ cmpwi r0, 0x10
/* 8012DFAC 00129DEC 40 82 00 08 */ bne lbl_8012DFB4
/* 8012DFB0 00129DF0 48 00 00 14 */ b lbl_8012DFC4
.global lbl_8012DFB4
lbl_8012DFB4:
/* 8012DFB4 00129DF4 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012DFB8 00129DF8 38 84 00 01 */ addi r4, r4, 0x1
/* 8012DFBC 00129DFC 42 00 FF BC */ bdnz lbl_8012DF78
/* 8012DFC0 00129E00 38 80 FF FF */ li r4, -0x1
.global lbl_8012DFC4
lbl_8012DFC4:
/* 8012DFC4 00129E04 54 80 10 3A */ slwi r0, r4, 2
/* 8012DFC8 00129E08 7C 78 02 14 */ add r3, r24, r0
/* 8012DFCC 00129E0C 82 83 02 90 */ lwz r20, 0x290(r3)
/* 8012DFD0 00129E10 7E 83 A3 78 */ mr r3, r20
/* 8012DFD4 00129E14 4B FF A6 3D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012DFD8 00129E18 93 F4 00 14 */ stw r31, 0x14(r20)
/* 8012DFDC 00129E1C 7C 78 CA 14 */ add r3, r24, r25
/* 8012DFE0 00129E20 9A A3 00 80 */ stb r21, 0x80(r3)
.global lbl_8012DFE4
lbl_8012DFE4:
/* 8012DFE4 00129E24 3B 39 00 01 */ addi r25, r25, 0x1
/* 8012DFE8 00129E28 3B 7B 00 04 */ addi r27, r27, 0x4
/* 8012DFEC 00129E2C 2C 19 00 04 */ cmpwi r25, 0x4
/* 8012DFF0 00129E30 3B 5A 00 18 */ addi r26, r26, 0x18
/* 8012DFF4 00129E34 3B 9C 00 10 */ addi r28, r28, 0x10
/* 8012DFF8 00129E38 41 80 FE 5C */ blt lbl_8012DE54
/* 8012DFFC 00129E3C 3E C0 80 44 */ lis r22, scBatteryPaneName__Q210homebutton10HomeButton@ha
/* 8012E000 00129E40 3A A0 00 00 */ li r21, 0x0
/* 8012E004 00129E44 3A D6 3B 58 */ addi r22, r22, scBatteryPaneName__Q210homebutton10HomeButton@l
.global lbl_8012E008
lbl_8012E008:
/* 8012E008 00129E48 7E D7 B3 78 */ mr r23, r22
/* 8012E00C 00129E4C 3A 80 00 00 */ li r20, 0x0
.global lbl_8012E010
lbl_8012E010:
/* 8012E010 00129E50 80 78 01 D8 */ lwz r3, 0x1d8(r24)
/* 8012E014 00129E54 38 A0 00 01 */ li r5, 0x1
/* 8012E018 00129E58 80 97 00 00 */ lwz r4, 0x0(r23)
/* 8012E01C 00129E5C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012E020 00129E60 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012E024 00129E64 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012E028 00129E68 7D 89 03 A6 */ mtctr r12
/* 8012E02C 00129E6C 4E 80 04 21 */ bctrl
/* 8012E030 00129E70 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012E034 00129E74 3A 94 00 01 */ addi r20, r20, 0x1
/* 8012E038 00129E78 2C 14 00 04 */ cmpwi r20, 0x4
/* 8012E03C 00129E7C 3A F7 00 04 */ addi r23, r23, 0x4
/* 8012E040 00129E80 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012E044 00129E84 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012E048 00129E88 41 80 FF C8 */ blt lbl_8012E010
/* 8012E04C 00129E8C 3A B5 00 01 */ addi r21, r21, 0x1
/* 8012E050 00129E90 3A D6 00 10 */ addi r22, r22, 0x10
/* 8012E054 00129E94 2C 15 00 04 */ cmpwi r21, 0x4
/* 8012E058 00129E98 41 80 FF B0 */ blt lbl_8012E008
/* 8012E05C 00129E9C 38 00 00 00 */ li r0, 0x0
/* 8012E060 00129EA0 90 18 00 7C */ stw r0, 0x7c(r24)
/* 8012E064 00129EA4 39 61 00 40 */ addi r11, r1, 0x40
/* 8012E068 00129EA8 4B ED 93 05 */ bl lbl_8000736C
/* 8012E06C 00129EAC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8012E070 00129EB0 7C 08 03 A6 */ mtlr r0
/* 8012E074 00129EB4 38 21 00 40 */ addi r1, r1, 0x40
/* 8012E078 00129EB8 4E 80 00 20 */ blr
/* 8012E07C 00129EBC 00 00 00 00 */ .4byte 0x00000000
.global calc__Q210homebutton10HomeButtonFPC17HBMControllerData
calc__Q210homebutton10HomeButtonFPC17HBMControllerData:
/* 8012E080 00129EC0 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8012E084 00129EC4 7C 08 02 A6 */ mflr r0
/* 8012E088 00129EC8 90 01 00 74 */ stw r0, 0x74(r1)
/* 8012E08C 00129ECC 39 61 00 50 */ addi r11, r1, 0x50
/* 8012E090 00129ED0 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 8012E094 00129ED4 F3 E1 00 68 */ psq_st f31, 0x68(r1), 0, qr0
/* 8012E098 00129ED8 DB C1 00 50 */ stfd f30, 0x50(r1)
/* 8012E09C 00129EDC F3 C1 00 58 */ psq_st f30, 0x58(r1), 0, qr0
/* 8012E0A0 00129EE0 4B ED 92 95 */ bl lbl_80007334
/* 8012E0A4 00129EE4 7C 7C 1B 78 */ mr r28, r3
/* 8012E0A8 00129EE8 80 63 01 F0 */ lwz r3, 0x1f0(r3)
/* 8012E0AC 00129EEC 3C 00 43 30 */ lis r0, 0x4330
/* 8012E0B0 00129EF0 3F C0 80 41 */ lis r30, "@9436_8040DE40"@ha
/* 8012E0B4 00129EF4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012E0B8 00129EF8 3F E0 80 44 */ lis r31, "@9521_80443068"@ha
/* 8012E0BC 00129EFC 7C 9D 23 78 */ mr r29, r4
/* 8012E0C0 00129F00 90 01 00 10 */ stw r0, 0x10(r1)
/* 8012E0C4 00129F04 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8012E0C8 00129F08 3B DE DE 40 */ addi r30, r30, "@9436_8040DE40"@l
/* 8012E0CC 00129F0C 90 01 00 18 */ stw r0, 0x18(r1)
/* 8012E0D0 00129F10 3B FF 30 68 */ addi r31, r31, "@9521_80443068"@l
/* 8012E0D4 00129F14 7D 89 03 A6 */ mtctr r12
/* 8012E0D8 00129F18 4E 80 04 21 */ bctrl
/* 8012E0DC 00129F1C 7F 99 E3 78 */ mr r25, r28
/* 8012E0E0 00129F20 3B 40 00 00 */ li r26, 0x0
/* 8012E0E4 00129F24 48 00 00 14 */ b lbl_8012E0F8
.global lbl_8012E0E8
lbl_8012E0E8:
/* 8012E0E8 00129F28 80 79 02 60 */ lwz r3, 0x260(r25)
/* 8012E0EC 00129F2C 4B FF A6 C5 */ bl do_calc__Q210homebutton18GroupAnmControllerFv
/* 8012E0F0 00129F30 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012E0F4 00129F34 3B 5A 00 01 */ addi r26, r26, 0x1
.global lbl_8012E0F8
lbl_8012E0F8:
/* 8012E0F8 00129F38 80 1C 00 10 */ lwz r0, 0x10(r28)
/* 8012E0FC 00129F3C 7C 1A 00 00 */ cmpw r26, r0
/* 8012E100 00129F40 41 80 FF E8 */ blt lbl_8012E0E8
/* 8012E104 00129F44 7F 99 E3 78 */ mr r25, r28
/* 8012E108 00129F48 3B 40 00 00 */ li r26, 0x0
.global lbl_8012E10C
lbl_8012E10C:
/* 8012E10C 00129F4C 80 79 03 B8 */ lwz r3, 0x3b8(r25)
/* 8012E110 00129F50 4B FF A6 A1 */ bl do_calc__Q210homebutton18GroupAnmControllerFv
/* 8012E114 00129F54 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012E118 00129F58 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012E11C 00129F5C 2C 1A 00 0F */ cmpwi r26, 0xf
/* 8012E120 00129F60 41 80 FF EC */ blt lbl_8012E10C
/* 8012E124 00129F64 7F 99 E3 78 */ mr r25, r28
/* 8012E128 00129F68 3B 40 00 00 */ li r26, 0x0
.global lbl_8012E12C
lbl_8012E12C:
/* 8012E12C 00129F6C 80 79 02 90 */ lwz r3, 0x290(r25)
/* 8012E130 00129F70 4B FF A6 81 */ bl do_calc__Q210homebutton18GroupAnmControllerFv
/* 8012E134 00129F74 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012E138 00129F78 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012E13C 00129F7C 2C 1A 00 4A */ cmpwi r26, 0x4a
/* 8012E140 00129F80 41 80 FF EC */ blt lbl_8012E12C
/* 8012E144 00129F84 C3 DE 02 E4 */ lfs f30, 0x2e4(r30)
/* 8012E148 00129F88 7F 99 E3 78 */ mr r25, r28
/* 8012E14C 00129F8C C3 FE 03 20 */ lfs f31, 0x320(r30)
/* 8012E150 00129F90 3B 40 00 00 */ li r26, 0x0
.global lbl_8012E154
lbl_8012E154:
/* 8012E154 00129F94 C0 39 01 B0 */ lfs f1, 0x1b0(r25)
/* 8012E158 00129F98 FC 01 F0 40 */ fcmpo cr0, f1, f30
/* 8012E15C 00129F9C 40 81 00 80 */ ble lbl_8012E1DC
/* 8012E160 00129FA0 7C 7C D2 14 */ add r3, r28, r26
/* 8012E164 00129FA4 88 03 00 80 */ lbz r0, 0x80(r3)
/* 8012E168 00129FA8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E16C 00129FAC 41 82 00 14 */ beq lbl_8012E180
/* 8012E170 00129FB0 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012E174 00129FB4 88 03 00 1C */ lbz r0, 0x1c(r3)
/* 8012E178 00129FB8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E17C 00129FBC 40 82 00 24 */ bne lbl_8012E1A0
.global lbl_8012E180
lbl_8012E180:
/* 8012E180 00129FC0 D3 D9 01 B0 */ stfs f30, 0x1b0(r25)
/* 8012E184 00129FC4 D3 D9 01 C0 */ stfs f30, 0x1c0(r25)
/* 8012E188 00129FC8 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012E18C 00129FCC 88 03 00 1C */ lbz r0, 0x1c(r3)
/* 8012E190 00129FD0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E194 00129FD4 41 82 00 74 */ beq lbl_8012E208
/* 8012E198 00129FD8 4B FF C9 49 */ bl stopMotor__Q210homebutton10ControllerFv
/* 8012E19C 00129FDC 48 00 00 6C */ b lbl_8012E208
.global lbl_8012E1A0
lbl_8012E1A0:
/* 8012E1A0 00129FE0 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012E1A4 00129FE4 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8012E1A8 00129FE8 EC 01 00 28 */ fsubs f0, f1, f0
/* 8012E1AC 00129FEC D0 19 01 B0 */ stfs f0, 0x1b0(r25)
/* 8012E1B0 00129FF0 FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 8012E1B4 00129FF4 4C 40 13 82 */ cror eq, lt, eq
/* 8012E1B8 00129FF8 41 82 00 10 */ beq lbl_8012E1C8
/* 8012E1BC 00129FFC 80 1C 00 14 */ lwz r0, 0x14(r28)
/* 8012E1C0 0012A000 2C 00 00 11 */ cmpwi r0, 0x11
/* 8012E1C4 0012A004 40 82 00 44 */ bne lbl_8012E208
.global lbl_8012E1C8
lbl_8012E1C8:
/* 8012E1C8 0012A008 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012E1CC 0012A00C 4B FF C9 15 */ bl stopMotor__Q210homebutton10ControllerFv
/* 8012E1D0 0012A010 D3 D9 01 B0 */ stfs f30, 0x1b0(r25)
/* 8012E1D4 0012A014 D3 F9 01 C0 */ stfs f31, 0x1c0(r25)
/* 8012E1D8 0012A018 48 00 00 30 */ b lbl_8012E208
.global lbl_8012E1DC
lbl_8012E1DC:
/* 8012E1DC 0012A01C C0 39 01 C0 */ lfs f1, 0x1c0(r25)
/* 8012E1E0 0012A020 FC 01 F0 40 */ fcmpo cr0, f1, f30
/* 8012E1E4 0012A024 40 81 00 24 */ ble lbl_8012E208
/* 8012E1E8 0012A028 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012E1EC 0012A02C C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8012E1F0 0012A030 EC 01 00 28 */ fsubs f0, f1, f0
/* 8012E1F4 0012A034 D0 19 01 C0 */ stfs f0, 0x1c0(r25)
/* 8012E1F8 0012A038 FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 8012E1FC 0012A03C 4C 40 13 82 */ cror eq, lt, eq
/* 8012E200 0012A040 40 82 00 08 */ bne lbl_8012E208
/* 8012E204 0012A044 D3 D9 01 C0 */ stfs f30, 0x1c0(r25)
.global lbl_8012E208
lbl_8012E208:
/* 8012E208 0012A048 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012E20C 0012A04C 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012E210 0012A050 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8012E214 0012A054 41 80 FF 40 */ blt lbl_8012E154
/* 8012E218 0012A058 80 1C 00 14 */ lwz r0, 0x14(r28)
/* 8012E21C 0012A05C 28 00 00 13 */ cmplwi r0, 0x13
/* 8012E220 0012A060 41 81 18 24 */ bgt lbl_8012FA44
/* 8012E224 0012A064 3C 60 80 44 */ lis r3, "@17003"@ha
/* 8012E228 0012A068 54 00 10 3A */ slwi r0, r0, 2
/* 8012E22C 0012A06C 38 63 3B EC */ addi r3, r3, "@17003"@l
/* 8012E230 0012A070 7C 63 00 2E */ lwzx r3, r3, r0
/* 8012E234 0012A074 7C 69 03 A6 */ mtctr r3
/* 8012E238 0012A078 4E 80 04 20 */ bctr
.global lbl_8012E23C
lbl_8012E23C:
/* 8012E23C 0012A07C 3F 60 80 13 */ lis r27, SimpleSyncCallback__10homebuttonFll@ha
/* 8012E240 0012A080 38 7B 04 E0 */ addi r3, r27, SimpleSyncCallback__10homebuttonFll@l
/* 8012E244 0012A084 4B F2 82 3D */ bl WPADSetSimpleSyncCallback
/* 8012E248 0012A088 38 1B 04 E0 */ addi r0, r27, 0x4e0
/* 8012E24C 0012A08C 7C 03 00 40 */ cmplw r3, r0
/* 8012E250 0012A090 41 82 00 08 */ beq lbl_8012E258
/* 8012E254 0012A094 90 7C 01 AC */ stw r3, 0x1ac(r28)
.global lbl_8012E258
lbl_8012E258:
/* 8012E258 0012A098 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012E25C 0012A09C 80 03 00 18 */ lwz r0, 0x18(r3)
/* 8012E260 0012A0A0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E264 0012A0A4 41 82 00 C4 */ beq lbl_8012E328
/* 8012E268 0012A0A8 38 00 00 25 */ li r0, 0x25
/* 8012E26C 0012A0AC 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012E270 0012A0B0 38 60 00 00 */ li r3, 0x0
/* 8012E274 0012A0B4 7C 09 03 A6 */ mtctr r0
.global lbl_8012E278
lbl_8012E278:
/* 8012E278 0012A0B8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012E27C 0012A0BC 2C 00 00 02 */ cmpwi r0, 0x2
/* 8012E280 0012A0C0 40 82 00 14 */ bne lbl_8012E294
/* 8012E284 0012A0C4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012E288 0012A0C8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E28C 0012A0CC 40 82 00 08 */ bne lbl_8012E294
/* 8012E290 0012A0D0 48 00 00 34 */ b lbl_8012E2C4
.global lbl_8012E294
lbl_8012E294:
/* 8012E294 0012A0D4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012E298 0012A0D8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E29C 0012A0DC 2C 00 00 02 */ cmpwi r0, 0x2
/* 8012E2A0 0012A0E0 40 82 00 14 */ bne lbl_8012E2B4
/* 8012E2A4 0012A0E4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012E2A8 0012A0E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E2AC 0012A0EC 40 82 00 08 */ bne lbl_8012E2B4
/* 8012E2B0 0012A0F0 48 00 00 14 */ b lbl_8012E2C4
.global lbl_8012E2B4
lbl_8012E2B4:
/* 8012E2B4 0012A0F4 38 84 00 10 */ addi r4, r4, 0x10
/* 8012E2B8 0012A0F8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E2BC 0012A0FC 42 00 FF BC */ bdnz lbl_8012E278
/* 8012E2C0 0012A100 38 60 FF FF */ li r3, -0x1
.global lbl_8012E2C4
lbl_8012E2C4:
/* 8012E2C4 0012A104 90 7C 00 18 */ stw r3, 0x18(r28)
/* 8012E2C8 0012A108 38 9F 0B 38 */ addi r4, r31, 0xb38
/* 8012E2CC 0012A10C 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012E2D0 0012A110 38 A0 00 01 */ li r5, 0x1
/* 8012E2D4 0012A114 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012E2D8 0012A118 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012E2DC 0012A11C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012E2E0 0012A120 7D 89 03 A6 */ mtctr r12
/* 8012E2E4 0012A124 4E 80 04 21 */ bctrl
/* 8012E2E8 0012A128 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012E2EC 0012A12C 38 9F 0B 48 */ addi r4, r31, 0xb48
/* 8012E2F0 0012A130 38 A0 00 01 */ li r5, 0x1
/* 8012E2F4 0012A134 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012E2F8 0012A138 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012E2FC 0012A13C 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012E300 0012A140 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012E304 0012A144 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012E308 0012A148 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012E30C 0012A14C 7D 89 03 A6 */ mtctr r12
/* 8012E310 0012A150 4E 80 04 21 */ bctrl
/* 8012E314 0012A154 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012E318 0012A158 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012E31C 0012A15C 60 00 00 01 */ ori r0, r0, 0x1
/* 8012E320 0012A160 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012E324 0012A164 48 00 00 C0 */ b lbl_8012E3E4
.global lbl_8012E328
lbl_8012E328:
/* 8012E328 0012A168 38 00 00 25 */ li r0, 0x25
/* 8012E32C 0012A16C 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012E330 0012A170 38 60 00 00 */ li r3, 0x0
/* 8012E334 0012A174 7C 09 03 A6 */ mtctr r0
.global lbl_8012E338
lbl_8012E338:
/* 8012E338 0012A178 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012E33C 0012A17C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E340 0012A180 40 82 00 14 */ bne lbl_8012E354
/* 8012E344 0012A184 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012E348 0012A188 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E34C 0012A18C 40 82 00 08 */ bne lbl_8012E354
/* 8012E350 0012A190 48 00 00 34 */ b lbl_8012E384
.global lbl_8012E354
lbl_8012E354:
/* 8012E354 0012A194 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012E358 0012A198 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E35C 0012A19C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E360 0012A1A0 40 82 00 14 */ bne lbl_8012E374
/* 8012E364 0012A1A4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012E368 0012A1A8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E36C 0012A1AC 40 82 00 08 */ bne lbl_8012E374
/* 8012E370 0012A1B0 48 00 00 14 */ b lbl_8012E384
.global lbl_8012E374
lbl_8012E374:
/* 8012E374 0012A1B4 38 84 00 10 */ addi r4, r4, 0x10
/* 8012E378 0012A1B8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E37C 0012A1BC 42 00 FF BC */ bdnz lbl_8012E338
/* 8012E380 0012A1C0 38 60 FF FF */ li r3, -0x1
.global lbl_8012E384
lbl_8012E384:
/* 8012E384 0012A1C4 90 7C 00 18 */ stw r3, 0x18(r28)
/* 8012E388 0012A1C8 38 9F 0B 38 */ addi r4, r31, 0xb38
/* 8012E38C 0012A1CC 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012E390 0012A1D0 38 A0 00 01 */ li r5, 0x1
/* 8012E394 0012A1D4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012E398 0012A1D8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012E39C 0012A1DC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012E3A0 0012A1E0 7D 89 03 A6 */ mtctr r12
/* 8012E3A4 0012A1E4 4E 80 04 21 */ bctrl
/* 8012E3A8 0012A1E8 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012E3AC 0012A1EC 38 9F 0B 48 */ addi r4, r31, 0xb48
/* 8012E3B0 0012A1F0 38 A0 00 01 */ li r5, 0x1
/* 8012E3B4 0012A1F4 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012E3B8 0012A1F8 60 00 00 01 */ ori r0, r0, 0x1
/* 8012E3BC 0012A1FC 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012E3C0 0012A200 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012E3C4 0012A204 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012E3C8 0012A208 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012E3CC 0012A20C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012E3D0 0012A210 7D 89 03 A6 */ mtctr r12
/* 8012E3D4 0012A214 4E 80 04 21 */ bctrl
/* 8012E3D8 0012A218 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012E3DC 0012A21C 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012E3E0 0012A220 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_8012E3E4
lbl_8012E3E4:
/* 8012E3E4 0012A224 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012E3E8 0012A228 54 00 10 3A */ slwi r0, r0, 2
/* 8012E3EC 0012A22C 7C 7C 02 14 */ add r3, r28, r0
/* 8012E3F0 0012A230 83 63 02 90 */ lwz r27, 0x290(r3)
/* 8012E3F4 0012A234 7F 63 DB 78 */ mr r3, r27
/* 8012E3F8 0012A238 4B FF A2 19 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E3FC 0012A23C 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8012E400 0012A240 38 00 00 01 */ li r0, 0x1
/* 8012E404 0012A244 90 1B 00 14 */ stw r0, 0x14(r27)
/* 8012E408 0012A248 41 82 16 3C */ beq lbl_8012FA44
/* 8012E40C 0012A24C 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012E410 0012A250 7F 83 E3 78 */ mr r3, r28
/* 8012E414 0012A254 7F A4 EB 78 */ mr r4, r29
/* 8012E418 0012A258 4B FF F9 F9 */ bl init_battery__Q210homebutton10HomeButtonFPC17HBMControllerData
/* 8012E41C 0012A25C 48 00 16 28 */ b lbl_8012FA44
.global lbl_8012E420
lbl_8012E420:
/* 8012E420 0012A260 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012E424 0012A264 54 00 10 3A */ slwi r0, r0, 2
/* 8012E428 0012A268 7C 7C 02 14 */ add r3, r28, r0
/* 8012E42C 0012A26C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 8012E430 0012A270 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012E434 0012A274 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012E438 0012A278 41 82 16 0C */ beq lbl_8012FA44
/* 8012E43C 0012A27C 7F 83 E3 78 */ mr r3, r28
/* 8012E440 0012A280 4B FF F6 A1 */ bl init_volume__Q210homebutton10HomeButtonFv
/* 8012E444 0012A284 4B F2 9E 1D */ bl WPADIsMotorEnabled
/* 8012E448 0012A288 7C 03 00 D0 */ neg r0, r3
/* 8012E44C 0012A28C 7C 00 1B 78 */ or r0, r0, r3
/* 8012E450 0012A290 54 00 0F FF */ srwi. r0, r0, 31
/* 8012E454 0012A294 98 1C 00 8C */ stb r0, 0x8c(r28)
/* 8012E458 0012A298 41 82 00 FC */ beq lbl_8012E554
/* 8012E45C 0012A29C 38 00 00 25 */ li r0, 0x25
/* 8012E460 0012A2A0 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012E464 0012A2A4 38 60 00 00 */ li r3, 0x0
/* 8012E468 0012A2A8 7C 09 03 A6 */ mtctr r0
/* 8012E46C 0012A2AC 60 00 00 00 */ nop
.global lbl_8012E470
lbl_8012E470:
/* 8012E470 0012A2B0 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012E474 0012A2B4 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012E478 0012A2B8 40 82 00 14 */ bne lbl_8012E48C
/* 8012E47C 0012A2BC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012E480 0012A2C0 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012E484 0012A2C4 40 82 00 08 */ bne lbl_8012E48C
/* 8012E488 0012A2C8 48 00 00 34 */ b lbl_8012E4BC
.global lbl_8012E48C
lbl_8012E48C:
/* 8012E48C 0012A2CC 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012E490 0012A2D0 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E494 0012A2D4 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012E498 0012A2D8 40 82 00 14 */ bne lbl_8012E4AC
/* 8012E49C 0012A2DC 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012E4A0 0012A2E0 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012E4A4 0012A2E4 40 82 00 08 */ bne lbl_8012E4AC
/* 8012E4A8 0012A2E8 48 00 00 14 */ b lbl_8012E4BC
.global lbl_8012E4AC
lbl_8012E4AC:
/* 8012E4AC 0012A2EC 38 84 00 10 */ addi r4, r4, 0x10
/* 8012E4B0 0012A2F0 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E4B4 0012A2F4 42 00 FF BC */ bdnz lbl_8012E470
/* 8012E4B8 0012A2F8 38 60 FF FF */ li r3, -0x1
.global lbl_8012E4BC
lbl_8012E4BC:
/* 8012E4BC 0012A2FC 54 60 10 3A */ slwi r0, r3, 2
/* 8012E4C0 0012A300 7C 7C 02 14 */ add r3, r28, r0
/* 8012E4C4 0012A304 83 63 02 90 */ lwz r27, 0x290(r3)
/* 8012E4C8 0012A308 7F 63 DB 78 */ mr r3, r27
/* 8012E4CC 0012A30C 4B FF A1 45 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E4D0 0012A310 38 00 00 25 */ li r0, 0x25
/* 8012E4D4 0012A314 38 60 00 01 */ li r3, 0x1
/* 8012E4D8 0012A318 90 7B 00 14 */ stw r3, 0x14(r27)
/* 8012E4DC 0012A31C 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012E4E0 0012A320 38 60 00 00 */ li r3, 0x0
/* 8012E4E4 0012A324 7C 09 03 A6 */ mtctr r0
.global lbl_8012E4E8
lbl_8012E4E8:
/* 8012E4E8 0012A328 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012E4EC 0012A32C 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012E4F0 0012A330 40 82 00 14 */ bne lbl_8012E504
/* 8012E4F4 0012A334 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012E4F8 0012A338 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012E4FC 0012A33C 40 82 00 08 */ bne lbl_8012E504
/* 8012E500 0012A340 48 00 00 34 */ b lbl_8012E534
.global lbl_8012E504
lbl_8012E504:
/* 8012E504 0012A344 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012E508 0012A348 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E50C 0012A34C 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012E510 0012A350 40 82 00 14 */ bne lbl_8012E524
/* 8012E514 0012A354 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012E518 0012A358 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012E51C 0012A35C 40 82 00 08 */ bne lbl_8012E524
/* 8012E520 0012A360 48 00 00 14 */ b lbl_8012E534
.global lbl_8012E524
lbl_8012E524:
/* 8012E524 0012A364 38 84 00 10 */ addi r4, r4, 0x10
/* 8012E528 0012A368 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E52C 0012A36C 42 00 FF BC */ bdnz lbl_8012E4E8
/* 8012E530 0012A370 38 60 FF FF */ li r3, -0x1
.global lbl_8012E534
lbl_8012E534:
/* 8012E534 0012A374 54 60 10 3A */ slwi r0, r3, 2
/* 8012E538 0012A378 7C 7C 02 14 */ add r3, r28, r0
/* 8012E53C 0012A37C 83 63 02 90 */ lwz r27, 0x290(r3)
/* 8012E540 0012A380 7F 63 DB 78 */ mr r3, r27
/* 8012E544 0012A384 4B FF A0 CD */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E548 0012A388 38 00 00 01 */ li r0, 0x1
/* 8012E54C 0012A38C 90 1B 00 14 */ stw r0, 0x14(r27)
/* 8012E550 0012A390 48 00 00 F8 */ b lbl_8012E648
.global lbl_8012E554
lbl_8012E554:
/* 8012E554 0012A394 38 00 00 25 */ li r0, 0x25
/* 8012E558 0012A398 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012E55C 0012A39C 38 60 00 00 */ li r3, 0x0
/* 8012E560 0012A3A0 7C 09 03 A6 */ mtctr r0
/* 8012E564 0012A3A4 60 00 00 00 */ nop
.global lbl_8012E568
lbl_8012E568:
/* 8012E568 0012A3A8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012E56C 0012A3AC 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012E570 0012A3B0 40 82 00 14 */ bne lbl_8012E584
/* 8012E574 0012A3B4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012E578 0012A3B8 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012E57C 0012A3BC 40 82 00 08 */ bne lbl_8012E584
/* 8012E580 0012A3C0 48 00 00 34 */ b lbl_8012E5B4
.global lbl_8012E584
lbl_8012E584:
/* 8012E584 0012A3C4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012E588 0012A3C8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E58C 0012A3CC 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012E590 0012A3D0 40 82 00 14 */ bne lbl_8012E5A4
/* 8012E594 0012A3D4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012E598 0012A3D8 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012E59C 0012A3DC 40 82 00 08 */ bne lbl_8012E5A4
/* 8012E5A0 0012A3E0 48 00 00 14 */ b lbl_8012E5B4
.global lbl_8012E5A4
lbl_8012E5A4:
/* 8012E5A4 0012A3E4 38 84 00 10 */ addi r4, r4, 0x10
/* 8012E5A8 0012A3E8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E5AC 0012A3EC 42 00 FF BC */ bdnz lbl_8012E568
/* 8012E5B0 0012A3F0 38 60 FF FF */ li r3, -0x1
.global lbl_8012E5B4
lbl_8012E5B4:
/* 8012E5B4 0012A3F4 54 60 10 3A */ slwi r0, r3, 2
/* 8012E5B8 0012A3F8 7C 7C 02 14 */ add r3, r28, r0
/* 8012E5BC 0012A3FC 83 63 02 90 */ lwz r27, 0x290(r3)
/* 8012E5C0 0012A400 7F 63 DB 78 */ mr r3, r27
/* 8012E5C4 0012A404 4B FF A0 4D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E5C8 0012A408 38 00 00 25 */ li r0, 0x25
/* 8012E5CC 0012A40C 38 60 00 01 */ li r3, 0x1
/* 8012E5D0 0012A410 90 7B 00 14 */ stw r3, 0x14(r27)
/* 8012E5D4 0012A414 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012E5D8 0012A418 38 60 00 00 */ li r3, 0x0
/* 8012E5DC 0012A41C 7C 09 03 A6 */ mtctr r0
.global lbl_8012E5E0
lbl_8012E5E0:
/* 8012E5E0 0012A420 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012E5E4 0012A424 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012E5E8 0012A428 40 82 00 14 */ bne lbl_8012E5FC
/* 8012E5EC 0012A42C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012E5F0 0012A430 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012E5F4 0012A434 40 82 00 08 */ bne lbl_8012E5FC
/* 8012E5F8 0012A438 48 00 00 34 */ b lbl_8012E62C
.global lbl_8012E5FC
lbl_8012E5FC:
/* 8012E5FC 0012A43C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012E600 0012A440 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E604 0012A444 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012E608 0012A448 40 82 00 14 */ bne lbl_8012E61C
/* 8012E60C 0012A44C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012E610 0012A450 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012E614 0012A454 40 82 00 08 */ bne lbl_8012E61C
/* 8012E618 0012A458 48 00 00 14 */ b lbl_8012E62C
.global lbl_8012E61C
lbl_8012E61C:
/* 8012E61C 0012A45C 38 84 00 10 */ addi r4, r4, 0x10
/* 8012E620 0012A460 38 63 00 01 */ addi r3, r3, 0x1
/* 8012E624 0012A464 42 00 FF BC */ bdnz lbl_8012E5E0
/* 8012E628 0012A468 38 60 FF FF */ li r3, -0x1
.global lbl_8012E62C
lbl_8012E62C:
/* 8012E62C 0012A46C 54 60 10 3A */ slwi r0, r3, 2
/* 8012E630 0012A470 7C 7C 02 14 */ add r3, r28, r0
/* 8012E634 0012A474 83 63 02 90 */ lwz r27, 0x290(r3)
/* 8012E638 0012A478 7F 63 DB 78 */ mr r3, r27
/* 8012E63C 0012A47C 4B FF 9F D5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E640 0012A480 38 00 00 01 */ li r0, 0x1
/* 8012E644 0012A484 90 1B 00 14 */ stw r0, 0x14(r27)
.global lbl_8012E648
lbl_8012E648:
/* 8012E648 0012A488 7F 83 E3 78 */ mr r3, r28
/* 8012E64C 0012A48C 4B FF F6 95 */ bl init_sound__Q210homebutton10HomeButtonFv
/* 8012E650 0012A490 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 8012E654 0012A494 38 60 00 00 */ li r3, 0x0
/* 8012E658 0012A498 81 84 00 14 */ lwz r12, 0x14(r4)
/* 8012E65C 0012A49C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012E660 0012A4A0 41 82 00 14 */ beq lbl_8012E674
/* 8012E664 0012A4A4 38 60 00 05 */ li r3, 0x5
/* 8012E668 0012A4A8 38 80 00 00 */ li r4, 0x0
/* 8012E66C 0012A4AC 7D 89 03 A6 */ mtctr r12
/* 8012E670 0012A4B0 4E 80 04 21 */ bctrl
.global lbl_8012E674
lbl_8012E674:
/* 8012E674 0012A4B4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012E678 0012A4B8 40 82 00 0C */ bne lbl_8012E684
/* 8012E67C 0012A4BC 38 60 00 00 */ li r3, 0x0
/* 8012E680 0012A4C0 4B FF D3 31 */ bl PlaySeq__10homebuttonFi
.global lbl_8012E684
lbl_8012E684:
/* 8012E684 0012A4C4 38 00 00 02 */ li r0, 0x2
/* 8012E688 0012A4C8 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012E68C 0012A4CC 48 00 13 B8 */ b lbl_8012FA44
.global lbl_8012E690
lbl_8012E690:
/* 8012E690 0012A4D0 80 9C 00 18 */ lwz r4, 0x18(r28)
/* 8012E694 0012A4D4 54 80 10 3A */ slwi r0, r4, 2
/* 8012E698 0012A4D8 7C 7C 02 14 */ add r3, r28, r0
/* 8012E69C 0012A4DC 80 63 02 90 */ lwz r3, 0x290(r3)
/* 8012E6A0 0012A4E0 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012E6A4 0012A4E4 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012E6A8 0012A4E8 41 82 00 84 */ beq lbl_8012E72C
/* 8012E6AC 0012A4EC 2C 04 00 05 */ cmpwi r4, 0x5
/* 8012E6B0 0012A4F0 41 82 00 7C */ beq lbl_8012E72C
/* 8012E6B4 0012A4F4 3B 3F 0A F0 */ addi r25, r31, 0xaf0
/* 8012E6B8 0012A4F8 3B E0 00 00 */ li r31, 0x0
.global lbl_8012E6BC
lbl_8012E6BC:
/* 8012E6BC 0012A4FC 7F 3A CB 78 */ mr r26, r25
/* 8012E6C0 0012A500 3B 60 00 00 */ li r27, 0x0
.global lbl_8012E6C4
lbl_8012E6C4:
/* 8012E6C4 0012A504 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012E6C8 0012A508 38 A0 00 01 */ li r5, 0x1
/* 8012E6CC 0012A50C 80 9A 00 00 */ lwz r4, 0x0(r26)
/* 8012E6D0 0012A510 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012E6D4 0012A514 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012E6D8 0012A518 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012E6DC 0012A51C 7D 89 03 A6 */ mtctr r12
/* 8012E6E0 0012A520 4E 80 04 21 */ bctrl
/* 8012E6E4 0012A524 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012E6E8 0012A528 3B 7B 00 01 */ addi r27, r27, 0x1
/* 8012E6EC 0012A52C 2C 1B 00 04 */ cmpwi r27, 0x4
/* 8012E6F0 0012A530 3B 5A 00 04 */ addi r26, r26, 0x4
/* 8012E6F4 0012A534 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012E6F8 0012A538 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012E6FC 0012A53C 41 80 FF C8 */ blt lbl_8012E6C4
/* 8012E700 0012A540 3B FF 00 01 */ addi r31, r31, 0x1
/* 8012E704 0012A544 3B 39 00 10 */ addi r25, r25, 0x10
/* 8012E708 0012A548 2C 1F 00 04 */ cmpwi r31, 0x4
/* 8012E70C 0012A54C 41 80 FF B0 */ blt lbl_8012E6BC
/* 8012E710 0012A550 38 00 00 05 */ li r0, 0x5
/* 8012E714 0012A554 90 1C 00 18 */ stw r0, 0x18(r28)
/* 8012E718 0012A558 83 7C 03 CC */ lwz r27, 0x3cc(r28)
/* 8012E71C 0012A55C 7F 63 DB 78 */ mr r3, r27
/* 8012E720 0012A560 4B FF 9E F1 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E724 0012A564 38 00 00 01 */ li r0, 0x1
/* 8012E728 0012A568 90 1B 00 14 */ stw r0, 0x14(r27)
.global lbl_8012E72C
lbl_8012E72C:
/* 8012E72C 0012A56C 80 7C 01 D0 */ lwz r3, 0x1d0(r28)
/* 8012E730 0012A570 34 03 FF FF */ addic. r0, r3, -0x1
/* 8012E734 0012A574 90 1C 01 D0 */ stw r0, 0x1d0(r28)
/* 8012E738 0012A578 41 81 13 0C */ bgt lbl_8012FA44
/* 8012E73C 0012A57C 3B 20 00 00 */ li r25, 0x0
.global lbl_8012E740
lbl_8012E740:
/* 8012E740 0012A580 7F 23 CB 78 */ mr r3, r25
/* 8012E744 0012A584 4B F2 93 AD */ bl WPADDisconnect
/* 8012E748 0012A588 3B 39 00 01 */ addi r25, r25, 0x1
/* 8012E74C 0012A58C 2C 19 00 04 */ cmpwi r25, 0x4
/* 8012E750 0012A590 41 80 FF F0 */ blt lbl_8012E740
/* 8012E754 0012A594 38 00 00 04 */ li r0, 0x4
/* 8012E758 0012A598 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012E75C 0012A59C 3C 60 80 54 */ lis r3, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8012E760 0012A5A0 C0 3E 03 24 */ lfs f1, 0x324(r30)
/* 8012E764 0012A5A4 80 63 36 C0 */ lwz r3, spHomeButtonObj__Q210homebutton10HomeButton@l(r3)
/* 8012E768 0012A5A8 80 63 00 04 */ lwz r3, 0x4(r3)
/* 8012E76C 0012A5AC C0 03 00 30 */ lfs f0, 0x30(r3)
/* 8012E770 0012A5B0 EC 01 00 24 */ fdivs f0, f1, f0
/* 8012E774 0012A5B4 FC 00 00 1E */ fctiwz f0, f0
/* 8012E778 0012A5B8 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8012E77C 0012A5BC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8012E780 0012A5C0 90 1C 01 D4 */ stw r0, 0x1d4(r28)
/* 8012E784 0012A5C4 48 00 12 C0 */ b lbl_8012FA44
.global lbl_8012E788
lbl_8012E788:
/* 8012E788 0012A5C8 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012E78C 0012A5CC 54 00 10 3A */ slwi r0, r0, 2
/* 8012E790 0012A5D0 7C 7C 02 14 */ add r3, r28, r0
/* 8012E794 0012A5D4 80 63 02 90 */ lwz r3, 0x290(r3)
/* 8012E798 0012A5D8 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012E79C 0012A5DC 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012E7A0 0012A5E0 41 82 12 A4 */ beq lbl_8012FA44
/* 8012E7A4 0012A5E4 80 1C 01 D4 */ lwz r0, 0x1d4(r28)
/* 8012E7A8 0012A5E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E7AC 0012A5EC 40 81 00 48 */ ble lbl_8012E7F4
/* 8012E7B0 0012A5F0 3B 20 00 00 */ li r25, 0x0
.global lbl_8012E7B4
lbl_8012E7B4:
/* 8012E7B4 0012A5F4 7F 23 CB 78 */ mr r3, r25
/* 8012E7B8 0012A5F8 38 81 00 08 */ addi r4, r1, 0x8
/* 8012E7BC 0012A5FC 4B F2 93 F5 */ bl WPADProbe
/* 8012E7C0 0012A600 2C 03 FF FF */ cmpwi r3, -0x1
/* 8012E7C4 0012A604 40 82 00 10 */ bne lbl_8012E7D4
/* 8012E7C8 0012A608 3B 39 00 01 */ addi r25, r25, 0x1
/* 8012E7CC 0012A60C 2C 19 00 04 */ cmpwi r25, 0x4
/* 8012E7D0 0012A610 41 80 FF E4 */ blt lbl_8012E7B4
.global lbl_8012E7D4
lbl_8012E7D4:
/* 8012E7D4 0012A614 2C 19 00 04 */ cmpwi r25, 0x4
/* 8012E7D8 0012A618 40 80 00 14 */ bge lbl_8012E7EC
/* 8012E7DC 0012A61C 80 7C 01 D4 */ lwz r3, 0x1d4(r28)
/* 8012E7E0 0012A620 38 03 FF FF */ addi r0, r3, -0x1
/* 8012E7E4 0012A624 90 1C 01 D4 */ stw r0, 0x1d4(r28)
/* 8012E7E8 0012A628 48 00 12 5C */ b lbl_8012FA44
.global lbl_8012E7EC
lbl_8012E7EC:
/* 8012E7EC 0012A62C 38 00 00 00 */ li r0, 0x0
/* 8012E7F0 0012A630 90 1C 01 D4 */ stw r0, 0x1d4(r28)
.global lbl_8012E7F4
lbl_8012E7F4:
/* 8012E7F4 0012A634 3B 60 00 00 */ li r27, 0x0
/* 8012E7F8 0012A638 38 00 00 05 */ li r0, 0x5
/* 8012E7FC 0012A63C 3C 60 80 13 */ lis r3, SimpleSyncCallback__10homebuttonFll@ha
/* 8012E800 0012A640 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012E804 0012A644 38 63 04 E0 */ addi r3, r3, SimpleSyncCallback__10homebuttonFll@l
/* 8012E808 0012A648 93 7C 00 1C */ stw r27, 0x1c(r28)
/* 8012E80C 0012A64C 93 7C 00 9C */ stw r27, 0x9c(r28)
/* 8012E810 0012A650 4B F2 7C 71 */ bl WPADSetSimpleSyncCallback
/* 8012E814 0012A654 9B 7C 00 92 */ stb r27, 0x92(r28)
/* 8012E818 0012A658 38 00 00 01 */ li r0, 0x1
/* 8012E81C 0012A65C 80 7C 02 4C */ lwz r3, 0x24c(r28)
/* 8012E820 0012A660 9B 7C 00 93 */ stb r27, 0x93(r28)
/* 8012E824 0012A664 98 03 00 44 */ stb r0, 0x44(r3)
/* 8012E828 0012A668 80 7C 02 50 */ lwz r3, 0x250(r28)
/* 8012E82C 0012A66C 98 03 00 44 */ stb r0, 0x44(r3)
/* 8012E830 0012A670 80 7C 02 54 */ lwz r3, 0x254(r28)
/* 8012E834 0012A674 98 03 00 44 */ stb r0, 0x44(r3)
/* 8012E838 0012A678 80 7C 02 58 */ lwz r3, 0x258(r28)
/* 8012E83C 0012A67C 98 03 00 44 */ stb r0, 0x44(r3)
/* 8012E840 0012A680 4B F2 7C 21 */ bl WPADStartFastSimpleSync
/* 8012E844 0012A684 7C 03 00 D0 */ neg r0, r3
/* 8012E848 0012A688 7C 00 1B 78 */ or r0, r0, r3
/* 8012E84C 0012A68C 54 00 0F FF */ srwi. r0, r0, 31
/* 8012E850 0012A690 98 1C 00 91 */ stb r0, 0x91(r28)
/* 8012E854 0012A694 40 82 11 F0 */ bne lbl_8012FA44
/* 8012E858 0012A698 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012E85C 0012A69C 4B EE D3 05 */ bl OSCancelAlarm
/* 8012E860 0012A6A0 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012E864 0012A6A4 38 80 00 00 */ li r4, 0x0
/* 8012E868 0012A6A8 4B FF A6 A9 */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 8012E86C 0012A6AC 3C 80 80 00 */ lis r4, 0x800000F8@ha
/* 8012E870 0012A6B0 3C E0 80 13 */ lis r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 8012E874 0012A6B4 80 04 00 F8 */ lwz r0, 0x800000F8@l(r4)
/* 8012E878 0012A6B8 3C 60 10 62 */ lis r3, 0x1062
/* 8012E87C 0012A6BC 38 83 4D D3 */ addi r4, r3, 0x4dd3
/* 8012E880 0012A6C0 38 E7 04 10 */ addi r7, r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 8012E884 0012A6C4 54 00 F0 BE */ srwi r0, r0, 2
/* 8012E888 0012A6C8 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012E88C 0012A6CC 7C 04 00 16 */ mulhwu r0, r4, r0
/* 8012E890 0012A6D0 38 A0 00 00 */ li r5, 0x0
/* 8012E894 0012A6D4 54 00 D1 BE */ srwi r0, r0, 6
/* 8012E898 0012A6D8 1C C0 00 64 */ mulli r6, r0, 0x64
/* 8012E89C 0012A6DC 4B EE D1 C5 */ bl OSSetAlarm
/* 8012E8A0 0012A6E0 48 00 11 A4 */ b lbl_8012FA44
.global lbl_8012E8A4
lbl_8012E8A4:
/* 8012E8A4 0012A6E4 88 1C 00 91 */ lbz r0, 0x91(r28)
/* 8012E8A8 0012A6E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E8AC 0012A6EC 41 82 11 98 */ beq lbl_8012FA44
/* 8012E8B0 0012A6F0 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012E8B4 0012A6F4 54 00 10 3A */ slwi r0, r0, 2
/* 8012E8B8 0012A6F8 7C 7C 02 14 */ add r3, r28, r0
/* 8012E8BC 0012A6FC 80 63 03 B8 */ lwz r3, 0x3b8(r3)
/* 8012E8C0 0012A700 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012E8C4 0012A704 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012E8C8 0012A708 41 82 11 7C */ beq lbl_8012FA44
/* 8012E8CC 0012A70C 80 1C 00 1C */ lwz r0, 0x1c(r28)
/* 8012E8D0 0012A710 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E8D4 0012A714 40 82 00 BC */ bne lbl_8012E990
/* 8012E8D8 0012A718 3B 20 00 00 */ li r25, 0x0
/* 8012E8DC 0012A71C 3B 60 00 01 */ li r27, 0x1
/* 8012E8E0 0012A720 3B E0 00 25 */ li r31, 0x25
.global lbl_8012E8E4
lbl_8012E8E4:
/* 8012E8E4 0012A724 38 BE 00 68 */ addi r5, r30, 0x68
/* 8012E8E8 0012A728 38 79 00 06 */ addi r3, r25, 0x6
/* 8012E8EC 0012A72C 38 80 00 00 */ li r4, 0x0
/* 8012E8F0 0012A730 7F E9 03 A6 */ mtctr r31
/* 8012E8F4 0012A734 60 00 00 00 */ nop
.global lbl_8012E8F8
lbl_8012E8F8:
/* 8012E8F8 0012A738 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8012E8FC 0012A73C 7C 03 00 00 */ cmpw r3, r0
/* 8012E900 0012A740 40 82 00 14 */ bne lbl_8012E914
/* 8012E904 0012A744 80 05 00 04 */ lwz r0, 0x4(r5)
/* 8012E908 0012A748 2C 00 00 07 */ cmpwi r0, 0x7
/* 8012E90C 0012A74C 40 82 00 08 */ bne lbl_8012E914
/* 8012E910 0012A750 48 00 00 34 */ b lbl_8012E944
.global lbl_8012E914
lbl_8012E914:
/* 8012E914 0012A754 80 05 00 08 */ lwz r0, 0x8(r5)
/* 8012E918 0012A758 38 84 00 01 */ addi r4, r4, 0x1
/* 8012E91C 0012A75C 7C 03 00 00 */ cmpw r3, r0
/* 8012E920 0012A760 40 82 00 14 */ bne lbl_8012E934
/* 8012E924 0012A764 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8012E928 0012A768 2C 00 00 07 */ cmpwi r0, 0x7
/* 8012E92C 0012A76C 40 82 00 08 */ bne lbl_8012E934
/* 8012E930 0012A770 48 00 00 14 */ b lbl_8012E944
.global lbl_8012E934
lbl_8012E934:
/* 8012E934 0012A774 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012E938 0012A778 38 84 00 01 */ addi r4, r4, 0x1
/* 8012E93C 0012A77C 42 00 FF BC */ bdnz lbl_8012E8F8
/* 8012E940 0012A780 38 80 FF FF */ li r4, -0x1
.global lbl_8012E944
lbl_8012E944:
/* 8012E944 0012A784 54 80 10 3A */ slwi r0, r4, 2
/* 8012E948 0012A788 7C 7C 02 14 */ add r3, r28, r0
/* 8012E94C 0012A78C 83 43 02 90 */ lwz r26, 0x290(r3)
/* 8012E950 0012A790 7F 43 D3 78 */ mr r3, r26
/* 8012E954 0012A794 4B FF 9C BD */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E958 0012A798 3B 39 00 01 */ addi r25, r25, 0x1
/* 8012E95C 0012A79C 93 7A 00 14 */ stw r27, 0x14(r26)
/* 8012E960 0012A7A0 2C 19 00 05 */ cmpwi r25, 0x5
/* 8012E964 0012A7A4 41 80 FF 80 */ blt lbl_8012E8E4
/* 8012E968 0012A7A8 7F 83 E3 78 */ mr r3, r28
/* 8012E96C 0012A7AC 48 00 5C 35 */ bl reset_btn__Q210homebutton10HomeButtonFv
/* 8012E970 0012A7B0 80 7C 03 F0 */ lwz r3, 0x3f0(r28)
/* 8012E974 0012A7B4 38 00 00 02 */ li r0, 0x2
/* 8012E978 0012A7B8 90 03 00 18 */ stw r0, 0x18(r3)
/* 8012E97C 0012A7BC 83 3C 03 F0 */ lwz r25, 0x3f0(r28)
/* 8012E980 0012A7C0 7F 23 CB 78 */ mr r3, r25
/* 8012E984 0012A7C4 4B FF 9C 8D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012E988 0012A7C8 38 00 00 01 */ li r0, 0x1
/* 8012E98C 0012A7CC 90 19 00 14 */ stw r0, 0x14(r25)
.global lbl_8012E990
lbl_8012E990:
/* 8012E990 0012A7D0 88 1C 00 80 */ lbz r0, 0x80(r28)
/* 8012E994 0012A7D4 38 60 00 00 */ li r3, 0x0
/* 8012E998 0012A7D8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E99C 0012A7DC 41 82 00 38 */ beq lbl_8012E9D4
/* 8012E9A0 0012A7E0 88 1C 00 81 */ lbz r0, 0x81(r28)
/* 8012E9A4 0012A7E4 38 60 00 01 */ li r3, 0x1
/* 8012E9A8 0012A7E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E9AC 0012A7EC 41 82 00 28 */ beq lbl_8012E9D4
/* 8012E9B0 0012A7F0 88 1C 00 82 */ lbz r0, 0x82(r28)
/* 8012E9B4 0012A7F4 38 60 00 02 */ li r3, 0x2
/* 8012E9B8 0012A7F8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E9BC 0012A7FC 41 82 00 18 */ beq lbl_8012E9D4
/* 8012E9C0 0012A800 88 1C 00 83 */ lbz r0, 0x83(r28)
/* 8012E9C4 0012A804 38 60 00 03 */ li r3, 0x3
/* 8012E9C8 0012A808 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E9CC 0012A80C 41 82 00 08 */ beq lbl_8012E9D4
/* 8012E9D0 0012A810 38 60 00 04 */ li r3, 0x4
.global lbl_8012E9D4
lbl_8012E9D4:
/* 8012E9D4 0012A814 2C 03 00 04 */ cmpwi r3, 0x4
/* 8012E9D8 0012A818 41 80 00 0C */ blt lbl_8012E9E4
/* 8012E9DC 0012A81C 38 00 00 01 */ li r0, 0x1
/* 8012E9E0 0012A820 98 1C 00 93 */ stb r0, 0x93(r28)
.global lbl_8012E9E4
lbl_8012E9E4:
/* 8012E9E4 0012A824 88 1C 00 93 */ lbz r0, 0x93(r28)
/* 8012E9E8 0012A828 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012E9EC 0012A82C 41 82 01 04 */ beq lbl_8012EAF0
/* 8012E9F0 0012A830 80 1C 00 14 */ lwz r0, 0x14(r28)
/* 8012E9F4 0012A834 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012E9F8 0012A838 41 82 00 78 */ beq lbl_8012EA70
/* 8012E9FC 0012A83C 80 1C 00 88 */ lwz r0, 0x88(r28)
/* 8012EA00 0012A840 54 00 10 3A */ slwi r0, r0, 2
/* 8012EA04 0012A844 7C 7C 02 14 */ add r3, r28, r0
/* 8012EA08 0012A848 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 8012EA0C 0012A84C 4B FF C0 55 */ bl isPlayReady__Q210homebutton10ControllerCFv
/* 8012EA10 0012A850 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012EA14 0012A854 41 82 00 24 */ beq lbl_8012EA38
/* 8012EA18 0012A858 80 1C 00 88 */ lwz r0, 0x88(r28)
/* 8012EA1C 0012A85C 38 80 00 05 */ li r4, 0x5
/* 8012EA20 0012A860 54 00 10 3A */ slwi r0, r0, 2
/* 8012EA24 0012A864 7C 7C 02 14 */ add r3, r28, r0
/* 8012EA28 0012A868 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 8012EA2C 0012A86C 4B FF BD 85 */ bl isPlayingSoundId__Q210homebutton10ControllerCFi
/* 8012EA30 0012A870 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012EA34 0012A874 41 82 00 14 */ beq lbl_8012EA48
.global lbl_8012EA38
lbl_8012EA38:
/* 8012EA38 0012A878 80 1C 05 C0 */ lwz r0, 0x5c0(r28)
/* 8012EA3C 0012A87C 38 60 00 06 */ li r3, 0x6
/* 8012EA40 0012A880 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012EA44 0012A884 90 1C 00 1C */ stw r0, 0x1c(r28)
.global lbl_8012EA48
lbl_8012EA48:
/* 8012EA48 0012A888 80 9C 00 9C */ lwz r4, 0x9c(r28)
/* 8012EA4C 0012A88C 80 7C 05 C0 */ lwz r3, 0x5c0(r28)
/* 8012EA50 0012A890 38 04 00 01 */ addi r0, r4, 0x1
/* 8012EA54 0012A894 90 1C 00 9C */ stw r0, 0x9c(r28)
/* 8012EA58 0012A898 7C 00 18 00 */ cmpw r0, r3
/* 8012EA5C 0012A89C 40 81 0F E8 */ ble lbl_8012FA44
/* 8012EA60 0012A8A0 38 00 00 06 */ li r0, 0x6
/* 8012EA64 0012A8A4 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EA68 0012A8A8 90 7C 00 1C */ stw r3, 0x1c(r28)
/* 8012EA6C 0012A8AC 48 00 0F D8 */ b lbl_8012FA44
.global lbl_8012EA70
lbl_8012EA70:
/* 8012EA70 0012A8B0 80 7C 00 1C */ lwz r3, 0x1c(r28)
/* 8012EA74 0012A8B4 80 1C 05 BC */ lwz r0, 0x5bc(r28)
/* 8012EA78 0012A8B8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012EA7C 0012A8BC 90 7C 00 1C */ stw r3, 0x1c(r28)
/* 8012EA80 0012A8C0 7C 03 00 00 */ cmpw r3, r0
/* 8012EA84 0012A8C4 40 81 0F C0 */ ble lbl_8012FA44
/* 8012EA88 0012A8C8 38 00 00 07 */ li r0, 0x7
/* 8012EA8C 0012A8CC 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EA90 0012A8D0 4B F2 79 E1 */ bl WPADStopSimpleSync
/* 8012EA94 0012A8D4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012EA98 0012A8D8 40 82 00 4C */ bne lbl_8012EAE4
/* 8012EA9C 0012A8DC 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012EAA0 0012A8E0 4B EE D0 C1 */ bl OSCancelAlarm
/* 8012EAA4 0012A8E4 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012EAA8 0012A8E8 38 80 00 01 */ li r4, 0x1
/* 8012EAAC 0012A8EC 4B FF A4 65 */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 8012EAB0 0012A8F0 3C 80 80 00 */ lis r4, 0x800000F8@ha
/* 8012EAB4 0012A8F4 3C E0 80 13 */ lis r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 8012EAB8 0012A8F8 80 04 00 F8 */ lwz r0, 0x800000F8@l(r4)
/* 8012EABC 0012A8FC 3C 60 10 62 */ lis r3, 0x1062
/* 8012EAC0 0012A900 38 83 4D D3 */ addi r4, r3, 0x4dd3
/* 8012EAC4 0012A904 38 E7 04 10 */ addi r7, r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 8012EAC8 0012A908 54 00 F0 BE */ srwi r0, r0, 2
/* 8012EACC 0012A90C 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012EAD0 0012A910 7C 04 00 16 */ mulhwu r0, r4, r0
/* 8012EAD4 0012A914 38 A0 00 00 */ li r5, 0x0
/* 8012EAD8 0012A918 54 00 D1 BE */ srwi r0, r0, 6
/* 8012EADC 0012A91C 1C C0 00 64 */ mulli r6, r0, 0x64
/* 8012EAE0 0012A920 4B EE CF 81 */ bl OSSetAlarm
.global lbl_8012EAE4
lbl_8012EAE4:
/* 8012EAE4 0012A924 38 00 00 01 */ li r0, 0x1
/* 8012EAE8 0012A928 98 1C 00 92 */ stb r0, 0x92(r28)
/* 8012EAEC 0012A92C 48 00 0F 58 */ b lbl_8012FA44
.global lbl_8012EAF0
lbl_8012EAF0:
/* 8012EAF0 0012A930 80 7C 00 1C */ lwz r3, 0x1c(r28)
/* 8012EAF4 0012A934 80 1C 05 BC */ lwz r0, 0x5bc(r28)
/* 8012EAF8 0012A938 38 63 00 01 */ addi r3, r3, 0x1
/* 8012EAFC 0012A93C 90 7C 00 1C */ stw r3, 0x1c(r28)
/* 8012EB00 0012A940 7C 03 00 00 */ cmpw r3, r0
/* 8012EB04 0012A944 40 81 0F 40 */ ble lbl_8012FA44
/* 8012EB08 0012A948 38 00 00 07 */ li r0, 0x7
/* 8012EB0C 0012A94C 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EB10 0012A950 4B F2 79 61 */ bl WPADStopSimpleSync
/* 8012EB14 0012A954 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012EB18 0012A958 40 82 00 4C */ bne lbl_8012EB64
/* 8012EB1C 0012A95C 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012EB20 0012A960 4B EE D0 41 */ bl OSCancelAlarm
/* 8012EB24 0012A964 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012EB28 0012A968 38 80 00 01 */ li r4, 0x1
/* 8012EB2C 0012A96C 4B FF A3 E5 */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 8012EB30 0012A970 3C 80 80 00 */ lis r4, 0x800000F8@ha
/* 8012EB34 0012A974 3C E0 80 13 */ lis r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 8012EB38 0012A978 80 04 00 F8 */ lwz r0, 0x800000F8@l(r4)
/* 8012EB3C 0012A97C 3C 60 10 62 */ lis r3, 0x1062
/* 8012EB40 0012A980 38 83 4D D3 */ addi r4, r3, 0x4dd3
/* 8012EB44 0012A984 38 E7 04 10 */ addi r7, r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 8012EB48 0012A988 54 00 F0 BE */ srwi r0, r0, 2
/* 8012EB4C 0012A98C 38 7C 05 88 */ addi r3, r28, 0x588
/* 8012EB50 0012A990 7C 04 00 16 */ mulhwu r0, r4, r0
/* 8012EB54 0012A994 38 A0 00 00 */ li r5, 0x0
/* 8012EB58 0012A998 54 00 D1 BE */ srwi r0, r0, 6
/* 8012EB5C 0012A99C 1C C0 00 64 */ mulli r6, r0, 0x64
/* 8012EB60 0012A9A0 4B EE CF 01 */ bl OSSetAlarm
.global lbl_8012EB64
lbl_8012EB64:
/* 8012EB64 0012A9A4 38 00 00 01 */ li r0, 0x1
/* 8012EB68 0012A9A8 98 1C 00 92 */ stb r0, 0x92(r28)
/* 8012EB6C 0012A9AC 48 00 0E D8 */ b lbl_8012FA44
.global lbl_8012EB70
lbl_8012EB70:
/* 8012EB70 0012A9B0 88 1C 00 92 */ lbz r0, 0x92(r28)
/* 8012EB74 0012A9B4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012EB78 0012A9B8 41 82 0E CC */ beq lbl_8012FA44
/* 8012EB7C 0012A9BC 80 7C 01 AC */ lwz r3, 0x1ac(r28)
/* 8012EB80 0012A9C0 4B F2 79 01 */ bl WPADSetSimpleSyncCallback
/* 8012EB84 0012A9C4 80 7C 02 5C */ lwz r3, 0x25c(r28)
/* 8012EB88 0012A9C8 4B FF C3 29 */ bl ClearPcm__Q210homebutton9RemoteSpkFv
/* 8012EB8C 0012A9CC 3B 20 00 00 */ li r25, 0x0
.global lbl_8012EB90
lbl_8012EB90:
/* 8012EB90 0012A9D0 80 7C 01 F0 */ lwz r3, 0x1f0(r28)
/* 8012EB94 0012A9D4 7F 24 CB 78 */ mr r4, r25
/* 8012EB98 0012A9D8 C0 3E 02 FC */ lfs f1, 0x2fc(r30)
/* 8012EB9C 0012A9DC 38 A0 00 00 */ li r5, 0x0
/* 8012EBA0 0012A9E0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012EBA4 0012A9E4 38 C0 00 00 */ li r6, 0x0
/* 8012EBA8 0012A9E8 FC 40 08 90 */ fmr f2, f1
/* 8012EBAC 0012A9EC 38 E0 00 00 */ li r7, 0x0
/* 8012EBB0 0012A9F0 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8012EBB4 0012A9F4 39 00 00 00 */ li r8, 0x0
/* 8012EBB8 0012A9F8 7D 89 03 A6 */ mtctr r12
/* 8012EBBC 0012A9FC 4E 80 04 21 */ bctrl
/* 8012EBC0 0012AA00 3B 39 00 01 */ addi r25, r25, 0x1
/* 8012EBC4 0012AA04 2C 19 00 08 */ cmpwi r25, 0x8
/* 8012EBC8 0012AA08 41 80 FF C8 */ blt lbl_8012EB90
/* 8012EBCC 0012AA0C 38 00 00 06 */ li r0, 0x6
/* 8012EBD0 0012AA10 90 1C 00 18 */ stw r0, 0x18(r28)
/* 8012EBD4 0012AA14 83 3C 03 D0 */ lwz r25, 0x3d0(r28)
/* 8012EBD8 0012AA18 7F 23 CB 78 */ mr r3, r25
/* 8012EBDC 0012AA1C 4B FF 9A 35 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012EBE0 0012AA20 38 00 00 01 */ li r0, 0x1
/* 8012EBE4 0012AA24 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012EBE8 0012AA28 38 60 00 08 */ li r3, 0x8
/* 8012EBEC 0012AA2C 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012EBF0 0012AA30 38 00 00 00 */ li r0, 0x0
/* 8012EBF4 0012AA34 80 9C 03 F0 */ lwz r4, 0x3f0(r28)
/* 8012EBF8 0012AA38 38 60 00 00 */ li r3, 0x0
/* 8012EBFC 0012AA3C 90 04 00 18 */ stw r0, 0x18(r4)
/* 8012EC00 0012AA40 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 8012EC04 0012AA44 81 84 00 14 */ lwz r12, 0x14(r4)
/* 8012EC08 0012AA48 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012EC0C 0012AA4C 41 82 00 14 */ beq lbl_8012EC20
/* 8012EC10 0012AA50 38 60 00 05 */ li r3, 0x5
/* 8012EC14 0012AA54 38 80 00 15 */ li r4, 0x15
/* 8012EC18 0012AA58 7D 89 03 A6 */ mtctr r12
/* 8012EC1C 0012AA5C 4E 80 04 21 */ bctrl
.global lbl_8012EC20
lbl_8012EC20:
/* 8012EC20 0012AA60 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012EC24 0012AA64 40 82 0E 20 */ bne lbl_8012FA44
/* 8012EC28 0012AA68 38 60 00 15 */ li r3, 0x15
/* 8012EC2C 0012AA6C 4B FF CD 85 */ bl PlaySeq__10homebuttonFi
/* 8012EC30 0012AA70 48 00 0E 14 */ b lbl_8012FA44
.global lbl_8012EC34
lbl_8012EC34:
/* 8012EC34 0012AA74 80 9C 00 18 */ lwz r4, 0x18(r28)
/* 8012EC38 0012AA78 54 80 10 3A */ slwi r0, r4, 2
/* 8012EC3C 0012AA7C 7C 7C 02 14 */ add r3, r28, r0
/* 8012EC40 0012AA80 80 63 03 B8 */ lwz r3, 0x3b8(r3)
/* 8012EC44 0012AA84 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012EC48 0012AA88 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012EC4C 0012AA8C 41 82 0D F8 */ beq lbl_8012FA44
/* 8012EC50 0012AA90 2C 04 00 0D */ cmpwi r4, 0xd
/* 8012EC54 0012AA94 40 82 01 28 */ bne lbl_8012ED7C
/* 8012EC58 0012AA98 38 00 00 25 */ li r0, 0x25
/* 8012EC5C 0012AA9C 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012EC60 0012AAA0 38 60 00 00 */ li r3, 0x0
/* 8012EC64 0012AAA4 7C 09 03 A6 */ mtctr r0
.global lbl_8012EC68
lbl_8012EC68:
/* 8012EC68 0012AAA8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012EC6C 0012AAAC 2C 00 00 11 */ cmpwi r0, 0x11
/* 8012EC70 0012AAB0 40 82 00 14 */ bne lbl_8012EC84
/* 8012EC74 0012AAB4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012EC78 0012AAB8 2C 00 00 0C */ cmpwi r0, 0xc
/* 8012EC7C 0012AABC 40 82 00 08 */ bne lbl_8012EC84
/* 8012EC80 0012AAC0 48 00 00 34 */ b lbl_8012ECB4
.global lbl_8012EC84
lbl_8012EC84:
/* 8012EC84 0012AAC4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012EC88 0012AAC8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012EC8C 0012AACC 2C 00 00 11 */ cmpwi r0, 0x11
/* 8012EC90 0012AAD0 40 82 00 14 */ bne lbl_8012ECA4
/* 8012EC94 0012AAD4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012EC98 0012AAD8 2C 00 00 0C */ cmpwi r0, 0xc
/* 8012EC9C 0012AADC 40 82 00 08 */ bne lbl_8012ECA4
/* 8012ECA0 0012AAE0 48 00 00 14 */ b lbl_8012ECB4
.global lbl_8012ECA4
lbl_8012ECA4:
/* 8012ECA4 0012AAE4 38 84 00 10 */ addi r4, r4, 0x10
/* 8012ECA8 0012AAE8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012ECAC 0012AAEC 42 00 FF BC */ bdnz lbl_8012EC68
/* 8012ECB0 0012AAF0 38 60 FF FF */ li r3, -0x1
.global lbl_8012ECB4
lbl_8012ECB4:
/* 8012ECB4 0012AAF4 54 60 10 3A */ slwi r0, r3, 2
/* 8012ECB8 0012AAF8 7C 7C 02 14 */ add r3, r28, r0
/* 8012ECBC 0012AAFC 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012ECC0 0012AB00 7F 23 CB 78 */ mr r3, r25
/* 8012ECC4 0012AB04 4B FF 99 4D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012ECC8 0012AB08 38 00 00 25 */ li r0, 0x25
/* 8012ECCC 0012AB0C 38 60 00 01 */ li r3, 0x1
/* 8012ECD0 0012AB10 90 79 00 14 */ stw r3, 0x14(r25)
/* 8012ECD4 0012AB14 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012ECD8 0012AB18 38 60 00 00 */ li r3, 0x0
/* 8012ECDC 0012AB1C 7C 09 03 A6 */ mtctr r0
.global lbl_8012ECE0
lbl_8012ECE0:
/* 8012ECE0 0012AB20 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012ECE4 0012AB24 2C 00 00 12 */ cmpwi r0, 0x12
/* 8012ECE8 0012AB28 40 82 00 14 */ bne lbl_8012ECFC
/* 8012ECEC 0012AB2C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012ECF0 0012AB30 2C 00 00 0C */ cmpwi r0, 0xc
/* 8012ECF4 0012AB34 40 82 00 08 */ bne lbl_8012ECFC
/* 8012ECF8 0012AB38 48 00 00 34 */ b lbl_8012ED2C
.global lbl_8012ECFC
lbl_8012ECFC:
/* 8012ECFC 0012AB3C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012ED00 0012AB40 38 63 00 01 */ addi r3, r3, 0x1
/* 8012ED04 0012AB44 2C 00 00 12 */ cmpwi r0, 0x12
/* 8012ED08 0012AB48 40 82 00 14 */ bne lbl_8012ED1C
/* 8012ED0C 0012AB4C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012ED10 0012AB50 2C 00 00 0C */ cmpwi r0, 0xc
/* 8012ED14 0012AB54 40 82 00 08 */ bne lbl_8012ED1C
/* 8012ED18 0012AB58 48 00 00 14 */ b lbl_8012ED2C
.global lbl_8012ED1C
lbl_8012ED1C:
/* 8012ED1C 0012AB5C 38 84 00 10 */ addi r4, r4, 0x10
/* 8012ED20 0012AB60 38 63 00 01 */ addi r3, r3, 0x1
/* 8012ED24 0012AB64 42 00 FF BC */ bdnz lbl_8012ECE0
/* 8012ED28 0012AB68 38 60 FF FF */ li r3, -0x1
.global lbl_8012ED2C
lbl_8012ED2C:
/* 8012ED2C 0012AB6C 54 60 10 3A */ slwi r0, r3, 2
/* 8012ED30 0012AB70 7C 7C 02 14 */ add r3, r28, r0
/* 8012ED34 0012AB74 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012ED38 0012AB78 7F 23 CB 78 */ mr r3, r25
/* 8012ED3C 0012AB7C 4B FF 98 D5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012ED40 0012AB80 38 00 00 01 */ li r0, 0x1
/* 8012ED44 0012AB84 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012ED48 0012AB88 38 7F 09 E4 */ addi r3, r31, 0x9e4
/* 8012ED4C 0012AB8C 38 A0 00 01 */ li r5, 0x1
/* 8012ED50 0012AB90 80 DC 01 D8 */ lwz r6, 0x1d8(r28)
/* 8012ED54 0012AB94 80 83 00 08 */ lwz r4, 0x8(r3)
/* 8012ED58 0012AB98 80 66 00 10 */ lwz r3, 0x10(r6)
/* 8012ED5C 0012AB9C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012ED60 0012ABA0 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012ED64 0012ABA4 7D 89 03 A6 */ mtctr r12
/* 8012ED68 0012ABA8 4E 80 04 21 */ bctrl
/* 8012ED6C 0012ABAC 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012ED70 0012ABB0 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012ED74 0012ABB4 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012ED78 0012ABB8 48 00 00 68 */ b lbl_8012EDE0
.global lbl_8012ED7C
lbl_8012ED7C:
/* 8012ED7C 0012ABBC 2C 04 00 06 */ cmpwi r4, 0x6
/* 8012ED80 0012ABC0 40 82 00 60 */ bne lbl_8012EDE0
/* 8012ED84 0012ABC4 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012ED88 0012ABC8 38 A0 00 01 */ li r5, 0x1
/* 8012ED8C 0012ABCC 80 9F 09 E4 */ lwz r4, 0x9e4(r31)
/* 8012ED90 0012ABD0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012ED94 0012ABD4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012ED98 0012ABD8 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012ED9C 0012ABDC 7D 89 03 A6 */ mtctr r12
/* 8012EDA0 0012ABE0 4E 80 04 21 */ bctrl
/* 8012EDA4 0012ABE4 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012EDA8 0012ABE8 38 9F 09 E4 */ addi r4, r31, 0x9e4
/* 8012EDAC 0012ABEC 38 A0 00 01 */ li r5, 0x1
/* 8012EDB0 0012ABF0 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012EDB4 0012ABF4 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012EDB8 0012ABF8 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012EDBC 0012ABFC 80 84 00 04 */ lwz r4, 0x4(r4)
/* 8012EDC0 0012AC00 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012EDC4 0012AC04 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012EDC8 0012AC08 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012EDCC 0012AC0C 7D 89 03 A6 */ mtctr r12
/* 8012EDD0 0012AC10 4E 80 04 21 */ bctrl
/* 8012EDD4 0012AC14 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012EDD8 0012AC18 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012EDDC 0012AC1C 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_8012EDE0
lbl_8012EDE0:
/* 8012EDE0 0012AC20 38 00 00 02 */ li r0, 0x2
/* 8012EDE4 0012AC24 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EDE8 0012AC28 48 00 0C 5C */ b lbl_8012FA44
.global lbl_8012EDEC
lbl_8012EDEC:
/* 8012EDEC 0012AC2C 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012EDF0 0012AC30 54 00 10 3A */ slwi r0, r0, 2
/* 8012EDF4 0012AC34 7C 7C 02 14 */ add r3, r28, r0
/* 8012EDF8 0012AC38 80 63 02 90 */ lwz r3, 0x290(r3)
/* 8012EDFC 0012AC3C 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012EE00 0012AC40 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012EE04 0012AC44 41 82 0C 40 */ beq lbl_8012FA44
/* 8012EE08 0012AC48 88 1C 00 8C */ lbz r0, 0x8c(r28)
/* 8012EE0C 0012AC4C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012EE10 0012AC50 41 82 00 24 */ beq lbl_8012EE34
/* 8012EE14 0012AC54 7F 99 E3 78 */ mr r25, r28
/* 8012EE18 0012AC58 3B 40 00 00 */ li r26, 0x0
.global lbl_8012EE1C
lbl_8012EE1C:
/* 8012EE1C 0012AC5C 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012EE20 0012AC60 4B FF BC C1 */ bl stopMotor__Q210homebutton10ControllerFv
/* 8012EE24 0012AC64 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012EE28 0012AC68 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012EE2C 0012AC6C 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8012EE30 0012AC70 41 80 FF EC */ blt lbl_8012EE1C
.global lbl_8012EE34
lbl_8012EE34:
/* 8012EE34 0012AC74 38 00 00 02 */ li r0, 0x2
/* 8012EE38 0012AC78 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EE3C 0012AC7C 48 00 0C 08 */ b lbl_8012FA44
.global lbl_8012EE40
lbl_8012EE40:
/* 8012EE40 0012AC80 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012EE44 0012AC84 54 00 10 3A */ slwi r0, r0, 2
/* 8012EE48 0012AC88 7C 7C 02 14 */ add r3, r28, r0
/* 8012EE4C 0012AC8C 80 63 03 B8 */ lwz r3, 0x3b8(r3)
/* 8012EE50 0012AC90 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012EE54 0012AC94 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012EE58 0012AC98 41 82 0B EC */ beq lbl_8012FA44
/* 8012EE5C 0012AC9C 80 1C 00 00 */ lwz r0, 0x0(r28)
/* 8012EE60 0012ACA0 38 60 00 00 */ li r3, 0x0
/* 8012EE64 0012ACA4 90 7C 00 6C */ stw r3, 0x6c(r28)
/* 8012EE68 0012ACA8 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012EE6C 0012ACAC 90 7C 00 70 */ stw r3, 0x70(r28)
/* 8012EE70 0012ACB0 90 7C 00 74 */ stw r3, 0x74(r28)
/* 8012EE74 0012ACB4 90 7C 00 78 */ stw r3, 0x78(r28)
/* 8012EE78 0012ACB8 41 82 00 58 */ beq lbl_8012EED0
/* 8012EE7C 0012ACBC 38 7F 09 98 */ addi r3, r31, 0x998
/* 8012EE80 0012ACC0 3B 40 00 02 */ li r26, 0x2
/* 8012EE84 0012ACC4 3B 23 00 08 */ addi r25, r3, 0x8
.global lbl_8012EE88
lbl_8012EE88:
/* 8012EE88 0012ACC8 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012EE8C 0012ACCC 38 A0 00 01 */ li r5, 0x1
/* 8012EE90 0012ACD0 80 99 00 00 */ lwz r4, 0x0(r25)
/* 8012EE94 0012ACD4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012EE98 0012ACD8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012EE9C 0012ACDC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012EEA0 0012ACE0 7D 89 03 A6 */ mtctr r12
/* 8012EEA4 0012ACE4 4E 80 04 21 */ bctrl
/* 8012EEA8 0012ACE8 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012EEAC 0012ACEC 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012EEB0 0012ACF0 2C 1A 00 07 */ cmpwi r26, 0x7
/* 8012EEB4 0012ACF4 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012EEB8 0012ACF8 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012EEBC 0012ACFC 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012EEC0 0012AD00 41 80 FF C8 */ blt lbl_8012EE88
/* 8012EEC4 0012AD04 38 00 00 02 */ li r0, 0x2
/* 8012EEC8 0012AD08 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EECC 0012AD0C 48 00 00 8C */ b lbl_8012EF58
.global lbl_8012EED0
lbl_8012EED0:
/* 8012EED0 0012AD10 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012EED4 0012AD14 38 9F 0B 74 */ addi r4, r31, 0xb74
/* 8012EED8 0012AD18 38 A0 00 01 */ li r5, 0x1
/* 8012EEDC 0012AD1C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012EEE0 0012AD20 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012EEE4 0012AD24 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012EEE8 0012AD28 7D 89 03 A6 */ mtctr r12
/* 8012EEEC 0012AD2C 4E 80 04 21 */ bctrl
/* 8012EEF0 0012AD30 88 83 00 CF */ lbz r4, 0xcf(r3)
/* 8012EEF4 0012AD34 38 00 00 0A */ li r0, 0xa
/* 8012EEF8 0012AD38 54 84 06 3C */ rlwinm r4, r4, 0, 24, 30
/* 8012EEFC 0012AD3C 98 83 00 CF */ stb r4, 0xcf(r3)
/* 8012EF00 0012AD40 90 1C 00 18 */ stw r0, 0x18(r28)
/* 8012EF04 0012AD44 83 3C 03 E0 */ lwz r25, 0x3e0(r28)
/* 8012EF08 0012AD48 7F 23 CB 78 */ mr r3, r25
/* 8012EF0C 0012AD4C 4B FF 97 05 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012EF10 0012AD50 38 00 00 01 */ li r0, 0x1
/* 8012EF14 0012AD54 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012EF18 0012AD58 38 60 00 00 */ li r3, 0x0
/* 8012EF1C 0012AD5C 90 1C 00 18 */ stw r0, 0x18(r28)
/* 8012EF20 0012AD60 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 8012EF24 0012AD64 81 84 00 14 */ lwz r12, 0x14(r4)
/* 8012EF28 0012AD68 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012EF2C 0012AD6C 41 82 00 14 */ beq lbl_8012EF40
/* 8012EF30 0012AD70 38 60 00 05 */ li r3, 0x5
/* 8012EF34 0012AD74 38 80 00 07 */ li r4, 0x7
/* 8012EF38 0012AD78 7D 89 03 A6 */ mtctr r12
/* 8012EF3C 0012AD7C 4E 80 04 21 */ bctrl
.global lbl_8012EF40
lbl_8012EF40:
/* 8012EF40 0012AD80 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012EF44 0012AD84 40 82 00 0C */ bne lbl_8012EF50
/* 8012EF48 0012AD88 38 60 00 07 */ li r3, 0x7
/* 8012EF4C 0012AD8C 4B FF CA 65 */ bl PlaySeq__10homebuttonFi
.global lbl_8012EF50
lbl_8012EF50:
/* 8012EF50 0012AD90 38 00 00 08 */ li r0, 0x8
/* 8012EF54 0012AD94 90 1C 00 14 */ stw r0, 0x14(r28)
.global lbl_8012EF58
lbl_8012EF58:
/* 8012EF58 0012AD98 7F 83 E3 78 */ mr r3, r28
/* 8012EF5C 0012AD9C 48 00 27 E5 */ bl updateTrigPane__Q210homebutton10HomeButtonFv
/* 8012EF60 0012ADA0 48 00 0A E4 */ b lbl_8012FA44
.global lbl_8012EF64
lbl_8012EF64:
/* 8012EF64 0012ADA4 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012EF68 0012ADA8 54 00 10 3A */ slwi r0, r0, 2
/* 8012EF6C 0012ADAC 7C 7C 02 14 */ add r3, r28, r0
/* 8012EF70 0012ADB0 80 63 02 60 */ lwz r3, 0x260(r3)
/* 8012EF74 0012ADB4 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012EF78 0012ADB8 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012EF7C 0012ADBC 41 82 0A C8 */ beq lbl_8012FA44
/* 8012EF80 0012ADC0 38 00 00 07 */ li r0, 0x7
/* 8012EF84 0012ADC4 90 1C 00 18 */ stw r0, 0x18(r28)
/* 8012EF88 0012ADC8 83 3C 03 D4 */ lwz r25, 0x3d4(r28)
/* 8012EF8C 0012ADCC 7F 23 CB 78 */ mr r3, r25
/* 8012EF90 0012ADD0 4B FF 96 81 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012EF94 0012ADD4 38 00 00 01 */ li r0, 0x1
/* 8012EF98 0012ADD8 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012EF9C 0012ADDC 38 00 00 0C */ li r0, 0xc
/* 8012EFA0 0012ADE0 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EFA4 0012ADE4 48 00 0A A0 */ b lbl_8012FA44
.global lbl_8012EFA8
lbl_8012EFA8:
/* 8012EFA8 0012ADE8 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012EFAC 0012ADEC 54 00 10 3A */ slwi r0, r0, 2
/* 8012EFB0 0012ADF0 7C 7C 02 14 */ add r3, r28, r0
/* 8012EFB4 0012ADF4 80 63 03 B8 */ lwz r3, 0x3b8(r3)
/* 8012EFB8 0012ADF8 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012EFBC 0012ADFC 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012EFC0 0012AE00 41 82 0A 84 */ beq lbl_8012FA44
/* 8012EFC4 0012AE04 7F 83 E3 78 */ mr r3, r28
/* 8012EFC8 0012AE08 48 00 27 79 */ bl updateTrigPane__Q210homebutton10HomeButtonFv
/* 8012EFCC 0012AE0C 7F 83 E3 78 */ mr r3, r28
/* 8012EFD0 0012AE10 48 00 55 D1 */ bl reset_btn__Q210homebutton10HomeButtonFv
/* 8012EFD4 0012AE14 38 00 00 02 */ li r0, 0x2
/* 8012EFD8 0012AE18 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012EFDC 0012AE1C 48 00 0A 68 */ b lbl_8012FA44
.global lbl_8012EFE0
lbl_8012EFE0:
/* 8012EFE0 0012AE20 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012EFE4 0012AE24 54 00 10 3A */ slwi r0, r0, 2
/* 8012EFE8 0012AE28 7C 7C 02 14 */ add r3, r28, r0
/* 8012EFEC 0012AE2C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 8012EFF0 0012AE30 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012EFF4 0012AE34 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012EFF8 0012AE38 41 82 0A 4C */ beq lbl_8012FA44
/* 8012EFFC 0012AE3C 80 BC 00 B8 */ lwz r5, 0xb8(r28)
/* 8012F000 0012AE40 2C 05 00 00 */ cmpwi r5, 0x0
/* 8012F004 0012AE44 41 80 00 64 */ blt lbl_8012F068
/* 8012F008 0012AE48 80 1C 03 F8 */ lwz r0, 0x3f8(r28)
/* 8012F00C 0012AE4C 38 80 00 01 */ li r4, 0x1
/* 8012F010 0012AE50 38 60 00 13 */ li r3, 0x13
/* 8012F014 0012AE54 C8 3E 03 10 */ lfd f1, 0x310(r30)
/* 8012F018 0012AE58 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8012F01C 0012AE5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F020 0012AE60 2C 05 00 03 */ cmpwi r5, 0x3
/* 8012F024 0012AE64 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 8012F028 0012AE68 90 9C 03 FC */ stw r4, 0x3fc(r28)
/* 8012F02C 0012AE6C EC 00 08 28 */ fsubs f0, f0, f1
/* 8012F030 0012AE70 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012F034 0012AE74 D0 1C 07 3C */ stfs f0, 0x73c(r28)
/* 8012F038 0012AE78 41 82 00 5C */ beq lbl_8012F094
/* 8012F03C 0012AE7C 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012F040 0012AE80 81 83 00 14 */ lwz r12, 0x14(r3)
/* 8012F044 0012AE84 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012F048 0012AE88 41 82 00 4C */ beq lbl_8012F094
/* 8012F04C 0012AE8C FC 00 00 1E */ fctiwz f0, f0
/* 8012F050 0012AE90 38 60 00 03 */ li r3, 0x3
/* 8012F054 0012AE94 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8012F058 0012AE98 80 81 00 24 */ lwz r4, 0x24(r1)
/* 8012F05C 0012AE9C 7D 89 03 A6 */ mtctr r12
/* 8012F060 0012AEA0 4E 80 04 21 */ bctrl
/* 8012F064 0012AEA4 48 00 00 30 */ b lbl_8012F094
.global lbl_8012F068
lbl_8012F068:
/* 8012F068 0012AEA8 7F 83 E3 78 */ mr r3, r28
/* 8012F06C 0012AEAC 48 00 26 D5 */ bl updateTrigPane__Q210homebutton10HomeButtonFv
/* 8012F070 0012AEB0 38 00 00 0D */ li r0, 0xd
/* 8012F074 0012AEB4 90 1C 00 18 */ stw r0, 0x18(r28)
/* 8012F078 0012AEB8 83 3C 03 EC */ lwz r25, 0x3ec(r28)
/* 8012F07C 0012AEBC 7F 23 CB 78 */ mr r3, r25
/* 8012F080 0012AEC0 4B FF 95 91 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F084 0012AEC4 38 00 00 01 */ li r0, 0x1
/* 8012F088 0012AEC8 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012F08C 0012AECC 38 00 00 08 */ li r0, 0x8
/* 8012F090 0012AED0 90 1C 00 14 */ stw r0, 0x14(r28)
.global lbl_8012F094
lbl_8012F094:
/* 8012F094 0012AED4 3B 20 00 00 */ li r25, 0x0
.global lbl_8012F098
lbl_8012F098:
/* 8012F098 0012AED8 80 7C 01 F0 */ lwz r3, 0x1f0(r28)
/* 8012F09C 0012AEDC 7F 24 CB 78 */ mr r4, r25
/* 8012F0A0 0012AEE0 C0 3E 02 FC */ lfs f1, 0x2fc(r30)
/* 8012F0A4 0012AEE4 38 A0 00 00 */ li r5, 0x0
/* 8012F0A8 0012AEE8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012F0AC 0012AEEC 38 C0 00 00 */ li r6, 0x0
/* 8012F0B0 0012AEF0 FC 40 08 90 */ fmr f2, f1
/* 8012F0B4 0012AEF4 38 E0 00 00 */ li r7, 0x0
/* 8012F0B8 0012AEF8 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8012F0BC 0012AEFC 39 00 00 00 */ li r8, 0x0
/* 8012F0C0 0012AF00 7D 89 03 A6 */ mtctr r12
/* 8012F0C4 0012AF04 4E 80 04 21 */ bctrl
/* 8012F0C8 0012AF08 3B 39 00 01 */ addi r25, r25, 0x1
/* 8012F0CC 0012AF0C 2C 19 00 08 */ cmpwi r25, 0x8
/* 8012F0D0 0012AF10 41 80 FF C8 */ blt lbl_8012F098
/* 8012F0D4 0012AF14 48 00 09 70 */ b lbl_8012FA44
.global lbl_8012F0D8
lbl_8012F0D8:
/* 8012F0D8 0012AF18 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012F0DC 0012AF1C 54 00 10 3A */ slwi r0, r0, 2
/* 8012F0E0 0012AF20 7C 7C 02 14 */ add r3, r28, r0
/* 8012F0E4 0012AF24 80 63 03 B8 */ lwz r3, 0x3b8(r3)
/* 8012F0E8 0012AF28 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012F0EC 0012AF2C 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F0F0 0012AF30 41 82 09 54 */ beq lbl_8012FA44
/* 8012F0F4 0012AF34 80 DC 01 D8 */ lwz r6, 0x1d8(r28)
/* 8012F0F8 0012AF38 38 7F 09 E4 */ addi r3, r31, 0x9e4
/* 8012F0FC 0012AF3C 80 83 00 08 */ lwz r4, 0x8(r3)
/* 8012F100 0012AF40 38 A0 00 01 */ li r5, 0x1
/* 8012F104 0012AF44 80 66 00 10 */ lwz r3, 0x10(r6)
/* 8012F108 0012AF48 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012F10C 0012AF4C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012F110 0012AF50 7D 89 03 A6 */ mtctr r12
/* 8012F114 0012AF54 4E 80 04 21 */ bctrl
/* 8012F118 0012AF58 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012F11C 0012AF5C 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012F120 0012AF60 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012F124 0012AF64 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012F128 0012AF68 80 03 00 18 */ lwz r0, 0x18(r3)
/* 8012F12C 0012AF6C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F130 0012AF70 41 82 00 6C */ beq lbl_8012F19C
/* 8012F134 0012AF74 38 00 00 25 */ li r0, 0x25
/* 8012F138 0012AF78 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012F13C 0012AF7C 38 60 00 00 */ li r3, 0x0
/* 8012F140 0012AF80 7C 09 03 A6 */ mtctr r0
/* 8012F144 0012AF84 60 00 00 00 */ nop
.global lbl_8012F148
lbl_8012F148:
/* 8012F148 0012AF88 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012F14C 0012AF8C 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F150 0012AF90 40 82 00 14 */ bne lbl_8012F164
/* 8012F154 0012AF94 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012F158 0012AF98 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F15C 0012AF9C 40 82 00 08 */ bne lbl_8012F164
/* 8012F160 0012AFA0 48 00 00 34 */ b lbl_8012F194
.global lbl_8012F164
lbl_8012F164:
/* 8012F164 0012AFA4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012F168 0012AFA8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F16C 0012AFAC 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F170 0012AFB0 40 82 00 14 */ bne lbl_8012F184
/* 8012F174 0012AFB4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012F178 0012AFB8 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F17C 0012AFBC 40 82 00 08 */ bne lbl_8012F184
/* 8012F180 0012AFC0 48 00 00 14 */ b lbl_8012F194
.global lbl_8012F184
lbl_8012F184:
/* 8012F184 0012AFC4 38 84 00 10 */ addi r4, r4, 0x10
/* 8012F188 0012AFC8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F18C 0012AFCC 42 00 FF BC */ bdnz lbl_8012F148
/* 8012F190 0012AFD0 38 60 FF FF */ li r3, -0x1
.global lbl_8012F194
lbl_8012F194:
/* 8012F194 0012AFD4 90 7C 00 18 */ stw r3, 0x18(r28)
/* 8012F198 0012AFD8 48 00 00 68 */ b lbl_8012F200
.global lbl_8012F19C
lbl_8012F19C:
/* 8012F19C 0012AFDC 38 00 00 25 */ li r0, 0x25
/* 8012F1A0 0012AFE0 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012F1A4 0012AFE4 38 60 00 00 */ li r3, 0x0
/* 8012F1A8 0012AFE8 7C 09 03 A6 */ mtctr r0
/* 8012F1AC 0012AFEC 60 00 00 00 */ nop
.global lbl_8012F1B0
lbl_8012F1B0:
/* 8012F1B0 0012AFF0 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012F1B4 0012AFF4 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F1B8 0012AFF8 40 82 00 14 */ bne lbl_8012F1CC
/* 8012F1BC 0012AFFC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012F1C0 0012B000 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F1C4 0012B004 40 82 00 08 */ bne lbl_8012F1CC
/* 8012F1C8 0012B008 48 00 00 34 */ b lbl_8012F1FC
.global lbl_8012F1CC
lbl_8012F1CC:
/* 8012F1CC 0012B00C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012F1D0 0012B010 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F1D4 0012B014 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F1D8 0012B018 40 82 00 14 */ bne lbl_8012F1EC
/* 8012F1DC 0012B01C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012F1E0 0012B020 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F1E4 0012B024 40 82 00 08 */ bne lbl_8012F1EC
/* 8012F1E8 0012B028 48 00 00 14 */ b lbl_8012F1FC
.global lbl_8012F1EC
lbl_8012F1EC:
/* 8012F1EC 0012B02C 38 84 00 10 */ addi r4, r4, 0x10
/* 8012F1F0 0012B030 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F1F4 0012B034 42 00 FF BC */ bdnz lbl_8012F1B0
/* 8012F1F8 0012B038 38 60 FF FF */ li r3, -0x1
.global lbl_8012F1FC
lbl_8012F1FC:
/* 8012F1FC 0012B03C 90 7C 00 18 */ stw r3, 0x18(r28)
.global lbl_8012F200
lbl_8012F200:
/* 8012F200 0012B040 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012F204 0012B044 54 00 10 3A */ slwi r0, r0, 2
/* 8012F208 0012B048 7C 7C 02 14 */ add r3, r28, r0
/* 8012F20C 0012B04C 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012F210 0012B050 7F 23 CB 78 */ mr r3, r25
/* 8012F214 0012B054 4B FF 93 FD */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F218 0012B058 38 00 00 01 */ li r0, 0x1
/* 8012F21C 0012B05C 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012F220 0012B060 38 60 00 10 */ li r3, 0x10
/* 8012F224 0012B064 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012F228 0012B068 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012F22C 0012B06C 54 00 10 3A */ slwi r0, r0, 2
/* 8012F230 0012B070 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012F234 0012B074 7C 9C 02 14 */ add r4, r28, r0
/* 8012F238 0012B078 80 84 02 90 */ lwz r4, 0x290(r4)
/* 8012F23C 0012B07C C0 04 00 04 */ lfs f0, 0x4(r4)
/* 8012F240 0012B080 D0 1C 07 3C */ stfs f0, 0x73c(r28)
/* 8012F244 0012B084 81 83 00 14 */ lwz r12, 0x14(r3)
/* 8012F248 0012B088 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012F24C 0012B08C 41 82 07 F8 */ beq lbl_8012FA44
/* 8012F250 0012B090 FC 00 00 1E */ fctiwz f0, f0
/* 8012F254 0012B094 38 60 00 02 */ li r3, 0x2
/* 8012F258 0012B098 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8012F25C 0012B09C 80 81 00 24 */ lwz r4, 0x24(r1)
/* 8012F260 0012B0A0 7D 89 03 A6 */ mtctr r12
/* 8012F264 0012B0A4 4E 80 04 21 */ bctrl
/* 8012F268 0012B0A8 48 00 07 DC */ b lbl_8012FA44
.global lbl_8012F26C
lbl_8012F26C:
/* 8012F26C 0012B0AC 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012F270 0012B0B0 54 00 10 3A */ slwi r0, r0, 2
/* 8012F274 0012B0B4 7C 7C 02 14 */ add r3, r28, r0
/* 8012F278 0012B0B8 80 63 02 60 */ lwz r3, 0x260(r3)
/* 8012F27C 0012B0BC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012F280 0012B0C0 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F284 0012B0C4 41 82 07 C0 */ beq lbl_8012FA44
/* 8012F288 0012B0C8 80 7C 03 F8 */ lwz r3, 0x3f8(r28)
/* 8012F28C 0012B0CC 38 A0 00 01 */ li r5, 0x1
/* 8012F290 0012B0D0 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 8012F294 0012B0D4 38 80 00 13 */ li r4, 0x13
/* 8012F298 0012B0D8 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8012F29C 0012B0DC 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8012F2A0 0012B0E0 C8 3E 03 10 */ lfd f1, 0x310(r30)
/* 8012F2A4 0012B0E4 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F2A8 0012B0E8 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 8012F2AC 0012B0EC 90 BC 03 FC */ stw r5, 0x3fc(r28)
/* 8012F2B0 0012B0F0 EC 00 08 28 */ fsubs f0, f0, f1
/* 8012F2B4 0012B0F4 98 BC 00 9A */ stb r5, 0x9a(r28)
/* 8012F2B8 0012B0F8 90 9C 00 14 */ stw r4, 0x14(r28)
/* 8012F2BC 0012B0FC D0 1C 07 3C */ stfs f0, 0x73c(r28)
/* 8012F2C0 0012B100 41 82 07 84 */ beq lbl_8012FA44
/* 8012F2C4 0012B104 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012F2C8 0012B108 81 83 00 14 */ lwz r12, 0x14(r3)
/* 8012F2CC 0012B10C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012F2D0 0012B110 41 82 07 74 */ beq lbl_8012FA44
/* 8012F2D4 0012B114 FC 00 00 1E */ fctiwz f0, f0
/* 8012F2D8 0012B118 38 60 00 03 */ li r3, 0x3
/* 8012F2DC 0012B11C D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8012F2E0 0012B120 80 81 00 24 */ lwz r4, 0x24(r1)
/* 8012F2E4 0012B124 7D 89 03 A6 */ mtctr r12
/* 8012F2E8 0012B128 4E 80 04 21 */ bctrl
/* 8012F2EC 0012B12C 48 00 07 58 */ b lbl_8012FA44
.global lbl_8012F2F0
lbl_8012F2F0:
/* 8012F2F0 0012B130 80 1C 00 00 */ lwz r0, 0x0(r28)
/* 8012F2F4 0012B134 38 60 00 00 */ li r3, 0x0
/* 8012F2F8 0012B138 B0 7C 05 CA */ sth r3, 0x5ca(r28)
/* 8012F2FC 0012B13C 2C 00 00 02 */ cmpwi r0, 0x2
/* 8012F300 0012B140 41 81 00 14 */ bgt lbl_8012F314
/* 8012F304 0012B144 80 1C 00 18 */ lwz r0, 0x18(r28)
/* 8012F308 0012B148 54 00 10 3A */ slwi r0, r0, 2
/* 8012F30C 0012B14C 7C 7C 02 14 */ add r3, r28, r0
/* 8012F310 0012B150 83 E3 02 90 */ lwz r31, 0x290(r3)
.global lbl_8012F314
lbl_8012F314:
/* 8012F314 0012B154 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8012F318 0012B158 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F31C 0012B15C 41 82 00 38 */ beq lbl_8012F354
/* 8012F320 0012B160 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 8012F324 0012B164 38 60 00 11 */ li r3, 0x11
/* 8012F328 0012B168 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012F32C 0012B16C 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F330 0012B170 41 82 07 14 */ beq lbl_8012FA44
/* 8012F334 0012B174 88 1C 00 97 */ lbz r0, 0x97(r28)
/* 8012F338 0012B178 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F33C 0012B17C 41 82 00 0C */ beq lbl_8012F348
/* 8012F340 0012B180 38 60 00 00 */ li r3, 0x0
/* 8012F344 0012B184 4B F1 53 7D */ bl AXSetAuxAReturnVolume
.global lbl_8012F348
lbl_8012F348:
/* 8012F348 0012B188 C0 3E 02 E4 */ lfs f1, 0x2e4(r30)
/* 8012F34C 0012B18C 4B FF CC 05 */ bl SetVolumeAllSeq__10homebuttonFf
/* 8012F350 0012B190 48 00 06 F4 */ b lbl_8012FA44
.global lbl_8012F354
lbl_8012F354:
/* 8012F354 0012B194 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8012F358 0012B198 C0 3F 00 04 */ lfs f1, 0x4(r31)
/* 8012F35C 0012B19C 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 8012F360 0012B1A0 EC 21 00 28 */ fsubs f1, f1, f0
/* 8012F364 0012B1A4 C0 1C 07 3C */ lfs f0, 0x73c(r28)
/* 8012F368 0012B1A8 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F36C 0012B1AC EF C1 00 24 */ fdivs f30, f1, f0
/* 8012F370 0012B1B0 41 82 06 D4 */ beq lbl_8012FA44
/* 8012F374 0012B1B4 88 1C 00 97 */ lbz r0, 0x97(r28)
/* 8012F378 0012B1B8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F37C 0012B1BC 41 82 00 20 */ beq lbl_8012F39C
/* 8012F380 0012B1C0 C0 1E 03 28 */ lfs f0, 0x328(r30)
/* 8012F384 0012B1C4 EC 00 07 B2 */ fmuls f0, f0, f30
/* 8012F388 0012B1C8 FC 00 00 1E */ fctiwz f0, f0
/* 8012F38C 0012B1CC D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8012F390 0012B1D0 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8012F394 0012B1D4 54 63 04 3E */ clrlwi r3, r3, 16
/* 8012F398 0012B1D8 4B F1 53 29 */ bl AXSetAuxAReturnVolume
.global lbl_8012F39C
lbl_8012F39C:
/* 8012F39C 0012B1DC FC 20 F0 90 */ fmr f1, f30
/* 8012F3A0 0012B1E0 4B FF CB B1 */ bl SetVolumeAllSeq__10homebuttonFf
/* 8012F3A4 0012B1E4 48 00 06 A0 */ b lbl_8012FA44
.global lbl_8012F3A8
lbl_8012F3A8:
/* 8012F3A8 0012B1E8 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 8012F3AC 0012B1EC 38 60 00 12 */ li r3, 0x12
/* 8012F3B0 0012B1F0 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012F3B4 0012B1F4 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F3B8 0012B1F8 41 82 00 54 */ beq lbl_8012F40C
/* 8012F3BC 0012B1FC 4B FF C9 C5 */ bl StopAllSeq__10homebuttonFv
/* 8012F3C0 0012B200 88 1C 00 97 */ lbz r0, 0x97(r28)
/* 8012F3C4 0012B204 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F3C8 0012B208 41 82 00 3C */ beq lbl_8012F404
/* 8012F3CC 0012B20C 38 7C 05 D4 */ addi r3, r28, 0x5d4
/* 8012F3D0 0012B210 4B F1 6E 01 */ bl AXFXReverbHiShutdown
/* 8012F3D4 0012B214 80 7C 07 34 */ lwz r3, 0x734(r28)
/* 8012F3D8 0012B218 80 9C 07 38 */ lwz r4, 0x738(r28)
/* 8012F3DC 0012B21C 4B F1 46 85 */ bl AXRegisterAuxACallback
/* 8012F3E0 0012B220 80 7C 05 CC */ lwz r3, 0x5cc(r28)
/* 8012F3E4 0012B224 80 9C 05 D0 */ lwz r4, 0x5d0(r28)
/* 8012F3E8 0012B228 4B F1 7C 79 */ bl AXFXSetHooks
/* 8012F3EC 0012B22C A0 7C 05 C4 */ lhz r3, 0x5c4(r28)
/* 8012F3F0 0012B230 4B F1 52 D1 */ bl AXSetAuxAReturnVolume
/* 8012F3F4 0012B234 A0 7C 05 C6 */ lhz r3, 0x5c6(r28)
/* 8012F3F8 0012B238 4B F1 52 D9 */ bl AXSetAuxBReturnVolume
/* 8012F3FC 0012B23C A0 7C 05 C8 */ lhz r3, 0x5c8(r28)
/* 8012F400 0012B240 4B F1 52 E1 */ bl AXSetAuxCReturnVolume
.global lbl_8012F404
lbl_8012F404:
/* 8012F404 0012B244 38 00 00 00 */ li r0, 0x0
/* 8012F408 0012B248 98 1C 00 97 */ stb r0, 0x97(r28)
.global lbl_8012F40C
lbl_8012F40C:
/* 8012F40C 0012B24C 80 1C 00 84 */ lwz r0, 0x84(r28)
/* 8012F410 0012B250 C8 5E 03 10 */ lfd f2, 0x310(r30)
/* 8012F414 0012B254 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8012F418 0012B258 90 01 00 14 */ stw r0, 0x14(r1)
/* 8012F41C 0012B25C C0 1E 03 2C */ lfs f0, 0x32c(r30)
/* 8012F420 0012B260 C8 21 00 10 */ lfd f1, 0x10(r1)
/* 8012F424 0012B264 EC 21 10 28 */ fsubs f1, f1, f2
/* 8012F428 0012B268 EC 00 00 72 */ fmuls f0, f0, f1
/* 8012F42C 0012B26C FC 00 00 1E */ fctiwz f0, f0
/* 8012F430 0012B270 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8012F434 0012B274 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8012F438 0012B278 54 63 06 3E */ clrlwi r3, r3, 24
/* 8012F43C 0012B27C 4B F2 AB B5 */ bl WPADSetSpeakerVolume
/* 8012F440 0012B280 38 60 00 00 */ li r3, 0x0
/* 8012F444 0012B284 4B F2 90 4D */ bl WPADSaveConfig
/* 8012F448 0012B288 80 7C 02 5C */ lwz r3, 0x25c(r28)
/* 8012F44C 0012B28C 4B FF BA 65 */ bl ClearPcm__Q210homebutton9RemoteSpkFv
/* 8012F450 0012B290 80 7C 02 5C */ lwz r3, 0x25c(r28)
/* 8012F454 0012B294 4B FF BC DD */ bl Stop__Q210homebutton9RemoteSpkFv
/* 8012F458 0012B298 7F 99 E3 78 */ mr r25, r28
/* 8012F45C 0012B29C 3B 40 00 00 */ li r26, 0x0
.global lbl_8012F460
lbl_8012F460:
/* 8012F460 0012B2A0 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012F464 0012B2A4 4B FF B6 7D */ bl stopMotor__Q210homebutton10ControllerFv
/* 8012F468 0012B2A8 80 79 02 4C */ lwz r3, 0x24c(r25)
/* 8012F46C 0012B2AC 4B FF B0 35 */ bl clearCallback__Q210homebutton10ControllerFv
/* 8012F470 0012B2B0 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012F474 0012B2B4 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012F478 0012B2B8 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8012F47C 0012B2BC 41 80 FF E4 */ blt lbl_8012F460
/* 8012F480 0012B2C0 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 8012F484 0012B2C4 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F488 0012B2C8 41 82 00 24 */ beq lbl_8012F4AC
/* 8012F48C 0012B2CC 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012F490 0012B2D0 81 83 00 14 */ lwz r12, 0x14(r3)
/* 8012F494 0012B2D4 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8012F498 0012B2D8 41 82 00 14 */ beq lbl_8012F4AC
/* 8012F49C 0012B2DC 38 60 00 04 */ li r3, 0x4
/* 8012F4A0 0012B2E0 38 80 00 00 */ li r4, 0x0
/* 8012F4A4 0012B2E4 7D 89 03 A6 */ mtctr r12
/* 8012F4A8 0012B2E8 4E 80 04 21 */ bctrl
.global lbl_8012F4AC
lbl_8012F4AC:
/* 8012F4AC 0012B2EC 38 60 00 00 */ li r3, 0x0
/* 8012F4B0 0012B2F0 39 00 00 00 */ li r8, 0x0
/* 8012F4B4 0012B2F4 38 80 00 25 */ li r4, 0x25
/* 8012F4B8 0012B2F8 38 00 00 25 */ li r0, 0x25
/* 8012F4BC 0012B2FC 38 A0 00 25 */ li r5, 0x25
.global lbl_8012F4C0
lbl_8012F4C0:
/* 8012F4C0 0012B300 39 5E 00 68 */ addi r10, r30, 0x68
/* 8012F4C4 0012B304 38 E3 00 1F */ addi r7, r3, 0x1f
/* 8012F4C8 0012B308 39 20 00 00 */ li r9, 0x0
/* 8012F4CC 0012B30C 7C A9 03 A6 */ mtctr r5
.global lbl_8012F4D0
lbl_8012F4D0:
/* 8012F4D0 0012B310 80 CA 00 00 */ lwz r6, 0x0(r10)
/* 8012F4D4 0012B314 7C 07 30 00 */ cmpw r7, r6
/* 8012F4D8 0012B318 40 82 00 14 */ bne lbl_8012F4EC
/* 8012F4DC 0012B31C 80 CA 00 04 */ lwz r6, 0x4(r10)
/* 8012F4E0 0012B320 2C 06 00 11 */ cmpwi r6, 0x11
/* 8012F4E4 0012B324 40 82 00 08 */ bne lbl_8012F4EC
/* 8012F4E8 0012B328 48 00 00 34 */ b lbl_8012F51C
.global lbl_8012F4EC
lbl_8012F4EC:
/* 8012F4EC 0012B32C 80 CA 00 08 */ lwz r6, 0x8(r10)
/* 8012F4F0 0012B330 39 29 00 01 */ addi r9, r9, 0x1
/* 8012F4F4 0012B334 7C 07 30 00 */ cmpw r7, r6
/* 8012F4F8 0012B338 40 82 00 14 */ bne lbl_8012F50C
/* 8012F4FC 0012B33C 80 CA 00 0C */ lwz r6, 0xc(r10)
/* 8012F500 0012B340 2C 06 00 11 */ cmpwi r6, 0x11
/* 8012F504 0012B344 40 82 00 08 */ bne lbl_8012F50C
/* 8012F508 0012B348 48 00 00 14 */ b lbl_8012F51C
.global lbl_8012F50C
lbl_8012F50C:
/* 8012F50C 0012B34C 39 4A 00 10 */ addi r10, r10, 0x10
/* 8012F510 0012B350 39 29 00 01 */ addi r9, r9, 0x1
/* 8012F514 0012B354 42 00 FF BC */ bdnz lbl_8012F4D0
/* 8012F518 0012B358 39 20 FF FF */ li r9, -0x1
.global lbl_8012F51C
lbl_8012F51C:
/* 8012F51C 0012B35C 55 26 10 3A */ slwi r6, r9, 2
/* 8012F520 0012B360 39 5E 00 68 */ addi r10, r30, 0x68
/* 8012F524 0012B364 7C DC 32 14 */ add r6, r28, r6
/* 8012F528 0012B368 38 E3 00 1F */ addi r7, r3, 0x1f
/* 8012F52C 0012B36C 80 C6 02 90 */ lwz r6, 0x290(r6)
/* 8012F530 0012B370 39 20 00 00 */ li r9, 0x0
/* 8012F534 0012B374 91 06 00 14 */ stw r8, 0x14(r6)
/* 8012F538 0012B378 7C 89 03 A6 */ mtctr r4
/* 8012F53C 0012B37C 60 00 00 00 */ nop
.global lbl_8012F540
lbl_8012F540:
/* 8012F540 0012B380 80 CA 00 00 */ lwz r6, 0x0(r10)
/* 8012F544 0012B384 7C 07 30 00 */ cmpw r7, r6
/* 8012F548 0012B388 40 82 00 14 */ bne lbl_8012F55C
/* 8012F54C 0012B38C 80 CA 00 04 */ lwz r6, 0x4(r10)
/* 8012F550 0012B390 2C 06 00 12 */ cmpwi r6, 0x12
/* 8012F554 0012B394 40 82 00 08 */ bne lbl_8012F55C
/* 8012F558 0012B398 48 00 00 34 */ b lbl_8012F58C
.global lbl_8012F55C
lbl_8012F55C:
/* 8012F55C 0012B39C 80 CA 00 08 */ lwz r6, 0x8(r10)
/* 8012F560 0012B3A0 39 29 00 01 */ addi r9, r9, 0x1
/* 8012F564 0012B3A4 7C 07 30 00 */ cmpw r7, r6
/* 8012F568 0012B3A8 40 82 00 14 */ bne lbl_8012F57C
/* 8012F56C 0012B3AC 80 CA 00 0C */ lwz r6, 0xc(r10)
/* 8012F570 0012B3B0 2C 06 00 12 */ cmpwi r6, 0x12
/* 8012F574 0012B3B4 40 82 00 08 */ bne lbl_8012F57C
/* 8012F578 0012B3B8 48 00 00 14 */ b lbl_8012F58C
.global lbl_8012F57C
lbl_8012F57C:
/* 8012F57C 0012B3BC 39 4A 00 10 */ addi r10, r10, 0x10
/* 8012F580 0012B3C0 39 29 00 01 */ addi r9, r9, 0x1
/* 8012F584 0012B3C4 42 00 FF BC */ bdnz lbl_8012F540
/* 8012F588 0012B3C8 39 20 FF FF */ li r9, -0x1
.global lbl_8012F58C
lbl_8012F58C:
/* 8012F58C 0012B3CC 55 26 10 3A */ slwi r6, r9, 2
/* 8012F590 0012B3D0 39 5E 00 68 */ addi r10, r30, 0x68
/* 8012F594 0012B3D4 7C DC 32 14 */ add r6, r28, r6
/* 8012F598 0012B3D8 38 E3 00 1F */ addi r7, r3, 0x1f
/* 8012F59C 0012B3DC 80 C6 02 90 */ lwz r6, 0x290(r6)
/* 8012F5A0 0012B3E0 39 20 00 00 */ li r9, 0x0
/* 8012F5A4 0012B3E4 91 06 00 14 */ stw r8, 0x14(r6)
/* 8012F5A8 0012B3E8 7C 09 03 A6 */ mtctr r0
/* 8012F5AC 0012B3EC 60 00 00 00 */ nop
.global lbl_8012F5B0
lbl_8012F5B0:
/* 8012F5B0 0012B3F0 80 CA 00 00 */ lwz r6, 0x0(r10)
/* 8012F5B4 0012B3F4 7C 07 30 00 */ cmpw r7, r6
/* 8012F5B8 0012B3F8 40 82 00 14 */ bne lbl_8012F5CC
/* 8012F5BC 0012B3FC 80 CA 00 04 */ lwz r6, 0x4(r10)
/* 8012F5C0 0012B400 2C 06 00 0F */ cmpwi r6, 0xf
/* 8012F5C4 0012B404 40 82 00 08 */ bne lbl_8012F5CC
/* 8012F5C8 0012B408 48 00 00 34 */ b lbl_8012F5FC
.global lbl_8012F5CC
lbl_8012F5CC:
/* 8012F5CC 0012B40C 80 CA 00 08 */ lwz r6, 0x8(r10)
/* 8012F5D0 0012B410 39 29 00 01 */ addi r9, r9, 0x1
/* 8012F5D4 0012B414 7C 07 30 00 */ cmpw r7, r6
/* 8012F5D8 0012B418 40 82 00 14 */ bne lbl_8012F5EC
/* 8012F5DC 0012B41C 80 CA 00 0C */ lwz r6, 0xc(r10)
/* 8012F5E0 0012B420 2C 06 00 0F */ cmpwi r6, 0xf
/* 8012F5E4 0012B424 40 82 00 08 */ bne lbl_8012F5EC
/* 8012F5E8 0012B428 48 00 00 14 */ b lbl_8012F5FC
.global lbl_8012F5EC
lbl_8012F5EC:
/* 8012F5EC 0012B42C 39 4A 00 10 */ addi r10, r10, 0x10
/* 8012F5F0 0012B430 39 29 00 01 */ addi r9, r9, 0x1
/* 8012F5F4 0012B434 42 00 FF BC */ bdnz lbl_8012F5B0
/* 8012F5F8 0012B438 39 20 FF FF */ li r9, -0x1
.global lbl_8012F5FC
lbl_8012F5FC:
/* 8012F5FC 0012B43C 55 26 10 3A */ slwi r6, r9, 2
/* 8012F600 0012B440 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F604 0012B444 7C DC 32 14 */ add r6, r28, r6
/* 8012F608 0012B448 80 C6 02 90 */ lwz r6, 0x290(r6)
/* 8012F60C 0012B44C 2C 03 00 04 */ cmpwi r3, 0x4
/* 8012F610 0012B450 91 06 00 14 */ stw r8, 0x14(r6)
/* 8012F614 0012B454 41 80 FE AC */ blt lbl_8012F4C0
/* 8012F618 0012B458 80 7C 01 AC */ lwz r3, 0x1ac(r28)
/* 8012F61C 0012B45C 4B F2 6E 65 */ bl WPADSetSimpleSyncCallback
/* 8012F620 0012B460 38 00 00 00 */ li r0, 0x0
/* 8012F624 0012B464 98 1C 00 94 */ stb r0, 0x94(r28)
/* 8012F628 0012B468 48 00 04 1C */ b lbl_8012FA44
.global lbl_8012F62C
lbl_8012F62C:
/* 8012F62C 0012B46C 38 00 00 02 */ li r0, 0x2
/* 8012F630 0012B470 90 1C 00 14 */ stw r0, 0x14(r28)
/* 8012F634 0012B474 48 00 04 10 */ b lbl_8012FA44
.global lbl_8012F638
lbl_8012F638:
/* 8012F638 0012B478 88 1C 00 95 */ lbz r0, 0x95(r28)
/* 8012F63C 0012B47C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F640 0012B480 41 82 00 18 */ beq lbl_8012F658
/* 8012F644 0012B484 7F 83 E3 78 */ mr r3, r28
/* 8012F648 0012B488 7F A4 EB 78 */ mr r4, r29
/* 8012F64C 0012B48C 4B FF E7 C5 */ bl init_battery__Q210homebutton10HomeButtonFPC17HBMControllerData
/* 8012F650 0012B490 38 00 00 00 */ li r0, 0x0
/* 8012F654 0012B494 98 1C 00 95 */ stb r0, 0x95(r28)
.global lbl_8012F658
lbl_8012F658:
/* 8012F658 0012B498 88 1C 00 96 */ lbz r0, 0x96(r28)
/* 8012F65C 0012B49C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F660 0012B4A0 41 82 02 18 */ beq lbl_8012F878
/* 8012F664 0012B4A4 7F 83 E3 78 */ mr r3, r28
/* 8012F668 0012B4A8 4B FF E4 79 */ bl init_volume__Q210homebutton10HomeButtonFv
/* 8012F66C 0012B4AC 4B F2 8B F5 */ bl WPADIsMotorEnabled
/* 8012F670 0012B4B0 7C 03 00 D0 */ neg r0, r3
/* 8012F674 0012B4B4 7C 00 1B 78 */ or r0, r0, r3
/* 8012F678 0012B4B8 54 00 0F FF */ srwi. r0, r0, 31
/* 8012F67C 0012B4BC 98 1C 00 8C */ stb r0, 0x8c(r28)
/* 8012F680 0012B4C0 41 82 00 FC */ beq lbl_8012F77C
/* 8012F684 0012B4C4 38 00 00 25 */ li r0, 0x25
/* 8012F688 0012B4C8 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012F68C 0012B4CC 38 60 00 00 */ li r3, 0x0
/* 8012F690 0012B4D0 7C 09 03 A6 */ mtctr r0
/* 8012F694 0012B4D4 60 00 00 00 */ nop
.global lbl_8012F698
lbl_8012F698:
/* 8012F698 0012B4D8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012F69C 0012B4DC 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012F6A0 0012B4E0 40 82 00 14 */ bne lbl_8012F6B4
/* 8012F6A4 0012B4E4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012F6A8 0012B4E8 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012F6AC 0012B4EC 40 82 00 08 */ bne lbl_8012F6B4
/* 8012F6B0 0012B4F0 48 00 00 34 */ b lbl_8012F6E4
.global lbl_8012F6B4
lbl_8012F6B4:
/* 8012F6B4 0012B4F4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012F6B8 0012B4F8 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F6BC 0012B4FC 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012F6C0 0012B500 40 82 00 14 */ bne lbl_8012F6D4
/* 8012F6C4 0012B504 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012F6C8 0012B508 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012F6CC 0012B50C 40 82 00 08 */ bne lbl_8012F6D4
/* 8012F6D0 0012B510 48 00 00 14 */ b lbl_8012F6E4
.global lbl_8012F6D4
lbl_8012F6D4:
/* 8012F6D4 0012B514 38 84 00 10 */ addi r4, r4, 0x10
/* 8012F6D8 0012B518 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F6DC 0012B51C 42 00 FF BC */ bdnz lbl_8012F698
/* 8012F6E0 0012B520 38 60 FF FF */ li r3, -0x1
.global lbl_8012F6E4
lbl_8012F6E4:
/* 8012F6E4 0012B524 54 60 10 3A */ slwi r0, r3, 2
/* 8012F6E8 0012B528 7C 7C 02 14 */ add r3, r28, r0
/* 8012F6EC 0012B52C 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012F6F0 0012B530 7F 23 CB 78 */ mr r3, r25
/* 8012F6F4 0012B534 4B FF 8F 1D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F6F8 0012B538 38 00 00 25 */ li r0, 0x25
/* 8012F6FC 0012B53C 38 60 00 01 */ li r3, 0x1
/* 8012F700 0012B540 90 79 00 14 */ stw r3, 0x14(r25)
/* 8012F704 0012B544 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012F708 0012B548 38 60 00 00 */ li r3, 0x0
/* 8012F70C 0012B54C 7C 09 03 A6 */ mtctr r0
.global lbl_8012F710
lbl_8012F710:
/* 8012F710 0012B550 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012F714 0012B554 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012F718 0012B558 40 82 00 14 */ bne lbl_8012F72C
/* 8012F71C 0012B55C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012F720 0012B560 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012F724 0012B564 40 82 00 08 */ bne lbl_8012F72C
/* 8012F728 0012B568 48 00 00 34 */ b lbl_8012F75C
.global lbl_8012F72C
lbl_8012F72C:
/* 8012F72C 0012B56C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012F730 0012B570 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F734 0012B574 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012F738 0012B578 40 82 00 14 */ bne lbl_8012F74C
/* 8012F73C 0012B57C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012F740 0012B580 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012F744 0012B584 40 82 00 08 */ bne lbl_8012F74C
/* 8012F748 0012B588 48 00 00 14 */ b lbl_8012F75C
.global lbl_8012F74C
lbl_8012F74C:
/* 8012F74C 0012B58C 38 84 00 10 */ addi r4, r4, 0x10
/* 8012F750 0012B590 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F754 0012B594 42 00 FF BC */ bdnz lbl_8012F710
/* 8012F758 0012B598 38 60 FF FF */ li r3, -0x1
.global lbl_8012F75C
lbl_8012F75C:
/* 8012F75C 0012B59C 54 60 10 3A */ slwi r0, r3, 2
/* 8012F760 0012B5A0 7C 7C 02 14 */ add r3, r28, r0
/* 8012F764 0012B5A4 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012F768 0012B5A8 7F 23 CB 78 */ mr r3, r25
/* 8012F76C 0012B5AC 4B FF 8E A5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F770 0012B5B0 38 00 00 01 */ li r0, 0x1
/* 8012F774 0012B5B4 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012F778 0012B5B8 48 00 00 F8 */ b lbl_8012F870
.global lbl_8012F77C
lbl_8012F77C:
/* 8012F77C 0012B5BC 38 00 00 25 */ li r0, 0x25
/* 8012F780 0012B5C0 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012F784 0012B5C4 38 60 00 00 */ li r3, 0x0
/* 8012F788 0012B5C8 7C 09 03 A6 */ mtctr r0
/* 8012F78C 0012B5CC 60 00 00 00 */ nop
.global lbl_8012F790
lbl_8012F790:
/* 8012F790 0012B5D0 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012F794 0012B5D4 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012F798 0012B5D8 40 82 00 14 */ bne lbl_8012F7AC
/* 8012F79C 0012B5DC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012F7A0 0012B5E0 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012F7A4 0012B5E4 40 82 00 08 */ bne lbl_8012F7AC
/* 8012F7A8 0012B5E8 48 00 00 34 */ b lbl_8012F7DC
.global lbl_8012F7AC
lbl_8012F7AC:
/* 8012F7AC 0012B5EC 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012F7B0 0012B5F0 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F7B4 0012B5F4 2C 00 00 0D */ cmpwi r0, 0xd
/* 8012F7B8 0012B5F8 40 82 00 14 */ bne lbl_8012F7CC
/* 8012F7BC 0012B5FC 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012F7C0 0012B600 2C 00 00 08 */ cmpwi r0, 0x8
/* 8012F7C4 0012B604 40 82 00 08 */ bne lbl_8012F7CC
/* 8012F7C8 0012B608 48 00 00 14 */ b lbl_8012F7DC
.global lbl_8012F7CC
lbl_8012F7CC:
/* 8012F7CC 0012B60C 38 84 00 10 */ addi r4, r4, 0x10
/* 8012F7D0 0012B610 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F7D4 0012B614 42 00 FF BC */ bdnz lbl_8012F790
/* 8012F7D8 0012B618 38 60 FF FF */ li r3, -0x1
.global lbl_8012F7DC
lbl_8012F7DC:
/* 8012F7DC 0012B61C 54 60 10 3A */ slwi r0, r3, 2
/* 8012F7E0 0012B620 7C 7C 02 14 */ add r3, r28, r0
/* 8012F7E4 0012B624 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012F7E8 0012B628 7F 23 CB 78 */ mr r3, r25
/* 8012F7EC 0012B62C 4B FF 8E 25 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F7F0 0012B630 38 00 00 25 */ li r0, 0x25
/* 8012F7F4 0012B634 38 60 00 01 */ li r3, 0x1
/* 8012F7F8 0012B638 90 79 00 14 */ stw r3, 0x14(r25)
/* 8012F7FC 0012B63C 38 9E 00 68 */ addi r4, r30, 0x68
/* 8012F800 0012B640 38 60 00 00 */ li r3, 0x0
/* 8012F804 0012B644 7C 09 03 A6 */ mtctr r0
.global lbl_8012F808
lbl_8012F808:
/* 8012F808 0012B648 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8012F80C 0012B64C 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012F810 0012B650 40 82 00 14 */ bne lbl_8012F824
/* 8012F814 0012B654 80 04 00 04 */ lwz r0, 0x4(r4)
/* 8012F818 0012B658 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012F81C 0012B65C 40 82 00 08 */ bne lbl_8012F824
/* 8012F820 0012B660 48 00 00 34 */ b lbl_8012F854
.global lbl_8012F824
lbl_8012F824:
/* 8012F824 0012B664 80 04 00 08 */ lwz r0, 0x8(r4)
/* 8012F828 0012B668 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F82C 0012B66C 2C 00 00 0E */ cmpwi r0, 0xe
/* 8012F830 0012B670 40 82 00 14 */ bne lbl_8012F844
/* 8012F834 0012B674 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8012F838 0012B678 2C 00 00 06 */ cmpwi r0, 0x6
/* 8012F83C 0012B67C 40 82 00 08 */ bne lbl_8012F844
/* 8012F840 0012B680 48 00 00 14 */ b lbl_8012F854
.global lbl_8012F844
lbl_8012F844:
/* 8012F844 0012B684 38 84 00 10 */ addi r4, r4, 0x10
/* 8012F848 0012B688 38 63 00 01 */ addi r3, r3, 0x1
/* 8012F84C 0012B68C 42 00 FF BC */ bdnz lbl_8012F808
/* 8012F850 0012B690 38 60 FF FF */ li r3, -0x1
.global lbl_8012F854
lbl_8012F854:
/* 8012F854 0012B694 54 60 10 3A */ slwi r0, r3, 2
/* 8012F858 0012B698 7C 7C 02 14 */ add r3, r28, r0
/* 8012F85C 0012B69C 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012F860 0012B6A0 7F 23 CB 78 */ mr r3, r25
/* 8012F864 0012B6A4 4B FF 8D AD */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F868 0012B6A8 38 00 00 01 */ li r0, 0x1
/* 8012F86C 0012B6AC 90 19 00 14 */ stw r0, 0x14(r25)
.global lbl_8012F870
lbl_8012F870:
/* 8012F870 0012B6B0 38 00 00 00 */ li r0, 0x0
/* 8012F874 0012B6B4 98 1C 00 96 */ stb r0, 0x96(r28)
.global lbl_8012F878
lbl_8012F878:
/* 8012F878 0012B6B8 80 9C 03 FC */ lwz r4, 0x3fc(r28)
/* 8012F87C 0012B6BC 2C 04 00 01 */ cmpwi r4, 0x1
/* 8012F880 0012B6C0 40 82 00 1C */ bne lbl_8012F89C
/* 8012F884 0012B6C4 80 7C 03 F4 */ lwz r3, 0x3f4(r28)
/* 8012F888 0012B6C8 80 1C 03 F8 */ lwz r0, 0x3f8(r28)
/* 8012F88C 0012B6CC 7C 03 00 00 */ cmpw r3, r0
/* 8012F890 0012B6D0 40 82 00 0C */ bne lbl_8012F89C
/* 8012F894 0012B6D4 38 00 00 01 */ li r0, 0x1
/* 8012F898 0012B6D8 48 00 00 24 */ b lbl_8012F8BC
.global lbl_8012F89C
lbl_8012F89C:
/* 8012F89C 0012B6DC 2C 04 00 02 */ cmpwi r4, 0x2
/* 8012F8A0 0012B6E0 40 82 00 18 */ bne lbl_8012F8B8
/* 8012F8A4 0012B6E4 80 1C 03 F4 */ lwz r0, 0x3f4(r28)
/* 8012F8A8 0012B6E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F8AC 0012B6EC 40 82 00 0C */ bne lbl_8012F8B8
/* 8012F8B0 0012B6F0 38 00 00 01 */ li r0, 0x1
/* 8012F8B4 0012B6F4 48 00 00 08 */ b lbl_8012F8BC
.global lbl_8012F8B8
lbl_8012F8B8:
/* 8012F8B8 0012B6F8 38 00 00 00 */ li r0, 0x0
.global lbl_8012F8BC
lbl_8012F8BC:
/* 8012F8BC 0012B6FC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F8C0 0012B700 41 82 01 20 */ beq lbl_8012F9E0
/* 8012F8C4 0012B704 88 1C 00 98 */ lbz r0, 0x98(r28)
/* 8012F8C8 0012B708 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F8CC 0012B70C 41 82 00 20 */ beq lbl_8012F8EC
/* 8012F8D0 0012B710 88 1C 00 92 */ lbz r0, 0x92(r28)
/* 8012F8D4 0012B714 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F8D8 0012B718 41 82 01 6C */ beq lbl_8012FA44
/* 8012F8DC 0012B71C 80 7C 01 AC */ lwz r3, 0x1ac(r28)
/* 8012F8E0 0012B720 4B F2 6B A1 */ bl WPADSetSimpleSyncCallback
/* 8012F8E4 0012B724 38 00 00 00 */ li r0, 0x0
/* 8012F8E8 0012B728 98 1C 00 98 */ stb r0, 0x98(r28)
.global lbl_8012F8EC
lbl_8012F8EC:
/* 8012F8EC 0012B72C 88 1C 00 99 */ lbz r0, 0x99(r28)
/* 8012F8F0 0012B730 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F8F4 0012B734 41 82 00 90 */ beq lbl_8012F984
/* 8012F8F8 0012B738 80 7C 03 CC */ lwz r3, 0x3cc(r28)
/* 8012F8FC 0012B73C 4B FF 8D 15 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F900 0012B740 80 7C 03 CC */ lwz r3, 0x3cc(r28)
/* 8012F904 0012B744 3B 60 00 00 */ li r27, 0x0
/* 8012F908 0012B748 38 A0 00 01 */ li r5, 0x1
/* 8012F90C 0012B74C 93 63 00 14 */ stw r27, 0x14(r3)
/* 8012F910 0012B750 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012F914 0012B754 80 9F 09 E4 */ lwz r4, 0x9e4(r31)
/* 8012F918 0012B758 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012F91C 0012B75C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012F920 0012B760 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012F924 0012B764 7D 89 03 A6 */ mtctr r12
/* 8012F928 0012B768 4E 80 04 21 */ bctrl
/* 8012F92C 0012B76C 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012F930 0012B770 38 9F 09 E4 */ addi r4, r31, 0x9e4
/* 8012F934 0012B774 38 A0 00 01 */ li r5, 0x1
/* 8012F938 0012B778 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012F93C 0012B77C 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012F940 0012B780 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012F944 0012B784 80 84 00 04 */ lwz r4, 0x4(r4)
/* 8012F948 0012B788 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012F94C 0012B78C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012F950 0012B790 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012F954 0012B794 7D 89 03 A6 */ mtctr r12
/* 8012F958 0012B798 4E 80 04 21 */ bctrl
/* 8012F95C 0012B79C 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012F960 0012B7A0 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012F964 0012B7A4 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012F968 0012B7A8 80 7C 03 F0 */ lwz r3, 0x3f0(r28)
/* 8012F96C 0012B7AC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012F970 0012B7B0 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012F974 0012B7B4 40 82 00 10 */ bne lbl_8012F984
/* 8012F978 0012B7B8 4B FF 8C 99 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012F97C 0012B7BC 80 7C 03 F0 */ lwz r3, 0x3f0(r28)
/* 8012F980 0012B7C0 93 63 00 14 */ stw r27, 0x14(r3)
.global lbl_8012F984
lbl_8012F984:
/* 8012F984 0012B7C4 80 1C 05 B8 */ lwz r0, 0x5b8(r28)
/* 8012F988 0012B7C8 38 60 00 11 */ li r3, 0x11
/* 8012F98C 0012B7CC 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8012F990 0012B7D0 38 60 00 00 */ li r3, 0x0
/* 8012F994 0012B7D4 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F998 0012B7D8 40 82 00 10 */ bne lbl_8012F9A8
/* 8012F99C 0012B7DC 88 1C 04 00 */ lbz r0, 0x400(r28)
/* 8012F9A0 0012B7E0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F9A4 0012B7E4 40 82 00 08 */ bne lbl_8012F9AC
.global lbl_8012F9A8
lbl_8012F9A8:
/* 8012F9A8 0012B7E8 38 60 00 01 */ li r3, 0x1
.global lbl_8012F9AC
lbl_8012F9AC:
/* 8012F9AC 0012B7EC 4B EF E5 45 */ bl VISetBlack
/* 8012F9B0 0012B7F0 4B EF E3 A1 */ bl VIFlush
/* 8012F9B4 0012B7F4 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 8012F9B8 0012B7F8 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012F9BC 0012B7FC 41 82 00 88 */ beq lbl_8012FA44
/* 8012F9C0 0012B800 88 1C 00 97 */ lbz r0, 0x97(r28)
/* 8012F9C4 0012B804 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012F9C8 0012B808 41 82 00 0C */ beq lbl_8012F9D4
/* 8012F9CC 0012B80C 38 60 00 00 */ li r3, 0x0
/* 8012F9D0 0012B810 4B F1 4C F1 */ bl AXSetAuxAReturnVolume
.global lbl_8012F9D4
lbl_8012F9D4:
/* 8012F9D4 0012B814 C0 3E 02 E4 */ lfs f1, 0x2e4(r30)
/* 8012F9D8 0012B818 4B FF C5 79 */ bl SetVolumeAllSeq__10homebuttonFf
/* 8012F9DC 0012B81C 48 00 00 68 */ b lbl_8012FA44
.global lbl_8012F9E0
lbl_8012F9E0:
/* 8012F9E0 0012B820 80 9C 03 F4 */ lwz r4, 0x3f4(r28)
/* 8012F9E4 0012B824 80 7C 03 F8 */ lwz r3, 0x3f8(r28)
/* 8012F9E8 0012B828 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 8012F9EC 0012B82C 7C 64 18 50 */ subf r3, r4, r3
/* 8012F9F0 0012B830 C8 5E 03 10 */ lfd f2, 0x310(r30)
/* 8012F9F4 0012B834 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8012F9F8 0012B838 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8012F9FC 0012B83C C0 1C 07 3C */ lfs f0, 0x73c(r28)
/* 8012FA00 0012B840 2C 00 00 03 */ cmpwi r0, 0x3
/* 8012FA04 0012B844 C8 21 00 18 */ lfd f1, 0x18(r1)
/* 8012FA08 0012B848 EC 21 10 28 */ fsubs f1, f1, f2
/* 8012FA0C 0012B84C EF C1 00 24 */ fdivs f30, f1, f0
/* 8012FA10 0012B850 41 82 00 34 */ beq lbl_8012FA44
/* 8012FA14 0012B854 88 1C 00 97 */ lbz r0, 0x97(r28)
/* 8012FA18 0012B858 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012FA1C 0012B85C 41 82 00 20 */ beq lbl_8012FA3C
/* 8012FA20 0012B860 C0 1E 03 28 */ lfs f0, 0x328(r30)
/* 8012FA24 0012B864 EC 00 07 B2 */ fmuls f0, f0, f30
/* 8012FA28 0012B868 FC 00 00 1E */ fctiwz f0, f0
/* 8012FA2C 0012B86C D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8012FA30 0012B870 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8012FA34 0012B874 54 63 04 3E */ clrlwi r3, r3, 16
/* 8012FA38 0012B878 4B F1 4C 89 */ bl AXSetAuxAReturnVolume
.global lbl_8012FA3C
lbl_8012FA3C:
/* 8012FA3C 0012B87C FC 20 F0 90 */ fmr f1, f30
/* 8012FA40 0012B880 4B FF C5 11 */ bl SetVolumeAllSeq__10homebuttonFf
.global lbl_8012FA44
lbl_8012FA44:
/* 8012FA44 0012B884 80 BC 00 6C */ lwz r5, 0x6c(r28)
/* 8012FA48 0012B888 2C 05 00 00 */ cmpwi r5, 0x0
/* 8012FA4C 0012B88C 41 82 00 80 */ beq lbl_8012FACC
/* 8012FA50 0012B890 80 1C 00 14 */ lwz r0, 0x14(r28)
/* 8012FA54 0012B894 38 80 00 01 */ li r4, 0x1
/* 8012FA58 0012B898 2C 00 00 02 */ cmpwi r0, 0x2
/* 8012FA5C 0012B89C 40 82 00 24 */ bne lbl_8012FA80
/* 8012FA60 0012B8A0 80 7C 03 E8 */ lwz r3, 0x3e8(r28)
/* 8012FA64 0012B8A4 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012FA68 0012B8A8 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012FA6C 0012B8AC 41 82 00 14 */ beq lbl_8012FA80
/* 8012FA70 0012B8B0 80 7C 03 C4 */ lwz r3, 0x3c4(r28)
/* 8012FA74 0012B8B4 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8012FA78 0012B8B8 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012FA7C 0012B8BC 40 82 00 08 */ bne lbl_8012FA84
.global lbl_8012FA80
lbl_8012FA80:
/* 8012FA80 0012B8C0 38 80 00 00 */ li r4, 0x0
.global lbl_8012FA84
lbl_8012FA84:
/* 8012FA84 0012B8C4 2C 04 00 00 */ cmpwi r4, 0x0
/* 8012FA88 0012B8C8 41 82 00 44 */ beq lbl_8012FACC
/* 8012FA8C 0012B8CC 2C 05 00 00 */ cmpwi r5, 0x0
/* 8012FA90 0012B8D0 41 82 00 34 */ beq lbl_8012FAC4
/* 8012FA94 0012B8D4 80 1C 00 74 */ lwz r0, 0x74(r28)
/* 8012FA98 0012B8D8 7C 05 00 00 */ cmpw r5, r0
/* 8012FA9C 0012B8DC 41 82 00 28 */ beq lbl_8012FAC4
/* 8012FAA0 0012B8E0 54 A0 10 3A */ slwi r0, r5, 2
/* 8012FAA4 0012B8E4 7C 7C 02 14 */ add r3, r28, r0
/* 8012FAA8 0012B8E8 83 23 03 B8 */ lwz r25, 0x3b8(r3)
/* 8012FAAC 0012B8EC 7F 23 CB 78 */ mr r3, r25
/* 8012FAB0 0012B8F0 4B FF 8B 61 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012FAB4 0012B8F4 38 00 00 01 */ li r0, 0x1
/* 8012FAB8 0012B8F8 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012FABC 0012B8FC 80 1C 00 6C */ lwz r0, 0x6c(r28)
/* 8012FAC0 0012B900 90 1C 00 74 */ stw r0, 0x74(r28)
.global lbl_8012FAC4
lbl_8012FAC4:
/* 8012FAC4 0012B904 38 00 00 00 */ li r0, 0x0
/* 8012FAC8 0012B908 90 1C 00 6C */ stw r0, 0x6c(r28)
.global lbl_8012FACC
lbl_8012FACC:
/* 8012FACC 0012B90C 80 7C 00 70 */ lwz r3, 0x70(r28)
/* 8012FAD0 0012B910 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012FAD4 0012B914 41 82 02 40 */ beq lbl_8012FD14
/* 8012FAD8 0012B918 38 80 00 25 */ li r4, 0x25
/* 8012FADC 0012B91C 38 BE 00 68 */ addi r5, r30, 0x68
/* 8012FAE0 0012B920 38 00 00 01 */ li r0, 0x1
/* 8012FAE4 0012B924 39 00 00 00 */ li r8, 0x0
/* 8012FAE8 0012B928 7C 89 03 A6 */ mtctr r4
/* 8012FAEC 0012B92C 60 00 00 00 */ nop
.global lbl_8012FAF0
lbl_8012FAF0:
/* 8012FAF0 0012B930 80 85 00 00 */ lwz r4, 0x0(r5)
/* 8012FAF4 0012B934 2C 04 00 04 */ cmpwi r4, 0x4
/* 8012FAF8 0012B938 40 82 00 14 */ bne lbl_8012FB0C
/* 8012FAFC 0012B93C 80 85 00 04 */ lwz r4, 0x4(r5)
/* 8012FB00 0012B940 2C 04 00 02 */ cmpwi r4, 0x2
/* 8012FB04 0012B944 40 82 00 08 */ bne lbl_8012FB0C
/* 8012FB08 0012B948 48 00 00 34 */ b lbl_8012FB3C
.global lbl_8012FB0C
lbl_8012FB0C:
/* 8012FB0C 0012B94C 80 85 00 08 */ lwz r4, 0x8(r5)
/* 8012FB10 0012B950 39 08 00 01 */ addi r8, r8, 0x1
/* 8012FB14 0012B954 2C 04 00 04 */ cmpwi r4, 0x4
/* 8012FB18 0012B958 40 82 00 14 */ bne lbl_8012FB2C
/* 8012FB1C 0012B95C 80 85 00 0C */ lwz r4, 0xc(r5)
/* 8012FB20 0012B960 2C 04 00 02 */ cmpwi r4, 0x2
/* 8012FB24 0012B964 40 82 00 08 */ bne lbl_8012FB2C
/* 8012FB28 0012B968 48 00 00 14 */ b lbl_8012FB3C
.global lbl_8012FB2C
lbl_8012FB2C:
/* 8012FB2C 0012B96C 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012FB30 0012B970 39 08 00 01 */ addi r8, r8, 0x1
/* 8012FB34 0012B974 42 00 FF BC */ bdnz lbl_8012FAF0
/* 8012FB38 0012B978 39 00 FF FF */ li r8, -0x1
.global lbl_8012FB3C
lbl_8012FB3C:
/* 8012FB3C 0012B97C 38 80 00 25 */ li r4, 0x25
/* 8012FB40 0012B980 38 BE 00 68 */ addi r5, r30, 0x68
/* 8012FB44 0012B984 38 E0 00 00 */ li r7, 0x0
/* 8012FB48 0012B988 7C 89 03 A6 */ mtctr r4
/* 8012FB4C 0012B98C 60 00 00 00 */ nop
.global lbl_8012FB50
lbl_8012FB50:
/* 8012FB50 0012B990 80 85 00 00 */ lwz r4, 0x0(r5)
/* 8012FB54 0012B994 2C 04 00 05 */ cmpwi r4, 0x5
/* 8012FB58 0012B998 40 82 00 14 */ bne lbl_8012FB6C
/* 8012FB5C 0012B99C 80 85 00 04 */ lwz r4, 0x4(r5)
/* 8012FB60 0012B9A0 2C 04 00 03 */ cmpwi r4, 0x3
/* 8012FB64 0012B9A4 40 82 00 08 */ bne lbl_8012FB6C
/* 8012FB68 0012B9A8 48 00 00 34 */ b lbl_8012FB9C
.global lbl_8012FB6C
lbl_8012FB6C:
/* 8012FB6C 0012B9AC 80 85 00 08 */ lwz r4, 0x8(r5)
/* 8012FB70 0012B9B0 38 E7 00 01 */ addi r7, r7, 0x1
/* 8012FB74 0012B9B4 2C 04 00 05 */ cmpwi r4, 0x5
/* 8012FB78 0012B9B8 40 82 00 14 */ bne lbl_8012FB8C
/* 8012FB7C 0012B9BC 80 85 00 0C */ lwz r4, 0xc(r5)
/* 8012FB80 0012B9C0 2C 04 00 03 */ cmpwi r4, 0x3
/* 8012FB84 0012B9C4 40 82 00 08 */ bne lbl_8012FB8C
/* 8012FB88 0012B9C8 48 00 00 14 */ b lbl_8012FB9C
.global lbl_8012FB8C
lbl_8012FB8C:
/* 8012FB8C 0012B9CC 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012FB90 0012B9D0 38 E7 00 01 */ addi r7, r7, 0x1
/* 8012FB94 0012B9D4 42 00 FF BC */ bdnz lbl_8012FB50
/* 8012FB98 0012B9D8 38 E0 FF FF */ li r7, -0x1
.global lbl_8012FB9C
lbl_8012FB9C:
/* 8012FB9C 0012B9DC 38 80 00 25 */ li r4, 0x25
/* 8012FBA0 0012B9E0 38 BE 00 68 */ addi r5, r30, 0x68
/* 8012FBA4 0012B9E4 38 C0 00 00 */ li r6, 0x0
/* 8012FBA8 0012B9E8 7C 89 03 A6 */ mtctr r4
/* 8012FBAC 0012B9EC 60 00 00 00 */ nop
.global lbl_8012FBB0
lbl_8012FBB0:
/* 8012FBB0 0012B9F0 80 85 00 00 */ lwz r4, 0x0(r5)
/* 8012FBB4 0012B9F4 2C 04 00 04 */ cmpwi r4, 0x4
/* 8012FBB8 0012B9F8 40 82 00 14 */ bne lbl_8012FBCC
/* 8012FBBC 0012B9FC 80 85 00 04 */ lwz r4, 0x4(r5)
/* 8012FBC0 0012BA00 2C 04 00 13 */ cmpwi r4, 0x13
/* 8012FBC4 0012BA04 40 82 00 08 */ bne lbl_8012FBCC
/* 8012FBC8 0012BA08 48 00 00 34 */ b lbl_8012FBFC
.global lbl_8012FBCC
lbl_8012FBCC:
/* 8012FBCC 0012BA0C 80 85 00 08 */ lwz r4, 0x8(r5)
/* 8012FBD0 0012BA10 38 C6 00 01 */ addi r6, r6, 0x1
/* 8012FBD4 0012BA14 2C 04 00 04 */ cmpwi r4, 0x4
/* 8012FBD8 0012BA18 40 82 00 14 */ bne lbl_8012FBEC
/* 8012FBDC 0012BA1C 80 85 00 0C */ lwz r4, 0xc(r5)
/* 8012FBE0 0012BA20 2C 04 00 13 */ cmpwi r4, 0x13
/* 8012FBE4 0012BA24 40 82 00 08 */ bne lbl_8012FBEC
/* 8012FBE8 0012BA28 48 00 00 14 */ b lbl_8012FBFC
.global lbl_8012FBEC
lbl_8012FBEC:
/* 8012FBEC 0012BA2C 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012FBF0 0012BA30 38 C6 00 01 */ addi r6, r6, 0x1
/* 8012FBF4 0012BA34 42 00 FF BC */ bdnz lbl_8012FBB0
/* 8012FBF8 0012BA38 38 C0 FF FF */ li r6, -0x1
.global lbl_8012FBFC
lbl_8012FBFC:
/* 8012FBFC 0012BA3C 38 80 00 25 */ li r4, 0x25
/* 8012FC00 0012BA40 39 3E 00 68 */ addi r9, r30, 0x68
/* 8012FC04 0012BA44 38 A0 00 00 */ li r5, 0x0
/* 8012FC08 0012BA48 7C 89 03 A6 */ mtctr r4
/* 8012FC0C 0012BA4C 60 00 00 00 */ nop
.global lbl_8012FC10
lbl_8012FC10:
/* 8012FC10 0012BA50 80 89 00 00 */ lwz r4, 0x0(r9)
/* 8012FC14 0012BA54 2C 04 00 05 */ cmpwi r4, 0x5
/* 8012FC18 0012BA58 40 82 00 14 */ bne lbl_8012FC2C
/* 8012FC1C 0012BA5C 80 89 00 04 */ lwz r4, 0x4(r9)
/* 8012FC20 0012BA60 2C 04 00 14 */ cmpwi r4, 0x14
/* 8012FC24 0012BA64 40 82 00 08 */ bne lbl_8012FC2C
/* 8012FC28 0012BA68 48 00 00 34 */ b lbl_8012FC5C
.global lbl_8012FC2C
lbl_8012FC2C:
/* 8012FC2C 0012BA6C 80 89 00 08 */ lwz r4, 0x8(r9)
/* 8012FC30 0012BA70 38 A5 00 01 */ addi r5, r5, 0x1
/* 8012FC34 0012BA74 2C 04 00 05 */ cmpwi r4, 0x5
/* 8012FC38 0012BA78 40 82 00 14 */ bne lbl_8012FC4C
/* 8012FC3C 0012BA7C 80 89 00 0C */ lwz r4, 0xc(r9)
/* 8012FC40 0012BA80 2C 04 00 14 */ cmpwi r4, 0x14
/* 8012FC44 0012BA84 40 82 00 08 */ bne lbl_8012FC4C
/* 8012FC48 0012BA88 48 00 00 14 */ b lbl_8012FC5C
.global lbl_8012FC4C
lbl_8012FC4C:
/* 8012FC4C 0012BA8C 39 29 00 10 */ addi r9, r9, 0x10
/* 8012FC50 0012BA90 38 A5 00 01 */ addi r5, r5, 0x1
/* 8012FC54 0012BA94 42 00 FF BC */ bdnz lbl_8012FC10
/* 8012FC58 0012BA98 38 A0 FF FF */ li r5, -0x1
.global lbl_8012FC5C
lbl_8012FC5C:
/* 8012FC5C 0012BA9C 80 9C 00 14 */ lwz r4, 0x14(r28)
/* 8012FC60 0012BAA0 2C 04 00 02 */ cmpwi r4, 0x2
/* 8012FC64 0012BAA4 40 82 00 64 */ bne lbl_8012FCC8
/* 8012FC68 0012BAA8 55 04 10 3A */ slwi r4, r8, 2
/* 8012FC6C 0012BAAC 7C 9C 22 14 */ add r4, r28, r4
/* 8012FC70 0012BAB0 80 84 02 90 */ lwz r4, 0x290(r4)
/* 8012FC74 0012BAB4 80 84 00 14 */ lwz r4, 0x14(r4)
/* 8012FC78 0012BAB8 2C 04 00 01 */ cmpwi r4, 0x1
/* 8012FC7C 0012BABC 41 82 00 4C */ beq lbl_8012FCC8
/* 8012FC80 0012BAC0 54 E4 10 3A */ slwi r4, r7, 2
/* 8012FC84 0012BAC4 7C 9C 22 14 */ add r4, r28, r4
/* 8012FC88 0012BAC8 80 84 02 90 */ lwz r4, 0x290(r4)
/* 8012FC8C 0012BACC 80 84 00 14 */ lwz r4, 0x14(r4)
/* 8012FC90 0012BAD0 2C 04 00 01 */ cmpwi r4, 0x1
/* 8012FC94 0012BAD4 41 82 00 34 */ beq lbl_8012FCC8
/* 8012FC98 0012BAD8 54 C4 10 3A */ slwi r4, r6, 2
/* 8012FC9C 0012BADC 7C 9C 22 14 */ add r4, r28, r4
/* 8012FCA0 0012BAE0 80 84 02 90 */ lwz r4, 0x290(r4)
/* 8012FCA4 0012BAE4 80 84 00 14 */ lwz r4, 0x14(r4)
/* 8012FCA8 0012BAE8 2C 04 00 01 */ cmpwi r4, 0x1
/* 8012FCAC 0012BAEC 41 82 00 1C */ beq lbl_8012FCC8
/* 8012FCB0 0012BAF0 54 A4 10 3A */ slwi r4, r5, 2
/* 8012FCB4 0012BAF4 7C 9C 22 14 */ add r4, r28, r4
/* 8012FCB8 0012BAF8 80 84 02 90 */ lwz r4, 0x290(r4)
/* 8012FCBC 0012BAFC 80 84 00 14 */ lwz r4, 0x14(r4)
/* 8012FCC0 0012BB00 2C 04 00 01 */ cmpwi r4, 0x1
/* 8012FCC4 0012BB04 40 82 00 08 */ bne lbl_8012FCCC
.global lbl_8012FCC8
lbl_8012FCC8:
/* 8012FCC8 0012BB08 38 00 00 00 */ li r0, 0x0
.global lbl_8012FCCC
lbl_8012FCCC:
/* 8012FCCC 0012BB0C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012FCD0 0012BB10 41 82 00 44 */ beq lbl_8012FD14
/* 8012FCD4 0012BB14 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012FCD8 0012BB18 41 82 00 34 */ beq lbl_8012FD0C
/* 8012FCDC 0012BB1C 80 1C 00 78 */ lwz r0, 0x78(r28)
/* 8012FCE0 0012BB20 7C 03 00 00 */ cmpw r3, r0
/* 8012FCE4 0012BB24 41 82 00 28 */ beq lbl_8012FD0C
/* 8012FCE8 0012BB28 54 60 10 3A */ slwi r0, r3, 2
/* 8012FCEC 0012BB2C 7C 7C 02 14 */ add r3, r28, r0
/* 8012FCF0 0012BB30 83 23 02 90 */ lwz r25, 0x290(r3)
/* 8012FCF4 0012BB34 7F 23 CB 78 */ mr r3, r25
/* 8012FCF8 0012BB38 4B FF 89 19 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012FCFC 0012BB3C 38 00 00 01 */ li r0, 0x1
/* 8012FD00 0012BB40 90 19 00 14 */ stw r0, 0x14(r25)
/* 8012FD04 0012BB44 80 1C 00 70 */ lwz r0, 0x70(r28)
/* 8012FD08 0012BB48 90 1C 00 78 */ stw r0, 0x78(r28)
.global lbl_8012FD0C
lbl_8012FD0C:
/* 8012FD0C 0012BB4C 38 00 00 00 */ li r0, 0x0
/* 8012FD10 0012BB50 90 1C 00 70 */ stw r0, 0x70(r28)
.global lbl_8012FD14
lbl_8012FD14:
/* 8012FD14 0012BB54 80 1C 03 FC */ lwz r0, 0x3fc(r28)
/* 8012FD18 0012BB58 2C 00 00 01 */ cmpwi r0, 0x1
/* 8012FD1C 0012BB5C 40 82 00 14 */ bne lbl_8012FD30
/* 8012FD20 0012BB60 80 7C 03 F4 */ lwz r3, 0x3f4(r28)
/* 8012FD24 0012BB64 38 03 00 01 */ addi r0, r3, 0x1
/* 8012FD28 0012BB68 90 1C 03 F4 */ stw r0, 0x3f4(r28)
/* 8012FD2C 0012BB6C 48 00 00 18 */ b lbl_8012FD44
.global lbl_8012FD30
lbl_8012FD30:
/* 8012FD30 0012BB70 2C 00 00 02 */ cmpwi r0, 0x2
/* 8012FD34 0012BB74 40 82 00 10 */ bne lbl_8012FD44
/* 8012FD38 0012BB78 80 7C 03 F4 */ lwz r3, 0x3f4(r28)
/* 8012FD3C 0012BB7C 38 03 FF FF */ addi r0, r3, -0x1
/* 8012FD40 0012BB80 90 1C 03 F4 */ stw r0, 0x3f4(r28)
.global lbl_8012FD44
lbl_8012FD44:
/* 8012FD44 0012BB84 80 1C 03 F4 */ lwz r0, 0x3f4(r28)
/* 8012FD48 0012BB88 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012FD4C 0012BB8C 40 80 00 10 */ bge lbl_8012FD5C
/* 8012FD50 0012BB90 38 00 00 00 */ li r0, 0x0
/* 8012FD54 0012BB94 90 1C 03 F4 */ stw r0, 0x3f4(r28)
/* 8012FD58 0012BB98 48 00 00 14 */ b lbl_8012FD6C
.global lbl_8012FD5C
lbl_8012FD5C:
/* 8012FD5C 0012BB9C 80 7C 03 F8 */ lwz r3, 0x3f8(r28)
/* 8012FD60 0012BBA0 7C 00 18 00 */ cmpw r0, r3
/* 8012FD64 0012BBA4 40 81 00 08 */ ble lbl_8012FD6C
/* 8012FD68 0012BBA8 90 7C 03 F4 */ stw r3, 0x3f4(r28)
.global lbl_8012FD6C
lbl_8012FD6C:
/* 8012FD6C 0012BBAC 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8012FD70 0012BBB0 41 82 00 1C */ beq lbl_8012FD8C
/* 8012FD74 0012BBB4 A0 1C 05 CA */ lhz r0, 0x5ca(r28)
/* 8012FD78 0012BBB8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012FD7C 0012BBBC 41 82 00 10 */ beq lbl_8012FD8C
/* 8012FD80 0012BBC0 7F 83 E3 78 */ mr r3, r28
/* 8012FD84 0012BBC4 7F A4 EB 78 */ mr r4, r29
/* 8012FD88 0012BBC8 48 00 07 99 */ bl update__Q210homebutton10HomeButtonFPC17HBMControllerData
.global lbl_8012FD8C
lbl_8012FD8C:
/* 8012FD8C 0012BBCC 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012FD90 0012BBD0 38 80 00 00 */ li r4, 0x0
/* 8012FD94 0012BBD4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012FD98 0012BBD8 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8012FD9C 0012BBDC 7D 89 03 A6 */ mtctr r12
/* 8012FDA0 0012BBE0 4E 80 04 21 */ bctrl
/* 8012FDA4 0012BBE4 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8012FDA8 0012BBE8 38 9C 01 F8 */ addi r4, r28, 0x1f8
/* 8012FDAC 0012BBEC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012FDB0 0012BBF0 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8012FDB4 0012BBF4 7D 89 03 A6 */ mtctr r12
/* 8012FDB8 0012BBF8 4E 80 04 21 */ bctrl
/* 8012FDBC 0012BBFC 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 8012FDC0 0012BC00 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8012FDC4 0012BC04 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012FDC8 0012BC08 40 82 00 34 */ bne lbl_8012FDFC
/* 8012FDCC 0012BC0C 7F 99 E3 78 */ mr r25, r28
/* 8012FDD0 0012BC10 3B 40 00 00 */ li r26, 0x0
.global lbl_8012FDD4
lbl_8012FDD4:
/* 8012FDD4 0012BC14 80 79 01 DC */ lwz r3, 0x1dc(r25)
/* 8012FDD8 0012BC18 38 9C 01 F8 */ addi r4, r28, 0x1f8
/* 8012FDDC 0012BC1C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012FDE0 0012BC20 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8012FDE4 0012BC24 7D 89 03 A6 */ mtctr r12
/* 8012FDE8 0012BC28 4E 80 04 21 */ bctrl
/* 8012FDEC 0012BC2C 3B 5A 00 01 */ addi r26, r26, 0x1
/* 8012FDF0 0012BC30 3B 39 00 04 */ addi r25, r25, 0x4
/* 8012FDF4 0012BC34 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8012FDF8 0012BC38 41 80 FF DC */ blt lbl_8012FDD4
.global lbl_8012FDFC
lbl_8012FDFC:
/* 8012FDFC 0012BC3C 80 7C 00 68 */ lwz r3, 0x68(r28)
/* 8012FE00 0012BC40 2C 03 00 02 */ cmpwi r3, 0x2
/* 8012FE04 0012BC44 41 81 00 0C */ bgt lbl_8012FE10
/* 8012FE08 0012BC48 38 03 00 01 */ addi r0, r3, 0x1
/* 8012FE0C 0012BC4C 90 1C 00 68 */ stw r0, 0x68(r28)
.global lbl_8012FE10
lbl_8012FE10:
/* 8012FE10 0012BC50 39 61 00 50 */ addi r11, r1, 0x50
/* 8012FE14 0012BC54 E3 E1 00 68 */ psq_l f31, 0x68(r1), 0, qr0
/* 8012FE18 0012BC58 CB E1 00 60 */ lfd f31, 0x60(r1)
/* 8012FE1C 0012BC5C E3 C1 00 58 */ psq_l f30, 0x58(r1), 0, qr0
/* 8012FE20 0012BC60 CB C1 00 50 */ lfd f30, 0x50(r1)
/* 8012FE24 0012BC64 4B ED 75 5D */ bl lbl_80007380
/* 8012FE28 0012BC68 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8012FE2C 0012BC6C 7C 08 03 A6 */ mtlr r0
/* 8012FE30 0012BC70 38 21 00 70 */ addi r1, r1, 0x70
/* 8012FE34 0012BC74 4E 80 00 20 */ blr
/* 8012FE38 0012BC78 00 00 00 00 */ .4byte 0x00000000
/* 8012FE3C 0012BC7C 00 00 00 00 */ .4byte 0x00000000
.global calc_battery__Q210homebutton10HomeButtonFi
calc_battery__Q210homebutton10HomeButtonFi:
/* 8012FE40 0012BC80 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8012FE44 0012BC84 7C 08 02 A6 */ mflr r0
/* 8012FE48 0012BC88 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012FE4C 0012BC8C 39 61 00 20 */ addi r11, r1, 0x20
/* 8012FE50 0012BC90 4B ED 74 ED */ bl lbl_8000733C
/* 8012FE54 0012BC94 1C E4 00 18 */ mulli r7, r4, 0x18
/* 8012FE58 0012BC98 3C C0 80 44 */ lis r6, scBatteryPaneName__Q210homebutton10HomeButton@ha
/* 8012FE5C 0012BC9C 3C A0 80 54 */ lis r5, sWpadInfo__Q210homebutton10HomeButton@ha
/* 8012FE60 0012BCA0 54 80 20 36 */ slwi r0, r4, 4
/* 8012FE64 0012BCA4 38 C6 3B 58 */ addi r6, r6, scBatteryPaneName__Q210homebutton10HomeButton@l
/* 8012FE68 0012BCA8 38 A5 36 E0 */ addi r5, r5, sWpadInfo__Q210homebutton10HomeButton@l
/* 8012FE6C 0012BCAC 7C 7E 1B 78 */ mr r30, r3
/* 8012FE70 0012BCB0 7C 9F 23 78 */ mr r31, r4
/* 8012FE74 0012BCB4 7F A6 02 14 */ add r29, r6, r0
/* 8012FE78 0012BCB8 7F 85 3A 14 */ add r28, r5, r7
/* 8012FE7C 0012BCBC 3B 60 00 00 */ li r27, 0x0
.global lbl_8012FE80
lbl_8012FE80:
/* 8012FE80 0012BCC0 88 1C 00 14 */ lbz r0, 0x14(r28)
/* 8012FE84 0012BCC4 7C 1B 00 00 */ cmpw r27, r0
/* 8012FE88 0012BCC8 40 80 00 38 */ bge lbl_8012FEC0
/* 8012FE8C 0012BCCC 80 7E 01 D8 */ lwz r3, 0x1d8(r30)
/* 8012FE90 0012BCD0 38 A0 00 01 */ li r5, 0x1
/* 8012FE94 0012BCD4 80 9D 00 00 */ lwz r4, 0x0(r29)
/* 8012FE98 0012BCD8 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012FE9C 0012BCDC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012FEA0 0012BCE0 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012FEA4 0012BCE4 7D 89 03 A6 */ mtctr r12
/* 8012FEA8 0012BCE8 4E 80 04 21 */ bctrl
/* 8012FEAC 0012BCEC 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012FEB0 0012BCF0 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012FEB4 0012BCF4 60 00 00 01 */ ori r0, r0, 0x1
/* 8012FEB8 0012BCF8 98 03 00 CF */ stb r0, 0xcf(r3)
/* 8012FEBC 0012BCFC 48 00 00 30 */ b lbl_8012FEEC
.global lbl_8012FEC0
lbl_8012FEC0:
/* 8012FEC0 0012BD00 80 7E 01 D8 */ lwz r3, 0x1d8(r30)
/* 8012FEC4 0012BD04 38 A0 00 01 */ li r5, 0x1
/* 8012FEC8 0012BD08 80 9D 00 00 */ lwz r4, 0x0(r29)
/* 8012FECC 0012BD0C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8012FED0 0012BD10 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012FED4 0012BD14 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8012FED8 0012BD18 7D 89 03 A6 */ mtctr r12
/* 8012FEDC 0012BD1C 4E 80 04 21 */ bctrl
/* 8012FEE0 0012BD20 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8012FEE4 0012BD24 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 8012FEE8 0012BD28 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_8012FEEC
lbl_8012FEEC:
/* 8012FEEC 0012BD2C 3B 7B 00 01 */ addi r27, r27, 0x1
/* 8012FEF0 0012BD30 3B BD 00 04 */ addi r29, r29, 0x4
/* 8012FEF4 0012BD34 2C 1B 00 04 */ cmpwi r27, 0x4
/* 8012FEF8 0012BD38 41 80 FF 88 */ blt lbl_8012FE80
/* 8012FEFC 0012BD3C 88 1C 00 14 */ lbz r0, 0x14(r28)
/* 8012FF00 0012BD40 28 00 00 02 */ cmplwi r0, 0x2
/* 8012FF04 0012BD44 40 80 00 88 */ bge lbl_8012FF8C
/* 8012FF08 0012BD48 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 8012FF0C 0012BD4C 38 00 00 25 */ li r0, 0x25
/* 8012FF10 0012BD50 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 8012FF14 0012BD54 38 7F 00 1F */ addi r3, r31, 0x1f
/* 8012FF18 0012BD58 38 80 00 00 */ li r4, 0x0
/* 8012FF1C 0012BD5C 7C 09 03 A6 */ mtctr r0
.global lbl_8012FF20
lbl_8012FF20:
/* 8012FF20 0012BD60 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8012FF24 0012BD64 7C 03 00 00 */ cmpw r3, r0
/* 8012FF28 0012BD68 40 82 00 14 */ bne lbl_8012FF3C
/* 8012FF2C 0012BD6C 80 05 00 04 */ lwz r0, 0x4(r5)
/* 8012FF30 0012BD70 2C 00 00 15 */ cmpwi r0, 0x15
/* 8012FF34 0012BD74 40 82 00 08 */ bne lbl_8012FF3C
/* 8012FF38 0012BD78 48 00 00 34 */ b lbl_8012FF6C
.global lbl_8012FF3C
lbl_8012FF3C:
/* 8012FF3C 0012BD7C 80 05 00 08 */ lwz r0, 0x8(r5)
/* 8012FF40 0012BD80 38 84 00 01 */ addi r4, r4, 0x1
/* 8012FF44 0012BD84 7C 03 00 00 */ cmpw r3, r0
/* 8012FF48 0012BD88 40 82 00 14 */ bne lbl_8012FF5C
/* 8012FF4C 0012BD8C 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8012FF50 0012BD90 2C 00 00 15 */ cmpwi r0, 0x15
/* 8012FF54 0012BD94 40 82 00 08 */ bne lbl_8012FF5C
/* 8012FF58 0012BD98 48 00 00 14 */ b lbl_8012FF6C
.global lbl_8012FF5C
lbl_8012FF5C:
/* 8012FF5C 0012BD9C 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012FF60 0012BDA0 38 84 00 01 */ addi r4, r4, 0x1
/* 8012FF64 0012BDA4 42 00 FF BC */ bdnz lbl_8012FF20
/* 8012FF68 0012BDA8 38 80 FF FF */ li r4, -0x1
.global lbl_8012FF6C
lbl_8012FF6C:
/* 8012FF6C 0012BDAC 54 80 10 3A */ slwi r0, r4, 2
/* 8012FF70 0012BDB0 7C 7E 02 14 */ add r3, r30, r0
/* 8012FF74 0012BDB4 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 8012FF78 0012BDB8 7F A3 EB 78 */ mr r3, r29
/* 8012FF7C 0012BDBC 4B FF 86 95 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8012FF80 0012BDC0 38 00 00 01 */ li r0, 0x1
/* 8012FF84 0012BDC4 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8012FF88 0012BDC8 48 00 00 88 */ b lbl_80130010
.global lbl_8012FF8C
lbl_8012FF8C:
/* 8012FF8C 0012BDCC 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 8012FF90 0012BDD0 38 00 00 25 */ li r0, 0x25
/* 8012FF94 0012BDD4 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 8012FF98 0012BDD8 38 7F 00 1F */ addi r3, r31, 0x1f
/* 8012FF9C 0012BDDC 38 80 00 00 */ li r4, 0x0
/* 8012FFA0 0012BDE0 7C 09 03 A6 */ mtctr r0
/* 8012FFA4 0012BDE4 60 00 00 00 */ nop
.global lbl_8012FFA8
lbl_8012FFA8:
/* 8012FFA8 0012BDE8 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8012FFAC 0012BDEC 7C 03 00 00 */ cmpw r3, r0
/* 8012FFB0 0012BDF0 40 82 00 14 */ bne lbl_8012FFC4
/* 8012FFB4 0012BDF4 80 05 00 04 */ lwz r0, 0x4(r5)
/* 8012FFB8 0012BDF8 2C 00 00 11 */ cmpwi r0, 0x11
/* 8012FFBC 0012BDFC 40 82 00 08 */ bne lbl_8012FFC4
/* 8012FFC0 0012BE00 48 00 00 34 */ b lbl_8012FFF4
.global lbl_8012FFC4
lbl_8012FFC4:
/* 8012FFC4 0012BE04 80 05 00 08 */ lwz r0, 0x8(r5)
/* 8012FFC8 0012BE08 38 84 00 01 */ addi r4, r4, 0x1
/* 8012FFCC 0012BE0C 7C 03 00 00 */ cmpw r3, r0
/* 8012FFD0 0012BE10 40 82 00 14 */ bne lbl_8012FFE4
/* 8012FFD4 0012BE14 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8012FFD8 0012BE18 2C 00 00 11 */ cmpwi r0, 0x11
/* 8012FFDC 0012BE1C 40 82 00 08 */ bne lbl_8012FFE4
/* 8012FFE0 0012BE20 48 00 00 14 */ b lbl_8012FFF4
.global lbl_8012FFE4
lbl_8012FFE4:
/* 8012FFE4 0012BE24 38 A5 00 10 */ addi r5, r5, 0x10
/* 8012FFE8 0012BE28 38 84 00 01 */ addi r4, r4, 0x1
/* 8012FFEC 0012BE2C 42 00 FF BC */ bdnz lbl_8012FFA8
/* 8012FFF0 0012BE30 38 80 FF FF */ li r4, -0x1
.global lbl_8012FFF4
lbl_8012FFF4:
/* 8012FFF4 0012BE34 54 80 10 3A */ slwi r0, r4, 2
/* 8012FFF8 0012BE38 7C 7E 02 14 */ add r3, r30, r0
/* 8012FFFC 0012BE3C 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80130000 0012BE40 7F A3 EB 78 */ mr r3, r29
/* 80130004 0012BE44 4B FF 86 0D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80130008 0012BE48 38 00 00 01 */ li r0, 0x1
/* 8013000C 0012BE4C 90 1D 00 14 */ stw r0, 0x14(r29)
.global lbl_80130010
lbl_80130010:
/* 80130010 0012BE50 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 80130014 0012BE54 2C 00 00 64 */ cmpwi r0, 0x64
/* 80130018 0012BE58 40 80 00 0C */ bge lbl_80130024
/* 8013001C 0012BE5C 38 00 00 00 */ li r0, 0x0
/* 80130020 0012BE60 90 1E 00 7C */ stw r0, 0x7c(r30)
.global lbl_80130024
lbl_80130024:
/* 80130024 0012BE64 57 E0 10 3A */ slwi r0, r31, 2
/* 80130028 0012BE68 7C 7E 02 14 */ add r3, r30, r0
/* 8013002C 0012BE6C 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 80130030 0012BE70 4B FF AB F1 */ bl clrBatteryFlag__Q210homebutton10ControllerFv
/* 80130034 0012BE74 39 61 00 20 */ addi r11, r1, 0x20
/* 80130038 0012BE78 4B ED 73 51 */ bl lbl_80007388
/* 8013003C 0012BE7C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80130040 0012BE80 7C 08 03 A6 */ mtlr r0
/* 80130044 0012BE84 38 21 00 20 */ addi r1, r1, 0x20
/* 80130048 0012BE88 4E 80 00 20 */ blr
/* 8013004C 0012BE8C 00 00 00 00 */ .4byte 0x00000000
.global draw__Q210homebutton10HomeButtonFv
draw__Q210homebutton10HomeButtonFv:
/* 80130050 0012BE90 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80130054 0012BE94 7C 08 02 A6 */ mflr r0
/* 80130058 0012BE98 90 01 00 34 */ stw r0, 0x34(r1)
/* 8013005C 0012BE9C 38 81 00 1C */ addi r4, r1, 0x1c
/* 80130060 0012BEA0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80130064 0012BEA4 3F E0 80 41 */ lis r31, "@9436_8040DE40"@ha
/* 80130068 0012BEA8 3B FF DE 40 */ addi r31, r31, "@9436_8040DE40"@l
/* 8013006C 0012BEAC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80130070 0012BEB0 7C 7E 1B 78 */ mr r30, r3
/* 80130074 0012BEB4 C0 3F 02 E4 */ lfs f1, 0x2e4(r31)
/* 80130078 0012BEB8 38 60 00 00 */ li r3, 0x0
/* 8013007C 0012BEBC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80130080 0012BEC0 80 1F 03 30 */ lwz r0, 0x330(r31)
/* 80130084 0012BEC4 FC 40 08 90 */ fmr f2, f1
/* 80130088 0012BEC8 93 81 00 20 */ stw r28, 0x20(r1)
/* 8013008C 0012BECC FC 60 08 90 */ fmr f3, f1
/* 80130090 0012BED0 FC 80 08 90 */ fmr f4, f1
/* 80130094 0012BED4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80130098 0012BED8 4B F0 81 F9 */ bl GXSetFog
/* 8013009C 0012BEDC 38 60 00 00 */ li r3, 0x0
/* 801300A0 0012BEE0 38 80 00 00 */ li r4, 0x0
/* 801300A4 0012BEE4 38 A0 00 00 */ li r5, 0x0
/* 801300A8 0012BEE8 38 C0 00 00 */ li r6, 0x0
/* 801300AC 0012BEEC 4B F0 70 15 */ bl GXSetTexCoordScaleManually
/* 801300B0 0012BEF0 38 60 00 00 */ li r3, 0x0
/* 801300B4 0012BEF4 38 80 00 00 */ li r4, 0x0
/* 801300B8 0012BEF8 38 A0 00 00 */ li r5, 0x0
/* 801300BC 0012BEFC 4B F0 70 85 */ bl GXSetTexCoordCylWrap
/* 801300C0 0012BF00 38 60 00 01 */ li r3, 0x1
/* 801300C4 0012BF04 38 80 00 00 */ li r4, 0x0
/* 801300C8 0012BF08 38 A0 00 00 */ li r5, 0x0
/* 801300CC 0012BF0C 38 C0 00 00 */ li r6, 0x0
/* 801300D0 0012BF10 4B F0 6F F1 */ bl GXSetTexCoordScaleManually
/* 801300D4 0012BF14 38 60 00 01 */ li r3, 0x1
/* 801300D8 0012BF18 38 80 00 00 */ li r4, 0x0
/* 801300DC 0012BF1C 38 A0 00 00 */ li r5, 0x0
/* 801300E0 0012BF20 4B F0 70 61 */ bl GXSetTexCoordCylWrap
/* 801300E4 0012BF24 4B FF C3 2D */ bl initgx__10homebuttonFv
/* 801300E8 0012BF28 80 1F 03 34 */ lwz r0, 0x334(r31)
/* 801300EC 0012BF2C 38 81 00 18 */ addi r4, r1, 0x18
/* 801300F0 0012BF30 90 01 00 18 */ stw r0, 0x18(r1)
/* 801300F4 0012BF34 38 60 00 01 */ li r3, 0x1
/* 801300F8 0012BF38 4B F0 7C A9 */ bl GXSetTevColor
/* 801300FC 0012BF3C 38 60 00 80 */ li r3, 0x80
/* 80130100 0012BF40 38 80 00 00 */ li r4, 0x0
/* 80130104 0012BF44 38 A0 00 04 */ li r5, 0x4
/* 80130108 0012BF48 4B F0 51 69 */ bl GXBegin
/* 8013010C 0012BF4C 3F A0 CC 01 */ lis r29, 0xCC008000@ha
/* 80130110 0012BF50 C0 1F 03 3C */ lfs f0, 0x33c(r31)
/* 80130114 0012BF54 D0 1D 80 00 */ stfs f0, 0xCC008000@l(r29)
/* 80130118 0012BF58 38 81 00 14 */ addi r4, r1, 0x14
/* 8013011C 0012BF5C C0 1F 03 40 */ lfs f0, 0x340(r31)
/* 80130120 0012BF60 38 60 00 01 */ li r3, 0x1
/* 80130124 0012BF64 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130128 0012BF68 C0 1F 03 3C */ lfs f0, 0x33c(r31)
/* 8013012C 0012BF6C D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130130 0012BF70 C0 1F 03 44 */ lfs f0, 0x344(r31)
/* 80130134 0012BF74 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130138 0012BF78 C0 1F 03 44 */ lfs f0, 0x344(r31)
/* 8013013C 0012BF7C D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130140 0012BF80 C0 1F 03 44 */ lfs f0, 0x344(r31)
/* 80130144 0012BF84 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130148 0012BF88 C0 1F 03 44 */ lfs f0, 0x344(r31)
/* 8013014C 0012BF8C D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130150 0012BF90 C0 1F 03 40 */ lfs f0, 0x340(r31)
/* 80130154 0012BF94 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130158 0012BF98 80 1F 03 38 */ lwz r0, 0x338(r31)
/* 8013015C 0012BF9C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80130160 0012BFA0 4B F0 7C 41 */ bl GXSetTevColor
/* 80130164 0012BFA4 38 60 00 80 */ li r3, 0x80
/* 80130168 0012BFA8 38 80 00 00 */ li r4, 0x0
/* 8013016C 0012BFAC 38 A0 00 04 */ li r5, 0x4
/* 80130170 0012BFB0 4B F0 51 01 */ bl GXBegin
/* 80130174 0012BFB4 C0 1F 03 3C */ lfs f0, 0x33c(r31)
/* 80130178 0012BFB8 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 8013017C 0012BFBC C0 1F 03 3C */ lfs f0, 0x33c(r31)
/* 80130180 0012BFC0 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130184 0012BFC4 C0 1F 03 3C */ lfs f0, 0x33c(r31)
/* 80130188 0012BFC8 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 8013018C 0012BFCC C0 1F 03 48 */ lfs f0, 0x348(r31)
/* 80130190 0012BFD0 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 80130194 0012BFD4 C0 1F 03 44 */ lfs f0, 0x344(r31)
/* 80130198 0012BFD8 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 8013019C 0012BFDC C0 1F 03 48 */ lfs f0, 0x348(r31)
/* 801301A0 0012BFE0 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 801301A4 0012BFE4 C0 1F 03 44 */ lfs f0, 0x344(r31)
/* 801301A8 0012BFE8 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 801301AC 0012BFEC C0 1F 03 3C */ lfs f0, 0x33c(r31)
/* 801301B0 0012BFF0 D0 1D 80 00 */ stfs f0, -0x8000(r29)
/* 801301B4 0012BFF4 4B FF C2 5D */ bl initgx__10homebuttonFv
/* 801301B8 0012BFF8 80 7E 01 D8 */ lwz r3, 0x1d8(r30)
/* 801301BC 0012BFFC 38 9E 01 F8 */ addi r4, r30, 0x1f8
/* 801301C0 0012C000 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801301C4 0012C004 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 801301C8 0012C008 7D 89 03 A6 */ mtctr r12
/* 801301CC 0012C00C 4E 80 04 21 */ bctrl
/* 801301D0 0012C010 80 7E 00 04 */ lwz r3, 0x4(r30)
/* 801301D4 0012C014 80 03 00 20 */ lwz r0, 0x20(r3)
/* 801301D8 0012C018 2C 00 00 00 */ cmpwi r0, 0x0
/* 801301DC 0012C01C 40 82 00 30 */ bne lbl_8013020C
/* 801301E0 0012C020 3B BE 00 0C */ addi r29, r30, 0xc
/* 801301E4 0012C024 3B 80 00 03 */ li r28, 0x3
.global lbl_801301E8
lbl_801301E8:
/* 801301E8 0012C028 80 7D 01 DC */ lwz r3, 0x1dc(r29)
/* 801301EC 0012C02C 38 9E 01 F8 */ addi r4, r30, 0x1f8
/* 801301F0 0012C030 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801301F4 0012C034 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 801301F8 0012C038 7D 89 03 A6 */ mtctr r12
/* 801301FC 0012C03C 4E 80 04 21 */ bctrl
/* 80130200 0012C040 37 9C FF FF */ addic. r28, r28, -0x1
/* 80130204 0012C044 3B BD FF FC */ addi r29, r29, -0x4
/* 80130208 0012C048 40 80 FF E0 */ bge lbl_801301E8
.global lbl_8013020C
lbl_8013020C:
/* 8013020C 0012C04C 80 9E 03 F4 */ lwz r4, 0x3f4(r30)
/* 80130210 0012C050 80 1E 03 F8 */ lwz r0, 0x3f8(r30)
/* 80130214 0012C054 54 83 40 2E */ slwi r3, r4, 8
/* 80130218 0012C058 7C 64 18 50 */ subf r3, r4, r3
/* 8013021C 0012C05C 7C 03 03 D6 */ divw r0, r3, r0
/* 80130220 0012C060 54 1D 06 3E */ clrlwi r29, r0, 24
/* 80130224 0012C064 4B FF C1 ED */ bl initgx__10homebuttonFv
/* 80130228 0012C068 88 1E 04 00 */ lbz r0, 0x400(r30)
/* 8013022C 0012C06C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130230 0012C070 41 82 00 28 */ beq lbl_80130258
/* 80130234 0012C074 88 9E 04 01 */ lbz r4, 0x401(r30)
/* 80130238 0012C078 88 7E 04 02 */ lbz r3, 0x402(r30)
/* 8013023C 0012C07C 88 1E 04 03 */ lbz r0, 0x403(r30)
/* 80130240 0012C080 98 81 00 08 */ stb r4, 0x8(r1)
/* 80130244 0012C084 98 61 00 09 */ stb r3, 0x9(r1)
/* 80130248 0012C088 98 01 00 0A */ stb r0, 0xa(r1)
/* 8013024C 0012C08C 9B A1 00 0B */ stb r29, 0xb(r1)
/* 80130250 0012C090 80 01 00 08 */ lwz r0, 0x8(r1)
/* 80130254 0012C094 48 00 00 14 */ b lbl_80130268
.global lbl_80130258
lbl_80130258:
/* 80130258 0012C098 38 00 00 00 */ li r0, 0x0
/* 8013025C 0012C09C 90 01 00 0C */ stw r0, 0xc(r1)
/* 80130260 0012C0A0 9B A1 00 0F */ stb r29, 0xf(r1)
/* 80130264 0012C0A4 80 01 00 0C */ lwz r0, 0xc(r1)
.global lbl_80130268
lbl_80130268:
/* 80130268 0012C0A8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8013026C 0012C0AC 38 81 00 10 */ addi r4, r1, 0x10
/* 80130270 0012C0B0 38 60 00 01 */ li r3, 0x1
/* 80130274 0012C0B4 4B F0 7B 2D */ bl GXSetTevColor
/* 80130278 0012C0B8 38 60 00 80 */ li r3, 0x80
/* 8013027C 0012C0BC 38 80 00 00 */ li r4, 0x0
/* 80130280 0012C0C0 38 A0 00 04 */ li r5, 0x4
/* 80130284 0012C0C4 4B F0 4F ED */ bl GXBegin
/* 80130288 0012C0C8 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 8013028C 0012C0CC C0 1F 02 F8 */ lfs f0, 0x2f8(r31)
/* 80130290 0012C0D0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3)
/* 80130294 0012C0D4 C0 1F 02 F8 */ lfs f0, 0x2f8(r31)
/* 80130298 0012C0D8 D0 03 80 00 */ stfs f0, -0x8000(r3)
/* 8013029C 0012C0DC C0 1F 02 F8 */ lfs f0, 0x2f8(r31)
/* 801302A0 0012C0E0 D0 03 80 00 */ stfs f0, -0x8000(r3)
/* 801302A4 0012C0E4 C0 1F 03 4C */ lfs f0, 0x34c(r31)
/* 801302A8 0012C0E8 D0 03 80 00 */ stfs f0, -0x8000(r3)
/* 801302AC 0012C0EC C0 1F 03 4C */ lfs f0, 0x34c(r31)
/* 801302B0 0012C0F0 D0 03 80 00 */ stfs f0, -0x8000(r3)
/* 801302B4 0012C0F4 C0 1F 03 4C */ lfs f0, 0x34c(r31)
/* 801302B8 0012C0F8 D0 03 80 00 */ stfs f0, -0x8000(r3)
/* 801302BC 0012C0FC C0 1F 03 4C */ lfs f0, 0x34c(r31)
/* 801302C0 0012C100 D0 03 80 00 */ stfs f0, -0x8000(r3)
/* 801302C4 0012C104 C0 1F 02 F8 */ lfs f0, 0x2f8(r31)
/* 801302C8 0012C108 D0 03 80 00 */ stfs f0, -0x8000(r3)
/* 801302CC 0012C10C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801302D0 0012C110 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801302D4 0012C114 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 801302D8 0012C118 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 801302DC 0012C11C 83 81 00 20 */ lwz r28, 0x20(r1)
/* 801302E0 0012C120 7C 08 03 A6 */ mtlr r0
/* 801302E4 0012C124 38 21 00 30 */ addi r1, r1, 0x30
/* 801302E8 0012C128 4E 80 00 20 */ blr
/* 801302EC 0012C12C 00 00 00 00 */ .4byte 0x00000000
.global SpeakerCallback__10homebuttonFP7OSAlarmP9OSContext
SpeakerCallback__10homebuttonFP7OSAlarmP9OSContext:
/* 801302F0 0012C130 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801302F4 0012C134 7C 08 02 A6 */ mflr r0
/* 801302F8 0012C138 90 01 00 24 */ stw r0, 0x24(r1)
/* 801302FC 0012C13C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80130300 0012C140 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80130304 0012C144 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80130308 0012C148 93 81 00 10 */ stw r28, 0x10(r1)
/* 8013030C 0012C14C 4B FC 37 95 */ bl GetMaterial__Q34nw4r3lyt4PaneCFv
/* 80130310 0012C150 3C 80 80 54 */ lis r4, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 80130314 0012C154 54 7D 84 3E */ srwi r29, r3, 16
/* 80130318 0012C158 83 C4 36 C0 */ lwz r30, spHomeButtonObj__Q210homebutton10HomeButton@l(r4)
/* 8013031C 0012C15C 54 7C 04 3E */ clrlwi r28, r3, 16
/* 80130320 0012C160 7F A3 EB 78 */ mr r3, r29
/* 80130324 0012C164 4B F2 86 3D */ bl WPADIsSpeakerEnabled
/* 80130328 0012C168 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013032C 0012C16C 41 82 00 1C */ beq lbl_80130348
/* 80130330 0012C170 57 A0 10 3A */ slwi r0, r29, 2
/* 80130334 0012C174 7F FE 02 14 */ add r31, r30, r0
/* 80130338 0012C178 80 7F 02 4C */ lwz r3, 0x24c(r31)
/* 8013033C 0012C17C 4B FF A7 25 */ bl isPlayReady__Q210homebutton10ControllerCFv
/* 80130340 0012C180 2C 03 00 00 */ cmpwi r3, 0x0
/* 80130344 0012C184 40 82 00 64 */ bne lbl_801303A8
.global lbl_80130348
lbl_80130348:
/* 80130348 0012C188 1C 9D 00 30 */ mulli r4, r29, 0x30
/* 8013034C 0012C18C 57 A3 80 1E */ slwi r3, r29, 16
/* 80130350 0012C190 38 1D 00 02 */ addi r0, r29, 0x2
/* 80130354 0012C194 7C BE 22 14 */ add r5, r30, r4
/* 80130358 0012C198 3B C5 04 C8 */ addi r30, r5, 0x4c8
/* 8013035C 0012C19C 7C 64 03 78 */ or r4, r3, r0
/* 80130360 0012C1A0 7F C3 F3 78 */ mr r3, r30
/* 80130364 0012C1A4 4B FF 8B AD */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 80130368 0012C1A8 7F C3 F3 78 */ mr r3, r30
/* 8013036C 0012C1AC 4B EE B7 F5 */ bl OSCancelAlarm
/* 80130370 0012C1B0 3C 80 80 00 */ lis r4, 0x800000F8@ha
/* 80130374 0012C1B4 3C E0 80 13 */ lis r7, SpeakerCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 80130378 0012C1B8 80 04 00 F8 */ lwz r0, 0x800000F8@l(r4)
/* 8013037C 0012C1BC 3C 60 10 62 */ lis r3, 0x1062
/* 80130380 0012C1C0 38 83 4D D3 */ addi r4, r3, 0x4dd3
/* 80130384 0012C1C4 38 E7 02 F0 */ addi r7, r7, SpeakerCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 80130388 0012C1C8 54 00 F0 BE */ srwi r0, r0, 2
/* 8013038C 0012C1CC 7F C3 F3 78 */ mr r3, r30
/* 80130390 0012C1D0 7C 04 00 16 */ mulhwu r0, r4, r0
/* 80130394 0012C1D4 38 A0 00 00 */ li r5, 0x0
/* 80130398 0012C1D8 54 00 D1 BE */ srwi r0, r0, 6
/* 8013039C 0012C1DC 1C C0 00 32 */ mulli r6, r0, 0x32
/* 801303A0 0012C1E0 4B EE B6 C1 */ bl OSSetAlarm
/* 801303A4 0012C1E4 48 00 00 10 */ b lbl_801303B4
.global lbl_801303A8
lbl_801303A8:
/* 801303A8 0012C1E8 80 7F 02 4C */ lwz r3, 0x24c(r31)
/* 801303AC 0012C1EC 7F 84 E3 78 */ mr r4, r28
/* 801303B0 0012C1F0 4B FF A3 61 */ bl playSound__Q210homebutton10ControllerFi
.global lbl_801303B4
lbl_801303B4:
/* 801303B4 0012C1F4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801303B8 0012C1F8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801303BC 0012C1FC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801303C0 0012C200 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801303C4 0012C204 83 81 00 10 */ lwz r28, 0x10(r1)
/* 801303C8 0012C208 7C 08 03 A6 */ mtlr r0
/* 801303CC 0012C20C 38 21 00 20 */ addi r1, r1, 0x20
/* 801303D0 0012C210 4E 80 00 20 */ blr
/* 801303D4 0012C214 00 00 00 00 */ .4byte 0x00000000
/* 801303D8 0012C218 00 00 00 00 */ .4byte 0x00000000
/* 801303DC 0012C21C 00 00 00 00 */ .4byte 0x00000000
.global MotorCallback__10homebuttonFP7OSAlarmP9OSContext
MotorCallback__10homebuttonFP7OSAlarmP9OSContext:
/* 801303E0 0012C220 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801303E4 0012C224 7C 08 02 A6 */ mflr r0
/* 801303E8 0012C228 90 01 00 14 */ stw r0, 0x14(r1)
/* 801303EC 0012C22C 4B FC 36 B5 */ bl GetMaterial__Q34nw4r3lyt4PaneCFv
/* 801303F0 0012C230 4B FF A6 F1 */ bl stopMotor__Q210homebutton10ControllerFv
/* 801303F4 0012C234 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801303F8 0012C238 7C 08 03 A6 */ mtlr r0
/* 801303FC 0012C23C 38 21 00 10 */ addi r1, r1, 0x10
/* 80130400 0012C240 4E 80 00 20 */ blr
/* 80130404 0012C244 00 00 00 00 */ .4byte 0x00000000
/* 80130408 0012C248 00 00 00 00 */ .4byte 0x00000000
/* 8013040C 0012C24C 00 00 00 00 */ .4byte 0x00000000
.global RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext
RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext:
/* 80130410 0012C250 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80130414 0012C254 7C 08 02 A6 */ mflr r0
/* 80130418 0012C258 3C 80 80 54 */ lis r4, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8013041C 0012C25C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80130420 0012C260 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80130424 0012C264 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80130428 0012C268 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013042C 0012C26C 83 E4 36 C0 */ lwz r31, spHomeButtonObj__Q210homebutton10HomeButton@l(r4)
/* 80130430 0012C270 4B FC 36 71 */ bl GetMaterial__Q34nw4r3lyt4PaneCFv
/* 80130434 0012C274 2C 03 00 00 */ cmpwi r3, 0x0
/* 80130438 0012C278 7C 7E 1B 78 */ mr r30, r3
/* 8013043C 0012C27C 3B A0 00 00 */ li r29, 0x0
/* 80130440 0012C280 40 82 00 20 */ bne lbl_80130460
/* 80130444 0012C284 4B F2 60 1D */ bl WPADStartFastSimpleSync
/* 80130448 0012C288 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013044C 0012C28C 41 82 00 24 */ beq lbl_80130470
/* 80130450 0012C290 38 00 00 01 */ li r0, 0x1
/* 80130454 0012C294 98 1F 00 91 */ stb r0, 0x91(r31)
/* 80130458 0012C298 3B A0 00 01 */ li r29, 0x1
/* 8013045C 0012C29C 48 00 00 14 */ b lbl_80130470
.global lbl_80130460
lbl_80130460:
/* 80130460 0012C2A0 4B F2 60 11 */ bl WPADStopSimpleSync
/* 80130464 0012C2A4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80130468 0012C2A8 41 82 00 08 */ beq lbl_80130470
/* 8013046C 0012C2AC 3B A0 00 01 */ li r29, 0x1
.global lbl_80130470
lbl_80130470:
/* 80130470 0012C2B0 2C 1D 00 00 */ cmpwi r29, 0x0
/* 80130474 0012C2B4 40 82 00 4C */ bne lbl_801304C0
/* 80130478 0012C2B8 38 7F 05 88 */ addi r3, r31, 0x588
/* 8013047C 0012C2BC 4B EE B6 E5 */ bl OSCancelAlarm
/* 80130480 0012C2C0 7F C4 F3 78 */ mr r4, r30
/* 80130484 0012C2C4 38 7F 05 88 */ addi r3, r31, 0x588
/* 80130488 0012C2C8 4B FF 8A 89 */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 8013048C 0012C2CC 3C 80 80 00 */ lis r4, 0x800000F8@ha
/* 80130490 0012C2D0 3C E0 80 13 */ lis r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 80130494 0012C2D4 80 04 00 F8 */ lwz r0, 0x800000F8@l(r4)
/* 80130498 0012C2D8 3C 60 10 62 */ lis r3, 0x1062
/* 8013049C 0012C2DC 38 83 4D D3 */ addi r4, r3, 0x4dd3
/* 801304A0 0012C2E0 38 E7 04 10 */ addi r7, r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 801304A4 0012C2E4 54 00 F0 BE */ srwi r0, r0, 2
/* 801304A8 0012C2E8 38 7F 05 88 */ addi r3, r31, 0x588
/* 801304AC 0012C2EC 7C 04 00 16 */ mulhwu r0, r4, r0
/* 801304B0 0012C2F0 38 A0 00 00 */ li r5, 0x0
/* 801304B4 0012C2F4 54 00 D1 BE */ srwi r0, r0, 6
/* 801304B8 0012C2F8 1C C0 00 64 */ mulli r6, r0, 0x64
/* 801304BC 0012C2FC 4B EE B5 A5 */ bl OSSetAlarm
.global lbl_801304C0
lbl_801304C0:
/* 801304C0 0012C300 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801304C4 0012C304 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801304C8 0012C308 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801304CC 0012C30C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801304D0 0012C310 7C 08 03 A6 */ mtlr r0
/* 801304D4 0012C314 38 21 00 20 */ addi r1, r1, 0x20
/* 801304D8 0012C318 4E 80 00 20 */ blr
/* 801304DC 0012C31C 00 00 00 00 */ .4byte 0x00000000
.global SimpleSyncCallback__10homebuttonFll
SimpleSyncCallback__10homebuttonFll:
/* 801304E0 0012C320 2C 03 00 01 */ cmpwi r3, 0x1
/* 801304E4 0012C324 40 82 00 14 */ bne lbl_801304F8
/* 801304E8 0012C328 3C A0 80 54 */ lis r5, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 801304EC 0012C32C 38 00 00 01 */ li r0, 0x1
/* 801304F0 0012C330 80 A5 36 C0 */ lwz r5, spHomeButtonObj__Q210homebutton10HomeButton@l(r5)
/* 801304F4 0012C334 98 05 00 92 */ stb r0, 0x92(r5)
.global lbl_801304F8
lbl_801304F8:
/* 801304F8 0012C338 3C A0 80 54 */ lis r5, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 801304FC 0012C33C 80 A5 36 C0 */ lwz r5, spHomeButtonObj__Q210homebutton10HomeButton@l(r5)
/* 80130500 0012C340 81 85 01 AC */ lwz r12, 0x1ac(r5)
/* 80130504 0012C344 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80130508 0012C348 4D 82 00 20 */ beqlr
/* 8013050C 0012C34C 7D 89 03 A6 */ mtctr r12
/* 80130510 0012C350 4E 80 04 20 */ bctr
/* 80130514 0012C354 4E 80 00 20 */ blr
/* 80130518 0012C358 00 00 00 00 */ .4byte 0x00000000
/* 8013051C 0012C35C 00 00 00 00 */ .4byte 0x00000000
.global update__Q210homebutton10HomeButtonFPC17HBMControllerData
update__Q210homebutton10HomeButtonFPC17HBMControllerData:
/* 80130520 0012C360 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 80130524 0012C364 7C 08 02 A6 */ mflr r0
/* 80130528 0012C368 90 01 01 04 */ stw r0, 0x104(r1)
/* 8013052C 0012C36C 39 61 00 B0 */ addi r11, r1, 0xb0
/* 80130530 0012C370 DB E1 00 F0 */ stfd f31, 0xf0(r1)
/* 80130534 0012C374 F3 E1 00 F8 */ psq_st f31, 0xf8(r1), 0, qr0
/* 80130538 0012C378 DB C1 00 E0 */ stfd f30, 0xe0(r1)
/* 8013053C 0012C37C F3 C1 00 E8 */ psq_st f30, 0xe8(r1), 0, qr0
/* 80130540 0012C380 DB A1 00 D0 */ stfd f29, 0xd0(r1)
/* 80130544 0012C384 F3 A1 00 D8 */ psq_st f29, 0xd8(r1), 0, qr0
/* 80130548 0012C388 DB 81 00 C0 */ stfd f28, 0xc0(r1)
/* 8013054C 0012C38C F3 81 00 C8 */ psq_st f28, 0xc8(r1), 0, qr0
/* 80130550 0012C390 DB 61 00 B0 */ stfd f27, 0xb0(r1)
/* 80130554 0012C394 F3 61 00 B8 */ psq_st f27, 0xb8(r1), 0, qr0
/* 80130558 0012C398 4B ED 6D B1 */ bl __save_gpr
/* 8013055C 0012C39C 3F 80 80 41 */ lis r28, "@9436_8040DE40"@ha
/* 80130560 0012C3A0 3F A0 80 44 */ lis r29, "@9521_80443068"@ha
/* 80130564 0012C3A4 3B 9C DE 40 */ addi r28, r28, "@9436_8040DE40"@l
/* 80130568 0012C3A8 7C 6F 1B 78 */ mr r15, r3
/* 8013056C 0012C3AC 3F 00 80 54 */ lis r24, sWpadInfo__Q210homebutton10HomeButton@ha
/* 80130570 0012C3B0 3B BD 30 68 */ addi r29, r29, "@9521_80443068"@l
/* 80130574 0012C3B4 C3 FC 03 50 */ lfs f31, 0x350(r28)
/* 80130578 0012C3B8 7C 9B 23 78 */ mr r27, r4
/* 8013057C 0012C3BC C3 7C 03 1C */ lfs f27, 0x31c(r28)
/* 80130580 0012C3C0 7D FA 7B 78 */ mr r26, r15
/* 80130584 0012C3C4 C3 BC 03 58 */ lfs f29, 0x358(r28)
/* 80130588 0012C3C8 7C 99 23 78 */ mr r25, r4
/* 8013058C 0012C3CC C3 DC 02 E4 */ lfs f30, 0x2e4(r28)
/* 80130590 0012C3D0 3B 18 36 E0 */ addi r24, r24, sWpadInfo__Q210homebutton10HomeButton@l
/* 80130594 0012C3D4 C3 9C 03 54 */ lfs f28, 0x354(r28)
/* 80130598 0012C3D8 3A E3 04 08 */ addi r23, r3, 0x408
/* 8013059C 0012C3DC 3A A3 04 C8 */ addi r21, r3, 0x4c8
/* 801305A0 0012C3E0 3A 9D 0A F0 */ addi r20, r29, 0xaf0
/* 801305A4 0012C3E4 3A 20 00 00 */ li r17, 0x0
/* 801305A8 0012C3E8 3A C0 00 00 */ li r22, 0x0
/* 801305AC 0012C3EC 3B C0 00 01 */ li r30, 0x1
/* 801305B0 0012C3F0 3B E0 00 00 */ li r31, 0x0
/* 801305B4 0012C3F4 3D C0 80 00 */ lis r14, 0x800000F8@ha
.global lbl_801305B8
lbl_801305B8:
/* 801305B8 0012C3F8 80 DB 00 00 */ lwz r6, 0x0(r27)
/* 801305BC 0012C3FC 2C 06 00 00 */ cmpwi r6, 0x0
/* 801305C0 0012C400 41 82 05 F4 */ beq lbl_80130BB4
/* 801305C4 0012C404 88 06 00 5D */ lbz r0, 0x5d(r6)
/* 801305C8 0012C408 7C 05 07 74 */ extsb r5, r0
/* 801305CC 0012C40C 2C 05 FF FF */ cmpwi r5, -0x1
/* 801305D0 0012C410 41 82 01 60 */ beq lbl_80130730
/* 801305D4 0012C414 3C 60 80 54 */ lis r3, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 801305D8 0012C418 80 9A 00 58 */ lwz r4, 0x58(r26)
/* 801305DC 0012C41C 80 63 36 C0 */ lwz r3, spHomeButtonObj__Q210homebutton10HomeButton@l(r3)
/* 801305E0 0012C420 80 63 00 04 */ lwz r3, 0x4(r3)
/* 801305E4 0012C424 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 801305E8 0012C428 EC 1F 00 24 */ fdivs f0, f31, f0
/* 801305EC 0012C42C EC 1B 00 2A */ fadds f0, f27, f0
/* 801305F0 0012C430 FC 00 00 1E */ fctiwz f0, f0
/* 801305F4 0012C434 D8 01 00 60 */ stfd f0, 0x60(r1)
/* 801305F8 0012C438 80 01 00 64 */ lwz r0, 0x64(r1)
/* 801305FC 0012C43C 7C 04 00 00 */ cmpw r4, r0
/* 80130600 0012C440 40 81 00 B0 */ ble lbl_801306B0
/* 80130604 0012C444 2C 05 00 00 */ cmpwi r5, 0x0
/* 80130608 0012C448 41 82 00 0C */ beq lbl_80130614
/* 8013060C 0012C44C 2C 05 FF F9 */ cmpwi r5, -0x7
/* 80130610 0012C450 40 82 00 A8 */ bne lbl_801306B8
.global lbl_80130614
lbl_80130614:
/* 80130614 0012C454 80 7B 00 0C */ lwz r3, 0xc(r27)
/* 80130618 0012C458 28 03 00 02 */ cmplwi r3, 0x2
/* 8013061C 0012C45C 40 82 00 10 */ bne lbl_8013062C
/* 80130620 0012C460 88 06 00 5C */ lbz r0, 0x5c(r6)
/* 80130624 0012C464 28 00 00 02 */ cmplwi r0, 0x2
/* 80130628 0012C468 41 82 00 34 */ beq lbl_8013065C
.global lbl_8013062C
lbl_8013062C:
/* 8013062C 0012C46C 28 03 00 07 */ cmplwi r3, 0x7
/* 80130630 0012C470 40 82 00 10 */ bne lbl_80130640
/* 80130634 0012C474 88 06 00 5C */ lbz r0, 0x5c(r6)
/* 80130638 0012C478 28 00 00 07 */ cmplwi r0, 0x7
/* 8013063C 0012C47C 41 82 00 20 */ beq lbl_8013065C
.global lbl_80130640
lbl_80130640:
/* 80130640 0012C480 88 06 00 5E */ lbz r0, 0x5e(r6)
/* 80130644 0012C484 7C 00 07 75 */ extsb. r0, r0
/* 80130648 0012C488 40 81 00 0C */ ble lbl_80130654
/* 8013064C 0012C48C 38 A0 00 01 */ li r5, 0x1
/* 80130650 0012C490 48 00 00 10 */ b lbl_80130660
.global lbl_80130654
lbl_80130654:
/* 80130654 0012C494 38 A0 00 00 */ li r5, 0x0
/* 80130658 0012C498 48 00 00 08 */ b lbl_80130660
.global lbl_8013065C
lbl_8013065C:
/* 8013065C 0012C49C 38 A0 00 01 */ li r5, 0x1
.global lbl_80130660
lbl_80130660:
/* 80130660 0012C4A0 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130664 0012C4A4 7F 24 CB 78 */ mr r4, r25
/* 80130668 0012C4A8 4B FF 9E 99 */ bl setKpad__Q210homebutton10ControllerFPC11HBMKPadDatab
/* 8013066C 0012C4AC 80 6F 00 04 */ lwz r3, 0x4(r15)
/* 80130670 0012C4B0 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80130674 0012C4B4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130678 0012C4B8 40 82 00 40 */ bne lbl_801306B8
/* 8013067C 0012C4BC 80 7A 01 DC */ lwz r3, 0x1dc(r26)
/* 80130680 0012C4C0 38 A0 00 01 */ li r5, 0x1
/* 80130684 0012C4C4 80 9D 00 58 */ lwz r4, 0x58(r29)
/* 80130688 0012C4C8 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8013068C 0012C4CC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130690 0012C4D0 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130694 0012C4D4 7D 89 03 A6 */ mtctr r12
/* 80130698 0012C4D8 4E 80 04 21 */ bctrl
/* 8013069C 0012C4DC 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 801306A0 0012C4E0 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 801306A4 0012C4E4 60 00 00 01 */ ori r0, r0, 0x1
/* 801306A8 0012C4E8 98 03 00 CF */ stb r0, 0xcf(r3)
/* 801306AC 0012C4EC 48 00 00 0C */ b lbl_801306B8
.global lbl_801306B0
lbl_801306B0:
/* 801306B0 0012C4F0 38 04 00 01 */ addi r0, r4, 0x1
/* 801306B4 0012C4F4 90 1A 00 58 */ stw r0, 0x58(r26)
.global lbl_801306B8
lbl_801306B8:
/* 801306B8 0012C4F8 80 9B 00 0C */ lwz r4, 0xc(r27)
/* 801306BC 0012C4FC 28 04 00 02 */ cmplwi r4, 0x2
/* 801306C0 0012C500 40 82 00 14 */ bne lbl_801306D4
/* 801306C4 0012C504 80 7B 00 00 */ lwz r3, 0x0(r27)
/* 801306C8 0012C508 88 03 00 5C */ lbz r0, 0x5c(r3)
/* 801306CC 0012C50C 28 00 00 02 */ cmplwi r0, 0x2
/* 801306D0 0012C510 41 82 00 A4 */ beq lbl_80130774
.global lbl_801306D4
lbl_801306D4:
/* 801306D4 0012C514 28 04 00 07 */ cmplwi r4, 0x7
/* 801306D8 0012C518 40 82 00 14 */ bne lbl_801306EC
/* 801306DC 0012C51C 80 7B 00 00 */ lwz r3, 0x0(r27)
/* 801306E0 0012C520 88 03 00 5C */ lbz r0, 0x5c(r3)
/* 801306E4 0012C524 28 00 00 07 */ cmplwi r0, 0x7
/* 801306E8 0012C528 41 82 00 8C */ beq lbl_80130774
.global lbl_801306EC
lbl_801306EC:
/* 801306EC 0012C52C 80 7B 00 00 */ lwz r3, 0x0(r27)
/* 801306F0 0012C530 88 03 00 5E */ lbz r0, 0x5e(r3)
/* 801306F4 0012C534 7C 00 07 75 */ extsb. r0, r0
/* 801306F8 0012C538 41 81 00 7C */ bgt lbl_80130774
/* 801306FC 0012C53C 7E 23 8B 78 */ mr r3, r17
/* 80130700 0012C540 38 81 00 08 */ addi r4, r1, 0x8
/* 80130704 0012C544 4B F2 74 AD */ bl WPADProbe
/* 80130708 0012C548 80 9B 00 00 */ lwz r4, 0x0(r27)
/* 8013070C 0012C54C 88 04 00 5D */ lbz r0, 0x5d(r4)
/* 80130710 0012C550 7C 00 07 74 */ extsb r0, r0
/* 80130714 0012C554 2C 00 FF FE */ cmpwi r0, -0x2
/* 80130718 0012C558 41 82 00 5C */ beq lbl_80130774
/* 8013071C 0012C55C 2C 03 FF FE */ cmpwi r3, -0x2
/* 80130720 0012C560 41 82 00 54 */ beq lbl_80130774
/* 80130724 0012C564 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130728 0012C568 4B FF 9F A9 */ bl setInValidPos__Q210homebutton10ControllerFv
/* 8013072C 0012C56C 48 00 00 48 */ b lbl_80130774
.global lbl_80130730
lbl_80130730:
/* 80130730 0012C570 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130734 0012C574 4B FF 9F 9D */ bl setInValidPos__Q210homebutton10ControllerFv
/* 80130738 0012C578 80 6F 00 04 */ lwz r3, 0x4(r15)
/* 8013073C 0012C57C 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80130740 0012C580 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130744 0012C584 40 82 00 30 */ bne lbl_80130774
/* 80130748 0012C588 80 7A 01 DC */ lwz r3, 0x1dc(r26)
/* 8013074C 0012C58C 38 A0 00 01 */ li r5, 0x1
/* 80130750 0012C590 80 9D 00 58 */ lwz r4, 0x58(r29)
/* 80130754 0012C594 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80130758 0012C598 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013075C 0012C59C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130760 0012C5A0 7D 89 03 A6 */ mtctr r12
/* 80130764 0012C5A4 4E 80 04 21 */ bctrl
/* 80130768 0012C5A8 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 8013076C 0012C5AC 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 80130770 0012C5B0 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_80130774
lbl_80130774:
/* 80130774 0012C5B4 7C 6F 8A 14 */ add r3, r15, r17
/* 80130778 0012C5B8 88 03 00 80 */ lbz r0, 0x80(r3)
/* 8013077C 0012C5BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130780 0012C5C0 40 82 02 4C */ bne lbl_801309CC
/* 80130784 0012C5C4 92 2F 00 88 */ stw r17, 0x88(r15)
/* 80130788 0012C5C8 7F 04 C3 78 */ mr r4, r24
/* 8013078C 0012C5CC 9B C3 00 80 */ stb r30, 0x80(r3)
/* 80130790 0012C5D0 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130794 0012C5D4 4B FF A3 7D */ bl getInfoAsync__Q210homebutton10ControllerFP8WPADInfo
/* 80130798 0012C5D8 38 00 00 25 */ li r0, 0x25
/* 8013079C 0012C5DC 38 BC 00 68 */ addi r5, r28, 0x68
/* 801307A0 0012C5E0 38 71 00 1F */ addi r3, r17, 0x1f
/* 801307A4 0012C5E4 38 80 00 00 */ li r4, 0x0
/* 801307A8 0012C5E8 7C 09 03 A6 */ mtctr r0
/* 801307AC 0012C5EC 60 00 00 00 */ nop
.global lbl_801307B0
lbl_801307B0:
/* 801307B0 0012C5F0 80 05 00 00 */ lwz r0, 0x0(r5)
/* 801307B4 0012C5F4 7C 03 00 00 */ cmpw r3, r0
/* 801307B8 0012C5F8 40 82 00 14 */ bne lbl_801307CC
/* 801307BC 0012C5FC 80 05 00 04 */ lwz r0, 0x4(r5)
/* 801307C0 0012C600 2C 00 00 11 */ cmpwi r0, 0x11
/* 801307C4 0012C604 40 82 00 08 */ bne lbl_801307CC
/* 801307C8 0012C608 48 00 00 34 */ b lbl_801307FC
.global lbl_801307CC
lbl_801307CC:
/* 801307CC 0012C60C 80 05 00 08 */ lwz r0, 0x8(r5)
/* 801307D0 0012C610 38 84 00 01 */ addi r4, r4, 0x1
/* 801307D4 0012C614 7C 03 00 00 */ cmpw r3, r0
/* 801307D8 0012C618 40 82 00 14 */ bne lbl_801307EC
/* 801307DC 0012C61C 80 05 00 0C */ lwz r0, 0xc(r5)
/* 801307E0 0012C620 2C 00 00 11 */ cmpwi r0, 0x11
/* 801307E4 0012C624 40 82 00 08 */ bne lbl_801307EC
/* 801307E8 0012C628 48 00 00 14 */ b lbl_801307FC
.global lbl_801307EC
lbl_801307EC:
/* 801307EC 0012C62C 38 A5 00 10 */ addi r5, r5, 0x10
/* 801307F0 0012C630 38 84 00 01 */ addi r4, r4, 0x1
/* 801307F4 0012C634 42 00 FF BC */ bdnz lbl_801307B0
/* 801307F8 0012C638 38 80 FF FF */ li r4, -0x1
.global lbl_801307FC
lbl_801307FC:
/* 801307FC 0012C63C 54 80 10 3A */ slwi r0, r4, 2
/* 80130800 0012C640 7C 6F 02 14 */ add r3, r15, r0
/* 80130804 0012C644 82 03 02 90 */ lwz r16, 0x290(r3)
/* 80130808 0012C648 7E 03 83 78 */ mr r3, r16
/* 8013080C 0012C64C 4B FF 7E 05 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80130810 0012C650 38 00 00 25 */ li r0, 0x25
/* 80130814 0012C654 93 D0 00 14 */ stw r30, 0x14(r16)
/* 80130818 0012C658 38 BC 00 68 */ addi r5, r28, 0x68
/* 8013081C 0012C65C 38 71 00 1F */ addi r3, r17, 0x1f
/* 80130820 0012C660 38 80 00 00 */ li r4, 0x0
/* 80130824 0012C664 7C 09 03 A6 */ mtctr r0
.global lbl_80130828
lbl_80130828:
/* 80130828 0012C668 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8013082C 0012C66C 7C 03 00 00 */ cmpw r3, r0
/* 80130830 0012C670 40 82 00 14 */ bne lbl_80130844
/* 80130834 0012C674 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80130838 0012C678 2C 00 00 12 */ cmpwi r0, 0x12
/* 8013083C 0012C67C 40 82 00 08 */ bne lbl_80130844
/* 80130840 0012C680 48 00 00 34 */ b lbl_80130874
.global lbl_80130844
lbl_80130844:
/* 80130844 0012C684 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80130848 0012C688 38 84 00 01 */ addi r4, r4, 0x1
/* 8013084C 0012C68C 7C 03 00 00 */ cmpw r3, r0
/* 80130850 0012C690 40 82 00 14 */ bne lbl_80130864
/* 80130854 0012C694 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80130858 0012C698 2C 00 00 12 */ cmpwi r0, 0x12
/* 8013085C 0012C69C 40 82 00 08 */ bne lbl_80130864
/* 80130860 0012C6A0 48 00 00 14 */ b lbl_80130874
.global lbl_80130864
lbl_80130864:
/* 80130864 0012C6A4 38 A5 00 10 */ addi r5, r5, 0x10
/* 80130868 0012C6A8 38 84 00 01 */ addi r4, r4, 0x1
/* 8013086C 0012C6AC 42 00 FF BC */ bdnz lbl_80130828
/* 80130870 0012C6B0 38 80 FF FF */ li r4, -0x1
.global lbl_80130874
lbl_80130874:
/* 80130874 0012C6B4 54 80 10 3A */ slwi r0, r4, 2
/* 80130878 0012C6B8 38 DC 00 68 */ addi r6, r28, 0x68
/* 8013087C 0012C6BC 7C 8F 02 14 */ add r4, r15, r0
/* 80130880 0012C6C0 38 71 00 1F */ addi r3, r17, 0x1f
/* 80130884 0012C6C4 80 84 02 90 */ lwz r4, 0x290(r4)
/* 80130888 0012C6C8 38 00 00 25 */ li r0, 0x25
/* 8013088C 0012C6CC 38 A0 00 00 */ li r5, 0x0
/* 80130890 0012C6D0 93 E4 00 14 */ stw r31, 0x14(r4)
/* 80130894 0012C6D4 7C 09 03 A6 */ mtctr r0
.global lbl_80130898
lbl_80130898:
/* 80130898 0012C6D8 80 06 00 00 */ lwz r0, 0x0(r6)
/* 8013089C 0012C6DC 7C 03 00 00 */ cmpw r3, r0
/* 801308A0 0012C6E0 40 82 00 14 */ bne lbl_801308B4
/* 801308A4 0012C6E4 80 06 00 04 */ lwz r0, 0x4(r6)
/* 801308A8 0012C6E8 2C 00 00 0F */ cmpwi r0, 0xf
/* 801308AC 0012C6EC 40 82 00 08 */ bne lbl_801308B4
/* 801308B0 0012C6F0 48 00 00 34 */ b lbl_801308E4
.global lbl_801308B4
lbl_801308B4:
/* 801308B4 0012C6F4 80 06 00 08 */ lwz r0, 0x8(r6)
/* 801308B8 0012C6F8 38 A5 00 01 */ addi r5, r5, 0x1
/* 801308BC 0012C6FC 7C 03 00 00 */ cmpw r3, r0
/* 801308C0 0012C700 40 82 00 14 */ bne lbl_801308D4
/* 801308C4 0012C704 80 06 00 0C */ lwz r0, 0xc(r6)
/* 801308C8 0012C708 2C 00 00 0F */ cmpwi r0, 0xf
/* 801308CC 0012C70C 40 82 00 08 */ bne lbl_801308D4
/* 801308D0 0012C710 48 00 00 14 */ b lbl_801308E4
.global lbl_801308D4
lbl_801308D4:
/* 801308D4 0012C714 38 C6 00 10 */ addi r6, r6, 0x10
/* 801308D8 0012C718 38 A5 00 01 */ addi r5, r5, 0x1
/* 801308DC 0012C71C 42 00 FF BC */ bdnz lbl_80130898
/* 801308E0 0012C720 38 A0 FF FF */ li r5, -0x1
.global lbl_801308E4
lbl_801308E4:
/* 801308E4 0012C724 54 A0 10 3A */ slwi r0, r5, 2
/* 801308E8 0012C728 7C 6F 02 14 */ add r3, r15, r0
/* 801308EC 0012C72C 82 03 02 90 */ lwz r16, 0x290(r3)
/* 801308F0 0012C730 7E 03 83 78 */ mr r3, r16
/* 801308F4 0012C734 4B FF 7D 1D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801308F8 0012C738 93 D0 00 14 */ stw r30, 0x14(r16)
/* 801308FC 0012C73C 38 60 00 00 */ li r3, 0x0
/* 80130900 0012C740 80 8F 00 04 */ lwz r4, 0x4(r15)
/* 80130904 0012C744 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80130908 0012C748 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013090C 0012C74C 41 82 00 14 */ beq lbl_80130920
/* 80130910 0012C750 38 91 00 11 */ addi r4, r17, 0x11
/* 80130914 0012C754 38 60 00 05 */ li r3, 0x5
/* 80130918 0012C758 7D 89 03 A6 */ mtctr r12
/* 8013091C 0012C75C 4E 80 04 21 */ bctrl
.global lbl_80130920
lbl_80130920:
/* 80130920 0012C760 2C 03 00 00 */ cmpwi r3, 0x0
/* 80130924 0012C764 40 82 00 0C */ bne lbl_80130930
/* 80130928 0012C768 38 71 00 11 */ addi r3, r17, 0x11
/* 8013092C 0012C76C 4B FF B0 85 */ bl PlaySeq__10homebuttonFi
.global lbl_80130930
lbl_80130930:
/* 80130930 0012C770 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130934 0012C774 4B FF 9D BD */ bl connect__Q210homebutton10ControllerFv
/* 80130938 0012C778 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 8013093C 0012C77C 4B FF A1 35 */ bl startMotor__Q210homebutton10ControllerFv
/* 80130940 0012C780 80 9A 02 4C */ lwz r4, 0x24c(r26)
/* 80130944 0012C784 7E E3 BB 78 */ mr r3, r23
/* 80130948 0012C788 4B FF 85 C9 */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 8013094C 0012C78C 7E E3 BB 78 */ mr r3, r23
/* 80130950 0012C790 4B EE B2 11 */ bl OSCancelAlarm
/* 80130954 0012C794 80 0E 00 F8 */ lwz r0, 0x800000F8@l(r14)
/* 80130958 0012C798 3C 60 10 62 */ lis r3, 0x1062
/* 8013095C 0012C79C 38 C3 4D D3 */ addi r6, r3, 0x4dd3
/* 80130960 0012C7A0 3C 80 80 13 */ lis r4, MotorCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 80130964 0012C7A4 54 00 F0 BE */ srwi r0, r0, 2
/* 80130968 0012C7A8 7E E3 BB 78 */ mr r3, r23
/* 8013096C 0012C7AC 7C 06 00 16 */ mulhwu r0, r6, r0
/* 80130970 0012C7B0 38 E4 03 E0 */ addi r7, r4, MotorCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 80130974 0012C7B4 38 A0 00 00 */ li r5, 0x0
/* 80130978 0012C7B8 54 00 D1 BE */ srwi r0, r0, 6
/* 8013097C 0012C7BC 1C C0 01 2C */ mulli r6, r0, 0x12c
/* 80130980 0012C7C0 4B EE B0 E1 */ bl OSSetAlarm
/* 80130984 0012C7C4 38 11 00 02 */ addi r0, r17, 0x2
/* 80130988 0012C7C8 7E A3 AB 78 */ mr r3, r21
/* 8013098C 0012C7CC 7E C4 03 78 */ or r4, r22, r0
/* 80130990 0012C7D0 4B FF 85 81 */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 80130994 0012C7D4 7E A3 AB 78 */ mr r3, r21
/* 80130998 0012C7D8 4B EE B1 C9 */ bl OSCancelAlarm
/* 8013099C 0012C7DC 80 0E 00 F8 */ lwz r0, 0xf8(r14)
/* 801309A0 0012C7E0 3C 60 10 62 */ lis r3, 0x1062
/* 801309A4 0012C7E4 38 C3 4D D3 */ addi r6, r3, 0x4dd3
/* 801309A8 0012C7E8 3C 80 80 13 */ lis r4, SpeakerCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 801309AC 0012C7EC 54 00 F0 BE */ srwi r0, r0, 2
/* 801309B0 0012C7F0 7E A3 AB 78 */ mr r3, r21
/* 801309B4 0012C7F4 7C 06 00 16 */ mulhwu r0, r6, r0
/* 801309B8 0012C7F8 38 E4 02 F0 */ addi r7, r4, SpeakerCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 801309BC 0012C7FC 38 A0 00 00 */ li r5, 0x0
/* 801309C0 0012C800 54 00 D1 BE */ srwi r0, r0, 6
/* 801309C4 0012C804 1C C0 01 90 */ mulli r6, r0, 0x190
/* 801309C8 0012C808 4B EE B0 99 */ bl OSSetAlarm
.global lbl_801309CC
lbl_801309CC:
/* 801309CC 0012C80C 80 7B 00 00 */ lwz r3, 0x0(r27)
/* 801309D0 0012C810 88 03 00 5D */ lbz r0, 0x5d(r3)
/* 801309D4 0012C814 7C 00 07 75 */ extsb. r0, r0
/* 801309D8 0012C818 41 82 00 0C */ beq lbl_801309E4
/* 801309DC 0012C81C 2C 00 FF F9 */ cmpwi r0, -0x7
/* 801309E0 0012C820 40 82 01 B4 */ bne lbl_80130B94
.global lbl_801309E4
lbl_801309E4:
/* 801309E4 0012C824 80 9B 00 0C */ lwz r4, 0xc(r27)
/* 801309E8 0012C828 28 04 00 02 */ cmplwi r4, 0x2
/* 801309EC 0012C82C 40 82 00 10 */ bne lbl_801309FC
/* 801309F0 0012C830 88 03 00 5C */ lbz r0, 0x5c(r3)
/* 801309F4 0012C834 28 00 00 02 */ cmplwi r0, 0x2
/* 801309F8 0012C838 41 82 00 18 */ beq lbl_80130A10
.global lbl_801309FC
lbl_801309FC:
/* 801309FC 0012C83C 28 04 00 07 */ cmplwi r4, 0x7
/* 80130A00 0012C840 40 82 00 2C */ bne lbl_80130A2C
/* 80130A04 0012C844 88 03 00 5C */ lbz r0, 0x5c(r3)
/* 80130A08 0012C848 28 00 00 07 */ cmplwi r0, 0x7
/* 80130A0C 0012C84C 40 82 00 20 */ bne lbl_80130A2C
.global lbl_80130A10
lbl_80130A10:
/* 80130A10 0012C850 D3 C1 00 48 */ stfs f30, 0x48(r1)
/* 80130A14 0012C854 D3 C1 00 4C */ stfs f30, 0x4c(r1)
/* 80130A18 0012C858 D3 81 00 50 */ stfs f28, 0x50(r1)
/* 80130A1C 0012C85C D3 C1 00 54 */ stfs f30, 0x54(r1)
/* 80130A20 0012C860 D3 C1 00 58 */ stfs f30, 0x58(r1)
/* 80130A24 0012C864 D3 81 00 5C */ stfs f28, 0x5c(r1)
/* 80130A28 0012C868 48 00 00 40 */ b lbl_80130A68
.global lbl_80130A2C
lbl_80130A2C:
/* 80130A2C 0012C86C 80 03 00 38 */ lwz r0, 0x38(r3)
/* 80130A30 0012C870 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80130A34 0012C874 80 03 00 34 */ lwz r0, 0x34(r3)
/* 80130A38 0012C878 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80130A3C 0012C87C 90 01 00 18 */ stw r0, 0x18(r1)
/* 80130A40 0012C880 FC 20 00 50 */ fneg f1, f0
/* 80130A44 0012C884 C0 41 00 18 */ lfs f2, 0x18(r1)
/* 80130A48 0012C888 48 00 F1 C9 */ bl Atan2FIdx__Q26nw4hbm4mathFff
/* 80130A4C 0012C88C EC 1D 00 72 */ fmuls f0, f29, f1
/* 80130A50 0012C890 D3 C1 00 3C */ stfs f30, 0x3c(r1)
/* 80130A54 0012C894 D3 C1 00 40 */ stfs f30, 0x40(r1)
/* 80130A58 0012C898 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 80130A5C 0012C89C D3 C1 00 54 */ stfs f30, 0x54(r1)
/* 80130A60 0012C8A0 D3 C1 00 58 */ stfs f30, 0x58(r1)
/* 80130A64 0012C8A4 D0 01 00 5C */ stfs f0, 0x5c(r1)
.global lbl_80130A68
lbl_80130A68:
/* 80130A68 0012C8A8 80 6F 00 04 */ lwz r3, 0x4(r15)
/* 80130A6C 0012C8AC 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80130A70 0012C8B0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130A74 0012C8B4 40 82 00 74 */ bne lbl_80130AE8
/* 80130A78 0012C8B8 80 7A 01 DC */ lwz r3, 0x1dc(r26)
/* 80130A7C 0012C8BC 38 A0 00 01 */ li r5, 0x1
/* 80130A80 0012C8C0 80 9D 00 64 */ lwz r4, 0x64(r29)
/* 80130A84 0012C8C4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80130A88 0012C8C8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130A8C 0012C8CC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130A90 0012C8D0 7D 89 03 A6 */ mtctr r12
/* 80130A94 0012C8D4 4E 80 04 21 */ bctrl
/* 80130A98 0012C8D8 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 80130A9C 0012C8DC 38 A0 00 01 */ li r5, 0x1
/* 80130AA0 0012C8E0 D0 03 00 38 */ stfs f0, 0x38(r3)
/* 80130AA4 0012C8E4 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 80130AA8 0012C8E8 D0 03 00 3C */ stfs f0, 0x3c(r3)
/* 80130AAC 0012C8EC C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 80130AB0 0012C8F0 D0 03 00 40 */ stfs f0, 0x40(r3)
/* 80130AB4 0012C8F4 80 7A 01 DC */ lwz r3, 0x1dc(r26)
/* 80130AB8 0012C8F8 80 9D 00 70 */ lwz r4, 0x70(r29)
/* 80130ABC 0012C8FC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80130AC0 0012C900 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130AC4 0012C904 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130AC8 0012C908 7D 89 03 A6 */ mtctr r12
/* 80130ACC 0012C90C 4E 80 04 21 */ bctrl
/* 80130AD0 0012C910 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 80130AD4 0012C914 D0 03 00 38 */ stfs f0, 0x38(r3)
/* 80130AD8 0012C918 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 80130ADC 0012C91C D0 03 00 3C */ stfs f0, 0x3c(r3)
/* 80130AE0 0012C920 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 80130AE4 0012C924 D0 03 00 40 */ stfs f0, 0x40(r3)
.global lbl_80130AE8
lbl_80130AE8:
/* 80130AE8 0012C928 80 0F 00 7C */ lwz r0, 0x7c(r15)
/* 80130AEC 0012C92C 2C 00 00 64 */ cmpwi r0, 0x64
/* 80130AF0 0012C930 40 81 00 10 */ ble lbl_80130B00
/* 80130AF4 0012C934 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130AF8 0012C938 7F 04 C3 78 */ mr r4, r24
/* 80130AFC 0012C93C 4B FF A0 15 */ bl getInfoAsync__Q210homebutton10ControllerFP8WPADInfo
.global lbl_80130B00
lbl_80130B00:
/* 80130B00 0012C940 7D E3 7B 78 */ mr r3, r15
/* 80130B04 0012C944 7E 24 8B 78 */ mr r4, r17
/* 80130B08 0012C948 48 00 03 59 */ bl update_controller__Q210homebutton10HomeButtonFi
/* 80130B0C 0012C94C 80 6F 00 04 */ lwz r3, 0x4(r15)
/* 80130B10 0012C950 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80130B14 0012C954 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130B18 0012C958 40 82 00 7C */ bne lbl_80130B94
/* 80130B1C 0012C95C 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130B20 0012C960 4B EF 39 81 */ bl DefaultSwitchThreadCallback
/* 80130B24 0012C964 80 8F 01 D8 */ lwz r4, 0x1d8(r15)
/* 80130B28 0012C968 7C 70 1B 78 */ mr r16, r3
/* 80130B2C 0012C96C 38 61 00 20 */ addi r3, r1, 0x20
/* 80130B30 0012C970 48 00 69 21 */ bl GetLayoutRect__Q36nw4hbm3lyt6LayoutCFv
/* 80130B34 0012C974 80 7A 01 DC */ lwz r3, 0x1dc(r26)
/* 80130B38 0012C978 38 A0 00 01 */ li r5, 0x1
/* 80130B3C 0012C97C C0 50 00 08 */ lfs f2, 0x8(r16)
/* 80130B40 0012C980 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80130B44 0012C984 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 80130B48 0012C988 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130B4C 0012C98C EC 42 00 32 */ fmuls f2, f2, f0
/* 80130B50 0012C990 C0 30 00 0C */ lfs f1, 0xc(r16)
/* 80130B54 0012C994 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80130B58 0012C998 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130B5C 0012C99C EC 01 00 32 */ fmuls f0, f1, f0
/* 80130B60 0012C9A0 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80130B64 0012C9A4 80 9D 00 58 */ lwz r4, 0x58(r29)
/* 80130B68 0012C9A8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80130B6C 0012C9AC 7D 89 03 A6 */ mtctr r12
/* 80130B70 0012C9B0 4E 80 04 21 */ bctrl
/* 80130B74 0012C9B4 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80130B78 0012C9B8 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 80130B7C 0012C9BC C0 21 00 14 */ lfs f1, 0x14(r1)
/* 80130B80 0012C9C0 D0 23 00 30 */ stfs f1, 0x30(r3)
/* 80130B84 0012C9C4 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80130B88 0012C9C8 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80130B8C 0012C9CC D3 C1 00 38 */ stfs f30, 0x38(r1)
/* 80130B90 0012C9D0 D3 C3 00 34 */ stfs f30, 0x34(r3)
.global lbl_80130B94
lbl_80130B94:
/* 80130B94 0012C9D4 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130B98 0012C9D8 4B FF A0 59 */ bl getBatteryFlag__Q210homebutton10ControllerCFv
/* 80130B9C 0012C9DC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80130BA0 0012C9E0 41 82 02 30 */ beq lbl_80130DD0
/* 80130BA4 0012C9E4 7D E3 7B 78 */ mr r3, r15
/* 80130BA8 0012C9E8 7E 24 8B 78 */ mr r4, r17
/* 80130BAC 0012C9EC 4B FF F2 95 */ bl calc_battery__Q210homebutton10HomeButtonFi
/* 80130BB0 0012C9F0 48 00 02 20 */ b lbl_80130DD0
.global lbl_80130BB4
lbl_80130BB4:
/* 80130BB4 0012C9F4 7E 4F 8A 14 */ add r18, r15, r17
/* 80130BB8 0012C9F8 88 12 00 80 */ lbz r0, 0x80(r18)
/* 80130BBC 0012C9FC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130BC0 0012CA00 41 82 01 94 */ beq lbl_80130D54
/* 80130BC4 0012CA04 38 00 00 25 */ li r0, 0x25
/* 80130BC8 0012CA08 38 BC 00 68 */ addi r5, r28, 0x68
/* 80130BCC 0012CA0C 38 71 00 1F */ addi r3, r17, 0x1f
/* 80130BD0 0012CA10 38 80 00 00 */ li r4, 0x0
/* 80130BD4 0012CA14 7C 09 03 A6 */ mtctr r0
.global lbl_80130BD8
lbl_80130BD8:
/* 80130BD8 0012CA18 80 05 00 00 */ lwz r0, 0x0(r5)
/* 80130BDC 0012CA1C 7C 03 00 00 */ cmpw r3, r0
/* 80130BE0 0012CA20 40 82 00 14 */ bne lbl_80130BF4
/* 80130BE4 0012CA24 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80130BE8 0012CA28 2C 00 00 11 */ cmpwi r0, 0x11
/* 80130BEC 0012CA2C 40 82 00 08 */ bne lbl_80130BF4
/* 80130BF0 0012CA30 48 00 00 34 */ b lbl_80130C24
.global lbl_80130BF4
lbl_80130BF4:
/* 80130BF4 0012CA34 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80130BF8 0012CA38 38 84 00 01 */ addi r4, r4, 0x1
/* 80130BFC 0012CA3C 7C 03 00 00 */ cmpw r3, r0
/* 80130C00 0012CA40 40 82 00 14 */ bne lbl_80130C14
/* 80130C04 0012CA44 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80130C08 0012CA48 2C 00 00 11 */ cmpwi r0, 0x11
/* 80130C0C 0012CA4C 40 82 00 08 */ bne lbl_80130C14
/* 80130C10 0012CA50 48 00 00 14 */ b lbl_80130C24
.global lbl_80130C14
lbl_80130C14:
/* 80130C14 0012CA54 38 A5 00 10 */ addi r5, r5, 0x10
/* 80130C18 0012CA58 38 84 00 01 */ addi r4, r4, 0x1
/* 80130C1C 0012CA5C 42 00 FF BC */ bdnz lbl_80130BD8
/* 80130C20 0012CA60 38 80 FF FF */ li r4, -0x1
.global lbl_80130C24
lbl_80130C24:
/* 80130C24 0012CA64 54 80 10 3A */ slwi r0, r4, 2
/* 80130C28 0012CA68 7C 6F 02 14 */ add r3, r15, r0
/* 80130C2C 0012CA6C 82 03 02 90 */ lwz r16, 0x290(r3)
/* 80130C30 0012CA70 7E 03 83 78 */ mr r3, r16
/* 80130C34 0012CA74 4B FF 79 DD */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80130C38 0012CA78 38 00 00 25 */ li r0, 0x25
/* 80130C3C 0012CA7C 93 D0 00 14 */ stw r30, 0x14(r16)
/* 80130C40 0012CA80 38 BC 00 68 */ addi r5, r28, 0x68
/* 80130C44 0012CA84 38 71 00 1F */ addi r3, r17, 0x1f
/* 80130C48 0012CA88 38 80 00 00 */ li r4, 0x0
/* 80130C4C 0012CA8C 7C 09 03 A6 */ mtctr r0
.global lbl_80130C50
lbl_80130C50:
/* 80130C50 0012CA90 80 05 00 00 */ lwz r0, 0x0(r5)
/* 80130C54 0012CA94 7C 03 00 00 */ cmpw r3, r0
/* 80130C58 0012CA98 40 82 00 14 */ bne lbl_80130C6C
/* 80130C5C 0012CA9C 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80130C60 0012CAA0 2C 00 00 12 */ cmpwi r0, 0x12
/* 80130C64 0012CAA4 40 82 00 08 */ bne lbl_80130C6C
/* 80130C68 0012CAA8 48 00 00 34 */ b lbl_80130C9C
.global lbl_80130C6C
lbl_80130C6C:
/* 80130C6C 0012CAAC 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80130C70 0012CAB0 38 84 00 01 */ addi r4, r4, 0x1
/* 80130C74 0012CAB4 7C 03 00 00 */ cmpw r3, r0
/* 80130C78 0012CAB8 40 82 00 14 */ bne lbl_80130C8C
/* 80130C7C 0012CABC 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80130C80 0012CAC0 2C 00 00 12 */ cmpwi r0, 0x12
/* 80130C84 0012CAC4 40 82 00 08 */ bne lbl_80130C8C
/* 80130C88 0012CAC8 48 00 00 14 */ b lbl_80130C9C
.global lbl_80130C8C
lbl_80130C8C:
/* 80130C8C 0012CACC 38 A5 00 10 */ addi r5, r5, 0x10
/* 80130C90 0012CAD0 38 84 00 01 */ addi r4, r4, 0x1
/* 80130C94 0012CAD4 42 00 FF BC */ bdnz lbl_80130C50
/* 80130C98 0012CAD8 38 80 FF FF */ li r4, -0x1
.global lbl_80130C9C
lbl_80130C9C:
/* 80130C9C 0012CADC 54 80 10 3A */ slwi r0, r4, 2
/* 80130CA0 0012CAE0 7C 6F 02 14 */ add r3, r15, r0
/* 80130CA4 0012CAE4 82 03 02 90 */ lwz r16, 0x290(r3)
/* 80130CA8 0012CAE8 7E 03 83 78 */ mr r3, r16
/* 80130CAC 0012CAEC 4B FF 79 65 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80130CB0 0012CAF0 93 D0 00 14 */ stw r30, 0x14(r16)
/* 80130CB4 0012CAF4 7E 93 A3 78 */ mr r19, r20
/* 80130CB8 0012CAF8 3A 00 00 00 */ li r16, 0x0
.global lbl_80130CBC
lbl_80130CBC:
/* 80130CBC 0012CAFC 80 6F 01 D8 */ lwz r3, 0x1d8(r15)
/* 80130CC0 0012CB00 38 A0 00 01 */ li r5, 0x1
/* 80130CC4 0012CB04 80 93 00 00 */ lwz r4, 0x0(r19)
/* 80130CC8 0012CB08 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80130CCC 0012CB0C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130CD0 0012CB10 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130CD4 0012CB14 7D 89 03 A6 */ mtctr r12
/* 80130CD8 0012CB18 4E 80 04 21 */ bctrl
/* 80130CDC 0012CB1C 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 80130CE0 0012CB20 3A 10 00 01 */ addi r16, r16, 0x1
/* 80130CE4 0012CB24 2C 10 00 04 */ cmpwi r16, 0x4
/* 80130CE8 0012CB28 3A 73 00 04 */ addi r19, r19, 0x4
/* 80130CEC 0012CB2C 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 80130CF0 0012CB30 98 03 00 CF */ stb r0, 0xcf(r3)
/* 80130CF4 0012CB34 41 80 FF C8 */ blt lbl_80130CBC
/* 80130CF8 0012CB38 80 6F 00 04 */ lwz r3, 0x4(r15)
/* 80130CFC 0012CB3C 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80130D00 0012CB40 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130D04 0012CB44 40 82 00 30 */ bne lbl_80130D34
/* 80130D08 0012CB48 80 7A 01 DC */ lwz r3, 0x1dc(r26)
/* 80130D0C 0012CB4C 38 A0 00 01 */ li r5, 0x1
/* 80130D10 0012CB50 80 9D 00 58 */ lwz r4, 0x58(r29)
/* 80130D14 0012CB54 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80130D18 0012CB58 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130D1C 0012CB5C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130D20 0012CB60 7D 89 03 A6 */ mtctr r12
/* 80130D24 0012CB64 4E 80 04 21 */ bctrl
/* 80130D28 0012CB68 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 80130D2C 0012CB6C 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 80130D30 0012CB70 98 03 00 CF */ stb r0, 0xcf(r3)
.global lbl_80130D34
lbl_80130D34:
/* 80130D34 0012CB74 93 FA 00 58 */ stw r31, 0x58(r26)
/* 80130D38 0012CB78 9B F2 00 80 */ stb r31, 0x80(r18)
/* 80130D3C 0012CB7C 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130D40 0012CB80 4B FF 99 91 */ bl setInValidPos__Q210homebutton10ControllerFv
/* 80130D44 0012CB84 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130D48 0012CB88 4B FF 99 69 */ bl clrKpadButton__Q210homebutton10ControllerFv
/* 80130D4C 0012CB8C 80 7A 02 4C */ lwz r3, 0x24c(r26)
/* 80130D50 0012CB90 4B EF 37 51 */ bl DefaultSwitchThreadCallback
.global lbl_80130D54
lbl_80130D54:
/* 80130D54 0012CB94 2C 11 00 00 */ cmpwi r17, 0x0
/* 80130D58 0012CB98 40 80 00 48 */ bge lbl_80130DA0
/* 80130D5C 0012CB9C 3A 00 00 00 */ li r16, 0x0
.global lbl_80130D60
lbl_80130D60:
/* 80130D60 0012CBA0 80 6F 01 F0 */ lwz r3, 0x1f0(r15)
/* 80130D64 0012CBA4 7E 04 83 78 */ mr r4, r16
/* 80130D68 0012CBA8 C0 3C 02 FC */ lfs f1, 0x2fc(r28)
/* 80130D6C 0012CBAC 38 A0 00 00 */ li r5, 0x0
/* 80130D70 0012CBB0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130D74 0012CBB4 38 C0 00 00 */ li r6, 0x0
/* 80130D78 0012CBB8 FC 40 08 90 */ fmr f2, f1
/* 80130D7C 0012CBBC 38 E0 00 00 */ li r7, 0x0
/* 80130D80 0012CBC0 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80130D84 0012CBC4 39 00 00 00 */ li r8, 0x0
/* 80130D88 0012CBC8 7D 89 03 A6 */ mtctr r12
/* 80130D8C 0012CBCC 4E 80 04 21 */ bctrl
/* 80130D90 0012CBD0 3A 10 00 01 */ addi r16, r16, 0x1
/* 80130D94 0012CBD4 2C 10 00 08 */ cmpwi r16, 0x8
/* 80130D98 0012CBD8 41 80 FF C8 */ blt lbl_80130D60
/* 80130D9C 0012CBDC 48 00 00 34 */ b lbl_80130DD0
.global lbl_80130DA0
lbl_80130DA0:
/* 80130DA0 0012CBE0 80 6F 01 F0 */ lwz r3, 0x1f0(r15)
/* 80130DA4 0012CBE4 7E 24 8B 78 */ mr r4, r17
/* 80130DA8 0012CBE8 C0 3C 02 FC */ lfs f1, 0x2fc(r28)
/* 80130DAC 0012CBEC 38 A0 00 00 */ li r5, 0x0
/* 80130DB0 0012CBF0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130DB4 0012CBF4 38 C0 00 00 */ li r6, 0x0
/* 80130DB8 0012CBF8 FC 40 08 90 */ fmr f2, f1
/* 80130DBC 0012CBFC 38 E0 00 00 */ li r7, 0x0
/* 80130DC0 0012CC00 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80130DC4 0012CC04 39 00 00 00 */ li r8, 0x0
/* 80130DC8 0012CC08 7D 89 03 A6 */ mtctr r12
/* 80130DCC 0012CC0C 4E 80 04 21 */ bctrl
.global lbl_80130DD0
lbl_80130DD0:
/* 80130DD0 0012CC10 3A 31 00 01 */ addi r17, r17, 0x1
/* 80130DD4 0012CC14 3E D6 00 01 */ addis r22, r22, 0x1
/* 80130DD8 0012CC18 2C 11 00 04 */ cmpwi r17, 0x4
/* 80130DDC 0012CC1C 3A B5 00 30 */ addi r21, r21, 0x30
/* 80130DE0 0012CC20 3A 94 00 10 */ addi r20, r20, 0x10
/* 80130DE4 0012CC24 3B 7B 00 10 */ addi r27, r27, 0x10
/* 80130DE8 0012CC28 3B 5A 00 04 */ addi r26, r26, 0x4
/* 80130DEC 0012CC2C 3B 39 00 10 */ addi r25, r25, 0x10
/* 80130DF0 0012CC30 3B 18 00 18 */ addi r24, r24, 0x18
/* 80130DF4 0012CC34 3A F7 00 30 */ addi r23, r23, 0x30
/* 80130DF8 0012CC38 41 80 F7 C0 */ blt lbl_801305B8
/* 80130DFC 0012CC3C 80 6F 00 7C */ lwz r3, 0x7c(r15)
/* 80130E00 0012CC40 2C 03 00 64 */ cmpwi r3, 0x64
/* 80130E04 0012CC44 40 81 00 10 */ ble lbl_80130E14
/* 80130E08 0012CC48 38 00 00 00 */ li r0, 0x0
/* 80130E0C 0012CC4C 90 0F 00 7C */ stw r0, 0x7c(r15)
/* 80130E10 0012CC50 48 00 00 0C */ b lbl_80130E1C
.global lbl_80130E14
lbl_80130E14:
/* 80130E14 0012CC54 38 03 00 01 */ addi r0, r3, 0x1
/* 80130E18 0012CC58 90 0F 00 7C */ stw r0, 0x7c(r15)
.global lbl_80130E1C
lbl_80130E1C:
/* 80130E1C 0012CC5C 39 61 00 B0 */ addi r11, r1, 0xb0
/* 80130E20 0012CC60 E3 E1 00 F8 */ psq_l f31, 0xf8(r1), 0, qr0
/* 80130E24 0012CC64 CB E1 00 F0 */ lfd f31, 0xf0(r1)
/* 80130E28 0012CC68 E3 C1 00 E8 */ psq_l f30, 0xe8(r1), 0, qr0
/* 80130E2C 0012CC6C CB C1 00 E0 */ lfd f30, 0xe0(r1)
/* 80130E30 0012CC70 E3 A1 00 D8 */ psq_l f29, 0xd8(r1), 0, qr0
/* 80130E34 0012CC74 CB A1 00 D0 */ lfd f29, 0xd0(r1)
/* 80130E38 0012CC78 E3 81 00 C8 */ psq_l f28, 0xc8(r1), 0, qr0
/* 80130E3C 0012CC7C CB 81 00 C0 */ lfd f28, 0xc0(r1)
/* 80130E40 0012CC80 E3 61 00 B8 */ psq_l f27, 0xb8(r1), 0, qr0
/* 80130E44 0012CC84 CB 61 00 B0 */ lfd f27, 0xb0(r1)
/* 80130E48 0012CC88 4B ED 65 0D */ bl __restore_gpr
/* 80130E4C 0012CC8C 80 01 01 04 */ lwz r0, 0x104(r1)
/* 80130E50 0012CC90 7C 08 03 A6 */ mtlr r0
/* 80130E54 0012CC94 38 21 01 00 */ addi r1, r1, 0x100
/* 80130E58 0012CC98 4E 80 00 20 */ blr
/* 80130E5C 0012CC9C 00 00 00 00 */ .4byte 0x00000000
.global update_controller__Q210homebutton10HomeButtonFi
update_controller__Q210homebutton10HomeButtonFi:
/* 80130E60 0012CCA0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80130E64 0012CCA4 7C 08 02 A6 */ mflr r0
/* 80130E68 0012CCA8 3C A0 43 30 */ lis r5, 0x4330
/* 80130E6C 0012CCAC 90 01 00 54 */ stw r0, 0x54(r1)
/* 80130E70 0012CCB0 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 80130E74 0012CCB4 F3 E1 00 48 */ psq_st f31, 0x48(r1), 0, qr0
/* 80130E78 0012CCB8 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 80130E7C 0012CCBC F3 C1 00 38 */ psq_st f30, 0x38(r1), 0, qr0
/* 80130E80 0012CCC0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80130E84 0012CCC4 3F E0 80 41 */ lis r31, "@9436_8040DE40"@ha
/* 80130E88 0012CCC8 3B FF DE 40 */ addi r31, r31, "@9436_8040DE40"@l
/* 80130E8C 0012CCCC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80130E90 0012CCD0 7C 7E 1B 78 */ mr r30, r3
/* 80130E94 0012CCD4 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80130E98 0012CCD8 93 81 00 20 */ stw r28, 0x20(r1)
/* 80130E9C 0012CCDC 7C 9C 23 78 */ mr r28, r4
/* 80130EA0 0012CCE0 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80130EA4 0012CCE4 90 A1 00 08 */ stw r5, 0x8(r1)
/* 80130EA8 0012CCE8 2C 00 00 02 */ cmpwi r0, 0x2
/* 80130EAC 0012CCEC 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80130EB0 0012CCF0 40 82 07 FC */ bne lbl_801316AC
/* 80130EB4 0012CCF4 54 80 10 3A */ slwi r0, r4, 2
/* 80130EB8 0012CCF8 7C 63 02 14 */ add r3, r3, r0
/* 80130EBC 0012CCFC 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 80130EC0 0012CD00 4B EF 35 E1 */ bl DefaultSwitchThreadCallback
/* 80130EC4 0012CD04 C0 7F 03 5C */ lfs f3, 0x35c(r31)
/* 80130EC8 0012CD08 7C 7D 1B 78 */ mr r29, r3
/* 80130ECC 0012CD0C C0 43 00 08 */ lfs f2, 0x8(r3)
/* 80130ED0 0012CD10 C0 3F 03 60 */ lfs f1, 0x360(r31)
/* 80130ED4 0012CD14 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80130ED8 0012CD18 EC 63 00 B2 */ fmuls f3, f3, f2
/* 80130EDC 0012CD1C 88 1E 00 8F */ lbz r0, 0x8f(r30)
/* 80130EE0 0012CD20 EC 01 00 32 */ fmuls f0, f1, f0
/* 80130EE4 0012CD24 C0 5F 03 1C */ lfs f2, 0x31c(r31)
/* 80130EE8 0012CD28 2C 00 00 00 */ cmpwi r0, 0x0
/* 80130EEC 0012CD2C EC 23 00 B2 */ fmuls f1, f3, f2
/* 80130EF0 0012CD30 EC 60 00 B2 */ fmuls f3, f0, f2
/* 80130EF4 0012CD34 41 82 00 18 */ beq lbl_80130F0C
/* 80130EF8 0012CD38 80 7E 00 04 */ lwz r3, 0x4(r30)
/* 80130EFC 0012CD3C C0 43 00 34 */ lfs f2, 0x34(r3)
/* 80130F00 0012CD40 C0 03 00 38 */ lfs f0, 0x38(r3)
/* 80130F04 0012CD44 EC 21 00 B2 */ fmuls f1, f1, f2
/* 80130F08 0012CD48 EC 63 00 32 */ fmuls f3, f3, f0
.global lbl_80130F0C
lbl_80130F0C:
/* 80130F0C 0012CD4C 80 7E 01 F0 */ lwz r3, 0x1f0(r30)
/* 80130F10 0012CD50 FC 40 18 50 */ fneg f2, f3
/* 80130F14 0012CD54 7F 84 E3 78 */ mr r4, r28
/* 80130F18 0012CD58 7F A8 EB 78 */ mr r8, r29
/* 80130F1C 0012CD5C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130F20 0012CD60 80 BD 00 10 */ lwz r5, 0x10(r29)
/* 80130F24 0012CD64 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80130F28 0012CD68 80 DD 00 14 */ lwz r6, 0x14(r29)
/* 80130F2C 0012CD6C 80 FD 00 18 */ lwz r7, 0x18(r29)
/* 80130F30 0012CD70 7D 89 03 A6 */ mtctr r12
/* 80130F34 0012CD74 4E 80 04 21 */ bctrl
/* 80130F38 0012CD78 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 80130F3C 0012CD7C 54 60 04 21 */ rlwinm. r0, r3, 0, 16, 16
/* 80130F40 0012CD80 41 82 01 A0 */ beq lbl_801310E0
/* 80130F44 0012CD84 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80130F48 0012CD88 2C 00 00 02 */ cmpwi r0, 0x2
/* 80130F4C 0012CD8C 40 82 01 94 */ bne lbl_801310E0
/* 80130F50 0012CD90 80 1E 00 00 */ lwz r0, 0x0(r30)
/* 80130F54 0012CD94 2C 00 00 01 */ cmpwi r0, 0x1
/* 80130F58 0012CD98 40 82 00 EC */ bne lbl_80131044
/* 80130F5C 0012CD9C 80 7E 01 D8 */ lwz r3, 0x1d8(r30)
/* 80130F60 0012CDA0 3C 80 80 44 */ lis r4, "@16254"@ha
/* 80130F64 0012CDA4 38 84 3B DC */ addi r4, r4, "@16254"@l
/* 80130F68 0012CDA8 38 A0 00 01 */ li r5, 0x1
/* 80130F6C 0012CDAC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80130F70 0012CDB0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130F74 0012CDB4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80130F78 0012CDB8 7D 89 03 A6 */ mtctr r12
/* 80130F7C 0012CDBC 4E 80 04 21 */ bctrl
/* 80130F80 0012CDC0 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 80130F84 0012CDC4 7F 84 E3 78 */ mr r4, r28
/* 80130F88 0012CDC8 C0 3F 02 E4 */ lfs f1, 0x2e4(r31)
/* 80130F8C 0012CDCC 38 A0 00 00 */ li r5, 0x0
/* 80130F90 0012CDD0 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 80130F94 0012CDD4 C0 5F 03 64 */ lfs f2, 0x364(r31)
/* 80130F98 0012CDD8 60 00 00 01 */ ori r0, r0, 0x1
/* 80130F9C 0012CDDC 98 03 00 CF */ stb r0, 0xcf(r3)
/* 80130FA0 0012CDE0 38 C0 00 00 */ li r6, 0x0
/* 80130FA4 0012CDE4 38 E0 00 00 */ li r7, 0x0
/* 80130FA8 0012CDE8 80 7E 01 F0 */ lwz r3, 0x1f0(r30)
/* 80130FAC 0012CDEC 39 00 00 00 */ li r8, 0x0
/* 80130FB0 0012CDF0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80130FB4 0012CDF4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80130FB8 0012CDF8 7D 89 03 A6 */ mtctr r12
/* 80130FBC 0012CDFC 4E 80 04 21 */ bctrl
/* 80130FC0 0012CE00 83 BE 03 C8 */ lwz r29, 0x3c8(r30)
/* 80130FC4 0012CE04 7F A3 EB 78 */ mr r3, r29
/* 80130FC8 0012CE08 4B FF 76 49 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80130FCC 0012CE0C 3B E0 00 01 */ li r31, 0x1
/* 80130FD0 0012CE10 93 FD 00 14 */ stw r31, 0x14(r29)
/* 80130FD4 0012CE14 38 00 00 02 */ li r0, 0x2
/* 80130FD8 0012CE18 90 1E 00 18 */ stw r0, 0x18(r30)
/* 80130FDC 0012CE1C 83 BE 03 C0 */ lwz r29, 0x3c0(r30)
/* 80130FE0 0012CE20 7F A3 EB 78 */ mr r3, r29
/* 80130FE4 0012CE24 4B FF 76 2D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80130FE8 0012CE28 93 FD 00 14 */ stw r31, 0x14(r29)
/* 80130FEC 0012CE2C 83 BE 03 E4 */ lwz r29, 0x3e4(r30)
/* 80130FF0 0012CE30 7F A3 EB 78 */ mr r3, r29
/* 80130FF4 0012CE34 4B FF 76 1D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80130FF8 0012CE38 93 FD 00 14 */ stw r31, 0x14(r29)
/* 80130FFC 0012CE3C 38 60 00 0A */ li r3, 0xa
/* 80131000 0012CE40 38 00 00 00 */ li r0, 0x0
/* 80131004 0012CE44 90 7E 00 14 */ stw r3, 0x14(r30)
/* 80131008 0012CE48 38 60 00 00 */ li r3, 0x0
/* 8013100C 0012CE4C 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 80131010 0012CE50 90 1E 00 00 */ stw r0, 0x0(r30)
/* 80131014 0012CE54 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80131018 0012CE58 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013101C 0012CE5C 41 82 00 14 */ beq lbl_80131030
/* 80131020 0012CE60 38 60 00 05 */ li r3, 0x5
/* 80131024 0012CE64 38 80 00 08 */ li r4, 0x8
/* 80131028 0012CE68 7D 89 03 A6 */ mtctr r12
/* 8013102C 0012CE6C 4E 80 04 21 */ bctrl
.global lbl_80131030
lbl_80131030:
/* 80131030 0012CE70 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131034 0012CE74 40 82 06 D0 */ bne lbl_80131704
/* 80131038 0012CE78 38 60 00 08 */ li r3, 0x8
/* 8013103C 0012CE7C 4B FF A9 75 */ bl PlaySeq__10homebuttonFi
/* 80131040 0012CE80 48 00 06 C4 */ b lbl_80131704
.global lbl_80131044
lbl_80131044:
/* 80131044 0012CE84 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131048 0012CE88 40 82 06 BC */ bne lbl_80131704
/* 8013104C 0012CE8C 80 7E 03 C4 */ lwz r3, 0x3c4(r30)
/* 80131050 0012CE90 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80131054 0012CE94 2C 00 00 01 */ cmpwi r0, 0x1
/* 80131058 0012CE98 40 82 00 0C */ bne lbl_80131064
/* 8013105C 0012CE9C 38 00 00 00 */ li r0, 0x0
/* 80131060 0012CEA0 90 03 00 14 */ stw r0, 0x14(r3)
.global lbl_80131064
lbl_80131064:
/* 80131064 0012CEA4 80 7E 03 E8 */ lwz r3, 0x3e8(r30)
/* 80131068 0012CEA8 80 03 00 14 */ lwz r0, 0x14(r3)
/* 8013106C 0012CEAC 2C 00 00 01 */ cmpwi r0, 0x1
/* 80131070 0012CEB0 40 82 00 0C */ bne lbl_8013107C
/* 80131074 0012CEB4 38 00 00 00 */ li r0, 0x0
/* 80131078 0012CEB8 90 03 00 14 */ stw r0, 0x14(r3)
.global lbl_8013107C
lbl_8013107C:
/* 8013107C 0012CEBC 38 60 00 00 */ li r3, 0x0
/* 80131080 0012CEC0 38 00 00 04 */ li r0, 0x4
/* 80131084 0012CEC4 90 7E 00 B8 */ stw r3, 0xb8(r30)
/* 80131088 0012CEC8 90 1E 00 18 */ stw r0, 0x18(r30)
/* 8013108C 0012CECC 83 BE 03 C8 */ lwz r29, 0x3c8(r30)
/* 80131090 0012CED0 7F A3 EB 78 */ mr r3, r29
/* 80131094 0012CED4 4B FF 75 7D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80131098 0012CED8 38 00 00 01 */ li r0, 0x1
/* 8013109C 0012CEDC 90 1D 00 14 */ stw r0, 0x14(r29)
/* 801310A0 0012CEE0 38 00 00 0E */ li r0, 0xe
/* 801310A4 0012CEE4 38 60 00 00 */ li r3, 0x0
/* 801310A8 0012CEE8 90 1E 00 14 */ stw r0, 0x14(r30)
/* 801310AC 0012CEEC 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 801310B0 0012CEF0 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801310B4 0012CEF4 2C 0C 00 00 */ cmpwi r12, 0x0
/* 801310B8 0012CEF8 41 82 00 14 */ beq lbl_801310CC
/* 801310BC 0012CEFC 38 60 00 05 */ li r3, 0x5
/* 801310C0 0012CF00 38 80 00 01 */ li r4, 0x1
/* 801310C4 0012CF04 7D 89 03 A6 */ mtctr r12
/* 801310C8 0012CF08 4E 80 04 21 */ bctrl
.global lbl_801310CC
lbl_801310CC:
/* 801310CC 0012CF0C 2C 03 00 00 */ cmpwi r3, 0x0
/* 801310D0 0012CF10 40 82 06 34 */ bne lbl_80131704
/* 801310D4 0012CF14 38 60 00 01 */ li r3, 0x1
/* 801310D8 0012CF18 4B FF A8 D9 */ bl PlaySeq__10homebuttonFi
/* 801310DC 0012CF1C 48 00 06 28 */ b lbl_80131704
.global lbl_801310E0
lbl_801310E0:
/* 801310E0 0012CF20 80 1E 00 00 */ lwz r0, 0x0(r30)
/* 801310E4 0012CF24 2C 00 00 01 */ cmpwi r0, 0x1
/* 801310E8 0012CF28 40 82 06 1C */ bne lbl_80131704
/* 801310EC 0012CF2C 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 801310F0 0012CF30 2C 00 00 02 */ cmpwi r0, 0x2
/* 801310F4 0012CF34 40 82 06 10 */ bne lbl_80131704
/* 801310F8 0012CF38 54 60 04 E7 */ rlwinm. r0, r3, 0, 19, 19
/* 801310FC 0012CF3C 41 82 02 D0 */ beq lbl_801313CC
/* 80131100 0012CF40 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 80131104 0012CF44 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131108 0012CF48 40 81 02 8C */ ble lbl_80131394
/* 8013110C 0012CF4C 38 63 FF FF */ addi r3, r3, -0x1
/* 80131110 0012CF50 38 00 00 25 */ li r0, 0x25
/* 80131114 0012CF54 90 7E 00 84 */ stw r3, 0x84(r30)
/* 80131118 0012CF58 38 63 00 15 */ addi r3, r3, 0x15
/* 8013111C 0012CF5C 38 BF 00 68 */ addi r5, r31, 0x68
/* 80131120 0012CF60 38 80 00 00 */ li r4, 0x0
/* 80131124 0012CF64 7C 09 03 A6 */ mtctr r0
.global lbl_80131128
lbl_80131128:
/* 80131128 0012CF68 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8013112C 0012CF6C 7C 03 00 00 */ cmpw r3, r0
/* 80131130 0012CF70 40 82 00 14 */ bne lbl_80131144
/* 80131134 0012CF74 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80131138 0012CF78 2C 00 00 0A */ cmpwi r0, 0xa
/* 8013113C 0012CF7C 40 82 00 08 */ bne lbl_80131144
/* 80131140 0012CF80 48 00 00 34 */ b lbl_80131174
.global lbl_80131144
lbl_80131144:
/* 80131144 0012CF84 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80131148 0012CF88 38 84 00 01 */ addi r4, r4, 0x1
/* 8013114C 0012CF8C 7C 03 00 00 */ cmpw r3, r0
/* 80131150 0012CF90 40 82 00 14 */ bne lbl_80131164
/* 80131154 0012CF94 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80131158 0012CF98 2C 00 00 0A */ cmpwi r0, 0xa
/* 8013115C 0012CF9C 40 82 00 08 */ bne lbl_80131164
/* 80131160 0012CFA0 48 00 00 14 */ b lbl_80131174
.global lbl_80131164
lbl_80131164:
/* 80131164 0012CFA4 38 A5 00 10 */ addi r5, r5, 0x10
/* 80131168 0012CFA8 38 84 00 01 */ addi r4, r4, 0x1
/* 8013116C 0012CFAC 42 00 FF BC */ bdnz lbl_80131128
/* 80131170 0012CFB0 38 80 FF FF */ li r4, -0x1
.global lbl_80131174
lbl_80131174:
/* 80131174 0012CFB4 54 80 10 3A */ slwi r0, r4, 2
/* 80131178 0012CFB8 38 80 00 00 */ li r4, 0x0
/* 8013117C 0012CFBC 7C 7E 02 14 */ add r3, r30, r0
/* 80131180 0012CFC0 38 DF 00 68 */ addi r6, r31, 0x68
/* 80131184 0012CFC4 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80131188 0012CFC8 38 00 00 25 */ li r0, 0x25
/* 8013118C 0012CFCC 38 A0 00 00 */ li r5, 0x0
/* 80131190 0012CFD0 90 83 00 14 */ stw r4, 0x14(r3)
/* 80131194 0012CFD4 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 80131198 0012CFD8 38 63 00 15 */ addi r3, r3, 0x15
/* 8013119C 0012CFDC 7C 09 03 A6 */ mtctr r0
.global lbl_801311A0
lbl_801311A0:
/* 801311A0 0012CFE0 80 06 00 00 */ lwz r0, 0x0(r6)
/* 801311A4 0012CFE4 7C 03 00 00 */ cmpw r3, r0
/* 801311A8 0012CFE8 40 82 00 14 */ bne lbl_801311BC
/* 801311AC 0012CFEC 80 06 00 04 */ lwz r0, 0x4(r6)
/* 801311B0 0012CFF0 2C 00 00 09 */ cmpwi r0, 0x9
/* 801311B4 0012CFF4 40 82 00 08 */ bne lbl_801311BC
/* 801311B8 0012CFF8 48 00 00 34 */ b lbl_801311EC
.global lbl_801311BC
lbl_801311BC:
/* 801311BC 0012CFFC 80 06 00 08 */ lwz r0, 0x8(r6)
/* 801311C0 0012D000 38 A5 00 01 */ addi r5, r5, 0x1
/* 801311C4 0012D004 7C 03 00 00 */ cmpw r3, r0
/* 801311C8 0012D008 40 82 00 14 */ bne lbl_801311DC
/* 801311CC 0012D00C 80 06 00 0C */ lwz r0, 0xc(r6)
/* 801311D0 0012D010 2C 00 00 09 */ cmpwi r0, 0x9
/* 801311D4 0012D014 40 82 00 08 */ bne lbl_801311DC
/* 801311D8 0012D018 48 00 00 14 */ b lbl_801311EC
.global lbl_801311DC
lbl_801311DC:
/* 801311DC 0012D01C 38 C6 00 10 */ addi r6, r6, 0x10
/* 801311E0 0012D020 38 A5 00 01 */ addi r5, r5, 0x1
/* 801311E4 0012D024 42 00 FF BC */ bdnz lbl_801311A0
/* 801311E8 0012D028 38 A0 FF FF */ li r5, -0x1
.global lbl_801311EC
lbl_801311EC:
/* 801311EC 0012D02C 54 A0 10 3A */ slwi r0, r5, 2
/* 801311F0 0012D030 7C 7E 02 14 */ add r3, r30, r0
/* 801311F4 0012D034 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 801311F8 0012D038 7F A3 EB 78 */ mr r3, r29
/* 801311FC 0012D03C 4B FF 74 15 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80131200 0012D040 38 00 00 25 */ li r0, 0x25
/* 80131204 0012D044 38 60 00 01 */ li r3, 0x1
/* 80131208 0012D048 90 7D 00 14 */ stw r3, 0x14(r29)
/* 8013120C 0012D04C 38 9F 00 68 */ addi r4, r31, 0x68
/* 80131210 0012D050 38 60 00 00 */ li r3, 0x0
/* 80131214 0012D054 7C 09 03 A6 */ mtctr r0
.global lbl_80131218
lbl_80131218:
/* 80131218 0012D058 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013121C 0012D05C 2C 00 00 0B */ cmpwi r0, 0xb
/* 80131220 0012D060 40 82 00 14 */ bne lbl_80131234
/* 80131224 0012D064 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80131228 0012D068 2C 00 00 05 */ cmpwi r0, 0x5
/* 8013122C 0012D06C 40 82 00 08 */ bne lbl_80131234
/* 80131230 0012D070 48 00 00 34 */ b lbl_80131264
.global lbl_80131234
lbl_80131234:
/* 80131234 0012D074 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80131238 0012D078 38 63 00 01 */ addi r3, r3, 0x1
/* 8013123C 0012D07C 2C 00 00 0B */ cmpwi r0, 0xb
/* 80131240 0012D080 40 82 00 14 */ bne lbl_80131254
/* 80131244 0012D084 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80131248 0012D088 2C 00 00 05 */ cmpwi r0, 0x5
/* 8013124C 0012D08C 40 82 00 08 */ bne lbl_80131254
/* 80131250 0012D090 48 00 00 14 */ b lbl_80131264
.global lbl_80131254
lbl_80131254:
/* 80131254 0012D094 38 84 00 10 */ addi r4, r4, 0x10
/* 80131258 0012D098 38 63 00 01 */ addi r3, r3, 0x1
/* 8013125C 0012D09C 42 00 FF BC */ bdnz lbl_80131218
/* 80131260 0012D0A0 38 60 FF FF */ li r3, -0x1
.global lbl_80131264
lbl_80131264:
/* 80131264 0012D0A4 54 60 10 3A */ slwi r0, r3, 2
/* 80131268 0012D0A8 7C 7E 02 14 */ add r3, r30, r0
/* 8013126C 0012D0AC 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80131270 0012D0B0 7F A3 EB 78 */ mr r3, r29
/* 80131274 0012D0B4 4B FF 73 9D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80131278 0012D0B8 38 00 00 01 */ li r0, 0x1
/* 8013127C 0012D0BC 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80131280 0012D0C0 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 80131284 0012D0C4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131288 0012D0C8 40 82 00 88 */ bne lbl_80131310
/* 8013128C 0012D0CC 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 80131290 0012D0D0 38 60 00 00 */ li r3, 0x0
/* 80131294 0012D0D4 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80131298 0012D0D8 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013129C 0012D0DC 41 82 00 14 */ beq lbl_801312B0
/* 801312A0 0012D0E0 38 60 00 05 */ li r3, 0x5
/* 801312A4 0012D0E4 38 80 00 0C */ li r4, 0xc
/* 801312A8 0012D0E8 7D 89 03 A6 */ mtctr r12
/* 801312AC 0012D0EC 4E 80 04 21 */ bctrl
.global lbl_801312B0
lbl_801312B0:
/* 801312B0 0012D0F0 2C 03 00 00 */ cmpwi r3, 0x0
/* 801312B4 0012D0F4 40 82 00 0C */ bne lbl_801312C0
/* 801312B8 0012D0F8 38 60 00 0C */ li r3, 0xc
/* 801312BC 0012D0FC 4B FF A6 F5 */ bl PlaySeq__10homebuttonFi
.global lbl_801312C0
lbl_801312C0:
/* 801312C0 0012D100 CB FF 03 10 */ lfd f31, 0x310(r31)
/* 801312C4 0012D104 7F DD F3 78 */ mr r29, r30
/* 801312C8 0012D108 C3 DF 03 0C */ lfs f30, 0x30c(r31)
/* 801312CC 0012D10C 3B E0 00 00 */ li r31, 0x0
.global lbl_801312D0
lbl_801312D0:
/* 801312D0 0012D110 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 801312D4 0012D114 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 801312D8 0012D118 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 801312DC 0012D11C 90 01 00 0C */ stw r0, 0xc(r1)
/* 801312E0 0012D120 C8 01 00 08 */ lfd f0, 0x8(r1)
/* 801312E4 0012D124 EC 00 F8 28 */ fsubs f0, f0, f31
/* 801312E8 0012D128 EC 20 F0 24 */ fdivs f1, f0, f30
/* 801312EC 0012D12C 4B FF 94 15 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 801312F0 0012D130 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 801312F4 0012D134 38 80 00 01 */ li r4, 0x1
/* 801312F8 0012D138 4B FF 94 19 */ bl playSound__Q210homebutton10ControllerFi
/* 801312FC 0012D13C 3B FF 00 01 */ addi r31, r31, 0x1
/* 80131300 0012D140 3B BD 00 04 */ addi r29, r29, 0x4
/* 80131304 0012D144 2C 1F 00 04 */ cmpwi r31, 0x4
/* 80131308 0012D148 41 80 FF C8 */ blt lbl_801312D0
/* 8013130C 0012D14C 48 00 03 F8 */ b lbl_80131704
.global lbl_80131310
lbl_80131310:
/* 80131310 0012D150 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 80131314 0012D154 38 60 00 00 */ li r3, 0x0
/* 80131318 0012D158 81 84 00 14 */ lwz r12, 0x14(r4)
/* 8013131C 0012D15C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80131320 0012D160 41 82 00 14 */ beq lbl_80131334
/* 80131324 0012D164 38 60 00 05 */ li r3, 0x5
/* 80131328 0012D168 38 80 00 0A */ li r4, 0xa
/* 8013132C 0012D16C 7D 89 03 A6 */ mtctr r12
/* 80131330 0012D170 4E 80 04 21 */ bctrl
.global lbl_80131334
lbl_80131334:
/* 80131334 0012D174 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131338 0012D178 40 82 00 0C */ bne lbl_80131344
/* 8013133C 0012D17C 38 60 00 0A */ li r3, 0xa
/* 80131340 0012D180 4B FF A6 71 */ bl PlaySeq__10homebuttonFi
.global lbl_80131344
lbl_80131344:
/* 80131344 0012D184 CB FF 03 10 */ lfd f31, 0x310(r31)
/* 80131348 0012D188 7F DD F3 78 */ mr r29, r30
/* 8013134C 0012D18C C3 DF 03 0C */ lfs f30, 0x30c(r31)
/* 80131350 0012D190 3B E0 00 00 */ li r31, 0x0
.global lbl_80131354
lbl_80131354:
/* 80131354 0012D194 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 80131358 0012D198 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 8013135C 0012D19C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80131360 0012D1A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80131364 0012D1A4 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 80131368 0012D1A8 EC 00 F8 28 */ fsubs f0, f0, f31
/* 8013136C 0012D1AC EC 20 F0 24 */ fdivs f1, f0, f30
/* 80131370 0012D1B0 4B FF 93 91 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 80131374 0012D1B4 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 80131378 0012D1B8 38 80 00 01 */ li r4, 0x1
/* 8013137C 0012D1BC 4B FF 93 95 */ bl playSound__Q210homebutton10ControllerFi
/* 80131380 0012D1C0 3B FF 00 01 */ addi r31, r31, 0x1
/* 80131384 0012D1C4 3B BD 00 04 */ addi r29, r29, 0x4
/* 80131388 0012D1C8 2C 1F 00 04 */ cmpwi r31, 0x4
/* 8013138C 0012D1CC 41 80 FF C8 */ blt lbl_80131354
/* 80131390 0012D1D0 48 00 03 74 */ b lbl_80131704
.global lbl_80131394
lbl_80131394:
/* 80131394 0012D1D4 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 80131398 0012D1D8 38 60 00 00 */ li r3, 0x0
/* 8013139C 0012D1DC 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801313A0 0012D1E0 2C 0C 00 00 */ cmpwi r12, 0x0
/* 801313A4 0012D1E4 41 82 00 14 */ beq lbl_801313B8
/* 801313A8 0012D1E8 38 60 00 05 */ li r3, 0x5
/* 801313AC 0012D1EC 38 80 00 0D */ li r4, 0xd
/* 801313B0 0012D1F0 7D 89 03 A6 */ mtctr r12
/* 801313B4 0012D1F4 4E 80 04 21 */ bctrl
.global lbl_801313B8
lbl_801313B8:
/* 801313B8 0012D1F8 2C 03 00 00 */ cmpwi r3, 0x0
/* 801313BC 0012D1FC 40 82 03 48 */ bne lbl_80131704
/* 801313C0 0012D200 38 60 00 0D */ li r3, 0xd
/* 801313C4 0012D204 4B FF A5 ED */ bl PlaySeq__10homebuttonFi
/* 801313C8 0012D208 48 00 03 3C */ b lbl_80131704
.global lbl_801313CC
lbl_801313CC:
/* 801313CC 0012D20C 54 60 06 F7 */ rlwinm. r0, r3, 0, 27, 27
/* 801313D0 0012D210 41 82 03 34 */ beq lbl_80131704
/* 801313D4 0012D214 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 801313D8 0012D218 2C 03 00 0A */ cmpwi r3, 0xa
/* 801313DC 0012D21C 40 80 02 98 */ bge lbl_80131674
/* 801313E0 0012D220 38 00 00 25 */ li r0, 0x25
/* 801313E4 0012D224 38 63 00 15 */ addi r3, r3, 0x15
/* 801313E8 0012D228 38 BF 00 68 */ addi r5, r31, 0x68
/* 801313EC 0012D22C 38 80 00 00 */ li r4, 0x0
/* 801313F0 0012D230 7C 09 03 A6 */ mtctr r0
/* 801313F4 0012D234 60 00 00 00 */ nop
.global lbl_801313F8
lbl_801313F8:
/* 801313F8 0012D238 80 05 00 00 */ lwz r0, 0x0(r5)
/* 801313FC 0012D23C 7C 03 00 00 */ cmpw r3, r0
/* 80131400 0012D240 40 82 00 14 */ bne lbl_80131414
/* 80131404 0012D244 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80131408 0012D248 2C 00 00 09 */ cmpwi r0, 0x9
/* 8013140C 0012D24C 40 82 00 08 */ bne lbl_80131414
/* 80131410 0012D250 48 00 00 34 */ b lbl_80131444
.global lbl_80131414
lbl_80131414:
/* 80131414 0012D254 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80131418 0012D258 38 84 00 01 */ addi r4, r4, 0x1
/* 8013141C 0012D25C 7C 03 00 00 */ cmpw r3, r0
/* 80131420 0012D260 40 82 00 14 */ bne lbl_80131434
/* 80131424 0012D264 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80131428 0012D268 2C 00 00 09 */ cmpwi r0, 0x9
/* 8013142C 0012D26C 40 82 00 08 */ bne lbl_80131434
/* 80131430 0012D270 48 00 00 14 */ b lbl_80131444
.global lbl_80131434
lbl_80131434:
/* 80131434 0012D274 38 A5 00 10 */ addi r5, r5, 0x10
/* 80131438 0012D278 38 84 00 01 */ addi r4, r4, 0x1
/* 8013143C 0012D27C 42 00 FF BC */ bdnz lbl_801313F8
/* 80131440 0012D280 38 80 FF FF */ li r4, -0x1
.global lbl_80131444
lbl_80131444:
/* 80131444 0012D284 54 80 10 3A */ slwi r0, r4, 2
/* 80131448 0012D288 38 80 00 00 */ li r4, 0x0
/* 8013144C 0012D28C 7C 7E 02 14 */ add r3, r30, r0
/* 80131450 0012D290 38 DF 00 68 */ addi r6, r31, 0x68
/* 80131454 0012D294 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80131458 0012D298 38 00 00 25 */ li r0, 0x25
/* 8013145C 0012D29C 38 A0 00 00 */ li r5, 0x0
/* 80131460 0012D2A0 90 83 00 14 */ stw r4, 0x14(r3)
/* 80131464 0012D2A4 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 80131468 0012D2A8 38 63 00 15 */ addi r3, r3, 0x15
/* 8013146C 0012D2AC 7C 09 03 A6 */ mtctr r0
.global lbl_80131470
lbl_80131470:
/* 80131470 0012D2B0 80 06 00 00 */ lwz r0, 0x0(r6)
/* 80131474 0012D2B4 7C 03 00 00 */ cmpw r3, r0
/* 80131478 0012D2B8 40 82 00 14 */ bne lbl_8013148C
/* 8013147C 0012D2BC 80 06 00 04 */ lwz r0, 0x4(r6)
/* 80131480 0012D2C0 2C 00 00 0A */ cmpwi r0, 0xa
/* 80131484 0012D2C4 40 82 00 08 */ bne lbl_8013148C
/* 80131488 0012D2C8 48 00 00 34 */ b lbl_801314BC
.global lbl_8013148C
lbl_8013148C:
/* 8013148C 0012D2CC 80 06 00 08 */ lwz r0, 0x8(r6)
/* 80131490 0012D2D0 38 A5 00 01 */ addi r5, r5, 0x1
/* 80131494 0012D2D4 7C 03 00 00 */ cmpw r3, r0
/* 80131498 0012D2D8 40 82 00 14 */ bne lbl_801314AC
/* 8013149C 0012D2DC 80 06 00 0C */ lwz r0, 0xc(r6)
/* 801314A0 0012D2E0 2C 00 00 0A */ cmpwi r0, 0xa
/* 801314A4 0012D2E4 40 82 00 08 */ bne lbl_801314AC
/* 801314A8 0012D2E8 48 00 00 14 */ b lbl_801314BC
.global lbl_801314AC
lbl_801314AC:
/* 801314AC 0012D2EC 38 C6 00 10 */ addi r6, r6, 0x10
/* 801314B0 0012D2F0 38 A5 00 01 */ addi r5, r5, 0x1
/* 801314B4 0012D2F4 42 00 FF BC */ bdnz lbl_80131470
/* 801314B8 0012D2F8 38 A0 FF FF */ li r5, -0x1
.global lbl_801314BC
lbl_801314BC:
/* 801314BC 0012D2FC 54 A0 10 3A */ slwi r0, r5, 2
/* 801314C0 0012D300 7C 7E 02 14 */ add r3, r30, r0
/* 801314C4 0012D304 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 801314C8 0012D308 7F A3 EB 78 */ mr r3, r29
/* 801314CC 0012D30C 4B FF 71 45 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801314D0 0012D310 38 00 00 01 */ li r0, 0x1
/* 801314D4 0012D314 90 1D 00 14 */ stw r0, 0x14(r29)
/* 801314D8 0012D318 38 00 00 25 */ li r0, 0x25
/* 801314DC 0012D31C 38 BF 00 68 */ addi r5, r31, 0x68
/* 801314E0 0012D320 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 801314E4 0012D324 38 80 00 00 */ li r4, 0x0
/* 801314E8 0012D328 38 63 00 01 */ addi r3, r3, 0x1
/* 801314EC 0012D32C 90 7E 00 84 */ stw r3, 0x84(r30)
/* 801314F0 0012D330 7C 09 03 A6 */ mtctr r0
/* 801314F4 0012D334 60 00 00 00 */ nop
.global lbl_801314F8
lbl_801314F8:
/* 801314F8 0012D338 80 05 00 00 */ lwz r0, 0x0(r5)
/* 801314FC 0012D33C 2C 00 00 0C */ cmpwi r0, 0xc
/* 80131500 0012D340 40 82 00 14 */ bne lbl_80131514
/* 80131504 0012D344 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80131508 0012D348 2C 00 00 05 */ cmpwi r0, 0x5
/* 8013150C 0012D34C 40 82 00 08 */ bne lbl_80131514
/* 80131510 0012D350 48 00 00 34 */ b lbl_80131544
.global lbl_80131514
lbl_80131514:
/* 80131514 0012D354 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80131518 0012D358 38 84 00 01 */ addi r4, r4, 0x1
/* 8013151C 0012D35C 2C 00 00 0C */ cmpwi r0, 0xc
/* 80131520 0012D360 40 82 00 14 */ bne lbl_80131534
/* 80131524 0012D364 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80131528 0012D368 2C 00 00 05 */ cmpwi r0, 0x5
/* 8013152C 0012D36C 40 82 00 08 */ bne lbl_80131534
/* 80131530 0012D370 48 00 00 14 */ b lbl_80131544
.global lbl_80131534
lbl_80131534:
/* 80131534 0012D374 38 A5 00 10 */ addi r5, r5, 0x10
/* 80131538 0012D378 38 84 00 01 */ addi r4, r4, 0x1
/* 8013153C 0012D37C 42 00 FF BC */ bdnz lbl_801314F8
/* 80131540 0012D380 38 80 FF FF */ li r4, -0x1
.global lbl_80131544
lbl_80131544:
/* 80131544 0012D384 54 80 10 3A */ slwi r0, r4, 2
/* 80131548 0012D388 7C 7E 02 14 */ add r3, r30, r0
/* 8013154C 0012D38C 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80131550 0012D390 7F A3 EB 78 */ mr r3, r29
/* 80131554 0012D394 4B FF 70 BD */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80131558 0012D398 38 00 00 01 */ li r0, 0x1
/* 8013155C 0012D39C 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80131560 0012D3A0 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 80131564 0012D3A4 2C 00 00 0A */ cmpwi r0, 0xa
/* 80131568 0012D3A8 40 82 00 88 */ bne lbl_801315F0
/* 8013156C 0012D3AC 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 80131570 0012D3B0 38 60 00 00 */ li r3, 0x0
/* 80131574 0012D3B4 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80131578 0012D3B8 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013157C 0012D3BC 41 82 00 14 */ beq lbl_80131590
/* 80131580 0012D3C0 38 60 00 05 */ li r3, 0x5
/* 80131584 0012D3C4 38 80 00 0B */ li r4, 0xb
/* 80131588 0012D3C8 7D 89 03 A6 */ mtctr r12
/* 8013158C 0012D3CC 4E 80 04 21 */ bctrl
.global lbl_80131590
lbl_80131590:
/* 80131590 0012D3D0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131594 0012D3D4 40 82 00 0C */ bne lbl_801315A0
/* 80131598 0012D3D8 38 60 00 0B */ li r3, 0xb
/* 8013159C 0012D3DC 4B FF A4 15 */ bl PlaySeq__10homebuttonFi
.global lbl_801315A0
lbl_801315A0:
/* 801315A0 0012D3E0 CB FF 03 10 */ lfd f31, 0x310(r31)
/* 801315A4 0012D3E4 7F DD F3 78 */ mr r29, r30
/* 801315A8 0012D3E8 C3 DF 03 0C */ lfs f30, 0x30c(r31)
/* 801315AC 0012D3EC 3B E0 00 00 */ li r31, 0x0
.global lbl_801315B0
lbl_801315B0:
/* 801315B0 0012D3F0 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 801315B4 0012D3F4 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 801315B8 0012D3F8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 801315BC 0012D3FC 90 01 00 0C */ stw r0, 0xc(r1)
/* 801315C0 0012D400 C8 01 00 08 */ lfd f0, 0x8(r1)
/* 801315C4 0012D404 EC 00 F8 28 */ fsubs f0, f0, f31
/* 801315C8 0012D408 EC 20 F0 24 */ fdivs f1, f0, f30
/* 801315CC 0012D40C 4B FF 91 35 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 801315D0 0012D410 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 801315D4 0012D414 38 80 00 01 */ li r4, 0x1
/* 801315D8 0012D418 4B FF 91 39 */ bl playSound__Q210homebutton10ControllerFi
/* 801315DC 0012D41C 3B FF 00 01 */ addi r31, r31, 0x1
/* 801315E0 0012D420 3B BD 00 04 */ addi r29, r29, 0x4
/* 801315E4 0012D424 2C 1F 00 04 */ cmpwi r31, 0x4
/* 801315E8 0012D428 41 80 FF C8 */ blt lbl_801315B0
/* 801315EC 0012D42C 48 00 01 18 */ b lbl_80131704
.global lbl_801315F0
lbl_801315F0:
/* 801315F0 0012D430 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 801315F4 0012D434 38 60 00 00 */ li r3, 0x0
/* 801315F8 0012D438 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801315FC 0012D43C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80131600 0012D440 41 82 00 14 */ beq lbl_80131614
/* 80131604 0012D444 38 60 00 05 */ li r3, 0x5
/* 80131608 0012D448 38 80 00 09 */ li r4, 0x9
/* 8013160C 0012D44C 7D 89 03 A6 */ mtctr r12
/* 80131610 0012D450 4E 80 04 21 */ bctrl
.global lbl_80131614
lbl_80131614:
/* 80131614 0012D454 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131618 0012D458 40 82 00 0C */ bne lbl_80131624
/* 8013161C 0012D45C 38 60 00 09 */ li r3, 0x9
/* 80131620 0012D460 4B FF A3 91 */ bl PlaySeq__10homebuttonFi
.global lbl_80131624
lbl_80131624:
/* 80131624 0012D464 CB DF 03 10 */ lfd f30, 0x310(r31)
/* 80131628 0012D468 7F DD F3 78 */ mr r29, r30
/* 8013162C 0012D46C C3 FF 03 0C */ lfs f31, 0x30c(r31)
/* 80131630 0012D470 3B E0 00 00 */ li r31, 0x0
.global lbl_80131634
lbl_80131634:
/* 80131634 0012D474 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 80131638 0012D478 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 8013163C 0012D47C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80131640 0012D480 90 01 00 14 */ stw r0, 0x14(r1)
/* 80131644 0012D484 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 80131648 0012D488 EC 00 F0 28 */ fsubs f0, f0, f30
/* 8013164C 0012D48C EC 20 F8 24 */ fdivs f1, f0, f31
/* 80131650 0012D490 4B FF 90 B1 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 80131654 0012D494 80 7D 02 4C */ lwz r3, 0x24c(r29)
/* 80131658 0012D498 38 80 00 01 */ li r4, 0x1
/* 8013165C 0012D49C 4B FF 90 B5 */ bl playSound__Q210homebutton10ControllerFi
/* 80131660 0012D4A0 3B FF 00 01 */ addi r31, r31, 0x1
/* 80131664 0012D4A4 3B BD 00 04 */ addi r29, r29, 0x4
/* 80131668 0012D4A8 2C 1F 00 04 */ cmpwi r31, 0x4
/* 8013166C 0012D4AC 41 80 FF C8 */ blt lbl_80131634
/* 80131670 0012D4B0 48 00 00 94 */ b lbl_80131704
.global lbl_80131674
lbl_80131674:
/* 80131674 0012D4B4 80 9E 00 04 */ lwz r4, 0x4(r30)
/* 80131678 0012D4B8 38 60 00 00 */ li r3, 0x0
/* 8013167C 0012D4BC 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80131680 0012D4C0 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80131684 0012D4C4 41 82 00 14 */ beq lbl_80131698
/* 80131688 0012D4C8 38 60 00 05 */ li r3, 0x5
/* 8013168C 0012D4CC 38 80 00 0D */ li r4, 0xd
/* 80131690 0012D4D0 7D 89 03 A6 */ mtctr r12
/* 80131694 0012D4D4 4E 80 04 21 */ bctrl
.global lbl_80131698
lbl_80131698:
/* 80131698 0012D4D8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013169C 0012D4DC 40 82 00 68 */ bne lbl_80131704
/* 801316A0 0012D4E0 38 60 00 0D */ li r3, 0xd
/* 801316A4 0012D4E4 4B FF A3 0D */ bl PlaySeq__10homebuttonFi
/* 801316A8 0012D4E8 48 00 00 5C */ b lbl_80131704
.global lbl_801316AC
lbl_801316AC:
/* 801316AC 0012D4EC 80 03 00 00 */ lwz r0, 0x0(r3)
/* 801316B0 0012D4F0 2C 00 00 01 */ cmpwi r0, 0x1
/* 801316B4 0012D4F4 40 82 00 50 */ bne lbl_80131704
/* 801316B8 0012D4F8 80 03 00 14 */ lwz r0, 0x14(r3)
/* 801316BC 0012D4FC 2C 00 00 05 */ cmpwi r0, 0x5
/* 801316C0 0012D500 40 82 00 44 */ bne lbl_80131704
/* 801316C4 0012D504 80 03 00 18 */ lwz r0, 0x18(r3)
/* 801316C8 0012D508 54 00 10 3A */ slwi r0, r0, 2
/* 801316CC 0012D50C 7C A3 02 14 */ add r5, r3, r0
/* 801316D0 0012D510 80 A5 03 B8 */ lwz r5, 0x3b8(r5)
/* 801316D4 0012D514 80 05 00 14 */ lwz r0, 0x14(r5)
/* 801316D8 0012D518 2C 00 00 01 */ cmpwi r0, 0x1
/* 801316DC 0012D51C 41 82 00 28 */ beq lbl_80131704
/* 801316E0 0012D520 54 80 10 3A */ slwi r0, r4, 2
/* 801316E4 0012D524 7C 63 02 14 */ add r3, r3, r0
/* 801316E8 0012D528 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 801316EC 0012D52C 4B EF 2D B5 */ bl DefaultSwitchThreadCallback
/* 801316F0 0012D530 80 03 00 10 */ lwz r0, 0x10(r3)
/* 801316F4 0012D534 2C 00 00 00 */ cmpwi r0, 0x0
/* 801316F8 0012D538 41 82 00 0C */ beq lbl_80131704
/* 801316FC 0012D53C 80 1E 05 BC */ lwz r0, 0x5bc(r30)
/* 80131700 0012D540 90 1E 00 1C */ stw r0, 0x1c(r30)
.global lbl_80131704
lbl_80131704:
/* 80131704 0012D544 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80131708 0012D548 E3 E1 00 48 */ psq_l f31, 0x48(r1), 0, qr0
/* 8013170C 0012D54C CB E1 00 40 */ lfd f31, 0x40(r1)
/* 80131710 0012D550 E3 C1 00 38 */ psq_l f30, 0x38(r1), 0, qr0
/* 80131714 0012D554 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 80131718 0012D558 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8013171C 0012D55C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80131720 0012D560 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80131724 0012D564 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80131728 0012D568 7C 08 03 A6 */ mtlr r0
/* 8013172C 0012D56C 38 21 00 50 */ addi r1, r1, 0x50
/* 80131730 0012D570 4E 80 00 20 */ blr
/* 80131734 0012D574 00 00 00 00 */ .4byte 0x00000000
/* 80131738 0012D578 00 00 00 00 */ .4byte 0x00000000
/* 8013173C 0012D57C 00 00 00 00 */ .4byte 0x00000000
.global updateTrigPane__Q210homebutton10HomeButtonFv
updateTrigPane__Q210homebutton10HomeButtonFv:
/* 80131740 0012D580 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80131744 0012D584 7C 08 02 A6 */ mflr r0
/* 80131748 0012D588 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013174C 0012D58C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80131750 0012D590 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80131754 0012D594 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80131758 0012D598 7C 7D 1B 78 */ mr r29, r3
/* 8013175C 0012D59C 80 03 00 00 */ lwz r0, 0x0(r3)
/* 80131760 0012D5A0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131764 0012D5A4 41 82 00 18 */ beq lbl_8013177C
/* 80131768 0012D5A8 2C 00 00 01 */ cmpwi r0, 0x1
/* 8013176C 0012D5AC 41 82 00 DC */ beq lbl_80131848
/* 80131770 0012D5B0 2C 00 00 02 */ cmpwi r0, 0x2
/* 80131774 0012D5B4 41 82 01 A4 */ beq lbl_80131918
/* 80131778 0012D5B8 48 00 02 68 */ b lbl_801319E0
.global lbl_8013177C
lbl_8013177C:
/* 8013177C 0012D5BC 3F E0 80 44 */ lis r31, scFuncTouchPaneName__Q210homebutton10HomeButton@ha
/* 80131780 0012D5C0 3B C0 00 00 */ li r30, 0x0
/* 80131784 0012D5C4 3B FF 3A 00 */ addi r31, r31, scFuncTouchPaneName__Q210homebutton10HomeButton@l
.global lbl_80131788
lbl_80131788:
/* 80131788 0012D5C8 2C 1E 00 02 */ cmpwi r30, 0x2
/* 8013178C 0012D5CC 41 80 00 0C */ blt lbl_80131798
/* 80131790 0012D5D0 2C 1E 00 09 */ cmpwi r30, 0x9
/* 80131794 0012D5D4 40 82 00 54 */ bne lbl_801317E8
.global lbl_80131798
lbl_80131798:
/* 80131798 0012D5D8 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8013179C 0012D5DC 38 A0 00 01 */ li r5, 0x1
/* 801317A0 0012D5E0 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 801317A4 0012D5E4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 801317A8 0012D5E8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801317AC 0012D5EC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 801317B0 0012D5F0 7D 89 03 A6 */ mtctr r12
/* 801317B4 0012D5F4 4E 80 04 21 */ bctrl
/* 801317B8 0012D5F8 7C 64 1B 78 */ mr r4, r3
/* 801317BC 0012D5FC 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 801317C0 0012D600 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801317C4 0012D604 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 801317C8 0012D608 7D 89 03 A6 */ mtctr r12
/* 801317CC 0012D60C 4E 80 04 21 */ bctrl
/* 801317D0 0012D610 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801317D4 0012D614 38 80 00 01 */ li r4, 0x1
/* 801317D8 0012D618 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 801317DC 0012D61C 7D 89 03 A6 */ mtctr r12
/* 801317E0 0012D620 4E 80 04 21 */ bctrl
/* 801317E4 0012D624 48 00 00 50 */ b lbl_80131834
.global lbl_801317E8
lbl_801317E8:
/* 801317E8 0012D628 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 801317EC 0012D62C 38 A0 00 01 */ li r5, 0x1
/* 801317F0 0012D630 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 801317F4 0012D634 80 63 00 10 */ lwz r3, 0x10(r3)
/* 801317F8 0012D638 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801317FC 0012D63C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80131800 0012D640 7D 89 03 A6 */ mtctr r12
/* 80131804 0012D644 4E 80 04 21 */ bctrl
/* 80131808 0012D648 7C 64 1B 78 */ mr r4, r3
/* 8013180C 0012D64C 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 80131810 0012D650 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80131814 0012D654 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 80131818 0012D658 7D 89 03 A6 */ mtctr r12
/* 8013181C 0012D65C 4E 80 04 21 */ bctrl
/* 80131820 0012D660 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80131824 0012D664 38 80 00 00 */ li r4, 0x0
/* 80131828 0012D668 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 8013182C 0012D66C 7D 89 03 A6 */ mtctr r12
/* 80131830 0012D670 4E 80 04 21 */ bctrl
.global lbl_80131834
lbl_80131834:
/* 80131834 0012D674 3B DE 00 01 */ addi r30, r30, 0x1
/* 80131838 0012D678 3B FF 00 04 */ addi r31, r31, 0x4
/* 8013183C 0012D67C 2C 1E 00 0A */ cmpwi r30, 0xa
/* 80131840 0012D680 41 80 FF 48 */ blt lbl_80131788
/* 80131844 0012D684 48 00 01 9C */ b lbl_801319E0
.global lbl_80131848
lbl_80131848:
/* 80131848 0012D688 3F E0 80 44 */ lis r31, scFuncTouchPaneName__Q210homebutton10HomeButton@ha
/* 8013184C 0012D68C 3B C0 00 00 */ li r30, 0x0
/* 80131850 0012D690 3B FF 3A 00 */ addi r31, r31, scFuncTouchPaneName__Q210homebutton10HomeButton@l
.global lbl_80131854
lbl_80131854:
/* 80131854 0012D694 38 1E FF FF */ addi r0, r30, -0x1
/* 80131858 0012D698 28 00 00 05 */ cmplwi r0, 0x5
/* 8013185C 0012D69C 40 81 00 0C */ ble lbl_80131868
/* 80131860 0012D6A0 2C 1E 00 09 */ cmpwi r30, 0x9
/* 80131864 0012D6A4 40 82 00 54 */ bne lbl_801318B8
.global lbl_80131868
lbl_80131868:
/* 80131868 0012D6A8 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 8013186C 0012D6AC 38 A0 00 01 */ li r5, 0x1
/* 80131870 0012D6B0 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 80131874 0012D6B4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80131878 0012D6B8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013187C 0012D6BC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80131880 0012D6C0 7D 89 03 A6 */ mtctr r12
/* 80131884 0012D6C4 4E 80 04 21 */ bctrl
/* 80131888 0012D6C8 7C 64 1B 78 */ mr r4, r3
/* 8013188C 0012D6CC 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 80131890 0012D6D0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80131894 0012D6D4 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 80131898 0012D6D8 7D 89 03 A6 */ mtctr r12
/* 8013189C 0012D6DC 4E 80 04 21 */ bctrl
/* 801318A0 0012D6E0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801318A4 0012D6E4 38 80 00 01 */ li r4, 0x1
/* 801318A8 0012D6E8 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 801318AC 0012D6EC 7D 89 03 A6 */ mtctr r12
/* 801318B0 0012D6F0 4E 80 04 21 */ bctrl
/* 801318B4 0012D6F4 48 00 00 50 */ b lbl_80131904
.global lbl_801318B8
lbl_801318B8:
/* 801318B8 0012D6F8 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 801318BC 0012D6FC 38 A0 00 01 */ li r5, 0x1
/* 801318C0 0012D700 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 801318C4 0012D704 80 63 00 10 */ lwz r3, 0x10(r3)
/* 801318C8 0012D708 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801318CC 0012D70C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 801318D0 0012D710 7D 89 03 A6 */ mtctr r12
/* 801318D4 0012D714 4E 80 04 21 */ bctrl
/* 801318D8 0012D718 7C 64 1B 78 */ mr r4, r3
/* 801318DC 0012D71C 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 801318E0 0012D720 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801318E4 0012D724 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 801318E8 0012D728 7D 89 03 A6 */ mtctr r12
/* 801318EC 0012D72C 4E 80 04 21 */ bctrl
/* 801318F0 0012D730 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801318F4 0012D734 38 80 00 00 */ li r4, 0x0
/* 801318F8 0012D738 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 801318FC 0012D73C 7D 89 03 A6 */ mtctr r12
/* 80131900 0012D740 4E 80 04 21 */ bctrl
.global lbl_80131904
lbl_80131904:
/* 80131904 0012D744 3B DE 00 01 */ addi r30, r30, 0x1
/* 80131908 0012D748 3B FF 00 04 */ addi r31, r31, 0x4
/* 8013190C 0012D74C 2C 1E 00 0A */ cmpwi r30, 0xa
/* 80131910 0012D750 41 80 FF 44 */ blt lbl_80131854
/* 80131914 0012D754 48 00 00 CC */ b lbl_801319E0
.global lbl_80131918
lbl_80131918:
/* 80131918 0012D758 3F E0 80 44 */ lis r31, scFuncTouchPaneName__Q210homebutton10HomeButton@ha
/* 8013191C 0012D75C 3B C0 00 00 */ li r30, 0x0
/* 80131920 0012D760 3B FF 3A 00 */ addi r31, r31, scFuncTouchPaneName__Q210homebutton10HomeButton@l
.global lbl_80131924
lbl_80131924:
/* 80131924 0012D764 2C 1E 00 07 */ cmpwi r30, 0x7
/* 80131928 0012D768 41 80 00 0C */ blt lbl_80131934
/* 8013192C 0012D76C 2C 1E 00 09 */ cmpwi r30, 0x9
/* 80131930 0012D770 40 82 00 54 */ bne lbl_80131984
.global lbl_80131934
lbl_80131934:
/* 80131934 0012D774 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 80131938 0012D778 38 A0 00 01 */ li r5, 0x1
/* 8013193C 0012D77C 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 80131940 0012D780 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80131944 0012D784 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80131948 0012D788 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8013194C 0012D78C 7D 89 03 A6 */ mtctr r12
/* 80131950 0012D790 4E 80 04 21 */ bctrl
/* 80131954 0012D794 7C 64 1B 78 */ mr r4, r3
/* 80131958 0012D798 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 8013195C 0012D79C 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80131960 0012D7A0 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 80131964 0012D7A4 7D 89 03 A6 */ mtctr r12
/* 80131968 0012D7A8 4E 80 04 21 */ bctrl
/* 8013196C 0012D7AC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80131970 0012D7B0 38 80 00 00 */ li r4, 0x0
/* 80131974 0012D7B4 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 80131978 0012D7B8 7D 89 03 A6 */ mtctr r12
/* 8013197C 0012D7BC 4E 80 04 21 */ bctrl
/* 80131980 0012D7C0 48 00 00 50 */ b lbl_801319D0
.global lbl_80131984
lbl_80131984:
/* 80131984 0012D7C4 80 7D 01 D8 */ lwz r3, 0x1d8(r29)
/* 80131988 0012D7C8 38 A0 00 01 */ li r5, 0x1
/* 8013198C 0012D7CC 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 80131990 0012D7D0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80131994 0012D7D4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80131998 0012D7D8 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8013199C 0012D7DC 7D 89 03 A6 */ mtctr r12
/* 801319A0 0012D7E0 4E 80 04 21 */ bctrl
/* 801319A4 0012D7E4 7C 64 1B 78 */ mr r4, r3
/* 801319A8 0012D7E8 80 7D 01 F0 */ lwz r3, 0x1f0(r29)
/* 801319AC 0012D7EC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801319B0 0012D7F0 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 801319B4 0012D7F4 7D 89 03 A6 */ mtctr r12
/* 801319B8 0012D7F8 4E 80 04 21 */ bctrl
/* 801319BC 0012D7FC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801319C0 0012D800 38 80 00 01 */ li r4, 0x1
/* 801319C4 0012D804 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 801319C8 0012D808 7D 89 03 A6 */ mtctr r12
/* 801319CC 0012D80C 4E 80 04 21 */ bctrl
.global lbl_801319D0
lbl_801319D0:
/* 801319D0 0012D810 3B DE 00 01 */ addi r30, r30, 0x1
/* 801319D4 0012D814 3B FF 00 04 */ addi r31, r31, 0x4
/* 801319D8 0012D818 2C 1E 00 0A */ cmpwi r30, 0xa
/* 801319DC 0012D81C 41 80 FF 48 */ blt lbl_80131924
.global lbl_801319E0
lbl_801319E0:
/* 801319E0 0012D820 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801319E4 0012D824 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801319E8 0012D828 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801319EC 0012D82C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801319F0 0012D830 7C 08 03 A6 */ mtlr r0
/* 801319F4 0012D834 38 21 00 20 */ addi r1, r1, 0x20
/* 801319F8 0012D838 4E 80 00 20 */ blr
/* 801319FC 0012D83C 00 00 00 00 */ .4byte 0x00000000
.global startPointEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4PanePv
startPointEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4PanePv:
/* 80131A00 0012D840 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80131A04 0012D844 7C 08 02 A6 */ mflr r0
/* 80131A08 0012D848 90 01 00 24 */ stw r0, 0x24(r1)
/* 80131A0C 0012D84C 39 61 00 20 */ addi r11, r1, 0x20
/* 80131A10 0012D850 4B ED 59 29 */ bl lbl_80007338
/* 80131A14 0012D854 3F C0 80 41 */ lis r30, "@9436_8040DE40"@ha
/* 80131A18 0012D858 7C 7A 1B 78 */ mr r26, r3
/* 80131A1C 0012D85C 7C BB 2B 78 */ mr r27, r5
/* 80131A20 0012D860 3B DE DE 40 */ addi r30, r30, "@9436_8040DE40"@l
/* 80131A24 0012D864 48 00 2D ED */ bl getPaneNo__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
/* 80131A28 0012D868 80 9A 00 14 */ lwz r4, 0x14(r26)
/* 80131A2C 0012D86C 7C 7F 1B 78 */ mr r31, r3
/* 80131A30 0012D870 3B 80 00 00 */ li r28, 0x0
/* 80131A34 0012D874 2C 04 00 02 */ cmpwi r4, 0x2
/* 80131A38 0012D878 40 82 0D 3C */ bne lbl_80132774
/* 80131A3C 0012D87C 2C 03 FF FF */ cmpwi r3, -0x1
/* 80131A40 0012D880 41 82 0D 34 */ beq lbl_80132774
/* 80131A44 0012D884 54 60 10 3A */ slwi r0, r3, 2
/* 80131A48 0012D888 7C BA 02 14 */ add r5, r26, r0
/* 80131A4C 0012D88C 80 05 00 20 */ lwz r0, 0x20(r5)
/* 80131A50 0012D890 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131A54 0012D894 40 82 0D 20 */ bne lbl_80132774
/* 80131A58 0012D898 80 BA 00 00 */ lwz r5, 0x0(r26)
/* 80131A5C 0012D89C 2C 05 00 02 */ cmpwi r5, 0x2
/* 80131A60 0012D8A0 41 82 00 CC */ beq lbl_80131B2C
/* 80131A64 0012D8A4 80 1A 00 0C */ lwz r0, 0xc(r26)
/* 80131A68 0012D8A8 7C 03 00 00 */ cmpw r3, r0
/* 80131A6C 0012D8AC 40 80 00 C0 */ bge lbl_80131B2C
/* 80131A70 0012D8B0 80 1A 00 10 */ lwz r0, 0x10(r26)
/* 80131A74 0012D8B4 38 BE 00 08 */ addi r5, r30, 0x8
/* 80131A78 0012D8B8 38 80 00 00 */ li r4, 0x0
/* 80131A7C 0012D8BC 7C 09 03 A6 */ mtctr r0
/* 80131A80 0012D8C0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131A84 0012D8C4 40 81 00 2C */ ble lbl_80131AB0
.global lbl_80131A88
lbl_80131A88:
/* 80131A88 0012D8C8 80 05 00 00 */ lwz r0, 0x0(r5)
/* 80131A8C 0012D8CC 7C 03 00 00 */ cmpw r3, r0
/* 80131A90 0012D8D0 40 82 00 14 */ bne lbl_80131AA4
/* 80131A94 0012D8D4 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80131A98 0012D8D8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131A9C 0012D8DC 40 82 00 08 */ bne lbl_80131AA4
/* 80131AA0 0012D8E0 48 00 00 14 */ b lbl_80131AB4
.global lbl_80131AA4
lbl_80131AA4:
/* 80131AA4 0012D8E4 38 A5 00 08 */ addi r5, r5, 0x8
/* 80131AA8 0012D8E8 38 84 00 01 */ addi r4, r4, 0x1
/* 80131AAC 0012D8EC 42 00 FF DC */ bdnz lbl_80131A88
.global lbl_80131AB0
lbl_80131AB0:
/* 80131AB0 0012D8F0 38 80 FF FF */ li r4, -0x1
.global lbl_80131AB4
lbl_80131AB4:
/* 80131AB4 0012D8F4 54 80 10 3A */ slwi r0, r4, 2
/* 80131AB8 0012D8F8 7C 7A 02 14 */ add r3, r26, r0
/* 80131ABC 0012D8FC 83 A3 02 60 */ lwz r29, 0x260(r3)
/* 80131AC0 0012D900 7F A3 EB 78 */ mr r3, r29
/* 80131AC4 0012D904 4B FF 6B 4D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80131AC8 0012D908 38 00 00 01 */ li r0, 0x1
/* 80131ACC 0012D90C 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80131AD0 0012D910 80 1A 00 00 */ lwz r0, 0x0(r26)
/* 80131AD4 0012D914 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131AD8 0012D918 40 82 0C 9C */ bne lbl_80132774
/* 80131ADC 0012D91C 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 80131AE0 0012D920 2C 00 00 02 */ cmpwi r0, 0x2
/* 80131AE4 0012D924 40 81 00 40 */ ble lbl_80131B24
/* 80131AE8 0012D928 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80131AEC 0012D92C 38 60 00 00 */ li r3, 0x0
/* 80131AF0 0012D930 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80131AF4 0012D934 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80131AF8 0012D938 41 82 00 14 */ beq lbl_80131B0C
/* 80131AFC 0012D93C 38 60 00 05 */ li r3, 0x5
/* 80131B00 0012D940 38 80 00 04 */ li r4, 0x4
/* 80131B04 0012D944 7D 89 03 A6 */ mtctr r12
/* 80131B08 0012D948 4E 80 04 21 */ bctrl
.global lbl_80131B0C
lbl_80131B0C:
/* 80131B0C 0012D94C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131B10 0012D950 40 82 00 0C */ bne lbl_80131B1C
/* 80131B14 0012D954 38 60 00 04 */ li r3, 0x4
/* 80131B18 0012D958 4B FF 9E 99 */ bl PlaySeq__10homebuttonFi
.global lbl_80131B1C
lbl_80131B1C:
/* 80131B1C 0012D95C 38 00 00 00 */ li r0, 0x0
/* 80131B20 0012D960 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80131B24
lbl_80131B24:
/* 80131B24 0012D964 3B 80 00 01 */ li r28, 0x1
/* 80131B28 0012D968 48 00 0C 4C */ b lbl_80132774
.global lbl_80131B2C
lbl_80131B2C:
/* 80131B2C 0012D96C 80 1A 00 0C */ lwz r0, 0xc(r26)
/* 80131B30 0012D970 7C 00 18 50 */ subf r0, r0, r3
/* 80131B34 0012D974 28 00 00 09 */ cmplwi r0, 0x9
/* 80131B38 0012D978 41 81 0C 3C */ bgt lbl_80132774
/* 80131B3C 0012D97C 3C 60 80 44 */ lis r3, "@17952"@ha
/* 80131B40 0012D980 54 00 10 3A */ slwi r0, r0, 2
/* 80131B44 0012D984 38 63 3C 3C */ addi r3, r3, "@17952"@l
/* 80131B48 0012D988 7C 63 00 2E */ lwzx r3, r3, r0
/* 80131B4C 0012D98C 7C 69 03 A6 */ mtctr r3
/* 80131B50 0012D990 4E 80 04 20 */ bctr
.global lbl_80131B54
lbl_80131B54:
/* 80131B54 0012D994 2C 05 00 00 */ cmpwi r5, 0x0
/* 80131B58 0012D998 40 82 0C 1C */ bne lbl_80132774
/* 80131B5C 0012D99C 2C 04 00 02 */ cmpwi r4, 0x2
/* 80131B60 0012D9A0 38 80 00 01 */ li r4, 0x1
/* 80131B64 0012D9A4 40 82 00 24 */ bne lbl_80131B88
/* 80131B68 0012D9A8 80 7A 03 E8 */ lwz r3, 0x3e8(r26)
/* 80131B6C 0012D9AC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80131B70 0012D9B0 2C 00 00 01 */ cmpwi r0, 0x1
/* 80131B74 0012D9B4 41 82 00 14 */ beq lbl_80131B88
/* 80131B78 0012D9B8 80 7A 03 C4 */ lwz r3, 0x3c4(r26)
/* 80131B7C 0012D9BC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80131B80 0012D9C0 2C 00 00 01 */ cmpwi r0, 0x1
/* 80131B84 0012D9C4 40 82 00 08 */ bne lbl_80131B8C
.global lbl_80131B88
lbl_80131B88:
/* 80131B88 0012D9C8 38 80 00 00 */ li r4, 0x0
.global lbl_80131B8C
lbl_80131B8C:
/* 80131B8C 0012D9CC 2C 04 00 00 */ cmpwi r4, 0x0
/* 80131B90 0012D9D0 41 82 00 78 */ beq lbl_80131C08
/* 80131B94 0012D9D4 83 9A 03 C4 */ lwz r28, 0x3c4(r26)
/* 80131B98 0012D9D8 7F 83 E3 78 */ mr r3, r28
/* 80131B9C 0012D9DC 4B FF 6A 75 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80131BA0 0012D9E0 38 00 00 01 */ li r0, 0x1
/* 80131BA4 0012D9E4 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80131BA8 0012D9E8 38 80 00 03 */ li r4, 0x3
/* 80131BAC 0012D9EC 38 60 00 00 */ li r3, 0x0
/* 80131BB0 0012D9F0 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 80131BB4 0012D9F4 90 9A 00 74 */ stw r4, 0x74(r26)
/* 80131BB8 0012D9F8 2C 00 00 02 */ cmpwi r0, 0x2
/* 80131BBC 0012D9FC 90 7A 00 6C */ stw r3, 0x6c(r26)
/* 80131BC0 0012DA00 40 81 00 40 */ ble lbl_80131C00
/* 80131BC4 0012DA04 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80131BC8 0012DA08 38 60 00 00 */ li r3, 0x0
/* 80131BCC 0012DA0C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80131BD0 0012DA10 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80131BD4 0012DA14 41 82 00 14 */ beq lbl_80131BE8
/* 80131BD8 0012DA18 38 60 00 05 */ li r3, 0x5
/* 80131BDC 0012DA1C 38 80 00 04 */ li r4, 0x4
/* 80131BE0 0012DA20 7D 89 03 A6 */ mtctr r12
/* 80131BE4 0012DA24 4E 80 04 21 */ bctrl
.global lbl_80131BE8
lbl_80131BE8:
/* 80131BE8 0012DA28 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131BEC 0012DA2C 40 82 00 0C */ bne lbl_80131BF8
/* 80131BF0 0012DA30 38 60 00 04 */ li r3, 0x4
/* 80131BF4 0012DA34 4B FF 9D BD */ bl PlaySeq__10homebuttonFi
.global lbl_80131BF8
lbl_80131BF8:
/* 80131BF8 0012DA38 38 00 00 00 */ li r0, 0x0
/* 80131BFC 0012DA3C 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80131C00
lbl_80131C00:
/* 80131C00 0012DA40 3B 80 00 01 */ li r28, 0x1
/* 80131C04 0012DA44 48 00 0B 70 */ b lbl_80132774
.global lbl_80131C08
lbl_80131C08:
/* 80131C08 0012DA48 38 00 00 03 */ li r0, 0x3
/* 80131C0C 0012DA4C 90 1A 00 6C */ stw r0, 0x6c(r26)
/* 80131C10 0012DA50 48 00 0B 64 */ b lbl_80132774
.global lbl_80131C14
lbl_80131C14:
/* 80131C14 0012DA54 2C 05 00 00 */ cmpwi r5, 0x0
/* 80131C18 0012DA58 40 82 02 D8 */ bne lbl_80131EF0
/* 80131C1C 0012DA5C 38 00 00 25 */ li r0, 0x25
/* 80131C20 0012DA60 38 7E 00 68 */ addi r3, r30, 0x68
/* 80131C24 0012DA64 3B A0 00 00 */ li r29, 0x0
/* 80131C28 0012DA68 7C 09 03 A6 */ mtctr r0
/* 80131C2C 0012DA6C 60 00 00 00 */ nop
.global lbl_80131C30
lbl_80131C30:
/* 80131C30 0012DA70 80 03 00 00 */ lwz r0, 0x0(r3)
/* 80131C34 0012DA74 2C 00 00 04 */ cmpwi r0, 0x4
/* 80131C38 0012DA78 40 82 00 14 */ bne lbl_80131C4C
/* 80131C3C 0012DA7C 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80131C40 0012DA80 2C 00 00 02 */ cmpwi r0, 0x2
/* 80131C44 0012DA84 40 82 00 08 */ bne lbl_80131C4C
/* 80131C48 0012DA88 48 00 00 34 */ b lbl_80131C7C
.global lbl_80131C4C
lbl_80131C4C:
/* 80131C4C 0012DA8C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 80131C50 0012DA90 3B BD 00 01 */ addi r29, r29, 0x1
/* 80131C54 0012DA94 2C 00 00 04 */ cmpwi r0, 0x4
/* 80131C58 0012DA98 40 82 00 14 */ bne lbl_80131C6C
/* 80131C5C 0012DA9C 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80131C60 0012DAA0 2C 00 00 02 */ cmpwi r0, 0x2
/* 80131C64 0012DAA4 40 82 00 08 */ bne lbl_80131C6C
/* 80131C68 0012DAA8 48 00 00 14 */ b lbl_80131C7C
.global lbl_80131C6C
lbl_80131C6C:
/* 80131C6C 0012DAAC 38 63 00 10 */ addi r3, r3, 0x10
/* 80131C70 0012DAB0 3B BD 00 01 */ addi r29, r29, 0x1
/* 80131C74 0012DAB4 42 00 FF BC */ bdnz lbl_80131C30
/* 80131C78 0012DAB8 3B A0 FF FF */ li r29, -0x1
.global lbl_80131C7C
lbl_80131C7C:
/* 80131C7C 0012DABC 38 60 00 25 */ li r3, 0x25
/* 80131C80 0012DAC0 38 BE 00 68 */ addi r5, r30, 0x68
/* 80131C84 0012DAC4 38 00 00 01 */ li r0, 0x1
/* 80131C88 0012DAC8 39 00 00 00 */ li r8, 0x0
/* 80131C8C 0012DACC 7C 69 03 A6 */ mtctr r3
.global lbl_80131C90
lbl_80131C90:
/* 80131C90 0012DAD0 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80131C94 0012DAD4 2C 03 00 04 */ cmpwi r3, 0x4
/* 80131C98 0012DAD8 40 82 00 14 */ bne lbl_80131CAC
/* 80131C9C 0012DADC 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80131CA0 0012DAE0 2C 03 00 02 */ cmpwi r3, 0x2
/* 80131CA4 0012DAE4 40 82 00 08 */ bne lbl_80131CAC
/* 80131CA8 0012DAE8 48 00 00 34 */ b lbl_80131CDC
.global lbl_80131CAC
lbl_80131CAC:
/* 80131CAC 0012DAEC 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80131CB0 0012DAF0 39 08 00 01 */ addi r8, r8, 0x1
/* 80131CB4 0012DAF4 2C 03 00 04 */ cmpwi r3, 0x4
/* 80131CB8 0012DAF8 40 82 00 14 */ bne lbl_80131CCC
/* 80131CBC 0012DAFC 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80131CC0 0012DB00 2C 03 00 02 */ cmpwi r3, 0x2
/* 80131CC4 0012DB04 40 82 00 08 */ bne lbl_80131CCC
/* 80131CC8 0012DB08 48 00 00 14 */ b lbl_80131CDC
.global lbl_80131CCC
lbl_80131CCC:
/* 80131CCC 0012DB0C 38 A5 00 10 */ addi r5, r5, 0x10
/* 80131CD0 0012DB10 39 08 00 01 */ addi r8, r8, 0x1
/* 80131CD4 0012DB14 42 00 FF BC */ bdnz lbl_80131C90
/* 80131CD8 0012DB18 39 00 FF FF */ li r8, -0x1
.global lbl_80131CDC
lbl_80131CDC:
/* 80131CDC 0012DB1C 38 60 00 25 */ li r3, 0x25
/* 80131CE0 0012DB20 38 BE 00 68 */ addi r5, r30, 0x68
/* 80131CE4 0012DB24 38 E0 00 00 */ li r7, 0x0
/* 80131CE8 0012DB28 7C 69 03 A6 */ mtctr r3
/* 80131CEC 0012DB2C 60 00 00 00 */ nop
.global lbl_80131CF0
lbl_80131CF0:
/* 80131CF0 0012DB30 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80131CF4 0012DB34 2C 03 00 05 */ cmpwi r3, 0x5
/* 80131CF8 0012DB38 40 82 00 14 */ bne lbl_80131D0C
/* 80131CFC 0012DB3C 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80131D00 0012DB40 2C 03 00 03 */ cmpwi r3, 0x3
/* 80131D04 0012DB44 40 82 00 08 */ bne lbl_80131D0C
/* 80131D08 0012DB48 48 00 00 34 */ b lbl_80131D3C
.global lbl_80131D0C
lbl_80131D0C:
/* 80131D0C 0012DB4C 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80131D10 0012DB50 38 E7 00 01 */ addi r7, r7, 0x1
/* 80131D14 0012DB54 2C 03 00 05 */ cmpwi r3, 0x5
/* 80131D18 0012DB58 40 82 00 14 */ bne lbl_80131D2C
/* 80131D1C 0012DB5C 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80131D20 0012DB60 2C 03 00 03 */ cmpwi r3, 0x3
/* 80131D24 0012DB64 40 82 00 08 */ bne lbl_80131D2C
/* 80131D28 0012DB68 48 00 00 14 */ b lbl_80131D3C
.global lbl_80131D2C
lbl_80131D2C:
/* 80131D2C 0012DB6C 38 A5 00 10 */ addi r5, r5, 0x10
/* 80131D30 0012DB70 38 E7 00 01 */ addi r7, r7, 0x1
/* 80131D34 0012DB74 42 00 FF BC */ bdnz lbl_80131CF0
/* 80131D38 0012DB78 38 E0 FF FF */ li r7, -0x1
.global lbl_80131D3C
lbl_80131D3C:
/* 80131D3C 0012DB7C 38 60 00 25 */ li r3, 0x25
/* 80131D40 0012DB80 38 BE 00 68 */ addi r5, r30, 0x68
/* 80131D44 0012DB84 38 C0 00 00 */ li r6, 0x0
/* 80131D48 0012DB88 7C 69 03 A6 */ mtctr r3
/* 80131D4C 0012DB8C 60 00 00 00 */ nop
.global lbl_80131D50
lbl_80131D50:
/* 80131D50 0012DB90 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80131D54 0012DB94 2C 03 00 04 */ cmpwi r3, 0x4
/* 80131D58 0012DB98 40 82 00 14 */ bne lbl_80131D6C
/* 80131D5C 0012DB9C 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80131D60 0012DBA0 2C 03 00 13 */ cmpwi r3, 0x13
/* 80131D64 0012DBA4 40 82 00 08 */ bne lbl_80131D6C
/* 80131D68 0012DBA8 48 00 00 34 */ b lbl_80131D9C
.global lbl_80131D6C
lbl_80131D6C:
/* 80131D6C 0012DBAC 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80131D70 0012DBB0 38 C6 00 01 */ addi r6, r6, 0x1
/* 80131D74 0012DBB4 2C 03 00 04 */ cmpwi r3, 0x4
/* 80131D78 0012DBB8 40 82 00 14 */ bne lbl_80131D8C
/* 80131D7C 0012DBBC 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80131D80 0012DBC0 2C 03 00 13 */ cmpwi r3, 0x13
/* 80131D84 0012DBC4 40 82 00 08 */ bne lbl_80131D8C
/* 80131D88 0012DBC8 48 00 00 14 */ b lbl_80131D9C
.global lbl_80131D8C
lbl_80131D8C:
/* 80131D8C 0012DBCC 38 A5 00 10 */ addi r5, r5, 0x10
/* 80131D90 0012DBD0 38 C6 00 01 */ addi r6, r6, 0x1
/* 80131D94 0012DBD4 42 00 FF BC */ bdnz lbl_80131D50
/* 80131D98 0012DBD8 38 C0 FF FF */ li r6, -0x1
.global lbl_80131D9C
lbl_80131D9C:
/* 80131D9C 0012DBDC 38 60 00 25 */ li r3, 0x25
/* 80131DA0 0012DBE0 39 3E 00 68 */ addi r9, r30, 0x68
/* 80131DA4 0012DBE4 38 A0 00 00 */ li r5, 0x0
/* 80131DA8 0012DBE8 7C 69 03 A6 */ mtctr r3
/* 80131DAC 0012DBEC 60 00 00 00 */ nop
.global lbl_80131DB0
lbl_80131DB0:
/* 80131DB0 0012DBF0 80 69 00 00 */ lwz r3, 0x0(r9)
/* 80131DB4 0012DBF4 2C 03 00 05 */ cmpwi r3, 0x5
/* 80131DB8 0012DBF8 40 82 00 14 */ bne lbl_80131DCC
/* 80131DBC 0012DBFC 80 69 00 04 */ lwz r3, 0x4(r9)
/* 80131DC0 0012DC00 2C 03 00 14 */ cmpwi r3, 0x14
/* 80131DC4 0012DC04 40 82 00 08 */ bne lbl_80131DCC
/* 80131DC8 0012DC08 48 00 00 34 */ b lbl_80131DFC
.global lbl_80131DCC
lbl_80131DCC:
/* 80131DCC 0012DC0C 80 69 00 08 */ lwz r3, 0x8(r9)
/* 80131DD0 0012DC10 38 A5 00 01 */ addi r5, r5, 0x1
/* 80131DD4 0012DC14 2C 03 00 05 */ cmpwi r3, 0x5
/* 80131DD8 0012DC18 40 82 00 14 */ bne lbl_80131DEC
/* 80131DDC 0012DC1C 80 69 00 0C */ lwz r3, 0xc(r9)
/* 80131DE0 0012DC20 2C 03 00 14 */ cmpwi r3, 0x14
/* 80131DE4 0012DC24 40 82 00 08 */ bne lbl_80131DEC
/* 80131DE8 0012DC28 48 00 00 14 */ b lbl_80131DFC
.global lbl_80131DEC
lbl_80131DEC:
/* 80131DEC 0012DC2C 39 29 00 10 */ addi r9, r9, 0x10
/* 80131DF0 0012DC30 38 A5 00 01 */ addi r5, r5, 0x1
/* 80131DF4 0012DC34 42 00 FF BC */ bdnz lbl_80131DB0
/* 80131DF8 0012DC38 38 A0 FF FF */ li r5, -0x1
.global lbl_80131DFC
lbl_80131DFC:
/* 80131DFC 0012DC3C 2C 04 00 02 */ cmpwi r4, 0x2
/* 80131E00 0012DC40 40 82 00 64 */ bne lbl_80131E64
/* 80131E04 0012DC44 55 03 10 3A */ slwi r3, r8, 2
/* 80131E08 0012DC48 7C 7A 1A 14 */ add r3, r26, r3
/* 80131E0C 0012DC4C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80131E10 0012DC50 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80131E14 0012DC54 2C 03 00 01 */ cmpwi r3, 0x1
/* 80131E18 0012DC58 41 82 00 4C */ beq lbl_80131E64
/* 80131E1C 0012DC5C 54 E3 10 3A */ slwi r3, r7, 2
/* 80131E20 0012DC60 7C 7A 1A 14 */ add r3, r26, r3
/* 80131E24 0012DC64 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80131E28 0012DC68 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80131E2C 0012DC6C 2C 03 00 01 */ cmpwi r3, 0x1
/* 80131E30 0012DC70 41 82 00 34 */ beq lbl_80131E64
/* 80131E34 0012DC74 54 C3 10 3A */ slwi r3, r6, 2
/* 80131E38 0012DC78 7C 7A 1A 14 */ add r3, r26, r3
/* 80131E3C 0012DC7C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80131E40 0012DC80 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80131E44 0012DC84 2C 03 00 01 */ cmpwi r3, 0x1
/* 80131E48 0012DC88 41 82 00 1C */ beq lbl_80131E64
/* 80131E4C 0012DC8C 54 A3 10 3A */ slwi r3, r5, 2
/* 80131E50 0012DC90 7C 7A 1A 14 */ add r3, r26, r3
/* 80131E54 0012DC94 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80131E58 0012DC98 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80131E5C 0012DC9C 2C 03 00 01 */ cmpwi r3, 0x1
/* 80131E60 0012DCA0 40 82 00 08 */ bne lbl_80131E68
.global lbl_80131E64
lbl_80131E64:
/* 80131E64 0012DCA4 38 00 00 00 */ li r0, 0x0
.global lbl_80131E68
lbl_80131E68:
/* 80131E68 0012DCA8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80131E6C 0012DCAC 41 82 00 7C */ beq lbl_80131EE8
/* 80131E70 0012DCB0 57 A0 10 3A */ slwi r0, r29, 2
/* 80131E74 0012DCB4 7C 7A 02 14 */ add r3, r26, r0
/* 80131E78 0012DCB8 83 83 02 90 */ lwz r28, 0x290(r3)
/* 80131E7C 0012DCBC 7F 83 E3 78 */ mr r3, r28
/* 80131E80 0012DCC0 4B FF 67 91 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80131E84 0012DCC4 38 00 00 01 */ li r0, 0x1
/* 80131E88 0012DCC8 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80131E8C 0012DCCC 38 60 00 00 */ li r3, 0x0
/* 80131E90 0012DCD0 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 80131E94 0012DCD4 93 BA 00 78 */ stw r29, 0x78(r26)
/* 80131E98 0012DCD8 2C 00 00 02 */ cmpwi r0, 0x2
/* 80131E9C 0012DCDC 90 7A 00 70 */ stw r3, 0x70(r26)
/* 80131EA0 0012DCE0 40 81 00 40 */ ble lbl_80131EE0
/* 80131EA4 0012DCE4 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80131EA8 0012DCE8 38 60 00 00 */ li r3, 0x0
/* 80131EAC 0012DCEC 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80131EB0 0012DCF0 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80131EB4 0012DCF4 41 82 00 14 */ beq lbl_80131EC8
/* 80131EB8 0012DCF8 38 60 00 05 */ li r3, 0x5
/* 80131EBC 0012DCFC 38 80 00 04 */ li r4, 0x4
/* 80131EC0 0012DD00 7D 89 03 A6 */ mtctr r12
/* 80131EC4 0012DD04 4E 80 04 21 */ bctrl
.global lbl_80131EC8
lbl_80131EC8:
/* 80131EC8 0012DD08 2C 03 00 00 */ cmpwi r3, 0x0
/* 80131ECC 0012DD0C 40 82 00 0C */ bne lbl_80131ED8
/* 80131ED0 0012DD10 38 60 00 04 */ li r3, 0x4
/* 80131ED4 0012DD14 4B FF 9A DD */ bl PlaySeq__10homebuttonFi
.global lbl_80131ED8
lbl_80131ED8:
/* 80131ED8 0012DD18 38 00 00 00 */ li r0, 0x0
/* 80131EDC 0012DD1C 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80131EE0
lbl_80131EE0:
/* 80131EE0 0012DD20 3B 80 00 01 */ li r28, 0x1
/* 80131EE4 0012DD24 48 00 08 90 */ b lbl_80132774
.global lbl_80131EE8
lbl_80131EE8:
/* 80131EE8 0012DD28 93 BA 00 70 */ stw r29, 0x70(r26)
/* 80131EEC 0012DD2C 48 00 08 88 */ b lbl_80132774
.global lbl_80131EF0
lbl_80131EF0:
/* 80131EF0 0012DD30 2C 05 00 01 */ cmpwi r5, 0x1
/* 80131EF4 0012DD34 40 82 08 80 */ bne lbl_80132774
/* 80131EF8 0012DD38 38 00 00 25 */ li r0, 0x25
/* 80131EFC 0012DD3C 38 7E 00 68 */ addi r3, r30, 0x68
/* 80131F00 0012DD40 3B A0 00 00 */ li r29, 0x0
/* 80131F04 0012DD44 7C 09 03 A6 */ mtctr r0
.global lbl_80131F08
lbl_80131F08:
/* 80131F08 0012DD48 80 03 00 00 */ lwz r0, 0x0(r3)
/* 80131F0C 0012DD4C 2C 00 00 04 */ cmpwi r0, 0x4
/* 80131F10 0012DD50 40 82 00 14 */ bne lbl_80131F24
/* 80131F14 0012DD54 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80131F18 0012DD58 2C 00 00 13 */ cmpwi r0, 0x13
/* 80131F1C 0012DD5C 40 82 00 08 */ bne lbl_80131F24
/* 80131F20 0012DD60 48 00 00 34 */ b lbl_80131F54
.global lbl_80131F24
lbl_80131F24:
/* 80131F24 0012DD64 80 03 00 08 */ lwz r0, 0x8(r3)
/* 80131F28 0012DD68 3B BD 00 01 */ addi r29, r29, 0x1
/* 80131F2C 0012DD6C 2C 00 00 04 */ cmpwi r0, 0x4
/* 80131F30 0012DD70 40 82 00 14 */ bne lbl_80131F44
/* 80131F34 0012DD74 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80131F38 0012DD78 2C 00 00 13 */ cmpwi r0, 0x13
/* 80131F3C 0012DD7C 40 82 00 08 */ bne lbl_80131F44
/* 80131F40 0012DD80 48 00 00 14 */ b lbl_80131F54
.global lbl_80131F44
lbl_80131F44:
/* 80131F44 0012DD84 38 63 00 10 */ addi r3, r3, 0x10
/* 80131F48 0012DD88 3B BD 00 01 */ addi r29, r29, 0x1
/* 80131F4C 0012DD8C 42 00 FF BC */ bdnz lbl_80131F08
/* 80131F50 0012DD90 3B A0 FF FF */ li r29, -0x1
.global lbl_80131F54
lbl_80131F54:
/* 80131F54 0012DD94 38 60 00 25 */ li r3, 0x25
/* 80131F58 0012DD98 38 BE 00 68 */ addi r5, r30, 0x68
/* 80131F5C 0012DD9C 38 00 00 01 */ li r0, 0x1
/* 80131F60 0012DDA0 39 00 00 00 */ li r8, 0x0
/* 80131F64 0012DDA4 7C 69 03 A6 */ mtctr r3
.global lbl_80131F68
lbl_80131F68:
/* 80131F68 0012DDA8 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80131F6C 0012DDAC 2C 03 00 04 */ cmpwi r3, 0x4
/* 80131F70 0012DDB0 40 82 00 14 */ bne lbl_80131F84
/* 80131F74 0012DDB4 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80131F78 0012DDB8 2C 03 00 02 */ cmpwi r3, 0x2
/* 80131F7C 0012DDBC 40 82 00 08 */ bne lbl_80131F84
/* 80131F80 0012DDC0 48 00 00 34 */ b lbl_80131FB4
.global lbl_80131F84
lbl_80131F84:
/* 80131F84 0012DDC4 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80131F88 0012DDC8 39 08 00 01 */ addi r8, r8, 0x1
/* 80131F8C 0012DDCC 2C 03 00 04 */ cmpwi r3, 0x4
/* 80131F90 0012DDD0 40 82 00 14 */ bne lbl_80131FA4
/* 80131F94 0012DDD4 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80131F98 0012DDD8 2C 03 00 02 */ cmpwi r3, 0x2
/* 80131F9C 0012DDDC 40 82 00 08 */ bne lbl_80131FA4
/* 80131FA0 0012DDE0 48 00 00 14 */ b lbl_80131FB4
.global lbl_80131FA4
lbl_80131FA4:
/* 80131FA4 0012DDE4 38 A5 00 10 */ addi r5, r5, 0x10
/* 80131FA8 0012DDE8 39 08 00 01 */ addi r8, r8, 0x1
/* 80131FAC 0012DDEC 42 00 FF BC */ bdnz lbl_80131F68
/* 80131FB0 0012DDF0 39 00 FF FF */ li r8, -0x1
.global lbl_80131FB4
lbl_80131FB4:
/* 80131FB4 0012DDF4 38 60 00 25 */ li r3, 0x25
/* 80131FB8 0012DDF8 38 BE 00 68 */ addi r5, r30, 0x68
/* 80131FBC 0012DDFC 38 E0 00 00 */ li r7, 0x0
/* 80131FC0 0012DE00 7C 69 03 A6 */ mtctr r3
/* 80131FC4 0012DE04 60 00 00 00 */ nop
.global lbl_80131FC8
lbl_80131FC8:
/* 80131FC8 0012DE08 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80131FCC 0012DE0C 2C 03 00 05 */ cmpwi r3, 0x5
/* 80131FD0 0012DE10 40 82 00 14 */ bne lbl_80131FE4
/* 80131FD4 0012DE14 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80131FD8 0012DE18 2C 03 00 03 */ cmpwi r3, 0x3
/* 80131FDC 0012DE1C 40 82 00 08 */ bne lbl_80131FE4
/* 80131FE0 0012DE20 48 00 00 34 */ b lbl_80132014
.global lbl_80131FE4
lbl_80131FE4:
/* 80131FE4 0012DE24 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80131FE8 0012DE28 38 E7 00 01 */ addi r7, r7, 0x1
/* 80131FEC 0012DE2C 2C 03 00 05 */ cmpwi r3, 0x5
/* 80131FF0 0012DE30 40 82 00 14 */ bne lbl_80132004
/* 80131FF4 0012DE34 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80131FF8 0012DE38 2C 03 00 03 */ cmpwi r3, 0x3
/* 80131FFC 0012DE3C 40 82 00 08 */ bne lbl_80132004
/* 80132000 0012DE40 48 00 00 14 */ b lbl_80132014
.global lbl_80132004
lbl_80132004:
/* 80132004 0012DE44 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132008 0012DE48 38 E7 00 01 */ addi r7, r7, 0x1
/* 8013200C 0012DE4C 42 00 FF BC */ bdnz lbl_80131FC8
/* 80132010 0012DE50 38 E0 FF FF */ li r7, -0x1
.global lbl_80132014
lbl_80132014:
/* 80132014 0012DE54 38 60 00 25 */ li r3, 0x25
/* 80132018 0012DE58 38 BE 00 68 */ addi r5, r30, 0x68
/* 8013201C 0012DE5C 38 C0 00 00 */ li r6, 0x0
/* 80132020 0012DE60 7C 69 03 A6 */ mtctr r3
/* 80132024 0012DE64 60 00 00 00 */ nop
.global lbl_80132028
lbl_80132028:
/* 80132028 0012DE68 80 65 00 00 */ lwz r3, 0x0(r5)
/* 8013202C 0012DE6C 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132030 0012DE70 40 82 00 14 */ bne lbl_80132044
/* 80132034 0012DE74 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80132038 0012DE78 2C 03 00 13 */ cmpwi r3, 0x13
/* 8013203C 0012DE7C 40 82 00 08 */ bne lbl_80132044
/* 80132040 0012DE80 48 00 00 34 */ b lbl_80132074
.global lbl_80132044
lbl_80132044:
/* 80132044 0012DE84 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80132048 0012DE88 38 C6 00 01 */ addi r6, r6, 0x1
/* 8013204C 0012DE8C 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132050 0012DE90 40 82 00 14 */ bne lbl_80132064
/* 80132054 0012DE94 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80132058 0012DE98 2C 03 00 13 */ cmpwi r3, 0x13
/* 8013205C 0012DE9C 40 82 00 08 */ bne lbl_80132064
/* 80132060 0012DEA0 48 00 00 14 */ b lbl_80132074
.global lbl_80132064
lbl_80132064:
/* 80132064 0012DEA4 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132068 0012DEA8 38 C6 00 01 */ addi r6, r6, 0x1
/* 8013206C 0012DEAC 42 00 FF BC */ bdnz lbl_80132028
/* 80132070 0012DEB0 38 C0 FF FF */ li r6, -0x1
.global lbl_80132074
lbl_80132074:
/* 80132074 0012DEB4 38 60 00 25 */ li r3, 0x25
/* 80132078 0012DEB8 39 3E 00 68 */ addi r9, r30, 0x68
/* 8013207C 0012DEBC 38 A0 00 00 */ li r5, 0x0
/* 80132080 0012DEC0 7C 69 03 A6 */ mtctr r3
/* 80132084 0012DEC4 60 00 00 00 */ nop
.global lbl_80132088
lbl_80132088:
/* 80132088 0012DEC8 80 69 00 00 */ lwz r3, 0x0(r9)
/* 8013208C 0012DECC 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132090 0012DED0 40 82 00 14 */ bne lbl_801320A4
/* 80132094 0012DED4 80 69 00 04 */ lwz r3, 0x4(r9)
/* 80132098 0012DED8 2C 03 00 14 */ cmpwi r3, 0x14
/* 8013209C 0012DEDC 40 82 00 08 */ bne lbl_801320A4
/* 801320A0 0012DEE0 48 00 00 34 */ b lbl_801320D4
.global lbl_801320A4
lbl_801320A4:
/* 801320A4 0012DEE4 80 69 00 08 */ lwz r3, 0x8(r9)
/* 801320A8 0012DEE8 38 A5 00 01 */ addi r5, r5, 0x1
/* 801320AC 0012DEEC 2C 03 00 05 */ cmpwi r3, 0x5
/* 801320B0 0012DEF0 40 82 00 14 */ bne lbl_801320C4
/* 801320B4 0012DEF4 80 69 00 0C */ lwz r3, 0xc(r9)
/* 801320B8 0012DEF8 2C 03 00 14 */ cmpwi r3, 0x14
/* 801320BC 0012DEFC 40 82 00 08 */ bne lbl_801320C4
/* 801320C0 0012DF00 48 00 00 14 */ b lbl_801320D4
.global lbl_801320C4
lbl_801320C4:
/* 801320C4 0012DF04 39 29 00 10 */ addi r9, r9, 0x10
/* 801320C8 0012DF08 38 A5 00 01 */ addi r5, r5, 0x1
/* 801320CC 0012DF0C 42 00 FF BC */ bdnz lbl_80132088
/* 801320D0 0012DF10 38 A0 FF FF */ li r5, -0x1
.global lbl_801320D4
lbl_801320D4:
/* 801320D4 0012DF14 2C 04 00 02 */ cmpwi r4, 0x2
/* 801320D8 0012DF18 40 82 00 64 */ bne lbl_8013213C
/* 801320DC 0012DF1C 55 03 10 3A */ slwi r3, r8, 2
/* 801320E0 0012DF20 7C 7A 1A 14 */ add r3, r26, r3
/* 801320E4 0012DF24 80 63 02 90 */ lwz r3, 0x290(r3)
/* 801320E8 0012DF28 80 63 00 14 */ lwz r3, 0x14(r3)
/* 801320EC 0012DF2C 2C 03 00 01 */ cmpwi r3, 0x1
/* 801320F0 0012DF30 41 82 00 4C */ beq lbl_8013213C
/* 801320F4 0012DF34 54 E3 10 3A */ slwi r3, r7, 2
/* 801320F8 0012DF38 7C 7A 1A 14 */ add r3, r26, r3
/* 801320FC 0012DF3C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132100 0012DF40 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132104 0012DF44 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132108 0012DF48 41 82 00 34 */ beq lbl_8013213C
/* 8013210C 0012DF4C 54 C3 10 3A */ slwi r3, r6, 2
/* 80132110 0012DF50 7C 7A 1A 14 */ add r3, r26, r3
/* 80132114 0012DF54 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132118 0012DF58 80 63 00 14 */ lwz r3, 0x14(r3)
/* 8013211C 0012DF5C 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132120 0012DF60 41 82 00 1C */ beq lbl_8013213C
/* 80132124 0012DF64 54 A3 10 3A */ slwi r3, r5, 2
/* 80132128 0012DF68 7C 7A 1A 14 */ add r3, r26, r3
/* 8013212C 0012DF6C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132130 0012DF70 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132134 0012DF74 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132138 0012DF78 40 82 00 08 */ bne lbl_80132140
.global lbl_8013213C
lbl_8013213C:
/* 8013213C 0012DF7C 38 00 00 00 */ li r0, 0x0
.global lbl_80132140
lbl_80132140:
/* 80132140 0012DF80 2C 00 00 00 */ cmpwi r0, 0x0
/* 80132144 0012DF84 41 82 00 7C */ beq lbl_801321C0
/* 80132148 0012DF88 57 A0 10 3A */ slwi r0, r29, 2
/* 8013214C 0012DF8C 7C 7A 02 14 */ add r3, r26, r0
/* 80132150 0012DF90 83 83 02 90 */ lwz r28, 0x290(r3)
/* 80132154 0012DF94 7F 83 E3 78 */ mr r3, r28
/* 80132158 0012DF98 4B FF 64 B9 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8013215C 0012DF9C 38 00 00 01 */ li r0, 0x1
/* 80132160 0012DFA0 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80132164 0012DFA4 38 60 00 00 */ li r3, 0x0
/* 80132168 0012DFA8 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 8013216C 0012DFAC 93 BA 00 78 */ stw r29, 0x78(r26)
/* 80132170 0012DFB0 2C 00 00 02 */ cmpwi r0, 0x2
/* 80132174 0012DFB4 90 7A 00 70 */ stw r3, 0x70(r26)
/* 80132178 0012DFB8 40 81 00 40 */ ble lbl_801321B8
/* 8013217C 0012DFBC 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80132180 0012DFC0 38 60 00 00 */ li r3, 0x0
/* 80132184 0012DFC4 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80132188 0012DFC8 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013218C 0012DFCC 41 82 00 14 */ beq lbl_801321A0
/* 80132190 0012DFD0 38 60 00 05 */ li r3, 0x5
/* 80132194 0012DFD4 38 80 00 04 */ li r4, 0x4
/* 80132198 0012DFD8 7D 89 03 A6 */ mtctr r12
/* 8013219C 0012DFDC 4E 80 04 21 */ bctrl
.global lbl_801321A0
lbl_801321A0:
/* 801321A0 0012DFE0 2C 03 00 00 */ cmpwi r3, 0x0
/* 801321A4 0012DFE4 40 82 00 0C */ bne lbl_801321B0
/* 801321A8 0012DFE8 38 60 00 04 */ li r3, 0x4
/* 801321AC 0012DFEC 4B FF 98 05 */ bl PlaySeq__10homebuttonFi
.global lbl_801321B0
lbl_801321B0:
/* 801321B0 0012DFF0 38 00 00 00 */ li r0, 0x0
/* 801321B4 0012DFF4 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_801321B8
lbl_801321B8:
/* 801321B8 0012DFF8 3B 80 00 01 */ li r28, 0x1
/* 801321BC 0012DFFC 48 00 05 B8 */ b lbl_80132774
.global lbl_801321C0
lbl_801321C0:
/* 801321C0 0012E000 93 BA 00 70 */ stw r29, 0x70(r26)
/* 801321C4 0012E004 48 00 05 B0 */ b lbl_80132774
.global lbl_801321C8
lbl_801321C8:
/* 801321C8 0012E008 2C 05 00 01 */ cmpwi r5, 0x1
/* 801321CC 0012E00C 40 82 05 A8 */ bne lbl_80132774
/* 801321D0 0012E010 38 00 00 25 */ li r0, 0x25
/* 801321D4 0012E014 38 9E 00 68 */ addi r4, r30, 0x68
/* 801321D8 0012E018 38 60 00 00 */ li r3, 0x0
/* 801321DC 0012E01C 7C 09 03 A6 */ mtctr r0
.global lbl_801321E0
lbl_801321E0:
/* 801321E0 0012E020 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801321E4 0012E024 2C 00 00 06 */ cmpwi r0, 0x6
/* 801321E8 0012E028 40 82 00 14 */ bne lbl_801321FC
/* 801321EC 0012E02C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801321F0 0012E030 2C 00 00 04 */ cmpwi r0, 0x4
/* 801321F4 0012E034 40 82 00 08 */ bne lbl_801321FC
/* 801321F8 0012E038 48 00 00 34 */ b lbl_8013222C
.global lbl_801321FC
lbl_801321FC:
/* 801321FC 0012E03C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80132200 0012E040 38 63 00 01 */ addi r3, r3, 0x1
/* 80132204 0012E044 2C 00 00 06 */ cmpwi r0, 0x6
/* 80132208 0012E048 40 82 00 14 */ bne lbl_8013221C
/* 8013220C 0012E04C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80132210 0012E050 2C 00 00 04 */ cmpwi r0, 0x4
/* 80132214 0012E054 40 82 00 08 */ bne lbl_8013221C
/* 80132218 0012E058 48 00 00 14 */ b lbl_8013222C
.global lbl_8013221C
lbl_8013221C:
/* 8013221C 0012E05C 38 84 00 10 */ addi r4, r4, 0x10
/* 80132220 0012E060 38 63 00 01 */ addi r3, r3, 0x1
/* 80132224 0012E064 42 00 FF BC */ bdnz lbl_801321E0
/* 80132228 0012E068 38 60 FF FF */ li r3, -0x1
.global lbl_8013222C
lbl_8013222C:
/* 8013222C 0012E06C 54 60 10 3A */ slwi r0, r3, 2
/* 80132230 0012E070 7C 7A 02 14 */ add r3, r26, r0
/* 80132234 0012E074 83 83 02 90 */ lwz r28, 0x290(r3)
/* 80132238 0012E078 7F 83 E3 78 */ mr r3, r28
/* 8013223C 0012E07C 4B FF 63 D5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132240 0012E080 38 00 00 01 */ li r0, 0x1
/* 80132244 0012E084 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80132248 0012E088 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 8013224C 0012E08C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80132250 0012E090 40 81 00 40 */ ble lbl_80132290
/* 80132254 0012E094 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80132258 0012E098 38 60 00 00 */ li r3, 0x0
/* 8013225C 0012E09C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80132260 0012E0A0 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80132264 0012E0A4 41 82 00 14 */ beq lbl_80132278
/* 80132268 0012E0A8 38 60 00 05 */ li r3, 0x5
/* 8013226C 0012E0AC 38 80 00 04 */ li r4, 0x4
/* 80132270 0012E0B0 7D 89 03 A6 */ mtctr r12
/* 80132274 0012E0B4 4E 80 04 21 */ bctrl
.global lbl_80132278
lbl_80132278:
/* 80132278 0012E0B8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013227C 0012E0BC 40 82 00 0C */ bne lbl_80132288
/* 80132280 0012E0C0 38 60 00 04 */ li r3, 0x4
/* 80132284 0012E0C4 4B FF 97 2D */ bl PlaySeq__10homebuttonFi
.global lbl_80132288
lbl_80132288:
/* 80132288 0012E0C8 38 00 00 00 */ li r0, 0x0
/* 8013228C 0012E0CC 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80132290
lbl_80132290:
/* 80132290 0012E0D0 3B 80 00 01 */ li r28, 0x1
/* 80132294 0012E0D4 48 00 04 E0 */ b lbl_80132774
.global lbl_80132298
lbl_80132298:
/* 80132298 0012E0D8 2C 05 00 01 */ cmpwi r5, 0x1
/* 8013229C 0012E0DC 40 82 04 D8 */ bne lbl_80132774
/* 801322A0 0012E0E0 38 00 00 25 */ li r0, 0x25
/* 801322A4 0012E0E4 38 9E 00 68 */ addi r4, r30, 0x68
/* 801322A8 0012E0E8 38 60 00 00 */ li r3, 0x0
/* 801322AC 0012E0EC 7C 09 03 A6 */ mtctr r0
.global lbl_801322B0
lbl_801322B0:
/* 801322B0 0012E0F0 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801322B4 0012E0F4 2C 00 00 07 */ cmpwi r0, 0x7
/* 801322B8 0012E0F8 40 82 00 14 */ bne lbl_801322CC
/* 801322BC 0012E0FC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801322C0 0012E100 2C 00 00 04 */ cmpwi r0, 0x4
/* 801322C4 0012E104 40 82 00 08 */ bne lbl_801322CC
/* 801322C8 0012E108 48 00 00 34 */ b lbl_801322FC
.global lbl_801322CC
lbl_801322CC:
/* 801322CC 0012E10C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801322D0 0012E110 38 63 00 01 */ addi r3, r3, 0x1
/* 801322D4 0012E114 2C 00 00 07 */ cmpwi r0, 0x7
/* 801322D8 0012E118 40 82 00 14 */ bne lbl_801322EC
/* 801322DC 0012E11C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801322E0 0012E120 2C 00 00 04 */ cmpwi r0, 0x4
/* 801322E4 0012E124 40 82 00 08 */ bne lbl_801322EC
/* 801322E8 0012E128 48 00 00 14 */ b lbl_801322FC
.global lbl_801322EC
lbl_801322EC:
/* 801322EC 0012E12C 38 84 00 10 */ addi r4, r4, 0x10
/* 801322F0 0012E130 38 63 00 01 */ addi r3, r3, 0x1
/* 801322F4 0012E134 42 00 FF BC */ bdnz lbl_801322B0
/* 801322F8 0012E138 38 60 FF FF */ li r3, -0x1
.global lbl_801322FC
lbl_801322FC:
/* 801322FC 0012E13C 54 60 10 3A */ slwi r0, r3, 2
/* 80132300 0012E140 7C 7A 02 14 */ add r3, r26, r0
/* 80132304 0012E144 83 83 02 90 */ lwz r28, 0x290(r3)
/* 80132308 0012E148 7F 83 E3 78 */ mr r3, r28
/* 8013230C 0012E14C 4B FF 63 05 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132310 0012E150 38 00 00 01 */ li r0, 0x1
/* 80132314 0012E154 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80132318 0012E158 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 8013231C 0012E15C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80132320 0012E160 40 81 00 40 */ ble lbl_80132360
/* 80132324 0012E164 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80132328 0012E168 38 60 00 00 */ li r3, 0x0
/* 8013232C 0012E16C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80132330 0012E170 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80132334 0012E174 41 82 00 14 */ beq lbl_80132348
/* 80132338 0012E178 38 60 00 05 */ li r3, 0x5
/* 8013233C 0012E17C 38 80 00 04 */ li r4, 0x4
/* 80132340 0012E180 7D 89 03 A6 */ mtctr r12
/* 80132344 0012E184 4E 80 04 21 */ bctrl
.global lbl_80132348
lbl_80132348:
/* 80132348 0012E188 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013234C 0012E18C 40 82 00 0C */ bne lbl_80132358
/* 80132350 0012E190 38 60 00 04 */ li r3, 0x4
/* 80132354 0012E194 4B FF 96 5D */ bl PlaySeq__10homebuttonFi
.global lbl_80132358
lbl_80132358:
/* 80132358 0012E198 38 00 00 00 */ li r0, 0x0
/* 8013235C 0012E19C 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80132360
lbl_80132360:
/* 80132360 0012E1A0 3B 80 00 01 */ li r28, 0x1
/* 80132364 0012E1A4 48 00 04 10 */ b lbl_80132774
.global lbl_80132368
lbl_80132368:
/* 80132368 0012E1A8 2C 05 00 01 */ cmpwi r5, 0x1
/* 8013236C 0012E1AC 40 82 04 08 */ bne lbl_80132774
/* 80132370 0012E1B0 38 00 00 25 */ li r0, 0x25
/* 80132374 0012E1B4 38 9E 00 68 */ addi r4, r30, 0x68
/* 80132378 0012E1B8 38 60 00 00 */ li r3, 0x0
/* 8013237C 0012E1BC 7C 09 03 A6 */ mtctr r0
.global lbl_80132380
lbl_80132380:
/* 80132380 0012E1C0 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80132384 0012E1C4 2C 00 00 08 */ cmpwi r0, 0x8
/* 80132388 0012E1C8 40 82 00 14 */ bne lbl_8013239C
/* 8013238C 0012E1CC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80132390 0012E1D0 2C 00 00 04 */ cmpwi r0, 0x4
/* 80132394 0012E1D4 40 82 00 08 */ bne lbl_8013239C
/* 80132398 0012E1D8 48 00 00 34 */ b lbl_801323CC
.global lbl_8013239C
lbl_8013239C:
/* 8013239C 0012E1DC 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801323A0 0012E1E0 38 63 00 01 */ addi r3, r3, 0x1
/* 801323A4 0012E1E4 2C 00 00 08 */ cmpwi r0, 0x8
/* 801323A8 0012E1E8 40 82 00 14 */ bne lbl_801323BC
/* 801323AC 0012E1EC 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801323B0 0012E1F0 2C 00 00 04 */ cmpwi r0, 0x4
/* 801323B4 0012E1F4 40 82 00 08 */ bne lbl_801323BC
/* 801323B8 0012E1F8 48 00 00 14 */ b lbl_801323CC
.global lbl_801323BC
lbl_801323BC:
/* 801323BC 0012E1FC 38 84 00 10 */ addi r4, r4, 0x10
/* 801323C0 0012E200 38 63 00 01 */ addi r3, r3, 0x1
/* 801323C4 0012E204 42 00 FF BC */ bdnz lbl_80132380
/* 801323C8 0012E208 38 60 FF FF */ li r3, -0x1
.global lbl_801323CC
lbl_801323CC:
/* 801323CC 0012E20C 54 60 10 3A */ slwi r0, r3, 2
/* 801323D0 0012E210 7C 7A 02 14 */ add r3, r26, r0
/* 801323D4 0012E214 83 83 02 90 */ lwz r28, 0x290(r3)
/* 801323D8 0012E218 7F 83 E3 78 */ mr r3, r28
/* 801323DC 0012E21C 4B FF 62 35 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801323E0 0012E220 38 00 00 01 */ li r0, 0x1
/* 801323E4 0012E224 90 1C 00 14 */ stw r0, 0x14(r28)
/* 801323E8 0012E228 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 801323EC 0012E22C 2C 00 00 02 */ cmpwi r0, 0x2
/* 801323F0 0012E230 40 81 00 40 */ ble lbl_80132430
/* 801323F4 0012E234 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 801323F8 0012E238 38 60 00 00 */ li r3, 0x0
/* 801323FC 0012E23C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80132400 0012E240 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80132404 0012E244 41 82 00 14 */ beq lbl_80132418
/* 80132408 0012E248 38 60 00 05 */ li r3, 0x5
/* 8013240C 0012E24C 38 80 00 04 */ li r4, 0x4
/* 80132410 0012E250 7D 89 03 A6 */ mtctr r12
/* 80132414 0012E254 4E 80 04 21 */ bctrl
.global lbl_80132418
lbl_80132418:
/* 80132418 0012E258 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013241C 0012E25C 40 82 00 0C */ bne lbl_80132428
/* 80132420 0012E260 38 60 00 04 */ li r3, 0x4
/* 80132424 0012E264 4B FF 95 8D */ bl PlaySeq__10homebuttonFi
.global lbl_80132428
lbl_80132428:
/* 80132428 0012E268 38 00 00 00 */ li r0, 0x0
/* 8013242C 0012E26C 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80132430
lbl_80132430:
/* 80132430 0012E270 3B 80 00 01 */ li r28, 0x1
/* 80132434 0012E274 48 00 03 40 */ b lbl_80132774
.global lbl_80132438
lbl_80132438:
/* 80132438 0012E278 2C 05 00 01 */ cmpwi r5, 0x1
/* 8013243C 0012E27C 40 82 03 38 */ bne lbl_80132774
/* 80132440 0012E280 38 00 00 25 */ li r0, 0x25
/* 80132444 0012E284 38 9E 00 68 */ addi r4, r30, 0x68
/* 80132448 0012E288 38 60 00 00 */ li r3, 0x0
/* 8013244C 0012E28C 7C 09 03 A6 */ mtctr r0
.global lbl_80132450
lbl_80132450:
/* 80132450 0012E290 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80132454 0012E294 2C 00 00 09 */ cmpwi r0, 0x9
/* 80132458 0012E298 40 82 00 14 */ bne lbl_8013246C
/* 8013245C 0012E29C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80132460 0012E2A0 2C 00 00 04 */ cmpwi r0, 0x4
/* 80132464 0012E2A4 40 82 00 08 */ bne lbl_8013246C
/* 80132468 0012E2A8 48 00 00 34 */ b lbl_8013249C
.global lbl_8013246C
lbl_8013246C:
/* 8013246C 0012E2AC 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80132470 0012E2B0 38 63 00 01 */ addi r3, r3, 0x1
/* 80132474 0012E2B4 2C 00 00 09 */ cmpwi r0, 0x9
/* 80132478 0012E2B8 40 82 00 14 */ bne lbl_8013248C
/* 8013247C 0012E2BC 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80132480 0012E2C0 2C 00 00 04 */ cmpwi r0, 0x4
/* 80132484 0012E2C4 40 82 00 08 */ bne lbl_8013248C
/* 80132488 0012E2C8 48 00 00 14 */ b lbl_8013249C
.global lbl_8013248C
lbl_8013248C:
/* 8013248C 0012E2CC 38 84 00 10 */ addi r4, r4, 0x10
/* 80132490 0012E2D0 38 63 00 01 */ addi r3, r3, 0x1
/* 80132494 0012E2D4 42 00 FF BC */ bdnz lbl_80132450
/* 80132498 0012E2D8 38 60 FF FF */ li r3, -0x1
.global lbl_8013249C
lbl_8013249C:
/* 8013249C 0012E2DC 54 60 10 3A */ slwi r0, r3, 2
/* 801324A0 0012E2E0 7C 7A 02 14 */ add r3, r26, r0
/* 801324A4 0012E2E4 83 83 02 90 */ lwz r28, 0x290(r3)
/* 801324A8 0012E2E8 7F 83 E3 78 */ mr r3, r28
/* 801324AC 0012E2EC 4B FF 61 65 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801324B0 0012E2F0 38 00 00 01 */ li r0, 0x1
/* 801324B4 0012E2F4 90 1C 00 14 */ stw r0, 0x14(r28)
/* 801324B8 0012E2F8 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 801324BC 0012E2FC 2C 00 00 02 */ cmpwi r0, 0x2
/* 801324C0 0012E300 40 81 00 40 */ ble lbl_80132500
/* 801324C4 0012E304 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 801324C8 0012E308 38 60 00 00 */ li r3, 0x0
/* 801324CC 0012E30C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801324D0 0012E310 2C 0C 00 00 */ cmpwi r12, 0x0
/* 801324D4 0012E314 41 82 00 14 */ beq lbl_801324E8
/* 801324D8 0012E318 38 60 00 05 */ li r3, 0x5
/* 801324DC 0012E31C 38 80 00 04 */ li r4, 0x4
/* 801324E0 0012E320 7D 89 03 A6 */ mtctr r12
/* 801324E4 0012E324 4E 80 04 21 */ bctrl
.global lbl_801324E8
lbl_801324E8:
/* 801324E8 0012E328 2C 03 00 00 */ cmpwi r3, 0x0
/* 801324EC 0012E32C 40 82 00 0C */ bne lbl_801324F8
/* 801324F0 0012E330 38 60 00 04 */ li r3, 0x4
/* 801324F4 0012E334 4B FF 94 BD */ bl PlaySeq__10homebuttonFi
.global lbl_801324F8
lbl_801324F8:
/* 801324F8 0012E338 38 00 00 00 */ li r0, 0x0
/* 801324FC 0012E33C 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80132500
lbl_80132500:
/* 80132500 0012E340 3B 80 00 01 */ li r28, 0x1
/* 80132504 0012E344 48 00 02 70 */ b lbl_80132774
.global lbl_80132508
lbl_80132508:
/* 80132508 0012E348 2C 05 00 01 */ cmpwi r5, 0x1
/* 8013250C 0012E34C 40 82 02 68 */ bne lbl_80132774
/* 80132510 0012E350 38 00 00 25 */ li r0, 0x25
/* 80132514 0012E354 38 9E 00 68 */ addi r4, r30, 0x68
/* 80132518 0012E358 38 60 00 00 */ li r3, 0x0
/* 8013251C 0012E35C 7C 09 03 A6 */ mtctr r0
.global lbl_80132520
lbl_80132520:
/* 80132520 0012E360 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80132524 0012E364 2C 00 00 0A */ cmpwi r0, 0xa
/* 80132528 0012E368 40 82 00 14 */ bne lbl_8013253C
/* 8013252C 0012E36C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80132530 0012E370 2C 00 00 04 */ cmpwi r0, 0x4
/* 80132534 0012E374 40 82 00 08 */ bne lbl_8013253C
/* 80132538 0012E378 48 00 00 34 */ b lbl_8013256C
.global lbl_8013253C
lbl_8013253C:
/* 8013253C 0012E37C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80132540 0012E380 38 63 00 01 */ addi r3, r3, 0x1
/* 80132544 0012E384 2C 00 00 0A */ cmpwi r0, 0xa
/* 80132548 0012E388 40 82 00 14 */ bne lbl_8013255C
/* 8013254C 0012E38C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80132550 0012E390 2C 00 00 04 */ cmpwi r0, 0x4
/* 80132554 0012E394 40 82 00 08 */ bne lbl_8013255C
/* 80132558 0012E398 48 00 00 14 */ b lbl_8013256C
.global lbl_8013255C
lbl_8013255C:
/* 8013255C 0012E39C 38 84 00 10 */ addi r4, r4, 0x10
/* 80132560 0012E3A0 38 63 00 01 */ addi r3, r3, 0x1
/* 80132564 0012E3A4 42 00 FF BC */ bdnz lbl_80132520
/* 80132568 0012E3A8 38 60 FF FF */ li r3, -0x1
.global lbl_8013256C
lbl_8013256C:
/* 8013256C 0012E3AC 54 60 10 3A */ slwi r0, r3, 2
/* 80132570 0012E3B0 7C 7A 02 14 */ add r3, r26, r0
/* 80132574 0012E3B4 83 83 02 90 */ lwz r28, 0x290(r3)
/* 80132578 0012E3B8 7F 83 E3 78 */ mr r3, r28
/* 8013257C 0012E3BC 4B FF 60 95 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132580 0012E3C0 38 00 00 01 */ li r0, 0x1
/* 80132584 0012E3C4 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80132588 0012E3C8 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 8013258C 0012E3CC 2C 00 00 02 */ cmpwi r0, 0x2
/* 80132590 0012E3D0 40 81 00 40 */ ble lbl_801325D0
/* 80132594 0012E3D4 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80132598 0012E3D8 38 60 00 00 */ li r3, 0x0
/* 8013259C 0012E3DC 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801325A0 0012E3E0 2C 0C 00 00 */ cmpwi r12, 0x0
/* 801325A4 0012E3E4 41 82 00 14 */ beq lbl_801325B8
/* 801325A8 0012E3E8 38 60 00 05 */ li r3, 0x5
/* 801325AC 0012E3EC 38 80 00 04 */ li r4, 0x4
/* 801325B0 0012E3F0 7D 89 03 A6 */ mtctr r12
/* 801325B4 0012E3F4 4E 80 04 21 */ bctrl
.global lbl_801325B8
lbl_801325B8:
/* 801325B8 0012E3F8 2C 03 00 00 */ cmpwi r3, 0x0
/* 801325BC 0012E3FC 40 82 00 0C */ bne lbl_801325C8
/* 801325C0 0012E400 38 60 00 04 */ li r3, 0x4
/* 801325C4 0012E404 4B FF 93 ED */ bl PlaySeq__10homebuttonFi
.global lbl_801325C8
lbl_801325C8:
/* 801325C8 0012E408 38 00 00 00 */ li r0, 0x0
/* 801325CC 0012E40C 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_801325D0
lbl_801325D0:
/* 801325D0 0012E410 3B 80 00 01 */ li r28, 0x1
/* 801325D4 0012E414 48 00 01 A0 */ b lbl_80132774
.global lbl_801325D8
lbl_801325D8:
/* 801325D8 0012E418 2C 05 00 02 */ cmpwi r5, 0x2
/* 801325DC 0012E41C 40 82 01 98 */ bne lbl_80132774
/* 801325E0 0012E420 38 00 00 25 */ li r0, 0x25
/* 801325E4 0012E424 38 9E 00 68 */ addi r4, r30, 0x68
/* 801325E8 0012E428 38 60 00 00 */ li r3, 0x0
/* 801325EC 0012E42C 7C 09 03 A6 */ mtctr r0
.global lbl_801325F0
lbl_801325F0:
/* 801325F0 0012E430 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801325F4 0012E434 2C 00 00 11 */ cmpwi r0, 0x11
/* 801325F8 0012E438 40 82 00 14 */ bne lbl_8013260C
/* 801325FC 0012E43C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80132600 0012E440 2C 00 00 0B */ cmpwi r0, 0xb
/* 80132604 0012E444 40 82 00 08 */ bne lbl_8013260C
/* 80132608 0012E448 48 00 00 34 */ b lbl_8013263C
.global lbl_8013260C
lbl_8013260C:
/* 8013260C 0012E44C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80132610 0012E450 38 63 00 01 */ addi r3, r3, 0x1
/* 80132614 0012E454 2C 00 00 11 */ cmpwi r0, 0x11
/* 80132618 0012E458 40 82 00 14 */ bne lbl_8013262C
/* 8013261C 0012E45C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80132620 0012E460 2C 00 00 0B */ cmpwi r0, 0xb
/* 80132624 0012E464 40 82 00 08 */ bne lbl_8013262C
/* 80132628 0012E468 48 00 00 14 */ b lbl_8013263C
.global lbl_8013262C
lbl_8013262C:
/* 8013262C 0012E46C 38 84 00 10 */ addi r4, r4, 0x10
/* 80132630 0012E470 38 63 00 01 */ addi r3, r3, 0x1
/* 80132634 0012E474 42 00 FF BC */ bdnz lbl_801325F0
/* 80132638 0012E478 38 60 FF FF */ li r3, -0x1
.global lbl_8013263C
lbl_8013263C:
/* 8013263C 0012E47C 54 60 10 3A */ slwi r0, r3, 2
/* 80132640 0012E480 7C 7A 02 14 */ add r3, r26, r0
/* 80132644 0012E484 83 83 02 90 */ lwz r28, 0x290(r3)
/* 80132648 0012E488 7F 83 E3 78 */ mr r3, r28
/* 8013264C 0012E48C 4B FF 5F C5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132650 0012E490 38 00 00 01 */ li r0, 0x1
/* 80132654 0012E494 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80132658 0012E498 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 8013265C 0012E49C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80132660 0012E4A0 40 81 00 40 */ ble lbl_801326A0
/* 80132664 0012E4A4 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80132668 0012E4A8 38 60 00 00 */ li r3, 0x0
/* 8013266C 0012E4AC 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80132670 0012E4B0 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80132674 0012E4B4 41 82 00 14 */ beq lbl_80132688
/* 80132678 0012E4B8 38 60 00 05 */ li r3, 0x5
/* 8013267C 0012E4BC 38 80 00 04 */ li r4, 0x4
/* 80132680 0012E4C0 7D 89 03 A6 */ mtctr r12
/* 80132684 0012E4C4 4E 80 04 21 */ bctrl
.global lbl_80132688
lbl_80132688:
/* 80132688 0012E4C8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013268C 0012E4CC 40 82 00 0C */ bne lbl_80132698
/* 80132690 0012E4D0 38 60 00 04 */ li r3, 0x4
/* 80132694 0012E4D4 4B FF 93 1D */ bl PlaySeq__10homebuttonFi
.global lbl_80132698
lbl_80132698:
/* 80132698 0012E4D8 38 00 00 00 */ li r0, 0x0
/* 8013269C 0012E4DC 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_801326A0
lbl_801326A0:
/* 801326A0 0012E4E0 3B 80 00 01 */ li r28, 0x1
/* 801326A4 0012E4E4 48 00 00 D0 */ b lbl_80132774
.global lbl_801326A8
lbl_801326A8:
/* 801326A8 0012E4E8 2C 05 00 02 */ cmpwi r5, 0x2
/* 801326AC 0012E4EC 40 82 00 C8 */ bne lbl_80132774
/* 801326B0 0012E4F0 38 00 00 25 */ li r0, 0x25
/* 801326B4 0012E4F4 38 9E 00 68 */ addi r4, r30, 0x68
/* 801326B8 0012E4F8 38 60 00 00 */ li r3, 0x0
/* 801326BC 0012E4FC 7C 09 03 A6 */ mtctr r0
.global lbl_801326C0
lbl_801326C0:
/* 801326C0 0012E500 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801326C4 0012E504 2C 00 00 12 */ cmpwi r0, 0x12
/* 801326C8 0012E508 40 82 00 14 */ bne lbl_801326DC
/* 801326CC 0012E50C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801326D0 0012E510 2C 00 00 0B */ cmpwi r0, 0xb
/* 801326D4 0012E514 40 82 00 08 */ bne lbl_801326DC
/* 801326D8 0012E518 48 00 00 34 */ b lbl_8013270C
.global lbl_801326DC
lbl_801326DC:
/* 801326DC 0012E51C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801326E0 0012E520 38 63 00 01 */ addi r3, r3, 0x1
/* 801326E4 0012E524 2C 00 00 12 */ cmpwi r0, 0x12
/* 801326E8 0012E528 40 82 00 14 */ bne lbl_801326FC
/* 801326EC 0012E52C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801326F0 0012E530 2C 00 00 0B */ cmpwi r0, 0xb
/* 801326F4 0012E534 40 82 00 08 */ bne lbl_801326FC
/* 801326F8 0012E538 48 00 00 14 */ b lbl_8013270C
.global lbl_801326FC
lbl_801326FC:
/* 801326FC 0012E53C 38 84 00 10 */ addi r4, r4, 0x10
/* 80132700 0012E540 38 63 00 01 */ addi r3, r3, 0x1
/* 80132704 0012E544 42 00 FF BC */ bdnz lbl_801326C0
/* 80132708 0012E548 38 60 FF FF */ li r3, -0x1
.global lbl_8013270C
lbl_8013270C:
/* 8013270C 0012E54C 54 60 10 3A */ slwi r0, r3, 2
/* 80132710 0012E550 7C 7A 02 14 */ add r3, r26, r0
/* 80132714 0012E554 83 83 02 90 */ lwz r28, 0x290(r3)
/* 80132718 0012E558 7F 83 E3 78 */ mr r3, r28
/* 8013271C 0012E55C 4B FF 5E F5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132720 0012E560 38 00 00 01 */ li r0, 0x1
/* 80132724 0012E564 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80132728 0012E568 80 1A 00 68 */ lwz r0, 0x68(r26)
/* 8013272C 0012E56C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80132730 0012E570 40 81 00 40 */ ble lbl_80132770
/* 80132734 0012E574 80 9A 00 04 */ lwz r4, 0x4(r26)
/* 80132738 0012E578 38 60 00 00 */ li r3, 0x0
/* 8013273C 0012E57C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80132740 0012E580 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80132744 0012E584 41 82 00 14 */ beq lbl_80132758
/* 80132748 0012E588 38 60 00 05 */ li r3, 0x5
/* 8013274C 0012E58C 38 80 00 04 */ li r4, 0x4
/* 80132750 0012E590 7D 89 03 A6 */ mtctr r12
/* 80132754 0012E594 4E 80 04 21 */ bctrl
.global lbl_80132758
lbl_80132758:
/* 80132758 0012E598 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013275C 0012E59C 40 82 00 0C */ bne lbl_80132768
/* 80132760 0012E5A0 38 60 00 04 */ li r3, 0x4
/* 80132764 0012E5A4 4B FF 92 4D */ bl PlaySeq__10homebuttonFi
.global lbl_80132768
lbl_80132768:
/* 80132768 0012E5A8 38 00 00 00 */ li r0, 0x0
/* 8013276C 0012E5AC 90 1A 00 68 */ stw r0, 0x68(r26)
.global lbl_80132770
lbl_80132770:
/* 80132770 0012E5B0 3B 80 00 01 */ li r28, 0x1
.global lbl_80132774
lbl_80132774:
/* 80132774 0012E5B4 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 80132778 0012E5B8 38 83 00 01 */ addi r4, r3, 0x1
/* 8013277C 0012E5BC 7C 1F 20 00 */ cmpw r31, r4
/* 80132780 0012E5C0 41 82 00 10 */ beq lbl_80132790
/* 80132784 0012E5C4 38 03 00 09 */ addi r0, r3, 0x9
/* 80132788 0012E5C8 7C 1F 00 00 */ cmpw r31, r0
/* 8013278C 0012E5CC 40 82 00 38 */ bne lbl_801327C4
.global lbl_80132790
lbl_80132790:
/* 80132790 0012E5D0 54 80 10 3A */ slwi r0, r4, 2
/* 80132794 0012E5D4 7C 9A 02 14 */ add r4, r26, r0
/* 80132798 0012E5D8 80 64 00 20 */ lwz r3, 0x20(r4)
/* 8013279C 0012E5DC 38 03 00 01 */ addi r0, r3, 0x1
/* 801327A0 0012E5E0 90 04 00 20 */ stw r0, 0x20(r4)
/* 801327A4 0012E5E4 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 801327A8 0012E5E8 38 03 00 09 */ addi r0, r3, 0x9
/* 801327AC 0012E5EC 54 00 10 3A */ slwi r0, r0, 2
/* 801327B0 0012E5F0 7C 9A 02 14 */ add r4, r26, r0
/* 801327B4 0012E5F4 80 64 00 20 */ lwz r3, 0x20(r4)
/* 801327B8 0012E5F8 38 03 00 01 */ addi r0, r3, 0x1
/* 801327BC 0012E5FC 90 04 00 20 */ stw r0, 0x20(r4)
/* 801327C0 0012E600 48 00 00 18 */ b lbl_801327D8
.global lbl_801327C4
lbl_801327C4:
/* 801327C4 0012E604 57 E0 10 3A */ slwi r0, r31, 2
/* 801327C8 0012E608 7C 9A 02 14 */ add r4, r26, r0
/* 801327CC 0012E60C 80 64 00 20 */ lwz r3, 0x20(r4)
/* 801327D0 0012E610 38 03 00 01 */ addi r0, r3, 0x1
/* 801327D4 0012E614 90 04 00 20 */ stw r0, 0x20(r4)
.global lbl_801327D8
lbl_801327D8:
/* 801327D8 0012E618 2C 1C 00 00 */ cmpwi r28, 0x0
/* 801327DC 0012E61C 41 82 00 58 */ beq lbl_80132834
/* 801327E0 0012E620 2C 1B 00 00 */ cmpwi r27, 0x0
/* 801327E4 0012E624 41 82 00 50 */ beq lbl_80132834
/* 801327E8 0012E628 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 801327EC 0012E62C 54 00 10 3A */ slwi r0, r0, 2
/* 801327F0 0012E630 7C 9A 02 14 */ add r4, r26, r0
/* 801327F4 0012E634 80 64 02 4C */ lwz r3, 0x24c(r4)
/* 801327F8 0012E638 88 03 00 1C */ lbz r0, 0x1c(r3)
/* 801327FC 0012E63C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80132800 0012E640 40 82 00 34 */ bne lbl_80132834
/* 80132804 0012E644 C0 24 01 C0 */ lfs f1, 0x1c0(r4)
/* 80132808 0012E648 C0 1E 02 E4 */ lfs f0, 0x2e4(r30)
/* 8013280C 0012E64C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80132810 0012E650 4C 40 13 82 */ cror eq, lt, eq
/* 80132814 0012E654 40 82 00 20 */ bne lbl_80132834
/* 80132818 0012E658 C0 1E 03 68 */ lfs f0, 0x368(r30)
/* 8013281C 0012E65C D0 04 01 B0 */ stfs f0, 0x1b0(r4)
/* 80132820 0012E660 80 1B 00 00 */ lwz r0, 0x0(r27)
/* 80132824 0012E664 54 00 10 3A */ slwi r0, r0, 2
/* 80132828 0012E668 7C 7A 02 14 */ add r3, r26, r0
/* 8013282C 0012E66C 80 63 02 4C */ lwz r3, 0x24c(r3)
/* 80132830 0012E670 4B FF 82 41 */ bl startMotor__Q210homebutton10ControllerFv
.global lbl_80132834
lbl_80132834:
/* 80132834 0012E674 39 61 00 20 */ addi r11, r1, 0x20
/* 80132838 0012E678 4B ED 4B 4D */ bl lbl_80007384
/* 8013283C 0012E67C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80132840 0012E680 7C 08 03 A6 */ mtlr r0
/* 80132844 0012E684 38 21 00 20 */ addi r1, r1, 0x20
/* 80132848 0012E688 4E 80 00 20 */ blr
/* 8013284C 0012E68C 00 00 00 00 */ .4byte 0x00000000
.global startLeftEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
startLeftEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane:
/* 80132850 0012E690 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80132854 0012E694 7C 08 02 A6 */ mflr r0
/* 80132858 0012E698 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013285C 0012E69C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80132860 0012E6A0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80132864 0012E6A4 7C 7E 1B 78 */ mr r30, r3
/* 80132868 0012E6A8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013286C 0012E6AC 48 00 1F A5 */ bl getPaneNo__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
/* 80132870 0012E6B0 54 60 10 3A */ slwi r0, r3, 2
/* 80132874 0012E6B4 7C DE 02 14 */ add r6, r30, r0
/* 80132878 0012E6B8 80 86 00 20 */ lwz r4, 0x20(r6)
/* 8013287C 0012E6BC 2C 04 00 00 */ cmpwi r4, 0x0
/* 80132880 0012E6C0 40 81 00 5C */ ble lbl_801328DC
/* 80132884 0012E6C4 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 80132888 0012E6C8 38 E5 00 01 */ addi r7, r5, 0x1
/* 8013288C 0012E6CC 7C 03 38 00 */ cmpw r3, r7
/* 80132890 0012E6D0 41 82 00 10 */ beq lbl_801328A0
/* 80132894 0012E6D4 38 05 00 09 */ addi r0, r5, 0x9
/* 80132898 0012E6D8 7C 03 00 00 */ cmpw r3, r0
/* 8013289C 0012E6DC 40 82 00 38 */ bne lbl_801328D4
.global lbl_801328A0
lbl_801328A0:
/* 801328A0 0012E6E0 54 E0 10 3A */ slwi r0, r7, 2
/* 801328A4 0012E6E4 7C BE 02 14 */ add r5, r30, r0
/* 801328A8 0012E6E8 80 85 00 20 */ lwz r4, 0x20(r5)
/* 801328AC 0012E6EC 38 04 FF FF */ addi r0, r4, -0x1
/* 801328B0 0012E6F0 90 05 00 20 */ stw r0, 0x20(r5)
/* 801328B4 0012E6F4 80 9E 00 0C */ lwz r4, 0xc(r30)
/* 801328B8 0012E6F8 38 04 00 09 */ addi r0, r4, 0x9
/* 801328BC 0012E6FC 54 00 10 3A */ slwi r0, r0, 2
/* 801328C0 0012E700 7C BE 02 14 */ add r5, r30, r0
/* 801328C4 0012E704 80 85 00 20 */ lwz r4, 0x20(r5)
/* 801328C8 0012E708 38 04 FF FF */ addi r0, r4, -0x1
/* 801328CC 0012E70C 90 05 00 20 */ stw r0, 0x20(r5)
/* 801328D0 0012E710 48 00 00 0C */ b lbl_801328DC
.global lbl_801328D4
lbl_801328D4:
/* 801328D4 0012E714 38 04 FF FF */ addi r0, r4, -0x1
/* 801328D8 0012E718 90 06 00 20 */ stw r0, 0x20(r6)
.global lbl_801328DC
lbl_801328DC:
/* 801328DC 0012E71C 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 801328E0 0012E720 2C 04 00 02 */ cmpwi r4, 0x2
/* 801328E4 0012E724 40 82 0A 1C */ bne lbl_80133300
/* 801328E8 0012E728 2C 03 FF FF */ cmpwi r3, -0x1
/* 801328EC 0012E72C 41 82 0A 14 */ beq lbl_80133300
/* 801328F0 0012E730 80 06 00 20 */ lwz r0, 0x20(r6)
/* 801328F4 0012E734 2C 00 00 00 */ cmpwi r0, 0x0
/* 801328F8 0012E738 40 82 0A 08 */ bne lbl_80133300
/* 801328FC 0012E73C 80 BE 00 00 */ lwz r5, 0x0(r30)
/* 80132900 0012E740 2C 05 00 02 */ cmpwi r5, 0x2
/* 80132904 0012E744 41 82 00 78 */ beq lbl_8013297C
/* 80132908 0012E748 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8013290C 0012E74C 7C 03 00 00 */ cmpw r3, r0
/* 80132910 0012E750 40 80 00 6C */ bge lbl_8013297C
/* 80132914 0012E754 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 80132918 0012E758 3C A0 80 41 */ lis r5, scAnmTable__10homebutton@ha
/* 8013291C 0012E75C 38 A5 DE 48 */ addi r5, r5, scAnmTable__10homebutton@l
/* 80132920 0012E760 38 80 00 00 */ li r4, 0x0
/* 80132924 0012E764 7C 09 03 A6 */ mtctr r0
/* 80132928 0012E768 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013292C 0012E76C 40 81 00 2C */ ble lbl_80132958
.global lbl_80132930
lbl_80132930:
/* 80132930 0012E770 80 05 00 00 */ lwz r0, 0x0(r5)
/* 80132934 0012E774 7C 03 00 00 */ cmpw r3, r0
/* 80132938 0012E778 40 82 00 14 */ bne lbl_8013294C
/* 8013293C 0012E77C 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80132940 0012E780 2C 00 00 02 */ cmpwi r0, 0x2
/* 80132944 0012E784 40 82 00 08 */ bne lbl_8013294C
/* 80132948 0012E788 48 00 00 14 */ b lbl_8013295C
.global lbl_8013294C
lbl_8013294C:
/* 8013294C 0012E78C 38 A5 00 08 */ addi r5, r5, 0x8
/* 80132950 0012E790 38 84 00 01 */ addi r4, r4, 0x1
/* 80132954 0012E794 42 00 FF DC */ bdnz lbl_80132930
.global lbl_80132958
lbl_80132958:
/* 80132958 0012E798 38 80 FF FF */ li r4, -0x1
.global lbl_8013295C
lbl_8013295C:
/* 8013295C 0012E79C 54 80 10 3A */ slwi r0, r4, 2
/* 80132960 0012E7A0 7C 7E 02 14 */ add r3, r30, r0
/* 80132964 0012E7A4 83 C3 02 60 */ lwz r30, 0x260(r3)
/* 80132968 0012E7A8 7F C3 F3 78 */ mr r3, r30
/* 8013296C 0012E7AC 4B FF 5C A5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132970 0012E7B0 38 00 00 01 */ li r0, 0x1
/* 80132974 0012E7B4 90 1E 00 14 */ stw r0, 0x14(r30)
/* 80132978 0012E7B8 48 00 09 88 */ b lbl_80133300
.global lbl_8013297C
lbl_8013297C:
/* 8013297C 0012E7BC 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80132980 0012E7C0 7C 00 18 50 */ subf r0, r0, r3
/* 80132984 0012E7C4 28 00 00 09 */ cmplwi r0, 0x9
/* 80132988 0012E7C8 41 81 09 78 */ bgt lbl_80133300
/* 8013298C 0012E7CC 3C 60 80 44 */ lis r3, "@18150"@ha
/* 80132990 0012E7D0 54 00 10 3A */ slwi r0, r0, 2
/* 80132994 0012E7D4 38 63 3C 64 */ addi r3, r3, "@18150"@l
/* 80132998 0012E7D8 7C 63 00 2E */ lwzx r3, r3, r0
/* 8013299C 0012E7DC 7C 69 03 A6 */ mtctr r3
/* 801329A0 0012E7E0 4E 80 04 20 */ bctr
.global lbl_801329A4
lbl_801329A4:
/* 801329A4 0012E7E4 2C 05 00 00 */ cmpwi r5, 0x0
/* 801329A8 0012E7E8 40 82 09 58 */ bne lbl_80133300
/* 801329AC 0012E7EC 2C 04 00 02 */ cmpwi r4, 0x2
/* 801329B0 0012E7F0 38 80 00 01 */ li r4, 0x1
/* 801329B4 0012E7F4 40 82 00 24 */ bne lbl_801329D8
/* 801329B8 0012E7F8 80 7E 03 E8 */ lwz r3, 0x3e8(r30)
/* 801329BC 0012E7FC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 801329C0 0012E800 2C 00 00 01 */ cmpwi r0, 0x1
/* 801329C4 0012E804 41 82 00 14 */ beq lbl_801329D8
/* 801329C8 0012E808 80 7E 03 C4 */ lwz r3, 0x3c4(r30)
/* 801329CC 0012E80C 80 03 00 14 */ lwz r0, 0x14(r3)
/* 801329D0 0012E810 2C 00 00 01 */ cmpwi r0, 0x1
/* 801329D4 0012E814 40 82 00 08 */ bne lbl_801329DC
.global lbl_801329D8
lbl_801329D8:
/* 801329D8 0012E818 38 80 00 00 */ li r4, 0x0
.global lbl_801329DC
lbl_801329DC:
/* 801329DC 0012E81C 2C 04 00 00 */ cmpwi r4, 0x0
/* 801329E0 0012E820 41 82 00 2C */ beq lbl_80132A0C
/* 801329E4 0012E824 83 FE 03 E8 */ lwz r31, 0x3e8(r30)
/* 801329E8 0012E828 7F E3 FB 78 */ mr r3, r31
/* 801329EC 0012E82C 4B FF 5C 25 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801329F0 0012E830 38 00 00 01 */ li r0, 0x1
/* 801329F4 0012E834 90 1F 00 14 */ stw r0, 0x14(r31)
/* 801329F8 0012E838 38 60 00 0C */ li r3, 0xc
/* 801329FC 0012E83C 38 00 00 00 */ li r0, 0x0
/* 80132A00 0012E840 90 7E 00 74 */ stw r3, 0x74(r30)
/* 80132A04 0012E844 90 1E 00 6C */ stw r0, 0x6c(r30)
/* 80132A08 0012E848 48 00 08 F8 */ b lbl_80133300
.global lbl_80132A0C
lbl_80132A0C:
/* 80132A0C 0012E84C 38 00 00 0C */ li r0, 0xc
/* 80132A10 0012E850 90 1E 00 6C */ stw r0, 0x6c(r30)
/* 80132A14 0012E854 48 00 08 EC */ b lbl_80133300
.global lbl_80132A18
lbl_80132A18:
/* 80132A18 0012E858 2C 05 00 00 */ cmpwi r5, 0x0
/* 80132A1C 0012E85C 40 82 02 98 */ bne lbl_80132CB4
/* 80132A20 0012E860 3C 60 80 41 */ lis r3, scGroupAnmTable__10homebutton@ha
/* 80132A24 0012E864 38 00 00 25 */ li r0, 0x25
/* 80132A28 0012E868 38 63 DE A8 */ addi r3, r3, scGroupAnmTable__10homebutton@l
/* 80132A2C 0012E86C 3B E0 00 00 */ li r31, 0x0
/* 80132A30 0012E870 7C 09 03 A6 */ mtctr r0
/* 80132A34 0012E874 60 00 00 00 */ nop
.global lbl_80132A38
lbl_80132A38:
/* 80132A38 0012E878 80 03 00 00 */ lwz r0, 0x0(r3)
/* 80132A3C 0012E87C 2C 00 00 05 */ cmpwi r0, 0x5
/* 80132A40 0012E880 40 82 00 14 */ bne lbl_80132A54
/* 80132A44 0012E884 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80132A48 0012E888 2C 00 00 03 */ cmpwi r0, 0x3
/* 80132A4C 0012E88C 40 82 00 08 */ bne lbl_80132A54
/* 80132A50 0012E890 48 00 00 34 */ b lbl_80132A84
.global lbl_80132A54
lbl_80132A54:
/* 80132A54 0012E894 80 03 00 08 */ lwz r0, 0x8(r3)
/* 80132A58 0012E898 3B FF 00 01 */ addi r31, r31, 0x1
/* 80132A5C 0012E89C 2C 00 00 05 */ cmpwi r0, 0x5
/* 80132A60 0012E8A0 40 82 00 14 */ bne lbl_80132A74
/* 80132A64 0012E8A4 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80132A68 0012E8A8 2C 00 00 03 */ cmpwi r0, 0x3
/* 80132A6C 0012E8AC 40 82 00 08 */ bne lbl_80132A74
/* 80132A70 0012E8B0 48 00 00 14 */ b lbl_80132A84
.global lbl_80132A74
lbl_80132A74:
/* 80132A74 0012E8B4 38 63 00 10 */ addi r3, r3, 0x10
/* 80132A78 0012E8B8 3B FF 00 01 */ addi r31, r31, 0x1
/* 80132A7C 0012E8BC 42 00 FF BC */ bdnz lbl_80132A38
/* 80132A80 0012E8C0 3B E0 FF FF */ li r31, -0x1
.global lbl_80132A84
lbl_80132A84:
/* 80132A84 0012E8C4 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 80132A88 0012E8C8 38 60 00 25 */ li r3, 0x25
/* 80132A8C 0012E8CC 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 80132A90 0012E8D0 38 00 00 01 */ li r0, 0x1
/* 80132A94 0012E8D4 39 00 00 00 */ li r8, 0x0
/* 80132A98 0012E8D8 7C 69 03 A6 */ mtctr r3
/* 80132A9C 0012E8DC 60 00 00 00 */ nop
.global lbl_80132AA0
lbl_80132AA0:
/* 80132AA0 0012E8E0 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80132AA4 0012E8E4 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132AA8 0012E8E8 40 82 00 14 */ bne lbl_80132ABC
/* 80132AAC 0012E8EC 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80132AB0 0012E8F0 2C 03 00 02 */ cmpwi r3, 0x2
/* 80132AB4 0012E8F4 40 82 00 08 */ bne lbl_80132ABC
/* 80132AB8 0012E8F8 48 00 00 34 */ b lbl_80132AEC
.global lbl_80132ABC
lbl_80132ABC:
/* 80132ABC 0012E8FC 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80132AC0 0012E900 39 08 00 01 */ addi r8, r8, 0x1
/* 80132AC4 0012E904 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132AC8 0012E908 40 82 00 14 */ bne lbl_80132ADC
/* 80132ACC 0012E90C 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80132AD0 0012E910 2C 03 00 02 */ cmpwi r3, 0x2
/* 80132AD4 0012E914 40 82 00 08 */ bne lbl_80132ADC
/* 80132AD8 0012E918 48 00 00 14 */ b lbl_80132AEC
.global lbl_80132ADC
lbl_80132ADC:
/* 80132ADC 0012E91C 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132AE0 0012E920 39 08 00 01 */ addi r8, r8, 0x1
/* 80132AE4 0012E924 42 00 FF BC */ bdnz lbl_80132AA0
/* 80132AE8 0012E928 39 00 FF FF */ li r8, -0x1
.global lbl_80132AEC
lbl_80132AEC:
/* 80132AEC 0012E92C 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 80132AF0 0012E930 38 60 00 25 */ li r3, 0x25
/* 80132AF4 0012E934 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 80132AF8 0012E938 38 E0 00 00 */ li r7, 0x0
/* 80132AFC 0012E93C 7C 69 03 A6 */ mtctr r3
.global lbl_80132B00
lbl_80132B00:
/* 80132B00 0012E940 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80132B04 0012E944 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132B08 0012E948 40 82 00 14 */ bne lbl_80132B1C
/* 80132B0C 0012E94C 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80132B10 0012E950 2C 03 00 03 */ cmpwi r3, 0x3
/* 80132B14 0012E954 40 82 00 08 */ bne lbl_80132B1C
/* 80132B18 0012E958 48 00 00 34 */ b lbl_80132B4C
.global lbl_80132B1C
lbl_80132B1C:
/* 80132B1C 0012E95C 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80132B20 0012E960 38 E7 00 01 */ addi r7, r7, 0x1
/* 80132B24 0012E964 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132B28 0012E968 40 82 00 14 */ bne lbl_80132B3C
/* 80132B2C 0012E96C 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80132B30 0012E970 2C 03 00 03 */ cmpwi r3, 0x3
/* 80132B34 0012E974 40 82 00 08 */ bne lbl_80132B3C
/* 80132B38 0012E978 48 00 00 14 */ b lbl_80132B4C
.global lbl_80132B3C
lbl_80132B3C:
/* 80132B3C 0012E97C 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132B40 0012E980 38 E7 00 01 */ addi r7, r7, 0x1
/* 80132B44 0012E984 42 00 FF BC */ bdnz lbl_80132B00
/* 80132B48 0012E988 38 E0 FF FF */ li r7, -0x1
.global lbl_80132B4C
lbl_80132B4C:
/* 80132B4C 0012E98C 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 80132B50 0012E990 38 60 00 25 */ li r3, 0x25
/* 80132B54 0012E994 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 80132B58 0012E998 38 C0 00 00 */ li r6, 0x0
/* 80132B5C 0012E99C 7C 69 03 A6 */ mtctr r3
.global lbl_80132B60
lbl_80132B60:
/* 80132B60 0012E9A0 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80132B64 0012E9A4 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132B68 0012E9A8 40 82 00 14 */ bne lbl_80132B7C
/* 80132B6C 0012E9AC 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80132B70 0012E9B0 2C 03 00 13 */ cmpwi r3, 0x13
/* 80132B74 0012E9B4 40 82 00 08 */ bne lbl_80132B7C
/* 80132B78 0012E9B8 48 00 00 34 */ b lbl_80132BAC
.global lbl_80132B7C
lbl_80132B7C:
/* 80132B7C 0012E9BC 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80132B80 0012E9C0 38 C6 00 01 */ addi r6, r6, 0x1
/* 80132B84 0012E9C4 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132B88 0012E9C8 40 82 00 14 */ bne lbl_80132B9C
/* 80132B8C 0012E9CC 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80132B90 0012E9D0 2C 03 00 13 */ cmpwi r3, 0x13
/* 80132B94 0012E9D4 40 82 00 08 */ bne lbl_80132B9C
/* 80132B98 0012E9D8 48 00 00 14 */ b lbl_80132BAC
.global lbl_80132B9C
lbl_80132B9C:
/* 80132B9C 0012E9DC 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132BA0 0012E9E0 38 C6 00 01 */ addi r6, r6, 0x1
/* 80132BA4 0012E9E4 42 00 FF BC */ bdnz lbl_80132B60
/* 80132BA8 0012E9E8 38 C0 FF FF */ li r6, -0x1
.global lbl_80132BAC
lbl_80132BAC:
/* 80132BAC 0012E9EC 3D 20 80 41 */ lis r9, scGroupAnmTable__10homebutton@ha
/* 80132BB0 0012E9F0 38 60 00 25 */ li r3, 0x25
/* 80132BB4 0012E9F4 39 29 DE A8 */ addi r9, r9, scGroupAnmTable__10homebutton@l
/* 80132BB8 0012E9F8 38 A0 00 00 */ li r5, 0x0
/* 80132BBC 0012E9FC 7C 69 03 A6 */ mtctr r3
.global lbl_80132BC0
lbl_80132BC0:
/* 80132BC0 0012EA00 80 69 00 00 */ lwz r3, 0x0(r9)
/* 80132BC4 0012EA04 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132BC8 0012EA08 40 82 00 14 */ bne lbl_80132BDC
/* 80132BCC 0012EA0C 80 69 00 04 */ lwz r3, 0x4(r9)
/* 80132BD0 0012EA10 2C 03 00 14 */ cmpwi r3, 0x14
/* 80132BD4 0012EA14 40 82 00 08 */ bne lbl_80132BDC
/* 80132BD8 0012EA18 48 00 00 34 */ b lbl_80132C0C
.global lbl_80132BDC
lbl_80132BDC:
/* 80132BDC 0012EA1C 80 69 00 08 */ lwz r3, 0x8(r9)
/* 80132BE0 0012EA20 38 A5 00 01 */ addi r5, r5, 0x1
/* 80132BE4 0012EA24 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132BE8 0012EA28 40 82 00 14 */ bne lbl_80132BFC
/* 80132BEC 0012EA2C 80 69 00 0C */ lwz r3, 0xc(r9)
/* 80132BF0 0012EA30 2C 03 00 14 */ cmpwi r3, 0x14
/* 80132BF4 0012EA34 40 82 00 08 */ bne lbl_80132BFC
/* 80132BF8 0012EA38 48 00 00 14 */ b lbl_80132C0C
.global lbl_80132BFC
lbl_80132BFC:
/* 80132BFC 0012EA3C 39 29 00 10 */ addi r9, r9, 0x10
/* 80132C00 0012EA40 38 A5 00 01 */ addi r5, r5, 0x1
/* 80132C04 0012EA44 42 00 FF BC */ bdnz lbl_80132BC0
/* 80132C08 0012EA48 38 A0 FF FF */ li r5, -0x1
.global lbl_80132C0C
lbl_80132C0C:
/* 80132C0C 0012EA4C 2C 04 00 02 */ cmpwi r4, 0x2
/* 80132C10 0012EA50 40 82 00 64 */ bne lbl_80132C74
/* 80132C14 0012EA54 55 03 10 3A */ slwi r3, r8, 2
/* 80132C18 0012EA58 7C 7E 1A 14 */ add r3, r30, r3
/* 80132C1C 0012EA5C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132C20 0012EA60 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132C24 0012EA64 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132C28 0012EA68 41 82 00 4C */ beq lbl_80132C74
/* 80132C2C 0012EA6C 54 E3 10 3A */ slwi r3, r7, 2
/* 80132C30 0012EA70 7C 7E 1A 14 */ add r3, r30, r3
/* 80132C34 0012EA74 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132C38 0012EA78 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132C3C 0012EA7C 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132C40 0012EA80 41 82 00 34 */ beq lbl_80132C74
/* 80132C44 0012EA84 54 C3 10 3A */ slwi r3, r6, 2
/* 80132C48 0012EA88 7C 7E 1A 14 */ add r3, r30, r3
/* 80132C4C 0012EA8C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132C50 0012EA90 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132C54 0012EA94 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132C58 0012EA98 41 82 00 1C */ beq lbl_80132C74
/* 80132C5C 0012EA9C 54 A3 10 3A */ slwi r3, r5, 2
/* 80132C60 0012EAA0 7C 7E 1A 14 */ add r3, r30, r3
/* 80132C64 0012EAA4 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132C68 0012EAA8 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132C6C 0012EAAC 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132C70 0012EAB0 40 82 00 08 */ bne lbl_80132C78
.global lbl_80132C74
lbl_80132C74:
/* 80132C74 0012EAB4 38 00 00 00 */ li r0, 0x0
.global lbl_80132C78
lbl_80132C78:
/* 80132C78 0012EAB8 2C 00 00 00 */ cmpwi r0, 0x0
/* 80132C7C 0012EABC 41 82 00 30 */ beq lbl_80132CAC
/* 80132C80 0012EAC0 57 E0 10 3A */ slwi r0, r31, 2
/* 80132C84 0012EAC4 7C 7E 02 14 */ add r3, r30, r0
/* 80132C88 0012EAC8 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80132C8C 0012EACC 7F A3 EB 78 */ mr r3, r29
/* 80132C90 0012EAD0 4B FF 59 81 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132C94 0012EAD4 38 00 00 01 */ li r0, 0x1
/* 80132C98 0012EAD8 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80132C9C 0012EADC 38 00 00 00 */ li r0, 0x0
/* 80132CA0 0012EAE0 93 FE 00 78 */ stw r31, 0x78(r30)
/* 80132CA4 0012EAE4 90 1E 00 70 */ stw r0, 0x70(r30)
/* 80132CA8 0012EAE8 48 00 06 58 */ b lbl_80133300
.global lbl_80132CAC
lbl_80132CAC:
/* 80132CAC 0012EAEC 93 FE 00 70 */ stw r31, 0x70(r30)
/* 80132CB0 0012EAF0 48 00 06 50 */ b lbl_80133300
.global lbl_80132CB4
lbl_80132CB4:
/* 80132CB4 0012EAF4 2C 05 00 01 */ cmpwi r5, 0x1
/* 80132CB8 0012EAF8 40 82 06 48 */ bne lbl_80133300
/* 80132CBC 0012EAFC 3C 60 80 41 */ lis r3, scGroupAnmTable__10homebutton@ha
/* 80132CC0 0012EB00 38 00 00 25 */ li r0, 0x25
/* 80132CC4 0012EB04 38 63 DE A8 */ addi r3, r3, scGroupAnmTable__10homebutton@l
/* 80132CC8 0012EB08 3B E0 00 00 */ li r31, 0x0
/* 80132CCC 0012EB0C 7C 09 03 A6 */ mtctr r0
.global lbl_80132CD0
lbl_80132CD0:
/* 80132CD0 0012EB10 80 03 00 00 */ lwz r0, 0x0(r3)
/* 80132CD4 0012EB14 2C 00 00 05 */ cmpwi r0, 0x5
/* 80132CD8 0012EB18 40 82 00 14 */ bne lbl_80132CEC
/* 80132CDC 0012EB1C 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80132CE0 0012EB20 2C 00 00 14 */ cmpwi r0, 0x14
/* 80132CE4 0012EB24 40 82 00 08 */ bne lbl_80132CEC
/* 80132CE8 0012EB28 48 00 00 34 */ b lbl_80132D1C
.global lbl_80132CEC
lbl_80132CEC:
/* 80132CEC 0012EB2C 80 03 00 08 */ lwz r0, 0x8(r3)
/* 80132CF0 0012EB30 3B FF 00 01 */ addi r31, r31, 0x1
/* 80132CF4 0012EB34 2C 00 00 05 */ cmpwi r0, 0x5
/* 80132CF8 0012EB38 40 82 00 14 */ bne lbl_80132D0C
/* 80132CFC 0012EB3C 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80132D00 0012EB40 2C 00 00 14 */ cmpwi r0, 0x14
/* 80132D04 0012EB44 40 82 00 08 */ bne lbl_80132D0C
/* 80132D08 0012EB48 48 00 00 14 */ b lbl_80132D1C
.global lbl_80132D0C
lbl_80132D0C:
/* 80132D0C 0012EB4C 38 63 00 10 */ addi r3, r3, 0x10
/* 80132D10 0012EB50 3B FF 00 01 */ addi r31, r31, 0x1
/* 80132D14 0012EB54 42 00 FF BC */ bdnz lbl_80132CD0
/* 80132D18 0012EB58 3B E0 FF FF */ li r31, -0x1
.global lbl_80132D1C
lbl_80132D1C:
/* 80132D1C 0012EB5C 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 80132D20 0012EB60 38 60 00 25 */ li r3, 0x25
/* 80132D24 0012EB64 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 80132D28 0012EB68 38 00 00 01 */ li r0, 0x1
/* 80132D2C 0012EB6C 39 00 00 00 */ li r8, 0x0
/* 80132D30 0012EB70 7C 69 03 A6 */ mtctr r3
/* 80132D34 0012EB74 60 00 00 00 */ nop
.global lbl_80132D38
lbl_80132D38:
/* 80132D38 0012EB78 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80132D3C 0012EB7C 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132D40 0012EB80 40 82 00 14 */ bne lbl_80132D54
/* 80132D44 0012EB84 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80132D48 0012EB88 2C 03 00 02 */ cmpwi r3, 0x2
/* 80132D4C 0012EB8C 40 82 00 08 */ bne lbl_80132D54
/* 80132D50 0012EB90 48 00 00 34 */ b lbl_80132D84
.global lbl_80132D54
lbl_80132D54:
/* 80132D54 0012EB94 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80132D58 0012EB98 39 08 00 01 */ addi r8, r8, 0x1
/* 80132D5C 0012EB9C 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132D60 0012EBA0 40 82 00 14 */ bne lbl_80132D74
/* 80132D64 0012EBA4 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80132D68 0012EBA8 2C 03 00 02 */ cmpwi r3, 0x2
/* 80132D6C 0012EBAC 40 82 00 08 */ bne lbl_80132D74
/* 80132D70 0012EBB0 48 00 00 14 */ b lbl_80132D84
.global lbl_80132D74
lbl_80132D74:
/* 80132D74 0012EBB4 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132D78 0012EBB8 39 08 00 01 */ addi r8, r8, 0x1
/* 80132D7C 0012EBBC 42 00 FF BC */ bdnz lbl_80132D38
/* 80132D80 0012EBC0 39 00 FF FF */ li r8, -0x1
.global lbl_80132D84
lbl_80132D84:
/* 80132D84 0012EBC4 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 80132D88 0012EBC8 38 60 00 25 */ li r3, 0x25
/* 80132D8C 0012EBCC 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 80132D90 0012EBD0 38 E0 00 00 */ li r7, 0x0
/* 80132D94 0012EBD4 7C 69 03 A6 */ mtctr r3
.global lbl_80132D98
lbl_80132D98:
/* 80132D98 0012EBD8 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80132D9C 0012EBDC 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132DA0 0012EBE0 40 82 00 14 */ bne lbl_80132DB4
/* 80132DA4 0012EBE4 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80132DA8 0012EBE8 2C 03 00 03 */ cmpwi r3, 0x3
/* 80132DAC 0012EBEC 40 82 00 08 */ bne lbl_80132DB4
/* 80132DB0 0012EBF0 48 00 00 34 */ b lbl_80132DE4
.global lbl_80132DB4
lbl_80132DB4:
/* 80132DB4 0012EBF4 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80132DB8 0012EBF8 38 E7 00 01 */ addi r7, r7, 0x1
/* 80132DBC 0012EBFC 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132DC0 0012EC00 40 82 00 14 */ bne lbl_80132DD4
/* 80132DC4 0012EC04 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80132DC8 0012EC08 2C 03 00 03 */ cmpwi r3, 0x3
/* 80132DCC 0012EC0C 40 82 00 08 */ bne lbl_80132DD4
/* 80132DD0 0012EC10 48 00 00 14 */ b lbl_80132DE4
.global lbl_80132DD4
lbl_80132DD4:
/* 80132DD4 0012EC14 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132DD8 0012EC18 38 E7 00 01 */ addi r7, r7, 0x1
/* 80132DDC 0012EC1C 42 00 FF BC */ bdnz lbl_80132D98
/* 80132DE0 0012EC20 38 E0 FF FF */ li r7, -0x1
.global lbl_80132DE4
lbl_80132DE4:
/* 80132DE4 0012EC24 3C A0 80 41 */ lis r5, scGroupAnmTable__10homebutton@ha
/* 80132DE8 0012EC28 38 60 00 25 */ li r3, 0x25
/* 80132DEC 0012EC2C 38 A5 DE A8 */ addi r5, r5, scGroupAnmTable__10homebutton@l
/* 80132DF0 0012EC30 38 C0 00 00 */ li r6, 0x0
/* 80132DF4 0012EC34 7C 69 03 A6 */ mtctr r3
.global lbl_80132DF8
lbl_80132DF8:
/* 80132DF8 0012EC38 80 65 00 00 */ lwz r3, 0x0(r5)
/* 80132DFC 0012EC3C 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132E00 0012EC40 40 82 00 14 */ bne lbl_80132E14
/* 80132E04 0012EC44 80 65 00 04 */ lwz r3, 0x4(r5)
/* 80132E08 0012EC48 2C 03 00 13 */ cmpwi r3, 0x13
/* 80132E0C 0012EC4C 40 82 00 08 */ bne lbl_80132E14
/* 80132E10 0012EC50 48 00 00 34 */ b lbl_80132E44
.global lbl_80132E14
lbl_80132E14:
/* 80132E14 0012EC54 80 65 00 08 */ lwz r3, 0x8(r5)
/* 80132E18 0012EC58 38 C6 00 01 */ addi r6, r6, 0x1
/* 80132E1C 0012EC5C 2C 03 00 04 */ cmpwi r3, 0x4
/* 80132E20 0012EC60 40 82 00 14 */ bne lbl_80132E34
/* 80132E24 0012EC64 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80132E28 0012EC68 2C 03 00 13 */ cmpwi r3, 0x13
/* 80132E2C 0012EC6C 40 82 00 08 */ bne lbl_80132E34
/* 80132E30 0012EC70 48 00 00 14 */ b lbl_80132E44
.global lbl_80132E34
lbl_80132E34:
/* 80132E34 0012EC74 38 A5 00 10 */ addi r5, r5, 0x10
/* 80132E38 0012EC78 38 C6 00 01 */ addi r6, r6, 0x1
/* 80132E3C 0012EC7C 42 00 FF BC */ bdnz lbl_80132DF8
/* 80132E40 0012EC80 38 C0 FF FF */ li r6, -0x1
.global lbl_80132E44
lbl_80132E44:
/* 80132E44 0012EC84 3D 20 80 41 */ lis r9, scGroupAnmTable__10homebutton@ha
/* 80132E48 0012EC88 38 60 00 25 */ li r3, 0x25
/* 80132E4C 0012EC8C 39 29 DE A8 */ addi r9, r9, scGroupAnmTable__10homebutton@l
/* 80132E50 0012EC90 38 A0 00 00 */ li r5, 0x0
/* 80132E54 0012EC94 7C 69 03 A6 */ mtctr r3
.global lbl_80132E58
lbl_80132E58:
/* 80132E58 0012EC98 80 69 00 00 */ lwz r3, 0x0(r9)
/* 80132E5C 0012EC9C 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132E60 0012ECA0 40 82 00 14 */ bne lbl_80132E74
/* 80132E64 0012ECA4 80 69 00 04 */ lwz r3, 0x4(r9)
/* 80132E68 0012ECA8 2C 03 00 14 */ cmpwi r3, 0x14
/* 80132E6C 0012ECAC 40 82 00 08 */ bne lbl_80132E74
/* 80132E70 0012ECB0 48 00 00 34 */ b lbl_80132EA4
.global lbl_80132E74
lbl_80132E74:
/* 80132E74 0012ECB4 80 69 00 08 */ lwz r3, 0x8(r9)
/* 80132E78 0012ECB8 38 A5 00 01 */ addi r5, r5, 0x1
/* 80132E7C 0012ECBC 2C 03 00 05 */ cmpwi r3, 0x5
/* 80132E80 0012ECC0 40 82 00 14 */ bne lbl_80132E94
/* 80132E84 0012ECC4 80 69 00 0C */ lwz r3, 0xc(r9)
/* 80132E88 0012ECC8 2C 03 00 14 */ cmpwi r3, 0x14
/* 80132E8C 0012ECCC 40 82 00 08 */ bne lbl_80132E94
/* 80132E90 0012ECD0 48 00 00 14 */ b lbl_80132EA4
.global lbl_80132E94
lbl_80132E94:
/* 80132E94 0012ECD4 39 29 00 10 */ addi r9, r9, 0x10
/* 80132E98 0012ECD8 38 A5 00 01 */ addi r5, r5, 0x1
/* 80132E9C 0012ECDC 42 00 FF BC */ bdnz lbl_80132E58
/* 80132EA0 0012ECE0 38 A0 FF FF */ li r5, -0x1
.global lbl_80132EA4
lbl_80132EA4:
/* 80132EA4 0012ECE4 2C 04 00 02 */ cmpwi r4, 0x2
/* 80132EA8 0012ECE8 40 82 00 64 */ bne lbl_80132F0C
/* 80132EAC 0012ECEC 55 03 10 3A */ slwi r3, r8, 2
/* 80132EB0 0012ECF0 7C 7E 1A 14 */ add r3, r30, r3
/* 80132EB4 0012ECF4 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132EB8 0012ECF8 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132EBC 0012ECFC 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132EC0 0012ED00 41 82 00 4C */ beq lbl_80132F0C
/* 80132EC4 0012ED04 54 E3 10 3A */ slwi r3, r7, 2
/* 80132EC8 0012ED08 7C 7E 1A 14 */ add r3, r30, r3
/* 80132ECC 0012ED0C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132ED0 0012ED10 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132ED4 0012ED14 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132ED8 0012ED18 41 82 00 34 */ beq lbl_80132F0C
/* 80132EDC 0012ED1C 54 C3 10 3A */ slwi r3, r6, 2
/* 80132EE0 0012ED20 7C 7E 1A 14 */ add r3, r30, r3
/* 80132EE4 0012ED24 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132EE8 0012ED28 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132EEC 0012ED2C 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132EF0 0012ED30 41 82 00 1C */ beq lbl_80132F0C
/* 80132EF4 0012ED34 54 A3 10 3A */ slwi r3, r5, 2
/* 80132EF8 0012ED38 7C 7E 1A 14 */ add r3, r30, r3
/* 80132EFC 0012ED3C 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80132F00 0012ED40 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80132F04 0012ED44 2C 03 00 01 */ cmpwi r3, 0x1
/* 80132F08 0012ED48 40 82 00 08 */ bne lbl_80132F10
.global lbl_80132F0C
lbl_80132F0C:
/* 80132F0C 0012ED4C 38 00 00 00 */ li r0, 0x0
.global lbl_80132F10
lbl_80132F10:
/* 80132F10 0012ED50 2C 00 00 00 */ cmpwi r0, 0x0
/* 80132F14 0012ED54 41 82 00 30 */ beq lbl_80132F44
/* 80132F18 0012ED58 57 E0 10 3A */ slwi r0, r31, 2
/* 80132F1C 0012ED5C 7C 7E 02 14 */ add r3, r30, r0
/* 80132F20 0012ED60 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80132F24 0012ED64 7F A3 EB 78 */ mr r3, r29
/* 80132F28 0012ED68 4B FF 56 E9 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132F2C 0012ED6C 38 00 00 01 */ li r0, 0x1
/* 80132F30 0012ED70 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80132F34 0012ED74 38 00 00 00 */ li r0, 0x0
/* 80132F38 0012ED78 93 FE 00 78 */ stw r31, 0x78(r30)
/* 80132F3C 0012ED7C 90 1E 00 70 */ stw r0, 0x70(r30)
/* 80132F40 0012ED80 48 00 03 C0 */ b lbl_80133300
.global lbl_80132F44
lbl_80132F44:
/* 80132F44 0012ED84 93 FE 00 70 */ stw r31, 0x70(r30)
/* 80132F48 0012ED88 48 00 03 B8 */ b lbl_80133300
.global lbl_80132F4C
lbl_80132F4C:
/* 80132F4C 0012ED8C 2C 05 00 01 */ cmpwi r5, 0x1
/* 80132F50 0012ED90 40 82 03 B0 */ bne lbl_80133300
/* 80132F54 0012ED94 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 80132F58 0012ED98 38 00 00 25 */ li r0, 0x25
/* 80132F5C 0012ED9C 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 80132F60 0012EDA0 38 60 00 00 */ li r3, 0x0
/* 80132F64 0012EDA4 7C 09 03 A6 */ mtctr r0
.global lbl_80132F68
lbl_80132F68:
/* 80132F68 0012EDA8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80132F6C 0012EDAC 2C 00 00 06 */ cmpwi r0, 0x6
/* 80132F70 0012EDB0 40 82 00 14 */ bne lbl_80132F84
/* 80132F74 0012EDB4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80132F78 0012EDB8 2C 00 00 07 */ cmpwi r0, 0x7
/* 80132F7C 0012EDBC 40 82 00 08 */ bne lbl_80132F84
/* 80132F80 0012EDC0 48 00 00 34 */ b lbl_80132FB4
.global lbl_80132F84
lbl_80132F84:
/* 80132F84 0012EDC4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80132F88 0012EDC8 38 63 00 01 */ addi r3, r3, 0x1
/* 80132F8C 0012EDCC 2C 00 00 06 */ cmpwi r0, 0x6
/* 80132F90 0012EDD0 40 82 00 14 */ bne lbl_80132FA4
/* 80132F94 0012EDD4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80132F98 0012EDD8 2C 00 00 07 */ cmpwi r0, 0x7
/* 80132F9C 0012EDDC 40 82 00 08 */ bne lbl_80132FA4
/* 80132FA0 0012EDE0 48 00 00 14 */ b lbl_80132FB4
.global lbl_80132FA4
lbl_80132FA4:
/* 80132FA4 0012EDE4 38 84 00 10 */ addi r4, r4, 0x10
/* 80132FA8 0012EDE8 38 63 00 01 */ addi r3, r3, 0x1
/* 80132FAC 0012EDEC 42 00 FF BC */ bdnz lbl_80132F68
/* 80132FB0 0012EDF0 38 60 FF FF */ li r3, -0x1
.global lbl_80132FB4
lbl_80132FB4:
/* 80132FB4 0012EDF4 54 60 10 3A */ slwi r0, r3, 2
/* 80132FB8 0012EDF8 7C 7E 02 14 */ add r3, r30, r0
/* 80132FBC 0012EDFC 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80132FC0 0012EE00 7F A3 EB 78 */ mr r3, r29
/* 80132FC4 0012EE04 4B FF 56 4D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80132FC8 0012EE08 38 00 00 01 */ li r0, 0x1
/* 80132FCC 0012EE0C 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80132FD0 0012EE10 48 00 03 30 */ b lbl_80133300
.global lbl_80132FD4
lbl_80132FD4:
/* 80132FD4 0012EE14 2C 05 00 01 */ cmpwi r5, 0x1
/* 80132FD8 0012EE18 40 82 03 28 */ bne lbl_80133300
/* 80132FDC 0012EE1C 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 80132FE0 0012EE20 38 00 00 25 */ li r0, 0x25
/* 80132FE4 0012EE24 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 80132FE8 0012EE28 38 60 00 00 */ li r3, 0x0
/* 80132FEC 0012EE2C 7C 09 03 A6 */ mtctr r0
.global lbl_80132FF0
lbl_80132FF0:
/* 80132FF0 0012EE30 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80132FF4 0012EE34 2C 00 00 07 */ cmpwi r0, 0x7
/* 80132FF8 0012EE38 40 82 00 14 */ bne lbl_8013300C
/* 80132FFC 0012EE3C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133000 0012EE40 2C 00 00 07 */ cmpwi r0, 0x7
/* 80133004 0012EE44 40 82 00 08 */ bne lbl_8013300C
/* 80133008 0012EE48 48 00 00 34 */ b lbl_8013303C
.global lbl_8013300C
lbl_8013300C:
/* 8013300C 0012EE4C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133010 0012EE50 38 63 00 01 */ addi r3, r3, 0x1
/* 80133014 0012EE54 2C 00 00 07 */ cmpwi r0, 0x7
/* 80133018 0012EE58 40 82 00 14 */ bne lbl_8013302C
/* 8013301C 0012EE5C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133020 0012EE60 2C 00 00 07 */ cmpwi r0, 0x7
/* 80133024 0012EE64 40 82 00 08 */ bne lbl_8013302C
/* 80133028 0012EE68 48 00 00 14 */ b lbl_8013303C
.global lbl_8013302C
lbl_8013302C:
/* 8013302C 0012EE6C 38 84 00 10 */ addi r4, r4, 0x10
/* 80133030 0012EE70 38 63 00 01 */ addi r3, r3, 0x1
/* 80133034 0012EE74 42 00 FF BC */ bdnz lbl_80132FF0
/* 80133038 0012EE78 38 60 FF FF */ li r3, -0x1
.global lbl_8013303C
lbl_8013303C:
/* 8013303C 0012EE7C 54 60 10 3A */ slwi r0, r3, 2
/* 80133040 0012EE80 7C 7E 02 14 */ add r3, r30, r0
/* 80133044 0012EE84 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80133048 0012EE88 7F A3 EB 78 */ mr r3, r29
/* 8013304C 0012EE8C 4B FF 55 C5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133050 0012EE90 38 00 00 01 */ li r0, 0x1
/* 80133054 0012EE94 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80133058 0012EE98 48 00 02 A8 */ b lbl_80133300
.global lbl_8013305C
lbl_8013305C:
/* 8013305C 0012EE9C 2C 05 00 01 */ cmpwi r5, 0x1
/* 80133060 0012EEA0 40 82 02 A0 */ bne lbl_80133300
/* 80133064 0012EEA4 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 80133068 0012EEA8 38 00 00 25 */ li r0, 0x25
/* 8013306C 0012EEAC 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 80133070 0012EEB0 38 60 00 00 */ li r3, 0x0
/* 80133074 0012EEB4 7C 09 03 A6 */ mtctr r0
.global lbl_80133078
lbl_80133078:
/* 80133078 0012EEB8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013307C 0012EEBC 2C 00 00 08 */ cmpwi r0, 0x8
/* 80133080 0012EEC0 40 82 00 14 */ bne lbl_80133094
/* 80133084 0012EEC4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133088 0012EEC8 2C 00 00 07 */ cmpwi r0, 0x7
/* 8013308C 0012EECC 40 82 00 08 */ bne lbl_80133094
/* 80133090 0012EED0 48 00 00 34 */ b lbl_801330C4
.global lbl_80133094
lbl_80133094:
/* 80133094 0012EED4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133098 0012EED8 38 63 00 01 */ addi r3, r3, 0x1
/* 8013309C 0012EEDC 2C 00 00 08 */ cmpwi r0, 0x8
/* 801330A0 0012EEE0 40 82 00 14 */ bne lbl_801330B4
/* 801330A4 0012EEE4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801330A8 0012EEE8 2C 00 00 07 */ cmpwi r0, 0x7
/* 801330AC 0012EEEC 40 82 00 08 */ bne lbl_801330B4
/* 801330B0 0012EEF0 48 00 00 14 */ b lbl_801330C4
.global lbl_801330B4
lbl_801330B4:
/* 801330B4 0012EEF4 38 84 00 10 */ addi r4, r4, 0x10
/* 801330B8 0012EEF8 38 63 00 01 */ addi r3, r3, 0x1
/* 801330BC 0012EEFC 42 00 FF BC */ bdnz lbl_80133078
/* 801330C0 0012EF00 38 60 FF FF */ li r3, -0x1
.global lbl_801330C4
lbl_801330C4:
/* 801330C4 0012EF04 54 60 10 3A */ slwi r0, r3, 2
/* 801330C8 0012EF08 7C 7E 02 14 */ add r3, r30, r0
/* 801330CC 0012EF0C 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 801330D0 0012EF10 7F A3 EB 78 */ mr r3, r29
/* 801330D4 0012EF14 4B FF 55 3D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801330D8 0012EF18 38 00 00 01 */ li r0, 0x1
/* 801330DC 0012EF1C 90 1D 00 14 */ stw r0, 0x14(r29)
/* 801330E0 0012EF20 48 00 02 20 */ b lbl_80133300
.global lbl_801330E4
lbl_801330E4:
/* 801330E4 0012EF24 2C 05 00 01 */ cmpwi r5, 0x1
/* 801330E8 0012EF28 40 82 02 18 */ bne lbl_80133300
/* 801330EC 0012EF2C 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 801330F0 0012EF30 38 00 00 25 */ li r0, 0x25
/* 801330F4 0012EF34 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 801330F8 0012EF38 38 60 00 00 */ li r3, 0x0
/* 801330FC 0012EF3C 7C 09 03 A6 */ mtctr r0
.global lbl_80133100
lbl_80133100:
/* 80133100 0012EF40 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80133104 0012EF44 2C 00 00 09 */ cmpwi r0, 0x9
/* 80133108 0012EF48 40 82 00 14 */ bne lbl_8013311C
/* 8013310C 0012EF4C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133110 0012EF50 2C 00 00 07 */ cmpwi r0, 0x7
/* 80133114 0012EF54 40 82 00 08 */ bne lbl_8013311C
/* 80133118 0012EF58 48 00 00 34 */ b lbl_8013314C
.global lbl_8013311C
lbl_8013311C:
/* 8013311C 0012EF5C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133120 0012EF60 38 63 00 01 */ addi r3, r3, 0x1
/* 80133124 0012EF64 2C 00 00 09 */ cmpwi r0, 0x9
/* 80133128 0012EF68 40 82 00 14 */ bne lbl_8013313C
/* 8013312C 0012EF6C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133130 0012EF70 2C 00 00 07 */ cmpwi r0, 0x7
/* 80133134 0012EF74 40 82 00 08 */ bne lbl_8013313C
/* 80133138 0012EF78 48 00 00 14 */ b lbl_8013314C
.global lbl_8013313C
lbl_8013313C:
/* 8013313C 0012EF7C 38 84 00 10 */ addi r4, r4, 0x10
/* 80133140 0012EF80 38 63 00 01 */ addi r3, r3, 0x1
/* 80133144 0012EF84 42 00 FF BC */ bdnz lbl_80133100
/* 80133148 0012EF88 38 60 FF FF */ li r3, -0x1
.global lbl_8013314C
lbl_8013314C:
/* 8013314C 0012EF8C 54 60 10 3A */ slwi r0, r3, 2
/* 80133150 0012EF90 7C 7E 02 14 */ add r3, r30, r0
/* 80133154 0012EF94 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80133158 0012EF98 7F A3 EB 78 */ mr r3, r29
/* 8013315C 0012EF9C 4B FF 54 B5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133160 0012EFA0 38 00 00 01 */ li r0, 0x1
/* 80133164 0012EFA4 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80133168 0012EFA8 48 00 01 98 */ b lbl_80133300
.global lbl_8013316C
lbl_8013316C:
/* 8013316C 0012EFAC 2C 05 00 01 */ cmpwi r5, 0x1
/* 80133170 0012EFB0 40 82 01 90 */ bne lbl_80133300
/* 80133174 0012EFB4 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 80133178 0012EFB8 38 00 00 25 */ li r0, 0x25
/* 8013317C 0012EFBC 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 80133180 0012EFC0 38 60 00 00 */ li r3, 0x0
/* 80133184 0012EFC4 7C 09 03 A6 */ mtctr r0
.global lbl_80133188
lbl_80133188:
/* 80133188 0012EFC8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013318C 0012EFCC 2C 00 00 0A */ cmpwi r0, 0xa
/* 80133190 0012EFD0 40 82 00 14 */ bne lbl_801331A4
/* 80133194 0012EFD4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133198 0012EFD8 2C 00 00 07 */ cmpwi r0, 0x7
/* 8013319C 0012EFDC 40 82 00 08 */ bne lbl_801331A4
/* 801331A0 0012EFE0 48 00 00 34 */ b lbl_801331D4
.global lbl_801331A4
lbl_801331A4:
/* 801331A4 0012EFE4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801331A8 0012EFE8 38 63 00 01 */ addi r3, r3, 0x1
/* 801331AC 0012EFEC 2C 00 00 0A */ cmpwi r0, 0xa
/* 801331B0 0012EFF0 40 82 00 14 */ bne lbl_801331C4
/* 801331B4 0012EFF4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801331B8 0012EFF8 2C 00 00 07 */ cmpwi r0, 0x7
/* 801331BC 0012EFFC 40 82 00 08 */ bne lbl_801331C4
/* 801331C0 0012F000 48 00 00 14 */ b lbl_801331D4
.global lbl_801331C4
lbl_801331C4:
/* 801331C4 0012F004 38 84 00 10 */ addi r4, r4, 0x10
/* 801331C8 0012F008 38 63 00 01 */ addi r3, r3, 0x1
/* 801331CC 0012F00C 42 00 FF BC */ bdnz lbl_80133188
/* 801331D0 0012F010 38 60 FF FF */ li r3, -0x1
.global lbl_801331D4
lbl_801331D4:
/* 801331D4 0012F014 54 60 10 3A */ slwi r0, r3, 2
/* 801331D8 0012F018 7C 7E 02 14 */ add r3, r30, r0
/* 801331DC 0012F01C 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 801331E0 0012F020 7F A3 EB 78 */ mr r3, r29
/* 801331E4 0012F024 4B FF 54 2D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801331E8 0012F028 38 00 00 01 */ li r0, 0x1
/* 801331EC 0012F02C 90 1D 00 14 */ stw r0, 0x14(r29)
/* 801331F0 0012F030 48 00 01 10 */ b lbl_80133300
.global lbl_801331F4
lbl_801331F4:
/* 801331F4 0012F034 2C 05 00 02 */ cmpwi r5, 0x2
/* 801331F8 0012F038 40 82 01 08 */ bne lbl_80133300
/* 801331FC 0012F03C 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 80133200 0012F040 38 00 00 25 */ li r0, 0x25
/* 80133204 0012F044 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 80133208 0012F048 38 60 00 00 */ li r3, 0x0
/* 8013320C 0012F04C 7C 09 03 A6 */ mtctr r0
.global lbl_80133210
lbl_80133210:
/* 80133210 0012F050 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80133214 0012F054 2C 00 00 11 */ cmpwi r0, 0x11
/* 80133218 0012F058 40 82 00 14 */ bne lbl_8013322C
/* 8013321C 0012F05C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133220 0012F060 2C 00 00 0C */ cmpwi r0, 0xc
/* 80133224 0012F064 40 82 00 08 */ bne lbl_8013322C
/* 80133228 0012F068 48 00 00 34 */ b lbl_8013325C
.global lbl_8013322C
lbl_8013322C:
/* 8013322C 0012F06C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133230 0012F070 38 63 00 01 */ addi r3, r3, 0x1
/* 80133234 0012F074 2C 00 00 11 */ cmpwi r0, 0x11
/* 80133238 0012F078 40 82 00 14 */ bne lbl_8013324C
/* 8013323C 0012F07C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133240 0012F080 2C 00 00 0C */ cmpwi r0, 0xc
/* 80133244 0012F084 40 82 00 08 */ bne lbl_8013324C
/* 80133248 0012F088 48 00 00 14 */ b lbl_8013325C
.global lbl_8013324C
lbl_8013324C:
/* 8013324C 0012F08C 38 84 00 10 */ addi r4, r4, 0x10
/* 80133250 0012F090 38 63 00 01 */ addi r3, r3, 0x1
/* 80133254 0012F094 42 00 FF BC */ bdnz lbl_80133210
/* 80133258 0012F098 38 60 FF FF */ li r3, -0x1
.global lbl_8013325C
lbl_8013325C:
/* 8013325C 0012F09C 54 60 10 3A */ slwi r0, r3, 2
/* 80133260 0012F0A0 7C 7E 02 14 */ add r3, r30, r0
/* 80133264 0012F0A4 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 80133268 0012F0A8 7F A3 EB 78 */ mr r3, r29
/* 8013326C 0012F0AC 4B FF 53 A5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133270 0012F0B0 38 00 00 01 */ li r0, 0x1
/* 80133274 0012F0B4 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80133278 0012F0B8 48 00 00 88 */ b lbl_80133300
.global lbl_8013327C
lbl_8013327C:
/* 8013327C 0012F0BC 2C 05 00 02 */ cmpwi r5, 0x2
/* 80133280 0012F0C0 40 82 00 80 */ bne lbl_80133300
/* 80133284 0012F0C4 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 80133288 0012F0C8 38 00 00 25 */ li r0, 0x25
/* 8013328C 0012F0CC 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 80133290 0012F0D0 38 60 00 00 */ li r3, 0x0
/* 80133294 0012F0D4 7C 09 03 A6 */ mtctr r0
.global lbl_80133298
lbl_80133298:
/* 80133298 0012F0D8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013329C 0012F0DC 2C 00 00 12 */ cmpwi r0, 0x12
/* 801332A0 0012F0E0 40 82 00 14 */ bne lbl_801332B4
/* 801332A4 0012F0E4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801332A8 0012F0E8 2C 00 00 0C */ cmpwi r0, 0xc
/* 801332AC 0012F0EC 40 82 00 08 */ bne lbl_801332B4
/* 801332B0 0012F0F0 48 00 00 34 */ b lbl_801332E4
.global lbl_801332B4
lbl_801332B4:
/* 801332B4 0012F0F4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801332B8 0012F0F8 38 63 00 01 */ addi r3, r3, 0x1
/* 801332BC 0012F0FC 2C 00 00 12 */ cmpwi r0, 0x12
/* 801332C0 0012F100 40 82 00 14 */ bne lbl_801332D4
/* 801332C4 0012F104 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801332C8 0012F108 2C 00 00 0C */ cmpwi r0, 0xc
/* 801332CC 0012F10C 40 82 00 08 */ bne lbl_801332D4
/* 801332D0 0012F110 48 00 00 14 */ b lbl_801332E4
.global lbl_801332D4
lbl_801332D4:
/* 801332D4 0012F114 38 84 00 10 */ addi r4, r4, 0x10
/* 801332D8 0012F118 38 63 00 01 */ addi r3, r3, 0x1
/* 801332DC 0012F11C 42 00 FF BC */ bdnz lbl_80133298
/* 801332E0 0012F120 38 60 FF FF */ li r3, -0x1
.global lbl_801332E4
lbl_801332E4:
/* 801332E4 0012F124 54 60 10 3A */ slwi r0, r3, 2
/* 801332E8 0012F128 7C 7E 02 14 */ add r3, r30, r0
/* 801332EC 0012F12C 83 A3 02 90 */ lwz r29, 0x290(r3)
/* 801332F0 0012F130 7F A3 EB 78 */ mr r3, r29
/* 801332F4 0012F134 4B FF 53 1D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801332F8 0012F138 38 00 00 01 */ li r0, 0x1
/* 801332FC 0012F13C 90 1D 00 14 */ stw r0, 0x14(r29)
.global lbl_80133300
lbl_80133300:
/* 80133300 0012F140 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80133304 0012F144 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80133308 0012F148 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013330C 0012F14C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80133310 0012F150 7C 08 03 A6 */ mtlr r0
/* 80133314 0012F154 38 21 00 20 */ addi r1, r1, 0x20
/* 80133318 0012F158 4E 80 00 20 */ blr
/* 8013331C 0012F15C 00 00 00 00 */ .4byte 0x00000000
.global startTrigEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
startTrigEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane:
/* 80133320 0012F160 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80133324 0012F164 7C 08 02 A6 */ mflr r0
/* 80133328 0012F168 90 01 00 64 */ stw r0, 0x64(r1)
/* 8013332C 0012F16C 39 61 00 40 */ addi r11, r1, 0x40
/* 80133330 0012F170 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80133334 0012F174 F3 E1 00 58 */ psq_st f31, 0x58(r1), 0, qr0
/* 80133338 0012F178 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 8013333C 0012F17C F3 C1 00 48 */ psq_st f30, 0x48(r1), 0, qr0
/* 80133340 0012F180 4B ED 3F F9 */ bl lbl_80007338
/* 80133344 0012F184 3C 00 43 30 */ lis r0, 0x4330
/* 80133348 0012F188 3F A0 80 41 */ lis r29, "@9436_8040DE40"@ha
/* 8013334C 0012F18C 3F C0 80 44 */ lis r30, "@9521_80443068"@ha
/* 80133350 0012F190 90 01 00 08 */ stw r0, 0x8(r1)
/* 80133354 0012F194 7C 7C 1B 78 */ mr r28, r3
/* 80133358 0012F198 3B BD DE 40 */ addi r29, r29, "@9436_8040DE40"@l
/* 8013335C 0012F19C 90 01 00 10 */ stw r0, 0x10(r1)
/* 80133360 0012F1A0 3B DE 30 68 */ addi r30, r30, "@9521_80443068"@l
/* 80133364 0012F1A4 48 00 14 AD */ bl getPaneNo__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
/* 80133368 0012F1A8 80 1C 00 14 */ lwz r0, 0x14(r28)
/* 8013336C 0012F1AC 7C 7F 1B 78 */ mr r31, r3
/* 80133370 0012F1B0 2C 00 00 02 */ cmpwi r0, 0x2
/* 80133374 0012F1B4 40 82 12 04 */ bne lbl_80134578
/* 80133378 0012F1B8 2C 03 FF FF */ cmpwi r3, -0x1
/* 8013337C 0012F1BC 41 82 11 FC */ beq lbl_80134578
/* 80133380 0012F1C0 80 9C 00 00 */ lwz r4, 0x0(r28)
/* 80133384 0012F1C4 2C 04 00 00 */ cmpwi r4, 0x0
/* 80133388 0012F1C8 40 82 02 60 */ bne lbl_801335E8
/* 8013338C 0012F1CC 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 80133390 0012F1D0 7C 03 00 00 */ cmpw r3, r0
/* 80133394 0012F1D4 40 80 02 54 */ bge lbl_801335E8
/* 80133398 0012F1D8 80 DC 00 10 */ lwz r6, 0x10(r28)
/* 8013339C 0012F1DC 38 03 00 01 */ addi r0, r3, 0x1
/* 801333A0 0012F1E0 90 1C 00 B8 */ stw r0, 0xb8(r28)
/* 801333A4 0012F1E4 38 BD 00 08 */ addi r5, r29, 0x8
/* 801333A8 0012F1E8 38 63 00 04 */ addi r3, r3, 0x4
/* 801333AC 0012F1EC 38 80 00 00 */ li r4, 0x0
/* 801333B0 0012F1F0 7C C9 03 A6 */ mtctr r6
/* 801333B4 0012F1F4 2C 06 00 00 */ cmpwi r6, 0x0
/* 801333B8 0012F1F8 40 81 00 30 */ ble lbl_801333E8
/* 801333BC 0012F1FC 60 00 00 00 */ nop
.global lbl_801333C0
lbl_801333C0:
/* 801333C0 0012F200 80 05 00 00 */ lwz r0, 0x0(r5)
/* 801333C4 0012F204 7C 03 00 00 */ cmpw r3, r0
/* 801333C8 0012F208 40 82 00 14 */ bne lbl_801333DC
/* 801333CC 0012F20C 80 05 00 04 */ lwz r0, 0x4(r5)
/* 801333D0 0012F210 2C 00 00 01 */ cmpwi r0, 0x1
/* 801333D4 0012F214 40 82 00 08 */ bne lbl_801333DC
/* 801333D8 0012F218 48 00 00 14 */ b lbl_801333EC
.global lbl_801333DC
lbl_801333DC:
/* 801333DC 0012F21C 38 A5 00 08 */ addi r5, r5, 0x8
/* 801333E0 0012F220 38 84 00 01 */ addi r4, r4, 0x1
/* 801333E4 0012F224 42 00 FF DC */ bdnz lbl_801333C0
.global lbl_801333E8
lbl_801333E8:
/* 801333E8 0012F228 38 80 FF FF */ li r4, -0x1
.global lbl_801333EC
lbl_801333EC:
/* 801333EC 0012F22C 54 80 10 3A */ slwi r0, r4, 2
/* 801333F0 0012F230 90 9C 00 18 */ stw r4, 0x18(r28)
/* 801333F4 0012F234 7C 7C 02 14 */ add r3, r28, r0
/* 801333F8 0012F238 83 A3 02 60 */ lwz r29, 0x260(r3)
/* 801333FC 0012F23C 7F A3 EB 78 */ mr r3, r29
/* 80133400 0012F240 4B FF 52 11 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133404 0012F244 38 00 00 01 */ li r0, 0x1
/* 80133408 0012F248 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8013340C 0012F24C 38 60 00 00 */ li r3, 0x0
/* 80133410 0012F250 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133414 0012F254 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133418 0012F258 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013341C 0012F25C 41 82 00 14 */ beq lbl_80133430
/* 80133420 0012F260 38 60 00 05 */ li r3, 0x5
/* 80133424 0012F264 38 80 00 05 */ li r4, 0x5
/* 80133428 0012F268 7D 89 03 A6 */ mtctr r12
/* 8013342C 0012F26C 4E 80 04 21 */ bctrl
.global lbl_80133430
lbl_80133430:
/* 80133430 0012F270 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133434 0012F274 40 82 00 0C */ bne lbl_80133440
/* 80133438 0012F278 38 60 00 05 */ li r3, 0x5
/* 8013343C 0012F27C 4B FF 85 75 */ bl PlaySeq__10homebuttonFi
.global lbl_80133440
lbl_80133440:
/* 80133440 0012F280 57 E0 10 3A */ slwi r0, r31, 2
/* 80133444 0012F284 7C 7C 02 14 */ add r3, r28, r0
/* 80133448 0012F288 80 03 00 A0 */ lwz r0, 0xa0(r3)
/* 8013344C 0012F28C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80133450 0012F290 41 82 01 8C */ beq lbl_801335DC
/* 80133454 0012F294 38 60 00 0B */ li r3, 0xb
/* 80133458 0012F298 38 00 00 02 */ li r0, 0x2
/* 8013345C 0012F29C 90 7C 00 14 */ stw r3, 0x14(r28)
/* 80133460 0012F2A0 38 9E 09 E4 */ addi r4, r30, 0x9e4
/* 80133464 0012F2A4 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 80133468 0012F2A8 38 A0 00 01 */ li r5, 0x1
/* 8013346C 0012F2AC 90 1C 00 00 */ stw r0, 0x0(r28)
/* 80133470 0012F2B0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80133474 0012F2B4 80 84 00 08 */ lwz r4, 0x8(r4)
/* 80133478 0012F2B8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013347C 0012F2BC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80133480 0012F2C0 7D 89 03 A6 */ mtctr r12
/* 80133484 0012F2C4 4E 80 04 21 */ bctrl
/* 80133488 0012F2C8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013348C 0012F2CC 3F 60 80 54 */ lis r27, typeInfo__Q36nw4hbm3lyt7TextBox@ha
/* 80133490 0012F2D0 7C 7D 1B 78 */ mr r29, r3
/* 80133494 0012F2D4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80133498 0012F2D8 3B 7B 37 88 */ addi r27, r27, typeInfo__Q36nw4hbm3lyt7TextBox@l
/* 8013349C 0012F2DC 7D 89 03 A6 */ mtctr r12
/* 801334A0 0012F2E0 4E 80 04 21 */ bctrl
/* 801334A4 0012F2E4 48 00 00 18 */ b lbl_801334BC
.global lbl_801334A8
lbl_801334A8:
/* 801334A8 0012F2E8 7C 03 D8 40 */ cmplw r3, r27
/* 801334AC 0012F2EC 40 82 00 0C */ bne lbl_801334B8
/* 801334B0 0012F2F0 38 00 00 01 */ li r0, 0x1
/* 801334B4 0012F2F4 48 00 00 14 */ b lbl_801334C8
.global lbl_801334B8
lbl_801334B8:
/* 801334B8 0012F2F8 80 63 00 00 */ lwz r3, 0x0(r3)
.global lbl_801334BC
lbl_801334BC:
/* 801334BC 0012F2FC 2C 03 00 00 */ cmpwi r3, 0x0
/* 801334C0 0012F300 40 82 FF E8 */ bne lbl_801334A8
/* 801334C4 0012F304 38 00 00 00 */ li r0, 0x0
.global lbl_801334C8
lbl_801334C8:
/* 801334C8 0012F308 2C 00 00 00 */ cmpwi r0, 0x0
/* 801334CC 0012F30C 41 82 00 08 */ beq lbl_801334D4
/* 801334D0 0012F310 48 00 00 08 */ b lbl_801334D8
.global lbl_801334D4
lbl_801334D4:
/* 801334D4 0012F314 3B A0 00 00 */ li r29, 0x0
.global lbl_801334D8
lbl_801334D8:
/* 801334D8 0012F318 80 BC 00 04 */ lwz r5, 0x4(r28)
/* 801334DC 0012F31C 38 1F 00 01 */ addi r0, r31, 0x1
/* 801334E0 0012F320 80 65 00 24 */ lwz r3, 0x24(r5)
/* 801334E4 0012F324 7C 60 00 39 */ and. r0, r3, r0
/* 801334E8 0012F328 41 82 00 48 */ beq lbl_80133530
/* 801334EC 0012F32C 80 65 00 1C */ lwz r3, 0x1c(r5)
/* 801334F0 0012F330 38 1F 00 02 */ addi r0, r31, 0x2
/* 801334F4 0012F334 54 07 10 3A */ slwi r7, r0, 2
/* 801334F8 0012F338 38 C0 00 00 */ li r6, 0x0
/* 801334FC 0012F33C 1C 03 00 18 */ mulli r0, r3, 0x18
/* 80133500 0012F340 7C 1C 02 14 */ add r0, r28, r0
/* 80133504 0012F344 7C 60 3A 14 */ add r3, r0, r7
/* 80133508 0012F348 80 63 00 BC */ lwz r3, 0xbc(r3)
/* 8013350C 0012F34C 60 00 00 00 */ nop
.global lbl_80133510
lbl_80133510:
/* 80133510 0012F350 54 C0 0B FC */ rlwinm r0, r6, 1, 15, 30
/* 80133514 0012F354 7C 03 02 2E */ lhzx r0, r3, r0
/* 80133518 0012F358 28 00 FF 1F */ cmplwi r0, 0xff1f
/* 8013351C 0012F35C 41 82 00 50 */ beq lbl_8013356C
/* 80133520 0012F360 28 00 00 3F */ cmplwi r0, 0x3f
/* 80133524 0012F364 41 82 00 48 */ beq lbl_8013356C
/* 80133528 0012F368 38 C6 00 01 */ addi r6, r6, 0x1
/* 8013352C 0012F36C 4B FF FF E4 */ b lbl_80133510
.global lbl_80133530
lbl_80133530:
/* 80133530 0012F370 80 05 00 1C */ lwz r0, 0x1c(r5)
/* 80133534 0012F374 38 7F 00 02 */ addi r3, r31, 0x2
/* 80133538 0012F378 54 67 10 3A */ slwi r7, r3, 2
/* 8013353C 0012F37C 38 C0 00 00 */ li r6, 0x0
/* 80133540 0012F380 1C 60 00 18 */ mulli r3, r0, 0x18
/* 80133544 0012F384 7C 07 E2 14 */ add r0, r7, r28
/* 80133548 0012F388 7C 63 02 14 */ add r3, r3, r0
/* 8013354C 0012F38C 80 83 00 BC */ lwz r4, 0xbc(r3)
.global lbl_80133550
lbl_80133550:
/* 80133550 0012F390 54 C0 0B FC */ rlwinm r0, r6, 1, 15, 30
/* 80133554 0012F394 7C 64 02 14 */ add r3, r4, r0
/* 80133558 0012F398 A0 03 00 02 */ lhz r0, 0x2(r3)
/* 8013355C 0012F39C 28 00 00 22 */ cmplwi r0, 0x22
/* 80133560 0012F3A0 41 82 00 0C */ beq lbl_8013356C
/* 80133564 0012F3A4 38 C6 00 01 */ addi r6, r6, 0x1
/* 80133568 0012F3A8 4B FF FF E8 */ b lbl_80133550
.global lbl_8013356C
lbl_8013356C:
/* 8013356C 0012F3AC 80 05 00 1C */ lwz r0, 0x1c(r5)
/* 80133570 0012F3B0 54 C4 04 3E */ clrlwi r4, r6, 16
/* 80133574 0012F3B4 81 9D 00 00 */ lwz r12, 0x0(r29)
/* 80133578 0012F3B8 7F A3 EB 78 */ mr r3, r29
/* 8013357C 0012F3BC 1C C0 00 18 */ mulli r6, r0, 0x18
/* 80133580 0012F3C0 38 04 00 01 */ addi r0, r4, 0x1
/* 80133584 0012F3C4 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80133588 0012F3C8 38 A0 00 00 */ li r5, 0x0
/* 8013358C 0012F3CC 7C 9C 32 14 */ add r4, r28, r6
/* 80133590 0012F3D0 7C 84 3A 14 */ add r4, r4, r7
/* 80133594 0012F3D4 54 06 04 3E */ clrlwi r6, r0, 16
/* 80133598 0012F3D8 80 84 00 BC */ lwz r4, 0xbc(r4)
/* 8013359C 0012F3DC 7D 89 03 A6 */ mtctr r12
/* 801335A0 0012F3E0 4E 80 04 21 */ bctrl
/* 801335A4 0012F3E4 80 DC 01 D8 */ lwz r6, 0x1d8(r28)
/* 801335A8 0012F3E8 38 7E 09 E4 */ addi r3, r30, 0x9e4
/* 801335AC 0012F3EC 80 83 00 08 */ lwz r4, 0x8(r3)
/* 801335B0 0012F3F0 38 A0 00 01 */ li r5, 0x1
/* 801335B4 0012F3F4 80 66 00 10 */ lwz r3, 0x10(r6)
/* 801335B8 0012F3F8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801335BC 0012F3FC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 801335C0 0012F400 7D 89 03 A6 */ mtctr r12
/* 801335C4 0012F404 4E 80 04 21 */ bctrl
/* 801335C8 0012F408 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 801335CC 0012F40C 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 801335D0 0012F410 60 00 00 01 */ ori r0, r0, 0x1
/* 801335D4 0012F414 98 03 00 CF */ stb r0, 0xcf(r3)
/* 801335D8 0012F418 48 00 0F A0 */ b lbl_80134578
.global lbl_801335DC
lbl_801335DC:
/* 801335DC 0012F41C 38 00 00 0F */ li r0, 0xf
/* 801335E0 0012F420 90 1C 00 14 */ stw r0, 0x14(r28)
/* 801335E4 0012F424 48 00 0F 94 */ b lbl_80134578
.global lbl_801335E8
lbl_801335E8:
/* 801335E8 0012F428 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 801335EC 0012F42C 7C 00 18 50 */ subf r0, r0, r3
/* 801335F0 0012F430 28 00 00 09 */ cmplwi r0, 0x9
/* 801335F4 0012F434 41 81 0F 84 */ bgt lbl_80134578
/* 801335F8 0012F438 3C 60 80 44 */ lis r3, "@18596"@ha
/* 801335FC 0012F43C 54 00 10 3A */ slwi r0, r0, 2
/* 80133600 0012F440 38 63 3C 8C */ addi r3, r3, "@18596"@l
/* 80133604 0012F444 7C 63 00 2E */ lwzx r3, r3, r0
/* 80133608 0012F448 7C 69 03 A6 */ mtctr r3
/* 8013360C 0012F44C 4E 80 04 20 */ bctr
.global lbl_80133610
lbl_80133610:
/* 80133610 0012F450 80 7C 03 E8 */ lwz r3, 0x3e8(r28)
/* 80133614 0012F454 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80133618 0012F458 2C 00 00 01 */ cmpwi r0, 0x1
/* 8013361C 0012F45C 40 82 00 0C */ bne lbl_80133628
/* 80133620 0012F460 38 00 00 00 */ li r0, 0x0
/* 80133624 0012F464 90 03 00 14 */ stw r0, 0x14(r3)
.global lbl_80133628
lbl_80133628:
/* 80133628 0012F468 80 7C 03 C4 */ lwz r3, 0x3c4(r28)
/* 8013362C 0012F46C 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80133630 0012F470 2C 00 00 01 */ cmpwi r0, 0x1
/* 80133634 0012F474 40 82 00 0C */ bne lbl_80133640
/* 80133638 0012F478 38 00 00 00 */ li r0, 0x0
/* 8013363C 0012F47C 90 03 00 14 */ stw r0, 0x14(r3)
.global lbl_80133640
lbl_80133640:
/* 80133640 0012F480 38 60 00 00 */ li r3, 0x0
/* 80133644 0012F484 38 00 00 04 */ li r0, 0x4
/* 80133648 0012F488 90 7C 00 B8 */ stw r3, 0xb8(r28)
/* 8013364C 0012F48C 90 1C 00 18 */ stw r0, 0x18(r28)
/* 80133650 0012F490 83 7C 03 C8 */ lwz r27, 0x3c8(r28)
/* 80133654 0012F494 7F 63 DB 78 */ mr r3, r27
/* 80133658 0012F498 4B FF 4F B9 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 8013365C 0012F49C 38 00 00 01 */ li r0, 0x1
/* 80133660 0012F4A0 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80133664 0012F4A4 38 00 00 0E */ li r0, 0xe
/* 80133668 0012F4A8 38 60 00 00 */ li r3, 0x0
/* 8013366C 0012F4AC 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80133670 0012F4B0 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133674 0012F4B4 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133678 0012F4B8 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013367C 0012F4BC 41 82 00 14 */ beq lbl_80133690
/* 80133680 0012F4C0 38 60 00 05 */ li r3, 0x5
/* 80133684 0012F4C4 38 80 00 01 */ li r4, 0x1
/* 80133688 0012F4C8 7D 89 03 A6 */ mtctr r12
/* 8013368C 0012F4CC 4E 80 04 21 */ bctrl
.global lbl_80133690
lbl_80133690:
/* 80133690 0012F4D0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133694 0012F4D4 40 82 0E E4 */ bne lbl_80134578
/* 80133698 0012F4D8 38 60 00 01 */ li r3, 0x1
/* 8013369C 0012F4DC 4B FF 83 15 */ bl PlaySeq__10homebuttonFi
/* 801336A0 0012F4E0 48 00 0E D8 */ b lbl_80134578
.global lbl_801336A4
lbl_801336A4:
/* 801336A4 0012F4E4 2C 04 00 01 */ cmpwi r4, 0x1
/* 801336A8 0012F4E8 40 82 00 B8 */ bne lbl_80133760
/* 801336AC 0012F4EC 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 801336B0 0012F4F0 38 9E 0B 74 */ addi r4, r30, 0xb74
/* 801336B4 0012F4F4 38 A0 00 01 */ li r5, 0x1
/* 801336B8 0012F4F8 80 63 00 10 */ lwz r3, 0x10(r3)
/* 801336BC 0012F4FC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801336C0 0012F500 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 801336C4 0012F504 7D 89 03 A6 */ mtctr r12
/* 801336C8 0012F508 4E 80 04 21 */ bctrl
/* 801336CC 0012F50C 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 801336D0 0012F510 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 801336D4 0012F514 60 00 00 01 */ ori r0, r0, 0x1
/* 801336D8 0012F518 98 03 00 CF */ stb r0, 0xcf(r3)
/* 801336DC 0012F51C 83 7C 03 C8 */ lwz r27, 0x3c8(r28)
/* 801336E0 0012F520 7F 63 DB 78 */ mr r3, r27
/* 801336E4 0012F524 4B FF 4F 2D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801336E8 0012F528 3B A0 00 01 */ li r29, 0x1
/* 801336EC 0012F52C 93 BB 00 14 */ stw r29, 0x14(r27)
/* 801336F0 0012F530 83 7C 03 E4 */ lwz r27, 0x3e4(r28)
/* 801336F4 0012F534 7F 63 DB 78 */ mr r3, r27
/* 801336F8 0012F538 4B FF 4F 19 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801336FC 0012F53C 93 BB 00 14 */ stw r29, 0x14(r27)
/* 80133700 0012F540 38 00 00 02 */ li r0, 0x2
/* 80133704 0012F544 90 1C 00 18 */ stw r0, 0x18(r28)
/* 80133708 0012F548 83 7C 03 C0 */ lwz r27, 0x3c0(r28)
/* 8013370C 0012F54C 7F 63 DB 78 */ mr r3, r27
/* 80133710 0012F550 4B FF 4F 01 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133714 0012F554 93 BB 00 14 */ stw r29, 0x14(r27)
/* 80133718 0012F558 38 60 00 0A */ li r3, 0xa
/* 8013371C 0012F55C 38 00 00 00 */ li r0, 0x0
/* 80133720 0012F560 90 7C 00 14 */ stw r3, 0x14(r28)
/* 80133724 0012F564 38 60 00 00 */ li r3, 0x0
/* 80133728 0012F568 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 8013372C 0012F56C 90 1C 00 00 */ stw r0, 0x0(r28)
/* 80133730 0012F570 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133734 0012F574 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133738 0012F578 41 82 00 14 */ beq lbl_8013374C
/* 8013373C 0012F57C 38 60 00 05 */ li r3, 0x5
/* 80133740 0012F580 38 80 00 08 */ li r4, 0x8
/* 80133744 0012F584 7D 89 03 A6 */ mtctr r12
/* 80133748 0012F588 4E 80 04 21 */ bctrl
.global lbl_8013374C
lbl_8013374C:
/* 8013374C 0012F58C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133750 0012F590 40 82 0E 28 */ bne lbl_80134578
/* 80133754 0012F594 38 60 00 08 */ li r3, 0x8
/* 80133758 0012F598 4B FF 82 59 */ bl PlaySeq__10homebuttonFi
/* 8013375C 0012F59C 48 00 0E 1C */ b lbl_80134578
.global lbl_80133760
lbl_80133760:
/* 80133760 0012F5A0 2C 04 00 00 */ cmpwi r4, 0x0
/* 80133764 0012F5A4 40 82 0E 14 */ bne lbl_80134578
/* 80133768 0012F5A8 83 7C 03 BC */ lwz r27, 0x3bc(r28)
/* 8013376C 0012F5AC 7F 63 DB 78 */ mr r3, r27
/* 80133770 0012F5B0 4B FF 4E A1 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133774 0012F5B4 3B A0 00 01 */ li r29, 0x1
/* 80133778 0012F5B8 93 BB 00 14 */ stw r29, 0x14(r27)
/* 8013377C 0012F5BC 38 00 00 09 */ li r0, 0x9
/* 80133780 0012F5C0 90 1C 00 18 */ stw r0, 0x18(r28)
/* 80133784 0012F5C4 83 7C 03 DC */ lwz r27, 0x3dc(r28)
/* 80133788 0012F5C8 7F 63 DB 78 */ mr r3, r27
/* 8013378C 0012F5CC 4B FF 4E 85 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133790 0012F5D0 93 BB 00 14 */ stw r29, 0x14(r27)
/* 80133794 0012F5D4 38 7E 09 98 */ addi r3, r30, 0x998
/* 80133798 0012F5D8 38 00 00 0A */ li r0, 0xa
/* 8013379C 0012F5DC 3B A0 00 02 */ li r29, 0x2
/* 801337A0 0012F5E0 90 1C 00 14 */ stw r0, 0x14(r28)
/* 801337A4 0012F5E4 3B 63 00 08 */ addi r27, r3, 0x8
.global lbl_801337A8
lbl_801337A8:
/* 801337A8 0012F5E8 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 801337AC 0012F5EC 38 A0 00 01 */ li r5, 0x1
/* 801337B0 0012F5F0 80 9B 00 00 */ lwz r4, 0x0(r27)
/* 801337B4 0012F5F4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 801337B8 0012F5F8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801337BC 0012F5FC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 801337C0 0012F600 7D 89 03 A6 */ mtctr r12
/* 801337C4 0012F604 4E 80 04 21 */ bctrl
/* 801337C8 0012F608 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 801337CC 0012F60C 3B BD 00 01 */ addi r29, r29, 0x1
/* 801337D0 0012F610 2C 1D 00 07 */ cmpwi r29, 0x7
/* 801337D4 0012F614 3B 7B 00 04 */ addi r27, r27, 0x4
/* 801337D8 0012F618 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 801337DC 0012F61C 60 00 00 01 */ ori r0, r0, 0x1
/* 801337E0 0012F620 98 03 00 CF */ stb r0, 0xcf(r3)
/* 801337E4 0012F624 41 80 FF C4 */ blt lbl_801337A8
/* 801337E8 0012F628 38 00 00 01 */ li r0, 0x1
/* 801337EC 0012F62C 90 1C 00 00 */ stw r0, 0x0(r28)
/* 801337F0 0012F630 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 801337F4 0012F634 38 60 00 00 */ li r3, 0x0
/* 801337F8 0012F638 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801337FC 0012F63C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133800 0012F640 41 82 00 14 */ beq lbl_80133814
/* 80133804 0012F644 38 60 00 05 */ li r3, 0x5
/* 80133808 0012F648 38 80 00 05 */ li r4, 0x5
/* 8013380C 0012F64C 7D 89 03 A6 */ mtctr r12
/* 80133810 0012F650 4E 80 04 21 */ bctrl
.global lbl_80133814
lbl_80133814:
/* 80133814 0012F654 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133818 0012F658 40 82 0D 60 */ bne lbl_80134578
/* 8013381C 0012F65C 38 60 00 05 */ li r3, 0x5
/* 80133820 0012F660 4B FF 81 91 */ bl PlaySeq__10homebuttonFi
/* 80133824 0012F664 48 00 0D 54 */ b lbl_80134578
.global lbl_80133828
lbl_80133828:
/* 80133828 0012F668 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 8013382C 0012F66C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133830 0012F670 40 81 02 8C */ ble lbl_80133ABC
/* 80133834 0012F674 38 63 FF FF */ addi r3, r3, -0x1
/* 80133838 0012F678 38 00 00 25 */ li r0, 0x25
/* 8013383C 0012F67C 90 7C 00 84 */ stw r3, 0x84(r28)
/* 80133840 0012F680 38 63 00 15 */ addi r3, r3, 0x15
/* 80133844 0012F684 38 BD 00 68 */ addi r5, r29, 0x68
/* 80133848 0012F688 38 80 00 00 */ li r4, 0x0
/* 8013384C 0012F68C 7C 09 03 A6 */ mtctr r0
.global lbl_80133850
lbl_80133850:
/* 80133850 0012F690 80 05 00 00 */ lwz r0, 0x0(r5)
/* 80133854 0012F694 7C 03 00 00 */ cmpw r3, r0
/* 80133858 0012F698 40 82 00 14 */ bne lbl_8013386C
/* 8013385C 0012F69C 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80133860 0012F6A0 2C 00 00 0A */ cmpwi r0, 0xa
/* 80133864 0012F6A4 40 82 00 08 */ bne lbl_8013386C
/* 80133868 0012F6A8 48 00 00 34 */ b lbl_8013389C
.global lbl_8013386C
lbl_8013386C:
/* 8013386C 0012F6AC 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80133870 0012F6B0 38 84 00 01 */ addi r4, r4, 0x1
/* 80133874 0012F6B4 7C 03 00 00 */ cmpw r3, r0
/* 80133878 0012F6B8 40 82 00 14 */ bne lbl_8013388C
/* 8013387C 0012F6BC 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80133880 0012F6C0 2C 00 00 0A */ cmpwi r0, 0xa
/* 80133884 0012F6C4 40 82 00 08 */ bne lbl_8013388C
/* 80133888 0012F6C8 48 00 00 14 */ b lbl_8013389C
.global lbl_8013388C
lbl_8013388C:
/* 8013388C 0012F6CC 38 A5 00 10 */ addi r5, r5, 0x10
/* 80133890 0012F6D0 38 84 00 01 */ addi r4, r4, 0x1
/* 80133894 0012F6D4 42 00 FF BC */ bdnz lbl_80133850
/* 80133898 0012F6D8 38 80 FF FF */ li r4, -0x1
.global lbl_8013389C
lbl_8013389C:
/* 8013389C 0012F6DC 54 80 10 3A */ slwi r0, r4, 2
/* 801338A0 0012F6E0 38 80 00 00 */ li r4, 0x0
/* 801338A4 0012F6E4 7C 7C 02 14 */ add r3, r28, r0
/* 801338A8 0012F6E8 38 DD 00 68 */ addi r6, r29, 0x68
/* 801338AC 0012F6EC 80 63 02 90 */ lwz r3, 0x290(r3)
/* 801338B0 0012F6F0 38 00 00 25 */ li r0, 0x25
/* 801338B4 0012F6F4 38 A0 00 00 */ li r5, 0x0
/* 801338B8 0012F6F8 90 83 00 14 */ stw r4, 0x14(r3)
/* 801338BC 0012F6FC 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 801338C0 0012F700 38 63 00 15 */ addi r3, r3, 0x15
/* 801338C4 0012F704 7C 09 03 A6 */ mtctr r0
.global lbl_801338C8
lbl_801338C8:
/* 801338C8 0012F708 80 06 00 00 */ lwz r0, 0x0(r6)
/* 801338CC 0012F70C 7C 03 00 00 */ cmpw r3, r0
/* 801338D0 0012F710 40 82 00 14 */ bne lbl_801338E4
/* 801338D4 0012F714 80 06 00 04 */ lwz r0, 0x4(r6)
/* 801338D8 0012F718 2C 00 00 09 */ cmpwi r0, 0x9
/* 801338DC 0012F71C 40 82 00 08 */ bne lbl_801338E4
/* 801338E0 0012F720 48 00 00 34 */ b lbl_80133914
.global lbl_801338E4
lbl_801338E4:
/* 801338E4 0012F724 80 06 00 08 */ lwz r0, 0x8(r6)
/* 801338E8 0012F728 38 A5 00 01 */ addi r5, r5, 0x1
/* 801338EC 0012F72C 7C 03 00 00 */ cmpw r3, r0
/* 801338F0 0012F730 40 82 00 14 */ bne lbl_80133904
/* 801338F4 0012F734 80 06 00 0C */ lwz r0, 0xc(r6)
/* 801338F8 0012F738 2C 00 00 09 */ cmpwi r0, 0x9
/* 801338FC 0012F73C 40 82 00 08 */ bne lbl_80133904
/* 80133900 0012F740 48 00 00 14 */ b lbl_80133914
.global lbl_80133904
lbl_80133904:
/* 80133904 0012F744 38 C6 00 10 */ addi r6, r6, 0x10
/* 80133908 0012F748 38 A5 00 01 */ addi r5, r5, 0x1
/* 8013390C 0012F74C 42 00 FF BC */ bdnz lbl_801338C8
/* 80133910 0012F750 38 A0 FF FF */ li r5, -0x1
.global lbl_80133914
lbl_80133914:
/* 80133914 0012F754 54 A0 10 3A */ slwi r0, r5, 2
/* 80133918 0012F758 7C 7C 02 14 */ add r3, r28, r0
/* 8013391C 0012F75C 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80133920 0012F760 7F 63 DB 78 */ mr r3, r27
/* 80133924 0012F764 4B FF 4C ED */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133928 0012F768 38 00 00 01 */ li r0, 0x1
/* 8013392C 0012F76C 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80133930 0012F770 80 1C 00 84 */ lwz r0, 0x84(r28)
/* 80133934 0012F774 2C 00 00 00 */ cmpwi r0, 0x0
/* 80133938 0012F778 40 82 00 88 */ bne lbl_801339C0
/* 8013393C 0012F77C 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133940 0012F780 38 60 00 00 */ li r3, 0x0
/* 80133944 0012F784 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133948 0012F788 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013394C 0012F78C 41 82 00 14 */ beq lbl_80133960
/* 80133950 0012F790 38 60 00 05 */ li r3, 0x5
/* 80133954 0012F794 38 80 00 0C */ li r4, 0xc
/* 80133958 0012F798 7D 89 03 A6 */ mtctr r12
/* 8013395C 0012F79C 4E 80 04 21 */ bctrl
.global lbl_80133960
lbl_80133960:
/* 80133960 0012F7A0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133964 0012F7A4 40 82 00 0C */ bne lbl_80133970
/* 80133968 0012F7A8 38 60 00 0C */ li r3, 0xc
/* 8013396C 0012F7AC 4B FF 80 45 */ bl PlaySeq__10homebuttonFi
.global lbl_80133970
lbl_80133970:
/* 80133970 0012F7B0 CB FD 03 10 */ lfd f31, 0x310(r29)
/* 80133974 0012F7B4 7F 9B E3 78 */ mr r27, r28
/* 80133978 0012F7B8 C3 DD 03 0C */ lfs f30, 0x30c(r29)
/* 8013397C 0012F7BC 3B C0 00 00 */ li r30, 0x0
.global lbl_80133980
lbl_80133980:
/* 80133980 0012F7C0 80 1C 00 84 */ lwz r0, 0x84(r28)
/* 80133984 0012F7C4 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133988 0012F7C8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8013398C 0012F7CC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80133990 0012F7D0 C8 01 00 08 */ lfd f0, 0x8(r1)
/* 80133994 0012F7D4 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80133998 0012F7D8 EC 20 F0 24 */ fdivs f1, f0, f30
/* 8013399C 0012F7DC 4B FF 6D 65 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 801339A0 0012F7E0 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 801339A4 0012F7E4 38 80 00 01 */ li r4, 0x1
/* 801339A8 0012F7E8 4B FF 6D 69 */ bl playSound__Q210homebutton10ControllerFi
/* 801339AC 0012F7EC 3B DE 00 01 */ addi r30, r30, 0x1
/* 801339B0 0012F7F0 3B 7B 00 04 */ addi r27, r27, 0x4
/* 801339B4 0012F7F4 2C 1E 00 04 */ cmpwi r30, 0x4
/* 801339B8 0012F7F8 41 80 FF C8 */ blt lbl_80133980
/* 801339BC 0012F7FC 48 00 00 84 */ b lbl_80133A40
.global lbl_801339C0
lbl_801339C0:
/* 801339C0 0012F800 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 801339C4 0012F804 38 60 00 00 */ li r3, 0x0
/* 801339C8 0012F808 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801339CC 0012F80C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 801339D0 0012F810 41 82 00 14 */ beq lbl_801339E4
/* 801339D4 0012F814 38 60 00 05 */ li r3, 0x5
/* 801339D8 0012F818 38 80 00 0A */ li r4, 0xa
/* 801339DC 0012F81C 7D 89 03 A6 */ mtctr r12
/* 801339E0 0012F820 4E 80 04 21 */ bctrl
.global lbl_801339E4
lbl_801339E4:
/* 801339E4 0012F824 2C 03 00 00 */ cmpwi r3, 0x0
/* 801339E8 0012F828 40 82 00 0C */ bne lbl_801339F4
/* 801339EC 0012F82C 38 60 00 0A */ li r3, 0xa
/* 801339F0 0012F830 4B FF 7F C1 */ bl PlaySeq__10homebuttonFi
.global lbl_801339F4
lbl_801339F4:
/* 801339F4 0012F834 CB FD 03 10 */ lfd f31, 0x310(r29)
/* 801339F8 0012F838 7F 9B E3 78 */ mr r27, r28
/* 801339FC 0012F83C C3 DD 03 0C */ lfs f30, 0x30c(r29)
/* 80133A00 0012F840 3B C0 00 00 */ li r30, 0x0
.global lbl_80133A04
lbl_80133A04:
/* 80133A04 0012F844 80 1C 00 84 */ lwz r0, 0x84(r28)
/* 80133A08 0012F848 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133A0C 0012F84C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80133A10 0012F850 90 01 00 14 */ stw r0, 0x14(r1)
/* 80133A14 0012F854 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 80133A18 0012F858 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80133A1C 0012F85C EC 20 F0 24 */ fdivs f1, f0, f30
/* 80133A20 0012F860 4B FF 6C E1 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 80133A24 0012F864 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133A28 0012F868 38 80 00 01 */ li r4, 0x1
/* 80133A2C 0012F86C 4B FF 6C E5 */ bl playSound__Q210homebutton10ControllerFi
/* 80133A30 0012F870 3B DE 00 01 */ addi r30, r30, 0x1
/* 80133A34 0012F874 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80133A38 0012F878 2C 1E 00 04 */ cmpwi r30, 0x4
/* 80133A3C 0012F87C 41 80 FF C8 */ blt lbl_80133A04
.global lbl_80133A40
lbl_80133A40:
/* 80133A40 0012F880 38 00 00 25 */ li r0, 0x25
/* 80133A44 0012F884 38 9D 00 68 */ addi r4, r29, 0x68
/* 80133A48 0012F888 38 60 00 00 */ li r3, 0x0
/* 80133A4C 0012F88C 7C 09 03 A6 */ mtctr r0
.global lbl_80133A50
lbl_80133A50:
/* 80133A50 0012F890 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80133A54 0012F894 2C 00 00 0B */ cmpwi r0, 0xb
/* 80133A58 0012F898 40 82 00 14 */ bne lbl_80133A6C
/* 80133A5C 0012F89C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133A60 0012F8A0 2C 00 00 05 */ cmpwi r0, 0x5
/* 80133A64 0012F8A4 40 82 00 08 */ bne lbl_80133A6C
/* 80133A68 0012F8A8 48 00 00 34 */ b lbl_80133A9C
.global lbl_80133A6C
lbl_80133A6C:
/* 80133A6C 0012F8AC 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133A70 0012F8B0 38 63 00 01 */ addi r3, r3, 0x1
/* 80133A74 0012F8B4 2C 00 00 0B */ cmpwi r0, 0xb
/* 80133A78 0012F8B8 40 82 00 14 */ bne lbl_80133A8C
/* 80133A7C 0012F8BC 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133A80 0012F8C0 2C 00 00 05 */ cmpwi r0, 0x5
/* 80133A84 0012F8C4 40 82 00 08 */ bne lbl_80133A8C
/* 80133A88 0012F8C8 48 00 00 14 */ b lbl_80133A9C
.global lbl_80133A8C
lbl_80133A8C:
/* 80133A8C 0012F8CC 38 84 00 10 */ addi r4, r4, 0x10
/* 80133A90 0012F8D0 38 63 00 01 */ addi r3, r3, 0x1
/* 80133A94 0012F8D4 42 00 FF BC */ bdnz lbl_80133A50
/* 80133A98 0012F8D8 38 60 FF FF */ li r3, -0x1
.global lbl_80133A9C
lbl_80133A9C:
/* 80133A9C 0012F8DC 54 60 10 3A */ slwi r0, r3, 2
/* 80133AA0 0012F8E0 7C 7C 02 14 */ add r3, r28, r0
/* 80133AA4 0012F8E4 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80133AA8 0012F8E8 7F 63 DB 78 */ mr r3, r27
/* 80133AAC 0012F8EC 4B FF 4B 65 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133AB0 0012F8F0 38 00 00 01 */ li r0, 0x1
/* 80133AB4 0012F8F4 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80133AB8 0012F8F8 48 00 0A C0 */ b lbl_80134578
.global lbl_80133ABC
lbl_80133ABC:
/* 80133ABC 0012F8FC 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133AC0 0012F900 38 60 00 00 */ li r3, 0x0
/* 80133AC4 0012F904 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133AC8 0012F908 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133ACC 0012F90C 41 82 00 14 */ beq lbl_80133AE0
/* 80133AD0 0012F910 38 60 00 05 */ li r3, 0x5
/* 80133AD4 0012F914 38 80 00 0D */ li r4, 0xd
/* 80133AD8 0012F918 7D 89 03 A6 */ mtctr r12
/* 80133ADC 0012F91C 4E 80 04 21 */ bctrl
.global lbl_80133AE0
lbl_80133AE0:
/* 80133AE0 0012F920 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133AE4 0012F924 40 82 0A 94 */ bne lbl_80134578
/* 80133AE8 0012F928 38 60 00 0D */ li r3, 0xd
/* 80133AEC 0012F92C 4B FF 7E C5 */ bl PlaySeq__10homebuttonFi
/* 80133AF0 0012F930 48 00 0A 88 */ b lbl_80134578
.global lbl_80133AF4
lbl_80133AF4:
/* 80133AF4 0012F934 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 80133AF8 0012F938 2C 03 00 0A */ cmpwi r3, 0xa
/* 80133AFC 0012F93C 40 80 02 90 */ bge lbl_80133D8C
/* 80133B00 0012F940 38 00 00 25 */ li r0, 0x25
/* 80133B04 0012F944 38 63 00 15 */ addi r3, r3, 0x15
/* 80133B08 0012F948 38 BD 00 68 */ addi r5, r29, 0x68
/* 80133B0C 0012F94C 38 80 00 00 */ li r4, 0x0
/* 80133B10 0012F950 7C 09 03 A6 */ mtctr r0
/* 80133B14 0012F954 60 00 00 00 */ nop
.global lbl_80133B18
lbl_80133B18:
/* 80133B18 0012F958 80 05 00 00 */ lwz r0, 0x0(r5)
/* 80133B1C 0012F95C 7C 03 00 00 */ cmpw r3, r0
/* 80133B20 0012F960 40 82 00 14 */ bne lbl_80133B34
/* 80133B24 0012F964 80 05 00 04 */ lwz r0, 0x4(r5)
/* 80133B28 0012F968 2C 00 00 09 */ cmpwi r0, 0x9
/* 80133B2C 0012F96C 40 82 00 08 */ bne lbl_80133B34
/* 80133B30 0012F970 48 00 00 34 */ b lbl_80133B64
.global lbl_80133B34
lbl_80133B34:
/* 80133B34 0012F974 80 05 00 08 */ lwz r0, 0x8(r5)
/* 80133B38 0012F978 38 84 00 01 */ addi r4, r4, 0x1
/* 80133B3C 0012F97C 7C 03 00 00 */ cmpw r3, r0
/* 80133B40 0012F980 40 82 00 14 */ bne lbl_80133B54
/* 80133B44 0012F984 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80133B48 0012F988 2C 00 00 09 */ cmpwi r0, 0x9
/* 80133B4C 0012F98C 40 82 00 08 */ bne lbl_80133B54
/* 80133B50 0012F990 48 00 00 14 */ b lbl_80133B64
.global lbl_80133B54
lbl_80133B54:
/* 80133B54 0012F994 38 A5 00 10 */ addi r5, r5, 0x10
/* 80133B58 0012F998 38 84 00 01 */ addi r4, r4, 0x1
/* 80133B5C 0012F99C 42 00 FF BC */ bdnz lbl_80133B18
/* 80133B60 0012F9A0 38 80 FF FF */ li r4, -0x1
.global lbl_80133B64
lbl_80133B64:
/* 80133B64 0012F9A4 54 80 10 3A */ slwi r0, r4, 2
/* 80133B68 0012F9A8 38 80 00 00 */ li r4, 0x0
/* 80133B6C 0012F9AC 7C 7C 02 14 */ add r3, r28, r0
/* 80133B70 0012F9B0 38 DD 00 68 */ addi r6, r29, 0x68
/* 80133B74 0012F9B4 80 63 02 90 */ lwz r3, 0x290(r3)
/* 80133B78 0012F9B8 38 00 00 25 */ li r0, 0x25
/* 80133B7C 0012F9BC 38 A0 00 00 */ li r5, 0x0
/* 80133B80 0012F9C0 90 83 00 14 */ stw r4, 0x14(r3)
/* 80133B84 0012F9C4 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 80133B88 0012F9C8 38 63 00 15 */ addi r3, r3, 0x15
/* 80133B8C 0012F9CC 7C 09 03 A6 */ mtctr r0
.global lbl_80133B90
lbl_80133B90:
/* 80133B90 0012F9D0 80 06 00 00 */ lwz r0, 0x0(r6)
/* 80133B94 0012F9D4 7C 03 00 00 */ cmpw r3, r0
/* 80133B98 0012F9D8 40 82 00 14 */ bne lbl_80133BAC
/* 80133B9C 0012F9DC 80 06 00 04 */ lwz r0, 0x4(r6)
/* 80133BA0 0012F9E0 2C 00 00 0A */ cmpwi r0, 0xa
/* 80133BA4 0012F9E4 40 82 00 08 */ bne lbl_80133BAC
/* 80133BA8 0012F9E8 48 00 00 34 */ b lbl_80133BDC
.global lbl_80133BAC
lbl_80133BAC:
/* 80133BAC 0012F9EC 80 06 00 08 */ lwz r0, 0x8(r6)
/* 80133BB0 0012F9F0 38 A5 00 01 */ addi r5, r5, 0x1
/* 80133BB4 0012F9F4 7C 03 00 00 */ cmpw r3, r0
/* 80133BB8 0012F9F8 40 82 00 14 */ bne lbl_80133BCC
/* 80133BBC 0012F9FC 80 06 00 0C */ lwz r0, 0xc(r6)
/* 80133BC0 0012FA00 2C 00 00 0A */ cmpwi r0, 0xa
/* 80133BC4 0012FA04 40 82 00 08 */ bne lbl_80133BCC
/* 80133BC8 0012FA08 48 00 00 14 */ b lbl_80133BDC
.global lbl_80133BCC
lbl_80133BCC:
/* 80133BCC 0012FA0C 38 C6 00 10 */ addi r6, r6, 0x10
/* 80133BD0 0012FA10 38 A5 00 01 */ addi r5, r5, 0x1
/* 80133BD4 0012FA14 42 00 FF BC */ bdnz lbl_80133B90
/* 80133BD8 0012FA18 38 A0 FF FF */ li r5, -0x1
.global lbl_80133BDC
lbl_80133BDC:
/* 80133BDC 0012FA1C 54 A0 10 3A */ slwi r0, r5, 2
/* 80133BE0 0012FA20 7C 7C 02 14 */ add r3, r28, r0
/* 80133BE4 0012FA24 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80133BE8 0012FA28 7F 63 DB 78 */ mr r3, r27
/* 80133BEC 0012FA2C 4B FF 4A 25 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133BF0 0012FA30 38 00 00 01 */ li r0, 0x1
/* 80133BF4 0012FA34 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80133BF8 0012FA38 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 80133BFC 0012FA3C 38 03 00 01 */ addi r0, r3, 0x1
/* 80133C00 0012FA40 90 1C 00 84 */ stw r0, 0x84(r28)
/* 80133C04 0012FA44 2C 00 00 0A */ cmpwi r0, 0xa
/* 80133C08 0012FA48 40 82 00 88 */ bne lbl_80133C90
/* 80133C0C 0012FA4C 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133C10 0012FA50 38 60 00 00 */ li r3, 0x0
/* 80133C14 0012FA54 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133C18 0012FA58 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133C1C 0012FA5C 41 82 00 14 */ beq lbl_80133C30
/* 80133C20 0012FA60 38 60 00 05 */ li r3, 0x5
/* 80133C24 0012FA64 38 80 00 0B */ li r4, 0xb
/* 80133C28 0012FA68 7D 89 03 A6 */ mtctr r12
/* 80133C2C 0012FA6C 4E 80 04 21 */ bctrl
.global lbl_80133C30
lbl_80133C30:
/* 80133C30 0012FA70 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133C34 0012FA74 40 82 00 0C */ bne lbl_80133C40
/* 80133C38 0012FA78 38 60 00 0B */ li r3, 0xb
/* 80133C3C 0012FA7C 4B FF 7D 75 */ bl PlaySeq__10homebuttonFi
.global lbl_80133C40
lbl_80133C40:
/* 80133C40 0012FA80 CB FD 03 10 */ lfd f31, 0x310(r29)
/* 80133C44 0012FA84 7F 9B E3 78 */ mr r27, r28
/* 80133C48 0012FA88 C3 DD 03 0C */ lfs f30, 0x30c(r29)
/* 80133C4C 0012FA8C 3B C0 00 00 */ li r30, 0x0
.global lbl_80133C50
lbl_80133C50:
/* 80133C50 0012FA90 80 1C 00 84 */ lwz r0, 0x84(r28)
/* 80133C54 0012FA94 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133C58 0012FA98 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80133C5C 0012FA9C 90 01 00 0C */ stw r0, 0xc(r1)
/* 80133C60 0012FAA0 C8 01 00 08 */ lfd f0, 0x8(r1)
/* 80133C64 0012FAA4 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80133C68 0012FAA8 EC 20 F0 24 */ fdivs f1, f0, f30
/* 80133C6C 0012FAAC 4B FF 6A 95 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 80133C70 0012FAB0 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133C74 0012FAB4 38 80 00 01 */ li r4, 0x1
/* 80133C78 0012FAB8 4B FF 6A 99 */ bl playSound__Q210homebutton10ControllerFi
/* 80133C7C 0012FABC 3B DE 00 01 */ addi r30, r30, 0x1
/* 80133C80 0012FAC0 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80133C84 0012FAC4 2C 1E 00 04 */ cmpwi r30, 0x4
/* 80133C88 0012FAC8 41 80 FF C8 */ blt lbl_80133C50
/* 80133C8C 0012FACC 48 00 00 84 */ b lbl_80133D10
.global lbl_80133C90
lbl_80133C90:
/* 80133C90 0012FAD0 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133C94 0012FAD4 38 60 00 00 */ li r3, 0x0
/* 80133C98 0012FAD8 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133C9C 0012FADC 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133CA0 0012FAE0 41 82 00 14 */ beq lbl_80133CB4
/* 80133CA4 0012FAE4 38 60 00 05 */ li r3, 0x5
/* 80133CA8 0012FAE8 38 80 00 09 */ li r4, 0x9
/* 80133CAC 0012FAEC 7D 89 03 A6 */ mtctr r12
/* 80133CB0 0012FAF0 4E 80 04 21 */ bctrl
.global lbl_80133CB4
lbl_80133CB4:
/* 80133CB4 0012FAF4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133CB8 0012FAF8 40 82 00 0C */ bne lbl_80133CC4
/* 80133CBC 0012FAFC 38 60 00 09 */ li r3, 0x9
/* 80133CC0 0012FB00 4B FF 7C F1 */ bl PlaySeq__10homebuttonFi
.global lbl_80133CC4
lbl_80133CC4:
/* 80133CC4 0012FB04 CB DD 03 10 */ lfd f30, 0x310(r29)
/* 80133CC8 0012FB08 7F 9B E3 78 */ mr r27, r28
/* 80133CCC 0012FB0C C3 FD 03 0C */ lfs f31, 0x30c(r29)
/* 80133CD0 0012FB10 3B C0 00 00 */ li r30, 0x0
.global lbl_80133CD4
lbl_80133CD4:
/* 80133CD4 0012FB14 80 1C 00 84 */ lwz r0, 0x84(r28)
/* 80133CD8 0012FB18 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133CDC 0012FB1C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80133CE0 0012FB20 90 01 00 14 */ stw r0, 0x14(r1)
/* 80133CE4 0012FB24 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 80133CE8 0012FB28 EC 00 F0 28 */ fsubs f0, f0, f30
/* 80133CEC 0012FB2C EC 20 F8 24 */ fdivs f1, f0, f31
/* 80133CF0 0012FB30 4B FF 6A 11 */ bl setSpeakerVol__Q210homebutton10ControllerFf
/* 80133CF4 0012FB34 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133CF8 0012FB38 38 80 00 01 */ li r4, 0x1
/* 80133CFC 0012FB3C 4B FF 6A 15 */ bl playSound__Q210homebutton10ControllerFi
/* 80133D00 0012FB40 3B DE 00 01 */ addi r30, r30, 0x1
/* 80133D04 0012FB44 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80133D08 0012FB48 2C 1E 00 04 */ cmpwi r30, 0x4
/* 80133D0C 0012FB4C 41 80 FF C8 */ blt lbl_80133CD4
.global lbl_80133D10
lbl_80133D10:
/* 80133D10 0012FB50 38 00 00 25 */ li r0, 0x25
/* 80133D14 0012FB54 38 9D 00 68 */ addi r4, r29, 0x68
/* 80133D18 0012FB58 38 60 00 00 */ li r3, 0x0
/* 80133D1C 0012FB5C 7C 09 03 A6 */ mtctr r0
.global lbl_80133D20
lbl_80133D20:
/* 80133D20 0012FB60 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80133D24 0012FB64 2C 00 00 0C */ cmpwi r0, 0xc
/* 80133D28 0012FB68 40 82 00 14 */ bne lbl_80133D3C
/* 80133D2C 0012FB6C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133D30 0012FB70 2C 00 00 05 */ cmpwi r0, 0x5
/* 80133D34 0012FB74 40 82 00 08 */ bne lbl_80133D3C
/* 80133D38 0012FB78 48 00 00 34 */ b lbl_80133D6C
.global lbl_80133D3C
lbl_80133D3C:
/* 80133D3C 0012FB7C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133D40 0012FB80 38 63 00 01 */ addi r3, r3, 0x1
/* 80133D44 0012FB84 2C 00 00 0C */ cmpwi r0, 0xc
/* 80133D48 0012FB88 40 82 00 14 */ bne lbl_80133D5C
/* 80133D4C 0012FB8C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133D50 0012FB90 2C 00 00 05 */ cmpwi r0, 0x5
/* 80133D54 0012FB94 40 82 00 08 */ bne lbl_80133D5C
/* 80133D58 0012FB98 48 00 00 14 */ b lbl_80133D6C
.global lbl_80133D5C
lbl_80133D5C:
/* 80133D5C 0012FB9C 38 84 00 10 */ addi r4, r4, 0x10
/* 80133D60 0012FBA0 38 63 00 01 */ addi r3, r3, 0x1
/* 80133D64 0012FBA4 42 00 FF BC */ bdnz lbl_80133D20
/* 80133D68 0012FBA8 38 60 FF FF */ li r3, -0x1
.global lbl_80133D6C
lbl_80133D6C:
/* 80133D6C 0012FBAC 54 60 10 3A */ slwi r0, r3, 2
/* 80133D70 0012FBB0 7C 7C 02 14 */ add r3, r28, r0
/* 80133D74 0012FBB4 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80133D78 0012FBB8 7F 63 DB 78 */ mr r3, r27
/* 80133D7C 0012FBBC 4B FF 48 95 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133D80 0012FBC0 38 00 00 01 */ li r0, 0x1
/* 80133D84 0012FBC4 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80133D88 0012FBC8 48 00 07 F0 */ b lbl_80134578
.global lbl_80133D8C
lbl_80133D8C:
/* 80133D8C 0012FBCC 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133D90 0012FBD0 38 60 00 00 */ li r3, 0x0
/* 80133D94 0012FBD4 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133D98 0012FBD8 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133D9C 0012FBDC 41 82 00 14 */ beq lbl_80133DB0
/* 80133DA0 0012FBE0 38 60 00 05 */ li r3, 0x5
/* 80133DA4 0012FBE4 38 80 00 0D */ li r4, 0xd
/* 80133DA8 0012FBE8 7D 89 03 A6 */ mtctr r12
/* 80133DAC 0012FBEC 4E 80 04 21 */ bctrl
.global lbl_80133DB0
lbl_80133DB0:
/* 80133DB0 0012FBF0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133DB4 0012FBF4 40 82 07 C4 */ bne lbl_80134578
/* 80133DB8 0012FBF8 38 60 00 0D */ li r3, 0xd
/* 80133DBC 0012FBFC 4B FF 7B F5 */ bl PlaySeq__10homebuttonFi
/* 80133DC0 0012FC00 48 00 07 B8 */ b lbl_80134578
.global lbl_80133DC4
lbl_80133DC4:
/* 80133DC4 0012FC04 88 1C 00 8C */ lbz r0, 0x8c(r28)
/* 80133DC8 0012FC08 2C 00 00 00 */ cmpwi r0, 0x0
/* 80133DCC 0012FC0C 40 82 01 40 */ bne lbl_80133F0C
/* 80133DD0 0012FC10 38 00 00 01 */ li r0, 0x1
/* 80133DD4 0012FC14 98 1C 00 8C */ stb r0, 0x8c(r28)
/* 80133DD8 0012FC18 38 60 00 01 */ li r3, 0x1
/* 80133DDC 0012FC1C 4B F2 44 45 */ bl WPADEnableMotor
/* 80133DE0 0012FC20 38 00 00 25 */ li r0, 0x25
/* 80133DE4 0012FC24 38 9D 00 68 */ addi r4, r29, 0x68
/* 80133DE8 0012FC28 38 60 00 00 */ li r3, 0x0
/* 80133DEC 0012FC2C 7C 09 03 A6 */ mtctr r0
.global lbl_80133DF0
lbl_80133DF0:
/* 80133DF0 0012FC30 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80133DF4 0012FC34 2C 00 00 0E */ cmpwi r0, 0xe
/* 80133DF8 0012FC38 40 82 00 14 */ bne lbl_80133E0C
/* 80133DFC 0012FC3C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133E00 0012FC40 2C 00 00 08 */ cmpwi r0, 0x8
/* 80133E04 0012FC44 40 82 00 08 */ bne lbl_80133E0C
/* 80133E08 0012FC48 48 00 00 34 */ b lbl_80133E3C
.global lbl_80133E0C
lbl_80133E0C:
/* 80133E0C 0012FC4C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133E10 0012FC50 38 63 00 01 */ addi r3, r3, 0x1
/* 80133E14 0012FC54 2C 00 00 0E */ cmpwi r0, 0xe
/* 80133E18 0012FC58 40 82 00 14 */ bne lbl_80133E2C
/* 80133E1C 0012FC5C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133E20 0012FC60 2C 00 00 08 */ cmpwi r0, 0x8
/* 80133E24 0012FC64 40 82 00 08 */ bne lbl_80133E2C
/* 80133E28 0012FC68 48 00 00 14 */ b lbl_80133E3C
.global lbl_80133E2C
lbl_80133E2C:
/* 80133E2C 0012FC6C 38 84 00 10 */ addi r4, r4, 0x10
/* 80133E30 0012FC70 38 63 00 01 */ addi r3, r3, 0x1
/* 80133E34 0012FC74 42 00 FF BC */ bdnz lbl_80133DF0
/* 80133E38 0012FC78 38 60 FF FF */ li r3, -0x1
.global lbl_80133E3C
lbl_80133E3C:
/* 80133E3C 0012FC7C 54 60 10 3A */ slwi r0, r3, 2
/* 80133E40 0012FC80 7C 7C 02 14 */ add r3, r28, r0
/* 80133E44 0012FC84 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80133E48 0012FC88 7F 63 DB 78 */ mr r3, r27
/* 80133E4C 0012FC8C 4B FF 47 C5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133E50 0012FC90 38 00 00 25 */ li r0, 0x25
/* 80133E54 0012FC94 38 60 00 01 */ li r3, 0x1
/* 80133E58 0012FC98 90 7B 00 14 */ stw r3, 0x14(r27)
/* 80133E5C 0012FC9C 38 9D 00 68 */ addi r4, r29, 0x68
/* 80133E60 0012FCA0 38 60 00 00 */ li r3, 0x0
/* 80133E64 0012FCA4 7C 09 03 A6 */ mtctr r0
.global lbl_80133E68
lbl_80133E68:
/* 80133E68 0012FCA8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80133E6C 0012FCAC 2C 00 00 10 */ cmpwi r0, 0x10
/* 80133E70 0012FCB0 40 82 00 14 */ bne lbl_80133E84
/* 80133E74 0012FCB4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133E78 0012FCB8 2C 00 00 06 */ cmpwi r0, 0x6
/* 80133E7C 0012FCBC 40 82 00 08 */ bne lbl_80133E84
/* 80133E80 0012FCC0 48 00 00 34 */ b lbl_80133EB4
.global lbl_80133E84
lbl_80133E84:
/* 80133E84 0012FCC4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133E88 0012FCC8 38 63 00 01 */ addi r3, r3, 0x1
/* 80133E8C 0012FCCC 2C 00 00 10 */ cmpwi r0, 0x10
/* 80133E90 0012FCD0 40 82 00 14 */ bne lbl_80133EA4
/* 80133E94 0012FCD4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133E98 0012FCD8 2C 00 00 06 */ cmpwi r0, 0x6
/* 80133E9C 0012FCDC 40 82 00 08 */ bne lbl_80133EA4
/* 80133EA0 0012FCE0 48 00 00 14 */ b lbl_80133EB4
.global lbl_80133EA4
lbl_80133EA4:
/* 80133EA4 0012FCE4 38 84 00 10 */ addi r4, r4, 0x10
/* 80133EA8 0012FCE8 38 63 00 01 */ addi r3, r3, 0x1
/* 80133EAC 0012FCEC 42 00 FF BC */ bdnz lbl_80133E68
/* 80133EB0 0012FCF0 38 60 FF FF */ li r3, -0x1
.global lbl_80133EB4
lbl_80133EB4:
/* 80133EB4 0012FCF4 54 60 10 3A */ slwi r0, r3, 2
/* 80133EB8 0012FCF8 90 7C 00 18 */ stw r3, 0x18(r28)
/* 80133EBC 0012FCFC 7C 7C 02 14 */ add r3, r28, r0
/* 80133EC0 0012FD00 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80133EC4 0012FD04 7F 63 DB 78 */ mr r3, r27
/* 80133EC8 0012FD08 4B FF 47 49 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133ECC 0012FD0C 38 00 00 01 */ li r0, 0x1
/* 80133ED0 0012FD10 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80133ED4 0012FD14 38 60 00 00 */ li r3, 0x0
/* 80133ED8 0012FD18 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133EDC 0012FD1C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133EE0 0012FD20 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133EE4 0012FD24 41 82 00 14 */ beq lbl_80133EF8
/* 80133EE8 0012FD28 38 60 00 05 */ li r3, 0x5
/* 80133EEC 0012FD2C 38 80 00 0E */ li r4, 0xe
/* 80133EF0 0012FD30 7D 89 03 A6 */ mtctr r12
/* 80133EF4 0012FD34 4E 80 04 21 */ bctrl
.global lbl_80133EF8
lbl_80133EF8:
/* 80133EF8 0012FD38 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133EFC 0012FD3C 40 82 00 C4 */ bne lbl_80133FC0
/* 80133F00 0012FD40 38 60 00 0E */ li r3, 0xe
/* 80133F04 0012FD44 4B FF 7A AD */ bl PlaySeq__10homebuttonFi
/* 80133F08 0012FD48 48 00 00 B8 */ b lbl_80133FC0
.global lbl_80133F0C
lbl_80133F0C:
/* 80133F0C 0012FD4C 38 00 00 25 */ li r0, 0x25
/* 80133F10 0012FD50 38 9D 00 68 */ addi r4, r29, 0x68
/* 80133F14 0012FD54 38 60 00 00 */ li r3, 0x0
/* 80133F18 0012FD58 7C 09 03 A6 */ mtctr r0
/* 80133F1C 0012FD5C 60 00 00 00 */ nop
.global lbl_80133F20
lbl_80133F20:
/* 80133F20 0012FD60 80 04 00 00 */ lwz r0, 0x0(r4)
/* 80133F24 0012FD64 2C 00 00 10 */ cmpwi r0, 0x10
/* 80133F28 0012FD68 40 82 00 14 */ bne lbl_80133F3C
/* 80133F2C 0012FD6C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80133F30 0012FD70 2C 00 00 0E */ cmpwi r0, 0xe
/* 80133F34 0012FD74 40 82 00 08 */ bne lbl_80133F3C
/* 80133F38 0012FD78 48 00 00 34 */ b lbl_80133F6C
.global lbl_80133F3C
lbl_80133F3C:
/* 80133F3C 0012FD7C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80133F40 0012FD80 38 63 00 01 */ addi r3, r3, 0x1
/* 80133F44 0012FD84 2C 00 00 10 */ cmpwi r0, 0x10
/* 80133F48 0012FD88 40 82 00 14 */ bne lbl_80133F5C
/* 80133F4C 0012FD8C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80133F50 0012FD90 2C 00 00 0E */ cmpwi r0, 0xe
/* 80133F54 0012FD94 40 82 00 08 */ bne lbl_80133F5C
/* 80133F58 0012FD98 48 00 00 14 */ b lbl_80133F6C
.global lbl_80133F5C
lbl_80133F5C:
/* 80133F5C 0012FD9C 38 84 00 10 */ addi r4, r4, 0x10
/* 80133F60 0012FDA0 38 63 00 01 */ addi r3, r3, 0x1
/* 80133F64 0012FDA4 42 00 FF BC */ bdnz lbl_80133F20
/* 80133F68 0012FDA8 38 60 FF FF */ li r3, -0x1
.global lbl_80133F6C
lbl_80133F6C:
/* 80133F6C 0012FDAC 54 60 10 3A */ slwi r0, r3, 2
/* 80133F70 0012FDB0 90 7C 00 18 */ stw r3, 0x18(r28)
/* 80133F74 0012FDB4 7C 7C 02 14 */ add r3, r28, r0
/* 80133F78 0012FDB8 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80133F7C 0012FDBC 7F 63 DB 78 */ mr r3, r27
/* 80133F80 0012FDC0 4B FF 46 91 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80133F84 0012FDC4 38 00 00 01 */ li r0, 0x1
/* 80133F88 0012FDC8 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80133F8C 0012FDCC 38 60 00 00 */ li r3, 0x0
/* 80133F90 0012FDD0 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80133F94 0012FDD4 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80133F98 0012FDD8 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80133F9C 0012FDDC 41 82 00 14 */ beq lbl_80133FB0
/* 80133FA0 0012FDE0 38 60 00 05 */ li r3, 0x5
/* 80133FA4 0012FDE4 38 80 00 0D */ li r4, 0xd
/* 80133FA8 0012FDE8 7D 89 03 A6 */ mtctr r12
/* 80133FAC 0012FDEC 4E 80 04 21 */ bctrl
.global lbl_80133FB0
lbl_80133FB0:
/* 80133FB0 0012FDF0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80133FB4 0012FDF4 40 82 00 0C */ bne lbl_80133FC0
/* 80133FB8 0012FDF8 38 60 00 0D */ li r3, 0xd
/* 80133FBC 0012FDFC 4B FF 79 F5 */ bl PlaySeq__10homebuttonFi
.global lbl_80133FC0
lbl_80133FC0:
/* 80133FC0 0012FE00 C3 FD 02 E4 */ lfs f31, 0x2e4(r29)
/* 80133FC4 0012FE04 7F 9B E3 78 */ mr r27, r28
/* 80133FC8 0012FE08 3B A0 00 00 */ li r29, 0x0
.global lbl_80133FCC
lbl_80133FCC:
/* 80133FCC 0012FE0C 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80133FD0 0012FE10 4B FF 6A A1 */ bl startMotor__Q210homebutton10ControllerFv
/* 80133FD4 0012FE14 3B BD 00 01 */ addi r29, r29, 0x1
/* 80133FD8 0012FE18 D3 FB 01 B0 */ stfs f31, 0x1b0(r27)
/* 80133FDC 0012FE1C 2C 1D 00 04 */ cmpwi r29, 0x4
/* 80133FE0 0012FE20 D3 FB 01 C0 */ stfs f31, 0x1c0(r27)
/* 80133FE4 0012FE24 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80133FE8 0012FE28 41 80 FF E4 */ blt lbl_80133FCC
/* 80133FEC 0012FE2C 38 00 00 09 */ li r0, 0x9
/* 80133FF0 0012FE30 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80133FF4 0012FE34 48 00 05 84 */ b lbl_80134578
.global lbl_80133FF8
lbl_80133FF8:
/* 80133FF8 0012FE38 88 1C 00 8C */ lbz r0, 0x8c(r28)
/* 80133FFC 0012FE3C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80134000 0012FE40 41 82 01 44 */ beq lbl_80134144
/* 80134004 0012FE44 38 00 00 00 */ li r0, 0x0
/* 80134008 0012FE48 98 1C 00 8C */ stb r0, 0x8c(r28)
/* 8013400C 0012FE4C 38 60 00 00 */ li r3, 0x0
/* 80134010 0012FE50 4B F2 42 11 */ bl WPADEnableMotor
/* 80134014 0012FE54 38 00 00 25 */ li r0, 0x25
/* 80134018 0012FE58 38 9D 00 68 */ addi r4, r29, 0x68
/* 8013401C 0012FE5C 38 60 00 00 */ li r3, 0x0
/* 80134020 0012FE60 7C 09 03 A6 */ mtctr r0
/* 80134024 0012FE64 60 00 00 00 */ nop
.global lbl_80134028
lbl_80134028:
/* 80134028 0012FE68 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013402C 0012FE6C 2C 00 00 0E */ cmpwi r0, 0xe
/* 80134030 0012FE70 40 82 00 14 */ bne lbl_80134044
/* 80134034 0012FE74 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80134038 0012FE78 2C 00 00 06 */ cmpwi r0, 0x6
/* 8013403C 0012FE7C 40 82 00 08 */ bne lbl_80134044
/* 80134040 0012FE80 48 00 00 34 */ b lbl_80134074
.global lbl_80134044
lbl_80134044:
/* 80134044 0012FE84 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80134048 0012FE88 38 63 00 01 */ addi r3, r3, 0x1
/* 8013404C 0012FE8C 2C 00 00 0E */ cmpwi r0, 0xe
/* 80134050 0012FE90 40 82 00 14 */ bne lbl_80134064
/* 80134054 0012FE94 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80134058 0012FE98 2C 00 00 06 */ cmpwi r0, 0x6
/* 8013405C 0012FE9C 40 82 00 08 */ bne lbl_80134064
/* 80134060 0012FEA0 48 00 00 14 */ b lbl_80134074
.global lbl_80134064
lbl_80134064:
/* 80134064 0012FEA4 38 84 00 10 */ addi r4, r4, 0x10
/* 80134068 0012FEA8 38 63 00 01 */ addi r3, r3, 0x1
/* 8013406C 0012FEAC 42 00 FF BC */ bdnz lbl_80134028
/* 80134070 0012FEB0 38 60 FF FF */ li r3, -0x1
.global lbl_80134074
lbl_80134074:
/* 80134074 0012FEB4 54 60 10 3A */ slwi r0, r3, 2
/* 80134078 0012FEB8 7C 7C 02 14 */ add r3, r28, r0
/* 8013407C 0012FEBC 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80134080 0012FEC0 7F 63 DB 78 */ mr r3, r27
/* 80134084 0012FEC4 4B FF 45 8D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80134088 0012FEC8 38 00 00 25 */ li r0, 0x25
/* 8013408C 0012FECC 38 60 00 01 */ li r3, 0x1
/* 80134090 0012FED0 90 7B 00 14 */ stw r3, 0x14(r27)
/* 80134094 0012FED4 38 9D 00 68 */ addi r4, r29, 0x68
/* 80134098 0012FED8 38 60 00 00 */ li r3, 0x0
/* 8013409C 0012FEDC 7C 09 03 A6 */ mtctr r0
.global lbl_801340A0
lbl_801340A0:
/* 801340A0 0012FEE0 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801340A4 0012FEE4 2C 00 00 0D */ cmpwi r0, 0xd
/* 801340A8 0012FEE8 40 82 00 14 */ bne lbl_801340BC
/* 801340AC 0012FEEC 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801340B0 0012FEF0 2C 00 00 08 */ cmpwi r0, 0x8
/* 801340B4 0012FEF4 40 82 00 08 */ bne lbl_801340BC
/* 801340B8 0012FEF8 48 00 00 34 */ b lbl_801340EC
.global lbl_801340BC
lbl_801340BC:
/* 801340BC 0012FEFC 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801340C0 0012FF00 38 63 00 01 */ addi r3, r3, 0x1
/* 801340C4 0012FF04 2C 00 00 0D */ cmpwi r0, 0xd
/* 801340C8 0012FF08 40 82 00 14 */ bne lbl_801340DC
/* 801340CC 0012FF0C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801340D0 0012FF10 2C 00 00 08 */ cmpwi r0, 0x8
/* 801340D4 0012FF14 40 82 00 08 */ bne lbl_801340DC
/* 801340D8 0012FF18 48 00 00 14 */ b lbl_801340EC
.global lbl_801340DC
lbl_801340DC:
/* 801340DC 0012FF1C 38 84 00 10 */ addi r4, r4, 0x10
/* 801340E0 0012FF20 38 63 00 01 */ addi r3, r3, 0x1
/* 801340E4 0012FF24 42 00 FF BC */ bdnz lbl_801340A0
/* 801340E8 0012FF28 38 60 FF FF */ li r3, -0x1
.global lbl_801340EC
lbl_801340EC:
/* 801340EC 0012FF2C 54 60 10 3A */ slwi r0, r3, 2
/* 801340F0 0012FF30 90 7C 00 18 */ stw r3, 0x18(r28)
/* 801340F4 0012FF34 7C 7C 02 14 */ add r3, r28, r0
/* 801340F8 0012FF38 83 63 02 90 */ lwz r27, 0x290(r3)
/* 801340FC 0012FF3C 7F 63 DB 78 */ mr r3, r27
/* 80134100 0012FF40 4B FF 45 11 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80134104 0012FF44 38 00 00 01 */ li r0, 0x1
/* 80134108 0012FF48 90 1B 00 14 */ stw r0, 0x14(r27)
/* 8013410C 0012FF4C 38 60 00 00 */ li r3, 0x0
/* 80134110 0012FF50 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80134114 0012FF54 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80134118 0012FF58 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013411C 0012FF5C 41 82 00 14 */ beq lbl_80134130
/* 80134120 0012FF60 38 60 00 05 */ li r3, 0x5
/* 80134124 0012FF64 38 80 00 0F */ li r4, 0xf
/* 80134128 0012FF68 7D 89 03 A6 */ mtctr r12
/* 8013412C 0012FF6C 4E 80 04 21 */ bctrl
.global lbl_80134130
lbl_80134130:
/* 80134130 0012FF70 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134134 0012FF74 40 82 00 44 */ bne lbl_80134178
/* 80134138 0012FF78 38 60 00 0F */ li r3, 0xf
/* 8013413C 0012FF7C 4B FF 78 75 */ bl PlaySeq__10homebuttonFi
/* 80134140 0012FF80 48 00 00 38 */ b lbl_80134178
.global lbl_80134144
lbl_80134144:
/* 80134144 0012FF84 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80134148 0012FF88 38 60 00 00 */ li r3, 0x0
/* 8013414C 0012FF8C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80134150 0012FF90 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80134154 0012FF94 41 82 00 14 */ beq lbl_80134168
/* 80134158 0012FF98 38 60 00 05 */ li r3, 0x5
/* 8013415C 0012FF9C 38 80 00 0D */ li r4, 0xd
/* 80134160 0012FFA0 7D 89 03 A6 */ mtctr r12
/* 80134164 0012FFA4 4E 80 04 21 */ bctrl
.global lbl_80134168
lbl_80134168:
/* 80134168 0012FFA8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013416C 0012FFAC 40 82 00 0C */ bne lbl_80134178
/* 80134170 0012FFB0 38 60 00 0D */ li r3, 0xd
/* 80134174 0012FFB4 4B FF 78 3D */ bl PlaySeq__10homebuttonFi
.global lbl_80134178
lbl_80134178:
/* 80134178 0012FFB8 38 00 00 09 */ li r0, 0x9
/* 8013417C 0012FFBC 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80134180 0012FFC0 48 00 03 F8 */ b lbl_80134578
.global lbl_80134184
lbl_80134184:
/* 80134184 0012FFC4 38 00 00 25 */ li r0, 0x25
/* 80134188 0012FFC8 38 9D 00 68 */ addi r4, r29, 0x68
/* 8013418C 0012FFCC 38 60 00 00 */ li r3, 0x0
/* 80134190 0012FFD0 7C 09 03 A6 */ mtctr r0
/* 80134194 0012FFD4 60 00 00 00 */ nop
.global lbl_80134198
lbl_80134198:
/* 80134198 0012FFD8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013419C 0012FFDC 2C 00 00 0F */ cmpwi r0, 0xf
/* 801341A0 0012FFE0 40 82 00 14 */ bne lbl_801341B4
/* 801341A4 0012FFE4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801341A8 0012FFE8 2C 00 00 05 */ cmpwi r0, 0x5
/* 801341AC 0012FFEC 40 82 00 08 */ bne lbl_801341B4
/* 801341B0 0012FFF0 48 00 00 34 */ b lbl_801341E4
.global lbl_801341B4
lbl_801341B4:
/* 801341B4 0012FFF4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801341B8 0012FFF8 38 63 00 01 */ addi r3, r3, 0x1
/* 801341BC 0012FFFC 2C 00 00 0F */ cmpwi r0, 0xf
/* 801341C0 00130000 40 82 00 14 */ bne lbl_801341D4
/* 801341C4 00130004 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801341C8 00130008 2C 00 00 05 */ cmpwi r0, 0x5
/* 801341CC 0013000C 40 82 00 08 */ bne lbl_801341D4
/* 801341D0 00130010 48 00 00 14 */ b lbl_801341E4
.global lbl_801341D4
lbl_801341D4:
/* 801341D4 00130014 38 84 00 10 */ addi r4, r4, 0x10
/* 801341D8 00130018 38 63 00 01 */ addi r3, r3, 0x1
/* 801341DC 0013001C 42 00 FF BC */ bdnz lbl_80134198
/* 801341E0 00130020 38 60 FF FF */ li r3, -0x1
.global lbl_801341E4
lbl_801341E4:
/* 801341E4 00130024 54 60 10 3A */ slwi r0, r3, 2
/* 801341E8 00130028 90 7C 00 18 */ stw r3, 0x18(r28)
/* 801341EC 0013002C 7C 7C 02 14 */ add r3, r28, r0
/* 801341F0 00130030 83 63 02 90 */ lwz r27, 0x290(r3)
/* 801341F4 00130034 7F 63 DB 78 */ mr r3, r27
/* 801341F8 00130038 4B FF 44 19 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801341FC 0013003C 38 60 00 01 */ li r3, 0x1
/* 80134200 00130040 90 7B 00 14 */ stw r3, 0x14(r27)
/* 80134204 00130044 38 00 00 03 */ li r0, 0x3
/* 80134208 00130048 C3 FD 02 E4 */ lfs f31, 0x2e4(r29)
/* 8013420C 0013004C 90 1C 00 14 */ stw r0, 0x14(r28)
/* 80134210 00130050 7F 9B E3 78 */ mr r27, r28
/* 80134214 00130054 3B 40 00 00 */ li r26, 0x0
/* 80134218 00130058 3B E0 00 00 */ li r31, 0x0
/* 8013421C 0013005C 98 7C 00 90 */ stb r3, 0x90(r28)
.global lbl_80134220
lbl_80134220:
/* 80134220 00130060 D3 FB 01 B0 */ stfs f31, 0x1b0(r27)
/* 80134224 00130064 D3 FB 01 C0 */ stfs f31, 0x1c0(r27)
/* 80134228 00130068 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 8013422C 0013006C 4B FF 68 B5 */ bl stopMotor__Q210homebutton10ControllerFv
/* 80134230 00130070 80 7B 02 4C */ lwz r3, 0x24c(r27)
/* 80134234 00130074 3B 5A 00 01 */ addi r26, r26, 0x1
/* 80134238 00130078 2C 1A 00 04 */ cmpwi r26, 0x4
/* 8013423C 0013007C 3B 7B 00 04 */ addi r27, r27, 0x4
/* 80134240 00130080 9B E3 00 44 */ stb r31, 0x44(r3)
/* 80134244 00130084 41 80 FF DC */ blt lbl_80134220
/* 80134248 00130088 3C 60 80 54 */ lis r3, spHomeButtonObj__Q210homebutton10HomeButton@ha
/* 8013424C 0013008C C0 3D 03 00 */ lfs f1, 0x300(r29)
/* 80134250 00130090 80 83 36 C0 */ lwz r4, spHomeButtonObj__Q210homebutton10HomeButton@l(r3)
/* 80134254 00130094 38 A0 00 01 */ li r5, 0x1
/* 80134258 00130098 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 8013425C 0013009C 80 84 00 04 */ lwz r4, 0x4(r4)
/* 80134260 001300A0 C0 04 00 30 */ lfs f0, 0x30(r4)
/* 80134264 001300A4 EC 01 00 24 */ fdivs f0, f1, f0
/* 80134268 001300A8 FC 00 00 1E */ fctiwz f0, f0
/* 8013426C 001300AC D8 01 00 18 */ stfd f0, 0x18(r1)
/* 80134270 001300B0 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80134274 001300B4 90 1C 01 D0 */ stw r0, 0x1d0(r28)
/* 80134278 001300B8 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8013427C 001300BC 80 9E 09 E4 */ lwz r4, 0x9e4(r30)
/* 80134280 001300C0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80134284 001300C4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80134288 001300C8 7D 89 03 A6 */ mtctr r12
/* 8013428C 001300CC 4E 80 04 21 */ bctrl
/* 80134290 001300D0 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 80134294 001300D4 38 9E 09 E4 */ addi r4, r30, 0x9e4
/* 80134298 001300D8 38 A0 00 01 */ li r5, 0x1
/* 8013429C 001300DC 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 801342A0 001300E0 60 00 00 01 */ ori r0, r0, 0x1
/* 801342A4 001300E4 98 03 00 CF */ stb r0, 0xcf(r3)
/* 801342A8 001300E8 80 7C 01 D8 */ lwz r3, 0x1d8(r28)
/* 801342AC 001300EC 80 84 00 04 */ lwz r4, 0x4(r4)
/* 801342B0 001300F0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 801342B4 001300F4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801342B8 001300F8 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 801342BC 001300FC 7D 89 03 A6 */ mtctr r12
/* 801342C0 00130100 4E 80 04 21 */ bctrl
/* 801342C4 00130104 88 03 00 CF */ lbz r0, 0xcf(r3)
/* 801342C8 00130108 38 80 00 00 */ li r4, 0x0
/* 801342CC 0013010C 54 00 06 3C */ rlwinm r0, r0, 0, 24, 30
/* 801342D0 00130110 60 00 00 01 */ ori r0, r0, 0x1
/* 801342D4 00130114 98 03 00 CF */ stb r0, 0xcf(r3)
/* 801342D8 00130118 80 7C 00 04 */ lwz r3, 0x4(r28)
/* 801342DC 0013011C 81 83 00 14 */ lwz r12, 0x14(r3)
/* 801342E0 00130120 2C 0C 00 00 */ cmpwi r12, 0x0
/* 801342E4 00130124 41 82 00 18 */ beq lbl_801342FC
/* 801342E8 00130128 38 60 00 05 */ li r3, 0x5
/* 801342EC 0013012C 38 80 00 05 */ li r4, 0x5
/* 801342F0 00130130 7D 89 03 A6 */ mtctr r12
/* 801342F4 00130134 4E 80 04 21 */ bctrl
/* 801342F8 00130138 7C 64 1B 78 */ mr r4, r3
.global lbl_801342FC
lbl_801342FC:
/* 801342FC 0013013C 2C 04 00 00 */ cmpwi r4, 0x0
/* 80134300 00130140 40 82 00 0C */ bne lbl_8013430C
/* 80134304 00130144 38 60 00 05 */ li r3, 0x5
/* 80134308 00130148 4B FF 76 A9 */ bl PlaySeq__10homebuttonFi
.global lbl_8013430C
lbl_8013430C:
/* 8013430C 0013014C 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80134310 00130150 38 60 00 00 */ li r3, 0x0
/* 80134314 00130154 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80134318 00130158 2C 0C 00 00 */ cmpwi r12, 0x0
/* 8013431C 0013015C 41 82 00 14 */ beq lbl_80134330
/* 80134320 00130160 38 60 00 05 */ li r3, 0x5
/* 80134324 00130164 38 80 00 10 */ li r4, 0x10
/* 80134328 00130168 7D 89 03 A6 */ mtctr r12
/* 8013432C 0013016C 4E 80 04 21 */ bctrl
.global lbl_80134330
lbl_80134330:
/* 80134330 00130170 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134334 00130174 40 82 02 44 */ bne lbl_80134578
/* 80134338 00130178 38 60 00 10 */ li r3, 0x10
/* 8013433C 0013017C 4B FF 76 75 */ bl PlaySeq__10homebuttonFi
/* 80134340 00130180 48 00 02 38 */ b lbl_80134578
.global lbl_80134344
lbl_80134344:
/* 80134344 00130184 38 00 00 25 */ li r0, 0x25
/* 80134348 00130188 38 9D 00 68 */ addi r4, r29, 0x68
/* 8013434C 0013018C 38 60 00 00 */ li r3, 0x0
/* 80134350 00130190 7C 09 03 A6 */ mtctr r0
/* 80134354 00130194 60 00 00 00 */ nop
.global lbl_80134358
lbl_80134358:
/* 80134358 00130198 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013435C 0013019C 2C 00 00 13 */ cmpwi r0, 0x13
/* 80134360 001301A0 40 82 00 14 */ bne lbl_80134374
/* 80134364 001301A4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80134368 001301A8 2C 00 00 0D */ cmpwi r0, 0xd
/* 8013436C 001301AC 40 82 00 08 */ bne lbl_80134374
/* 80134370 001301B0 48 00 00 34 */ b lbl_801343A4
.global lbl_80134374
lbl_80134374:
/* 80134374 001301B4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80134378 001301B8 38 63 00 01 */ addi r3, r3, 0x1
/* 8013437C 001301BC 2C 00 00 13 */ cmpwi r0, 0x13
/* 80134380 001301C0 40 82 00 14 */ bne lbl_80134394
/* 80134384 001301C4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80134388 001301C8 2C 00 00 0D */ cmpwi r0, 0xd
/* 8013438C 001301CC 40 82 00 08 */ bne lbl_80134394
/* 80134390 001301D0 48 00 00 14 */ b lbl_801343A4
.global lbl_80134394
lbl_80134394:
/* 80134394 001301D4 38 84 00 10 */ addi r4, r4, 0x10
/* 80134398 001301D8 38 63 00 01 */ addi r3, r3, 0x1
/* 8013439C 001301DC 42 00 FF BC */ bdnz lbl_80134358
/* 801343A0 001301E0 38 60 FF FF */ li r3, -0x1
.global lbl_801343A4
lbl_801343A4:
/* 801343A4 001301E4 54 60 10 3A */ slwi r0, r3, 2
/* 801343A8 001301E8 90 7C 00 18 */ stw r3, 0x18(r28)
/* 801343AC 001301EC 7C 7C 02 14 */ add r3, r28, r0
/* 801343B0 001301F0 83 63 02 90 */ lwz r27, 0x290(r3)
/* 801343B4 001301F4 7F 63 DB 78 */ mr r3, r27
/* 801343B8 001301F8 4B FF 42 59 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801343BC 001301FC 38 00 00 01 */ li r0, 0x1
/* 801343C0 00130200 90 1B 00 14 */ stw r0, 0x14(r27)
/* 801343C4 00130204 38 60 00 0D */ li r3, 0xd
/* 801343C8 00130208 80 9C 00 B8 */ lwz r4, 0xb8(r28)
/* 801343CC 0013020C 38 00 00 00 */ li r0, 0x0
/* 801343D0 00130210 90 7C 00 14 */ stw r3, 0x14(r28)
/* 801343D4 00130214 2C 04 00 01 */ cmpwi r4, 0x1
/* 801343D8 00130218 90 1C 00 00 */ stw r0, 0x0(r28)
/* 801343DC 0013021C 40 82 00 44 */ bne lbl_80134420
/* 801343E0 00130220 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 801343E4 00130224 38 60 00 00 */ li r3, 0x0
/* 801343E8 00130228 81 84 00 14 */ lwz r12, 0x14(r4)
/* 801343EC 0013022C 2C 0C 00 00 */ cmpwi r12, 0x0
/* 801343F0 00130230 41 82 00 14 */ beq lbl_80134404
/* 801343F4 00130234 38 60 00 05 */ li r3, 0x5
/* 801343F8 00130238 38 80 00 02 */ li r4, 0x2
/* 801343FC 0013023C 7D 89 03 A6 */ mtctr r12
/* 80134400 00130240 4E 80 04 21 */ bctrl
.global lbl_80134404
lbl_80134404:
/* 80134404 00130244 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134408 00130248 40 82 00 0C */ bne lbl_80134414
/* 8013440C 0013024C 38 60 00 02 */ li r3, 0x2
/* 80134410 00130250 4B FF 75 A1 */ bl PlaySeq__10homebuttonFi
.global lbl_80134414
lbl_80134414:
/* 80134414 00130254 38 00 00 00 */ li r0, 0x0
/* 80134418 00130258 98 1C 04 00 */ stb r0, 0x400(r28)
/* 8013441C 0013025C 48 00 01 5C */ b lbl_80134578
.global lbl_80134420
lbl_80134420:
/* 80134420 00130260 2C 04 00 02 */ cmpwi r4, 0x2
/* 80134424 00130264 40 82 00 44 */ bne lbl_80134468
/* 80134428 00130268 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 8013442C 0013026C 38 60 00 00 */ li r3, 0x0
/* 80134430 00130270 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80134434 00130274 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80134438 00130278 41 82 00 14 */ beq lbl_8013444C
/* 8013443C 0013027C 38 60 00 05 */ li r3, 0x5
/* 80134440 00130280 38 80 00 03 */ li r4, 0x3
/* 80134444 00130284 7D 89 03 A6 */ mtctr r12
/* 80134448 00130288 4E 80 04 21 */ bctrl
.global lbl_8013444C
lbl_8013444C:
/* 8013444C 0013028C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134450 00130290 40 82 00 0C */ bne lbl_8013445C
/* 80134454 00130294 38 60 00 03 */ li r3, 0x3
/* 80134458 00130298 4B FF 75 59 */ bl PlaySeq__10homebuttonFi
.global lbl_8013445C
lbl_8013445C:
/* 8013445C 0013029C 38 00 00 01 */ li r0, 0x1
/* 80134460 001302A0 98 1C 04 00 */ stb r0, 0x400(r28)
/* 80134464 001302A4 48 00 01 14 */ b lbl_80134578
.global lbl_80134468
lbl_80134468:
/* 80134468 001302A8 2C 04 00 04 */ cmpwi r4, 0x4
/* 8013446C 001302AC 40 82 01 0C */ bne lbl_80134578
/* 80134470 001302B0 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80134474 001302B4 38 60 00 00 */ li r3, 0x0
/* 80134478 001302B8 81 84 00 14 */ lwz r12, 0x14(r4)
/* 8013447C 001302BC 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80134480 001302C0 41 82 00 14 */ beq lbl_80134494
/* 80134484 001302C4 38 60 00 05 */ li r3, 0x5
/* 80134488 001302C8 38 80 00 03 */ li r4, 0x3
/* 8013448C 001302CC 7D 89 03 A6 */ mtctr r12
/* 80134490 001302D0 4E 80 04 21 */ bctrl
.global lbl_80134494
lbl_80134494:
/* 80134494 001302D4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134498 001302D8 40 82 00 0C */ bne lbl_801344A4
/* 8013449C 001302DC 38 60 00 03 */ li r3, 0x3
/* 801344A0 001302E0 4B FF 75 11 */ bl PlaySeq__10homebuttonFi
.global lbl_801344A4
lbl_801344A4:
/* 801344A4 001302E4 38 00 00 00 */ li r0, 0x0
/* 801344A8 001302E8 98 1C 04 00 */ stb r0, 0x400(r28)
/* 801344AC 001302EC 48 00 00 CC */ b lbl_80134578
.global lbl_801344B0
lbl_801344B0:
/* 801344B0 001302F0 38 00 00 25 */ li r0, 0x25
/* 801344B4 001302F4 38 9D 00 68 */ addi r4, r29, 0x68
/* 801344B8 001302F8 38 60 00 00 */ li r3, 0x0
/* 801344BC 001302FC 7C 09 03 A6 */ mtctr r0
.global lbl_801344C0
lbl_801344C0:
/* 801344C0 00130300 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801344C4 00130304 2C 00 00 14 */ cmpwi r0, 0x14
/* 801344C8 00130308 40 82 00 14 */ bne lbl_801344DC
/* 801344CC 0013030C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801344D0 00130310 2C 00 00 0D */ cmpwi r0, 0xd
/* 801344D4 00130314 40 82 00 08 */ bne lbl_801344DC
/* 801344D8 00130318 48 00 00 34 */ b lbl_8013450C
.global lbl_801344DC
lbl_801344DC:
/* 801344DC 0013031C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 801344E0 00130320 38 63 00 01 */ addi r3, r3, 0x1
/* 801344E4 00130324 2C 00 00 14 */ cmpwi r0, 0x14
/* 801344E8 00130328 40 82 00 14 */ bne lbl_801344FC
/* 801344EC 0013032C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801344F0 00130330 2C 00 00 0D */ cmpwi r0, 0xd
/* 801344F4 00130334 40 82 00 08 */ bne lbl_801344FC
/* 801344F8 00130338 48 00 00 14 */ b lbl_8013450C
.global lbl_801344FC
lbl_801344FC:
/* 801344FC 0013033C 38 84 00 10 */ addi r4, r4, 0x10
/* 80134500 00130340 38 63 00 01 */ addi r3, r3, 0x1
/* 80134504 00130344 42 00 FF BC */ bdnz lbl_801344C0
/* 80134508 00130348 38 60 FF FF */ li r3, -0x1
.global lbl_8013450C
lbl_8013450C:
/* 8013450C 0013034C 54 60 10 3A */ slwi r0, r3, 2
/* 80134510 00130350 90 7C 00 18 */ stw r3, 0x18(r28)
/* 80134514 00130354 7C 7C 02 14 */ add r3, r28, r0
/* 80134518 00130358 83 63 02 90 */ lwz r27, 0x290(r3)
/* 8013451C 0013035C 7F 63 DB 78 */ mr r3, r27
/* 80134520 00130360 4B FF 40 F1 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80134524 00130364 38 00 00 01 */ li r0, 0x1
/* 80134528 00130368 90 1B 00 14 */ stw r0, 0x14(r27)
/* 8013452C 0013036C 38 60 00 0D */ li r3, 0xd
/* 80134530 00130370 38 A0 FF FF */ li r5, -0x1
/* 80134534 00130374 38 00 00 00 */ li r0, 0x0
/* 80134538 00130378 90 7C 00 14 */ stw r3, 0x14(r28)
/* 8013453C 0013037C 80 9C 00 04 */ lwz r4, 0x4(r28)
/* 80134540 00130380 38 60 00 00 */ li r3, 0x0
/* 80134544 00130384 90 BC 00 B8 */ stw r5, 0xb8(r28)
/* 80134548 00130388 90 1C 00 00 */ stw r0, 0x0(r28)
/* 8013454C 0013038C 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80134550 00130390 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80134554 00130394 41 82 00 14 */ beq lbl_80134568
/* 80134558 00130398 38 60 00 05 */ li r3, 0x5
/* 8013455C 0013039C 38 80 00 06 */ li r4, 0x6
/* 80134560 001303A0 7D 89 03 A6 */ mtctr r12
/* 80134564 001303A4 4E 80 04 21 */ bctrl
.global lbl_80134568
lbl_80134568:
/* 80134568 001303A8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013456C 001303AC 40 82 00 0C */ bne lbl_80134578
/* 80134570 001303B0 38 60 00 06 */ li r3, 0x6
/* 80134574 001303B4 4B FF 74 3D */ bl PlaySeq__10homebuttonFi
.global lbl_80134578
lbl_80134578:
/* 80134578 001303B8 39 61 00 40 */ addi r11, r1, 0x40
/* 8013457C 001303BC E3 E1 00 58 */ psq_l f31, 0x58(r1), 0, qr0
/* 80134580 001303C0 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 80134584 001303C4 E3 C1 00 48 */ psq_l f30, 0x48(r1), 0, qr0
/* 80134588 001303C8 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 8013458C 001303CC 4B ED 2D F9 */ bl lbl_80007384
/* 80134590 001303D0 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80134594 001303D4 7C 08 03 A6 */ mtlr r0
/* 80134598 001303D8 38 21 00 60 */ addi r1, r1, 0x60
/* 8013459C 001303DC 4E 80 00 20 */ blr
.global reset_btn__Q210homebutton10HomeButtonFv
reset_btn__Q210homebutton10HomeButtonFv:
/* 801345A0 001303E0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801345A4 001303E4 7C 08 02 A6 */ mflr r0
/* 801345A8 001303E8 90 01 00 34 */ stw r0, 0x34(r1)
/* 801345AC 001303EC 39 61 00 30 */ addi r11, r1, 0x30
/* 801345B0 001303F0 4B ED 2D 85 */ bl lbl_80007334
/* 801345B4 001303F4 7C 7F 1B 78 */ mr r31, r3
/* 801345B8 001303F8 3B 20 00 00 */ li r25, 0x0
/* 801345BC 001303FC 7F FA FB 78 */ mr r26, r31
/* 801345C0 00130400 3F 80 80 41 */ lis r28, scAnmTable__10homebutton@ha
/* 801345C4 00130404 3B A0 00 01 */ li r29, 0x1
/* 801345C8 00130408 3B C0 00 00 */ li r30, 0x0
/* 801345CC 0013040C 48 00 00 7C */ b lbl_80134648
.global lbl_801345D0
lbl_801345D0:
/* 801345D0 00130410 80 1A 00 20 */ lwz r0, 0x20(r26)
/* 801345D4 00130414 2C 00 00 00 */ cmpwi r0, 0x0
/* 801345D8 00130418 41 82 00 68 */ beq lbl_80134640
/* 801345DC 0013041C 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 801345E0 00130420 38 9C DE 48 */ addi r4, r28, scAnmTable__10homebutton@l
/* 801345E4 00130424 38 60 00 00 */ li r3, 0x0
/* 801345E8 00130428 7C 09 03 A6 */ mtctr r0
/* 801345EC 0013042C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801345F0 00130430 40 81 00 30 */ ble lbl_80134620
/* 801345F4 00130434 60 00 00 00 */ nop
.global lbl_801345F8
lbl_801345F8:
/* 801345F8 00130438 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801345FC 0013043C 7C 19 00 00 */ cmpw r25, r0
/* 80134600 00130440 40 82 00 14 */ bne lbl_80134614
/* 80134604 00130444 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80134608 00130448 2C 00 00 02 */ cmpwi r0, 0x2
/* 8013460C 0013044C 40 82 00 08 */ bne lbl_80134614
/* 80134610 00130450 48 00 00 14 */ b lbl_80134624
.global lbl_80134614
lbl_80134614:
/* 80134614 00130454 38 84 00 08 */ addi r4, r4, 0x8
/* 80134618 00130458 38 63 00 01 */ addi r3, r3, 0x1
/* 8013461C 0013045C 42 00 FF DC */ bdnz lbl_801345F8
.global lbl_80134620
lbl_80134620:
/* 80134620 00130460 38 60 FF FF */ li r3, -0x1
.global lbl_80134624
lbl_80134624:
/* 80134624 00130464 54 60 10 3A */ slwi r0, r3, 2
/* 80134628 00130468 7C 7F 02 14 */ add r3, r31, r0
/* 8013462C 0013046C 83 63 02 60 */ lwz r27, 0x260(r3)
/* 80134630 00130470 7F 63 DB 78 */ mr r3, r27
/* 80134634 00130474 4B FF 3F DD */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80134638 00130478 93 BB 00 14 */ stw r29, 0x14(r27)
/* 8013463C 0013047C 93 DA 00 20 */ stw r30, 0x20(r26)
.global lbl_80134640
lbl_80134640:
/* 80134640 00130480 3B 5A 00 04 */ addi r26, r26, 0x4
/* 80134644 00130484 3B 39 00 01 */ addi r25, r25, 0x1
.global lbl_80134648
lbl_80134648:
/* 80134648 00130488 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8013464C 0013048C 7C 19 00 00 */ cmpw r25, r0
/* 80134650 00130490 41 80 FF 80 */ blt lbl_801345D0
/* 80134654 00130494 54 00 10 3A */ slwi r0, r0, 2
/* 80134658 00130498 7C 7F 02 14 */ add r3, r31, r0
/* 8013465C 0013049C 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80134660 001304A0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80134664 001304A4 41 82 00 30 */ beq lbl_80134694
/* 80134668 001304A8 83 7F 03 E8 */ lwz r27, 0x3e8(r31)
/* 8013466C 001304AC 7F 63 DB 78 */ mr r3, r27
/* 80134670 001304B0 4B FF 3F A1 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80134674 001304B4 38 00 00 01 */ li r0, 0x1
/* 80134678 001304B8 90 1B 00 14 */ stw r0, 0x14(r27)
/* 8013467C 001304BC 38 80 00 00 */ li r4, 0x0
/* 80134680 001304C0 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80134684 001304C4 38 03 00 01 */ addi r0, r3, 0x1
/* 80134688 001304C8 54 00 10 3A */ slwi r0, r0, 2
/* 8013468C 001304CC 7C 7F 02 14 */ add r3, r31, r0
/* 80134690 001304D0 90 83 00 20 */ stw r4, 0x20(r3)
.global lbl_80134694
lbl_80134694:
/* 80134694 001304D4 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80134698 001304D8 38 03 00 01 */ addi r0, r3, 0x1
/* 8013469C 001304DC 54 00 10 3A */ slwi r0, r0, 2
/* 801346A0 001304E0 7C 7F 02 14 */ add r3, r31, r0
/* 801346A4 001304E4 80 03 00 20 */ lwz r0, 0x20(r3)
/* 801346A8 001304E8 2C 00 00 00 */ cmpwi r0, 0x0
/* 801346AC 001304EC 41 82 01 48 */ beq lbl_801347F4
/* 801346B0 001304F0 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 801346B4 001304F4 2C 00 00 01 */ cmpwi r0, 0x1
/* 801346B8 001304F8 40 82 00 A8 */ bne lbl_80134760
/* 801346BC 001304FC 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 801346C0 00130500 2C 00 00 00 */ cmpwi r0, 0x0
/* 801346C4 00130504 40 82 01 30 */ bne lbl_801347F4
/* 801346C8 00130508 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 801346CC 0013050C 38 00 00 25 */ li r0, 0x25
/* 801346D0 00130510 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 801346D4 00130514 38 60 00 00 */ li r3, 0x0
/* 801346D8 00130518 7C 09 03 A6 */ mtctr r0
/* 801346DC 0013051C 60 00 00 00 */ nop
.global lbl_801346E0
lbl_801346E0:
/* 801346E0 00130520 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801346E4 00130524 2C 00 00 05 */ cmpwi r0, 0x5
/* 801346E8 00130528 40 82 00 14 */ bne lbl_801346FC
/* 801346EC 0013052C 80 04 00 04 */ lwz r0, 0x4(r4)
/* 801346F0 00130530 2C 00 00 14 */ cmpwi r0, 0x14
/* 801346F4 00130534 40 82 00 08 */ bne lbl_801346FC
/* 801346F8 00130538 48 00 00 34 */ b lbl_8013472C
.global lbl_801346FC
lbl_801346FC:
/* 801346FC 0013053C 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80134700 00130540 38 63 00 01 */ addi r3, r3, 0x1
/* 80134704 00130544 2C 00 00 05 */ cmpwi r0, 0x5
/* 80134708 00130548 40 82 00 14 */ bne lbl_8013471C
/* 8013470C 0013054C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80134710 00130550 2C 00 00 14 */ cmpwi r0, 0x14
/* 80134714 00130554 40 82 00 08 */ bne lbl_8013471C
/* 80134718 00130558 48 00 00 14 */ b lbl_8013472C
.global lbl_8013471C
lbl_8013471C:
/* 8013471C 0013055C 38 84 00 10 */ addi r4, r4, 0x10
/* 80134720 00130560 38 63 00 01 */ addi r3, r3, 0x1
/* 80134724 00130564 42 00 FF BC */ bdnz lbl_801346E0
/* 80134728 00130568 38 60 FF FF */ li r3, -0x1
.global lbl_8013472C
lbl_8013472C:
/* 8013472C 0013056C 54 60 10 3A */ slwi r0, r3, 2
/* 80134730 00130570 7C 7F 02 14 */ add r3, r31, r0
/* 80134734 00130574 83 63 02 90 */ lwz r27, 0x290(r3)
/* 80134738 00130578 7F 63 DB 78 */ mr r3, r27
/* 8013473C 0013057C 4B FF 3E D5 */ bl initFrame__Q210homebutton15FrameControllerFv
/* 80134740 00130580 38 00 00 01 */ li r0, 0x1
/* 80134744 00130584 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80134748 00130588 38 80 00 00 */ li r4, 0x0
/* 8013474C 0013058C 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80134750 00130590 54 00 10 3A */ slwi r0, r0, 2
/* 80134754 00130594 7C 7F 02 14 */ add r3, r31, r0
/* 80134758 00130598 90 83 00 20 */ stw r4, 0x20(r3)
/* 8013475C 0013059C 48 00 00 98 */ b lbl_801347F4
.global lbl_80134760
lbl_80134760:
/* 80134760 001305A0 3C 80 80 41 */ lis r4, scGroupAnmTable__10homebutton@ha
/* 80134764 001305A4 38 00 00 25 */ li r0, 0x25
/* 80134768 001305A8 38 84 DE A8 */ addi r4, r4, scGroupAnmTable__10homebutton@l
/* 8013476C 001305AC 38 60 00 00 */ li r3, 0x0
/* 80134770 001305B0 7C 09 03 A6 */ mtctr r0
/* 80134774 001305B4 60 00 00 00 */ nop
.global lbl_80134778
lbl_80134778:
/* 80134778 001305B8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 8013477C 001305BC 2C 00 00 05 */ cmpwi r0, 0x5
/* 80134780 001305C0 40 82 00 14 */ bne lbl_80134794
/* 80134784 001305C4 80 04 00 04 */ lwz r0, 0x4(r4)
/* 80134788 001305C8 2C 00 00 03 */ cmpwi r0, 0x3
/* 8013478C 001305CC 40 82 00 08 */ bne lbl_80134794
/* 80134790 001305D0 48 00 00 34 */ b lbl_801347C4
.global lbl_80134794
lbl_80134794:
/* 80134794 001305D4 80 04 00 08 */ lwz r0, 0x8(r4)
/* 80134798 001305D8 38 63 00 01 */ addi r3, r3, 0x1
/* 8013479C 001305DC 2C 00 00 05 */ cmpwi r0, 0x5
/* 801347A0 001305E0 40 82 00 14 */ bne lbl_801347B4
/* 801347A4 001305E4 80 04 00 0C */ lwz r0, 0xc(r4)
/* 801347A8 001305E8 2C 00 00 03 */ cmpwi r0, 0x3
/* 801347AC 001305EC 40 82 00 08 */ bne lbl_801347B4
/* 801347B0 001305F0 48 00 00 14 */ b lbl_801347C4
.global lbl_801347B4
lbl_801347B4:
/* 801347B4 001305F4 38 84 00 10 */ addi r4, r4, 0x10
/* 801347B8 001305F8 38 63 00 01 */ addi r3, r3, 0x1
/* 801347BC 001305FC 42 00 FF BC */ bdnz lbl_80134778
/* 801347C0 00130600 38 60 FF FF */ li r3, -0x1
.global lbl_801347C4
lbl_801347C4:
/* 801347C4 00130604 54 60 10 3A */ slwi r0, r3, 2
/* 801347C8 00130608 7C 7F 02 14 */ add r3, r31, r0
/* 801347CC 0013060C 83 63 02 90 */ lwz r27, 0x290(r3)
/* 801347D0 00130610 7F 63 DB 78 */ mr r3, r27
/* 801347D4 00130614 4B FF 3E 3D */ bl initFrame__Q210homebutton15FrameControllerFv
/* 801347D8 00130618 38 00 00 01 */ li r0, 0x1
/* 801347DC 0013061C 90 1B 00 14 */ stw r0, 0x14(r27)
/* 801347E0 00130620 38 80 00 00 */ li r4, 0x0
/* 801347E4 00130624 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 801347E8 00130628 54 00 10 3A */ slwi r0, r0, 2
/* 801347EC 0013062C 7C 7F 02 14 */ add r3, r31, r0
/* 801347F0 00130630 90 83 00 20 */ stw r4, 0x20(r3)
.global lbl_801347F4
lbl_801347F4:
/* 801347F4 00130634 39 61 00 30 */ addi r11, r1, 0x30
/* 801347F8 00130638 4B ED 2B 89 */ bl lbl_80007380
/* 801347FC 0013063C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80134800 00130640 7C 08 03 A6 */ mtlr r0
/* 80134804 00130644 38 21 00 30 */ addi r1, r1, 0x30
/* 80134808 00130648 4E 80 00 20 */ blr
/* 8013480C 0013064C 00 00 00 00 */ .4byte 0x00000000
.global getPaneNo__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
getPaneNo__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane:
/* 80134810 00130650 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80134814 00130654 7C 08 02 A6 */ mflr r0
/* 80134818 00130658 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013481C 0013065C 39 61 00 20 */ addi r11, r1, 0x20
/* 80134820 00130660 4B ED 2B 1D */ bl lbl_8000733C
/* 80134824 00130664 3F E0 80 44 */ lis r31, scBtnName__Q210homebutton10HomeButton@ha
/* 80134828 00130668 83 C3 00 0C */ lwz r30, 0xc(r3)
/* 8013482C 0013066C 3B 84 00 B4 */ addi r28, r4, 0xb4
/* 80134830 00130670 3B A0 FF FF */ li r29, -0x1
/* 80134834 00130674 3B FF 31 00 */ addi r31, r31, scBtnName__Q210homebutton10HomeButton@l
/* 80134838 00130678 3B 60 00 00 */ li r27, 0x0
/* 8013483C 0013067C 48 00 00 28 */ b lbl_80134864
.global lbl_80134840
lbl_80134840:
/* 80134840 00130680 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 80134844 00130684 7F 83 E3 78 */ mr r3, r28
/* 80134848 00130688 4B ED 92 F5 */ bl strcmp
/* 8013484C 0013068C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134850 00130690 40 82 00 0C */ bne lbl_8013485C
/* 80134854 00130694 7F 7D DB 78 */ mr r29, r27
/* 80134858 00130698 48 00 00 14 */ b lbl_8013486C
.global lbl_8013485C
lbl_8013485C:
/* 8013485C 0013069C 3B FF 00 04 */ addi r31, r31, 0x4
/* 80134860 001306A0 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_80134864
lbl_80134864:
/* 80134864 001306A4 7C 1B F0 00 */ cmpw r27, r30
/* 80134868 001306A8 41 80 FF D8 */ blt lbl_80134840
.global lbl_8013486C
lbl_8013486C:
/* 8013486C 001306AC 3F E0 80 44 */ lis r31, scFuncTouchPaneName__Q210homebutton10HomeButton@ha
/* 80134870 001306B0 3B 60 00 00 */ li r27, 0x0
/* 80134874 001306B4 3B FF 3A 00 */ addi r31, r31, scFuncTouchPaneName__Q210homebutton10HomeButton@l
.global lbl_80134878
lbl_80134878:
/* 80134878 001306B8 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 8013487C 001306BC 7F 83 E3 78 */ mr r3, r28
/* 80134880 001306C0 4B ED 92 BD */ bl strcmp
/* 80134884 001306C4 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134888 001306C8 40 82 00 0C */ bne lbl_80134894
/* 8013488C 001306CC 7F BB F2 14 */ add r29, r27, r30
/* 80134890 001306D0 48 00 00 14 */ b lbl_801348A4
.global lbl_80134894
lbl_80134894:
/* 80134894 001306D4 3B 7B 00 01 */ addi r27, r27, 0x1
/* 80134898 001306D8 3B FF 00 04 */ addi r31, r31, 0x4
/* 8013489C 001306DC 2C 1B 00 0A */ cmpwi r27, 0xa
/* 801348A0 001306E0 41 80 FF D8 */ blt lbl_80134878
.global lbl_801348A4
lbl_801348A4:
/* 801348A4 001306E4 39 61 00 20 */ addi r11, r1, 0x20
/* 801348A8 001306E8 7F A3 EB 78 */ mr r3, r29
/* 801348AC 001306EC 4B ED 2A DD */ bl lbl_80007388
/* 801348B0 001306F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801348B4 001306F4 7C 08 03 A6 */ mtlr r0
/* 801348B8 001306F8 38 21 00 20 */ addi r1, r1, 0x20
/* 801348BC 001306FC 4E 80 00 20 */ blr
.global getSelectBtnNum__Q210homebutton10HomeButtonFv
getSelectBtnNum__Q210homebutton10HomeButtonFv:
/* 801348C0 00130700 80 03 00 14 */ lwz r0, 0x14(r3)
/* 801348C4 00130704 2C 00 00 12 */ cmpwi r0, 0x12
/* 801348C8 00130708 41 82 00 0C */ beq lbl_801348D4
/* 801348CC 0013070C 38 60 FF FF */ li r3, -0x1
/* 801348D0 00130710 4E 80 00 20 */ blr
.global lbl_801348D4
lbl_801348D4:
/* 801348D4 00130714 80 63 00 B8 */ lwz r3, 0xb8(r3)
/* 801348D8 00130718 4E 80 00 20 */ blr
/* 801348DC 0013071C 00 00 00 00 */ .4byte 0x00000000
.global setAdjustFlag__Q210homebutton10HomeButtonFi
setAdjustFlag__Q210homebutton10HomeButtonFi:
/* 801348E0 00130720 7C A4 00 D0 */ neg r5, r4
/* 801348E4 00130724 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801348E8 00130728 7C A5 23 78 */ or r5, r5, r4
/* 801348EC 0013072C 54 A4 0F FF */ srwi. r4, r5, 31
/* 801348F0 00130730 88 03 02 48 */ lbz r0, 0x248(r3)
/* 801348F4 00130734 50 A0 36 B4 */ rlwimi r0, r5, 6, 26, 26
/* 801348F8 00130738 98 03 02 48 */ stb r0, 0x248(r3)
/* 801348FC 0013073C 98 83 00 8F */ stb r4, 0x8f(r3)
/* 80134900 00130740 41 82 00 84 */ beq lbl_80134984
/* 80134904 00130744 80 A3 00 04 */ lwz r5, 0x4(r3)
/* 80134908 00130748 80 83 01 D8 */ lwz r4, 0x1d8(r3)
/* 8013490C 0013074C C0 25 00 38 */ lfs f1, 0x38(r5)
/* 80134910 00130750 C0 05 00 34 */ lfs f0, 0x34(r5)
/* 80134914 00130754 80 84 00 10 */ lwz r4, 0x10(r4)
/* 80134918 00130758 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8013491C 0013075C D0 04 00 44 */ stfs f0, 0x44(r4)
/* 80134920 00130760 D0 24 00 48 */ stfs f1, 0x48(r4)
/* 80134924 00130764 80 83 00 04 */ lwz r4, 0x4(r3)
/* 80134928 00130768 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8013492C 0013076C 80 04 00 20 */ lwz r0, 0x20(r4)
/* 80134930 00130770 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80134934 00130774 2C 00 00 00 */ cmpwi r0, 0x0
/* 80134938 00130778 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8013493C 0013077C 40 82 00 C0 */ bne lbl_801349FC
/* 80134940 00130780 80 83 01 DC */ lwz r4, 0x1dc(r3)
/* 80134944 00130784 80 84 00 10 */ lwz r4, 0x10(r4)
/* 80134948 00130788 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 8013494C 0013078C D0 24 00 48 */ stfs f1, 0x48(r4)
/* 80134950 00130790 80 83 01 E0 */ lwz r4, 0x1e0(r3)
/* 80134954 00130794 80 84 00 10 */ lwz r4, 0x10(r4)
/* 80134958 00130798 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 8013495C 0013079C D0 24 00 48 */ stfs f1, 0x48(r4)
/* 80134960 001307A0 80 83 01 E4 */ lwz r4, 0x1e4(r3)
/* 80134964 001307A4 80 84 00 10 */ lwz r4, 0x10(r4)
/* 80134968 001307A8 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 8013496C 001307AC D0 24 00 48 */ stfs f1, 0x48(r4)
/* 80134970 001307B0 80 63 01 E8 */ lwz r3, 0x1e8(r3)
/* 80134974 001307B4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80134978 001307B8 D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8013497C 001307BC D0 23 00 48 */ stfs f1, 0x48(r3)
/* 80134980 001307C0 48 00 00 7C */ b lbl_801349FC
.global lbl_80134984
lbl_80134984:
/* 80134984 001307C4 80 83 01 D8 */ lwz r4, 0x1d8(r3)
/* 80134988 001307C8 3C A0 80 41 */ lis r5, "@16081"@ha
/* 8013498C 001307CC C0 05 E1 20 */ lfs f0, "@16081"@l(r5)
/* 80134990 001307D0 80 84 00 10 */ lwz r4, 0x10(r4)
/* 80134994 001307D4 D0 01 00 08 */ stfs f0, 0x8(r1)
/* 80134998 001307D8 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 8013499C 001307DC D0 04 00 48 */ stfs f0, 0x48(r4)
/* 801349A0 001307E0 80 83 00 04 */ lwz r4, 0x4(r3)
/* 801349A4 001307E4 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 801349A8 001307E8 80 04 00 20 */ lwz r0, 0x20(r4)
/* 801349AC 001307EC D0 01 00 18 */ stfs f0, 0x18(r1)
/* 801349B0 001307F0 2C 00 00 00 */ cmpwi r0, 0x0
/* 801349B4 001307F4 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 801349B8 001307F8 40 82 00 44 */ bne lbl_801349FC
/* 801349BC 001307FC 80 83 01 DC */ lwz r4, 0x1dc(r3)
/* 801349C0 00130800 80 84 00 10 */ lwz r4, 0x10(r4)
/* 801349C4 00130804 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 801349C8 00130808 D0 04 00 48 */ stfs f0, 0x48(r4)
/* 801349CC 0013080C 80 83 01 E0 */ lwz r4, 0x1e0(r3)
/* 801349D0 00130810 80 84 00 10 */ lwz r4, 0x10(r4)
/* 801349D4 00130814 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 801349D8 00130818 D0 04 00 48 */ stfs f0, 0x48(r4)
/* 801349DC 0013081C 80 83 01 E4 */ lwz r4, 0x1e4(r3)
/* 801349E0 00130820 80 84 00 10 */ lwz r4, 0x10(r4)
/* 801349E4 00130824 D0 04 00 44 */ stfs f0, 0x44(r4)
/* 801349E8 00130828 D0 04 00 48 */ stfs f0, 0x48(r4)
/* 801349EC 0013082C 80 63 01 E8 */ lwz r3, 0x1e8(r3)
/* 801349F0 00130830 80 63 00 10 */ lwz r3, 0x10(r3)
/* 801349F4 00130834 D0 03 00 44 */ stfs f0, 0x44(r3)
/* 801349F8 00130838 D0 03 00 48 */ stfs f0, 0x48(r3)
.global lbl_801349FC
lbl_801349FC:
/* 801349FC 0013083C 38 21 00 20 */ addi r1, r1, 0x20
/* 80134A00 00130840 4E 80 00 20 */ blr
/* 80134A04 00130844 00 00 00 00 */ .4byte 0x00000000
/* 80134A08 00130848 00 00 00 00 */ .4byte 0x00000000
/* 80134A0C 0013084C 00 00 00 00 */ .4byte 0x00000000
.global onEvent__Q210homebutton22HomeButtonEventHandlerFUlUlPv
onEvent__Q210homebutton22HomeButtonEventHandlerFUlUlPv:
/* 80134A10 00130850 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80134A14 00130854 7C 08 02 A6 */ mflr r0
/* 80134A18 00130858 90 01 00 24 */ stw r0, 0x24(r1)
/* 80134A1C 0013085C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80134A20 00130860 7C DF 33 78 */ mr r31, r6
/* 80134A24 00130864 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80134A28 00130868 7C BE 2B 78 */ mr r30, r5
/* 80134A2C 0013086C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80134A30 00130870 7C 7D 1B 78 */ mr r29, r3
/* 80134A34 00130874 80 63 00 04 */ lwz r3, 0x4(r3)
/* 80134A38 00130878 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80134A3C 0013087C 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 80134A40 00130880 7D 89 03 A6 */ mtctr r12
/* 80134A44 00130884 4E 80 04 21 */ bctrl
/* 80134A48 00130888 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80134A4C 0013088C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80134A50 00130890 7D 89 03 A6 */ mtctr r12
/* 80134A54 00130894 4E 80 04 21 */ bctrl
/* 80134A58 00130898 28 1E 00 01 */ cmplwi r30, 0x1
/* 80134A5C 0013089C 80 BD 00 08 */ lwz r5, 0x8(r29)
/* 80134A60 001308A0 7C 64 1B 78 */ mr r4, r3
/* 80134A64 001308A4 41 82 00 18 */ beq lbl_80134A7C
/* 80134A68 001308A8 28 1E 00 02 */ cmplwi r30, 0x2
/* 80134A6C 001308AC 41 82 00 20 */ beq lbl_80134A8C
/* 80134A70 001308B0 2C 1E 00 00 */ cmpwi r30, 0x0
/* 80134A74 001308B4 41 82 00 24 */ beq lbl_80134A98
/* 80134A78 001308B8 48 00 00 34 */ b lbl_80134AAC
.global lbl_80134A7C
lbl_80134A7C:
/* 80134A7C 001308BC 7C A3 2B 78 */ mr r3, r5
/* 80134A80 001308C0 7F E5 FB 78 */ mr r5, r31
/* 80134A84 001308C4 4B FF CF 7D */ bl startPointEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4PanePv
/* 80134A88 001308C8 48 00 00 24 */ b lbl_80134AAC
.global lbl_80134A8C
lbl_80134A8C:
/* 80134A8C 001308CC 7C A3 2B 78 */ mr r3, r5
/* 80134A90 001308D0 4B FF DD C1 */ bl startLeftEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
/* 80134A94 001308D4 48 00 00 18 */ b lbl_80134AAC
.global lbl_80134A98
lbl_80134A98:
/* 80134A98 001308D8 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 80134A9C 001308DC 54 00 05 29 */ rlwinm. r0, r0, 0, 20, 20
/* 80134AA0 001308E0 41 82 00 0C */ beq lbl_80134AAC
/* 80134AA4 001308E4 7C A3 2B 78 */ mr r3, r5
/* 80134AA8 001308E8 4B FF E8 79 */ bl startTrigEvent__Q210homebutton10HomeButtonFPCQ36nw4hbm3lyt4Pane
.global lbl_80134AAC
lbl_80134AAC:
/* 80134AAC 001308EC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80134AB0 001308F0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80134AB4 001308F4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80134AB8 001308F8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80134ABC 001308FC 7C 08 03 A6 */ mtlr r0
/* 80134AC0 00130900 38 21 00 20 */ addi r1, r1, 0x20
/* 80134AC4 00130904 4E 80 00 20 */ blr
/* 80134AC8 00130908 00 00 00 00 */ .4byte 0x00000000
/* 80134ACC 0013090C 00 00 00 00 */ .4byte 0x00000000
.global startBlackOut__Q210homebutton10HomeButtonFv
startBlackOut__Q210homebutton10HomeButtonFv:
/* 80134AD0 00130910 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80134AD4 00130914 7C 08 02 A6 */ mflr r0
/* 80134AD8 00130918 90 01 00 24 */ stw r0, 0x24(r1)
/* 80134ADC 0013091C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80134AE0 00130920 7C 7F 1B 78 */ mr r31, r3
/* 80134AE4 00130924 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80134AE8 00130928 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80134AEC 0013092C 88 03 00 9A */ lbz r0, 0x9a(r3)
/* 80134AF0 00130930 2C 00 00 00 */ cmpwi r0, 0x0
/* 80134AF4 00130934 40 82 01 A8 */ bne lbl_80134C9C
/* 80134AF8 00130938 38 00 00 01 */ li r0, 0x1
/* 80134AFC 0013093C 98 03 00 9A */ stb r0, 0x9a(r3)
/* 80134B00 00130940 7F FE FB 78 */ mr r30, r31
/* 80134B04 00130944 3B A0 00 00 */ li r29, 0x0
.global lbl_80134B08
lbl_80134B08:
/* 80134B08 00130948 80 7E 02 4C */ lwz r3, 0x24c(r30)
/* 80134B0C 0013094C 4B FF 5F D5 */ bl stopMotor__Q210homebutton10ControllerFv
/* 80134B10 00130950 3B BD 00 01 */ addi r29, r29, 0x1
/* 80134B14 00130954 3B DE 00 04 */ addi r30, r30, 0x4
/* 80134B18 00130958 2C 1D 00 04 */ cmpwi r29, 0x4
/* 80134B1C 0013095C 41 80 FF EC */ blt lbl_80134B08
/* 80134B20 00130960 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 80134B24 00130964 38 60 00 00 */ li r3, 0x0
/* 80134B28 00130968 98 7F 00 95 */ stb r3, 0x95(r31)
/* 80134B2C 0013096C 38 04 FF FB */ addi r0, r4, -0x5
/* 80134B30 00130970 28 00 00 02 */ cmplwi r0, 0x2
/* 80134B34 00130974 98 7F 00 96 */ stb r3, 0x96(r31)
/* 80134B38 00130978 98 7F 00 98 */ stb r3, 0x98(r31)
/* 80134B3C 0013097C 98 7F 00 99 */ stb r3, 0x99(r31)
/* 80134B40 00130980 40 81 00 34 */ ble lbl_80134B74
/* 80134B44 00130984 2C 04 00 00 */ cmpwi r4, 0x0
/* 80134B48 00130988 41 82 00 18 */ beq lbl_80134B60
/* 80134B4C 0013098C 2C 04 00 01 */ cmpwi r4, 0x1
/* 80134B50 00130990 41 82 00 18 */ beq lbl_80134B68
/* 80134B54 00130994 2C 04 00 03 */ cmpwi r4, 0x3
/* 80134B58 00130998 41 82 00 1C */ beq lbl_80134B74
/* 80134B5C 0013099C 48 00 00 D8 */ b lbl_80134C34
.global lbl_80134B60
lbl_80134B60:
/* 80134B60 001309A0 38 00 00 01 */ li r0, 0x1
/* 80134B64 001309A4 98 1F 00 95 */ stb r0, 0x95(r31)
.global lbl_80134B68
lbl_80134B68:
/* 80134B68 001309A8 38 00 00 01 */ li r0, 0x1
/* 80134B6C 001309AC 98 1F 00 96 */ stb r0, 0x96(r31)
/* 80134B70 001309B0 48 00 00 C4 */ b lbl_80134C34
.global lbl_80134B74
lbl_80134B74:
/* 80134B74 001309B4 2C 04 00 03 */ cmpwi r4, 0x3
/* 80134B78 001309B8 40 82 00 10 */ bne lbl_80134B88
/* 80134B7C 001309BC 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 80134B80 001309C0 2C 00 00 05 */ cmpwi r0, 0x5
/* 80134B84 001309C4 41 82 00 18 */ beq lbl_80134B9C
.global lbl_80134B88
lbl_80134B88:
/* 80134B88 001309C8 2C 04 00 05 */ cmpwi r4, 0x5
/* 80134B8C 001309CC 40 82 00 24 */ bne lbl_80134BB0
/* 80134B90 001309D0 88 1F 00 91 */ lbz r0, 0x91(r31)
/* 80134B94 001309D4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80134B98 001309D8 40 82 00 18 */ bne lbl_80134BB0
.global lbl_80134B9C
lbl_80134B9C:
/* 80134B9C 001309DC 38 7F 05 88 */ addi r3, r31, 0x588
/* 80134BA0 001309E0 4B EE 6F C1 */ bl OSCancelAlarm
/* 80134BA4 001309E4 80 7F 01 AC */ lwz r3, 0x1ac(r31)
/* 80134BA8 001309E8 4B F2 18 D9 */ bl WPADSetSimpleSyncCallback
/* 80134BAC 001309EC 48 00 00 80 */ b lbl_80134C2C
.global lbl_80134BB0
lbl_80134BB0:
/* 80134BB0 001309F0 88 1F 00 92 */ lbz r0, 0x92(r31)
/* 80134BB4 001309F4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80134BB8 001309F8 40 82 00 6C */ bne lbl_80134C24
/* 80134BBC 001309FC 2C 04 00 03 */ cmpwi r4, 0x3
/* 80134BC0 00130A00 40 81 00 64 */ ble lbl_80134C24
/* 80134BC4 00130A04 38 00 00 01 */ li r0, 0x1
/* 80134BC8 00130A08 98 1F 00 98 */ stb r0, 0x98(r31)
/* 80134BCC 00130A0C 4B F2 18 A5 */ bl WPADStopSimpleSync
/* 80134BD0 00130A10 2C 03 00 00 */ cmpwi r3, 0x0
/* 80134BD4 00130A14 40 82 00 58 */ bne lbl_80134C2C
/* 80134BD8 00130A18 38 7F 05 88 */ addi r3, r31, 0x588
/* 80134BDC 00130A1C 4B EE 6F 85 */ bl OSCancelAlarm
/* 80134BE0 00130A20 38 7F 05 88 */ addi r3, r31, 0x588
/* 80134BE4 00130A24 38 80 00 01 */ li r4, 0x1
/* 80134BE8 00130A28 4B FF 43 29 */ bl setManager__Q310homebutton3gui9ComponentFPQ310homebutton3gui7Manager
/* 80134BEC 00130A2C 3C 80 80 00 */ lis r4, 0x800000F8@ha
/* 80134BF0 00130A30 3C E0 80 13 */ lis r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@ha
/* 80134BF4 00130A34 80 04 00 F8 */ lwz r0, 0x800000F8@l(r4)
/* 80134BF8 00130A38 3C 60 10 62 */ lis r3, 0x1062
/* 80134BFC 00130A3C 38 83 4D D3 */ addi r4, r3, 0x4dd3
/* 80134C00 00130A40 38 E7 04 10 */ addi r7, r7, RetrySimpleSyncCallback__10homebuttonFP7OSAlarmP9OSContext@l
/* 80134C04 00130A44 54 00 F0 BE */ srwi r0, r0, 2
/* 80134C08 00130A48 38 7F 05 88 */ addi r3, r31, 0x588
/* 80134C0C 00130A4C 7C 04 00 16 */ mulhwu r0, r4, r0
/* 80134C10 00130A50 38 A0 00 00 */ li r5, 0x0
/* 80134C14 00130A54 54 00 D1 BE */ srwi r0, r0, 6
/* 80134C18 00130A58 1C C0 00 64 */ mulli r6, r0, 0x64
/* 80134C1C 00130A5C 4B EE 6E 45 */ bl OSSetAlarm
/* 80134C20 00130A60 48 00 00 0C */ b lbl_80134C2C
.global lbl_80134C24
lbl_80134C24:
/* 80134C24 00130A64 80 7F 01 AC */ lwz r3, 0x1ac(r31)
/* 80134C28 00130A68 4B F2 18 59 */ bl WPADSetSimpleSyncCallback
.global lbl_80134C2C
lbl_80134C2C:
/* 80134C2C 00130A6C 38 00 00 01 */ li r0, 0x1
/* 80134C30 00130A70 98 1F 00 99 */ stb r0, 0x99(r31)
.global lbl_80134C34
lbl_80134C34:
/* 80134C34 00130A74 80 7F 03 F8 */ lwz r3, 0x3f8(r31)
/* 80134C38 00130A78 3C 00 43 30 */ lis r0, 0x4330
/* 80134C3C 00130A7C 3C 80 80 41 */ lis r4, "@16337"@ha
/* 80134C40 00130A80 38 C0 00 13 */ li r6, 0x13
/* 80134C44 00130A84 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80134C48 00130A88 90 61 00 0C */ stw r3, 0xc(r1)
/* 80134C4C 00130A8C C8 24 E1 50 */ lfd f1, "@16337"@l(r4)
/* 80134C50 00130A90 38 A0 00 01 */ li r5, 0x1
/* 80134C54 00130A94 90 01 00 08 */ stw r0, 0x8(r1)
/* 80134C58 00130A98 38 60 00 02 */ li r3, 0x2
/* 80134C5C 00130A9C 80 9F 00 04 */ lwz r4, 0x4(r31)
/* 80134C60 00130AA0 C8 01 00 08 */ lfd f0, 0x8(r1)
/* 80134C64 00130AA4 90 DF 00 14 */ stw r6, 0x14(r31)
/* 80134C68 00130AA8 EC 00 08 28 */ fsubs f0, f0, f1
/* 80134C6C 00130AAC 90 BF 03 FC */ stw r5, 0x3fc(r31)
/* 80134C70 00130AB0 90 7F 00 B8 */ stw r3, 0xb8(r31)
/* 80134C74 00130AB4 D0 1F 07 3C */ stfs f0, 0x73c(r31)
/* 80134C78 00130AB8 81 84 00 14 */ lwz r12, 0x14(r4)
/* 80134C7C 00130ABC 2C 0C 00 00 */ cmpwi r12, 0x0
/* 80134C80 00130AC0 41 82 00 1C */ beq lbl_80134C9C
/* 80134C84 00130AC4 FC 00 00 1E */ fctiwz f0, f0
/* 80134C88 00130AC8 38 60 00 03 */ li r3, 0x3
/* 80134C8C 00130ACC D8 01 00 08 */ stfd f0, 0x8(r1)
/* 80134C90 00130AD0 80 81 00 0C */ lwz r4, 0xc(r1)
/* 80134C94 00130AD4 7D 89 03 A6 */ mtctr r12
/* 80134C98 00130AD8 4E 80 04 21 */ bctrl
.global lbl_80134C9C
lbl_80134C9C:
/* 80134C9C 00130ADC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80134CA0 00130AE0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80134CA4 00130AE4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80134CA8 00130AE8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80134CAC 00130AEC 7C 08 03 A6 */ mtlr r0
/* 80134CB0 00130AF0 38 21 00 20 */ addi r1, r1, 0x20
/* 80134CB4 00130AF4 4E 80 00 20 */ blr
/* 80134CB8 00130AF8 00 00 00 00 */ .4byte 0x00000000
/* 80134CBC 00130AFC 00 00 00 00 */ .4byte 0x00000000
.global update_sound__Q210homebutton10HomeButtonFv
update_sound__Q210homebutton10HomeButtonFv:
/* 80134CC0 00130B00 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80134CC4 00130B04 7C 08 02 A6 */ mflr r0
/* 80134CC8 00130B08 90 01 00 14 */ stw r0, 0x14(r1)
/* 80134CCC 00130B0C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80134CD0 00130B10 93 C1 00 08 */ stw r30, 0x8(r1)
/* 80134CD4 00130B14 7C 7E 1B 78 */ mr r30, r3
/* 80134CD8 00130B18 4B EE F7 C9 */ bl DefaultSwitchThreadCallback
/* 80134CDC 00130B1C 3B E0 00 00 */ li r31, 0x0
.global lbl_80134CE0
lbl_80134CE0:
/* 80134CE0 00130B20 80 7E 02 4C */ lwz r3, 0x24c(r30)
/* 80134CE4 00130B24 4B FF 5B 3D */ bl updateSound__Q210homebutton10ControllerFv
/* 80134CE8 00130B28 3B FF 00 01 */ addi r31, r31, 0x1
/* 80134CEC 00130B2C 3B DE 00 04 */ addi r30, r30, 0x4
/* 80134CF0 00130B30 2C 1F 00 04 */ cmpwi r31, 0x4
/* 80134CF4 00130B34 41 80 FF EC */ blt lbl_80134CE0
/* 80134CF8 00130B38 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80134CFC 00130B3C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80134D00 00130B40 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80134D04 00130B44 7C 08 03 A6 */ mtlr r0
/* 80134D08 00130B48 38 21 00 10 */ addi r1, r1, 0x10
/* 80134D0C 00130B4C 4E 80 00 20 */ blr
.include "macros.inc"
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
.global "@9436_8040DE40"
"@9436_8040DE40":
.4byte 0x000000FF
.4byte 0
.global scAnmTable__10homebutton
scAnmTable__10homebutton:
.4byte 0
.4byte 0
.4byte 0
.4byte 0x00000002
.4byte 0x00000004
.4byte 0x00000001
.4byte 0x00000001
.4byte 0
.4byte 0x00000001
.4byte 0x00000002
.4byte 0x00000005
.4byte 0x00000001
.4byte 0x00000002
.4byte 0
.4byte 0x00000002
.4byte 0x00000002
.4byte 0x00000006
.4byte 0x00000001
.4byte 0x00000003
.4byte 0
.4byte 0x00000003
.4byte 0x00000002
.4byte 0x00000007
.4byte 0x00000001
.global scGroupAnmTable__10homebutton
scGroupAnmTable__10homebutton:
.4byte 0
.4byte 0
.4byte 0x00000001
.4byte 0x00000001
.4byte 0x00000002
.4byte 0
.4byte 0x00000003
.4byte 0x00000001
.4byte 0x00000004
.4byte 0x00000002
.4byte 0x00000004
.4byte 0x00000013
.4byte 0x00000005
.4byte 0x00000003
.4byte 0x00000005
.4byte 0x00000014
.4byte 0x00000006
.4byte 0x00000004
.4byte 0x00000006
.4byte 0x00000007
.4byte 0x00000007
.4byte 0x00000004
.4byte 0x00000007
.4byte 0x00000007
.4byte 0x00000008
.4byte 0x00000004
.4byte 0x00000008
.4byte 0x00000007
.4byte 0x00000009
.4byte 0x00000004
.4byte 0x00000009
.4byte 0x00000007
.4byte 0x0000000A
.4byte 0x00000004
.4byte 0x0000000A
.4byte 0x00000007
.4byte 0x0000000B
.4byte 0x00000005
.4byte 0x0000000C
.4byte 0x00000005
.4byte 0x0000000D
.4byte 0x00000006
.4byte 0x0000000D
.4byte 0x00000008
.4byte 0x0000000E
.4byte 0x0000000E
.4byte 0x0000000E
.4byte 0x00000006
.4byte 0x0000000E
.4byte 0x00000008
.4byte 0x0000000F
.4byte 0x00000005
.4byte 0x00000010
.4byte 0x00000006
.4byte 0x00000010
.4byte 0x0000000E
.4byte 0x00000011
.4byte 0x0000000B
.4byte 0x00000011
.4byte 0x0000000C
.4byte 0x00000012
.4byte 0x0000000B
.4byte 0x00000012
.4byte 0x0000000C
.4byte 0x00000013
.4byte 0x0000000D
.4byte 0x00000014
.4byte 0x0000000D
.4byte 0x00000015
.4byte 0x00000009
.4byte 0x00000015
.4byte 0x0000000A
.4byte 0x00000016
.4byte 0x00000009
.4byte 0x00000016
.4byte 0x0000000A
.4byte 0x00000017
.4byte 0x00000009
.4byte 0x00000017
.4byte 0x0000000A
.4byte 0x00000018
.4byte 0x00000009
.4byte 0x00000018
.4byte 0x0000000A
.4byte 0x00000019
.4byte 0x00000009
.4byte 0x00000019
.4byte 0x0000000A
.4byte 0x0000001A
.4byte 0x00000009
.4byte 0x0000001A
.4byte 0x0000000A
.4byte 0x0000001B
.4byte 0x00000009
.4byte 0x0000001B
.4byte 0x0000000A
.4byte 0x0000001C
.4byte 0x00000009
.4byte 0x0000001C
.4byte 0x0000000A
.4byte 0x0000001D
.4byte 0x00000009
.4byte 0x0000001D
.4byte 0x0000000A
.4byte 0x0000001E
.4byte 0x00000009
.4byte 0x0000001E
.4byte 0x0000000A
.4byte 0x0000001F
.4byte 0x0000000F
.4byte 0x0000001F
.4byte 0x00000010
.4byte 0x0000001F
.4byte 0x00000011
.4byte 0x0000001F
.4byte 0x00000012
.4byte 0x0000001F
.4byte 0x00000015
.4byte 0x00000020
.4byte 0x0000000F
.4byte 0x00000020
.4byte 0x00000010
.4byte 0x00000020
.4byte 0x00000011
.4byte 0x00000020
.4byte 0x00000012
.4byte 0x00000020
.4byte 0x00000015
.4byte 0x00000021
.4byte 0x0000000F
.4byte 0x00000021
.4byte 0x00000010
.4byte 0x00000021
.4byte 0x00000011
.4byte 0x00000021
.4byte 0x00000012
.4byte 0x00000021
.4byte 0x00000015
.4byte 0x00000022
.4byte 0x0000000F
.4byte 0x00000022
.4byte 0x00000010
.4byte 0x00000022
.4byte 0x00000011
.4byte 0x00000022
.4byte 0x00000012
.4byte 0x00000022
.4byte 0x00000015
.4byte 0x00000E10
.4byte 0x00000DF2
.4byte 0x00000005
.4byte 0x00000064
.4byte 0x00000002
.4byte 0x40400000
.4byte 0x41100000
.4byte 0x0000001E
.4byte 0x000000B4
.4byte 0x3FC00000
.global "@16081"
"@16081":
.4byte 0x3F800000
.4byte 0
.4byte 0x43300000
.4byte 0
.4byte 0x45610000
.4byte 0x455F2000
.4byte 0xC47A0000
.4byte 0xC61C4000
.4byte 0x41F00000
.4byte 0x3F666666
.4byte 0x3DA14285
.4byte 0x41200000
.global "@16337"
"@16337":
.4byte 0x43300000
.4byte 0x80000000
.4byte 0x40200000
.4byte 0x3F000000
.4byte 0x41100000
.4byte 0x43340000
.4byte 0x47000000
.4byte 0x414B3333
.4byte 0x000000FF
.4byte 0x000000FF
.4byte 0x000000FF
.4byte 0xC3FA0000
.4byte 0x43640000
.4byte 0x43FA0000
.4byte 0xC3640000
.4byte 0x447A0000
.4byte 0x40A00000
.4byte 0x41700000
.4byte 0x3FB40000
.4byte 0x44180000
.4byte 0x43E40000
.4byte 0xC3340000
.4byte 0x40400000
.4byte 0x00060000
.4byte 0x0006F800
.4byte 0x00000004
.4byte 0x00000003
.4byte 0
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@9521_80443068"
"@9521_80443068":
.4byte 0x50315F44
.4byte 0x65662E62
.4byte 0x726C7974
.4byte 0
.global "@9522_80443078"
"@9522_80443078":
.4byte 0x50325F44
.4byte 0x65662E62
.4byte 0x726C7974
.4byte 0
.global "@9523_80443088"
"@9523_80443088":
.4byte 0x50335F44
.4byte 0x65662E62
.4byte 0x726C7974
.4byte 0
.global "@9524"
"@9524":
.4byte 0x50345F44
.4byte 0x65662E62
.4byte 0x726C7974
.4byte 0
.4byte "@9521_80443068"
.4byte "@9522_80443078"
.4byte "@9523_80443088"
.4byte "@9524"
.global "@9525"
"@9525":
.4byte 0x4E5F5472
.4byte 0x616E7300
.global scCursorPaneName__Q210homebutton10HomeButton
scCursorPaneName__Q210homebutton10HomeButton:
.4byte "@9525"
.global "@9526"
"@9526":
.4byte 0x4E5F526F
.4byte 0x74000000
.4byte "@9526"
.global "@9527"
"@9527":
.4byte 0x4E5F5352
.4byte 0x6F740000
.4byte "@9527"
.global "@9528"
"@9528":
.4byte 0x425F6274
.4byte 0x6E4C5F30
.4byte 0x30000000
.global "@9529"
"@9529":
.4byte 0x425F6274
.4byte 0x6E4C5F30
.4byte 0x31000000
.global "@9530"
"@9530":
.4byte 0x425F6274
.4byte 0x6E4C5F31
.4byte 0x30000000
.global scBtnName__Q210homebutton10HomeButton
scBtnName__Q210homebutton10HomeButton:
.4byte "@9528"
.4byte "@9529"
.4byte "@9530"
.4byte 0
.global "@9531"
"@9531":
.4byte 0x545F6274
.4byte 0x6E4C5F30
.4byte 0x30000000
.global "@9532"
"@9532":
.4byte 0x545F6274
.4byte 0x6E4C5F30
.4byte 0x31000000
.global "@9533"
"@9533":
.4byte 0x545F6274
.4byte 0x6E4C5F31
.4byte 0x30000000
.4byte 0
.4byte "@9531"
.4byte "@9532"
.4byte "@9533"
.4byte 0
.global "@9534"
"@9534":
.4byte 0x62746E4C
.4byte 0x5F30305F
.4byte 0x696E4F75
.4byte 0x74000000
.global "@9535"
"@9535":
.4byte 0x62746E4C
.4byte 0x5F30315F
.4byte 0x696E4F75
.4byte 0x74000000
.global "@9536_80443168"
"@9536_80443168":
.4byte 0x62746E4C
.4byte 0x5F31305F
.4byte 0x696E4F75
.4byte 0x74000000
.global "@9537"
"@9537":
.4byte 0x62746E4C
.4byte 0x5F31315F
.4byte 0x696E4F75
.4byte 0x74000000
.global "@9538"
"@9538":
.4byte 0x62746E4C
.4byte 0x5F30305F
.4byte 0x70736800
.global "@9539"
"@9539":
.4byte 0x62746E4C
.4byte 0x5F30315F
.4byte 0x70736800
.global "@9540"
"@9540":
.4byte 0x62746E4C
.4byte 0x5F31305F
.4byte 0x70736800
.global "@9541"
"@9541":
.4byte 0x62746E4C
.4byte 0x5F31315F
.4byte 0x70736800
.4byte "@9534"
.4byte "@9535"
.4byte "@9536_80443168"
.4byte "@9537"
.4byte "@9538"
.4byte "@9539"
.4byte "@9540"
.4byte "@9541"
.global "@9542"
"@9542":
.4byte 0x5F636E74
.4byte 0x42746E5F
.4byte 0x696E2E62
.4byte 0x726C616E
.4byte 0
.global "@9543"
"@9543":
.4byte 0x5F636E74
.4byte 0x42746E5F
.4byte 0x7073682E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9544"
"@9544":
.4byte 0x5F636E74
.4byte 0x42746E5F
.4byte 0x6F75742E
.4byte 0x62726C61
.4byte 0x6E000000
.4byte "@9542"
.4byte "@9543"
.4byte "@9544"
.global "@9545"
"@9545":
.4byte 0x5F6C7472
.4byte 0x49636E5F
.4byte 0x6F6E2E62
.4byte 0x726C616E
.4byte 0
.global "@9546_80443234"
"@9546_80443234":
.4byte 0x5F6F7074
.4byte 0x6E5F6261
.4byte 0x725F7073
.4byte 0x682E6272
.4byte 0x6C616E00
.global "@9547_80443248"
"@9547_80443248":
.4byte 0x5F636C6F
.4byte 0x73655F62
.4byte 0x61725F70
.4byte 0x73682E62
.4byte 0x726C616E
.4byte 0
.global "@9548"
"@9548":
.4byte 0x5F686D4D
.4byte 0x656E755F
.4byte 0x6261725F
.4byte 0x696E2E62
.4byte 0x726C616E
.4byte 0
.global "@9549"
"@9549":
.4byte 0x5F686D4D
.4byte 0x656E755F
.4byte 0x6261725F
.4byte 0x7073682E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9550"
"@9550":
.4byte 0x5F6C696E
.4byte 0x6B5F6D73
.4byte 0x675F696E
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9551"
"@9551":
.4byte 0x5F6C696E
.4byte 0x6B5F6D73
.4byte 0x675F6F75
.4byte 0x742E6272
.4byte 0x6C616E00
.global "@9552"
"@9552":
.4byte 0x5F636D6E
.4byte 0x5F6D7367
.4byte 0x5F696E2E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9553"
"@9553":
.4byte 0x5F636D6E
.4byte 0x5F6D7367
.4byte 0x5F6F7574
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9554"
"@9554":
.4byte 0x5F636E74
.4byte 0x726C5F75
.4byte 0x702E6272
.4byte 0x6C616E00
.global "@9555"
"@9555":
.4byte 0x5F636E74
.4byte 0x726C5F77
.4byte 0x6E64775F
.4byte 0x6F706E2E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9556"
"@9556":
.4byte 0x5F636E74
.4byte 0x726C5F64
.4byte 0x776E2E62
.4byte 0x726C616E
.4byte 0
.global "@9557"
"@9557":
.4byte 0x5F686D4D
.4byte 0x656E755F
.4byte 0x6261725F
.4byte 0x6F75742E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9558"
"@9558":
.4byte 0x5F636D6E
.4byte 0x5F6D7367
.4byte 0x5F727472
.4byte 0x6E2E6272
.4byte 0x6C616E00
.global "@9559_80443348"
"@9559_80443348":
.4byte 0x5F313262
.4byte 0x746E5F6F
.4byte 0x6E2E6272
.4byte 0x6C616E00
.4byte "@9545"
.4byte "@9546_80443234"
.4byte "@9547_80443248"
.4byte "@9548"
.4byte "@9549"
.4byte "@9550"
.4byte "@9551"
.4byte "@9552"
.4byte "@9553"
.4byte "@9554"
.4byte "@9555"
.4byte "@9556"
.4byte "@9557"
.4byte "@9558"
.4byte "@9559_80443348"
.global "@9560"
"@9560":
.4byte 0x6C747249
.4byte 0x636E5F6F
.4byte 0x6E000000
.global "@9561"
"@9561":
.4byte 0x6F70746E
.4byte 0x5F626172
.4byte 0x5F707368
.4byte 0
.global "@9562"
"@9562":
.4byte 0x636C6F73
.4byte 0x655F6261
.4byte 0x725F7073
.4byte 0x68000000
.global "@9563_804433C0"
"@9563_804433C0":
.4byte 0x686D4D65
.4byte 0x6E755F62
.4byte 0x61725F69
.4byte 0x6E000000
.global "@9564_804433D0"
"@9564_804433D0":
.4byte 0x686D4D65
.4byte 0x6E755F62
.4byte 0x61725F70
.4byte 0x73680000
.global "@9565"
"@9565":
.4byte 0x6C696E6B
.4byte 0x5F6D7367
.4byte 0x5F696E00
.global "@9566"
"@9566":
.4byte 0x6C696E6B
.4byte 0x5F6D7367
.4byte 0x5F6F7574
.4byte 0
.global "@9567"
"@9567":
.4byte 0x636D6E5F
.4byte 0x6D73675F
.4byte 0x696E0000
.global "@9568"
"@9568":
.4byte 0x636D6E5F
.4byte 0x6D73675F
.4byte 0x6F757400
.global "@9569"
"@9569":
.4byte 0x636E7472
.4byte 0x6C5F7570
.4byte 0
.global "@9570"
"@9570":
.4byte 0x636E7472
.4byte 0x6C5F776E
.4byte 0x64775F6F
.4byte 0x706E0000
.global "@9571"
"@9571":
.4byte 0x636E7472
.4byte 0x6C5F6477
.4byte 0x6E000000
.global "@9572"
"@9572":
.4byte 0x686D4D65
.4byte 0x6E755F62
.4byte 0x61725F6F
.4byte 0x75740000
.global "@9573"
"@9573":
.4byte 0x636D6E5F
.4byte 0x6D73675F
.4byte 0x7274726E
.4byte 0
.global "@9574"
"@9574":
.4byte 0x31326274
.4byte 0x6E5F6F6E
.4byte 0
.4byte "@9560"
.4byte "@9561"
.4byte "@9562"
.4byte "@9563_804433C0"
.4byte "@9564_804433D0"
.4byte "@9565"
.4byte "@9566"
.4byte "@9567"
.4byte "@9568"
.4byte "@9569"
.4byte "@9570"
.4byte "@9571"
.4byte "@9572"
.4byte "@9573"
.4byte "@9574"
.global "@9575"
"@9575":
.4byte 0x5F686D4D
.4byte 0x656E755F
.4byte 0x73747274
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9576"
"@9576":
.4byte 0x5F686D4D
.4byte 0x656E755F
.4byte 0x666E7368
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9577"
"@9577":
.4byte 0x5F6F7074
.4byte 0x6E5F6261
.4byte 0x725F696E
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9578"
"@9578":
.4byte 0x5F6F7074
.4byte 0x6E5F6261
.4byte 0x725F6F75
.4byte 0x742E6272
.4byte 0x6C616E00
.global "@9579"
"@9579":
.4byte 0x5F6F7074
.4byte 0x6E5F6274
.4byte 0x6E5F696E
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9580"
"@9580":
.4byte 0x5F6F7074
.4byte 0x6E5F6274
.4byte 0x6E5F7073
.4byte 0x682E6272
.4byte 0x6C616E00
.global "@9581_8044351C"
"@9581_8044351C":
.4byte 0x5F76625F
.4byte 0x62746E5F
.4byte 0x7768745F
.4byte 0x7073682E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9582"
"@9582":
.4byte 0x5F6F7074
.4byte 0x6E5F6274
.4byte 0x6E5F6F75
.4byte 0x742E6272
.4byte 0x6C616E00
.global "@9583"
"@9583":
.4byte 0x5F76625F
.4byte 0x62746E5F
.4byte 0x796C775F
.4byte 0x7073682E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9584"
"@9584":
.4byte 0x5F736F75
.4byte 0x6E645F67
.4byte 0x72792E62
.4byte 0x726C616E
.4byte 0
.global "@9585"
"@9585":
.4byte 0x5F736F75
.4byte 0x6E645F79
.4byte 0x6C772E62
.4byte 0x726C616E
.4byte 0
.global "@9586"
"@9586":
.4byte 0x5F636D6E
.4byte 0x5F6D7367
.4byte 0x5F62746E
.4byte 0x5F696E2E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9587"
"@9587":
.4byte 0x5F636D6E
.4byte 0x5F6D7367
.4byte 0x5F62746E
.4byte 0x5F6F7574
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9588"
"@9588":
.4byte 0x5F636D6E
.4byte 0x5F6D7367
.4byte 0x5F62746E
.4byte 0x5F707368
.4byte 0x2E62726C
.4byte 0x616E0000
.global "@9589"
"@9589":
.4byte 0x5F76625F
.4byte 0x62746E5F
.4byte 0x796C775F
.4byte 0x796C772E
.4byte 0x62726C61
.4byte 0x6E000000
.global "@9590"
"@9590":
.4byte 0x5F627472
.4byte 0x795F7769
.4byte 0x6E6B2E62
.4byte 0x726C616E
.4byte 0
.4byte 0
.global "@9591"
"@9591":
.4byte 0x5F627472
.4byte 0x795F6772
.4byte 0x792E6272
.4byte 0x6C616E00
.global "@9592"
"@9592":
.4byte 0x5F627472
.4byte 0x795F7768
.4byte 0x742E6272
.4byte 0x6C616E00
.global "@9593"
"@9593":
.4byte 0x5F627472
.4byte 0x795F7769
.4byte 0x6E6B5F67
.4byte 0x72792E62
.4byte 0x726C616E
.4byte 0
.global "@9594"
"@9594":
.4byte 0x5F636C6F
.4byte 0x73655F62
.4byte 0x61725F69
.4byte 0x6E2E6272
.4byte 0x6C616E00
.global "@9595"
"@9595":
.4byte 0x5F636C6F
.4byte 0x73655F62
.4byte 0x61725F6F
.4byte 0x75742E62
.4byte 0x726C616E
.4byte 0
.4byte 0
.global "@9596"
"@9596":
.4byte 0x5F627472
.4byte 0x795F7265
.4byte 0x642E6272
.4byte 0x6C616E00
.4byte "@9575"
.4byte "@9576"
.4byte "@9577"
.4byte "@9578"
.4byte "@9579"
.4byte "@9580"
.4byte "@9581_8044351C"
.4byte "@9582"
.4byte "@9583"
.4byte "@9584"
.4byte "@9585"
.4byte "@9586"
.4byte "@9587"
.4byte "@9588"
.4byte "@9589"
.4byte "@9590"
.4byte "@9591"
.4byte "@9592"
.4byte "@9593"
.4byte "@9594"
.4byte "@9595"
.4byte "@9596"
.global "@9597"
"@9597":
.4byte 0x686D4D65
.4byte 0x6E755F73
.4byte 0x74727400
.global "@9598"
"@9598":
.4byte 0x686D4D65
.4byte 0x6E755F66
.4byte 0x6E736800
.global "@9599"
"@9599":
.4byte 0x686D4D65
.4byte 0x6E754263
.4byte 0x6B5F7374
.4byte 0x72740000
.global "@9600"
"@9600":
.4byte 0x686D4D65
.4byte 0x6E754263
.4byte 0x6B5F666E
.4byte 0x73680000
.global "@9601"
"@9601":
.4byte 0x6F70746E
.4byte 0x5F626172
.4byte 0x5F696E00
.global "@9602"
"@9602":
.4byte 0x6F70746E
.4byte 0x5F626172
.4byte 0x5F6F7574
.4byte 0
.global "@9603"
"@9603":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x30305F69
.4byte 0x6E4F7574
.4byte 0
.global "@9604"
"@9604":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x30315F69
.4byte 0x6E4F7574
.4byte 0
.global "@9605"
"@9605":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x31305F69
.4byte 0x6E4F7574
.4byte 0
.global "@9606"
"@9606":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x31315F69
.4byte 0x6E4F7574
.4byte 0
.global "@9607"
"@9607":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x32305F69
.4byte 0x6E4F7574
.4byte 0
.global "@9608"
"@9608":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x30305F70
.4byte 0x73680000
.global "@9609"
"@9609":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x30315F70
.4byte 0x73680000
.global "@9610"
"@9610":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x31305F70
.4byte 0x73680000
.global "@9611"
"@9611":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x31315F70
.4byte 0x73680000
.global "@9612"
"@9612":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x32305F70
.4byte 0x73680000
.global "@9613"
"@9613":
.4byte 0x6F70746E
.4byte 0x42746E5F
.4byte 0x31305F63
.4byte 0x6E74726C
.4byte 0
.4byte 0
.global "@9614"
"@9614":
.4byte 0x6D736742
.4byte 0x746E5F30
.4byte 0x305F696E
.4byte 0x4F757400
.global "@9615"
"@9615":
.4byte 0x6D736742
.4byte 0x746E5F30
.4byte 0x315F696E
.4byte 0x4F757400
.global "@9616"
"@9616":
.4byte 0x6D736742
.4byte 0x746E5F30
.4byte 0x305F7073
.4byte 0x68000000
.global "@9617"
"@9617":
.4byte 0x6D736742
.4byte 0x746E5F30
.4byte 0x315F7073
.4byte 0x68000000
.global "@9618"
"@9618":
.4byte 0x766F6C5F
.4byte 0x30300000
.global "@9619"
"@9619":
.4byte 0x766F6C5F
.4byte 0x30310000
.global "@9620"
"@9620":
.4byte 0x766F6C5F
.4byte 0x30320000
.global "@9621"
"@9621":
.4byte 0x766F6C5F
.4byte 0x30330000
.global "@9622"
"@9622":
.4byte 0x766F6C5F
.4byte 0x30340000
.global "@9623"
"@9623":
.4byte 0x766F6C5F
.4byte 0x30350000
.global "@9624"
"@9624":
.4byte 0x766F6C5F
.4byte 0x30360000
.global "@9625"
"@9625":
.4byte 0x766F6C5F
.4byte 0x30370000
.global "@9626"
"@9626":
.4byte 0x766F6C5F
.4byte 0x30380000
.global "@9627"
"@9627":
.4byte 0x766F6C5F
.4byte 0x30390000
.global "@9628"
"@9628":
.4byte 0x706C7972
.4byte 0x5F303000
.global "@9629"
"@9629":
.4byte 0x706C7972
.4byte 0x5F303100
.global "@9630"
"@9630":
.4byte 0x706C7972
.4byte 0x5F303200
.global "@9631"
"@9631":
.4byte 0x706C7972
.4byte 0x5F303300
.4byte "@9597"
.4byte "@9598"
.4byte "@9599"
.4byte "@9600"
.4byte "@9601"
.4byte "@9602"
.4byte "@9603"
.4byte "@9604"
.4byte "@9605"
.4byte "@9606"
.4byte "@9607"
.4byte "@9608"
.4byte "@9609"
.4byte "@9610"
.4byte "@9611"
.4byte "@9612"
.4byte "@9613"
.4byte "@9614"
.4byte "@9615"
.4byte "@9616"
.4byte "@9617"
.4byte "@9618"
.4byte "@9619"
.4byte "@9620"
.4byte "@9621"
.4byte "@9622"
.4byte "@9623"
.4byte "@9624"
.4byte "@9625"
.4byte "@9626"
.4byte "@9627"
.4byte "@9628"
.4byte "@9629"
.4byte "@9630"
.4byte "@9631"
.global "@9632"
"@9632":
.4byte 0x6C65745F
.4byte 0x69636E5F
.4byte 0x30300000
.global "@9633"
"@9633":
.4byte 0x4E5F706C
.4byte 0x79725F30
.4byte 0x30000000
.global "@9634"
"@9634":
.4byte 0x4E5F706C
.4byte 0x79725F30
.4byte 0x31000000
.global "@9635"
"@9635":
.4byte 0x4E5F706C
.4byte 0x79725F30
.4byte 0x32000000
.global "@9636"
"@9636":
.4byte 0x4E5F706C
.4byte 0x79725F30
.4byte 0x33000000
.4byte "@9632"
.4byte "@9633"
.4byte "@9634"
.4byte "@9635"
.4byte "@9636"
.global "@9637"
"@9637":
.4byte 0x425F6274
.4byte 0x6E5F3030
.4byte 0
.global "@9638"
"@9638":
.4byte 0x425F6261
.4byte 0x725F3130
.4byte 0
.global "@9639"
"@9639":
.4byte 0x425F6F70
.4byte 0x746E4274
.4byte 0x6E5F3030
.4byte 0
.global "@9640"
"@9640":
.4byte 0x425F6F70
.4byte 0x746E4274
.4byte 0x6E5F3031
.4byte 0
.global "@9641"
"@9641":
.4byte 0x425F6F70
.4byte 0x746E4274
.4byte 0x6E5F3130
.4byte 0
.global "@9642"
"@9642":
.4byte 0x425F6F70
.4byte 0x746E4274
.4byte 0x6E5F3131
.4byte 0
.global "@9643"
"@9643":
.4byte 0x425F6F70
.4byte 0x746E4274
.4byte 0x6E5F3230
.4byte 0
.global "@9644"
"@9644":
.4byte 0x425F4274
.4byte 0x6E410000
.global "@9645"
"@9645":
.4byte 0x425F4274
.4byte 0x6E420000
.global "@9646"
"@9646":
.4byte 0x636E7472
.4byte 0x6C5F3030
.4byte 0
.global scFuncTouchPaneName__Q210homebutton10HomeButton
scFuncTouchPaneName__Q210homebutton10HomeButton:
.4byte "@9637"
.4byte "@9638"
.4byte "@9639"
.4byte "@9640"
.4byte "@9641"
.4byte "@9642"
.4byte "@9643"
.4byte "@9644"
.4byte "@9645"
.4byte "@9646"
.global "@9647"
"@9647":
.4byte 0x545F6D73
.4byte 0x675F3030
.4byte 0
.global "@9648"
"@9648":
.4byte 0x545F6D73
.4byte 0x675F3031
.4byte 0
.global "@9649"
"@9649":
.4byte 0x545F4469
.4byte 0x616C6F67
.4byte 0
.4byte "@9647"
.4byte "@9648"
.4byte "@9649"
.global "@9650"
"@9650":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30305F30
.4byte 0
.global "@9651"
"@9651":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30305F31
.4byte 0
.global "@9652"
"@9652":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30305F32
.4byte 0
.global "@9653"
"@9653":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30305F33
.4byte 0
.global "@9654"
"@9654":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30315F30
.4byte 0
.global "@9655"
"@9655":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30315F31
.4byte 0
.global "@9656"
"@9656":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30315F32
.4byte 0
.global "@9657"
"@9657":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30315F33
.4byte 0
.global "@9658"
"@9658":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30325F30
.4byte 0
.global "@9659"
"@9659":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30325F31
.4byte 0
.global "@9660"
"@9660":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30325F32
.4byte 0
.global "@9661"
"@9661":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30325F33
.4byte 0
.global "@9662"
"@9662":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30335F30
.4byte 0
.global "@9663"
"@9663":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30335F31
.4byte 0
.global "@9664_80443B38"
"@9664_80443B38":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30335F32
.4byte 0
.global "@9665"
"@9665":
.4byte 0x62747279
.4byte 0x5077725F
.4byte 0x30335F33
.4byte 0
.global scBatteryPaneName__Q210homebutton10HomeButton
scBatteryPaneName__Q210homebutton10HomeButton:
.4byte "@9650"
.4byte "@9651"
.4byte "@9652"
.4byte "@9653"
.4byte "@9654"
.4byte "@9655"
.4byte "@9656"
.4byte "@9657"
.4byte "@9658"
.4byte "@9659"
.4byte "@9660"
.4byte "@9661"
.4byte "@9662"
.4byte "@9663"
.4byte "@9664_80443B38"
.4byte "@9665"
.4byte 0x61726300
.4byte 0
.4byte 0x6261636B
.4byte 0x5F303000
.4byte 0x6261636B
.4byte 0x5F303100
.4byte 0x6261636B
.4byte 0x5F303200
.4byte 0x6261725F
.4byte 0x6C696E65
.4byte 0x5F303000
.4byte 0x6261725F
.4byte 0x6C696E65
.4byte 0x5F313000
.4byte 0x4E5F636E
.4byte 0x74726C5F
.4byte 0x30310000
.global "@16254"
"@16254":
.4byte 0x6261725F
.4byte 0x30300000
.4byte 0x6261725F
.4byte 0x31300000
.global "@17003"
"@17003":
.4byte lbl_8012E23C
.4byte lbl_8012E420
.4byte lbl_8012FA44
.4byte lbl_8012E690
.4byte lbl_8012E788
.4byte lbl_8012E8A4
.4byte lbl_8012E8A4
.4byte lbl_8012EB70
.4byte lbl_8012EC34
.4byte lbl_8012EDEC
.4byte lbl_8012EE40
.4byte lbl_8012EF64
.4byte lbl_8012EFA8
.4byte lbl_8012EFE0
.4byte lbl_8012F0D8
.4byte lbl_8012F26C
.4byte lbl_8012F2F0
.4byte lbl_8012F3A8
.4byte lbl_8012F62C
.4byte lbl_8012F638
.global "@17952"
"@17952":
.4byte lbl_80131B54
.4byte lbl_80131C14
.4byte lbl_801321C8
.4byte lbl_80132298
.4byte lbl_80132368
.4byte lbl_80132438
.4byte lbl_80132508
.4byte lbl_801325D8
.4byte lbl_801326A8
.4byte lbl_80131C14
.global "@18150"
"@18150":
.4byte lbl_801329A4
.4byte lbl_80132A18
.4byte lbl_80132F4C
.4byte lbl_80132FD4
.4byte lbl_8013305C
.4byte lbl_801330E4
.4byte lbl_8013316C
.4byte lbl_801331F4
.4byte lbl_8013327C
.4byte lbl_80132A18
.global "@18596"
"@18596":
.4byte lbl_80133610
.4byte lbl_801336A4
.4byte lbl_80133828
.4byte lbl_80133AF4
.4byte lbl_80133DC4
.4byte lbl_80133FF8
.4byte lbl_80134184
.4byte lbl_80134344
.4byte lbl_801344B0
.4byte lbl_801336A4
.4byte 0
.global __vt__Q210homebutton22HomeButtonEventHandler
__vt__Q210homebutton22HomeButtonEventHandler:
.4byte __RTTI__Q210homebutton22HomeButtonEventHandler
.4byte 0
.4byte onEvent__Q210homebutton22HomeButtonEventHandlerFUlUlPv
.4byte setManager__Q310homebutton3gui12EventHandlerFPQ310homebutton3gui7Manager
.global "@11453"
"@11453":
.4byte 0x686F6D65
.4byte 0x62757474
.4byte 0x6F6E3A3A
.4byte 0x486F6D65
.4byte 0x42757474
.4byte 0x6F6E4576
.4byte 0x656E7448
.4byte 0x616E646C
.4byte 0x65720000
.global "@11454"
"@11454":
.4byte __RTTI__Q310homebutton3gui12EventHandler
.4byte 0
.4byte 0
.global __RTTI__Q210homebutton22HomeButtonEventHandler
__RTTI__Q210homebutton22HomeButtonEventHandler:
.4byte "@11453"
.4byte "@11454"
.4byte __RTTI__Q310homebutton3gui12EventHandler
.4byte 0
.4byte onEvent__Q310homebutton3gui12EventHandlerFUlUlPv
.4byte setManager__Q310homebutton3gui12EventHandlerFPQ310homebutton3gui7Manager
.global "@11456"
"@11456":
.4byte 0x686F6D65
.4byte 0x62757474
.4byte 0x6F6E3A3A
.4byte 0x6775693A
.4byte 0x3A457665
.4byte 0x6E744861
.4byte 0x6E646C65
.4byte 0x72000000
.global __RTTI__Q310homebutton3gui12EventHandler
__RTTI__Q310homebutton3gui12EventHandler:
.4byte "@11456"
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0x686F6D65
.4byte 0x62757474
.4byte 0x6F6E3A3A
.4byte 0x6775693A
.4byte 0x3A496E74
.4byte 0x65726661
.4byte 0x63650000
.4byte 0
.4byte 0
.4byte 0
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global spHomeButtonObj__Q210homebutton10HomeButton
spHomeButtonObj__Q210homebutton10HomeButton:
.skip 0x8
.global sMutex__Q210homebutton10HomeButton
sMutex__Q210homebutton10HomeButton:
.skip 0x18
.global sWpadInfo__Q210homebutton10HomeButton
sWpadInfo__Q210homebutton10HomeButton:
.skip 0x60