Help! Field Offset

Master TK

Platinian
Original poster
Nov 11, 2019
30
7
8
26
Brasil
private Quaternion CurrentViewPos; // 0x80

Some people know how to update this offset field?All Fields update even including Fields with vector3 Less is with Quaternion
 

libModz

Awesome Active Platinian
Jun 2, 2022
169
30
28
UK
Made a typo, try this, if it doesn't work idk.

*(void**) ((uint32_t) player + 0x80) = TargetPlayer;
 

mIsmanXP

Approved Modder
Approved Modder
Feb 20, 2022
205
9,493
193
Republic of Indonesia
I would've look for a setter method, like setViewPos and call that
Other ways I'll try is get the FieldInfo and call il2cpp_field_set_value, works everytime unless you got the wrong field