Hi,
is there convenient way to call method function. ie:
now i've to use asm to get (for example) object coordinates
WowPos *coord;
DWORD objectPtr ;
DWORD GetPositionAddr=0x12345 ;
__asm
{
push coords
mov ecx, objectPtr
call GetPositionAddr
}
so, i would like to get rid of __asm and call something like
objectPtr->GetPositionAddr(&coord) ;
can't figure out how to emulate class method call from plain C
thanks