Solved hoking void public long

Status
Not open for further replies.

power2020202020

Solid & Active Platinian
Original poster
Nov 3, 2022
58
15
8
34
brazil
Does anyone know how to do public long hoking? I know about int, float, bool and void, I didn't find any tutorials
 

libModz

Awesome Active Platinian
Jun 2, 2022
163
29
28
UK
Afaik it's almost the same as int hooking but I could be wrong...


C++:
long (*old_Example)(void *instance);
long Example(void *instance) {
    if(instance!=nullptr) {
        return 9999L;
    }
    return old_Example(instance);
}
 
  • Like
Reactions: power2020202020

CodeJutsu

Platinian
Oct 1, 2023
47
24
8
30
I've seen a lot of threads by you, the level you show for modding is lower than 0, you need at least to go and see tutorials about basic programming before jumping into modding and hooking...what you've asked now is literally just a 101 basic programming variables and return types
 

DaRealPanDa

Co-Administrator
Staff member
Supporting-Team
Global Moderator
Social Media
Mar 12, 2018
6,771
15,627
2,120
27
Skyrim
Thread will be set to "solved" and closed.
When you're not happy with that just send me a message and i will re-open the thread for you.

Thanks.
 
Status
Not open for further replies.