"""DIM4 close-out. FUN_1800377c0 publishes NUM_CURRENT_AUCTIONS / NUM_MAX_AUCTIONS /
IS_MAX_AUCTIONS -- read which accessors back them, i.e. whether the "auction limit"
UI gate is fed by the GetAuctionCount response (ut/%s/tradePile/counts) or by a
constructor default like the trading gate was.
CONTROL: the same function shape (lea <LITERAL>; call [reg+slot]) was already proven
for TRADE_PILE_SIZE in FUN_18000d550; that is the validated form.
Also FUN_18016c060: the generic response completion path that feeds the numeric error
code into the mapper -- establishes whether the code is the HTTP status or a body field.
"""
import traceback
try:
    for nm, a in [("auction-limit publisher FUN_1800377c0", 0x1800377c0),
                  ("TRADE_PILE_SIZE publisher (CONTROL)", 0x18000d550),
                  ("generic completion / error source FUN_18016c060", 0x18016c060)]:
        print("\n########## %s @ %#x ##########" % (nm, a))
        s = dec(a)
        print("len(src)=%d" % len(s)); print(s)
except Exception:
    traceback.print_exc()
