Results 1 to 3 of 3
  1. #1
    cardoow's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Posts
    214
    Reputation
    28
    Thanks
    754
    My Mood
    Amazed

    MW3 Reversings [Old offsets]

    i saw that the addys from uc where posted here so here are some functions u can use
    in combination with the posted offsets(i guess these are all outdated)

    Code:
    class w2s_t
    {
    public:
    	char unknown[0xDC];
    };
    typedefs

    Code:
    typedef bool (*w2s_)(int unknown, w2s_t * w2scalc, Vec3 vPoint, float Screen[2]);
    w2s_ w2s = (w2s_)0x514820;
    
    typedef w2s_t *(*GetCalc_)();
    GetCalc_ GetCalc = (GetCalc_)0x4CE3C0;
    
    typedef bool (*RankIcon_)(int Rank, int Prestige, DWORD ptr);
    RankIcon_ RankIcon = (RankIcon_)0x5330D0;
    functions
    Code:
    void DrawNameTags( CEntity * pEnt, float Alpha )
    {
    	DWORD dwNameTags = 0x580C30;
    	
    	__asm{
    		push Alpha
    		push pEnt
    		push 0x0
    		call [dwNameTags]
    		add esp, 0xC
    	}
    }
    
    DWORD GetWeapon(DWORD dwNum)
    {
    	DWORD dwReturn = NULL;
    	__asm{		
    		mov eax, dwNum
    		and eax, 0FFh
    		mov eax, [eax*4+0x8DAA50]
    		mov dwReturn, eax		
    	}
    	return dwReturn;
    }
    
    char * GetWeaponName(DWORD dwNum)
    {
    	DWORD dwReturn = NULL;
    	__asm{		
    		mov eax, dwNum
    		and eax, 0FFh
    		add eax, eax
    		add eax, eax
    		mov eax,[eax+0xA011D4]
    		mov dwReturn, eax		
    	}
    	return (char*)dwReturn;
    }
    
    void FixBlindEye()
    {
    	CClientInfo * pLocal = GetLocalClient();
    	for(int i=0; i<32; i++)
    	{
    		CClientInfo * pClient = GetClientByIndex(i);
    		if(pClient != pLocal)
    		{
    			if(pClient->Perk & 0x20)
    				pClient->Perk = 0x0;
    		}
    	}
    }
    
    void ChopperBoxes()
    {
    	DWORD dwCall = 0x5A30C0;
    	FixBlindEye();
    	
    	__asm{
    		push 0x0
    		call [dwCall]
    		add esp, 0x4
    	}
    }
    
    char * GetRankShader(CClientInfo * pClient)
    {
    	DWORD dwShader;
    	RankIcon(pClient->Rank, pClient->Prestige, dwShader);	
    	
    	return (char*)(*(DWORD*)(*(DWORD*)dwShader));
    }
    
    typedef void (*Wallhack_)();
    Wallhack_ pWallhack;
    void __declspec(naked) nWallhack()
    {
    	__asm{
    		pushad		
    		cmp DWORD PTR [esp+0x20], 0x4799C2 //player return
    		jne jump		
    		mov [esp+0x30], 0x503
    jump:
    		popad
    		jmp[pWallhack]
    	}
    }
    
    pWallhack = (Wallhack_)DetourFunction((PBYTE)0x5397F0, (PBYTE)nWallhack);

  2. The Following 3 Users Say Thank You to cardoow For This Useful Post:

    intervention61 (12-01-2011),killstreak (07-17-2012),shryder (04-24-2016)

  3. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,827
    Reputation
    3310
    Thanks
    74,412
    My Mood
    Breezy
    Thanks @cardoow. I'm not sure there are many experienced coders here anymore though.

    Please do not ask what to do with these.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7 *NEW* 2017 Update!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  4. #3
    J4ckD's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    6
    Reputation
    3
    Thanks
    0
    How can I use this? I'm a good script kiddy and I haz mad VB.Net skills! ... Kiddin, thanks for this.
    Last edited by J4ckD; 12-01-2011 at 09:24 AM.

Similar Threads

  1. [Discussion] MW3 Old
    By weemanfc in forum XBOX General Discussion
    Replies: 15
    Last Post: 11-19-2011, 10:31 PM
  2. Old lady rages and swears while playing MW3.
    By master131 in forum Call of Duty Modern Warfare 3 Discussions
    Replies: 2
    Last Post: 11-19-2011, 07:40 PM
  3. Old CD
    By aldregon in forum General Game Hacking
    Replies: 3
    Last Post: 04-12-2006, 07:42 AM
  4. Looking for the old Warrock Game Files
    By Zededarian in forum WarRock - International Hacks
    Replies: 2
    Last Post: 01-10-2006, 02:30 PM
  5. Couple of Old Sigs
    By fRailty in forum Art & Graphic Design
    Replies: 4
    Last Post: 12-30-2005, 10:11 PM