//
// sub_1001D650C from 0x1001d650c to 0x1001d657c (112 bytes)
//
// 4 xrefs:
// > sub_1001F418C @ 0x1001f41b8
// > SFXBrowser::sfxFoldersPicked @ 0x1001f6ffc
// > sub_1003FE824 @ 0x1003fe8fc
// > sub_1005298E4 @ 0x100529920
//
// 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 11:00:25 +0000
//
__int64 __fastcall sub_1001D650C(__int64 a1, __int64 a2)
{
__int64 v3; // x0
__int64 v4; // x19
_QWORD **v6; // [xsp+8h] [xbp-28h] BYREF
_QWORD *v7; // [xsp+10h] [xbp-20h] BYREF
__int64 v8; // [xsp+18h] [xbp-18h]
v7 = nullptr;
v8 = 0;
v6 = &v7;
if ( (unsigned int)sub_1001D6594(a1, a2, &v6) )
{
v3 = *(_QWORD *)(a1 + 824);
if ( v3 )
v4 = (unsigned int)cocos2d::CCDictionary::count(v3) - 1;
else
v4 = 0;
}
else
{
v4 = (unsigned int)v8;
}
sub_1000187C4((__int64)&v6, v7);
return v4;
}