This commit is contained in:
Donkey Kong 2024-09-23 12:31:58 -05:00
parent d6e75de9ff
commit 19fc3cab4d
6 changed files with 53 additions and 11 deletions

View File

@ -2040,13 +2040,24 @@ typedef struct {
void *unk30;
} Struct8073BC74;
typedef struct Struct8073BC74_auxbus_unk20_unk4_unk20 {
u8 pad0[2];
s16 unk2;
u8 pad4[8 - 4];
void *unk8;
u8 padC[0x28 - 0xC];
s32 unk28;
void *unk2C[];
} Struct8073BC74_auxbus_unk20_unk4_unk20;
typedef struct Struct8073BC74_auxbus_unk20_unk4 {
u8 pad0[0x10];
f32 unk10;
f32 unk14;
u8 unk18[4];
f32 unk1C;
u8 unk20[0x28 - 0x20];
Struct8073BC74_auxbus_unk20_unk4_unk20 * unk20;
u8 unk24[0x28 - 0x24];
} Struct8073BC74_auxbus_unk20_unk4;
typedef struct Struct8073BC74_auxbus_unk20 {

View File

@ -900,7 +900,7 @@ us,asm,func_global_asm_8065A654,12,yes
us,asm,func_global_asm_80676540,80,yes
us,asm,func_global_asm_806E9388,112,yes
us,asm,func_global_asm_806CD9A0,900,yes
us,asm,func_global_asm_8073E63C,256,no
us,asm,func_global_asm_8073E63C,256,yes
us,asm,func_global_asm_80634908,84,yes
us,asm,func_global_asm_806B1290,184,yes
us,asm,func_global_asm_806E0454,140,yes
@ -1214,7 +1214,7 @@ us,asm,func_global_asm_806D850C,752,yes
us,asm,func_global_asm_80661658,72,yes
us,asm,func_global_asm_806A7EF0,384,yes
us,asm,func_global_asm_806C8F8C,312,yes
us,asm,func_global_asm_8073E800,160,no
us,asm,func_global_asm_8073E800,148,yes
us,asm,func_global_asm_806019B8,76,yes
us,asm,func_global_asm_80620B38,968,no
us,asm,isIntroStoryPlaying,12,yes

1 version section function length matching
900 us asm func_global_asm_80676540 80 yes
901 us asm func_global_asm_806E9388 112 yes
902 us asm func_global_asm_806CD9A0 900 yes
903 us asm func_global_asm_8073E63C 256 no yes
904 us asm func_global_asm_80634908 84 yes
905 us asm func_global_asm_806B1290 184 yes
906 us asm func_global_asm_806E0454 140 yes
1214 us asm func_global_asm_80661658 72 yes
1215 us asm func_global_asm_806A7EF0 384 yes
1216 us asm func_global_asm_806C8F8C 312 yes
1217 us asm func_global_asm_8073E800 160 148 no yes
1218 us asm func_global_asm_806019B8 76 yes
1219 us asm func_global_asm_80620B38 968 no
1220 us asm isIntroStoryPlaying 12 yes

View File

@ -900,7 +900,7 @@ us,asm,func_global_asm_8065A654,12,yes
us,asm,func_global_asm_80676540,80,yes
us,asm,func_global_asm_806E9388,112,yes
us,asm,func_global_asm_806CD9A0,900,yes
us,asm,func_global_asm_8073E63C,256,no
us,asm,func_global_asm_8073E63C,256,yes
us,asm,func_global_asm_80634908,84,yes
us,asm,func_global_asm_806B1290,184,yes
us,asm,func_global_asm_806E0454,140,yes
@ -1214,7 +1214,7 @@ us,asm,func_global_asm_806D850C,752,yes
us,asm,func_global_asm_80661658,72,yes
us,asm,func_global_asm_806A7EF0,384,yes
us,asm,func_global_asm_806C8F8C,312,yes
us,asm,func_global_asm_8073E800,160,no
us,asm,func_global_asm_8073E800,148,yes
us,asm,func_global_asm_806019B8,76,yes
us,asm,func_global_asm_80620B38,968,no
us,asm,isIntroStoryPlaying,12,yes

1 version section function length matching
900 us asm func_global_asm_80676540 80 yes
901 us asm func_global_asm_806E9388 112 yes
902 us asm func_global_asm_806CD9A0 900 yes
903 us asm func_global_asm_8073E63C 256 no yes
904 us asm func_global_asm_80634908 84 yes
905 us asm func_global_asm_806B1290 184 yes
906 us asm func_global_asm_806E0454 140 yes
1214 us asm func_global_asm_80661658 72 yes
1215 us asm func_global_asm_806A7EF0 384 yes
1216 us asm func_global_asm_806C8F8C 312 yes
1217 us asm func_global_asm_8073E800 160 148 no yes
1218 us asm func_global_asm_806019B8 76 yes
1219 us asm func_global_asm_80620B38 968 no
1220 us asm isIntroStoryPlaying 12 yes

View File

@ -17,7 +17,7 @@
<text x="38.5" y="14">global_asm</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="111.5" y="15" fill="#010101" fill-opacity=".3">37.2689%</text>
<text x="110.5" y="14">37.2689%</text>
<text x="111.5" y="15" fill="#010101" fill-opacity=".3">37.3026%</text>
<text x="110.5" y="14">37.3026%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -17,7 +17,7 @@
<text x="66.0" y="14">Donkey Kong 64 (US)</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="166.5" y="15" fill="#010101" fill-opacity=".3">39.3699%</text>
<text x="165.5" y="14">39.3699%</text>
<text x="166.5" y="15" fill="#010101" fill-opacity=".3">39.3952%</text>
<text x="165.5" y="14">39.3952%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -14,7 +14,23 @@
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/audio/code_141EF0/func_global_asm_8073E460.s")
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/audio/code_141EF0/func_global_asm_8073E63C.s")
Acmd *func_global_asm_8073E63C(Struct8073BC74_auxbus_unk20_unk4_unk20 *arg0, s32 arg1, s32 arg2, Acmd *arg3) {
Acmd *sp24;
s16 sp22;
Acmd *sp1C;
Acmd *sp18;
sp24 = arg3;
sp22 = (s16) (arg2 >> 8);
sp1C = sp24++;
sp1C->words.w0 = 0x0B000020;
sp1C->words.w1 = osVirtualToPhysical(&arg0->unk8);
sp18 = sp24++;
sp18->words.w0 = ((arg0->unk28 & 0xFF) << 0x10) | 0x0E000000 | (arg0->unk2 & 0xFFFF);
sp18->words.w1 = (osVirtualToPhysical(arg0->unk2C[arg1]) & 0xFFFFFF) | ((sp22 & 0xFF) << 0x18);
arg0->unk28 = 0;
return sp24;
}
f32 func_global_asm_8073E73C(Struct8073BC74_auxbus_unk20_unk4 *arg0, s32 arg1) {
f32 sp4;
@ -31,4 +47,19 @@ f32 func_global_asm_8073E73C(Struct8073BC74_auxbus_unk20_unk4 *arg0, s32 arg1) {
return arg0->unk1C * sp4;
}
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/audio/code_141EF0/func_global_asm_8073E800.s")
Acmd *func_global_asm_8073FD90(s32, Acmd *);
s32 *func_global_asm_8073E800(s32 arg0, Acmd *arg1) {
Acmd *sp24;
Acmd *sp20;
Acmd *sp1C;
sp24 = arg1;
sp24 = func_global_asm_8073FD90(arg0, sp24);
sp20 = sp24++;
sp20->words.w0 = 0x0D000000;
sp1C = sp24++;
sp1C->words.w0 = 0x062E0000;
sp1C->words.w1 = n_syn->sv_dramout;
return sp24;
}