// // sub_140116CA0 from 0x140116ca0 to 0x1401180b0 (5136 bytes) // // 2 xrefs: // > DeathMarkerLayer::mountSection @ 0x1401181c0 // > @ 0x140915ec0 // // 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:53 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall sub_140116CA0(__int64 a1, __int64 a2) { __int64 v2; // r12 struct cocos2d::CCSprite *v4; // rax cocos2d::CCObject *v5; // rsi __int64 v6; // rbx __int64 v7; // rax __int64 v8; // rbx __int64 v9; // rax const char *v10; // rcx struct cocos2d::CCSprite *v11; // r14 float *v12; // rbx __int64 v13; // rdi __int64 v14; // rax __int64 v15; // rax bool v16; // al cocos2d::CCObject *v17; // r13 __int64 v18; // rbx __int64 v19; // rax float v20; // xmm2_4 __int64 v21; // rbx __int64 v22; // rax int v23; // ecx int v24; // r8d int v25; // ecx int v26; // ebx cocos2d::CCString *v27; // rax const char *CString; // rax struct cocos2d::CCLabelBMFont *v29; // r14 cocos2d::CCString *v30; // rax const char *v31; // rax struct cocos2d::CCLabelBMFont *v32; // r15 float v33; // xmm11_4 float v34; // xmm10_4 float v35; // xmm7_4 const char *v36; // rcx __int64 v37; // rbx struct cocos2d::CCSprite *v38; // rdi const char *v39; // rcx struct cocos2d::CCSprite *v40; // rsi __int64 v41; // rbx __int64 v42; // rbx float v43; // xmm6_4 double v44; // xmm0_8 float v45; // xmm8_4 float v46; // xmm6_4 double v47; // xmm0_8 float v48; // xmm9_4 float v49; // xmm6_4 float v50; // xmm11_4 __int64 v51; // rbx __int64 v52; // rax struct cocos2d::extension::CCScale9Sprite *v53; // rdi __int64 v54; // rbx __int64 v55; // rax __int64 v56; // rax float v57; // xmm11_4 __int64 v58; // rbx __int64 v59; // rax struct cocos2d::extension::CCScale9Sprite *v60; // rsi float *v61; // rbx __int64 v62; // rdi __int64 v63; // rax __int64 v64; // rax __int64 v65; // rbx struct cocos2d::extension::CCScale9Sprite *v66; // rdi __int64 v67; // rax struct cocos2d::CCSprite *v68; // rdi __int64 v69; // rbx __int64 v70; // rax __int64 v71; // rbx __int64 v72; // rax float v73; // xmm8_4 __int64 v74; // rbx __int64 v75; // rax __int64 v76; // rbx __int64 v77; // rax float v78; // xmm10_4 struct cocos2d::CCSprite *v79; // r14 __int64 v80; // rbx __int64 v81; // rax __int64 v82; // rbx __int64 v83; // rax float v84; // xmm13_4 __int64 v85; // rbx __int64 v86; // rax __int64 v87; // rbx __int64 v88; // rax int v89; // ebx __m128i si128; // xmm7 float v91; // xmm10_4 __int64 v92; // rax int v93; // esi float v94; // xmm6_4 const char *v95; // rcx struct cocos2d::CCSprite *v96; // rdi __int16 *v97; // rdx __int64 v98; // rax __int64 v99; // rbx __int64 v100; // rax int i; // r15d const char *v102; // rdx size_t v103; // r8 size_t v104; // rsi void **v105; // r12 size_t v106; // r14 unsigned __int64 v107; // rbx __int128 *v108; // rdi const char *v109; // rcx struct cocos2d::CCSprite *v110; // rsi void *v111; // rcx cocos2d::CCAnimation *v112; // r14 int j; // edi void **v114; // rdx cocos2d::CCString *v115; // rax const char *v116; // rbx cocos2d::CCSpriteFrameCache *v117; // rax struct cocos2d::CCSpriteFrame *v118; // rax struct cocos2d::CCActionInterval *v119; // rax struct cocos2d::CCAction *v120; // rax __int64 v121; // rbx __int64 v122; // rax __int16 *v123; // rdx struct cocos2d::CCSprite *v124; // r15 float v125; // xmm13_4 float v126; // xmm9_4 float v127; // xmm10_4 float v128; // xmm13_4 float v129; // xmm8_4 struct cocos2d::extension::CCScale9Sprite *v130; // r14 float v131; // xmm1_4 __int64 v132; // rbx __int64 v133; // rax __int64 v134; // rbx float v135; // xmm11_4 __int64 v136; // rax struct cocos2d::extension::CCScale9Sprite *v137; // rsi float *v138; // rbx __int64 v139; // rdi __int64 v140; // rax __int64 v141; // rax __int64 v142; // rbx __int64 v143; // rax float v144; // xmm13_4 float v145; // xmm11_4 __int64 v146; // rbx __int64 v147; // rax __int64 v148; // rbx float v149; // xmm10_4 __int64 v150; // rax const char *v151; // rsi const char *v152; // rcx struct cocos2d::CCSprite *v153; // rdi __int64 v154; // rbx __int64 v155; // rax __int64 v156; // rbx __int64 v157; // rax const char *v158; // rcx struct cocos2d::CCSprite *v159; // rdi __int64 v160; // rbx __int64 v161; // rax __int64 v162; // rbx __int64 v163; // rax const char *v164; // rcx struct cocos2d::CCSprite *v165; // rdi __int64 v166; // rbx __int64 v167; // rax __int64 v168; // rbx __int64 v169; // rax struct cocos2d::CCSprite *v170; // rdi __int64 v171; // rbx __int64 v172; // rax __int64 v173; // rbx __int64 v174; // rax __int64 v175; // r8 struct cocos2d::CCSprite *v176; // rdx int v177; // eax __int64 v178; // rdx cocos2d::CCString *v179; // rax const char *v180; // rax struct cocos2d::CCLabelBMFont *v181; // rsi const struct cocos2d::CCSize *v182; // rax struct cocos2d::extension::CCScale9Sprite *v183; // rdi __int64 v184; // rbx __int64 v185; // rax __int64 v186; // rbx __int64 v187; // rax __int64 v188; // rbx __int64 v189; // rax __int64 v190; // rbx __int64 v191; // rax float v192; // [rsp+38h] [rbp-D0h] BYREF float v193; // [rsp+40h] [rbp-C8h] BYREF float v194; // [rsp+44h] [rbp-C4h] __int64 v195; // [rsp+48h] [rbp-C0h] BYREF struct cocos2d::CCSprite *v196; // [rsp+50h] [rbp-B8h] BYREF __int16 v197; // [rsp+58h] [rbp-B0h] BYREF char v198; // [rsp+5Ah] [rbp-AEh] __int16 v199; // [rsp+5Bh] [rbp-ADh] BYREF char v200; // [rsp+5Dh] [rbp-ABh] __int16 v201; // [rsp+5Eh] [rbp-AAh] BYREF char v202; // [rsp+60h] [rbp-A8h] int v203; // [rsp+64h] [rbp-A4h] int v204; // [rsp+68h] [rbp-A0h] BYREF float v205; // [rsp+70h] [rbp-98h] BYREF __int64 v206; // [rsp+78h] [rbp-90h] struct cocos2d::extension::CCScale9Sprite *v207; // [rsp+80h] [rbp-88h] __int64 v208; // [rsp+88h] [rbp-80h] __int64 v209; // [rsp+90h] [rbp-78h] struct cocos2d::CCSprite *v210; // [rsp+98h] [rbp-70h] __int64 v211; // [rsp+A0h] [rbp-68h] char v212[8]; // [rsp+A8h] [rbp-60h] BYREF __int128 v213; // [rsp+B0h] [rbp-58h] BYREF __m128i v214; // [rsp+C0h] [rbp-48h] void *Src[2]; // [rsp+D0h] [rbp-38h] BYREF size_t Size[2]; // [rsp+E0h] [rbp-28h] v2 = a2; v211 = a2; v209 = a1; LODWORD(v206) = 0; v4 = cocos2d::CCSprite::createWithSpriteFrameName("deathMarker_bg_001.png"); v5 = v4; if ( v4 ) { v6 = *(_QWORD *)v4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v196, 0.5, 0.0); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v6 + 288))(v5, v7); v8 = *(_QWORD *)v5; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v196, *(float *)v2, *(float *)(v2 + 4) - 5.0); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v8 + 184))(v5, v9); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 160LL))(v5); v10 = "deathMarker_x_white_001.png"; if ( *(_BYTE *)(a1 + 448) ) v10 = "deathMarker_red_global_001.png"; v11 = cocos2d::CCSprite::createWithSpriteFrameName(v10); if ( v11 ) { v12 = (float *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 320LL))(v5); v13 = *(_QWORD *)v11; v14 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 320LL))(v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v196, *v12 * 0.5, *(float *)(v14 + 4) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v13 + 184))(v11, v15); if ( !*(_BYTE *)(a1 + 448) ) (**((void (__fastcall ***)(__int64, __int64))v11 + 40))((__int64)v11 + 320, a1 + 450); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *))(*(_QWORD *)v5 + 464LL))(v5, v11); } cocos2d::CCObject::retain(v5); *(_QWORD *)(v2 + 64) = v5; if ( *(_BYTE *)(a1 + 448) ) v16 = *(int *)(v2 + 52) > 0 || *(int *)(v2 + 20) > 0 || *(int *)(v2 + 24) > 0; else v16 = *(_DWORD *)(v2 + 32) >= 3; if ( v16 ) { v17 = (cocos2d::CCObject *)cocos2d::CCNode::create(); v18 = *(_QWORD *)v17; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v196, 0.5, 0.0); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v18 + 288))(v17, v19); if ( *(_BYTE *)(a1 + 448) ) v20 = 14.0; else v20 = 4.0; v21 = *(_QWORD *)v17; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v196, *(float *)(v2 + 40), v20 + *(float *)(v2 + 36)); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v21 + 184))(v17, v22); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v17 + 160LL))(v17); if ( *(_BYTE *)(a1 + 448) ) { v23 = *(_DWORD *)(v2 + 20); if ( v23 <= 0 ) { v24 = 0; } else { v24 = (v23 + 5) / 10; if ( v24 < 1 ) v24 = 1; } v25 = *(_DWORD *)(v2 + 24); if ( v25 <= 0 ) { v26 = 0; } else { v26 = (v25 + 5) / 10; if ( v26 < 1 ) v26 = 1; } v27 = cocos2d::CCString::createWithFormat("%d%%", v24); CString = cocos2d::CCString::getCString(v27); v29 = cocos2d::CCLabelBMFont::create(CString, (const char *)&qword_140704F78); v30 = cocos2d::CCString::createWithFormat("%d%%", v26); v31 = cocos2d::CCString::getCString(v30); v32 = cocos2d::CCLabelBMFont::create(v31, (const char *)&qword_140704F78); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v29 + 160LL))(v29); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v32 + 160LL))(v32); v33 = *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v29 + 320LL))(v29) + 4) * 0.80000001; v205 = v33; v34 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v29 + 320LL))(v29) * 0.80000001; v35 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v32 + 320LL))(v32) * 0.80000001; v36 = "death_skullIconGray_001.png"; v37 = v209; if ( *(_BYTE *)(v209 + 449) ) v36 = "death_skullIcon_001.png"; v38 = cocos2d::CCSprite::createWithSpriteFrameName(v36); v210 = v38; v39 = "death_wallIconGray_001.png"; if ( *(_BYTE *)(v37 + 449) ) v39 = "death_wallIcon_001.png"; v40 = cocos2d::CCSprite::createWithSpriteFrameName(v39); v196 = v40; v41 = *(_QWORD *)v38; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v38 + 320LL))(v38); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(v41 + 160))(v38); v42 = *(_QWORD *)v40; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v40 + 320LL))(v40); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(v42 + 160))(v40); v43 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v38 + 320LL))(v38); v44 = (*(double (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v38 + 168LL))(v38); v45 = *(float *)&v44 * v43; v46 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v40 + 320LL))(v40); v47 = (*(double (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v40 + 168LL))(v40); v48 = *(float *)&v47 * v46; v49 = (float)((float)((float)((float)((float)((float)((float)(v45 + 8.0) + 3.0) + v34) + 14.0) + (float)(*(float *)&v47 * v46)) + 3.0) + v35) + 8.0; v50 = v33 + 6.0; v51 = *(_QWORD *)v17; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v195, v49, v50); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v51 + 312))(v17, v52); v53 = cocos2d::extension::CCScale9Sprite::create("square02d_001.png"); v207 = v53; v54 = *(_QWORD *)v53; v55 = (*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v29 + 320LL))(v29); cocos2d::CCSize::CCSize( (cocos2d::CCSize *)&v195, (float)(v49 * 0.94999999) * 1.1, (float)(*(float *)(v55 + 4) + 6.0) * 1.1); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v54 + 312))(v53, v56); v57 = v50 * 0.5; v193 = v49 * 0.5; v58 = *(_QWORD *)v53; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, v49 * 0.5, v57); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v58 + 184))(v53, v59); (**((void (__fastcall ***)(__int64, void *))v53 + 40))((__int64)v53 + 320, &unk_140702EFC); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(*(_QWORD *)v53 + 64LL))(v53, 91); v60 = cocos2d::extension::CCScale9Sprite::create("square02b_001.png"); v61 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v53 + 320LL))(v53); v62 = *(_QWORD *)v60; v63 = (*(__int64 (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v207 + 320LL))(v207); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v195, *v61 + 4.0, *(float *)(v63 + 4) + 4.0); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v62 + 312))(v60, v64); v65 = *(_QWORD *)v60; v66 = v207; v67 = (*(__int64 (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v207 + 200LL))(v207); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v65 + 184))(v60, v67); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::extension::CCScale9Sprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v60, 0); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::extension::CCScale9Sprite *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v66, 1); v68 = v210; v69 = *(_QWORD *)v210; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v69 + 288))(v68, v70); v71 = *(_QWORD *)v68; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, 7.5, v57 + 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v71 + 184))(v68, v72); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v68, 2); v192 = (float)(v45 * 0.5) + 7.5; v73 = (float)(v45 + 3.0) + 8.0; v74 = *(_QWORD *)v29; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v74 + 288))(v29, v75); v76 = *(_QWORD *)v29; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, v73, v57 + 0.75); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v76 + 184))(v29, v77); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v29, 2); v78 = (float)(v34 + 14.0) + v73; v79 = v196; v80 = *(_QWORD *)v196; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v80 + 288))(v79, v81); v82 = *(_QWORD *)v79; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, v78 - 2.5, v57); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v82 + 184))(v79, v83); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v79, 2); v84 = (float)(v48 * 0.5) + (float)(v78 - 2.5); v85 = *(_QWORD *)v32; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v85 + 288))(v32, v86); v87 = *(_QWORD *)v32; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v195, (float)(v48 + 3.0) + v78, v57 + 0.75); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v87 + 184))(v32, v88); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v32, 2); if ( *(_DWORD *)(v2 + 56) || *(_DWORD *)(v2 + 60) ) { v89 = 0; v203 = 0; si128 = _mm_load_si128((const __m128i *)&::Size); v91 = v192; do { v92 = 56; if ( v89 ) v92 = 60; v93 = *(_DWORD *)(v92 + v2); if ( v93 ) { if ( v89 ) v94 = v84; else v94 = v91; if ( v93 >= 1 ) { v95 = "death_wallIcon_glow_001.png"; if ( !v89 ) v95 = "death_skullIcon_glow_001.png"; v96 = cocos2d::CCSprite::createWithSpriteFrameName(v95); v208 = 0x100000302LL; (**((void (__fastcall ***)(__int64, __int64))v96 + 43))((__int64)v96 + 344, 0x100000302LL); if ( *(_BYTE *)(v209 + 449) ) { v197 = -1; v198 = 0; v97 = &v197; } else { v199 = -1; v200 = -1; v97 = &v199; } (**((void (__fastcall ***)(__int64, __int16 *))v96 + 40))((__int64)v96 + 320, v97); if ( v89 ) v98 = *(_QWORD *)v79; else v98 = *(_QWORD *)v210; (*(void (**)(void))(v98 + 168))(); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v96 + 160LL))(v96); v99 = *(_QWORD *)v96; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v212, v94, v57); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v99 + 184))(v96, v100); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v96, 3); v89 = v203; } if ( v93 >= 2 ) { for ( i = 0; i < 2; ++i ) { v102 = "playerDash2_outline_"; if ( !i ) v102 = "playerDash2_"; *(_OWORD *)Src = 0; *(_OWORD *)Size = 0; v103 = -1; do ++v103; while ( v102[v103] ); sub_14003D230(Src, v102, v103); v104 = Size[0]; if ( 0x7FFFFFFFFFFFFFFFLL - Size[0] < 7 ) sub_140009D90(0x7FFFFFFFFFFFFFFFLL); v105 = Src; if ( Size[1] > 0xF ) v105 = (void **)Src[0]; v213 = 0; v214 = 0; v106 = Size[0] + 7; v107 = 15; v108 = &v213; if ( Size[0] + 7 > 0xF ) { v107 = v106 | 0xF; if ( (v106 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { if ( v107 < 0x16 ) v107 = 22; } else { v107 = 0x7FFFFFFFFFFFFFFFLL; } v108 = (__int128 *)sub_14003D460(v107 + 1); *(_QWORD *)&v213 = v108; } v214.m128i_i64[0] = v104 + 7; v214.m128i_i64[1] = v107; memcpy(v108, v105, v104); *(_DWORD *)((char *)v108 + v104) = 774975536; *(_WORD *)((char *)v108 + v104 + 4) = 28272; *((_BYTE *)v108 + v104 + 6) = 103; *((_BYTE *)v108 + v106) = 0; LODWORD(v206) = v206 | 1; v109 = (const char *)&v213; if ( v214.m128i_i64[1] > 0xFuLL ) v109 = (const char *)v213; v110 = cocos2d::CCSprite::createWithSpriteFrameName(v109); if ( v214.m128i_i64[1] > 0xFuLL ) { v111 = (void *)v213; if ( (unsigned __int64)(v214.m128i_i64[1] + 1) >= 0x1000 ) { v111 = *(void **)(v213 - 8); if ( (unsigned __int64)(v213 - (_QWORD)v111 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v111); } v214 = si128; LOBYTE(v213) = 0; v112 = (cocos2d::CCAnimation *)cocos2d::CCAnimation::create(); for ( j = 1; j <= 12; ++j ) { v114 = Src; if ( Size[1] > 0xF ) v114 = (void **)Src[0]; v115 = cocos2d::CCString::createWithFormat("%s%03d.png", (const char *)v114, j); v116 = cocos2d::CCString::getCString(v115); v117 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v118 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v117, v116); cocos2d::CCAnimation::addSpriteFrame(v112, v118); } *((_DWORD *)v112 + 15) = 1032805417; v119 = cocos2d::CCAnimate::create(v112); v120 = cocos2d::CCRepeatForever::create(v119); cocos2d::CCNode::runAction(v110, v120); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v110 + 352LL))(v110); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v110 + 120LL))(v110); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v110 + 136LL))(v110); v121 = *(_QWORD *)v110; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v204, v94, v57 - 4.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v121 + 184))(v110, v122); if ( i ) { v195 = 0x100000302LL; (**((void (__fastcall ***)(__int64, __int64))v110 + 43))((__int64)v110 + 344, 0x100000302LL); LOWORD(v192) = -23041; BYTE2(v192) = 0; v123 = (__int16 *)&v192; } else { v201 = 16639; v202 = 0; v123 = &v201; } (**((void (__fastcall ***)(__int64, __int16 *))v110 + 40))((__int64)v110 + 320, v123); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v110, 1); sub_14003D310((__int64)Src); } v89 = v203; v2 = v211; v79 = v196; } } v203 = ++v89; } while ( v89 < 2 ); } if ( *(int *)(v2 + 52) <= 0 ) goto LABEL_101; v124 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_starsIcon_001.png"); v125 = (float)(v205 * 0.60000002) * 1.1; v126 = v125 / *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v124 + 320LL))(v124) + 4); v127 = v126 * *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v124 + 320LL))(v124); v128 = v125 + 13.200001; v129 = (float)(*(float *)((*(__int64 (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v207 + 320LL))(v207) + 4) * 0.5) + v57; v130 = cocos2d::extension::CCScale9Sprite::create("square04_001.png"); v131 = (float)((float)((float)((float)((float)(v127 * 5.0) + 11.0) + 17.6) * 1.05) * 1.2) * 0.89999998; v132 = *(_QWORD *)v130; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v204, v131 + v131, (float)(v128 + v128) + (float)(v128 + v128)); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v132 + 312))(v130, v133); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v130 + 160LL))(v130); LOWORD(v192) = 0; BYTE2(v192) = 0; (**((void (__fastcall ***)(__int64, float *))v130 + 40))((__int64)v130 + 320, &v192); v134 = *(_QWORD *)v130; v135 = v193; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v204, v193, (float)(v129 - 6.0) - 2.0); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v134 + 184))(v130, v136); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(*(_QWORD *)v130 + 64LL))( v130, 92); v137 = cocos2d::extension::CCScale9Sprite::create("square04_001.png"); v138 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v130 + 320LL))(v130); v139 = *(_QWORD *)v137; v140 = (*(__int64 (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v130 + 320LL))(v130); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v204, *v138 + 8.0, *(float *)(v140 + 4) + 8.0); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v139 + 312))(v137, v141); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v137 + 160LL))(v137); v142 = *(_QWORD *)v137; v143 = (*(__int64 (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v130 + 200LL))(v130); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v142 + 184))(v137, v143); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::extension::CCScale9Sprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v137, 0); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::extension::CCScale9Sprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v130, 0); v144 = (float)((float)((float)(v128 - 6.0) * 0.5) + v129) - 3.0; v145 = v135 - (float)((float)((float)(v127 * 5.0) + 17.6) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v124 + 160LL))(v124); v146 = *(_QWORD *)v124; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v193, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v146 + 288))(v124, v147); v148 = *(_QWORD *)v124; v149 = v127 + 4.4000001; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v205, (float)(v149 * 0.0) + v145, v144); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v148 + 184))(v124, v150); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v124, 0); v151 = "GJ_starsIcon_gray_001.png"; v152 = "GJ_starsIcon_gray_001.png"; if ( *(int *)(v2 + 52) > 1 ) v152 = "GJ_starsIcon_001.png"; v153 = cocos2d::CCSprite::createWithSpriteFrameName(v152); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v153 + 160LL))(v153); v154 = *(_QWORD *)v153; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v193, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v154 + 288))(v153, v155); v156 = *(_QWORD *)v153; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v205, v149 + v145, v144); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v156 + 184))(v153, v157); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v153, 0); v158 = "GJ_starsIcon_gray_001.png"; if ( *(int *)(v2 + 52) > 2 ) v158 = "GJ_starsIcon_001.png"; v159 = cocos2d::CCSprite::createWithSpriteFrameName(v158); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v159 + 160LL))(v159); v160 = *(_QWORD *)v159; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v193, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v160 + 288))(v159, v161); v162 = *(_QWORD *)v159; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v205, (float)(v149 + v149) + v145, v144); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v162 + 184))(v159, v163); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v159, 0); v164 = "GJ_starsIcon_gray_001.png"; if ( *(int *)(v2 + 52) > 3 ) v164 = "GJ_starsIcon_001.png"; v165 = cocos2d::CCSprite::createWithSpriteFrameName(v164); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v165 + 160LL))(v165); v166 = *(_QWORD *)v165; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v193, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v166 + 288))(v165, v167); v168 = *(_QWORD *)v165; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v205, (float)(v149 * 3.0) + v145, v144); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v168 + 184))(v165, v169); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v165, 0); if ( *(int *)(v2 + 52) > 4 ) v151 = "GJ_starsIcon_001.png"; v170 = cocos2d::CCSprite::createWithSpriteFrameName(v151); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v170 + 160LL))(v170); v171 = *(_QWORD *)v170; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v193, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v171 + 288))(v170, v172); v173 = *(_QWORD *)v170; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v205, (float)(v149 * 4.0) + v145, v144); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v173 + 184))(v170, v174); v175 = 0; v176 = v170; } else { if ( !*(_BYTE *)(a1 + 472) || (unsigned int)((v2 - *(_QWORD *)(a1 + 320)) / 80) != *(_DWORD *)(a1 + 464) || (v177 = *(_DWORD *)(v2 + 32), v178 = (unsigned int)(v177 - 1), v177 <= 1) ) { v178 = *(unsigned int *)(v2 + 32); } v179 = cocos2d::CCString::createWithFormat((const char *)&word_14070D0CC, v178); v180 = cocos2d::CCString::getCString(v179); v181 = cocos2d::CCLabelBMFont::create(v180, (const char *)&qword_140704F78); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v181 + 64LL))(v181, 93); LOWORD(v192) = -1; BYTE2(v192) = -1; (**((void (__fastcall ***)(__int64, float *))v181 + 46))((__int64)v181 + 368, &v192); v182 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v181 + 320LL))(v181); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v196, v182); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v193, *(float *)&v196 + 14.0, *((float *)&v196 + 1) + 6.0); (*(void (__fastcall **)(cocos2d::CCObject *, float *))(*(_QWORD *)v17 + 312LL))(v17, &v193); v183 = cocos2d::extension::CCScale9Sprite::create("square02d_001.png"); v184 = *(_QWORD *)v183; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v204, v193 * 1.1, v194 * 1.1); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v184 + 312))(v183, v185); v186 = *(_QWORD *)v183; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v204, v193 * 0.5, (float)(v194 * 0.5) - 2.0); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(v186 + 184))(v183, v187); (**((void (__fastcall ***)(__int64, __int64))v183 + 40))((__int64)v183 + 320, a1 + 450); (*(void (__fastcall **)(struct cocos2d::extension::CCScale9Sprite *, __int64))(*(_QWORD *)v183 + 64LL))( v183, 91); (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::extension::CCScale9Sprite *, _QWORD))(*(_QWORD *)v17 + 456LL))( v17, v183, 0); v188 = *(_QWORD *)v181; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v204, 0.5, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v188 + 288))(v181, v189); v190 = *(_QWORD *)v181; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v204, v193 * 0.5, v194 * 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v190 + 184))(v181, v191); v175 = 1; v176 = v181; } (*(void (__fastcall **)(cocos2d::CCObject *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v17 + 456LL))( v17, v176, v175); LABEL_101: cocos2d::CCObject::retain(v17); *(_QWORD *)(v2 + 72) = v17; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source