//
// sub_100140D68 from 0x100140d68 to 0x100140db8 (80 bytes)
//
// 3 xrefs:
// > sub_100140D20 @ 0x100140d50
// > sub_100141AC8 @ 0x100141ae0
// > sub_100141B78 @ 0x100141b88
//
// 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
//
void __fastcall sub_100140D68(__int64 a1, void **__p)
{
if ( *(_BYTE *)(a1 + 8) == 1 )
{
if ( *((char *)__p + 63) < 0 )
operator delete(__p[5]);
}
else if ( !__p )
{
return;
}
operator delete(__p);
}