Вопрос Исключение по адресу памяти 0x0137C670 при force update

Статус
В этой теме нельзя размещать новые ответы.
Забаненный
Статус
Оффлайн
Регистрация
18 Июл 2020
Сообщения
905
Реакции[?]
200
Поинты[?]
1K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
1657384184395.png

force_update():
static auto fn = reinterpret_cast<std::int32_t(__thiscall*)(void*, std::int32_t)>(utilities::pattern_scan(xorstr_("client.dll"), xorstr_("55 8B EC 51 53 56 8B 75 08 8B D9 57 6B FE 2C")));

    auto element = find_hud_element<std::uintptr_t*>((xorstr_("CCSGO_HudWeaponSelection")));

    auto hud_weapons = reinterpret_cast<hud_weapons_t*>(std::uintptr_t(element) - 0x28);
    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 = fn(hud_weapons, i);

    interfaces::clientstate->full_update();

interfaces::clientstate->full_update():
void full_update() {
        delta_tick = -1;
    }
Заранее спасибо за помощь
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу