il2cpp_runtime_unhandled_exception_policy_set(IL2CPP_UNHANDLED_POLICY_LEGACY); il2cpp_set_commandline_arguments(v5, v4, 0i64); v8 = v7->m_data; if ( !v7->m_data ) v8 = &v7->8; il2cpp_set_config_dir(v8); v9 = v6-
DEFINE_IL2CPP_FUN(void, il2cpp_set_data_dir, (constchar*data_path)); DEFINE_IL2CPP_FUN(void, il2cpp_set_temp_dir, (constchar*temp_path)); DEFINE_IL2CPP_FUN(void, il2cpp_set_commandline_arguments, (intargc,constchar*constargv[],constchar* basedir)); DEFINE_IL2CPP_FUN(void, il2cpp...
std::string resourcesDirectory=utils::PathUtils::Combine(utils::Runtime::GetDataDir(), utils::StringView<char>("Metadata")); std::string resourceFilePath=utils::PathUtils::Combine(resourcesDirectory, utils::StringView<char>(fileName, strlen(fileName))); interror=0; os::FileHandle*handle=os...
char* use_data_dir(const char* data_path, const char* apk_path); void il2cpp_init(const char *domain_name); void il2cpp_init_utf16(); void il2cpp_shutdown(); void il2cpp_set_config_dir(const char *config_path); void il2cpp_set_data_dir(const char *data_path); void il2cpp_se...
il2cpp_runtime_unhandled_exception_policy_set(IL2CPP_UNHANDLED_POLICY_LEGACY); il2cpp_set_commandline_arguments(v5, v4, 0i64); v8 = v7->m_data; if ( !v7->m_data ) v8 = &v7->8; il2cpp_set_config_dir(v8); v9 = v6->m_data; if ( !v6->m_data ) v9 = &v6->8; il2cpp...
//4. tell libboostrap.so to use the right patch after reboot string error = Bootstrap.use_data_dir(runtimePatchPath); if (!string.IsNullOrEmpty(error)) { messageBox.Show("use failed. path:" + zipLibil2cppPath + ", error:" + error, "ok", () => { messageBox.Close(); }); yiel...
exception_policy_set(IL2CPP_UNHANDLED_POLICY_LEGACY); il2cpp_set_commandline_arguments(v5, v4, 0i64); v8 = v7->m_data; if ( !v7->m_data ) v8 = &v7->8; il2cpp_set_config_dir(v8); v9 = v6->m_data; if ( !v6->m_data ) v9 = &v6->8; il2cpp_set_data_dir(v9); v...
} Il2CppGlobalMetadataHeader;typedefstructIl2CppStringLiteralInfoDefinition{uint32 Length;uint32 Offset;} Il2CppStringLiteralInfoDefinition;typedefstruct(uint infoSize, uint stringLiteralDataOffset, Il2CppStringLiteralInfoDefinition StringLiteralInfos[]){typedefstruct(uint stringLiteralDataOffset, uint index, ...
string error = Bootstrap.use_data_dir(runtimePatchPath); if (!string.IsNullOrEmpty(error)) { messageBox.Show("use failed. path:" + zipLibil2cppPath + ", error:" + error, "ok", () => { messageBox.Close(); }); yield break; ...
_exception_policy_set(IL2CPP_UNHANDLED_POLICY_LEGACY); il2cpp_set_commandline_arguments(argc, argv, NULL); il2cpp_set_config_dir(monoConfigPath.c_str()); il2cpp_set_data_dir(dataPath.c_str()); //===下面这行是新添加的=== il2cpp_set_temp_dir(GetPersistentDataPathApplicationSpecific()...