[Diablo 3][0.8.0.8815] Info Dump Thread menu

User Tag List

Results 1 to 2 of 2
  1. #1
    vbaddicts's Avatar Member
    Reputation
    1
    Join Date
    Mar 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Diablo 3][0.8.0.8815] Info Dump Thread

    const LPVOID D3RenderCursor = (LPVOID)0x00943260;
    const LPVOID D3RenderCursorAsSelection = (LPVOID)0x0093C130;
    const LPVOID D3RenderTextAndGUI = (LPVOID)0x00932960;
    const LPVOID D3RenderParticles = (LPVOID)0x00A1D7A0;
    const LPVOID D3RenderActorsAndMeshes = (LPVOID)0x00BDAF70;
    const LPVOID D3RenderLandscapesAndMeshes = (LPVOID)0x009976B0;
    const LPVOID D3CheckRenderDebugField = (LPVOID)0x008106B0;
    const LPVOID D3EndScene = (LPVOID)0x009CDD30;
    const LPVOID D3EndSceneAndPresent = (LPVOID)0x00981770;

    If we look at the first function, this calls "EndScene" subroutine which calls IDirect3DDevice9->EndScene(), so if you want the offset to IDirect3DDevice9 dword_156D4F0 can be used.

    [[dword_156D4F0+0x4A8]] = IDirect3DDevice9*

    Code:
    sub_9376C0      proc near
        mov     ecx, dword_156D4F0
        mov     eax, [ecx]
        mov     edx, [eax+60h]
        jmp     edx
    sub_9376C0      endp
    Code:
    EndScene    proc near               ; DATA XREF: .rdata:012D3BC0o
        mov     eax, [ecx+4A8h]
        mov     ecx, [eax]
        mov     edx, [ecx+0A8h]
        push    eax
        call    edx
        retn
    EndScene    endp
    So, if you wanna render anything useful you need to get Input from Diablo3. I tried hooking in various places to intercept VM_LEFTBUTTONCLICK and the like. I think it's a better idea to just hook DispatchMessage.

    Just patch mov ebx, ds : DispatchMessageA to mov ebx, DispatchMessageHook. Note however, that your instruction will be 0xBB + OFFSET. This is only 5 bytes, be sure to pad with an extra NOP.

    Thanks to shadow^dancer for being there for me while i crashed repeatidly because I didn't notice original instruction was 6 bytes
    Code:
    sub_814070      proc near
        ;.....
        mov     ebx, ds:DispatchMessageA
        push    edi
        mov     edi, ds:TranslateMessage
        lea     ecx, [ecx+0]
    loc_8140A0:                             ; CODE XREF: sub_814070+4Cj
        lea     ecx, [ebp+var_1C]
        push    ecx
    .   call    edi ; TranslateMessage
        lea     edx, [ebp+var_1C]
        push    edx
        call    ebx ; DispatchMessageA
        ;....
    sub_814070      endp
    Last edited by vbaddicts; 03-16-2012 at 07:25 AM. Reason: EmoteIconsShouldn'tBeThere

    [Diablo 3][0.8.0.8815] Info Dump Thread
  2. #2
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's already a Info dump thread for 8815 you could have posted this in.
    Nice share tho
    Last edited by Nesox; 04-04-2012 at 03:56 PM.

Similar Threads

  1. [Diablo 3][0.4.0.7841] Info Dump Thread
    By felheartx in forum Diablo 3 Memory Editing
    Replies: 24
    Last Post: 12-15-2011, 09:41 PM
  2. [Diablo 3][0.3.0.7338] Info Dump Thread
    By Nesox in forum Diablo 3 Memory Editing
    Replies: 6
    Last Post: 11-01-2011, 04:58 AM
  3. [Diablo 3][0.2.0.7200] Info Dump Thread
    By Nesox in forum Diablo 3 Memory Editing
    Replies: 5
    Last Post: 09-20-2011, 11:29 PM
  4. [Diablo 3][0.3.0.7318] Info Dump Thread
    By Nesox in forum Diablo 3 Memory Editing
    Replies: 0
    Last Post: 09-16-2011, 03:08 PM
  5. [Diablo 3][0.2.0.7200] Info Dump Thread
    By Nesox in forum WoW Memory Editing
    Replies: 3
    Last Post: 09-13-2011, 05:09 AM
All times are GMT -5. The time now is 07:43 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