//
// EditorSFXManager::getMyConfigForSoundID from 0x77d52a to 0x77d560 (54 bytes)
//
// 2 xrefs:
// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x785820
// > EditorSoundConfigInfoLayer::uploadActionFinished @ 0x7864e8
//
// 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::getMyConfigForSoundID(cocos2d::CCArray **this, int a2)
{
int result; // r0
unsigned int i; // r4
if ( *(this + 19) && a2 > 0 )
{
for ( i = 0; i < cocos2d::CCArray::count(*(this + 19)); ++i )
{
result = cocos2d::CCArray::objectAtIndex(*(this + 19), i);
if ( result && *(_DWORD *)(result + 264) == a2 )
return result;
}
}
return 0;
}