redefine vftable as actual member. allocate console for debug purposes

This commit is contained in:
Sydney Biscuit committed 2019-08-18 15:04:12 -07:00
1 parent 7b433f5282
commit 4e5ec98fa6
77 files changed
+348 -280

No files matched your search

+2 -2
View File
@@ -31,10 +31,10 @@ int v6; // [esp+3Ch] [ebp-10h]
v3 = this;
TPinballComponent::TPinballComponent(this, a2, a3, 1);
*(_DWORD *)v3 = &TSound::`vftable`;
*(_DWORD *)v3 = &TSound::vftable;
loader_query_visual(a3, 0, &v5);
*(_DWORD *)((char *)v3 + 42) = v6;
return v3;
}
// 10027A4: using guessed type void *TSound::`vftable`;
// 10027A4: using guessed type void *TSound::vftable;
+1 -1
View File
@@ -14,6 +14,6 @@ TSound* __thiscall TSound::`vector deleting destructor`(TSound *this, char a2);
double __thiscall TSound::Play(TSound* this);
TSound* __thiscall TSound::TSound(TSound* this, struct TPinballTable* a2, int a3);
void* TSound::`vftable` = &TPinballComponent::Message; // weak
void* TSound::vftable = &TPinballComponent::Message; // weak
#endif //PINBALL_TSOUND_H