Help! I need help with WorldToScreenPoint, it crashes the game

domi0x1306

Rookie
im trying to make an esp for a game (T3 Arena), i've got most of the work done except for WorldToScreenPoint function as soon as it gets called the game crash.

the function in the dump.cs (so you'd know my offset is right).
View attachment 828865

my declaration of the func :
Vector3 (*WorldToScreenPoint)(void *instance, Vector3) = (Vector3(*)(void*, Vector3))(libil2cpp_base + 0x4b1acb0);
how i use it:
Vector3 isPlayerLocation = WorldToScreenPoint(Cam, PlayerPos);

any help would be appreciated and thanks in advance.
 

Attachments

  • Capture d'écran 2025-10-12 225435.png
    Capture d'écran 2025-10-12 225435.png
    99.7 KB · Views: 20
Back
Top Bottom