👑Mr.mướp👑
الذهاب إلى القناة على Telegram
861
المشتركون
+724 ساعات
+337 أيام
+25130 أيام
أرشيف المشاركات
861
void InvisiblePlie() {
if (!RealInvisible) return;
void* match = Curent_Match();
if (!match) return;
void* Local_Player = GetLocalPlayer(match);
if (!Local_Player) return;
if (!resolvedFootball) {
orig_SendFootball = (void(*)(void*))Il2CppGetMethodOffset(
OBFUSCATE("Assembly-CSharp.dll"),
OBFUSCATE("COW.GamePlay"),
OBFUSCATE("PlayerNetwork"),
OBFUSCATE("SendChangeToGBFootBall"), 0
);
orig_CancelFootball = (void(*)(void*))Il2CppGetMethodOffset(
OBFUSCATE("Assembly-CSharp.dll"),
OBFUSCATE("COW.GamePlay"),
OBFUSCATE("PlayerNetwork"),
OBFUSCATE("SendCancelGBFootBall"), 0
);
resolvedFootball = true;
}
static bool wasCancelled = false;
if (RealInvisible) {
wasCancelled = false;
if (orig_SendFootball) orig_SendFootball(Local_Player);
} else {
if (!wasCancelled) {
if (orig_CancelFootball) orig_CancelFootball(Local_Player);
wasCancelled = true;
}
}
}
17 أغسطس, 22:31
