// // UIOptionsLayer::init from 0x1402a0de0 to 0x1402a2ae8 (7432 bytes) // // 2 xrefs: // > UIOptionsLayer::create @ 0x1402a0d9a // > @ 0x1406d1fac // // 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 // // Hidden C++ exception states: #wind=9 bool UIOptionsLayer::init(UIOptionsLayer *a1, bool a2) { bool result; // al __int64 v5; // rdx __int64 v6; // rcx cocos2d::CCDirector *v7; // rax __int64 v8; // rcx cocos2d::CCMenu *v9; // rax ButtonSprite *v10; // rbx CCMenuItemSpriteExtra *v11; // r14 float v12; // xmm0_4 CCMenuItemSpriteExtra_vtbl *v13; // rbx struct cocos2d::CCPoint v14; // rax ButtonSprite *v15; // rbx CCMenuItemSpriteExtra *v16; // rdi float v17; // xmm0_4 __int64 v18; // rax struct cocos2d::CCSprite *v19; // rbx CCMenuItemSpriteExtra *v20; // rdi float v21; // xmm0_4 CCMenuItemSpriteExtra_vtbl *v22; // rbx double v23; // xmm0_8 float *v24; // rax double v25; // xmm0_8 struct cocos2d::CCPoint v26; // rax cocos2d::CCNode *v27; // rax __int64 v28; // rcx GJUINode *v29; // rax GJUINode *m_uiNode1; // rcx __int64 v31; // rdx cocos2d::CCLabelBMFont *v32; // rax float v33; // xmm0_4 float v34; // xmm0_4 __int64 v35; // rcx GJUINode *v36; // rax __int64 v37; // rcx GJUINode *v38; // rax GJUINode *m_uiNode2; // rcx GJUINode_vtbl *v40; // rbx const cocos2d::CCPoint *v41; // rax double v42; // xmm0_8 const cocos2d::CCPoint *v43; // rax __int64 v44; // rcx GJUINode *v45; // rax __int64 v46; // rcx GJUINode *v47; // rax GJUINode *m_uiNode4; // rcx GJUINode_vtbl *v49; // rbx const cocos2d::CCPoint *v50; // rax const cocos2d::CCPoint *v51; // rax int v52; // eax double ValueControlAdvanced; // xmm0_8 double v54; // xmm0_8 int v55; // eax int v56; // eax int v57; // eax int v58; // eax double v59; // xmm0_8 double v60; // xmm0_8 double v61; // xmm0_8 double v62; // xmm0_8 int v63; // eax int v64; // eax int v65; // eax float v66; // [rsp+80h] [rbp-80h] struct cocos2d::CCPoint v67; // [rsp+88h] [rbp-78h] BYREF __int128 *v68; // [rsp+90h] [rbp-70h] BYREF __int128 v69; // [rsp+98h] [rbp-68h] BYREF __int64 v70; // [rsp+A8h] [rbp-58h] __int64 v71; // [rsp+B0h] [rbp-50h] ButtonSprite *v72; // [rsp+1A0h] [rbp+A0h] BYREF char v73; // [rsp+1A8h] [rbp+A8h] BYREF float v74; // [rsp+1ACh] [rbp+ACh] result = SetupTriggerPopup::init(a1, nullptr, nullptr, 400.0, 280.0, 1); if ( result ) { a1->m_dual = a2; a1->m_disableTextDelegate = 1; a1->determineStartValues(a1); LOWORD(v72) = 17459; BYTE2(v72) = -103; a1->setColor(&a1->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v72); LOBYTE(v5) = -1; a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, v5); a1->m_noElasticity = 1; v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize(v7); v9 = (cocos2d::CCMenu *)cocos2d::CCMenu::create(v8); a1->m_buttonMenu = v9; a1->m_mainLayer->addChild_0(a1->m_mainLayer, v9, 10); v72 = (ButtonSprite *)operator new(0x2C0u); v10 = ButtonSprite::ButtonSprite(v72); if ( v10 ) { if ( ButtonSprite::init_1(v10, "OK", 40, 0, 0.80000001, 1, "goldFont.fnt", "GJ_button_01.png", 30.0) ) { cocos2d::CCObject::autorelease(v10); } else { ((void (__fastcall *)(ButtonSprite *, __int64))v10->~ButtonSprite)(v10, 1); v10 = nullptr; } } v11 = CCMenuItemSpriteExtra::create(v10, nullptr, a1, (cocos2d::SEL_MenuHandler *)sub_14009BEF0); v12 = ((float (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild_1)( a1->m_buttonMenu, v11); v13 = v11->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint(v12, (float)(v66 * 0.5) - 40.0); v14 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, &v67); ((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v13->setPosition_0)(v11, v14); v72 = (ButtonSprite *)operator new(0x2C0u); v15 = ButtonSprite::ButtonSprite(v72); if ( v15 ) { if ( ButtonSprite::init_1(v15, "Reset", 40, 0, 0.80000001, 1, "goldFont.fnt", "GJ_button_05.png", 30.0) ) { cocos2d::CCObject::autorelease(v15); } else { ((void (__fastcall *)(ButtonSprite *, __int64))v15->~ButtonSprite)(v15, 1); v15 = nullptr; } } v16 = CCMenuItemSpriteExtra::create(v15, nullptr, a1, (cocos2d::SEL_MenuHandler *)UIOptionsLayer::onReset); v17 = ((float (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild_1)( a1->m_buttonMenu, v16); cocos2d::CCPoint::CCPoint(v17, 80.0); v18 = (__int64)v11->getPosition_0(v11); cocos2d::CCPoint::operator+(v18, &v72); v16->setPosition_0(v16, (const cocos2d::CCPoint *)&v72); v19 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_optionsBtn_001.png"); ((void (__fastcall *)(struct cocos2d::CCSprite *))v19->setScale_0)(v19); v20 = CCMenuItemSpriteExtra::create(v19, nullptr, a1, (cocos2d::SEL_MenuHandler *)UIOptionsLayer::onSaveLoad); v21 = ((float (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild_1)( a1->m_buttonMenu, v20); v22 = v20->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v23 = cocos2d::CCPoint::CCPoint(v21, 0.0); v25 = cocos2d::CCPoint::CCPoint(*(float *)&v23, *v24 + 30.0); v26 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, (const struct cocos2d::CCPoint *)&v68); ((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v22->setPosition_0)(v20, v26); v27 = a1->m_mainLayer->getChildByTag(a1->m_mainLayer, 1); if ( v27 ) *(float *)&v25 = ((float (__fastcall *)(cocos2d::CCNode *, _QWORD))v27->setVisible)(v27, 0); cocos2d::CCPoint::CCPoint(*(float *)&v25, v66 * 0.5); if ( a1->m_dual ) { v32 = cocos2d::CCLabelBMFont::create("P1 Move", "goldFont.fnt"); a1->m_nameLabel = v32; ((void (__fastcall *)(cocos2d::CCLabelBMFont *))v32->setScale_0)(v32); v33 = ((float (__fastcall *)(UIOptionsLayer *, cocos2d::CCLabelBMFont *))a1->addChild_1)(a1, a1->m_nameLabel); cocos2d::CCPoint::CCPoint(v33, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); a1->m_nameLabel->setPosition_0(a1->m_nameLabel, (const cocos2d::CCPoint *)&v72); v34 = v74 + -25.0; v74 = v74 + -25.0; v35 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v67 = (struct cocos2d::CCPoint)operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(*(_QWORD *)&v67); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v35 = qword_1406C2ED8; } v36 = GJUINode::create((UIButtonConfig *)(v35 + 1252)); a1->m_uiNode1 = v36; a1->addChild_0(a1, v36, 100); a1->m_uiNode1->m_drawLines = 1; a1->m_uiNode1->setTag(a1->m_uiNode1, 1); v37 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v72 = (ButtonSprite *)operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v72); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v37 = qword_1406C2ED8; } v38 = GJUINode::create((UIButtonConfig *)(v37 + 1292)); a1->m_uiNode2 = v38; a1->addChild_0(a1, v38, 100); m_uiNode2 = a1->m_uiNode2; v40 = m_uiNode2->__vftable; m_uiNode2->getPosition_0(m_uiNode2); v41 = a1->m_uiNode2->getPosition_0(a1->m_uiNode2); v42 = cocos2d::CCPoint::CCPoint(v34, v66 - v41->x); v40->setPosition_0(a1->m_uiNode2, v43); a1->m_uiNode2->m_drawLines = 1; a1->m_uiNode2->setTag(a1->m_uiNode2, 2); v44 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v72 = (ButtonSprite *)operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v72); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v44 = qword_1406C2ED8; } v45 = GJUINode::create((UIButtonConfig *)(v44 + 1332)); a1->m_uiNode3 = v45; a1->addChild_0(a1, v45, 100); a1->m_uiNode3->m_drawLines = 1; a1->m_uiNode3->setTag(a1->m_uiNode3, 3); v46 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v72 = (ButtonSprite *)operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v72); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v46 = qword_1406C2ED8; } v47 = GJUINode::create((UIButtonConfig *)(v46 + 1372)); a1->m_uiNode4 = v47; a1->addChild_0(a1, v47, 100); m_uiNode4 = a1->m_uiNode4; v49 = m_uiNode4->__vftable; m_uiNode4->getPosition_0(m_uiNode4); v50 = a1->m_uiNode4->getPosition_0(a1->m_uiNode4); cocos2d::CCPoint::CCPoint(*(float *)&v42, v66 - v50->x); v49->setPosition_0(a1->m_uiNode4, v51); a1->m_uiNode4->m_drawLines = 1; m_uiNode1 = a1->m_uiNode4; v31 = 4; } else { v28 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v72 = (ButtonSprite *)operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v72); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v28 = qword_1406C2ED8; } v29 = GJUINode::create((UIButtonConfig *)(v28 + 1212)); a1->m_uiNode1 = v29; a1->addChild_0(a1, v29, 100); a1->m_uiNode1->m_drawLines = 1; m_uiNode1 = a1->m_uiNode1; v31 = 1; } m_uiNode1->setTag(m_uiNode1, v31); v72 = (ButtonSprite *)&v69; v69 = 0; v70 = 4; v71 = 15; strcpy((char *)&v69, "Dual"); cocos2d::CCPoint::CCPoint(0.0, v66 - 40.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -23, (unsigned int)&v69, v52, 1, 0, 0, 1065353216); v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Width:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); ValueControlAdvanced = SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -1, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 1, 1, 0, 0); v68 = &v69; v70 = 7; v71 = 15; v69 = 0x3A746867696548uLL; cocos2d::CCPoint::CCPoint(*(float *)&ValueControlAdvanced, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -5, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 1, 1, 0, 0); v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Scale:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -9, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 1045220557, 0x40000000, 0, 1, 1, 2, 0); v68 = &v69; v70 = 8; v71 = 15; v69 = 0x3A7974696361704FuLL; cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -13, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1065353216, 0, 1, 1, 2, 0); v68 = &v69; *((_QWORD *)&v69 + 1) = 58; v70 = 9; v71 = 15; *(_QWORD *)&v69 = 0x656E6F7A64616544LL; cocos2d::CCPoint::CCPoint(1.6631257e22, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); v54 = SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -21, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1092616192, 0, 1, 1, 1, 0); v68 = &v69; v70 = 7; v71 = 15; v69 = 0x3A737569646152uLL; cocos2d::CCPoint::CCPoint(*(float *)&v54, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -19, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1112014848, 0, 1, 1, 1, 0); v72 = (ButtonSprite *)&v69; v69 = 0; v70 = 5; v71 = 15; strcpy((char *)&v69, "ModeB"); cocos2d::CCPoint::CCPoint(0.0, (float)(v66 * 0.5) - 160.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -17, (unsigned int)&v69, v55, 1, 0, 1, 1065353216); v72 = (ButtonSprite *)&v69; v69 = 0; v70 = 4; v71 = 15; strcpy((char *)&v69, "Snap"); cocos2d::CCPoint::CCPoint(0.0, (float)(v66 * 0.5) - 110.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -24, (unsigned int)&v69, v56, 1, 0, 1, 1065353216); v72 = (ButtonSprite *)&v69; v69 = 0; v70 = 5; v71 = 15; LODWORD(v69) = *(_DWORD *)"Split"; WORD2(v69) = (unsigned __int8)aSplit[4]; cocos2d::CCPoint::CCPoint(0.0, (float)(v66 * 0.5) + 155.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -27, (unsigned int)&v69, v57, 1, 0, 1, 1065353216); if ( a1->m_dual || (v72 = (ButtonSprite *)&v69, v69 = 0, v70 = 5, v71 = 15, strcpy((char *)&v69, "JumpL"), cocos2d::CCPoint::CCPoint(0.0, (float)(v66 * 0.5) + 110.0), SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -26, (unsigned int)&v69, v58, 1, 0, 0, 1065353216), a1->m_dual) ) { v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Width:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); v59 = SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -3, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 3, 1, 0, 0); v68 = &v69; v70 = 7; v71 = 15; v69 = 0x3A746867696548uLL; cocos2d::CCPoint::CCPoint(*(float *)&v59, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -7, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 3, 1, 0, 0); v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Scale:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -11, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 1045220557, 0x40000000, 0, 3, 1, 2, 0); v68 = &v69; v70 = 8; v71 = 15; v69 = 0x3A7974696361704FuLL; cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -15, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1065353216, 0, 3, 1, 2, 0); v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Width:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); v60 = SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -4, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 4, 1, 0, 0); v68 = &v69; v70 = 7; v71 = 15; v69 = 0x3A746867696548uLL; cocos2d::CCPoint::CCPoint(*(float *)&v60, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -8, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 4, 1, 0, 0); v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Scale:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -12, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 1045220557, 0x40000000, 0, 4, 1, 2, 0); v68 = &v69; v70 = 8; v71 = 15; v69 = 0x3A7974696361704FuLL; cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -16, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1065353216, 0, 4, 1, 2, 0); v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Width:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); v61 = SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -2, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 2, 1, 0, 0); v68 = &v69; v70 = 7; v71 = 15; v69 = 0x3A746867696548uLL; cocos2d::CCPoint::CCPoint(*(float *)&v61, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -6, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 2, 4, 0, 1112014848, 1137180672, 0, 2, 1, 0, 0); v68 = &v69; v69 = 0; v70 = 6; v71 = 15; strcpy((char *)&v69, "Scale:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -10, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 1045220557, 0x40000000, 0, 2, 1, 2, 0); v68 = &v69; v70 = 8; v71 = 15; v69 = 0x3A7974696361704FuLL; cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -14, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1065353216, 0, 2, 1, 2, 0); v68 = &v69; *((_QWORD *)&v69 + 1) = 58; v70 = 9; v71 = 15; *(_QWORD *)&v69 = 0x656E6F7A64616544LL; cocos2d::CCPoint::CCPoint(1.6631257e22, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); v62 = SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -22, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1092616192, 0, 2, 1, 1, 0); v68 = &v69; v70 = 7; v71 = 15; v69 = 0x3A737569646152uLL; cocos2d::CCPoint::CCPoint(*(float *)&v62, 0.0); cocos2d::CCPoint::operator+(&v73, &v72); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, -20, (unsigned int)&v69, (unsigned int)&v72, 1058642330, 0, 1, 4, 0, 0, 1112014848, 0, 2, 1, 1, 0); v72 = (ButtonSprite *)&v69; v69 = 0; v70 = 5; v71 = 15; strcpy((char *)&v69, "ModeB"); cocos2d::CCPoint::CCPoint(0.0, (float)(v66 * 0.5) - 160.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -18, (unsigned int)&v69, v63, 1, 0, 2, 1065353216); v72 = (ButtonSprite *)&v69; v69 = 0; v70 = 4; v71 = 15; strcpy((char *)&v69, "Snap"); cocos2d::CCPoint::CCPoint(0.0, (float)(v66 * 0.5) - 110.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -25, (unsigned int)&v69, v64, 1, 0, 2, 1065353216); v72 = (ButtonSprite *)&v69; v69 = 0; v70 = 5; v71 = 15; LODWORD(v69) = *(_DWORD *)"Split"; WORD2(v69) = (unsigned __int8)aSplit[4]; cocos2d::CCPoint::CCPoint(0.0, (float)(v66 * 0.5) + 155.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, -28, (unsigned int)&v69, v65, 1, 0, 2, 1065353216); if ( a1->m_dual ) UIOptionsLayer::toggleUIGroup(a1, 1); } a1->updateDefaultTriggerValues(a1); a1->m_disableTextDelegate = 0; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source