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
@@ -72,7 +72,7 @@ int v8; // [esp+44h] [ebp-Ch]
v3 = this;
TCollisionComponent::TCollisionComponent(this, a2, a3, 1);
*(_DWORD *)v3 = &TBlocker::`vftable`;
*(_DWORD *)v3 = &TBlocker::vftable;
loader_query_visual(a3, 0, &v6);
v4 = *(_DWORD **)((char *)v3 + 26);
*(_DWORD *)((char *)v3 + 90) = v7;
@@ -86,5 +86,5 @@ v4 = *(_DWORD **)((char *)v3 + 26);
render_sprite_set_bitmap(v4, 0);
return v3;
}
// 10025DC: using guessed type void *TBlocker::`vftable`;
// 10025DC: using guessed type void *TBlocker::vftable;
+1 -1
View File
@@ -14,6 +14,6 @@ void __stdcall TBlocker::TimerExpired(int, struct TPinballComponent*); // idb
int __thiscall TBlocker::Message(TBlocker* this, int, float); // idb
TBlocker* __thiscall TBlocker::TBlocker(TBlocker* this, struct TPinballTable* a2, int a3);
void* TBlocker::`vftable` = &TBlocker::Message; // weak
void* TBlocker::vftable = &TBlocker::Message; // weak
#endif //PINBALL_TBLOCKER_H