Files
SatyandClaude Opus 5.5 27de58d41e Dissolve _Triage into the source tree
- move triage code to the folders of its binary neighbours (AreaList,
  movement packet types, CClientObjCreate, CWOWClientStatus, SHA1,
  Clamp, EmergencyMem, MippedImg, WowMouse, ...)
- merge HMAC template, OnGxRestartClearWorld and TIMESTAMPSTRUCT into
  their natural headers
- delete superseded duplicates and unk-only placeholders
- tools: drop Triage library, fix Streaming stub signatures, remove
  stubs now provided by BlizzardCore, MapViewer s_liquidTypeId

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-03 18:09:53 +02:00

25 lines
477 B
C++

#include "Engine/Source/Gx/CGxDevice/EmergencyMem.h"
// INLINED
EmergencyMem::EmergencyMem() : m_lock(false) {
}
// VERIFY: 81a07d3f auto
// OFFSET: 0x00682C40
void EmergencyMem::Unlock() {
this->m_lock = false;
}
// VERIFY: 047bfe60 manual
// OFFSET: 0x00685E90
void* EmergencyMem::Lock(uint32_t size) {
if (this->m_data.Count() < size) {
this->m_data.SetCount(size);
}
void* data = this->m_data.Ptr();
this->m_lock = true;
return data;
}