Files
OpenFUT/fifa17-recon/tools/ghidra_queries/q_md_draft_1.py
T

27 lines
1.0 KiB
Python

"""DIMENSION 4 q1: Enumerate the published UI surface (FUN_18006cc60), the
userInfo.feature restriction map (FUN_18013ec10), and locate every draft/tournament
string + its xrefs.
Hypothesis: the entry gate for Draft/Tournaments is EITHER a feature-restriction
sub-key we might send, OR a published-context name other than IS_DRAFT_MODE_ENABLED /
IS_TOURNAMENT_QUIT_ENABLED, OR script-layer (no server-reachable input).
Control: FUN_18006cc60 is the known publisher (transfer-market doc). If it decompiles
and its IS_* names resolve, the query mechanics work. Print lengths in full to avoid
the truncated-decompile absence trap.
"""
import traceback
try:
# 1. The publisher (authoritative slot->name table per the brief)
d = dec(0x18006cc60)
print("=== FUN_18006cc60 publisher len=%d ===" % len(d))
print(d)
# 2. The userInfo.feature restriction parser
d2 = dec(0x18013ec10)
print("\n=== FUN_18013ec10 userInfo/feature parser len=%d ===" % len(d2))
print(d2)
except Exception:
traceback.print_exc()
print("QUERY_DONE")