From e5b04e917fb051558ad6b705f67d25edd2487d9c Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Sun, 31 Mar 2024 13:24:18 +0200 Subject: [PATCH] hook optimization --- extractor/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extractor/script.js b/extractor/script.js index 043c440..e22d03c 100644 --- a/extractor/script.js +++ b/extractor/script.js @@ -76,6 +76,8 @@ const hookLibrary = (name) => { let hookedCount = 0; functions.forEach((func) => { + if (func.type !== 'function') return; + const funcName = func.name; const funcAddr = func.address;