// // IDNameBrowserPopup::init from 0xce2578 to 0xce37a0 (4648 bytes) // // 2 xrefs: // > IDNameBrowserPopup::create @ 0xce39a0 // > @ 0xd8760 // // 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 13:06:37 +0000 // __int64 __fastcall IDNameBrowserPopup::init(__int64 a1, int a2, int a3, __int64 a4) { unsigned __int8 v7; // w0 unsigned int v8; // w22 GameManager *v10; // x0 unsigned int v11; // w0 cocos2d::CCDirector *v12; // x0 cocos2d::CCDirector *v13; // x0 cocos2d::CCLayer *v14; // x0 __int64 v15; // x0 __int64 v16; // x24 void (__fastcall *v17)(__int64, __int64 *); // x26 const char *v18; // x1 size_t v19; // x0 const char *v20; // x2 cocos2d::CCLabelBMFont *v21; // x0 __int64 v22; // x23 void (__fastcall *v23)(__int64, __int64 *); // x24 cocos2d::CCMenu *v24; // x0 __int64 v25; // x0 __int64 v26; // x3 __int64 v27; // x23 __int64 v28; // x23 void (__fastcall *v29)(__int64, __int64 *); // x24 float v30; // s12 const char *v31; // x2 __int64 v32; // x26 void (__fastcall *v33)(__int64, __int64 *); // x23 void (__fastcall *v34)(__int64, __int64 *); // x23 __int64 v35; // x26 void (__fastcall *v36)(__int64, __int64 *); // x28 void (__fastcall *v37)(__int64, __int64 *); // x28 const char *v38; // x4 __int64 v39; // x24 void (__fastcall *v40)(__int64, __int64 *); // x26 __int64 v41; // x26 const char *v42; // x6 __int64 v43; // x0 __int64 v44; // x26 void (__fastcall *v45)(__int64, __int64 *); // x28 float v46; // s12 float v47; // s9 float v48; // s3 float v49; // s12 __int64 v50; // x26 void (__fastcall *v51)(__int64, __int64 *); // x2 void (__fastcall *v52)(__int64, __int64 *); // x28 __int64 v53; // x0 float v54; // s0 __int64 v55; // x26 void (__fastcall *v56)(__int64, __int64 *); // x28 ScrollableContentLayer *v57; // x24 const char *v58; // x2 __int64 v59; // x0 __int64 v60; // x0 void (__fastcall *v61)(__int64, __int64 *); // x3 __int64 v62; // x26 void (__fastcall *v63)(__int64, __int64 *); // x28 __int64 v64; // x24 void (__fastcall *v65)(__int64, __int64 *); // x25 void (__fastcall *v66)(__int64, __int64 *); // x25 const char *v67; // x4 __int64 v68; // x0 __int64 v69; // x25 __int64 v70; // x0 __int64 (__fastcall *v71)(__int64); // x1 void (__fastcall *v72)(__int64, __int64); // x24 __int64 v73; // x0 __int64 v74; // x25 const char *v75; // x1 __int64 v76; // x24 __int64 v77; // x26 cocos2d::CCNode *v78; // x28 const char *v79; // x1 cocos2d::CCSprite *v80; // x26 __int64 v81; // x26 cocos2d::CCNode *v82; // x27 __int64 v83; // x28 const char *v84; // x1 const char *v85; // x1 __int64 v86; // x24 __int64 v87; // x24 void (__fastcall *v88)(__int64, __int64 *); // x25 __int64 v89; // x23 void (__fastcall *v90)(__int64, __int64 *); // x24 void (__fastcall *v91)(__int64, __int64 *); // x24 const char *v92; // x4 __int64 v93; // x0 __int64 v94; // x24 __int64 v95; // x0 __int64 (__fastcall *v96)(__int64); // x1 void (__fastcall *v97)(__int64, __int64); // x23 __int64 v98; // x0 __int64 v99; // x24 const char *v100; // x6 __int64 v101; // x0 __int64 v102; // x23 void (__fastcall *v103)(__int64, __int64 *); // x24 const char *v104; // x2 __int64 v105; // x0 __int64 v106; // x23 void (__fastcall *v107)(__int64, __int64 *); // x24 __int64 v108; // x0 void (__fastcall *v109)(__int64, __int64 *); // x2 __int64 v110; // x23 void (__fastcall *v111)(__int64, __int64 *); // x24 __int64 v112; // [xsp+A0h] [xbp+A0h] void (__fastcall *v113)(__int64, __int64 *); // [xsp+A8h] [xbp+A8h] void (__fastcall *v114)(__int64, __int64 *); // [xsp+A8h] [xbp+A8h] char *v116; // [xsp+B8h] [xbp+B8h] __int64 v117; // [xsp+B8h] [xbp+B8h] int v118; // [xsp+C0h] [xbp+C0h] int v119; // [xsp+C8h] [xbp+C8h] __int64 v120; // [xsp+D0h] [xbp+D0h] BYREF float v121; // [xsp+D8h] [xbp+D8h] BYREF float v122; // [xsp+DCh] [xbp+DCh] float v123[2]; // [xsp+E0h] [xbp+E0h] BYREF _BYTE v124[8]; // [xsp+E8h] [xbp+E8h] BYREF __int64 v125; // [xsp+F0h] [xbp+F0h] BYREF __int64 v126[2]; // [xsp+F8h] [xbp+F8h] BYREF __int64 v127[2]; // [xsp+108h] [xbp+108h] BYREF cocos2d::CCLabelBMFont *v128; // [xsp+118h] [xbp+118h] __int64 v129[2]; // [xsp+120h] [xbp+120h] BYREF void *v130; // [xsp+130h] [xbp+130h] __int64 v131[2]; // [xsp+138h] [xbp+138h] BYREF void *v132; // [xsp+148h] [xbp+148h] __int64 v133[2]; // [xsp+150h] [xbp+150h] BYREF void *v134; // [xsp+160h] [xbp+160h] LODWORD(v126[0]) = -1778384896; v7 = cocos2d::CCLayerColor::initWithColor(a1, v126); v8 = v7; if ( v7 ) { *(_DWORD *)(a1 + 672) = a2; *(_DWORD *)(a1 + 676) = a3; *(_QWORD *)(a1 + 680) = a4; *(_DWORD *)(a1 + 752) = -1; v10 = (GameManager *)GameManager::sharedState((GameManager *)0xFFFFFFFFLL); if ( v10 ) { v11 = *(_DWORD *)(GameManager::sharedState(v10) + 1148); if ( v11 > 2 ) v11 = 0; *(_DWORD *)(a1 + 736) = v11; } (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, 4294967190LL); FLAlertLayer::incrementForcePrio((cocos2d::CCObject *)a1); *(_BYTE *)(a1 + 596) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1000LL))(a1, 1); v12 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1072LL))(a1, 1); v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12); cocos2d::CCDirector::getWinSize(&v120, v13); v14 = (cocos2d::CCLayer *)cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v121, *(float *)&v120 * 0.5, *((float *)&v120 + 1) * 0.5); v15 = cocos2d::CCLayer::create(v14); *(_QWORD *)(a1 + 584) = v15; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v15); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v126, 0.0, 0.0, 80.0, 80.0); v16 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v126); v17 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v16 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v126, 360.0, 280.0); v17(v16, v126); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v16, 4294967294LL); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v16 + 184LL))(v16, &v121); switch ( a3 ) { case 2: v18 = "Item ID Names"; break; case 3: v18 = "Block ID Names"; break; case 4: v18 = "Timer ID Names"; break; case 5: v18 = "Area Effect ID Names"; break; case 6: v18 = "Control ID Names"; break; case 7: v18 = "Gradient ID Names"; break; case 8: v18 = "Enter Channel ID Names"; break; default: v18 = "Group ID Names"; break; } v116 = (char *)v18; v127[0] = 0; v127[1] = 0; v128 = nullptr; v19 = strlen(v18); std::string::__init(v127, v116, v19); v21 = (cocos2d::CCLabelBMFont *)((char *)v127 + 1); if ( (v127[0] & 1) != 0 ) v21 = v128; v22 = cocos2d::CCLabelBMFont::create(v21, "goldFont.fnt", v20); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v22 + 160LL))(v22, 0.7); v23 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v22 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121, (float)(v122 + 140.0) - 18.0); v23(v22, v126); v24 = (cocos2d::CCMenu *)(*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v22); v25 = cocos2d::CCMenu::create(v24); v26 = *(_QWORD *)(a1 + 584); *(_QWORD *)(a1 + 552) = v25; (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v26 + 464LL))(v26, v25, 10); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 184LL))(*(_QWORD *)(a1 + 552), &unk_155F418); *(_DWORD *)(a1 + 640) = -1; v27 = cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_closeBtn_001.png", (const char *)0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v27 + 160LL))(v27, 0.8); v28 = CCMenuItemSpriteExtra::create(v27, 0, a1, (__int64)IDNameBrowserPopup::onClose, 0); CCMenuItemSpriteExtra::setSizeMult(v28, 1.6); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v28); v29 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v28 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, (float)(v121 - 180.0) + 10.0, (float)(v122 + 140.0) - 10.0); v29(v28, v126); v30 = (float)(v122 + 140.0) - 50.0; v32 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Search:", "goldFont.fnt", v31); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v32 + 160LL))(v32, 0.5); v33 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v32 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, 1.0, 0.5); v33(v32, v126); v34 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v32 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 - 90.0, v30); v34(v32, v126); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v32); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v126, 0.0, 0.0, 40.0, 40.0); v35 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v126); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v35 + 912LL))(v35, 100); v36 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v35 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v126, 180.0, 28.0); v36(v35, v126); v37 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v35 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 + 10.0, v30); v37(v35, v126); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v35, 0xFFFFFFFFLL); v39 = CCTextInputNode::create( (CCTextInputNode *)"Filter by name or ID", 170.0, 40.0, "Thonburi", (const char *)&off_18, "bigFont.fnt", v38); *(_QWORD *)(a1 + 688) = v39; v40 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v39 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 + 10.0, v30); v40(v39, v126); CCTextInputNode::setMaxLabelScale(*(CCTextInputNode **)(a1 + 688), 0.6); CCTextInputNode::setMaxLabelWidth(*(CCTextInputNode **)(a1 + 688), 160.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 688) + 576LL) + 344LL))( *(_QWORD *)(*(_QWORD *)(a1 + 688) + 576LL), 0); *(_DWORD *)(*(_QWORD *)(a1 + 688) + 592LL) = 24; v129[0] = 0; v41 = *(_QWORD *)(a1 + 688); v129[1] = 0; v130 = nullptr; std::string::__init(v129, "0123456789 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_.", 0x41u); CCTextInputNode::setAllowedChars(v41, (__int64)v129); if ( (v129[0] & 1) != 0 ) operator delete(v130); LOWORD(v118) = -21896; BYTE2(v118) = -16; CCTextInputNode::setLabelPlaceholderColor(*(_QWORD *)(a1 + 688), v118); CCTextInputNode::setLabelPlaceholderScale(*(CCTextInputNode **)(a1 + 688), 0.4); v117 = a1 + 544; *(_QWORD *)(*(_QWORD *)(a1 + 688) + 584LL) = a1 + 544; *(_BYTE *)(*(_QWORD *)(a1 + 688) + 424LL) = 0; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 688) + 72LL))(*(_QWORD *)(a1 + 688), 900003); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 688), 20); v43 = ButtonSprite::create( (ButtonSprite *)"Sort: Use", (const char *)&qword_20 + 6, 0, 1, 0.7, "goldFont.fnt", "GJ_button_04.png", v42, 26.0); *(_QWORD *)(a1 + 744) = v43; cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(v43 + 624), 44.0, 0.5, 0.0); v44 = CCMenuItemSpriteExtra::create(*(_QWORD *)(a1 + 744), 0, a1, (__int64)IDNameBrowserPopup::onToggleSort, 0); CCMenuItemSpriteExtra::setSizeMult(v44, 1.1); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v44); v45 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v44 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 + 138.0, v30); v45(v44, v126); IDNameBrowserPopup::updateSortButtonLabel(a1); v46 = v30 - 22.0; v47 = (float)(v122 - 140.0) + 30.0; v48 = v46 + (float)(v47 + 22.0); v49 = v46 - (float)(v47 + 22.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, v121, v48 * 0.5); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v126, 0.0, 0.0, 40.0, 40.0); v50 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v126); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v50 + 912LL))(v50, 80); v51 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v50 + 960LL); LOWORD(v126[0]) = 0; BYTE2(v126[0]) = 0; v51(v50, v126); v52 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v50 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v126, 330.0, v49); v52(v50, v126); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v50 + 184LL))(v50, v123); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v50, 0xFFFFFFFFLL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v126, 330.0, v49); v53 = ScrollableContentLayer::create((const cocos2d::CCSize *)v126); v54 = v123[1]; v55 = v53; *(_QWORD *)(a1 + 696) = v53; v56 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v53 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v123[0] - 165.0, v54 - (float)(v49 * 0.5)); v56(v55, v126); v57 = *(ScrollableContentLayer **)(a1 + 696); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, 2.0, 0.0); ScrollableContentLayer::setThumbOffset(v57, (__int64)v126); ScrollableContentLayer::setForwardedTouchesOnly(*(_QWORD *)(a1 + 696), 1); ScrollableContentLayer::setVirtualRows(*(_QWORD *)(a1 + 696), a1 + 664, 48.0, 4.0, 4.0); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 696), 1); v59 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11B8890, "chatFont.fnt", v58); *(_QWORD *)(a1 + 704) = v59; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v59 + 160LL))(v59, 0.55); v60 = *(_QWORD *)(a1 + 704); v61 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v60 + 1072LL); LOWORD(v126[0]) = -19276; BYTE2(v126[0]) = -76; v61(v60, v126); v62 = *(_QWORD *)(a1 + 704); v63 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v62 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, 0.5, 0.5); v63(v62, v126); (*(void (__fastcall **)(_QWORD, float *))(**(_QWORD **)(a1 + 704) + 184LL))(*(_QWORD *)(a1 + 704), v123); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 704), 2); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v126, 0.0, 0.0, 40.0, 40.0); v64 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v126); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v64 + 912LL))(v64, 100); v65 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v64 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v126, 40.0, 28.0); v65(v64, v126); v66 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v64 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 - 120.0, v47); v66(v64, v126); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v64, 0xFFFFFFFFLL); v68 = CCTextInputNode::create( (CCTextInputNode *)"ID", 38.0, 40.0, "Thonburi", (const char *)&off_18, "bigFont.fnt", v67); *(_QWORD *)(a1 + 712) = v68; v69 = v68; v70 = v64; v71 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v64 + 192LL); v72 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v69 + 184LL); v73 = v71(v70); v72(v69, v73); CCTextInputNode::setMaxLabelScale(*(CCTextInputNode **)(a1 + 712), 0.55); CCTextInputNode::setMaxLabelWidth(*(CCTextInputNode **)(a1 + 712), 34.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 712) + 576LL) + 344LL))( *(_QWORD *)(*(_QWORD *)(a1 + 712) + 576LL), 0); *(_DWORD *)(*(_QWORD *)(a1 + 712) + 592LL) = 6; v131[0] = 0; v74 = *(_QWORD *)(a1 + 712); v131[1] = 0; v132 = nullptr; std::string::__init(v131, "0123456789", 0xAu); CCTextInputNode::setAllowedChars(v74, (__int64)v131); if ( (v131[0] & 1) != 0 ) operator delete(v132); LOWORD(v119) = -21896; BYTE2(v119) = -16; CCTextInputNode::setLabelPlaceholderColor(*(_QWORD *)(a1 + 712), v119); CCTextInputNode::setLabelPlaceholderScale(*(CCTextInputNode **)(a1 + 712), 0.4); *(_QWORD *)(*(_QWORD *)(a1 + 712) + 584LL) = v117; *(_BYTE *)(*(_QWORD *)(a1 + 712) + 424LL) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 712) + 72LL))(*(_QWORD *)(a1 + 712), 900001); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 712), 20); v76 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_03_001.png", v75); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v76 + 160LL))(v76, 0.5); v77 = CCMenuItemSpriteExtra::create(v76, 0, a1, (__int64)IDNameBrowserPopup::onFormArrowLeft, 0); CCMenuItemSpriteExtra::setSizeMult(v77, 1.1); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v77); v78 = *(cocos2d::CCNode **)(a1 + 552); v113 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v77 + 184LL); v112 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 192LL))(*(_QWORD *)(a1 + 712)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v124, -38.0, 0.0); cocos2d::CCPoint::operator+(&v125, v112); cocos2d::CCNode::convertToNodeSpace(v126, v78, (const cocos2d::CCPoint *)&v125); v113(v77, v126); v80 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_arrow_03_001.png", v79); cocos2d::CCSprite::setFlipX(v80, 1); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v80 + 160LL))(v80, 0.5); v81 = CCMenuItemSpriteExtra::create((__int64)v80, 0, a1, (__int64)IDNameBrowserPopup::onFormArrowRight, 0); CCMenuItemSpriteExtra::setSizeMult(v81, 1.1); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v81); v82 = *(cocos2d::CCNode **)(a1 + 552); v114 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v81 + 184LL); v83 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 192LL))(*(_QWORD *)(a1 + 712)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v124, 38.0, 0.0); cocos2d::CCPoint::operator+(&v125, v83); cocos2d::CCNode::convertToNodeSpace(v126, v82, (const cocos2d::CCPoint *)&v125); v114(v81, v126); v86 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plus2Btn_001.png", v84); if ( !v86 ) v86 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plusBtn_001.png", v85); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v86 + 160LL))(v86, 0.9); v87 = CCMenuItemSpriteExtra::create(v86, 0, a1, (__int64)IDNameBrowserPopup::onFormNextFree, 0); CCMenuItemSpriteExtra::setSizeMult(v87, 1.1); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v87); v88 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v87 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 - 55.0, v47); v88(v87, v126); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v126, 0.0, 0.0, 40.0, 40.0); v89 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v126); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v89 + 912LL))(v89, 100); v90 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v89 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v126, 120.0, 28.0); v90(v89, v126); v91 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v89 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 + 26.0, v47); v91(v89, v126); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v89, 0xFFFFFFFFLL); v93 = CCTextInputNode::create( (CCTextInputNode *)"Name", 118.0, 40.0, "Thonburi", (const char *)&off_18, "bigFont.fnt", v92); *(_QWORD *)(a1 + 720) = v93; v94 = v93; v95 = v89; v96 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v89 + 192LL); v97 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v94 + 184LL); v98 = v96(v95); v97(v94, v98); CCTextInputNode::setMaxLabelScale(*(CCTextInputNode **)(a1 + 720), 0.55); CCTextInputNode::setMaxLabelWidth(*(CCTextInputNode **)(a1 + 720), 114.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 720) + 576LL) + 344LL))( *(_QWORD *)(*(_QWORD *)(a1 + 720) + 576LL), 0); *(_DWORD *)(*(_QWORD *)(a1 + 720) + 592LL) = 24; v133[0] = 0; v99 = *(_QWORD *)(a1 + 720); v133[1] = 0; v134 = nullptr; std::string::__init(v133, "0123456789 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_.", 0x41u); CCTextInputNode::setAllowedChars(v99, (__int64)v133); if ( (v133[0] & 1) != 0 ) operator delete(v134); LOWORD(v125) = -21896; BYTE2(v125) = -16; CCTextInputNode::setLabelPlaceholderColor(*(_QWORD *)(a1 + 720), v125); CCTextInputNode::setLabelPlaceholderScale(*(CCTextInputNode **)(a1 + 720), 0.4); *(_QWORD *)(*(_QWORD *)(a1 + 720) + 584LL) = v117; *(_BYTE *)(*(_QWORD *)(a1 + 720) + 424LL) = 0; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 720) + 72LL))(*(_QWORD *)(a1 + 720), 900002); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 720), 20); v101 = ButtonSprite::create( (ButtonSprite *)"Add", (const char *)&dword_30 + 2, 0, 1, 0.8, "goldFont.fnt", "GJ_button_01.png", v100, 30.0); v102 = CCMenuItemSpriteExtra::create(v101, 0, a1, (__int64)IDNameBrowserPopup::onFormAdd, 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v102); v103 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v102 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121 + 132.0, v47); v103(v102, v126); v105 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11B8890, "chatFont.fnt", v104); *(_QWORD *)(a1 + 728) = v105; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v105 + 160LL))(v105, 0.5); v106 = *(_QWORD *)(a1 + 728); v107 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v106 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, 0.5, 0.5); v107(v106, v126); v108 = *(_QWORD *)(a1 + 728); v109 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v108 + 1072LL); LOWORD(v126[0]) = -14081; BYTE2(v126[0]) = 120; v109(v108, v126); v110 = *(_QWORD *)(a1 + 728); v111 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v110 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, v121, v47 - 20.0); v111(v110, v126); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 728)); IDNameBrowserPopup::setFormID((IDNameBrowserPopup *)a1, 0); IDNameBrowserPopup::rebuildList((IDNameBrowserPopup *)a1); if ( (v127[0] & 1) != 0 ) operator delete(v128); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source