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
@@ -68,7 +68,7 @@ int v5; // eax
v3 = this;
TCollisionComponent::TCollisionComponent(this, a2, a3, 1);
v4 = *(_DWORD **)((char *)v3 + 26);
*(_DWORD *)v3 = &TWall::`vftable`;
*(_DWORD *)v3 = &TWall::vftable;
if ( v4 )
render_sprite_set_bitmap(v4, 0);
v5 = *(_DWORD *)((char *)v3 + 34);
@@ -77,5 +77,5 @@ if ( v5 )
*(_DWORD *)((char *)v3 + 78) = 0;
return v3;
}
// 1002508: using guessed type void *TWall::`vftable`;
// 1002508: using guessed type void *TWall::vftable;
+1 -1
View File
@@ -17,6 +17,6 @@ void __thiscall TWall::put_scoring(TWall* this, int, int); // idb
void __thiscall TWall::Collision(TWall* this, struct TBall*, struct vector_type*, struct vector_type*, float, struct TEdgeSegment*); // idb
TWall* __thiscall TWall::TWall(TWall* this, struct TPinballTable* a2, int a3);
void* TWall::`vftable` = &TWall::Message; // weak
void* TWall::vftable = &TWall::Message; // weak
#endif //PINBALL_TWALL_H