//
// sub_100018290 from 0x100018290 to 0x1000182dc (76 bytes)
//
// 8 xrefs:
// > sub_100018250 @ 0x10001826c
// > sub_10004E838 @ 0x10004e86c
// > PlayLayer::createObjectsFromSetupFinished @ 0x100145274
// > cocos2d::CCFileUtils::setSearchResolutionsOrder @ 0x1001d075c
// > cocos2d::CCFileUtils::setSearchPaths @ 0x1001d0960
// > sub_10023B360 @ 0x10023b604
// > LocalLevelManager::saveFinished @ 0x1002608cc
// > sub_1004C3F14 @ 0x1004c3f2c
//
// 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:57:19 +0000
//
void __fastcall sub_100018290(void ***a1)
{
void **v2; // x20
void **v3; // x21
int v4; // w8
v2 = *a1;
v3 = a1[1];
while ( v3 != v2 )
{
v4 = *((char *)v3 - 1);
v3 -= 3;
if ( v4 < 0 )
operator delete(*v3);
}
a1[1] = v2;
}