//
// sub_1000D9348 from 0x1000d9348 to 0x1000d9398 (80 bytes)
//
// 10 xrefs:
// > sub_1000D932C @ 0x1000d933c
// > sub_1000D9488 @ 0x1000d94b8
// > sub_1001A33B8 @ 0x1001a33d0
// > sub_1001A34AC @ 0x1001a34bc
// > sub_1001A3700 @ 0x1001a3710
// > sub_1001BBEA4 @ 0x1001bbebc
// > sub_1001BBF34 @ 0x1001bbf44
// > sub_1001BC164 @ 0x1001bc17c
// > sub_1001BC1F4 @ 0x1001bc204
// > sub_1001BCB6C @ 0x1001bcb7c
//
// 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 10:58:57 +0000
//
void __fastcall sub_1000D9348(__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);
}