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
@@ -144,7 +144,7 @@ struct TPinballTable *v17; // [esp+64h] [ebp+8h]
v2 = this;
TPinballComponent::TPinballComponent(this, a2, -1, 0);
*(float *)((char *)v2 + 78) = 0.0;
*(_DWORD *)v2 = &TBall::`vftable`;
*(_DWORD *)v2 = &TBall::vftable;
*(float *)((char *)v2 + 70) = 0.0;
*((_BYTE *)v2 + 5) = 1;
*(_DWORD *)((char *)v2 + 106) = 0;
@@ -199,5 +199,5 @@ v11 = *(_DWORD *)((char *)v2 + 154);
*(_DWORD *)((char *)v2 + 50) = *(_DWORD *)((char *)v2 + 154);
return v2;
}
// 1002554: using guessed type void *TBall::`vftable`;
// 1002554: using guessed type void *TBall::vftable;
// 1008ED8: using guessed type double __stdcall proj_z_distance(_DWORD);
+1 -1
View File
@@ -16,6 +16,6 @@ int __thiscall TBall::Message(TBall* this, int, float); // idb
void __thiscall TBall::Repaint(TBall* __hidden this); // idb
TBall* __thiscall TBall::TBall(TBall* this, struct TPinballTable* a2);
void* TBall::`vftable` = &TBall::Message; // weak
void* TBall::vftable = &TBall::Message; // weak
#endif //PINBALL_TBALL_H