Mono:Lua:mono free method

From Cheat Engine

Jump to: navigation, search

function mono_free_method(methodId)

Frees the method (memory), only if profiler isn't being used, and only works on dynamic methods.

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_free_method(mono_getJitInfo(getAddress('PlayerStatsManager:TakeDamage')).method)


[edit] See also

[edit] Related Functions

Personal tools
Toolbox