Anyone know what this has changed to? It used to be [baseAddress + 0x1C0]
Can't seem to find it now. if you have any idea of what function I should reverse that would be helpful too :-)
Thanks in advance!
Anyone know what this has changed to? It used to be [baseAddress + 0x1C0]
Can't seem to find it now. if you have any idea of what function I should reverse that would be helpful too :-)
Thanks in advance!
https://tanaris4.com
I'm not entirely sure where it's used directly, but what I do know is that there is a virtual function in CGObject for it. Perhaps you could start there?
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
I think the magic you should be looking at for inspiration in for your mac binaries is:
CGGameObject_C::GetMatrix()
Based on names from your 13860 debug build post, it has the +1C0 offset.
Windows dumps tend to refer to these as GetWorldMatrix() and GetWorldPosition() etc.
CGUnit_C::GetMatrix() has the Z axis rotation and 4x4 multiply in it, presumably for the transport transformation.
Anyway, your mac info dump thread has offsets for these methods.
A super-quick look at 3AE230 (your offset for CGGameObject_C::GetMatrix() on 13914), suggests looking at +1B8.
YMMV
Last edited by darkhelmet433; 04-28-2011 at 04:33 AM.
Thanks so much for the help all! Greatly appreciated :-)
https://tanaris4.com