-
Active Member
[Classic] 1.13.5.35395 CameraManager
Wanted to get some world to screen action working, so I've updated the offset for the camera manager for the latest patch. The rest of the camera structure looks unchanged.
Code:
pCameraManager = WowClassic.exe + 0x25A0080
pCamera = pCameraManager + 0x3330
-
Post Thanks / Like - 3 Thanks
-
Active Member
Hello, could you please give some tips how to find it? Thank you!!!
-
Active Member
Originally Posted by
Aoooooooo
Hello, could you please give some tips how to find it? Thank you!!!
Just search for the immediate value 0x3330 in any classic dump and you'll find references to [register + 0x3330], and some point above, you'll see a mov into that register. The value being moved into that register will be the address to .data that holds the ptr to the camera manager
-
Post Thanks / Like - 1 Thanks
Aoooooooo (1 members gave Thanks to scimmy for this useful post)
-
Active Member
Originally Posted by
scimmy
Just search for the immediate value 0x3330 in any classic dump and you'll find references to [register + 0x3330], and some point above, you'll see a mov into that register. The value being moved into that register will be the address to .data that holds the ptr to the camera manager
Thank you Very much! bro~
-
Active Member
Originally Posted by
scimmy
Just search for the immediate value 0x3330 in any classic dump and you'll find references to [register + 0x3330], and some point above, you'll see a mov into that register. The value being moved into that register will be the address to .data that holds the ptr to the camera manager
Code:
.text:00007FF72C41A0A0 mov rax, cs:qword_7FF72DC20080
.text:00007FF72C41A0A7 test rax, rax
.text:00007FF72C41A0AA jz short locret_7FF72C41A0B4
.text:00007FF72C41A0AC mov rax, [rax+3330h]
.text:00007FF72C41A0B3 retn
I found it with your method, wowclassic_dump image Base is 7FF72B680000, so the result equals to yours.
Last edited by Aoooooooo; 08-24-2020 at 07:41 AM.