0122: A non-static function can't be called by name
function CStats__GetStatType<cdecl>(statId: int): int
int value = CStats__GetStatType(0xDEADD0D0) // error: A non-static function CStats__GetStatType can notPossible solutions:
function CStats__GetStatType<cdecl>(statId: int): int
CStats__GetStatType method // define a pointer to function Destroy
...
method = 0x400000 // function is located at 0x400000
int value = method(0xDEADD0D0) // call function using the pointerfunction CStats__GetStatType<cdecl,0x558E30>(statId: int): int // static foreign function
int value = CStats__GetStatType(0xDEADD0D0) // OKLast updated