C++ & Assembly menu

User Tag List

Results 1 to 6 of 6
  1. #1
    ollesga's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    C++ & Assembly

    I need some translation from C++ to 32bit assembly, if someone could.

    What I'm really confused with is the C++ pointers, the assembly ones I understand perfectly. So, i hope you could help me out when it comes to that;I'll give you an ASM example and you decide if you want to give me the corresponding C++ example back to me.

    By the way this is for the WoW bot/hack I will do and I will give you the work done when i'ts complete, if you help me out. Karma, that is it.

    Here's the example:

    [[[[00B41414]+15]+8C]+5921]+921

    Please, excuse my bad english, It's not my mother language.

    PS: What I'm trying to learn from this is inline assembly and DLL injection and all tutorials i find is in all other languages than ASM.

    OBS: All you 1.12.1 hackers... 00B41414 is the player base, if you didn't already knew.

    Thank you!

    C++ & Assembly
  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)
    mov eax, 00B41414
    mov eax, eax +15
    mov eax, eax + 8C
    mov eax, eax + 5921
    add eax, 921

    should be something like this

  3. #3
    ollesga's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for helping out but i was looking for something like:

    result = (((var1)*var2*)+var3)

    Maybe I gave a bad example since I don't understand much of it.

    Edit: var1, var2 & var3 being any of the values in the first post.

  4. #4
    GliderPro's Avatar Member
    Reputation
    -1
    Join Date
    Mar 2009
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    * Write it in C++
    * Set your compiler options to generate an assembly listing file
    * Voila! You have assembly language.

  5. #5
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    * before a pointer means you dereference it.

    So it should look like


    DWORD_PTR result = *reinterpret_cast<DWORD_PTR*>(*reinterpret_cast<DWORD_PTR*>(*reinterpret_cast<DW ORD_PTR*>(*reinterpret_cast<DWORD_PTR*>(00B41414) + 0x15) + 0x8C) + 0x5921) + 0x921

  6. #6
    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)
    If you only want the value it holds you dont need to dereference it

Similar Threads

  1. [Resource]GFX AMPED (Graphics Forum)
    By CodeDemon in forum Art & Graphic Design
    Replies: 0
    Last Post: 07-09-2008, 07:55 AM
  2. [Release] Item Assembler
    By SiPex in forum WoW EMU Programs
    Replies: 15
    Last Post: 07-01-2008, 09:48 PM
  3. Giant Speakers Or Amps
    By Dhorak in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 08-25-2007, 12:00 AM
All times are GMT -5. The time now is 09:50 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