├── .gitignore ├── README.md ├── agent ├── cocos2d │ ├── include.ts │ ├── lib │ │ ├── EditBox │ │ │ ├── include.ts │ │ │ └── index.ts │ │ ├── Helper │ │ │ ├── include.ts │ │ │ └── index.ts │ │ ├── JavascriptJavaBridge │ │ │ ├── include.ts │ │ │ └── index.ts │ │ ├── LocalStorage │ │ │ ├── include.ts │ │ │ └── index.ts │ │ └── include.ts │ └── script │ │ ├── foundation │ │ ├── bridge.ts │ │ └── include.ts │ │ └── include.ts ├── index.ts ├── jnitrace │ └── test.ts ├── main.ts ├── native │ ├── cocos2d │ │ ├── JniHelper │ │ │ └── JniHelper.ts │ │ ├── StringUtils │ │ │ └── StringUtils.ts │ │ └── include.ts │ ├── include.ts │ ├── se │ │ ├── Object │ │ │ └── include.ts │ │ ├── ScriptEngine │ │ │ └── include.ts │ │ ├── include.ts │ │ └── value │ │ │ └── include.ts │ ├── std │ │ └── include.ts │ └── v8 │ │ └── include.ts └── utils │ ├── cocos.ts │ ├── export.ts │ ├── formart.ts │ ├── include.ts │ ├── logger.ts │ ├── std │ ├── include.ts │ ├── std_deque.js │ ├── std_string.js │ └── std_vector.js │ └── utils.ts ├── package.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | /_agent.js 2 | /node_modules 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/README.md -------------------------------------------------------------------------------- /agent/cocos2d/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/cocos2d/include.ts -------------------------------------------------------------------------------- /agent/cocos2d/lib/EditBox/include.ts: -------------------------------------------------------------------------------- 1 | import './index' -------------------------------------------------------------------------------- /agent/cocos2d/lib/EditBox/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/cocos2d/lib/Helper/include.ts: -------------------------------------------------------------------------------- 1 | import './index' -------------------------------------------------------------------------------- /agent/cocos2d/lib/Helper/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/cocos2d/lib/JavascriptJavaBridge/include.ts: -------------------------------------------------------------------------------- 1 | import './index' -------------------------------------------------------------------------------- /agent/cocos2d/lib/JavascriptJavaBridge/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/cocos2d/lib/JavascriptJavaBridge/index.ts -------------------------------------------------------------------------------- /agent/cocos2d/lib/LocalStorage/include.ts: -------------------------------------------------------------------------------- 1 | import './index' -------------------------------------------------------------------------------- /agent/cocos2d/lib/LocalStorage/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/cocos2d/lib/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/cocos2d/lib/include.ts -------------------------------------------------------------------------------- /agent/cocos2d/script/foundation/bridge.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/cocos2d/script/foundation/include.ts: -------------------------------------------------------------------------------- 1 | import './bridge' -------------------------------------------------------------------------------- /agent/cocos2d/script/include.ts: -------------------------------------------------------------------------------- 1 | import './foundation/include' -------------------------------------------------------------------------------- /agent/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/index.ts -------------------------------------------------------------------------------- /agent/jnitrace/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/jnitrace/test.ts -------------------------------------------------------------------------------- /agent/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/main.ts -------------------------------------------------------------------------------- /agent/native/cocos2d/JniHelper/JniHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/native/cocos2d/JniHelper/JniHelper.ts -------------------------------------------------------------------------------- /agent/native/cocos2d/StringUtils/StringUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/native/cocos2d/StringUtils/StringUtils.ts -------------------------------------------------------------------------------- /agent/native/cocos2d/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/native/cocos2d/include.ts -------------------------------------------------------------------------------- /agent/native/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/native/include.ts -------------------------------------------------------------------------------- /agent/native/se/Object/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/native/se/ScriptEngine/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/native/se/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/native/se/include.ts -------------------------------------------------------------------------------- /agent/native/se/value/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/native/std/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/native/v8/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/utils/cocos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/cocos.ts -------------------------------------------------------------------------------- /agent/utils/export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/export.ts -------------------------------------------------------------------------------- /agent/utils/formart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/formart.ts -------------------------------------------------------------------------------- /agent/utils/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/include.ts -------------------------------------------------------------------------------- /agent/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/logger.ts -------------------------------------------------------------------------------- /agent/utils/std/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/std/include.ts -------------------------------------------------------------------------------- /agent/utils/std/std_deque.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/std/std_deque.js -------------------------------------------------------------------------------- /agent/utils/std/std_string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/std/std_string.js -------------------------------------------------------------------------------- /agent/utils/std/std_vector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/std/std_vector.js -------------------------------------------------------------------------------- /agent/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/agent/utils/utils.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/package.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axhlzy/Cocos2djsHookScripts/HEAD/tsconfig.json --------------------------------------------------------------------------------