👾
IL2CPP Resolver
  • Overview
  • 📦GameObject
    • Find with substring
    • Obtaining list
    • Obtaining Component list
  • 🛠️Utils
    • Usage of field offsets
    • Fetching & filtering classes
    • Fetching class method
  • 🔄Callback
    • OnUpdate
Powered by GitBook
On this page
  • Via class name:
  • Via class pointer:
  • Via fetched class:

Was this helpful?

  1. Utils

Fetching class method

PreviousFetching & filtering classesNextOnUpdate

Last updated 3 years ago

Was this helpful?

Via class name:

void* m_pMethod = IL2CPP::Class::Utils::GetMethodPointer("ClassName", "MethodName");

Via class pointer:

void* m_pClass = IL2CPP::Class::Find("ClassName");
void* m_pMethod = IL2CPP::Class::Utils::GetMethodPointer(m_pClass, "MethodName")

Via fetched class:

void* m_pMethod = IL2CPP::Class::Utils::FilterClassToMethodPointer(&m_vClasses, "MethodName");
🛠️
Fetching & filtering classes