//
// sub_1800B5F60 from 0x1800b5f60 to 0x1800b5f70 (16 bytes)
//
// 1 xrefs:
// > ??> @ 0x18016e790
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1800B5F60(__int64 a1, unsigned int a2)
{
if ( a2 > *(_DWORD *)(a1 + 32) )
a2 = *(_DWORD *)(a1 + 32);
*(_DWORD *)(a1 + 496) = a2;
return 0;
}