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.
24 lines
762 B
Python
24 lines
762 B
Python
"""Recover the JSON element shape consumed by the array-root draft response."""
|
|
|
|
targets = (
|
|
0x180138BD0, # helper called once per array element
|
|
0x180150310, # array-root FutPurchaseDraftModeServerResponse parser
|
|
)
|
|
|
|
seen = set()
|
|
for target in targets:
|
|
print("\n=== TARGET", hex(target), fname(target), "===")
|
|
print(dec(target, 500))
|
|
print("XREFS", xrefs_to(target)[:150])
|
|
|
|
# Include direct callees so small string/value accessors used by the helper
|
|
# are visible without broad, noisy whole-program searching.
|
|
for callee, name in callees(target):
|
|
if callee in seen:
|
|
continue
|
|
seen.add(callee)
|
|
print("\n--- CALLEE", hex(callee), name, "---")
|
|
print(dec(callee, 250))
|
|
|
|
print("QUERY_DONE")
|