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

12 lines
301 B
C++

#include "Engine/Source/Base/Clamp.h"
// VERIFY: c8057e49 manual
// OFFSET: 0x005C59F0
int32_t Clamp(int32_t value, int32_t low, int32_t high) {
if (static_cast<uint32_t>(value - low) > static_cast<uint32_t>(high - low)) {
value = value - low < 0 ? low : high;
}
return value;
}