def METHOD_NAME(address=None) -> None:
    address = address.cast(
        pwndbg.gdblib.typeinfo.pvoid
    )  # Fixes issues with function ptrs (xinfo malloc)
    addr = int(address)
    addr &= pwndbg.gdblib.arch.ptrmask
    page = pwndbg.gdblib.vmmap.find(addr)
    if page is None:
        print(f"\n  Virtual address {addr:#x} is not mapped.")
        return
    print(f"Extended information for virtual address {M.get(addr)}:")
    print("\n  Containing mapping:")
    print(M.get(address, text=str(page)))
    print("\n  Offset information:")
    if page.is_stack:
        xinfo_stack(page, addr)
    else:
        xinfo_default(page, addr)
    if page.is_memory_mapped_file:
        xinfo_mmap_file(page, addr)