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

Method attachMethodInner

Il2cppHook/_Ufunc.js:598–609  ·  view source on GitHub ↗
(method, filterModifier = "all")

Source from the content-addressed store, hash-verified

596 static attachMethod(method) {
597 attachMethodInner(method);
598 function attachMethodInner(method, filterModifier = "all") {
599 if (filterModifier == "all") {
600 if (!(0, il2cppM_1.getMethodModifier)(method).includes("abstract") && !method.virtualAddress.isNull())
601 Breaker.attachMethodInfo(method);
602 }
603 else {
604 if (!(0, il2cppM_1.getMethodModifier)(method).includes(filterModifier))
605 return;
606 if (!method.virtualAddress.isNull())
607 Breaker.attachMethodInfo(method);
608 }
609 }
610 }
611 static callTimesInline = 0;
612 static attachMethodInfo(method, detailLog = false) {

Callers

nothing calls this directly

Calls 2

isNullMethod · 0.80
attachMethodInfoMethod · 0.45

Tested by

no test coverage detected