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
@@ -188,7 +188,7 @@ float v88; // [esp+A4h] [ebp-4h]
v3 = a3;
v4 = this;
TCollisionComponent::TCollisionComponent(this, a2, (int)a3, 0);
*(_DWORD *)v4 = &TRamp::`vftable`;
*(_DWORD *)v4 = &TRamp::vftable;
*(_DWORD *)((char *)v4 + 6) = 0;
*((_BYTE *)v4 + 4) = 1;
loader_query_visual((int)v3, 0, &v73);
@@ -590,4 +590,4 @@ v71 = v70;
edges_insert_square(v86, v71, v69, v66, 0, (TRamp *)((char *)v4 + 94));
return v4;
}
// 10026CC: using guessed type void *TRamp::`vftable`;
// 10026CC: using guessed type void *TRamp::vftable;
+1 -1
View File
@@ -16,6 +16,6 @@ void __thiscall TRamp::Collision(TRamp* this, struct TBall*, struct vector_type*
int __thiscall TRamp::FieldEffect(TRamp* this, struct TBall*, struct vector_type*); // idb
TRamp* __thiscall TRamp::TRamp(TRamp* this, struct TPinballTable* a2, void* a3);
void* TRamp::`vftable` = &TPinballComponent::Message; // weak
void* TRamp::vftable = &TPinballComponent::Message; // weak
#endif //PINBALL_TRAMP_H