Mono:Lua:mono compile method
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. …')
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