Mono:Lua:mono compile method

From Cheat Engine
Jump to navigation Jump to search

function mono_compile_method(methodId) : integer

JITs a method if it isn't compiled yet. Returns the address of JITted code.

Function Parameters

Parameter Type Description
methodId integer The method's Id.


Examples

In Lua Engine form

While attached to Cuphead.

Input:

return mono_compile_method(mono_getJitInfo(getAddress('PlayerStatsManager:TakeDamage')).method)

Output:

:432511608


See also

Related Functions