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[edit]

Parameter Type Description
methodId integer The method's Id.


Examples[edit]

In Lua Engine form[edit]

While attached to Cuphead.

Input:

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

Output:

:432511608


See also[edit]

Related Functions[edit]