// // UIOptionsLayer::init from 0xa2cd84 to 0xa2e46c (5864 bytes) // // 2 xrefs: // > UIOptionsLayer::create @ 0xa2e6e4 // > @ 0xffc70 // // 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 12:59:46 +0000 // __int64 __fastcall UIOptionsLayer::init(UIOptionsLayer *this, char a2) { unsigned __int8 v4; // w0 unsigned int v5; // w25 void (__fastcall *v7)(UIOptionsLayer *, __int64 *); // x2 cocos2d::CCDirector *v8; // x0 cocos2d::CCDirector *v9; // x0 cocos2d::CCMenu *WinSize; // x0 __int64 v11; // x0 const char *v12; // x6 __int64 v13; // x0 __int64 v14; // x27 void (__fastcall *v15)(__int64, __int64 *); // x28 const char *v16; // x6 __int64 v17; // x0 __int64 v18; // x28 __int64 v19; // x0 __int64 (__fastcall *v20)(__int64); // x1 void (__fastcall *v21)(__int64, __int64 *); // x27 const char *v22; // x1 __int64 v23; // x27 __int64 v24; // x27 void (__fastcall *v25)(__int64, __int64 *); // x28 const char *v26; // x2 __int64 v27; // x0 __int64 v28; // x26 __int64 (__fastcall *v29)(__int64, __int64 *); // x27 GameManager *v30; // x0 __int64 v31; // x0 __int64 v32; // x0 GameManager *v33; // x0 __int64 v34; // x0 __int64 v35; // x0 float v36; // s10 __int64 v37; // x0 void (__fastcall *v38)(__int64, __int64 *); // x27 float *v39; // x0 __int64 v40; // x26 __int64 v41; // x0 GameManager *v42; // x0 __int64 v43; // x0 __int64 v44; // x0 GameManager *v45; // x0 __int64 v46; // x0 __int64 v47; // x0 float v48; // s10 __int64 v49; // x0 void (__fastcall *v50)(__int64, __int64 *); // x27 float *v51; // x0 __int64 v52; // x26 __int64 v53; // x0 __int64 v54; // x0 __int64 v55; // x0 __int64 v56; // x3 int v57; // [xsp+20h] [xbp-10h] int v58; // [xsp+20h] [xbp-10h] int v59; // [xsp+20h] [xbp-10h] int v60; // [xsp+20h] [xbp-10h] int v61; // [xsp+20h] [xbp-10h] int v62; // [xsp+20h] [xbp-10h] int v63; // [xsp+20h] [xbp-10h] int v64; // [xsp+20h] [xbp-10h] int v65; // [xsp+20h] [xbp-10h] int v66; // [xsp+20h] [xbp-10h] int v67; // [xsp+20h] [xbp-10h] int v68; // [xsp+20h] [xbp-10h] int v69; // [xsp+20h] [xbp-10h] int v70; // [xsp+20h] [xbp-10h] int v71; // [xsp+20h] [xbp-10h] int v72; // [xsp+20h] [xbp-10h] int v73; // [xsp+20h] [xbp-10h] int v74; // [xsp+20h] [xbp-10h] int v75; // [xsp+20h] [xbp-10h] cocos2d::CCNode *v76; // [xsp+D0h] [xbp+A0h] __int64 v77; // [xsp+D0h] [xbp+A0h] cocos2d::CCNode *v78; // [xsp+D0h] [xbp+A0h] float v79; // [xsp+D0h] [xbp+A0h] float v80; // [xsp+D0h] [xbp+A0h] __int64 v81; // [xsp+E0h] [xbp+B0h] BYREF float v82; // [xsp+E8h] [xbp+B8h] BYREF float v83; // [xsp+ECh] [xbp+BCh] _BYTE v84[8]; // [xsp+F0h] [xbp+C0h] BYREF __int64 v85; // [xsp+F8h] [xbp+C8h] BYREF __int64 v86; // [xsp+100h] [xbp+D0h] BYREF __int64 v87; // [xsp+108h] [xbp+D8h] void *v88; // [xsp+110h] [xbp+E0h] v4 = SetupTriggerPopup::init(this, nullptr, nullptr, 400.0, 280.0, 1, 0.0); v5 = v4; if ( v4 ) { *((_BYTE *)this + 1012) = a2; SetupTriggerPopup::preSetup(this); v7 = *(void (__fastcall **)(UIOptionsLayer *, __int64 *))(*(_QWORD *)this + 1216LL); LOWORD(v85) = 17459; BYTE2(v85) = -103; v7(this, &v85); v8 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(UIOptionsLayer *, __int64))(*(_QWORD *)this + 1168LL))( this, 0xFFFFFFFFLL); *((_BYTE *)this + 596) = 1; v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); WinSize = (cocos2d::CCMenu *)cocos2d::CCDirector::getWinSize(&v81, v9); v11 = cocos2d::CCMenu::create(WinSize); *((_QWORD *)this + 69) = v11; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v11, 10); v13 = ButtonSprite::create( (ButtonSprite *)"OK", (const char *)&qword_28, 0, 1, 0.8, "goldFont.fnt", "GJ_button_01.png", v12, 30.0); v14 = CCMenuItemSpriteExtra::create(v13, 0, (__int64)this, 1368, 1); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v14); v76 = *((cocos2d::CCNode **)this + 69); v15 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v14 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v84, (float)(*(float *)&v81 * 0.5) + -40.0, *((float *)&v81 + 1) - 30.0); cocos2d::CCNode::convertToNodeSpace(&v85, v76, (const cocos2d::CCPoint *)v84); v15(v14, &v85); v17 = ButtonSprite::create( (ButtonSprite *)"Reset", (const char *)&qword_28, 0, 1, 0.8, "goldFont.fnt", "GJ_button_05.png", v16, 30.0); v18 = CCMenuItemSpriteExtra::create(v17, 0, (__int64)this, (__int64)UIOptionsLayer::onReset, 0); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v18); v19 = v14; v20 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v14 + 192LL); v21 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v18 + 184LL); v77 = v20(v19); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 80.0, 0.0); cocos2d::CCPoint::operator+(&v85, v77); v21(v18, &v85); v23 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_optionsBtn_001.png", v22); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v23 + 160LL))(v23, 0.6); v24 = CCMenuItemSpriteExtra::create(v23, 0, (__int64)this, (__int64)UIOptionsLayer::onSaveLoad, 0); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v24); v78 = *((cocos2d::CCNode **)this + 69); v25 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v24 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v82, 0.0, 0.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, v82 + 30.0, *((float *)&v81 + 1) - 30.0); cocos2d::CCNode::convertToNodeSpace(&v85, v78, (const cocos2d::CCPoint *)v84); v25(v24, &v85); SetupTriggerPopup::toggleBG(this, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v82, *(float *)&v81 * 0.5, *((float *)&v81 + 1) - 70.0); if ( *((_BYTE *)this + 1012) ) { v27 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"P1 Move", "goldFont.fnt", v26); *((_QWORD *)this + 131) = v27; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v27 + 160LL))(v27, 0.6); (*(void (__fastcall **)(UIOptionsLayer *, _QWORD))(*(_QWORD *)this + 456LL))(this, *((_QWORD *)this + 131)); v28 = *((_QWORD *)this + 131); v29 = *(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v28 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, 5.0); cocos2d::CCPoint::operator+(&v85, &v82); v30 = (GameManager *)v29(v28, &v85); v83 = v83 - 25.0; v31 = GameManager::sharedState(v30); v32 = GJUINode::create(v31 + 1356); *((_QWORD *)this + 127) = v32; (*(void (__fastcall **)(UIOptionsLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v32, 100); *(_BYTE *)(*((_QWORD *)this + 127) + 380LL) = 1; v33 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 127) + 72LL))( *((_QWORD *)this + 127), 1); v34 = GameManager::sharedState(v33); v35 = GJUINode::create(v34 + 1396); *((_QWORD *)this + 128) = v35; (*(void (__fastcall **)(UIOptionsLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v35, 100); v36 = *(float *)&v81; v37 = *((_QWORD *)this + 128); v38 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v37 + 184LL); v39 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v37 + 192LL))(v37); v40 = *((_QWORD *)this + 128); v79 = v36 - *v39; v41 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v40 + 192LL))(v40); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v85, v79, *(float *)(v41 + 4)); v38(v40, &v85); *(_BYTE *)(*((_QWORD *)this + 128) + 380LL) = 1; v42 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 128) + 72LL))( *((_QWORD *)this + 128), 2); v43 = GameManager::sharedState(v42); v44 = GJUINode::create(v43 + 1436); *((_QWORD *)this + 129) = v44; (*(void (__fastcall **)(UIOptionsLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v44, 100); *(_BYTE *)(*((_QWORD *)this + 129) + 380LL) = 1; v45 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 129) + 72LL))( *((_QWORD *)this + 129), 3); v46 = GameManager::sharedState(v45); v47 = GJUINode::create(v46 + 1476); *((_QWORD *)this + 130) = v47; (*(void (__fastcall **)(UIOptionsLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v47, 100); v48 = *(float *)&v81; v49 = *((_QWORD *)this + 130); v50 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v49 + 184LL); v51 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v49 + 192LL))(v49); v52 = *((_QWORD *)this + 130); v80 = v48 - *v51; v53 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v52 + 192LL))(v52); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v85, v80, *(float *)(v53 + 4)); v50(v52, &v85); *(_BYTE *)(*((_QWORD *)this + 130) + 380LL) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 130) + 72LL))(*((_QWORD *)this + 130), 4); } else { v54 = GameManager::sharedState((GameManager *)*((unsigned __int8 *)this + 1012)); v55 = GJUINode::create(v54 + 1316); v56 = *(_QWORD *)this; *((_QWORD *)this + 127) = v55; (*(void (__fastcall **)(UIOptionsLayer *))(v56 + 464))(this); *(_BYTE *)(*((_QWORD *)this + 127) + 380LL) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 127) + 72LL))(*((_QWORD *)this + 127), 1); } v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Dual", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v85, *(float *)&v81 - 40.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967273LL, &v86, &v85, 1, 0, 0, 1.0); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Width:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, 0.0); cocos2d::CCPoint::operator+(&v85, &v82); SetupTriggerPopup::createValueControlAdvanced( this, 0xFFFFFFFFLL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 1, 1, 0, 0); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Height:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -25.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v57) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967291LL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 1, 1, 0, v57); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Scale:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -50.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v58) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967287LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.2, 2.0, 0, 1, 1, 2, v58); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Opacity:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -75.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v59) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967283LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 1.0, 0, 1, 1, 2, v59); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Deadzone:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -100.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v60) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967275LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 10.0, 0, 1, 1, 1, v60); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Radius:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -125.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v61) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967277LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 50.0, 0, 1, 1, 1, v61); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "ModeB", 5u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v85, (float)(*(float *)&v81 * 0.5) + -160.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967279LL, &v86, &v85, 1, 0, 1, 1.0); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Snap", 4u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v85, (float)(*(float *)&v81 * 0.5) + -110.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967272LL, &v86, &v85, 1, 0, 1, 1.0); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Split", 5u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v85, (float)(*(float *)&v81 * 0.5) + 155.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967269LL, &v86, &v85, 1, 0, 1, 1.0); if ( (v86 & 1) != 0 ) { operator delete(v88); if ( *((_BYTE *)this + 1012) ) goto LABEL_25; } else if ( *((_BYTE *)this + 1012) ) { LABEL_25: v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Width:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, 0.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v62) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967293LL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 3, 1, 0, v62); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Height:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -25.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v63) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967289LL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 3, 1, 0, v63); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Scale:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -50.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v64) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967285LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.2, 2.0, 0, 3, 1, 2, v64); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Opacity:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -75.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v65) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967281LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 1.0, 0, 3, 1, 2, v65); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Width:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -0.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v66) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967292LL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 4, 1, 0, v66); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Height:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -25.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v67) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967288LL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 4, 1, 0, v67); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Scale:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -50.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v68) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967284LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.2, 2.0, 0, 4, 1, 2, v68); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Opacity:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -75.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v69) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967280LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 1.0, 0, 4, 1, 2, v69); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Width:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, 0.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v70) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967294LL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 2, 1, 0, v70); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Height:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -25.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v71) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967290LL, &v86, &v85, 0, 2, 4, 0, 0.6, 50.0, 400.0, 0, 2, 1, 0, v71); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Scale:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -50.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v72) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967286LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.2, 2.0, 0, 2, 1, 2, v72); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Opacity:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -75.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v73) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967282LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 1.0, 0, 2, 1, 2, v73); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Deadzone:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -100.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v74) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967274LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 10.0, 0, 2, 1, 1, v74); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Radius:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v84, 0.0, -125.0); cocos2d::CCPoint::operator+(&v85, &v82); LOBYTE(v75) = 0; SetupTriggerPopup::createValueControlAdvanced( this, 4294967276LL, &v86, &v85, 0, 1, 4, 0, 0.6, 0.0, 50.0, 0, 2, 1, 1, v75); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "ModeB", 5u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v85, (float)(*(float *)&v81 * 0.5) + -160.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967278LL, &v86, &v85, 1, 0, 2, 1.0); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Snap", 4u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v85, (float)(*(float *)&v81 * 0.5) + -110.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967271LL, &v86, &v85, 1, 0, 2, 1.0); if ( (v86 & 1) != 0 ) operator delete(v88); v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "Split", 5u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v85, (float)(*(float *)&v81 * 0.5) + 155.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967268LL, &v86, &v85, 1, 0, 2, 1.0); if ( (v86 & 1) != 0 ) operator delete(v88); if ( *((_BYTE *)this + 1012) ) UIOptionsLayer::toggleUIGroup(this, 1); LABEL_61: SetupTriggerPopup::postSetup(this); return v5; } v86 = 0; v87 = 0; v88 = nullptr; std::string::__init(&v86, "JumpL", 5u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v85, (float)(*(float *)&v81 * 0.5) + 110.0, *((float *)&v81 + 1) - 35.0); SetupTriggerPopup::createToggleValueControl(this, 4294967270LL, &v86, &v85, 1, 0, 0, 1.0); if ( (v86 & 1) != 0 ) operator delete(v88); if ( !*((_BYTE *)this + 1012) ) goto LABEL_61; goto LABEL_25; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source