Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Gangnam Boy's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    556

    ☆☆☆☆☆ [ Midfuntion Engine Address - 09/25/2012 ] ☆☆☆☆☆

    Crossfire North America
    Code:
    Endscene: 0x004561AF
    Return: 0x004561B7
    
    DIP: 0x004B782D
    Return: 0x004B7835
    Crossfire Europe
    Code:
    Endscene: 0x0045760F
    Return: 0x00457617
    
    DIP: 0x004B5FED
    Return: 0x004B5FF5
    Crossfire Philippines
    Code:
    Endscene: 0x0045762F
    Return: 0x00457637
    
    DIP: 0x004B3C4D
    Return: 0x004B3C55
    Crossfire Vietnam
    Code:
    Private
    Base Source:
    Code:
    #include <windows.h>
    #include <d3d9.h>
    #include <d3dx9.h>
    
    #pragma comment(lib, "d3d9.lib")
    #pragma comment(lib, "d3dx9.lib")
    
    /*-------------------- 09.25.2012 --------------------*/
    /*         Credits: WE11ington & Gangnam Boy          */
    /*----------------------------------------------------*/
    #define CFNA
    //#define CFEU
    //#define CFPH
    
    /*------------------- Crossfire NA -------------------*/
    #ifdef CFNA
    #define EndSceneEngine 0x004561AF
    #define DIPEngine 0x004B782D
    DWORD retEndSceneEngine = ( EndSceneEngine + 0x8 );
    DWORD retDIPEngine = ( DIPEngine + 0x8 );
    #endif
    
    /*------------------- Crossfire EU -------------------*/
    #ifdef CFEU
    #define EndSceneEngine 0x0045760F
    #define DIPEngine 0x004B5FED
    DWORD retEndSceneEngine = ( EndSceneEngine + 0x8 );
    DWORD retDIPEngine = ( DIPEngine + 0x8 );
    #endif
    
    /*------------------- Crossfire PH -------------------*/
    #ifdef CFPH
    #define EndSceneEngine 0x0045762F
    #define DIPEngine 0x004B3C4D
    DWORD retEndSceneEngine = ( EndSceneEngine + 0x8 );
    DWORD retDIPEngine = ( DIPEngine + 0x8 );
    #endif
    
    INT chams;
    INT color;
    
    LPD3DXFONT Font;
    LPDIRECT3DDEVICE9 pDevice;
    
    #define Red     D3DCOLOR_ARGB( 255, 255, 000, 000 )
    #define Green   D3DCOLOR_ARGB( 255, 000, 255, 000 )
    #define Blue    D3DCOLOR_ARGB( 255, 000, 000, 255 )
    #define Black   D3DCOLOR_ARGB( 255, 000, 000, 000 )
    
    VOID StartFont ( )
    {
        if( Font )
        {
            Font->Release();
            Font = NULL;
        }
    
        if( !Font )
    		D3DXCreateFont( pDevice,
                            14,
                            0,
                            FW_BOLD,
                            1,
                            0,
                            DEFAULT_CHARSET,
                            OUT_DEFAULT_PRECIS,
                            DEFAULT_QUALITY,
                            DEFAULT_PITCH | FF_DONTCARE,
                            "Arial",
                            &Font );
    }
    
    VOID WriteText ( INT x, INT y, DWORD color, CHAR *text )
    {    
        RECT rect;
        SetRect( &rect, x, y, x, y );
        Font->DrawText( NULL, text, -1, &rect, DT_NOCLIP | DT_LEFT, color );
    }
    
    __declspec( naked ) HRESULT WINAPI EndSceneMidfunction ( )
    {
        __asm
        {
            MOV ECX, DWORD PTR DS:[EAX]
            MOV EDX, DWORD PTR DS:[ECX + 0xA8]
            MOV DWORD PTR DS:[pDevice], EAX
            PUSHAD
        }
    
        StartFont( pDevice );
    
        if( Font )
            WriteText( pDevice, 300, 300, Red, "CrossFire: Hook EndScene Engine" );
    
        __asm
        {
            POPAD
            JMP retEndSceneEngine
        }
    }
    
    __declspec( naked ) HRESULT WINAPI DIPMidfunction ( )
    {
        __asm
        {
            MOV EDX, DWORD PTR DS:[EAX]
            MOV EDX, DWORD PTR DS:[EDX + 0x148]
            MOV DWORD PTR DS:[pDevice], EAX
            PUSHAD
        }
    
        if( GetAsyncKeyState(VK_NUMPAD1)&1 )
            chams = !chams;
     
        if( GetAsyncKeyState(VK_NUMPAD2)&1 )
            color++;
        
        if( color > 4 )
            color = 0;
        
        if( chams )
        {
            pDevice->SetRenderState( D3DRS_ZENABLE, D3DZB_FALSE );
            if( color == 1 ) pDevice->SetRenderState( D3DRS_AMBIENT, Red   );
            if( color == 2 ) pDevice->SetRenderState( D3DRS_AMBIENT, Green );
            if( color == 3 ) pDevice->SetRenderState( D3DRS_AMBIENT, Blue  );
            if( color == 4 ) pDevice->SetRenderState( D3DRS_AMBIENT, Black );
        }
    
        __asm
        {
            POPAD
            JMP retDIPEngine
        }
    }
    
    VOID *DetourCreate ( BYTE *src, CONST BYTE *dst, CONST INT len )
    {
        BYTE *jmp =( BYTE * ) malloc( len + 5 );
        DWORD dwBack;
    
        VirtualProtect( src, len, PAGE_READWRITE, &dwBack );
        memcpy( jmp, src, len );    
        jmp += len;
        jmp[0] = 0xE9;
        *( DWORD * )( jmp + 1 ) = ( DWORD )( src + len - jmp ) - 5;
    
        src[0] = 0xE9;
        *( DWORD * )( src + 1 ) = ( DWORD )( dst - src ) - 5;
        for( INT i = 5; i < len; i++ )
            src[i] = 0x90;
        VirtualProtect( src, len, dwBack, &dwBack );
    
        return( jmp - len );
    }
    
    DWORD WINAPI StartRoutine ( LPVOID )
    {
        while( TRUE )
        {
            if( memcmp( ( VOID * )EndSceneEngine, ( VOID * )( PBYTE )"\x8B\x08", 2 ) == 0
             || memcmp( ( VOID * )DIPEngine,      ( VOID * )( PBYTE )"\x8B\x10", 2 ) == 0 ) {
    
    	    Sleep( 100 );
                DetourCreate( ( PBYTE )EndSceneEngine, ( PBYTE )EndSceneMidfunction, 8 );
    	    DetourCreate( ( PBYTE )DIPEngine, ( PBYTE )DIPMidfunction, 8 );
            }
            Sleep( 50 );
        }
        return FALSE;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    { 
        if( dwReason == DLL_PROCESS_ATTACH )
        {
            DisableThreadLibraryCalls( hDll );
            MessageBox( 0, "Midfunction Hook Engine", "Crossfire", 0 );
            CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)StartRoutine, 0, 0, 0 );
        }
        return TRUE;
    }
    Credits:
    @WE11ington - old address
    @Gangnam Boy - update

    @z8games
    @gamerage
    @gameclub
    @xtrap

    Happy Patching !

  2. The Following 5 Users Say Thank You to Gangnam Boy For This Useful Post:

    3D (09-25-2012),CrazyFrost (09-25-2012),DarkPladin (09-25-2012),remzkee0903 (09-27-2012),[mi5 (09-25-2012)

  3. #2
    3D's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    In The World :P
    Posts
    1,007
    Reputation
    134
    Thanks
    14,169
    My Mood
    Amazed
    LoL thanks but i was today wanna to unpack for cf eu but rlly thanks

  4. #3
    DarkPladin's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    (◔̯◔)
    Posts
    365
    Reputation
    10
    Thanks
    610
    My Mood
    Devilish
    thanks usefull !

  5. #4
    hanyali2012's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    Crossfire
    Posts
    556
    Reputation
    14
    Thanks
    3,391
    My Mood
    Happy
    Any Way Thanx You Usefull



    Best CoderS :~
    @Ramo
    @Karemm111
    @Dragon(H)ell
    @CodeSkills


  6. #5
    olwayy's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    >Any"Where<
    Posts
    146
    Reputation
    10
    Thanks
    1,040
    My Mood
    Aggressive
    Who Can Help For This?

    Last edited by olwayy; 09-25-2012 at 09:54 AM.

  7. #6
    BACKD00R's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Brazil
    Posts
    10,711
    Reputation
    1814
    Thanks
    31,902
    My Mood
    Aggressive
    Quote Originally Posted by olwayy View Post
    Who Can Help For This?

    @mamo007

    What do you say?



     

    Skype : BACKD00R-MPGH

     

    • Contributor: October, 31th 2011
    • CA BR Minion: January, 03th 2012
    • CF AL Minion: April, 07th 2012
    • CA Minion: April, 15th 2012
    • CF Minion: July, 03th 2012
    • PB Minion: January, 25th 2013
    • AVA Minion : February, 02th 2013
    • Arctic Combat minion: April, 03th 2013
    • Warface Minion: April, 03th 2013

    • Minion + : July 08th 2012
    • Moderator : January 21th 2013
    • Global Moderator : August 1st 2013







  8. #7
    janko21's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    In a box under a bridge
    Posts
    261
    Reputation
    11
    Thanks
    120
    My Mood
    Cool
    swag ... are you back ... the last time that I have see you is.... IDK just a long time ago xd


    Scammer:
    morondongo1996 (after a couple of days he will change te PASSWORD!) he's banned GG

  9. #8
    XarutoUsoCrack's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    CFAL Honra & Glória Server
    Posts
    1,087
    Reputation
    51
    Thanks
    2,543
    My Mood
    Relaxed
    LOL.

    MidFunction will get Patched after New X-Trap Patch.

    D3D Hook still Much Better and Easy to Hook.

    In my Opnion.

  10. #9
    janko21's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    In a box under a bridge
    Posts
    261
    Reputation
    11
    Thanks
    120
    My Mood
    Cool
    .... U can start as a leecher and grow up to a great hacker so why U hate the leechers... if they add u in the credits


    Scammer:
    morondongo1996 (after a couple of days he will change te PASSWORD!) he's banned GG

  11. #10
    olwayy's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    >Any"Where<
    Posts
    146
    Reputation
    10
    Thanks
    1,040
    My Mood
    Aggressive
    Quote Originally Posted by BACKD00R View Post

    @mamo007

    What do you say?
    @[MPGH]BACKD00R
    How do I fix it?
    Last edited by olwayy; 09-25-2012 at 12:58 PM.

  12. #11
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,255
    Reputation
    3259
    Thanks
    7,214
    Stop raging .

  13. The Following User Says Thank You to Janitor For This Useful Post:

    [mi5 (09-25-2012)

  14. #12
    Stanman08's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    USA
    Posts
    338
    Reputation
    16
    Thanks
    892
    My Mood
    Mellow
    Thanks Very HelpFul!
    Click "THANKS" if i Helped You!

  15. #13
    ayawmanmik's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    In Your Window
    Posts
    277
    Reputation
    10
    Thanks
    2,754
    My Mood
    Aggressive
    Tnx Man Tnx

  16. #14
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,566
    Reputation
    5180
    Thanks
    14,176
    My Mood
    Inspired
    Quote Originally Posted by olwayy View Post
    @[MPGH]BACKD00R
    How do I fix it?
    Download, install and then include the DirectX June 2010 SDK
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  17. #15
    hanyali2012's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    Crossfire
    Posts
    556
    Reputation
    14
    Thanks
    3,391
    My Mood
    Happy
    I Thing This Engines Is Patched



    Best CoderS :~
    @Ramo
    @Karemm111
    @Dragon(H)ell
    @CodeSkills


Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] ☆☆☆☆☆ [ Midfuntion Engine Address - 09/25/2012 ] ☆☆☆☆☆
    By Gangnam Boy in forum CrossFire Europe Hack Source Code
    Replies: 2
    Last Post: 10-24-2012, 02:48 AM
  2. [Release] ☆☆☆☆☆ [ Midfuntion Engine Hook - 09/27/2012 ] ☆☆☆☆☆
    By Gangnam Boy in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 09-27-2012, 10:44 AM
  3. Cheat Engine Addresses
    By crazygamer53 in forum Combat Arms Help
    Replies: 13
    Last Post: 10-27-2011, 05:24 AM
  4. [Release] Cheat Engine Addresses (After Patch 1.0.174)
    By Houston in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 44
    Last Post: 01-07-2010, 06:14 AM
  5. Cheat engine address?
    By granter101 in forum C++/C Programming
    Replies: 3
    Last Post: 09-06-2009, 02:43 AM

Tags for this Thread