IDA - Searching for floats/doubles menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IDA - Searching for floats/doubles

    I know this is a bit of a n00b question, and I've actually searched for floats successfully thus far (I'm trying to find GetFramerate for the mac binary, but the xrefs don't work the same as on windows :/ And I noticed 3 floats referenced, so I wanted to search for these on the mac binary).

    But, the question, how do you search for floats/doubles? Obviously doing "immediate value" will not work as it just converts it to 0. And searching for a byte sequence is not working either (I choose decimal, paste it with quotes (it tells me to), and it immediately returns with a result (indicating no search was done))

    Thanks in advance!
    https://tanaris4.com

    IDA - Searching for floats/doubles
  2. #2
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone have any ideas for this? Seems like it has to be possible
    https://tanaris4.com

  3. #3
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No one? o.O
    https://tanaris4.com

  4. #4
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    GetFramerate API? D:


  5. #5
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The IDA question, I already figured out GetFramerate a different way
    https://tanaris4.com

  6. #6
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's not pretty, but you could use the text search. :P

    Seriously though that's a good question. I normally just run the game and use a restricted memory search (so it just searches the .data and .rdata sections).

  7. #7
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's even worse on a mac too, b/c IDA doesn't realize what data should actually be floating points /cry But I can set them to that easily enough. I've tried the byte-by-byte search with very limited success
    https://tanaris4.com

  8. #8
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    More proofs that Macs suck.

  9. #9
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But I can wall walk!!!!!!
    https://tanaris4.com

  10. #10
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you try just searching for the byte sequence? Something like:

    float f = 123.123f;
    int i = *(int*)&f;
    std::cout << std::hex << i;

    And then seperate the hex digits to bytes and search for that.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  11. #11
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    But I can wall walk!!!!!!
    So can I. Lol.

Similar Threads

  1. [IDA] How do I search for a sequence of bytes in code?
    By fvicaria in forum WoW Memory Editing
    Replies: 4
    Last Post: 01-29-2012, 02:38 PM
  2. Creating an IDA Plugin to search for floats
    By Tanaris4 in forum WoW Memory Editing
    Replies: 0
    Last Post: 09-09-2010, 11:29 AM
  3. So I've been searching for a week...
    By Twister06 in forum World of Warcraft General
    Replies: 4
    Last Post: 02-10-2007, 01:26 PM
  4. Searching for Voice Actors/In-Game Actors
    By Örpheus in forum World of Warcraft General
    Replies: 1
    Last Post: 08-01-2006, 10:03 AM
All times are GMT -5. The time now is 02:25 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search