get one'd
-
Автор темы
- #1
Код:
bool __fastcall Handlers::TempEntities_h(void* ECX, void* EDX, void* msg)
{
if (!g_LocalPlayer || !g_EngineClient->IsInGame() || !g_EngineClient->IsConnected())
return o_TempEntities(ECX, msg);
bool ret = o_TempEntities(ECX, msg);
auto CL_ParseEventDelta = [](void *RawData, void *pToData, RecvTable *pRecvTable)
{
// "RecvTable_DecodeZeros: table '%s' missing a decoder.", look at the function that calls it.
static uintptr_t CL_ParseEventDeltaF = (uintptr_t)Utils::PatternScan(GetModuleHandle("engine.dll"), ("55 8B EC 83 E4 F8 53 57"));
__asm // <--
{
mov ecx, RawData
mov edx, pToData
push pRecvTable
call CL_ParseEventDeltaF
add esp, 4
}
};