Solved How can i call a function while i'm modifying libil2cpp?

Status
Not open for further replies.

HolaAmigos27

Platinian
Oct 9, 2021
28
4
3
29
Moscow
i know but for some reason i cant make new post.its says my account must 5 clear blablabla im forget about pop up show when im try create new post sir
Code:
int (*CurCamp)(void *instance);

float (*old_AtkEnhance)(void *instance, int property);
float AtkEnhance(void *instance, int property) {
    if (instance != NULL) {
        int variable = (int) CurCamp(instance);
        if (variable == 1 && atkEnhance > 1 && (property == 21 || property == 120 || property == 118 || property == 100 || property == 13 || property == 12)) {
            return (float) atkEnhance;
        }
    }
    return old_AtkEnhance(instance, property);
}
 
Status
Not open for further replies.