mirror of
https://github.com/zeldaret/oot
synced 2026-07-08 14:26:45 -04:00
Decompile code_800D2E30 and use struct in code_800A9F30 (#80)
* Match func_800AA000 * Match z_camera/func_800437F0 * Decompile code_800D2E30, use struct in 800A9F30 * Format * Remove 'U' from literals * Remove bss, cleanup z_camera * Review changes, rename temp * Move externs to variables.h
This commit is contained in:
+4
-4
@@ -1246,7 +1246,7 @@ void func_800A9D40(u32 addr, u8 handleType, u8 handleDomain, u8 handleLatency, u
|
||||
u8 handlePulse, u32 handleSpeed);
|
||||
void func_800A9E14(UNK_PTR dramAddr, size_t size, UNK_TYPE arg2);
|
||||
void Sram_ReadWrite(UNK_TYPE arg0, UNK_PTR dramAddr, size_t size, UNK_TYPE arg3);
|
||||
void func_800A9F30(s32, s32);
|
||||
void func_800A9F30(PadMgr*, s32);
|
||||
void func_800A9F6C(f32, u8, u8, u8);
|
||||
void func_800AA000(f32, u8, u8, u8);
|
||||
void func_800AA0B4();
|
||||
@@ -1700,9 +1700,9 @@ u32 SysUcode_GetUCodeBoot();
|
||||
u32 SysUcode_GetUCodeBootSize();
|
||||
u32 SysUcode_GetUCode();
|
||||
u32 SysUcode_GetUCodeData();
|
||||
// ? func_800D2E30(?);
|
||||
// ? func_800D3140(?);
|
||||
// ? func_800D3140(?);
|
||||
void func_800D2E30(UnkRumbleStruct *arg0);
|
||||
void func_800D3140(UnkRumbleStruct* arg0);
|
||||
void func_800D3178(UnkRumbleStruct* arg0);
|
||||
// ? func_800D31F0(?);
|
||||
// ? func_800D3210(?);
|
||||
void IrqMgr_AddClient(IrqMgr* this, IrqMgrClient* c, OSMesgQueue* msgQ);
|
||||
|
||||
+2
-2
@@ -632,7 +632,7 @@ extern volatile u32 D_8012D290;
|
||||
//extern ? D_8012D2A0;
|
||||
extern Mtx gMtxClear;
|
||||
extern MtxF gMtxFClear;
|
||||
//extern ? D_8012DBB0;
|
||||
extern u8 D_8012DBB0;
|
||||
extern u32 D_8012DBC0;
|
||||
extern volatile u32 gIrqMgrResetStatus;
|
||||
extern u32 D_8012DBA0;
|
||||
@@ -3504,7 +3504,7 @@ extern Color_RGBA8 D_801614B0;
|
||||
//extern ? D_80166648;
|
||||
extern PreNmiBuff* gAppNmiBufferPtr;
|
||||
//extern ? gSchedContext;
|
||||
//extern u8 gPadMgr[];
|
||||
extern PadMgr gPadMgr;
|
||||
//extern ? D_80166D28;
|
||||
extern u32 gSegments[NUM_SEGMENTS];
|
||||
//extern ? D_8016A500;
|
||||
|
||||
@@ -1572,4 +1572,20 @@ typedef struct {
|
||||
/* 0x0C */ char unk_0C[0x0C];
|
||||
} VisMonoStruct; // size = 0x18
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ u8 rumbleEnable[4];
|
||||
/* 0x004 */ u8 unk_04[0x40];
|
||||
/* 0x044 */ u8 unk_44[0x40];
|
||||
/* 0x084 */ u8 unk_84[0x40];
|
||||
/* 0x0C4 */ u8 unk_C4[0x40];
|
||||
/* 0x104 */ u8 unk_104;
|
||||
/* 0x105 */ u8 unk_105;
|
||||
/* 0x106 */ u16 unk_106;
|
||||
/* 0x108 */ u16 unk_108;
|
||||
/* 0x10A */ u8 unk_10A;
|
||||
/* 0x10B */ u8 unk_10B;
|
||||
/* 0x10C */ u8 unk_10C;
|
||||
/* 0x10D */ u8 unk_10D;
|
||||
} UnkRumbleStruct; // size = 0x10E
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user