Posted: Tue Jul 26, 2011 2:34 pm Post subject: What is the onAutoGuess (function) ?
Code:
onAutoGuess(function) :
Registers an function to be called whenever autoguess is used to predict a variable type
function override (address, ceguess): Return the variable type you want it to be. If no change, just return ceguess
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
Posted: Tue Jul 26, 2011 2:58 pm Post subject:
in theory it should have allowed you to change the autoguess results to whatever you wanted. (e.g if you don't want it to detect doubles, then in case of a double return a dword, or byte)
mainly used for dissect structure
and here's how you would have used it:
Code:
function iKnowBetter(address, ceguess)
if (ceguess==vtDouble) then
return vtDword
else
return ceguess
end
end
onAutoGuess(iKnowBetter)
sadly enough this function did not get tested before release and is broken (it's fixed in the svn though) _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum