// // MessageThreadsPage::init from 0xc75188 to 0xc764e8 (4960 bytes) // // 3 xrefs: // > MessageThreadsPage::create @ 0xc64ef0 // > @ 0x5de98 // > @ 0x14ebcd0 // // 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:05:33 +0000 // __int64 __fastcall MessageThreadsPage::init(MessageThreadsPage *this) { unsigned __int8 v2; // w0 unsigned int v3; // w23 cocos2d::CCDirector *v5; // x0 cocos2d::CCDirector *v6; // x0 cocos2d::CCLayer *v7; // x0 __int64 v8; // x0 __int64 v9; // x25 void (__fastcall *v10)(__int64, char *); // x26 const char *v11; // x2 __int64 v12; // x25 void (__fastcall *v13)(__int64, char *); // x26 cocos2d::CCMenu *v14; // x0 __int64 v15; // x0 __int64 v16; // x26 int v17; // w22 __int64 v18; // x27 float v19; // s8 float v20; // s8 float v21; // s9 float v22; // s0 const char *v23; // x1 __int64 v24; // x25 __int64 v25; // x25 void (__fastcall *v26)(__int64, char *); // x26 const char *v27; // x6 __int64 v28; // x25 __int64 v29; // x25 void (__fastcall *v30)(__int64, char *); // x26 float v31; // s8 float v32; // s13 __int64 v33; // x26 void (__fastcall *v34)(__int64, char *); // x25 void (__fastcall *v35)(__int64, char *); // x4 void (__fastcall *v36)(__int64, char *); // x25 int v37; // w2 __int64 v38; // x3 const char *v39; // x4 __int64 InputNode; // x25 void (__fastcall *v41)(__int64, char *); // x26 const char *v42; // x6 __int64 v43; // x26 __int64 v44; // x25 float v45; // s8 float v46; // s13 float *v47; // x0 const char *v48; // x1 __int64 v49; // x25 float v50; // s13 float v51; // s13 __int64 v52; // x26 float *v53; // x0 void (__fastcall *v54)(__int64, char *); // x25 float v55; // s10 const char *v56; // x1 __int64 v57; // x25 __int64 v58; // x0 __int64 v59; // x25 __int64 (__fastcall *v60)(__int64, char *); // x26 cocos2d::CCArray *v61; // x0 cocos2d::CCObject *v62; // x0 const char *v63; // x1 __int64 v64; // x0 __int64 v65; // x25 void (__fastcall *v66)(__int64, char *); // x26 const char *v67; // x2 __int64 v68; // x0 __int64 v69; // x25 void (__fastcall *v70)(__int64, char *); // x26 float *v71; // x0 float v72; // s10 unsigned int v73; // w25 char *v74; // x0 __int64 v75; // x0 char *v76; // x3 __int64 v77; // x26 float v78; // s1 void (__fastcall *v79)(__int64, char *); // x25 LoadingCircle *updated; // x0 __int64 v81; // x0 __int64 v82; // x0 char v83; // w1 const char *v84; // x1 __int64 v85; // x27 __int64 v86; // x0 __int64 v87; // x27 void (__fastcall *v88)(__int64, char *); // x28 const char *v89; // x1 cocos2d::CCSprite *v90; // x24 __int64 v91; // x0 __int64 v92; // x24 void (__fastcall *v93)(__int64, char *); // x27 const char *v94; // x2 __int64 v95; // x0 __int64 v96; // x24 void (__fastcall *v97)(__int64, char *); // x28 const char *v98; // x1 __int64 v99; // x24 __int64 v100; // x0 __int64 v101; // x24 void (__fastcall *v102)(__int64, char *); // x28 const char *v103; // x1 cocos2d::CCSprite *v104; // x24 __int64 v105; // x0 __int64 v106; // x24 void (__fastcall *v107)(__int64, char *); // x28 __int64 v108; // x24 GJSelectionStrip *v109; // x0 const char *v110; // x1 __int64 v111; // x24 __int64 v112; // x0 __int64 v113; // x26 void (__fastcall *v114)(__int64, char *); // x28 const char *v115; // x2 __int64 v116; // x26 void (__fastcall *v117)(__int64, char *); // x28 const char *v118; // x1 __int64 v119; // x0 const char *v120; // x2 __int64 v121; // x0 __int64 v122; // x22 void (__fastcall *v123)(__int64, char *); // x25 __int64 v124; // x0 cocos2d::CCNotificationCenter *v125; // x0 int v126; // w0 cocos2d::CCNotificationCenter *v127; // x0 int v128; // w0 GameLevelManager *v129; // x0 __int64 v130; // x0 float v131; // [xsp+B0h] [xbp+B0h] void (__fastcall *v132)(__int64, char *); // [xsp+C0h] [xbp+C0h] void (__fastcall *v133)(__int64, char *); // [xsp+C0h] [xbp+C0h] __int64 v134; // [xsp+C0h] [xbp+C0h] __int64 v135; // [xsp+D8h] [xbp+D8h] BYREF float v136; // [xsp+E0h] [xbp+E0h] BYREF float v137; // [xsp+E4h] [xbp+E4h] char v138; // [xsp+E8h] [xbp+E8h] BYREF char v139; // [xsp+E9h] [xbp+E9h] char v140; // [xsp+EAh] [xbp+EAh] char v141; // [xsp+EBh] [xbp+EBh] __int64 v142[2]; // [xsp+F8h] [xbp+F8h] BYREF void *v143; // [xsp+108h] [xbp+108h] __int64 v144; // [xsp+110h] [xbp+110h] BYREF __int64 v145; // [xsp+118h] [xbp+118h] void *v146; // [xsp+120h] [xbp+120h] v138 = 0; v139 = 0; v140 = 0; v141 = -106; v2 = cocos2d::CCLayerColor::initWithColor(this, &v138); v3 = v2; if ( !v2 ) return v3; (*(void (__fastcall **)(MessageThreadsPage *, __int64))(*(_QWORD *)this + 1168LL))(this, 4294967190LL); FLAlertLayer::incrementForcePrio(this); *((_BYTE *)this + 596) = 1; (*(void (__fastcall **)(MessageThreadsPage *, __int64))(*(_QWORD *)this + 1000LL))(this, 1); v5 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(MessageThreadsPage *, __int64))(*(_QWORD *)this + 1072LL))( this, 1); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize(&v135, v6); v7 = (cocos2d::CCLayer *)cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v136, *(float *)&v135 * 0.5, *((float *)&v135 + 1) * 0.5); v8 = cocos2d::CCLayer::create(v7); *((_QWORD *)this + 73) = v8; (*(void (__fastcall **)(MessageThreadsPage *, __int64))(*(_QWORD *)this + 456LL))(this, v8); cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v138, 0.0, 0.0, 80.0, 80.0); v9 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", &v138); v10 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v9 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v138, 440.0, 300.0); v10(v9, &v138); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v9 + 184LL))(v9, &v136); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v9, 4294967294LL); v12 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Messages", "bigFont.fnt", v11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 160LL))(v12, 0.5); v13 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v12 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v136, (float)(v137 + 145.0) - 10.0); v13(v12, &v138); v14 = (cocos2d::CCMenu *)(*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))( *((_QWORD *)this + 73), v12); v15 = cocos2d::CCMenu::create(v14); *((_QWORD *)this + 69) = v15; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v15, 10); (*(void (__fastcall **)(_QWORD, void *))(**((_QWORD **)this + 69) + 184LL))(*((_QWORD *)this + 69), &unk_155EE20); v142[0] = 0; *((_DWORD *)this + 160) = -1; v142[1] = 0; v143 = nullptr; std::string::__init(v142, "Messaging Rules", 0xFu); v144 = 0; v145 = 0; v146 = nullptr; std::string::__init( &v144, "1. Do not harass, threaten, or bully other players.\n" "2. Do not share personal info such as your address, passwords, or contact details.\n" "3. Do not spam, scam, or send inappropriate content.\n" "4. Do not try to bypass filters or safety systems.\n" "Messages are filtered automatically and may be reviewed when reported or flagged for safety.\n" "Report or Block users who break these rules.", 0x1A8u); v16 = InfoAlertButton::create((char *)v142, (char *)&v144, 0.5); if ( (v144 & 1) != 0 ) { operator delete(v146); if ( (v142[0] & 1) == 0 ) goto LABEL_5; } else if ( (v142[0] & 1) == 0 ) { goto LABEL_5; } operator delete(v143); LABEL_5: v17 = 0; v18 = 0; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v16); v19 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 328LL))(v12); v20 = v19 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v12 + 168LL))(v12); v132 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v16 + 184LL); v21 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v12 + 224LL))(v12); v22 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v12 + 240LL))(v12); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, (float)(v21 - (float)(v20 * 0.5)) - 14.0, v22); v132(v16, &v138); v24 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_backBtn_001.png", v23); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v24 + 160LL))(v24, 0.8); v25 = CCMenuItemSpriteExtra::create(v24, 0, (__int64)this, (__int64)MessageThreadsPage::onClose, 0); CCMenuItemSpriteExtra::setSizeMult(v25, 1.5); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v25); v26 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v25 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, (float)(v136 - 220.0) + 5.0, (float)(v137 + 145.0) - 5.0); v26(v25, &v138); v28 = ButtonSprite::create( (ButtonSprite *)"Legacy", (const char *)&dword_30, 0, 1, 0.4, "bigFont.fnt", "GJ_button_04.png", v27, 22.0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v28 + 160LL))(v28, 0.8); v29 = CCMenuItemSpriteExtra::create(v28, 0, (__int64)this, (__int64)MessageThreadsPage::onLegacyMessages, 0); CCMenuItemSpriteExtra::setSizeMult(v29, 1.2); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v29); v30 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v29 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, (float)(v136 + 220.0) - 32.0, (float)(v137 + 145.0) - 12.0); v30(v29, &v138); v131 = v136 - 20.0; v31 = (float)(v137 + 145.0) - 39.0; *(float *)&v132 = v136 - 170.0; cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v138, 0.0, 0.0, 40.0, 40.0); v32 = v131 - *(float *)&v132; v33 = cocos2d::extension::CCScale9Sprite::create("square02b_small.png", &v138); v34 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v33 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v138, v131 - *(float *)&v132, 24.0); v34(v33, &v138); v35 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v33 + 960LL); v138 = 93; v139 = 52; v140 = 31; v35(v33, &v138); v36 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v33 + 184LL); *(float *)&v132 = (float)(*(float *)&v132 + v131) * 0.5; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, *(float *)&v132, v31); v36(v33, &v138); (*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v33, 0); InputNode = GameToolbox::createInputNode( (GameToolbox *)"Search name or title", v32 - 12.0, 24.0, (const char *)&off_18 + 6, v37, v38, v39); *((_QWORD *)this + 98) = InputNode; v41 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)InputNode + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, *(float *)&v132, v31); v41(InputNode, &v138); CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 98), 0.6); *(_QWORD *)(*((_QWORD *)this + 98) + 584LL) = (char *)this + 544; (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 98), 5); v43 = ButtonSprite::create( (ButtonSprite *)"New", (const char *)&qword_48, 0, 1, 0.5, "bigFont.fnt", "GJ_button_01.png", v42, 26.0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v43 + 160LL))(v43, 0.8); v44 = CCMenuItemSpriteExtra::create(v43, 0, (__int64)this, (__int64)MessageThreadsPage::onNewThread, 0); CCMenuItemSpriteExtra::setSizeMult(v44, 1.1); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v44); v45 = v31 - 1.0; v133 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v44 + 184LL); v46 = (float)(v136 + 220.0) - 51.0; v47 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v43 + 328LL))(v43); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v46 - (float)((float)(*v47 * 0.8) * 0.5), v45); v133(v44, &v138); v49 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_longBtn06_001.png", v48); v50 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v43 + 328LL))(v43) + 4); v51 = (float)(v50 * 0.8) / *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v49 + 328LL))(v49) + 4); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v49 + 160LL))(v49, v51); v52 = CCMenuItemSpriteExtra::create(v49, 0, (__int64)this, (__int64)MessageThreadsPage::onSearch, 0); CCMenuItemSpriteExtra::setSizeMult(v52, 1.2); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v52); v53 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v49 + 328LL))(v49); v54 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v52 + 184LL); *(float *)&v133 = v51 * *v53; v55 = (float)((float)(v136 - 20.0) + 4.0) + (float)(*(float *)&v133 * 0.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v55, v45); v54(v52, &v138); v57 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_longBtn07_001.png", v56); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v57 + 160LL))(v57, v51); v58 = CCMenuItemSpriteExtra::create(v57, 0, (__int64)this, (__int64)MessageThreadsPage::onClearSearch, 0); *((_QWORD *)this + 93) = v58; CCMenuItemSpriteExtra::setSizeMult(v58, 1.2); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 93)); v59 = *((_QWORD *)this + 93); v60 = *(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v59 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, (float)(v55 + *(float *)&v133) + 4.0, v45); v61 = (cocos2d::CCArray *)v60(v59, &v138); v62 = (cocos2d::CCObject *)cocos2d::CCArray::create(v61); *((_QWORD *)this + 110) = v62; cocos2d::CCObject::retain(v62); v64 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_longBtn05_001.png", v63); *((_QWORD *)this + 114) = v64; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v64 + 160LL))(v64, v51); v65 = CCMenuItemSpriteExtra::create( *((_QWORD *)this + 114), 0, (__int64)this, (__int64)MessageThreadsPage::onUserFilter, 0); CCMenuItemSpriteExtra::setSizeMult(v65, 1.2); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v65); v66 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v65 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v138, (float)((float)(v55 + (float)(*(float *)&v133 * 1.5)) + 4.0) + 28.0, v45); v66(v65, &v138); v68 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11B8890, "bigFont.fnt", v67); *((_QWORD *)this + 115) = v68; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v68 + 160LL))(v68, 0.6); v69 = *((_QWORD *)this + 115); v70 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v69 + 184LL); v71 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 114) + 328LL))(*((_QWORD *)this + 114)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, *v71 - 8.0, 10.0); v70(v69, &v138); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 114) + 464LL))( *((_QWORD *)this + 114), *((_QWORD *)this + 115), 1); MessageThreadsPage::refreshUserFilterBtn(this); v72 = (float)(v136 - 220.0) + 26.0; do { v73 = v18; if ( v18 == 1 ) { v74 = "threadBtn_dm_001.png"; } else { v74 = "threadBtn_groupOn_001.png"; if ( (_DWORD)v18 != 2 ) v74 = "threadBtn_allOn_001.png"; } v75 = GameToolbox::createOnOffSprite((GameToolbox *)v74, nullptr); v76 = (char *)this + 8 * v18++; *((_QWORD *)v76 + 107) = v75; v77 = CCMenuItemSpriteExtra::create(v75, 0, (__int64)this, (__int64)MessageThreadsPage::onSelectFilter, 0); CCMenuItemSpriteExtra::setSizeMult(v77, 1.2); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v77 + 72LL))(v77, v73); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v77); v78 = (float)v17; v17 += 37; v79 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v77 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v72, (float)(v137 + 68.0) - v78); v79(v77, &v138); } while ( v18 != 3 ); updated = (LoadingCircle *)MessageThreadsPage::updateFilterButtons(this); v81 = LoadingCircle::create(updated); *((_QWORD *)this + 87) = v81; *(_QWORD *)(v81 + 552) = *((_QWORD *)this + 73); *(_BYTE *)(*((_QWORD *)this + 87) + 560LL) = 0; LoadingCircle::show(*((cocos2d::CCNode ***)this + 87)); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 87) + 344LL))(*((_QWORD *)this + 87), 0); v144 = 0; v145 = 0; v146 = nullptr; std::string::__init(&v144, "Something went wrong...", 0x17u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, 0.5, 1.0); v82 = TextArea::create((char *)&v144, "bigFont.fnt", (const cocos2d::CCPoint *)&v138, 0, 0, 1.0, 600.0, 20.0); v83 = v144; *((_QWORD *)this + 88) = v82; if ( (v83 & 1) != 0 ) { operator delete(v146); v82 = *((_QWORD *)this + 88); } (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v82 + 160LL))(v82, 0.6); (*(void (__fastcall **)(_QWORD, float *))(**((_QWORD **)this + 88) + 184LL))(*((_QWORD *)this + 88), &v136); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 88) + 344LL))(*((_QWORD *)this + 88), 0); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 88), 10); v85 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v84); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v85 + 160LL))(v85, 0.8); v86 = CCMenuItemSpriteExtra::create(v85, 0, (__int64)this, (__int64)MessageThreadsPage::onPrevPage, 0); *((_QWORD *)this + 89) = v86; CCMenuItemSpriteExtra::setSizeMult(v86, 2.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 89)); v87 = *((_QWORD *)this + 89); v88 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v87 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v136 - 195.0, v137 - 59.0); v88(v87, &v138); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 89) + 344LL))(*((_QWORD *)this + 89), 0); v90 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_arrow_01_001.png", v89); cocos2d::CCSprite::setFlipX(v90, 1); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v90 + 160LL))(v90, 0.8); v91 = CCMenuItemSpriteExtra::create((__int64)v90, 0, (__int64)this, (__int64)MessageThreadsPage::onNextPage, 0); *((_QWORD *)this + 90) = v91; CCMenuItemSpriteExtra::setSizeMult(v91, 2.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 90)); v92 = *((_QWORD *)this + 90); v93 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v92 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v136 + 195.0, v137 - 59.0); v93(v92, &v138); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 90) + 344LL))(*((_QWORD *)this + 90), 0); v95 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11B8890, "chatFont.fnt", v94); *((_QWORD *)this + 99) = v95; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v95 + 160LL))(v95, 0.5); (*(void (__fastcall **)(_QWORD, void *))(**((_QWORD **)this + 99) + 1072LL))(*((_QWORD *)this + 99), &unk_119E6A0); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 99) + 1024LL))(*((_QWORD *)this + 99), 4294967190LL); v96 = *((_QWORD *)this + 99); v97 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v96 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v136, (float)(v137 - 145.0) + 8.0); v97(v96, &v138); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 73) + 456LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 99)); v99 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_updateBtn_001.png", v98); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v99 + 160LL))(v99, 0.8); v100 = CCMenuItemSpriteExtra::create(v99, 0, (__int64)this, (__int64)MessageThreadsPage::onRefresh, 0); *((_QWORD *)this + 91) = v100; CCMenuItemSpriteExtra::setSizeMult(v100, 1.2); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 91)); v101 = *((_QWORD *)this + 91); v102 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v101 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, (float)(v136 + 220.0) - 24.0, (float)(v137 - 145.0) + 21.0); v102(v101, &v138); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 91) + 344LL))(*((_QWORD *)this + 91), 0); v104 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"downArrowBtn_001.png", v103); cocos2d::CCSprite::setFlipY(v104, 1); v105 = CCMenuItemSpriteExtra::create((__int64)v104, 0, (__int64)this, (__int64)MessageThreadsPage::onScrollToTop, 0); *((_QWORD *)this + 92) = v105; CCMenuItemSpriteExtra::setSizeMult(v105, 1.5); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 92)); v106 = *((_QWORD *)this + 92); v107 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v106 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, v136, (float)((float)(v137 + 98.0) - 12.0) - 16.0); v107(v106, &v138); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 92) + 344LL))(*((_QWORD *)this + 92), 0); v108 = *((_QWORD *)this + 69); v134 = *((_QWORD *)this + 73); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v138, (float)(v136 - 220.0) + 21.0, (float)((float)(v137 - 145.0) + 13.0) + 3.0); v109 = (GJSelectionStrip *)GJSelectionStrip::create( v108, v134, (const cocos2d::CCPoint *)&v138, (__int64)this, (__int64)MessageThreadsPage::onSelectAll, 0, 1.0); *((_QWORD *)this + 94) = v109; GJSelectionStrip::addCountLabel(v109, 31.0, 5u); GJSelectionStrip::addAction( *((_QWORD *)this + 94), (cocos2d::CCSprite *)"threadBtn_markRead_001.png", (__int64)MessageThreadsPage::onMarkRead, 0, 63.0, 1.4); GJSelectionStrip::addAction( *((_QWORD *)this + 94), (cocos2d::CCSprite *)"threadBtn_delete_001.png", (__int64)MessageThreadsPage::onDeleteSelected, 0, 99.0, 1.2); MessageThreadsPage::updateSelectUI((GJSelectionStrip **)this); v111 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_invites_001.png", v110); v112 = CCMenuItemSpriteExtra::create(v111, 0, (__int64)this, (__int64)MessageThreadsPage::onShowInvites, 0); *((_QWORD *)this + 95) = v112; CCMenuItemSpriteExtra::setSizeMult(v112, 1.2); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 95)); v113 = *((_QWORD *)this + 95); v114 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v113 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, (float)(v136 + 220.0) - 26.0, v137 + 68.0); v114(v113, &v138); v116 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Invites", "bigFont.fnt", v115); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v116 + 160LL))(v116, 0.25); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v116 + 1024LL))(v116, 4294967180LL); v117 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v116 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, (float)(v136 + 220.0) - 26.0, v137 + 45.5); v117(v116, &v138); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v116, 5); v119 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"d_ball_01_001.png", v118); *((_QWORD *)this + 96) = v119; (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v119 + 960LL))(v119, &unk_119E660); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 96) + 160LL))(*((_QWORD *)this + 96), 0.6); v121 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11B8890, "bigFont.fnt", v120); *((_QWORD *)this + 97) = v121; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 96) + 456LL))(*((_QWORD *)this + 96), v121); (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v111 + 464LL))(v111, *((_QWORD *)this + 96), 1); v122 = *((_QWORD *)this + 96); v123 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v122 + 184LL); *(float *)&v134 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v111 + 328LL))(v111) - 4.0; v124 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v111 + 328LL))(v111); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v138, *(float *)&v134, *(float *)(v124 + 4) - 4.0); v123(v122, &v138); v125 = (cocos2d::CCNotificationCenter *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 96) + 344LL))( *((_QWORD *)this + 96), 0); v126 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v125); v127 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::addObserver( v126, (int)this, (int)MessageThreadsPage::onThreadsChanged, 0, "ThreadsChangedNotification"); v128 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v127); v129 = (GameLevelManager *)cocos2d::CCNotificationCenter::addObserver( v128, (int)this, (int)MessageThreadsPage::onSelectionChanged, 0, "ThreadSelectionChangedNotification"); v130 = GameLevelManager::sharedState(v129); MessageThreadsPage::setInboxPoll(this, (float)*(int *)(v130 + 480)); MessageThreadsPage::loadPage(this, 0, 0); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source