Ok, so at risk of being flamed, or possibly banned/muted(Or some other punishment) that Apoc would decide. I have decided to post this question.
Although someone may find it stupid, I do not. I am posting it because I HAVE searched for some time and I am getting frustrated by this.
Now please do correct me if I am wrong at any point. From what I have read Object Manager is located at g_clientConnection(0x12705B0) + s_curObjMjrOffset(0x2d94). So
Code:
ReadProcessMemory(hProcess, (LPVOID) (g_clientConnection+s_curObjMjrOffset), &curObjMjr, 8, &BytesRead);
This would make curObjMjr our OM. So adding 0xC0(if its correct) should give us the localGUID. localGUID is a INT64
Code:
INT64 localGUID;
ReadProcessMemory(hProcess, (LPVOID) (curObjMjr+0xC0), &localGUID, 8, &BytesRead);
So now we have our localGUID. From here we would loop through the OM looking for our localGUID, once found we can produce our X,Y,Z(0x798, 0x79C, 0x7A0) from it.
Now if this is correct, I would like to post my source code so maybe someone can see why this process is not working while in the code(Yes I did escalate its privs).
If this is not correct, can someone please point me to direction of my error? I do recall the majority of the post I read doing it this way.
Now if I somehow missed a thread that actually gave me the answer I do sincerely apologize. I do attempt to search before I even consider making a post.
An Aspiring Programmer
- Hestas(j1nx)
P.S. Apoc, if you do feel that this is a stupid question please do deal with me and it as you see fit.