//
// sub_10001783C from 0x10001783c to 0x100017888 (76 bytes)
//
// 5 xrefs:
// > sub_1000177FC @ 0x100017818
// > PlayLayer::createObjectsFromSetupFinished @ 0x10011c23c
// > cocos2d::CCFileUtils::setSearchResolutionsOrder @ 0x100151b28
// > cocos2d::CCFileUtils::setSearchPaths @ 0x100151d2c
// > sub_1001A64AC @ 0x1001a6750
//
// 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_10001783C(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;
}