// // GJScoreCell::loadFromScore from 0x140155310 to 0x1401569a7 (5783 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x140145d8c // > @ 0x14091793c // // 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:27:20 +0000 // // Hidden C++ exception states: #wind=8 void __fastcall GJScoreCell::loadFromScore(__int64 a1, _DWORD *a2) { _DWORD *v2; // r15 __int64 v4; // rsi __int64 v5; // rbx __int64 v6; // rax __int64 v7; // rcx void (__fastcall **v8)(__int64, __int64); // rbx __int64 v9; // rax __int64 v10; // rcx __int64 v11; // rax __int64 v12; // rax bool v13; // al struct cocos2d::CCMenu *v14; // r13 __int64 v15; // rdx cocos2d::CCString *v16; // rax const char *CString; // rax struct cocos2d::CCLabelBMFont *v18; // rdi __int64 v19; // rbx __int64 v20; // rax const char *v21; // rcx struct cocos2d::CCLabelBMFont *v22; // rdi cocos2d::CCObject *v23; // r12 float v24; // xmm6_4 double v25; // xmm0_8 float v26; // xmm10_4 __int64 v27; // rax __int64 v28; // rbx __int64 v29; // rax float v30; // xmm6_4 double v31; // xmm0_8 __int64 v32; // rax __int64 v33; // rbx __int64 v34; // rax __int64 v35; // rax __int64 v36; // rbx __int64 v37; // rax float v38; // xmm8_4 float v39; // xmm9_4 int v40; // eax float v41; // xmm13_4 signed int v42; // r15d signed int v43; // r12d signed int v44; // r13d void **v45; // r12 size_t v46; // rsi size_t v47; // rbx _QWORD *v48; // rdi _QWORD *v49; // rdx _QWORD *v50; // rdx void **v51; // rdx _QWORD *v52; // rdx char *v53; // rax void **v54; // rdx _QWORD *v55; // rdx __m128i *v56; // rax struct cocos2d::CCLabelBMFont *v57; // rdi __int64 v58; // rbx __int64 v59; // rax __int64 v60; // rax void **v61; // rcx struct cocos2d::CCSprite *v62; // r15 float v63; // xmm6_4 double v64; // xmm0_8 __int64 v65; // rax __int64 v66; // rbx __int64 v67; // rax __m128i *v68; // rax struct cocos2d::CCLabelBMFont *v69; // rsi __int64 v70; // rbx __int64 v71; // rax float v72; // xmm6_4 float v73; // xmm0_4 __int64 v74; // rax __int64 v75; // rbx __int64 v76; // rax void **v77; // rcx struct cocos2d::CCSprite *v78; // rdi float v79; // xmm6_4 double v80; // xmm0_8 __int64 v81; // rax __int64 v82; // rbx __int64 v83; // rax __m128i *v84; // rax struct cocos2d::CCLabelBMFont *v85; // rdi __int64 v86; // rbx __int64 v87; // rax __int64 v88; // rbx __int64 v89; // rax struct cocos2d::CCSprite *v90; // rsi float v91; // xmm6_4 double v92; // xmm0_8 __int64 v93; // rax __int64 v94; // rbx __int64 v95; // rax __m128i *v96; // rax cocos2d::CCLabelBMFont *v97; // rdi __int64 v98; // rbx __int64 v99; // rax float v100; // xmm6_4 float v101; // xmm0_4 __int64 v102; // rax __int64 v103; // rbx __int64 v104; // rax struct cocos2d::CCSprite *v105; // rsi float v106; // xmm6_4 double v107; // xmm0_8 __int64 v108; // rax __int64 v109; // rbx __int64 v110; // rax __m128i *v111; // rax cocos2d::CCLabelBMFont *v112; // rdi __int64 v113; // rbx __int64 v114; // rax float v115; // xmm6_4 float v116; // xmm0_4 __int64 v117; // rax __int64 v118; // rbx __int64 v119; // rax const char *v120; // rcx struct cocos2d::CCSprite *v121; // rsi float v122; // xmm6_4 double v123; // xmm0_8 __int64 v124; // rax __int64 v125; // rbx __int64 v126; // rax __m128i *v127; // rax cocos2d::CCLabelBMFont *v128; // rdi __int64 v129; // rbx __int64 v130; // rax float v131; // xmm6_4 float v132; // xmm0_4 __int64 v133; // rax __int64 v134; // rbx __int64 v135; // rax void **v136; // rcx struct cocos2d::CCSprite *v137; // r15 float v138; // xmm6_4 double v139; // xmm0_8 __int64 v140; // rax __int64 v141; // rbx __int64 v142; // rax __m128i *v143; // rax cocos2d::CCLabelBMFont *v144; // rsi __int64 v145; // rbx __int64 v146; // rax float v147; // xmm6_4 float v148; // xmm0_4 __int64 v149; // rax __int64 v150; // rbx __int64 v151; // rax struct cocos2d::CCSprite *v152; // rdi float v153; // xmm6_4 double v154; // xmm0_8 __int64 v155; // rax __int64 v156; // rbx __int64 v157; // rax void *v158; // rcx void *v159; // rcx void *v160; // rcx void *v161; // rcx void *v162; // [rsp+38h] [rbp-D0h] BYREF __int64 v163; // [rsp+40h] [rbp-C8h] BYREF void *v164; // [rsp+48h] [rbp-C0h] BYREF int v165; // [rsp+50h] [rbp-B8h] BYREF _QWORD Block[3]; // [rsp+58h] [rbp-B0h] BYREF size_t v167; // [rsp+70h] [rbp-98h] _QWORD v168[3]; // [rsp+78h] [rbp-90h] BYREF size_t Size; // [rsp+90h] [rbp-78h] unsigned __int64 v170; // [rsp+98h] [rbp-70h] void *v171[2]; // [rsp+A0h] [rbp-68h] BYREF size_t v172; // [rsp+B0h] [rbp-58h] unsigned __int64 v173; // [rsp+B8h] [rbp-50h] void *v174[2]; // [rsp+C0h] [rbp-48h] BYREF size_t v175; // [rsp+D0h] [rbp-38h] unsigned __int64 v176; // [rsp+D8h] [rbp-30h] void *Src[2]; // [rsp+E0h] [rbp-28h] BYREF size_t v178; // [rsp+F0h] [rbp-18h] unsigned __int64 v179; // [rsp+F8h] [rbp-10h] v2 = a2; LOBYTE(a2) = 1; (*(void (__fastcall **)(_QWORD, _DWORD *))(**(_QWORD **)(a1 + 544) + 576LL))(*(_QWORD *)(a1 + 544), a2); *(_QWORD *)(a1 + 568) = v2; v165 = v2[104]; v4 = SimplePlayer::create(1); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 544) + 456LL))(*(_QWORD *)(a1 + 544), v4, 1); (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4); v5 = *(_QWORD *)v4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v164, 30.0, (float)(*(float *)(a1 + 532) * 0.5) + 7.0); (*(void (__fastcall **)(__int64, __int64))(v5 + 184))(v4, v6); v7 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v162 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v162); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v7 = qword_14090BFD0; } v8 = *(void (__fastcall ***)(__int64, __int64))(v4 + 320); v9 = GameManager::colorForIdx(v7, &v163, *(unsigned int *)(*(_QWORD *)(a1 + 568) + 432LL)); (*v8)(v4 + 320, v9); v10 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v164 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v164); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v10 = qword_14090BFD0; } v11 = GameManager::colorForIdx(v10, &v162, *(unsigned int *)(*(_QWORD *)(a1 + 568) + 436LL)); (**(void (__fastcall ***)(__int64, __int64))(*(_QWORD *)(v4 + 608) + 320LL))(*(_QWORD *)(v4 + 608) + 320LL, v11); SimplePlayer::updateColors(v4); SimplePlayer::tryEnableCustomGlowColor(v4, *(unsigned int *)(*(_QWORD *)(a1 + 568) + 440LL)); v12 = *(_QWORD *)(a1 + 568); v13 = *(_DWORD *)(v12 + 444) == 2 || *(_BYTE *)(v12 + 744); *(_BYTE *)(v4 + 660) = v13; SimplePlayer::updatePlayerFrame( v4, *(unsigned int *)(*(_QWORD *)(a1 + 568) + 428LL), *(unsigned int *)(*(_QWORD *)(a1 + 568) + 448LL)); SimplePlayer::updateColors(v4); v14 = cocos2d::CCMenu::create(nullptr); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCMenu *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v14); v15 = *(_QWORD *)(a1 + 568); if ( *(_DWORD *)(v15 + 384) != 2 ) { v16 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(v15 + 412)); CString = cocos2d::CCString::getCString(v16); v18 = cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 544) + 464LL))( *(_QWORD *)(a1 + 544), v18); v19 = *(_QWORD *)v18; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v164, 30.0, (float)(*(float *)(a1 + 532) * 0.5) - 18.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v19 + 184))(v18, v20); cocos2d::CCLabelBMFont::limitLabelWidth(v18, 40.0, 0.64999998, 0.0); } sub_14003F4F0((__int64)&Block[1], *(_QWORD *)(a1 + 568) + 320LL); v21 = (const char *)&Block[1]; if ( v168[0] > 0xFu ) v21 = (const char *)Block[1]; v22 = cocos2d::CCLabelBMFont::create(v21, "goldFont.fnt"); sub_14003D310((__int64)&Block[1]); cocos2d::CCLabelBMFont::limitLabelWidth(v22, 120.0, 0.80000001, 0.0); v23 = CCMenuItemSpriteExtra::create((int)v22, 0, a1, (__int64)GJScoreCell::onViewProfile); (*(void (__fastcall **)(struct cocos2d::CCMenu *, cocos2d::CCObject *))(*(_QWORD *)v14 + 464LL))(v14, v23); v24 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v22 + 320LL))(v22); v25 = (*(double (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v22 + 168LL))(v22); v26 = *(float *)&v25 * v24; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v164, 30.0, 7.0); v28 = v27; v29 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 200LL))(v4); cocos2d::CCPoint::operator+(v29, Block, v28); v30 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v22 + 320LL))(v22) * 0.5; v31 = (*(double (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v22 + 168LL))(v22); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, *(float *)&v31 * v30, 0.0); cocos2d::CCPoint::operator+(Block, &v164, v32); v33 = *(_QWORD *)v23; cocos2d::CCNode::convertToNodeSpace(v14, &v163, &v164); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v33 + 184))(v23, v34); if ( *(_DWORD *)(*(_QWORD *)(a1 + 568) + 384LL) == 2 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 0.0, -7.0); v36 = v35; v37 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 200LL))(v4); cocos2d::CCPoint::operator+(v37, &v164, v36); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v4 + 184LL))(v4, &v164); } if ( (unsigned __int8)GJUserScore::isCurrentUser(*(_QWORD *)(a1 + 568)) ) { LOWORD(v163) = -26906; BYTE2(v163) = 10; (**(void (__fastcall ***)(__int64, __int64 *))(*(_QWORD *)(a1 + 536) + 408LL))(*(_QWORD *)(a1 + 536) + 408LL, &v163); } if ( (int)v2[98] <= 0 && v2[96] != 1 ) { LOWORD(v163) = -166; BYTE2(v163) = -1; (**((void (__fastcall ***)(__int64, __int64 *))v22 + 46))((__int64)v22 + 368, &v163); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v23 + 936LL))(v23, 0); } v38 = (float)(*(float *)(a1 + 532) * 0.5) - 13.0; if ( v165 <= 0 ) v39 = 0.5; else v39 = 0.44999999; v40 = 50; if ( v165 > 0 ) v40 = 35; v41 = (float)v40; v42 = *(_DWORD *)(*(_QWORD *)(a1 + 568) + 396LL); *(_OWORD *)Src = 0; v178 = 0; v179 = 0; Src[0] = sub_14003D460(0x20u); v178 = 20; v179 = 31; strcpy((char *)Src[0], "GJ_starsIcon_001.png"); v43 = *(_DWORD *)(*(_QWORD *)(a1 + 568) + 400LL); LODWORD(v162) = v43; *(_OWORD *)v174 = 0; v175 = 0; v176 = 0; v174[0] = sub_14003D460(0x20u); v175 = 20; v176 = 31; strcpy((char *)v174[0], "GJ_moonsIcon_001.png"); LODWORD(v164) = *(_DWORD *)(*(_QWORD *)(a1 + 568) + 408LL); *(_OWORD *)v171 = 0; v172 = 0; v173 = 0; v171[0] = sub_14003D460(0x20u); v172 = 20; v173 = 31; strcpy((char *)v171[0], "GJ_demonIcon_001.png"); v44 = *(_DWORD *)(*(_QWORD *)(a1 + 568) + 424LL); LODWORD(v163) = v44; *(_OWORD *)&v168[1] = 0; Size = 0; v170 = 0; v168[1] = sub_14003D460(0x20u); Size = 21; v170 = 31; strcpy((char *)v168[1], "GJ_coinsIcon2_001.png"); if ( *(_DWORD *)(*(_QWORD *)(a1 + 568) + 944LL) ) { v44 = v42; *(_OWORD *)&Block[1] = 0; v167 = 0; v168[0] = 0; v45 = Src; if ( v179 > 0xF ) v45 = (void **)Src[0]; v46 = v178; v47 = 0x7FFFFFFFFFFFFFFFLL; if ( v178 > 0x7FFFFFFFFFFFFFFFLL ) sub_140009D90((unsigned __int8)aGjCoinsicon200[20]); if ( v178 > 0xF ) { if ( (v178 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { v47 = v178 | 0xF; if ( (v178 | 0xF) < 0x16 ) v47 = 22; } v48 = sub_14003D460(v47 + 1); Block[1] = v48; v167 = v46; v168[0] = v47; memcpy(v48, v45, v46 + 1); } else { v167 = v178; v47 = 15; v168[0] = 15; *(_OWORD *)&Block[1] = *(_OWORD *)v45; v48 = (_QWORD *)Block[1]; } switch ( *(_DWORD *)(*(_QWORD *)(a1 + 568) + 944LL) ) { case 1: v42 = (int)v162; v54 = v174; if ( v176 > 0xF ) v54 = (void **)v174[0]; sub_1400405A0(Src, v54, v175); v43 = v44; v55 = &Block[1]; if ( v47 > 0xF ) v55 = v48; sub_1400405A0(v174, v55, v46); v47 = v168[0]; v48 = (_QWORD *)Block[1]; v44 = v163; goto LABEL_50; case 2: v42 = (int)v164; v51 = v171; if ( v173 > 0xF ) v51 = (void **)v171[0]; sub_1400405A0(Src, v51, v172); LODWORD(v164) = v44; v52 = &Block[1]; if ( v47 > 0xF ) v52 = v48; sub_1400405A0(v171, v52, v46); v47 = v168[0]; v48 = (_QWORD *)Block[1]; break; case 3: v42 = v163; v49 = &v168[1]; if ( v170 > 0xF ) v49 = (_QWORD *)v168[1]; sub_1400405A0(Src, v49, Size); v50 = &Block[1]; if ( v47 > 0xF ) v50 = v48; sub_1400405A0((void **)&v168[1], v50, v46); v47 = v168[0]; v48 = (_QWORD *)Block[1]; goto LABEL_49; } v44 = v163; LABEL_49: v43 = (int)v162; LABEL_50: if ( v47 > 0xF ) { v53 = (char *)v48; if ( v47 + 1 >= 0x1000 ) { v48 = (_QWORD *)*(v48 - 1); if ( (unsigned __int64)(v53 - (char *)v48 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v48); } } v56 = GameToolbox::pointsToString((__m128i *)&Block[1], v42); if ( v56[1].m128i_i64[1] > 0xFuLL ) v56 = (__m128i *)v56->m128i_i64[0]; v57 = cocos2d::CCLabelBMFont::create(v56->m128i_i8, (const char *)&qword_140704F78); sub_14003D310((__int64)&Block[1]); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v57, 2); v58 = *(_QWORD *)v57; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v58 + 288))(v57, v59); cocos2d::CCLabelBMFont::limitLabelWidth(v57, 60.0, v39, 0.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, v26 + 5.0, -2.0); cocos2d::CCPoint::operator+(Block, &v162, v60); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, void **))(*(_QWORD *)v57 + 184LL))(v57, &v162); v61 = Src; if ( v179 > 0xF ) v61 = (void **)Src[0]; v62 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v61); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v62, 2); v63 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v57 + 320LL))(v57); v64 = (*(double (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v57 + 168LL))(v57); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(*(float *)&v64 * v63) + 10.0, 0.0); v66 = v65; v67 = (*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v57 + 200LL))(v57); cocos2d::CCPoint::operator+(v67, &v162, v66); (*(void (__fastcall **)(struct cocos2d::CCSprite *, void **))(*(_QWORD *)v62 + 184LL))(v62, &v162); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v62 + 160LL))(v62); v68 = GameToolbox::pointsToString((__m128i *)&Block[1], v43); if ( v68[1].m128i_i64[1] > 0xFuLL ) v68 = (__m128i *)v68->m128i_i64[0]; v69 = cocos2d::CCLabelBMFont::create(v68->m128i_i8, (const char *)&qword_140704F78); sub_14003D310((__int64)&Block[1]); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v69, 2); v70 = *(_QWORD *)v69; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v70 + 288))(v69, v71); cocos2d::CCLabelBMFont::limitLabelWidth(v69, 60.0, v39, 0.0); v72 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v62 + 320LL))(v62); v73 = (*(float (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v62 + 168LL))(v62); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(v73 * v72) * 0.5 + 8.0, 0.0); v75 = v74; v76 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v62 + 200LL))(v62); cocos2d::CCPoint::operator+(v76, &v162, v75); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, void **))(*(_QWORD *)v69 + 184LL))(v69, &v162); v77 = v174; if ( v176 > 0xF ) v77 = (void **)v174[0]; v78 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v77); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v78, 2); v79 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v69 + 320LL))(v69); v80 = (*(double (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v69 + 168LL))(v69); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(*(float *)&v80 * v79) + 10.0, 0.0); v82 = v81; v83 = (*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v69 + 200LL))(v69); cocos2d::CCPoint::operator+(v83, &v162, v82); (*(void (__fastcall **)(struct cocos2d::CCSprite *, void **))(*(_QWORD *)v78 + 184LL))(v78, &v162); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v78 + 160LL))(v78); v84 = GameToolbox::pointsToString((__m128i *)&Block[1], *(_DWORD *)(*(_QWORD *)(a1 + 568) + 404LL)); if ( v84[1].m128i_i64[1] > 0xFuLL ) v84 = (__m128i *)v84->m128i_i64[0]; v85 = cocos2d::CCLabelBMFont::create(v84->m128i_i8, (const char *)&qword_140704F78); sub_14003D310((__int64)&Block[1]); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v85, 2); v86 = *(_QWORD *)v85; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v86 + 288))(v85, v87); v88 = *(_QWORD *)v85; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 62.0, v38); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v88 + 184))(v85, v89); cocos2d::CCLabelBMFont::limitLabelWidth(v85, v41, v39, 0.0); v90 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_diamondsIcon_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v90, 2); v91 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v85 + 320LL))(v85); v92 = (*(double (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v85 + 168LL))(v85); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(*(float *)&v92 * v91) + 10.0, 0.0); v94 = v93; v95 = (*(__int64 (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v85 + 200LL))(v85); cocos2d::CCPoint::operator+(v95, &v162, v94); (*(void (__fastcall **)(struct cocos2d::CCSprite *, void **))(*(_QWORD *)v90 + 184LL))(v90, &v162); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v90 + 160LL))(v90); v96 = GameToolbox::pointsToString((__m128i *)&Block[1], *(_DWORD *)(*(_QWORD *)(a1 + 568) + 420LL)); if ( v96[1].m128i_i64[1] > 0xFuLL ) v96 = (__m128i *)v96->m128i_i64[0]; v97 = cocos2d::CCLabelBMFont::create(v96->m128i_i8, (const char *)&qword_140704F78); sub_14003D310((__int64)&Block[1]); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v97, 2); v98 = *(_QWORD *)v97; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v98 + 288))(v97, v99); v100 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v90 + 320LL))(v90); v101 = (*(float (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v90 + 168LL))(v90); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(v101 * v100) * 0.5 + 8.0, 0.0); v103 = v102; v104 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v90 + 200LL))(v90); cocos2d::CCPoint::operator+(v104, &v162, v103); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, void **))(*(_QWORD *)v97 + 184LL))(v97, &v162); cocos2d::CCLabelBMFont::limitLabelWidth(v97, v41, v39, 0.0); v105 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_coinsIcon_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v105, 2); v106 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v97 + 320LL))(v97); v107 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v97 + 168LL))(v97); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(*(float *)&v107 * v106) + 10.0, 0.0); v109 = v108; v110 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v97 + 200LL))(v97); cocos2d::CCPoint::operator+(v110, &v162, v109); (*(void (__fastcall **)(struct cocos2d::CCSprite *, void **))(*(_QWORD *)v105 + 184LL))(v105, &v162); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v105 + 160LL))(v105); v111 = GameToolbox::pointsToString((__m128i *)&Block[1], v44); if ( v111[1].m128i_i64[1] > 0xFuLL ) v111 = (__m128i *)v111->m128i_i64[0]; v112 = cocos2d::CCLabelBMFont::create(v111->m128i_i8, (const char *)&qword_140704F78); sub_14003D310((__int64)&Block[1]); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v112, 2); v113 = *(_QWORD *)v112; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v113 + 288))(v112, v114); v115 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v105 + 320LL))(v105); v116 = (*(float (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v105 + 168LL))(v105); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(v116 * v115) * 0.5 + 8.0, 0.0); v118 = v117; v119 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v105 + 200LL))(v105); cocos2d::CCPoint::operator+(v119, &v162, v118); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, void **))(*(_QWORD *)v112 + 184LL))(v112, &v162); cocos2d::CCLabelBMFont::limitLabelWidth(v112, v41, v39, 0.0); v120 = (const char *)&v168[1]; if ( v170 > 0xF ) v120 = (const char *)v168[1]; v121 = cocos2d::CCSprite::createWithSpriteFrameName(v120); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v121, 2); v122 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v112 + 320LL))(v112); v123 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v112 + 168LL))(v112); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (float)(*(float *)&v123 * v122) + 10.0, 0.0); v125 = v124; v126 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v112 + 200LL))(v112); cocos2d::CCPoint::operator+(v126, &v162, v125); (*(void (__fastcall **)(struct cocos2d::CCSprite *, void **))(*(_QWORD *)v121 + 184LL))(v121, &v162); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v121 + 160LL))(v121); v127 = GameToolbox::pointsToString((__m128i *)&Block[1], (signed int)v164); if ( v127[1].m128i_i64[1] > 0xFuLL ) v127 = (__m128i *)v127->m128i_i64[0]; v128 = cocos2d::CCLabelBMFont::create(v127->m128i_i8, (const char *)&qword_140704F78); sub_14003D310((__int64)&Block[1]); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v128, 2); v129 = *(_QWORD *)v128; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v164, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v129 + 288))(v128, v130); v131 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v121 + 320LL))(v121); v132 = (*(float (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v121 + 168LL))(v121); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v132 * v131) * 0.5 + 8.0, 0.0); v134 = v133; v135 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v121 + 200LL))(v121); cocos2d::CCPoint::operator+(v135, &v164, v134); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, void **))(*(_QWORD *)v128 + 184LL))(v128, &v164); cocos2d::CCLabelBMFont::limitLabelWidth(v128, v41, v39, 0.0); v136 = v171; if ( v173 > 0xF ) v136 = (void **)v171[0]; v137 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v136); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v137, 2); v138 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v128 + 320LL))(v128); v139 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v128 + 168LL))(v128); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(*(float *)&v139 * v138) + 10.0, 0.0); v141 = v140; v142 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v128 + 200LL))(v128); cocos2d::CCPoint::operator+(v142, &v164, v141); (*(void (__fastcall **)(struct cocos2d::CCSprite *, void **))(*(_QWORD *)v137 + 184LL))(v137, &v164); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v137 + 160LL))(v137); if ( v165 > 0 ) { v143 = GameToolbox::pointsToString((__m128i *)&Block[1], *(_DWORD *)(*(_QWORD *)(a1 + 568) + 416LL)); if ( v143[1].m128i_i64[1] > 0xFuLL ) v143 = (__m128i *)v143->m128i_i64[0]; v144 = cocos2d::CCLabelBMFont::create(v143->m128i_i8, (const char *)&qword_140704F78); sub_14003D310((__int64)&Block[1]); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v144, 2); v145 = *(_QWORD *)v144; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v165, 0.0, 0.5); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64))(v145 + 288))(v144, v146); v147 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v137 + 320LL))(v137); v148 = (*(float (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v137 + 168LL))(v137); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v164, (float)(v148 * v147) * 0.5 + 8.0, 0.0); v150 = v149; v151 = (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v137 + 200LL))(v137); cocos2d::CCPoint::operator+(v151, &v165, v150); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, int *))(*(_QWORD *)v144 + 184LL))(v144, &v165); cocos2d::CCLabelBMFont::limitLabelWidth(v144, v41, v39, 0.0); v152 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_hammerIcon_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))( *(_QWORD *)(a1 + 544), v152, 2); v153 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v144 + 320LL))(v144); v154 = (*(double (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v144 + 168LL))(v144); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v164, (float)(*(float *)&v154 * v153) + 10.0, 0.0); v156 = v155; v157 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v144 + 200LL))(v144); cocos2d::CCPoint::operator+(v157, &v165, v156); (*(void (__fastcall **)(struct cocos2d::CCSprite *, int *))(*(_QWORD *)v152 + 184LL))(v152, &v165); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v152 + 160LL))(v152); } if ( v170 > 0xF ) { v158 = (void *)v168[1]; if ( v170 + 1 >= 0x1000 ) { v158 = *(void **)(v168[1] - 8LL); if ( (unsigned __int64)(v168[1] - (_QWORD)v158 - 8LL) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v158); } Size = 0; v170 = 15; LOBYTE(v168[1]) = 0; if ( v173 > 0xF ) { v159 = v171[0]; if ( v173 + 1 >= 0x1000 ) { v159 = *((void **)v171[0] - 1); if ( (unsigned __int64)((char *)v171[0] - (char *)v159 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v159); } v172 = 0; v173 = 15; LOBYTE(v171[0]) = 0; if ( v176 > 0xF ) { v160 = v174[0]; if ( v176 + 1 >= 0x1000 ) { v160 = *((void **)v174[0] - 1); if ( (unsigned __int64)((char *)v174[0] - (char *)v160 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v160); } v175 = 0; v176 = 15; LOBYTE(v174[0]) = 0; if ( v179 > 0xF ) { v161 = Src[0]; if ( v179 + 1 >= 0x1000 ) { v161 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v161 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v161); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source