Help! Help to to create hook

Henokray

Rookie
Hallo guys,

I have some offsets, please help provide the hook.
// RVA: 0x10B9234 Offset: 0x10B9234 VA: 0x10B9234
public int get_diamond() { }

// RVA: 0x342D44C Offset: 0x342D44C VA: 0x342D44C
public Fix64 get_MaxSpeed() { }

// RVA: 0x2AF9218 Offset: 0x2AF9218 VA: 0x2AF9218
private static int _m_GetMaxTorque_xlua_st_(IntPtr L) { }

// RVA: 0x2AF93F0 Offset: 0x2AF93F0 VA: 0x2AF93F0
private static int _m_GetMaxRPM_xlua_st_(IntPtr L) { }
 
for the first one, follow the
the second one, try it with the same mechanism, if it acts like int, then it would be fine,
if it does not , dump the game , and find the Fix64 , and make a struct for it , in the template you hook with.
and simply hook with that new struct
 
Back
Top Bottom