Solved Hook void

Status
Not open for further replies.

Master TK

Platinian
how c Does anyone know how I can use this code?
/ /RVA: 0x333BB8 Offset: 0x333BB8 VA: 0x333BB8
public void set_maxPlayers(int value) { }
The class has no update code(I'm a beginner)
 
You can hook the parameter
void (*set_maxPlayers)(void *instance, int value);
void _set_MaxPlayers(void *instance, int value) {
if (instance != NULL) {
value = //your preffred value;
}
(*set_maxPlayers)(instance, value);
}

or

You can make function pointer with get method if theres any

 
Status
Not open for further replies.
Back
Top Bottom