Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 08:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



I need help - Reverse ASM Attack Function

Discussion on I need help - Reverse ASM Attack Function within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2019
Posts: 6
Received Thanks: 0
I need help - Reverse ASM Attack Function

Hello guys, I'm trying to reverse the attack fn but I've some problems with the skills.

I guess I found the function.
According to the ASM calling convention EAX, EBX and EDX should be the registers for the arguments of the function.

I saw that the client before to call the function moves on the registers the values as the code below:

Code:
mov eax, playerManager
mov ebx, skill
mov edx, mapMonsterObj
call attackFunc
The function works, my character interacts with the monster but I don't understand why the skill parameter is not working and he use always the basic skill.
I'm not sure if I should put the skill somewhere on the stack before to call the function.

Have I found a wrong function?
Can you help me to figure out?

Thank you guys!
Celid is offline  
Old 03/06/2021, 17:34   #2
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Quote:
Have I found a wrong function?
No, you are on the right function but to make it work you'll have to do one more thing, just keep the good work.

About the calling convention EBX is not used as a parameter, in delphi the parameters go into EAX, EDX, ECX in that order and if there are more arguents they're pushed into the stack (thanks to Pumba for this info :3)
Hatz~ is offline  
Old 03/06/2021, 19:17   #3
 
elite*gold: 0
Join Date: Sep 2019
Posts: 6
Received Thanks: 0
Hello Hatz~, yes you are right about the calling convention EAX, EDX, ECX registers are used. I don't know why I remember EAX, EBX, EDX.

Thank you for your reply, I'll continue to work on that function.
Celid is offline  
Reply


Similar Threads Similar Threads
[Help] Getting into ASM/reverse engineering
12/11/2014 - SRO Private Server - 0 Replies
delete this topic please, found what I asked for.
std::function of a function returning an std::function
11/11/2013 - C/C++ - 19 Replies
Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann. Ich verzweifle an Folgendem Vorhaben: #include <Windows.h> #include <string> #include <iostream> using namespace std;
WarRock Direct3D [16.05.2012] ( ASM Bullets, ASM, OPK / SVP , ASM UNL AMMO )
05/17/2012 - WarRock Hacks, Bots, Cheats & Exploits - 8 Replies
Direct3D Hook 85% Credits to BlackLegend - helping me alot. Viva la Revolución http://www.abload.de/img/wr31lmaex.png http://www.abload.de/img/wr3253bzf.png Virustotal ( Packed / Compressed ) Click
|||KingClem Public D3D | Full ASM Bypassed| Enough ASM Functions! | BIg Public! | |||
08/03/2011 - WarRock Hacks, Bots, Cheats & Exploits - 27 Replies
Screenshot: http://kingclem.co.de/uploads/screen.png Crediting: -KingClem™ -KitoKid -Cracken



All times are GMT +1. The time now is 08:06.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.