//
// EditorSFXManager::getFavoriteConfig from 0x77d41a to 0x77d44c (50 bytes)
//
// 6 xrefs:
// > EditorSFXManager::applyFavoriteConfig @ 0x78146c
// > EditorSoundConfigInfoLayer::refreshActionButtons @ 0x784d06
// > EditorSoundConfigInfoLayer::likedItem @ 0x785182
// > EditorSoundConfigInfoLayer::onFavorite @ 0x785208
// > EditorSoundConfigInfoLayer::onLocalDelete @ 0x785316
// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862fc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:24 +0000
//
int __fastcall EditorSFXManager::getFavoriteConfig(cocos2d::CCArray **this, int a2)
{
int result; // r0
unsigned int i; // r4
if ( *(this + 18) )
{
for ( i = 0; i < cocos2d::CCArray::count(*(this + 18)); ++i )
{
result = cocos2d::CCArray::objectAtIndex(*(this + 18), i);
if ( result && *(_DWORD *)(result + 264) == a2 )
return result;
}
}
return 0;
}