Page 1 of 3 123 LastLast
Results 1 to 15 of 31
  1. #1
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive

    My old Midfunction Hook

    This is my old midfunction hook that I used for Combat Arms, all you have to do is update the addresses. It shouldn't be too hard. This is not copy & paste shit. I am releasing this because I am done with CA. I play legit now. I will not be answering questions about this. Naked ftw? Credits are at bottom.

    Globals
    Code:
    DWORD dwES_HOOK = 0x57341E;
    DWORD dwES_RESTORE = dwES_HOOK+0x5;
    
    DWORD dwRES_HOOK = 0x570E4E;
    DWORD dwRES_RESTORE = dwRES_HOOK+0x7; 
    
    DWORD dwPRES_HOOK = 0x65B316;
    DWORD dwPRES_RESTORE = dwPRES_HOOK+0x5;
    Present
    Code:
    __declspec( naked ) void Present_Hook( )
    {
    	_asm
    	{
    		MOV ECX, DWORD PTR DS:[EAX]
    		MOV EDX, DWORD PTR DS:[ECX+0x44]
    		PUSHAD
    	}
    
    	//call your shit here
    
    	_asm
    	{
    		POPAD
    		JMP[ dwPRES_RESTORE ]
    	}
    }
    Reset
    Code:
    _declspec( naked ) void Reset_Hook( )
    {
    	_asm
    	{
    		MOV ECX, DWORD PTR DS:[EAX]
    		MOV EDX, DWORD PTR DS:[ECX+0x40]
    		PUSHAD
    	}
    
    	main->OnLostDevice( );
    
    	_asm 
    	{
    		POPAD 
    		CALL EDX
    		PUSHAD
    	}
    
    	main->OnResetDevice( ); 
    
    	_asm
    	{
    		POPAD
    		JMP[ dwRES_RESTORE ]
    	}
    }
    Credits
    Code:
    Stephen
    Gellin
    S0biet
    Shad0w_
    btw, once you update the addresses, your gonna wanna detour your Reset and Present addies. :P

  2. The Following User Says Thank You to Stephen For This Useful Post:

    CAFlames (03-12-2011)

  3. #2
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,014
    Reputation
    202
    Thanks
    2,934
    My Mood
    Twisted
    Thanks a ton!

    Current Works:
    ---Horror Game






    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  4. #3
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Good luck updating the addies niggas

  5. #4
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Code:
    __declspec( naked ) void Endscene_Hook( )
    {
    	_asm
    	{
    		MOV ECX, DWORD PTR DS:[EAX]
    		MOV EDX, DWORD PTR DS:[ECX+0xA8]
    		PUSHAD
    	}
    
    	//d3dstuff
    
    	_asm
    	{
    		POPAD
    		JMP[ dwES_RESTORE ]
    	}
    }
    correct?
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  6. #5
    yoyoman4567's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    205
    Reputation
    9
    Thanks
    4
    My Mood
    Happy

    WHAT THE FUCK DID YOU SAY

    Quote Originally Posted by whit View Post
    Good luck updating the addies niggas
    WHAT THE HELL DID YOU SAY?

  7. #6
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    Quote Originally Posted by yoyoman4567 View Post
    WHAT THE HELL DID YOU SAY?
    he said.......
    Good luck updating the addies niggas

  8. The Following 4 Users Say Thank You to NOOB For This Useful Post:

    ғᴜᴋᴏᴊʀ (03-12-2011),CA_ (03-12-2011),PashaAmd (03-12-2011),whit (03-12-2011)

  9. #7
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    655
    Reputation
    70
    Thanks
    1,156
    My Mood
    Bitchy
    You mean the ones that gellin made that were released already?

  10. #8
    yoyoman4567's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    205
    Reputation
    9
    Thanks
    4
    My Mood
    Happy
    dose this hook even work?

  11. #9
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    Quote Originally Posted by mmbob View Post
    You mean the ones that gellin made that were released already?
    he did? Lol I didn't even know.

  12. #10
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Have fun are d/cing guise jajjaj

  13. #11
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    Quote Originally Posted by kotentopf View Post
    Code:
    __declspec( naked ) void Endscene_Hook( )
    {
    	_asm
    	{
    		MOV ECX, DWORD PTR DS:[EAX]
    		MOV EDX, DWORD PTR DS:[ECX+0xA8]
    		PUSHAD
    	}
    
    	//d3dstuff
    
    	_asm
    	{
    		POPAD
    		JMP[ dwES_RESTORE ]
    	}
    }
    correct?
    Code:
    __declspec( naked ) void EndScene_Hook()
    	{
    		_asm
    		{
    			MOV DWORD PTR SS:[EBP-0x10], EAX
    			XOR EAX, EAX
    			PUSHAD
    		}
    		_asm
    		{
    			POPAD
    			JMP[ dwES_RESTORE]
    		}
    	}

  14. #12
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    I could of swore Gellin said this was detected but idk

  15. #13
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Quote Originally Posted by Stephen View Post


    Code:
    __declspec( naked ) void EndScene_Hook()
    	{
    		_asm
    		{
    			MOV DWORD PTR SS:[EBP-0x10], EAX
    			XOR EAX, EAX
    			PUSHAD
    		}
    		_asm
    		{
    			POPAD
    			JMP[ dwES_RESTORE]
    		}
    	}
    this is not engine.exe, this is d3d9.dll(im not 100% sure)
    Last edited by kotentopf; 03-12-2011 at 11:57 AM.
    The Internet SHOULD Be Illegal

    When you say
    "Java is a great programming language because it works on all platforms"
    it is just like
    "anal sex is great because it works on all genders"

    Are YOU a Troll?

  16. #14
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,568
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Quote Originally Posted by yoyoman4567 View Post
    WHAT THE HELL DID YOU SAY?
    You quoted him. Most retarded troll of the everness. You have 140 posts, whitty has idfk but alot more than you. Learn to respect your senior trolls noob.



    MPGH in 5 words:

    Quote Originally Posted by ZEROProJect View Post
    1 in a million community

  17. The Following User Says Thank You to ғᴜᴋᴏᴊʀ For This Useful Post:

    whit (03-12-2011)

  18. #15
    NubKing's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    54
    Reputation
    10
    Thanks
    19
    My Mood
    Asleep
    Quote Originally Posted by kotentopf View Post
    Code:
    __declspec( naked ) void Endscene_Hook( )
    {
    	_asm
    	{
    		MOV ECX, DWORD PTR DS:[EAX]
    		MOV EDX, DWORD PTR DS:[ECX+0xA8]
    		PUSHAD
    	}
    
    	//d3dstuff
    
    	_asm
    	{
    		POPAD
    		JMP[ dwES_RESTORE ]
    	}
    }
    correct?
    make sure u have the right opcode and detoru fuc or it will crash

Page 1 of 3 123 LastLast