//
// sub_1800B43A0 from 0x1800b43a0 to 0x1800b43b0 (16 bytes)
//
// 1 xrefs:
// > ??> @ 0x180167168
//
// 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_1800B43A0(__int64 a1, unsigned int a2)
{
if ( a2 > *(_DWORD *)(a1 + 36) )
a2 = *(_DWORD *)(a1 + 36);
*(_DWORD *)(a1 + 496) = a2;
return 0;
}