// // GJTransformControl::updateButtons from 0xbd09d4 to 0xbd16dc (3336 bytes) // // 22 xrefs: // > GJTransformControl::refreshControl @ 0xbd17c0 // > GJTransformControl::refreshControl @ 0xbd17d0 // > GJTransformControl::refreshControl @ 0xbd184c // > GJTransformControl::refreshControl @ 0xbd185c // > GJTransformControl::refreshControl @ 0xbd1898 // > GJTransformControl::moveAnchorTo @ 0xbd1b18 // > GJTransformControl::moveAnchorTo @ 0xbd1b28 // > GJTransformControl::moveAnchorTo @ 0xbd1ba4 // > GJTransformControl::moveAnchorTo @ 0xbd1bb4 // > GJTransformControl::ccTouchMoved @ 0xbd25dc // > GJTransformControl::loadValues @ 0xbd375c // > GJTransformControl::applyFreeRotation @ 0xbd3934 // > GJTransformControl::ccTouchEnded @ 0xbd3b58 // > GJTransformControl::ccTouchEnded @ 0xbd3b6c // > GJTransformControl::ccTouchEnded @ 0xbd3c1c // > GJTransformControl::ccTouchEnded @ 0xbd3c30 // > GJTransformControl::ccTouchEnded @ 0xbd3cac // > GJTransformControl::ccTouchEnded @ 0xbd3cbc // > GJTransformControl::applyRotation @ 0xbd3d08 // > GJTransformControl::applyRotation @ 0xbd3d50 // > EditorUI::transformObjectCall @ 0xc01a70 // > @ 0x94408 // // 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 13:03:37 +0000 // __int64 __fastcall GJTransformControl::updateButtons(GJTransformControl *this, unsigned __int8 a2, unsigned __int8 a3) { GameManager *v4; // x0 EditorUI *v5; // x0 __int64 v6; // x0 GameManager *v7; // x0 float v8; // s0 float v9; // s13 __int64 v10; // x0 const cocos2d::CCPoint *v11; // x0 GameManager *v12; // x0 __int64 v13; // x0 GameManager *v14; // x0 __int64 v15; // x0 cocos2d::CCArray *v16; // x0 float v17; // s10 float v18; // s9 float v19; // s12 float v20; // s11 float v21; // s2 float v22; // s3 const cocos2d::CCPoint *v23; // x0 long double v24; // q0 long double v25; // q0 long double v26; // q0 long double v27; // q0 float v28; // s2 float v29; // s4 float v30; // s5 float v31; // s4 float v32; // s3 float v33; // s6 float v34; // s6 float v35; // s7 float *v36; // x21 float v37; // s15 float v38; // s14 __int64 v39; // x0 long double v40; // q0 __int64 v41; // x0 long double v42; // q0 __int64 v43; // x0 float v44; // s1 float v45; // s0 float v46; // s8 float v47; // s3 float v48; // s0 bool v49; // nf float v50; // s2 float v51; // s12 bool v52; // nf float v53; // s11 float v54; // s1 float v55; // s14 float v56; // s10 float v57; // s8 float v58; // s9 __int64 v59; // x21 void (__fastcall *v60)(__int64, __int64 *); // x23 __int64 v61; // x21 void (__fastcall *v62)(__int64, __int64 *); // x23 __int64 v63; // x21 void (__fastcall *v64)(__int64, __int64 *); // x23 __int64 v65; // x21 void (__fastcall *v66)(__int64, __int64 *); // x23 __int64 v67; // x21 void (__fastcall *v68)(__int64, __int64 *); // x23 __int64 v69; // x21 void (__fastcall *v70)(__int64, __int64 *); // x23 __int64 v71; // x21 void (__fastcall *v72)(__int64, __int64 *); // x23 __int64 v73; // x21 void (__fastcall *v74)(__int64, __int64 *); // x23 __int64 v75; // x23 void (__fastcall *v76)(__int64, __int64 *); // x21 __int64 v77; // x24 float v78; // s1 float v79; // s0 void (__fastcall *v80)(__int64, __int64 *); // x23 __int64 v81; // x23 void (__fastcall *v82)(__int64, __int64 *); // x24 __int64 v83; // x0 __int64 v84; // x0 __int64 v85; // x0 __int64 v86; // x0 __int64 v87; // x23 __int64 (__fastcall *v88)(__int64, __int64 *); // x21 GameManager *v89; // x0 EditorUI *v90; // x0 __int64 v91; // x0 GameManager *v92; // x0 __int64 v93; // x0 float v95; // s7 float v96; // s4 float v97; // s6 float v98; // s4 long double v99; // q0 long double v100; // q0 __int64 v101; // x0 float v102; // s1 __int64 v103; // x0 float *v104; // x0 __int64 v105; // x0 __int64 v106; // x0 int v107; // [xsp+A8h] [xbp+A8h] int v108; // [xsp+ACh] [xbp+ACh] unsigned int v109; // [xsp+C0h] [xbp+C0h] float v110; // [xsp+C0h] [xbp+C0h] _BYTE v111[8]; // [xsp+D8h] [xbp+D8h] BYREF float v112; // [xsp+E0h] [xbp+E0h] BYREF float v113; // [xsp+E4h] [xbp+E4h] __int64 v114; // [xsp+E8h] [xbp+E8h] BYREF __int64 v115; // [xsp+F0h] [xbp+F0h] BYREF __int64 v116; // [xsp+F8h] [xbp+F8h] BYREF __int64 v117; // [xsp+100h] [xbp+100h] BYREF __int64 v118; // [xsp+108h] [xbp+108h] BYREF __int64 v119; // [xsp+110h] [xbp+110h] BYREF __int64 v120; // [xsp+118h] [xbp+118h] BYREF __int64 v121; // [xsp+120h] [xbp+120h] BYREF __int64 v122; // [xsp+128h] [xbp+128h] BYREF float v123; // [xsp+130h] [xbp+130h] float v124; // [xsp+134h] [xbp+134h] v108 = a2; v107 = a3; v4 = *((GameManager **)this + 55); if ( v4 ) { if ( a3 ) { v5 = (EditorUI *)(*(__int64 (__fastcall **)(GameManager *))(*(_QWORD *)v4 + 120LL))(v4); v4 = (GameManager *)EditorUI::transformObjectsReset(v5); } else { v4 = (GameManager *)(*(__int64 (__fastcall **)(GameManager *))(*(_QWORD *)v4 + 48LL))(v4); } } v6 = GameManager::sharedState(v4); v7 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v6 + 552) + 3920LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(v6 + 552) + 3920LL)); v9 = v8; v10 = GameManager::sharedState(v7); v11 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v10 + 552) + 3920LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(v10 + 552) + 3920LL)); v12 = (GameManager *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v111, v11); v13 = GameManager::sharedState(v12); v14 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(*(_QWORD *)(v13 + 552) + 3920LL) + 160LL))( *(_QWORD *)(*(_QWORD *)(v13 + 552) + 3920LL), 1.0); v15 = GameManager::sharedState(v14); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(*(_QWORD *)(v15 + 552) + 3920LL) + 184LL))( *(_QWORD *)(*(_QWORD *)(v15 + 552) + 3920LL), &unk_155E9F0); v16 = *((cocos2d::CCArray **)this + 53); v17 = 10000000.0; if ( v16 && (unsigned int)cocos2d::CCArray::count(v16) ) { v18 = -10000000.0; v109 = 0; v19 = 10000000.0; v20 = -10000000.0; while ( 1 ) { if ( v109 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 53)) ) goto LABEL_50; v36 = (float *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 53), v109); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, (const cocos2d::CCPoint *)(v36 + 111)); v37 = v36[191]; v38 = v36[192]; if ( (*(unsigned __int8 (__fastcall **)(float *))(*(_QWORD *)v36 + 1736LL))(v36) ) { if ( v37 < v38 ) v37 = v38; v21 = v113; if ( v112 >= v113 ) v21 = v112; v22 = v21; v38 = v37; v112 = v21; v113 = v21; } else { v21 = v112; v22 = v113; } cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v122, 0.0, 0.0, v37 + v21, v38 + v22); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v121, 0.0, 0.0); cocos2d::CCNode::convertToWorldSpace(&v114, (cocos2d::CCNode *)v36, (const cocos2d::CCPoint *)&v121); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v121, (float)-v123 * 0.5, v124 * 0.5); cocos2d::CCNode::convertToWorldSpace(&v115, (cocos2d::CCNode *)v36, (const cocos2d::CCPoint *)&v121); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v121, v123 * 0.5, v124 * 0.5); cocos2d::CCNode::convertToWorldSpace(&v116, (cocos2d::CCNode *)v36, (const cocos2d::CCPoint *)&v121); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v121, (float)-v123 * 0.5, (float)-v124 * 0.5); cocos2d::CCNode::convertToWorldSpace(&v117, (cocos2d::CCNode *)v36, (const cocos2d::CCPoint *)&v121); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v121, v123 * 0.5, (float)-v124 * 0.5); cocos2d::CCNode::convertToWorldSpace(&v118, (cocos2d::CCNode *)v36, (const cocos2d::CCPoint *)&v121); v23 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(float *))(*(_QWORD *)v36 + 192LL))(v36); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v23); cocos2d::CCPoint::operator-(&v120, &v115, &v114, v24); cocos2d::CCPoint::operator+(&v121, &v119); *(__n128 *)&v25 = cocos2d::CCPoint::operator=(&v115, &v121); cocos2d::CCPoint::operator-(&v120, &v116, &v114, v25); cocos2d::CCPoint::operator+(&v121, &v119); *(__n128 *)&v26 = cocos2d::CCPoint::operator=(&v116, &v121); cocos2d::CCPoint::operator-(&v120, &v117, &v114, v26); cocos2d::CCPoint::operator+(&v121, &v119); *(__n128 *)&v27 = cocos2d::CCPoint::operator=(&v117, &v121); cocos2d::CCPoint::operator-(&v120, &v118, &v114, v27); cocos2d::CCPoint::operator+(&v121, &v119); cocos2d::CCPoint::operator=(&v118, &v121); if ( *(float *)&v115 < *(float *)&v116 ) break; if ( *(float *)&v115 < *(float *)&v117 ) goto LABEL_93; v96 = *(float *)&v115; if ( *(float *)&v115 < *(float *)&v116 ) { LABEL_10: v28 = *(float *)&v118; v29 = *(float *)&v116; v30 = *(float *)&v118; if ( *(float *)&v116 < *(float *)&v118 ) goto LABEL_14; goto LABEL_11; } LABEL_79: v28 = *(float *)&v118; v30 = *(float *)&v118; if ( v96 < *(float *)&v118 ) goto LABEL_14; v29 = *(float *)&v116; if ( *(float *)&v115 >= *(float *)&v116 ) v29 = *(float *)&v115; LABEL_11: v30 = *(float *)&v117; if ( v29 >= *(float *)&v117 ) { v30 = *(float *)&v116; if ( *(float *)&v115 >= *(float *)&v116 ) v30 = *(float *)&v115; } LABEL_14: if ( *(float *)&v115 > *(float *)&v116 ) { if ( *(float *)&v116 <= *(float *)&v117 ) goto LABEL_16; LABEL_92: v98 = *(float *)&v117; goto LABEL_89; } if ( *(float *)&v115 > *(float *)&v117 ) goto LABEL_92; v98 = *(float *)&v115; if ( *(float *)&v115 > *(float *)&v116 ) { LABEL_16: v31 = *(float *)&v116; if ( *(float *)&v116 > v28 ) goto LABEL_20; goto LABEL_17; } LABEL_89: if ( v98 > v28 ) goto LABEL_20; v31 = *(float *)&v116; if ( *(float *)&v115 <= *(float *)&v116 ) v31 = *(float *)&v115; LABEL_17: v28 = *(float *)&v117; if ( v31 <= *(float *)&v117 ) { v28 = *(float *)&v116; if ( *(float *)&v115 <= *(float *)&v116 ) v28 = *(float *)&v115; } LABEL_20: if ( *((float *)&v115 + 1) < *((float *)&v116 + 1) ) { if ( *((float *)&v116 + 1) >= *((float *)&v117 + 1) ) goto LABEL_22; LABEL_95: v97 = *((float *)&v117 + 1); goto LABEL_84; } if ( *((float *)&v115 + 1) < *((float *)&v117 + 1) ) goto LABEL_95; v97 = *((float *)&v115 + 1); if ( *((float *)&v115 + 1) < *((float *)&v116 + 1) ) { LABEL_22: v32 = *((float *)&v118 + 1); v33 = *((float *)&v118 + 1); if ( *((float *)&v116 + 1) < *((float *)&v118 + 1) ) goto LABEL_27; v34 = *((float *)&v116 + 1); goto LABEL_24; } LABEL_84: v32 = *((float *)&v118 + 1); v49 = v97 < *((float *)&v118 + 1); v33 = *((float *)&v118 + 1); if ( v49 ) goto LABEL_27; v34 = *((float *)&v116 + 1); if ( *((float *)&v115 + 1) >= *((float *)&v116 + 1) ) v34 = *((float *)&v115 + 1); LABEL_24: v49 = v34 < *((float *)&v117 + 1); v33 = *((float *)&v117 + 1); if ( !v49 ) { v33 = *((float *)&v116 + 1); if ( *((float *)&v115 + 1) >= *((float *)&v116 + 1) ) v33 = *((float *)&v115 + 1); } LABEL_27: if ( *((float *)&v115 + 1) > *((float *)&v116 + 1) ) { if ( *((float *)&v116 + 1) <= *((float *)&v117 + 1) ) goto LABEL_29; LABEL_94: v95 = *((float *)&v117 + 1); goto LABEL_74; } if ( *((float *)&v115 + 1) > *((float *)&v117 + 1) ) goto LABEL_94; v95 = *((float *)&v115 + 1); if ( *((float *)&v115 + 1) > *((float *)&v116 + 1) ) { LABEL_29: v35 = *((float *)&v116 + 1); if ( *((float *)&v116 + 1) > v32 ) goto LABEL_33; goto LABEL_30; } LABEL_74: if ( v95 > v32 ) goto LABEL_33; v35 = *((float *)&v116 + 1); if ( *((float *)&v115 + 1) <= *((float *)&v116 + 1) ) v35 = *((float *)&v115 + 1); LABEL_30: v32 = *((float *)&v117 + 1); if ( v35 <= *((float *)&v117 + 1) ) { v32 = *((float *)&v116 + 1); if ( *((float *)&v115 + 1) <= *((float *)&v116 + 1) ) v32 = *((float *)&v115 + 1); } LABEL_33: if ( v20 < v30 ) v20 = v30; if ( v19 > v28 ) v19 = v28; if ( v18 < v33 ) v18 = v33; if ( v17 > v32 ) v17 = v32; ++v109; } if ( *(float *)&v116 >= *(float *)&v117 ) goto LABEL_10; LABEL_93: v96 = *(float *)&v117; goto LABEL_79; } v18 = -10000000.0; v19 = 10000000.0; v20 = -10000000.0; LABEL_50: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v20, v18); v39 = (*(__int64 (__fastcall **)(GJTransformControl *))(*(_QWORD *)this + 192LL))(this); cocos2d::CCPoint::operator-(&v118, &v122, v39, v40); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v19, v17); v41 = (*(__int64 (__fastcall **)(GJTransformControl *))(*(_QWORD *)this + 192LL))(this); cocos2d::CCPoint::operator-(&v119, &v122, v41, v42); v43 = *((_QWORD *)this + 55); if ( v43 ) { if ( !v107 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v43 + 56LL))(v43); goto LABEL_53; } v90 = (EditorUI *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v43 + 120LL))(v43); EditorUI::transformObjectsActive(v90); LABEL_69: cocos2d::CCPoint::operator=((char *)this + 456, &v118); cocos2d::CCPoint::operator=((char *)this + 464, &v119); goto LABEL_70; } if ( v107 ) goto LABEL_69; LABEL_53: if ( v108 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v120, (const cocos2d::CCPoint *)&v118); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v121, (const cocos2d::CCPoint *)&v119); cocos2d::CCPoint::operator-(&v122, &v118, &v120, v99); *(__n128 *)&v100 = cocos2d::CCPoint::operator=((char *)this + 496, &v122); cocos2d::CCPoint::operator-(&v122, &v119, &v121, v100); cocos2d::CCPoint::operator=((char *)this + 504, &v122); cocos2d::CCPoint::operator=((char *)this + 456, &v118); cocos2d::CCPoint::operator=((char *)this + 464, &v119); v101 = *((_QWORD *)this + 52); *((float *)this + 148) = 1.0; *((float *)this + 149) = 1.0; *((_DWORD *)this + 151) = 0; *((_DWORD *)this + 152) = 0; (*(void (__fastcall **)(__int64))(*(_QWORD *)v101 + 360LL))(v101); v102 = *((float *)this + 148); v47 = *((float *)this + 149); v49 = v102 < 0.0; v48 = *((float *)&v119 + 1); v46 = *((float *)&v118 + 1); if ( v102 >= 0.0 ) goto LABEL_61; LABEL_97: v51 = *(float *)&v118; v50 = *(float *)&v119; v54 = *(float *)&v118; v53 = *(float *)&v119; goto LABEL_98; } v44 = *((float *)this + 148); if ( *((float *)this + 124) > 0.0 ) LODWORD(v118) = *((_DWORD *)this + 148); if ( *((float *)this + 126) >= 0.0 ) { if ( *((float *)this + 125) > 0.0 ) goto LABEL_58; LABEL_103: v47 = *((float *)this + 149); v46 = *((float *)&v118 + 1); if ( *((float *)this + 127) >= 0.0 ) goto LABEL_59; goto LABEL_104; } *(float *)&v119 = -v44; if ( *((float *)this + 125) <= 0.0 ) goto LABEL_103; LABEL_58: v45 = *((float *)this + 127); v46 = *((float *)this + 149); v47 = v46; *((float *)&v118 + 1) = v46; if ( v45 >= 0.0 ) { LABEL_59: v48 = *((float *)&v119 + 1); goto LABEL_60; } LABEL_104: v48 = -v47; *((float *)&v119 + 1) = -v47; LABEL_60: v49 = v44 < 0.0; if ( v44 < 0.0 ) goto LABEL_97; LABEL_61: v50 = *(float *)&v119; v51 = *(float *)&v119; if ( !v49 ) { v52 = v47 < 0.0; v53 = *(float *)&v118; v54 = *(float *)&v118; if ( v47 >= 0.0 ) goto LABEL_63; LABEL_99: v55 = v48; goto LABEL_100; } v54 = *(float *)&v118; v53 = *(float *)&v119; LABEL_98: v52 = v47 < 0.0; if ( v47 < 0.0 ) goto LABEL_99; LABEL_63: v55 = v46; if ( v52 ) { LABEL_100: v56 = v46; goto LABEL_65; } v56 = v48; LABEL_65: v57 = (float)(v46 - v48) * 0.5; v58 = (float)(v54 - v50) * 0.5; v59 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 3); v60 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v59 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v53, v57 + *((float *)&v119 + 1)); v60(v59, &v122); v61 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 2); v62 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v61 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v51, v57 + *((float *)&v119 + 1)); v62(v61, &v122); v63 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 4); v64 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v63 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v58 + *(float *)&v119, v55); v64(v63, &v122); v65 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 5); v66 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v65 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v58 + *(float *)&v119, v56); v66(v65, &v122); v67 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 6); v68 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v67 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v51, v55); v68(v67, &v122); v69 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 7); v70 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v69 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v53, v55); v70(v69, &v122); v71 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 8); v72 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v71 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v51, v56); v72(v71, &v122); v73 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 9); v74 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v73 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v53, v56); v74(v73, &v122); v75 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 10); v76 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v75 + 184LL); if ( v108 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, 0.0, *((float *)&v118 + 1) + 30.0); v76(v75, &v122); v77 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 11); v78 = 0.0; v79 = *(float *)&v118 + 30.0; v80 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v77 + 184LL); } else { v103 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 10); v104 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v103 + 192LL))(v103); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, *v104, *((float *)&v118 + 1) + 30.0); v76(v75, &v122); v77 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 11); v80 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v77 + 184LL); v110 = *(float *)&v118 + 30.0; v105 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 11); v106 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v105 + 192LL))(v105); v79 = v110; v78 = *(float *)(v106 + 4); } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v79, v78); v80(v77, &v122); v81 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 66) + 512LL))(*((_QWORD *)this + 66)); v82 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v81 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, v58 + *(float *)&v119, *((float *)&v118 + 1) + 60.0); v82(v81, &v122); v83 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 66) + 1072LL))(*((_QWORD *)this + 66)); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v83 + 360LL))(v83, -*((float *)this + 152)); v84 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 67) + 1072LL))(*((_QWORD *)this + 67)); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v84 + 360LL))(v84, -*((float *)this + 152)); v85 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 68) + 1072LL))(*((_QWORD *)this + 68)); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v85 + 360LL))(v85, -*((float *)this + 152)); v86 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 69) + 1072LL))(*((_QWORD *)this + 69)); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v86 + 360LL))(v86, -*((float *)this + 152)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v122, *(float *)&v118 + 60.0, v56 + v57); cocos2d::CCPoint::operator=((char *)this + 520, &v122); GJTransformControl::calculateRotationOffset(this); v87 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 12); v88 = *(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v87 + 184LL); cocos2d::CCNode::convertToWorldSpace( &v121, *((cocos2d::CCNode **)this + 51), (GJTransformControl *)((char *)this + 520)); cocos2d::CCNode::convertToNodeSpace(&v122, this, (const cocos2d::CCPoint *)&v121); v89 = (GameManager *)v88(v87, &v122); LABEL_70: v91 = GameManager::sharedState(v89); v92 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(*(_QWORD *)(v91 + 552) + 3920LL) + 160LL))( *(_QWORD *)(*(_QWORD *)(v91 + 552) + 3920LL), v9); v93 = GameManager::sharedState(v92); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(*(_QWORD *)(v93 + 552) + 3920LL) + 184LL))( *(_QWORD *)(*(_QWORD *)(v93 + 552) + 3920LL), v111); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source