reverse-name/readme.md
shenjack-5600u 066f5e8bd5
Refactor variable and function names
Update hunkHelpers and H module

Add new functions to H module
2024-03-04 03:42:52 +08:00

50 lines
1.0 KiB
Markdown

# 某个游戏的 js 的逆向工程
## `md5.js`
- [ ] 清理所有空函数
- `function [a-zA-Z0-9]*\(\) \{ \}`
- 3/202
- 清理无用/兼容函数
- `setFunctionNamesIfNecessary`
- `convertAllToFastObject`
- `convertToFastObject`
- 清理一些函数
- [ ] `P.p` (svg 函数)
- [x] `z` (检查环境函数)
- [x] `H.ve` -> `H.printString`
- [x] `P.H` - `P.Object_`
- `H.k(a)` -> `to_string_0(a)`
- `$iH` -> `$isObject`
- `H.aW` -> `H.equal_1`
- `hunkHelpers`
- `s` -> `mk_instance`
- `r` -> `mk_static`
- `H`
- `iD` -> `find_type`
- `iw` -> `universe_eval`
- `aW` -> `equal_1`
- `og` -> `parser_parse`
- `aW` -> `Rti`
- `u2`-> `universe_create_generic_function_rti`
- `bN` -> `universe_install_type_tests`
- `uk` -> `install_specialized_as_check`
- `ul` -> `install_specialized_is_test`
- `oi` -> `universe_lookup_function_rti`
- `h` -> `throw_error`
-
- [ ] And more
## `index.dart.js`
- [ ] 清理所有空函数
- `function [a-zA-Z0-9]*\(\) \{ \}`
- 0/177
- [ ] And more