mirror of
https://github.com/encounter/oot-gc.git
synced 2026-03-30 11:33:44 -07:00
d693726da8
* Use #include "..." rather than #include <...> * Remove unused dolphin headers * Go through dolphin/base.h * Remove __cplusplus guards * Go through dolphin/gx.h * Move dolphin OS headers to subdirectory * Go through dolphin/os.h * Go through the rest of dolphin headers * Split out si.h * Split up hw_regs.h * Change #include <> to #include "" in debug info * Create dolphin/thp.h * Go through variables.h * Create dolphin.h
71 lines
1.7 KiB
C
71 lines
1.7 KiB
C
/*
|
|
Compile unit: C:\HOMEBOY\STEPHEN\Japanese Ocarina\Fire\rdb.c
|
|
Producer: MW EABI PPC C-Compiler
|
|
Language: C++
|
|
Code range: 0x800715D0 -> 0x80071BB8
|
|
*/
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
typedef struct _XL_OBJECTTYPE {
|
|
/* 0x0 */ char* szName;
|
|
/* 0x4 */ s32 nSizeObject;
|
|
/* 0x8 */ struct _XL_OBJECTTYPE* pClassBase;
|
|
/* 0xC */ s32 (*pfEvent)(void*, s32, void*);
|
|
} __anon_0x568FE; // size = 0x10
|
|
|
|
// size = 0x10, address = 0x800EE1B0
|
|
struct _XL_OBJECTTYPE gClassRdb;
|
|
|
|
typedef struct __anon_0x56A0F {
|
|
/* 0x000 */ s32 nHackCount;
|
|
/* 0x004 */ char szString[256];
|
|
/* 0x104 */ s32 nIndexString;
|
|
/* 0x108 */ s32 nAddress;
|
|
/* 0x10C */ void* pHost;
|
|
} __anon_0x56A0F; // size = 0x110
|
|
|
|
// Range: 0x80071BB0 -> 0x80071BB8
|
|
static s32 rdbPut8() {}
|
|
|
|
// Range: 0x80071BA8 -> 0x80071BB0
|
|
static s32 rdbPut16() {}
|
|
|
|
// Range: 0x8007172C -> 0x80071BA8
|
|
static s32 rdbPut32(struct __anon_0x56A0F* pRDB, u32 nAddress, s32* pData) {
|
|
// Parameters
|
|
// struct __anon_0x56A0F* pRDB; // r3
|
|
// u32 nAddress; // r1+0xC
|
|
// s32* pData; // r1+0x10
|
|
|
|
// Local variables
|
|
s32 nLength; // r7
|
|
s32 iCounter; // r5
|
|
}
|
|
|
|
// Range: 0x80071724 -> 0x8007172C
|
|
static s32 rdbPut64() {}
|
|
|
|
// Range: 0x8007171C -> 0x80071724
|
|
static s32 rdbGet8() {}
|
|
|
|
// Range: 0x80071714 -> 0x8007171C
|
|
static s32 rdbGet16() {}
|
|
|
|
// Range: 0x800716E0 -> 0x80071714
|
|
static s32 rdbGet32(u32 nAddress) {
|
|
// Parameters
|
|
// u32 nAddress; // r1+0x4
|
|
}
|
|
|
|
// Range: 0x800716D8 -> 0x800716E0
|
|
static s32 rdbGet64() {}
|
|
|
|
// Range: 0x800715D0 -> 0x800716D8
|
|
s32 rdbEvent(struct __anon_0x56A0F* pRDB, s32 nEvent, void* pArgument) {
|
|
// Parameters
|
|
// struct __anon_0x56A0F* pRDB; // r30
|
|
// s32 nEvent; // r1+0xC
|
|
// void* pArgument; // r31
|
|
}
|