"""DIMENSION 4, pass 16: GetCardDuplicate's real implementation, resolved from the live provider object (DAT_1802def18 -> vtable static 0x1801f44c0, slot +0x18 -> 0x18003b790; control literal RS4:FutSquadSaveServerResponse re-checked before the read). Control in this pass: slot +0x10 (GetCardCategory) is dumped too.""" import traceback OUT = "/tmp/claude-1000/-home-alex-Documents-OpenFUT/8e521ca1-ca3e-4138-bb96-df1744dd1d30/scratchpad/store/dup16_out.txt" try: fh = open(OUT, "w") for a, l in ((0x18003B790, "GetCardDuplicate impl (vt+0x18)"), (0x18003B6B0, "CONTROL GetCardCategory impl (vt+0x10)")): s = dec(a) fh.write("\n%s\n# %s %#x len(src)=%d FULL\n%s\n%s\n" % ("#"*70, l, a, len(s), "#"*70, s)) fh.close(); print("WROTE", OUT) except Exception: traceback.print_exc()