void CallAddress( long Address ){
if( !Address ) return;
__asm{
mov eax, Address
call eax
}
return;
}
long Address = 0x401000; CallAddress( Address );
class Aclass
{
void foo();
};
Aclass instance;
instance.foo();
thanks kibblestypedef void(__cdecl* fStopAllSounds)(GameAudio);
fStopAllSounds pStopAllSounds = (fStopAllSounds)0x004A0656;
int main()
{
pStopAllSounds(Instanc****ameAudio); //you need to get the instance of the class, can't help you there.
}
+rep