//
// sub_1000D9400 from 0x1000d9400 to 0x1000d9454 (84 bytes)
//
// 1 xrefs:
// > sub_1000D93CC @ 0x1000d93e0
//
// 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:58 +0000
//
void __fastcall sub_1000D9400(__int64 a1, void **a2)
{
void **v2; // x9
void **v5; // x8
v2 = *(void ***)(a1 + 16);
if ( v2 != a2 )
{
do
{
v5 = v2 - 4;
*(_QWORD *)(a1 + 16) = v2 - 4;
if ( *((char *)v2 - 9) < 0 )
{
operator delete(*v5);
v5 = *(void ***)(a1 + 16);
}
v2 = v5;
}
while ( v5 != a2 );
}
}