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:
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!
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
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!