ah nice to know. actually i'm using that code:
Code:
posX = WoW.ReadFloat(curObj + 0x7D0);
posY = WoW.ReadFloat(curObj + 0x7D4);
posZ = WoW.ReadFloat(curObj + 0x7D8);
addr1 = WoW.ReadInteger(curObj + 0x110);
facing = WoW.ReadFloat(addr1 + 0x1C);
pitch = WoW.ReadFloat(addr1 + 0x20);
but not sure if i should change it to use the more cleaner one you explained.
con: that would cost again little time to dereference another pointer. (when scanning 20 times/sec all objects even one read costs time)
pro: but its much cleaner to dereference it like the game itself does. (especially handy when new patches come out)
will think about that, thanks for the hint.