()
| 3497 | Object.defineProperty(exports, "__esModule", { value: true }); |
| 3498 | exports.HookDebugLog = void 0; |
| 3499 | const HookDebugLog = () => { |
| 3500 | let addr_Log = find_method("UnityEngine.CoreModule", "Logger", "Log", 2, true); |
| 3501 | LOGD("[*] Hook : UnityEngine.CoreModule.Logger.Log : " + addr_Log); |
| 3502 | A(addr_Log, (args, ctx) => { |
| 3503 | LOGG(`\n[*] Logger.LOG('${args[1]}' , '${readU16(args[2])}') <--- LR : ${checkCtx(ctx, "LR")}`); |
| 3504 | }); |
| 3505 | let addr_LogException = Il2Cpp.Api.Debug.LogException_2; |
| 3506 | LOGD("[*] Hook : UnityEngine.CoreModule.Debug.LogException : " + addr_LogException); |
| 3507 | A(addr_LogException, (args, ctx) => { |
| 3508 | let retStr = callFunction(find_method("mscorlib", "Exception", "ToString", 0, true), args[0]); |
| 3509 | LOGG(`\n[*] Logger.LOG('${readU16(retStr)}') <--- LR : ${checkCtx(ctx, "LR")}`); |
| 3510 | }); |
| 3511 | }; |
| 3512 | exports.HookDebugLog = HookDebugLog; |
| 3513 | globalThis.HookDebugLog = HookDebugLog; |
| 3514 | },{}],42:[function(require,module,exports){ |
nothing calls this directly
no test coverage detected