//
// sub_BD1B8 from 0xbd1b8 to 0xbd1c8 (16 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_BD1B8(int a1, unsigned int a2)
{
if ( *(_DWORD *)(a1 + 16) < a2 )
a2 = *(_DWORD *)(a1 + 16);
*(_DWORD *)(a1 + 420) = a2;
return 0;
}