//
// sub_1800C7CE0 from 0x1800c7ce0 to 0x1800c7cfb (27 bytes)
//
// 4 xrefs:
// > sub_1800C8EC0 @ 0x1800c8fba
// > sub_1800C9F10 @ 0x1800c9f54
// > ??> @ 0x18016bb08
// > ??> @ 0x18016bbe8
//
// 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_1800C7CE0(__int64 a1, char a2)
{
unsigned int v2; // r8d
v2 = *(_DWORD *)(a1 + 60) | 0x20;
if ( !a2 )
v2 = *(_DWORD *)(a1 + 60) & 0xFFFFFFDF;
*(_DWORD *)(a1 + 60) = v2;
return 0;
}