Skip to content

Commit

Permalink
Match all 4-byte functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ribbanya committed Sep 24, 2024
1 parent 8aea0d0 commit 7c89bf4
Show file tree
Hide file tree
Showing 273 changed files with 24,542 additions and 5,944 deletions.
2,176 changes: 1,097 additions & 1,079 deletions asm/dolphin/gx/GXAttr.s

Large diffs are not rendered by default.

5,339 changes: 2,735 additions & 2,604 deletions asm/dolphin/thp/THPDec.s

Large diffs are not rendered by default.

3,338 changes: 1,689 additions & 1,649 deletions asm/melee/ft/chara/ftCommon/ftCo_ItemThrow.s

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions config/GALE01/splits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3465,6 +3465,9 @@ MSL/ansi_fp.c:
MSL/buffer_io.c:
.text start:0x8032345C end:0x8032355C

MSL/PPC_EABI/critical_regions.gamecube.c:
.text start:0x8032355C end:0x80323560

MSL/ctype.c:
.text start:0x80323560 end:0x803235B0
.rodata start:0x803B8C30 end:0x803B8F30
Expand Down
52 changes: 0 additions & 52 deletions config/GALE01/symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1503,13 +1503,6 @@ ftAction_80071A9C = .text:0x80071A9C; // type:function size:0x4C scope:global
ftAction_80071AE8 = .text:0x80071AE8; // type:function size:0x40 scope:global
ftAction_80071B28 = .text:0x80071B28; // type:function size:0x28 scope:global
ftAction_80071B50 = .text:0x80071B50; // type:function size:0x154 scope:global
lbl_80071BE0 = .text:0x80071BE0; // type:label scope:global
lbl_80071BE8 = .text:0x80071BE8; // type:label scope:global
lbl_80071BF0 = .text:0x80071BF0; // type:label scope:global
lbl_80071BF8 = .text:0x80071BF8; // type:label scope:global
lbl_80071C00 = .text:0x80071C00; // type:label scope:global
lbl_80071C08 = .text:0x80071C08; // type:label scope:global
lbl_80071C10 = .text:0x80071C10; // type:label scope:global
ftAction_80071CA4 = .text:0x80071CA4; // type:function size:0x28 scope:global
ftAction_80071CCC = .text:0x80071CCC; // type:function size:0x64 scope:global
ftAction_80071D30 = .text:0x80071D30; // type:function size:0x10 scope:global
Expand All @@ -1522,22 +1515,8 @@ ftAction_80071F34 = .text:0x80071F34; // type:function size:0x44 scope:global
ftAction_80071F78 = .text:0x80071F78; // type:function size:0x28 scope:global
ftAction_80071FA0 = .text:0x80071FA0; // type:function size:0x28 scope:global
ftAction_80071FC8 = .text:0x80071FC8; // type:function size:0x300 scope:global
lbl_80072210 = .text:0x80072210; // type:label scope:global
lbl_80072228 = .text:0x80072228; // type:label scope:global
lbl_80072240 = .text:0x80072240; // type:label scope:global
lbl_80072258 = .text:0x80072258; // type:label scope:global
lbl_80072270 = .text:0x80072270; // type:label scope:global
lbl_80072288 = .text:0x80072288; // type:label scope:global
lbl_800722A0 = .text:0x800722A0; // type:label scope:global
ftAction_800722C8 = .text:0x800722C8; // type:function size:0x58 scope:global
ftAction_80072320 = .text:0x80072320; // type:function size:0x3A0 scope:global
lbl_80072408 = .text:0x80072408; // type:label scope:global
lbl_8007243C = .text:0x8007243C; // type:label scope:global
lbl_80072480 = .text:0x80072480; // type:label scope:global
lbl_80072530 = .text:0x80072530; // type:label scope:global
lbl_80072574 = .text:0x80072574; // type:label scope:global
lbl_800725B8 = .text:0x800725B8; // type:label scope:global
lbl_800725FC = .text:0x800725FC; // type:label scope:global
ftAction_800726C0 = .text:0x800726C0; // type:function size:0x34 scope:global
ftAction_800726F4 = .text:0x800726F4; // type:function size:0xD4 scope:global
ftAction_800727C8 = .text:0x800727C8; // type:function size:0x74 scope:global
Expand Down Expand Up @@ -2330,10 +2309,7 @@ ftCo_8009563C = .text:0x8009563C; // type:function size:0xC4 scope:global
ftCo_80095700 = .text:0x80095700; // type:function size:0x44 scope:global
ftCo_80095744 = .text:0x80095744; // type:function size:0xB0 scope:global
ftCo_800957F4 = .text:0x800957F4; // type:function size:0x108 scope:global
ftCo_8009588C = .text:0x8009588C; // type:label scope:global
ftCo_8009589C = .text:0x8009589C; // type:label scope:global
ftCo_800958FC = .text:0x800958FC; // type:function size:0x134 scope:global
ftCo_80095990 = .text:0x80095990; // type:label scope:global
ftCo_800959A0 = .text:0x800959A0; // type:label scope:global
ftCo_80095A30 = .text:0x80095A30; // type:function size:0x32C scope:global
ftCo_80095D5C = .text:0x80095D5C; // type:function size:0x124 scope:global
Expand Down Expand Up @@ -3088,13 +3064,7 @@ ftCo_PassiveCeil_IASA = .text:0x800C25AC; // type:function size:0x4 scope:global
ftCo_PassiveCeil_Phys = .text:0x800C25B0; // type:function size:0x20 scope:global
ftCo_PassiveCeil_Coll = .text:0x800C25D0; // type:function size:0x30 scope:global
ftCo_800C2600 = .text:0x800C2600; // type:function size:0x9D8 scope:global
lbl_800C27B4 = .text:0x800C27B4; // type:label scope:global
lbl_800C27C0 = .text:0x800C27C0; // type:label scope:global
lbl_800C27C8 = .text:0x800C27C8; // type:label scope:global
ftCo_800C2FD8 = .text:0x800C2FD8; // type:function size:0x1B4 scope:global
lbl_800C30C0 = .text:0x800C30C0; // type:label scope:global
lbl_800C30CC = .text:0x800C30CC; // type:label scope:global
lbl_800C30D4 = .text:0x800C30D4; // type:label scope:global
ftCo_800C318C = .text:0x800C318C; // type:function size:0x120 scope:global
ftCo_DamageSong_Anim = .text:0x800C32AC; // type:function size:0xA0 scope:global
ftCo_DamageSong_IASA = .text:0x800C334C; // type:function size:0x4 scope:global
Expand Down Expand Up @@ -18288,28 +18258,6 @@ __GXSetVAT = .text:0x8033C770; // type:function size:0x9C scope:global
GXSetArray = .text:0x8033C80C; // type:function size:0x8C scope:global
GXInvalidateVtxCache = .text:0x8033C898; // type:function size:0x10 scope:global
GXSetTexCoordGen2 = .text:0x8033C8A8; // type:function size:0x2D0 scope:global
GXAttr_8033C8E0 = .text:0x8033C8E0; // type:label scope:global
GXAttr_8033C8EC = .text:0x8033C8EC; // type:label scope:global
GXAttr_8033C8F8 = .text:0x8033C8F8; // type:label scope:global
GXAttr_8033C904 = .text:0x8033C904; // type:label scope:global
GXAttr_8033C910 = .text:0x8033C910; // type:label scope:global
GXAttr_8033C918 = .text:0x8033C918; // type:label scope:global
GXAttr_8033C920 = .text:0x8033C920; // type:label scope:global
GXAttr_8033C928 = .text:0x8033C928; // type:label scope:global
GXAttr_8033C930 = .text:0x8033C930; // type:label scope:global
GXAttr_8033C938 = .text:0x8033C938; // type:label scope:global
GXAttr_8033C940 = .text:0x8033C940; // type:label scope:global
GXAttr_8033C948 = .text:0x8033C948; // type:label scope:global
GXAttr_8033C950 = .text:0x8033C950; // type:label scope:global
GXAttr_8033C958 = .text:0x8033C958; // type:label scope:global
GXAttr_8033C95C = .text:0x8033C95C; // type:label scope:global
GXAttr_8033CA6C = .text:0x8033CA6C; // type:label scope:global
GXAttr_8033CA8C = .text:0x8033CA8C; // type:label scope:global
GXAttr_8033CAAC = .text:0x8033CAAC; // type:label scope:global
GXAttr_8033CACC = .text:0x8033CACC; // type:label scope:global
GXAttr_8033CAEC = .text:0x8033CAEC; // type:label scope:global
GXAttr_8033CB04 = .text:0x8033CB04; // type:label scope:global
GXAttr_8033CB24 = .text:0x8033CB24; // type:label scope:global
GXSetNumTexGens = .text:0x8033CB78; // type:function size:0x48 scope:global
GXSetMisc = .text:0x8033CBC0; // type:function size:0x78 scope:global
GXSetDrawDone = .text:0x8033CC38; // type:function size:0x98 scope:global
Expand Down
24 changes: 24 additions & 0 deletions src/MSL/printf.c
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
void __stdio_atexit(void) {}

