заменить
Код
auto client_state = *reinterpret_cast<uintptr_t*>(uintptr_t(GetModuleHandle("engine.dll")) + 0x586A74);
на
Код
auto client_state = *reinterpret_cast<uintptr_t*>(uintptr_t(GetModuleHandle("engine.dll")) + 0x588A74);
А лучше на это заменит
Код
template< typename Function > Function xdxdcall_vfunc(PVOID Base, DWORD Index)
{
PDWORD* VTablePointer = (PDWORD*)Base;
PDWORD VTableFunctionBase = *VTablePointer;
DWORD dwAddress = VTableFunctionBase[Index];
return (Function)(dwAddress);
}
NetChannel* GetNetChannel()
{
typedef NetChannel*(__thiscall* OriginalFn)(PVOID);
return xdxdcall_vfunc< OriginalFn >(this, 78)(this);//make good, dont neet to update everytime omg
}
|