pointer offset
A lot of things make use of g_pGameRules, by getting it's offset of CreateGameRulesObject.
I understand how the signature for CreateGameRulesObject is found, but how does one go about getting the offset for g_pGameRules? Thanks for any info on this. |
Re: pointer offset
Look at sdktools ext from sourcemod. It make use of getting g_pGameRules.
|
Re: pointer offset
Yes, that is what I was referring to. They have the offset for g_pGameRules set to 2 in the gamedata text file.
What I'm asking, is how did they come up with that offset of 2? Thanks for the response though. |
Re: pointer offset
Code:
.text:22188970 8B 0D 84 7A 57 22 mov ecx, dword_22577A84And for quick reference, this is the signature used by SDKTools: Code:
\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x6A\x01\xFF\x50 |
Re: pointer offset
Alright, I believe I understand now. Thank you.
|
| All times are GMT -4. The time now is 20:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.