Mono:Lua:mono compile method

From Cheat Engine
Revision as of 02:03, 6 May 2018 by TheyCallMeTim13 (talk | contribs) (Created page with 'Category:Mono Category:Lua '''function''' mono_compile_method(''methodId'') ''':''' integer JITs a method if it isn't compiled yet. Returns the address of JITted code. …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]