So before 4.x I was able to read the current time at +0xAB0 from the player's base address.
I haven't been able to find it anywhere w/in the object fields. Anyone have any ideas where else this could be within wow? Any ideas would be greatly appreciated (it's definitely not GetGameTime or GetTime).
Thanks!
---------- Post added at 04:34 PM ---------- Previous post was at 03:10 PM ----------
Got it... Just reversed PerformanceCounter
Code:
#define kTwoPower32 (4294967296.0) /* 2^32 */
- (UInt32)currentTime {
UnsignedWide theTime;
Microseconds(&theTime);
double result;
result = (((double) theTime.hi) * kTwoPower32) + theTime.lo;
return (UInt32) (result / 0x3E8);
}