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

Method currentThread

Il2cppHook/_Ufunc.js:10570–10573  ·  view source on GitHub ↗

Gets the current attached thread, if any.

()

Source from the content-addressed store, hash-verified

10568 }
10569 /** Gets the current attached thread, if any. */
10570 static get currentThread() {
10571 const handle = Il2Cpp.Api._threadCurrent();
10572 return handle.isNull() ? null : new Il2Cpp.Thread(handle);
10573 }
10574 /** Gets the Il2Cpp module as a Frida module. */
10575 static get module() {
10576 return Process.getModuleByName(this.moduleName);

Callers

nothing calls this directly

Calls 2

_threadCurrentMethod · 0.80
isNullMethod · 0.80

Tested by

no test coverage detected