"""D3 Q9 (tail): is the itemState string match case-sensitive, and what is the FUN_18011dc50 `state == 1` test? CONTROL: FUN_180008190 is also used for the literal "dds" and "highest"/"outbid"/"buyNow", so whatever it is, it is a plain string compare; the only open point is case folding.""" import traceback try: for tag, va in (("strcmp_180008190", 0x180008190), ("s_18011dc50", 0x18011dc50)): f = func(va) src = dec(va) print("=" * 78); print("%s %#x %s len=%d" % (tag, va, f.getName() if f else "?", len(src))) print("=" * 78); print(src) print("### raw disasm of FUN_180008190") f = func(0x180008190) it = listing.getInstructions(f.getBody(), True) while it.hasNext(): i = it.next(); print(" %#x %s" % (int(i.getAddress().getOffset()), i)) except Exception: traceback.print_exc()