[Help][SL 9.2.7] GetObjectPtr menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Trogg's Avatar Member
    Reputation
    1
    Join Date
    Feb 2024
    Posts
    16
    Thanks G/R
    10/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help][SL 9.2.7] GetObjectPtr

    Hi, trying to call GetObjectPtr at 0x1A782C0 (__int64 __fastcall GetObjectPtr(WGUID *a1, int a2)):
    Code:
    __int64 __fastcall GetObjectPtr (wGUID* guid, int typemask)
    {
    	return ((__int64(__fastcall*)(wGUID*, int))(Hook::baseAddress + 0x1A782C0))(guid, typemask);
    }
    wGUID guid = playerData.me->wguid;
    auto pointer = GetObjectPtr (&guid, 32);
    the call seems to be correct, but it causes a crash
    function at 185EBE0 (no args) causes a crash too
    Code:
    __int64 GetObjectPtr_0()
    {
      return GetObjectPtr(&stru_3720E80, 32);
    }
    Last edited by Trogg; 2 Weeks Ago at 12:44 PM.

    [Help][SL 9.2.7] GetObjectPtr
  2. #2
    scizzydo's Avatar Contributor
    Reputation
    134
    Join Date
    Oct 2019
    Posts
    97
    Thanks G/R
    5/54
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You're crashing because it has a return address check in it. Meaning, wherever it is being called from needs to match the criteria of the check (somewhere in the WoW .text, i.e. the valid calls)

    The ret checks in SL though weren't as thorough as the ones now, so you can trick it from where you're calling from easily with some assembly, and a ROP gadget

  3. Thanks TheSmokie, Trogg (2 members gave Thanks to scizzydo for this useful post)

Similar Threads

  1. [Help][SL 9.2.7] SpellRec::GetCastTime
    By Trogg in forum WoW Memory Editing
    Replies: 4
    Last Post: 2 Weeks Ago, 07:57 AM
  2. [Help][SL 9.2.7] CGPlayer Auras
    By Trogg in forum WoW Memory Editing
    Replies: 11
    Last Post: 3 Weeks Ago, 05:34 PM
  3. [Help][SL 9.2.7] CGPlayer CalculateThreat
    By Trogg in forum WoW Memory Editing
    Replies: 5
    Last Post: 3 Weeks Ago, 09:22 AM
  4. [Help][SL 9.2.7] Find type of animation
    By Trogg in forum WoW Memory Editing
    Replies: 2
    Last Post: 03-20-2024, 02:42 PM
  5. bot help
    By xwhitedeathx in forum World of Warcraft General
    Replies: 3
    Last Post: 05-01-2006, 03:50 AM
All times are GMT -5. The time now is 12:43 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