// This file is automatically generated, so please do not edit it. // @generated by `flutter_rust_bridge`@ 2.11.1. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field import 'api/asar_api.dart'; import 'api/downloader_api.dart'; import 'api/http_api.dart'; import 'api/ort_api.dart'; import 'api/rs_process.dart'; import 'api/unp4k_api.dart'; import 'api/webview_api.dart'; import 'api/win32_api.dart'; import 'dart:async'; import 'dart:convert'; import 'dart:ffi' as ffi; import 'frb_generated.dart'; import 'http_package.dart'; import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated_io.dart'; abstract class RustLibApiImplPlatform extends BaseApiImpl { RustLibApiImplPlatform({ required super.handler, required super.wire, required super.generalizedFrbRustBinding, required super.portManager, }); @protected AnyhowException dco_decode_AnyhowException(dynamic raw); @protected Map dco_decode_Map_String_String_None(dynamic raw); @protected RustStreamSink dco_decode_StreamSink_rs_process_stream_data_Dco(dynamic raw); @protected String dco_decode_String(dynamic raw); @protected bool dco_decode_bool(dynamic raw); @protected bool dco_decode_box_autoadd_bool(dynamic raw); @protected RsiLauncherAsarData dco_decode_box_autoadd_rsi_launcher_asar_data( dynamic raw, ); @protected int dco_decode_box_autoadd_u_32(dynamic raw); @protected BigInt dco_decode_box_autoadd_u_64(dynamic raw); @protected WebViewConfiguration dco_decode_box_autoadd_web_view_configuration( dynamic raw, ); @protected DownloadGlobalStat dco_decode_download_global_stat(dynamic raw); @protected DownloadTaskInfo dco_decode_download_task_info(dynamic raw); @protected DownloadTaskStatus dco_decode_download_task_status(dynamic raw); @protected double dco_decode_f_64(dynamic raw); @protected int dco_decode_i_32(dynamic raw); @protected PlatformInt64 dco_decode_i_64(dynamic raw); @protected List dco_decode_list_String(dynamic raw); @protected List dco_decode_list_download_task_info(dynamic raw); @protected List dco_decode_list_p_4_k_file_item(dynamic raw); @protected List dco_decode_list_prim_u_8_loose(dynamic raw); @protected Uint8List dco_decode_list_prim_u_8_strict(dynamic raw); @protected List dco_decode_list_process_info(dynamic raw); @protected List<(String, String)> dco_decode_list_record_string_string(dynamic raw); @protected List dco_decode_list_web_view_event(dynamic raw); @protected MyHttpVersion dco_decode_my_http_version(dynamic raw); @protected MyMethod dco_decode_my_method(dynamic raw); @protected Map? dco_decode_opt_Map_String_String_None(dynamic raw); @protected String? dco_decode_opt_String(dynamic raw); @protected bool? dco_decode_opt_box_autoadd_bool(dynamic raw); @protected int? dco_decode_opt_box_autoadd_u_32(dynamic raw); @protected BigInt? dco_decode_opt_box_autoadd_u_64(dynamic raw); @protected List? dco_decode_opt_list_String(dynamic raw); @protected Uint8List? dco_decode_opt_list_prim_u_8_strict(dynamic raw); @protected P4kFileItem dco_decode_p_4_k_file_item(dynamic raw); @protected ProcessInfo dco_decode_process_info(dynamic raw); @protected (String, String) dco_decode_record_string_string(dynamic raw); @protected RsProcessStreamData dco_decode_rs_process_stream_data(dynamic raw); @protected RsProcessStreamDataType dco_decode_rs_process_stream_data_type(dynamic raw); @protected RsiLauncherAsarData dco_decode_rsi_launcher_asar_data(dynamic raw); @protected RustHttpResponse dco_decode_rust_http_response(dynamic raw); @protected SystemInfo dco_decode_system_info(dynamic raw); @protected int dco_decode_u_16(dynamic raw); @protected int dco_decode_u_32(dynamic raw); @protected BigInt dco_decode_u_64(dynamic raw); @protected int dco_decode_u_8(dynamic raw); @protected void dco_decode_unit(dynamic raw); @protected BigInt dco_decode_usize(dynamic raw); @protected WebViewConfiguration dco_decode_web_view_configuration(dynamic raw); @protected WebViewEvent dco_decode_web_view_event(dynamic raw); @protected WebViewNavigationState dco_decode_web_view_navigation_state(dynamic raw); @protected AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer); @protected Map sse_decode_Map_String_String_None( SseDeserializer deserializer, ); @protected RustStreamSink sse_decode_StreamSink_rs_process_stream_data_Dco( SseDeserializer deserializer, ); @protected String sse_decode_String(SseDeserializer deserializer); @protected bool sse_decode_bool(SseDeserializer deserializer); @protected bool sse_decode_box_autoadd_bool(SseDeserializer deserializer); @protected RsiLauncherAsarData sse_decode_box_autoadd_rsi_launcher_asar_data( SseDeserializer deserializer, ); @protected int sse_decode_box_autoadd_u_32(SseDeserializer deserializer); @protected BigInt sse_decode_box_autoadd_u_64(SseDeserializer deserializer); @protected WebViewConfiguration sse_decode_box_autoadd_web_view_configuration( SseDeserializer deserializer, ); @protected DownloadGlobalStat sse_decode_download_global_stat( SseDeserializer deserializer, ); @protected DownloadTaskInfo sse_decode_download_task_info(SseDeserializer deserializer); @protected DownloadTaskStatus sse_decode_download_task_status( SseDeserializer deserializer, ); @protected double sse_decode_f_64(SseDeserializer deserializer); @protected int sse_decode_i_32(SseDeserializer deserializer); @protected PlatformInt64 sse_decode_i_64(SseDeserializer deserializer); @protected List sse_decode_list_String(SseDeserializer deserializer); @protected List sse_decode_list_download_task_info( SseDeserializer deserializer, ); @protected List sse_decode_list_p_4_k_file_item( SseDeserializer deserializer, ); @protected List sse_decode_list_prim_u_8_loose(SseDeserializer deserializer); @protected Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer); @protected List sse_decode_list_process_info(SseDeserializer deserializer); @protected List<(String, String)> sse_decode_list_record_string_string( SseDeserializer deserializer, ); @protected List sse_decode_list_web_view_event( SseDeserializer deserializer, ); @protected MyHttpVersion sse_decode_my_http_version(SseDeserializer deserializer); @protected MyMethod sse_decode_my_method(SseDeserializer deserializer); @protected Map? sse_decode_opt_Map_String_String_None( SseDeserializer deserializer, ); @protected String? sse_decode_opt_String(SseDeserializer deserializer); @protected bool? sse_decode_opt_box_autoadd_bool(SseDeserializer deserializer); @protected int? sse_decode_opt_box_autoadd_u_32(SseDeserializer deserializer); @protected BigInt? sse_decode_opt_box_autoadd_u_64(SseDeserializer deserializer); @protected List? sse_decode_opt_list_String(SseDeserializer deserializer); @protected Uint8List? sse_decode_opt_list_prim_u_8_strict(SseDeserializer deserializer); @protected P4kFileItem sse_decode_p_4_k_file_item(SseDeserializer deserializer); @protected ProcessInfo sse_decode_process_info(SseDeserializer deserializer); @protected (String, String) sse_decode_record_string_string( SseDeserializer deserializer, ); @protected RsProcessStreamData sse_decode_rs_process_stream_data( SseDeserializer deserializer, ); @protected RsProcessStreamDataType sse_decode_rs_process_stream_data_type( SseDeserializer deserializer, ); @protected RsiLauncherAsarData sse_decode_rsi_launcher_asar_data( SseDeserializer deserializer, ); @protected RustHttpResponse sse_decode_rust_http_response(SseDeserializer deserializer); @protected SystemInfo sse_decode_system_info(SseDeserializer deserializer); @protected int sse_decode_u_16(SseDeserializer deserializer); @protected int sse_decode_u_32(SseDeserializer deserializer); @protected BigInt sse_decode_u_64(SseDeserializer deserializer); @protected int sse_decode_u_8(SseDeserializer deserializer); @protected void sse_decode_unit(SseDeserializer deserializer); @protected BigInt sse_decode_usize(SseDeserializer deserializer); @protected WebViewConfiguration sse_decode_web_view_configuration( SseDeserializer deserializer, ); @protected WebViewEvent sse_decode_web_view_event(SseDeserializer deserializer); @protected WebViewNavigationState sse_decode_web_view_navigation_state( SseDeserializer deserializer, ); @protected ffi.Pointer cst_encode_AnyhowException( AnyhowException raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs throw UnimplementedError(); } @protected ffi.Pointer cst_encode_Map_String_String_None(Map raw) { // Codec=Cst (C-struct based), see doc to use other codecs return cst_encode_list_record_string_string( raw.entries.map((e) => (e.key, e.value)).toList(), ); } @protected ffi.Pointer cst_encode_StreamSink_rs_process_stream_data_Dco( RustStreamSink raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs return cst_encode_String( raw.setupAndSerialize( codec: DcoCodec( decodeSuccessData: dco_decode_rs_process_stream_data, decodeErrorData: dco_decode_AnyhowException, ), ), ); } @protected ffi.Pointer cst_encode_String(String raw) { // Codec=Cst (C-struct based), see doc to use other codecs return cst_encode_list_prim_u_8_strict(utf8.encoder.convert(raw)); } @protected ffi.Pointer cst_encode_box_autoadd_bool(bool raw) { // Codec=Cst (C-struct based), see doc to use other codecs return wire.cst_new_box_autoadd_bool(cst_encode_bool(raw)); } @protected ffi.Pointer cst_encode_box_autoadd_rsi_launcher_asar_data(RsiLauncherAsarData raw) { // Codec=Cst (C-struct based), see doc to use other codecs final ptr = wire.cst_new_box_autoadd_rsi_launcher_asar_data(); cst_api_fill_to_wire_rsi_launcher_asar_data(raw, ptr.ref); return ptr; } @protected ffi.Pointer cst_encode_box_autoadd_u_32(int raw) { // Codec=Cst (C-struct based), see doc to use other codecs return wire.cst_new_box_autoadd_u_32(cst_encode_u_32(raw)); } @protected ffi.Pointer cst_encode_box_autoadd_u_64(BigInt raw) { // Codec=Cst (C-struct based), see doc to use other codecs return wire.cst_new_box_autoadd_u_64(cst_encode_u_64(raw)); } @protected ffi.Pointer cst_encode_box_autoadd_web_view_configuration(WebViewConfiguration raw) { // Codec=Cst (C-struct based), see doc to use other codecs final ptr = wire.cst_new_box_autoadd_web_view_configuration(); cst_api_fill_to_wire_web_view_configuration(raw, ptr.ref); return ptr; } @protected int cst_encode_i_64(PlatformInt64 raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw.toInt(); } @protected ffi.Pointer cst_encode_list_String(List raw) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_String(raw.length); for (var i = 0; i < raw.length; ++i) { ans.ref.ptr[i] = cst_encode_String(raw[i]); } return ans; } @protected ffi.Pointer cst_encode_list_download_task_info(List raw) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_download_task_info(raw.length); for (var i = 0; i < raw.length; ++i) { cst_api_fill_to_wire_download_task_info(raw[i], ans.ref.ptr[i]); } return ans; } @protected ffi.Pointer cst_encode_list_p_4_k_file_item( List raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_p_4_k_file_item(raw.length); for (var i = 0; i < raw.length; ++i) { cst_api_fill_to_wire_p_4_k_file_item(raw[i], ans.ref.ptr[i]); } return ans; } @protected ffi.Pointer cst_encode_list_prim_u_8_loose( List raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_prim_u_8_loose(raw.length); ans.ref.ptr.asTypedList(raw.length).setAll(0, raw); return ans; } @protected ffi.Pointer cst_encode_list_prim_u_8_strict( Uint8List raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_prim_u_8_strict(raw.length); ans.ref.ptr.asTypedList(raw.length).setAll(0, raw); return ans; } @protected ffi.Pointer cst_encode_list_process_info( List raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_process_info(raw.length); for (var i = 0; i < raw.length; ++i) { cst_api_fill_to_wire_process_info(raw[i], ans.ref.ptr[i]); } return ans; } @protected ffi.Pointer cst_encode_list_record_string_string(List<(String, String)> raw) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_record_string_string(raw.length); for (var i = 0; i < raw.length; ++i) { cst_api_fill_to_wire_record_string_string(raw[i], ans.ref.ptr[i]); } return ans; } @protected ffi.Pointer cst_encode_list_web_view_event( List raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs final ans = wire.cst_new_list_web_view_event(raw.length); for (var i = 0; i < raw.length; ++i) { cst_api_fill_to_wire_web_view_event(raw[i], ans.ref.ptr[i]); } return ans; } @protected ffi.Pointer cst_encode_opt_Map_String_String_None(Map? raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw == null ? ffi.nullptr : cst_encode_Map_String_String_None(raw); } @protected ffi.Pointer cst_encode_opt_String( String? raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs return raw == null ? ffi.nullptr : cst_encode_String(raw); } @protected ffi.Pointer cst_encode_opt_box_autoadd_bool(bool? raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw == null ? ffi.nullptr : cst_encode_box_autoadd_bool(raw); } @protected ffi.Pointer cst_encode_opt_box_autoadd_u_32(int? raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw == null ? ffi.nullptr : cst_encode_box_autoadd_u_32(raw); } @protected ffi.Pointer cst_encode_opt_box_autoadd_u_64(BigInt? raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw == null ? ffi.nullptr : cst_encode_box_autoadd_u_64(raw); } @protected ffi.Pointer cst_encode_opt_list_String( List? raw, ) { // Codec=Cst (C-struct based), see doc to use other codecs return raw == null ? ffi.nullptr : cst_encode_list_String(raw); } @protected ffi.Pointer cst_encode_opt_list_prim_u_8_strict(Uint8List? raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw == null ? ffi.nullptr : cst_encode_list_prim_u_8_strict(raw); } @protected int cst_encode_u_64(BigInt raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw.toSigned(64).toInt(); } @protected int cst_encode_usize(BigInt raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw.toSigned(64).toInt(); } @protected void cst_api_fill_to_wire_box_autoadd_rsi_launcher_asar_data( RsiLauncherAsarData apiObj, ffi.Pointer wireObj, ) { cst_api_fill_to_wire_rsi_launcher_asar_data(apiObj, wireObj.ref); } @protected void cst_api_fill_to_wire_box_autoadd_web_view_configuration( WebViewConfiguration apiObj, ffi.Pointer wireObj, ) { cst_api_fill_to_wire_web_view_configuration(apiObj, wireObj.ref); } @protected void cst_api_fill_to_wire_download_global_stat( DownloadGlobalStat apiObj, wire_cst_download_global_stat wireObj, ) { wireObj.download_speed = cst_encode_u_64(apiObj.downloadSpeed); wireObj.upload_speed = cst_encode_u_64(apiObj.uploadSpeed); wireObj.num_active = cst_encode_usize(apiObj.numActive); wireObj.num_waiting = cst_encode_usize(apiObj.numWaiting); } @protected void cst_api_fill_to_wire_download_task_info( DownloadTaskInfo apiObj, wire_cst_download_task_info wireObj, ) { wireObj.id = cst_encode_usize(apiObj.id); wireObj.name = cst_encode_String(apiObj.name); wireObj.status = cst_encode_download_task_status(apiObj.status); wireObj.total_bytes = cst_encode_u_64(apiObj.totalBytes); wireObj.downloaded_bytes = cst_encode_u_64(apiObj.downloadedBytes); wireObj.uploaded_bytes = cst_encode_u_64(apiObj.uploadedBytes); wireObj.download_speed = cst_encode_u_64(apiObj.downloadSpeed); wireObj.upload_speed = cst_encode_u_64(apiObj.uploadSpeed); wireObj.progress = cst_encode_f_64(apiObj.progress); wireObj.num_peers = cst_encode_usize(apiObj.numPeers); wireObj.output_folder = cst_encode_String(apiObj.outputFolder); } @protected void cst_api_fill_to_wire_p_4_k_file_item( P4kFileItem apiObj, wire_cst_p_4_k_file_item wireObj, ) { wireObj.name = cst_encode_String(apiObj.name); wireObj.is_directory = cst_encode_bool(apiObj.isDirectory); wireObj.size = cst_encode_u_64(apiObj.size); wireObj.compressed_size = cst_encode_u_64(apiObj.compressedSize); wireObj.date_modified = cst_encode_i_64(apiObj.dateModified); } @protected void cst_api_fill_to_wire_process_info( ProcessInfo apiObj, wire_cst_process_info wireObj, ) { wireObj.pid = cst_encode_u_32(apiObj.pid); wireObj.name = cst_encode_String(apiObj.name); wireObj.path = cst_encode_String(apiObj.path); } @protected void cst_api_fill_to_wire_record_string_string( (String, String) apiObj, wire_cst_record_string_string wireObj, ) { wireObj.field0 = cst_encode_String(apiObj.$1); wireObj.field1 = cst_encode_String(apiObj.$2); } @protected void cst_api_fill_to_wire_rs_process_stream_data( RsProcessStreamData apiObj, wire_cst_rs_process_stream_data wireObj, ) { wireObj.data_type = cst_encode_rs_process_stream_data_type(apiObj.dataType); wireObj.data = cst_encode_String(apiObj.data); wireObj.rs_pid = cst_encode_u_32(apiObj.rsPid); } @protected void cst_api_fill_to_wire_rsi_launcher_asar_data( RsiLauncherAsarData apiObj, wire_cst_rsi_launcher_asar_data wireObj, ) { wireObj.asar_path = cst_encode_String(apiObj.asarPath); wireObj.main_js_path = cst_encode_String(apiObj.mainJsPath); wireObj.main_js_content = cst_encode_list_prim_u_8_strict( apiObj.mainJsContent, ); } @protected void cst_api_fill_to_wire_rust_http_response( RustHttpResponse apiObj, wire_cst_rust_http_response wireObj, ) { wireObj.status_code = cst_encode_u_16(apiObj.statusCode); wireObj.headers = cst_encode_Map_String_String_None(apiObj.headers); wireObj.url = cst_encode_String(apiObj.url); wireObj.content_length = cst_encode_opt_box_autoadd_u_64( apiObj.contentLength, ); wireObj.version = cst_encode_my_http_version(apiObj.version); wireObj.remote_addr = cst_encode_String(apiObj.remoteAddr); wireObj.data = cst_encode_opt_list_prim_u_8_strict(apiObj.data); } @protected void cst_api_fill_to_wire_system_info( SystemInfo apiObj, wire_cst_system_info wireObj, ) { wireObj.os_name = cst_encode_String(apiObj.osName); wireObj.cpu_name = cst_encode_String(apiObj.cpuName); wireObj.gpu_info = cst_encode_String(apiObj.gpuInfo); wireObj.disk_info = cst_encode_String(apiObj.diskInfo); } @protected void cst_api_fill_to_wire_web_view_configuration( WebViewConfiguration apiObj, wire_cst_web_view_configuration wireObj, ) { wireObj.title = cst_encode_String(apiObj.title); wireObj.width = cst_encode_u_32(apiObj.width); wireObj.height = cst_encode_u_32(apiObj.height); wireObj.user_data_folder = cst_encode_opt_String(apiObj.userDataFolder); wireObj.enable_devtools = cst_encode_bool(apiObj.enableDevtools); wireObj.transparent = cst_encode_bool(apiObj.transparent); wireObj.user_agent = cst_encode_opt_String(apiObj.userAgent); } @protected void cst_api_fill_to_wire_web_view_event( WebViewEvent apiObj, wire_cst_web_view_event wireObj, ) { if (apiObj is WebViewEvent_NavigationStarted) { var pre_url = cst_encode_String(apiObj.url); wireObj.tag = 0; wireObj.kind.NavigationStarted.url = pre_url; return; } if (apiObj is WebViewEvent_NavigationCompleted) { var pre_url = cst_encode_String(apiObj.url); wireObj.tag = 1; wireObj.kind.NavigationCompleted.url = pre_url; return; } if (apiObj is WebViewEvent_TitleChanged) { var pre_title = cst_encode_String(apiObj.title); wireObj.tag = 2; wireObj.kind.TitleChanged.title = pre_title; return; } if (apiObj is WebViewEvent_WebMessage) { var pre_message = cst_encode_String(apiObj.message); wireObj.tag = 3; wireObj.kind.WebMessage.message = pre_message; return; } if (apiObj is WebViewEvent_WindowClosed) { wireObj.tag = 4; return; } if (apiObj is WebViewEvent_Error) { var pre_message = cst_encode_String(apiObj.message); wireObj.tag = 5; wireObj.kind.Error.message = pre_message; return; } } @protected void cst_api_fill_to_wire_web_view_navigation_state( WebViewNavigationState apiObj, wire_cst_web_view_navigation_state wireObj, ) { wireObj.url = cst_encode_String(apiObj.url); wireObj.title = cst_encode_String(apiObj.title); wireObj.can_go_back = cst_encode_bool(apiObj.canGoBack); wireObj.can_go_forward = cst_encode_bool(apiObj.canGoForward); wireObj.is_loading = cst_encode_bool(apiObj.isLoading); } @protected bool cst_encode_bool(bool raw); @protected int cst_encode_download_task_status(DownloadTaskStatus raw); @protected double cst_encode_f_64(double raw); @protected int cst_encode_i_32(int raw); @protected int cst_encode_my_http_version(MyHttpVersion raw); @protected int cst_encode_my_method(MyMethod raw); @protected int cst_encode_rs_process_stream_data_type(RsProcessStreamDataType raw); @protected int cst_encode_u_16(int raw); @protected int cst_encode_u_32(int raw); @protected int cst_encode_u_8(int raw); @protected void cst_encode_unit(void raw); @protected void sse_encode_AnyhowException( AnyhowException self, SseSerializer serializer, ); @protected void sse_encode_Map_String_String_None( Map self, SseSerializer serializer, ); @protected void sse_encode_StreamSink_rs_process_stream_data_Dco( RustStreamSink self, SseSerializer serializer, ); @protected void sse_encode_String(String self, SseSerializer serializer); @protected void sse_encode_bool(bool self, SseSerializer serializer); @protected void sse_encode_box_autoadd_bool(bool self, SseSerializer serializer); @protected void sse_encode_box_autoadd_rsi_launcher_asar_data( RsiLauncherAsarData self, SseSerializer serializer, ); @protected void sse_encode_box_autoadd_u_32(int self, SseSerializer serializer); @protected void sse_encode_box_autoadd_u_64(BigInt self, SseSerializer serializer); @protected void sse_encode_box_autoadd_web_view_configuration( WebViewConfiguration self, SseSerializer serializer, ); @protected void sse_encode_download_global_stat( DownloadGlobalStat self, SseSerializer serializer, ); @protected void sse_encode_download_task_info( DownloadTaskInfo self, SseSerializer serializer, ); @protected void sse_encode_download_task_status( DownloadTaskStatus self, SseSerializer serializer, ); @protected void sse_encode_f_64(double self, SseSerializer serializer); @protected void sse_encode_i_32(int self, SseSerializer serializer); @protected void sse_encode_i_64(PlatformInt64 self, SseSerializer serializer); @protected void sse_encode_list_String(List self, SseSerializer serializer); @protected void sse_encode_list_download_task_info( List self, SseSerializer serializer, ); @protected void sse_encode_list_p_4_k_file_item( List self, SseSerializer serializer, ); @protected void sse_encode_list_prim_u_8_loose(List self, SseSerializer serializer); @protected void sse_encode_list_prim_u_8_strict( Uint8List self, SseSerializer serializer, ); @protected void sse_encode_list_process_info( List self, SseSerializer serializer, ); @protected void sse_encode_list_record_string_string( List<(String, String)> self, SseSerializer serializer, ); @protected void sse_encode_list_web_view_event( List self, SseSerializer serializer, ); @protected void sse_encode_my_http_version(MyHttpVersion self, SseSerializer serializer); @protected void sse_encode_my_method(MyMethod self, SseSerializer serializer); @protected void sse_encode_opt_Map_String_String_None( Map? self, SseSerializer serializer, ); @protected void sse_encode_opt_String(String? self, SseSerializer serializer); @protected void sse_encode_opt_box_autoadd_bool(bool? self, SseSerializer serializer); @protected void sse_encode_opt_box_autoadd_u_32(int? self, SseSerializer serializer); @protected void sse_encode_opt_box_autoadd_u_64(BigInt? self, SseSerializer serializer); @protected void sse_encode_opt_list_String(List? self, SseSerializer serializer); @protected void sse_encode_opt_list_prim_u_8_strict( Uint8List? self, SseSerializer serializer, ); @protected void sse_encode_p_4_k_file_item(P4kFileItem self, SseSerializer serializer); @protected void sse_encode_process_info(ProcessInfo self, SseSerializer serializer); @protected void sse_encode_record_string_string( (String, String) self, SseSerializer serializer, ); @protected void sse_encode_rs_process_stream_data( RsProcessStreamData self, SseSerializer serializer, ); @protected void sse_encode_rs_process_stream_data_type( RsProcessStreamDataType self, SseSerializer serializer, ); @protected void sse_encode_rsi_launcher_asar_data( RsiLauncherAsarData self, SseSerializer serializer, ); @protected void sse_encode_rust_http_response( RustHttpResponse self, SseSerializer serializer, ); @protected void sse_encode_system_info(SystemInfo self, SseSerializer serializer); @protected void sse_encode_u_16(int self, SseSerializer serializer); @protected void sse_encode_u_32(int self, SseSerializer serializer); @protected void sse_encode_u_64(BigInt self, SseSerializer serializer); @protected void sse_encode_u_8(int self, SseSerializer serializer); @protected void sse_encode_unit(void self, SseSerializer serializer); @protected void sse_encode_usize(BigInt self, SseSerializer serializer); @protected void sse_encode_web_view_configuration( WebViewConfiguration self, SseSerializer serializer, ); @protected void sse_encode_web_view_event(WebViewEvent self, SseSerializer serializer); @protected void sse_encode_web_view_navigation_state( WebViewNavigationState self, SseSerializer serializer, ); } // Section: wire_class // ignore_for_file: camel_case_types, non_constant_identifier_names, avoid_positional_boolean_parameters, annotate_overrides, constant_identifier_names // AUTO GENERATED FILE, DO NOT EDIT. // // Generated by `package:ffigen`. // ignore_for_file: type=lint, unused_import /// generated by flutter_rust_bridge class RustLibWire implements BaseWire { factory RustLibWire.fromExternalLibrary(ExternalLibrary lib) => RustLibWire(lib.ffiDynamicLibrary); /// Holds the symbol lookup function. final ffi.Pointer Function(String symbolName) _lookup; /// The symbols are looked up in [dynamicLibrary]. RustLibWire(ffi.DynamicLibrary dynamicLibrary) : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. RustLibWire.fromLookup( ffi.Pointer Function(String symbolName) lookup, ) : _lookup = lookup; void store_dart_post_cobject(DartPostCObjectFnType ptr) { return _store_dart_post_cobject(ptr); } late final _store_dart_post_cobjectPtr = _lookup>( 'store_dart_post_cobject', ); late final _store_dart_post_cobject = _store_dart_post_cobjectPtr .asFunction(); void wire__crate__api__win32_api__add_nvme_patch(int port_) { return _wire__crate__api__win32_api__add_nvme_patch(port_); } late final _wire__crate__api__win32_api__add_nvme_patchPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__add_nvme_patch', ); late final _wire__crate__api__win32_api__add_nvme_patch = _wire__crate__api__win32_api__add_nvme_patchPtr .asFunction(); void wire__crate__api__win32_api__check_nvme_patch_status(int port_) { return _wire__crate__api__win32_api__check_nvme_patch_status(port_); } late final _wire__crate__api__win32_api__check_nvme_patch_statusPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__check_nvme_patch_status', ); late final _wire__crate__api__win32_api__check_nvme_patch_status = _wire__crate__api__win32_api__check_nvme_patch_statusPtr .asFunction(); void wire__crate__api__ort_api__clear_all_models(int port_) { return _wire__crate__api__ort_api__clear_all_models(port_); } late final _wire__crate__api__ort_api__clear_all_modelsPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__ort_api__clear_all_models', ); late final _wire__crate__api__ort_api__clear_all_models = _wire__crate__api__ort_api__clear_all_modelsPtr .asFunction(); void wire__crate__api__win32_api__create_desktop_shortcut( int port_, ffi.Pointer target_path, ffi.Pointer shortcut_name, ) { return _wire__crate__api__win32_api__create_desktop_shortcut( port_, target_path, shortcut_name, ); } late final _wire__crate__api__win32_api__create_desktop_shortcutPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__create_desktop_shortcut', ); late final _wire__crate__api__win32_api__create_desktop_shortcut = _wire__crate__api__win32_api__create_desktop_shortcutPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__http_api__dns_lookup_ips( int port_, ffi.Pointer host, ) { return _wire__crate__api__http_api__dns_lookup_ips(port_, host); } late final _wire__crate__api__http_api__dns_lookup_ipsPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_ips'); late final _wire__crate__api__http_api__dns_lookup_ips = _wire__crate__api__http_api__dns_lookup_ipsPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__http_api__dns_lookup_txt( int port_, ffi.Pointer host, ) { return _wire__crate__api__http_api__dns_lookup_txt(port_, host); } late final _wire__crate__api__http_api__dns_lookup_txtPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_txt'); late final _wire__crate__api__http_api__dns_lookup_txt = _wire__crate__api__http_api__dns_lookup_txtPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__downloader_api__download_global_stat_default( int port_, ) { return _wire__crate__api__downloader_api__download_global_stat_default( port_, ); } late final _wire__crate__api__downloader_api__download_global_stat_defaultPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__download_global_stat_default', ); late final _wire__crate__api__downloader_api__download_global_stat_default = _wire__crate__api__downloader_api__download_global_stat_defaultPtr .asFunction(); void wire__crate__api__downloader_api__downloader_add_magnet( int port_, ffi.Pointer magnet_link, ffi.Pointer output_folder, ffi.Pointer trackers, ) { return _wire__crate__api__downloader_api__downloader_add_magnet( port_, magnet_link, output_folder, trackers, ); } late final _wire__crate__api__downloader_api__downloader_add_magnetPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_add_magnet', ); late final _wire__crate__api__downloader_api__downloader_add_magnet = _wire__crate__api__downloader_api__downloader_add_magnetPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__downloader_api__downloader_add_torrent( int port_, ffi.Pointer torrent_bytes, ffi.Pointer output_folder, ffi.Pointer trackers, ) { return _wire__crate__api__downloader_api__downloader_add_torrent( port_, torrent_bytes, output_folder, trackers, ); } late final _wire__crate__api__downloader_api__downloader_add_torrentPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_add_torrent', ); late final _wire__crate__api__downloader_api__downloader_add_torrent = _wire__crate__api__downloader_api__downloader_add_torrentPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__downloader_api__downloader_add_url( int port_, ffi.Pointer url, ffi.Pointer output_folder, ffi.Pointer trackers, ) { return _wire__crate__api__downloader_api__downloader_add_url( port_, url, output_folder, trackers, ); } late final _wire__crate__api__downloader_api__downloader_add_urlPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_add_url', ); late final _wire__crate__api__downloader_api__downloader_add_url = _wire__crate__api__downloader_api__downloader_add_urlPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__downloader_api__downloader_get_all_tasks(int port_) { return _wire__crate__api__downloader_api__downloader_get_all_tasks(port_); } late final _wire__crate__api__downloader_api__downloader_get_all_tasksPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_get_all_tasks', ); late final _wire__crate__api__downloader_api__downloader_get_all_tasks = _wire__crate__api__downloader_api__downloader_get_all_tasksPtr .asFunction(); void wire__crate__api__downloader_api__downloader_get_global_stats( int port_, ) { return _wire__crate__api__downloader_api__downloader_get_global_stats( port_, ); } late final _wire__crate__api__downloader_api__downloader_get_global_statsPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_get_global_stats', ); late final _wire__crate__api__downloader_api__downloader_get_global_stats = _wire__crate__api__downloader_api__downloader_get_global_statsPtr .asFunction(); void wire__crate__api__downloader_api__downloader_get_task_info( int port_, int task_id, ) { return _wire__crate__api__downloader_api__downloader_get_task_info( port_, task_id, ); } late final _wire__crate__api__downloader_api__downloader_get_task_infoPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_get_task_info', ); late final _wire__crate__api__downloader_api__downloader_get_task_info = _wire__crate__api__downloader_api__downloader_get_task_infoPtr .asFunction(); void wire__crate__api__downloader_api__downloader_has_active_tasks( int port_, ) { return _wire__crate__api__downloader_api__downloader_has_active_tasks( port_, ); } late final _wire__crate__api__downloader_api__downloader_has_active_tasksPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_has_active_tasks', ); late final _wire__crate__api__downloader_api__downloader_has_active_tasks = _wire__crate__api__downloader_api__downloader_has_active_tasksPtr .asFunction(); WireSyncRust2DartDco wire__crate__api__downloader_api__downloader_init( ffi.Pointer working_dir, ffi.Pointer default_download_dir, ffi.Pointer upload_limit_bps, ffi.Pointer download_limit_bps, ) { return _wire__crate__api__downloader_api__downloader_init( working_dir, default_download_dir, upload_limit_bps, download_limit_bps, ); } late final _wire__crate__api__downloader_api__downloader_initPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_init', ); late final _wire__crate__api__downloader_api__downloader_init = _wire__crate__api__downloader_api__downloader_initPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__downloader_api__downloader_is_initialized() { return _wire__crate__api__downloader_api__downloader_is_initialized(); } late final _wire__crate__api__downloader_api__downloader_is_initializedPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_is_initialized', ); late final _wire__crate__api__downloader_api__downloader_is_initialized = _wire__crate__api__downloader_api__downloader_is_initializedPtr .asFunction(); void wire__crate__api__downloader_api__downloader_is_name_in_task( int port_, ffi.Pointer name, ) { return _wire__crate__api__downloader_api__downloader_is_name_in_task( port_, name, ); } late final _wire__crate__api__downloader_api__downloader_is_name_in_taskPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_is_name_in_task', ); late final _wire__crate__api__downloader_api__downloader_is_name_in_task = _wire__crate__api__downloader_api__downloader_is_name_in_taskPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__downloader_api__downloader_pause( int port_, int task_id, ) { return _wire__crate__api__downloader_api__downloader_pause(port_, task_id); } late final _wire__crate__api__downloader_api__downloader_pausePtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_pause', ); late final _wire__crate__api__downloader_api__downloader_pause = _wire__crate__api__downloader_api__downloader_pausePtr .asFunction(); void wire__crate__api__downloader_api__downloader_pause_all(int port_) { return _wire__crate__api__downloader_api__downloader_pause_all(port_); } late final _wire__crate__api__downloader_api__downloader_pause_allPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_pause_all', ); late final _wire__crate__api__downloader_api__downloader_pause_all = _wire__crate__api__downloader_api__downloader_pause_allPtr .asFunction(); void wire__crate__api__downloader_api__downloader_remove( int port_, int task_id, bool delete_files, ) { return _wire__crate__api__downloader_api__downloader_remove( port_, task_id, delete_files, ); } late final _wire__crate__api__downloader_api__downloader_removePtr = _lookup< ffi.NativeFunction >( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_remove', ); late final _wire__crate__api__downloader_api__downloader_remove = _wire__crate__api__downloader_api__downloader_removePtr .asFunction(); void wire__crate__api__downloader_api__downloader_remove_completed_tasks( int port_, ) { return _wire__crate__api__downloader_api__downloader_remove_completed_tasks( port_, ); } late final _wire__crate__api__downloader_api__downloader_remove_completed_tasksPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_remove_completed_tasks', ); late final _wire__crate__api__downloader_api__downloader_remove_completed_tasks = _wire__crate__api__downloader_api__downloader_remove_completed_tasksPtr .asFunction(); void wire__crate__api__downloader_api__downloader_resume( int port_, int task_id, ) { return _wire__crate__api__downloader_api__downloader_resume(port_, task_id); } late final _wire__crate__api__downloader_api__downloader_resumePtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_resume', ); late final _wire__crate__api__downloader_api__downloader_resume = _wire__crate__api__downloader_api__downloader_resumePtr .asFunction(); void wire__crate__api__downloader_api__downloader_resume_all(int port_) { return _wire__crate__api__downloader_api__downloader_resume_all(port_); } late final _wire__crate__api__downloader_api__downloader_resume_allPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_resume_all', ); late final _wire__crate__api__downloader_api__downloader_resume_all = _wire__crate__api__downloader_api__downloader_resume_allPtr .asFunction(); void wire__crate__api__downloader_api__downloader_shutdown(int port_) { return _wire__crate__api__downloader_api__downloader_shutdown(port_); } late final _wire__crate__api__downloader_api__downloader_shutdownPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_shutdown', ); late final _wire__crate__api__downloader_api__downloader_shutdown = _wire__crate__api__downloader_api__downloader_shutdownPtr .asFunction(); void wire__crate__api__downloader_api__downloader_stop(int port_) { return _wire__crate__api__downloader_api__downloader_stop(port_); } late final _wire__crate__api__downloader_api__downloader_stopPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_stop', ); late final _wire__crate__api__downloader_api__downloader_stop = _wire__crate__api__downloader_api__downloader_stopPtr .asFunction(); void wire__crate__api__downloader_api__downloader_update_speed_limits( int port_, ffi.Pointer _upload_limit_bps, ffi.Pointer _download_limit_bps, ) { return _wire__crate__api__downloader_api__downloader_update_speed_limits( port_, _upload_limit_bps, _download_limit_bps, ); } late final _wire__crate__api__downloader_api__downloader_update_speed_limitsPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__downloader_api__downloader_update_speed_limits', ); late final _wire__crate__api__downloader_api__downloader_update_speed_limits = _wire__crate__api__downloader_api__downloader_update_speed_limitsPtr .asFunction< void Function(int, ffi.Pointer, ffi.Pointer) >(); void wire__crate__api__http_api__fetch( int port_, int method, ffi.Pointer url, ffi.Pointer headers, ffi.Pointer input_data, ffi.Pointer with_ip_address, ffi.Pointer with_custom_dns, ) { return _wire__crate__api__http_api__fetch( port_, method, url, headers, input_data, with_ip_address, with_custom_dns, ); } late final _wire__crate__api__http_api__fetchPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Int32, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__http_api__fetch'); late final _wire__crate__api__http_api__fetch = _wire__crate__api__http_api__fetchPtr .asFunction< void Function( int, int, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__win32_api__get_disk_physical_sector_size( int port_, ffi.Pointer drive_letter, ) { return _wire__crate__api__win32_api__get_disk_physical_sector_size( port_, drive_letter, ); } late final _wire__crate__api__win32_api__get_disk_physical_sector_sizePtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__get_disk_physical_sector_size', ); late final _wire__crate__api__win32_api__get_disk_physical_sector_size = _wire__crate__api__win32_api__get_disk_physical_sector_sizePtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__http_api__get_faster_url( int port_, ffi.Pointer urls, ffi.Pointer path_suffix, ) { return _wire__crate__api__http_api__get_faster_url( port_, urls, path_suffix, ); } late final _wire__crate__api__http_api__get_faster_urlPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__http_api__get_faster_url'); late final _wire__crate__api__http_api__get_faster_url = _wire__crate__api__http_api__get_faster_urlPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__win32_api__get_gpu_info_from_registry(int port_) { return _wire__crate__api__win32_api__get_gpu_info_from_registry(port_); } late final _wire__crate__api__win32_api__get_gpu_info_from_registryPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__get_gpu_info_from_registry', ); late final _wire__crate__api__win32_api__get_gpu_info_from_registry = _wire__crate__api__win32_api__get_gpu_info_from_registryPtr .asFunction(); void wire__crate__api__win32_api__get_number_of_logical_processors( int port_, ) { return _wire__crate__api__win32_api__get_number_of_logical_processors( port_, ); } late final _wire__crate__api__win32_api__get_number_of_logical_processorsPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__get_number_of_logical_processors', ); late final _wire__crate__api__win32_api__get_number_of_logical_processors = _wire__crate__api__win32_api__get_number_of_logical_processorsPtr .asFunction(); void wire__crate__api__win32_api__get_process_list_by_name( int port_, ffi.Pointer process_name, ) { return _wire__crate__api__win32_api__get_process_list_by_name( port_, process_name, ); } late final _wire__crate__api__win32_api__get_process_list_by_namePtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__get_process_list_by_name', ); late final _wire__crate__api__win32_api__get_process_list_by_name = _wire__crate__api__win32_api__get_process_list_by_namePtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__win32_api__get_process_pid_by_name( int port_, ffi.Pointer process_name, ) { return _wire__crate__api__win32_api__get_process_pid_by_name( port_, process_name, ); } late final _wire__crate__api__win32_api__get_process_pid_by_namePtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__get_process_pid_by_name', ); late final _wire__crate__api__win32_api__get_process_pid_by_name = _wire__crate__api__win32_api__get_process_pid_by_namePtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__asar_api__get_rsi_launcher_asar_data( int port_, ffi.Pointer asar_path, ) { return _wire__crate__api__asar_api__get_rsi_launcher_asar_data( port_, asar_path, ); } late final _wire__crate__api__asar_api__get_rsi_launcher_asar_dataPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__asar_api__get_rsi_launcher_asar_data', ); late final _wire__crate__api__asar_api__get_rsi_launcher_asar_data = _wire__crate__api__asar_api__get_rsi_launcher_asar_dataPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__win32_api__get_system_info(int port_) { return _wire__crate__api__win32_api__get_system_info(port_); } late final _wire__crate__api__win32_api__get_system_infoPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__get_system_info', ); late final _wire__crate__api__win32_api__get_system_info = _wire__crate__api__win32_api__get_system_infoPtr .asFunction(); void wire__crate__api__win32_api__get_system_memory_size_gb(int port_) { return _wire__crate__api__win32_api__get_system_memory_size_gb(port_); } late final _wire__crate__api__win32_api__get_system_memory_size_gbPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__get_system_memory_size_gb', ); late final _wire__crate__api__win32_api__get_system_memory_size_gb = _wire__crate__api__win32_api__get_system_memory_size_gbPtr .asFunction(); void wire__crate__api__win32_api__kill_process_by_name( int port_, ffi.Pointer process_name, ) { return _wire__crate__api__win32_api__kill_process_by_name( port_, process_name, ); } late final _wire__crate__api__win32_api__kill_process_by_namePtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__kill_process_by_name', ); late final _wire__crate__api__win32_api__kill_process_by_name = _wire__crate__api__win32_api__kill_process_by_namePtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__ort_api__load_translation_model( int port_, ffi.Pointer model_path, ffi.Pointer model_key, ffi.Pointer quantization_suffix, bool use_xnnpack, ) { return _wire__crate__api__ort_api__load_translation_model( port_, model_path, model_key, quantization_suffix, use_xnnpack, ); } late final _wire__crate__api__ort_api__load_translation_modelPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Bool, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__ort_api__load_translation_model', ); late final _wire__crate__api__ort_api__load_translation_model = _wire__crate__api__ort_api__load_translation_modelPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ffi.Pointer, bool, ) >(); void wire__crate__api__win32_api__open_dir_with_explorer( int port_, ffi.Pointer path, bool is_file, ) { return _wire__crate__api__win32_api__open_dir_with_explorer( port_, path, is_file, ); } late final _wire__crate__api__win32_api__open_dir_with_explorerPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Bool, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__open_dir_with_explorer', ); late final _wire__crate__api__win32_api__open_dir_with_explorer = _wire__crate__api__win32_api__open_dir_with_explorerPtr .asFunction< void Function(int, ffi.Pointer, bool) >(); void wire__crate__api__unp4k_api__p4k_close(int port_) { return _wire__crate__api__unp4k_api__p4k_close(port_); } late final _wire__crate__api__unp4k_api__p4k_closePtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__unp4k_api__p4k_close', ); late final _wire__crate__api__unp4k_api__p4k_close = _wire__crate__api__unp4k_api__p4k_closePtr .asFunction(); void wire__crate__api__unp4k_api__p4k_extract_to_disk( int port_, ffi.Pointer file_path, ffi.Pointer output_path, ) { return _wire__crate__api__unp4k_api__p4k_extract_to_disk( port_, file_path, output_path, ); } late final _wire__crate__api__unp4k_api__p4k_extract_to_diskPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__unp4k_api__p4k_extract_to_disk', ); late final _wire__crate__api__unp4k_api__p4k_extract_to_disk = _wire__crate__api__unp4k_api__p4k_extract_to_diskPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__unp4k_api__p4k_extract_to_memory( int port_, ffi.Pointer file_path, ) { return _wire__crate__api__unp4k_api__p4k_extract_to_memory( port_, file_path, ); } late final _wire__crate__api__unp4k_api__p4k_extract_to_memoryPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__unp4k_api__p4k_extract_to_memory', ); late final _wire__crate__api__unp4k_api__p4k_extract_to_memory = _wire__crate__api__unp4k_api__p4k_extract_to_memoryPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__unp4k_api__p4k_get_all_files(int port_) { return _wire__crate__api__unp4k_api__p4k_get_all_files(port_); } late final _wire__crate__api__unp4k_api__p4k_get_all_filesPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__unp4k_api__p4k_get_all_files', ); late final _wire__crate__api__unp4k_api__p4k_get_all_files = _wire__crate__api__unp4k_api__p4k_get_all_filesPtr .asFunction(); void wire__crate__api__unp4k_api__p4k_get_file_count(int port_) { return _wire__crate__api__unp4k_api__p4k_get_file_count(port_); } late final _wire__crate__api__unp4k_api__p4k_get_file_countPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__unp4k_api__p4k_get_file_count', ); late final _wire__crate__api__unp4k_api__p4k_get_file_count = _wire__crate__api__unp4k_api__p4k_get_file_countPtr .asFunction(); void wire__crate__api__unp4k_api__p4k_open( int port_, ffi.Pointer p4k_path, ) { return _wire__crate__api__unp4k_api__p4k_open(port_, p4k_path); } late final _wire__crate__api__unp4k_api__p4k_openPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__unp4k_api__p4k_open'); late final _wire__crate__api__unp4k_api__p4k_open = _wire__crate__api__unp4k_api__p4k_openPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__win32_api__remove_nvme_patch(int port_) { return _wire__crate__api__win32_api__remove_nvme_patch(port_); } late final _wire__crate__api__win32_api__remove_nvme_patchPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__remove_nvme_patch', ); late final _wire__crate__api__win32_api__remove_nvme_patch = _wire__crate__api__win32_api__remove_nvme_patchPtr .asFunction(); void wire__crate__api__win32_api__resolve_shortcut( int port_, ffi.Pointer _lnk_path, ) { return _wire__crate__api__win32_api__resolve_shortcut(port_, _lnk_path); } late final _wire__crate__api__win32_api__resolve_shortcutPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__resolve_shortcut', ); late final _wire__crate__api__win32_api__resolve_shortcut = _wire__crate__api__win32_api__resolve_shortcutPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js( int port_, ffi.Pointer that, ffi.Pointer content, ) { return _wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js( port_, that, content, ); } late final _wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_jsPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js', ); late final _wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js = _wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_jsPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__win32_api__run_as_admin( int port_, ffi.Pointer program, ffi.Pointer args, ) { return _wire__crate__api__win32_api__run_as_admin(port_, program, args); } late final _wire__crate__api__win32_api__run_as_adminPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__win32_api__run_as_admin'); late final _wire__crate__api__win32_api__run_as_admin = _wire__crate__api__win32_api__run_as_adminPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__win32_api__send_notify( int port_, ffi.Pointer summary, ffi.Pointer body, ffi.Pointer app_name, ffi.Pointer app_id, ) { return _wire__crate__api__win32_api__send_notify( port_, summary, body, app_name, app_id, ); } late final _wire__crate__api__win32_api__send_notifyPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__win32_api__send_notify'); late final _wire__crate__api__win32_api__send_notify = _wire__crate__api__win32_api__send_notifyPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__http_api__set_default_header( int port_, ffi.Pointer headers, ) { return _wire__crate__api__http_api__set_default_header(port_, headers); } late final _wire__crate__api__http_api__set_default_headerPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__http_api__set_default_header', ); late final _wire__crate__api__http_api__set_default_header = _wire__crate__api__http_api__set_default_headerPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__win32_api__set_foreground_window( int port_, ffi.Pointer window_name, ) { return _wire__crate__api__win32_api__set_foreground_window( port_, window_name, ); } late final _wire__crate__api__win32_api__set_foreground_windowPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__win32_api__set_foreground_window', ); late final _wire__crate__api__win32_api__set_foreground_window = _wire__crate__api__win32_api__set_foreground_windowPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__rs_process__start( int port_, ffi.Pointer executable, ffi.Pointer arguments, ffi.Pointer working_directory, ffi.Pointer stream_sink, ) { return _wire__crate__api__rs_process__start( port_, executable, arguments, working_directory, stream_sink, ); } late final _wire__crate__api__rs_process__startPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__rs_process__start'); late final _wire__crate__api__rs_process__start = _wire__crate__api__rs_process__startPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__win32_api__start_process( int port_, ffi.Pointer program, ffi.Pointer args, ) { return _wire__crate__api__win32_api__start_process(port_, program, args); } late final _wire__crate__api__win32_api__start_processPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__win32_api__start_process'); late final _wire__crate__api__win32_api__start_process = _wire__crate__api__win32_api__start_processPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__ort_api__translate_text( int port_, ffi.Pointer model_key, ffi.Pointer text, ) { return _wire__crate__api__ort_api__translate_text(port_, model_key, text); } late final _wire__crate__api__ort_api__translate_textPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__ort_api__translate_text'); late final _wire__crate__api__ort_api__translate_text = _wire__crate__api__ort_api__translate_textPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__ort_api__translate_text_batch( int port_, ffi.Pointer model_key, ffi.Pointer texts, ) { return _wire__crate__api__ort_api__translate_text_batch( port_, model_key, texts, ); } late final _wire__crate__api__ort_api__translate_text_batchPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__ort_api__translate_text_batch', ); late final _wire__crate__api__ort_api__translate_text_batch = _wire__crate__api__ort_api__translate_text_batchPtr .asFunction< void Function( int, ffi.Pointer, ffi.Pointer, ) >(); void wire__crate__api__ort_api__unload_translation_model( int port_, ffi.Pointer model_key, ) { return _wire__crate__api__ort_api__unload_translation_model( port_, model_key, ); } late final _wire__crate__api__ort_api__unload_translation_modelPtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__ort_api__unload_translation_model', ); late final _wire__crate__api__ort_api__unload_translation_model = _wire__crate__api__ort_api__unload_translation_modelPtr .asFunction< void Function(int, ffi.Pointer) >(); void wire__crate__api__webview_api__web_view_configuration_default( int port_, ) { return _wire__crate__api__webview_api__web_view_configuration_default( port_, ); } late final _wire__crate__api__webview_api__web_view_configuration_defaultPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__web_view_configuration_default', ); late final _wire__crate__api__webview_api__web_view_configuration_default = _wire__crate__api__webview_api__web_view_configuration_defaultPtr .asFunction(); void wire__crate__api__webview_api__web_view_navigation_state_default( int port_, ) { return _wire__crate__api__webview_api__web_view_navigation_state_default( port_, ); } late final _wire__crate__api__webview_api__web_view_navigation_state_defaultPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__web_view_navigation_state_default', ); late final _wire__crate__api__webview_api__web_view_navigation_state_default = _wire__crate__api__webview_api__web_view_navigation_state_defaultPtr .asFunction(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_close( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_close(id); } late final _wire__crate__api__webview_api__webview_closePtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_close', ); late final _wire__crate__api__webview_api__webview_close = _wire__crate__api__webview_api__webview_closePtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_create( ffi.Pointer config, ) { return _wire__crate__api__webview_api__webview_create(config); } late final _wire__crate__api__webview_api__webview_createPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_create', ); late final _wire__crate__api__webview_api__webview_create = _wire__crate__api__webview_api__webview_createPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_execute_script( ffi.Pointer id, ffi.Pointer script, ) { return _wire__crate__api__webview_api__webview_execute_script(id, script); } late final _wire__crate__api__webview_api__webview_execute_scriptPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_execute_script', ); late final _wire__crate__api__webview_api__webview_execute_script = _wire__crate__api__webview_api__webview_execute_scriptPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_get_state( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_get_state(id); } late final _wire__crate__api__webview_api__webview_get_statePtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_get_state', ); late final _wire__crate__api__webview_api__webview_get_state = _wire__crate__api__webview_api__webview_get_statePtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_go_back( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_go_back(id); } late final _wire__crate__api__webview_api__webview_go_backPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_go_back', ); late final _wire__crate__api__webview_api__webview_go_back = _wire__crate__api__webview_api__webview_go_backPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_go_forward( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_go_forward(id); } late final _wire__crate__api__webview_api__webview_go_forwardPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_go_forward', ); late final _wire__crate__api__webview_api__webview_go_forward = _wire__crate__api__webview_api__webview_go_forwardPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_is_closed( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_is_closed(id); } late final _wire__crate__api__webview_api__webview_is_closedPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_is_closed', ); late final _wire__crate__api__webview_api__webview_is_closed = _wire__crate__api__webview_api__webview_is_closedPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_list_all() { return _wire__crate__api__webview_api__webview_list_all(); } late final _wire__crate__api__webview_api__webview_list_allPtr = _lookup>( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_list_all', ); late final _wire__crate__api__webview_api__webview_list_all = _wire__crate__api__webview_api__webview_list_allPtr .asFunction(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_navigate( ffi.Pointer id, ffi.Pointer url, ) { return _wire__crate__api__webview_api__webview_navigate(id, url); } late final _wire__crate__api__webview_api__webview_navigatePtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_navigate', ); late final _wire__crate__api__webview_api__webview_navigate = _wire__crate__api__webview_api__webview_navigatePtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_poll_events( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_poll_events(id); } late final _wire__crate__api__webview_api__webview_poll_eventsPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_poll_events', ); late final _wire__crate__api__webview_api__webview_poll_events = _wire__crate__api__webview_api__webview_poll_eventsPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_reload( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_reload(id); } late final _wire__crate__api__webview_api__webview_reloadPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_reload', ); late final _wire__crate__api__webview_api__webview_reload = _wire__crate__api__webview_api__webview_reloadPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_set_visibility( ffi.Pointer id, bool visible, ) { return _wire__crate__api__webview_api__webview_set_visibility(id, visible); } late final _wire__crate__api__webview_api__webview_set_visibilityPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Bool, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_set_visibility', ); late final _wire__crate__api__webview_api__webview_set_visibility = _wire__crate__api__webview_api__webview_set_visibilityPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, bool, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_set_window_position( ffi.Pointer id, int x, int y, ) { return _wire__crate__api__webview_api__webview_set_window_position( id, x, y, ); } late final _wire__crate__api__webview_api__webview_set_window_positionPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Int32, ffi.Int32, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_set_window_position', ); late final _wire__crate__api__webview_api__webview_set_window_position = _wire__crate__api__webview_api__webview_set_window_positionPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, int, int, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_set_window_size( ffi.Pointer id, int width, int height, ) { return _wire__crate__api__webview_api__webview_set_window_size( id, width, height, ); } late final _wire__crate__api__webview_api__webview_set_window_sizePtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ffi.Uint32, ffi.Uint32, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_set_window_size', ); late final _wire__crate__api__webview_api__webview_set_window_size = _wire__crate__api__webview_api__webview_set_window_sizePtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, int, int, ) >(); WireSyncRust2DartDco wire__crate__api__webview_api__webview_stop( ffi.Pointer id, ) { return _wire__crate__api__webview_api__webview_stop(id); } late final _wire__crate__api__webview_api__webview_stopPtr = _lookup< ffi.NativeFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) > >( 'frbgen_starcitizen_doctor_wire__crate__api__webview_api__webview_stop', ); late final _wire__crate__api__webview_api__webview_stop = _wire__crate__api__webview_api__webview_stopPtr .asFunction< WireSyncRust2DartDco Function( ffi.Pointer, ) >(); void wire__crate__api__rs_process__write( int port_, int rs_pid, ffi.Pointer data, ) { return _wire__crate__api__rs_process__write(port_, rs_pid, data); } late final _wire__crate__api__rs_process__writePtr = _lookup< ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Uint32, ffi.Pointer, ) > >('frbgen_starcitizen_doctor_wire__crate__api__rs_process__write'); late final _wire__crate__api__rs_process__write = _wire__crate__api__rs_process__writePtr .asFunction< void Function(int, int, ffi.Pointer) >(); ffi.Pointer cst_new_box_autoadd_bool(bool value) { return _cst_new_box_autoadd_bool(value); } late final _cst_new_box_autoadd_boolPtr = _lookup Function(ffi.Bool)>>( 'frbgen_starcitizen_doctor_cst_new_box_autoadd_bool', ); late final _cst_new_box_autoadd_bool = _cst_new_box_autoadd_boolPtr .asFunction Function(bool)>(); ffi.Pointer cst_new_box_autoadd_rsi_launcher_asar_data() { return _cst_new_box_autoadd_rsi_launcher_asar_data(); } late final _cst_new_box_autoadd_rsi_launcher_asar_dataPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function() > >('frbgen_starcitizen_doctor_cst_new_box_autoadd_rsi_launcher_asar_data'); late final _cst_new_box_autoadd_rsi_launcher_asar_data = _cst_new_box_autoadd_rsi_launcher_asar_dataPtr .asFunction< ffi.Pointer Function() >(); ffi.Pointer cst_new_box_autoadd_u_32(int value) { return _cst_new_box_autoadd_u_32(value); } late final _cst_new_box_autoadd_u_32Ptr = _lookup Function(ffi.Uint32)>>( 'frbgen_starcitizen_doctor_cst_new_box_autoadd_u_32', ); late final _cst_new_box_autoadd_u_32 = _cst_new_box_autoadd_u_32Ptr .asFunction Function(int)>(); ffi.Pointer cst_new_box_autoadd_u_64(int value) { return _cst_new_box_autoadd_u_64(value); } late final _cst_new_box_autoadd_u_64Ptr = _lookup Function(ffi.Uint64)>>( 'frbgen_starcitizen_doctor_cst_new_box_autoadd_u_64', ); late final _cst_new_box_autoadd_u_64 = _cst_new_box_autoadd_u_64Ptr .asFunction Function(int)>(); ffi.Pointer cst_new_box_autoadd_web_view_configuration() { return _cst_new_box_autoadd_web_view_configuration(); } late final _cst_new_box_autoadd_web_view_configurationPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function() > >('frbgen_starcitizen_doctor_cst_new_box_autoadd_web_view_configuration'); late final _cst_new_box_autoadd_web_view_configuration = _cst_new_box_autoadd_web_view_configurationPtr .asFunction< ffi.Pointer Function() >(); ffi.Pointer cst_new_list_String(int len) { return _cst_new_list_String(len); } late final _cst_new_list_StringPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_String'); late final _cst_new_list_String = _cst_new_list_StringPtr .asFunction Function(int)>(); ffi.Pointer cst_new_list_download_task_info( int len, ) { return _cst_new_list_download_task_info(len); } late final _cst_new_list_download_task_infoPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_download_task_info'); late final _cst_new_list_download_task_info = _cst_new_list_download_task_infoPtr .asFunction< ffi.Pointer Function(int) >(); ffi.Pointer cst_new_list_p_4_k_file_item( int len, ) { return _cst_new_list_p_4_k_file_item(len); } late final _cst_new_list_p_4_k_file_itemPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_p_4_k_file_item'); late final _cst_new_list_p_4_k_file_item = _cst_new_list_p_4_k_file_itemPtr .asFunction Function(int)>(); ffi.Pointer cst_new_list_prim_u_8_loose( int len, ) { return _cst_new_list_prim_u_8_loose(len); } late final _cst_new_list_prim_u_8_loosePtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_prim_u_8_loose'); late final _cst_new_list_prim_u_8_loose = _cst_new_list_prim_u_8_loosePtr .asFunction Function(int)>(); ffi.Pointer cst_new_list_prim_u_8_strict( int len, ) { return _cst_new_list_prim_u_8_strict(len); } late final _cst_new_list_prim_u_8_strictPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_prim_u_8_strict'); late final _cst_new_list_prim_u_8_strict = _cst_new_list_prim_u_8_strictPtr .asFunction Function(int)>(); ffi.Pointer cst_new_list_process_info(int len) { return _cst_new_list_process_info(len); } late final _cst_new_list_process_infoPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_process_info'); late final _cst_new_list_process_info = _cst_new_list_process_infoPtr .asFunction Function(int)>(); ffi.Pointer cst_new_list_record_string_string(int len) { return _cst_new_list_record_string_string(len); } late final _cst_new_list_record_string_stringPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_record_string_string'); late final _cst_new_list_record_string_string = _cst_new_list_record_string_stringPtr .asFunction< ffi.Pointer Function(int) >(); ffi.Pointer cst_new_list_web_view_event( int len, ) { return _cst_new_list_web_view_event(len); } late final _cst_new_list_web_view_eventPtr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Int32) > >('frbgen_starcitizen_doctor_cst_new_list_web_view_event'); late final _cst_new_list_web_view_event = _cst_new_list_web_view_eventPtr .asFunction Function(int)>(); int dummy_method_to_enforce_bundling() { return _dummy_method_to_enforce_bundling(); } late final _dummy_method_to_enforce_bundlingPtr = _lookup>( 'dummy_method_to_enforce_bundling', ); late final _dummy_method_to_enforce_bundling = _dummy_method_to_enforce_bundlingPtr.asFunction(); } typedef DartPort = ffi.Int64; typedef DartDartPort = int; typedef DartPostCObjectFnTypeFunction = ffi.Bool Function(DartPort port_id, ffi.Pointer message); typedef DartDartPostCObjectFnTypeFunction = bool Function(DartDartPort port_id, ffi.Pointer message); typedef DartPostCObjectFnType = ffi.Pointer>; final class wire_cst_list_prim_u_8_strict extends ffi.Struct { external ffi.Pointer ptr; @ffi.Int32() external int len; } final class wire_cst_list_String extends ffi.Struct { external ffi.Pointer> ptr; @ffi.Int32() external int len; } final class wire_cst_list_prim_u_8_loose extends ffi.Struct { external ffi.Pointer ptr; @ffi.Int32() external int len; } final class wire_cst_record_string_string extends ffi.Struct { external ffi.Pointer field0; external ffi.Pointer field1; } final class wire_cst_list_record_string_string extends ffi.Struct { external ffi.Pointer ptr; @ffi.Int32() external int len; } final class wire_cst_rsi_launcher_asar_data extends ffi.Struct { external ffi.Pointer asar_path; external ffi.Pointer main_js_path; external ffi.Pointer main_js_content; } final class wire_cst_web_view_configuration extends ffi.Struct { external ffi.Pointer title; @ffi.Uint32() external int width; @ffi.Uint32() external int height; external ffi.Pointer user_data_folder; @ffi.Bool() external bool enable_devtools; @ffi.Bool() external bool transparent; external ffi.Pointer user_agent; } final class wire_cst_download_task_info extends ffi.Struct { @ffi.UintPtr() external int id; external ffi.Pointer name; @ffi.Int32() external int status; @ffi.Uint64() external int total_bytes; @ffi.Uint64() external int downloaded_bytes; @ffi.Uint64() external int uploaded_bytes; @ffi.Uint64() external int download_speed; @ffi.Uint64() external int upload_speed; @ffi.Double() external double progress; @ffi.UintPtr() external int num_peers; external ffi.Pointer output_folder; } final class wire_cst_list_download_task_info extends ffi.Struct { external ffi.Pointer ptr; @ffi.Int32() external int len; } final class wire_cst_p_4_k_file_item extends ffi.Struct { external ffi.Pointer name; @ffi.Bool() external bool is_directory; @ffi.Uint64() external int size; @ffi.Uint64() external int compressed_size; @ffi.Int64() external int date_modified; } final class wire_cst_list_p_4_k_file_item extends ffi.Struct { external ffi.Pointer ptr; @ffi.Int32() external int len; } final class wire_cst_process_info extends ffi.Struct { @ffi.Uint32() external int pid; external ffi.Pointer name; external ffi.Pointer path; } final class wire_cst_list_process_info extends ffi.Struct { external ffi.Pointer ptr; @ffi.Int32() external int len; } final class wire_cst_WebViewEvent_NavigationStarted extends ffi.Struct { external ffi.Pointer url; } final class wire_cst_WebViewEvent_NavigationCompleted extends ffi.Struct { external ffi.Pointer url; } final class wire_cst_WebViewEvent_TitleChanged extends ffi.Struct { external ffi.Pointer title; } final class wire_cst_WebViewEvent_WebMessage extends ffi.Struct { external ffi.Pointer message; } final class wire_cst_WebViewEvent_Error extends ffi.Struct { external ffi.Pointer message; } final class WebViewEventKind extends ffi.Union { external wire_cst_WebViewEvent_NavigationStarted NavigationStarted; external wire_cst_WebViewEvent_NavigationCompleted NavigationCompleted; external wire_cst_WebViewEvent_TitleChanged TitleChanged; external wire_cst_WebViewEvent_WebMessage WebMessage; external wire_cst_WebViewEvent_Error Error; } final class wire_cst_web_view_event extends ffi.Struct { @ffi.Int32() external int tag; external WebViewEventKind kind; } final class wire_cst_list_web_view_event extends ffi.Struct { external ffi.Pointer ptr; @ffi.Int32() external int len; } final class wire_cst_download_global_stat extends ffi.Struct { @ffi.Uint64() external int download_speed; @ffi.Uint64() external int upload_speed; @ffi.UintPtr() external int num_active; @ffi.UintPtr() external int num_waiting; } final class wire_cst_rs_process_stream_data extends ffi.Struct { @ffi.Int32() external int data_type; external ffi.Pointer data; @ffi.Uint32() external int rs_pid; } final class wire_cst_rust_http_response extends ffi.Struct { @ffi.Uint16() external int status_code; external ffi.Pointer headers; external ffi.Pointer url; external ffi.Pointer content_length; @ffi.Int32() external int version; external ffi.Pointer remote_addr; external ffi.Pointer data; } final class wire_cst_system_info extends ffi.Struct { external ffi.Pointer os_name; external ffi.Pointer cpu_name; external ffi.Pointer gpu_info; external ffi.Pointer disk_info; } final class wire_cst_web_view_navigation_state extends ffi.Struct { external ffi.Pointer url; external ffi.Pointer title; @ffi.Bool() external bool can_go_back; @ffi.Bool() external bool can_go_forward; @ffi.Bool() external bool is_loading; }