mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-15 21:49:56 -04:00
04354aadb9
* before __register_global_object * JKRThread::sThreadList, JKRHeap::sSystemHeap, etc. * cleanup and started on JKRDvdArchive * before changing JKRCompression * more JKRDvdArchive, abs, and memset * fixed JKRArchive::setExpandSize split * JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors * problems * merge fixes and formatting * updated clang version in clang-format-all to version 10 * Added OSPhysicalToCached and struct for global memory * remove useless __attribute__ * changed from defines and macros to const variable and function * changed FLAG_HAS to FLAG_ON * JKRAram, linking problems * fix JKRAram * remove nonmatching stuff * renamed static data * more static class members * JKRAramStream OK * formatting Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.com>
29 lines
1.4 KiB
ArmAsm
29 lines
1.4 KiB
ArmAsm
/* create__9JKRDecompFl __ct__9JKRDecompFl::create(long) */
|
|
/* JKRDecomp_NS_create */
|
|
/* 802DB680 002D85C0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802DB684 002D85C4 7C 08 02 A6 */ mflr r0
|
|
/* 802DB688 002D85C8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802DB68C 002D85CC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802DB690 002D85D0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802DB694 002D85D4 80 0D 8F 30 */ lwz r0, lbl_804514B0-_SDA_BASE_(r13)
|
|
/* 802DB698 002D85D8 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802DB69C 002D85DC 40 82 00 2C */ bne lbl_802DB6C8
|
|
/* 802DB6A0 002D85E0 38 60 00 7C */ li r3, 0x7c
|
|
/* 802DB6A4 002D85E4 80 8D 8D F0 */ lwz r4, sSystemHeap__7JKRHeap-_SDA_BASE_(r13)
|
|
/* 802DB6A8 002D85E8 38 A0 00 00 */ li r5, 0
|
|
/* 802DB6AC 002D85EC 4B FF 35 ED */ bl __nw__FUlP7JKRHeapi
|
|
/* 802DB6B0 002D85F0 7C 60 1B 79 */ or. r0, r3, r3
|
|
/* 802DB6B4 002D85F4 41 82 00 10 */ beq lbl_802DB6C4
|
|
/* 802DB6B8 002D85F8 7F E4 FB 78 */ mr r4, r31
|
|
/* 802DB6BC 002D85FC 48 00 00 25 */ bl __ct__9JKRDecompFl
|
|
/* 802DB6C0 002D8600 7C 60 1B 78 */ mr r0, r3
|
|
lbl_802DB6C4:
|
|
/* 802DB6C4 002D8604 90 0D 8F 30 */ stw r0, lbl_804514B0-_SDA_BASE_(r13)
|
|
lbl_802DB6C8:
|
|
/* 802DB6C8 002D8608 80 6D 8F 30 */ lwz r3, lbl_804514B0-_SDA_BASE_(r13)
|
|
/* 802DB6CC 002D860C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802DB6D0 002D8610 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802DB6D4 002D8614 7C 08 03 A6 */ mtlr r0
|
|
/* 802DB6D8 002D8618 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802DB6DC 002D861C 4E 80 00 20 */ blr
|