//
// sub_1800BF6F0 from 0x1800bf6f0 to 0x1800bf73b (75 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016c0c8
// > ??> @ 0x1801fd98c
//
// 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_1800BF6F0(__int64 a1)
{
if ( _InterlockedExchangeAdd((volatile signed __int32 *)(a1 + 16), 0xFFFFFFFF) != 1 )
return 2989;
sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)a1);
return 0;
}