Git Product home page Git Product logo

Comments (5)

sneakyevil avatar sneakyevil commented on May 24, 2024

This project is mainly done for x64 (64-bit) applications.
Simply attach debugger and check what is happening.

from il2cpp_resolver.

Alluseri avatar Alluseri commented on May 24, 2024

That begs the question: are you even using it properly? Simply C+P'ing the Quick Example most likely won't work for whatever game you're trying to hack.

from il2cpp_resolver.

flymoon1981 avatar flymoon1981 commented on May 24, 2024

First of all, thank you for your guidance! Maybe I used it incorrectly! It is found that the program crashes after running il2cpp:: class:: find,I'll try again

from il2cpp_resolver.

flymoon1981 avatar flymoon1981 commented on May 24, 2024

IL2CPP::Initialize();
// Obtain list
Unity::il2cppArrayUnity::CGameObject** m_pObjects = Unity::Object::FindObjectsOfTypeUnity::CGameObject(UNITY_GAMEOBJECT_CLASS);

// Looping through list
for (uintptr_t u = 0U; m_pObjects->m_uMaxLength > u; ++u)
{
Unity::CGameObject* m_pObject = m_pObjects->m_pValues[u];
if (!m_pObject) continue; // Just in-case

// Obtaining object name and then converting it to std::string
std::string m_sObjectName = m_pObject->GetName()->ToString();

}

When I run this code, the program crashes. Now I don't know why

from il2cpp_resolver.

sneakyevil avatar sneakyevil commented on May 24, 2024

You're trying to run il2cpp functions outside il2cpp thread, read docs and register your own OnUpdate function and run your stuff there.

from il2cpp_resolver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.