[Memory] Guid in-memory representation menu

User Tag List

Results 1 to 4 of 4
  1. #1
    OMLinux's Avatar Private
    Reputation
    1
    Join Date
    Dec 2013
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Memory] Guid in-memory representation

    Hi folks!

    There's quite simple question for local gurus, but It's quite complicated to understand for me.
    What is WoW object GUID in-memory representation?

    As someone said here GUID is int64 (signed), but how I can convert HEX representation of GUID (something like 0x07000000065FF0F0). Is it in-memory representation of guid or (as I expect) number representation?

    I converted this HEX to DEC with echo (cmd: echo "ibase=16; 7000000065FF0F0") but looks like it converts unsigned data. So should I consider MSB (as in-mem representation) or not? MSB - most significnt bit. For example (-7 = 1001 = -8 + 0 + 0 + 1). If yes. Is "0x07" MSB there or not?

    Thanks in advance

    [Memory] Guid in-memory representation
  2. #2
    573737534947's Avatar Corporal
    Reputation
    38
    Join Date
    Jul 2013
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is really only a plain int64. Integer are stored in little endian on x86, I don't really get what you are calculating there, but your guid "0x07000000065FF0F0" simply becomes F0 F0 5F 06 00 00 00 07 as byte sequence in memory going from left to right, from smaller address to bigger address and from lsb to msb. You can use a function like strtoull to convert it or write your own.

  3. #3
    OMLinux's Avatar Private
    Reputation
    1
    Join Date
    Dec 2013
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by 573737534947 View Post
    It is really only a plain int64. Integer are stored in little endian on x86, I don't really get what you are calculating there, but your guid "0x07000000065FF0F0" simply becomes F0 F0 5F 06 00 00 00 07 as byte sequence in memory going from left to right, from smaller address to bigger address and from lsb to msb. You can use a function like strtoull to convert it or write your own.
    Thanx a lot

  4. #4
    daCoder's Avatar Sergeant
    Reputation
    22
    Join Date
    Sep 2012
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0x07000000065FF0F0 = 504403158372446448
    because it starts with a zero 07 = 00000111, you can't ignore the leading zeros.
    My Youtube Vidoes: https://www.youtube.com/user/daCoderVids
    OpenHack: https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/384086-open-souce-project-wow-1-12-1-a.html

Similar Threads

  1. [Guide][VB.NET] Read a string from memory
    By Gothian in forum Programming
    Replies: 14
    Last Post: 08-18-2008, 04:39 PM
  2. [Guide][VB.NET] Reading a String From Memory
    By Gothian in forum WoW Memory Editing
    Replies: 14
    Last Post: 01-18-2008, 12:08 PM
  3. [Guide] Basic Memory Editing in TSearch
    By Dragon[Sky] in forum WoW Memory Editing
    Replies: 2
    Last Post: 12-07-2007, 12:20 AM
  4. [Guide]Basic Memory Editing
    By Dragon[Sky] in forum World of Warcraft Bots and Programs
    Replies: 25
    Last Post: 11-27-2007, 11:47 AM
  5. where is that guide to finding the memory-address which Enables model editing
    By mikesanders in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 07-12-2007, 11:19 PM
All times are GMT -5. The time now is 02:39 PM. 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