8cba70dc90
- Add 8 files present in docker/fifa17-python/tools but missing from the top-level tree: fut_accounts.py + 7 test_*.py contracts (all committed in the server's docker tree; byte-identical to the running image). - Preserve newer responder work already matching the running container: utas_server.py (offlineSeason), lsx_responder_v2.py (OPENFUT_BIND), blaze_responder_v3b.py, autopatch.py, pow_server.py, fut_store.py, test_fut_contract.py, fifa17-hook-m1.sh. - Add 30 newer ghidra_queries (draft purchase/state, SBC 9-26, runtime registries). Local tree is now a strict superset of B with all shared files byte-identical.
18 lines
642 B
Python
18 lines
642 B
Python
"""Resolve the two data tables that reference the SBC request-owner thunk."""
|
|
|
|
THUNK = 0x146B805B0
|
|
REFERENCES = (0x14366D3E0, 0x14381B5D0)
|
|
|
|
print("thunk bytes", read_bytes(THUNK, 32).hex(" "))
|
|
|
|
for reference in REFERENCES:
|
|
print("\n=== reference %#x ===" % reference)
|
|
print("raw", read_bytes(reference - 0x40, 0x90).hex(" "))
|
|
for slot in range(reference - 0x40, reference + 0x48, 8):
|
|
target = qword(slot)
|
|
print("%#x rel=%+#x -> %#x %s xrefs=%s" %
|
|
(slot, slot - reference, target, fname(target), xrefs_to(slot)[:8]))
|
|
if func(target) is not None:
|
|
print(dec(target, 60)[:5000])
|
|
|