Interface.GlobalVars = (CGlobalVarsBase*)(**(DWORD**)(Utilities::FindPattern((DWORD)GetModuleHandleA("client.dll"), 0x7FFFFF, (BYTE*)"\xA1\x00\x00\x00\x00\x8B\x40\x10\x89\x41\x04", "x????xxxxxx") + 0x1));
#ifdef DEBUG
Utilities::DebugPrint("Found GlobalVars at 0x%x", (DWORD)Interface.GlobalVars);
#endif
dwGameResources = *(DWORD*)(Utilities::FindPattern((DWORD)GetModuleHandleA("client.dll") + 0x500000, 0xFFFFF, (BYTE*)"\x8B\x3D\x00\x00\x00\x00\x85\xFF\x0F\x84\xD4\x02\x00\x00\x81\xC7\xD0\x09\x00\x00", "xx????xxxxxxxxxxxxxx") + 0x2);
#ifdef DEBUG
Utilities::DebugPrint("Found GameResources at 0x%x", dwGameResources);
#endif
dwGlowBase = Utilities::FindPattern((DWORD)GetModuleHandleA("client.dll"), 0xFFFFFF, (BYTE*)"\xA1\x00\x00\x00\x00\xA8\x01\x75\x4E\x0F\x57\xC0\xC7\x05\x00\x00\x00\x00\x00\x00\x00\x00\xF3\x0F\x7F\x05", "x????xxxxxxxxx????xxxxxxxx");
#ifdef DEBUG
Utilities::DebugPrint("Found GlowBase at 0x%x", dwGlowBase);
#endif