// // GJBaseGameLayer::generateTargetGroups from 0x10011a720 to 0x10011b30b (3051 bytes) // // 1 xrefs: // > GJBaseGameLayer::updateSpecialGroupData @ 0x1001173e9 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJBaseGameLayer::generateTargetGroups(GJBaseGameLayer *a1) { __int64 v1; // rsi double v2; // xmm1_8 double v3; // xmm2_8 cocos2d::CCArray *m_targetGroupsArray; // rdi cocos2d::CCArray *v6; // rax std::__hash_node_base>, void *> *>::__next_pointer next; // rdi std::__hash_node_base>, void *> *> *v8; // rbx unsigned __int64 value; // rsi cocos2d::CCArray *m_objects; // rax cocos2d::ccArray *data; // rax __int64 num; // rcx cocos2d::CCDictionary *arr; // r15 _BYTE *v14; // rax cocos2d::CCDictionary_vtbl *v15; // r14 __int64 v16; // rax unsigned __int8 setTag; // cl unsigned __int8 v18; // dl unsigned __int8 v19; // cl int *copyWithZone; // r12 int *i; // r14 __int64 v22; // rax _QWORD *v23; // rdi _QWORD *v24; // rbx void *v25; // rdi _QWORD *v26; // rbx void *v27; // rdi _QWORD *v28; // rdi _QWORD *v29; // rbx void *v30; // rdi _QWORD *v31; // rdi _QWORD *v32; // rbx void *v33; // rdi _QWORD *v34; // r14 _QWORD *v35; // rdi _QWORD *v36; // r15 void *v37; // rdi unsigned __int64 v38; // rsi unsigned __int64 **v39; // rdi unsigned __int64 v40; // rcx unsigned __int64 v41; // r9 _QWORD *v42; // r10 void **v43; // rax void **v44; // r8 unsigned __int64 v45; // rax unsigned __int64 v46; // rax unsigned __int64 *v47; // r11 unsigned __int64 v48; // rax __int64 v49; // rax _BYTE *v50; // rbx unsigned __int64 v51; // r9 unsigned __int64 v52; // rsi __int64 **v53; // rax __int64 *v54; // r8 unsigned __int64 v55; // rax __int64 v56; // rax __int64 *v57; // r14 unsigned __int64 v58; // rcx unsigned __int64 v59; // r9 unsigned __int64 v60; // rsi __int64 **v61; // rax __int64 *v62; // r8 unsigned __int64 v63; // rax unsigned __int64 v64; // rax _BYTE *v65; // rax _DWORD *v66; // r14 GJBaseGameLayer *v67; // r15 __int64 v68; // r12 __int64 v69; // rsi cocos2d::CCDictionary *m_parentGroupsDict; // rdi intptr_t v71; // rbx cocos2d::CCObject *v72; // r13 __int64 v73; // rax _BYTE *v74; // r12 intptr_t acceptVisitor_high; // rsi char v76; // r14 _BYTE *v77; // rax int v78; // eax int v79; // ecx int v80; // eax int v81; // eax __m128 v82; // xmm0 size_t v83; // rax __m128 v84; // xmm0 size_t prime; // rbx void *v86; // r15 __m128 v87; // xmm0 size_t v88; // rcx unsigned __int64 v89; // rdi size_t v90; // rax cocos2d::CCObject_vtbl *v91; // rax void (__cdecl *v92)(cocos2d::CCObject *__hidden); // rbx unsigned __int64 v93; // r15 __int64 v94; // rax int v95; // r12d cocos2d::CCObject_vtbl *v96; // rax cocos2d::CCDictionary *v97; // rbx cocos2d::CCDictionary_vtbl *v98; // r13 cocos2d::CCObject *v99; // r14 unsigned int v100; // r15d __int64 v101; // rax __int64 v102; // r15 intptr_t v103; // rbx cocos2d::CCArray *v104; // r12 cocos2d::CCObject *v105; // rax GJBaseGameLayer *v106; // r14 intptr_t v107; // r15 unsigned int v108; // ebx __int64 v109; // rax __int64 v110; // r14 unsigned __int64 v111; // r8 unsigned __int64 v112; // rcx unsigned __int64 v113; // r9 unsigned __int64 v114; // rsi _QWORD *v115; // r10 __int64 **v116; // rax __int64 *v117; // rdi unsigned __int64 v118; // r11 unsigned __int64 v119; // rax unsigned __int64 v120; // rax unsigned __int64 v121; // rsi void **v122; // rax void **v123; // rdi unsigned __int64 v124; // rax unsigned __int64 v125; // rax cocos2d::CCObject *v126; // rax cocos2d::CCObject *v127; // rax void **v128; // rax void **v129; // rsi unsigned __int64 v130; // rax unsigned __int64 v131; // rax unsigned __int64 *v132; // rdx unsigned __int64 v133; // rax cocos2d::CCObject *v134; // rax cocos2d::CCObject_vtbl *v135; // rax intptr_t *v136; // r15 unsigned __int64 v137; // r12 intptr_t v138; // rbx unsigned int v139; // ecx unsigned __int64 v140; // r10 unsigned __int64 v141; // rdi __int64 **v142; // rax __int64 *v143; // r9 unsigned __int64 v144; // rax __int64 v145; // rax _QWORD *v146; // rax intptr_t v147; // r14 cocos2d::CCObject *v148; // rax cocos2d::CCObject *v149; // rax cocos2d::CCDictionary *v150; // rdi __int64 v151; // rbx __int64 v152; // r12 cocos2d::CCObject_vtbl *v153; // rax cocos2d::CCObject **v154; // r13 cocos2d::CCObject **v155; // r15 int v156; // ebx __int64 v157; // rax cocos2d::CCObject *v158; // r14 signed int v159; // ecx unsigned __int64 v160; // r10 unsigned __int64 v161; // rdi __int64 **v162; // rax __int64 *v163; // r9 unsigned __int64 v164; // rax __int64 v165; // rax _QWORD *v166; // rax intptr_t v167; // rsi cocos2d::CCObject *v168; // rax cocos2d::CCObject *v169; // rsi intptr_t v170; // rsi std::__vector_base::pointer begin; // rax cocos2d::CCObject *v172; // rax cocos2d::CCDictionary *m_groupDict; // rdi cocos2d::CCObject *v174; // rax int v175; // r14d int v176; // r15d int v177; // r13d __int64 v178; // rax GJBaseGameLayer *v179; // r14 _QWORD *v180; // rdi _QWORD *v181; // rbx void *v182; // rdi _BYTE *v183; // [rsp+8h] [rbp-1B8h] _BYTE *v184; // [rsp+10h] [rbp-1B0h] _BYTE *v185; // [rsp+18h] [rbp-1A8h] _BYTE *v186; // [rsp+20h] [rbp-1A0h] _QWORD *v187; // [rsp+28h] [rbp-198h] void *v188[2]; // [rsp+30h] [rbp-190h] BYREF void *v189[2]; // [rsp+40h] [rbp-180h] int v190; // [rsp+50h] [rbp-170h] void *v191[2]; // [rsp+60h] [rbp-160h] BYREF void *v192[2]; // [rsp+70h] [rbp-150h] int v193; // [rsp+80h] [rbp-140h] cocos2d::CCObject *v194; // [rsp+88h] [rbp-138h] void *v195[2]; // [rsp+90h] [rbp-130h] BYREF void *v196[2]; // [rsp+A0h] [rbp-120h] BYREF int v197; // [rsp+B0h] [rbp-110h] int v198; // [rsp+C4h] [rbp-FCh] std::unordered_map> *p_m_targetGroups; // [rsp+C8h] [rbp-F8h] void *v200[2]; // [rsp+D0h] [rbp-F0h] BYREF void *__p[2]; // [rsp+E0h] [rbp-E0h] int v202; // [rsp+F0h] [rbp-D0h] cocos2d::CCDictionary *v203; // [rsp+100h] [rbp-C0h] cocos2d::CCDictionary *v204; // [rsp+108h] [rbp-B8h] intptr_t j; // [rsp+110h] [rbp-B0h] unsigned __int64 v206; // [rsp+118h] [rbp-A8h] cocos2d::CCObject *v207; // [rsp+120h] [rbp-A0h] cocos2d::CCDictionary *v208; // [rsp+128h] [rbp-98h] void *v209[2]; // [rsp+130h] [rbp-90h] BYREF void *v210[2]; // [rsp+140h] [rbp-80h] BYREF float v211; // [rsp+150h] [rbp-70h] unsigned int v212; // [rsp+164h] [rbp-5Ch] BYREF cocos2d::CCDictionary *v213; // [rsp+168h] [rbp-58h] intptr_t v214; // [rsp+170h] [rbp-50h] GJBaseGameLayer *v215; // [rsp+178h] [rbp-48h] int *p_m_uReference; // [rsp+180h] [rbp-40h] BYREF unsigned int m_uReference; // [rsp+18Ch] [rbp-34h] BYREF unsigned int v218; // [rsp+190h] [rbp-30h] BYREF m_targetGroupsArray = a1->m_targetGroupsArray; if ( m_targetGroupsArray ) { sub_100720270(m_targetGroupsArray); p_m_targetGroups = &a1->m_targetGroups; if ( !a1->m_targetGroups.__table_.__p2_.__value_ ) goto LABEL_10; } else { v6 = (cocos2d::CCArray *)sub_10071F9E0(0, v1); a1->m_targetGroupsArray = v6; cocos2d::CCObject::retain(v6); p_m_targetGroups = &a1->m_targetGroups; if ( !a1->m_targetGroups.__table_.__p2_.__value_ ) goto LABEL_10; } next = a1->m_targetGroups.__table_.__p1_.__value_.__next_; if ( next ) { do { v8 = next->__next_; operator delete(next); next = v8; } while ( v8 ); } a1->m_targetGroups.__table_.__p1_.__value_.__next_ = nullptr; value = a1->m_targetGroups.__table_.__bucket_list_.__ptr_.__value_.__data_.__value_; if ( value ) __bzero(p_m_targetGroups->__table_.__bucket_list_.__ptr_.__value_, 8 * value); a1->m_targetGroups.__table_.__p2_.__value_ = 0; LABEL_10: *(_OWORD *)v189 = 0; *(_OWORD *)v188 = 0; v190 = 1065353216; *(_OWORD *)v196 = 0; *(_OWORD *)v195 = 0; v197 = 1065353216; *(_OWORD *)v192 = 0; *(_OWORD *)v191 = 0; v193 = 1065353216; m_objects = a1->m_objects; if ( !m_objects || (data = m_objects->data, (num = data->num) == 0) ) { *(_OWORD *)__p = 0; *(_OWORD *)v200 = 0; v202 = 1065353216; LABEL_32: v23 = __p[0]; if ( __p[0] ) { do { v24 = (_QWORD *)*v23; operator delete(v23); v23 = v24; } while ( v24 ); } goto LABEL_34; } v215 = a1; arr = (cocos2d::CCDictionary *)data->arr; v213 = (cocos2d::CCDictionary *)((char *)arr + 8 * num - 8); do { v15 = arr->__vftable; if ( !arr->__vftable ) break; if ( HIDWORD(v15[12].getTag) != 3016 && (*((unsigned int (__fastcall **)(cocos2d::CCDictionary_vtbl *))v15->copyWithZone + 223))(arr->__vftable) != 45 ) { if ( HIDWORD(v15[12].getTag) == 1268 ) { copyWithZone = (int *)v15[23].copyWithZone; for ( i = (int *)v15[23].~CCDictionary; copyWithZone != i; copyWithZone += 4 ) { v200[0] = copyWithZone; v22 = sub_1001667C0(v191, copyWithZone, &unk_100816AE0, v200, v209); sub_100054F50((float *)(v22 + 24), copyWithZone + 2, copyWithZone + 2, (__m128)0LL, v2, v3); } } goto LABEL_16; } LODWORD(v209[0]) = v15[18].isEqual; v200[0] = v209; v16 = sub_100168D00(v188, v209, &unk_100816AE0, v200, &p_m_uReference); setTag = (unsigned __int8)v15[22].setTag; v18 = BYTE1(v15[22].setTag); if ( (v18 | setTag) == 1 ) { if ( v18 ^ 1 | setTag ) { v19 = setTag ^ 1; if ( v19 | v18 ) { if ( v18 ^ 1 | v19 ) goto LABEL_15; v14 = (_BYTE *)(v16 + 23); } else { v14 = (_BYTE *)(v16 + 22); } } else { v14 = (_BYTE *)(v16 + 21); } } else { v14 = (_BYTE *)(v16 + 20); } *v14 = 1; LABEL_15: LODWORD(v200[0]) = v15[18].isEqual; sub_100056510((float *)v195, (int *)v200, v200, (__m128)0LL); LABEL_16: arr = (cocos2d::CCDictionary *)((char *)arr + 8); } while ( arr <= v213 ); *(_OWORD *)__p = 0; *(_OWORD *)v200 = 0; v202 = 1065353216; if ( !v196[1] ) goto LABEL_32; while ( 2 ) { LODWORD(p_m_uReference) = *((_DWORD *)v196[0] + 4); sub_100054F50((float *)v200, (int *)&p_m_uReference, &p_m_uReference, (__m128)0LL, v2, v3); v38 = (unsigned __int64)v195[1]; v39 = (unsigned __int64 **)v196[0]; v40 = *((_QWORD *)v196[0] + 1); v41 = (0x101010101010101LL * (((((unsigned __int64)v195[1] - (((unsigned __int64)v195[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v195[1] - (((unsigned __int64)v195[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + (((((unsigned __int64)v195[1] - (((unsigned __int64)v195[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v195[1] - (((unsigned __int64)v195[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 56; if ( v41 > 1 ) { if ( (void *)v40 >= v195[1] ) { if ( ((unsigned __int64)v195[1] | v40) >> 32 ) v40 %= (unsigned __int64)v195[1]; else v40 = (unsigned int)v40 % LODWORD(v195[1]); } } else { v40 &= (unsigned __int64)v195[1] - 1; } v42 = v195[0]; v43 = *((void ***)v195[0] + v40); do { v44 = v43; v43 = (void **)*v43; } while ( v43 != v196[0] ); if ( v44 == v196 ) goto LABEL_73; v45 = (unsigned __int64)v44[1]; if ( (unsigned int)v41 > 1 ) { if ( (void *)v45 >= v195[1] ) { if ( !(((unsigned __int64)v195[1] | v45) >> 32) ) { if ( (unsigned int)v45 % LODWORD(v195[1]) != v40 ) goto LABEL_73; goto LABEL_82; } v45 %= (unsigned __int64)v195[1]; } if ( v45 == v40 ) goto LABEL_82; goto LABEL_73; } if ( (((unsigned __int64)v195[1] - 1) & v45) == v40 ) goto LABEL_82; LABEL_73: if ( !*(_QWORD *)v196[0] ) goto LABEL_81; v46 = *(_QWORD *)(*(_QWORD *)v196[0] + 8LL); if ( (unsigned int)v41 <= 1 ) { if ( (((unsigned __int64)v195[1] - 1) & v46) == v40 ) goto LABEL_82; LABEL_81: *((_QWORD *)v195[0] + v40) = 0; goto LABEL_82; } if ( (void *)v46 < v195[1] ) { LABEL_80: if ( v46 == v40 ) goto LABEL_82; goto LABEL_81; } if ( ((unsigned __int64)v195[1] | v46) >> 32 ) { v46 %= (unsigned __int64)v195[1]; goto LABEL_80; } if ( (unsigned int)v46 % LODWORD(v195[1]) != v40 ) goto LABEL_81; LABEL_82: v47 = *v39; if ( !*v39 ) { v47 = nullptr; goto LABEL_92; } v48 = v47[1]; if ( (unsigned int)v41 <= 1 ) { v48 &= v38 - 1; if ( v48 == v40 ) goto LABEL_92; LABEL_91: v42[v48] = v44; v47 = *v39; goto LABEL_92; } if ( v48 < v38 ) { LABEL_90: if ( v48 == v40 ) goto LABEL_92; goto LABEL_91; } if ( (v38 | v48) >> 32 ) { v48 %= v38; goto LABEL_90; } v48 = (unsigned int)v48 % (unsigned int)v38; if ( v48 != v40 ) goto LABEL_91; LABEL_92: *v44 = v47; *v39 = nullptr; --v196[1]; operator delete(v39); v209[0] = &p_m_uReference; v49 = sub_1001691A0(v188, &p_m_uReference, &unk_100816AE0, v209, &v218); if ( v191[1] ) { v50 = (_BYTE *)v49; v51 = (0x101010101010101LL * (((((unsigned __int64)v191[1] - (((unsigned __int64)v191[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v191[1] - (((unsigned __int64)v191[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + (((((unsigned __int64)v191[1] - (((unsigned __int64)v191[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v191[1] - (((unsigned __int64)v191[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 56; if ( v51 <= 1 ) { v52 = (int)p_m_uReference & ((unsigned __int64)v191[1] - 1); v53 = *((__int64 ***)v191[0] + v52); if ( !v53 ) goto LABEL_56; LABEL_100: v54 = *v53; if ( !*v53 ) goto LABEL_56; if ( (unsigned int)v51 < 2 ) { while ( 1 ) { v56 = v54[1]; if ( v56 == (int)p_m_uReference ) { if ( *((_DWORD *)v54 + 4) == (_DWORD)p_m_uReference ) goto LABEL_118; } else if ( (((unsigned __int64)v191[1] - 1) & v56) != v52 ) { goto LABEL_56; } v54 = (__int64 *)*v54; if ( !v54 ) goto LABEL_56; } } while ( 2 ) { v55 = v54[1]; if ( v55 != (int)p_m_uReference ) { if ( (void *)v55 < v191[1] ) { LABEL_109: if ( v55 != v52 ) goto LABEL_56; } else { if ( ((unsigned __int64)v191[1] | v55) >> 32 ) { v55 %= (unsigned __int64)v191[1]; goto LABEL_109; } if ( (unsigned int)v55 % LODWORD(v191[1]) != v52 ) goto LABEL_56; } LABEL_104: v54 = (__int64 *)*v54; if ( !v54 ) goto LABEL_56; continue; } break; } if ( *((_DWORD *)v54 + 4) != (_DWORD)p_m_uReference ) goto LABEL_104; LABEL_118: v209[0] = &p_m_uReference; v57 = *(__int64 **)(sub_1001667C0(v191, &p_m_uReference, &unk_100816AE0, v209, &v218) + 40); while ( 2 ) { if ( !v57 ) { sub_100169640(v191, &p_m_uReference); goto LABEL_56; } v58 = *((int *)v57 + 4); v218 = *((_DWORD *)v57 + 4); if ( !v200[1] ) goto LABEL_148; v59 = (0x101010101010101LL * (((((unsigned __int64)v200[1] - (((unsigned __int64)v200[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v200[1] - (((unsigned __int64)v200[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + (((((unsigned __int64)v200[1] - (((unsigned __int64)v200[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v200[1] - (((unsigned __int64)v200[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 56; if ( v59 <= 1 ) { v60 = v58 & ((unsigned __int64)v200[1] - 1); v61 = *((__int64 ***)v200[0] + v60); if ( !v61 ) goto LABEL_148; LABEL_129: v62 = *v61; if ( *v61 ) { if ( (unsigned int)v59 < 2 ) { while ( 1 ) { v64 = v62[1]; if ( v64 == v58 ) { if ( *((_DWORD *)v62 + 4) == (_DWORD)v58 ) goto LABEL_149; } else if ( (((unsigned __int64)v200[1] - 1) & v64) != v60 ) { goto LABEL_148; } v62 = (__int64 *)*v62; if ( !v62 ) goto LABEL_148; } } while ( 1 ) { v63 = v62[1]; if ( v63 == v58 ) { if ( *((_DWORD *)v62 + 4) == (_DWORD)v58 ) goto LABEL_149; goto LABEL_133; } if ( (void *)v63 < v200[1] ) goto LABEL_138; if ( ((unsigned __int64)v200[1] | v63) >> 32 ) break; if ( (unsigned int)v63 % LODWORD(v200[1]) != v60 ) goto LABEL_148; LABEL_133: v62 = (__int64 *)*v62; if ( !v62 ) goto LABEL_148; } v63 %= (unsigned __int64)v200[1]; LABEL_138: if ( v63 != v60 ) goto LABEL_148; goto LABEL_133; } LABEL_148: sub_100054F50((float *)v195, (int *)&v218, &v218, (__m128)0LL, v2, v3); LABEL_149: v209[0] = &v218; v65 = (_BYTE *)sub_1001691A0(v188, &v218, &unk_100816AE0, v209, &v212); if ( v50[20] == 1 ) { v65[20] = 1; if ( v50[21] != 1 ) { LABEL_151: if ( v50[22] != 1 ) goto LABEL_152; goto LABEL_156; } } else if ( v50[21] != 1 ) { goto LABEL_151; } v65[21] = 1; if ( v50[22] != 1 ) { LABEL_152: if ( v50[23] == 1 ) goto LABEL_157; goto LABEL_119; } LABEL_156: v65[22] = 1; if ( v50[23] == 1 ) LABEL_157: v65[23] = 1; LABEL_119: v57 = (__int64 *)*v57; continue; } break; } v60 = v58; if ( v200[1] <= (void *)v58 ) { if ( !(((unsigned __int64)v200[1] | v58) >> 32) ) { v60 = (unsigned int)v58 % LODWORD(v200[1]); v61 = *((__int64 ***)v200[0] + v60); if ( v61 ) goto LABEL_129; goto LABEL_148; } v60 = v58 % (unsigned __int64)v200[1]; } v61 = *((__int64 ***)v200[0] + v60); if ( v61 ) goto LABEL_129; goto LABEL_148; } v52 = (int)p_m_uReference; if ( v191[1] > (void *)(int)p_m_uReference ) { LABEL_99: v53 = *((__int64 ***)v191[0] + v52); if ( !v53 ) goto LABEL_56; goto LABEL_100; } if ( ((unsigned __int64)v191[1] | (int)p_m_uReference) >> 32 ) { v52 = (int)p_m_uReference % (unsigned __int64)v191[1]; goto LABEL_99; } v52 = (unsigned int)p_m_uReference % LODWORD(v191[1]); v53 = *((__int64 ***)v191[0] + v52); if ( v53 ) goto LABEL_100; } LABEL_56: if ( v196[1] ) continue; break; } v66 = __p[0]; if ( __p[0] ) { v67 = v215; while ( 1 ) { v218 = v66[4]; v209[0] = &v218; v68 = sub_1001691A0(v188, &v218, &unk_100816AE0, v209, &p_m_uReference); v69 = (int)v218; m_parentGroupsDict = v67->m_parentGroupsDict; v194 = cocos2d::CCDictionary::objectForKey(m_parentGroupsDict, (int)v218); v71 = v218; if ( (int)v218 >= 9999 ) v71 = 9999; if ( (int)v71 <= 0 ) v71 = 0; v72 = v67->m_groups.__begin_[v71]; if ( !v72 ) { v72 = (cocos2d::CCObject *)sub_10071F9E0(m_parentGroupsDict, v69); cocos2d::CCDictionary::setObject(v67->m_groupDict, v72, v71); v67->m_groups.__begin_[v71] = (cocos2d::CCArray *)v72; } v187 = v66; v73 = v68; v74 = (_BYTE *)(v68 + 20); v184 = (_BYTE *)(v73 + 23); v185 = (_BYTE *)(v73 + 22); v186 = (_BYTE *)(v73 + 21); acceptVisitor_high = 0; LODWORD(v214) = 0; v76 = 0; v77 = v74; v207 = v72; v183 = v74; switch ( (unsigned __int64)v74 ) { case 0uLL: goto LABEL_176; case 1uLL: LABEL_437: LOBYTE(v77) = 1; LODWORD(v214) = (_DWORD)v77; v76 = 0; v77 = v186; break; case 2uLL: LABEL_439: v76 = 1; LODWORD(v214) = 0; v77 = v185; break; case 3uLL: LABEL_438: LOBYTE(v77) = 1; LODWORD(v214) = (_DWORD)v77; v76 = 1; v77 = v184; break; } while ( 1 ) { LABEL_176: if ( *v77 == 1 ) { v198 = acceptVisitor_high; v78 = 0; if ( (_BYTE)v214 ) v78 = 1000000; v79 = v78 + 100000000; v80 = v78 + 110000000; if ( !v76 ) v80 = v79; v212 = v218 + v80; v213 = cocos2d::CCDictionary::create(); v208 = cocos2d::CCDictionary::create(); *(_OWORD *)v210 = 0; *(_OWORD *)v209 = 0; v211 = 1.0; v81 = sub_100720070(v72); v82 = 0; v82.f32[0] = (float)v81 / v211; v84 = _mm_round_ss(v82, v82, 10); v83 = (unsigned int)(int)v84.f32[0]; v84.f32[0] = v84.f32[0] - 9.223372e18; prime = 2; if ( v83 != 1 ) { if ( ((v83 - 1) & v83) != 0 ) prime = std::__next_prime(v83); else prime = v83; } v86 = v209[1]; if ( (void *)prime > v209[1] ) goto LABEL_186; if ( (void *)prime < v209[1] ) { acceptVisitor_high = ((unsigned __int64)v210[1] >> 1) | (__int64)v210[1] & 1; v87 = 0; v87.f32[0] = (float)(int)acceptVisitor_high + (float)(int)acceptVisitor_high; if ( (__int64)v210[1] >= 0 ) { v87 = 0; v87.f32[0] = (float)SLODWORD(v210[1]); } v87.f32[0] = v87.f32[0] / v211; v84 = _mm_round_ss(v87, v87, 10); v88 = (unsigned int)(int)v84.f32[0]; v84.f32[0] = v84.f32[0] - 9.223372e18; v89 = v88; if ( v209[1] < (void *)3 || (unsigned int)((0x101010101010101LL * (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 32) >> 24 > 1 ) { v90 = std::__next_prime(v88); } else { _BitScanReverse64(&v88, v88 - 1); v90 = 1LL << -(v88 ^ 0x3F); if ( v89 < 2 ) v90 = v89; } if ( prime <= v90 ) prime = v90; if ( prime < (unsigned __int64)v86 ) { LABEL_186: acceptVisitor_high = prime; sub_1000553E0((__int64)v209, prime); } } if ( v72 ) { v91 = v72[1].__vftable; if ( LODWORD(v91->copyWithZone) ) { v92 = v91->~CCObject_0; v93 = (unsigned __int64)v92 + 8 * LODWORD(v91->copyWithZone) - 8; do { v94 = *(_QWORD *)v92; if ( !*(_QWORD *)v92 ) break; v95 = *(_DWORD *)(v94 + 872); m_uReference = *(_DWORD *)(v94 + 916); acceptVisitor_high = (intptr_t)&m_uReference; p_m_uReference = (int *)&m_uReference; *((_DWORD *)sub_100105AF0( (float *)v209, (int *)&m_uReference, v84, (__int64)&unk_100816AE0, &p_m_uReference) + 5) = v95; v92 = (void (__cdecl *)(cocos2d::CCObject *__hidden))((char *)v92 + 8); } while ( (unsigned __int64)v92 <= v93 ); } if ( !v76 ) { v96 = v207[1].__vftable; if ( LODWORD(v96->copyWithZone) ) { v97 = (cocos2d::CCDictionary *)v96->~CCObject_0; v206 = (unsigned __int64)v97 + 8 * LODWORD(v96->copyWithZone) - 8; while ( 1 ) { v98 = v97->__vftable; if ( !v97->__vftable ) goto LABEL_337; if ( BYTE2(v98[14].encodeWithCoder) == 1 ) break; LABEL_207: v97 = (cocos2d::CCDictionary *)((char *)v97 + 8); if ( (unsigned __int64)v97 > v206 ) goto LABEL_337; } acceptVisitor_high = HIDWORD(v98[11].acceptVisitor); v99 = cocos2d::CCDictionary::objectForKey(v215->m_parentGroupIDs, acceptVisitor_high); v100 = 0; v204 = v97; for ( j = (intptr_t)v99; ; v99 = (cocos2d::CCObject *)j ) { if ( v100 >= (unsigned int)sub_100720070(v99) ) goto LABEL_207; acceptVisitor_high = v100; v101 = sub_1007200C0(v99, v100); LODWORD(v203) = v100; v102 = *(int *)(v101 + 56); if ( v194 && (v98 != (cocos2d::CCDictionary_vtbl *)v194 || (_DWORD)v102 != v218) ) goto LABEL_211; v103 = 9999; if ( (int)v102 < 9999 ) v103 = (unsigned int)v102; if ( (int)v103 <= 0 ) v103 = 0; v104 = v215->m_groups.__begin_[v103]; if ( !v104 ) { v105 = (cocos2d::CCObject *)sub_10071F9E0(v99, acceptVisitor_high); v106 = v215; v104 = (cocos2d::CCArray *)v105; cocos2d::CCDictionary::setObject(v215->m_groupDict, v105, v103); v106->m_groups.__begin_[v103] = v104; } v107 = -v102; v108 = 0; LABEL_225: if ( v108 < (unsigned int)sub_100720070(v104) ) break; acceptVisitor_high = v107; v134 = cocos2d::CCDictionary::objectForKey(v213, v107); if ( v134 ) { m_uReference = v134[16].m_uReference; acceptVisitor_high = (intptr_t)&m_uReference; p_m_uReference = (int *)&m_uReference; *((_DWORD *)sub_100105AF0( (float *)v209, (int *)&m_uReference, v84, (__int64)&unk_100816AE0, &p_m_uReference) + 5) = v107; } LABEL_211: v100 = (_DWORD)v203 + 1; v97 = v204; } v109 = sub_1007200C0(v104, v108); v110 = v109; v111 = (unsigned __int64)v209[1]; if ( !v209[1] ) goto LABEL_282; v112 = *(int *)(v109 + 916); v113 = (0x101010101010101LL * (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 56; if ( v113 > 1 ) { v114 = *(int *)(v109 + 916); if ( v209[1] <= (void *)v112 ) { if ( !(((unsigned __int64)v209[1] | v112) >> 32) ) { v114 = (unsigned int)v112 % LODWORD(v209[1]); v115 = v209[0]; v116 = *((__int64 ***)v209[0] + v114); if ( !v116 ) goto LABEL_282; goto LABEL_234; } v114 = v112 % (unsigned __int64)v209[1]; } v115 = v209[0]; v116 = *((__int64 ***)v209[0] + v114); if ( !v116 ) goto LABEL_282; } else { v114 = v112 & ((unsigned __int64)v209[1] - 1); v115 = v209[0]; v116 = *((__int64 ***)v209[0] + v114); if ( !v116 ) goto LABEL_282; } LABEL_234: v117 = *v116; if ( !*v116 ) goto LABEL_282; v118 = (unsigned __int64)v209[1] - 1; if ( (unsigned int)v113 < 2 ) { while ( 1 ) { v119 = v117[1]; if ( v119 == v112 ) { if ( *((_DWORD *)v117 + 4) == (_DWORD)v112 ) goto LABEL_252; } else if ( (v118 & v119) != v114 ) { goto LABEL_282; } v117 = (__int64 *)*v117; if ( !v117 ) goto LABEL_282; } } while ( 2 ) { v120 = v117[1]; if ( v120 == v112 ) { if ( *((_DWORD *)v117 + 4) == (_DWORD)v112 ) { LABEL_252: if ( (unsigned int)v113 > 1 ) { v121 = *(int *)(v110 + 916); if ( v209[1] > (void *)v112 ) { LABEL_260: v122 = (void **)v115[v121]; if ( v122 ) goto LABEL_261; } else { if ( ((unsigned __int64)v209[1] | v112) >> 32 ) { v121 = v112 % (unsigned __int64)v209[1]; goto LABEL_260; } v121 = (unsigned int)v112 % LODWORD(v209[1]); v122 = (void **)v115[v121]; if ( v122 ) goto LABEL_261; } LABEL_282: if ( !*(_BYTE *)(v110 + 1150) ) goto LABEL_330; LABEL_283: v126 = cocos2d::CCDictionary::objectForKey(v213, v107); if ( !v126 || (HIBYTE(v126[20].m_eObjType) != 1 || (cocos2d::CCDictionary_vtbl *)v110 == v98) && *(_BYTE *)(v110 + 1151) == 1 ) { cocos2d::CCDictionary::setObject(v213, (cocos2d::CCObject *)v110, v107); } v127 = cocos2d::CCDictionary::objectForKey(v208, v107); if ( !v127 || (BYTE2(v127[20].m_eObjType) != 1 || (cocos2d::CCDictionary_vtbl *)v110 == v98) && *(_BYTE *)(v110 + 1150) == 1 ) { cocos2d::CCDictionary::setObject(v208, (cocos2d::CCObject *)v110, v107); } goto LABEL_224; } v121 = v112 & v118; v122 = (void **)v115[v112 & v118]; if ( !v122 ) goto LABEL_282; LABEL_261: v123 = (void **)*v122; if ( !*v122 ) goto LABEL_282; if ( (unsigned int)v113 < 2 ) { while ( 1 ) { v124 = (unsigned __int64)v123[1]; if ( v124 == v112 ) { if ( *((_DWORD *)v123 + 4) == (_DWORD)v112 ) goto LABEL_279; } else if ( (v118 & v124) != v121 ) { goto LABEL_282; } v123 = (void **)*v123; if ( !v123 ) goto LABEL_282; } } while ( 2 ) { v125 = (unsigned __int64)v123[1]; if ( v125 != v112 ) { if ( (void *)v125 < v209[1] ) { LABEL_275: if ( v125 != v121 ) goto LABEL_282; } else { if ( ((unsigned __int64)v209[1] | v125) >> 32 ) { v125 %= (unsigned __int64)v209[1]; goto LABEL_275; } if ( (unsigned int)v125 % LODWORD(v209[1]) != v121 ) goto LABEL_282; } LABEL_270: v123 = (void **)*v123; if ( !v123 ) goto LABEL_282; continue; } break; } if ( *((_DWORD *)v123 + 4) != (_DWORD)v112 ) goto LABEL_270; LABEL_279: if ( (unsigned int)v113 > 1 ) { if ( v209[1] <= (void *)v112 ) { if ( ((unsigned __int64)v209[1] | v112) >> 32 ) v112 %= (unsigned __int64)v209[1]; else v112 = (unsigned int)v112 % LODWORD(v209[1]); } } else { v112 &= v118; } v128 = (void **)v115[v112]; do { v129 = v128; v128 = (void **)*v128; } while ( v128 != v123 ); if ( v129 == v210 ) goto LABEL_307; v130 = (unsigned __int64)v129[1]; if ( (unsigned int)v113 > 1 ) { if ( (void *)v130 >= v209[1] ) { if ( !(((unsigned __int64)v209[1] | v130) >> 32) ) { if ( (unsigned int)v130 % LODWORD(v209[1]) != v112 ) goto LABEL_307; goto LABEL_316; } v130 %= (unsigned __int64)v209[1]; } if ( v130 == v112 ) goto LABEL_316; goto LABEL_307; } if ( (v118 & v130) == v112 ) goto LABEL_316; LABEL_307: if ( !*v123 ) goto LABEL_315; v131 = *((_QWORD *)*v123 + 1); if ( (unsigned int)v113 <= 1 ) { if ( (v118 & v131) == v112 ) goto LABEL_316; LABEL_315: v115[v112] = 0; goto LABEL_316; } if ( (void *)v131 < v209[1] ) { LABEL_314: if ( v131 == v112 ) goto LABEL_316; goto LABEL_315; } if ( ((unsigned __int64)v209[1] | v131) >> 32 ) { v131 %= (unsigned __int64)v209[1]; goto LABEL_314; } if ( (unsigned int)v131 % LODWORD(v209[1]) != v112 ) goto LABEL_315; LABEL_316: v132 = (unsigned __int64 *)*v123; if ( *v123 ) { v133 = v132[1]; if ( (unsigned int)v113 > 1 ) { if ( v133 >= v111 ) { if ( (v111 | v133) >> 32 ) v133 %= v111; else v133 = (unsigned int)v133 % (unsigned int)v111; v132 = (unsigned __int64 *)*v123; } } else { v133 &= v118; } if ( v133 != v112 ) { v115[v133] = v129; v132 = (unsigned __int64 *)*v123; } } else { v132 = nullptr; } *v129 = v132; *v123 = nullptr; --v210[1]; operator delete(v123); if ( *(_BYTE *)(v110 + 1150) ) goto LABEL_283; LABEL_330: if ( *(_BYTE *)(v110 + 1151) || (cocos2d::CCDictionary_vtbl *)v110 == v98 ) goto LABEL_283; LABEL_224: ++v108; goto LABEL_225; } } else if ( (void *)v120 < v209[1] ) { LABEL_248: if ( v120 != v114 ) goto LABEL_282; } else { if ( ((unsigned __int64)v209[1] | v120) >> 32 ) { v120 %= (unsigned __int64)v209[1]; goto LABEL_248; } if ( (unsigned int)v120 % LODWORD(v209[1]) != v114 ) goto LABEL_282; } v117 = (__int64 *)*v117; if ( !v117 ) goto LABEL_282; continue; } } } LABEL_337: v72 = v207; if ( !(_BYTE)v214 ) { v135 = v207[1].__vftable; if ( LODWORD(v135->copyWithZone) ) { v136 = (intptr_t *)v135->~CCObject_0; v137 = (unsigned __int64)&v136[LODWORD(v135->copyWithZone) - 1]; do { v138 = *v136; if ( !*v136 ) break; if ( !v209[1] ) goto LABEL_341; v139 = *(_DWORD *)(v138 + 916); acceptVisitor_high = (int)v139; v140 = (0x101010101010101LL * (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 56; if ( v140 > 1 ) { v141 = (int)v139; if ( v209[1] <= (void *)(int)v139 ) { if ( !(((unsigned __int64)v209[1] | (int)v139) >> 32) ) { v141 = v139 % LODWORD(v209[1]); v142 = *((__int64 ***)v209[0] + v141); if ( !v142 ) goto LABEL_341; goto LABEL_351; } v141 = (int)v139 % (unsigned __int64)v209[1]; } v142 = *((__int64 ***)v209[0] + v141); if ( !v142 ) goto LABEL_341; } else { v141 = (int)v139 & ((unsigned __int64)v209[1] - 1); v142 = *((__int64 ***)v209[0] + v141); if ( !v142 ) goto LABEL_341; } LABEL_351: v143 = *v142; if ( !*v142 ) goto LABEL_341; if ( (unsigned int)v140 < 2 ) { while ( 1 ) { v145 = v143[1]; if ( v145 == v139 ) { if ( *((_DWORD *)v143 + 4) == v139 ) goto LABEL_369; } else if ( (((unsigned __int64)v209[1] - 1) & v145) != v141 ) { goto LABEL_341; } v143 = (__int64 *)*v143; if ( !v143 ) goto LABEL_341; } } while ( 1 ) { v144 = v143[1]; if ( v144 == v139 ) break; if ( (void *)v144 < v209[1] ) goto LABEL_360; if ( ((unsigned __int64)v209[1] | v144) >> 32 ) { v144 %= (unsigned __int64)v209[1]; LABEL_360: if ( v144 != v141 ) goto LABEL_341; goto LABEL_355; } if ( (unsigned int)v144 % LODWORD(v209[1]) != v141 ) goto LABEL_341; LABEL_355: v143 = (__int64 *)*v143; if ( !v143 ) goto LABEL_341; } if ( *((_DWORD *)v143 + 4) != v139 ) goto LABEL_355; LABEL_369: m_uReference = *(_DWORD *)(v138 + 916); acceptVisitor_high = (intptr_t)&m_uReference; p_m_uReference = (int *)&m_uReference; v146 = sub_100105AF0( (float *)v209, (int *)&m_uReference, v84, (__int64)&unk_100816AE0, &p_m_uReference); v147 = *((int *)v146 + 5); if ( v147 > 0 && (*(_BYTE *)(v138 + 1150) || *(_BYTE *)(v138 + 1151) == 1) ) { v148 = cocos2d::CCDictionary::objectForKey(v213, *((int *)v146 + 5)); if ( !v148 || !HIBYTE(v148[20].m_eObjType) && *(_BYTE *)(v138 + 1151) == 1 ) cocos2d::CCDictionary::setObject(v213, (cocos2d::CCObject *)v138, v147); acceptVisitor_high = v147; v149 = cocos2d::CCDictionary::objectForKey(v208, v147); if ( !v149 || !BYTE2(v149[20].m_eObjType) && *(_BYTE *)(v138 + 1150) == 1 ) { acceptVisitor_high = v138; cocos2d::CCDictionary::setObject(v208, (cocos2d::CCObject *)v138, v147); } } LABEL_341: ++v136; } while ( (unsigned __int64)v136 <= v137 ); } } } v150 = v213; if ( cocos2d::CCDictionary::count(v213) ) { v151 = sub_10071F9E0(v150, acceptVisitor_high); v152 = sub_10071F9E0(v150, acceptVisitor_high); v203 = cocos2d::CCDictionary::create(); v204 = cocos2d::CCDictionary::create(); if ( v72 ) { v153 = v207[1].__vftable; if ( LODWORD(v153->copyWithZone) ) { v154 = (cocos2d::CCObject **)v153->~CCObject_0; v155 = &v154[LODWORD(v153->copyWithZone) - 1]; do { v158 = *v154; if ( !*v154 ) break; if ( !v209[1] ) goto LABEL_388; v159 = v158[16].m_uReference; v160 = (0x101010101010101LL * (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + (((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + ((((unsigned __int64)v209[1] - (((unsigned __int64)v209[1] >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 56; if ( v160 > 1 ) { v161 = v159; if ( v209[1] <= (void *)v159 ) { if ( !(((unsigned __int64)v209[1] | v159) >> 32) ) { v161 = (unsigned int)v159 % LODWORD(v209[1]); v162 = *((__int64 ***)v209[0] + v161); if ( !v162 ) goto LABEL_388; goto LABEL_398; } v161 = v159 % (unsigned __int64)v209[1]; } v162 = *((__int64 ***)v209[0] + v161); if ( !v162 ) goto LABEL_388; } else { v161 = v159 & ((unsigned __int64)v209[1] - 1); v162 = *((__int64 ***)v209[0] + v161); if ( !v162 ) goto LABEL_388; } LABEL_398: v163 = *v162; if ( !*v162 ) goto LABEL_388; if ( (unsigned int)v160 < 2 ) { while ( 1 ) { v165 = v163[1]; if ( v165 == v159 ) { if ( *((_DWORD *)v163 + 4) == v159 ) goto LABEL_416; } else if ( (((unsigned __int64)v209[1] - 1) & v165) != v161 ) { goto LABEL_388; } v163 = (__int64 *)*v163; if ( !v163 ) goto LABEL_388; } } while ( 1 ) { v164 = v163[1]; if ( v164 == v159 ) break; if ( (void *)v164 < v209[1] ) goto LABEL_407; if ( ((unsigned __int64)v209[1] | v164) >> 32 ) { v164 %= (unsigned __int64)v209[1]; LABEL_407: if ( v164 != v161 ) goto LABEL_388; goto LABEL_402; } if ( (unsigned int)v164 % LODWORD(v209[1]) != v161 ) goto LABEL_388; LABEL_402: v163 = (__int64 *)*v163; if ( !v163 ) goto LABEL_388; } if ( *((_DWORD *)v163 + 4) != v159 ) goto LABEL_402; LABEL_416: m_uReference = v158[16].m_uReference; p_m_uReference = (int *)&m_uReference; v166 = sub_100105AF0( (float *)v209, (int *)&m_uReference, v84, (__int64)&unk_100816AE0, &p_m_uReference); v167 = *((int *)v166 + 5); if ( !*((_DWORD *)v166 + 5) ) goto LABEL_387; j = *((int *)v166 + 5); v168 = cocos2d::CCDictionary::objectForKey(v213, v167); if ( v158 == v168 ) { sub_10071FCD0(v151, v158); if ( (int)j < 0 ) { v170 = (unsigned int)-(int)j; if ( (unsigned int)v170 >= 0x270F ) v170 = 9999; begin = v215->m_groups.__begin_; v214 = v170; v169 = begin[v170]; if ( !v169 ) { v172 = (cocos2d::CCObject *)sub_10071F9E0(v151, 0); m_groupDict = v215->m_groupDict; v206 = (unsigned __int64)v172; cocos2d::CCDictionary::setObject(m_groupDict, v172, v214); v169 = (cocos2d::CCObject *)v206; v215->m_groups.__begin_[v214] = (cocos2d::CCArray *)v206; } } else { v169 = cocos2d::CCDictionary::objectForKey(v215->m_linkedGroupDict, j); } cocos2d::CCDictionary::setObject(v203, v169, v158[16].m_uReference); v174 = cocos2d::CCDictionary::objectForKey(v208, j); cocos2d::CCDictionary::setObject(v204, v174, v158[16].m_uReference); } else if ( !v168 ) { LABEL_387: sub_10071FCD0(v152, v158); } LABEL_388: ++v154; } while ( v154 <= v155 ); } } v175 = sub_100720070(v152); v176 = sub_100720070(v151); v177 = sub_100720070(v215->m_targetGroupsArray); p_m_uReference = (int *)&v212; v178 = sub_100167180(p_m_targetGroups, &v212, &unk_100816AE0, &p_m_uReference, &m_uReference); *(_DWORD *)(v178 + 20) = v177 + 1; *(_DWORD *)(v178 + 24) = v175 + v176; v179 = v215; sub_10071FCD0(v215->m_targetGroupsArray, v152); sub_10071FCD0(v179->m_targetGroupsArray, v151); sub_10071FCD0(v179->m_targetGroupsArray, v203); sub_10071FCD0(v179->m_targetGroupsArray, v204); } else { v156 = sub_100720070(v72); p_m_uReference = (int *)&v212; v157 = sub_100167180(p_m_targetGroups, &v212, &unk_100816AE0, &p_m_uReference, &m_uReference); *(_DWORD *)(v157 + 20) = 0; *(_DWORD *)(v157 + 24) = v156; } v180 = v210[0]; if ( v210[0] ) { do { v181 = (_QWORD *)*v180; operator delete(v180); v180 = v181; } while ( v181 ); } v182 = v209[0]; v209[0] = nullptr; v67 = v215; v74 = v183; v72 = v207; if ( v182 ) operator delete(v182); LODWORD(acceptVisitor_high) = v198; } acceptVisitor_high = (unsigned int)(acceptVisitor_high + 1); if ( (_DWORD)acceptVisitor_high == 4 ) break; LODWORD(v214) = 0; v76 = 0; v77 = v74; switch ( (unsigned __int64)v74 ) { case 0uLL: continue; case 1uLL: goto LABEL_437; case 2uLL: goto LABEL_439; case 3uLL: goto LABEL_438; } } v66 = (_DWORD *)*v187; if ( !*v187 ) goto LABEL_32; } } LABEL_34: v25 = v200[0]; v200[0] = nullptr; if ( v25 ) operator delete(v25); v26 = v192[0]; if ( v192[0] ) { do { v34 = (_QWORD *)*v26; v35 = (_QWORD *)v26[5]; if ( v35 ) { do { v36 = (_QWORD *)*v35; operator delete(v35); v35 = v36; } while ( v36 ); } v37 = (void *)v26[3]; v26[3] = 0; if ( v37 ) operator delete(v37); operator delete(v26); v26 = v34; } while ( v34 ); } v27 = v191[0]; v191[0] = nullptr; if ( v27 ) operator delete(v27); v28 = v196[0]; if ( v196[0] ) { do { v29 = (_QWORD *)*v28; operator delete(v28); v28 = v29; } while ( v29 ); } v30 = v195[0]; v195[0] = nullptr; if ( v30 ) operator delete(v30); v31 = v189[0]; if ( v189[0] ) { do { v32 = (_QWORD *)*v31; operator delete(v31); v31 = v32; } while ( v32 ); } v33 = v188[0]; v188[0] = nullptr; if ( v33 ) operator delete(v33); }