• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 5 of 5
    1. #1
      Game Destroyer
      Alpha Preditor
       
      Coding
       
      ChrisFayte's Avatar
      Join Date
      Apr 2016
      Location
      USA
      Posts
      52
      Thanks (-->)
      36
      Thanks (<--)
      58

      Converting Value Types and Borrowing XMM Registries

      John Kittz
      Converting Value Types and Borrowing XMM Registries



      Today we are looking on how to convert and Integer value into Float.
      We need to write our CAP value to our Current
      Value, however the CAP is a 4-byte Integer and our current value is a Float. Here I show how two different methods to
      have that 4-byte CAP write to the current Float HP. One method we will need to borrow an XMM register so we learn how to
      do that as well. An extremely useful technique to learn for many different things.

    2. Thanks [GH]Rake, Traxin thanked for this post
    3. #2
      Administrator
      Hacked By Jesus
       
      Reversing
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      3,195
      Thanks (-->)
      718
      Thanks (<--)
      939

      Re: Converting Value Types and Borrowing XMM Registries

      I've never worked with fild or movdqu, or played with XMM registers so this was a great watch for me

    4. Thanks ChrisFayte thanked for this post
    5. #3
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      472
      Thanks (-->)
      66
      Thanks (<--)
      133

      Re: Converting Value Types and Borrowing XMM Registries

      yay more crack

      Just finished it, as always great stuff.
      I've messed around with the fpu registers on some games to make one-hit kills before but I haven't done anything like this.
      Last edited by Traxin; 01-02-2017 at 03:29 AM.

    6. Thanks ChrisFayte thanked for this post
    7. #4
      Administrator
      Hacked By Jesus
       
      Reversing
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      3,195
      Thanks (-->)
      718
      Thanks (<--)
      939

      Re: Converting Value Types and Borrowing XMM Registries

      Quote Originally Posted by Traxin View Post
      yay more crack

    8. #5
      Jr.Coder
      Learning to hack games!
       
      Eating
       
      bYt3_w4LK3r's Avatar
      Join Date
      Nov 2014
      Location
      Republika ng Pilipinas
      Posts
      57
      Thanks (-->)
      3
      Thanks (<--)
      8

      Re: Converting Value Types and Borrowing XMM Registries

      Cheats'n'Trainers
      I have always evaded instructions involving floats. Not anymore, thanks.

    9. Thanks ChrisFayte thanked for this post

    Similar Game Hacker Threads

    1. [Source Code] Simple templated iterator for basic Types
      By HalfWayToHell333 in forum Tutorials and Snippets
      Replies: 5
      Last Post: 02-29-2016, 01:31 AM