mirror of
https://github.com/zeldaret/st
synced 2026-07-09 22:51:43 -04:00
progress
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#ifndef _NITRO_OVERLAY_H
|
||||
#define _NITRO_OVERLAY_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct Overlay {
|
||||
/* 00 */ unk32 mId;
|
||||
/* 04 */ void* mBaseAddress;
|
||||
/* 08 */ u32 mTextSize;
|
||||
/* 0c */ s32 mBssSize;
|
||||
/* 10 */ unk32 mCtorStart;
|
||||
/* 14 */ unk32 mCtorEnd;
|
||||
/* 18 */ unk32 mFileId;
|
||||
/* 1c */ u32 mFileSize;
|
||||
/* 20 */
|
||||
} Overlay;
|
||||
|
||||
u32 Overlay_FileSize(Overlay* overlay);
|
||||
void Overlay_ClearCacheAndBss(Overlay* overlay);
|
||||
void Overlay_func_02042238(unk32* param1, Overlay* overlay);
|
||||
bool Overlay_func_02042250(Overlay* param1, Overlay* param2, s32 param3, unk32 param4, s32 param5, u32 param6,
|
||||
s32 param7, u32 param8);
|
||||
bool Overlay_func_020422ec(Overlay* param1, Overlay* param2, s32 param3);
|
||||
bool Overlay_func_0204238c(Overlay* overlay);
|
||||
bool Overlay_func_020423e8(s32 param1, unk32 param2, unk32 param3);
|
||||
void Overlay_Init(Overlay* overlay);
|
||||
void Overlay_RunGlobalDestructors(Overlay* overlay);
|
||||
bool Overlay_Destroy(Overlay* overlay);
|
||||
bool Overlay_Load(Overlay* overlay, unk32 param2);
|
||||
bool Overlay_Unload(Overlay* overlay, unk32 param2);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user