// // AccountReviewPopup::init from 0x1400af480 to 0x1400b0a22 (5538 bytes) // // 2 xrefs: // > AccountReviewPopup::create @ 0x1400af34d // > @ 0x1409134fc // // 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:11 +0000 // // Hidden C++ exception states: #wind=25 char __fastcall AccountReviewPopup::init(__int64 a1, int a2, const char *a3, __int64 a4) { int v8; // r12d char inited; // r15 void *v10; // r8 char *v12; // rdx __int64 v13; // rax cocos2d::CCObject *v14; // rdi __int64 v15; // rax __int64 v16; // rdi void **v17; // rcx void *v18; // rdx float v19; // xmm9_4 float v20; // xmm0_4 float v21; // xmm12_4 float v22; // xmm8_4 cocos2d::CCLabelBMFont *v23; // r15 float v24; // xmm11_4 __int64 v25; // rbx __int64 v26; // rax cocos2d::CCObject *v27; // rdi __int64 v28; // rbx __int64 v29; // rax _QWORD *v30; // rbx _QWORD *v31; // rcx const char *v32; // rdx __int64 v33; // rdi __int64 v34; // rax _QWORD *v35; // rcx __int64 v36; // rdi __int64 v37; // rbx float *v38; // rax __int64 v39; // rax cocos2d::CCString *v40; // rax const char *CString; // rax struct cocos2d::CCLabelBMFont *v42; // rsi __int64 v43; // rdx cocos2d::CCObject *v44; // rdi __int64 v45; // rbx float v46; // xmm6_4 float *v47; // rax __int64 v48; // rax __int64 v49; // rdi __int64 v50; // rbx __int64 v51; // rax __int64 v52; // rdi __int64 v53; // rbx __int64 v54; // rax __int64 v55; // rbx __int64 v56; // rcx float v57; // xmm9_4 unsigned int v58; // r15d __int64 *v59; // rsi __int64 v60; // rdi cocos2d::CCObject *v61; // rbx const char *v62; // rax cocos2d::CCObject *v63; // rdi __int64 v64; // rbx __int64 v65; // rax __int64 *v66; // rbx __int64 v67; // rdi __int64 v68; // rbx __int64 v69; // rax _QWORD *v70; // rbx char **v71; // rdi char *v72; // rdx size_t v73; // r8 __int64 *v74; // rdi __int64 v75; // rbx __int64 v76; // rax __int64 v77; // rax cocos2d::CCObject *v78; // rbx cocos2d::CCObject *v79; // rdi __int64 v80; // rdi __int64 v81; // rbx __int64 v82; // rax struct cocos2d::CCLabelBMFont *v83; // rdi __int64 v84; // rbx __int64 v85; // rax __int64 v86; // rdi __int64 v87; // rbx __int64 v88; // rax float v89; // xmm6_4 float v90; // xmm8_4 cocos2d::CCObject *v91; // rdi cocos2d::CCObject *v92; // rsi __int64 v93; // rbx float *v94; // rax __int64 v95; // rax float v96; // xmm8_4 __int64 v97; // rax cocos2d::CCObject *v98; // rbx __int64 *v99; // rbx cocos2d::CCObject *v100; // rdi __int64 v101; // rbx float *v102; // rax __int64 v103; // rax float v104; // xmm8_4 cocos2d::CCObject *v105; // rdi cocos2d::CCObject *v106; // rsi __int64 v107; // rbx float *v108; // rax __int64 v109; // rax float v110; // xmm8_4 cocos2d::CCObject *v111; // rdi cocos2d::CCObject *v112; // rsi __int64 v113; // rbx float v114; // xmm8_4 __int64 v115; // rax __int64 *v116; // rdi cocos2d::CCObject *v117; // rbx __int64 v118; // rdi __int64 v119; // rbx __int64 v120; // rax struct cocos2d::CCLabelBMFont *v121; // rdi __int64 v122; // rbx __int64 v123; // rax __int64 v124; // rdi __int64 v125; // rbx __int64 v126; // rax __int64 *v127; // rdi cocos2d::CCObject *v128; // rbx __int64 v129; // rax __int64 v130; // rcx __int128 *v131; // [rsp+50h] [rbp-B0h] BYREF __int16 v132; // [rsp+58h] [rbp-A8h] BYREF char v133; // [rsp+5Ah] [rbp-A6h] void **v134; // [rsp+60h] [rbp-A0h] BYREF __int128 v135; // [rsp+68h] [rbp-98h] BYREF _QWORD *v136; // [rsp+78h] [rbp-88h] _QWORD v137[2]; // [rsp+80h] [rbp-80h] BYREF __int64 v138; // [rsp+90h] [rbp-70h] __int64 v139; // [rsp+98h] [rbp-68h] void *v140; // [rsp+A0h] [rbp-60h] BYREF void *Block[2]; // [rsp+A8h] [rbp-58h] BYREF __int64 v142; // [rsp+B8h] [rbp-48h] unsigned __int64 v143; // [rsp+C0h] [rbp-40h] __int128 v144; // [rsp+C8h] [rbp-38h] BYREF __int64 v145; // [rsp+D8h] [rbp-28h] __int64 v146; // [rsp+E0h] [rbp-20h] *(_OWORD *)Block = 0; v8 = 0; v142 = 0; v143 = 15; LOBYTE(Block[0]) = 0; inited = PagedListPopup::initPaged(a1, (unsigned int)&byte_1406ED6E0, (unsigned int)Block, a4, 1133903872); if ( v143 > 0xF ) { v10 = Block[0]; if ( v143 + 1 >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v10); } if ( !inited ) return 0; *(_DWORD *)(a1 + 840) = a2; if ( (const char *)(a1 + 848) != a3 ) { v12 = (char *)a3; if ( *((_QWORD *)a3 + 3) > 0xFu ) v12 = *(char **)a3; sub_1400405A0((void **)(a1 + 848), v12, *((_QWORD *)a3 + 2)); } *(_BYTE *)(a1 + 888) = a4 != 0; if ( a4 ) { *(_QWORD *)(a1 + 880) = a4; } else { v134 = (void **)operator new(0x3B8u); v13 = GJUserScore::GJUserScore(v134); v14 = (cocos2d::CCObject *)v13; if ( v13 ) { if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v13 + 72LL))(v13) ) { cocos2d::CCObject::autorelease(v14); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v14 + 8LL))(v14, 1); v14 = nullptr; } } *(_QWORD *)(a1 + 880) = v14; *((_DWORD *)v14 + 98) = a2; v15 = sub_14003F4F0((__int64)&v144, (__int64)a3); v16 = v15; v134 = (void **)v15; v17 = (void **)(*(_QWORD *)(a1 + 880) + 320LL); if ( v17 != (void **)v15 ) { v18 = (void *)v15; if ( *(_QWORD *)(v15 + 24) > 0xFu ) v18 = *(void **)v15; sub_1400405A0(v17, v18, *(_QWORD *)(v15 + 16)); } sub_14003D310(v16); } cocos2d::CCObject::retain(*(cocos2d::CCObject **)(a1 + 880)); v19 = (float)(*(float *)(a1 + 676) * 0.5) + *(float *)(a1 + 668); v20 = *(float *)(a1 + 672) * 0.5; v21 = *(float *)(a1 + 664) - v20; v22 = *(float *)(a1 + 664) + v20; if ( *((_QWORD *)a3 + 2) ) { if ( *((_QWORD *)a3 + 3) > 0xFu ) a3 = *(const char **)a3; } else { a3 = "?"; } v23 = cocos2d::CCLabelBMFont::create(a3, (const char *)&qword_140704F78); cocos2d::CCLabelBMFont::limitLabelWidth(v23, 170.0, 0.5, 0.2); v24 = v19 - 14.0; if ( *(_BYTE *)(a1 + 888) ) { v25 = *(_QWORD *)v23; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v134, *(float *)(a1 + 664), v24); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v25 + 184))(v23, v26); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v23, 1); } else { v27 = CCMenuItemSpriteExtra::create((int)v23, 0, a1, (__int64)AccountReviewPopup::onOpenProfile); *((_DWORD *)v27 + 93) = 1067030938; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v27); v28 = *(_QWORD *)v27; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v134, *(float *)(a1 + 664), v24); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v28 + 184))(v27, v29); } v144 = 0; v30 = sub_14003D460(0x250u); *(_QWORD *)&v144 = v30; v145 = 585; v146 = 591; v31 = v30; v32 = "Accounts get points from blocked text (1 each, last 7 days)\n" "and player reports (3 each). When the points reach a threshold\n" "a case opens and the account is added to the Moderation Queue.\n" "\n" "Reported shows player reports. Filter shows text caught by the filter:\n" "Blocked text was never sent, Censored text was sent with words starred.\n" "Dim rows were already reviewed.\n" "\n" "History shows all moderator actions on this account.\n" "\n" "Bans and deletes do not close the case. Press Clear when you are finished.\n" "This clears the reports, closes the case and logs the result."; v33 = 4; v34 = 4; do { *(_OWORD *)v31 = *(_OWORD *)v32; *((_OWORD *)v31 + 1) = *((_OWORD *)v32 + 1); *((_OWORD *)v31 + 2) = *((_OWORD *)v32 + 2); *((_OWORD *)v31 + 3) = *((_OWORD *)v32 + 3); *((_OWORD *)v31 + 4) = *((_OWORD *)v32 + 4); *((_OWORD *)v31 + 5) = *((_OWORD *)v32 + 5); *((_OWORD *)v31 + 6) = *((_OWORD *)v32 + 6); v31 += 16; *((_OWORD *)v31 - 1) = *((_OWORD *)v32 + 7); v32 += 128; --v34; } while ( v34 ); *(_OWORD *)v31 = *(_OWORD *)v32; *((_OWORD *)v31 + 1) = *((_OWORD *)v32 + 1); *((_OWORD *)v31 + 2) = *((_OWORD *)v32 + 2); *((_OWORD *)v31 + 3) = *((_OWORD *)v32 + 3); v31[8] = *((_QWORD *)v32 + 8); *((_BYTE *)v31 + 72) = v32[72]; *((_BYTE *)v30 + 585) = 0; v134 = Block; *(_OWORD *)Block = 0; v142 = 0; v143 = 0; v35 = sub_14003D460(0x250u); Block[0] = v35; v142 = 585; v143 = 591; do { *(_OWORD *)v35 = *(_OWORD *)v30; *((_OWORD *)v35 + 1) = *((_OWORD *)v30 + 1); *((_OWORD *)v35 + 2) = *((_OWORD *)v30 + 2); *((_OWORD *)v35 + 3) = *((_OWORD *)v30 + 3); *((_OWORD *)v35 + 4) = *((_OWORD *)v30 + 4); *((_OWORD *)v35 + 5) = *((_OWORD *)v30 + 5); *((_OWORD *)v35 + 6) = *((_OWORD *)v30 + 6); v35 += 16; *((_OWORD *)v35 - 1) = *((_OWORD *)v30 + 7); v30 += 16; --v33; } while ( v33 ); *(_OWORD *)v35 = *(_OWORD *)v30; *((_OWORD *)v35 + 1) = *((_OWORD *)v30 + 1); *((_OWORD *)v35 + 2) = *((_OWORD *)v30 + 2); *((_OWORD *)v35 + 3) = *((_OWORD *)v30 + 3); v35[8] = v30[8]; *((_WORD *)v35 + 36) = *((_WORD *)v30 + 36); v138 = 14; v139 = 15; strcpy((char *)v137, "Account Review"); HIBYTE(v137[1]) = 0; v36 = InfoAlertButton::create(v137, Block); *(_DWORD *)(v36 + 584) = 1061997773; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v36); v37 = *(_QWORD *)v36; v38 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *, void ***))(*(_QWORD *)v23 + 328LL))(v23, &v134); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v140, (float)(*(float *)(a1 + 664) - (float)(*v38 * 0.5)) - 18.0, v24); (*(void (__fastcall **)(__int64, __int64))(v37 + 184))(v36, v39); v40 = cocos2d::CCString::createWithFormat("ID: %i", a2); CString = cocos2d::CCString::getCString(v40); v42 = cocos2d::CCLabelBMFont::create(CString, "chatFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v42 + 160LL))(v42); (**((void (__fastcall ***)(__int64, void *))v42 + 46))((__int64)v42 + 368, &unk_140702DCC); LOBYTE(v43) = -81; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v42 + 46) + 40LL))((__int64)v42 + 368, v43); v44 = CCMenuItemSpriteExtra::create((int)v42, 0, a1, (__int64)AccountReviewPopup::onCopyAccountID); *((_DWORD *)v44 + 93) = 1067869798; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v44); v45 = *(_QWORD *)v44; v46 = (float)((float)(*(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *, void **))(*(_QWORD *)v23 + 328LL))( v23, &v140) * 0.5) + *(float *)(a1 + 664)) + 8.0; v47 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *, void ***))(*(_QWORD *)v42 + 328LL))( v42, &v134); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, (float)(*v47 * 0.5) + v46, v24); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v45 + 184))(v44, v48); v49 = **(_QWORD **)(a1 + 736); v50 = *(_QWORD *)(a1 + 736); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, 1.0, 0.5); (*(void (__fastcall **)(__int64, __int64))(v49 + 288))(v50, v51); (**(void (__fastcall ***)(__int64, void *))(*(_QWORD *)(a1 + 736) + 368LL))( *(_QWORD *)(a1 + 736) + 368LL, &unk_140702DCC); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 736) + 160LL))(*(_QWORD *)(a1 + 736)); v52 = **(_QWORD **)(a1 + 736); v53 = *(_QWORD *)(a1 + 736); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v22 - 12.0, v24); (*(void (__fastcall **)(__int64, __int64))(v52 + 184))(v53, v54); PagedListPopup::createScrollArea(a1); v55 = *(_QWORD *)(a1 + 688); if ( *(float *)(v55 + 520) <= 0.0 ) { v56 = *(_QWORD *)(v55 + 416); if ( v56 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v56 + 488LL))(v56); ScrollableContentLayer::ensureOwnedContentNode((_QWORD *)v55); } *(_DWORD *)(v55 + 520) = 1110179840; v57 = v19 - 75.0; v58 = 0; v59 = (__int64 *)off_1407229B0; do { v60 = *v59; v131 = (__int128 *)operator new(0x2C8u); v61 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v131); if ( v61 ) { v62 = "GJ_button_04.png"; if ( !v58 ) v62 = "GJ_button_01.png"; if ( ButtonSprite::init_1((__int64)v61, v60, 74, 0, 1052938076, 1, &qword_140704F78, (__int64)v62, 1102053376) ) { cocos2d::CCObject::autorelease(v61); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v61 + 8LL))(v61, 1); v61 = nullptr; } } *(__int64 *)((char *)v59 + a1 - (_QWORD)off_1407229B0 + 1464) = (__int64)v61; v140 = operator new(0x208u); v63 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v140); if ( v63 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v63, (__int64 *)v61, 0, a1, (__int64)AccountReviewPopup::onTab) ) { cocos2d::CCObject::autorelease(v63); goto LABEL_50; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v63 + 8LL))(v63, 1); } v63 = nullptr; LABEL_50: *((_DWORD *)v63 + 93) = 1066192077; (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v63 + 64LL))(v63, v58); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v63); v64 = *(_QWORD *)v63; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v134, (float)v8 + (float)(v21 + 60.0), v57); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v64 + 184))(v63, v65); ++v58; v8 += 95; ++v59; } while ( v8 < 285 ); v66 = (__int64 *)cocos2d::CCSprite::createWithSpriteFrameName("btn_chatHistory_001.png"); (*(void (__fastcall **)(__int64 *))(*v66 + 160))(v66); v131 = (__int128 *)operator new(0x208u); v67 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( !v67 ) { LABEL_55: v67 = 0; goto LABEL_56; } if ( !CCMenuItemSpriteExtra::init((__int64 *)v67, v66, 0, a1, (__int64)AccountReviewPopup::onCommentHistory) ) { (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v67 + 8LL))(v67, 1); goto LABEL_55; } cocos2d::CCObject::autorelease((cocos2d::CCObject *)v67); LABEL_56: *(_DWORD *)(v67 + 372) = 1067030938; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v67); v68 = *(_QWORD *)v67; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v21 + 315.0, v57); (*(void (__fastcall **)(__int64, __int64))(v68 + 184))(v67, v69); v135 = 0; v136 = nullptr; v70 = sub_14003D460(0x80u); *(_QWORD *)&v135 = v70; *((_QWORD *)&v135 + 1) = v70; v136 = v70 + 16; v131 = &v135; v71 = off_1408FE3A8; v137[0] = v70; v137[1] = v70; v138 = (__int64)&v135; do { v72 = *v71; *(_OWORD *)v70 = 0; v70[2] = 0; v70[3] = 0; v73 = -1; do ++v73; while ( v72[v73] ); sub_14003D230(v70, v72, v73); v70 += 4; v137[1] = v70; ++v71; } while ( v71 != off_1408FE3C8 ); *((_QWORD *)&v135 + 1) = v70; v74 = (__int64 *)Dropdown::create(a1, *(_QWORD *)(a1 + 552), (unsigned int)&v135, 0, 1117782016, a1 + 808); *(_QWORD *)(a1 + 1528) = v74; v75 = *v74; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v22 - 55.0, v57); (*(void (__fastcall **)(__int64 *, __int64))(v75 + 184))(v74, v76); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 1528), 2); v131 = (__int128 *)operator new(0x2C8u); v77 = ButtonSprite::ButtonSprite((__int64)v131); v78 = (cocos2d::CCObject *)v77; if ( v77 ) { if ( ButtonSprite::init_1( v77, (__int64)"Un-reviewed", 74, 0, 1052938076, 1, &qword_140704F78, (__int64)"GJ_button_04.png", 1102053376) ) { cocos2d::CCObject::autorelease(v78); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v78 + 8LL))(v78, 1); v78 = nullptr; } } *(_QWORD *)(a1 + 1496) = v78; v131 = (__int128 *)operator new(0x208u); v79 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( v79 ) { if ( CCMenuItemSpriteExtra::init( (__int64 *)v79, (__int64 *)v78, 0, a1, (__int64)AccountReviewPopup::onToggleHistory) ) { cocos2d::CCObject::autorelease(v79); goto LABEL_69; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v79 + 8LL))(v79, 1); } v79 = nullptr; LABEL_69: *(_QWORD *)(a1 + 1504) = v79; *((_DWORD *)v79 + 93) = 1066192077; (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), *(_QWORD *)(a1 + 1504)); v80 = **(_QWORD **)(a1 + 1504); v81 = *(_QWORD *)(a1 + 1504); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v22 - 60.0, v57); (*(void (__fastcall **)(__int64, __int64))(v80 + 184))(v81, v82); v83 = cocos2d::CCLabelBMFont::create("not reviewed yet", "chatFont.fnt"); *(_QWORD *)(a1 + 1544) = v83; v84 = *(_QWORD *)v83; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v84 + 288))(v83, v85); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1544) + 160LL))(*(_QWORD *)(a1 + 1544)); v132 = -7711; v133 = -31; (**(void (__fastcall ***)(__int64, __int16 *))(*(_QWORD *)(a1 + 1544) + 368LL))(*(_QWORD *)(a1 + 1544) + 368LL, &v132); v86 = **(_QWORD **)(a1 + 1544); v87 = *(_QWORD *)(a1 + 1544); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v22 - 18.0, v57); (*(void (__fastcall **)(__int64, __int64))(v86 + 184))(v87, v88); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1544) + 336LL))(*(_QWORD *)(a1 + 1544), 0); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 1544), 1); v89 = (float)(*(float *)(a1 + 668) - (float)(*(float *)(a1 + 676) * 0.5)) + 22.0; v90 = v22 - 15.0; v131 = (__int128 *)operator new(0x2C8u); v91 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v131); if ( v91 ) { if ( ButtonSprite::init_1( (__int64)v91, (__int64)"Clear", 64, 0, 1055286886, 1, &qword_140704F78, (__int64)"GJ_button_01.png", 1105199104) ) { cocos2d::CCObject::autorelease(v91); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v91 + 8LL))(v91, 1); v91 = nullptr; } } sub_1400AC580((float *)v91, 0.89999998); v131 = (__int128 *)operator new(0x208u); v92 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( v92 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v92, (__int64 *)v91, 0, a1, (__int64)AccountReviewPopup::onDone) ) { cocos2d::CCObject::autorelease(v92); goto LABEL_78; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v92 + 8LL))(v92, 1); } v92 = nullptr; LABEL_78: *((_DWORD *)v92 + 93) = 1066192077; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v92); v93 = *(_QWORD *)v92; v94 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v91 + 320LL))(v91); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v90 - (float)(*v94 * 0.5), v89); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v93 + 184))(v92, v95); v96 = v90 - (float)(*(float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v91 + 320LL))(v91) + 6.0); v131 = (__int128 *)operator new(0x2C8u); v97 = ButtonSprite::ButtonSprite((__int64)v131); v98 = (cocos2d::CCObject *)v97; if ( v97 ) { if ( ButtonSprite::init_1( v97, (__int64)"Notes", 60, 0, 1055286886, 1, &qword_140704F78, (__int64)"GJ_button_04.png", 1105199104) ) { cocos2d::CCObject::autorelease(v98); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v98 + 8LL))(v98, 1); v98 = nullptr; } } *(_QWORD *)(a1 + 1488) = v98; sub_1400AC580((float *)v98, 0.89999998); v99 = *(__int64 **)(a1 + 1488); v131 = (__int128 *)operator new(0x208u); v100 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( v100 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v100, v99, 0, a1, (__int64)AccountReviewPopup::onNotes) ) { cocos2d::CCObject::autorelease(v100); goto LABEL_87; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v100 + 8LL))(v100, 1); } v100 = nullptr; LABEL_87: *((_DWORD *)v100 + 93) = 1066192077; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v100); v101 = *(_QWORD *)v100; v102 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1488) + 320LL))(*(_QWORD *)(a1 + 1488)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v96 - (float)(*v102 * 0.5), v89); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v101 + 184))(v100, v103); v104 = v96 - (float)(*(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1488) + 320LL))(*(_QWORD *)(a1 + 1488)) + 6.0); v131 = (__int128 *)operator new(0x2C8u); v105 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v131); if ( v105 ) { if ( ButtonSprite::init_1( (__int64)v105, (__int64)"Ban", 48, 0, 1055286886, 1, &qword_140704F78, (__int64)"GJ_button_05.png", 1105199104) ) { cocos2d::CCObject::autorelease(v105); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v105 + 8LL))(v105, 1); v105 = nullptr; } } sub_1400AC580((float *)v105, 0.89999998); v131 = (__int128 *)operator new(0x208u); v106 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( v106 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v106, (__int64 *)v105, 0, a1, (__int64)AccountReviewPopup::onBans) ) { cocos2d::CCObject::autorelease(v106); goto LABEL_96; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v106 + 8LL))(v106, 1); } v106 = nullptr; LABEL_96: *((_DWORD *)v106 + 93) = 1066192077; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v106); v107 = *(_QWORD *)v106; v108 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v105 + 320LL))(v105); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v104 - (float)(*v108 * 0.5), v89); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v107 + 184))(v106, v109); v110 = v104 - (float)(*(float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v105 + 320LL))(v105) + 6.0); v131 = (__int128 *)operator new(0x2C8u); v111 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v131); if ( v111 ) { if ( ButtonSprite::init_1( (__int64)v111, (__int64)"Delete", 60, 0, 1055286886, 1, &qword_140704F78, (__int64)"GJ_button_06.png", 1105199104) ) { cocos2d::CCObject::autorelease(v111); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v111 + 8LL))(v111, 1); v111 = nullptr; } } sub_1400AC580((float *)v111, 0.89999998); v131 = (__int128 *)operator new(0x208u); v112 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( v112 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v112, (__int64 *)v111, 0, a1, (__int64)AccountReviewPopup::onDeleteMenu) ) { cocos2d::CCObject::autorelease(v112); goto LABEL_105; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v112 + 8LL))(v112, 1); } v112 = nullptr; LABEL_105: *((_DWORD *)v112 + 93) = 1066192077; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v112); v113 = *(_QWORD *)v112; v114 = v110 - (float)(*(float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v111 + 320LL))(v111) * 0.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v114, v89); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v113 + 184))(v112, v115); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v111 + 320LL))(v111); v116 = (__int64 *)cocos2d::CCSprite::createWithSpriteFrameName("threadBtn_selectAll_001.png"); v131 = (__int128 *)operator new(0x208u); v117 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( v117 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v117, v116, 0, a1, (__int64)AccountReviewPopup::onSelectAll) ) { cocos2d::CCObject::autorelease(v117); goto LABEL_110; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v117 + 8LL))(v117, 1); } v117 = nullptr; LABEL_110: *(_QWORD *)(a1 + 1512) = v117; *((_DWORD *)v117 + 93) = 1068708659; (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), *(_QWORD *)(a1 + 1512)); v118 = **(_QWORD **)(a1 + 1512); v119 = *(_QWORD *)(a1 + 1512); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v21 + 20.0, v89); (*(void (__fastcall **)(__int64, __int64))(v118 + 184))(v119, v120); v121 = cocos2d::CCLabelBMFont::create(&byte_1406ED6E0, (const char *)&qword_140704F78); *(_QWORD *)(a1 + 1536) = v121; v122 = *(_QWORD *)v121; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v122 + 288))(v121, v123); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1536) + 160LL))(*(_QWORD *)(a1 + 1536)); v124 = **(_QWORD **)(a1 + 1536); v125 = *(_QWORD *)(a1 + 1536); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v21 + 39.0, v89); (*(void (__fastcall **)(__int64, __int64))(v124 + 184))(v125, v126); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 1536)); v127 = (__int64 *)cocos2d::CCSprite::createWithSpriteFrameName("threadBtn_delete_001.png"); v131 = (__int128 *)operator new(0x208u); v128 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v131); if ( v128 ) { if ( CCMenuItemSpriteExtra::init((__int64 *)v128, v127, 0, a1, (__int64)AccountReviewPopup::onDeleteSelected) ) { cocos2d::CCObject::autorelease(v128); goto LABEL_115; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v128 + 8LL))(v128, 1); } v128 = nullptr; LABEL_115: *(_QWORD *)(a1 + 1520) = v128; *((_DWORD *)v128 + 93) = 1067030938; (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), *(_QWORD *)(a1 + 1520)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1520) + 336LL))(*(_QWORD *)(a1 + 1520), 0); v129 = cocos2d::CCNotificationCenter::sharedNotificationCenter(); cocos2d::CCNotificationCenter::addObserver( v129, a1, AccountReviewPopup::onModActionTaken, "ModActionTakenNotification", 0); AccountReviewPopup::selectTab(a1, 0); v130 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v131 = (__int128 *)operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v131); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v130 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v130 + 1384) = a1 + 776; GameLevelManager::adminGetAccountReview(v130, *(unsigned int *)(a1 + 840)); sub_1400760C0((__int64 *)&v135); sub_14003D310((__int64)&v144); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source