diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 22:56:15 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 22:56:15 -0500 |
| commit | 3eb4410b8de7a6d28cb81557e7bca6de864fda56 (patch) | |
| tree | be93ea4831044efe722d29e807d50089eb4b2363 /runtime/src/main.cpp | |
| parent | 9e6444fadb93c9b800ed403f91fcfee1a88d3560 (diff) | |
tools/find_hash_lookup.py: rank the archetype-lookup candidates for the mod hook
Reads a PE without running it: finds where the code loads a model hash (default Lucia's player model 0xE472B687 and
cs_mandy 0xD7C0CDFF), takes the direct calls right after, and ranks those targets by how many hashes lead to them and
how many direct callers the whole image has. first_look.ps1 writes hash_lookup.json, so the day-one report already
names the RVA for gta6rt --archetype-lookup (docs/modding.md). A packed or encrypted file is refused with that
reason. tests/test_find_hash_lookup.py runs it on synthetic PE images.
test_first_look_shim_report copies every tool first_look.ps1 runs (it had failed since gdk_runtime_calls.py joined
the script in round 43).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions