for example if you double click this, you'll be redirected to it's string address.
now for the address, get the RVA instead of those address there. Use x64/32dbg debugger.
for the offset:
Code:
//eax is probably the WeaponMGR address
//edi is the loop count of weapons and the number "4" is the sturcture size. so it will jump you on every +4 of the address.
//you can get or manipulate the ID of the weapon loop by intercepting the edi
mov eax, [eax+edi*4]
mov dword ptr [eax+129Ch], value //this is what you call the offset. the 0x129C.
//so basically, it's like this
//uint32 eax_ = WEAPONMGR_ADDR;
//eax_ = *(DWORD*)(eax_ + edi_ * 4);
//*(DWORD*)(eax_ + 0x129C) = value;
Originally Posted by akbargain
for example if you double click this, you'll be redirected to it's string address.
now for the address, get the RVA instead of those address there. Use x64/32dbg debugger.
for the offset:
Code:
//eax is probably the WeaponMGR address
//edi is the loop count of weapons and the number "4" is the sturcture size. so it will jump you on every +4 of the address.
//you can get or manipulate the ID of the weapon loop by intercepting the edi
mov eax, [eax+edi*4]
mov dword ptr [eax+129Ch], value //this is what you call the offset. the 0x129C.
//so basically, it's like this
//uint32 eax_ = WEAPONMGR_ADDR;
//eax_ = *(DWORD*)(eax_ + edi_ * 4);
//*(DWORD*)(eax_ + 0x129C) = value;
how to use it u have any tutorial
Originally Posted by antierror
how to use it u have any tutorial
I don't have tutorial.
=====================
Originally Posted by XahmedX209
This code you need right ??
That's an offset to locate the address of the certain variable you need to change.
you still need weaponmgr pointer and the ID of the weapon you want to modify.
use Reclass for an accurate information.