//
// sub_1000D9048 from 0x1000d9048 to 0x1000d9098 (80 bytes)
//
// 3 xrefs:
// > sub_1000D902C @ 0x1000d903c
// > sub_1001E7A38 @ 0x1001e7a48
// > sub_1001ED99C @ 0x1001ed9ac
//
// 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_1000D9048(__int64 a1, void **__p)
{
if ( *(_BYTE *)(a1 + 8) == 1 )
{
if ( *((char *)__p + 55) < 0 )
operator delete(__p[4]);
}
else if ( !__p )
{
return;
}
operator delete(__p);
}