Mono:Lua:mono compile method

From Cheat Engine

Jump to: navigation, search

function mono_compile_method(methodId) : integer

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

Contents

[edit] Function Parameters

Parameter Type Description
methodId integer The method's Id.


[edit] Examples

[edit] In Lua Engine form

While attached to Cuphead.

Input:

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

Output:

:432511608


[edit] See also

[edit] Related Functions

Personal tools
Toolbox