redefine vftable as actual member. allocate console for debug purposes
This commit is contained in:
1 parent
7b433f5282
commit
4e5ec98fa6
77 files changed
+348
-280
No files matched your search
@@ -349,7 +349,7 @@ double v7; // st7
|
||||
|
||||
v3 = this;
|
||||
TPinballComponent::TPinballComponent(this, a2, a3, 1);
|
||||
*(_DWORD *)v3 = &TLight::`vftable`;
|
||||
*(_DWORD *)v3 = &TLight::vftable;
|
||||
*(_DWORD *)((char *)v3 + 110) = 0;
|
||||
*(_DWORD *)((char *)v3 + 82) = 0;
|
||||
*(_DWORD *)((char *)v3 + 114) = 0;
|
||||
@@ -365,4 +365,4 @@ v7 = *v6;
|
||||
*(float *)((char *)v3 + 106) = v7;
|
||||
return v3;
|
||||
}
|
||||
// 1001A48: using guessed type void *TLight::`vftable`;
|
||||
// 1001A48: using guessed type void *TLight::vftable;
|
||||
@@ -16,6 +16,6 @@ void __thiscall TLight::schedule_timeout(TLight* this, float); // idb
|
||||
int __thiscall TLight::Message(TLight* this, int, float); // idb
|
||||
TLight* __thiscall TLight::TLight(TLight* this, struct TPinballTable* a2, int a3);
|
||||
|
||||
void* TLight::`vftable` = &TLight::Message; // weak
|
||||
void* TLight::vftable = &TLight::Message; // weak
|
||||
|
||||
#endif //PINBALL_TLIGHT_H
|
||||
Reference in new issue
Block a user