Source Code Hook Undetect ALL Point Blank Garena Indonesia Terbaru

Array Of Byte ( AOB ) PBGI, Base Point Blank Garena Indonesia Terbaru..

Oke Langsung Aja :

bool DeviceReset = true; #define pD3DdeviceX LPDIRECT3DDEVICE9 DWORD GetDevice__EndScene; DWORD Return_EndScene; DWORD retMyDIP; HMODULE Module_d3d9; LPDIRECT3DDEVICE9 ReadyDevice; pD3DdeviceX g_pDevice1 = 0; void PostReset(LPDIRECT3DDEVICE9 pDeviceBM) { D3DXCreateFontA(pDeviceBM, 14, 0, FW_BOLD, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &dMenu.pFont ); D3DXCreateLine(pDeviceBM, &pLine); } void PreReset(pD3DdeviceX pDeviceBM) { if(dMenu.pFont) { dMenu.pFont = NULL; } if(g_pDevice1 != pDevice ) { g_pDevice1 = pDeviceBM; } if(dMenu.pFont) { dMenu.pFont->Release(); dMenu.pFont = NULL; dMenu.pFont = FALSE; } dMenu.pFont = NULL; } void PresetDevice() { PreReset(pDeviceBM); DeviceReset = true; ReadyDevice = pDeviceBM; } bool bCreateFont = true; void FontReset() { dMenu.pFont->OnLostDevice(); dMenu.pFont->OnResetDevice(); pLine->OnLostDevice(); pLine->OnResetDevice(); } void Render() { pDeviceBM->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE); if (DeviceReset == true) { if(pDeviceBM != ReadyDevice) { DeviceReset = false; PresetDevice(); } } if (DeviceReset == true) { if (dMenu.pFont==NULL) { PostReset(pDeviceBM); ReadyDevice = pDeviceBM; } else { FontReset(); } } if (pDeviceBM && pDeviceBM->TestCooperativeLevel() != D3DERR_DEVICELOST) { //LOOP } } __declspec(naked) void MidFunction_EndScene() { __asm { mov edi,edi push ebp mov ebp,esp mov pDeviceBM,esi pushad call [Render] popad jmp [Return_EndScene] } } BYTE HOOK_PAT_8[] = {"\x8B\xFF\x55\x8B\xEC\xFF\x75\x08\x8B\x01\x6A\x3E\xFF\x90\xF4\x00"}; CHAR HOOK_MAS_8[] = {"xxxxxxxxxxxxxxx?"}; BYTE HOOK_PAT_7[] = {"\x8B\xFF\x55\x8B\xEC\x8B\x55\x08\x8B\x01\x8B\x80\xF4\x00\x00\x00\x52\x6A\x3E\xFF\xD0\x5D\xC2\x04\x00"}; CHAR HOOK_MAS_7[] = {"xxxxxxxxxxxxxxxxxxxxxxxxx"}; bool CheckWindowsVersion(DWORD dwMajorVersion,DWORD dwMinorVersion,DWORD dwProductType) { OSVERSIONINFOEX VersionInfo; ZeroMemory(&VersionInfo,sizeof(OSVERSIONINFOEX)); VersionInfo.dwOSVersionInfoSize = sizeof(VersionInfo); GetVersionEx((OSVERSIONINFO*)&VersionInfo); if ( VersionInfo.dwMajorVersion == dwMajorVersion ) { if ( VersionInfo.dwMinorVersion == dwMinorVersion ) { if ( VersionInfo.wProductType == dwProductType ) { return ( TRUE ); } } } return ( FALSE ); } bool Match(const BYTE* pData, const BYTE* bMask, const char* szMask) { for(;*szMask;++szMask,++pData,++bMask) if(*szMask=='x' && *pData!=*bMask ) return false; return (*szMask) == 0; } DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask) { for(DWORD i=0; i < dwLen; i++) if( Match( (BYTE*)( dwAddress+i ),bMask,szMask) ) return (DWORD)(dwAddress+i); return 0; } void DxHook() { Module_d3d9 = LoadLibraryA("d3d9.dll"); DWORD *vtbl; DWORD adr; if (CheckWindowsVersion(6, 2, VER_NT_WORKSTATION)) // Windows 8 / 8.1 { GetDevice__EndScene = FindPattern((DWORD)Module_d3d9, 0xFFFFFF,(PBYTE)HOOK_PAT_8,(PCHAR)HOOK_MAS_8); adr = FindPattern((DWORD)Module_d3d9, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx"); } else if (CheckWindowsVersion(6, 0, VER_NT_WORKSTATION) || CheckWindowsVersion(6, 1, VER_NT_WORKSTATION)) // Windows 7 / Vista { GetDevice__EndScene = FindPattern((DWORD)Module_d3d9, 0xFFFFFF,(PBYTE)HOOK_PAT_7,(PCHAR)HOOK_MAS_7); adr = FindPattern((DWORD)Module_d3d9, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx"); } memcpy(&vtbl,(void*)(adr + 2),4); Return_EndScene = GetDevice__EndScene + 0x5; retMyDIP = vtbl[147] + 0x5; CreateDetour((DWORD)MidFunction_EndScene,(DWORD)GetDevice__EndScene,Detour_Type_0xE9, 5); }

Sekian dari Saya,
Thanks Udah Mampir..
Semoga Bermanfaat Sobat Master SEO ^_^
Jangan Lupa Tinggalkan Komentar..
Dan Bagikan Artikel ini di Facebook, Twitter, Google+ Anda ya agar terus update.. Terima Kasih.. 

Baca Juga :


CARA MEMBUAT APLIKASI KAMERA SMARTPHONE TEMBUS PANDANG TERBARU


CARA MENDAPATKAN PAKET DATA INTERNET 20GB GRATIS SELAMA 1 TAHUN UNTUK SEMUA OPERATOR