Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Class/MethodPointer & Callback Initializtion crashes #57

Open
evoredact opened this issue Aug 11, 2024 · 1 comment
Open

Getting Class/MethodPointer & Callback Initializtion crashes #57

evoredact opened this issue Aug 11, 2024 · 1 comment

Comments

@evoredact
Copy link

evoredact commented Aug 11, 2024

What is the game you are using with IL2CPP Resolver?

706990

Details:

I've Initialized IL2CPP through IL2CPP::Initialize(true) it were successful. For some reason IL2CPP::Callback::Initialize() crashes game, same with when I'm trying to get method pointer (uintptr_t)IL2CPP::Class::Utils::GetMethodPointer("PLH", "Add") also I guess it happens for all the functions.

I used Pre-HeaderOnly Version, cause new one not compiling on my project for some reason it tells functions or something like that already exist in project.

Project: .DLL
Inject program: System Informer (launched with admin rights)

Errors from: output_log.txt (AppData\LocalLow\Skullcap Studios\BLOCKPOST)

========== OUTPUTTING STACK TRACE ==================

0x60183573 (GameAssembly) il2cpp_domain_get_assemblies
0x6241C9B3 (AssemblyClient) [D:\LangProjects\C++\AssemblyClient\external\Il2cpp_Resolver\Functions\Domain.hpp:14] IL2CPP::Domain::GetAssemblies 
0x6241C6E3 (AssemblyClient) [D:\LangProjects\C++\AssemblyClient\external\Il2cpp_Resolver\Functions\Class.cpp:72] IL2CPP::Class::Find 
0x6241CD2F (AssemblyClient) [D:\LangProjects\C++\AssemblyClient\external\Il2cpp_Resolver\Functions\Class.cpp:184] IL2CPP::Class::Utils::GetMethodPointer 
0x62585817 (AssemblyClient) [D:\LangProjects\C++\AssemblyClient\src\sdk.h:46] Offsets::RegisterOffsets 
0x6258559D (AssemblyClient) [D:\LangProjects\C++\AssemblyClient\src\main.cpp:160] MainThread 
0x7665FCC9 (KERNEL32) BaseThreadInitThunk
0x777C80CE (ntdll) RtlGetAppContainerNamedObjectPath
0x777C809E (ntdll) RtlGetAppContainerNamedObjectPath

========== END OF STACKTRACE ===========

crash.dmp

Exception code: 0xc0000005
The thread tried to read from or write to a virtual address for which it does not have the appropriate access.

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

@extremeblackliu
Copy link
Collaborator

cannot help with no code provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants