Help! System.Void SkillCD(System.Boolean value) HELP

AmateurHacker

Platinian
No matter what I do, I cannot change the system.bool value to true. Could you please write a sample code?





1753451913984.png
1753451922477.png
 
Solution
If it's static:
C++:
static void (*o_SkillCD)(bool value);
static void SkillCD(bool value) {
        LOGI("Called Skill Cooldown");
        return o_SkillCD(  true );
}

If not:

C++:
void (*o_SkillCD)(void* _this, bool value);
void SkillCD(void* _this, bool value) {
    if (_this != nullptr) {
        LOGI("Called Skill Cooldown");
        return o_SkillCD( _this , true );
    }
}
If it's static:
C++:
static void (*o_SkillCD)(bool value);
static void SkillCD(bool value) {
        LOGI("Called Skill Cooldown");
        return o_SkillCD(  true );
}

If not:

C++:
void (*o_SkillCD)(void* _this, bool value);
void SkillCD(void* _this, bool value) {
    if (_this != nullptr) {
        LOGI("Called Skill Cooldown");
        return o_SkillCD( _this , true );
    }
}
 
Solution
Back
Top Bottom