Reads cur_ctx_index/frame_pc/frame_codebase from the engine ctx per executed op and emits (codebase, offset=(pc-codebase)/4) to build/engine-optrace.jsonl. Recon result: the tick hook (0x410fb0) does NOT expose ctx via ecx (0 entries); the operand hook (0x41b940) is the working capture (100% of offsets land on valid SC0000 instruction starts). Writes a tracer-live.flag so the capture can be gated on hooks-installed before the scene loads (else the entry burst is missed). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
7.0 KiB
7.0 KiB