Mono:Lua:mono getJitInfo

From Cheat Engine
Revision as of 01:58, 6 May 2018 by TheyCallMeTim13 (talk | contribs) (Created page with 'Category:Mono Category:Lua '''function''' mono_getJitInfo(''address'') ''':''' table Returns a table with the properties given the address of code in memory. ;method - i…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function mono_getJitInfo(address) : table

Returns a table with the properties given the address of code in memory.

method - integer
the method id
code_size - integer
length of code in bytes
code_start - integer
address where method code begins
jitinfo - integer
?? address of the jitinfo ??

Function Parameters[edit]

Parameter Type Description
address integer The address in memory with in a method.


Examples[edit]

In Lua Engine form[edit]

While attached to Cuphead.

Input:

return mono_getJitInfo(getAddress('PlayerStatsManager:TakeDamage'))

Output:

:table
[
   method = 284818304
   code_size = 395
   code_start = 432511608
   jitinfo = 631989424
]


See also[edit]

Related Functions[edit]