Help! Help in hooking

HekaHeka709

Solid & Active Platinian
Original poster
Dec 29, 2021
57
9
8
20
Phillipines
I'm losing my mind and still can't figure out how to hook this can someone help me?
I tried hooking this

public ArrayList AvailableGuns() {}

By many methods one is

monoArray<void *> *(*GunArr)();
monoArray<void *> *_GunArr)() {
If (instance!= NULL) {
//HOOK GOES HERE
}
return GunArr(instance);
}

But not working also tried two asteris <void **> and

void *(*GunArr)(void *instance);
void _GunArr(void *instance) {

if (instance != NULL) {
//HOOK GOES HERE
}
return GunArr(instance);
}

But I'm sure it's the right one
All not work please send help