mirror of https://github.com/zeldaret/tp.git
176 lines
2.5 KiB
C++
176 lines
2.5 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: GCN_mem_alloc
|
|
//
|
|
|
|
#include "Runtime.PPCEABI.H/GCN_mem_alloc.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
extern "C" void __sys_free();
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
extern "C" void OSReport();
|
|
extern "C" void OSFreeToHeap();
|
|
extern "C" void OSSetCurrentHeap();
|
|
extern "C" void OSInitAlloc();
|
|
extern "C" void OSCreateHeap();
|
|
extern "C" void OSGetArenaHi();
|
|
extern "C" void OSGetArenaLo();
|
|
extern "C" void OSSetArenaLo();
|
|
extern "C" extern u32 __OSCurrHeap[1 + 1 /* padding */];
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* ############################################################################################## */
|
|
/* 803A21A8-803A21E0 02E808 0036+02 1/1 0/0 0/0 .rodata @55 */
|
|
SECTION_RODATA static u8 const lit_55[54 + 2 /* padding */] = {
|
|
0x47,
|
|
0x43,
|
|
0x4E,
|
|
0x5F,
|
|
0x4D,
|
|
0x65,
|
|
0x6D,
|
|
0x5F,
|
|
0x41,
|
|
0x6C,
|
|
0x6C,
|
|
0x6F,
|
|
0x63,
|
|
0x2E,
|
|
0x63,
|
|
0x20,
|
|
0x3A,
|
|
0x20,
|
|
0x49,
|
|
0x6E,
|
|
0x69,
|
|
0x74,
|
|
0x44,
|
|
0x65,
|
|
0x66,
|
|
0x61,
|
|
0x75,
|
|
0x6C,
|
|
0x74,
|
|
0x48,
|
|
0x65,
|
|
0x61,
|
|
0x70,
|
|
0x2E,
|
|
0x20,
|
|
0x4E,
|
|
0x6F,
|
|
0x20,
|
|
0x48,
|
|
0x65,
|
|
0x61,
|
|
0x70,
|
|
0x20,
|
|
0x41,
|
|
0x76,
|
|
0x61,
|
|
0x69,
|
|
0x6C,
|
|
0x61,
|
|
0x62,
|
|
0x6C,
|
|
0x65,
|
|
0x0A,
|
|
0x00,
|
|
/* padding */
|
|
0x00,
|
|
0x00,
|
|
};
|
|
COMPILER_STRIP_GATE(0x803A21A8, &lit_55);
|
|
|
|
/* 803A21E0-803A2220 02E840 0039+07 1/1 0/0 0/0 .rodata @56 */
|
|
SECTION_RODATA static u8 const lit_56[57 + 7 /* padding */] = {
|
|
0x4D,
|
|
0x65,
|
|
0x74,
|
|
0x72,
|
|
0x6F,
|
|
0x77,
|
|
0x65,
|
|
0x72,
|
|
0x6B,
|
|
0x73,
|
|
0x20,
|
|
0x43,
|
|
0x57,
|
|
0x20,
|
|
0x72,
|
|
0x75,
|
|
0x6E,
|
|
0x74,
|
|
0x69,
|
|
0x6D,
|
|
0x65,
|
|
0x20,
|
|
0x6C,
|
|
0x69,
|
|
0x62,
|
|
0x72,
|
|
0x61,
|
|
0x72,
|
|
0x79,
|
|
0x20,
|
|
0x69,
|
|
0x6E,
|
|
0x69,
|
|
0x74,
|
|
0x69,
|
|
0x61,
|
|
0x6C,
|
|
0x69,
|
|
0x7A,
|
|
0x69,
|
|
0x6E,
|
|
0x67,
|
|
0x20,
|
|
0x64,
|
|
0x65,
|
|
0x66,
|
|
0x61,
|
|
0x75,
|
|
0x6C,
|
|
0x74,
|
|
0x20,
|
|
0x68,
|
|
0x65,
|
|
0x61,
|
|
0x70,
|
|
0x0A,
|
|
0x00,
|
|
/* padding */
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
};
|
|
COMPILER_STRIP_GATE(0x803A21E0, &lit_56);
|
|
|
|
/* 80362914-803629CC 35D254 00B8+00 0/0 1/1 0/0 .text __sys_free */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void __sys_free() {
|
|
nofralloc
|
|
#include "asm/Runtime.PPCEABI.H/GCN_mem_alloc/__sys_free.s"
|
|
}
|
|
#pragma pop
|