Skip to content

Commit

Permalink
Since we are on x64 we don't have to specify calling conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
tashcan committed Mar 26, 2024
1 parent d918517 commit a7efe2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mods/src/patches/parts/testing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
{
Expand Down
2 changes: 1 addition & 1 deletion mods/src/patches/patches.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a7efe2a

Please sign in to comment.