MCPcopy Create free account
hub / github.com/axhlzy/Il2CppHookScripts / nopFunction

Function nopFunction

Il2cppHook/_Ufunc.js:8439–8445  ·  view source on GitHub ↗
(mPtr)

Source from the content-addressed store, hash-verified

8437exports.attachNative = attachNative;
8438let arr_nop_addr = new Array();
8439var nopFunction = (mPtr) => {
8440 if (typeof mPtr == "number")
8441 mPtr = ptr(mPtr);
8442 if (mPtr == undefined)
8443 return;
8444 replaceFunction(mPtr, () => ptr(0), true);
8445};
8446exports.nopFunction = nopFunction;
8447var cancelNop = (mPtr) => {
8448 if (typeof mPtr == "number")

Callers

nothing calls this directly

Calls 1

replaceFunctionFunction · 0.70

Tested by

no test coverage detected