// // SFXFolderPickerPopup::init from 0x1400c3eb0 to 0x1400c4dda (3882 bytes) // // 2 xrefs: // > SFXFolderPickerPopup::create @ 0x1400c3e64 // > @ 0x140913cd0 // // This function is hookable on this platform (idp: pc, 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 11:26:20 +0000 // // Hidden C++ exception states: #wind=6 bool __fastcall SFXFolderPickerPopup::init(__int64 a1, int a2, __int64 a3, __int64 a4, __int64 a5, int a6) { bool result; // al __int64 v11; // rdx __int64 v12; // rcx __int64 v13; // rbx cocos2d::CCDictionary *v14; // rcx struct cocos2d::CCObject *v15; // rax cocos2d::CCDictionary *v16; // rcx struct cocos2d::CCObject *v17; // rax __int64 v18; // rdi cocos2d::CCDictionary *v19; // rcx struct cocos2d::CCObject *v20; // rax cocos2d::CCDictionary *v21; // rcx struct cocos2d::CCObject *v22; // rax __int64 v23; // rdx __int64 v24; // rdx __int64 v25; // rcx __int64 v26; // rax __int64 v27; // rax __int64 v28; // rax __int64 v29; // rdi __int64 v30; // rbx __int64 v31; // rax int v32; // eax const char *v33; // rcx struct cocos2d::CCLabelBMFont *v34; // rdi __int64 v35; // rbx __int64 v36; // rax __int64 v37; // rax struct cocos2d::CCSprite *v38; // rax cocos2d::CCObject *v39; // rdi __int64 v40; // rbx __int64 v41; // rax float v42; // xmm8_4 float v43; // xmm6_4 int v44; // eax float v45; // xmm6_4 struct cocos2d::CCLabelBMFont *v46; // rdi __int64 v47; // rbx __int64 v48; // rax __int64 v49; // rbx __int64 v50; // rax __int64 v51; // rax _QWORD *v52; // rsi __int64 v53; // rdx void (__fastcall *v54)(_QWORD *, __int64); // r8 __int64 v55; // rbx __int64 v56; // rax __int64 v57; // rbx __int64 v58; // rax __int64 v59; // rdx __int64 v60; // rcx char *v61; // rdi __int64 v62; // rbx __int64 v63; // rax __int64 v64; // rcx __int64 v65; // rcx __int64 v66; // rcx __int64 v67; // rcx _QWORD *v68; // rax struct cocos2d::CCLabelBMFont *v69; // rax __int64 v70; // rdx __int64 v71; // rdi __int64 v72; // rbx __int64 v73; // rax float v74; // xmm8_4 float v75; // xmm7_4 __int64 v76; // rax _QWORD *v77; // rdi __int64 v78; // rdx void (__fastcall *v79)(_QWORD *, __int64); // r8 __int64 v80; // rbx __int64 v81; // rax const struct cocos2d::CCSize *v82; // rax cocos2d::CCObject *v83; // rdi __int64 v84; // rbx __int64 v85; // rax __int64 v86; // rbx __int64 v87; // rax __int64 v88; // rdx cocos2d::CCObject *v89; // rbx cocos2d::CCObject *v90; // rax __int64 v91; // rdi __int64 v92; // rbx __int64 v93; // rax struct cocos2d::CCSprite *v94; // rax cocos2d::CCObject *v95; // rdi __int64 v96; // rbx __int64 v97; // rax __int64 v98; // rcx struct cocos2d::CCLabelBMFont *v99; // rdi __int64 v100; // rdx void (__fastcall *v101)(char *, __int64); // r8 __int64 v102; // rbx __int64 v103; // rax __int64 v104; // rbx __int64 v105; // rax __int64 v106; // rax cocos2d::CCObject *v107; // rbx cocos2d::CCObject *v108; // rdi __int64 v109; // rbx float v110; // xmm8_4 __int64 v111; // rax int v112; // edi cocos2d::CCObject *v113; // rbx const char *v114; // rdx cocos2d::CCObject *v115; // rax __int64 v116; // rdi __int64 v117; // rbx __int64 v118; // rax void *v119; // [rsp+58h] [rbp-79h] BYREF float v120; // [rsp+60h] [rbp-71h] BYREF float v121; // [rsp+64h] [rbp-6Dh] _QWORD v122[2]; // [rsp+68h] [rbp-69h] BYREF float v123[2]; // [rsp+78h] [rbp-59h] BYREF float v124[2]; // [rsp+80h] [rbp-51h] BYREF __int128 v125; // [rsp+88h] [rbp-49h] BYREF __int64 v126; // [rsp+98h] [rbp-39h] __int64 v127; // [rsp+A0h] [rbp-31h] LODWORD(v122[0]) = -1778384896; result = cocos2d::CCLayerColor::initWithColor((cocos2d::CCLayerColor *)a1, (const struct cocos2d::_ccColor4B *)v122); if ( !result ) return result; *(_DWORD *)(a1 + 672) = a2; *(_QWORD *)(a1 + 720) = a5; if ( a2 == 1 ) { v12 = a1 + 680; } else { if ( a2 != 2 ) goto LABEL_7; v12 = a1 + 696; } sub_1400C6B10(v12, a4); LABEL_7: if ( *(_DWORD *)(a1 + 672) != 2 ) { if ( a6 > 0 ) { v13 = qword_14090C070; if ( !qword_14090C070 ) { v119 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v119); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v13 = qword_14090C070; } v14 = *(cocos2d::CCDictionary **)(v13 + 920); if ( !v14 ) goto LABEL_20; v15 = cocos2d::CCDictionary::objectForKey(v14, a6); if ( v15 ) { if ( *((_BYTE *)v15 + 72) || (v11 = *((int *)v15 + 15), (v16 = *(cocos2d::CCDictionary **)(v13 + 920)) != nullptr) && (int)v11 > 0 && (v17 = cocos2d::CCDictionary::objectForKey(v16, v11)) != nullptr && *((_BYTE *)v17 + 72) ) { *(_DWORD *)(a1 + 712) = a6; goto LABEL_31; } } } v13 = qword_14090C070; LABEL_20: v18 = dword_140909790; if ( !v13 ) { v119 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v119); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v13 = qword_14090C070; } v19 = *(cocos2d::CCDictionary **)(v13 + 920); if ( v19 ) { if ( (int)v18 > 0 ) { v20 = cocos2d::CCDictionary::objectForKey(v19, v18); if ( v20 ) { if ( *((_BYTE *)v20 + 72) || (v11 = *((int *)v20 + 15), (v21 = *(cocos2d::CCDictionary **)(v13 + 920)) != nullptr) && (int)v11 > 0 && (v22 = cocos2d::CCDictionary::objectForKey(v21, v11)) != nullptr && *((_BYTE *)v22 + 72) ) { *(_DWORD *)(a1 + 712) = dword_140909790; } } } } } LABEL_31: LOBYTE(v11) = -106; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 + 408) + 40LL))(a1 + 408, v11); FLAlertLayer::incrementForcePrio((struct cocos2d::CCObject *)a1); *(_BYTE *)(a1 + 596) = 1; LOBYTE(v23) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 920LL))(a1, v23); LOBYTE(v24) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 992LL))(a1, v24); v26 = cocos2d::CCDirector::sharedDirector(v25); cocos2d::CCDirector::getWinSize(v26, v124); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v120, v124[0] * 0.5, v124[1] * 0.5); v27 = cocos2d::CCLayer::create(); *(_QWORD *)(a1 + 584) = v27; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v27); v28 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v122, 0.0, 0.0, 80.0, 80.0); v29 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v28); v30 = *(_QWORD *)v29; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v119, 320.0, 250.0); (*(void (__fastcall **)(__int64, __int64))(v30 + 312))(v29, v31); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v29, 4294967294LL); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v29 + 184LL))(v29, &v120); v32 = *(_DWORD *)(a1 + 672); if ( v32 ) { v33 = "Share with Level"; if ( v32 == 1 ) v33 = "Move to Folder"; } else { v33 = "Add to Folder"; } v34 = cocos2d::CCLabelBMFont::create(v33, "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v34 + 160LL))(v34); v35 = *(_QWORD *)v34; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120, (float)(v121 + 125.0) - 18.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v35 + 184))(v34, v36); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v34); v37 = cocos2d::CCMenu::create(); *(_QWORD *)(a1 + 552) = v37; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v37, 10); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 184LL))(*(_QWORD *)(a1 + 552), &unk_14090A128); *(_DWORD *)(a1 + 640) = -1; v38 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png"); LODWORD(v35) = (_DWORD)v38; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v38 + 160LL))(v38); v39 = CCMenuItemSpriteExtra::create(v35, 0, a1, (__int64)SFXFolderPickerPopup::onClose); *((_DWORD *)v39 + 93) = 1070386381; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v39); v40 = *(_QWORD *)v39; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, (float)(v120 - 160.0) + 10.0, (float)(v121 + 125.0) - 10.0); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v40 + 184))(v39, v41); v42 = v121; v43 = (float)(v121 + 125.0) - 36.0; v44 = *(_DWORD *)(a1 + 672); if ( v44 ) { if ( v44 == 2 ) { v69 = cocos2d::CCLabelBMFont::create(" ", "chatFont.fnt"); *(_QWORD *)(a1 + 760) = v69; (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v69 + 160LL))(v69); LOBYTE(v70) = -56; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 760) + 368LL) + 40LL))( *(_QWORD *)(a1 + 760) + 368LL, v70); v71 = **(_QWORD **)(a1 + 760); v72 = *(_QWORD *)(a1 + 760); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120, (float)(v121 + 125.0) - 34.0); (*(void (__fastcall **)(__int64, __int64))(v71 + 184))(v72, v73); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 760)); v42 = v121; v43 = (float)(v121 + 125.0) - 46.0; } } else { v45 = (float)(v121 + 125.0) - 48.0; v46 = cocos2d::CCLabelBMFont::create("Name:", "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v46 + 160LL))(v46); v47 = *(_QWORD *)v46; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v47 + 288))(v46, v48); v49 = *(_QWORD *)v46; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 - 96.0, v45); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v49 + 184))(v46, v50); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v46); v51 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v122, 0.0, 0.0, 40.0, 40.0); v52 = (_QWORD *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v51); v53 = v52[40]; v54 = *(void (__fastcall **)(_QWORD *, __int64))(v53 + 40); LOBYTE(v53) = 100; v54(v52 + 40, v53); v55 = *v52; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v119, 200.0, 28.0); (*(void (__fastcall **)(_QWORD *, __int64))(v55 + 312))(v52, v56); v57 = *v52; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 + 14.0, v45); (*(void (__fastcall **)(_QWORD *, __int64))(v57 + 184))(v52, v58); (*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v52, 0xFFFFFFFFLL); v61 = CCTextInputNode::create(v60, v59, (__int64)"Name"); *(_QWORD *)(a1 + 728) = v61; v62 = *(_QWORD *)v61; v63 = (*(__int64 (__fastcall **)(_QWORD *))(*v52 + 200LL))(v52); (*(void (__fastcall **)(char *, __int64))(v62 + 184))(v61, v63); v64 = *(_QWORD *)(a1 + 728); *(_DWORD *)(v64 + 564) = 1057803469; CCTextInputNode::refreshLabel(v64); v65 = *(_QWORD *)(a1 + 728); *(_DWORD *)(v65 + 560) = 1127481344; CCTextInputNode::refreshLabel(v65); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 728) + 592LL) + 336LL))( *(_QWORD *)(*(_QWORD *)(a1 + 728) + 592LL), 0); *(_DWORD *)(*(_QWORD *)(a1 + 728) + 608LL) = 30; v125 = 0; v126 = 0; v127 = 0; *(_QWORD *)&v125 = sub_14003D460(0x70u); v126 = 97; v127 = 111; strcpy( (char *)v125, " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,-!?:;)(/\\\"'`*=+-_%[]<>|@&^#{}%$~"); CCTextInputNode::setAllowedChars(*(_QWORD *)(a1 + 728), (void **)&v125); LOWORD(v122[0]) = -21896; v66 = *(_QWORD *)(a1 + 728); *(_WORD *)(v66 + 572) = -21896; *(_BYTE *)(v66 + 574) = -16; CCTextInputNode::refreshLabel(v66); v67 = *(_QWORD *)(a1 + 728); *(_DWORD *)(v67 + 568) = 1053609165; CCTextInputNode::refreshLabel(v67); *(_QWORD *)(*(_QWORD *)(a1 + 728) + 600LL) = a1 + 544; *(_BYTE *)(*(_QWORD *)(a1 + 728) + 424LL) = 0; v68 = (_QWORD *)sub_14003F4F0((__int64)&v125, a3); CCTextInputNode::setString(*(_QWORD **)(a1 + 728), v68); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 728), 20); v43 = v45 - 22.0; v42 = v121; } v74 = (float)(v42 - 125.0) + 26.0; v75 = v43 - (float)(v74 + 22.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, v120, (float)((float)(v74 + 22.0) + v43) * 0.5); v76 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v125, 0.0, 0.0, 40.0, 40.0); v77 = (_QWORD *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v76); v78 = v77[40]; v79 = *(void (__fastcall **)(_QWORD *, __int64))(v78 + 40); LOBYTE(v78) = 80; v79(v77 + 40, v78); LOWORD(v122[0]) = 0; BYTE2(v122[0]) = 0; (*(void (__fastcall **)(_QWORD *, _QWORD *))v77[40])(v77 + 40, v122); v80 = *v77; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v119, 290.0, v75); (*(void (__fastcall **)(_QWORD *, __int64))(v80 + 312))(v77, v81); (*(void (__fastcall **)(_QWORD *, float *))(*v77 + 184LL))(v77, v123); (*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v77, 0xFFFFFFFFLL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v119, 290.0, v75); v83 = ScrollableContentLayer::create(v82); *(_QWORD *)(a1 + 736) = v83; v84 = *(_QWORD *)v83; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v123[0] - 145.0, v123[1] - (float)(v75 * 0.5)); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v84 + 184))(v83, v85); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, 2.0, 0.0); v86 = *(_QWORD *)(a1 + 736); cocos2d::CCPoint::operator=(v86 + 500, v87); ScrollableContentLayer::updateScrollThumb(v86, v88); *(_BYTE *)(*(_QWORD *)(a1 + 736) + 524LL) = 1; ScrollableContentLayer::setSectionHeight(*(_QWORD *)(a1 + 736), v75); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 736), 1); if ( *(_DWORD *)(a1 + 672) == 2 ) { v119 = operator new(0x2C8u); v89 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v119); if ( v89 ) { if ( ButtonSprite::init_1( (__int64)v89, (__int64)"Save", 50, 0, 1053609165, 1, &qword_140704F78, (__int64)"GJ_button_01.png", 1102053376) ) { cocos2d::CCObject::autorelease(v89); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v89 + 8LL))(v89, 1); LODWORD(v89) = 0; } } v90 = CCMenuItemSpriteExtra::create((int)v89, 0, a1, (__int64)SFXFolderPickerPopup::onSave); *(_QWORD *)(a1 + 752) = v90; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v90); v91 = **(_QWORD **)(a1 + 752); v92 = *(_QWORD *)(a1 + 752); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120, v74); (*(void (__fastcall **)(__int64, __int64))(v91 + 184))(v92, v93); v94 = cocos2d::CCSprite::createWithSpriteFrameName("threadBtn_selectAll_001.png"); LODWORD(v92) = (_DWORD)v94; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v94 + 160LL))(v94); v95 = CCMenuItemSpriteExtra::create(v92, 0, a1, (__int64)SFXFolderPickerPopup::onSelectAll); *((_DWORD *)v95 + 93) = 1067030938; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v95); v96 = *(_QWORD *)v95; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, (float)(v120 - 160.0) + 26.0, v74); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v96 + 184))(v95, v97); v98 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v122[0] = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v122[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v98 = qword_14090BFD0; } if ( (unsigned __int8)GameManager::getGameVariable(v98, "0233") ) { v99 = cocos2d::CCLabelBMFont::create("Names hidden (Editor Options)", "chatFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v99 + 160LL))(v99); v100 = *((_QWORD *)v99 + 46); v101 = *(void (__fastcall **)(char *, __int64))(v100 + 40); LOBYTE(v100) = -76; v101((char *)v99 + 368, v100); v102 = *(_QWORD *)v99; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v102 + 288))(v99, v103); v104 = *(_QWORD *)v99; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, (float)(v120 + 160.0) - 14.0, v74); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v104 + 184))(v99, v105); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v99); } } else { v119 = operator new(0x2C8u); v106 = ButtonSprite::ButtonSprite((__int64)v119); v107 = (cocos2d::CCObject *)v106; if ( v106 ) { if ( ButtonSprite::init_1( v106, (__int64)"New Folder", 68, 0, 1053609165, 1, &qword_140704F78, (__int64)"GJ_button_04.png", 1102053376) ) { cocos2d::CCObject::autorelease(v107); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v107 + 8LL))(v107, 1); LODWORD(v107) = 0; } } v108 = CCMenuItemSpriteExtra::create((int)v107, 0, a1, (__int64)SFXFolderPickerPopup::onNewFolder); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v108); v109 = *(_QWORD *)v108; v110 = v74 - 2.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 - 60.0, v110); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v109 + 184))(v108, v111); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v108 + 160LL))(v108); *((_DWORD *)v108 + 101) = 1067030938; v112 = *(_DWORD *)(a1 + 672); v119 = operator new(0x2C8u); v113 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v119); if ( v113 ) { v114 = "Move"; if ( !v112 ) v114 = "Add"; if ( ButtonSprite::init_1( (__int64)v113, (__int64)v114, 50, 0, 1053609165, 1, &qword_140704F78, (__int64)"GJ_button_04.png", 1102053376) ) { cocos2d::CCObject::autorelease(v113); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v113 + 8LL))(v113, 1); LODWORD(v113) = 0; } } v115 = CCMenuItemSpriteExtra::create((int)v113, 0, a1, (__int64)SFXFolderPickerPopup::onConfirm); *(_QWORD *)(a1 + 744) = v115; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v115); v116 = **(_QWORD **)(a1 + 744); v117 = *(_QWORD *)(a1 + 744); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 + 60.0, v110); (*(void (__fastcall **)(__int64, __int64))(v116 + 184))(v117, v118); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 744) + 160LL))(*(_QWORD *)(a1 + 744)); *(_DWORD *)(*(_QWORD *)(a1 + 744) + 404LL) = 1067030938; } SFXFolderPickerPopup::rebuildList(a1); SFXFolderPickerPopup::updateActionBtn(a1); SFXFolderPickerPopup::updateShareHint(a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source