//
// 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 (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:54:06 +0000
//
__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;
}