- SPIRIT IP-MR voice codec (Engine/Source/ComSat/SPIRIT): all ~130 functions decompiled from 12340 (Intel C++ code, ported as plain C; rsqrtss sites use _mm_rsqrt_ss). docs/0x0089F580.md. - ComSatSoundCODEC state/table buffers sized from sizeof (x64 state is larger than the Win32 13504 bytes). - Blizzard::Using::Use and the per-module using statics. - ComSatClient_Init, ComSatThread::Init, ComSatClientCallback. - SteelSeries WowMouse / HidManagerImpl (Win32 + Win64), docs/0x008C3E40.md. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
36 lines
855 B
C++
36 lines
855 B
C++
#include "Engine/Source/SteelseriesMouse/WowMouse.h"
|
|
#include "Engine/Source/Os/Gui.h"
|
|
#include "Engine/Source/SteelseriesMouse/HidManager.h"
|
|
|
|
// VERIFY: f6868da0 manual
|
|
// OFFSET: 0x00635DD0
|
|
SteelseriesMouse::~SteelseriesMouse() {
|
|
}
|
|
|
|
// VERIFY: c632886d manual
|
|
// OFFSET: 0x008C2F50
|
|
WowMouse::WowMouse() {
|
|
void* window = OsGuiGetWindow(0);
|
|
|
|
if (window) {
|
|
this->m_hidManager = HidManager::Create();
|
|
this->m_hidManager->SetWindow(window);
|
|
this->m_hidManager->EnumerateDevices();
|
|
}
|
|
}
|
|
|
|
// VERIFY: 39a94fcf manual
|
|
// OFFSET: [0x008C2ED0, 0x008C2FC0]
|
|
WowMouse::~WowMouse() {
|
|
if (this->m_hidManager) {
|
|
delete this->m_hidManager;
|
|
this->m_hidManager = nullptr;
|
|
}
|
|
}
|
|
|
|
// VERIFY: c463f2f6 auto
|
|
// OFFSET: 0x008C2F30
|
|
int32_t WowMouse::IsConnected() {
|
|
return this->m_hidManager->GetDeviceCount() != 0;
|
|
}
|