Thread: Integer Fixer

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,323
    My Mood
    Breezy
    Code:
    __declspec(naked) int IntegerFix(int val)
    {
    	__asm {
    		_emit 0x55
    		_emit 0x8B
    		_emit 0xEC
    		_emit 0x8B
    		_emit 0x45
    		_emit 0x08
    		_emit 0x5D
    		_emit 0x05
    		_emit 0x01
    		_emit 0x00
    		_emit 0x00
    		_emit 0x00
    		_emit 0xC3
    	}
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    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]

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

    [MPGH]Flengo (07-28-2013),Plutonsvea (07-30-2013),Saltine (07-28-2013)

  3. #17
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    15,694
    Reputation
    3319
    Thanks
    11,106
    My Mood
    Happy
    Quote Originally Posted by master131 View Post
    Code:
    __declspec(naked) int IntegerFix(int val)
    {
        __asm {
            _emit 0x55
            _emit 0x8B
            _emit 0xEC
            _emit 0x8B
            _emit 0x45
            _emit 0x08
            _emit 0x5D
            _emit 0x05
            _emit 0x01
            _emit 0x00
            _emit 0x00
            _emit 0x00
            _emit 0xC3
        }
    }
    Teach us all your ways.


    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM

    Publicist Since 04.04.2015
    Middleman Since Unknown - Unknown
    Global Moderator Since 08.01.2013
    Donator Since 05.29.2013

    Minion+ Since 04.18.2013

    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  4. #18
    Nico's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Germany :D
    Posts
    15,939
    Reputation
    1121
    Thanks
    8,516
    Code:
    class IntegerFix{
    
    	public:
    	
    	int fixedNumber;
    	
    	IntegerFix(int i)
    	{
    		integer = i;
    	}
    	
    	void Fix()
    	{
    		unsigned long double *fixedNumber = &integer;
    		*fixedNumber = integer + 1;
    		return (unsigned long double)*(&(*fixedNumber));
    	}
    	
    	private:
    		
    	int integer;
    		
    	protected:
    	
    };
    Thought class would be useful for this massive amount of code, it's just cleaner. Credits for fix go to @Gab

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

    [MPGH]Flengo (07-28-2013),[MPGH]Gab (07-28-2013)

  6. #19
    Gab's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Qc, Canada
    Posts
    6,658
    Reputation
    1498
    Thanks
    1,466
    Quote Originally Posted by Nico View Post
    Code:
    class IntegerFix{
    
    	public:
    	
    	int fixedNumber;
    	
    	IntegerFix(int i)
    	{
    		integer = i;
    	}
    	
    	void Fix()
    	{
    		unsigned long double *fixedNumber = &integer;
    		*fixedNumber = integer + 1;
    		return (unsigned long double)*(&(*fixedNumber));
    	}
    	
    	private:
    		
    	int integer;
    		
    	protected:
    	
    };
    Thought class would be useful for this massive amount of code, it's just cleaner. Credits for fix go to @Gab
    Thanks a lot! I didn't even know a "void" function could return a "unsigned long double"!
    Great class!

  7. The Following User Says Thank You to Gab For This Useful Post:

    [MPGH]Flengo (07-28-2013)

  8. #20
    Nico's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Germany :D
    Posts
    15,939
    Reputation
    1121
    Thanks
    8,516
    Quote Originally Posted by Gab View Post


    Thanks a lot! I didn't even know a "void" function could return a "unsigned long double"!
    Great class!
    My bad, while leec *cough* I mean analyzing your code I totally forgot to remove that line.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Release] DISCONNECTION FIXER Prg V3.0 wrks on any drive, any path to CA! 1/2/09
    By groundwalker in forum Combat Arms Hacks & Cheats
    Replies: 159
    Last Post: 01-22-2009, 02:53 PM
  2. [Release] Dc Problem FIXER! 1/1/09
    By groundwalker in forum Combat Arms Hacks & Cheats
    Replies: 21
    Last Post: 01-03-2009, 12:52 AM
  3. [Release] Dc Problem fixer V2.0 1/1/09
    By groundwalker in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 01-01-2009, 06:08 PM
  4. Random Integer Generator
    By SpiderByte in forum C++/C Programming
    Replies: 12
    Last Post: 02-19-2006, 05:46 AM
  5. Random Integer Generator
    By SpiderByte in forum Art & Graphic Design
    Replies: 6
    Last Post: 01-22-2006, 10:51 AM