2024-03-04 00:19:03 +08:00
|
|
|
# 某个游戏的 js 的逆向工程
|
|
|
|
|
2024-03-17 14:07:14 +08:00
|
|
|
## 一些交互结论
|
|
|
|
|
|
|
|
```text
|
|
|
|
h_(ll) -> HHbf -> 语言文件加载 session storage
|
|
|
|
h_(k) -> fYwD -> 名称输入 session storage
|
|
|
|
```
|
|
|
|
|
|
|
|
- `Z` -> `HtmlRenderer`
|
|
|
|
|
2024-03-04 00:19:03 +08:00
|
|
|
## `md5.js`
|
|
|
|
|
|
|
|
- [ ] 清理所有空函数
|
|
|
|
- `function [a-zA-Z0-9]*\(\) \{ \}`
|
2024-03-04 01:37:59 +08:00
|
|
|
- 3/202
|
2024-03-04 00:19:03 +08:00
|
|
|
|
2024-03-04 00:23:21 +08:00
|
|
|
- 清理无用/兼容函数
|
|
|
|
- `setFunctionNamesIfNecessary`
|
|
|
|
- `convertAllToFastObject`
|
|
|
|
- `convertToFastObject`
|
2024-03-04 00:19:03 +08:00
|
|
|
|
2024-03-04 01:37:59 +08:00
|
|
|
- 清理一些函数
|
2024-03-04 02:45:12 +08:00
|
|
|
- [ ] `P.p` (svg 函数)
|
2024-03-04 01:48:51 +08:00
|
|
|
- [x] `z` (检查环境函数)
|
2024-03-04 02:45:12 +08:00
|
|
|
- [x] `H.ve` -> `H.printString`
|
2024-03-04 03:59:39 +08:00
|
|
|
- [x] `P.H` - `P.Object_`
|
2024-03-04 03:01:08 +08:00
|
|
|
- `H.k(a)` -> `to_string_0(a)`
|
|
|
|
- `$iH` -> `$isObject`
|
|
|
|
- `H.aW` -> `H.equal_1`
|
2024-03-04 03:18:39 +08:00
|
|
|
|
2024-03-04 03:42:52 +08:00
|
|
|
- `hunkHelpers`
|
|
|
|
- `s` -> `mk_instance`
|
|
|
|
- `r` -> `mk_static`
|
|
|
|
|
2024-03-04 09:58:19 +08:00
|
|
|
- `M`
|
|
|
|
- `mB` -> `main_program`
|
|
|
|
|
2024-03-04 03:18:39 +08:00
|
|
|
- `H`
|
|
|
|
- `iD` -> `find_type`
|
|
|
|
- `iw` -> `universe_eval`
|
|
|
|
- `aW` -> `equal_1`
|
|
|
|
- `og` -> `parser_parse`
|
|
|
|
- `aW` -> `Rti`
|
|
|
|
- `u2`-> `universe_create_generic_function_rti`
|
2024-03-04 03:42:52 +08:00
|
|
|
- `bN` -> `universe_install_type_tests`
|
|
|
|
- `uk` -> `install_specialized_as_check`
|
|
|
|
- `ul` -> `install_specialized_is_test`
|
|
|
|
- `oi` -> `universe_lookup_function_rti`
|
|
|
|
- `h` -> `throw_error`
|
2024-03-04 01:37:59 +08:00
|
|
|
|
2024-03-04 00:19:03 +08:00
|
|
|
- [ ] And more
|
|
|
|
|
|
|
|
## `index.dart.js`
|
|
|
|
|
|
|
|
- [ ] 清理所有空函数
|
|
|
|
- `function [a-zA-Z0-9]*\(\) \{ \}`
|
|
|
|
- 0/177
|
|
|
|
|
2024-03-04 09:58:19 +08:00
|
|
|
- `E`
|
|
|
|
- `nu` -> `main_program`
|
|
|
|
|
2024-03-04 00:19:03 +08:00
|
|
|
- [ ] And more
|