//
// sub_1001BD00C from 0x1001bd00c to 0x1001bd05c (80 bytes)
//
// 5 xrefs:
// > sub_1001BCFC4 @ 0x1001bcff4
// > sub_1001BDCD0 @ 0x1001bdce8
// > sub_1001BDD80 @ 0x1001bdd90
// > sub_1001E7544 @ 0x1001e755c
// > sub_1001E75F0 @ 0x1001e7600
//
// This function is hookable on this platform (idp: arm, 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 11:00:13 +0000
//
void __fastcall sub_1001BD00C(__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);
}