From 0c3b9eb75e8771b492a15c80dcff6104eaea27c2 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 19 Apr 2013 01:13:27 +0200 Subject: update linux signature --- main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.cpp b/main.cpp index 0991150..21451d9 100644 --- a/main.cpp +++ b/main.cpp @@ -621,13 +621,13 @@ bool CApplication::InitSteam() if(pppUsePICS) g_pUsePICS = **(void***)pppUsePICS; #else - unsigned char* pSig = (unsigned char*)steamclientScanner.FindSignature("\x55\x89\xE5\xE8\x00\x00\x00\x00\x81\xC1\x00\x00\x00\x00\x8B\x45\x08\x80\x7D\x0C\x00", "xxxx????xx????xxxxxxx"); + unsigned char* pSig = (unsigned char*)steamclientScanner.FindSignature("\x55\x89\xE5\x56\x53\xE8\x00\x00\x00\x00\x81\xC3\x00\x00\x00\x00\x8B\x4D\x08\x8B\x75\x0C\x8B\x83", "xxxxxx????xx????xxxxxxxx"); if(pSig) { - int uOffset = *(int*)(pSig + 10); - int uOffset2 = *(int*)(pSig + 34); + int uOffset = *(int*)(pSig + 12); + int uOffset2 = *(int*)(pSig + 24); - void* ppUsePICS = pSig + 8 + uOffset + uOffset2; + void* ppUsePICS = pSig + 10 + uOffset + uOffset2; g_pUsePICS = *(void**)ppUsePICS; } #endif @@ -917,7 +917,7 @@ bool CApplication::LogOn() #ifdef _WIN32 bool (__thiscall* pSetValue)(void* pThis, const char* cszValue) = (bool (__thiscall *)(void *,const char *)) (*(void***)g_pUsePICS)[13]; #else - void (*pSetValue)(void* pThis, const char* cszValue) = (void (*)(void *,const char *)) (*(void***)g_pUsePICS)[13]; + void (*pSetValue)(void* pThis, const char* cszValue) = (void (*)(void *,const char *)) (*(void***)g_pUsePICS)[12]; #endif pSetValue(g_pUsePICS, "1"); -- cgit v1.2.3