// // ShareListLayer::init from 0x140431ca0 to 0x140432e98 (4600 bytes) // // 2 xrefs: // > LevelListLayer::onShare @ 0x14042feb7 // > @ 0x140926d08 // // 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:32:16 +0000 // // Hidden C++ exception states: #wind=6 bool __fastcall ShareListLayer::init(__int64 a1, cocos2d::CCObject *a2) { bool result; // al __int64 v5; // rdx __int64 v6; // rdx __int64 v7; // rcx __int64 v8; // rax __int64 v9; // rax __int64 v10; // rax __int64 *v11; // rdi __int64 v12; // rbx __int64 v13; // rax size_t v14; // r12 __int64 v15; // rbx __int64 v16; // rax const char *p_Buf2; // rcx struct cocos2d::CCLabelBMFont *v18; // rsi __int64 v19; // rbx __int64 v20; // rax const struct cocos2d::CCPoint *v21; // rax char *v22; // rdi __int64 v23; // rax __int64 v24; // rbx __int64 v25; // rax __int64 v26; // rax void (__fastcall ***v27)(_QWORD, _QWORD); // rbx _WORD *v28; // rax size_t v29; // rbx unsigned __int64 v30; // rdi __int64 v31; // rax void **v32; // rcx void **v33; // rsi size_t v34; // r8 void **v35; // rdx size_t v36; // r8 float v37; // xmm6_4 __int64 v38; // rdx __int64 v39; // rcx __int64 v40; // r8 __int64 v41; // r8 int v42; // eax __int64 v43; // rdx __int64 v44; // r8 int v45; // ecx __int64 v46; // r8 void **v47; // rdx size_t v48; // r8 __int64 v49; // rdx __int64 v50; // rcx __int64 v51; // r8 int v52; // ebx const struct cocos2d::CCPoint *v53; // rax char *v54; // rbx __int64 v55; // rax __int64 v56; // rcx __int64 v57; // rax __int64 v58; // rcx cocos2d::CCArray *v59; // rsi const char *v60; // rdi int v61; // eax struct cocos2d::CCObject *v62; // rbx int v63; // eax struct cocos2d::CCObject *v64; // rbx __int64 v65; // rbx __int64 v66; // rax __int64 v67; // rax int v68; // eax cocos2d::CCObject *v69; // rsi __int64 v70; // rdi __int64 v71; // rbx __int64 v72; // rax __int64 v73; // rax unsigned __int8 v74; // r14 __int64 v75; // rsi float v76; // xmm7_4 float v77; // xmm6_4 __int64 v78; // rdi float *v79; // rax float *v80; // rbx __int64 v81; // rax cocos2d::CCMenuItem *ToggleButton; // rax char *v83; // rsi __int64 v84; // rdi __int64 v85; // rbx __int64 v86; // rax __int64 v87; // rax __int64 v88; // rcx cocos2d::CCArray *v89; // r15 unsigned __int8 v90; // r14 __int64 v91; // rsi float v92; // xmm7_4 float v93; // xmm6_4 __int64 v94; // rdi float *v95; // rax float *v96; // rbx __int64 v97; // rax cocos2d::CCMenuItem *v98; // rax char *v99; // rsi __int64 v100; // rdi __int64 v101; // rbx __int64 v102; // rax __int64 v103; // rax __int64 v104; // rbx __int64 v105; // rdi float v106; // xmm6_4 float *v107; // rax struct cocos2d::CCLabelBMFont **NotifyToggles; // rax __int128 v109; // xmm1 __int128 v110; // xmm2 __int128 v111; // xmm3 unsigned int v112; // edx cocos2d::CCString *v113; // rax const char *CString; // rax const char *v115; // rcx struct cocos2d::CCSprite *v116; // rsi __int64 v117; // rbx __int64 v118; // rax cocos2d::CCString *v119; // rax const char *v120; // rax struct cocos2d::CCLabelBMFont *v121; // rdi __int64 v122; // rbx __int64 v123; // rax __int64 v124; // rax __int64 v125; // rbx __int64 v126; // rax void *v127; // rcx void *v128; // rcx float v129; // [rsp+88h] [rbp-80h] BYREF float v130; // [rsp+8Ch] [rbp-7Ch] __int128 *v131; // [rsp+90h] [rbp-78h] BYREF _QWORD v132[2]; // [rsp+98h] [rbp-70h] BYREF __int128 v133; // [rsp+A8h] [rbp-60h] BYREF __int64 v134; // [rsp+B8h] [rbp-50h] __int64 v135; // [rsp+C0h] [rbp-48h] char v136[8]; // [rsp+C8h] [rbp-40h] BYREF char v137[8]; // [rsp+D0h] [rbp-38h] BYREF char v138[8]; // [rsp+D8h] [rbp-30h] BYREF _BYTE v139[16]; // [rsp+E0h] [rbp-28h] BYREF __int128 Buf2; // [rsp+F0h] [rbp-18h] BYREF __int64 v141; // [rsp+100h] [rbp-8h] unsigned __int64 v142; // [rsp+108h] [rbp+0h] void *Buf1[2]; // [rsp+130h] [rbp+28h] BYREF size_t v144; // [rsp+140h] [rbp+38h] unsigned __int64 v145; // [rsp+148h] [rbp+40h] void *Block[2]; // [rsp+150h] [rbp+48h] BYREF __m128i si128; // [rsp+160h] [rbp+58h] __int128 v148; // [rsp+170h] [rbp+68h] BYREF __m128i v149; // [rsp+180h] [rbp+78h] LODWORD(v131) = -1778384896; result = cocos2d::CCLayerColor::initWithColor((cocos2d::CCLayerColor *)a1, (const struct cocos2d::_ccColor4B *)&v131); if ( result ) { FLAlertLayer::incrementForcePrio((struct cocos2d::CCObject *)a1); *(_QWORD *)(a1 + 664) = a2; cocos2d::CCObject::retain(a2); LOBYTE(v5) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 920LL))(a1, v5); LOBYTE(v6) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 992LL))(a1, v6); v8 = cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize(v8, &v129); v9 = cocos2d::CCLayer::create(); *(_QWORD *)(a1 + 584) = v9; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v9); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v132, 0.0, 0.0, 80.0, 80.0); v11 = (__int64 *)cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v10); v12 = *v11; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v131, 420.0, 300.0); (*(void (__fastcall **)(__int64 *, __int64))(v12 + 312))(v11, v13); v14 = -1; (*(void (__fastcall **)(_QWORD, __int64 *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v11, 0xFFFFFFFFLL); v15 = *v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v129 * 0.5, v130 * 0.5); (*(void (__fastcall **)(__int64 *, __int64))(v15 + 184))(v11, v16); sub_14003F4F0((__int64)&Buf2, *(_QWORD *)(a1 + 664) + 440LL); p_Buf2 = (const char *)&Buf2; if ( v142 > 0xF ) p_Buf2 = (const char *)Buf2; v18 = cocos2d::CCLabelBMFont::create(p_Buf2, "goldFont.fnt"); sub_14003D310((__int64)&Buf2); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v18); v19 = *(_QWORD *)v18; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v129 * 0.5, (float)((float)(v130 * 0.5) + 150.0) - 20.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v19 + 184))(v18, v20); v131 = &v133; v133 = 0; v134 = 0; v135 = 0; *(_QWORD *)&v133 = sub_14003D460(0x40u); v134 = 53; v135 = 63; strcpy((char *)v133, "You cannot change the name once it is shared."); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, 0.5, 1.0); v22 = TextArea::create((__int64)&v133, "chatFont.fnt", 1.0, 400.0, v21, 1101004800, 0, 0); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v22); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, 0.0, -20.0); v24 = v23; v25 = (*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v18 + 200LL))(v18); cocos2d::CCPoint::operator+(v25, &v131, v24); (*(void (__fastcall **)(char *, __int128 **))(*(_QWORD *)v22 + 184LL))(v22, &v131); (*(void (__fastcall **)(char *))(*(_QWORD *)v22 + 160LL))(v22); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v137, v129 * 0.5, (float)(v130 * 0.5) + 45.0); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v139, 0.0, 0.0, 80.0, 80.0); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v132, (const struct cocos2d::CCRect *)v139); v27 = (void (__fastcall ***)(_QWORD, _QWORD))cocos2d::extension::CCScale9Sprite::create("square02b_001.png", v26); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v138, 380.0, 80.0); ((void (__fastcall **)(_QWORD, char *))*v27)[39](v27, v138); (*(void (__fastcall **)(_QWORD, void (__fastcall ***)(_QWORD, _QWORD), __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v27, 0xFFFFFFFFLL); ((void (__fastcall **)(_QWORD, char *))*v27)[23](v27, v137); LOWORD(v131) = 16514; BYTE2(v131) = 33; (*v27[40])(v27 + 40, &v131); *(_OWORD *)Block = 0; si128 = 0; v28 = sub_14003D460(0x20u); Block[0] = v28; si128 = _mm_load_si128((const __m128i *)&xmmword_140836690); qmemcpy(v28, "(No description provided", 24); v28[12] = (unsigned __int8)aNoDescriptionP[24]; if ( *(_QWORD *)(*(_QWORD *)(a1 + 664) + 552LL) ) { v31 = sub_14003F4F0((__int64)&Buf2, *(_QWORD *)(a1 + 664) + 536LL); LevelTools::base64DecodeString(Buf1, v31); v30 = v145; v29 = v144; } else { *(_OWORD *)Buf1 = 0; v29 = 0; v144 = 0; v30 = 15; v145 = 15; LOBYTE(Buf1[0]) = 0; } Buf2 = 0; v141 = 0; v142 = 15; LOBYTE(Buf2) = 0; v32 = Buf1; v33 = (void **)Buf1[0]; if ( v30 > 0xF ) v32 = (void **)Buf1[0]; v34 = v29; if ( v29 ) v34 = 0; if ( memcmp(v32, &Buf2, v34) || v29 ) { v35 = Buf1; if ( v30 > 0xF ) v35 = v33; v36 = -1; do ++v36; while ( *((_BYTE *)v35 + v36) ); sub_1400405A0(Block, v35, v36); } GameToolbox::stripNonBreakingSpaces((unsigned __int64 *)Block); v37 = 1.0; ensureEmotesAreLoaded(v39, v38, v40, COERCE_DOUBLE(1117782016)); v42 = EmoteSprite::effectiveLength(Block, dword_1408FE3A4, v41, COERCE_DOUBLE(1117782016)); v45 = 280; if ( v42 >= 280 || (ensureEmotesAreLoaded(280, v43, v44, COERCE_DOUBLE(1117782016)), v45 = EmoteSprite::effectiveLength(Block, dword_1408FE3A4, v46, COERCE_DOUBLE(1117782016)), v45 > 70) ) { v37 = (float)((float)((float)(180 - v45) / 280.0) * 0.2) + 0.80000001; } v132[0] = &Buf2; v47 = Block; if ( si128.m128i_i64[1] > 0xFuLL ) v47 = (void **)Block[0]; Buf2 = 0; v141 = 0; v142 = 0; v48 = -1; do ++v48; while ( *((_BYTE *)v47 + v48) ); sub_14003D230(&Buf2, v47, v48); ensureEmotesAreLoaded(v50, v49, v51, COERCE_DOUBLE(1117782016)); v52 = dword_1408FE3A4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, 0.5, 0.5); v54 = TextArea::create((__int64)&Buf2, "chatFont.fnt", 1.0, 352.0 / v37, v53, 1101004800, 1, v52); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v54); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, 0.0, 1.0); cocos2d::CCPoint::operator+(v137, &v131, v55); (*(void (__fastcall **)(char *, __int128 **))(*(_QWORD *)v54 + 184LL))(v54, &v131); (*(void (__fastcall **)(char *))(*(_QWORD *)v54 + 160LL))(v54); *(_DWORD *)(a1 + 640) = -1; v57 = cocos2d::CCMenu::create(v56); *(_QWORD *)(a1 + 552) = v57; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v57, 10); v59 = (cocos2d::CCArray *)cocos2d::CCArray::create(v58); v60 = "GJ_button_01.png"; v61 = (unsigned int)ButtonSprite::create_1( (int)"Cancel", 0, 0, 1.0, 0, (__int64)"goldFont.fnt", (__int64)"GJ_button_01.png", 0); v62 = CCMenuItemSpriteExtra::create(v61, 0, a1, (__int64)PagedListPopup::onClose); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v62 + 160LL))(v62); *((_DWORD *)v62 + 101) = 1061997773; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v62); cocos2d::CCArray::addObject(v59, v62); if ( *(_BYTE *)(*(_QWORD *)(a1 + 664) + 395LL) ) v60 = "GJ_button_04.png"; v63 = (unsigned int)ButtonSprite::create_1( (int)"Share List", 0, 0, 1.0, 0, (__int64)"goldFont.fnt", (__int64)v60, 0); v64 = CCMenuItemSpriteExtra::create(v63, 0, a1, (__int64)ShareListLayer::onShare); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v64 + 160LL))(v64); *((_DWORD *)v64 + 101) = 1061997773; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v64); cocos2d::CCArray::addObject(v59, v64); v65 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, v129 * 0.5, (float)((float)(v130 * 0.5) - 150.0) + 25.0); cocos2d::CCNode::convertToNodeSpace(v65, v136, v66); GameToolbox::alignItemsHorisontally((__int64)v59, 15.0, v67, 0); v68 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png"); v69 = CCMenuItemSpriteExtra::create(v68, 0, a1, (__int64)ShareListLayer::onInfo); *((_DWORD *)v69 + 93) = 0x40000000; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v69); v70 = *(_QWORD *)v69; v71 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v132, (float)((float)(v129 * 0.5) - 210.0) + 20.0, (float)((float)(v130 * 0.5) + 150.0) - 20.0); cocos2d::CCNode::convertToNodeSpace(v71, v136, v72); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v70 + 184))(v69, v73); v132[0] = &v133; v134 = 8; v135 = 15; v133 = 0x64657473696C6E55uLL; v74 = *(_BYTE *)(*(_QWORD *)(a1 + 664) + 393LL); v75 = *(_QWORD *)(a1 + 584); v76 = (float)(v130 * 0.5) - 70.0; v77 = (float)(v129 * 0.5) - 50.0; v78 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, 8.0, 0.0); v80 = v79; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v77, v76); ToggleButton = GameToolbox::createToggleButton( (const char *)&v133, (__int64)ShareListLayer::onUnlisted, v74, v78, v81, a1, v75, 0.80000001, 0.40000001, 0.0, v80, (const char *)&qword_140704F78, 0, 0, nullptr); (*(void (__fastcall **)(cocos2d::CCMenuItem *, _QWORD))(*(_QWORD *)ToggleButton + 64LL))(ToggleButton, 0); v132[0] = &v133; v133 = 0; v134 = 0; v135 = 0; *(_QWORD *)&v133 = sub_14003D460(0xB0u); v134 = 162; v135 = 175; strcpy( (char *)v133, "Makes it so that your list can only be found by searching for the exact ID. It will not be visible" " on your profile, from search, or anywhere else."); Buf2 = 0; v141 = 4; v142 = 15; strcpy((char *)&Buf2, "Info"); v83 = InfoAlertButton::create((__int64)&Buf2, (__int64)&v133); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v83); v84 = *(_QWORD *)v83; v85 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v132, (float)((float)(v129 * 0.5) - 50.0) - 30.0, (float)(v130 * 0.5) - 70.0); cocos2d::CCNode::convertToNodeSpace(v85, v136, v86); (*(void (__fastcall **)(char *, __int64))(v84 + 184))(v83, v87); v89 = (cocos2d::CCArray *)cocos2d::CCArray::create(v88); v132[0] = &v133; v134 = 12; v135 = 15; strcpy((char *)&v133, "Friends\nOnly"); BYTE13(v133) = 0; HIWORD(v133) = 0; v90 = *(_BYTE *)(*(_QWORD *)(a1 + 664) + 394LL); v91 = *(_QWORD *)(a1 + 584); v92 = (float)(v130 * 0.5) - 70.0; v93 = (float)(v129 * 0.5) + 100.0; v94 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, 8.0, 0.0); v96 = v95; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v93, v92); v98 = GameToolbox::createToggleButton( (const char *)&v133, (__int64)ShareListLayer::onUnlisted, v90, v94, v97, a1, v91, 0.80000001, 0.40000001, 0.0, v96, (const char *)&qword_140704F78, 0, 0, v89); *(_QWORD *)(a1 + 672) = v98; (*(void (__fastcall **)(cocos2d::CCMenuItem *, __int64))(*(_QWORD *)v98 + 64LL))(v98, 1); *(_QWORD *)(a1 + 680) = cocos2d::CCArray::objectAtIndex(v89, 1u); v132[0] = &v133; v133 = 0; v134 = 0; v135 = 0; *(_QWORD *)&v133 = sub_14003D460(0xC0u); v134 = 179; v135 = 191; strcpy( (char *)v133, "Makes it so that your list can only be found by friends who search for the exact ID. It will n" "ot be visible on your profile, from search, or anywhere else."); Buf2 = 0; v141 = 4; v142 = 15; strcpy((char *)&Buf2, "Info"); v99 = InfoAlertButton::create((__int64)&Buf2, (__int64)&v133); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v99); v100 = *(_QWORD *)v99; v101 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v132, (float)((float)(v129 * 0.5) + 100.0) - 30.0, (float)(v130 * 0.5) - 70.0); cocos2d::CCNode::convertToNodeSpace(v101, v136, v102); (*(void (__fastcall **)(char *, __int64))(v100 + 184))(v99, v103); v104 = *(_QWORD *)(a1 + 552); v105 = *(_QWORD *)(a1 + 584); v106 = (float)(v130 * 0.5) - 14.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, (float)(v129 * 0.5) - 180.0, (float)(v130 * 0.5) - 50.0); NotifyToggles = GameToolbox::createNotifyToggles( (struct cocos2d::CCLabelBMFont **)&Buf2, v105, v104, a1, (__int64)ShareListLayer::onNotifyFriends, (__int64)ShareListLayer::onNotifyFollowers, v107, 38.0, v106); v109 = *((_OWORD *)NotifyToggles + 1); v110 = *((_OWORD *)NotifyToggles + 2); v111 = *((_OWORD *)NotifyToggles + 3); *(_OWORD *)(a1 + 688) = *(_OWORD *)NotifyToggles; *(_OWORD *)(a1 + 704) = v109; *(_OWORD *)(a1 + 720) = v110; *(_OWORD *)(a1 + 736) = v111; ShareListLayer::updateUnlistedF(a1); v112 = *(_DWORD *)(*(_QWORD *)(a1 + 664) + 360LL); if ( v112 ) { if ( v112 <= 0xA ) { if ( v112 == 6 || v112 == 7 ) { ++v112; } else if ( v112 == 8 ) { v112 = 6; } } else { v112 = 0; } v113 = cocos2d::CCString::createWithFormat("diffIcon_%02d_btn_001.png", v112); CString = cocos2d::CCString::getCString(v113); v148 = 0; v149 = 0; do ++v14; while ( CString[v14] ); sub_14003D230(&v148, CString, v14); } else { v148 = 0; v149 = 0; *(_QWORD *)&v148 = sub_14003D460(0x20u); v149 = _mm_load_si128((const __m128i *)&xmmword_140836690); strcpy((char *)v148, "diffIcon_auto_btn_001.png"); } v115 = (const char *)&v148; if ( v149.m128i_i64[1] > 0xFuLL ) v115 = (const char *)v148; v116 = cocos2d::CCSprite::createWithSpriteFrameName(v115); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v116, 1); v117 = *(_QWORD *)v116; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, (float)(v129 * 0.5) - 50.0, (float)(v130 * 0.5) - 25.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v117 + 184))(v116, v118); v119 = cocos2d::CCString::createWithFormat( "%i Levels", (__int64)(*(_QWORD *)(*(_QWORD *)(a1 + 664) + 328LL) - *(_QWORD *)(*(_QWORD *)(a1 + 664) + 320LL)) >> 2); v120 = cocos2d::CCString::getCString(v119); v121 = cocos2d::CCLabelBMFont::create(v120, "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v121 + 160LL))(v121); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v121, 1); v122 = *(_QWORD *)v121; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v122 + 288))(v121, v123); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v132, 30.0, 0.0); v125 = v124; v126 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v116 + 200LL))(v116); cocos2d::CCPoint::operator+(v126, &v131, v125); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int128 **))(*(_QWORD *)v121 + 184LL))(v121, &v131); sub_14003D310((__int64)&v148); if ( v145 > 0xF ) { v127 = Buf1[0]; if ( v145 + 1 >= 0x1000 ) { v127 = *((void **)Buf1[0] - 1); if ( (unsigned __int64)((char *)Buf1[0] - (char *)v127 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v127); } v144 = 0; v145 = 15; LOBYTE(Buf1[0]) = 0; if ( si128.m128i_i64[1] > 0xFuLL ) { v128 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v128 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v128 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v128); } return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source