//
// sub_1000D8E2C from 0x1000d8e2c to 0x1000d8e78 (76 bytes)
//
// 4 xrefs:
// > sub_1000D8DEC @ 0x1000d8e08
// > LocalLevelManager::saveFinished @ 0x10026089c
// > sub_100261C14 @ 0x100261c2c
// > GameManager::saveFinished @ 0x1003baf5c
//
// 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_1000D8E2C(void ***a1)
{
void **v2; // x20
void **v3; // x21
int v4; // w8
v2 = *a1;
v3 = a1[1];
while ( v3 != v2 )
{
v4 = *((char *)v3 - 9);
v3 -= 4;
if ( v4 < 0 )
operator delete(*v3);
}
a1[1] = v2;
}