c++ csgo skinchanger update hatası

EmirYG.

80+
Katılım
21 Aralık 2020
Mesajlar
75
Reaksiyon skoru
21
if (ImGui::Button("Update(Crash)")) { static auto clear_hud_weapon_icon_fn = reinterpret_cast<std::int32_t(__thiscall*)(void*, std::int32_t)>( Utils::PatternScan(GetModuleHandleA("client.dll"), "55 8B EC 51 53 56 8B 75 08 8B D9 57 6B FE 2C 89 5D FC")); auto element = FindHudElement<std::uintptr_t*>("CCSGO_HudWeaponSelection"); if(!element) return; auto hud_weapons = reinterpret_cast<hud_weapons_t*>(std::uintptr_t(element) - 0xa0); if (hud_weapons == nullptr) return; if (!*hud_weapons->get_weapon_count()) return; for (std::int32_t i = 0; i < *hud_weapons->get_weapon_count(); i++) i = clear_hud_weapon_icon_fn(hud_weapons, i); typedef void(*ForceUpdate) (void); static ForceUpdate FullUpdate = (ForceUpdate)Utils::PatternScan(GetModuleHandleA("engine.dll"), "A1 ? ? ? ? B9 ? ? ? ? 56 FF 50 14 8B 34 85"); FullUpdate(); g_ClientState->ForceFullUpdate(); }

bu kodu çalıştırınca crash veriyor signatureleri güncelleyebilecek var mı?
 
Geri
Top