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
@@ -758,7 +758,7 @@ v13 = this;
TEdgeSegment::TEdgeSegment(this, a2, a3, a4);
*(float *)((char *)v13 + 25) = a12;
*(float *)((char *)v13 + 29) = a13;
*(_DWORD *)v13 = &TFlipperEdge::`vftable`;
*(_DWORD *)v13 = &TFlipperEdge::vftable;
v46 = *(float *)a6;
v47 = *((float *)a6 + 1);
v48 = *((float *)a6 + 2);
@@ -857,4 +857,4 @@ result = v13;
*(float *)((char *)v13 + 209) = 0.0;
return result;
}
// 1002854: using guessed type void *TFlipperEdge::`vftable`;
// 1002854: using guessed type void *TFlipperEdge::vftable;
+1 -1
View File
@@ -21,6 +21,6 @@ void __thiscall TFlipperEdge::SetMotion(TFlipperEdge* this, int, float); // idb
void __thiscall TFlipperEdge::port_draw(TFlipperEdge* this); // idb
TFlipperEdge* __thiscall TFlipperEdge::TFlipperEdge(TFlipperEdge* this, struct TCollisionComponent* a2, char* a3, unsigned int a4, struct TPinballTable* a5, struct vector_type* a6, struct vector_type* a7, struct vector_type* a8, float a9, float a10, float a11, float a12, float a13);
void* TFlipperEdge::`vftable` = &TFlipperEdge::EdgeCollision; // weak
void* TFlipperEdge::vftable = &TFlipperEdge::EdgeCollision; // weak
#endif //PINBALL_TFLIPPEREDGE_H