Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int EquipmentHook(unsigned short playerIndex, unsigned short equipmentIndex)
- {
- Utils::DebugLog::Instance().Log("Debug", "Equip hook, playeridx: " + std::to_string(playerIndex) + ", equipIDX: " + std::to_string(equipmentIndex));
- typedef int(__thiscall* RunEventPtr)(unsigned short playerIndex, unsigned short equipmentIndex);
- auto RunEvent = reinterpret_cast<RunEventPtr>(0x5666B0);
- return RunEvent(playerIndex, equipmentIndex); // sub_82437A08
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement