Merge pull request #478 from abnormalhare/main

complete m418Dll/main.c
This commit is contained in:
Liam Coleman 2024-11-22 22:54:27 -06:00 committed by GitHub
commit 0acb3abd08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 2851 additions and 3 deletions

View file

@ -20,7 +20,8 @@
"*.inc": "c",
".clangd": "yaml",
"m443dll.h": "c",
"object.h": "c"
"object.h": "c",
"executor.h": "c"
},
"search.useIgnoreFiles": false,
"search.exclude": {

View file

@ -98,7 +98,7 @@ fn_1_9F94 = .text:0x00009F94; // type:function size:0x1BC
_prolog = .text:0x0000A150; // type:function size:0x54 scope:global
_epilog = .text:0x0000A1A4; // type:function size:0x4C scope:global
fn_1_A1F0 = .text:0x0000A1F0; // type:function size:0x398
fn_1_A588 = .text:0x0000A588; // type:function size:0x398
ObjectSetup = .text:0x0000A588; // type:function size:0x398
fn_1_A920 = .text:0x0000A920; // type:function size:0x20
fn_1_A940 = .text:0x0000A940; // type:function size:0x28
fn_1_A968 = .text:0x0000A968; // type:function size:0xC8

View file

@ -149,7 +149,7 @@ config.binutils_tag = "2.42-1"
config.compilers_tag = "20240706"
config.dtk_tag = "v1.1.4"
config.objdiff_tag = "v2.3.3"
config.sjiswrap_tag = "v1.1.1"
config.sjiswrap_tag = "v1.2.0"
config.wibo_tag = "0.6.11"
# Project

51
include/REL/m418Dll.h Normal file
View file

@ -0,0 +1,51 @@
#ifndef M418DLL_H
#define M418DLL_H
#include "dolphin.h"
typedef void (*M418DllFunc)(void);
typedef s32 (*M418DllRetFunc)(void);
typedef void (*M418DllInFunc)(s32);
typedef s32 (*M418DllInRetFunc)(s32);
typedef struct M418DllUnkStruct {
M418DllFunc unk0;
Vec center;
char unk10[0xC];
Vec rot;
char unk28[0xC];
f32 zoom;
char unk38[0x4];
f32 unk3C[3];
f32 unk48;
} M418DllUnkStruct; // sizeof 0x4C
typedef struct M418DllUnkStruct7 {
char unk[0x10];
M418DllFunc unk10;
M418DllRetFunc unk14;
} M418DllUnkStruct7; // sizeof 0x18
typedef struct M418DllUnkStruct8 {
M418DllInFunc unk0;
M418DllInRetFunc unk4;
s32 unk8;
} M418DllUnkStruct8; // sizeof 0x24
f32 fn_1_A920(f32, f32, f32);
f32 fn_1_A940(f32, f32, f32, f32);
f32 fn_1_AA30(f32, f32, f32, f32);
void fn_1_ABC4(omObjData*, s32, s32, s32, s32);
void fn_1_AD14(omObjData*, s32, s32, s32, s32);
void fn_1_AEDC(M418DllUnkStruct7*, M418DllUnkStruct8**);
s32 fn_1_AF38(M418DllUnkStruct7*);
s32 fn_1_B034(M418DllUnkStruct7*, s32);
s32 fn_1_B0C8(M418DllUnkStruct7*, s32);
void fn_1_B104(M418DllUnkStruct*, Vec, Vec);
void fn_1_B41C(M418DllUnkStruct*);
void fn_1_B458(M418DllUnkStruct*);
void fn_1_BEAC(M418DllUnkStruct*, M418DllUnkStruct*, f32, f32, f32);
void fn_1_CBF8(M418DllUnkStruct*, M418DllUnkStruct*, f32, f32, f32);
void fn_1_DC10(M418DllUnkStruct*, M418DllUnkStruct*, f32, f32, f32);
#endif

2796
src/REL/m418Dll/main.c Normal file

File diff suppressed because it is too large Load diff

View file