clean up extra decorators

This commit is contained in:
Sydney Biscuit committed 2019-08-18 16:44:11 -07:00
1 parent 531e638179
commit 3183e73860
95 files changed
+4629 -4631

No files matched your search

+20 -20
View File
@@ -16,22 +16,22 @@ if ( a2 > 50 )
{
if ( a2 != 1024 )
return 0;
if ( *(_DWORD *)((char *)this + 82) )
timer_kill(*(_DWORD *)((char *)this + 82));
*(_DWORD *)((char *)v3 + 82) = 0;
if ( *(DWORD *)((char *)this + 82) )
timer_kill(*(DWORD *)((char *)this + 82));
*(DWORD *)((char *)v3 + 82) = 0;
v4 = a2 == 50;
}
*((_BYTE *)v3 + 5) = v4 || a2 == 1024;
v5 = *(_DWORD *)((char *)v3 + 34);
v5 = *(DWORD *)((char *)v3 + 34);
if ( v5 )
{
v6 = 4 * (3 - *((char *)v3 + 5));
render_sprite_set(
*(_DWORD **)((char *)v3 + 26),
*(_DWORD *)(v6 + *(_DWORD *)(v5 + 4)),
*(_DWORD *)(*(_DWORD *)(*(_DWORD *)((char *)v3 + 38) + 4) + v6),
*(_DWORD *)(*(_DWORD *)(v6 + *(_DWORD *)(v5 + 4)) + 29) - *(_DWORD *)(*(_DWORD *)((char *)v3 + 30) + 234),
*(_DWORD *)(*(_DWORD *)(v6 + *(_DWORD *)(v5 + 4)) + 33) - *(_DWORD *)(*(_DWORD *)((char *)v3 + 30) + 238));
*(DWORD **)((char *)v3 + 26),
*(DWORD *)(v6 + *(DWORD *)(v5 + 4)),
*(DWORD *)(*(DWORD *)(*(DWORD *)((char *)v3 + 38) + 4) + v6),
*(DWORD *)(*(DWORD *)(v6 + *(DWORD *)(v5 + 4)) + 29) - *(DWORD *)(*(DWORD *)((char *)v3 + 30) + 234),
*(DWORD *)(*(DWORD *)(v6 + *(DWORD *)(v5 + 4)) + 33) - *(DWORD *)(*(DWORD *)((char *)v3 + 30) + 238));
}
}
return 0;
@@ -45,7 +45,7 @@ int result; // eax
if ( a2 >= 1 )
result = 0;
else
result = *(_DWORD *)((char *)this + 4 * a2 + 94);
result = *(DWORD *)((char *)this + 4 * a2 + 94);
return result;
}
@@ -53,14 +53,14 @@ return result;
void __thiscall TSoloTarget::put_scoring(TSoloTarget *this, int a2, int a3)
{
if ( a2 < 1 )
*(_DWORD *)((char *)this + 4 * a2 + 94) = a3;
*(DWORD *)((char *)this + 4 * a2 + 94) = a3;
}
//----- (0101620B) --------------------------------------------------------
void __stdcall TSoloTarget::TimerExpired(int a1, void *a2)
void TSoloTarget::TimerExpired(int a1, void *a2)
{
(**(void (__thiscall ***)(void *, signed int, _DWORD))a2)(a2, 50, 0.0);
*(_DWORD *)((char *)a2 + 82) = 0;
(**(void (__thiscall ***)(void *, signed int, DWORD))a2)(a2, 50, 0.0);
*(DWORD *)((char *)a2 + 82) = 0;
}
//----- (01018295) --------------------------------------------------------
@@ -71,8 +71,8 @@ TSoloTarget *v6; // esi
v6 = this;
if ( TCollisionComponent::DefaultCollision(this, a2, a3, a4) )
{
(**(void (__thiscall ***)(TSoloTarget *, signed int, _DWORD))v6)(v6, 49, 0.0);
*(_DWORD *)((char *)v6 + 82) = timer_set(*(float *)((char *)v6 + 86), (int)v6, (int)TSoloTarget::TimerExpired);
(**(void (__thiscall ***)(TSoloTarget *, signed int, DWORD))v6)(v6, 49, 0.0);
*(DWORD *)((char *)v6 + 82) = timer_set(*(float *)((char *)v6 + 86), (int)v6, (int)TSoloTarget::TimerExpired);
control_handler(63, v6);
}
}
@@ -86,11 +86,11 @@ int v6; // [esp+40h] [ebp-10h]
v3 = this;
TCollisionComponent::TCollisionComponent(this, a2, a3, 1);
*(_DWORD *)((char *)v3 + 82) = 0;
*(_DWORD *)v3 = &TSoloTarget::vftable;
*(_DWORD *)((char *)v3 + 86) = 1036831949;
*(DWORD *)((char *)v3 + 82) = 0;
*(DWORD *)v3 = &TSoloTarget::vftable;
*(DWORD *)((char *)v3 + 86) = 1036831949;
loader_query_visual(a3, 0, &v5);
*(_DWORD *)((char *)v3 + 90) = v6;
*(DWORD *)((char *)v3 + 90) = v6;
TSoloTarget::Message(v3, 50, 0.0);
return v3;
}