Originally Posted by
azl3rz08
What text will search in idpro to locate the address of weaponglobal1 and weaponglobal2?
Thanks! to all coders here!
I used this to search for weaponglobal1:
Code:
mov eax, offset dword_
i search for it until i found an exact pattern just like this:
Code:
___:0041ABBC mov eax, offset dword_AAE498
___:0041ABC1 call sub_4CDD8F
___:0041ABC6 jmp short loc_41ABD6
and weaponglobal1 is: 0x00AAE498
and for weaponglobal2 i used this:
Code:
mov ecx, offset dword_
until i found something like this:
Code:
___:00424628 mov ecx, offset dword_B024E0
___:0042462D call sub_4CDE5D
___:00424632 mov ecx, eax
___:00424634 test ecx, ecx
___:00424636 jz loc_42470D
and your weaponglobal2 now is: 0x00B024E0
Hope it can help you.