//
// sub_1800C7D40 from 0x1800c7d40 to 0x1800c7d6e (46 bytes)
//
// 5 xrefs:
// > sub_1800C76F0 @ 0x1800c772a
// > sub_1800C9370 @ 0x1800c9534
// > sub_1800CA520 @ 0x1800ca5dd
// > ??> @ 0x18016bb00
// > ??> @ 0x1801fe130
//
// 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_1800C7D40(__int64 *a1)
{
__int64 v1; // rax
__int64 v2; // rax
v1 = a1[2];
if ( v1 )
--*(_DWORD *)(v1 + 4);
*((_DWORD *)a1 + 15) &= 0xFFFDFE8F;
v2 = *a1;
*((_DWORD *)a1 + 15) |= 0x80u;
(*(void (**)(void))(v2 + 200))();
return 0;
}