reformat files, remove function decorators
This commit is contained in:
1 parent
1b72ee48ac
commit
d0beb8d2a7
25 files changed
+7179
-7265
No files matched your search
+19
-19
@@ -5,36 +5,36 @@
|
||||
#include "TSound.h"
|
||||
|
||||
//----- (0100AD8B) --------------------------------------------------------
|
||||
TSound *__thiscall TSound::`vector deleting destructor`(TSound *this, char a2)
|
||||
TSound* __thiscall TSound::destroy(TSound* this, char a2)
|
||||
{
|
||||
TSound *v2; // esi
|
||||
TSound* v2; // esi
|
||||
|
||||
v2 = this;
|
||||
TPinballComponent::~TPinballComponent(this);
|
||||
if ( a2 & 1 )
|
||||
operator delete((void *)v2);
|
||||
return v2;
|
||||
v2 = this;
|
||||
TPinballComponent::~TPinballComponent(this);
|
||||
if (a2 & 1)
|
||||
component_delete((void*)v2);
|
||||
return v2;
|
||||
}
|
||||
|
||||
//----- (0101797E) --------------------------------------------------------
|
||||
double __thiscall TSound::Play(TSound *this)
|
||||
double __thiscall TSound::Play(TSound* this)
|
||||
{
|
||||
return loader_play_sound(*(DWORD *)((char *)this + 42));
|
||||
return loader_play_sound(*(DWORD*)((char*)this + 42));
|
||||
}
|
||||
|
||||
//----- (0101AA18) --------------------------------------------------------
|
||||
TSound *__thiscall TSound::TSound(TSound *this, struct TPinballTable *a2, int a3)
|
||||
TSound* __thiscall TSound::TSound(TSound* this, struct TPinballTable* a2, int a3)
|
||||
{
|
||||
TSound *v3; // esi
|
||||
char v5; // [esp+4h] [ebp-48h]
|
||||
int v6; // [esp+3Ch] [ebp-10h]
|
||||
TSound* v3; // esi
|
||||
char v5; // [esp+4h] [ebp-48h]
|
||||
int v6; // [esp+3Ch] [ebp-10h]
|
||||
|
||||
v3 = this;
|
||||
TPinballComponent::TPinballComponent(this, a2, a3, 1);
|
||||
*(DWORD *)v3 = &TSound::vftable;
|
||||
loader_query_visual(a3, 0, &v5);
|
||||
*(DWORD *)((char *)v3 + 42) = v6;
|
||||
return v3;
|
||||
v3 = this;
|
||||
TPinballComponent::TPinballComponent(this, a2, a3, 1);
|
||||
*(DWORD*)v3 = &TSound::vftable;
|
||||
loader_query_visual(a3, 0, &v5);
|
||||
*(DWORD*)((char*)v3 + 42) = v6;
|
||||
return v3;
|
||||
}
|
||||
// 10027A4: using guessed type void *TSound::vftable;
|
||||
|
||||
Reference in new issue
Block a user