pub(crate) fn get_debug_returndata<H: HistoryMode>(memory: &SimpleMemory<H>) -> String {
    let vm_hook_params: Vec<_> = get_vm_hook_params(memory);
    let returndata_ptr = FatPointer::from_u256(vm_hook_params[0]);
    let returndata = read_pointer(memory, returndata_ptr);

    format!("0x{}", hex::encode(returndata))
}
Outputs the returndata for the latest call.
This is usually used to output the revert reason.
core/lib/multivm/src/versions/vm_boojum_integration/tracers/utils.rs