Files
SatyandClaude Opus 5.5 07d00b0ce8 Port SPIRIT IP-MR codec, Using framework, ComSat client init, SteelSeries HID
- 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]>
2026-10-04 06:19:53 +02:00

52 lines
1.6 KiB
C++

#include "Engine/Source/ComSat/ComSatInterface.h"
#include "Engine/Source/ComSat/ComSatManager.h"
#include "Engine/Source/ComSat/ComSatNetwork.h"
#include "Engine/Source/ComSat/ComSatSoundManager.h"
#include <new>
// STATIC: 0x00D43988
static ComSat::Sound::Manager* s_soundManager;
// STATIC: 0x00D4398C
static ComSat::Network::Manager* s_networkManager;
// INLINED
ComSat::Allocator::~Allocator() {
}
// VERIFY: bb2bf7b6 manual
// OFFSET: 0x007DC350
ComSat::Interface::Callback::~Callback() {
}
// VERIFY: 452c7806 auto
// OFFSET: 0x00880B30
void ComSat::Interface::Destroy(ComSat::Interface* comsat, ComSat::Allocator& allocator) {
if (comsat) {
comsat->~Interface();
allocator.Free(comsat);
}
if (s_soundManager) {
ComSat::Sound::Manager* soundManager = s_soundManager;
soundManager->~Manager();
allocator.Free(soundManager);
s_soundManager = nullptr;
}
if (s_networkManager) {
ComSat::Network::Manager* networkManager = s_networkManager;
networkManager->~Manager();
allocator.Free(networkManager);
s_networkManager = nullptr;
}
}
// VERIFY: 5430b1ec manual
// OFFSET: 0x00880F30
ComSat::Interface* ComSat::Interface::Create(const ComSat::Initialization& init, ComSat::Allocator& allocator) {
s_soundManager = new (allocator.Alloc(sizeof(ComSat::Sound::Manager))) ComSat::Sound::Manager(init, allocator);
s_networkManager = new (allocator.Alloc(sizeof(ComSat::Network::Manager))) ComSat::Network::Manager(init, allocator);
return new (allocator.Alloc(sizeof(ComSat::Manager))) ComSat::Manager(*s_soundManager, *s_networkManager, init, allocator);
}