2022-10-16 16:05:58 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
2022-10-16 16:31:36 +00:00
|
|
|
.global __ct__10MoSdkInputFPvUlP17MO_MEDIUM_CONTROLPv
|
|
|
|
__ct__10MoSdkInputFPvUlP17MO_MEDIUM_CONTROLPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153230 0014F070 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 80153234 0014F074 90 C3 00 18 */ stw r6, 0x18(r3)
|
|
|
|
/* 80153238 0014F078 90 A3 00 00 */ stw r5, 0x0(r3)
|
|
|
|
/* 8015323C 0014F07C 90 03 00 10 */ stw r0, 0x10(r3)
|
|
|
|
/* 80153240 0014F080 90 03 00 08 */ stw r0, 0x8(r3)
|
|
|
|
/* 80153244 0014F084 90 03 00 04 */ stw r0, 0x4(r3)
|
|
|
|
/* 80153248 0014F088 90 03 00 0C */ stw r0, 0xc(r3)
|
|
|
|
/* 8015324C 0014F08C 90 E3 00 14 */ stw r7, 0x14(r3)
|
|
|
|
/* 80153250 0014F090 90 83 00 1C */ stw r4, 0x1c(r3)
|
|
|
|
/* 80153254 0014F094 4E 80 00 20 */ blr
|
|
|
|
/* 80153258 0014F098 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 8015325C 0014F09C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global __dt__10MoSdkInputFv
|
|
|
|
__dt__10MoSdkInputFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153260 0014F0A0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80153264 0014F0A4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80153268 0014F0A8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 8015326C 0014F0AC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 80153270 0014F0B0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80153274 0014F0B4 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 80153278 0014F0B8 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 8015327C 0014F0BC 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80153280 0014F0C0 41 82 00 2C */ beq lbl_801532AC
|
|
|
|
/* 80153284 0014F0C4 80 63 00 10 */ lwz r3, 0x10(r3)
|
|
|
|
/* 80153288 0014F0C8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 8015328C 0014F0CC 41 82 00 08 */ beq lbl_80153294
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153290 0014F0D0 48 00 05 41 */ bl MOiFree__FPv
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80153294
|
|
|
|
lbl_80153294:
|
|
|
|
/* 80153294 0014F0D4 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
|
|
/* 80153298 0014F0D8 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 8015329C 0014F0DC 90 1E 00 10 */ stw r0, 0x10(r30)
|
|
|
|
/* 801532A0 0014F0E0 40 81 00 0C */ ble lbl_801532AC
|
|
|
|
/* 801532A4 0014F0E4 7F C3 F3 78 */ mr r3, r30
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801532A8 0014F0E8 48 00 05 29 */ bl MOiFree__FPv
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_801532AC
|
|
|
|
lbl_801532AC:
|
|
|
|
/* 801532AC 0014F0EC 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 801532B0 0014F0F0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 801532B4 0014F0F4 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 801532B8 0014F0F8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 801532BC 0014F0FC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 801532C0 0014F100 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 801532C4 0014F104 4E 80 00 20 */ blr
|
|
|
|
/* 801532C8 0014F108 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 801532CC 0014F10C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global allocInputBuffer__10MoSdkInputFv
|
|
|
|
allocInputBuffer__10MoSdkInputFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801532D0 0014F110 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 801532D4 0014F114 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 801532D8 0014F118 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 801532DC 0014F11C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 801532E0 0014F120 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 801532E4 0014F124 80 63 00 00 */ lwz r3, 0x0(r3)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801532E8 0014F128 48 00 04 39 */ bl MOiAlloc__FUi
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801532EC 0014F12C 7C 03 00 D0 */ neg r0, r3
|
|
|
|
/* 801532F0 0014F130 90 7F 00 10 */ stw r3, 0x10(r31)
|
|
|
|
/* 801532F4 0014F134 7C 00 1B 78 */ or r0, r0, r3
|
|
|
|
/* 801532F8 0014F138 54 03 0F FE */ srwi r3, r0, 31
|
|
|
|
/* 801532FC 0014F13C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 80153300 0014F140 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80153304 0014F144 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80153308 0014F148 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 8015330C 0014F14C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global read32__10MoSdkInputFv
|
|
|
|
read32__10MoSdkInputFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153310 0014F150 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80153314 0014F154 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153318 0014F158 3C C0 80 45 */ lis r6, "@2549_80448400"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8015331C 0014F15C 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153320 0014F160 38 C6 84 00 */ addi r6, r6, "@2549_80448400"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153324 0014F164 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80153328 0014F168 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8015332C 0014F16C 80 83 00 04 */ lwz r4, 0x4(r3)
|
|
|
|
/* 80153330 0014F170 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
|
|
/* 80153334 0014F174 7C 04 00 50 */ subf r0, r4, r0
|
|
|
|
/* 80153338 0014F178 28 00 00 04 */ cmplwi r0, 0x4
|
|
|
|
/* 8015333C 0014F17C 40 80 00 1C */ bge lbl_80153358
|
|
|
|
/* 80153340 0014F180 38 86 00 00 */ addi r4, r6, 0x0
|
|
|
|
/* 80153344 0014F184 38 A6 00 1C */ addi r5, r6, 0x1c
|
|
|
|
/* 80153348 0014F188 38 E6 00 30 */ addi r7, r6, 0x30
|
|
|
|
/* 8015334C 0014F18C 38 C0 00 47 */ li r6, 0x47
|
|
|
|
/* 80153350 0014F190 4C C6 31 82 */ crclr 4*cr1+eq
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153354 0014F194 4B FF C6 FD */ bl MoThrowError
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80153358
|
|
|
|
lbl_80153358:
|
|
|
|
/* 80153358 0014F198 80 7F 00 04 */ lwz r3, 0x4(r31)
|
|
|
|
/* 8015335C 0014F19C 80 9F 00 10 */ lwz r4, 0x10(r31)
|
|
|
|
/* 80153360 0014F1A0 38 03 00 04 */ addi r0, r3, 0x4
|
|
|
|
/* 80153364 0014F1A4 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
/* 80153368 0014F1A8 7C C4 1A 14 */ add r6, r4, r3
|
|
|
|
/* 8015336C 0014F1AC 88 66 00 03 */ lbz r3, 0x3(r6)
|
|
|
|
/* 80153370 0014F1B0 88 86 00 02 */ lbz r4, 0x2(r6)
|
|
|
|
/* 80153374 0014F1B4 88 06 00 01 */ lbz r0, 0x1(r6)
|
|
|
|
/* 80153378 0014F1B8 54 65 C0 0E */ slwi r5, r3, 24
|
|
|
|
/* 8015337C 0014F1BC 88 66 00 00 */ lbz r3, 0x0(r6)
|
|
|
|
/* 80153380 0014F1C0 54 84 80 1E */ slwi r4, r4, 16
|
|
|
|
/* 80153384 0014F1C4 54 00 40 2E */ slwi r0, r0, 8
|
|
|
|
/* 80153388 0014F1C8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8015338C 0014F1CC 7C 64 1A 14 */ add r3, r4, r3
|
|
|
|
/* 80153390 0014F1D0 7C 05 02 14 */ add r0, r5, r0
|
|
|
|
/* 80153394 0014F1D4 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 80153398 0014F1D8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8015339C 0014F1DC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 801533A0 0014F1E0 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 801533A4 0014F1E4 4E 80 00 20 */ blr
|
|
|
|
/* 801533A8 0014F1E8 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 801533AC 0014F1EC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global read16__10MoSdkInputFv
|
|
|
|
read16__10MoSdkInputFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801533B0 0014F1F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 801533B4 0014F1F4 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801533B8 0014F1F8 3C C0 80 45 */ lis r6, "@2549_80448400"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801533BC 0014F1FC 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801533C0 0014F200 38 C6 84 00 */ addi r6, r6, "@2549_80448400"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801533C4 0014F204 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 801533C8 0014F208 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 801533CC 0014F20C 80 83 00 04 */ lwz r4, 0x4(r3)
|
|
|
|
/* 801533D0 0014F210 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
|
|
/* 801533D4 0014F214 7C 04 00 50 */ subf r0, r4, r0
|
|
|
|
/* 801533D8 0014F218 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 801533DC 0014F21C 40 80 00 1C */ bge lbl_801533F8
|
|
|
|
/* 801533E0 0014F220 38 86 00 00 */ addi r4, r6, 0x0
|
|
|
|
/* 801533E4 0014F224 38 A6 00 1C */ addi r5, r6, 0x1c
|
|
|
|
/* 801533E8 0014F228 38 E6 00 48 */ addi r7, r6, 0x48
|
|
|
|
/* 801533EC 0014F22C 38 C0 00 53 */ li r6, 0x53
|
|
|
|
/* 801533F0 0014F230 4C C6 31 82 */ crclr 4*cr1+eq
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801533F4 0014F234 4B FF C6 5D */ bl MoThrowError
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_801533F8
|
|
|
|
lbl_801533F8:
|
|
|
|
/* 801533F8 0014F238 80 7F 00 04 */ lwz r3, 0x4(r31)
|
|
|
|
/* 801533FC 0014F23C 80 9F 00 10 */ lwz r4, 0x10(r31)
|
|
|
|
/* 80153400 0014F240 38 03 00 02 */ addi r0, r3, 0x2
|
|
|
|
/* 80153404 0014F244 90 1F 00 04 */ stw r0, 0x4(r31)
|
|
|
|
/* 80153408 0014F248 7C 64 1A 14 */ add r3, r4, r3
|
|
|
|
/* 8015340C 0014F24C 88 03 00 01 */ lbz r0, 0x1(r3)
|
|
|
|
/* 80153410 0014F250 88 63 00 00 */ lbz r3, 0x0(r3)
|
|
|
|
/* 80153414 0014F254 54 00 40 2E */ slwi r0, r0, 8
|
|
|
|
/* 80153418 0014F258 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8015341C 0014F25C 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 80153420 0014F260 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80153424 0014F264 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80153428 0014F268 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 8015342C 0014F26C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global skipBytes__10MoSdkInputFUl
|
|
|
|
skipBytes__10MoSdkInputFUl:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153430 0014F270 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 80153434 0014F274 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153438 0014F278 3C C0 80 45 */ lis r6, "@2549_80448400"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8015343C 0014F27C 90 01 00 14 */ stw r0, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153440 0014F280 38 C6 84 00 */ addi r6, r6, "@2549_80448400"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153444 0014F284 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 80153448 0014F288 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 8015344C 0014F28C 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 80153450 0014F290 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 80153454 0014F294 80 A3 00 04 */ lwz r5, 0x4(r3)
|
|
|
|
/* 80153458 0014F298 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
|
|
/* 8015345C 0014F29C 7C 05 00 50 */ subf r0, r5, r0
|
|
|
|
/* 80153460 0014F2A0 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 80153464 0014F2A4 40 80 00 1C */ bge lbl_80153480
|
|
|
|
/* 80153468 0014F2A8 38 86 00 00 */ addi r4, r6, 0x0
|
|
|
|
/* 8015346C 0014F2AC 38 A6 00 1C */ addi r5, r6, 0x1c
|
|
|
|
/* 80153470 0014F2B0 38 E6 00 78 */ addi r7, r6, 0x78
|
|
|
|
/* 80153474 0014F2B4 38 C0 00 6B */ li r6, 0x6b
|
|
|
|
/* 80153478 0014F2B8 4C C6 31 82 */ crclr 4*cr1+eq
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 8015347C 0014F2BC 4B FF C5 D5 */ bl MoThrowError
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80153480
|
|
|
|
lbl_80153480:
|
|
|
|
/* 80153480 0014F2C0 80 1E 00 04 */ lwz r0, 0x4(r30)
|
|
|
|
/* 80153484 0014F2C4 7C 00 FA 14 */ add r0, r0, r31
|
|
|
|
/* 80153488 0014F2C8 90 1E 00 04 */ stw r0, 0x4(r30)
|
|
|
|
/* 8015348C 0014F2CC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 80153490 0014F2D0 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 80153494 0014F2D4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 80153498 0014F2D8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8015349C 0014F2DC 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 801534A0 0014F2E0 4E 80 00 20 */ blr
|
|
|
|
/* 801534A4 0014F2E4 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 801534A8 0014F2E8 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 801534AC 0014F2EC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global read__10MoSdkInputFPUcUl
|
|
|
|
read__10MoSdkInputFPUcUl:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801534B0 0014F2F0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 801534B4 0014F2F4 7C 08 02 A6 */ mflr r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801534B8 0014F2F8 3C E0 80 45 */ lis r7, "@2549_80448400"@ha
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801534BC 0014F2FC 90 01 00 24 */ stw r0, 0x24(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801534C0 0014F300 38 E7 84 00 */ addi r7, r7, "@2549_80448400"@l
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801534C4 0014F304 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 801534C8 0014F308 7C BF 2B 78 */ mr r31, r5
|
|
|
|
/* 801534CC 0014F30C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 801534D0 0014F310 7C 9E 23 78 */ mr r30, r4
|
|
|
|
/* 801534D4 0014F314 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 801534D8 0014F318 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 801534DC 0014F31C 80 C3 00 04 */ lwz r6, 0x4(r3)
|
|
|
|
/* 801534E0 0014F320 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
|
|
/* 801534E4 0014F324 7C 06 00 50 */ subf r0, r6, r0
|
|
|
|
/* 801534E8 0014F328 7C 00 28 40 */ cmplw r0, r5
|
|
|
|
/* 801534EC 0014F32C 40 80 00 1C */ bge lbl_80153508
|
|
|
|
/* 801534F0 0014F330 38 87 00 00 */ addi r4, r7, 0x0
|
|
|
|
/* 801534F4 0014F334 38 A7 00 1C */ addi r5, r7, 0x1c
|
|
|
|
/* 801534F8 0014F338 38 E7 00 78 */ addi r7, r7, 0x78
|
|
|
|
/* 801534FC 0014F33C 38 C0 00 73 */ li r6, 0x73
|
|
|
|
/* 80153500 0014F340 4C C6 31 82 */ crclr 4*cr1+eq
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153504 0014F344 4B FF C5 4D */ bl MoThrowError
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_80153508
|
|
|
|
lbl_80153508:
|
|
|
|
/* 80153508 0014F348 80 9D 00 04 */ lwz r4, 0x4(r29)
|
|
|
|
/* 8015350C 0014F34C 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 80153510 0014F350 80 DD 00 10 */ lwz r6, 0x10(r29)
|
|
|
|
/* 80153514 0014F354 7F E5 FB 78 */ mr r5, r31
|
|
|
|
/* 80153518 0014F358 7C 04 FA 14 */ add r0, r4, r31
|
|
|
|
/* 8015351C 0014F35C 90 1D 00 04 */ stw r0, 0x4(r29)
|
|
|
|
/* 80153520 0014F360 7C 86 22 14 */ add r4, r6, r4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153524 0014F364 4B EB 0A DD */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153528 0014F368 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8015352C 0014F36C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 80153530 0014F370 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 80153534 0014F374 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 80153538 0014F378 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8015353C 0014F37C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80153540 0014F380 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 80153544 0014F384 4E 80 00 20 */ blr
|
|
|
|
/* 80153548 0014F388 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 8015354C 0014F38C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global availableBytes__10MoSdkInputFv
|
|
|
|
availableBytes__10MoSdkInputFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153550 0014F390 80 83 00 04 */ lwz r4, 0x4(r3)
|
|
|
|
/* 80153554 0014F394 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
|
|
/* 80153558 0014F398 7C 64 00 50 */ subf r3, r4, r0
|
|
|
|
/* 8015355C 0014F39C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global rescaleBuffer__10MoSdkInputFUl
|
|
|
|
rescaleBuffer__10MoSdkInputFUl:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153560 0014F3A0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 80153564 0014F3A4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80153568 0014F3A8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8015356C 0014F3AC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 80153570 0014F3B0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 80153574 0014F3B4 7C 9E 23 78 */ mr r30, r4
|
|
|
|
/* 80153578 0014F3B8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 8015357C 0014F3BC 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 80153580 0014F3C0 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 80153584 0014F3C4 7C 04 00 40 */ cmplw r4, r0
|
|
|
|
/* 80153588 0014F3C8 40 80 00 0C */ bge lbl_80153594
|
|
|
|
/* 8015358C 0014F3CC 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80153590 0014F3D0 48 00 00 30 */ b lbl_801535C0
|
|
|
|
.global lbl_80153594
|
|
|
|
lbl_80153594:
|
|
|
|
/* 80153594 0014F3D4 7F C3 F3 78 */ mr r3, r30
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153598 0014F3D8 48 00 01 89 */ bl MOiAlloc__FUi
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 8015359C 0014F3DC 80 9D 00 10 */ lwz r4, 0x10(r29)
|
|
|
|
/* 801535A0 0014F3E0 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 801535A4 0014F3E4 80 BD 00 00 */ lwz r5, 0x0(r29)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801535A8 0014F3E8 4B EB 0A 59 */ bl memcpy
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801535AC 0014F3EC 80 7D 00 10 */ lwz r3, 0x10(r29)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 801535B0 0014F3F0 48 00 02 21 */ bl MOiFree__FPv
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801535B4 0014F3F4 93 FD 00 10 */ stw r31, 0x10(r29)
|
|
|
|
/* 801535B8 0014F3F8 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 801535BC 0014F3FC 93 DD 00 00 */ stw r30, 0x0(r29)
|
|
|
|
.global lbl_801535C0
|
|
|
|
lbl_801535C0:
|
|
|
|
/* 801535C0 0014F400 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 801535C4 0014F404 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 801535C8 0014F408 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 801535CC 0014F40C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 801535D0 0014F410 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 801535D4 0014F414 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 801535D8 0014F418 4E 80 00 20 */ blr
|
|
|
|
/* 801535DC 0014F41C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global needBytes__10MoSdkInputFUl
|
|
|
|
needBytes__10MoSdkInputFUl:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801535E0 0014F420 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 801535E4 0014F424 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 801535E8 0014F428 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 801535EC 0014F42C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 801535F0 0014F430 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 801535F4 0014F434 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 801535F8 0014F438 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 801535FC 0014F43C 80 C3 00 04 */ lwz r6, 0x4(r3)
|
|
|
|
/* 80153600 0014F440 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
|
|
/* 80153604 0014F444 7C A6 00 50 */ subf r5, r6, r0
|
|
|
|
/* 80153608 0014F448 7C 05 20 40 */ cmplw r5, r4
|
|
|
|
/* 8015360C 0014F44C 41 80 00 0C */ blt lbl_80153618
|
|
|
|
/* 80153610 0014F450 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 80153614 0014F454 48 00 00 A8 */ b lbl_801536BC
|
|
|
|
.global lbl_80153618
|
|
|
|
lbl_80153618:
|
|
|
|
/* 80153618 0014F458 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
|
|
/* 8015361C 0014F45C 54 00 F8 7E */ srwi r0, r0, 1
|
|
|
|
/* 80153620 0014F460 7C 06 00 40 */ cmplw r6, r0
|
|
|
|
/* 80153624 0014F464 40 81 00 28 */ ble lbl_8015364C
|
|
|
|
/* 80153628 0014F468 80 63 00 10 */ lwz r3, 0x10(r3)
|
|
|
|
/* 8015362C 0014F46C 7C 83 32 14 */ add r4, r3, r6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 80153630 0014F470 4B EB 77 1D */ bl memmove
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 80153634 0014F474 80 BE 00 04 */ lwz r5, 0x4(r30)
|
|
|
|
/* 80153638 0014F478 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 8015363C 0014F47C 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
|
|
/* 80153640 0014F480 90 7E 00 04 */ stw r3, 0x4(r30)
|
|
|
|
/* 80153644 0014F484 7C 85 20 50 */ subf r4, r5, r4
|
|
|
|
/* 80153648 0014F488 90 9E 00 08 */ stw r4, 0x8(r30)
|
|
|
|
.global lbl_8015364C
|
|
|
|
lbl_8015364C:
|
|
|
|
/* 8015364C 0014F48C 80 9E 00 08 */ lwz r4, 0x8(r30)
|
|
|
|
/* 80153650 0014F490 7F E6 FB 78 */ mr r6, r31
|
|
|
|
/* 80153654 0014F494 80 1E 00 00 */ lwz r0, 0x0(r30)
|
|
|
|
/* 80153658 0014F498 7C 04 00 50 */ subf r0, r4, r0
|
|
|
|
/* 8015365C 0014F49C 7C 00 F8 40 */ cmplw r0, r31
|
|
|
|
/* 80153660 0014F4A0 40 80 00 08 */ bge lbl_80153668
|
|
|
|
/* 80153664 0014F4A4 7C 06 03 78 */ mr r6, r0
|
|
|
|
.global lbl_80153668
|
|
|
|
lbl_80153668:
|
|
|
|
/* 80153668 0014F4A8 80 7E 00 18 */ lwz r3, 0x18(r30)
|
|
|
|
/* 8015366C 0014F4AC 80 1E 00 10 */ lwz r0, 0x10(r30)
|
|
|
|
/* 80153670 0014F4B0 81 83 00 18 */ lwz r12, 0x18(r3)
|
|
|
|
/* 80153674 0014F4B4 7C A0 22 14 */ add r5, r0, r4
|
|
|
|
/* 80153678 0014F4B8 80 7E 00 1C */ lwz r3, 0x1c(r30)
|
|
|
|
/* 8015367C 0014F4BC 80 9E 00 14 */ lwz r4, 0x14(r30)
|
|
|
|
/* 80153680 0014F4C0 7D 89 03 A6 */ mtctr r12
|
|
|
|
/* 80153684 0014F4C4 4E 80 04 21 */ bctrl
|
|
|
|
/* 80153688 0014F4C8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 8015368C 0014F4CC 40 81 00 10 */ ble lbl_8015369C
|
|
|
|
/* 80153690 0014F4D0 80 1E 00 08 */ lwz r0, 0x8(r30)
|
|
|
|
/* 80153694 0014F4D4 7C 00 1A 14 */ add r0, r0, r3
|
|
|
|
/* 80153698 0014F4D8 90 1E 00 08 */ stw r0, 0x8(r30)
|
|
|
|
.global lbl_8015369C
|
|
|
|
lbl_8015369C:
|
|
|
|
/* 8015369C 0014F4DC 80 7E 00 04 */ lwz r3, 0x4(r30)
|
|
|
|
/* 801536A0 0014F4E0 80 1E 00 08 */ lwz r0, 0x8(r30)
|
|
|
|
/* 801536A4 0014F4E4 7C 03 00 50 */ subf r0, r3, r0
|
|
|
|
/* 801536A8 0014F4E8 7C 00 F8 40 */ cmplw r0, r31
|
|
|
|
/* 801536AC 0014F4EC 41 80 00 0C */ blt lbl_801536B8
|
|
|
|
/* 801536B0 0014F4F0 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 801536B4 0014F4F4 48 00 00 08 */ b lbl_801536BC
|
|
|
|
.global lbl_801536B8
|
|
|
|
lbl_801536B8:
|
|
|
|
/* 801536B8 0014F4F8 38 60 00 00 */ li r3, 0x0
|
|
|
|
.global lbl_801536BC
|
|
|
|
lbl_801536BC:
|
|
|
|
/* 801536BC 0014F4FC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 801536C0 0014F500 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 801536C4 0014F504 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 801536C8 0014F508 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 801536CC 0014F50C 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 801536D0 0014F510 4E 80 00 20 */ blr
|
|
|
|
/* 801536D4 0014F514 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 801536D8 0014F518 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 801536DC 0014F51C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global jumpTo__10MoSdkInputFUl
|
|
|
|
jumpTo__10MoSdkInputFUl:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 801536E0 0014F520 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 801536E4 0014F524 90 03 00 08 */ stw r0, 0x8(r3)
|
|
|
|
/* 801536E8 0014F528 90 03 00 04 */ stw r0, 0x4(r3)
|
|
|
|
/* 801536EC 0014F52C 90 83 00 0C */ stw r4, 0xc(r3)
|
|
|
|
/* 801536F0 0014F530 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 801536F4 0014F534 4E 80 00 20 */ blr
|
|
|
|
/* 801536F8 0014F538 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 801536FC 0014F53C 00 00 00 00 */ .4byte 0x00000000
|