//
// MusicDownloadManager::storeSFXInfoObject from 0x95cafc to 0x95cb60 (100 bytes)
//
// 3 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x96bc1c
// > MusicDownloadManager::parseSFXLibrary @ 0x96c074
// > ??> @ 0xe7ac0
//
// 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 12:57:29 +0000
//
__int64 __fastcall MusicDownloadManager::storeSFXInfoObject(__int64 a1, int *a2)
{
__int64 result; // x0
int v5; // w1
result = cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 400), (cocos2d::CCObject *)a2, a2[14]);
v5 = a2[15];
if ( v5 > 0 )
{
result = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 400), v5);
if ( result )
{
if ( *(_BYTE *)(result + 72) )
return cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(result + 152), (cocos2d::CCObject *)a2);
}
}
return result;
}