It’s the same thing depending on what you’re trying to use it for.
void flWheelTransform = *(void *)((uint64_t)instance + 0x18);
And use 0x1490744 (the update you have)
Look for a class that manages your player. Look for a field or function that’s called something like “ismine” “localplayer” then use it in an if statement
Some shit like this for a mod menu or something
int(*old_function)(void *instance);
int function(void *instance)
{
if (instance != NULL)
{
if (boolean)
{
return -99;
}
}
return old_function(instance);
}
or to return -99 in a hex patch use this...
You only need to call update once. You don’t need 2 different ones to call the fields. You can put it in the same one like this for example since both the fields have the same update
void (*old_Update)(void *instance);
void Update(void *instance)
{
if(Field1)
{
*(int...