//
// MusicDownloadManager::dataLoaded from 0x9793cc to 0x97a3ac (4064 bytes)
//
// 2 xrefs:
// > GameManager::dataLoaded @ 0x727a18
// > ??> @ 0x70270
//
// 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:46 +0000
//
__int64 __fastcall MusicDownloadManager::dataLoaded(MusicDownloadManager *this, DS_Dictionary *a2)
{
unsigned int v3; // w21
cocos2d::CCDictionary *DictForKey; // x27
cocos2d::CCArray *v5; // x23
cocos2d::CCString *v6; // x0
const char *CString; // x0
char *v8; // x22
__int64 v9; // x25
size_t v10; // x0
__int64 v11; // x25
unsigned int v12; // w21
cocos2d::CCDictionary *v13; // x27
cocos2d::CCArray *v14; // x23
cocos2d::CCString *v15; // x0
const char *v16; // x0
char *v17; // x22
__int64 v18; // x25
size_t v19; // x0
__int64 v20; // x25
int v21; // w21
int IntegerForKey; // w0
int *v23; // x22
int *v24; // x25
_QWORD *v25; // x28
float v26; // s2
float v27; // s0
_BOOL8 v28; // x2
__int64 v29; // x0
unsigned __int64 v30; // x2
unsigned __int64 v31; // x1
unsigned __int64 v32; // x20
unsigned __int64 v33; // x21
_QWORD *v34; // x0
int v35; // w3
unsigned __int64 v36; // x23
__int64 *v37; // x0
unsigned __int64 v38; // x1
int *v39; // x22
int *v40; // x25
_QWORD *v41; // x28
float v42; // s2
float v43; // s0
_BOOL8 v44; // x2
__int64 v45; // x0
unsigned __int64 v46; // x2
unsigned __int64 v47; // x1
unsigned __int64 v48; // x20
unsigned __int64 v49; // x21
_QWORD *v50; // x0
int v51; // w3
unsigned __int64 v52; // x23
__int64 *v53; // x0
unsigned __int64 v54; // x1
int *v55; // x22
int *v56; // x25
void **v57; // x28
float v58; // s2
float v59; // s0
_BOOL8 v60; // x0
__int64 v61; // x2
unsigned __int64 v62; // x2
unsigned __int64 v63; // x1
unsigned __int64 v64; // x20
unsigned __int64 v65; // x21
void **v66; // x0
int v67; // w3
unsigned __int64 v68; // x23
__int64 *v69; // x0
unsigned __int64 v70; // x1
size_t v72; // x0
__int64 v73; // x26
cocos2d::CCObject *v74; // x25
size_t v75; // x0
size_t v76; // x0
__int64 v77; // x26
cocos2d::CCObject *v78; // x25
size_t v79; // x0
unsigned __int64 v80; // x2
unsigned __int64 v81; // x0
unsigned __int64 v82; // x2
unsigned __int64 v83; // x0
unsigned __int64 v84; // x2
unsigned __int64 v85; // x0
cocos2d::CCObject *v86; // x0
cocos2d::CCObject *v87; // x20
cocos2d::CCObject *v88; // x1
cocos2d::CCObject *v89; // x0
cocos2d::CCObject *v90; // x20
cocos2d::CCObject *v91; // x1
unsigned __int64 v92; // x23
int v93; // w25
int v94; // w3
char *v95; // x22
size_t v96; // x2
char *v97; // x0
_BYTE *v98; // x0
__int64 v99; // x22
size_t v100; // x2
size_t v101; // x23
char *v102; // x25
void *v103; // x28
int v104; // w25
void *v105; // x28
int v106; // w23
int *v107; // x0
unsigned __int64 v108; // x4
int v109; // w1
_BYTE *v110; // x0
size_t v111; // x25
__int64 v112; // x5
unsigned __int64 v113; // x1
__int64 v114; // x2
unsigned __int64 v115; // x4
int *v116; // x2
int v117; // [xsp+68h] [xbp+68h]
int *v119; // [xsp+98h] [xbp+98h] BYREF
int *v120; // [xsp+A0h] [xbp+A0h]
__int64 v121; // [xsp+A8h] [xbp+A8h]
__int64 v122[3]; // [xsp+B0h] [xbp+B0h] BYREF
__int64 v123[3]; // [xsp+C8h] [xbp+C8h] BYREF
__int64 v124[3]; // [xsp+E0h] [xbp+E0h] BYREF
__int64 v125; // [xsp+F8h] [xbp+F8h] BYREF
unsigned __int64 v126; // [xsp+100h] [xbp+100h]
char *v127; // [xsp+108h] [xbp+108h]
__int64 v128[3]; // [xsp+110h] [xbp+110h] BYREF
__int64 v129[3]; // [xsp+128h] [xbp+128h] BYREF
__int64 v130[3]; // [xsp+140h] [xbp+140h] BYREF
__int64 v131[3]; // [xsp+158h] [xbp+158h] BYREF
__int64 v132[3]; // [xsp+170h] [xbp+170h] BYREF
__int64 v133[3]; // [xsp+188h] [xbp+188h] BYREF
void *v134; // [xsp+1A0h] [xbp+1A0h] BYREF
__int64 v135; // [xsp+1B8h] [xbp+1B8h] BYREF
size_t v136; // [xsp+1C0h] [xbp+1C0h]
void *v137; // [xsp+1C8h] [xbp+1C8h]
__int64 v138; // [xsp+1D0h] [xbp+1D0h] BYREF
__int64 v139; // [xsp+1D8h] [xbp+1D8h]
void *v140; // [xsp+1E0h] [xbp+1E0h]
__int64 v141; // [xsp+1E8h] [xbp+1E8h] BYREF
__int64 v142; // [xsp+1F0h] [xbp+1F0h]
void *v143; // [xsp+1F8h] [xbp+1F8h]
void *v144; // [xsp+200h] [xbp+200h] BYREF
int *v145; // [xsp+208h] [xbp+208h]
int *v146; // [xsp+210h] [xbp+210h]
if ( *((_QWORD *)this + 43) )
{
v3 = 0;
DictForKey = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "MDLM_001", 0);
v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(DictForKey);
if ( (unsigned int)cocos2d::CCArray::count(v5) )
{
do
{
v6 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v5, v3);
CString = (const char *)cocos2d::CCString::getCString(v6);
v141 = 0;
v142 = 0;
v8 = (char *)CString;
v143 = nullptr;
v9 = *((_QWORD *)this + 43);
v10 = strlen(CString);
std::string::__init(&v141, v8, v10);
v11 = cocos2d::CCDictionary::objectForKey(v9, &v141);
if ( (v141 & 1) != 0 )
{
operator delete(v143);
if ( v11 )
goto LABEL_5;
}
else if ( v11 )
{
goto LABEL_5;
}
v138 = 0;
v139 = 0;
v140 = nullptr;
v72 = strlen(v8);
v73 = *((_QWORD *)this + 43);
std::string::__init(&v138, v8, v72);
v74 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(DictForKey, &v138);
v141 = 0;
v142 = 0;
v143 = nullptr;
v75 = strlen(v8);
std::string::__init(&v141, v8, v75);
cocos2d::CCDictionary::setObject(v73, v74);
if ( (v141 & 1) != 0 )
operator delete(v143);
if ( (v138 & 1) != 0 )
{
++v3;
operator delete(v140);
continue;
}
LABEL_5:
++v3;
}
while ( v3 < (unsigned int)cocos2d::CCArray::count(v5) );
}
}
else
{
v89 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "MDLM_001", 0);
v90 = v89;
v91 = *((cocos2d::CCObject **)this + 43);
if ( v89 != v91 )
{
if ( v89 )
{
cocos2d::CCObject::retain(v89);
v91 = *((cocos2d::CCObject **)this + 43);
}
if ( v91 )
cocos2d::CCObject::release(v91);
*((_QWORD *)this + 43) = v90;
}
}
if ( *((_QWORD *)this + 44) )
{
v12 = 0;
v13 = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, "MDLM_003", 0);
v14 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(v13);
if ( (unsigned int)cocos2d::CCArray::count(v14) )
{
do
{
v15 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v14, v12);
v16 = (const char *)cocos2d::CCString::getCString(v15);
v141 = 0;
v142 = 0;
v17 = (char *)v16;
v143 = nullptr;
v18 = *((_QWORD *)this + 44);
v19 = strlen(v16);
std::string::__init(&v141, v17, v19);
v20 = cocos2d::CCDictionary::objectForKey(v18, &v141);
if ( (v141 & 1) != 0 )
{
operator delete(v143);
if ( v20 )
goto LABEL_11;
}
else if ( v20 )
{
goto LABEL_11;
}
v138 = 0;
v139 = 0;
v140 = nullptr;
v76 = strlen(v17);
v77 = *((_QWORD *)this + 44);
std::string::__init(&v138, v17, v76);
v78 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v13, &v138);
v141 = 0;
v142 = 0;
v143 = nullptr;
v79 = strlen(v17);
std::string::__init(&v141, v17, v79);
cocos2d::CCDictionary::setObject(v77, v78);
if ( (v141 & 1) != 0 )
operator delete(v143);
if ( (v138 & 1) != 0 )
{
++v12;
operator delete(v140);
continue;
}
LABEL_11:
++v12;
}
while ( v12 < (unsigned int)cocos2d::CCArray::count(v14) );
}
}
else
{
v86 = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(a2, "MDLM_003", 0);
v87 = v86;
v88 = *((cocos2d::CCObject **)this + 44);
if ( v86 != v88 )
{
if ( v86 )
{
cocos2d::CCObject::retain(v86);
v88 = *((cocos2d::CCObject **)this + 44);
}
if ( v88 )
cocos2d::CCObject::release(v88);
*((_QWORD *)this + 44) = v87;
}
}
v21 = *((_DWORD *)this + 90);
if ( v21 < (int)DS_Dictionary::getIntegerForKey(a2, "MDLM_002") )
IntegerForKey = DS_Dictionary::getIntegerForKey(a2, "MDLM_002");
else
IntegerForKey = *((_DWORD *)this + 90);
*((_DWORD *)this + 90) = IntegerForKey;
v119 = nullptr;
v120 = nullptr;
v121 = 0;
DS_Dictionary::getStringForKey(v122, a2, "MDLM_004");
MusicDownloadManager::splitIDString((unsigned __int8 *)v122, (__int64)&v119);
if ( (v122[0] & 1) != 0 )
operator delete((void *)v122[2]);
v23 = v119;
v24 = v120;
if ( v119 != v120 )
{
v25 = (_QWORD *)((char *)this + 624);
while ( 1 )
{
LABEL_30:
v35 = *v23;
v32 = *((_QWORD *)this + 77);
v36 = *v23;
if ( v32 )
{
v33 = v35 & (v32 - 1);
if ( ((v32 - 1) & v32) != 0 )
v33 = v35 % v32;
v37 = *(__int64 **)(*((_QWORD *)this + 76) + 8 * v33);
if ( v37 )
{
while ( 1 )
{
v37 = (__int64 *)*v37;
if ( !v37 )
break;
v38 = v37[1];
if ( ((v32 - 1) & v32) != 0 )
{
if ( v33 != v38 % v32 )
break;
}
else if ( v33 != ((v32 - 1) & v38) )
{
break;
}
if ( v35 == *((_DWORD *)v37 + 4) )
{
if ( v24 != ++v23 )
goto LABEL_30;
goto LABEL_39;
}
}
}
}
else
{
v33 = 0;
}
std::__hash_table,std::equal_to,std::allocator>::__construct_node_hash(
(__int64)this + 608,
v35,
v23,
(__int64)v132);
v26 = *((float *)this + 160);
v27 = (float)(unsigned __int64)(*((_QWORD *)this + 79) + 1LL);
if ( v27 > (float)((float)v32 * v26) )
{
v28 = 1;
v29 = 2 * v32;
if ( v32 > 2 )
v28 = ((v32 - 1) & v32) != 0;
}
else
{
if ( v32 )
goto LABEL_27;
v28 = 1;
v29 = 0;
}
v30 = v28 + v29;
v31 = vcvtps_u32_f32(v27 / v26);
if ( v31 < v30 )
v31 = v30;
std::__hash_table,std::equal_to,std::allocator>::rehash(
(unsigned __int64)this + 608,
v31);
v32 = *((_QWORD *)this + 77);
if ( ((v32 - 1) & v32) == 0 )
{
v33 = v36 & (v32 - 1);
LABEL_27:
v34 = *(_QWORD **)(*((_QWORD *)this + 76) + 8 * v33);
if ( !v34 )
goto LABEL_118;
goto LABEL_28;
}
v33 = v36 % v32;
v34 = *(_QWORD **)(*((_QWORD *)this + 76) + 8 * (v36 % v32));
if ( !v34 )
{
LABEL_118:
*(_QWORD *)v132[0] = *v25;
*v25 = v132[0];
*(_QWORD *)(*((_QWORD *)this + 76) + 8 * v33) = v25;
if ( *(_QWORD *)v132[0] )
{
v80 = *(_QWORD *)(*(_QWORD *)v132[0] + 8LL);
if ( ((v32 - 1) & v32) != 0 )
v81 = v80 % v32;
else
v81 = (v32 - 1) & v80;
*(_QWORD *)(*((_QWORD *)this + 76) + 8 * v81) = v132[0];
}
goto LABEL_29;
}
LABEL_28:
*(_QWORD *)v132[0] = *v34;
*v34 = v132[0];
LABEL_29:
++v23;
++*((_QWORD *)this + 79);
if ( v24 == v23 )
{
LABEL_39:
if ( v120 != v119 )
v120 += ~((unsigned __int64)((char *)(v120 - 1) - (char *)v119) >> 2);
break;
}
}
}
DS_Dictionary::getStringForKey(v123, a2, "MDLM_005");
MusicDownloadManager::splitIDString((unsigned __int8 *)v123, (__int64)&v119);
if ( (v123[0] & 1) != 0 )
operator delete((void *)v123[2]);
v39 = v119;
v40 = v120;
if ( v119 != v120 )
{
v41 = (_QWORD *)((char *)this + 704);
while ( 1 )
{
LABEL_56:
v51 = *v39;
v48 = *((_QWORD *)this + 87);
v52 = *v39;
if ( v48 )
{
v49 = v51 & (v48 - 1);
if ( ((v48 - 1) & v48) != 0 )
v49 = v51 % v48;
v53 = *(__int64 **)(*((_QWORD *)this + 86) + 8 * v49);
if ( v53 )
{
while ( 1 )
{
v53 = (__int64 *)*v53;
if ( !v53 )
break;
v54 = v53[1];
if ( ((v48 - 1) & v48) != 0 )
{
if ( v49 != v54 % v48 )
break;
}
else if ( v49 != ((v48 - 1) & v54) )
{
break;
}
if ( v51 == *((_DWORD *)v53 + 4) )
{
if ( v40 != ++v39 )
goto LABEL_56;
goto LABEL_65;
}
}
}
}
else
{
v49 = 0;
}
std::__hash_table,std::equal_to,std::allocator>::__construct_node_hash(
(__int64)this + 688,
v51,
v39,
(__int64)v133);
v42 = *((float *)this + 180);
v43 = (float)(unsigned __int64)(*((_QWORD *)this + 89) + 1LL);
if ( v43 > (float)((float)v48 * v42) )
{
v44 = 1;
v45 = 2 * v48;
if ( v48 > 2 )
v44 = ((v48 - 1) & v48) != 0;
}
else
{
if ( v48 )
goto LABEL_53;
v44 = 1;
v45 = 0;
}
v46 = v44 + v45;
v47 = vcvtps_u32_f32(v43 / v42);
if ( v47 < v46 )
v47 = v46;
std::__hash_table,std::equal_to,std::allocator>::rehash(
(unsigned __int64)this + 688,
v47);
v48 = *((_QWORD *)this + 87);
if ( ((v48 - 1) & v48) == 0 )
{
v49 = v52 & (v48 - 1);
LABEL_53:
v50 = *(_QWORD **)(*((_QWORD *)this + 86) + 8 * v49);
if ( !v50 )
goto LABEL_127;
goto LABEL_54;
}
v49 = v52 % v48;
v50 = *(_QWORD **)(*((_QWORD *)this + 86) + 8 * (v52 % v48));
if ( !v50 )
{
LABEL_127:
*(_QWORD *)v133[0] = *v41;
*v41 = v133[0];
*(_QWORD *)(*((_QWORD *)this + 86) + 8 * v49) = v41;
if ( *(_QWORD *)v133[0] )
{
v82 = *(_QWORD *)(*(_QWORD *)v133[0] + 8LL);
if ( ((v48 - 1) & v48) != 0 )
v83 = v82 % v48;
else
v83 = (v48 - 1) & v82;
*(_QWORD *)(*((_QWORD *)this + 86) + 8 * v83) = v133[0];
}
goto LABEL_55;
}
LABEL_54:
*(_QWORD *)v133[0] = *v50;
*v50 = v133[0];
LABEL_55:
++v39;
++*((_QWORD *)this + 89);
if ( v40 == v39 )
{
LABEL_65:
if ( v120 != v119 )
v120 += ~((unsigned __int64)((char *)(v120 - 1) - (char *)v119) >> 2);
break;
}
}
}
DS_Dictionary::getStringForKey(v124, a2, "MDLM_011");
MusicDownloadManager::splitIDString((unsigned __int8 *)v124, (__int64)&v119);
if ( (v124[0] & 1) != 0 )
operator delete((void *)v124[2]);
v55 = v119;
v56 = v120;
if ( v119 != v120 )
{
v57 = (void **)((char *)this + 664);
do
{
LABEL_82:
v67 = *v55;
v64 = *((_QWORD *)this + 82);
v68 = *v55;
if ( v64 )
{
v65 = v67 & (v64 - 1);
if ( ((v64 - 1) & v64) != 0 )
v65 = v67 % v64;
v69 = *(__int64 **)(*((_QWORD *)this + 81) + 8 * v65);
if ( v69 )
{
while ( 1 )
{
v69 = (__int64 *)*v69;
if ( !v69 )
break;
v70 = v69[1];
if ( ((v64 - 1) & v64) != 0 )
{
if ( v65 != v70 % v64 )
break;
}
else if ( v65 != ((v64 - 1) & v70) )
{
break;
}
if ( v67 == *((_DWORD *)v69 + 4) )
{
if ( v56 != ++v55 )
goto LABEL_82;
goto LABEL_91;
}
}
}
}
else
{
v65 = 0;
}
std::__hash_table,std::equal_to,std::allocator>::__construct_node_hash(
(__int64)this + 648,
v67,
v55,
(__int64)&v134);
v58 = *((float *)this + 170);
v59 = (float)(unsigned __int64)(*((_QWORD *)this + 84) + 1LL);
if ( v59 > (float)((float)v64 * v58) )
{
v60 = 1;
v61 = 2 * v64;
if ( v64 > 2 )
v60 = ((v64 - 1) & v64) != 0;
}
else
{
if ( v64 )
goto LABEL_79;
v60 = 1;
v61 = 0;
}
v62 = v61 + v60;
v63 = vcvtps_u32_f32(v59 / v58);
if ( v63 < v62 )
v63 = v62;
std::__hash_table,std::equal_to,std::allocator>::rehash(
(unsigned __int64)this + 648,
v63);
v64 = *((_QWORD *)this + 82);
if ( ((v64 - 1) & v64) == 0 )
{
v65 = v68 & (v64 - 1);
LABEL_79:
v66 = *(void ***)(*((_QWORD *)this + 81) + 8 * v65);
if ( !v66 )
goto LABEL_136;
goto LABEL_80;
}
v65 = v68 % v64;
v66 = *(void ***)(*((_QWORD *)this + 81) + 8 * (v68 % v64));
if ( !v66 )
{
LABEL_136:
*(_QWORD *)v134 = *v57;
*v57 = v134;
*(_QWORD *)(*((_QWORD *)this + 81) + 8 * v65) = v57;
if ( *(_QWORD *)v134 )
{
v84 = *(_QWORD *)(*(_QWORD *)v134 + 8LL);
if ( ((v64 - 1) & v64) != 0 )
v85 = v84 % v64;
else
v85 = (v64 - 1) & v84;
*(_QWORD *)(*((_QWORD *)this + 81) + 8 * v85) = v134;
}
goto LABEL_81;
}
LABEL_80:
*(_QWORD *)v134 = *v66;
*v66 = v134;
LABEL_81:
++v55;
++*((_QWORD *)this + 84);
}
while ( v56 != v55 );
}
LABEL_91:
if ( *((_QWORD *)this + 91) == *((_QWORD *)this + 92) )
{
DS_Dictionary::getStringForKey(&v125, a2, "MDLM_006");
v92 = 0;
LABEL_157:
v93 = (unsigned __int8)v125;
v94 = v125 & 1;
if ( v94 )
{
LABEL_158:
if ( v92 >= v126 )
{
operator delete(v127);
goto LABEL_92;
}
v95 = v127;
v96 = v126 - v92;
v97 = &v127[v92];
if ( v126 == v92 )
goto LABEL_187;
goto LABEL_160;
}
while ( 1 )
{
v109 = v93 >> 1;
if ( v92 >= v93 >> 1 )
goto LABEL_92;
v96 = v109 - v92;
v95 = (char *)&v125 + 1;
v97 = (char *)&v125 + v92 + 1;
if ( !v96 )
goto LABEL_179;
LABEL_160:
v117 = v94;
v98 = memchr(v97, 44, v96);
if ( !v98 )
break;
v99 = v98 - v95;
if ( v99 == -1 )
break;
LABEL_162:
std::string::basic_string(&v135, (__int64)&v125, v92, v99 - v92);
if ( (v135 & 1) != 0 )
{
v100 = v136;
v101 = -1;
v102 = (char *)v137;
if ( !v136 )
goto LABEL_164;
}
else
{
v100 = (unsigned __int8)v135 >> 1;
v102 = (char *)&v135 + 1;
v101 = -1;
if ( !((unsigned __int8)v135 >> 1) )
goto LABEL_164;
}
v110 = memchr(v102, 58, v100);
v111 = v110 - v102;
if ( v110 )
v101 = v111;
else
v101 = -1;
LABEL_164:
std::string::basic_string(&v141, (__int64)&v135, 0, v101);
if ( (v141 & 1) != 0 )
{
v103 = v143;
v104 = atoi((const char *)v143);
operator delete(v103);
if ( v101 == -1 )
goto LABEL_181;
}
else
{
v104 = atoi((const char *)&v141 + 1);
if ( v101 == -1 )
{
LABEL_181:
v106 = 0;
goto LABEL_168;
}
}
std::string::basic_string(&v138, (__int64)&v135, v101 + 1, 0xFFFFFFFFFFFFFFFFLL);
if ( (v138 & 1) != 0 )
{
v105 = v140;
v106 = atoi((const char *)v140);
operator delete(v105);
}
else
{
v106 = atoi((const char *)&v138 + 1);
}
LABEL_168:
if ( v104 > 0 )
{
v107 = *((int **)this + 92);
v108 = *((_QWORD *)this + 93);
if ( v106 < 0 )
v106 = 0;
if ( (unsigned __int64)v107 >= v108 )
{
v112 = *((_QWORD *)this + 91);
v113 = 0x1FFFFFFFFFFFFFFFLL;
v114 = ((__int64)v107 - v112) >> 3;
if ( (unsigned __int64)(v114 + 1) > 0x1FFFFFFFFFFFFFFFLL )
sub_62D4BC();
v115 = (__int64)(v108 - v112) >> 3;
if ( v115 <= 0xFFFFFFFFFFFFFFELL )
{
v113 = 2 * v115;
if ( 2 * v115 < v114 + 1 )
v113 = v114 + 1;
}
std::__split_buffer>::__split_buffer((__int64 *)&v144, v113, v114, (__int64)this + 744);
v116 = v146;
if ( v146 )
{
*v146 = v104;
v116[1] = v106;
v116 = v146;
}
v146 = v116 + 2;
std::vector>::__swap_out_circular_buffer((__int64 *)this + 91, &v144);
if ( v145 != v146 )
v146 += 2 * ~((unsigned __int64)((char *)(v146 - 2) - (char *)v145) >> 3);
if ( v144 )
operator delete(v144);
}
else
{
if ( v107 )
{
*v107 = v104;
v107[1] = v106;
v107 = *((int **)this + 92);
}
*((_QWORD *)this + 92) = v107 + 2;
}
}
v92 = v99 + 1;
if ( (v135 & 1) == 0 )
goto LABEL_157;
operator delete(v137);
v93 = (unsigned __int8)v125;
v94 = v125 & 1;
if ( v94 )
goto LABEL_158;
}
v109 = v93 >> 1;
if ( v117 )
{
LABEL_187:
v99 = v126;
goto LABEL_162;
}
LABEL_179:
v99 = v109;
goto LABEL_162;
}
LABEL_92:
if ( *((_QWORD *)this + 94) == *((_QWORD *)this + 95) )
{
DS_Dictionary::getStringForKey(v128, a2, "MDLM_007");
MusicDownloadManager::splitIDString((unsigned __int8 *)v128, (__int64)this + 752);
if ( (v128[0] & 1) != 0 )
operator delete((void *)v128[2]);
}
if ( !*((_QWORD *)this + 99) )
{
DS_Dictionary::getStringForKey(v129, a2, "MDLM_008");
sub_97101C((unsigned __int8 *)v129, (__int64 **)this + 97);
if ( (v129[0] & 1) != 0 )
operator delete((void *)v129[2]);
}
if ( !*((_QWORD *)this + 102) )
{
DS_Dictionary::getStringForKey(v130, a2, "MDLM_009");
sub_97101C((unsigned __int8 *)v130, (__int64 **)this + 100);
if ( (v130[0] & 1) != 0 )
operator delete((void *)v130[2]);
}
DS_Dictionary::getStringForKey(v131, a2, "MDLM_010");
MusicDownloadManager::decodeCustomSFX((__int64)this, (__int64)v131);
if ( (v131[0] & 1) != 0 )
operator delete((void *)v131[2]);
if ( v119 )
{
if ( v119 != v120 )
v120 += ~((unsigned __int64)((char *)(v120 - 1) - (char *)v119) >> 2);
operator delete(v119);
}
return _stack_chk_guard;
}