/// #sprintf

/// #vsprintf

/// #vprintf

/// #printf

/// #__StringWrite

/// #__FileWrite

/// #__pformatter

/// #float2str

/// #round_decimal

/// #longlong2str

/// #long2str

/// #parse_format
19 changes: 19 additions & 0 deletions src/MSL/printf.h
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
#ifndef GALE01_323CF0
#define GALE01_323CF0

#include <placeholder.h>

/* 323CF0 */ UNK_RET __stdio_atexit(UNK_PARAMS);
/* 323CF4 */ UNK_RET sprintf(UNK_PARAMS);
/* 323DC8 */ UNK_RET vsprintf(UNK_PARAMS);
/* 323E38 */ UNK_RET vprintf(UNK_PARAMS);
/* 323EB4 */ UNK_RET printf(UNK_PARAMS);
/* 323F80 */ UNK_RET __StringWrite(UNK_PARAMS);
/* 323FEC */ UNK_RET __FileWrite(UNK_PARAMS);
/* 324044 */ UNK_RET __pformatter(UNK_PARAMS);
/* 324674 */ UNK_RET float2str(UNK_PARAMS);
/* 324CAC */ UNK_RET round_decimal(UNK_PARAMS);
/* 324DE0 */ UNK_RET longlong2str(UNK_PARAMS);
/* 3250C0 */ UNK_RET long2str(UNK_PARAMS);
/* 3252E4 */ UNK_RET parse_format(UNK_PARAMS);

