//
// std::_Destroy_aux::__destroy from 0x31a864 to 0x31a87a (22 bytes)
//
// 8 xrefs:
// > PlayLayer::createObjectsFromSetupFinished @ 0x31ad2c
// > PlayLayer::processCreateObjectsFromSetup @ 0x31c4a4
// > std::vector>::_M_insert_aux @ 0x5a03ae
// > std::vector>::_M_insert_aux @ 0x5a03f2
// > cocos2d::extension::AssetsManager::setSearchPath @ 0x5a04a2
// > cocos2d::extension::AssetsManager::setSearchPath @ 0x5a04c6
// > cocos2d::extension::AssetsManager::setSearchPath @ 0x5a0560
// > cocos2d::extension::AssetsManager::setSearchPath @ 0x5a05e0
//
// 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
//
int __fastcall std::_Destroy_aux::__destroy(int result, int a2)
{
int i; // r4
int v4; // r0
for ( i = result; i != a2; i += 4 )
{
v4 = i;
result = sub_774008(v4);
}
return result;
}