Matched most of REL/m411Dll, 1 function missing

This commit is contained in:
mrshigure 2024-07-27 12:19:33 -07:00
parent c793b9f403
commit 78edfdc5d7
5 changed files with 2668 additions and 7 deletions

View file

@ -211,9 +211,9 @@ lbl_1_rodata_2E4 = .rodata:0x000002E4; // type:object size:0x4 data:float
lbl_1_rodata_2E8 = .rodata:0x000002E8; // type:object size:0x4 data:float
lbl_1_rodata_2EC = .rodata:0x000002EC; // type:object size:0x4 data:float
lbl_1_rodata_2F0 = .rodata:0x000002F0; // type:object size:0x4 data:float
lbl_1_data_0 = .data:0x00000000; // type:object size:0x54
lbl_1_data_0 = .data:0x00000000; // type:object size:0x54 data:float
lbl_1_data_54 = .data:0x00000054; // type:object size:0xC
lbl_1_data_60 = .data:0x00000060; // type:object size:0xC
lbl_1_data_60 = .data:0x00000060; // type:object size:0x9 data:string
lbl_1_data_6C = .data:0x0000006C; // type:object size:0xC
lbl_1_data_78 = .data:0x00000078; // type:object size:0xE data:string
lbl_1_data_86 = .data:0x00000086; // type:object size:0xE data:string
@ -249,7 +249,7 @@ lbl_1_data_2D0 = .data:0x000002D0; // type:object size:0x14
lbl_1_data_2E4 = .data:0x000002E4; // type:object size:0xB data:string
lbl_1_data_2EF = .data:0x000002EF; // type:object size:0xB data:string
lbl_1_data_2FA = .data:0x000002FA; // type:object size:0x8 data:string
lbl_1_data_302 = .data:0x00000302; // type:object size:0xA
lbl_1_data_302 = .data:0x00000302; // type:object size:0x7 data:string
lbl_1_data_30C = .data:0x0000030C; // type:object size:0x10
lbl_1_data_31C = .data:0x0000031C; // type:object size:0xC data:string
lbl_1_data_328 = .data:0x00000328; // type:object size:0x7 data:string

View file

@ -887,7 +887,7 @@ void fn_1_2AAC(omObjData *arg0) {
}
for (i = 0; i < 3; i++) {
temp_r26 = &lbl_1_data_10[i];
temp_r26->unk04 = GXGetTexBufferSize(temp_r26->unk08, temp_r26->unk0A, 4, 0, 0);
temp_r26->unk04 = GXGetTexBufferSize(temp_r26->unk08, temp_r26->unk0A, GX_TF_RGB565, GX_FALSE, 0);
temp_r26->unk00 = HuMemDirectMallocNum(HEAP_DATA, temp_r26->unk04, MEMORY_DEFAULT_NUM);
}
fn_1_280C(arg0);

View file

@ -735,7 +735,7 @@ void fn_1_A0A4(omObjData *object)
object->data = HuMemDirectMallocNum(HEAP_SYSTEM, sizeof(UnkM410Struct14), MEMORY_DEFAULT_NUM);
var_r30 = object->data;
memset(var_r30, 0, sizeof(UnkM410Struct14));
var_r30->unk_F80 = GXGetTexBufferSize(640, 480, 5, GX_FALSE, 0);
var_r30->unk_F80 = GXGetTexBufferSize(640, 480, GX_TF_RGB5A3, GX_FALSE, 0);
var_r30->unk_F84 = HuMemDirectMallocNum(HEAP_SYSTEM, var_r30->unk_F80, MEMORY_DEFAULT_NUM);
DCFlushRange(var_r30->unk_F84, var_r30->unk_F80);
fn_1_A9A4(&var_r30->unk_120);

2661
src/REL/m411Dll/main.c Executable file

File diff suppressed because it is too large Load diff

View file

@ -1385,7 +1385,7 @@ void fn_1_4E10(UnkM414BssF0Struct *arg0)
}
}
s8 fn_1_5554(s32 arg0, s32 arg1) // identical to m411Dll/main.c::fn_1_5D58
s8 fn_1_5554(s32 arg0, s32 arg1) // similar to m411Dll/main.c::fn_1_5D58
{
UnkM414BssF0Struct *var_r31;
s8 var_r30;
@ -1416,7 +1416,7 @@ s8 fn_1_5554(s32 arg0, s32 arg1) // identical to m411Dll/main.c::fn_1_5D58
}
static inline s8 fn_1_5554_inline(s32 arg0, s32 arg1) // identical to m411Dll/main.c::fn_1_5D58
static inline s8 fn_1_5554_inline(s32 arg0, s32 arg1) // similar to m411Dll/main.c::fn_1_5D58
{
UnkM414BssF0Struct *var_r31;
s8 var_r30;