reverse-name/readme.md

81 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

# 某个游戏的 js 的逆向工程
2024-03-17 14:07:14 +08:00
## 一些交互结论
```text
h_(ll) -> HHbf -> 语言文件加载 session storage
h_(k) -> fYwD -> 名称输入 session storage
```
2024-03-17 16:15:30 +08:00
![h_](image.png)
2024-03-17 14:07:14 +08:00
- `Z` -> `HtmlRenderer`
2024-03-17 16:15:30 +08:00
- `O` -> `LanData`
2024-03-17 14:42:27 +08:00
- `d` -> `get_obfuscated_value`
2024-03-17 15:16:46 +08:00
- `eq` -> `obfuscate_str_h`
2024-03-17 14:07:14 +08:00
2024-03-18 21:56:22 +08:00
- `J`
- `Y(a, b)` -> `a === b`
- `J(a, b)` -> `a[b]`
- `aw(a)` -> `a.length`
- `JsArray.w(a, b)` -> `a.includes(b)`
2024-03-18 21:56:22 +08:00
## `md5.js`
- [ ] 清理所有空函数
- `function [a-zA-Z0-9]*\(\) \{ \}`
2024-03-04 01:37:59 +08:00
- 3/202
- 清理无用/兼容函数
- `setFunctionNamesIfNecessary`
- `convertAllToFastObject`
- `convertToFastObject`
2024-03-04 01:37:59 +08:00
- 清理一些函数
- [ ] `P.p` (svg 函数)
2024-03-04 01:48:51 +08:00
- [x] `z` (检查环境函数)
- [x] `H.ve` -> `H.printString`
- [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
- `hunkHelpers`
- `s` -> `mk_instance`
- `r` -> `mk_static`
- `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`
- `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-17 14:42:27 +08:00
- `T`
- `X` -> str list
- `P`
- `cu` -> `obfuscate_a_b`
- [ ] And more
## `index.dart.js`
- [ ] 清理所有空函数
- `function [a-zA-Z0-9]*\(\) \{ \}`
- 0/177
- `E`
- `nu` -> `main_program`
- [ ] And more