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
@@ -41,7 +41,7 @@ int v8; // [esp+40h] [ebp-Ch]
v3 = this;
TCollisionComponent::TCollisionComponent(this, a2, a3, 1);
*(_DWORD *)v3 = &TGate::`vftable`;
*(_DWORD *)v3 = &TGate::vftable;
loader_query_visual(a3, 0, &v6);
*(_DWORD *)((char *)v3 + 78) = v7;
*(_DWORD *)((char *)v3 + 82) = v8;
@@ -51,4 +51,4 @@ render_sprite_set_bitmap(*(_DWORD **)((char *)v3 + 26), *(_DWORD *)(*(_DWORD *)(
control_handler(1024, v3);
return v3;
}
// 10025F8: using guessed type void *TGate::`vftable`;
// 10025F8: using guessed type void *TGate::vftable;
+1 -1
View File
@@ -13,6 +13,6 @@ struct TGate;
int __thiscall TGate::Message(TGate* this, int, float); // idb
TGate* __thiscall TGate::TGate(TGate* this, struct TPinballTable* a2, int a3);
void* TGate::`vftable` = &TGate::Message; // weak
void* TGate::vftable = &TGate::Message; // weak
#endif //PINBALL_TGATE_H