//
// MusicDownloadManager::syncCustomSFXPlacements from 0x14048a280 to 0x14048a305 (133 bytes)
//
// 5 xrefs:
// > MusicDownloadManager::decodeCustomSFX @ 0x14048a8cd
// > MusicDownloadManager::parseSFXLibrary @ 0x1404909ea
// > ??> @ 0x1408d0938
// > ??> @ 0x1408d0948
// > ??> @ 0x140928d18
//
// This function is hookable on this platform (idp: pc, 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 11:32:48 +0000
//
void __fastcall MusicDownloadManager::syncCustomSFXPlacements(__int64 a1)
{
__int64 v1; // rdi
__int64 v3; // rdi
__int64 i; // rbx
__int64 v5; // rdi
cocos2d::CCDictionary *v6; // rcx
struct cocos2d::CCObject *v7; // rax
v1 = *(_QWORD *)(a1 + 920);
if ( v1 )
{
v3 = *(_QWORD *)(v1 + 56);
if ( v3 )
{
for ( i = *(_QWORD *)(v3 + 288); ; i = *(_QWORD *)(i + 288) )
{
v5 = *(_QWORD *)(v3 + 264);
if ( !*(_BYTE *)(v5 + 72) )
{
v6 = *(cocos2d::CCDictionary **)(a1 + 408);
if ( v6 )
{
v7 = cocos2d::CCDictionary::objectForKey(v6, *(int *)(v5 + 56));
if ( v7 )
{
*(_DWORD *)(v5 + 64) = *((_DWORD *)v7 + 16);
*(_DWORD *)(v5 + 68) = *((_DWORD *)v7 + 17);
}
}
}
v3 = i;
if ( !i )
break;
}
}
}
}