No DATA XREF when reversing WoW Mac client API [17128] menu

User Tag List

Results 1 to 9 of 9
  1. #1
    jamesbay's Avatar Sergeant
    Reputation
    8
    Join Date
    Oct 2011
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    No DATA XREF when reversing WoW Mac client API [17128]

    Hi,

    I am reversing some functions from the WoW API on the Mac client, however, IDA 6.1 finds no DATA XREF as I can find in the Windows client, see images below.

    Anyone who can explain me how come it does not find any XREF in the WoW Mac client as it does with the Windows counterpart?

    WoW Windows client
    No DATA XREF when reversing WoW Mac client API [17128]-s5zr6p-jpg

    WoW Mac client
    No DATA XREF when reversing WoW Mac client API [17128]-deoc2o-jpg

    No DATA XREF when reversing WoW Mac client API [17128]
  2. #2
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Create them manually? They are here, but IDA didn't recognize them.

  3. #3
    jamesbay's Avatar Sergeant
    Reputation
    8
    Join Date
    Oct 2011
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    Create them manually? They are here, but IDA didn't recognize them.
    I have not tried that before, but made a quick search on the topic on stackexchange to get the idea. But how would I actually go about finding where it should be referencing?

  4. #4
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look at calls to FrameScript_RegisterFunction.

  5. #5
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by _Mike View Post
    Look at calls to FrameScript_RegisterFunction.
    Or use dumb way. Say you have found this:
    Code:
    __cstring:013127CB 47 65 74 5A 6F 6E 65 54 65 78+aGetzonetext    db 'GetZoneText',0
    Take 013127CB, split into bytes: 01 31 27 CB, reverse: CB 27 31 01, Alt+B, put that into textbox and click ok, you should get list of occurrences, double click one from __const section, press "O", move cursor to next line, press "O" again...

  6. #6
    jamesbay's Avatar Sergeant
    Reputation
    8
    Join Date
    Oct 2011
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    Or use dumb way. Say you have found this:
    Code:
    __cstring:013127CB 47 65 74 5A 6F 6E 65 54 65 78+aGetzonetext    db 'GetZoneText',0
    Take 013127CB, split into bytes: 01 31 27 CB, reverse: CB 27 31 01, Alt+B, put that into textbox and click ok, you should get list of occurrences, double click one from __const section, press "O", move cursor to next line, press "O" again...
    You sir! are brilliant. Had no idea that would be so straightforward. It only found one occurrence, which it made the XREF for. Have now found the sub and so forth. Thank you once again.

    +rep
    Last edited by jamesbay; 08-29-2013 at 01:53 AM.

  7. #7
    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)
    Originally Posted by TOM_RUS View Post
    Or use dumb way. Say you have found this:
    Code:
    __cstring:013127CB 47 65 74 5A 6F 6E 65 54 65 78+aGetzonetext    db 'GetZoneText',0
    Take 013127CB, split into bytes: 01 31 27 CB, reverse: CB 27 31 01, Alt+B, put that into textbox and click ok, you should get list of occurrences, double click one from __const section, press "O", move cursor to next line, press "O" again...
    You don't have to manually split the bytes, you can search for 0x013127CB and IDA will treat it as a little endian 4-byte value.
    I do find it very annoying though, that IDA is not recognizing these obvious xrefs. Perhaps ExtraPass works, although I haven't tried.
    [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

  8. #8
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    You don't have to manually split the bytes, you can search for 0x013127CB and IDA will treat it as a little endian 4-byte value.
    Nice, never tried that. Thought it only searches for bytes.

  9. #9
    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)
    Originally Posted by TOM_RUS View Post
    Nice, never tried that. Thought it only searches for bytes.
    Yeah, it also works for strings, if you for some reason need to search for those without using the strings window.
    [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

Similar Threads

  1. [wow][mac] Reversing a mount list function (IDA)
    By Tanaris4 in forum WoW Memory Editing
    Replies: 2
    Last Post: 01-06-2010, 02:36 PM
  2. Wow Alpha client + sandbox server
    By Gilthoniel in forum World of Warcraft Bots and Programs
    Replies: 76
    Last Post: 10-26-2007, 10:55 AM
  3. WoW TBC client Beta patch
    By Marlo in forum Community Chat
    Replies: 8
    Last Post: 05-05-2007, 02:52 PM
  4. Something to do when the WoW servers are down
    By Fault in forum Community Chat
    Replies: 2
    Last Post: 01-16-2007, 12:52 AM
  5. WoW full client
    By keritio in forum World of Warcraft General
    Replies: 3
    Last Post: 07-22-2006, 06:50 AM
All times are GMT -5. The time now is 03:50 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search