Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshigure committed Aug 29, 2024
1 parent dc3ada0 commit 2b4caf5
Show file tree
Hide file tree
Showing 5 changed files with 3,449 additions and 25 deletions.
48 changes: 24 additions & 24 deletions config/GMPE01_00/rels/m436Dll/symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fn_1_10670 = .text:0x00010670; // type:function size:0x1CC
_prolog = .text:0x0001083C; // type:function size:0x54 scope:global
_epilog = .text:0x00010890; // type:function size:0x4C scope:global
fn_1_108DC = .text:0x000108DC; // type:function size:0x410
fn_1_10CEC = .text:0x00010CEC; // type:function size:0x410
ObjectSetup = .text:0x00010CEC; // type:function size:0x410
fn_1_110FC = .text:0x000110FC; // type:function size:0x40
fn_1_1113C = .text:0x0001113C; // type:function size:0x28
fn_1_11164 = .text:0x00011164; // type:function size:0xC8
Expand Down Expand Up @@ -185,17 +185,17 @@ lbl_1_rodata_58 = .rodata:0x00000058; // type:object size:0x4 data:float
lbl_1_rodata_5C = .rodata:0x0000005C; // type:object size:0x4 data:float
lbl_1_rodata_60 = .rodata:0x00000060; // type:object size:0x4 data:float
lbl_1_rodata_64 = .rodata:0x00000064; // type:object size:0x4 data:float
lbl_1_rodata_68 = .rodata:0x00000068; // type:object size:0xC data:4byte
lbl_1_rodata_74 = .rodata:0x00000074; // type:object size:0xC data:4byte
lbl_1_rodata_80 = .rodata:0x00000080; // type:object size:0xC data:4byte
lbl_1_rodata_68 = .rodata:0x00000068; // type:object size:0xC data:float
lbl_1_rodata_74 = .rodata:0x00000074; // type:object size:0xC data:float
lbl_1_rodata_80 = .rodata:0x00000080; // type:object size:0xC data:float
lbl_1_rodata_8C = .rodata:0x0000008C; // type:object size:0x4 data:float
lbl_1_rodata_90 = .rodata:0x00000090; // type:object size:0x4 data:float
lbl_1_rodata_94 = .rodata:0x00000094; // type:object size:0x4 data:float
lbl_1_rodata_98 = .rodata:0x00000098; // type:object size:0x4 data:float
lbl_1_rodata_9C = .rodata:0x0000009C; // type:object size:0x4 data:float
lbl_1_rodata_A0 = .rodata:0x000000A0; // type:object size:0x4 data:float
lbl_1_rodata_A4 = .rodata:0x000000A4; // type:object size:0x3C data:4byte
lbl_1_rodata_E0 = .rodata:0x000000E0; // type:object size:0xC data:4byte
lbl_1_rodata_E0 = .rodata:0x000000E0; // type:object size:0xC data:float
lbl_1_rodata_EC = .rodata:0x000000EC; // type:object size:0x4 data:float
lbl_1_rodata_F0 = .rodata:0x000000F0; // type:object size:0x4 data:float
lbl_1_rodata_F4 = .rodata:0x000000F4; // type:object size:0x4 data:float
Expand Down Expand Up @@ -243,7 +243,7 @@ lbl_1_rodata_1BC = .rodata:0x000001BC; // type:object size:0x4 data:float
lbl_1_rodata_1C0 = .rodata:0x000001C0; // type:object size:0x4 data:float
lbl_1_rodata_1C4 = .rodata:0x000001C4; // type:object size:0x4 data:float
lbl_1_rodata_1C8 = .rodata:0x000001C8; // type:object size:0x8 data:double
lbl_1_rodata_1D0 = .rodata:0x000001D0; // type:object size:0x30 data:4byte
lbl_1_rodata_1D0 = .rodata:0x000001D0; // type:object size:0x30 data:float
lbl_1_rodata_200 = .rodata:0x00000200; // type:object size:0x4 data:float
lbl_1_rodata_204 = .rodata:0x00000204; // type:object size:0x4 data:float
lbl_1_rodata_208 = .rodata:0x00000208; // type:object size:0x4 data:float
Expand Down Expand Up @@ -288,21 +288,21 @@ lbl_1_rodata_310 = .rodata:0x00000310; // type:object size:0x4 data:float
lbl_1_rodata_314 = .rodata:0x00000314; // type:object size:0x4 data:float
lbl_1_rodata_318 = .rodata:0x00000318; // type:object size:0x4 data:float
lbl_1_rodata_31C = .rodata:0x0000031C; // type:object size:0x30 data:4byte
lbl_1_rodata_350 = .rodata:0x00000350; // type:object size:0x4 data:float
lbl_1_rodata_358 = .rodata:0x00000358; // type:object size:0x8 data:double
lbl_1_rodata_360 = .rodata:0x00000360; // type:object size:0x4 data:float
lbl_1_rodata_368 = .rodata:0x00000368; // type:object size:0x8 data:double
lbl_1_rodata_370 = .rodata:0x00000370; // type:object size:0x4 data:float
lbl_1_rodata_378 = .rodata:0x00000378; // type:object size:0x8 data:double
lbl_1_rodata_380 = .rodata:0x00000380; // type:object size:0x8 data:double
lbl_1_rodata_388 = .rodata:0x00000388; // type:object size:0x4 data:float
lbl_1_rodata_38C = .rodata:0x0000038C; // type:object size:0x4 data:float
lbl_1_rodata_390 = .rodata:0x00000390; // type:object size:0x4 data:float
lbl_1_rodata_394 = .rodata:0x00000394; // type:object size:0x4 data:float
lbl_1_rodata_398 = .rodata:0x00000398; // type:object size:0x4 data:float
lbl_1_rodata_3A0 = .rodata:0x000003A0; // type:object size:0x8 data:double
lbl_1_rodata_3A8 = .rodata:0x000003A8; // type:object size:0x8 data:double
lbl_1_rodata_3B0 = .rodata:0x000003B0; // type:object size:0x8 data:double
lbl_1_rodata_350 = .rodata:0x00000350; // type:object size:0x4 scope:local data:float
lbl_1_rodata_358 = .rodata:0x00000358; // type:object size:0x8 scope:local data:double
lbl_1_rodata_360 = .rodata:0x00000360; // type:object size:0x4 scope:local data:float
lbl_1_rodata_368 = .rodata:0x00000368; // type:object size:0x8 scope:local data:double
lbl_1_rodata_370 = .rodata:0x00000370; // type:object size:0x4 scope:local data:float
lbl_1_rodata_378 = .rodata:0x00000378; // type:object size:0x8 scope:local data:double
lbl_1_rodata_380 = .rodata:0x00000380; // type:object size:0x8 scope:local data:double
lbl_1_rodata_388 = .rodata:0x00000388; // type:object size:0x4 scope:local data:float
lbl_1_rodata_38C = .rodata:0x0000038C; // type:object size:0x4 scope:local data:float
lbl_1_rodata_390 = .rodata:0x00000390; // type:object size:0x4 scope:local data:float
lbl_1_rodata_394 = .rodata:0x00000394; // type:object size:0x4 scope:local data:float
lbl_1_rodata_398 = .rodata:0x00000398; // type:object size:0x4 scope:local data:float
lbl_1_rodata_3A0 = .rodata:0x000003A0; // type:object size:0x8 scope:local data:double
lbl_1_rodata_3A8 = .rodata:0x000003A8; // type:object size:0x8 scope:local data:double
lbl_1_rodata_3B0 = .rodata:0x000003B0; // type:object size:0x8 scope:local data:double
lbl_1_data_0 = .data:0x00000000; // type:object size:0x20
lbl_1_data_20 = .data:0x00000020; // type:object size:0x20
lbl_1_data_40 = .data:0x00000040; // type:object size:0xA0
Expand All @@ -313,10 +313,10 @@ lbl_1_data_EC = .data:0x000000EC; // type:object size:0x1B data:string
lbl_1_data_107 = .data:0x00000107; // type:object size:0x22 data:string
lbl_1_data_129 = .data:0x00000129; // type:object size:0x1A data:string
lbl_1_data_143 = .data:0x00000143; // type:object size:0x1A data:string
lbl_1_data_15D = .data:0x0000015D; // type:object size:0xF
lbl_1_data_15D = .data:0x0000015D; // type:object size:0xE data:string
lbl_1_data_16C = .data:0x0000016C; // type:object size:0x4 data:4byte
lbl_1_data_170 = .data:0x00000170; // type:object size:0x34
lbl_1_data_1A4 = .data:0x000001A4; // type:object size:0x14
lbl_1_data_170 = .data:0x00000170; // type:object size:0x12 data:string
lbl_1_data_1A4 = .data:0x000001A4; // type:object size:0x12 data:string
jumptable_1_data_1B8 = .data:0x000001B8; // type:object size:0x30 scope:local
lbl_1_data_1E8 = .data:0x000001E8; // type:object size:0x6C
lbl_1_data_254 = .data:0x00000254; // type:object size:0x18 data:float
Expand Down
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def Rel(lib_name, objects):
"m436Dll", # Fruits of Doom
objects={
Object(NonMatching, "REL/m436Dll/main.c"),
Object(NonMatching, "REL/m436Dll/sequence.c"),
Object(Matching, "REL/m436Dll/sequence.c"),
},
),
Rel(
Expand Down
63 changes: 63 additions & 0 deletions include/REL/m436Dll.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#ifndef M436DLL_H
#define M436DLL_H

#include "game/object.h"

#include "dolphin.h"

typedef struct {
/* 0x00 */ void (*unk00)(void);
/* 0x04 */ s32 (*unk04)(void);
/* 0x08 */ s32 unk08;
} StructData204; // Size 0xC

typedef struct {
/* 0x00 */ s32 unk00;
/* 0x04 */ StructData204* unk04;
/* 0x08 */ s32 unk08;
/* 0x0C */ s32 unk0C;
/* 0x10 */ void (*unk10)(void);
/* 0x14 */ s32 (*unk14)(void);
} StructBss50; // Size 0x18

typedef struct {
/* 0x00 */ void (*unk00)(void);
/* 0x04 */ float unk04;
/* 0x08 */ float unk08;
/* 0x0C */ float unk0C;
/* 0x10 */ float unk10;
/* 0x14 */ float unk14;
/* 0x18 */ float unk18;
/* 0x1C */ float unk1C;
/* 0x20 */ float unk20;
/* 0x24 */ float unk24;
/* 0x28 */ float unk28;
/* 0x2C */ float unk2C;
/* 0x30 */ float unk30;
/* 0x34 */ float unk34;
/* 0x38 */ float unk38;
/* 0x3C */ float unk3C;
/* 0x40 */ s32 unk40[7];
/* 0x5C */ float unk5C[7];
} StructBss160; // Size 0x78

float fn_1_110FC(float arg0, float arg1, float arg2);
float fn_1_1113C(float arg0, float arg1, float arg2, float arg3);
float fn_1_11164(float arg0, float arg1, float arg2, float arg3);
float fn_1_1122C(float arg0, float arg1, float arg2, float arg3);
float fn_1_112F4(float arg0, float arg1, float arg2, float arg3);
void fn_1_113CC(omObjData* arg0, s32 arg1, omObjData* arg2, s32 arg3);
s32 fn_1_11708(omObjData* arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
void fn_1_11818(omObjData* arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
void fn_1_11990(omObjData* arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
void fn_1_11B18(omObjData* arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4);
void fn_1_11D18(StructBss50* arg0, StructData204* arg1);
s32 fn_1_11D74(StructBss50* arg0);
s32 fn_1_11E70(StructBss50* arg0, s32 arg1);
s32 fn_1_11F04(StructBss50* arg0, s32 arg1);
void fn_1_12294(StructBss160* arg0);
void fn_1_125F4(StructBss160* arg0, float arg1);
void fn_1_13C48(StructBss160* arg0, StructBss160* arg1, float arg2, float arg3, float arg4);
void fn_1_14D24(StructBss160* arg0, StructBss160* arg1, float arg2, float arg3, float arg4);

#endif
Loading

0 comments on commit 2b4caf5

Please sign in to comment.