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
@@ -8,9 +8,9 @@ TEdgeSegment *result; // eax
result = this;
*((_DWORD *)this + 1) = a2;
*((_DWORD *)this + 2) = a3;
*(_DWORD *)this = &TEdgeSegment::`vftable`;
*(_DWORD *)this = &TEdgeSegment::vftable;
*(_DWORD *)((char *)this + 17) = a4;
*((_BYTE *)this + 12) = 0;
return result;
}
// 1002444: using guessed type void *TEdgeSegment::`vftable`;
// 1002444: using guessed type void *TEdgeSegment::vftable;
+1 -1
View File
@@ -12,6 +12,6 @@ struct TEdgeSegment;
TEdgeSegment* __thiscall TEdgeSegment::TEdgeSegment(TEdgeSegment* this, struct TCollisionComponent* a2, char* a3, unsigned int a4);
void* TEdgeSegment::`vftable` = &_purecall; // weak
void* TEdgeSegment::vftable = &_purecall; // weak
#endif //PINBALL_TEDGESEGMENT_H