def METHOD_NAME(cpu,tb, h):
    size = panda.arch.get_arg(cpu,0)
    global previous_size
    previous_size = size
    print(f"got to malloc with size {size} {panda.get_process_name(cpu)} 0x{panda.current_asid(cpu):x} 0x{panda.current_pc(cpu):x}")
    ra = panda.arch.get_return_address(cpu)
    panda.hook(ra,enabled=True,kernel=False,asid=panda.current_asid(cpu))(call_address_return)