//
// MusicDownloadManager::storeSFXInfoObject from 0x56befe to 0x56bf32 (52 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x571f24
// > MusicDownloadManager::parseSFXLibrary @ 0x571f54
//
// 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:52:33 +0000
//
int __fastcall MusicDownloadManager::storeSFXInfoObject(cocos2d::CCDictionary **this, SFXInfoObject *a2)
{
int result; // r0
int v5; // r1
result = cocos2d::CCDictionary::setObject(*(this + 77), a2, *((_DWORD *)a2 + 13));
v5 = *((_DWORD *)a2 + 14);
if ( v5 > 0 )
{
result = cocos2d::CCDictionary::objectForKey(*(this + 77), v5);
if ( result )
{
if ( *(_BYTE *)(result + 68) )
return cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(result + 112), a2);
}
}
return result;
}