// // GJBaseGameLayer::processTransformActions from 0x100144ce0 to 0x100145b41 (3681 bytes) // // 2 xrefs: // > GJBaseGameLayer::processMoveActionsStep @ 0x100144648 // > GJBaseGameLayer::update @ 0x10015211e // // 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::processTransformActions(GJBaseGameLayer *a1, bool a2) { __int64 v3; // rsi cocos2d::CCLayer *m_objectLayer; // rdi __int64 v5; // rdx __int64 v6; // rcx __int64 v7; // r8 GJEffectManager *m_effectManager; // rax char *begin; // rbx signed __int64 v10; // r15 cocos2d::CCDictionary *v11; // r12 cocos2d::CCDictionary *m_parentGroupsDict; // rdi __int64 v13; // rsi __m128d **v14; // rax __m128d *v15; // rax intptr_t v16; // rbx cocos2d::CCObject *v17; // rax cocos2d::CCArray *v18; // r15 intptr_t v19; // r13 cocos2d::CCArray *v20; // rbx std::__vector_base::pointer v21; // rax cocos2d::CCArray *v22; // rdi int v23; // r13d intptr_t v24; // rbx int v25; // eax __int64 v26; // rcx __m128d *v27; // rax __m128d v28; // xmm4 __m128d v29; // xmm2 __m128d v30; // xmm0 char v31; // bl __m128d v32; // xmm0 __m128d v33; // xmm1 __m128d v34; // xmm3 __m128d v35; // xmm0 char v36; // al __m128d v37; // xmm3 __m128d v38; // xmm2 __m128d v39; // xmm4 __m128d v40; // xmm10 __m128d v41; // xmm4 __m128d v42; // xmm1 __m128d v43; // xmm3 __m128d v44; // xmm5 __m128d v45; // xmm0 __m128d v46; // xmm1 __int128 v47; // xmm0 __m128d **v48; // rbx cocos2d::CCObject_vtbl *data; // rax void (__cdecl *v50)(cocos2d::CCObject *__hidden); // rbx __int64 v51; // r15 __m128d v52; // xmm0 unsigned int v53; // eax unsigned int m_commandIndex; // ecx __m128d v55; // xmm3 GJBaseGameLayer *v56; // r13 cocos2d::CCNode *m_areaTransformNode2; // rbx float v58; // xmm0_4 float v59; // xmm1_4 __int64 v60; // rbx float v61; // xmm0_4 cocos2d::CCNode *v62; // rdi cocos2d::CCNode_vtbl *v63; // rax __m128d v64; // xmm0 unsigned __int64 v65; // xmm1_8 double v66; // xmm0_8 unsigned __int64 v67; // xmm1_8 __m128d d_low; // xmm0 float v69; // xmm1_4 cocos2d::CCObject_vtbl *v70; // rax __int64 copyWithZone_low; // rcx __m128d v72; // xmm0 void (__cdecl *v73)(cocos2d::CCObject *__hidden); // r15 unsigned __int64 v74; // r13 __int64 v75; // rbx unsigned int v76; // eax float v77; // xmm0_4 float v78; // xmm0_4 cocos2d::CCAffineTransform v79; // [rsp+8h] [rbp-178h] BYREF cocos2d::CCAffineTransform v80; // [rsp+20h] [rbp-160h] BYREF char v81[8]; // [rsp+38h] [rbp-148h] BYREF unsigned __int64 v82; // [rsp+40h] [rbp-140h] BYREF __m128d **v83; // [rsp+48h] [rbp-138h] __int128 v84; // [rsp+50h] [rbp-130h] __m128d v85; // [rsp+60h] [rbp-120h] __m128d v86; // [rsp+70h] [rbp-110h] __m128d v87; // [rsp+80h] [rbp-100h] __m128d v88; // [rsp+90h] [rbp-F0h] cocos2d::CCAffineTransform v89; // [rsp+A8h] [rbp-D8h] BYREF __int128 v90; // [rsp+C0h] [rbp-C0h] float v91[2]; // [rsp+D4h] [rbp-ACh] BYREF _BOOL4 v92; // [rsp+DCh] [rbp-A4h] float v93; // [rsp+E0h] [rbp-A0h] float v94; // [rsp+E4h] [rbp-9Ch] void *__p; // [rsp+E8h] [rbp-98h] float v96; // [rsp+F4h] [rbp-8Ch] BYREF float v97; // [rsp+F8h] [rbp-88h] BYREF float v98; // [rsp+FCh] [rbp-84h] __m128d v99; // [rsp+100h] [rbp-80h] __int128 v100; // [rsp+110h] [rbp-70h] __m128d **v101; // [rsp+128h] [rbp-58h] __m128d v102; // [rsp+130h] [rbp-50h] cocos2d::CCArray *v103; // [rsp+148h] [rbp-38h] char v104; // [rsp+155h] [rbp-2Bh] char v105; // [rsp+156h] [rbp-2Ah] char v106; // [rsp+157h] [rbp-29h] double v107; // 0:xmm0_8.8 v92 = a2; v93 = ((float (__fastcall *)(cocos2d::CCLayer *))a1->m_objectLayer->getScaleX)(a1->m_objectLayer); v94 = ((float (__fastcall *)(cocos2d::CCLayer *))a1->m_objectLayer->getScaleY)(a1->m_objectLayer); v3 = ((__int64 (__fastcall *)(cocos2d::CCLayer *))a1->m_objectLayer->getPosition)(a1->m_objectLayer); sub_10028CC60(v81); ((void (__fastcall *)(cocos2d::CCLayer *, __int64, float))a1->m_objectLayer->setScale)(a1->m_objectLayer, v3, 1.0); m_objectLayer = a1->m_objectLayer; ((void (__fastcall *)(cocos2d::CCLayer *, __int64 *))m_objectLayer->setPosition)(m_objectLayer, &qword_10099EFF0); m_effectManager = a1->m_effectManager; begin = (char *)m_effectManager->m_unkVector600.__begin_; v10 = (char *)m_effectManager->m_unkVector600.__end_ - begin; if ( v10 ) { if ( v10 < 0 ) sub_10016E9F0(m_objectLayer, &qword_10099EFF0, v5, v6, v7); v11 = (cocos2d::CCDictionary *)operator new(v10); v83 = (__m128d **)((char *)v11 + v10); m_parentGroupsDict = v11; v13 = (__int64)begin; memcpy(v11, begin, v10); v14 = (__m128d **)v11; __p = v11; while ( 1 ) { v101 = v14; v15 = *v14; v16 = SHIDWORD(v15[2].f64[1]); if ( v16 > 0 ) { m_parentGroupsDict = a1->m_parentGroupsDict; v13 = SHIDWORD(v15[2].f64[1]); v17 = cocos2d::CCDictionary::objectForKey(m_parentGroupsDict, v13); if ( v17 ) goto LABEL_14; if ( (unsigned int)v16 >= 0x270F ) v16 = 9999; v18 = a1->m_groups.__begin_[v16]; if ( v18 || (v18 = (cocos2d::CCArray *)sub_10071F9E0(m_parentGroupsDict, v13), m_parentGroupsDict = a1->m_groupDict, v13 = (__int64)v18, cocos2d::CCDictionary::setObject(m_parentGroupsDict, v18, v16), (a1->m_groups.__begin_[v16] = v18) != nullptr) ) { m_parentGroupsDict = (cocos2d::CCDictionary *)v18; if ( (unsigned int)sub_100720070(v18) == 1 ) break; } } *(_QWORD *)&v100 = 0; LABEL_16: v19 = LODWORD((*v101)[2].f64[1]); if ( (int)v19 >= 9999 ) v19 = 9999; if ( (int)v19 <= 0 ) v19 = 0; v20 = a1->m_staticGroups.__begin_[v19]; if ( !v20 ) { v20 = (cocos2d::CCArray *)sub_10071F9E0(m_parentGroupsDict, v13); m_parentGroupsDict = a1->m_staticGroupDict; v13 = (__int64)v20; cocos2d::CCDictionary::setObject(m_parentGroupsDict, v20, v19); a1->m_staticGroups.__begin_[v19] = v20; v19 = LODWORD((*v101)[2].f64[1]); if ( (int)v19 >= 9999 ) v19 = 9999; if ( (int)v19 <= 0 ) v19 = 0; } v103 = a1->m_optimizedGroups.__begin_[v19]; if ( !v103 ) { v13 = sub_10071F9E0(m_parentGroupsDict, v13); cocos2d::CCDictionary::setObject(a1->m_optimizedGroupDict, (cocos2d::CCObject *)v13, v19); v21 = a1->m_optimizedGroups.__begin_; v103 = (cocos2d::CCArray *)v13; v21[v19] = (cocos2d::CCArray *)v13; } v22 = v20; v23 = sub_100720070(v20); if ( v23 ) { v24 = LODWORD((*v101)[2].f64[1]); if ( (int)v24 >= 9999 ) v24 = 9999; if ( (int)v24 <= 0 ) v24 = 0; v103 = a1->m_groups.__begin_[v24]; if ( !v103 ) { v103 = (cocos2d::CCArray *)sub_10071F9E0(v22, v13); v13 = (__int64)v103; cocos2d::CCDictionary::setObject(a1->m_groupDict, v103, v24); a1->m_groups.__begin_[v24] = v103; } } m_parentGroupsDict = (cocos2d::CCDictionary *)v103; v25 = sub_100720070(v103); v26 = v23 == 0; a1->m_scaledCount += v25; v27 = *v101; v28 = (__m128d)*(unsigned __int64 *)&(*v101)[10].f64[v26]; v29 = (__m128d)*(unsigned __int64 *)&(*v101)[17].f64[v26]; v30 = (*v101)[15]; v90 = *(unsigned __int64 *)&(*v101)[16].f64[0]; v84 = *(unsigned __int64 *)&v27[16].f64[1]; v105 = LOBYTE(v27[18].f64[0]); v31 = BYTE2(v27[18].f64[0]); LOBYTE(v26) = BYTE2(v27[7].f64[0]); v106 = 1; v104 = v26; if ( (_BYTE)v26 ) goto LABEL_37; if ( v28.f64[0] != v29.f64[0] ) { v106 = v92 | LOBYTE(v27[32].f64[0]); LABEL_37: v32 = _mm_add_pd(v30, (__m128d)xmmword_100815180); v33.f64[0] = v27[18].f64[1]; v86 = v29; if ( v33.f64[0] == 0.0 ) { v34 = (__m128d)xmmword_100815170; v33 = _mm_add_pd(_mm_mul_pd(_mm_movedup_pd(v29), v32), (__m128d)xmmword_100815170); } else { v33.f64[1] = v27[19].f64[0]; v34 = (__m128d)xmmword_100815170; } v35 = _mm_add_pd(_mm_mul_pd(v32, _mm_movedup_pd(v28)), v34); v36 = _mm_movemask_pd(_mm_cmplt_pd(v35, (__m128d)xmmword_1008150A0)); v37 = (__m128d)0xBF847AE147AE147BLL; if ( (v36 & 1) == 0 ) v37 = (__m128d)0x3F847AE147AE147BuLL; v85 = v28; v38 = (__m128d)0xBF847AE147AE147BLL; if ( (v36 & 2) == 0 ) v38 = (__m128d)0x3F847AE147AE147BuLL; v39 = _mm_cmplt_sd(v33, (__m128d)0LL); v40 = _mm_cmplt_sd(_mm_and_pd(v33, (__m128d)xmmword_100816580), (__m128d)0x3F847AE147AE147BuLL); v87 = _mm_or_pd( _mm_andn_pd(v40, v33), _mm_and_pd( _mm_or_pd( _mm_andn_pd(v39, (__m128d)0x3F847AE147AE147BuLL), _mm_and_pd(v39, (__m128d)0xBF847AE147AE147BLL)), v40)); v41 = _mm_cmplt_sd(_mm_and_pd(v35, (__m128d)xmmword_100816580), (__m128d)0x3F847AE147AE147BuLL); v99 = _mm_or_pd(_mm_andn_pd(v41, v35), _mm_and_pd(v37, v41)); v42 = _mm_unpackhi_pd(v33, v33); v43 = _mm_cmplt_sd(v42, (__m128d)0LL); v44 = _mm_cmplt_sd(_mm_and_pd(v42, (__m128d)xmmword_100816580), (__m128d)0x3F847AE147AE147BuLL); v88 = _mm_or_pd( _mm_andn_pd(v44, v42), _mm_and_pd( _mm_or_pd( _mm_andn_pd(v43, (__m128d)0x3F847AE147AE147BuLL), _mm_and_pd(v43, (__m128d)0xBF847AE147AE147BLL)), v44)); v45 = _mm_unpackhi_pd(v35, v35); v46 = _mm_cmplt_sd(_mm_and_pd(v45, (__m128d)xmmword_100816580), (__m128d)0x3F847AE147AE147BuLL); v102 = _mm_or_pd(_mm_andn_pd(v46, v45), _mm_and_pd(v38, v46)); v13 = v100; if ( (_QWORD)v100 ) { GameObject::getUnmodifiedPosition((GameObject *)v91); v47 = 0; if ( v31 ) *(float *)&v47 = (*(float (__fastcall **)(_QWORD, double))(*(_QWORD *)v100 + 368LL))(v100, 0.0) + 0.0; v100 = v47; v96 = 0.0; v97 = 0.0; v48 = v101; GJBaseGameLayer::claimRotationAction( a1, LODWORD((*v101)[2].f64[1]), HIDWORD((*v101)[2].f64[1]), &v96, &v97, v23 == 0, 0); *(cocos2d::CCPoint *)&v107 = GJBaseGameLayer::claimMoveAction( (GJBaseGameLayer *)&v82, (int)a1, LODWORD((*v48)[2].f64[1])); ((void (__fastcall *)(cocos2d::CCNode *, float *, double))a1->m_areaTransformNode->setPosition)( a1->m_areaTransformNode, v91, v107); *(float *)&v107 = v99.f64[0]; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaTransformNode->setScaleX)( a1->m_areaTransformNode, *(float *)&v107); *(float *)&v107 = v102.f64[0]; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaTransformNode->setScaleY)( a1->m_areaTransformNode, *(float *)&v107); *(float *)&v107 = 1.0 / v87.f64[0]; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaScaleNode->setScaleX)( a1->m_areaScaleNode, *(float *)&v107); *(float *)&v107 = 1.0 / v88.f64[0]; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaScaleNode->setScaleY)( a1->m_areaScaleNode, *(float *)&v107); *(float *)&v107 = v85.f64[0] * *(double *)&v90; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaTransformNode->setSkewX)( a1->m_areaTransformNode, *(float *)&v107); *(float *)&v107 = v85.f64[0] * *(double *)&v84; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaTransformNode->setSkewY)( a1->m_areaTransformNode, *(float *)&v107); *(float *)&v107 = -*(double *)&v90 * v86.f64[0]; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaSkewNode->setSkewX)( a1->m_areaSkewNode, *(float *)&v107); *(float *)&v107 = v86.f64[0] * -*(double *)&v84; ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaSkewNode->setSkewY)( a1->m_areaSkewNode, *(float *)&v107); ((void (__fastcall *)(cocos2d::CCNode *, float))a1->m_areaTransformNode->setRotation)( a1->m_areaTransformNode, v96 + *(float *)&v100); ((void (__fastcall *)(cocos2d::CCNode *, double))a1->m_areaRotateNode->setRotation)( a1->m_areaRotateNode, COERCE_DOUBLE(v100 ^ 0x8000000080000000LL)); cocos2d::CCObject::retain(a1->m_areaTransformNode2); ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a1->m_areaTransformNode2->removeFromParentAndCleanup)( a1->m_areaTransformNode2, 0); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCNode *))a1->m_areaRotateNode->addChild)( a1->m_areaRotateNode, a1->m_areaTransformNode2); cocos2d::CCObject::release(a1->m_areaTransformNode2); ((void (__fastcall *)(cocos2d::CCAffineTransform *))a1->m_areaTransformNode->nodeToWorldTransform)(&v89); ((void (__fastcall *)(cocos2d::CCAffineTransform *))a1->m_areaSkewNode->nodeToWorldTransform)(&v89); ((void (__fastcall *)(cocos2d::CCAffineTransform *))a1->m_areaScaleNode->nodeToWorldTransform)(&v89); ((void (__fastcall *)(cocos2d::CCAffineTransform *))a1->m_areaRotateNode->nodeToWorldTransform)(&v89); v80 = v89; if ( v103 ) { data = (cocos2d::CCObject_vtbl *)v103->data; if ( LODWORD(data->copyWithZone) ) { v50 = data->~CCObject_0; *(_QWORD *)&v84 = (char *)v50 + 8 * LODWORD(data->copyWithZone) - 8; v98 = v97; do { v51 = *(_QWORD *)v50; if ( !*(_QWORD *)v50 ) break; *(_BYTE *)(v51 + 1291) = v104; v99 = *(__m128d *)(v51 + 944); v52 = _mm_cvtps_pd(*(__m64 *)(v51 + 668)); if ( !*(_BYTE *)(v51 + 1290) ) { v53 = *(_DWORD *)(v51 + 1244); m_commandIndex = a1->m_gameState.m_commandIndex; v102 = v52; if ( v53 != m_commandIndex ) { *(_QWORD *)(v51 + 988) = *(_QWORD *)(v51 + 1152); *(_DWORD *)(v51 + 1244) = m_commandIndex; GameObject::dirtifyObjectRect((GameObject *)v51); v52 = v102; v53 = a1->m_gameState.m_commandIndex; } if ( *(_DWORD *)(v51 + 1236) != v53 ) { *(_QWORD *)(v51 + 1224) = *(_QWORD *)(v51 + 944); *(_DWORD *)(v51 + 1236) = v53; GameObject::dirtifyObjectRect((GameObject *)v51); v52 = v102; } } *(_QWORD *)&v100 = v50; v55 = _mm_sub_pd(v99, v52); *(_BYTE *)(v51 + 840) = 1; *(_BYTE *)(v51 + 842) = 1; v56 = a1; m_areaTransformNode2 = a1->m_areaTransformNode2; v58 = v55.f64[0] - v91[0]; v99 = v55; v59 = _mm_unpackhi_pd(v55, v55).f64[0] - v91[1]; sub_10028CBE0(&v89, v58, v59); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCAffineTransform *))m_areaTransformNode2->setPosition)( m_areaTransformNode2, &v89); ((void (__fastcall *)(cocos2d::CCNode *, float))v56->m_areaTransformNode2->setScaleX)( v56->m_areaTransformNode2, *(float *)(v51 + 1152) - *(float *)(v51 + 700)); v60 = v100; ((void (__fastcall *)(cocos2d::CCNode *, float))v56->m_areaTransformNode2->setScaleY)( v56->m_areaTransformNode2, *(float *)(v51 + 1156) - *(float *)(v51 + 704)); v61 = (float)(*(float *)(v51 + 972) + *(float *)(v51 + 676)) - *(float *)(v51 + 680); *(float *)v102.f64 = (float)(*(float *)(v51 + 976) + *(float *)(v51 + 684)) - *(float *)(v51 + 688); v62 = a1->m_areaTransformNode2; v63 = v62->__vftable; *(float *)&v90 = v61; ((void (__fastcall *)(cocos2d::CCNode *))v63->setRotationX)(v62); ((void (__fastcall *)(cocos2d::CCNode *, float))v56->m_areaTransformNode2->setRotationY)( v56->m_areaTransformNode2, *(float *)v102.f64); ((void (__fastcall *)(cocos2d::CCAffineTransform *))a1->m_areaTransformNode2->nodeToParentTransform)(&v79); cocos2d::CCAffineTransformConcat(&v89, &v79, &v80); v64 = _mm_add_pd( *(__m128d *)(v51 + 944), _mm_sub_pd(_mm_cvtps_pd(_mm_add_ps((__m128)v82, (__m128)*(unsigned __int64 *)&v89.tx)), v99)); *(__m128d *)(v51 + 944) = v64; v65 = 0x416312D000000000LL; if ( v64.f64[0] <= 10000000.0 ) { v65 = 0xC16312D000000000LL; if ( v64.f64[0] >= -10000000.0 ) continue; } *(_QWORD *)(v51 + 944) = v65; v66 = _mm_unpackhi_pd(v64, v64).f64[0]; v67 = 0x416312D000000000LL; if ( v66 <= 10000000.0 ) { v67 = 0xC16312D000000000LL; if ( v66 >= -10000000.0 ) continue; } *(_QWORD *)(v51 + 952) = v67; if ( v105 ) { if ( v98 != 0.0 ) GameObject::fastRotateObject((GameObject *)v51, v98); } else { v85.f64[0] = *(float *)&v90; *(double *)&v90 = *(float *)v102.f64; *(float *)v99.f64 = v89.a; *(float *)v102.f64 = v89.b; d_low = (__m128d)LODWORD(v89.d); *(float *)v88.f64 = v89.d; *(float *)v87.f64 = v89.c; d_low.f64[0] = atan2f(v89.d, v89.c) * 57.29577951308232 + -90.0; *(float *)d_low.f64 = d_low.f64[0]; v86 = d_low; *(float *)d_low.f64 = atan2f(*(float *)v102.f64, *(float *)v99.f64) * 57.29577951308232; v69 = *(float *)(v51 + 676) + COERCE_FLOAT(LODWORD(v86.f64[0]) ^ 0x80000000) - v85.f64[0]; *(float *)(v51 + 676) = v69; *(float *)d_low.f64 = *(float *)(v51 + 684) + (float)-*(float *)d_low.f64 - *(double *)&v90; *(_DWORD *)(v51 + 684) = LODWORD(d_low.f64[0]); (*(void (__fastcall **)(__int64, double))(*(_QWORD *)v51 + 1464LL))(v51, 0.0); if ( *(_DWORD *)(v51 + 920) != 7 && !*(_BYTE *)(v51 + 744) ) GameObject::calculateOrientedBox((GameObject *)v51); GameObject::addToCustomScaleX( (GameObject *)v51, (float)(fsqrt( (float)(*(float *)v99.f64 * *(float *)v99.f64) + (float)(*(float *)v102.f64 * *(float *)v102.f64)) - *(float *)(v51 + 1152)) + *(float *)(v51 + 700)); GameObject::addToCustomScaleY( (GameObject *)v51, (float)(fsqrt( (float)(*(float *)v87.f64 * *(float *)v87.f64) + (float)(*(float *)v88.f64 * *(float *)v88.f64)) - *(float *)(v51 + 1156)) + *(float *)(v51 + 704)); if ( v106 ) (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v51 + 1440LL))(v51, 1.0); } ((void (__fastcall *)(GJBaseGameLayer *, __int64))a1->updateObjectSection)(a1, v51); v50 = (void (__cdecl *)(cocos2d::CCObject *__hidden))(v60 + 8); } while ( (unsigned __int64)v50 <= (unsigned __int64)v84 ); } } m_parentGroupsDict = (cocos2d::CCDictionary *)a1; v13 = (__int64)v103; ((void (__fastcall *)(GJBaseGameLayer *, cocos2d::CCArray *))a1->updateDisabledObjectsLastPos)(a1, v103); } else if ( v103 ) { if ( !v105 ) { v70 = (cocos2d::CCObject_vtbl *)v103->data; copyWithZone_low = LODWORD(v70->copyWithZone); if ( LODWORD(v70->copyWithZone) ) { v72.f64[1] = v99.f64[1]; v72.f64[0] = v99.f64[0] / v87.f64[0]; v99 = v72; v72.f64[1] = v102.f64[1]; v72.f64[0] = v102.f64[0] / v88.f64[0]; v102 = v72; v73 = v70->~CCObject_0; v74 = (unsigned __int64)v73 + 8 * copyWithZone_low - 8; do { v75 = *(_QWORD *)v73; if ( !*(_QWORD *)v73 ) break; if ( !*(_BYTE *)(v75 + 1290) ) { v76 = a1->m_gameState.m_commandIndex; if ( *(_DWORD *)(v75 + 1244) != v76 ) { *(_QWORD *)(v75 + 988) = *(_QWORD *)(v75 + 1152); *(_DWORD *)(v75 + 1244) = v76; GameObject::dirtifyObjectRect((GameObject *)v75); } } *(_BYTE *)(v75 + 840) = 1; v77 = *(float *)(v75 + 1152) * v99.f64[0] - *(float *)(v75 + 1152); GameObject::addToCustomScaleX((GameObject *)v75, v77); v78 = *(float *)(v75 + 1156) * v102.f64[0] - *(float *)(v75 + 1156); m_parentGroupsDict = (cocos2d::CCDictionary *)v75; GameObject::addToCustomScaleY((GameObject *)v75, v78); if ( v106 ) { m_parentGroupsDict = (cocos2d::CCDictionary *)v75; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v75 + 1440LL))(v75, 1.0); } v73 = (void (__cdecl *)(cocos2d::CCObject *__hidden))((char *)v73 + 8); } while ( (unsigned __int64)v73 <= v74 ); } } } } v14 = v101 + 1; if ( v101 + 1 == v83 ) goto LABEL_84; } m_parentGroupsDict = (cocos2d::CCDictionary *)v18; v13 = 0; v17 = (cocos2d::CCObject *)sub_1007200C0(v18, 0); LABEL_14: *(_QWORD *)&v100 = v17; goto LABEL_16; } __p = nullptr; LABEL_84: ((void (__fastcall *)(cocos2d::CCLayer *, float))a1->m_objectLayer->setScaleX)(a1->m_objectLayer, v93); ((void (__fastcall *)(cocos2d::CCLayer *, float))a1->m_objectLayer->setScaleY)(a1->m_objectLayer, v94); ((void (__fastcall *)(cocos2d::CCLayer *, char *))a1->m_objectLayer->setPosition)(a1->m_objectLayer, v81); if ( __p ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source