How to find WoW BaseAdress on a Mac and get offsets from binary file? menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    pcmdxx's Avatar Member
    Reputation
    1
    Join Date
    Sep 2012
    Posts
    46
    Thanks G/R
    2/0
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to find WoW BaseAdress on a Mac and get offsets from binary file?

    Hello,

    I was reading in the forum for a while but I have still some questions regarding base adress and offsets.I can only find there information for windows. Most oft them uses blackmagic, which is windows only.

    To learn a little bit I wrote a small script in Objective C where I can put offsets in (which I found with a cheat engine) and print out the results (health, name, mana) in my UI.
    e.G.

    Then I thought 'cool you have your offsets you need", but then I switched the character ingame and realized, I get no values, the offsets are different.
    health offset for for the first character : 0x2DB6F588
    health offset for for the second character : 0x223551C8
    ....

    I started to read a little bit more and if my Idea is right, I'll need the base address + player GUID + health offset , to get the health value for every toon I log in.

    And here is my problem. I have no Idea , how I get the baseAdress on a Mac in Objective C. I found a snippet on stack overflow, which returns me always
    0x406AC00000000000 for the base address. I thought mac uses ASLR, so the adress has to change every time I run WoW?
    Code:
    -(vm_map_offset_t)getBaseAddr: (mach_port_t)task; {
        vm_map_offset_t vmoffset;
        vm_map_size_t vmsize;
        uint32_t nesting_depth = 0;
        struct vm_region_submap_info_64 vbr;
        mach_msg_type_number_t vbrcount = 16;
        kern_return_t kr;
        
        if ((kr = mach_vm_region_recurse(task, &vmoffset, &vmsize,
                                         &nesting_depth,
                                         (vm_region_recurse_info_t)&vbr,
                                         &vbrcount)) != KERN_SUCCESS) 
        {
            printf("FAIL");
        }
        return vmoffset;
    }
    My new plan is, when I have the base address, to look up the offsets for player GUID and the health offset and add them to the base address and then I have my offset from which I can read the health.

    I know there is the old pocketgnome source in the web, but I dont want to copy paste only, I want to learn something!

    greetings,

    pcmdxx

    How to find WoW BaseAdress on a Mac and get offsets from binary file?
  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)
    Are you using IDA at all? Or only searching memory?

    It's going to be VERY difficult if you're searching memory vs. just checking out a function in IDA.
    https://tanaris4.com

Similar Threads

  1. How to find out info about my pokemons and stardust?
    By maRT_sk in forum Pokemon GO Chat
    Replies: 0
    Last Post: 08-09-2016, 01:03 PM
  2. [Help] How to find WoW version as pointer?
    By Jadd in forum WoW Memory Editing
    Replies: 3
    Last Post: 08-23-2008, 06:19 AM
  3. how to make new MPQ's with mac and how to make it work?
    By jaspervdg in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 02-06-2008, 01:50 PM
  4. How to find WoW Memory Offset?
    By pegaa in forum World of Warcraft General
    Replies: 0
    Last Post: 08-03-2007, 12:02 AM
All times are GMT -5. The time now is 02:01 PM. 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