#endif
23 changes: 23 additions & 0 deletions src/MetroTRK/dolphin_trk_glue.c
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@

/// #TRKLoadContext

/// #TRKEXICallBack

/// #InitMetroTRKCommTable

void TRKUARTInterruptHandler(void) {}

/// #TRKInitializeIntDrivenUART

/// #EnableEXI2Interrupts

/// #TRKPollUART

/// #TRK_ReadUARTN

/// #TRK_WriteUARTN

/// #ReserveEXI2Port

/// #UnreserveEXI2Port

/// #TRK_board_display
18 changes: 18 additions & 0 deletions src/MetroTRK/dolphin_trk_glue.h
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
#ifndef GALE01_32AC28
#define GALE01_32AC28

#include <placeholder.h>

/* 32AC28 */ UNK_RET TRKLoadContext(UNK_PARAMS);
/* 32ACB0 */ UNK_RET TRKEXICallBack(UNK_PARAMS);
/* 32ACE8 */ UNK_RET InitMetroTRKCommTable(UNK_PARAMS);
/* 32ADD0 */ UNK_RET TRKUARTInterruptHandler(UNK_PARAMS);
/* 32ADD4 */ UNK_RET TRKInitializeIntDrivenUART(UNK_PARAMS);
/* 32AE14 */ UNK_RET EnableEXI2Interrupts(UNK_PARAMS);
/* 32AE44 */ UNK_RET TRKPollUART(UNK_PARAMS);
/* 32AE74 */ UNK_RET TRK_ReadUARTN(UNK_PARAMS);
/* 32AEB8 */ UNK_RET TRK_WriteUARTN(UNK_PARAMS);
/* 32AEFC */ UNK_RET ReserveEXI2Port(UNK_PARAMS);
/* 32AF2C */ UNK_RET UnreserveEXI2Port(UNK_PARAMS);
/* 32AF5C */ UNK_RET TRK_board_display(UNK_PARAMS);

#endif
10 changes: 10 additions & 0 deletions src/MetroTRK/serpoll.c
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
/// #TRKTestForPacket

/// #TRKGetInput

/// #TRKProcessInput

/// #TRKInitializeSerialHandler

/// #TRKTerminateSerialHandler

void usr_put_initialize(void) {}
12 changes: 12 additions & 0 deletions src/MetroTRK/serpoll.h
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
#ifndef GALE01_3274DC
#define GALE01_3274DC

#include <placeholder.h>

/* 3274DC */ UNK_RET TRKTestForPacket(UNK_PARAMS);
/* 3275AC */ UNK_RET TRKGetInput(UNK_PARAMS);
/* 327628 */ UNK_RET TRKProcessInput(UNK_PARAMS);
/* 327678 */ UNK_RET TRKInitializeSerialHandler(UNK_PARAMS);
/* 32769C */ UNK_RET TRKTerminateSerialHandler(UNK_PARAMS);
/* 3276A4 */ UNK_RET usr_put_initialize(UNK_PARAMS);

