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
@@ -83,7 +83,7 @@ int v17; // [esp+68h] [ebp-8h]
v3 = 0;
v4 = this;
TCollisionComponent::TCollisionComponent(this, a2, a3, 0);
*(_DWORD *)v4 = &TOneway::`vftable`;
*(_DWORD *)v4 = &TOneway::vftable;
loader_query_visual(a3, 0, &v10);
if ( v11 == 2 )
{
@@ -116,7 +116,7 @@ objlist_class::Add((TOneway *)((char *)v4 + 42), *(void **)((char *)v4 + 82));
}
return v4;
}
// 1002530: using guessed type void *TOneway::`vftable`;
// 1002530: using guessed type void *TOneway::vftable;
//----- (0101AAA7) --------------------------------------------------------
TOneway *__thiscall TOneway::`scalar deleting destructor`(TOneway *this, char a2)
+1 -1
View File
@@ -16,6 +16,6 @@ void __thiscall TOneway::Collision(TOneway* this, struct TBall*, struct vector_t
TOneway* __thiscall TOneway::TOneway(TOneway* this, struct TPinballTable* a2, int a3);
TOneway* __thiscall TOneway::`scalar deleting destructor`(TOneway* this, char a2);
void* TOneway::`vftable` = &TPinballComponent::Message; // weak
void* TOneway::vftable = &TPinballComponent::Message; // weak
#endif //PINBALL_TONEWAY_H