From a7efe2a84211ddff174a3c4e0046eb28a4cb1775 Mon Sep 17 00:00:00 2001 From: Tashcan Date: Tue, 26 Mar 2024 12:13:38 -0700 Subject: [PATCH] Since we are on x64 we don't have to specify calling conventions --- mods/src/patches/parts/testing.cc | 4 ++-- mods/src/patches/patches.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/src/patches/parts/testing.cc b/mods/src/patches/parts/testing.cc index d0f2383..8e0e0a9 100644 --- a/mods/src/patches/parts/testing.cc +++ b/mods/src/patches/parts/testing.cc @@ -261,8 +261,8 @@ void remove_from_tracking_recursive(Il2CppClass* klass, void* _this) #undef GET_CLASS } -void (*GC_register_finalizer_inner)(unsigned __int64 obj, void(__fastcall* fn)(void*, void*), void* cd, - void(__fastcall** ofn)(void*, void*), void** ocd) = nullptr; +void (*GC_register_finalizer_inner)(unsigned __int64 obj, void(* fn)(void*, void*), void* cd, + void(** ofn)(void*, void*), void** ocd) = nullptr; void track_finalizer(void* _this, void*) { diff --git a/mods/src/patches/patches.cc b/mods/src/patches/patches.cc index 564bf1e..3ee2299 100644 --- a/mods/src/patches/patches.cc +++ b/mods/src/patches/patches.cc @@ -36,7 +36,7 @@ void InstallResolutionListFix(); void InstallTempCrashFixes(); void InstallSyncPatches(); -__int64 __fastcall il2cpp_init_hook(auto original, const char* domain_name) +__int64 il2cpp_init_hook(auto original, const char* domain_name) { printf("il2cpp_init_hook(%s)\n", domain_name);