//
// sub_1003EA5C0 from 0x1003ea5c0 to 0x1003ea609 (73 bytes)
//
// 2 xrefs:
// > ??> @ 0x1003eaaa3
// > ??> @ 0x1003eb1f3
//
// 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_1003EA5C0(__int64 a1, void **a2)
{
void **v2; // rbx
void **v3; // r14
if ( a2 )
{
v2 = a2;
do
{
v3 = (void **)*v2;
if ( ((_BYTE)v2[3] & 1) != 0 )
operator delete(v2[5]);
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
}