// // SetupMoveCommandPopup::init from 0x8e45e8 to 0x8e5d20 (5944 bytes) // // 2 xrefs: // > SetupMoveCommandPopup::create @ 0x8e5f0c // > @ 0x65898 // // 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 SetupMoveCommandPopup::init(SetupMoveCommandPopup *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 cocos2d::CCArray *ValueControlAdvanced; // x28 void *v14; // x0 float v15; // s3 float v16; // s4 cocos2d::CCArray *v17; // x28 void *v18; // x0 float v19; // s3 float v20; // s4 cocos2d::CCArray *v21; // x28 void *v22; // x0 float v23; // s3 float v24; // s4 cocos2d::CCArray *v25; // x28 void *v26; // x0 void *v27; // x0 float v28; // s2 void *v29; // x0 float v30; // s2 void *v31; // x0 void *v32; // x0 float v33; // s2 void *v34; // x0 float v35; // s2 void *v36; // x0 float v37; // s3 float v38; // s4 void *v39; // x0 float v40; // s3 float v41; // s4 void *v42; // x0 float v43; // s2 void *v44; // x0 float v45; // s2 void *v46; // x0 void *v47; // x0 void *v48; // x0 int v49; // w28 float v50; // s3 float v51; // s4 void *v52; // x0 float v53; // s2 void *v54; // x0 float v55; // s2 void *v56; // x0 float v57; // s2 void *v58; // x0 float v59; // s2 void *v60; // x0 float v61; // s3 float v62; // s4 void *v63; // x0 float v64; // s2 float v65; // s3 float v66; // s4 void *v67; // x0 float v68; // s2 void *v69; // x19 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; // x1 int v109; // w2 unsigned int *v110; // x1 int v111; // w2 unsigned int *v112; // x1 int v113; // w2 unsigned int *v114; // x1 int v115; // w2 unsigned int *v116; // x1 int v117; // w2 unsigned int *v118; // x1 int v119; // w2 unsigned int *v120; // x1 int v121; // w2 unsigned int *v122; // x1 int v123; // w2 unsigned int *v124; // x21 int v125; // w0 int v126; // [xsp+18h] [xbp-18h] __int64 v127; // [xsp+18h] [xbp-18h] __int64 v128; // [xsp+18h] [xbp-18h] __int64 v129; // [xsp+18h] [xbp-18h] __int64 v130; // [xsp+18h] [xbp-18h] __int64 v131; // [xsp+18h] [xbp-18h] __int64 v132; // [xsp+18h] [xbp-18h] __int64 v133; // [xsp+18h] [xbp-18h] __int64 v134; // [xsp+18h] [xbp-18h] char v135; // [xsp+20h] [xbp-10h] __int64 v136; // [xsp+20h] [xbp-10h] __int64 v137; // [xsp+20h] [xbp-10h] __int64 v138; // [xsp+20h] [xbp-10h] __int64 v139; // [xsp+20h] [xbp-10h] __int64 v140; // [xsp+20h] [xbp-10h] __int64 v141; // [xsp+20h] [xbp-10h] __int64 v142; // [xsp+20h] [xbp-10h] __int64 v143; // [xsp+20h] [xbp-10h] _QWORD v144[2]; // [xsp+30h] [xbp+0h] BYREF float v145; // [xsp+E0h] [xbp+B0h] float v146; // [xsp+E4h] [xbp+B4h] cocos2d::CCPoint v147; // [xsp+E8h] [xbp+B8h] BYREF cocos2d::CCPoint v148; // [xsp+F0h] [xbp+C0h] BYREF cocos2d::CCPoint v149; // [xsp+F8h] [xbp+C8h] BYREF __int64 v150; // [xsp+100h] [xbp+D0h] BYREF 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 cocos2d::CCPoint v164; // 0:s0.4,4:s1.4 cocos2d::CCPoint v165; // 0:s0.4,4:s1.4 cocos2d::CCPoint v166; // 0:s0.4,4:s1.4 cocos2d::CCPoint v167; // 0:s0.4,4:s1.4 cocos2d::CCPoint v168; // 0:s0.4,4:s1.4 cocos2d::CCPoint v169; // 0:s0.4,4:s1.4 cocos2d::CCPoint v170; // 0:s0.4,4:s1.4 cocos2d::CCPoint v171; // 0:s0.4,4:s1.4 cocos2d::CCPoint v172; // 0:s1.4,4:s2.4 cocos2d::CCPoint v173; // 0:s1.4,4:s2.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(&v147, v145 * 0.5, v146 * 0.5); sub_D153B8((unsigned int)v144 + 208, "Setup Move Command"); SetupTriggerPopup::addTitle(a1, (std::string)&v150); v7 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v70 = (unsigned int *)(v150 - 8); do v71 = __ldaxr(v70); while ( __stlxr(v71 - 1, v70) ); } else { v71 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v71 - 1; } if ( v71 <= 0 ) operator delete(v7); } sub_D153B8((unsigned int)v144 + 208, "OK"); SetupTriggerPopup::addCloseButton(a1, (std::string)&v150); v8 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v72 = (unsigned int *)(v150 - 8); do v73 = __ldaxr(v72); while ( __stlxr(v73 - 1, v72) ); } else { v73 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v73 - 1; } if ( v73 <= 0 ) operator delete(v8); } SetupTriggerPopup::createMultiTriggerItemsCorner(a1); sub_D153B8((int)&v149, "Help"); sub_D153B8( (unsigned int)v144 + 208, "Moves a group of objects to another position.\n" "Easing changes the method used.\n" "Target Mode moves the group to the position of another group.\n" "Direction Mode moves the group in the direction of another group. Use Dynamic Mode to update locat" "ions in real-time for the 2 previous options.\n" "Small Step changes steps to their actual number, so 1 grid space is 30 instead of 10."); SetupTriggerPopup::addHelpButton(a1, (std::string)&v149, (std::string)&v150, 1.0); v9 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v80 = (unsigned int *)(v150 - 8); do v81 = __ldaxr(v80); while ( __stlxr(v81 - 1, v80) ); } else { v81 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v81 - 1; } if ( v81 <= 0 ) operator delete(v9); } v10 = (void *)(*(_QWORD *)&v149 - 24LL); if ( (__int64 *)(*(_QWORD *)&v149 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v88 = (unsigned int *)(*(_QWORD *)&v149 - 8LL); do v89 = __ldaxr(v88); while ( __stlxr(v89 - 1, v88) ); } else { v89 = *(_DWORD *)(*(_QWORD *)&v149 - 8LL); *(_DWORD *)(*(_QWORD *)&v149 - 8LL) = v89 - 1; } if ( v89 <= 0 ) operator delete(v10); } sub_D153B8((unsigned int)v144 + 208, "Move X:"); cocos2d::CCPoint::CCPoint(&v148, -100.0, 100.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v151.y = -100.0; v151.x = 0.8; v126 = 0; v135 = 0; ValueControlAdvanced = (cocos2d::CCArray *)SetupTriggerPopup::createValueControlAdvanced( a1, 28, (std::string)&v150, v151, 100.0, (bool)&v149, (InputValueType)0, 2, 10, v11, v12, 0, 0, (GJInputStyle)28, 1, v126, v135); v14 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v76 = (unsigned int *)(v150 - 8); do v77 = __ldaxr(v76); while ( __stlxr(v77 - 1, v76) ); } else { v77 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v77 - 1; } if ( v77 <= 0 ) operator delete(v14); } SetupTriggerPopup::addObjectsToGroup(a1, ValueControlAdvanced, 9001); sub_D153B8((unsigned int)v144 + 208, "Move Y:"); cocos2d::CCPoint::CCPoint(&v148, 105.0, 100.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v152.x = 0.8; v152.y = -100.0; LODWORD(v127) = 0; LOBYTE(v136) = 0; v17 = (cocos2d::CCArray *)SetupTriggerPopup::createValueControlAdvanced( a1, 29, (std::string)&v150, v152, 100.0, (bool)&v149, (InputValueType)0, 2, 10, v15, v16, 0, 0, (GJInputStyle)29, 1, v127, v136); v18 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v100 = (unsigned int *)(v150 - 8); do v101 = __ldaxr(v100); while ( __stlxr(v101 - 1, v100) ); } else { v101 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v101 - 1; } if ( v101 <= 0 ) operator delete(v18); } SetupTriggerPopup::addObjectsToGroup(a1, v17, 9001); sub_D153B8((unsigned int)v144 + 208, "Mod X:"); cocos2d::CCPoint::CCPoint(&v148, -100.0, 100.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v153.x = 0.8; LODWORD(v128) = 3; LOBYTE(v137) = 0; v153.y = -1.0; v21 = (cocos2d::CCArray *)SetupTriggerPopup::createValueControlAdvanced( a1, 143, (std::string)&v150, v153, 1.0, (bool)&v149, (InputValueType)0, 1, 10, v19, v20, 0, 0, (GJInputStyle)143, 1, v128, v137); v22 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v92 = (unsigned int *)(v150 - 8); do v93 = __ldaxr(v92); while ( __stlxr(v93 - 1, v92) ); } else { v93 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v93 - 1; } if ( v93 <= 0 ) operator delete(v22); } SetupTriggerPopup::addObjectsToGroup(a1, v21, 9001); sub_D153B8((unsigned int)v144 + 208, "Mod Y:"); cocos2d::CCPoint::CCPoint(&v148, 105.0, 100.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v154.x = 0.8; LODWORD(v129) = 3; LOBYTE(v138) = 0; v154.y = -1.0; v25 = (cocos2d::CCArray *)SetupTriggerPopup::createValueControlAdvanced( a1, 144, (std::string)&v150, v154, 1.0, (bool)&v149, (InputValueType)0, 1, 10, v23, v24, 0, 0, (GJInputStyle)144, 1, v129, v138); v26 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v108 = (unsigned int *)(v150 - 8); do v109 = __ldaxr(v108); while ( __stlxr(v109 - 1, v108) ); } else { v109 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v109 - 1; } if ( v109 <= 0 ) operator delete(v26); } SetupTriggerPopup::addObjectsToGroup(a1, v25, 9001); sub_D153B8((unsigned int)v144 + 208, "Lock X:"); cocos2d::CCPoint::CCPoint(&v148, -120.0, 71.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); SetupTriggerPopup::addInfoLabel(a1, (std::string)&v150, 0.55, v172, (int)&v149, 0); v27 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v84 = (unsigned int *)(v150 - 8); do v85 = __ldaxr(v84); while ( __stlxr(v85 - 1, v84) ); } else { v85 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v85 - 1; } if ( v85 <= 0 ) operator delete(v27); } sub_D153B8((unsigned int)v144 + 208, "Player"); cocos2d::CCPoint::CCPoint(&v148, -180.0, 45.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v155.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 58, (std::string)&v150, v155, (bool)&v149, 0, 0, v28); v29 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v104 = (unsigned int *)(v150 - 8); do v105 = __ldaxr(v104); while ( __stlxr(v105 - 1, v104) ); } else { v105 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v105 - 1; } if ( v105 <= 0 ) operator delete(v29); } sub_D153B8((unsigned int)v144 + 208, "Camera"); cocos2d::CCPoint::CCPoint(&v148, -90.0, 45.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v156.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 141, (std::string)&v150, v156, (bool)&v149, 0, 0, v30); v31 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v96 = (unsigned int *)(v150 - 8); do v97 = __ldaxr(v96); while ( __stlxr(v97 - 1, v96) ); } else { v97 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v97 - 1; } if ( v97 <= 0 ) operator delete(v31); } sub_D153B8((unsigned int)v144 + 208, "Lock Y:"); cocos2d::CCPoint::CCPoint(&v148, 105.0, 71.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); SetupTriggerPopup::addInfoLabel(a1, (std::string)&v150, 0.55, v173, (int)&v149, 0); v32 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v112 = (unsigned int *)(v150 - 8); do v113 = __ldaxr(v112); while ( __stlxr(v113 - 1, v112) ); } else { v113 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v113 - 1; } if ( v113 <= 0 ) operator delete(v32); } sub_D153B8((unsigned int)v144 + 208, "Player"); cocos2d::CCPoint::CCPoint(&v148, 35.0, 45.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v157.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 59, (std::string)&v150, v157, (bool)&v149, 0, 0, v33); v34 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v74 = (unsigned int *)(v150 - 8); do v75 = __ldaxr(v74); while ( __stlxr(v75 - 1, v74) ); } else { v75 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v75 - 1; } if ( v75 <= 0 ) operator delete(v34); } sub_D153B8((unsigned int)v144 + 208, "Camera"); cocos2d::CCPoint::CCPoint(&v148, 125.0, 45.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v158.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 142, (std::string)&v150, v158, (bool)&v149, 0, 0, v35); v36 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v106 = (unsigned int *)(v150 - 8); do v107 = __ldaxr(v106); while ( __stlxr(v107 - 1, v106) ); } else { v107 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v107 - 1; } if ( v107 <= 0 ) operator delete(v36); } sub_D153B8((unsigned int)v144 + 208, "Center Group ID:"); cocos2d::CCPoint::CCPoint(&v148, -80.0, 90.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v159.x = 0.8; v159.y = -100.0; LODWORD(v130) = 0; LOBYTE(v139) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 395, (std::string)&v150, v159, 100.0, (bool)&v149, Float, 2, 10, v37, v38, 1, 0, (GJInputStyle)9004, 0, v130, v139); v39 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v90 = (unsigned int *)(v150 - 8); do v91 = __ldaxr(v90); while ( __stlxr(v91 - 1, v90) ); } else { v91 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v91 - 1; } if ( v91 <= 0 ) operator delete(v39); } sub_D153B8((unsigned int)v144 + 208, "TargetPos Group ID:"); cocos2d::CCPoint::CCPoint(&v148, 80.0, 90.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v160.x = 0.8; v160.y = -100.0; LODWORD(v131) = 0; LOBYTE(v140) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 71, (std::string)&v150, v160, 100.0, (bool)&v149, Float, 2, 10, v40, v41, 1, 0, (GJInputStyle)9004, 0, v131, v140); v42 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v118 = (unsigned int *)(v150 - 8); do v119 = __ldaxr(v118); while ( __stlxr(v119 - 1, v118) ); } else { v119 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v119 - 1; } if ( v119 <= 0 ) operator delete(v42); } sub_D153B8((unsigned int)v144 + 208, "P1"); cocos2d::CCPoint::CCPoint(&v148, 168.0, 105.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v161.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 138, (std::string)&v150, v161, (bool)&v149, 0, 0, v43); v44 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v82 = (unsigned int *)(v150 - 8); do v83 = __ldaxr(v82); while ( __stlxr(v83 - 1, v82) ); } else { v83 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v83 - 1; } if ( v83 <= 0 ) operator delete(v44); } sub_D153B8((unsigned int)v144 + 208, "P2"); cocos2d::CCPoint::CCPoint(&v148, 168.0, 75.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v162.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 200, (std::string)&v150, v162, (bool)&v149, 0, 0, v45); v46 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v114 = (unsigned int *)(v150 - 8); do v115 = __ldaxr(v114); while ( __stlxr(v115 - 1, v114) ); } else { v115 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v115 - 1; } if ( v115 <= 0 ) operator delete(v46); } sub_D153B8((unsigned int)v144 + 208, "X Only"); cocos2d::CCPoint::CCPoint(&v148, -70.0, 50.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); SetupTriggerPopup::createCustomToggleValueControl( (int)a1, 1, 0, 1, (unsigned int)v144 + 208, (int)&v149, 0, 0, 9002); v47 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v98 = (unsigned int *)(v150 - 8); do v99 = __ldaxr(v98); while ( __stlxr(v99 - 1, v98) ); } else { v99 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v99 - 1; } if ( v99 <= 0 ) operator delete(v47); } sub_D153B8((unsigned int)v144 + 208, "Y Only"); cocos2d::CCPoint::CCPoint(&v148, 30.0, 50.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); SetupTriggerPopup::createCustomToggleValueControl( (int)a1, 2, 0, 1, (unsigned int)v144 + 208, (int)&v149, 0, 0, 9002); v48 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v122 = (unsigned int *)(v150 - 8); do v123 = __ldaxr(v122); while ( __stlxr(v123 - 1, v122) ); } else { v123 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v123 - 1; } if ( v123 <= 0 ) operator delete(v48); } v49 = (int)a1->getValue(a1, 101); SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v49 == 1); SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v49 == 2); sub_D153B8((unsigned int)v144 + 208, "Distance:"); cocos2d::CCPoint::CCPoint(&v148, 0.0, 50.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v163.x = 0.8; v163.y = -100.0; LODWORD(v132) = 0; LOBYTE(v141) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 396, (std::string)&v150, v163, 100.0, (bool)&v149, (InputValueType)0, 2, 10, v50, v51, 0, 0, (GJInputStyle)9003, 1, v132, v141); v52 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v78 = (unsigned int *)(v150 - 8); do v79 = __ldaxr(v78); while ( __stlxr(v79 - 1, v78) ); } else { v79 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v79 - 1; } if ( v79 <= 0 ) operator delete(v52); } sub_D153B8((unsigned int)v144 + 208, "Target\nMode"); cocos2d::CCPoint::CCPoint(&v148, -180.0, 5.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v164.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 100, (std::string)&v150, v164, (bool)&v149, 0, 0, v53); v54 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v110 = (unsigned int *)(v150 - 8); do v111 = __ldaxr(v110); while ( __stlxr(v111 - 1, v110) ); } else { v111 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v111 - 1; } if ( v111 <= 0 ) operator delete(v54); } sub_D153B8((unsigned int)v144 + 208, "Direction\nMode"); cocos2d::CCPoint::CCPoint(&v148, -90.0, 5.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v165.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 394, (std::string)&v150, v165, (bool)&v149, 0, 0, v55); v56 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v94 = (unsigned int *)(v150 - 8); do v95 = __ldaxr(v94); while ( __stlxr(v95 - 1, v94) ); } else { v95 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v95 - 1; } if ( v95 <= 0 ) operator delete(v56); } sub_D153B8((unsigned int)v144 + 208, "Small\nStep"); cocos2d::CCPoint::CCPoint(&v148, 35.0, 5.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v166.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 393, (std::string)&v150, v166, (bool)&v149, 0, 0, v57); v58 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v120 = (unsigned int *)(v150 - 8); do v121 = __ldaxr(v120); while ( __stlxr(v121 - 1, v120) ); } else { v121 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v121 - 1; } if ( v121 <= 0 ) operator delete(v58); } sub_D153B8((unsigned int)v144 + 208, "Dynamic\nMode"); cocos2d::CCPoint::CCPoint(&v148, 125.0, 5.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v167.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 397, (std::string)&v150, v167, (bool)&v149, 0, 0, v59); v60 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v86 = (unsigned int *)(v150 - 8); do v87 = __ldaxr(v86); while ( __stlxr(v87 - 1, v86) ); } else { v87 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v87 - 1; } if ( v87 <= 0 ) operator delete(v60); } sub_D153B8((unsigned int)v144 + 208, "Move Time:"); cocos2d::CCPoint::CCPoint(&v148, -100.0, -35.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v168.x = 0.8; v168.y = 0.0; LODWORD(v133) = 2; LOBYTE(v142) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 10, (std::string)&v150, v168, 10.0, (bool)&v149, (InputValueType)0, 1, 10, v61, v62, 0, 0, GoldLabel, 0, v133, v142); v63 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v116 = (unsigned int *)(v150 - 8); do v117 = __ldaxr(v116); while ( __stlxr(v117 - 1, v116) ); } else { v117 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v117 - 1; } if ( v117 <= 0 ) operator delete(v63); } cocos2d::CCPoint::CCPoint(&v149, 105.0, -30.0); cocos2d::CCPoint::operator+(&v150, &v147, &v149); v169.x = 0.8; SetupTriggerPopup::createEasingControls(a1, v169, v64, (unsigned int)v144 + 208, 0); sub_D153B8((unsigned int)v144 + 208, "Target Group ID:"); cocos2d::CCPoint::CCPoint(&v148, 125.0, -120.0); cocos2d::CCPoint::operator+(&v149, &v147, &v148); v170.x = 0.8; v170.y = 0.0; LODWORD(v134) = 0; LOBYTE(v143) = 0; SetupTriggerPopup::createValueControlAdvanced( a1, 51, (std::string)&v150, v170, 10.0, (bool)&v149, Float, 2, 10, v65, v66, 1, 0, GoldLabel, 0, v134, v143); v67 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v102 = (unsigned int *)(v150 - 8); do v103 = __ldaxr(v102); while ( __stlxr(v103 - 1, v102) ); } else { v103 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v103 - 1; } if ( v103 <= 0 ) operator delete(v67); } sub_D153B8((unsigned int)v144 + 208, "Silent"); cocos2d::CCPoint::CCPoint( &v149, (float)(20.0 - (float)((float)(a1->m_width * 0.5) - (float)(v145 * 0.5))) + 90.0, (float)(20.0 - (float)((float)(a1->m_height * 0.5) - (float)(v146 * 0.5))) + 30.0); v171.x = 1.0; SetupTriggerPopup::createToggleValueControl(a1, 544, (std::string)&v150, v171, (bool)&v149, 0, 0, v68); v69 = (void *)(v150 - 24); if ( (__int64 *)(v150 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v124 = (unsigned int *)(v150 - 8); do v125 = __ldaxr(v124); while ( __stlxr(v125 - 1, v124) ); } else { v125 = *(_DWORD *)(v150 - 8); *(_DWORD *)(v150 - 8) = v125 - 1; } if ( v125 <= 0 ) operator delete(v69); } a1->m_smallStep = a1->getValue(a1, 393) != 0.0; SetupMoveCommandPopup::updateControlVisibility(a1); SetupTriggerPopup::postSetup(a1); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source