// // SetupAreaMoveTriggerPopup::addAreaDefaultControls from 0x1004d3070 to 0x1004d40c4 (4180 bytes) // // 6 xrefs: // > SetupAreaMoveTriggerPopup::init @ 0x1004d2e49 // > SetupAreaTransformTriggerPopup::init @ 0x1004d5cec // > SetupAreaRotateTriggerPopup::init @ 0x1004d6af3 // > SetupAreaFadeTriggerPopup::init @ 0x1004d78dc // > SetupAreaTintTriggerPopup::init @ 0x1004d8a18 // > SetupAreaTriggerPopup::init @ 0x1004d9d26 // // 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 SetupAreaMoveTriggerPopup::addAreaDefaultControls(SetupAreaMoveTriggerPopup *a1, int a2) { cocos2d::CCSprite *v2; // rbx cocos2d::CCObject *v3; // r13 CCMenuItemSpriteExtra *v4; // r14 const cocos2d::CCPoint *v5; // rbx void *v6; // rdi cocos2d::CCObject *v7; // rax __int64 v8; // xmm0_8 unsigned __int64 *m_targetButtons; // rdi unsigned __int64 *v10; // rsi SetupAreaMoveTriggerPopup *v11; // rbx int v12; // r14d unsigned int v13; // r13d std::string::value_type *v14; // rax size_t v15; // rax size_t v16; // r12 char *v17; // r15 size_t v18; // rbx cocos2d::CCMenu *m_buttonMenu; // r12 __int64 m_mainLayer; // rbx unsigned __int64 *ToggleButton; // r12 int v22; // r14d __m128 v23; // xmm0 void *v24; // rdi __int64 v25; // rsi __m128 v26; // xmm0 cocos2d::CCObject *v27; // rax __m128 v28; // xmm0 SetupTriggerPopup *v29; // r15 int v30; // ebx __m128 v31; // rt1 int v32; // r14d unsigned int v33; // r12d const std::string::value_type *v34; // rcx const std::string::value_type *v35; // rsi const std::string::value_type *v36; // rax int v37; // xmm0_4 const char *data; // rdi cocos2d::CCSprite *v39; // r15 int v40; // ecx int v41; // eax bool v42; // cl int v43; // esi bool v44; // dl int v45; // esi const char *v46; // r8 ButtonSprite *v47; // rax CCMenuItemSpriteExtra *v48; // r13 __int64 v49; // rax float v50; // xmm3_4 int v51; // eax const cocos2d::CCPoint *v52; // r15 char v53; // [rsp+38h] [rbp-218h] BYREF char v54[15]; // [rsp+39h] [rbp-217h] BYREF void *v55; // [rsp+48h] [rbp-208h] char v56; // [rsp+50h] [rbp-200h] BYREF _BYTE v57[23]; // [rsp+51h] [rbp-1FFh] BYREF void *v58[3]; // [rsp+68h] [rbp-1E8h] BYREF void *v59[3]; // [rsp+80h] [rbp-1D0h] BYREF char v60; // [rsp+98h] [rbp-1B8h] BYREF _BYTE v61[23]; // [rsp+99h] [rbp-1B7h] BYREF char v62; // [rsp+B0h] [rbp-1A0h] BYREF _BYTE v63[23]; // [rsp+B1h] [rbp-19Fh] BYREF char v64; // [rsp+C8h] [rbp-188h] BYREF char v65[15]; // [rsp+C9h] [rbp-187h] BYREF void *v66; // [rsp+D8h] [rbp-178h] __int128 v67; // [rsp+E0h] [rbp-170h] BYREF void *v68; // [rsp+F0h] [rbp-160h] __int128 v69; // [rsp+F8h] [rbp-158h] BYREF void *v70; // [rsp+108h] [rbp-148h] unsigned __int64 v71; // [rsp+110h] [rbp-140h] BYREF char v72; // [rsp+118h] [rbp-138h] BYREF char v73[15]; // [rsp+119h] [rbp-137h] BYREF void *__p; // [rsp+128h] [rbp-128h] char v75; // [rsp+130h] [rbp-120h] BYREF char v76[15]; // [rsp+131h] [rbp-11Fh] BYREF void *v77; // [rsp+140h] [rbp-110h] __int128 v78; // [rsp+148h] [rbp-108h] BYREF void *v79; // [rsp+158h] [rbp-F8h] __int128 v80; // [rsp+160h] [rbp-F0h] BYREF void *v81; // [rsp+170h] [rbp-E0h] cocos2d::CCPoint v82[3]; // [rsp+178h] [rbp-D8h] BYREF cocos2d::CCPoint v83[2]; // [rsp+190h] [rbp-C0h] BYREF void *v84; // [rsp+1A0h] [rbp-B0h] BYREF _QWORD __dst[2]; // [rsp+1A8h] [rbp-A8h] BYREF void *v86; // [rsp+1B8h] [rbp-98h] unsigned __int64 v87; // [rsp+1C0h] [rbp-90h] BYREF unsigned __int64 v88; // [rsp+1C8h] [rbp-88h] BYREF cocos2d::CCArray *PageContainer; // [rsp+1D0h] [rbp-80h] cocos2d::CCArray *v90; // [rsp+1D8h] [rbp-78h] int v91; // [rsp+1E4h] [rbp-6Ch] float v92; // [rsp+1E8h] [rbp-68h] BYREF float v93; // [rsp+1ECh] [rbp-64h] SetupAreaMoveTriggerPopup *v94; // [rsp+1F0h] [rbp-60h] unsigned __int64 v95; // [rsp+1F8h] [rbp-58h] BYREF unsigned __int64 v96; // [rsp+200h] [rbp-50h] BYREF unsigned __int64 v97; // [rsp+208h] [rbp-48h] BYREF std::string __s[2]; // [rsp+210h] [rbp-40h] BYREF double v99; // 0:xmm0_8.8 double v100; // 0:xmm0_8.8 cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v92); sub_10028CBE0((float *)&v95, v92 * 0.5, (float)(v93 * 0.5) + 95.0); v72 = 14; strcpy(v73, "OffsetY"); sub_10028CBE0((float *)&v97, -75.0, -0.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)a1, 252, (__int64)&v72, (float *)__s, 0, Int, 0.64999998, 0.0, 100.0, 6, 0, 1u, 99, 1, 2, 0); if ( (v72 & 1) != 0 ) operator delete(__p); v53 = 4; strcpy(v54, "+-"); sub_10028CBE0((float *)&v97, 75.0, -0.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)a1, 253, (__int64)&v53, (float *)__s, 0, Int, 0.64999998, 0.0, 100.0, 6, 0, 1u, 99, 1, 2, 0); if ( (v53 & 1) != 0 ) operator delete(v55); v56 = 18; strcpy(v57, "EffectID:"); sub_10028CBE0((float *)&v97, 85.0, -50.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)a1, 225, (__int64)&v56, (float *)__s, 1, Uint, 0.64999998, 0.0, 100.0, 6, 1, 1u, 0, 0, 2, 0); v91 = a2; v94 = a1; if ( (v56 & 1) != 0 ) operator delete(*(void **)&v57[15]); v2 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_plus2Btn_001.png"); ((void (__fastcall *)(cocos2d::CCSprite *, float))v2->setScale)(v2, 0.80000001); v3 = v94; v4 = CCMenuItemSpriteExtra::create( v2, nullptr, v94, (cocos2d::SEL_MenuHandler)(unsigned __int64)SetupAreaMoveTriggerPopup::onNextFreeEffectID); (*(void (__fastcall **)(_QWORD, CCMenuItemSpriteExtra *))(**(_QWORD **)&v3[9].m_unknown2 + 440LL))( *(_QWORD *)&v3[9].m_unknown2, v4); v5 = *(const cocos2d::CCPoint **)&v3[9].m_unknown2; sub_10028CBE0((float *)&v71, 145.0, -50.0); sub_10028CCE0((double *)&v97, &v95, &v71); *(cocos2d::CCPoint *)&v99 = cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)__s, v5); ((void (__fastcall *)(CCMenuItemSpriteExtra *, std::string *, double))v4->setPosition)(v4, __s, v99); SetupTriggerPopup::addObjectToPage((SetupTriggerPopup *)v3, v4, 1); strcpy((char *)v58, " Target Group ID:"); sub_10028CBE0((float *)&v97, 85.0, -100.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)v3, 51, (__int64)v58, (float *)__s, 1, Uint, 0.64999998, 0.0, 100.0, 6, 1, 1u, 0, 0, 2, 0); if ( ((__int64)v58[0] & 1) != 0 ) operator delete(v58[2]); strcpy((char *)v59, " Center Group ID:"); sub_10028CBE0((float *)&v97, 85.0, -150.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)v3, 71, (__int64)v59, (float *)__s, 1, Uint, 0.64999998, 0.0, 100.0, 6, 1, 1u, 0, 0, 2, 0); if ( ((__int64)v59[0] & 1) != 0 ) operator delete(v59[2]); v60 = 18; strcpy(v61, "Priority:"); sub_10028CBE0((float *)&v97, 85.0, -200.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)v3, 341, (__int64)&v60, (float *)__s, 1, Int, 0.64999998, 0.0, 100.0, 6, 1, 1u, 0, 0, 2, 0); if ( (v60 & 1) != 0 ) operator delete(*(void **)&v61[15]); v62 = 16; strcpy(v63, "ModFront"); sub_10028CBE0((float *)&v97, -75.0, -25.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)v3, 263, (__int64)&v62, (float *)__s, 0, Float, 0.64999998, 0.0, 10.0, 6, 0, 1u, 0, 1, 2, 0); if ( (v62 & 1) != 0 ) operator delete(*(void **)&v63[15]); v75 = 14; strcpy(v76, "ModBack"); sub_10028CBE0((float *)&v97, -75.0, -50.0); sub_10028CCE0((double *)__s, &v95, &v97); SetupTriggerPopup::createValueControlAdvanced( (__int64)v3, 264, (__int64)&v75, (float *)__s, 0, Float, 0.64999998, 0.0, 10.0, 6, 0, 1u, 0, 1, 2, 0); if ( (v75 & 1) != 0 ) operator delete(v77); v64 = 16; strcpy(v65, "Deadzone"); sub_10028CBE0((float *)&v97, -75.0, -75.0); sub_10028CCE0((double *)__s, &v95, &v97); v6 = v3; SetupTriggerPopup::createValueControlAdvanced( (__int64)v3, 282, (__int64)&v64, (float *)__s, 0, Float, 0.64999998, 0.0, 1.0, 6, 0, 1u, 0, 1, 2, 0); if ( (v64 & 1) != 0 ) { v6 = v66; operator delete(v66); } PageContainer = (cocos2d::CCArray *)&v84; v7 = (cocos2d::CCObject *)sub_10071F9E0(v6, 282); v3[17].__vftable = (cocos2d::CCObject_vtbl *)v7; cocos2d::CCObject::retain(v7); v8 = 1126825984; sub_10028CBE0((float *)__s, 170.0, 40.0); m_targetButtons = &v97; v10 = &v95; v11 = v94; sub_10028CCE0((double *)&v97, &v95, (unsigned __int64 *)__s); v12 = 1; v13 = -1; while ( 2 ) { v90 = (cocos2d::CCArray *)sub_10071F9E0(m_targetButtons, v10); switch ( v12 ) { case 1: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 12624; goto LABEL_34; case 2: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 12880; goto LABEL_34; case 3: *(_WORD *)&__s[0].__r_.__value_.__l.0 = 17154; v14 = &__s[0].__r_.__value_.__s.__data_[1]; goto LABEL_35; case 4: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 19522; goto LABEL_34; case 5: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 19523; goto LABEL_34; case 6: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 19540; goto LABEL_34; case 7: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 17218; goto LABEL_34; case 8: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 17236; goto LABEL_34; case 9: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 21058; goto LABEL_34; case 10: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 21059; goto LABEL_34; case 11: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 21076; goto LABEL_34; default: __s[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)4; *(_WORD *)((char *)&__s[0].__r_.__value_.__l.0 + 1) = 16718; LABEL_34: v14 = &__s[0].__r_.__value_.__s.__data_[2]; LABEL_35: *v14 = 0; v15 = strlen(__s[0].__r_.__value_.__s.__data_); if ( v15 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(*(double *)&v8); v16 = v15; if ( v15 >= 0x17 ) { v18 = (v15 | 7) + 1; if ( (v15 | 7) == 0x17 ) v18 = 26; v17 = (char *)operator new(v18); v86 = v17; __dst[0] = v18 | 1; __dst[1] = v16; v11 = v94; } else { LOBYTE(__dst[0]) = 2 * v15; v17 = (char *)__dst + 1; if ( !v15 ) goto LABEL_43; } memcpy(v17, (char *)&__s[0].__r_.__value_.__l.0 + 1, v16); LABEL_43: v17[v16] = 0; m_buttonMenu = v11->m_buttonMenu; sub_10028CBE0((float *)&v88, 0.0, (float)v12 * -23.0); sub_10028CCE0((double *)&v71, &v97, &v88); m_mainLayer = (__int64)v94->m_mainLayer; sub_10028CBE0((float *)&v96, 6.0, 0.0); v8 = 1058642330; ToggleButton = (unsigned __int64 *)GameToolbox::createToggleButton( (unsigned int)__dst, (unsigned int)SetupAreaMoveTriggerPopup::onSpecialTarget, 0, 0, (_DWORD)m_buttonMenu, (unsigned int)&v71, (__int64)v94, m_mainLayer, (__int64)&v96, (__int64)"bigFont.fnt", 0, 0, (__int64)v90); if ( (__dst[0] & 1) != 0 ) operator delete(v86); v11 = v94; if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__s[0].__r_.__value_.__l.__data_); *((_BYTE *)ToggleButton + 393) = 1; (*(void (__fastcall **)(unsigned __int64 *, _QWORD))(*ToggleButton + 72))(ToggleButton, v13); SetupTriggerPopup::addObjectsToPage(v11, v90, 1); m_targetButtons = (unsigned __int64 *)v11->m_targetButtons; v10 = ToggleButton; sub_10071FCD0(m_targetButtons, ToggleButton); ++v12; if ( --v13 != -12 ) continue; sub_10028CBE0((float *)&v71, (float)(v92 * 0.5) + -10.0, (float)(v93 * 0.5) + -80.0); sub_10028CBE0( (float *)&v88, (float)((float)(v92 * 0.5) - (float)(v11->m_width * 0.5)) + 20.0, (float)((float)((float)(v93 * 0.5) - (float)(v11->m_height * 0.5)) + 20.0) + 30.0); LOBYTE(v78) = 28; strcpy((char *)&v78 + 1, "Ignore\nGParent"); sub_10028CBE0((float *)&v96, 90.0, 0.0); sub_10028CCE0((double *)__s, &v88, &v96); SetupTriggerPopup::createToggleValueControl((int)v11, 280, &v78, 1.0, (__int64)__s, 0, 1, 0); v22 = v91; if ( (v78 & 1) != 0 ) operator delete(v79); LOBYTE(v80) = 26; strcpy((char *)&v80 + 1, "Ignore\nLinked"); sub_10028CC60(__s, (double *)&v88); SetupTriggerPopup::createToggleValueControl((int)v11, 281, &v80, 1.0, (__int64)__s, 0, 1, 0); if ( (v80 & 1) != 0 ) operator delete(v81); strcpy((char *)&v67, "\nDE\nAP"); sub_10028CBE0((float *)&v96, 180.0, 20.0); sub_10028CCE0((double *)__s, &v88, &v96); v23 = (__m128)0x3F800000u; v24 = v11; v25 = 539; SetupTriggerPopup::createToggleValueControl((int)v11, 539, &v67, 1.0, (__int64)__s, 0, 1, 0); if ( (v67 & 1) != 0 ) { v24 = v68; operator delete(v68); } if ( (unsigned int)(v22 - 3006) < 3 ) { LOBYTE(v82[0].x) = 12; strcpy((char *)v82 + 1, "Easing"); sub_10028CBE0((float *)&v96, -95.0, -150.0); sub_10028CCE0((double *)__s, &v95, &v96); SetupTriggerPopup::createCustomEasingControls( v11, v82, (cocos2d::CCLabelBMFont *)__s, 0xF2u, 0xF3u, 0, 0.69999999, 0); if ( (LOBYTE(v82[0].x) & 1) != 0 ) operator delete(*(void **)&v82[2]); sub_10028CBE0( (float *)__s, (float)(v92 * 0.5) + 50.0, (float)((float)(v93 * 0.5) - (float)(v11->m_height * 0.5)) + 20.0); LOBYTE(v69) = 16; strcpy((char *)&v69 + 1, "Ease\nOut"); v11 = v94; sub_10028CC60(&v96, (double *)__s); SetupTriggerPopup::createToggleValueControl((int)v11, 261, &v69, 1.0, (__int64)&v96, 0, 0, 0); if ( (v69 & 1) != 0 ) operator delete(v70); LOBYTE(v83[0].x) = 14; strcpy((char *)v83 + 1, "Easing2"); sub_10028CBE0((float *)&v87, 95.0, -150.0); sub_10028CCE0((double *)&v96, &v95, &v87); v23 = (__m128)0x3F333333u; SetupTriggerPopup::createCustomEasingControls( v11, v83, (cocos2d::CCLabelBMFont *)&v96, 0xF8u, 0xF9u, 0, 0.69999999, 9); if ( (LOBYTE(v83[0].x) & 1) != 0 ) operator delete(v84); v26.f32[0] = ((float (__fastcall *)(SetupAreaMoveTriggerPopup *, __int64))v11->getValue)(v11, 261); v24 = v11; v25 = 9; ((void (__fastcall *)(SetupAreaMoveTriggerPopup *, __int64, _QWORD))v11->toggleGroup)( v11, 9, _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)0LL, v26)) & 1); } v27 = (cocos2d::CCObject *)sub_10071F9E0(v24, v25); v11->m_modeButtons = (cocos2d::CCArray *)v27; cocos2d::CCObject::retain(v27); v91 = (int)((float (__fastcall *)(SetupAreaMoveTriggerPopup *, __int64))v11->getValue)(v11, 262); *(double *)v23.i64 = ((double (__fastcall *)(SetupAreaMoveTriggerPopup *, __int64))v11->getValue)(v11, 276); v28 = _mm_cmpneq_ss(v23, (__m128)0LL); v29 = v11; v30 = _mm_cvtsi128_si32((__m128i)v28) & 1; *(double *)v28.i64 = ((double (__fastcall *)(SetupTriggerPopup *, __int64))v29->getValue)(v29, 283); v31.i32[0] = 0; v32 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v28, v31)) & 1; PageContainer = SetupTriggerPopup::getPageContainer(v29, 1); v33 = 0; memset(__s, 0, 24); v34 = "edit_areaModeBtn03b_001.png"; v35 = "edit_areaModeBtn05_001.png"; v36 = "edit_areaModeBtn01_001.png"; switch ( (unsigned __int64)"edit_areaModeBtn01_001.png" ) { case 0uLL: LABEL_64: v35 = "edit_areaModeBtn04_001.png"; goto LABEL_69; case 1uLL: goto LABEL_69; case 2uLL: LABEL_67: v35 = "edit_areaModeBtn01_001.png"; goto LABEL_69; case 3uLL: LABEL_68: v35 = "edit_areaModeBtn02_001.png"; goto LABEL_69; case 4uLL: LABEL_65: v35 = "edit_areaModeBtn03_001.png"; goto LABEL_69; case 5uLL: LABEL_66: v35 = "edit_areaModeBtn03b_001.png"; LABEL_69: std::string::assign(__s, v35); v37 = 0; goto LABEL_70; case 6uLL: goto LABEL_92; case 7uLL: LABEL_91: v36 = "edit_areaModeBtn02_001.png"; LABEL_92: std::string::assign(__s, v36); v37 = 1119092736; LABEL_70: LODWORD(v90) = v37; data = __s[0].__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_71; goto LABEL_72; case 8uLL: goto LABEL_94; case 9uLL: LABEL_93: v34 = "edit_areaModeBtn03_001.png"; LABEL_94: while ( 2 ) { std::string::assign(__s, v34); LODWORD(v90) = -1028390912; data = __s[0].__r_.__value_.__s.__data_; if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 ) LABEL_71: data = __s[0].__r_.__value_.__l.__data_; LABEL_72: v39 = cocos2d::CCSprite::createWithSpriteFrameName(data); ((void (__fastcall *)(cocos2d::CCSprite *, float))v39->setRotation)(v39, *(float *)&v90); v40 = 1; if ( v33 - 2 < 4 || (v41 = 0, v40 = 2, v33 >= 2) ) v41 = v40; if ( v33 - 1 >= 7 || (v42 = 1, v43 = 85, !_bittest(&v43, (unsigned __int8)(v33 - 1))) ) v42 = v33 == 8; if ( v33 > 6 || (v44 = 1, v45 = 76, !_bittest(&v45, v33)) ) v44 = v33 == 7; v46 = "GJ_button_02.png"; if ( (unsigned __int8)(v30 ^ v42) | (unsigned __int8)(v32 ^ v44) ) v46 = "GJ_button_04.png"; if ( v41 != v91 ) v46 = "GJ_button_04.png"; v47 = ButtonSprite::create(v39, 32, 0, 32.0, 1.0, 1, v46, 1); v48 = CCMenuItemSpriteExtra::create( v47, nullptr, v94, (cocos2d::SEL_MenuHandler)(unsigned __int64)SetupAreaMoveTriggerPopup::onMode); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))v48->setTag)(v48, v33); sub_10071FCD0(PageContainer, v48); sub_10071FCD0(v94->m_modeButtons, v48); ((void (__fastcall *)(cocos2d::CCSprite *, float))v39->setScale)(v39, 1.8); LODWORD(v90) = *(_DWORD *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))v48->getContentSize)(v48); v49 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))v48->getContentSize)(v48); sub_10028CBE0((float *)&v96, *(float *)&v90 * 0.5, *(float *)(v49 + 4) * 0.5); ((void (__fastcall *)(cocos2d::CCSprite *, unsigned __int64 *))v39->setPosition)(v39, &v96); ((void (__fastcall *)(CCMenuItemSpriteExtra *, float))v48->setScale)(v48, 0.5); v48->m_baseScale = 0.5; ((void (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))v94->m_buttonMenu->addChild)( v94->m_buttonMenu, v48); v50 = -25.0; v51 = v33 - 5; if ( v33 < 5 ) { v50 = 0.0; v51 = v33; } v52 = (const cocos2d::CCPoint *)v94->m_buttonMenu; sub_10028CBE0( (float *)&v87, (float)((float)v51 * 25.0) + (float)((float)((float)(v92 * 0.5) - (float)(v94->m_width * 0.5)) + 50.0), (float)((float)(0.5 * v93) + -20.0) + v50); *(cocos2d::CCPoint *)&v100 = cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v96, v52); ((void (__fastcall *)(CCMenuItemSpriteExtra *, unsigned __int64 *, double))v48->setPosition)( v48, &v96, v100); if ( (*(_BYTE *)&__s[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__s[0].__r_.__value_.__l.__data_); if ( ++v33 != 10 ) { memset(__s, 0, 24); v35 = "edit_areaModeBtn05_001.png"; v36 = "edit_areaModeBtn01_001.png"; v34 = "edit_areaModeBtn03b_001.png"; switch ( (unsigned __int64)"edit_areaModeBtn01_001.png" ) { case 0uLL: goto LABEL_64; case 1uLL: goto LABEL_69; case 2uLL: goto LABEL_67; case 3uLL: goto LABEL_68; case 4uLL: goto LABEL_65; case 5uLL: goto LABEL_66; case 6uLL: goto LABEL_92; case 7uLL: goto LABEL_91; case 8uLL: continue; case 9uLL: goto LABEL_93; } } return; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source