#endif
28 changes: 28 additions & 0 deletions src/dolphin/OdemuExi2/DebuggerDriver.c
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
/// #DBGEXIImm

/// #DBGReadMailbox

/// #DBGRead

/// #DBGWrite

/// #DBGReadStatus

/// #MWCallback

/// #DBGHandler

/// #DBInitComm

/// #DBInitInterrupts

/// #DBQueryData

/// #DBRead

/// #DBWrite

void DBOpen(void) {}

void DBClose(void) {}

/// #Hu_IsStub
21 changes: 21 additions & 0 deletions src/dolphin/OdemuExi2/DebuggerDriver.h
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
#ifndef GALE01_32AFE4
#define GALE01_32AFE4

#include <placeholder.h>

/* 32AFE4 */ UNK_RET DBGEXIImm(UNK_PARAMS);
/* 32B27C */ UNK_RET DBGReadMailbox(UNK_PARAMS);
/* 32B328 */ UNK_RET DBGRead(UNK_PARAMS);
/* 32B404 */ UNK_RET DBGWrite(UNK_PARAMS);
/* 32B4E0 */ UNK_RET DBGReadStatus(UNK_PARAMS);
/* 32B58C */ UNK_RET MWCallback(UNK_PARAMS);
/* 32B5C8 */ UNK_RET DBGHandler(UNK_PARAMS);
/* 32B608 */ UNK_RET DBInitComm(UNK_PARAMS);
/* 32B680 */ UNK_RET DBInitInterrupts(UNK_PARAMS);
/* 32B6D4 */ UNK_RET DBQueryData(UNK_PARAMS);
/* 32B770 */ UNK_RET DBRead(UNK_PARAMS);
/* 32B7FC */ UNK_RET DBWrite(UNK_PARAMS);
/* 32BA5C */ UNK_RET DBOpen(UNK_PARAMS);
/* 32BA60 */ UNK_RET DBClose(UNK_PARAMS);
/* 32BA64 */ UNK_RET Hu_IsStub(UNK_PARAMS);

#endif
10 changes: 2 additions & 8 deletions src/dolphin/gx/GXAttr.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
#include <dolphin/gx/GXTransform.h>

// https://decomp.me/scratch/d4i4k // 95 (98.90%)
void __GXXfVtxSpecs(void)
{
NOT_IMPLEMENTED;
}
/// #__GXXfVtxSpecs

/**
* Sets the type of a single attribute (@p attr) in the current vertex
Expand Down Expand Up @@ -120,10 +117,7 @@ void GXSetVtxDesc(GXAttr attr, s32 type)
}

// https://decomp.me/scratch/NAwYO // 4529 (49.68%)
void __GXSetVCD(void)
{
NOT_IMPLEMENTED;
}
/// #__GXSetVCD

void GXClearVtxDesc(void)
{
Expand Down
2 changes: 1 addition & 1 deletion src/melee/ft/chara/ftCLink/ftCl_AppealS.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "ft/types.h"
#include "ftLink/ftLk_Init.h"
#include "ftLink/types.h"
#include "it/items/it_27CF.h"
#include "it/items/itclinkmilk.h"

void ftCl_AppealS_Anim(HSD_GObj* gobj)
{
Expand Down
2 changes: 1 addition & 1 deletion src/melee/ft/chara/ftCLink/inlines.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "ft/types.h"
#include "ftLink/types.h"
#include "it/items/it_27CF.h"
#include "it/items/itclinkmilk.h"

#include <baselib/gobj.h>

Expand Down
3 changes: 0 additions & 3 deletions src/melee/ft/chara/ftCommon/ftCo_ItemThrow.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
/* 0952A0 */ static void ftCo_80095700(ftCo_GObj* gobj, enum_t arg1);
/* 0952C8 */ static UNK_RET lbl_80095728(UNK_PARAMS);
/* 0952D8 */ static UNK_RET lbl_80095738(UNK_PARAMS);
/* 09542C */ static UNK_RET ftCo_8009588C(UNK_PARAMS);
/* 09543C */ static UNK_RET ftCo_8009589C(UNK_PARAMS);
/* 09549C */ static void ftCo_800958FC(ftCo_GObj* gobj, int);
/* 095530 */ static UNK_RET ftCo_80095990(UNK_PARAMS);
/* 095540 */ static UNK_RET ftCo_800959A0(UNK_PARAMS);
/* 0955D0 */ static void ftCo_80095A30(ftCo_GObj* gobj);
/* 0958FC */ static void ftCo_80095D5C(ftCo_Fighter* fp, Vec3* arg1);
Expand Down
Loading

0 comments on commit 7c89bf4

Please sign in to comment.