//
// EditorSFXManager::removeFavoriteConfig from 0xcbfc84 to 0xcbfd08 (132 bytes)
//
// 4 xrefs:
// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdf18
// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0xcce204
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3824
// > ??> @ 0x44d40
//
// 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::removeFavoriteConfig(EditorSFXManager *this, int a2)
{
cocos2d::CCArray *result; // x0
unsigned int i; // w19
__int64 v6; // x0
result = *((cocos2d::CCArray **)this + 18);
if ( 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 + 18), i);
if ( v6 && *(_DWORD *)(v6 + 316) == a2 )
return (cocos2d::CCArray *)cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 18), i, 1);
result = *((cocos2d::CCArray **)this + 18);
}
}
return result;
}