void OSFreeToSystem(void *ptr)
void * OSBlockSet(void *dst, uint8_t val, uint32_t size)
Fills a chunk of memory with the given value, like memset.
BOOL OSGetForegroundBucketFreeArea(uint32_t *outAddr, uint32_t *outSize)
Gets the location and size of the application-usable portion of the foreground bucket area.
int OSGetMemBound(OSMemoryType type, uint32_t *outAddr, uint32_t *outSize)
Gets the location and size of available memory areas.
void * OSBlockMove(void *dst, const void *src, uint32_t size, BOOL flush)
Moves chunks of memory around, similarly to memmove.
void * OSAllocFromSystem(uint32_t size, int align)
void __OSZeroProcessMemory(uint32_t proccesID)
Zeros the memory for a given proccessID.
BOOL OSGetForegroundBucket(uint32_t *outAddr, uint32_t *outSize)
Gets the location and size of the foreground bucket memory area.
void __OSRootLoadShared()
BOOL OSGetSharedData(OSSharedDataType type, uint32_t unk_r4, void **outPtr, uint32_t *outSize)
@ OS_SHAREDDATATYPE_FONT_TAIWANESE
@ OS_SHAREDDATATYPE_FONT_CHINESE
@ OS_SHAREDDATATYPE_FONT_STANDARD
@ OS_SHAREDDATATYPE_FONT_KOREAN
@ OS_SHAREDDATATYPE_FONT_MAX