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
@@ -127,7 +127,7 @@ int v17; // [esp+48h] [ebp-Ch]
v3 = this;
TCollisionComponent::TCollisionComponent(this, a2, a3, 1);
*(_DWORD *)v3 = &TSink::`vftable`;
*(_DWORD *)v3 = &TSink::vftable;
*(_DWORD *)((char *)v3 + 6) = 0;
*(_DWORD *)((char *)v3 + 78) = 0;
loader_query_visual(a3, 0, &v9);
@@ -148,4 +148,4 @@ v7 = (_DWORD *)loader_query_float_attribute(a3, 0, 601);
*(_DWORD *)((char *)v3 + 82) = *(_DWORD *)loader_query_float_attribute(a3, 0, 407);
return v3;
}
// 1002704: using guessed type void *TSink::`vftable`;
// 1002704: using guessed type void *TSink::vftable;
+1 -1
View File
@@ -17,6 +17,6 @@ void __thiscall TSink::put_scoring(TSink* this, int, int); // idb
void __thiscall TSink::Collision(TSink* this, struct TBall*, struct vector_type*, struct vector_type*, float, struct TEdgeSegment*); // idb
TSink* __thiscall TSink::TSink(TSink* this, struct TPinballTable* a2, int a3);
void* TSink::`vftable` = &TSink::Message; // weak
void* TSink::vftable = &TSink::Message; // weak
#endif //PINBALL_TSINK_H