// // GJScoreCell::loadFromScore from 0x7432b4 to 0x744818 (5476 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x74d4c8 // > @ 0x1007c8 // // This function is hookable on this platform (idp: arm, 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 12:52:46 +0000 // __int64 __fastcall GJScoreCell::loadFromScore(GJScoreCell *this, GJUserScore *a2) { long double v4; // q0 __int64 v5; // x22 void (__fastcall *v6)(__int64, __int64 *); // x21 __int64 (__fastcall *v7)(__int64, __int64 *); // x21 GameManager *v8; // x0 int v9; // w0 GameManager *v10; // x0 GameManager *v11; // x0 unsigned __int64 v12; // x0 __int64 v13; // x0 char v14; // w0 cocos2d::CCMenuItem *v15; // x1 cocos2d::CCNode *v16; // x24 __int64 v17; // x0 cocos2d::CCString *v18; // x0 cocos2d::CCLabelBMFont *CString; // x0 const char *v20; // x2 cocos2d::CCLabelBMFont *v21; // x23 void (__fastcall *v22)(cocos2d::CCLabelBMFont *, __int64 *); // x25 const char *v23; // x2 size_t v24; // x1 cocos2d::CCLabelBMFont *v25; // x0 cocos2d::CCLabelBMFont *v26; // x26 __int64 v27; // x25 float v28; // s9 float v29; // s9 float v30; // s8 float v31; // s0 GJUserScore *v32; // x0 float v33; // s8 float v34; // s12 float v35; // s11 __int64 v36; // x3 unsigned int v37; // w28 __int64 v38; // x3 unsigned int v39; // w27 int v40; // w2 const char *v41; // x2 cocos2d::CCLabelBMFont *v42; // x0 cocos2d::CCLabelBMFont *v43; // x22 void (__fastcall *v44)(cocos2d::CCLabelBMFont *, __int64 *); // x28 void (__fastcall *v45)(cocos2d::CCLabelBMFont *, __int64 *); // x28 cocos2d::CCSprite *v46; // x0 __int64 v47; // x23 __int64 v48; // x28 float v49; // s9 float v50; // s0 const char *v51; // x2 cocos2d::CCLabelBMFont *v52; // x0 cocos2d::CCLabelBMFont *v53; // x28 void (__fastcall *v54)(cocos2d::CCLabelBMFont *, __int64 *); // x22 __int64 v55; // x22 float v56; // s9 float v57; // s0 cocos2d::CCSprite *v58; // x0 __int64 v59; // x22 void (__fastcall *v60)(__int64, __int64 *); // x26 __int64 v61; // x23 float v62; // s9 float v63; // s0 const char *v64; // x2 cocos2d::CCLabelBMFont *v65; // x0 cocos2d::CCLabelBMFont *v66; // x28 void (__fastcall *v67)(cocos2d::CCLabelBMFont *, __int64 *); // x22 void (__fastcall *v68)(cocos2d::CCLabelBMFont *, __int64 *); // x22 const char *v69; // x1 __int64 v70; // x22 void (__fastcall *v71)(__int64, __int64 *); // x26 __int64 v72; // x23 float v73; // s9 float v74; // s0 const char *v75; // x2 cocos2d::CCLabelBMFont *v76; // x0 cocos2d::CCLabelBMFont *v77; // x28 void (__fastcall *v78)(cocos2d::CCLabelBMFont *, __int64 *); // x23 void (__fastcall *v79)(cocos2d::CCLabelBMFont *, __int64 *); // x26 __int64 v80; // x23 float v81; // s9 float v82; // s0 const char *v83; // x1 __int64 v84; // x22 void (__fastcall *v85)(__int64, __int64 *); // x26 __int64 v86; // x23 float v87; // s9 float v88; // s0 const char *v89; // x2 cocos2d::CCLabelBMFont *v90; // x0 cocos2d::CCLabelBMFont *v91; // x28 void (__fastcall *v92)(cocos2d::CCLabelBMFont *, __int64 *); // x27 void (__fastcall *v93)(cocos2d::CCLabelBMFont *, __int64 *); // x23 __int64 v94; // x27 float v95; // s9 float v96; // s0 cocos2d::CCSprite *v97; // x0 __int64 v98; // x22 void (__fastcall *v99)(__int64, __int64 *); // x23 __int64 v100; // x27 float v101; // s9 float v102; // s0 const char *v103; // x2 cocos2d::CCLabelBMFont *v104; // x0 cocos2d::CCLabelBMFont *v105; // x28 void (__fastcall *v106)(cocos2d::CCLabelBMFont *, __int64 *); // x27 void (__fastcall *v107)(cocos2d::CCLabelBMFont *, __int64 *); // x26 __int64 v108; // x27 float v109; // s9 float v110; // s0 cocos2d::CCSprite *v111; // x0 __int64 v112; // x22 void (__fastcall *v113)(__int64, __int64 *); // x26 __int64 v114; // x27 float v115; // s9 float v116; // s0 __int64 v118; // x0 void (__fastcall *v119)(__int64, __int64 *); // x2 void (__fastcall *v120)(cocos2d::CCLabelBMFont *, __int64 *); // x3 const char *v121; // x2 cocos2d::CCLabelBMFont *v122; // x0 cocos2d::CCLabelBMFont *v123; // x23 void (__fastcall *v124)(cocos2d::CCLabelBMFont *, __int64 *); // x25 void (__fastcall *v125)(cocos2d::CCLabelBMFont *, __int64 *); // x25 __int64 v126; // x26 float v127; // s9 float v128; // s0 const char *v129; // x1 __int64 v130; // x22 void (__fastcall *v131)(__int64, __int64 *); // x20 __int64 v132; // x25 float v133; // s8 float v134; // s0 cocos2d::CCSprite *v135; // x1 size_t v136; // x2 cocos2d::CCLabelBMFont *v137; // x1 size_t v138; // x2 unsigned int v139; // w0 cocos2d::CCSprite *v140; // x1 size_t v141; // x2 cocos2d::CCLabelBMFont *v142; // x1 size_t v143; // x2 unsigned int v144; // w0 cocos2d::CCSprite *v145; // x1 size_t v146; // x2 cocos2d::CCLabelBMFont *v147; // x1 size_t v148; // x2 unsigned int v149; // w0 void (__fastcall *v150)(__int64, __int64 *); // x24 __int64 v151; // x27 void (__fastcall *v152)(__int64, __int64 *); // [xsp+90h] [xbp+90h] GameToolbox *v153; // [xsp+A8h] [xbp+A8h] unsigned int v154; // [xsp+A8h] [xbp+A8h] GameToolbox *v155; // [xsp+B0h] [xbp+B0h] unsigned int v156; // [xsp+B0h] [xbp+B0h] GameToolbox *v157; // [xsp+B0h] [xbp+B0h] _BOOL4 v158; // [xsp+BCh] [xbp+BCh] long double v159; // [xsp+C0h] [xbp+C0h] __int64 v160; // [xsp+D0h] [xbp+D0h] BYREF _BYTE v161[8]; // [xsp+D8h] [xbp+D8h] BYREF __int64 v162; // [xsp+E0h] [xbp+E0h] BYREF __int64 v163; // [xsp+E8h] [xbp+E8h] BYREF __int64 v164; // [xsp+F0h] [xbp+F0h] BYREF size_t v165; // [xsp+F8h] [xbp+F8h] cocos2d::CCSprite *v166; // [xsp+100h] [xbp+100h] char *v167; // [xsp+108h] [xbp+108h] BYREF size_t v168; // [xsp+110h] [xbp+110h] cocos2d::CCSprite *v169; // [xsp+118h] [xbp+118h] char *v170; // [xsp+120h] [xbp+120h] BYREF size_t v171; // [xsp+128h] [xbp+128h] cocos2d::CCSprite *v172; // [xsp+130h] [xbp+130h] char *v173; // [xsp+138h] [xbp+138h] BYREF size_t v174; // [xsp+140h] [xbp+140h] cocos2d::CCSprite *v175; // [xsp+148h] [xbp+148h] unsigned __int64 v176[2]; // [xsp+150h] [xbp+150h] BYREF cocos2d::CCLabelBMFont *v177; // [xsp+160h] [xbp+160h] unsigned __int64 v178[2]; // [xsp+168h] [xbp+168h] BYREF cocos2d::CCLabelBMFont *v179; // [xsp+178h] [xbp+178h] unsigned __int64 v180[2]; // [xsp+180h] [xbp+180h] BYREF cocos2d::CCLabelBMFont *v181; // [xsp+190h] [xbp+190h] unsigned __int64 v182[2]; // [xsp+198h] [xbp+198h] BYREF cocos2d::CCLabelBMFont *v183; // [xsp+1A8h] [xbp+1A8h] unsigned __int64 v184[2]; // [xsp+1B0h] [xbp+1B0h] BYREF cocos2d::CCLabelBMFont *v185; // [xsp+1C0h] [xbp+1C0h] unsigned __int64 v186[2]; // [xsp+1C8h] [xbp+1C8h] BYREF cocos2d::CCLabelBMFont *v187; // [xsp+1D8h] [xbp+1D8h] __int64 v188; // [xsp+1E0h] [xbp+1E0h] BYREF size_t v189; // [xsp+1E8h] [xbp+1E8h] cocos2d::CCLabelBMFont *v190; // [xsp+1F0h] [xbp+1F0h] (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 584LL))(*((_QWORD *)this + 67), 1); *((_QWORD *)this + 70) = a2; v158 = *((_DWORD *)a2 + 100) > 0; if ( *((_DWORD *)a2 + 108) == 1 ) LODWORD(v4) = 1063675494; else LODWORD(v4) = 1.0; v159 = v4; v5 = SimplePlayer::create((SimplePlayer *)((char *)&dword_0 + 1), *((_DWORD *)a2 + 100) > 0); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v5, 1); (*(void (__fastcall **)(__int64, long double))(*(_QWORD *)v5 + 160LL))(v5, v159); v6 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 30.0, (float)(*((float *)this + 131) * 0.5) + 7.0); v6(v5, &v163); v7 = *(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 960LL); v8 = (GameManager *)GameManager::sharedState(*(GameManager **)v5); v9 = GameManager::colorForIdx(v8, *(_DWORD *)(*((_QWORD *)this + 70) + 416LL)); LOWORD(v163) = v9; BYTE2(v163) = BYTE2(v9); v10 = (GameManager *)v7(v5, &v163); v11 = (GameManager *)GameManager::sharedState(v10); v12 = GameManager::colorForIdx(v11, *(_DWORD *)(*((_QWORD *)this + 70) + 420LL)); LOWORD(v163) = v12; BYTE2(v163) = BYTE2(v12); SimplePlayer::setSecondColor(v5, &v163); SimplePlayer::tryEnableCustomGlowColor((SimplePlayer *)v5, *(_DWORD *)(*((_QWORD *)this + 70) + 424LL)); v13 = *((_QWORD *)this + 70); if ( *(_DWORD *)(v13 + 428) == 2 ) v14 = 1; else v14 = *(_BYTE *)(v13 + 672); *(_BYTE *)(v5 + 660) = v14; SimplePlayer::updatePlayerFrame( v5, *(unsigned int *)(*((_QWORD *)this + 70) + 412LL), *(unsigned int *)(*((_QWORD *)this + 70) + 432LL)); SimplePlayer::updateColors((SimplePlayer *)v5); v16 = (cocos2d::CCNode *)cocos2d::CCMenu::create(nullptr, v15); (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *))(**((_QWORD **)this + 67) + 456LL))(*((_QWORD *)this + 67), v16); v17 = *((_QWORD *)this + 70); if ( *(_DWORD *)(v17 + 368) != 2 ) { v18 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)*(unsigned int *)(v17 + 396)); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v18); v21 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt", v20); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**((_QWORD **)this + 67) + 456LL))( *((_QWORD *)this + 67), v21); v22 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v21 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 30.0, (float)(*((float *)this + 131) * 0.5) + -18.0); v22(v21, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v21, 40.0, 0.65, 0.0); v17 = *((_QWORD *)this + 70); } v188 = 0; v23 = (const char *)(v17 + 320); v189 = 0; v190 = nullptr; if ( (*(_BYTE *)(v17 + 320) & 1) != 0 ) { std::string::__init(&v188, *(void **)(v17 + 336), *(_QWORD *)(v17 + 328)); } else { v24 = *(_QWORD *)(v17 + 328); v188 = *(_QWORD *)v23; v189 = v24; v190 = *(cocos2d::CCLabelBMFont **)(v17 + 336); } v25 = (cocos2d::CCLabelBMFont *)((char *)&v188 + 1); if ( (v188 & 1) != 0 ) v25 = v190; v26 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v25, "goldFont.fnt", v23); if ( (v188 & 1) != 0 ) operator delete(v190); cocos2d::CCLabelBMFont::limitLabelWidth(v26, 120.0, 0.8, 0.0); v27 = CCMenuItemSpriteExtra::create((__int64)v26, 0, (__int64)this, (__int64)GJScoreCell::onViewProfile, 0); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v16 + 456LL))(v16, v27); v28 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v26 + 328LL))(v26); v29 = v28 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v26 + 168LL))(v26); v155 = (GameToolbox *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 30.0, 7.0); cocos2d::CCPoint::operator+(&v160, v155); v153 = *(GameToolbox **)(*(_QWORD *)v27 + 184LL); v30 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v26 + 328LL))(v26) * 0.5; v31 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v26 + 168LL))(v26); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v161, v30 * v31, 0.0); cocos2d::CCPoint::operator+(&v162, &v160); cocos2d::CCNode::convertToNodeSpace(&v163, v16, (const cocos2d::CCPoint *)&v162); ((void (__fastcall *)(__int64, __int64 *))v153)(v27, &v163); v32 = *((GJUserScore **)this + 70); if ( *((_DWORD *)v32 + 92) == 2 ) { v150 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 184LL); v151 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, 0.0, -7.0); cocos2d::CCPoint::operator+(&v163, v151); v150(v5, &v163); v32 = *((GJUserScore **)this + 70); } if ( (unsigned __int8)GJUserScore::isCurrentUser(v32) ) { v118 = *((_QWORD *)this + 66); v119 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v118 + 1216LL); LOWORD(v163) = -26906; BYTE2(v163) = 10; v119(v118, &v163); if ( *((int *)a2 + 94) > 0 ) goto LABEL_17; } else if ( *((int *)a2 + 94) > 0 ) { goto LABEL_17; } if ( *((_DWORD *)a2 + 92) != 1 ) { v120 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v26 + 1072LL); BYTE2(v163) = -1; LOWORD(v163) = -166; v120(v26, &v163); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v27 + 1056LL))(v27, 0); } LABEL_17: v33 = 0.5; v34 = (float)(*((float *)this + 131) * 0.5) + -13.0; if ( v158 ) { v33 = 0.45; v35 = 35.0; } else { v35 = 50.0; } v36 = *((_QWORD *)this + 70); v164 = 0; v165 = 0; v37 = *(_DWORD *)(v36 + 380); v166 = nullptr; std::string::__init(&v164, "GJ_starsIcon_001.png", 0x14u); v38 = *((_QWORD *)this + 70); v167 = nullptr; v156 = *(_DWORD *)(v38 + 384); v168 = 0; v169 = nullptr; std::string::__init((__int64 *)&v167, "GJ_moonsIcon_001.png", 0x14u); v154 = *(_DWORD *)(*((_QWORD *)this + 70) + 392LL); v170 = nullptr; v171 = 0; v172 = nullptr; std::string::__init((__int64 *)&v170, "GJ_demonIcon_001.png", 0x14u); v39 = *(_DWORD *)(*((_QWORD *)this + 70) + 408LL); v173 = nullptr; v174 = 0; v175 = nullptr; std::string::__init((__int64 *)&v173, "GJ_coinsIcon2_001.png", 0x15u); v40 = *(_DWORD *)(*((_QWORD *)this + 70) + 840LL); if ( !v40 ) goto LABEL_26; v188 = 0; v189 = 0; v190 = nullptr; if ( (v164 & 1) != 0 ) { std::string::__init(&v188, v166, v165); v40 = *(_DWORD *)(*((_QWORD *)this + 70) + 840LL); if ( v40 != 2 ) { LABEL_22: if ( v40 == 3 ) { if ( ((unsigned __int8)v173 & 1) != 0 ) { v140 = v175; v141 = v174; } else { v141 = (unsigned __int8)v173 >> 1; v140 = (cocos2d::CCSprite *)((char *)&v173 + 1); } std::string::assign(&v164, v140, v141); if ( (v188 & 1) != 0 ) { v142 = v190; v143 = v189; } else { v143 = (unsigned __int8)v188 >> 1; v142 = (cocos2d::CCLabelBMFont *)((char *)&v188 + 1); } std::string::assign((__int64 *)&v173, v142, v143); v144 = v37; v37 = v39; v39 = v144; } else if ( v40 == 1 ) { if ( ((unsigned __int8)v167 & 1) != 0 ) { v145 = v169; v146 = v168; } else { v146 = (unsigned __int8)v167 >> 1; v145 = (cocos2d::CCSprite *)((char *)&v167 + 1); } std::string::assign(&v164, v145, v146); if ( (v188 & 1) != 0 ) { v147 = v190; v148 = v189; } else { v148 = (unsigned __int8)v188 >> 1; v147 = (cocos2d::CCLabelBMFont *)((char *)&v188 + 1); } std::string::assign((__int64 *)&v167, v147, v148); v149 = v37; v37 = v156; v156 = v149; } goto LABEL_24; } } else { v190 = v166; v188 = v164; v189 = v165; if ( v40 != 2 ) goto LABEL_22; } if ( ((unsigned __int8)v170 & 1) != 0 ) { v135 = v172; v136 = v171; } else { v136 = (unsigned __int8)v170 >> 1; v135 = (cocos2d::CCSprite *)((char *)&v170 + 1); } std::string::assign(&v164, v135, v136); if ( (v188 & 1) != 0 ) { v137 = v190; v138 = v189; } else { v138 = (unsigned __int8)v188 >> 1; v137 = (cocos2d::CCLabelBMFont *)((char *)&v188 + 1); } std::string::assign((__int64 *)&v170, v137, v138); v139 = v37; v37 = v154; v154 = v139; LABEL_24: if ( (v188 & 1) != 0 ) operator delete(v190); LABEL_26: GameToolbox::pointsToString((GameToolbox *)v37, v176); v42 = (cocos2d::CCLabelBMFont *)((char *)v176 + 1); if ( (v176[0] & 1) != 0 ) v42 = v177; v43 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v42, "bigFont.fnt", v41); if ( (v176[0] & 1) != 0 ) operator delete(v177); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v43, 2); v44 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v43 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 0.0, 0.5); v44(v43, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v43, 60.0, v33, 0.0); v45 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v43 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, v29 + 5.0, -2.0); cocos2d::CCPoint::operator+(&v163, &v160); v45(v43, &v163); v46 = (cocos2d::CCSprite *)((char *)&v164 + 1); if ( (v164 & 1) != 0 ) v46 = v166; v47 = cocos2d::CCSprite::createWithSpriteFrameName(v46, (const char *)(unsigned __int8)v164); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v47, 2); v152 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v47 + 184LL); v48 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 192LL))(v43); v49 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 328LL))(v43); v50 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 168LL))(v43); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v49 * v50) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v163, v48); v152(v47, &v163); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v47 + 160LL))(v47, 0.7); GameToolbox::pointsToString((GameToolbox *)v156, v178); v52 = (cocos2d::CCLabelBMFont *)((char *)v178 + 1); if ( (v178[0] & 1) != 0 ) v52 = v179; v53 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v52, "bigFont.fnt", v51); if ( (v178[0] & 1) != 0 ) operator delete(v179); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v53, 2); v54 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v53 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 0.0, 0.5); v54(v53, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v53, 60.0, v33, 0.0); v157 = *(GameToolbox **)(*(_QWORD *)v53 + 184LL); v55 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v47 + 192LL))(v47); v56 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v47 + 328LL))(v47); v57 = (float)(v56 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v47 + 168LL))(v47)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, v57, 0.0); cocos2d::CCPoint::operator+(&v163, v55); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64 *))v157)(v53, &v163); v58 = (cocos2d::CCSprite *)((char *)&v167 + 1); if ( ((unsigned __int8)v167 & 1) != 0 ) v58 = v169; v59 = cocos2d::CCSprite::createWithSpriteFrameName(v58, (const char *)(unsigned __int8)v167); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v59, 2); v60 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v59 + 184LL); v61 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v53 + 192LL))(v53); v62 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v53 + 328LL))(v53); v63 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v53 + 168LL))(v53); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v62 * v63) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v163, v61); v60(v59, &v163); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v59 + 160LL))(v59, 0.7); GameToolbox::pointsToString((GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 70) + 388LL), v180); v65 = (cocos2d::CCLabelBMFont *)((char *)v180 + 1); if ( (v180[0] & 1) != 0 ) v65 = v181; v66 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v65, "bigFont.fnt", v64); if ( (v180[0] & 1) != 0 ) operator delete(v181); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v66, 2); v67 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v66 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 0.0, 0.5); v67(v66, &v163); v68 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v66 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 62.0, v34); v68(v66, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v66, v35, v33, 0.0); v70 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_diamondsIcon_001.png", v69); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v70, 2); v71 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v70 + 184LL); v72 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v66 + 192LL))(v66); v73 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v66 + 328LL))(v66); v74 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v66 + 168LL))(v66); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v73 * v74) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v163, v72); v71(v70, &v163); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v70 + 160LL))(v70, 0.7); GameToolbox::pointsToString((GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 70) + 404LL), v182); v76 = (cocos2d::CCLabelBMFont *)((char *)v182 + 1); if ( (v182[0] & 1) != 0 ) v76 = v183; v77 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v76, "bigFont.fnt", v75); if ( (v182[0] & 1) != 0 ) operator delete(v183); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v77, 2); v78 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v77 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 0.0, 0.5); v78(v77, &v163); v79 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v77 + 184LL); v80 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v70 + 192LL))(v70); v81 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v70 + 328LL))(v70); v82 = (float)(v81 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v70 + 168LL))(v70)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, v82, 0.0); cocos2d::CCPoint::operator+(&v163, v80); v79(v77, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v77, v35, v33, 0.0); v84 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_coinsIcon_001.png", v83); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v84, 2); v85 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v84 + 184LL); v86 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v77 + 192LL))(v77); v87 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v77 + 328LL))(v77); v88 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v77 + 168LL))(v77); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v87 * v88) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v163, v86); v85(v84, &v163); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v84 + 160LL))(v84, 0.7); GameToolbox::pointsToString((GameToolbox *)v39, v184); v90 = (cocos2d::CCLabelBMFont *)((char *)v184 + 1); if ( (v184[0] & 1) != 0 ) v90 = v185; v91 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v90, "bigFont.fnt", v89); if ( (v184[0] & 1) != 0 ) operator delete(v185); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v91, 2); v92 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v91 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 0.0, 0.5); v92(v91, &v163); v93 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v91 + 184LL); v94 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v84 + 192LL))(v84); v95 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v84 + 328LL))(v84); v96 = (float)(v95 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v84 + 168LL))(v84)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, v96, 0.0); cocos2d::CCPoint::operator+(&v163, v94); v93(v91, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v91, v35, v33, 0.0); v97 = (cocos2d::CCSprite *)((char *)&v173 + 1); if ( ((unsigned __int8)v173 & 1) != 0 ) v97 = v175; v98 = cocos2d::CCSprite::createWithSpriteFrameName(v97, (const char *)(unsigned __int8)v173); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v98, 2); v99 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v98 + 184LL); v100 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v91 + 192LL))(v91); v101 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v91 + 328LL))(v91); v102 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v91 + 168LL))(v91); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v101 * v102) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v163, v100); v99(v98, &v163); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v98 + 160LL))(v98, 0.7); GameToolbox::pointsToString((GameToolbox *)v154, v186); v104 = (cocos2d::CCLabelBMFont *)((char *)v186 + 1); if ( (v186[0] & 1) != 0 ) v104 = v187; v105 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v104, "bigFont.fnt", v103); if ( (v186[0] & 1) != 0 ) operator delete(v187); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v105, 2); v106 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v105 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 0.0, 0.5); v106(v105, &v163); v107 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v105 + 184LL); v108 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v98 + 192LL))(v98); v109 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v98 + 328LL))(v98); v110 = (float)(v109 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v98 + 168LL))(v98)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, v110, 0.0); cocos2d::CCPoint::operator+(&v163, v108); v107(v105, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v105, v35, v33, 0.0); v111 = (cocos2d::CCSprite *)((char *)&v170 + 1); if ( ((unsigned __int8)v170 & 1) != 0 ) v111 = v172; v112 = cocos2d::CCSprite::createWithSpriteFrameName(v111, (const char *)(unsigned __int8)v170); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v112, 2); v113 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v112 + 184LL); v114 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v105 + 192LL))(v105); v115 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v105 + 328LL))(v105); v116 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v105 + 168LL))(v105); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v115 * v116) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v163, v114); v113(v112, &v163); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v112 + 160LL))(v112, 0.7); if ( v158 ) { GameToolbox::pointsToString( (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 70) + 400LL), (unsigned __int64 *)&v188); v122 = (cocos2d::CCLabelBMFont *)((char *)&v188 + 1); if ( (v188 & 1) != 0 ) v122 = v190; v123 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v122, "bigFont.fnt", v121); if ( (v188 & 1) != 0 ) operator delete(v190); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v123, 2); v124 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v123 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, 0.0, 0.5); v124(v123, &v163); v125 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v123 + 184LL); v126 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v112 + 192LL))(v112); v127 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v112 + 328LL))(v112); v128 = (float)(v127 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v112 + 168LL))(v112)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, v128, 0.0); cocos2d::CCPoint::operator+(&v163, v126); v125(v123, &v163); cocos2d::CCLabelBMFont::limitLabelWidth(v123, v35, v33, 0.0); v130 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_hammerIcon_001.png", v129); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v130, 2); v131 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v130 + 184LL); v132 = (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v123 + 192LL))(v123); v133 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v123 + 328LL))(v123); v134 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v123 + 168LL))(v123); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v162, (float)(v133 * v134) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v163, v132); v131(v130, &v163); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v130 + 160LL))(v130, 0.7); } if ( ((unsigned __int8)v173 & 1) != 0 ) operator delete(v175); if ( ((unsigned __int8)v170 & 1) != 0 ) operator delete(v172); if ( ((unsigned __int8)v167 & 1) != 0 ) operator delete(v169); if ( (v164 & 1) != 0 ) operator delete(v166); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source