// // SetupRotateCommandPopup::init from 0x928e24 to 0x92a208 (5092 bytes) // // 2 xrefs: // > SetupRotateCommandPopup::create @ 0x92a3e0 // > @ 0x59b68 // // 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 // bool SetupRotateCommandPopup::init(SetupRotateCommandPopup *a1, EffectGameObject *a2, cocos2d::CCArray *a3) { bool v4; // w27 cocos2d::CCDirector *v6; // x0 void *v7; // x0 void *v8; // x0 void *v9; // x0 void *v10; // x0 float v11; // s3 float v12; // s4 void *v13; // x0 float v14; // s3 float v15; // s4 void *v16; // x0 float v17; // s3 float v18; // s4 void *v19; // x0 float v20; // s3 float v21; // s4 void *v22; // x0 float v23; // s2 void *v24; // x0 float v25; // s2 void *v26; // x0 float v27; // s2 void *v28; // x0 float v29; // s2 void *v30; // x0 float v31; // s2 void *v32; // x0 float v33; // s2 void *v34; // x0 float v35; // s3 float v36; // s4 void *v37; // x0 float v38; // s2 float v39; // s3 float v40; // s4 const char *v41; // x6 void *v42; // x0 cocos2d::CCNode *v43; // x28 CCMenuItemSpriteExtra *v44; // x28 CCMenuItemSpriteExtra_vtbl *v45; // x1 float v46; // s3 float v47; // s4 void *v48; // x0 float v49; // s3 float v50; // s4 void *v51; // x0 float v52; // s0 float v53; // s1 float v54; // s3 float v55; // s4 void *v56; // x0 float v57; // s3 float v58; // s4 void *v59; // x0 float v60; // s3 float v61; // s4 void *v62; // x0 float v63; // s3 float v64; // s4 void *v65; // x19 unsigned int *v66; // x1 int v67; // w2 unsigned int *v68; // x1 int v69; // w2 unsigned int *v70; // x1 int v71; // w2 unsigned int *v72; // x1 int v73; // w2 unsigned int *v74; // x1 int v75; // w2 unsigned int *v76; // x1 int v77; // w2 unsigned int *v78; // x1 int v79; // w2 unsigned int *v80; // x1 int v81; // w2 unsigned int *v82; // x1 int v83; // w2 unsigned int *v84; // x1 int v85; // w2 unsigned int *v86; // x1 int v87; // w2 unsigned int *v88; // x1 int v89; // w2 unsigned int *v90; // x1 int v91; // w2 unsigned int *v92; // x1 int v93; // w2 unsigned int *v94; // x1 int v95; // w2 unsigned int *v96; // x1 int v97; // w2 unsigned int *v98; // x1 int v99; // w2 unsigned int *v100; // x1 int v101; // w2 unsigned int *v102; // x1 int v103; // w2 unsigned int *v104; // x1 int v105; // w2 unsigned int *v106; // x1 int v107; // w2 unsigned int *v108; // x21 int v109; // w0 int v110; // [xsp+18h] [xbp-18h] __int64 v111; // [xsp+18h] [xbp-18h] __int64 v112; // [xsp+18h] [xbp-18h] __int64 v113; // [xsp+18h] [xbp-18h] __int64 v114; // [xsp+18h] [xbp-18h] __int64 v115; // [xsp+18h] [xbp-18h] __int64 v116; // [xsp+18h] [xbp-18h] __int64 v117; // [xsp+18h] [xbp-18h] __int64 v118; // [xsp+18h] [xbp-18h] __int64 v119; // [xsp+18h] [xbp-18h] __int64 v120; // [xsp+18h] [xbp-18h] __int64 v121; // [xsp+18h] [xbp-18h] char v122; // [xsp+20h] [xbp-10h] __int64 v123; // [xsp+20h] [xbp-10h] __int64 v124; // [xsp+20h] [xbp-10h] __int64 v125; // [xsp+20h] [xbp-10h] __int64 v126; // [xsp+20h] [xbp-10h] __int64 v127; // [xsp+20h] [xbp-10h] __int64 v128; // [xsp+20h] [xbp-10h] __int64 v129; // [xsp+20h] [xbp-10h] __int64 v130; // [xsp+20h] [xbp-10h] __int64 v131; // [xsp+20h] [xbp-10h] __int64 v132; // [xsp+20h] [xbp-10h] __int64 v133; // [xsp+20h] [xbp-10h] cocos2d::CCNode *v134[2]; // [xsp+30h] [xbp+0h] BYREF cocos2d::CCNode *m_buttonMenu; // [xsp+D0h] [xbp+A0h] void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // [xsp+D8h] [xbp+A8h] float v137; // [xsp+F0h] [xbp+C0h] float v138; // [xsp+F4h] [xbp+C4h] cocos2d::CCPoint v139; // [xsp+F8h] [xbp+C8h] BYREF cocos2d::CCPoint v140; // [xsp+100h] [xbp+D0h] BYREF cocos2d::CCPoint v141; // [xsp+108h] [xbp+D8h] BYREF cocos2d::CCPoint v142; // [xsp+110h] [xbp+E0h] BYREF cocos2d::CCPoint v143; // 0:kr08_8.8 cocos2d::SEL_MenuHandler v144; // 0:x2.16 cocos2d::CCPoint v145; // 0:s0.4,4:s1.4 cocos2d::CCPoint v146; // 0:s0.4,4:s1.4 cocos2d::CCPoint v147; // 0:s0.4,4:s1.4 cocos2d::CCPoint v148; // 0:s0.4,4:s1.4 cocos2d::CCPoint v149; // 0:s0.4,4:s1.4 cocos2d::CCPoint v150; // 0:s0.4,4:s1.4 cocos2d::CCPoint v151; // 0:s0.4,4:s1.4 cocos2d::CCPoint v152; // 0:s0.4,4:s1.4 cocos2d::CCPoint v153; // 0:s0.4,4:s1.4 cocos2d::CCPoint v154; // 0:s0.4,4:s1.4 cocos2d::CCPoint v155; // 0:s0.4,4:s1.4 cocos2d::CCPoint v156; // 0:s0.4,4:s1.4 cocos2d::CCPoint v157; // 0:s0.4,4:s1.4 cocos2d::CCPoint v158; // 0:s0.4,4:s1.4 cocos2d::CCPoint v159; // 0:s0.4,4:s1.4 cocos2d::CCPoint v160; // 0:s0.4,4:s1.4 cocos2d::CCPoint v161; // 0:s0.4,4:s1.4 cocos2d::CCPoint v162; // 0:s0.4,4:s1.4 cocos2d::CCPoint v163; // 0:s0.4,4:s1.4 v4 = SetupTriggerPopup::init(a1, a2, a3, 440.0, 310.0, 1); if ( v4 ) { SetupTriggerPopup::preSetup(a1); v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6); cocos2d::CCPoint::CCPoint(&v139, v137 * 0.5, v138 * 0.5); sub_D153B8((unsigned int)v134 + 224, "Setup Rotate Command"); SetupTriggerPopup::addTitle(a1, (std::string)&v142); v7 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v66 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v67 = __ldaxr(v66); while ( __stlxr(v67 - 1, v66) ); } else { v67 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v67 - 1; } if ( v67 <= 0 ) operator delete(v7); } sub_D153B8((unsigned int)v134 + 224, "OK"); SetupTriggerPopup::addCloseButton(a1, (std::string)&v142); v8 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v68 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v69 = __ldaxr(v68); while ( __stlxr(v69 - 1, v68) ); } else { v69 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v69 - 1; } if ( v69 <= 0 ) operator delete(v8); } sub_D153B8((int)&v141, "Help"); sub_D153B8( (unsigned int)v134 + 224, "Rotates a group of objects a given amount of degrees.\n" "Target Group ID is the group of objects being rotated.\n" "Center Group ID defines the center to rotate around.\n" "Aim Mode rotates the objects to face a given target object.\n" "Follow Mode follows the rotation of a given target object. Use Dynamic Mode to update locations in" " real-time for the previous 2 options.\n" "Use Move Time -1 for an infinite action."); SetupTriggerPopup::addHelpButton(a1, (std::string)&v141, (std::string)&v142, 1.0); v9 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v72 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v73 = __ldaxr(v72); while ( __stlxr(v73 - 1, v72) ); } else { v73 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v73 - 1; } if ( v73 <= 0 ) operator delete(v9); } v10 = (void *)(*(_QWORD *)&v141 - 24LL); if ( (__int64 *)(*(_QWORD *)&v141 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v80 = (unsigned int *)(*(_QWORD *)&v141 - 8LL); do v81 = __ldaxr(v80); while ( __stlxr(v81 - 1, v80) ); } else { v81 = *(_DWORD *)(*(_QWORD *)&v141 - 8LL); *(_DWORD *)(*(_QWORD *)&v141 - 8LL) = v81 - 1; } if ( v81 <= 0 ) operator delete(v10); } SetupTriggerPopup::createMultiTriggerItemsDefaultHorizontal(a1); sub_D153B8((unsigned int)v134 + 224, "Degrees:"); cocos2d::CCPoint::CCPoint(&v140, -100.0, 100.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v145.x = 0.8; v145.y = -360.0; v110 = 2; v122 = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 68, (std::string)&v142, v145, 360.0, (bool)&v141, (InputValueType)0, 1, 10, v11, v12, 0, 0, (GJInputStyle)9001, 1, v110, v122); v13 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v76 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v77 = __ldaxr(v76); while ( __stlxr(v77 - 1, v76) ); } else { v77 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v77 - 1; } if ( v77 <= 0 ) operator delete(v13); } sub_D153B8((unsigned int)v134 + 224, "x360:"); cocos2d::CCPoint::CCPoint(&v140, 105.0, 100.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v146.x = 0.8; LODWORD(v111) = 0; LOBYTE(v123) = 0; v146.y = -20.0; SetupTriggerPopup::createValueControlAdvanced( a1, 69, (std::string)&v142, v146, 20.0, (bool)&v141, (InputValueType)0, 2, 10, v14, v15, 0, 0, (GJInputStyle)9001, 1, v111, v123); v16 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v84 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v85 = __ldaxr(v84); while ( __stlxr(v85 - 1, v84) ); } else { v85 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v85 - 1; } if ( v85 <= 0 ) operator delete(v16); } sub_D153B8((unsigned int)v134 + 224, "Rot Target ID:"); cocos2d::CCPoint::CCPoint(&v140, -80.0, 90.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v147.x = 0.8; v147.y = -100.0; LODWORD(v112) = 0; LOBYTE(v124) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 401, (std::string)&v142, v147, 100.0, (bool)&v141, Float, 2, 10, v17, v18, 1, 0, (GJInputStyle)9002, 0, v112, v124); v19 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v70 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v71 = __ldaxr(v70); while ( __stlxr(v71 - 1, v70) ); } else { v71 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v71 - 1; } if ( v71 <= 0 ) operator delete(v19); } sub_D153B8((unsigned int)v134 + 224, "Rot Offset:"); cocos2d::CCPoint::CCPoint(&v140, 80.0, 90.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v148.x = 0.8; v148.y = -360.0; LODWORD(v113) = 2; LOBYTE(v125) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 402, (std::string)&v142, v148, 360.0, (bool)&v141, Float, 1, 10, v20, v21, 1, 0, (GJInputStyle)9002, 0, v113, v125); v22 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v94 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v95 = __ldaxr(v94); while ( __stlxr(v95 - 1, v94) ); } else { v95 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v95 - 1; } if ( v95 <= 0 ) operator delete(v22); } sub_D153B8((unsigned int)v134 + 224, "P1"); cocos2d::CCPoint::CCPoint(&v140, 170.0, 120.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v149.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 138, (std::string)&v142, v149, (bool)&v141, 0, 0, v23); v24 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v86 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v87 = __ldaxr(v86); while ( __stlxr(v87 - 1, v86) ); } else { v87 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v87 - 1; } if ( v87 <= 0 ) operator delete(v24); } sub_D153B8((unsigned int)v134 + 224, "P2"); cocos2d::CCPoint::CCPoint(&v140, 170.0, 90.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v150.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 200, (std::string)&v142, v150, (bool)&v141, 0, 0, v25); v26 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v102 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v103 = __ldaxr(v102); while ( __stlxr(v103 - 1, v102) ); } else { v103 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v103 - 1; } if ( v103 <= 0 ) operator delete(v26); } sub_D153B8((unsigned int)v134 + 224, "Aim\nMode"); cocos2d::CCPoint::CCPoint(&v140, -180.0, 48.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v151.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 100, (std::string)&v142, v151, (bool)&v141, 0, 0, v27); v28 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v78 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v79 = __ldaxr(v78); while ( __stlxr(v79 - 1, v78) ); } else { v79 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v79 - 1; } if ( v79 <= 0 ) operator delete(v28); } sub_D153B8((unsigned int)v134 + 224, "Follow\nMode"); cocos2d::CCPoint::CCPoint(&v140, -80.0, 48.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v152.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 394, (std::string)&v142, v152, (bool)&v141, 0, 0, v29); v30 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v98 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v99 = __ldaxr(v98); while ( __stlxr(v99 - 1, v98) ); } else { v99 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v99 - 1; } if ( v99 <= 0 ) operator delete(v30); } sub_D153B8((unsigned int)v134 + 224, "Dynamic\nMode"); cocos2d::CCPoint::CCPoint(&v140, 20.0, 48.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v153.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 397, (std::string)&v142, v153, (bool)&v141, 0, 0, v31); v32 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v90 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v91 = __ldaxr(v90); while ( __stlxr(v91 - 1, v90) ); } else { v91 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v91 - 1; } if ( v91 <= 0 ) operator delete(v32); } sub_D153B8((unsigned int)v134 + 224, "Lock Obj\nRotation"); cocos2d::CCPoint::CCPoint(&v140, 120.0, 48.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v154.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 70, (std::string)&v142, v154, (bool)&v141, 0, 0, v33); v34 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v106 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v107 = __ldaxr(v106); while ( __stlxr(v107 - 1, v106) ); } else { v107 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v107 - 1; } if ( v107 <= 0 ) operator delete(v34); } sub_D153B8((unsigned int)v134 + 224, "Move Time:"); cocos2d::CCPoint::CCPoint(&v140, -100.0, 0.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v155.x = 0.8; v155.y = 0.0; LODWORD(v114) = 2; LOBYTE(v126) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 10, (std::string)&v142, v155, 10.0, (bool)&v141, (InputValueType)0, 1, 10, v35, v36, 0, 0, GoldLabel, 0, v114, v126); v37 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v74 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v75 = __ldaxr(v74); while ( __stlxr(v75 - 1, v74) ); } else { v75 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v75 - 1; } if ( v75 <= 0 ) operator delete(v37); } cocos2d::CCPoint::CCPoint(&v141, 105.0, 5.0); cocos2d::CCPoint::operator+(&v142, &v139, &v141); v156.x = 0.8; SetupTriggerPopup::createEasingControls(a1, v156, v38, (unsigned int)v134 + 224, 0); sub_D153B8((unsigned int)v134 + 224, "Easing:"); cocos2d::CCPoint::CCPoint(&v140, 105.0, 0.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v157.x = 0.8; v157.y = 0.0; LODWORD(v115) = 2; LOBYTE(v127) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 403, (std::string)&v142, v157, 100.0, (bool)&v141, (InputValueType)0, 2, 10, v39, v40, 0, 0, (GJInputStyle)9004, 0, v115, v127); v42 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v96 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v97 = __ldaxr(v96); while ( __stlxr(v97 - 1, v96) ); } else { v97 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v97 - 1; } if ( v97 <= 0 ) operator delete(v42); } v43 = (cocos2d::CCNode *)ButtonSprite::create( (ButtonSprite *)"Inf", (const char *)&qword_28, 0, 1, 0.8, "goldFont.fnt", "GJ_button_04.png", v41, 30.0); v43->setScale(v43, 0.5); v144.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v144.adj = (size_t)SetupRotateCommandPopup::onInfiniteDuration; v44 = CCMenuItemSpriteExtra::create(v43, nullptr, v144); a1->m_buttonMenu->addChild(a1->m_buttonMenu, v44); v45 = v44->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; m_buttonMenu = a1->m_buttonMenu; setPosition = v45->setPosition; cocos2d::CCPoint::CCPoint(&v140, -10.0, 0.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v143 = cocos2d::CCNode::convertToNodeSpace(m_buttonMenu, &v141); ((void (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCPoint *, float, float))setPosition)( v44, &v142, v143.x, v143.y); SetupTriggerPopup::addObjectToGroup(a1, v44, 9004); SetupTriggerPopup::addObjectToPage(a1, v44, 0); sub_D153B8((unsigned int)v134 + 224, "Target Group ID:"); cocos2d::CCPoint::CCPoint(&v140, -80.0, -85.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v158.x = 0.8; v158.y = 0.0; LODWORD(v116) = 0; LOBYTE(v128) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 51, (std::string)&v142, v158, 10.0, (bool)&v141, Float, 2, 10, v46, v47, 1, 0, GoldLabel, 0, v116, v128); v48 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v88 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v89 = __ldaxr(v88); while ( __stlxr(v89 - 1, v88) ); } else { v89 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v89 - 1; } if ( v89 <= 0 ) operator delete(v48); } sub_D153B8((unsigned int)v134 + 224, "Center Group ID:"); cocos2d::CCPoint::CCPoint(&v140, 80.0, -85.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v159.x = 0.8; v159.y = 0.0; LODWORD(v117) = 0; LOBYTE(v129) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 71, (std::string)&v142, v159, 10.0, (bool)&v141, Float, 2, 10, v49, v50, 1, 0, GoldLabel, 0, v117, v129); v51 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v104 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v105 = __ldaxr(v104); while ( __stlxr(v105 - 1, v104) ); } else { v105 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v105 - 1; } if ( v105 <= 0 ) operator delete(v51); } cocos2d::CCPoint::CCPoint(&v142, v137 * 0.5, v138 * 0.5); cocos2d::CCPoint::operator=(&v139, v52, v53); sub_D153B8((unsigned int)v134 + 224, "MinX ID:"); cocos2d::CCPoint::CCPoint(&v140, -80.0, 40.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v160.x = 0.8; v160.y = 0.0; LODWORD(v118) = 0; LOBYTE(v130) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 516, (std::string)&v142, v160, 10.0, (bool)&v141, Float, 2, 10, v54, v55, 1, 1, GoldLabel, 0, v118, v130); v56 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v82 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v83 = __ldaxr(v82); while ( __stlxr(v83 - 1, v82) ); } else { v83 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v83 - 1; } if ( v83 <= 0 ) operator delete(v56); } sub_D153B8((unsigned int)v134 + 224, "MaxX ID:"); cocos2d::CCPoint::CCPoint(&v140, 80.0, 40.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v161.x = 0.8; v161.y = 0.0; LODWORD(v119) = 0; LOBYTE(v131) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 518, (std::string)&v142, v161, 10.0, (bool)&v141, Float, 2, 10, v57, v58, 1, 1, GoldLabel, 0, v119, v131); v59 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v100 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v101 = __ldaxr(v100); while ( __stlxr(v101 - 1, v100) ); } else { v101 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v101 - 1; } if ( v101 <= 0 ) operator delete(v59); } sub_D153B8((unsigned int)v134 + 224, "MinY ID:"); cocos2d::CCPoint::CCPoint(&v140, -80.0, -40.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v162.x = 0.8; v162.y = 0.0; LODWORD(v120) = 0; LOBYTE(v132) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 517, (std::string)&v142, v162, 10.0, (bool)&v141, Float, 2, 10, v60, v61, 1, 1, GoldLabel, 0, v120, v132); v62 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v92 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v93 = __ldaxr(v92); while ( __stlxr(v93 - 1, v92) ); } else { v93 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v93 - 1; } if ( v93 <= 0 ) operator delete(v62); } sub_D153B8((unsigned int)v134 + 224, "MaxY ID:"); cocos2d::CCPoint::CCPoint(&v140, 80.0, -40.0); cocos2d::CCPoint::operator+(&v141, &v139, &v140); v163.x = 0.8; v163.y = 0.0; LODWORD(v121) = 0; LOBYTE(v133) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 519, (std::string)&v142, v163, 10.0, (bool)&v141, Float, 2, 10, v63, v64, 1, 1, GoldLabel, 0, v121, v133); v65 = (void *)(*(_QWORD *)&v142 - 24LL); if ( (__int64 *)(*(_QWORD *)&v142 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v108 = (unsigned int *)(*(_QWORD *)&v142 - 8LL); do v109 = __ldaxr(v108); while ( __stlxr(v109 - 1, v108) ); } else { v109 = *(_DWORD *)(*(_QWORD *)&v142 - 8LL); *(_DWORD *)(*(_QWORD *)&v142 - 8LL) = v109 - 1; } if ( v109 <= 0 ) operator delete(v65); } SetupTriggerPopup::createPageButtons(a1, (float)(a1->m_width * 0.5) + 15.0, 1); SetupTriggerPopup::goToPage(a1, 0, 0); SetupRotateCommandPopup::updateControlVisibility(a1); SetupTriggerPopup::postSetup(a1); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source