// // GJScoreCell::loadFromScore from 0x42d30c to 0x42e11c (3600 bytes) // // 1 xrefs: // > CustomListView::loadCell @ 0x434188 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:11 +0000 // int __fastcall GJScoreCell::loadFromScore(GJScoreCell *this, GJUserScore *a2) { int v4; // r1 float v5; // r6 SimplePlayer *v6; // r5 int (__fastcall *v7)(SimplePlayer *, _DWORD *); // r7 GameManager *v8; // r0 int (__fastcall *v9)(SimplePlayer *, _DWORD *); // r7 GameManager *v10; // r0 int v11; // r0 GameManager *v12; // r0 GameManager *v13; // r0 int v14; // r0 int v15; // r3 char v16; // r3 cocos2d::CCMenuItem *v17; // r1 int v18; // r3 cocos2d::CCString *v19; // r0 cocos2d::CCLabelBMFont *CString; // r0 const char *v21; // r2 cocos2d::CCLabelBMFont *v22; // r7 void (__fastcall *v23)(cocos2d::CCLabelBMFont *, _DWORD *); // r8 cocos2d::CCLabelBMFont *v24; // r0 cocos2d::CCLabelBMFont *v25; // r7 int v26; // r9 float v27; // s18 float v28; // s18 int v29; // r11 float v30; // s17 float v31; // r0 int v32; // r0 void (__fastcall *v33)(int, char *); // r3 float v34; // s15 int v35; // r3 unsigned int v36; // r5 float v37; // s19 float v38; // r7 int v39; // s15 int v40; // r3 unsigned int v41; // r9 int v42; // r3 unsigned int v43; // r3 int v44; // r3 unsigned int v45; // r3 int v46; // r3 unsigned int v47; // r3 unsigned int v48; // r3 unsigned int v49; // r3 const char *v50; // r2 cocos2d::CCLabelBMFont *v51; // r0 cocos2d::CCLabelBMFont *v52; // r5 void (__fastcall *v53)(cocos2d::CCLabelBMFont *, char *); // r8 void (__fastcall *v54)(cocos2d::CCLabelBMFont *, char *); // r10 const char *v55; // r1 cocos2d::CCSprite *v56; // r0 int v57; // r6 void (__fastcall *v58)(int, char *); // r10 int v59; // r11 float v60; // s17 float v61; // r0 const char *v62; // r2 cocos2d::CCLabelBMFont *v63; // r0 cocos2d::CCLabelBMFont *v64; // r5 void (__fastcall *v65)(cocos2d::CCLabelBMFont *, char *); // r10 void (__fastcall *v66)(cocos2d::CCLabelBMFont *, char *); // r9 int v67; // r10 float v68; // s17 float v69; // s15 cocos2d::CCSprite *v70; // r0 int v71; // r9 void (__fastcall *v72)(int, char *); // r10 int v73; // r11 float v74; // s17 float v75; // r0 cocos2d::CCLabelBMFont *v76; // r0 cocos2d::CCLabelBMFont *v77; // r5 void (__fastcall *v78)(cocos2d::CCLabelBMFont *, char *); // r8 void (__fastcall *v79)(cocos2d::CCLabelBMFont *, char *); // r8 const char *v80; // r1 int v81; // r8 void (__fastcall *v82)(int, char *); // r9 int v83; // r10 float v84; // s16 float v85; // r0 const char *v86; // r2 cocos2d::CCLabelBMFont *v87; // r0 cocos2d::CCLabelBMFont *v88; // r5 void (__fastcall *v89)(cocos2d::CCLabelBMFont *, char *); // r9 void (__fastcall *v90)(cocos2d::CCLabelBMFont *, char *); // r6 int v91; // r10 float v92; // s16 float v93; // s15 const char *v94; // r1 int v95; // r6 void (__fastcall *v96)(int, char *); // r10 int v97; // r11 float v98; // s16 float v99; // r0 const char *v100; // r2 cocos2d::CCLabelBMFont *v101; // r0 cocos2d::CCLabelBMFont *v102; // r5 void (__fastcall *v103)(cocos2d::CCLabelBMFont *, char *); // r10 void (__fastcall *v104)(cocos2d::CCLabelBMFont *, char *); // r10 int v105; // r11 float v106; // s16 float v107; // s15 const char *v108; // r1 cocos2d::CCSprite *v109; // r0 int v110; // r6 void (__fastcall *v111)(int, char *); // r10 int v112; // r11 float v113; // s16 float v114; // r0 const char *v115; // r2 cocos2d::CCLabelBMFont *v116; // r0 cocos2d::CCLabelBMFont *v117; // r5 void (__fastcall *v118)(cocos2d::CCLabelBMFont *, char *); // r10 void (__fastcall *v119)(cocos2d::CCLabelBMFont *, char *); // r10 int v120; // r11 float v121; // s16 float v122; // s15 const char *v123; // r1 cocos2d::CCSprite *v124; // r0 int v125; // r6 void (__fastcall *v126)(int, char *); // r10 int v127; // r11 float v128; // s16 float v129; // r0 const char *v131; // r2 cocos2d::CCLabelBMFont *v132; // r0 cocos2d::CCLabelBMFont *v133; // r5 void (__fastcall *v134)(cocos2d::CCLabelBMFont *, char *); // r9 void (__fastcall *v135)(cocos2d::CCLabelBMFont *, char *); // r9 int v136; // r10 float v137; // s16 float v138; // s15 const char *v139; // r1 int v140; // r7 void (__fastcall *v141)(int, char *); // r8 int v142; // r9 float v143; // s16 float v144; // r0 void (__fastcall *v145)(cocos2d::CCLabelBMFont *, char *); // r2 cocos2d::CCPoint *v146; // [sp+8h] [bp-CCh] cocos2d::CCPoint *v147; // [sp+8h] [bp-CCh] cocos2d::CCPoint *v148; // [sp+8h] [bp-CCh] void (__fastcall *v149)(int, char *); // [sp+10h] [bp-C4h] void (__fastcall *v150)(SimplePlayer *, char *); // [sp+10h] [bp-C4h] unsigned int v151; // [sp+10h] [bp-C4h] unsigned int v152; // [sp+14h] [bp-C0h] _BOOL4 v153; // [sp+18h] [bp-BCh] _BYTE v154[8]; // [sp+20h] [bp-B4h] BYREF _BYTE v155[8]; // [sp+28h] [bp-ACh] BYREF _BYTE v156[8]; // [sp+30h] [bp-A4h] BYREF char v157; // [sp+38h] [bp-9Ch] BYREF char v158; // [sp+39h] [bp-9Bh] char v159; // [sp+3Ah] [bp-9Ah] _DWORD v160[2]; // [sp+40h] [bp-94h] BYREF int v161[2]; // [sp+48h] [bp-8Ch] BYREF cocos2d::CCSprite *v162; // [sp+50h] [bp-84h] int v163[2]; // [sp+54h] [bp-80h] BYREF cocos2d::CCSprite *v164; // [sp+5Ch] [bp-78h] int v165[2]; // [sp+60h] [bp-74h] BYREF cocos2d::CCSprite *v166; // [sp+68h] [bp-6Ch] int v167[2]; // [sp+6Ch] [bp-68h] BYREF cocos2d::CCSprite *v168; // [sp+74h] [bp-60h] char v169; // [sp+78h] [bp-5Ch] BYREF char v170; // [sp+79h] [bp-5Bh] BYREF cocos2d::CCLabelBMFont *v171; // [sp+80h] [bp-54h] char v172; // [sp+84h] [bp-50h] BYREF char v173; // [sp+85h] [bp-4Fh] BYREF cocos2d::CCLabelBMFont *v174; // [sp+8Ch] [bp-48h] unsigned __int8 v175; // [sp+90h] [bp-44h] BYREF char v176; // [sp+91h] [bp-43h] BYREF cocos2d::CCLabelBMFont *v177; // [sp+98h] [bp-3Ch] char v178; // [sp+9Ch] [bp-38h] BYREF char v179; // [sp+9Dh] [bp-37h] BYREF cocos2d::CCLabelBMFont *v180; // [sp+A4h] [bp-30h] char v181; // [sp+A8h] [bp-2Ch] BYREF char v182; // [sp+A9h] [bp-2Bh] BYREF cocos2d::CCLabelBMFont *v183; // [sp+B0h] [bp-24h] char v184; // [sp+B4h] [bp-20h] BYREF char v185; // [sp+B5h] [bp-1Fh] BYREF cocos2d::CCLabelBMFont *v186; // [sp+BCh] [bp-18h] int v187[2]; // [sp+C0h] [bp-14h] BYREF cocos2d::CCLabelBMFont *v188; // [sp+C8h] [bp-Ch] (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 103) + 292))(*((_DWORD *)this + 103), 1); *((_DWORD *)this + 106) = a2; v153 = *((_DWORD *)a2 + 80) > 0; if ( *((_DWORD *)a2 + 88) == 1 ) v5 = 0.9; else v5 = 1.0; v6 = (SimplePlayer *)SimplePlayer::create((SimplePlayer *)((char *)&dword_0 + 1), v4); (*(void (__fastcall **)(_DWORD, SimplePlayer *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v6, 1); (*(void (__fastcall **)(SimplePlayer *, float))(*(_DWORD *)v6 + 80))(v6, COERCE_FLOAT(LODWORD(v5))); v7 = *(int (__fastcall **)(SimplePlayer *, _DWORD *))(*(_DWORD *)v6 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v160, 30.0, (float)(*((float *)this + 101) * 0.5) + 7.0); v8 = (GameManager *)v7(v6, v160); v9 = *(int (__fastcall **)(SimplePlayer *, _DWORD *))(*(_DWORD *)v6 + 480); v10 = (GameManager *)GameManager::sharedState(v8); v11 = GameManager::colorForIdx(v10, *(_DWORD *)(*((_DWORD *)this + 106) + 336)); LOWORD(v160[0]) = v11; BYTE2(v160[0]) = BYTE2(v11); v12 = (GameManager *)v9(v6, v160); v13 = (GameManager *)GameManager::sharedState(v12); v14 = GameManager::colorForIdx(v13, *(_DWORD *)(*((_DWORD *)this + 106) + 340)); LOWORD(v160[0]) = v14; BYTE2(v160[0]) = BYTE2(v14); SimplePlayer::setSecondColor(v6, v160); SimplePlayer::tryEnableCustomGlowColor(v6, *(_DWORD *)(*((_DWORD *)this + 106) + 344)); v15 = *((_DWORD *)this + 106); if ( *(_DWORD *)(v15 + 348) == 2 ) v16 = 1; else v16 = *(_BYTE *)(v15 + 504); *((_BYTE *)v6 + 540) = v16; SimplePlayer::updatePlayerFrame( v6, *(_DWORD *)(*((_DWORD *)this + 106) + 332), *(_DWORD *)(*((_DWORD *)this + 106) + 352)); SimplePlayer::updateColors(v6); v146 = (cocos2d::CCPoint *)cocos2d::CCMenu::create(nullptr, v17); (*(void (__fastcall **)(_DWORD, cocos2d::CCPoint *))(**((_DWORD **)this + 103) + 228))(*((_DWORD *)this + 103), v146); v18 = *((_DWORD *)this + 106); if ( *(_DWORD *)(v18 + 288) != 2 ) { v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", *(const char **)(v18 + 316)); CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v19); v22 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt", v21); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *))(**((_DWORD **)this + 103) + 228))( *((_DWORD *)this + 103), v22); v23 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _DWORD *))(*(_DWORD *)v22 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v160, 30.0, (float)(*((float *)this + 101) * 0.5) - 18.0); v23(v22, v160); cocos2d::CCLabelBMFont::limitLabelWidth(v22, 40.0, 0.65, 0.0); } std::string::basic_string(v187, *((_DWORD *)this + 106) + 264); if ( (v187[0] & 1) != 0 ) v24 = v188; else v24 = (cocos2d::CCLabelBMFont *)((char *)v187 + 1); v25 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create( v24, "goldFont.fnt", (const char *)(LOBYTE(v187[0]) << 31)); std::string::~string((int)v187); cocos2d::CCLabelBMFont::limitLabelWidth(v25, 120.0, 0.8, 0.0); v160[1] = 0; v160[0] = GJScoreCell::onViewProfile; v26 = CCMenuItemSpriteExtra::create((int)v25, 0, (int)this, (int)GJScoreCell::onViewProfile, 0); (*(void (__fastcall **)(cocos2d::CCPoint *, int))(*(_DWORD *)v146 + 228))(v146, v26); v27 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v25 + 164))(v25); v28 = v27 * COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v25 + 84))(v25)); v29 = (*(int (__fastcall **)(SimplePlayer *))(*(_DWORD *)v6 + 96))(v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 30.0, 7.0); cocos2d::CCPoint::operator+(v154, v29, &v157); v149 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v26 + 92); v30 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v25 + 164))(v25); v31 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v25 + 84))(v25); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v155, (float)(v30 * 0.5) * v31, 0.0); cocos2d::CCPoint::operator+(v156, v154, v155); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v157, v146); v149(v26, &v157); if ( *(_DWORD *)(*((_DWORD *)this + 106) + 288) == 2 ) { v150 = *(void (__fastcall **)(SimplePlayer *, char *))(*(_DWORD *)v6 + 92); v147 = (cocos2d::CCPoint *)(*(int (__fastcall **)(SimplePlayer *))(*(_DWORD *)v6 + 96))(v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, 0.0, -7.0); cocos2d::CCPoint::operator+(&v157, v147, v156); v150(v6, &v157); } if ( GJUserScore::isCurrentUser(*((GJUserScore **)this + 106)) ) { v32 = *((_DWORD *)this + 102); v33 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v32 + 608); v157 = -26; v158 = -106; v159 = 10; v33(v32, &v157); } if ( *((int *)a2 + 74) <= 0 && *((_DWORD *)a2 + 72) != 1 ) { v145 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v25 + 536); v157 = 90; v158 = -1; v159 = -1; v145(v25, &v157); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v26 + 528))(v26, 0); } v34 = *((float *)this + 101); v35 = *((_DWORD *)this + 106); v161[0] = 0; v36 = *(_DWORD *)(v35 + 300); v161[1] = 0; v162 = nullptr; v37 = (float)(v34 * 0.5) - 13.0; if ( v153 ) v38 = 0.45; else v38 = 0.5; v39 = 1112014848; if ( v153 ) v39 = 1108082688; v148 = (cocos2d::CCPoint *)v39; std::string::__init(v161, "GJ_starsIcon_001.png", 0x14u); v40 = *((_DWORD *)this + 106); v163[0] = 0; v41 = *(_DWORD *)(v40 + 304); v163[1] = 0; v164 = nullptr; std::string::__init(v163, "GJ_moonsIcon_001.png", 0x14u); v42 = *((_DWORD *)this + 106); v165[0] = 0; v43 = *(_DWORD *)(v42 + 312); v165[1] = 0; v166 = nullptr; v151 = v43; std::string::__init(v165, "GJ_demonIcon_001.png", 0x14u); v44 = *((_DWORD *)this + 106); v167[0] = 0; v45 = *(_DWORD *)(v44 + 328); v167[1] = 0; v168 = nullptr; v152 = v45; std::string::__init(v167, "GJ_coinsIcon2_001.png", 0x15u); if ( *(_DWORD *)(*((_DWORD *)this + 106) + 628) ) { std::string::basic_string(v187, (int)v161); v46 = *(_DWORD *)(*((_DWORD *)this + 106) + 628); switch ( v46 ) { case 2: std::string::operator=((unsigned __int8 *)v161, (unsigned __int8 *)v165); std::string::operator=((unsigned __int8 *)v165, (unsigned __int8 *)v187); v48 = v36; v36 = v151; v151 = v48; break; case 3: std::string::operator=((unsigned __int8 *)v161, (unsigned __int8 *)v167); std::string::operator=((unsigned __int8 *)v167, (unsigned __int8 *)v187); v49 = v36; v36 = v152; v152 = v49; break; case 1: std::string::operator=((unsigned __int8 *)v161, (unsigned __int8 *)v163); std::string::operator=((unsigned __int8 *)v163, (unsigned __int8 *)v187); v47 = v36; v36 = v41; v41 = v47; break; } std::string::~string((int)v187); } GameToolbox::pointsToString((GameToolbox *)&v169, v36); if ( (v169 & 1) != 0 ) v51 = v171; else v51 = (cocos2d::CCLabelBMFont *)&v170; v52 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v51, "bigFont.fnt", v50); std::string::~string((int)&v169); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v52, 2); v53 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v52 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 0.0, 0.5); v53(v52, &v157); cocos2d::CCLabelBMFont::limitLabelWidth(v52, 60.0, v38, 0.0); v54 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v52 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v28 + 5.0, -2.0); cocos2d::CCPoint::operator+(&v157, v154, v156); v54(v52, &v157); if ( (v161[0] & 1) != 0 ) v56 = v162; else v56 = (cocos2d::CCSprite *)((char *)v161 + 1); v57 = cocos2d::CCSprite::createWithSpriteFrameName(v56, v55); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v57, 2); v58 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v57 + 92); v59 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v52 + 96))(v52); v60 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v52 + 164))(v52); v61 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v52 + 84))(v52); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (float)(v60 * v61) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v157, v59, v156); v58(v57, &v157); (*(void (__fastcall **)(int, int))(*(_DWORD *)v57 + 80))(v57, 1060320051); GameToolbox::pointsToString((GameToolbox *)&v172, v41); if ( (v172 & 1) != 0 ) v63 = v174; else v63 = (cocos2d::CCLabelBMFont *)&v173; v64 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v63, "bigFont.fnt", v62); std::string::~string((int)&v172); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v64, 2); v65 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v64 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 0.0, 0.5); v65(v64, &v157); cocos2d::CCLabelBMFont::limitLabelWidth(v64, 60.0, v38, 0.0); v66 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v64 + 92); v67 = (*(int (__fastcall **)(int))(*(_DWORD *)v57 + 96))(v57); v68 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v57 + 164))(v57); v69 = (float)(v68 * (*(float (__fastcall **)(int))(*(_DWORD *)v57 + 84))(v57)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v69, 0.0); cocos2d::CCPoint::operator+(&v157, v67, v156); v66(v64, &v157); if ( (v163[0] & 1) != 0 ) v70 = v164; else v70 = (cocos2d::CCSprite *)((char *)v163 + 1); v71 = cocos2d::CCSprite::createWithSpriteFrameName(v70, (const char *)(LOBYTE(v163[0]) << 31)); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v71, 2); v72 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v71 + 92); v73 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v64 + 96))(v64); v74 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v64 + 164))(v64); v75 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v64 + 84))(v64); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (float)(v74 * v75) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v157, v73, v156); v72(v71, &v157); (*(void (__fastcall **)(int, int))(*(_DWORD *)v71 + 80))(v71, 1060320051); GameToolbox::pointsToString((GameToolbox *)&v175, *(_DWORD *)(*((_DWORD *)this + 106) + 308)); if ( (v175 & 1) != 0 ) v76 = v177; else v76 = (cocos2d::CCLabelBMFont *)&v176; v77 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v76, "bigFont.fnt", (const char *)(v175 << 31)); std::string::~string((int)&v175); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v77, 2); v78 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v77 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 0.0, 0.5); v78(v77, &v157); v79 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v77 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 62.0, v37); v79(v77, &v157); cocos2d::CCLabelBMFont::limitLabelWidth(v77, *(float *)&v148, v38, 0.0); v81 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_diamondsIcon_001.png", v80); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v81, 2); v82 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v81 + 92); v83 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v77 + 96))(v77); v84 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v77 + 164))(v77); v85 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v77 + 84))(v77); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (float)(v84 * v85) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v157, v83, v156); v82(v81, &v157); (*(void (__fastcall **)(int, int))(*(_DWORD *)v81 + 80))(v81, 1060320051); GameToolbox::pointsToString((GameToolbox *)&v178, *(_DWORD *)(*((_DWORD *)this + 106) + 324)); if ( (v178 & 1) != 0 ) v87 = v180; else v87 = (cocos2d::CCLabelBMFont *)&v179; v88 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v87, "bigFont.fnt", v86); std::string::~string((int)&v178); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v88, 2); v89 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v88 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 0.0, 0.5); v89(v88, &v157); v90 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v88 + 92); v91 = (*(int (__fastcall **)(int))(*(_DWORD *)v81 + 96))(v81); v92 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v81 + 164))(v81); v93 = (float)(v92 * (*(float (__fastcall **)(int))(*(_DWORD *)v81 + 84))(v81)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v93, 0.0); cocos2d::CCPoint::operator+(&v157, v91, v156); v90(v88, &v157); cocos2d::CCLabelBMFont::limitLabelWidth(v88, *(float *)&v148, v38, 0.0); v95 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_coinsIcon_001.png", v94); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v95, 2); v96 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v95 + 92); v97 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v88 + 96))(v88); v98 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v88 + 164))(v88); v99 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v88 + 84))(v88); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (float)(v98 * v99) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v157, v97, v156); v96(v95, &v157); (*(void (__fastcall **)(int, int))(*(_DWORD *)v95 + 80))(v95, 1060320051); GameToolbox::pointsToString((GameToolbox *)&v181, v152); if ( (v181 & 1) != 0 ) v101 = v183; else v101 = (cocos2d::CCLabelBMFont *)&v182; v102 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v101, "bigFont.fnt", v100); std::string::~string((int)&v181); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v102, 2); v103 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v102 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 0.0, 0.5); v103(v102, &v157); v104 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v102 + 92); v105 = (*(int (__fastcall **)(int))(*(_DWORD *)v95 + 96))(v95); v106 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v95 + 164))(v95); v107 = (float)(v106 * (*(float (__fastcall **)(int))(*(_DWORD *)v95 + 84))(v95)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v107, 0.0); cocos2d::CCPoint::operator+(&v157, v105, v156); v104(v102, &v157); cocos2d::CCLabelBMFont::limitLabelWidth(v102, *(float *)&v148, v38, 0.0); if ( (v167[0] & 1) != 0 ) v109 = v168; else v109 = (cocos2d::CCSprite *)((char *)v167 + 1); v110 = cocos2d::CCSprite::createWithSpriteFrameName(v109, v108); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v110, 2); v111 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v110 + 92); v112 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v102 + 96))(v102); v113 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v102 + 164))(v102); v114 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v102 + 84))(v102); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (float)(v113 * v114) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v157, v112, v156); v111(v110, &v157); (*(void (__fastcall **)(int, int))(*(_DWORD *)v110 + 80))(v110, 1060320051); GameToolbox::pointsToString((GameToolbox *)&v184, v151); if ( (v184 & 1) != 0 ) v116 = v186; else v116 = (cocos2d::CCLabelBMFont *)&v185; v117 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v116, "bigFont.fnt", v115); std::string::~string((int)&v184); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v117, 2); v118 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v117 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 0.0, 0.5); v118(v117, &v157); v119 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v117 + 92); v120 = (*(int (__fastcall **)(int))(*(_DWORD *)v110 + 96))(v110); v121 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v110 + 164))(v110); v122 = (float)(v121 * (*(float (__fastcall **)(int))(*(_DWORD *)v110 + 84))(v110)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v122, 0.0); cocos2d::CCPoint::operator+(&v157, v120, v156); v119(v117, &v157); cocos2d::CCLabelBMFont::limitLabelWidth(v117, *(float *)&v148, v38, 0.0); if ( (v165[0] & 1) != 0 ) v124 = v166; else v124 = (cocos2d::CCSprite *)((char *)v165 + 1); v125 = cocos2d::CCSprite::createWithSpriteFrameName(v124, v123); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v125, 2); v126 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v125 + 92); v127 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v117 + 96))(v117); v128 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v117 + 164))(v117); v129 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v117 + 84))(v117); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (float)(v128 * v129) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v157, v127, v156); v126(v125, &v157); (*(void (__fastcall **)(int, int))(*(_DWORD *)v125 + 80))(v125, 1060320051); if ( v153 ) { GameToolbox::pointsToString((GameToolbox *)v187, *(_DWORD *)(*((_DWORD *)this + 106) + 320)); if ( (v187[0] & 1) != 0 ) v132 = v188; else v132 = (cocos2d::CCLabelBMFont *)((char *)v187 + 1); v133 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v132, "bigFont.fnt", v131); std::string::~string((int)v187); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *, int))(**((_DWORD **)this + 103) + 232))( *((_DWORD *)this + 103), v133, 2); v134 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v133 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v157, 0.0, 0.5); v134(v133, &v157); v135 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, char *))(*(_DWORD *)v133 + 92); v136 = (*(int (__fastcall **)(int))(*(_DWORD *)v125 + 96))(v125); v137 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v125 + 164))(v125); v138 = (float)(v137 * (*(float (__fastcall **)(int))(*(_DWORD *)v125 + 84))(v125)) * 0.5 + 8.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v138, 0.0); cocos2d::CCPoint::operator+(&v157, v136, v156); v135(v133, &v157); cocos2d::CCLabelBMFont::limitLabelWidth(v133, *(float *)&v148, v38, 0.0); v140 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_hammerIcon_001.png", v139); (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 103) + 232))(*((_DWORD *)this + 103), v140, 2); v141 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v140 + 92); v142 = (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v133 + 96))(v133); v143 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v133 + 164))(v133); v144 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v133 + 84))(v133); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (float)(v143 * v144) + 10.0, 0.0); cocos2d::CCPoint::operator+(&v157, v142, v156); v141(v140, &v157); (*(void (__fastcall **)(int, int))(*(_DWORD *)v140 + 80))(v140, 1060320051); } std::string::~string((int)v167); std::string::~string((int)v165); std::string::~string((int)v163); return std::string::~string((int)v161); }
GD Web Decomp Icon

GD Web Decomp

Raw Source