Quote:
Originally Posted by Robske This sub should point you in the right direction. Code: for i=1, NUM_PET_ACTION_SLOTS, 1 do
local name, subtext, texture, isToken, isActive, autoCastAllowed, autoCastEnabled = GetPetActionInfo(i);
if ( name == "Sacrifice" ) then
CastPetAction(i);
end
end
|
It did indeed point me in the right direction.. but.
Digging further down it seems like it uses.
0055BBF0 CGPetInfo__SetMode
followed by
46A1D0
the function at 55BBF0 is also taking its arguments from EAX?
I dont really know how to see what stuffs are hidden behind EAX? Id spose eax should point to a stack or something like that? Im stuck here. Dont really know how to proceed..
Also.. what kind of call is it

The method is quite big so the easiest way would be to break there and have a look at the args. But.. How do I see the args. (I use ollyDB). Anyone?