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
@@ -87,11 +87,11 @@ int v6; // [esp+40h] [ebp-10h]
v3 = this;
TCollisionComponent::TCollisionComponent(this, a2, a3, 1);
*(_DWORD *)((char *)v3 + 82) = 0;
*(_DWORD *)v3 = &TSoloTarget::`vftable`;
*(_DWORD *)v3 = &TSoloTarget::vftable;
*(_DWORD *)((char *)v3 + 86) = 1036831949;
loader_query_visual(a3, 0, &v5);
*(_DWORD *)((char *)v3 + 90) = v6;
TSoloTarget::Message(v3, 50, 0.0);
return v3;
}
// 10025C0: using guessed type void *TSoloTarget::`vftable`;
// 10025C0: using guessed type void *TSoloTarget::vftable;
+1 -1
View File
@@ -17,6 +17,6 @@ void __thiscall TSoloTarget::put_scoring(TSoloTarget* this, int, int); // idb
void __thiscall TSoloTarget::Collision(TSoloTarget* this, struct TBall*, struct vector_type*, struct vector_type*, float, struct TEdgeSegment*); // idb
TSoloTarget* __thiscall TSoloTarget::TSoloTarget(TSoloTarget* this, struct TPinballTable* a2, int a3);
void* TSoloTarget::`vftable` = &TSoloTarget::Message; // weak
void* TSoloTarget::vftable = &TSoloTarget::Message; // weak
#endif //PINBALL_TSOLOTARGET_H