// // DeathTrackerPopup::buildList from 0x140109950 to 0x14010c231 (10465 bytes) // // 3 xrefs: // > DeathTrackerPopup::refreshView @ 0x140107d48 // > DeathTrackerPopup::setView @ 0x14010de09 // > @ 0x140915a88 // // 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:47 +0000 // // Hidden C++ exception states: #wind=17 void __fastcall DeathTrackerPopup::buildList(__int64 a1) { __int64 v2; // rbx __int64 v3; // rax __int64 v4; // r15 __int64 v5; // rcx __int64 v6; // rax __int64 v7; // rdi __int64 v8; // rbx __int64 v9; // rax __int64 v10; // rbx __int64 v11; // rax __int64 v12; // rsi struct cocos2d::CCLabelBMFont *v13; // rdi __int64 v14; // rbx __int64 v15; // rax __int64 v16; // rbx __int64 v17; // rax int v18; // eax __int64 v19; // rsi struct cocos2d::CCLabelBMFont *v20; // rdi __int64 v21; // rbx __int64 v22; // rax __int64 v23; // rbx __int64 v24; // rax void *v25; // rcx __int64 v26; // rsi struct cocos2d::CCLabelBMFont *v27; // rdi __int64 v28; // rbx __int64 v29; // rax __int64 v30; // rbx __int64 v31; // rax __int64 v32; // rsi struct cocos2d::CCLabelBMFont *v33; // rdi __int64 v34; // rbx __int64 v35; // rax __int64 v36; // rbx __int64 v37; // rax void *v38; // rcx __int64 v39; // rsi struct cocos2d::CCLabelBMFont *v40; // rdi __int64 v41; // rbx __int64 v42; // rax __int64 v43; // rbx __int64 v44; // rax void *v45; // rcx __int64 v46; // rsi struct cocos2d::CCLabelBMFont *v47; // rdi __int64 v48; // rbx __int64 v49; // rax __int64 v50; // rbx __int64 v51; // rax __int64 v52; // rsi struct cocos2d::CCLabelBMFont *v53; // rdi __int64 v54; // rbx __int64 v55; // rax __int64 v56; // rbx __int64 v57; // rax __int64 v58; // rsi struct cocos2d::CCLabelBMFont *v59; // rdi __int64 v60; // rbx __int64 v61; // rax __int64 v62; // rbx __int64 v63; // rax void *v64; // rcx __int64 v65; // rsi struct cocos2d::CCLabelBMFont *v66; // rdi __int64 v67; // rbx __int64 v68; // rax __int64 v69; // rbx __int64 v70; // rax unsigned int *v71; // r12 __int64 v72; // rdx unsigned __int8 v73; // cl int v74; // eax __int64 v75; // r13 unsigned int *v76; // rax __int64 v77; // rcx _QWORD *v78; // rax __int64 v79; // rcx __int64 v80; // rcx __int64 v81; // rdx unsigned __int64 v82; // rsi __int64 v83; // r8 __int64 v84; // r8 __int64 v85; // rcx unsigned __int64 v86; // rdi __int64 v87; // rbx __int64 v88; // rax _DWORD *v89; // rax void **v90; // rcx __int64 v91; // r8 __int64 v92; // rdi __int64 v93; // rbx unsigned __int64 v94; // rcx _BYTE *v95; // r8 int *v96; // rdx __int64 v97; // rax __int64 v98; // rcx __int64 v99; // rbx unsigned __int64 v100; // rsi __int64 v101; // r14 void *v102; // r15 __int64 v103; // rax __int64 v104; // rcx int v105; // edx _DWORD *v106; // rdi _QWORD *v107; // rax _DWORD *v108; // rax _QWORD *v109; // r14 __int64 v110; // rdx unsigned __int8 v111; // cl int v112; // eax _OWORD *v113; // rax __int64 v114; // rcx unsigned int v115; // ecx unsigned int *v116; // r8 signed __int64 v117; // r9 __int64 v118; // r10 unsigned int v119; // ecx unsigned int v120; // edx unsigned int v121; // ecx unsigned int v122; // edx unsigned int v123; // ecx unsigned int v124; // edx unsigned int v125; // ecx unsigned int v126; // edx unsigned int v127; // ecx float v128; // xmm9_4 int v129; // edi __int64 v130; // rcx int v131; // eax int v132; // esi signed __int64 v133; // r14 __int16 v134; // r13 int v135; // r15d cocos2d::CCString *v136; // rax const char *CString; // rax size_t v138; // r8 void **v139; // rcx struct cocos2d::CCLabelBMFont *v140; // rdi __int64 v141; // rbx __int64 v142; // rax __int64 v143; // rbx __int64 v144; // rax void *v145; // rcx cocos2d::CCString *v146; // rax const char *v147; // rax size_t v148; // r8 void **v149; // rcx struct cocos2d::CCLabelBMFont *v150; // rdi __int64 v151; // rbx __int64 v152; // rax __int64 v153; // rbx __int64 v154; // rax void *v155; // rcx cocos2d::CCString *v156; // rax const char *v157; // rax size_t v158; // r8 void **v159; // rcx struct cocos2d::CCLabelBMFont *v160; // rdi __int64 v161; // rbx __int64 v162; // rax __int64 v163; // rbx __int64 v164; // rax void *v165; // rcx _BYTE *v166; // rax __int16 v167; // bx char v168; // di cocos2d::CCString *v169; // rax const char *v170; // rax size_t v171; // r8 void **v172; // rcx struct cocos2d::CCLabelBMFont *v173; // rdi __int64 v174; // rbx __int64 v175; // rax __int64 v176; // rbx __int64 v177; // rax void *v178; // rcx _QWORD *v179; // rdi __int16 v180; // r13 __int64 v181; // r12 int v182; // r8d __int64 *v183; // r9 __int64 *v184; // rax __int64 **v185; // rdx __int64 *n; // rcx __int64 *ii; // rdx cocos2d::CCString *v188; // rax const char *v189; // rax struct cocos2d::CCLabelBMFont *v190; // rsi __int64 v191; // rbx __int64 v192; // rax __int64 v193; // rbx __int64 v194; // rax float v195; // xmm9_4 _QWORD *v196; // rax int v197; // r14d __int64 *v198; // rsi __int64 *v199; // rax __int64 *v200; // rdx __int64 *v201; // rcx __int64 *jj; // rcx __int64 *kk; // rax __int64 *mm; // rax __int64 *nn; // rax __int64 v206; // rax __int64 *i1; // rax __int64 *i2; // rax __int64 **v209; // rax __int64 *v210; // rbx int v211; // esi float v212; // xmm6_4 float v213; // xmm6_4 int v214; // r15d cocos2d::CCString *v215; // rax const char *v216; // rax size_t v217; // r8 void **v218; // rcx struct cocos2d::CCLabelBMFont *v219; // r14 __int64 v220; // rsi __int64 v221; // rax __int64 v222; // rsi __int64 v223; // rax cocos2d::CCString *v224; // rax const char *v225; // rax size_t v226; // r8 void **v227; // rcx struct cocos2d::CCLabelBMFont *v228; // r14 __int64 v229; // rsi __int64 v230; // rax __int64 v231; // rsi __int64 v232; // rax _BYTE *v233; // rax __int16 v234; // si char v235; // r14 cocos2d::CCString *v236; // rax const char *v237; // rax size_t v238; // r8 void **v239; // rcx struct cocos2d::CCLabelBMFont *v240; // r14 __int64 v241; // rsi __int64 v242; // rax __int64 v243; // rsi __int64 v244; // rax void *v245; // rcx __int64 **v246; // rcx __int64 *i3; // rax __int64 *i4; // rcx __int64 **v249; // rcx __int64 i5; // rax __int64 *i6; // rcx unsigned int *v252; // rsi __int64 v253; // rax unsigned __int8 v254; // cl int v255; // eax unsigned int *v256; // rax _QWORD *v257; // r8 _QWORD *v258; // rcx _QWORD *v259; // rdx _QWORD *v260; // rax __int64 **v261; // r8 __int64 i; // rdx __int64 *j; // r8 __int64 **v264; // rdx __int64 k; // rax __int64 *m; // rdx int v267; // r14d signed __int64 v268; // r12 __int16 v269; // r13 int v270; // r15d cocos2d::CCString *v271; // rax const char *v272; // rax size_t v273; // r8 void **v274; // rcx struct cocos2d::CCLabelBMFont *v275; // rdi __int64 v276; // rbx __int64 v277; // rax __int64 v278; // rbx __int64 v279; // rax void *v280; // rcx cocos2d::CCString *v281; // rax const char *v282; // rax size_t v283; // r8 void **v284; // rcx struct cocos2d::CCLabelBMFont *v285; // rdi __int64 v286; // rbx __int64 v287; // rax __int64 v288; // rbx __int64 v289; // rax void *v290; // rcx cocos2d::CCString *v291; // rax const char *v292; // rax size_t v293; // r8 void **v294; // rcx struct cocos2d::CCLabelBMFont *v295; // rdi __int64 v296; // rbx __int64 v297; // rax __int64 v298; // rbx __int64 v299; // rax cocos2d::CCString *v300; // rax const char *v301; // rax size_t v302; // r8 void **v303; // rcx struct cocos2d::CCLabelBMFont *v304; // rdi __int64 v305; // rbx __int64 v306; // rax __int64 v307; // rbx __int64 v308; // rax void *v309; // rcx void **v310; // rcx struct cocos2d::CCLabelBMFont *v311; // rdi __int64 v312; // rbx __int64 v313; // rax __int64 v314; // rbx __int64 v315; // rax void *v316; // rcx __int64 v317; // rbx __int64 v318; // rcx __int16 v319; // [rsp+38h] [rbp-D0h] BYREF char v320; // [rsp+3Ah] [rbp-CEh] char v321; // [rsp+48h] [rbp-C0h] __int16 v322; // [rsp+58h] [rbp-B0h] BYREF char v323; // [rsp+5Ah] [rbp-AEh] char v324[16]; // [rsp+68h] [rbp-A0h] BYREF __int16 v325; // [rsp+78h] [rbp-90h] BYREF char v326; // [rsp+7Ah] [rbp-8Eh] __int16 v327; // [rsp+88h] [rbp-80h] BYREF char v328; // [rsp+8Ah] [rbp-7Eh] __int16 v329; // [rsp+98h] [rbp-70h] __int128 v330; // [rsp+A0h] [rbp-68h] BYREF void *v331; // [rsp+B0h] [rbp-58h] BYREF __int64 v332; // [rsp+B8h] [rbp-50h] __int128 v333; // [rsp+C8h] [rbp-40h] BYREF __int64 v334; // [rsp+D8h] [rbp-30h] __int64 v335; // [rsp+E8h] [rbp-20h] __int128 v336; // [rsp+F0h] [rbp-18h] BYREF __int64 v337; // [rsp+100h] [rbp-8h] _BYTE v338[4]; // [rsp+108h] [rbp+0h] BYREF int v339; // [rsp+10Ch] [rbp+4h] int v340; // [rsp+110h] [rbp+8h] BYREF int v341; // [rsp+114h] [rbp+Ch] int v342; // [rsp+118h] [rbp+10h] BYREF int v343; // [rsp+11Ch] [rbp+14h] _DWORD v344[2]; // [rsp+120h] [rbp+18h] BYREF char v345[8]; // [rsp+128h] [rbp+20h] BYREF __int128 v346; // [rsp+130h] [rbp+28h] BYREF _QWORD *v347; // [rsp+140h] [rbp+38h] char v348[8]; // [rsp+148h] [rbp+40h] BYREF char v349[8]; // [rsp+150h] [rbp+48h] BYREF char v350[8]; // [rsp+158h] [rbp+50h] BYREF char v351[8]; // [rsp+160h] [rbp+58h] BYREF char v352[8]; // [rsp+168h] [rbp+60h] BYREF void *v353[2]; // [rsp+170h] [rbp+68h] BYREF __m128i si128; // [rsp+180h] [rbp+78h] void *v355[2]; // [rsp+190h] [rbp+88h] BYREF __m128i v356; // [rsp+1A0h] [rbp+98h] void *Block[2]; // [rsp+1B0h] [rbp+A8h] BYREF __m128i v358; // [rsp+1C0h] [rbp+B8h] v335 = a1; v2 = *(_QWORD *)(a1 + 688); ScrollableContentLayer::ensureOwnedContentNode((_QWORD *)v2); ScrollableContentLayer::unmountAllRows(v2); *(_QWORD *)(v2 + 576) = 0; *(_QWORD *)(v2 + 584) = 1115684864; *(_DWORD *)(v2 + 592) = 0; v3 = *(_QWORD *)(v2 + 600); if ( v3 != *(_QWORD *)(v2 + 608) ) *(_QWORD *)(v2 + 608) = v3; v4 = *(_QWORD *)(*(_QWORD *)(a1 + 688) + 416LL); *(_QWORD *)&v330 = v4; (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 568LL))(v4); v329 = -14081; v322 = -14136; v5 = *(_QWORD *)(a1 + 800); if ( !v5 ) goto LABEL_34; (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 568LL))(v5); v6 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v336, 0.0, 0.0, 40.0, 40.0); v7 = cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v6); v8 = *(_QWORD *)v7; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v324, *(float *)(a1 + 696) - 4.0, 18.0); (*(void (__fastcall **)(__int64, __int64))(v8 + 312))(v7, v9); v319 = 6189; v320 = 14; (**(void (__fastcall ***)(__int64, __int16 *))(v7 + 320))(v7 + 320, &v319); v10 = *(_QWORD *)v7; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, *(float *)(a1 + 696) * 0.5, 0.0); (*(void (__fastcall **)(__int64, __int64))(v10 + 184))(v7, v11); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 800) + 456LL))( *(_QWORD *)(a1 + 800), v7, 0xFFFFFFFFLL); *(_OWORD *)v353 = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_140836520); LOWORD(v353[0]) = 37; v319 = -1; v320 = -1; v12 = *(_QWORD *)(a1 + 800); v13 = cocos2d::CCLabelBMFont::create((const char *)v353, "goldFont.fnt"); v14 = *(_QWORD *)v13; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v14 + 288))(v13, v15); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v13 + 160LL))(v13); (**((void (__fastcall ***)(__int64, __int16 *))v13 + 46))((__int64)v13 + 368, &v319); v16 = *(_QWORD *)v13; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 60.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v16 + 184))(v13, v17); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v12 + 464LL))(v12, v13); sub_14003D310((__int64)v353); v18 = *(_DWORD *)(a1 + 740); if ( v18 ) { if ( v18 == 1 ) { *(_OWORD *)Block = 0; v358 = _mm_load_si128((const __m128i *)&xmmword_140836570); strcpy((char *)Block, "Deaths"); v319 = -1; v320 = -1; v39 = *(_QWORD *)(a1 + 800); v40 = cocos2d::CCLabelBMFont::create((const char *)Block, "goldFont.fnt"); v41 = *(_QWORD *)v40; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v41 + 288))(v40, v42); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v40 + 160LL))(v40); (**((void (__fastcall ***)(__int64, __int16 *))v40 + 46))((__int64)v40 + 368, &v319); v43 = *(_QWORD *)v40; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 160.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v43 + 184))(v40, v44); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v39 + 464LL))(v39, v40); if ( v358.m128i_i64[1] > 0xFuLL ) { v45 = Block[0]; if ( (unsigned __int64)(v358.m128i_i64[1] + 1) >= 0x1000 ) { v45 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v45 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v45); } *(_OWORD *)v353 = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_140836550); strcpy((char *)v353, "Rate"); v319 = -1; v320 = -1; v46 = *(_QWORD *)(a1 + 800); v47 = cocos2d::CCLabelBMFont::create((const char *)v353, "goldFont.fnt"); v48 = *(_QWORD *)v47; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v48 + 288))(v47, v49); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v47 + 160LL))(v47); (**((void (__fastcall ***)(__int64, __int16 *))v47 + 46))((__int64)v47 + 368, &v319); v50 = *(_QWORD *)v47; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 250.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v50 + 184))(v47, v51); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v46 + 464LL))(v46, v47); if ( si128.m128i_i64[1] <= 0xFuLL ) goto LABEL_34; v38 = v353[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v38 = *((void **)v353[0] - 1); if ( (unsigned __int64)((char *)v353[0] - (char *)v38 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } } else { *(_OWORD *)v353 = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_140836550); strcpy((char *)v353, "Full"); v319 = -1; v320 = -1; v52 = *(_QWORD *)(a1 + 800); v53 = cocos2d::CCLabelBMFont::create((const char *)v353, "goldFont.fnt"); v54 = *(_QWORD *)v53; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v54 + 288))(v53, v55); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v53 + 160LL))(v53); (**((void (__fastcall ***)(__int64, __int16 *))v53 + 46))((__int64)v53 + 368, &v319); v56 = *(_QWORD *)v53; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 160.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v56 + 184))(v53, v57); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v52 + 464LL))(v52, v53); sub_14003D310((__int64)v353); *(_OWORD *)v353 = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_140836530); strcpy((char *)v353, "SP"); v319 = -1; v320 = -1; v58 = *(_QWORD *)(a1 + 800); v59 = cocos2d::CCLabelBMFont::create((const char *)v353, "goldFont.fnt"); v60 = *(_QWORD *)v59; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v60 + 288))(v59, v61); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v59 + 160LL))(v59); (**((void (__fastcall ***)(__int64, __int16 *))v59 + 46))((__int64)v59 + 368, &v319); v62 = *(_QWORD *)v59; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 250.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v62 + 184))(v59, v63); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v58 + 464LL))(v58, v59); if ( si128.m128i_i64[1] > 0xFuLL ) { v64 = v353[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v64 = *((void **)v353[0] - 1); if ( (unsigned __int64)((char *)v353[0] - (char *)v64 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v64); } *(_OWORD *)Block = 0; v358 = _mm_load_si128((const __m128i *)&xmmword_140836560); strcpy((char *)Block, "Total"); v319 = -1; v320 = -1; v65 = *(_QWORD *)(a1 + 800); v66 = cocos2d::CCLabelBMFont::create((const char *)Block, "goldFont.fnt"); v67 = *(_QWORD *)v66; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v67 + 288))(v66, v68); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v66 + 160LL))(v66); (**((void (__fastcall ***)(__int64, __int16 *))v66 + 46))((__int64)v66 + 368, &v319); v69 = *(_QWORD *)v66; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 330.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v69 + 184))(v66, v70); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v65 + 464LL))(v65, v66); if ( v358.m128i_i64[1] <= 0xFuLL ) goto LABEL_34; v38 = Block[0]; if ( (unsigned __int64)(v358.m128i_i64[1] + 1) >= 0x1000 ) { v38 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v38 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } } } else { *(_OWORD *)Block = 0; v358 = _mm_load_si128((const __m128i *)&xmmword_140836570); strcpy((char *)Block, "Deaths"); v319 = -1; v320 = -1; v19 = *(_QWORD *)(a1 + 800); v20 = cocos2d::CCLabelBMFont::create((const char *)Block, "goldFont.fnt"); v21 = *(_QWORD *)v20; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v21 + 288))(v20, v22); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v20 + 160LL))(v20); (**((void (__fastcall ***)(__int64, __int16 *))v20 + 46))((__int64)v20 + 368, &v319); v23 = *(_QWORD *)v20; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 160.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v23 + 184))(v20, v24); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v19 + 464LL))(v19, v20); if ( v358.m128i_i64[1] > 0xFuLL ) { v25 = Block[0]; if ( (unsigned __int64)(v358.m128i_i64[1] + 1) >= 0x1000 ) { v25 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v25 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v25); } Block[1] = nullptr; v358 = _mm_load_si128((const __m128i *)&xmmword_140836580); Block[0] = (void *)0x64656863616552LL; v319 = -1; v320 = -1; v26 = *(_QWORD *)(a1 + 800); v27 = cocos2d::CCLabelBMFont::create((const char *)Block, "goldFont.fnt"); v28 = *(_QWORD *)v27; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v28 + 288))(v27, v29); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v27 + 160LL))(v27); (**((void (__fastcall ***)(__int64, __int16 *))v27 + 46))((__int64)v27 + 368, &v319); v30 = *(_QWORD *)v27; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 250.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v30 + 184))(v27, v31); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v26 + 464LL))(v26, v27); sub_14003D310((__int64)Block); *(_OWORD *)v353 = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_140836550); strcpy((char *)v353, "Rate"); v319 = -1; v320 = -1; v32 = *(_QWORD *)(a1 + 800); v33 = cocos2d::CCLabelBMFont::create((const char *)v353, "goldFont.fnt"); v34 = *(_QWORD *)v33; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v34 + 288))(v33, v35); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v33 + 160LL))(v33); (**((void (__fastcall ***)(__int64, __int16 *))v33 + 46))((__int64)v33 + 368, &v319); v36 = *(_QWORD *)v33; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v324, 330.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v36 + 184))(v33, v37); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v32 + 464LL))(v32, v33); if ( si128.m128i_i64[1] <= 0xFuLL ) goto LABEL_34; v38 = v353[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v38 = *((void **)v353[0] - 1); if ( (unsigned __int64)((char *)v353[0] - (char *)v38 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } } j_j_free(v38); LABEL_34: v339 = 0; v71 = (unsigned int *)sub_14003D460(0x194u); Block[0] = v71; v358.m128i_i64[0] = (__int64)(v71 + 101); v340 = 0; v72 = 0; while ( 1 ) { v73 = *((_BYTE *)&v339 + v72++); if ( v73 != *((_BYTE *)&v340 + v72 - 1) ) break; if ( v72 == 4 ) { v74 = 0; goto LABEL_39; } } v74 = v73 < *((_BYTE *)&v340 + v72 - 1) ? -1 : 1; LABEL_39: v75 = 3; if ( v74 ) { v76 = v71; v77 = 3; do { *(_OWORD *)v76 = 0; *((_OWORD *)v76 + 1) = 0; *((_OWORD *)v76 + 2) = 0; *((_OWORD *)v76 + 3) = 0; *((_OWORD *)v76 + 4) = 0; *((_OWORD *)v76 + 5) = 0; *((_OWORD *)v76 + 6) = 0; v76 += 32; *((_OWORD *)v76 - 1) = 0; --v77; } while ( v77 ); *(_OWORD *)v76 = 0; v76[4] = 0; } else { memset(v71, 0, 0x194u); } Block[1] = v71 + 101; v331 = nullptr; v332 = 0; v78 = operator new(0x38u); *v78 = v78; v78[1] = v78; v78[2] = v78; *((_WORD *)v78 + 12) = 257; v331 = v78; v79 = *(_QWORD *)(a1 + 680); if ( v79 ) { if ( *(_BYTE *)(a1 + 732) ) { v333 = 0; v334 = 0; GJGameLevel::dtExpandOrder(v79 + 1720, &v333); v80 = *((_QWORD *)&v333 + 1); v81 = v333; if ( (unsigned __int64)((__int64)(*((_QWORD *)&v333 + 1) - v333) >> 2) >= 2 ) { v82 = 2; v83 = 0; do { if ( *(_DWORD *)(v81 + v83) < 0x64u ) { v71[*(int *)(v81 + v83)] += *(_DWORD *)(v81 + v83 + 4); v80 = *((_QWORD *)&v333 + 1); v81 = v333; } v83 += 8; v82 += 2LL; } while ( v82 <= (v80 - v81) >> 2 ); } v71[100] += *(_DWORD *)(*(_QWORD *)(a1 + 680) + 1864LL); v336 = 0; v337 = 0; GJGameLevel::dtExpandOrder(*(_QWORD *)(a1 + 680) + 1752LL, &v336); v84 = *((_QWORD *)&v336 + 1); v85 = v336; if ( (unsigned __int64)((__int64)(*((_QWORD *)&v336 + 1) - v336) >> 2) >= 3 ) { v86 = 3; v87 = 0; do { *(_DWORD *)v324 = *(_DWORD *)(v85 + v87 + 4); if ( *(_DWORD *)v324 <= 0x63u ) { v88 = sub_14010EDC0(&v331); v89 = (_DWORD *)sub_14010ECC0(v88, v324); *v89 += *(_DWORD *)(v336 + v87 + 8); v84 = *((_QWORD *)&v336 + 1); v85 = v336; } v87 += 12; v86 += 3LL; } while ( v86 <= (v84 - v85) >> 2 ); } sub_140069730((__int64)&v336); v90 = (void **)&v333; } else { v91 = *(int *)(a1 + 736); if ( (int)v91 < 0 ) goto LABEL_81; v92 = *(_QWORD *)(a1 + 752); if ( (int)v91 >= (int)((*(_QWORD *)(a1 + 760) - v92) / 80) ) goto LABEL_81; v93 = 80 * v91; *(_OWORD *)v355 = 0; v356.m128i_i64[0] = 0; GJGameLevel::dtExpandOrder(80 * v91 + v92 + 8, v355); v94 = 0; v95 = v355[1]; v96 = (int *)v355[0]; if ( ((char *)v355[1] - (char *)v355[0]) >> 2 ) { do { v97 = v96[v94]; if ( (unsigned int)v97 <= 0x64 ) { ++v71[v97]; v95 = v355[1]; v96 = (int *)v355[0]; } ++v94; } while ( v94 < (v95 - (_BYTE *)v96) >> 2 ); } v346 = 0; v347 = nullptr; GJGameLevel::dtExpandOrder(v93 + v92 + 40, &v346); v98 = *((_QWORD *)&v346 + 1); v99 = v346; if ( (unsigned __int64)((__int64)(*((_QWORD *)&v346 + 1) - v346) >> 2) >= 2 ) { v100 = 2; v101 = 0; do { *(_DWORD *)v324 = *(_DWORD *)(v101 + v99 + 4); if ( *(_DWORD *)v324 <= 0x63u ) { v102 = v331; v103 = *((_QWORD *)v331 + 1); *(_QWORD *)&v333 = v103; DWORD2(v333) = 0; v104 = (__int64)v331; if ( !*(_BYTE *)(v103 + 25) ) { v105 = *(_DWORD *)(v101 + v99); do { *(_QWORD *)&v333 = v103; if ( *(_DWORD *)(v103 + 32) >= v105 ) { DWORD2(v333) = 1; v104 = v103; } else { DWORD2(v333) = 0; v103 += 16; } v103 = *(_QWORD *)v103; } while ( !*(_BYTE *)(v103 + 25) ); } if ( *(_BYTE *)(v104 + 25) || *(_DWORD *)(v101 + v99) < *(_DWORD *)(v104 + 32) ) { if ( v332 == 0x492492492492492LL ) sub_14005BD90(v104, 0x492492492492492LL, 0); *(_QWORD *)&v336 = &v331; *((_QWORD *)&v336 + 1) = 0; v106 = operator new(0x38u); *((_QWORD *)&v336 + 1) = v106; v106[8] = *(_DWORD *)(v101 + v99); *((_QWORD *)v106 + 5) = 0; *((_QWORD *)v106 + 6) = 0; v107 = operator new(0x28u); *v107 = v107; v107[1] = v107; v107[2] = v107; *((_WORD *)v107 + 12) = 257; *((_QWORD *)v106 + 5) = v107; *(_QWORD *)v106 = v102; *((_QWORD *)v106 + 1) = v102; *((_QWORD *)v106 + 2) = v102; *((_WORD *)v106 + 12) = 0; *((_QWORD *)&v336 + 1) = 0; v104 = sub_14006A770(&v331, (__int64)&v333, (__int64)v106); } v108 = (_DWORD *)sub_14010ECC0(v104 + 40, v324); ++*v108; v98 = *((_QWORD *)&v346 + 1); v99 = v346; } v101 += 8; v100 += 2LL; } while ( v100 <= (v98 - v99) >> 2 ); v4 = v330; } sub_140069730((__int64)&v346); v90 = v355; } sub_140069730((__int64)v90); } LABEL_81: v341 = 0; v109 = sub_14003D460(0x190u); *(_QWORD *)&v346 = v109; v347 = v109 + 50; v342 = 0; v110 = 0; while ( 1 ) { v111 = *((_BYTE *)&v341 + v110++); if ( v111 != *((_BYTE *)&v342 + v110 - 1) ) break; if ( v110 == 4 ) { v112 = 0; goto LABEL_86; } } v112 = v111 < *((_BYTE *)&v342 + v110 - 1) ? -1 : 1; LABEL_86: if ( v112 ) { v113 = v109; v114 = 3; do { *v113 = 0; v113[1] = 0; v113[2] = 0; v113[3] = 0; v113[4] = 0; v113[5] = 0; v113[6] = 0; v113 += 8; *(v113 - 1) = 0; --v114; } while ( v114 ); *v113 = 0; } else { memset(v109, 0, 0x190u); } *((_QWORD *)&v346 + 1) = v109 + 50; v115 = v71[100]; v116 = (unsigned int *)(v109 + 49); v117 = (char *)v71 - (char *)v109; v118 = 10; do { v119 = *(unsigned int *)((char *)v116 + v117 + 4) + v115; v116[1] = v119; v120 = v119 + *(unsigned int *)((char *)v116 + v117); *v116 = v120; v121 = v120 + *(unsigned int *)((char *)v116 + v117 - 4); *(v116 - 1) = v121; v122 = v121 + *(unsigned int *)((char *)v116 + v117 - 8); *(v116 - 2) = v122; v123 = v122 + *(unsigned int *)((char *)v116 + v117 - 12); *(v116 - 3) = v123; v124 = v123 + *(unsigned int *)((char *)v116 + v117 - 16); *(v116 - 4) = v124; v125 = v124 + *(unsigned int *)((char *)v116 + v117 - 20); *(v116 - 5) = v125; v126 = v125 + *(unsigned int *)((char *)v116 + v117 - 24); *(v116 - 6) = v126; v127 = v126 + *(unsigned int *)((char *)v116 + v117 - 28); *(v116 - 7) = v127; v115 = *(unsigned int *)((char *)v116 + v117 - 32) + v127; *(v116 - 8) = v115; v116 -= 10; --v118; } while ( v118 ); v128 = -34.0; v129 = 0; *(_DWORD *)v324 = 0; v321 = 0; v130 = v335; v131 = *(_DWORD *)(v335 + 740); if ( !v131 ) { v132 = 0; v133 = (char *)v109 - (char *)v71; v134 = v322; do { if ( (int)*v71 > 0 ) { v321 = 1; sub_140104240(v4, *(float *)(v130 + 696), v128, v129); *(_DWORD *)v324 = v129 + 1; v135 = (int)roundf((float)((float)(int)*v71 * 100.0) / (float)*(int *)((char *)v71 + v133)); v136 = cocos2d::CCString::createWithFormat("%i%%", v132); CString = cocos2d::CCString::getCString(v136); *(_OWORD *)v355 = 0; v356 = 0; v138 = -1; do ++v138; while ( CString[v138] ); sub_14003D230(v355, CString, v138); v322 = v329; v323 = 120; v139 = v355; if ( v356.m128i_i64[1] > 0xFuLL ) v139 = (void **)v355[0]; v140 = cocos2d::CCLabelBMFont::create((const char *)v139, (const char *)&qword_140704F78); v141 = *(_QWORD *)v140; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v345, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v141 + 288))(v140, v142); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v140 + 160LL))(v140); (**((void (__fastcall ***)(__int64, __int16 *))v140 + 46))((__int64)v140 + 368, &v322); v143 = *(_QWORD *)v140; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v348, 60.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v143 + 184))(v140, v144); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v140); if ( v356.m128i_i64[1] > 0xFuLL ) { v145 = v355[0]; if ( (unsigned __int64)(v356.m128i_i64[1] + 1) >= 0x1000 ) { v145 = *((void **)v355[0] - 1); if ( (unsigned __int64)((char *)v355[0] - (char *)v145 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v145); } v146 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *v71); v147 = cocos2d::CCString::getCString(v146); *(_OWORD *)v355 = 0; v356 = 0; v148 = -1; do ++v148; while ( v147[v148] ); sub_14003D230(v355, v147, v148); v319 = -1; v320 = -1; v149 = v355; if ( v356.m128i_i64[1] > 0xFuLL ) v149 = (void **)v355[0]; v150 = cocos2d::CCLabelBMFont::create((const char *)v149, (const char *)&qword_140704F78); v151 = *(_QWORD *)v150; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v349, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v151 + 288))(v150, v152); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v150 + 160LL))(v150); (**((void (__fastcall ***)(__int64, __int16 *))v150 + 46))((__int64)v150 + 368, &v319); v153 = *(_QWORD *)v150; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v350, 160.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v153 + 184))(v150, v154); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v150); if ( v356.m128i_i64[1] > 0xFuLL ) { v155 = v355[0]; if ( (unsigned __int64)(v356.m128i_i64[1] + 1) >= 0x1000 ) { v155 = *((void **)v355[0] - 1); if ( (unsigned __int64)((char *)v355[0] - (char *)v155 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v155); } v156 = cocos2d::CCString::createWithFormat("%ld", *(unsigned int *)((char *)v71 + v133)); v157 = cocos2d::CCString::getCString(v156); *(_OWORD *)v355 = 0; v356 = 0; v158 = -1; do ++v158; while ( v157[v158] ); sub_14003D230(v355, v157, v158); v325 = v134; v326 = -56; v159 = v355; if ( v356.m128i_i64[1] > 0xFuLL ) v159 = (void **)v355[0]; v160 = cocos2d::CCLabelBMFont::create((const char *)v159, (const char *)&qword_140704F78); v161 = *(_QWORD *)v160; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v351, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v161 + 288))(v160, v162); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v160 + 160LL))(v160); (**((void (__fastcall ***)(__int64, __int16 *))v160 + 46))((__int64)v160 + 368, &v325); v163 = *(_QWORD *)v160; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v352, 250.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v163 + 184))(v160, v164); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v160); if ( v356.m128i_i64[1] > 0xFuLL ) { v165 = v355[0]; if ( (unsigned __int64)(v356.m128i_i64[1] + 1) >= 0x1000 ) { v165 = *((void **)v355[0] - 1); if ( (unsigned __int64)((char *)v355[0] - (char *)v165 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v165); } v166 = sub_140104160(v338, (float)v135 / 100.0); v167 = *(_WORD *)v166; v168 = v166[2]; v169 = cocos2d::CCString::createWithFormat("%i%%", v135); v170 = cocos2d::CCString::getCString(v169); *(_OWORD *)v355 = 0; v356 = 0; v171 = -1; do ++v171; while ( v170[v171] ); sub_14003D230(v355, v170, v171); v327 = v167; v328 = v168; v172 = v355; if ( v356.m128i_i64[1] > 0xFuLL ) v172 = (void **)v355[0]; v173 = cocos2d::CCLabelBMFont::create((const char *)v172, (const char *)&qword_140704F78); v174 = *(_QWORD *)v173; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v333, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v174 + 288))(v173, v175); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v173 + 160LL))(v173); (**((void (__fastcall ***)(__int64, __int16 *))v173 + 46))((__int64)v173 + 368, &v327); v176 = *(_QWORD *)v173; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v336, 330.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v176 + 184))(v173, v177); v4 = v330; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v173); if ( v356.m128i_i64[1] > 0xFuLL ) { v178 = v355[0]; if ( (unsigned __int64)(v356.m128i_i64[1] + 1) >= 0x1000 ) { v178 = *((void **)v355[0] - 1); if ( (unsigned __int64)((char *)v355[0] - (char *)v178 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v178); } v128 = v128 + -16.0; v129 = *(_DWORD *)v324; v130 = v335; } ++v132; ++v71; } while ( v132 < 100 ); goto LABEL_274; } if ( v131 != 1 ) { v343 = 0; v252 = (unsigned int *)sub_14003D460(0x190u); v355[0] = v252; v356.m128i_i64[0] = (__int64)(v252 + 100); v344[0] = 0; v253 = 0; while ( 1 ) { v254 = *((_BYTE *)&v344[-1] + v253++); if ( v254 != *((_BYTE *)v344 + v253 - 1) ) break; if ( v253 == 4 ) { v255 = 0; goto LABEL_216; } } v255 = v254 < *((_BYTE *)v344 + v253 - 1) ? -1 : 1; LABEL_216: if ( v255 ) { v256 = v252; do { *(_OWORD *)v256 = 0; *((_OWORD *)v256 + 1) = 0; *((_OWORD *)v256 + 2) = 0; *((_OWORD *)v256 + 3) = 0; *((_OWORD *)v256 + 4) = 0; *((_OWORD *)v256 + 5) = 0; *((_OWORD *)v256 + 6) = 0; v256 += 32; *((_OWORD *)v256 - 1) = 0; --v75; } while ( v75 ); *(_OWORD *)v256 = 0; } else { memset(v252, 0, 0x190u); } v355[1] = v252 + 100; v257 = v331; v258 = *(_QWORD **)v331; if ( *(void **)v331 != v331 ) { do { v259 = (_QWORD *)v258[5]; v260 = (_QWORD *)*v259; if ( (_QWORD *)*v259 != v259 ) { do { v252[*((int *)v260 + 7)] += *((_DWORD *)v260 + 8); v261 = (__int64 **)v260[2]; if ( *((_BYTE *)v261 + 25) ) { for ( i = v260[1]; !*(_BYTE *)(i + 25); i = *(_QWORD *)(i + 8) ) { if ( v260 != *(_QWORD **)(i + 16) ) break; v260 = (_QWORD *)i; } v260 = (_QWORD *)i; } else { v260 = (_QWORD *)v260[2]; for ( j = *v261; !*((_BYTE *)j + 25); j = (__int64 *)*j ) v260 = j; } } while ( v260 != (_QWORD *)v258[5] ); v257 = v331; } v264 = (__int64 **)v258[2]; if ( *((_BYTE *)v264 + 25) ) { for ( k = v258[1]; !*(_BYTE *)(k + 25); k = *(_QWORD *)(k + 8) ) { if ( v258 != *(_QWORD **)(k + 16) ) break; v258 = (_QWORD *)k; } v258 = (_QWORD *)k; } else { v258 = (_QWORD *)v258[2]; for ( m = *v264; !*((_BYTE *)m + 25); m = (__int64 *)*m ) v258 = m; } } while ( v258 != v257 ); } v267 = 0; v268 = (char *)v71 - (char *)v252; v269 = v329; do { v270 = *v252 + *(unsigned int *)((char *)v252 + v268); if ( v270 <= 0 ) { v4 = v330; } else { v321 = 1; sub_140104240(v330, *(float *)(v335 + 696), v128, v129); *(_DWORD *)v324 = v129 + 1; v271 = cocos2d::CCString::createWithFormat("%i%%", v267); v272 = cocos2d::CCString::getCString(v271); *(_OWORD *)v353 = 0; si128 = 0; v273 = -1; do ++v273; while ( v272[v273] ); sub_14003D230(v353, v272, v273); v327 = v269; v328 = 120; v274 = v353; if ( si128.m128i_i64[1] > 0xFuLL ) v274 = (void **)v353[0]; v275 = cocos2d::CCLabelBMFont::create((const char *)v274, (const char *)&qword_140704F78); v276 = *(_QWORD *)v275; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v336, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v276 + 288))(v275, v277); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v275 + 160LL))(v275); (**((void (__fastcall ***)(__int64, __int16 *))v275 + 46))((__int64)v275 + 368, &v327); v278 = *(_QWORD *)v275; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v333, 60.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v278 + 184))(v275, v279); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v275); if ( si128.m128i_i64[1] > 0xFuLL ) { v280 = v353[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v280 = *((void **)v353[0] - 1); if ( (unsigned __int64)((char *)v353[0] - (char *)v280 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v280); } v281 = cocos2d::CCString::createWithFormat( (const char *)&word_1406ED6F8, *(unsigned int *)((char *)v252 + v268)); v282 = cocos2d::CCString::getCString(v281); *(_OWORD *)v353 = 0; si128 = 0; v283 = -1; do ++v283; while ( v282[v283] ); sub_14003D230(v353, v282, v283); v325 = -1; v326 = -1; v284 = v353; if ( si128.m128i_i64[1] > 0xFuLL ) v284 = (void **)v353[0]; v285 = cocos2d::CCLabelBMFont::create((const char *)v284, (const char *)&qword_140704F78); v286 = *(_QWORD *)v285; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v352, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v286 + 288))(v285, v287); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v285 + 160LL))(v285); (**((void (__fastcall ***)(__int64, __int16 *))v285 + 46))((__int64)v285 + 368, &v325); v288 = *(_QWORD *)v285; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v351, 160.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v288 + 184))(v285, v289); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v285); if ( si128.m128i_i64[1] > 0xFuLL ) { v290 = v353[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v290 = *((void **)v353[0] - 1); if ( (unsigned __int64)((char *)v353[0] - (char *)v290 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v290); } v291 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *v252); v292 = cocos2d::CCString::getCString(v291); *(_OWORD *)v353 = 0; si128 = 0; v293 = -1; do ++v293; while ( v292[v293] ); sub_14003D230(v353, v292, v293); v319 = -14196; v320 = -1; v294 = v353; if ( si128.m128i_i64[1] > 0xFuLL ) v294 = (void **)v353[0]; v295 = cocos2d::CCLabelBMFont::create((const char *)v294, (const char *)&qword_140704F78); v296 = *(_QWORD *)v295; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v350, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v296 + 288))(v295, v297); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v295 + 160LL))(v295); (**((void (__fastcall ***)(__int64, __int16 *))v295 + 46))((__int64)v295 + 368, &v319); v298 = *(_QWORD *)v295; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v349, 250.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v298 + 184))(v295, v299); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v295); sub_14003D310((__int64)v353); v300 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)v270); v301 = cocos2d::CCString::getCString(v300); *(_OWORD *)v353 = 0; si128 = 0; v302 = -1; do ++v302; while ( v301[v302] ); sub_14003D230(v353, v301, v302); v322 = -1; v323 = -1; v303 = v353; if ( si128.m128i_i64[1] > 0xFuLL ) v303 = (void **)v353[0]; v304 = cocos2d::CCLabelBMFont::create((const char *)v303, (const char *)&qword_140704F78); v305 = *(_QWORD *)v304; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v348, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v305 + 288))(v304, v306); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v304 + 160LL))(v304); (**((void (__fastcall ***)(__int64, __int16 *))v304 + 46))((__int64)v304 + 368, &v322); v307 = *(_QWORD *)v304; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v345, 330.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v307 + 184))(v304, v308); v4 = v330; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v330 + 464LL))(v330, v304); if ( si128.m128i_i64[1] > 0xFuLL ) { v309 = v353[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v309 = *((void **)v353[0] - 1); if ( (unsigned __int64)((char *)v353[0] - (char *)v309 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v309); } v128 = v128 + -16.0; v129 = *(_DWORD *)v324; } ++v267; ++v252; } while ( v267 < 100 ); sub_140069730((__int64)v355); LABEL_274: if ( v321 ) goto LABEL_286; goto LABEL_275; } v179 = *(_QWORD **)v331; if ( *(void **)v331 == v331 ) { LABEL_275: *(_OWORD *)v355 = 0; v356 = 0; v355[0] = sub_14003D460(0x20u); v356 = _mm_load_si128((const __m128i *)&xmmword_140836670); strcpy((char *)v355[0], "No deaths in this view."); v319 = -26986; v320 = -106; v310 = v355; if ( v356.m128i_i64[1] > 0xFuLL ) v310 = (void **)v355[0]; v311 = cocos2d::CCLabelBMFont::create((const char *)v310, "chatFont.fnt"); v312 = *(_QWORD *)v311; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v336, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v312 + 288))(v311, v313); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v311 + 160LL))(v311); (**((void (__fastcall ***)(__int64, __int16 *))v311 + 46))((__int64)v311 + 368, &v319); v314 = *(_QWORD *)v311; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v333, 12.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v314 + 184))(v311, v315); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v4 + 464LL))(v4, v311); if ( v356.m128i_i64[1] > 0xFuLL ) { v316 = v355[0]; if ( (unsigned __int64)(v356.m128i_i64[1] + 1) >= 0x1000 ) { v316 = *((void **)v355[0] - 1); if ( (unsigned __int64)((char *)v355[0] - (char *)v316 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v316); } v128 = v128 + -16.0; goto LABEL_286; } v180 = v329; v181 = v330; do { v182 = 0; v183 = (__int64 *)v179[5]; v184 = (__int64 *)*v183; while ( v184 != v183 ) { v182 += *((_DWORD *)v184 + 8); v185 = (__int64 **)v184[2]; if ( *((_BYTE *)v185 + 25) ) { for ( n = (__int64 *)v184[1]; !*((_BYTE *)n + 25); n = (__int64 *)n[1] ) { if ( v184 != (__int64 *)n[2] ) break; v184 = n; } v184 = n; } else { v184 = (__int64 *)v184[2]; for ( ii = *v185; !*((_BYTE *)ii + 25); ii = (__int64 *)*ii ) v184 = ii; } } v188 = cocos2d::CCString::createWithFormat("From %i%% (%i runs)", *((_DWORD *)v179 + 8), v182); v189 = cocos2d::CCString::getCString(v188); v190 = cocos2d::CCLabelBMFont::create(v189, "goldFont.fnt"); v191 = *(_QWORD *)v190; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v336, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v191 + 288))(v190, v192); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v190 + 160LL))(v190); v193 = *(_QWORD *)v190; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v333, 10.0, v128); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v193 + 184))(v190, v194); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v181 + 464LL))(v181, v190); v195 = v128 + -16.0; v330 = 0; v196 = operator new(0x28u); *v196 = v196; v196[1] = v196; v196[2] = v196; *((_WORD *)v196 + 12) = 257; *(_QWORD *)&v330 = v196; v197 = 0; v198 = (__int64 *)v179[5]; if ( (__int64 *)*v198 != v198 ) { do { v199 = v198; if ( *((_BYTE *)v198 + 25) ) { v200 = (__int64 *)v198[2]; v197 += *((_DWORD *)v200 + 8); } else { v201 = (__int64 *)*v198; if ( *(_BYTE *)(*v198 + 25) ) { for ( jj = (__int64 *)v198[1]; !*((_BYTE *)jj + 25); jj = (__int64 *)jj[1] ) { if ( v199 != (__int64 *)*jj ) break; v199 = jj; } if ( !*((_BYTE *)v199 + 25) ) v199 = jj; v197 += *((_DWORD *)v199 + 8); v200 = v198; for ( kk = (__int64 *)v198[1]; !*((_BYTE *)kk + 25); kk = (__int64 *)kk[1] ) { if ( v200 != (__int64 *)*kk ) break; v200 = kk; } if ( !*((_BYTE *)v200 + 25) ) v200 = kk; } else { for ( mm = (__int64 *)v201[2]; !*((_BYTE *)mm + 25); mm = (__int64 *)mm[2] ) v201 = mm; v197 += *((_DWORD *)v201 + 8); v200 = (__int64 *)*v198; for ( nn = *(__int64 **)(*v198 + 16); !*((_BYTE *)nn + 25); nn = (__int64 *)nn[2] ) v200 = nn; } } *(_DWORD *)sub_14010ECC0(&v330, (char *)v200 + 28) = v197; if ( *((_BYTE *)v198 + 25) ) { v198 = (__int64 *)v198[2]; } else { v206 = *v198; if ( *(_BYTE *)(*v198 + 25) ) { for ( i1 = (__int64 *)v198[1]; !*((_BYTE *)i1 + 25); i1 = (__int64 *)i1[1] ) { if ( v198 != (__int64 *)*i1 ) break; v198 = i1; } if ( !*((_BYTE *)v198 + 25) ) v198 = i1; } else { v198 = (__int64 *)*v198; for ( i2 = *(__int64 **)(v206 + 16); !*((_BYTE *)i2 + 25); i2 = (__int64 *)i2[2] ) v198 = i2; } } v209 = (__int64 **)v179[5]; v210 = *v209; } while ( v198 != *v209 ); if ( v210 != (__int64 *)v209 ) { do { v211 = *(_DWORD *)v324; sub_140104240(v181, *(float *)(v335 + 696), v195, v324[0]); *(_DWORD *)v324 = v211 + 1; v212 = (float)*((int *)v210 + 8) * 100.0; v213 = v212 / (float)*(int *)sub_14010ECC0(&v330, (char *)v210 + 28); v214 = (int)roundf(v213); v215 = cocos2d::CCString::createWithFormat("%i%%", *((_DWORD *)v210 + 7)); v216 = cocos2d::CCString::getCString(v215); *(_OWORD *)v353 = 0; si128 = 0; v217 = -1; do ++v217; while ( v216[v217] ); sub_14003D230(v353, v216, v217); v327 = v180; v328 = 120; v218 = v353; if ( si128.m128i_i64[1] > 0xFuLL ) v218 = (void **)v353[0]; v219 = cocos2d::CCLabelBMFont::create((const char *)v218, (const char *)&qword_140704F78); v220 = *(_QWORD *)v219; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v352, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v220 + 288))(v219, v221); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v219 + 160LL))(v219); (**((void (__fastcall ***)(__int64, __int16 *))v219 + 46))((__int64)v219 + 368, &v327); v222 = *(_QWORD *)v219; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v351, 60.0, v195); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v222 + 184))(v219, v223); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v181 + 464LL))(v181, v219); sub_14003D310((__int64)v353); v224 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *((unsigned int *)v210 + 8)); v225 = cocos2d::CCString::getCString(v224); *(_OWORD *)v353 = 0; si128 = 0; v226 = -1; do ++v226; while ( v225[v226] ); sub_14003D230(v353, v225, v226); v325 = -1; v326 = -1; v227 = v353; if ( si128.m128i_i64[1] > 0xFuLL ) v227 = (void **)v353[0]; v228 = cocos2d::CCLabelBMFont::create((const char *)v227, (const char *)&qword_140704F78); v229 = *(_QWORD *)v228; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v350, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v229 + 288))(v228, v230); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v228 + 160LL))(v228); (**((void (__fastcall ***)(__int64, __int16 *))v228 + 46))((__int64)v228 + 368, &v325); v231 = *(_QWORD *)v228; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v349, 160.0, v195); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v231 + 184))(v228, v232); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v181 + 464LL))(v181, v228); sub_14003D310((__int64)v353); v233 = sub_140104160(v338, (float)v214 / 100.0); v234 = *(_WORD *)v233; v235 = v233[2]; v236 = cocos2d::CCString::createWithFormat("%i%%", v214); v237 = cocos2d::CCString::getCString(v236); *(_OWORD *)v355 = 0; v356 = 0; v238 = -1; do ++v238; while ( v237[v238] ); sub_14003D230(v355, v237, v238); v322 = v234; v323 = v235; v239 = v355; if ( v356.m128i_i64[1] > 0xFuLL ) v239 = (void **)v355[0]; v240 = cocos2d::CCLabelBMFont::create((const char *)v239, (const char *)&qword_140704F78); v241 = *(_QWORD *)v240; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v348, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v241 + 288))(v240, v242); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v240 + 160LL))(v240); (**((void (__fastcall ***)(__int64, __int16 *))v240 + 46))((__int64)v240 + 368, &v322); v243 = *(_QWORD *)v240; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v345, 250.0, v195); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v243 + 184))(v240, v244); (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v181 + 464LL))(v181, v240); if ( v356.m128i_i64[1] > 0xFuLL ) { v245 = v355[0]; if ( (unsigned __int64)(v356.m128i_i64[1] + 1) >= 0x1000 ) { v245 = *((void **)v355[0] - 1); if ( (unsigned __int64)((char *)v355[0] - (char *)v245 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v245); } v195 = v195 + -16.0; v246 = (__int64 **)v210[2]; if ( *((_BYTE *)v246 + 25) ) { for ( i3 = (__int64 *)v210[1]; !*((_BYTE *)i3 + 25); i3 = (__int64 *)i3[1] ) { if ( v210 != (__int64 *)i3[2] ) break; v210 = i3; } v210 = i3; } else { v210 = (__int64 *)v210[2]; for ( i4 = *v246; !*((_BYTE *)i4 + 25); i4 = (__int64 *)*i4 ) v210 = i4; } } while ( v210 != (__int64 *)v179[5] ); } } v128 = v195 + -5.0; sub_140080450((void **)&v330); v249 = (__int64 **)v179[2]; if ( *((_BYTE *)v249 + 25) ) { for ( i5 = v179[1]; !*(_BYTE *)(i5 + 25); i5 = *(_QWORD *)(i5 + 8) ) { if ( v179 != *(_QWORD **)(i5 + 16) ) break; v179 = (_QWORD *)i5; } v179 = (_QWORD *)i5; } else { v179 = (_QWORD *)v179[2]; for ( i6 = *v249; !*((_BYTE *)i6 + 25); i6 = (__int64 *)*i6 ) v179 = i6; } } while ( v179 != v331 ); LABEL_286: v317 = *(_QWORD *)(v335 + 688); *(float *)(v317 + 432) = 8.0 - v128; ScrollableContentLayer::clampOffset(v317); ScrollableContentLayer::ensureScrollThumb(v318); ScrollableContentLayer::applyContentPosition(v317); sub_140069730((__int64)&v346); sub_14010FD20(&v331, &v331, *((_QWORD *)v331 + 1)); j_j_free(v331); sub_140069730((__int64)Block); }