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

Method showImages

Il2cppHook/_Ufunc.js:60–74  ·  view source on GitHub ↗
(filter = "", sort = true)

Source from the content-addressed store, hash-verified

58 return Il2Cpp.Domain.assemblies.map((assembly) => assembly.image).flatMap((image) => image.classes);
59 }
60 static showImages(filter = "", sort = true) {
61 formart_1.formartClass.printTitile("List Images { assembly -> image -> classCount -> imageName }");
62 HookerBase._list_images.filter((image) => {
63 return filter != "" ? image.name.indexOf(filter) != -1 : true;
64 }).sort((first, secend) => {
65 return sort ? (first.name.toLowerCase().charAt(0) > secend.name.toLowerCase().charAt(0) ? 1 : -1) : 0;
66 }).forEach((image) => {
67 LOGD(`[*] ${image.assembly.handle} -> ${image.handle}\t${image.classCount}\t${image.assembly.name}`);
68 });
69 if (filter == "") {
70 LOGO(getLine(28));
71 LOGE(` List ${HookerBase._list_images.length} Images`);
72 }
73 LOGO(getLine(85));
74 }
75 static showClasses(imageOrName, filterNameSpace = "", filterClassName = "") {
76 let image = new Il2Cpp.Image(ptr(1));
77 try {

Callers

nothing calls this directly

Calls 4

LOGDFunction · 0.70
LOGOFunction · 0.70
getLineFunction · 0.70
LOGEFunction · 0.70

Tested by

no test coverage detected