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

+9 -9
View File
@@ -7,14 +7,14 @@ TTextBoxMessage *v3; // esi
char *v4; // edx
v3 = this;
*(_DWORD *)this = 0;
*(DWORD *)this = 0;
*((float *)this + 2) = a3;
*((_DWORD *)this + 3) = time_ticks - (unsigned __int64)(signed __int64)(a3 * -1000.0);
*((DWORD *)this + 3) = time_ticks - (unsigned __int64)(signed __int64)(a3 * -1000.0);
if ( a2 )
*((_DWORD *)this + 1) = memoryallocate(strlen(a2) + 1);
*((DWORD *)this + 1) = memoryallocate(strlen(a2) + 1);
else
*((_DWORD *)this + 1) = 0;
v4 = (char *)*((_DWORD *)v3 + 1);
*((DWORD *)this + 1) = 0;
v4 = (char *)*((DWORD *)v3 + 1);
if ( v4 )
strcpy(v4, a2);
return v3;
@@ -24,7 +24,7 @@ return v3;
//----- (01013B60) --------------------------------------------------------
double __thiscall TTextBoxMessage::TimeLeft(TTextBoxMessage *this)
{
return (double)(*((_DWORD *)this + 3) - time_ticks) * 0.001;
return (double)(*((DWORD *)this + 3) - time_ticks) * 0.001;
}
// 1024F84: using guessed type int time_ticks;
@@ -32,7 +32,7 @@ return (double)(*((_DWORD *)this + 3) - time_ticks) * 0.001;
void __thiscall TTextBoxMessage::Refresh(TTextBoxMessage *this, float a2)
{
*((float *)this + 2) = a2;
*((_DWORD *)this + 3) = time_ticks - (unsigned __int64)(signed __int64)(a2 * -1000.0);
*((DWORD *)this + 3) = time_ticks - (unsigned __int64)(signed __int64)(a2 * -1000.0);
}
// 1024F84: using guessed type int time_ticks;
@@ -42,8 +42,8 @@ TTextBoxMessage *__thiscall TTextBoxMessage::destroy(TTextBoxMessage *this, char
TTextBoxMessage *v2; // esi
v2 = this;
if ( *((_DWORD *)this + 1) )
memoryfree(*((_DWORD *)this + 1));
if ( *((DWORD *)this + 1) )
memoryfree(*((DWORD *)this + 1));
if ( a2 & 1 )
operator delete((void *)v2);
return v2;