#pragma once /* ==== IAPPSYSTEM ============================================================================================================================================== */ inline CMemory p_IAppSystem_LoadLibrary; // C initializers/terminators inline auto IAppSystem_LoadLibrary = p_IAppSystem_LoadLibrary.RCast(); /////////////////////////////////////////////////////////////////////////////// class HAppSystem : public IDetour { virtual void GetAdr(void) const { std::cout << "| FUN: IAppSystem::LoadLibrary : 0x" << std::hex << std::uppercase << p_IAppSystem_LoadLibrary.GetPtr() << std::setw(nPad) << " |" << std::endl; std::cout << "+----------------------------------------------------------------+" << std::endl; } virtual void GetFun(void) const { p_IAppSystem_LoadLibrary = g_mGameDll.FindPatternSIMD(reinterpret_cast("\x48\x83\xEC\x28\x48\x8B\x0D\x00\x00\x00\x00\x48\x8D\x05\x00\x00\x00\x00\x48\x89\x05\x00\x00\x00\x00\x48\x85\xC9\x74\x11"), "xxxxxxx????xxx????xxx????xxxxx"); IAppSystem_LoadLibrary = p_IAppSystem_LoadLibrary.RCast(); /*48 83 EC 28 48 8B 0D ?? ?? ?? ?? 48 8D 05 ?? ?? ?? ?? 48 89 05 ?? ?? ?? ?? 48 85 C9 74 11*/ } virtual void GetVar(void) const { } virtual void GetCon(void) const { } virtual void Attach(void) const { } virtual void Detach(void) const { } }; /////////////////////////////////////////////////////////////////////////////// REGISTER(HAppSystem);