donut-decomp/asm/libMobiclip/MoSdkHeaders.s

1015 lines
42 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global MOAllocateImage__FUlUl
MOAllocateImage__FUlUl:
/* 801527A0 0014E5E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801527A4 0014E5E4 7C 08 02 A6 */ mflr r0
/* 801527A8 0014E5E8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801527AC 0014E5EC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801527B0 0014E5F0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801527B4 0014E5F4 7F C3 21 D6 */ mullw r30, r3, r4
/* 801527B8 0014E5F8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801527BC 0014E5FC 7C 9D 23 78 */ mr r29, r4
/* 801527C0 0014E600 93 81 00 10 */ stw r28, 0x10(r1)
/* 801527C4 0014E604 7C 7C 1B 78 */ mr r28, r3
/* 801527C8 0014E608 38 60 00 34 */ li r3, 0x34
/* 801527CC 0014E60C 48 00 0F 55 */ bl MOiAlloc__FUi
/* 801527D0 0014E610 2C 03 00 00 */ cmpwi r3, 0x0
/* 801527D4 0014E614 7C 7F 1B 78 */ mr r31, r3
/* 801527D8 0014E618 40 82 00 0C */ bne lbl_801527E4
/* 801527DC 0014E61C 38 60 00 00 */ li r3, 0x0
/* 801527E0 0014E620 48 00 00 60 */ b lbl_80152840
.global lbl_801527E4
lbl_801527E4:
/* 801527E4 0014E624 57 C0 10 3A */ slwi r0, r30, 2
/* 801527E8 0014E628 7C 1E 00 50 */ subf r0, r30, r0
/* 801527EC 0014E62C 54 03 F8 7E */ srwi r3, r0, 1
/* 801527F0 0014E630 48 00 0F 31 */ bl MOiAlloc__FUi
/* 801527F4 0014E634 2C 03 00 00 */ cmpwi r3, 0x0
/* 801527F8 0014E638 90 7F 00 00 */ stw r3, 0x0(r31)
/* 801527FC 0014E63C 40 82 00 14 */ bne lbl_80152810
/* 80152800 0014E640 7F E3 FB 78 */ mr r3, r31
/* 80152804 0014E644 48 00 0F CD */ bl MOiFree__FPv
/* 80152808 0014E648 38 60 00 00 */ li r3, 0x0
/* 8015280C 0014E64C 48 00 00 34 */ b lbl_80152840
.global lbl_80152810
lbl_80152810:
/* 80152810 0014E650 7C 63 F2 14 */ add r3, r3, r30
/* 80152814 0014E654 90 7F 00 04 */ stw r3, 0x4(r31)
/* 80152818 0014E658 57 C0 F0 BE */ srwi r0, r30, 2
/* 8015281C 0014E65C 57 84 F8 7E */ srwi r4, r28, 1
/* 80152820 0014E660 7C 03 02 14 */ add r0, r3, r0
/* 80152824 0014E664 90 1F 00 08 */ stw r0, 0x8(r31)
/* 80152828 0014E668 7F E3 FB 78 */ mr r3, r31
/* 8015282C 0014E66C 93 9F 00 0C */ stw r28, 0xc(r31)
/* 80152830 0014E670 90 9F 00 10 */ stw r4, 0x10(r31)
/* 80152834 0014E674 90 9F 00 14 */ stw r4, 0x14(r31)
/* 80152838 0014E678 93 9F 00 20 */ stw r28, 0x20(r31)
/* 8015283C 0014E67C 93 BF 00 24 */ stw r29, 0x24(r31)
.global lbl_80152840
lbl_80152840:
/* 80152840 0014E680 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80152844 0014E684 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80152848 0014E688 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015284C 0014E68C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80152850 0014E690 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80152854 0014E694 7C 08 03 A6 */ mtlr r0
/* 80152858 0014E698 38 21 00 20 */ addi r1, r1, 0x20
/* 8015285C 0014E69C 4E 80 00 20 */ blr
.global MoDeallocateImage__FP10MoSdkImage
MoDeallocateImage__FP10MoSdkImage:
/* 80152860 0014E6A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80152864 0014E6A4 7C 08 02 A6 */ mflr r0
/* 80152868 0014E6A8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8015286C 0014E6AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80152870 0014E6B0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80152874 0014E6B4 7C 7F 1B 78 */ mr r31, r3
/* 80152878 0014E6B8 41 82 00 14 */ beq lbl_8015288C
/* 8015287C 0014E6BC 80 63 00 00 */ lwz r3, 0x0(r3)
/* 80152880 0014E6C0 48 00 0F 51 */ bl MOiFree__FPv
/* 80152884 0014E6C4 7F E3 FB 78 */ mr r3, r31
/* 80152888 0014E6C8 48 00 0F 49 */ bl MOiFree__FPv
.global lbl_8015288C
lbl_8015288C:
/* 8015288C 0014E6CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80152890 0014E6D0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80152894 0014E6D4 7C 08 03 A6 */ mtlr r0
/* 80152898 0014E6D8 38 21 00 10 */ addi r1, r1, 0x10
/* 8015289C 0014E6DC 4E 80 00 20 */ blr
.global readingHeaderLoop__5MoSdkFv
readingHeaderLoop__5MoSdkFv:
/* 801528A0 0014E6E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801528A4 0014E6E4 7C 08 02 A6 */ mflr r0
/* 801528A8 0014E6E8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801528AC 0014E6EC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801528B0 0014E6F0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801528B4 0014E6F4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801528B8 0014E6F8 93 81 00 10 */ stw r28, 0x10(r1)
/* 801528BC 0014E6FC 7C 7C 1B 78 */ mr r28, r3
/* 801528C0 0014E700 80 03 00 00 */ lwz r0, 0x0(r3)
/* 801528C4 0014E704 2C 00 FF FF */ cmpwi r0, -0x1
/* 801528C8 0014E708 40 82 00 08 */ bne lbl_801528D0
/* 801528CC 0014E70C 48 00 01 05 */ bl ReadingHeader__5MoSdkFv
.global lbl_801528D0
lbl_801528D0:
/* 801528D0 0014E710 3F A0 80 45 */ lis r29, "@3024"@ha
/* 801528D4 0014E714 3B E0 00 08 */ li r31, 0x8
/* 801528D8 0014E718 3B C0 00 07 */ li r30, 0x7
/* 801528DC 0014E71C 48 00 00 74 */ b lbl_80152950
.global lbl_801528E0
lbl_801528E0:
/* 801528E0 0014E720 80 7C 00 10 */ lwz r3, 0x10(r28)
/* 801528E4 0014E724 80 9C 00 00 */ lwz r4, 0x0(r28)
/* 801528E8 0014E728 48 00 0C F9 */ bl needBytes__10MoSdkInputFUl
/* 801528EC 0014E72C 2C 03 00 00 */ cmpwi r3, 0x0
/* 801528F0 0014E730 41 82 00 60 */ beq lbl_80152950
/* 801528F4 0014E734 80 7C 00 10 */ lwz r3, 0x10(r28)
/* 801528F8 0014E738 48 00 0C 59 */ bl availableBytes__10MoSdkInputFv
/* 801528FC 0014E73C 80 1C 00 00 */ lwz r0, 0x0(r28)
/* 80152900 0014E740 7C 03 00 40 */ cmplw r3, r0
/* 80152904 0014E744 40 80 00 28 */ bge lbl_8015292C
/* 80152908 0014E748 80 7C 00 10 */ lwz r3, 0x10(r28)
/* 8015290C 0014E74C 48 00 0C 45 */ bl availableBytes__10MoSdkInputFv
/* 80152910 0014E750 80 BC 00 00 */ lwz r5, 0x0(r28)
/* 80152914 0014E754 7C 66 1B 78 */ mr r6, r3
/* 80152918 0014E758 7F 83 E3 78 */ mr r3, r28
/* 8015291C 0014E75C 38 9D 82 D8 */ addi r4, r29, "@3024"@l
/* 80152920 0014E760 4C C6 31 82 */ crclr 4*cr1+eq
/* 80152924 0014E764 4B FF D0 5D */ bl MoLog
/* 80152928 0014E768 48 00 00 28 */ b lbl_80152950
.global lbl_8015292C
lbl_8015292C:
/* 8015292C 0014E76C 7F 83 E3 78 */ mr r3, r28
/* 80152930 0014E770 48 00 00 A1 */ bl ReadingHeader__5MoSdkFv
/* 80152934 0014E774 2C 03 FF FB */ cmpwi r3, -0x5
/* 80152938 0014E778 40 82 00 0C */ bne lbl_80152944
/* 8015293C 0014E77C 93 DC 00 0C */ stw r30, 0xc(r28)
/* 80152940 0014E780 48 00 00 10 */ b lbl_80152950
.global lbl_80152944
lbl_80152944:
/* 80152944 0014E784 2C 03 FF FF */ cmpwi r3, -0x1
/* 80152948 0014E788 40 82 00 08 */ bne lbl_80152950
/* 8015294C 0014E78C 93 FC 00 0C */ stw r31, 0xc(r28)
.global lbl_80152950
lbl_80152950:
/* 80152950 0014E790 80 1C 00 0C */ lwz r0, 0xc(r28)
/* 80152954 0014E794 2C 00 00 03 */ cmpwi r0, 0x3
/* 80152958 0014E798 41 82 FF 88 */ beq lbl_801528E0
/* 8015295C 0014E79C 2C 00 00 08 */ cmpwi r0, 0x8
/* 80152960 0014E7A0 41 82 00 18 */ beq lbl_80152978
/* 80152964 0014E7A4 2C 00 00 07 */ cmpwi r0, 0x7
/* 80152968 0014E7A8 41 82 00 18 */ beq lbl_80152980
/* 8015296C 0014E7AC 2C 00 00 04 */ cmpwi r0, 0x4
/* 80152970 0014E7B0 41 82 00 18 */ beq lbl_80152988
/* 80152974 0014E7B4 48 00 00 1C */ b lbl_80152990
.global lbl_80152978
lbl_80152978:
/* 80152978 0014E7B8 38 60 00 04 */ li r3, 0x4
/* 8015297C 0014E7BC 48 00 00 2C */ b lbl_801529A8
.global lbl_80152980
lbl_80152980:
/* 80152980 0014E7C0 38 60 00 06 */ li r3, 0x6
/* 80152984 0014E7C4 48 00 00 24 */ b lbl_801529A8
.global lbl_80152988
lbl_80152988:
/* 80152988 0014E7C8 38 60 00 02 */ li r3, 0x2
/* 8015298C 0014E7CC 48 00 00 1C */ b lbl_801529A8
.global lbl_80152990
lbl_80152990:
/* 80152990 0014E7D0 3C 80 80 45 */ lis r4, "@3025"@ha
/* 80152994 0014E7D4 7F 83 E3 78 */ mr r3, r28
/* 80152998 0014E7D8 38 84 83 08 */ addi r4, r4, "@3025"@l
/* 8015299C 0014E7DC 4C C6 31 82 */ crclr 4*cr1+eq
/* 801529A0 0014E7E0 4B FF CF E1 */ bl MoLog
/* 801529A4 0014E7E4 38 60 00 04 */ li r3, 0x4
.global lbl_801529A8
lbl_801529A8:
/* 801529A8 0014E7E8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801529AC 0014E7EC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801529B0 0014E7F0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801529B4 0014E7F4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801529B8 0014E7F8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 801529BC 0014E7FC 7C 08 03 A6 */ mtlr r0
/* 801529C0 0014E800 38 21 00 20 */ addi r1, r1, 0x20
/* 801529C4 0014E804 4E 80 00 20 */ blr
/* 801529C8 0014E808 00 00 00 00 */ .4byte 0x00000000
/* 801529CC 0014E80C 00 00 00 00 */ .4byte 0x00000000
.global ReadingHeader__5MoSdkFv
ReadingHeader__5MoSdkFv:
/* 801529D0 0014E810 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 801529D4 0014E814 7C 08 02 A6 */ mflr r0
/* 801529D8 0014E818 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 801529DC 0014E81C 39 61 00 E0 */ addi r11, r1, 0xe0
/* 801529E0 0014E820 4B EB 49 49 */ bl lbl_80007328
/* 801529E4 0014E824 80 83 00 04 */ lwz r4, 0x4(r3)
/* 801529E8 0014E828 3E C0 80 45 */ lis r22, "@3024"@ha
/* 801529EC 0014E82C 7C 7F 1B 78 */ mr r31, r3
/* 801529F0 0014E830 2C 04 4D 41 */ cmpwi r4, 0x4d41
/* 801529F4 0014E834 3A D6 82 D8 */ addi r22, r22, "@3024"@l
/* 801529F8 0014E838 41 82 02 B8 */ beq lbl_80152CB0
/* 801529FC 0014E83C 40 80 00 94 */ bge lbl_80152A90
/* 80152A00 0014E840 2C 04 39 41 */ cmpwi r4, 0x3941
/* 80152A04 0014E844 41 82 02 AC */ beq lbl_80152CB0
/* 80152A08 0014E848 40 80 00 4C */ bge lbl_80152A54
/* 80152A0C 0014E84C 2C 04 32 56 */ cmpwi r4, 0x3256
/* 80152A10 0014E850 41 82 01 F4 */ beq lbl_80152C04
/* 80152A14 0014E854 40 80 00 28 */ bge lbl_80152A3C
/* 80152A18 0014E858 2C 04 00 00 */ cmpwi r4, 0x0
/* 80152A1C 0014E85C 41 82 01 18 */ beq lbl_80152B34
/* 80152A20 0014E860 40 80 00 10 */ bge lbl_80152A30
/* 80152A24 0014E864 2C 04 FF FF */ cmpwi r4, -0x1
/* 80152A28 0014E868 40 80 00 F4 */ bge lbl_80152B1C
/* 80152A2C 0014E86C 48 00 04 E8 */ b lbl_80152F14
.global lbl_80152A30
lbl_80152A30:
/* 80152A30 0014E870 2C 04 32 41 */ cmpwi r4, 0x3241
/* 80152A34 0014E874 41 82 02 7C */ beq lbl_80152CB0
/* 80152A38 0014E878 48 00 04 DC */ b lbl_80152F14
.global lbl_80152A3C
lbl_80152A3C:
/* 80152A3C 0014E87C 2C 04 38 41 */ cmpwi r4, 0x3841
/* 80152A40 0014E880 41 82 02 70 */ beq lbl_80152CB0
/* 80152A44 0014E884 40 80 04 D0 */ bge lbl_80152F14
/* 80152A48 0014E888 2C 04 33 41 */ cmpwi r4, 0x3341
/* 80152A4C 0014E88C 41 82 02 64 */ beq lbl_80152CB0
/* 80152A50 0014E890 48 00 04 C4 */ b lbl_80152F14
.global lbl_80152A54
lbl_80152A54:
/* 80152A54 0014E894 2C 04 49 4B */ cmpwi r4, 0x494b
/* 80152A58 0014E898 41 82 02 6C */ beq lbl_80152CC4
/* 80152A5C 0014E89C 40 80 00 1C */ bge lbl_80152A78
/* 80152A60 0014E8A0 2C 04 46 56 */ cmpwi r4, 0x4656
/* 80152A64 0014E8A4 41 82 04 A8 */ beq lbl_80152F0C
/* 80152A68 0014E8A8 40 80 04 AC */ bge lbl_80152F14
/* 80152A6C 0014E8AC 2C 04 45 48 */ cmpwi r4, 0x4548
/* 80152A70 0014E8B0 41 82 02 C8 */ beq lbl_80152D38
/* 80152A74 0014E8B4 48 00 04 A0 */ b lbl_80152F14
.global lbl_80152A78
lbl_80152A78:
/* 80152A78 0014E8B8 2C 04 4C 54 */ cmpwi r4, 0x4c54
/* 80152A7C 0014E8BC 41 82 01 08 */ beq lbl_80152B84
/* 80152A80 0014E8C0 40 80 04 94 */ bge lbl_80152F14
/* 80152A84 0014E8C4 2C 04 4C 4D */ cmpwi r4, 0x4c4d
/* 80152A88 0014E8C8 41 82 04 84 */ beq lbl_80152F0C
/* 80152A8C 0014E8CC 48 00 04 88 */ b lbl_80152F14
.global lbl_80152A90
lbl_80152A90:
/* 80152A90 0014E8D0 2C 04 63 70 */ cmpwi r4, 0x6370
/* 80152A94 0014E8D4 41 82 03 0C */ beq lbl_80152DA0
/* 80152A98 0014E8D8 40 80 00 40 */ bge lbl_80152AD8
/* 80152A9C 0014E8DC 2C 04 50 43 */ cmpwi r4, 0x5043
/* 80152AA0 0014E8E0 41 82 04 6C */ beq lbl_80152F0C
/* 80152AA4 0014E8E4 40 80 00 1C */ bge lbl_80152AC0
/* 80152AA8 0014E8E8 2C 04 50 41 */ cmpwi r4, 0x5041
/* 80152AAC 0014E8EC 41 82 02 04 */ beq lbl_80152CB0
/* 80152AB0 0014E8F0 40 80 04 64 */ bge lbl_80152F14
/* 80152AB4 0014E8F4 2C 04 4E 43 */ cmpwi r4, 0x4e43
/* 80152AB8 0014E8F8 41 82 04 54 */ beq lbl_80152F0C
/* 80152ABC 0014E8FC 48 00 04 58 */ b lbl_80152F14
.global lbl_80152AC0
lbl_80152AC0:
/* 80152AC0 0014E900 2C 04 56 41 */ cmpwi r4, 0x5641
/* 80152AC4 0014E904 41 82 01 EC */ beq lbl_80152CB0
/* 80152AC8 0014E908 40 80 04 4C */ bge lbl_80152F14
/* 80152ACC 0014E90C 2C 04 50 46 */ cmpwi r4, 0x5046
/* 80152AD0 0014E910 41 82 04 3C */ beq lbl_80152F0C
/* 80152AD4 0014E914 48 00 04 40 */ b lbl_80152F14
.global lbl_80152AD8
lbl_80152AD8:
/* 80152AD8 0014E918 2C 04 6C 73 */ cmpwi r4, 0x6c73
/* 80152ADC 0014E91C 41 82 04 30 */ beq lbl_80152F0C
/* 80152AE0 0014E920 40 80 00 1C */ bge lbl_80152AFC
/* 80152AE4 0014E924 2C 04 69 6F */ cmpwi r4, 0x696f
/* 80152AE8 0014E928 41 82 04 24 */ beq lbl_80152F0C
/* 80152AEC 0014E92C 40 80 04 28 */ bge lbl_80152F14
/* 80152AF0 0014E930 2C 04 63 75 */ cmpwi r4, 0x6375
/* 80152AF4 0014E934 41 82 04 18 */ beq lbl_80152F0C
/* 80152AF8 0014E938 48 00 04 1C */ b lbl_80152F14
.global lbl_80152AFC
lbl_80152AFC:
/* 80152AFC 0014E93C 3C A0 00 01 */ lis r5, 0x1
/* 80152B00 0014E940 38 05 FF 00 */ addi r0, r5, -0x100
/* 80152B04 0014E944 7C 04 00 00 */ cmpw r4, r0
/* 80152B08 0014E948 41 82 02 4C */ beq lbl_80152D54
/* 80152B0C 0014E94C 40 80 04 08 */ bge lbl_80152F14
/* 80152B10 0014E950 2C 04 6D 6F */ cmpwi r4, 0x6d6f
/* 80152B14 0014E954 41 82 03 F8 */ beq lbl_80152F0C
/* 80152B18 0014E958 48 00 03 FC */ b lbl_80152F14
.global lbl_80152B1C
lbl_80152B1C:
/* 80152B1C 0014E95C 38 80 00 0C */ li r4, 0xc
/* 80152B20 0014E960 38 00 00 00 */ li r0, 0x0
/* 80152B24 0014E964 90 83 00 00 */ stw r4, 0x0(r3)
/* 80152B28 0014E968 90 03 00 04 */ stw r0, 0x4(r3)
/* 80152B2C 0014E96C 38 60 00 00 */ li r3, 0x0
/* 80152B30 0014E970 48 00 04 18 */ b lbl_80152F48
.global lbl_80152B34
lbl_80152B34:
/* 80152B34 0014E974 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80152B38 0014E978 38 81 00 08 */ addi r4, r1, 0x8
/* 80152B3C 0014E97C 38 A0 00 04 */ li r5, 0x4
/* 80152B40 0014E980 48 00 09 71 */ bl read__10MoSdkInputFPUcUl
/* 80152B44 0014E984 38 61 00 08 */ addi r3, r1, 0x8
/* 80152B48 0014E988 38 8D 86 C0 */ addi r4, r13, "@3098"@sda21
/* 80152B4C 0014E98C 38 A0 00 04 */ li r5, 0x4
/* 80152B50 0014E990 4B EB 83 21 */ bl memcmp
/* 80152B54 0014E994 2C 03 00 00 */ cmpwi r3, 0x0
/* 80152B58 0014E998 41 82 00 18 */ beq lbl_80152B70
/* 80152B5C 0014E99C 7F E3 FB 78 */ mr r3, r31
/* 80152B60 0014E9A0 38 80 00 08 */ li r4, 0x8
/* 80152B64 0014E9A4 4B FF EE 6D */ bl setState__5MoSdkF9SDK_State
/* 80152B68 0014E9A8 38 60 FF FF */ li r3, -0x1
/* 80152B6C 0014E9AC 48 00 03 DC */ b lbl_80152F48
.global lbl_80152B70
lbl_80152B70:
/* 80152B70 0014E9B0 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152B74 0014E9B4 38 81 00 08 */ addi r4, r1, 0x8
/* 80152B78 0014E9B8 38 A0 00 04 */ li r5, 0x4
/* 80152B7C 0014E9BC 48 00 09 35 */ bl read__10MoSdkInputFPUcUl
/* 80152B80 0014E9C0 48 00 03 A4 */ b lbl_80152F24
.global lbl_80152B84
lbl_80152B84:
/* 80152B84 0014E9C4 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80152B88 0014E9C8 48 00 07 89 */ bl read32__10MoSdkInputFv
/* 80152B8C 0014E9CC 90 7F 00 34 */ stw r3, 0x34(r31)
/* 80152B90 0014E9D0 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152B94 0014E9D4 48 00 07 7D */ bl read32__10MoSdkInputFv
/* 80152B98 0014E9D8 90 7F 00 3C */ stw r3, 0x3c(r31)
/* 80152B9C 0014E9DC 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152BA0 0014E9E0 48 00 07 71 */ bl read32__10MoSdkInputFv
/* 80152BA4 0014E9E4 80 9F 00 34 */ lwz r4, 0x34(r31)
/* 80152BA8 0014E9E8 3C 00 43 30 */ lis r0, 0x4330
/* 80152BAC 0014E9EC 90 81 00 B4 */ stw r4, 0xb4(r1)
/* 80152BB0 0014E9F0 38 96 00 5C */ addi r4, r22, 0x5c
/* 80152BB4 0014E9F4 C8 42 96 18 */ lfd f2, "@3105_8055F598"@sda21(r2)
/* 80152BB8 0014E9F8 90 01 00 B0 */ stw r0, 0xb0(r1)
/* 80152BBC 0014E9FC C8 02 96 10 */ lfd f0, "@3100"@sda21(r2)
/* 80152BC0 0014EA00 C8 21 00 B0 */ lfd f1, 0xb0(r1)
/* 80152BC4 0014EA04 90 7F 00 40 */ stw r3, 0x40(r31)
/* 80152BC8 0014EA08 7F E3 FB 78 */ mr r3, r31
/* 80152BCC 0014EA0C EC 21 10 28 */ fsubs f1, f1, f2
/* 80152BD0 0014EA10 80 BF 00 3C */ lwz r5, 0x3c(r31)
/* 80152BD4 0014EA14 FC 21 00 32 */ fmul f1, f1, f0
/* 80152BD8 0014EA18 4C C6 32 42 */ crset 4*cr1+eq
/* 80152BDC 0014EA1C 4B FF CD A5 */ bl MoLog
/* 80152BE0 0014EA20 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 80152BE4 0014EA24 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152BE8 0014EA28 38 84 FF F0 */ addi r4, r4, -0x10
/* 80152BEC 0014EA2C 48 00 08 45 */ bl skipBytes__10MoSdkInputFUl
/* 80152BF0 0014EA30 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 80152BF4 0014EA34 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152BF8 0014EA38 54 04 08 3C */ slwi r4, r0, 1
/* 80152BFC 0014EA3C 48 00 09 65 */ bl rescaleBuffer__10MoSdkInputFUl
/* 80152C00 0014EA40 48 00 03 24 */ b lbl_80152F24
.global lbl_80152C04
lbl_80152C04:
/* 80152C04 0014EA44 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80152C08 0014EA48 48 00 07 09 */ bl read32__10MoSdkInputFv
/* 80152C0C 0014EA4C 90 7F 00 28 */ stw r3, 0x28(r31)
/* 80152C10 0014EA50 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152C14 0014EA54 48 00 06 FD */ bl read32__10MoSdkInputFv
/* 80152C18 0014EA58 7C 64 1B 78 */ mr r4, r3
/* 80152C1C 0014EA5C 90 7F 00 2C */ stw r3, 0x2c(r31)
/* 80152C20 0014EA60 80 7F 00 28 */ lwz r3, 0x28(r31)
/* 80152C24 0014EA64 4B FF FB 7D */ bl MOAllocateImage__FUlUl
/* 80152C28 0014EA68 2C 03 00 00 */ cmpwi r3, 0x0
/* 80152C2C 0014EA6C 90 7F 01 08 */ stw r3, 0x108(r31)
/* 80152C30 0014EA70 40 82 00 0C */ bne lbl_80152C3C
/* 80152C34 0014EA74 38 60 FF FB */ li r3, -0x5
/* 80152C38 0014EA78 48 00 03 10 */ b lbl_80152F48
.global lbl_80152C3C
lbl_80152C3C:
/* 80152C3C 0014EA7C 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 80152C40 0014EA80 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152C44 0014EA84 38 84 FF F4 */ addi r4, r4, -0xc
/* 80152C48 0014EA88 48 00 07 E9 */ bl skipBytes__10MoSdkInputFUl
/* 80152C4C 0014EA8C 80 BF 00 28 */ lwz r5, 0x28(r31)
/* 80152C50 0014EA90 7F E3 FB 78 */ mr r3, r31
/* 80152C54 0014EA94 80 DF 00 2C */ lwz r6, 0x2c(r31)
/* 80152C58 0014EA98 38 96 00 80 */ addi r4, r22, 0x80
/* 80152C5C 0014EA9C 4C C6 31 82 */ crclr 4*cr1+eq
/* 80152C60 0014EAA0 4B FF CD 21 */ bl MoLog
/* 80152C64 0014EAA4 38 60 0F B8 */ li r3, 0xfb8
/* 80152C68 0014EAA8 4B FF E2 C9 */ bl __nw__5MoSdkFUl
/* 80152C6C 0014EAAC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80152C70 0014EAB0 41 82 00 0C */ beq lbl_80152C7C
/* 80152C74 0014EAB4 7F E4 FB 78 */ mr r4, r31
/* 80152C78 0014EAB8 48 00 12 99 */ bl __ct__17MoSdkVideoDecoderFPv
.global lbl_80152C7C
lbl_80152C7C:
/* 80152C7C 0014EABC 2C 03 00 00 */ cmpwi r3, 0x0
/* 80152C80 0014EAC0 90 7F 00 5C */ stw r3, 0x5c(r31)
/* 80152C84 0014EAC4 40 82 00 0C */ bne lbl_80152C90
/* 80152C88 0014EAC8 38 60 FF FB */ li r3, -0x5
/* 80152C8C 0014EACC 48 00 02 BC */ b lbl_80152F48
.global lbl_80152C90
lbl_80152C90:
/* 80152C90 0014EAD0 80 9F 00 28 */ lwz r4, 0x28(r31)
/* 80152C94 0014EAD4 38 C0 00 06 */ li r6, 0x6
/* 80152C98 0014EAD8 80 BF 00 2C */ lwz r5, 0x2c(r31)
/* 80152C9C 0014EADC 48 00 13 15 */ bl initCodec__17MoSdkVideoDecoderFUlUlUl
/* 80152CA0 0014EAE0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80152CA4 0014EAE4 40 82 02 80 */ bne lbl_80152F24
/* 80152CA8 0014EAE8 38 60 FF FB */ li r3, -0x5
/* 80152CAC 0014EAEC 48 00 02 9C */ b lbl_80152F48
.global lbl_80152CB0
lbl_80152CB0:
/* 80152CB0 0014EAF0 7F E3 FB 78 */ mr r3, r31
/* 80152CB4 0014EAF4 48 00 02 AD */ bl ReadingAudioHeaders__5MoSdkFl
/* 80152CB8 0014EAF8 2C 03 00 00 */ cmpwi r3, 0x0
/* 80152CBC 0014EAFC 41 82 02 68 */ beq lbl_80152F24
/* 80152CC0 0014EB00 48 00 02 88 */ b lbl_80152F48
.global lbl_80152CC4
lbl_80152CC4:
/* 80152CC4 0014EB04 80 A3 00 00 */ lwz r5, 0x0(r3)
/* 80152CC8 0014EB08 38 96 00 90 */ addi r4, r22, 0x90
/* 80152CCC 0014EB0C 38 05 FF FC */ addi r0, r5, -0x4
/* 80152CD0 0014EB10 7C 05 1E 70 */ srawi r5, r0, 3
/* 80152CD4 0014EB14 90 A3 00 1C */ stw r5, 0x1c(r3)
/* 80152CD8 0014EB18 4C C6 31 82 */ crclr 4*cr1+eq
/* 80152CDC 0014EB1C 4B FF CC A5 */ bl MoLog
/* 80152CE0 0014EB20 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 80152CE4 0014EB24 54 03 18 38 */ slwi r3, r0, 3
/* 80152CE8 0014EB28 48 00 0A 39 */ bl MOiAlloc__FUi
/* 80152CEC 0014EB2C 90 7F 00 20 */ stw r3, 0x20(r31)
/* 80152CF0 0014EB30 3A E0 00 00 */ li r23, 0x0
/* 80152CF4 0014EB34 3A C0 00 00 */ li r22, 0x0
/* 80152CF8 0014EB38 48 00 00 30 */ b lbl_80152D28
.global lbl_80152CFC
lbl_80152CFC:
/* 80152CFC 0014EB3C 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152D00 0014EB40 48 00 06 11 */ bl read32__10MoSdkInputFv
/* 80152D04 0014EB44 80 9F 00 20 */ lwz r4, 0x20(r31)
/* 80152D08 0014EB48 7C 64 B1 2E */ stwx r3, r4, r22
/* 80152D0C 0014EB4C 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152D10 0014EB50 48 00 06 01 */ bl read32__10MoSdkInputFv
/* 80152D14 0014EB54 80 1F 00 20 */ lwz r0, 0x20(r31)
/* 80152D18 0014EB58 3A F7 00 01 */ addi r23, r23, 0x1
/* 80152D1C 0014EB5C 7C 80 B2 14 */ add r4, r0, r22
/* 80152D20 0014EB60 3A D6 00 08 */ addi r22, r22, 0x8
/* 80152D24 0014EB64 90 64 00 04 */ stw r3, 0x4(r4)
.global lbl_80152D28
lbl_80152D28:
/* 80152D28 0014EB68 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 80152D2C 0014EB6C 7C 17 00 40 */ cmplw r23, r0
/* 80152D30 0014EB70 41 80 FF CC */ blt lbl_80152CFC
/* 80152D34 0014EB74 48 00 01 F0 */ b lbl_80152F24
.global lbl_80152D38
lbl_80152D38:
/* 80152D38 0014EB78 3C 80 00 01 */ lis r4, 0x1
/* 80152D3C 0014EB7C 38 00 00 04 */ li r0, 0x4
/* 80152D40 0014EB80 38 84 FF 00 */ addi r4, r4, -0x100
/* 80152D44 0014EB84 90 83 00 04 */ stw r4, 0x4(r3)
/* 80152D48 0014EB88 90 03 00 00 */ stw r0, 0x0(r3)
/* 80152D4C 0014EB8C 38 60 00 00 */ li r3, 0x0
/* 80152D50 0014EB90 48 00 01 F8 */ b lbl_80152F48
.global lbl_80152D54
lbl_80152D54:
/* 80152D54 0014EB94 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80152D58 0014EB98 48 00 05 B9 */ bl read32__10MoSdkInputFv
/* 80152D5C 0014EB9C 80 1F 00 24 */ lwz r0, 0x24(r31)
/* 80152D60 0014EBA0 54 65 07 FE */ clrlwi r5, r3, 31
/* 80152D64 0014EBA4 54 64 00 3C */ clrrwi r4, r3, 1
/* 80152D68 0014EBA8 38 60 00 00 */ li r3, 0x0
/* 80152D6C 0014EBAC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80152D70 0014EBB0 90 BF 00 08 */ stw r5, 0x8(r31)
/* 80152D74 0014EBB4 38 04 00 04 */ addi r0, r4, 0x4
/* 80152D78 0014EBB8 90 1F 00 00 */ stw r0, 0x0(r31)
/* 80152D7C 0014EBBC 90 7F 00 58 */ stw r3, 0x58(r31)
/* 80152D80 0014EBC0 40 82 00 0C */ bne lbl_80152D8C
/* 80152D84 0014EBC4 38 60 FF FF */ li r3, -0x1
/* 80152D88 0014EBC8 48 00 01 C0 */ b lbl_80152F48
.global lbl_80152D8C
lbl_80152D8C:
/* 80152D8C 0014EBCC 7F E3 FB 78 */ mr r3, r31
/* 80152D90 0014EBD0 38 80 00 04 */ li r4, 0x4
/* 80152D94 0014EBD4 4B FF EC 3D */ bl setState__5MoSdkF9SDK_State
/* 80152D98 0014EBD8 38 60 00 00 */ li r3, 0x0
/* 80152D9C 0014EBDC 48 00 01 AC */ b lbl_80152F48
.global lbl_80152DA0
lbl_80152DA0:
/* 80152DA0 0014EBE0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80152DA4 0014EBE4 38 81 00 10 */ addi r4, r1, 0x10
/* 80152DA8 0014EBE8 38 A0 00 A0 */ li r5, 0xa0
/* 80152DAC 0014EBEC 48 00 07 05 */ bl read__10MoSdkInputFPUcUl
/* 80152DB0 0014EBF0 3C A0 80 41 */ lis r5, RootPublicKey@ha
/* 80152DB4 0014EBF4 3C C0 80 41 */ lis r6, RootPublicBarrett@ha
/* 80152DB8 0014EBF8 38 61 00 10 */ addi r3, r1, 0x10
/* 80152DBC 0014EBFC 38 80 00 A0 */ li r4, 0xa0
/* 80152DC0 0014EC00 38 A5 E7 C0 */ addi r5, r5, RootPublicKey@l
/* 80152DC4 0014EC04 38 C6 E8 60 */ addi r6, r6, RootPublicBarrett@l
/* 80152DC8 0014EC08 4B FF AD 29 */ bl RsaPublicDecrypt__FPviPCvPCv
/* 80152DCC 0014EC0C 89 41 00 9D */ lbz r10, 0x9d(r1)
/* 80152DD0 0014EC10 88 61 00 97 */ lbz r3, 0x97(r1)
/* 80152DD4 0014EC14 88 01 00 96 */ lbz r0, 0x96(r1)
/* 80152DD8 0014EC18 55 59 40 2E */ slwi r25, r10, 8
/* 80152DDC 0014EC1C 88 81 00 95 */ lbz r4, 0x95(r1)
/* 80152DE0 0014EC20 54 69 C0 0E */ slwi r9, r3, 24
/* 80152DE4 0014EC24 89 81 00 AB */ lbz r12, 0xab(r1)
/* 80152DE8 0014EC28 54 08 80 1E */ slwi r8, r0, 16
/* 80152DEC 0014EC2C 54 87 40 2E */ slwi r7, r4, 8
/* 80152DF0 0014EC30 89 61 00 AA */ lbz r11, 0xaa(r1)
/* 80152DF4 0014EC34 89 41 00 A9 */ lbz r10, 0xa9(r1)
/* 80152DF8 0014EC38 55 9A C0 0E */ slwi r26, r12, 24
/* 80152DFC 0014EC3C 88 61 00 9B */ lbz r3, 0x9b(r1)
/* 80152E00 0014EC40 55 7B 80 1E */ slwi r27, r11, 16
/* 80152E04 0014EC44 88 01 00 9A */ lbz r0, 0x9a(r1)
/* 80152E08 0014EC48 55 5D 40 2E */ slwi r29, r10, 8
/* 80152E0C 0014EC4C 8B 81 00 94 */ lbz r28, 0x94(r1)
/* 80152E10 0014EC50 54 66 C0 0E */ slwi r6, r3, 24
/* 80152E14 0014EC54 88 81 00 99 */ lbz r4, 0x99(r1)
/* 80152E18 0014EC58 54 05 80 1E */ slwi r5, r0, 16
/* 80152E1C 0014EC5C 89 81 00 AF */ lbz r12, 0xaf(r1)
/* 80152E20 0014EC60 7D 08 E2 14 */ add r8, r8, r28
/* 80152E24 0014EC64 7C E9 3A 14 */ add r7, r9, r7
/* 80152E28 0014EC68 88 61 00 9F */ lbz r3, 0x9f(r1)
/* 80152E2C 0014EC6C 7C E8 3A 14 */ add r7, r8, r7
/* 80152E30 0014EC70 88 01 00 9E */ lbz r0, 0x9e(r1)
/* 80152E34 0014EC74 8A E1 00 98 */ lbz r23, 0x98(r1)
/* 80152E38 0014EC78 54 84 40 2E */ slwi r4, r4, 8
/* 80152E3C 0014EC7C 89 01 00 10 */ lbz r8, 0x10(r1)
/* 80152E40 0014EC80 55 9E C0 0E */ slwi r30, r12, 24
/* 80152E44 0014EC84 89 61 00 AE */ lbz r11, 0xae(r1)
/* 80152E48 0014EC88 54 63 C0 0E */ slwi r3, r3, 24
/* 80152E4C 0014EC8C 7C 86 22 14 */ add r4, r6, r4
/* 80152E50 0014EC90 7C A5 BA 14 */ add r5, r5, r23
/* 80152E54 0014EC94 7E E5 22 14 */ add r23, r5, r4
/* 80152E58 0014EC98 8B 81 00 A8 */ lbz r28, 0xa8(r1)
/* 80152E5C 0014EC9C 89 41 00 AD */ lbz r10, 0xad(r1)
/* 80152E60 0014ECA0 55 6C 80 1E */ slwi r12, r11, 16
/* 80152E64 0014ECA4 8B 01 00 93 */ lbz r24, 0x93(r1)
/* 80152E68 0014ECA8 54 00 80 1E */ slwi r0, r0, 16
/* 80152E6C 0014ECAC 55 4B 40 2E */ slwi r11, r10, 8
/* 80152E70 0014ECB0 89 21 00 AC */ lbz r9, 0xac(r1)
/* 80152E74 0014ECB4 57 0A 40 2E */ slwi r10, r24, 8
/* 80152E78 0014ECB8 8A C1 00 92 */ lbz r22, 0x92(r1)
/* 80152E7C 0014ECBC 7C C3 CA 14 */ add r6, r3, r25
/* 80152E80 0014ECC0 8B 01 00 9C */ lbz r24, 0x9c(r1)
/* 80152E84 0014ECC4 28 08 00 01 */ cmplwi r8, 0x1
/* 80152E88 0014ECC8 7D 56 52 14 */ add r10, r22, r10
/* 80152E8C 0014ECCC 7D 00 C2 14 */ add r8, r0, r24
/* 80152E90 0014ECD0 7C BB E2 14 */ add r5, r27, r28
/* 80152E94 0014ECD4 7C 9A EA 14 */ add r4, r26, r29
/* 80152E98 0014ECD8 7C 6C 4A 14 */ add r3, r12, r9
/* 80152E9C 0014ECDC 7C 85 22 14 */ add r4, r5, r4
/* 80152EA0 0014ECE0 7C 1E 5A 14 */ add r0, r30, r11
/* 80152EA4 0014ECE4 7C C8 32 14 */ add r6, r8, r6
/* 80152EA8 0014ECE8 B1 41 00 92 */ sth r10, 0x92(r1)
/* 80152EAC 0014ECEC 7C 63 02 14 */ add r3, r3, r0
/* 80152EB0 0014ECF0 55 45 04 3E */ clrlwi r5, r10, 16
/* 80152EB4 0014ECF4 90 E1 00 94 */ stw r7, 0x94(r1)
/* 80152EB8 0014ECF8 92 E1 00 98 */ stw r23, 0x98(r1)
/* 80152EBC 0014ECFC 90 C1 00 9C */ stw r6, 0x9c(r1)
/* 80152EC0 0014ED00 90 81 00 A8 */ stw r4, 0xa8(r1)
/* 80152EC4 0014ED04 90 61 00 AC */ stw r3, 0xac(r1)
/* 80152EC8 0014ED08 41 82 00 0C */ beq lbl_80152ED4
/* 80152ECC 0014ED0C 38 60 FF FF */ li r3, -0x1
/* 80152ED0 0014ED10 48 00 00 78 */ b lbl_80152F48
.global lbl_80152ED4
lbl_80152ED4:
/* 80152ED4 0014ED14 54 E0 04 39 */ rlwinm. r0, r7, 0, 16, 28
/* 80152ED8 0014ED18 41 82 00 0C */ beq lbl_80152EE4
/* 80152EDC 0014ED1C 38 60 FF FF */ li r3, -0x1
/* 80152EE0 0014ED20 48 00 00 68 */ b lbl_80152F48
.global lbl_80152EE4
lbl_80152EE4:
/* 80152EE4 0014ED24 3C 03 AA 44 */ addis r0, r3, 0xaa44
/* 80152EE8 0014ED28 28 00 E3 DD */ cmplwi r0, 0xe3dd
/* 80152EEC 0014ED2C 41 82 00 14 */ beq lbl_80152F00
/* 80152EF0 0014ED30 54 A0 07 39 */ rlwinm. r0, r5, 0, 28, 28
/* 80152EF4 0014ED34 40 82 00 0C */ bne lbl_80152F00
/* 80152EF8 0014ED38 38 60 FF FF */ li r3, -0x1
/* 80152EFC 0014ED3C 48 00 00 4C */ b lbl_80152F48
.global lbl_80152F00
lbl_80152F00:
/* 80152F00 0014ED40 38 00 00 01 */ li r0, 0x1
/* 80152F04 0014ED44 90 1F 00 24 */ stw r0, 0x24(r31)
/* 80152F08 0014ED48 48 00 00 1C */ b lbl_80152F24
.global lbl_80152F0C
lbl_80152F0C:
/* 80152F0C 0014ED4C 38 60 FF FF */ li r3, -0x1
/* 80152F10 0014ED50 48 00 00 38 */ b lbl_80152F48
.global lbl_80152F14
lbl_80152F14:
/* 80152F14 0014ED54 80 9F 00 00 */ lwz r4, 0x0(r31)
/* 80152F18 0014ED58 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80152F1C 0014ED5C 38 84 FF FC */ addi r4, r4, -0x4
/* 80152F20 0014ED60 48 00 05 11 */ bl skipBytes__10MoSdkInputFUl
.global lbl_80152F24
lbl_80152F24:
/* 80152F24 0014ED64 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152F28 0014ED68 48 00 04 89 */ bl read16__10MoSdkInputFv
/* 80152F2C 0014ED6C 90 7F 00 04 */ stw r3, 0x4(r31)
/* 80152F30 0014ED70 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80152F34 0014ED74 48 00 04 7D */ bl read16__10MoSdkInputFv
/* 80152F38 0014ED78 54 64 10 3A */ slwi r4, r3, 2
/* 80152F3C 0014ED7C 38 60 00 00 */ li r3, 0x0
/* 80152F40 0014ED80 38 04 00 04 */ addi r0, r4, 0x4
/* 80152F44 0014ED84 90 1F 00 00 */ stw r0, 0x0(r31)
.global lbl_80152F48
lbl_80152F48:
/* 80152F48 0014ED88 39 61 00 E0 */ addi r11, r1, 0xe0
/* 80152F4C 0014ED8C 4B EB 44 29 */ bl lbl_80007374
/* 80152F50 0014ED90 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 80152F54 0014ED94 7C 08 03 A6 */ mtlr r0
/* 80152F58 0014ED98 38 21 00 E0 */ addi r1, r1, 0xe0
/* 80152F5C 0014ED9C 4E 80 00 20 */ blr
.global ReadingAudioHeaders__5MoSdkFl
ReadingAudioHeaders__5MoSdkFl:
/* 80152F60 0014EDA0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80152F64 0014EDA4 7C 08 02 A6 */ mflr r0
/* 80152F68 0014EDA8 90 01 00 34 */ stw r0, 0x34(r1)
/* 80152F6C 0014EDAC 39 61 00 30 */ addi r11, r1, 0x30
/* 80152F70 0014EDB0 4B EB 43 CD */ bl lbl_8000733C
/* 80152F74 0014EDB4 2C 04 4D 41 */ cmpwi r4, 0x4d41
/* 80152F78 0014EDB8 3F E0 80 45 */ lis r31, "@3024"@ha
/* 80152F7C 0014EDBC 7C 7D 1B 78 */ mr r29, r3
/* 80152F80 0014EDC0 7C 9E 23 78 */ mr r30, r4
/* 80152F84 0014EDC4 3B FF 82 D8 */ addi r31, r31, "@3024"@l
/* 80152F88 0014EDC8 40 82 00 1C */ bne lbl_80152FA4
/* 80152F8C 0014EDCC 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80152F90 0014EDD0 48 00 03 81 */ bl read32__10MoSdkInputFv
/* 80152F94 0014EDD4 38 00 00 01 */ li r0, 0x1
/* 80152F98 0014EDD8 90 7D 00 FC */ stw r3, 0xfc(r29)
/* 80152F9C 0014EDDC 98 1D 00 F8 */ stb r0, 0xf8(r29)
/* 80152FA0 0014EDE0 48 00 00 14 */ b lbl_80152FB4
.global lbl_80152FA4
lbl_80152FA4:
/* 80152FA4 0014EDE4 38 80 00 01 */ li r4, 0x1
/* 80152FA8 0014EDE8 38 00 00 00 */ li r0, 0x0
/* 80152FAC 0014EDEC 90 83 00 FC */ stw r4, 0xfc(r3)
/* 80152FB0 0014EDF0 98 03 00 F8 */ stb r0, 0xf8(r3)
.global lbl_80152FB4
lbl_80152FB4:
/* 80152FB4 0014EDF4 80 1D 00 FC */ lwz r0, 0xfc(r29)
/* 80152FB8 0014EDF8 54 03 10 3A */ slwi r3, r0, 2
/* 80152FBC 0014EDFC 48 00 07 65 */ bl MOiAlloc__FUi
/* 80152FC0 0014EE00 80 1D 00 FC */ lwz r0, 0xfc(r29)
/* 80152FC4 0014EE04 38 80 00 00 */ li r4, 0x0
/* 80152FC8 0014EE08 90 7D 00 F4 */ stw r3, 0xf4(r29)
/* 80152FCC 0014EE0C 54 05 10 3A */ slwi r5, r0, 2
/* 80152FD0 0014EE10 4B EB 13 81 */ bl memset
/* 80152FD4 0014EE14 80 1D 00 F4 */ lwz r0, 0xf4(r29)
/* 80152FD8 0014EE18 2C 00 00 00 */ cmpwi r0, 0x0
/* 80152FDC 0014EE1C 40 82 00 0C */ bne lbl_80152FE8
/* 80152FE0 0014EE20 38 60 FF FB */ li r3, -0x5
/* 80152FE4 0014EE24 48 00 02 34 */ b lbl_80153218
.global lbl_80152FE8
lbl_80152FE8:
/* 80152FE8 0014EE28 3B 60 00 00 */ li r27, 0x0
/* 80152FEC 0014EE2C 3B 80 00 00 */ li r28, 0x0
/* 80152FF0 0014EE30 48 00 01 B4 */ b lbl_801531A4
.global lbl_80152FF4
lbl_80152FF4:
/* 80152FF4 0014EE34 88 1D 00 F8 */ lbz r0, 0xf8(r29)
/* 80152FF8 0014EE38 28 00 00 01 */ cmplwi r0, 0x1
/* 80152FFC 0014EE3C 40 82 00 10 */ bne lbl_8015300C
/* 80153000 0014EE40 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 80153004 0014EE44 48 00 03 AD */ bl read16__10MoSdkInputFv
/* 80153008 0014EE48 7C 7E 1B 78 */ mr r30, r3
.global lbl_8015300C
lbl_8015300C:
/* 8015300C 0014EE4C 2C 1E 33 41 */ cmpwi r30, 0x3341
/* 80153010 0014EE50 41 82 00 28 */ beq lbl_80153038
/* 80153014 0014EE54 2C 1E 32 41 */ cmpwi r30, 0x3241
/* 80153018 0014EE58 41 82 00 20 */ beq lbl_80153038
/* 8015301C 0014EE5C 2C 1E 39 41 */ cmpwi r30, 0x3941
/* 80153020 0014EE60 41 82 00 8C */ beq lbl_801530AC
/* 80153024 0014EE64 2C 1E 38 41 */ cmpwi r30, 0x3841
/* 80153028 0014EE68 41 82 00 84 */ beq lbl_801530AC
/* 8015302C 0014EE6C 2C 1E 50 41 */ cmpwi r30, 0x5041
/* 80153030 0014EE70 41 82 00 F0 */ beq lbl_80153120
/* 80153034 0014EE74 48 00 01 60 */ b lbl_80153194
.global lbl_80153038
lbl_80153038:
/* 80153038 0014EE78 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8015303C 0014EE7C 48 00 02 D5 */ bl read32__10MoSdkInputFv
/* 80153040 0014EE80 90 7D 00 30 */ stw r3, 0x30(r29)
/* 80153044 0014EE84 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 80153048 0014EE88 48 00 02 C9 */ bl read32__10MoSdkInputFv
/* 8015304C 0014EE8C 90 7D 00 38 */ stw r3, 0x38(r29)
/* 80153050 0014EE90 7C 66 1B 78 */ mr r6, r3
/* 80153054 0014EE94 80 BD 00 30 */ lwz r5, 0x30(r29)
/* 80153058 0014EE98 7F A3 EB 78 */ mr r3, r29
/* 8015305C 0014EE9C 38 9F 00 AC */ addi r4, r31, 0xac
/* 80153060 0014EEA0 4C C6 31 82 */ crclr 4*cr1+eq
/* 80153064 0014EEA4 4B FF C9 1D */ bl MoLog
/* 80153068 0014EEA8 38 60 07 9C */ li r3, 0x79c
/* 8015306C 0014EEAC 4B FF DE C5 */ bl __nw__5MoSdkFUl
/* 80153070 0014EEB0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80153074 0014EEB4 41 82 00 18 */ beq lbl_8015308C
/* 80153078 0014EEB8 80 DD 00 30 */ lwz r6, 0x30(r29)
/* 8015307C 0014EEBC 7F A5 EB 78 */ mr r5, r29
/* 80153080 0014EEC0 80 FD 00 38 */ lwz r7, 0x38(r29)
/* 80153084 0014EEC4 38 9D 00 60 */ addi r4, r29, 0x60
/* 80153088 0014EEC8 4B FF F3 69 */ bl __ct__21MoSdkFastAudioDecoderFP20MoSdkAudioRepositoryPvUlUl
.global lbl_8015308C
lbl_8015308C:
/* 8015308C 0014EECC 80 9D 00 F4 */ lwz r4, 0xf4(r29)
/* 80153090 0014EED0 7C 64 E1 2E */ stwx r3, r4, r28
/* 80153094 0014EED4 80 7D 00 F4 */ lwz r3, 0xf4(r29)
/* 80153098 0014EED8 7C 03 E0 2E */ lwzx r0, r3, r28
/* 8015309C 0014EEDC 2C 00 00 00 */ cmpwi r0, 0x0
/* 801530A0 0014EEE0 40 82 00 FC */ bne lbl_8015319C
/* 801530A4 0014EEE4 38 60 FF FB */ li r3, -0x5
/* 801530A8 0014EEE8 48 00 01 70 */ b lbl_80153218
.global lbl_801530AC
lbl_801530AC:
/* 801530AC 0014EEEC 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 801530B0 0014EEF0 48 00 02 61 */ bl read32__10MoSdkInputFv
/* 801530B4 0014EEF4 90 7D 00 30 */ stw r3, 0x30(r29)
/* 801530B8 0014EEF8 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 801530BC 0014EEFC 48 00 02 55 */ bl read32__10MoSdkInputFv
/* 801530C0 0014EF00 90 7D 00 38 */ stw r3, 0x38(r29)
/* 801530C4 0014EF04 7C 66 1B 78 */ mr r6, r3
/* 801530C8 0014EF08 80 BD 00 30 */ lwz r5, 0x30(r29)
/* 801530CC 0014EF0C 7F A3 EB 78 */ mr r3, r29
/* 801530D0 0014EF10 38 9F 00 D8 */ addi r4, r31, 0xd8
/* 801530D4 0014EF14 4C C6 31 82 */ crclr 4*cr1+eq
/* 801530D8 0014EF18 4B FF C8 A9 */ bl MoLog
/* 801530DC 0014EF1C 38 60 04 14 */ li r3, 0x414
/* 801530E0 0014EF20 4B FF DE 51 */ bl __nw__5MoSdkFUl
/* 801530E4 0014EF24 2C 03 00 00 */ cmpwi r3, 0x0
/* 801530E8 0014EF28 41 82 00 18 */ beq lbl_80153100
/* 801530EC 0014EF2C 80 DD 00 30 */ lwz r6, 0x30(r29)
/* 801530F0 0014EF30 7F A5 EB 78 */ mr r5, r29
/* 801530F4 0014EF34 80 FD 00 38 */ lwz r7, 0x38(r29)
/* 801530F8 0014EF38 38 9D 00 60 */ addi r4, r29, 0x60
/* 801530FC 0014EF3C 4B FF EA 25 */ bl __ct__17MoSdkAdpcmDecoderFP20MoSdkAudioRepositoryPvUlUl
.global lbl_80153100
lbl_80153100:
/* 80153100 0014EF40 80 9D 00 F4 */ lwz r4, 0xf4(r29)
/* 80153104 0014EF44 7C 64 E1 2E */ stwx r3, r4, r28
/* 80153108 0014EF48 80 7D 00 F4 */ lwz r3, 0xf4(r29)
/* 8015310C 0014EF4C 7C 03 E0 2E */ lwzx r0, r3, r28
/* 80153110 0014EF50 2C 00 00 00 */ cmpwi r0, 0x0
/* 80153114 0014EF54 40 82 00 88 */ bne lbl_8015319C
/* 80153118 0014EF58 38 60 FF FB */ li r3, -0x5
/* 8015311C 0014EF5C 48 00 00 FC */ b lbl_80153218
.global lbl_80153120
lbl_80153120:
/* 80153120 0014EF60 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 80153124 0014EF64 48 00 01 ED */ bl read32__10MoSdkInputFv
/* 80153128 0014EF68 90 7D 00 30 */ stw r3, 0x30(r29)
/* 8015312C 0014EF6C 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 80153130 0014EF70 48 00 01 E1 */ bl read32__10MoSdkInputFv
/* 80153134 0014EF74 90 7D 00 38 */ stw r3, 0x38(r29)
/* 80153138 0014EF78 7C 66 1B 78 */ mr r6, r3
/* 8015313C 0014EF7C 80 BD 00 30 */ lwz r5, 0x30(r29)
/* 80153140 0014EF80 7F A3 EB 78 */ mr r3, r29
/* 80153144 0014EF84 38 9F 01 00 */ addi r4, r31, 0x100
/* 80153148 0014EF88 4C C6 31 82 */ crclr 4*cr1+eq
/* 8015314C 0014EF8C 4B FF C8 35 */ bl MoLog
/* 80153150 0014EF90 38 60 00 14 */ li r3, 0x14
/* 80153154 0014EF94 4B FF DD DD */ bl __nw__5MoSdkFUl
/* 80153158 0014EF98 2C 03 00 00 */ cmpwi r3, 0x0
/* 8015315C 0014EF9C 41 82 00 18 */ beq lbl_80153174
/* 80153160 0014EFA0 80 DD 00 30 */ lwz r6, 0x30(r29)
/* 80153164 0014EFA4 7F A5 EB 78 */ mr r5, r29
/* 80153168 0014EFA8 80 FD 00 38 */ lwz r7, 0x38(r29)
/* 8015316C 0014EFAC 38 9D 00 60 */ addi r4, r29, 0x60
/* 80153170 0014EFB0 48 00 06 C1 */ bl __ct__26MoSdkPcmPassthroughDecoderFP20MoSdkAudioRepositoryPvUlUl
.global lbl_80153174
lbl_80153174:
/* 80153174 0014EFB4 80 9D 00 F4 */ lwz r4, 0xf4(r29)
/* 80153178 0014EFB8 7C 64 E1 2E */ stwx r3, r4, r28
/* 8015317C 0014EFBC 80 7D 00 F4 */ lwz r3, 0xf4(r29)
/* 80153180 0014EFC0 7C 03 E0 2E */ lwzx r0, r3, r28
/* 80153184 0014EFC4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80153188 0014EFC8 40 82 00 14 */ bne lbl_8015319C
/* 8015318C 0014EFCC 38 60 FF FB */ li r3, -0x5
/* 80153190 0014EFD0 48 00 00 88 */ b lbl_80153218
.global lbl_80153194
lbl_80153194:
/* 80153194 0014EFD4 38 60 FF FF */ li r3, -0x1
/* 80153198 0014EFD8 48 00 00 80 */ b lbl_80153218
.global lbl_8015319C
lbl_8015319C:
/* 8015319C 0014EFDC 3B 9C 00 04 */ addi r28, r28, 0x4
/* 801531A0 0014EFE0 3B 7B 00 01 */ addi r27, r27, 0x1
.global lbl_801531A4
lbl_801531A4:
/* 801531A4 0014EFE4 80 1D 00 FC */ lwz r0, 0xfc(r29)
/* 801531A8 0014EFE8 7C 1B 00 40 */ cmplw r27, r0
/* 801531AC 0014EFEC 41 80 FE 48 */ blt lbl_80152FF4
/* 801531B0 0014EFF0 80 9D 00 30 */ lwz r4, 0x30(r29)
/* 801531B4 0014EFF4 38 7D 00 60 */ addi r3, r29, 0x60
/* 801531B8 0014EFF8 80 BD 00 38 */ lwz r5, 0x38(r29)
/* 801531BC 0014EFFC 4B FF ED 35 */ bl allocAudioBuffer__20MoSdkAudioRepositoryFii
/* 801531C0 0014F000 2C 03 00 00 */ cmpwi r3, 0x0
/* 801531C4 0014F004 40 82 00 0C */ bne lbl_801531D0
/* 801531C8 0014F008 38 60 FF FB */ li r3, -0x5
/* 801531CC 0014F00C 48 00 00 4C */ b lbl_80153218
.global lbl_801531D0
lbl_801531D0:
/* 801531D0 0014F010 88 1D 00 F8 */ lbz r0, 0xf8(r29)
/* 801531D4 0014F014 28 00 00 01 */ cmplwi r0, 0x1
/* 801531D8 0014F018 40 82 00 3C */ bne lbl_80153214
/* 801531DC 0014F01C 80 1D 00 FC */ lwz r0, 0xfc(r29)
/* 801531E0 0014F020 3B 80 00 00 */ li r28, 0x0
/* 801531E4 0014F024 54 03 08 3C */ slwi r3, r0, 1
/* 801531E8 0014F028 38 03 00 03 */ addi r0, r3, 0x3
/* 801531EC 0014F02C 54 00 00 3A */ clrrwi r0, r0, 2
/* 801531F0 0014F030 7F 63 00 50 */ subf r27, r3, r0
/* 801531F4 0014F034 48 00 00 18 */ b lbl_8015320C
.global lbl_801531F8
lbl_801531F8:
/* 801531F8 0014F038 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 801531FC 0014F03C 38 81 00 08 */ addi r4, r1, 0x8
/* 80153200 0014F040 38 A0 00 01 */ li r5, 0x1
/* 80153204 0014F044 48 00 02 AD */ bl read__10MoSdkInputFPUcUl
/* 80153208 0014F048 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_8015320C
lbl_8015320C:
/* 8015320C 0014F04C 7C 1C D8 00 */ cmpw r28, r27
/* 80153210 0014F050 41 80 FF E8 */ blt lbl_801531F8
.global lbl_80153214
lbl_80153214:
/* 80153214 0014F054 38 60 00 00 */ li r3, 0x0
.global lbl_80153218
lbl_80153218:
/* 80153218 0014F058 39 61 00 30 */ addi r11, r1, 0x30
/* 8015321C 0014F05C 4B EB 41 6D */ bl lbl_80007388
/* 80153220 0014F060 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80153224 0014F064 7C 08 03 A6 */ mtlr r0
/* 80153228 0014F068 38 21 00 30 */ addi r1, r1, 0x30
/* 8015322C 0014F06C 4E 80 00 20 */ blr
.include "macros.inc"
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
.global RootPublicKey
RootPublicKey:
.4byte 0xAC0EE159
.4byte 0xA92BAD58
.4byte 0x8B526679
.4byte 0x82D16C0B
.4byte 0x548F8CF3
.4byte 0xC4846645
.4byte 0x434331C4
.4byte 0x364A7B72
.4byte 0xDCF653C7
.4byte 0x71DF947A
.4byte 0x605DB987
.4byte 0x83D07BFA
.4byte 0x10E0F918
.4byte 0xDD93AC02
.4byte 0x0949E433
.4byte 0x09C6FD66
.4byte 0x7AF46541
.4byte 0xA9C4D139
.4byte 0xD430CB85
.4byte 0x8106F337
.4byte 0xD52ADCF3
.4byte 0xA7775F8F
.4byte 0x778B4935
.4byte 0xE8F6A998
.4byte 0x07D15F10
.4byte 0x329681C6
.4byte 0xC1888910
.4byte 0x38A5D79A
.4byte 0x1B9B99C5
.4byte 0x09F2E97E
.4byte 0x336F2AD6
.4byte 0x267E4322
.4byte 0xDAA8CB93
.4byte 0x2E5F60BF
.4byte 0x09566D2A
.4byte 0x0334F52E
.4byte 0xAF94ED2E
.4byte 0x50D1666C
.4byte 0x3D474255
.4byte 0x8DD4051F
.global RootPublicBarrett
RootPublicBarrett:
.4byte 0x017CE500
.4byte 0x466A8D6E
.4byte 0xFDD7DBB5
.4byte 0x4AA6C060
.4byte 0xE1C5F70D
.4byte 0x795AABE7
.4byte 0x93B736B7
.4byte 0xB4AF9558
.4byte 0x86E4797C
.4byte 0x51F7BE38
.4byte 0x09D20377
.4byte 0x267A3FF7
.4byte 0x57E97115
.4byte 0x14561533
.4byte 0xBD26A890
.4byte 0x176AA3E4
.4byte 0x62A17E64
.4byte 0x14DBE0C8
.4byte 0x2764AD44
.4byte 0x5C6405BC
.4byte 0x1034F27D
.4byte 0x00D10C84
.4byte 0x8BB92E90
.4byte 0xBC449419
.4byte 0xA9126E78
.4byte 0x318DBAA3
.4byte 0x04095D48
.4byte 0x4ECE1DB2
.4byte 0xD8563A9A
.4byte 0x9CCB41F6
.4byte 0xB449A733
.4byte 0xCACEABA5
.4byte 0x606D7141
.4byte 0x2E0D2AD6
.4byte 0x1CA8CF60
.4byte 0x9615B036
.4byte 0x6D3A5919
.4byte 0xE183A735
.4byte 0x67F04D73
.4byte 0x96177BB5
.4byte 0xD3000000
.4byte 0
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@3024"
"@3024":
.4byte 0x5B53444B
.4byte 0x5D205265
.4byte 0x6164696E
.4byte 0x67486561
.4byte 0x6465724C
.4byte 0x6F6F7020
.4byte 0x6E656564
.4byte 0x20256420
.4byte 0x62797465
.4byte 0x732C2067
.4byte 0x6F742025
.4byte 0x640A0000
.global "@3025"
"@3025":
.4byte 0x5B53444B
.4byte 0x5D207265
.4byte 0x6164696E
.4byte 0x67486561
.4byte 0x6465724C
.4byte 0x6F6F702C
.4byte 0x20756E68
.4byte 0x616E646C
.4byte 0x65642063
.4byte 0x6173650A
.4byte 0
.4byte 0x5B53444B
.4byte 0x5D206670
.4byte 0x73202566
.4byte 0x2C20746F
.4byte 0x74616C20
.4byte 0x6672616D
.4byte 0x65202564
.4byte 0x200A0000
.4byte 0
.4byte 0x5B53444B
.4byte 0x5D202564
.4byte 0x20782025
.4byte 0x64200A00
.4byte 0x5B53444B
.4byte 0x5D20466F
.4byte 0x756E6420
.4byte 0x2564206B
.4byte 0x65796672
.4byte 0x616D6573
.4byte 0x0A000000
.4byte 0x5B53444B
.4byte 0x5D204661
.4byte 0x73744175
.4byte 0x64696F20
.4byte 0x666F756E
.4byte 0x64202564
.4byte 0x20487A2C
.4byte 0x20256420
.4byte 0x4368616E
.4byte 0x6E656C73
.4byte 0x0A000000
.4byte 0x5B53444B
.4byte 0x5D204144
.4byte 0x50434D20
.4byte 0x666F756E
.4byte 0x64202564
.4byte 0x20487A2C
.4byte 0x20256420
.4byte 0x4368616E
.4byte 0x6E656C73
.4byte 0x0A000000
.4byte 0x5B53444B
.4byte 0x5D205043
.4byte 0x4D20666F
.4byte 0x756E6420
.4byte 0x25642048
.4byte 0x7A2C2025
.4byte 0x64204368
.4byte 0x616E6E65
.4byte 0x6C730A00
.4byte 0
.include "macros.inc"
.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0
.global "@3098"
"@3098":
.4byte 0x4D4F4335
.4byte 0
.include "macros.inc"
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
.global "@3100"
"@3100":
.4byte 0x3F700000
.4byte 0
.global "@3105_8055F598"
"@3105_8055F598":
.4byte 0x43300000
.4byte 0