//
// sub_10013F35C from 0x10013f35c to 0x10013f3ac (80 bytes)
//
// 10 xrefs:
// > sub_10013F240 @ 0x10013f258
// > sub_10013F2D0 @ 0x10013f2e0
// > sub_10013F550 @ 0x10013f568
// > sub_10013F5E0 @ 0x10013f5f0
// > sub_10013FBB8 @ 0x10013fbc8
// > sub_10013FE2C @ 0x10013fe44
// > sub_10013FF20 @ 0x10013ff30
// > sub_10014060C @ 0x10014061c
// > sub_100140A98 @ 0x100140ac8
// > sub_100140D04 @ 0x100140d14
//
// 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_10013F35C(__int64 a1, void **__p)
{
if ( *(_BYTE *)(a1 + 8) == 1 )
{
if ( *((char *)__p + 47) < 0 )
operator delete(__p[3]);
}
else if ( !__p )
{
return;
}
operator delete(__p);
}