//
// EditorSFXManager::removeMyConfig from 0xcbfe54 to 0xcbfee0 (140 bytes)
//
// 2 xrefs:
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3ac8
// > ??> @ 0x8bbe8
//
// 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 13:06:16 +0000
//
cocos2d::CCArray *__fastcall EditorSFXManager::removeMyConfig(EditorSFXManager *this, int a2)
{
cocos2d::CCArray *result; // x0
unsigned int i; // w19
__int64 v6; // x0
result = *((cocos2d::CCArray **)this + 19);
if ( a2 > 0 && result )
{
for ( i = 0; ; ++i )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
if ( i >= (unsigned int)result )
break;
v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 19), i);
if ( v6 && a2 == *(_DWORD *)(v6 + 320) )
return (cocos2d::CCArray *)cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 19), i, 1);
result = *((cocos2d::CCArray **)this + 19);
}
}
return result;
}