richardsonloko Posted June 4, 2023 Posted June 4, 2023 I have this function in c++ how to converte .lua I need change parameter ammo = 9999 void (*old_bullets)(void *instance, int ammo); void bullets(void *instance, int ammo) { if (instance != NULL && hack1) { ammo = 9999; } return old_bullets(instance, ammo); } HOOK_LIB("libFileB.so", "0x123456", bullets, old_bullets);
Question
richardsonloko
I have this function in c++ how to converte .lua
I need change parameter ammo = 9999
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.