MCPcopy Create free account
hub / github.com/GrowthEase/GameSentry / attach_il2cpp

Function attach_il2cpp

lib/cli/index.js:81–97  ·  view source on GitHub ↗
(start_pb, start_log)

Source from the content-addressed store, hash-verified

79}
80
81function attach_il2cpp(start_pb, start_log) {
82 while (init_export == null) {
83 init_export = module_il2cpp.findExportByName("il2cpp_init")
84 }
85 const interceptor = Interceptor.attach(init_export, {
86 onLeave: function (ret) {
87 interceptor.detach();
88 helper.send_message("il2cpp_init", {"result": "success", "info": Process.findModuleByName("libil2cpp.so")})
89 if (start_pb) {
90 protobuf.parse_proto_class();
91 }
92 if (start_log) {
93 log.hook_unity_log();
94 }
95 }
96 });
97}
98
99function il2cpp_list_image() {
100 helper.send_message("il2cpp_images", base.images());

Callers 1

il2cpp_initFunction · 0.85

Calls 1

attachMethod · 0.80

Tested by

no test coverage detected