Files
dusklight/include/JSystem/JKernel/JKRExpHeap/asm/func_802CFC10.s
T
Jonathan Wase 09a19f1576 Types and functions for JKRThread, JKRFile, JKRDvdFile, JKRFileCache... (#17)
* Added JSUListIterator and decompiled JKRHeap::dispose_subroutine

* JKRDisposer!

* only 4 functions not OK in JKRHeap

* JKRThread asm functions

* more JKRThread

* JKRThreadSwitch

* JKRThread::JKRThread

* More JKRTHread functions and vtable

* fixed bad merge

* update JKRThread and JKRThreadSwitch to use new virtual inheritance

* save before asmsplit.py script

* JKRFile

* JKRDvdFile

* JKRFileCache

* JKRFileFinder

* JKRFileLoader

* JKRAssertHeap

* JKRExpHeap

* JKRSolidHeap

* fixed type and functions definitions

* JKRArchive (Pub)

* missed file

* JKRArchive

* forgot obj_files.mk

* fixed merge error and class members

* class members

* removed unused asm files

* added names to global variables

* class members for JKRHeap, JKRExpHeap, JKRSolidHeap, and JKRFileCache.
2020-12-05 12:45:10 -05:00

35 lines
1.6 KiB
ArmAsm

/* do_getMaxFreeBlock__10JKRExpHeapFv __ct__10JKRExpHeapFPvUlP7JKRHeapb::do_getMaxFreeBlock(void) */
/* missing reference */
/* 802CFC10 002CCB50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802CFC14 002CCB54 7C 08 02 A6 */ mflr r0
/* 802CFC18 002CCB58 90 01 00 14 */ stw r0, 0x14(r1)
/* 802CFC1C 002CCB5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802CFC20 002CCB60 93 C1 00 08 */ stw r30, 8(r1)
/* 802CFC24 002CCB64 7C 7E 1B 78 */ mr r30, r3
/* 802CFC28 002CCB68 38 7E 00 18 */ addi r3, r30, 0x18
/* 802CFC2C 002CCB6C 48 06 F4 15 */ bl OSLockMutex
/* 802CFC30 002CCB70 38 60 00 00 */ li r3, 0
/* 802CFC34 002CCB74 3B E0 00 00 */ li r31, 0
/* 802CFC38 002CCB78 80 9E 00 78 */ lwz r4, 0x78(r30)
/* 802CFC3C 002CCB7C 48 00 00 1C */ b lbl_802CFC58
lbl_802CFC40:
/* 802CFC40 002CCB80 80 04 00 04 */ lwz r0, 4(r4)
/* 802CFC44 002CCB84 7C 03 00 00 */ cmpw r3, r0
/* 802CFC48 002CCB88 40 80 00 0C */ bge lbl_802CFC54
/* 802CFC4C 002CCB8C 7C 03 03 78 */ mr r3, r0
/* 802CFC50 002CCB90 7C 9F 23 78 */ mr r31, r4
lbl_802CFC54:
/* 802CFC54 002CCB94 80 84 00 0C */ lwz r4, 0xc(r4)
lbl_802CFC58:
/* 802CFC58 002CCB98 28 04 00 00 */ cmplwi r4, 0
/* 802CFC5C 002CCB9C 40 82 FF E4 */ bne lbl_802CFC40
/* 802CFC60 002CCBA0 38 7E 00 18 */ addi r3, r30, 0x18
/* 802CFC64 002CCBA4 48 06 F4 B9 */ bl OSUnlockMutex
/* 802CFC68 002CCBA8 7F E3 FB 78 */ mr r3, r31
/* 802CFC6C 002CCBAC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802CFC70 002CCBB0 83 C1 00 08 */ lwz r30, 8(r1)
/* 802CFC74 002CCBB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802CFC78 002CCBB8 7C 08 03 A6 */ mtlr r0
/* 802CFC7C 002CCBBC 38 21 00 10 */ addi r1, r1, 0x10
/* 802CFC80 002CCBC0 4E 80 00 20 */ blr