unsafe extern "C" fn get_tx_location_(ptr: *const u8) -> i64