"""Q1 — what does FIFA17 do with tradeState == closed(4)? Targets the ONE native tradeState consumer branch (cmp [rbp-0x38],0x4 at 0x18013e619) inside the auctionInfo deserializer 0x18013e410, and the Flash publisher 0x1801bf030. """ print("=" * 78) print("== auctionInfo deserializer 0x18013e410 — full decompilation") print("=" * 78) print(dec(0x18013E410)) print("=" * 78) print("== Flash publisher 0x1801bf030 — full decompilation") print("=" * 78) print(dec(0x1801BF030)) print("=" * 78) print("== strings: sold / clear / inbox / glow / collect") print("=" * 78) for needle in (b"sold", b"Sold", b"SOLD", b"clearSold", b"ClearSold", b"INBOX", b"inbox", b"IS_GLOW", b"glow", b"Glow", b"collect", b"Collect", b"unclaimed", b"claim"): hits = find_all(needle, blocks=(".rdata", ".data", ".text")) for h in hits[:14]: s = rd_str(h, 90) if s and len(s) > 2: print(f" {needle.decode():12s} 0x{h:x} {s!r}") if not hits: print(f" {needle.decode():12s} ABSENT")