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

Function detachCurrentThread

Il2cppHook/_Ufunc.js:7445–7449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7443 Il2Cpp.Domain.attach();
7444};
7445const detachCurrentThread = () => {
7446 let threadHandle = Il2Cpp.Api._threadCurrent();
7447 if (!threadHandle.isNull())
7448 new Il2Cpp.Thread(threadHandle).detach();
7449};
7450globalThis.attachCurrentThread = attachCurrentThread;
7451globalThis.detachCurrentThread = detachCurrentThread;
7452},{}],164:[function(require,module,exports){

Callers

nothing calls this directly

Calls 3

_threadCurrentMethod · 0.80
isNullMethod · 0.80
detachMethod · 0.80

Tested by

no test coverage detected