This commit is contained in:
Donkey Kong 2023-12-18 21:28:11 +10:30
parent 242d73b15d
commit 31dd707f16
6 changed files with 52 additions and 11 deletions

View File

@ -44,11 +44,13 @@ sudo apt-get update && \
python3-pip \
unzip \
wget \
libssl-dev
libssl-dev \
vbindiff
python3 -m pip install \
sudo python3 -m pip install \
capstone pyyaml pylibyaml pycparser \
colorama ansiwrap watchdog python-Levenshtein cxxfilt \
python-ranges \
pypng anybadge
pypng anybadge \
tqdm intervaltree n64img spimdisasm
```

View File

@ -46,7 +46,7 @@ us,asm,func_global_asm_806EBDAC,24,yes
us,asm,func_global_asm_8068A4C8,64,yes
us,asm,func_global_asm_806791EC,20,yes
us,asm,func_global_asm_806F94AC,108,yes
us,asm,func_global_asm_806D4C7C,360,no
us,asm,func_global_asm_806D4C7C,360,yes
us,asm,func_global_asm_806FB290,40,yes
us,asm,func_global_asm_807317FC,176,yes
us,asm,func_global_asm_805FE544,240,yes

1 version section function length matching
46 us asm func_global_asm_8068A4C8 64 yes
47 us asm func_global_asm_806791EC 20 yes
48 us asm func_global_asm_806F94AC 108 yes
49 us asm func_global_asm_806D4C7C 360 no yes
50 us asm func_global_asm_806FB290 40 yes
51 us asm func_global_asm_807317FC 176 yes
52 us asm func_global_asm_805FE544 240 yes

View File

@ -46,7 +46,7 @@ us,asm,func_global_asm_806EBDAC,24,yes
us,asm,func_global_asm_8068A4C8,64,yes
us,asm,func_global_asm_806791EC,20,yes
us,asm,func_global_asm_806F94AC,108,yes
us,asm,func_global_asm_806D4C7C,360,no
us,asm,func_global_asm_806D4C7C,360,yes
us,asm,func_global_asm_806FB290,40,yes
us,asm,func_global_asm_807317FC,176,yes
us,asm,func_global_asm_805FE544,240,yes

1 version section function length matching
46 us asm func_global_asm_8068A4C8 64 yes
47 us asm func_global_asm_806791EC 20 yes
48 us asm func_global_asm_806F94AC 108 yes
49 us asm func_global_asm_806D4C7C 360 no yes
50 us asm func_global_asm_806FB290 40 yes
51 us asm func_global_asm_807317FC 176 yes
52 us asm func_global_asm_805FE544 240 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">34.0243%</text>
<text x="110.5" y="14">34.0243%</text>
<text x="111.5" y="15" fill="#010101" fill-opacity=".3">34.0536%</text>
<text x="110.5" y="14">34.0536%</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">34.4328%</text>
<text x="165.5" y="14">34.4328%</text>
<text x="166.5" y="15" fill="#010101" fill-opacity=".3">34.4547%</text>
<text x="165.5" y="14">34.4547%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -934,8 +934,47 @@ void func_global_asm_806D4A70(void) {
}
*/
// Jumptable
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_D78D0/func_global_asm_806D4C7C.s")
extern f32 D_global_asm_80753620[];
extern f32 D_global_asm_8075363C[];
extern s16 D_global_asm_807FD584;
void func_global_asm_806D4C7C(void) {
switch (current_actor_pointer->control_state_progress) {
case 0:
func_global_asm_80614D00(current_actor_pointer, 1.0f, 0.0f);
func_global_asm_806DF6D4(0x2C);
func_global_asm_806CC8B8();
break;
case 1:
current_actor_pointer->y_velocity = extra_player_info_pointer->unk54;
current_actor_pointer->y_acceleration = D_global_asm_8075363C[D_global_asm_807FD584];
current_actor_pointer->control_state_progress += 1;
func_global_asm_806D3FA0();
func_global_asm_806DF6D4(0x2B);
extra_player_info_pointer->unk38 = D_global_asm_80753620[D_global_asm_807FD584];
func_global_asm_806CC8B8();
break;
case 2:
func_global_asm_806CC8B8();
func_global_asm_806DF6D4(0x2B);
func_global_asm_806CFDEC();
func_global_asm_806D3608();
break;
case 3:
func_global_asm_806DF6D4(0x2B);
func_global_asm_806CFE7C();
func_global_asm_806CC8B8();
break;
case 4:
func_global_asm_806DF6D4(0x30);
func_global_asm_806CFE7C();
func_global_asm_806CC8B8();
break;
}
renderActor(current_actor_pointer, 0);
}
// Jumptable
#pragma GLOBAL_ASM("asm/nonmatchings/global_asm/code_D78D0/func_global_asm_806D4DE4.s")