"""Decompile the concrete SBC controller event-listener vtable."""

VTABLE = 0x18020A888
print("=== SBC controller event subobject vtable ===")
for off in range(0, 0x80, 8):
    target = qword(VTABLE + off)
    print("\nslot +%#x -> %#x %s" % (off, target, fname(target)))
    if 0x180001000 <= target < 0x180200000:
        print(dec(target, 180))
        print("callers", callers(target)[:30])
