//
// sub_1007CEEE0 from 0x1007ceee0 to 0x1007cef35 (85 bytes)
//
// 31 xrefs:
// > ??> @ 0x1007743fb
// > ??> @ 0x100774439
// > ??> @ 0x100774477
// > ??> @ 0x1007744b5
// > ??> @ 0x1007744f3
// > ??> @ 0x100774531
// > ??> @ 0x10077456f
// > ??> @ 0x1007745ad
// > ??> @ 0x1007745eb
// > ??> @ 0x100774629
// > ??> @ 0x100774667
// > ??> @ 0x1007746a5
// > ??> @ 0x1007746e3
// > ??> @ 0x100774721
// > ??> @ 0x10077475f
// > ??> @ 0x10077479d
// > ??> @ 0x100776037
// > ??> @ 0x100776075
// > ??> @ 0x100776133
// > ??> @ 0x100779407
// > ??> @ 0x1007794c5
// > ??> @ 0x100779a22
// > ??> @ 0x100779b0a
// > ??> @ 0x100779bd1
// > ??> @ 0x100779c0f
// > ??> @ 0x100779cf7
// > ??> @ 0x100779d35
// > ??> @ 0x100779d73
// > ??> @ 0x100779db1
// > ??> @ 0x100779def
// > ??> @ 0x100779ed4
//
// 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
//
bool __fastcall sub_1007CEEE0(__int64 a1, __int64 a2, __int64 a3, _BYTE *a4)
{
if ( (*(_BYTE *)a1 & 1) != 0 )
operator delete(*(void **)(a1 + 16));
if ( (*(_BYTE *)a2 & 1) != 0 )
operator delete(*(void **)(a2 + 16));
if ( (*(_BYTE *)a3 & 1) != 0 )
operator delete(*(void **)(a3 + 16));
return (*a4 & 1) == 0;
}