// // GJScoreCell::loadFromScore from 0x10022f8a0 to 0x100230c84 (5092 bytes) // // 1 xrefs: // > CustomListView::loadCell @ 0x1002283b8 // // 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 12:27:10 +0000 // void __fastcall GJScoreCell::loadFromScore(__int64 a1, __int64 a2) { bool v2; // zf _BYTE *v3; // r15 __int64 v4; // rdx double v5; // xmm0_8 __int64 v6; // rax double v7; // xmm0_8 __int16 v8; // ax std::string::value_type v9; // eax^2 __int64 v10; // rdx double v11; // xmm0_8 __int64 v12; // rax double v13; // xmm0_8 __int16 v14; // ax std::string::value_type v15; // eax^2 __int64 v16; // rax char v17; // cl __int64 v18; // rsi int v19; // edx int v20; // ecx int v21; // r8d int v22; // r9d __int64 v23; // rsi __int64 v24; // r12 __int64 *v25; // rdi __int64 v26; // rax __int64 v27; // rax __int64 v28; // rax __int64 CString; // rax __int64 v30; // r14 std::string::pointer data; // rdi __int64 v32; // r13 _QWORD *v33; // rbx _QWORD *v34; // r15 __int64 v35; // rax __int64 v36; // r12 float v37; // xmm0_4 __int64 v38; // rax __int64 v39; // rdi __int64 v40; // rax _QWORD *v41; // r15 __int64 v42; // rbx __int64 v43; // rdi __int64 v44; // r15 int v45; // edx _DWORD *v46; // rax int v47; // r12d int v48; // r14d int v49; // r13d int v50; // eax std::string::pointer v51; // rdi __int64 v52; // r14 std::string::pointer v53; // rdi __int64 v54; // r13 __int64 v55; // r15 float v56; // xmm0_4 std::string::pointer v57; // rdi __int64 v58; // r12 __int64 v59; // r14 float v60; // xmm0_4 float v61; // xmm0_4 std::string::pointer v62; // rdi __int64 v63; // r14 __int64 v64; // r15 float v65; // xmm0_4 std::string::pointer v66; // rdi __int64 v67; // r14 __int64 v68; // r12 __int64 v69; // r15 float v70; // xmm0_4 std::string::pointer v71; // rdi __int64 v72; // r13 __int64 v73; // r14 float v74; // xmm0_4 float v75; // xmm0_4 __int64 v76; // r12 __int64 v77; // r14 float v78; // xmm0_4 std::string::pointer v79; // rdi __int64 v80; // r13 __int64 v81; // r14 float v82; // xmm0_4 float v83; // xmm0_4 std::string::pointer v84; // rdi __int64 v85; // r15 __int64 v86; // r14 float v87; // xmm0_4 std::string::pointer v88; // rdi __int64 v89; // r12 __int64 v90; // r14 float v91; // xmm0_4 float v92; // xmm0_4 std::string::pointer v93; // rdi __int64 v94; // r14 __int64 v95; // r15 float v96; // xmm0_4 std::string::pointer v97; // rdi __int64 v98; // r15 __int64 v99; // r12 float v100; // xmm0_4 float v101; // xmm0_4 __int64 v102; // r14 __int64 v103; // rbx float v104; // xmm0_4 char v105; // [rsp+0h] [rbp-F0h] char v106[8]; // [rsp+4h] [rbp-ECh] BYREF float v107; // [rsp+Ch] [rbp-E4h] float v108; // [rsp+10h] [rbp-E0h] int v109; // [rsp+14h] [rbp-DCh] _QWORD *v110; // [rsp+18h] [rbp-D8h] std::string v111; // [rsp+20h] [rbp-D0h] BYREF std::string v112; // [rsp+38h] [rbp-B8h] BYREF std::string __str; // [rsp+50h] [rbp-A0h] BYREF int v114; // [rsp+68h] [rbp-88h] int v115; // [rsp+6Ch] [rbp-84h] std::string v116; // [rsp+70h] [rbp-80h] BYREF _QWORD *v117; // [rsp+88h] [rbp-68h] __int64 v118; // [rsp+90h] [rbp-60h] char v119[8]; // [rsp+98h] [rbp-58h] BYREF __int64 v120; // [rsp+A0h] [rbp-50h] float v121; // [rsp+ACh] [rbp-44h] std::string v122; // [rsp+B0h] [rbp-40h] BYREF (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1); *(_QWORD *)(a1 + 560) = a2; v2 = *(_DWORD *)(a2 + 432) == 1; v118 = a2; v114 = *(_DWORD *)(a2 + 400); LODWORD(v120) = dword_100A06458[v2]; v3 = (_BYTE *)SimplePlayer::create(1, COERCE_DOUBLE((unsigned __int64)(unsigned int)v120)); (*(void (__fastcall **)(_QWORD, _BYTE *, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v3, 1); (*(void (__fastcall **)(_BYTE *, float))(*(_QWORD *)v3 + 160LL))(v3, *(float *)&v120); sub_100278250(&v116, 30.0, (float)(*(float *)(a1 + 524) * 0.5) + 7.0); (*(void (__fastcall **)(_BYTE *, std::string *))(*(_QWORD *)v3 + 184LL))(v3, &v116); *(_QWORD *)&v5 = GameManager::sharedState(v3, &v116, v4).u64[0]; *(_QWORD *)&v7 = GameManager::colorForIdx(v6, *(unsigned int *)(*(_QWORD *)(a1 + 560) + 416LL), v5).u64[0]; *(_WORD *)&v116.__r_.__value_.__l.0 = v8; v116.__r_.__value_.__s.__data_[1] = v9; (*(void (__fastcall **)(_BYTE *, std::string *, double))(*(_QWORD *)v3 + 960LL))(v3, &v116, v7); *(_QWORD *)&v11 = GameManager::sharedState(v3, &v116, v10).u64[0]; *(_QWORD *)&v13 = GameManager::colorForIdx(v12, *(unsigned int *)(*(_QWORD *)(a1 + 560) + 420LL), v11).u64[0]; *(_WORD *)&v116.__r_.__value_.__l.0 = v14; v116.__r_.__value_.__s.__data_[1] = v15; SimplePlayer::setSecondColor(v3, &v116); SimplePlayer::tryEnableCustomGlowColor(v3, *(unsigned int *)(*(_QWORD *)(a1 + 560) + 424LL), v13); v120 = a1; v16 = *(_QWORD *)(a1 + 560); v17 = 1; if ( *(_DWORD *)(v16 + 428) != 2 ) v17 = *(_BYTE *)(v16 + 672); v3[660] = v17; v18 = *(unsigned int *)(v16 + 412); SimplePlayer::updatePlayerFrame(v3, v18, *(unsigned int *)(v16 + 432), v13); SimplePlayer::updateColors(v3); v23 = sub_1008735E0(0, v18, v19, v20, v21, v22); v24 = v120; v25 = *(__int64 **)(v120 + 536); v26 = *v25; v117 = (_QWORD *)v23; (*(void (__fastcall **)(__int64 *))(v26 + 456))(v25); v27 = *(_QWORD *)(v24 + 560); if ( *(_DWORD *)(v27 + 368) != 2 ) { v28 = sub_10088E820("%i", v105); CString = cocos2d::CCString::getCString(v28); v30 = cocos2d::CCLabelBMFont::create_3(CString, "goldFont.fnt"); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v24 + 536) + 456LL))(*(_QWORD *)(v24 + 536), v30); sub_100278250(&v116, 30.0, (float)(*(float *)(v24 + 524) * 0.5) + -18.0); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v30 + 184LL))(v30, &v116); cocos2d::CCLabelBMFont::limitLabelWidth(v30, 40.0, 0.64999998, 0.0); v27 = *(_QWORD *)(v24 + 560); } if ( (*(_BYTE *)(v27 + 320) & 1) != 0 ) { sub_10001AD30(&v116, *(const void **)(v27 + 336), *(_QWORD *)(v27 + 328)); if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_7; } else { v116 = *(std::string *)(v27 + 320); if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_7: data = v116.__r_.__value_.__s.__data_; goto LABEL_10; } } data = v116.__r_.__value_.__l.__data_; LABEL_10: v32 = cocos2d::CCLabelBMFont::create_3(data, "goldFont.fnt"); v33 = v3; if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v116.__r_.__value_.__l.__data_); cocos2d::CCLabelBMFont::limitLabelWidth(v32, 120.0, 0.80000001, 0.0); v34 = (_QWORD *)CCMenuItemSpriteExtra::create(v32, 0, v120, GJScoreCell::onViewProfile, 0); (*(void (__fastcall **)(_QWORD *, _QWORD *))(*v117 + 456LL))(v117, v34); v107 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v32 + 328LL))(v32); v108 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v32 + 168LL))(v32); v35 = *v33; v110 = v33; v36 = (*(__int64 (__fastcall **)(_QWORD *))(v35 + 192))(v33); sub_100278250(&v116, 30.0, 7.0); sub_100278350(v106, v36, &v116); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v32 + 328LL))(v32) * 0.5; v37 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v32 + 168LL))(v32); sub_100278250(&v112, v37 * v121, 0.0); sub_100278350(&__str, v106, &v112); cocos2d::CCNode::convertToNodeSpace(&v116, v117, &__str); v38 = *v34; v117 = v34; (*(void (__fastcall **)(_QWORD *, std::string *))(v38 + 184))(v34, &v116); v39 = *(_QWORD *)(v120 + 560); if ( *(_DWORD *)(v39 + 368) != 2 ) { if ( !(unsigned __int8)GJUserScore::isCurrentUser(v39) ) goto LABEL_14; LABEL_17: v43 = *(_QWORD *)(v120 + 528); v116.__r_.__value_.__s.__data_[1] = 10; *(_WORD *)&v116.__r_.__value_.__l.0 = -26906; (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v43 + 1216LL))(v43, &v116); v40 = v118; if ( *(int *)(v118 + 376) > 0 ) goto LABEL_20; goto LABEL_18; } v41 = v110; v42 = (*(__int64 (__fastcall **)(_QWORD *))(*v110 + 192LL))(v110); sub_100278250(&__str, 0.0, -7.0); sub_100278350(&v116, v42, &__str); (*(void (__fastcall **)(_QWORD *, std::string *))(*v41 + 184LL))(v41, &v116); if ( (unsigned __int8)GJUserScore::isCurrentUser(*(_QWORD *)(v120 + 560)) ) goto LABEL_17; LABEL_14: v40 = v118; if ( *(int *)(v118 + 376) > 0 ) goto LABEL_20; LABEL_18: if ( *(_DWORD *)(v40 + 368) != 1 ) { v116.__r_.__value_.__s.__data_[1] = -1; *(_WORD *)&v116.__r_.__value_.__l.0 = -166; (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v32 + 1072LL))(v32, &v116); (*(void (__fastcall **)(_QWORD *, _QWORD))(*v117 + 1056LL))(v117, 0); } LABEL_20: v44 = 0; LOBYTE(v117) = v114 > 0; LODWORD(v110) = *(_DWORD *)(v120 + 524); v45 = 50; if ( v114 > 0 ) v45 = 35; v109 = v45; v46 = *(_DWORD **)(v120 + 560); v47 = v46[95]; strcpy((char *)&v116, "(GJ_starsIcon_001.png"); v48 = v46[96]; strcpy((char *)&__str, "(GJ_moonsIcon_001.png"); strcpy((char *)&v112, "(GJ_demonIcon_001.png"); v49 = v46[102]; strcpy((char *)&v111, "*GJ_coinsIcon2_001.png"); v50 = v46[210]; if ( !v50 ) { v115 = v49; LODWORD(v118) = v48; goto LABEL_34; } v122 = v116; switch ( v50 ) { case 3: std::string::operator=(&v116, &v111); std::string::operator=(&v111, &v122); v115 = v47; LODWORD(v118) = v48; break; case 2: std::string::operator=(&v116, &v112); std::string::operator=(&v112, &v122); v115 = v49; LODWORD(v118) = v48; break; case 1: std::string::operator=(&v116, &__str); std::string::operator=(&__str, &v122); v115 = v49; LODWORD(v118) = v47; break; default: v115 = v49; LODWORD(v118) = v48; if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_34; goto LABEL_33; } if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) LABEL_33: operator delete(v122.__r_.__value_.__l.__data_); LABEL_34: GameToolbox::pointsToString(&v122); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) v51 = v122.__r_.__value_.__l.__data_; else v51 = v122.__r_.__value_.__s.__data_; v52 = cocos2d::CCLabelBMFont::create_3(v51, "bigFont.fnt"); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v122.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v52, 2); sub_100278250(&v122, 0.0, 0.5); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v52 + 296LL))(v52, &v122); LOBYTE(v44) = (_BYTE)v117; LODWORD(v117) = dword_100A06460[v44]; cocos2d::CCLabelBMFont::limitLabelWidth(v52, 60.0, *(float *)&v117, 0.0); sub_100278250(v119, (float)(v107 * v108) + 5.0, -2.0); sub_100278350(&v122, v106, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v52 + 184LL))(v52, &v122); if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) != 0 ) v53 = v116.__r_.__value_.__l.__data_; else v53 = v116.__r_.__value_.__s.__data_; v54 = cocos2d::CCSprite::createWithSpriteFrameName(v53); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v54, 2); v55 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v52 + 192LL))(v52); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v52 + 328LL))(v52); v56 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v52 + 168LL))(v52); sub_100278250(v119, (float)(v121 * v56) + 10.0, 0.0); sub_100278350(&v122, v55, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v54 + 184LL))(v54, &v122); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v54 + 160LL))(v54, 0.69999999); GameToolbox::pointsToString(&v122); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) v57 = v122.__r_.__value_.__l.__data_; else v57 = v122.__r_.__value_.__s.__data_; v58 = cocos2d::CCLabelBMFont::create_3(v57, "bigFont.fnt"); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v122.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v58, 2); sub_100278250(&v122, 0.0, 0.5); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v58 + 296LL))(v58, &v122); cocos2d::CCLabelBMFont::limitLabelWidth(v58, 60.0, *(float *)&v117, 0.0); v59 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v54 + 192LL))(v54); LODWORD(v118) = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v54 + 328LL))(v54); v60 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v54 + 168LL))(v54); v61 = (float)(*(float *)&v118 * v60) * 0.5 + 8.0; sub_100278250(v119, v61, 0.0); sub_100278350(&v122, v59, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v58 + 184LL))(v58, &v122); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) v62 = __str.__r_.__value_.__l.__data_; else v62 = __str.__r_.__value_.__s.__data_; v63 = cocos2d::CCSprite::createWithSpriteFrameName(v62); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v63, 2); v64 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v58 + 192LL))(v58); LODWORD(v118) = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v58 + 328LL))(v58); v65 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v58 + 168LL))(v58); sub_100278250(v119, (float)(*(float *)&v118 * v65) + 10.0, 0.0); sub_100278350(&v122, v64, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v63 + 184LL))(v63, &v122); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v63 + 160LL))(v63, 0.69999999); GameToolbox::pointsToString(&v122); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) v66 = v122.__r_.__value_.__l.__data_; else v66 = v122.__r_.__value_.__s.__data_; v67 = cocos2d::CCLabelBMFont::create_3(v66, "bigFont.fnt"); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v122.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v67, 2); sub_100278250(&v122, 0.0, 0.5); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v67 + 296LL))(v67, &v122); sub_100278250(&v122, 62.0, (float)(*(float *)&v110 * 0.5) + -13.0); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v67 + 184LL))(v67, &v122); *(float *)&v118 = (float)v109; cocos2d::CCLabelBMFont::limitLabelWidth(v67, (float)v109, *(float *)&v117, 0.0); v68 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_diamondsIcon_001.png"); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v68, 2); v69 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v67 + 192LL))(v67); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v67 + 328LL))(v67); v70 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v67 + 168LL))(v67); sub_100278250(v119, (float)(v121 * v70) + 10.0, 0.0); sub_100278350(&v122, v69, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v68 + 184LL))(v68, &v122); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v68 + 160LL))(v68, 0.69999999); GameToolbox::pointsToString(&v122); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) v71 = v122.__r_.__value_.__l.__data_; else v71 = v122.__r_.__value_.__s.__data_; v72 = cocos2d::CCLabelBMFont::create_3(v71, "bigFont.fnt"); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v122.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v72, 2); sub_100278250(&v122, 0.0, 0.5); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v72 + 296LL))(v72, &v122); v73 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v68 + 192LL))(v68); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v68 + 328LL))(v68); v74 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v68 + 168LL))(v68); v75 = (float)(v121 * v74) * 0.5 + 8.0; sub_100278250(v119, v75, 0.0); sub_100278350(&v122, v73, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v72 + 184LL))(v72, &v122); cocos2d::CCLabelBMFont::limitLabelWidth(v72, *(float *)&v118, *(float *)&v117, 0.0); v76 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_coinsIcon_001.png"); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v76, 2); v77 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v72 + 192LL))(v72); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v72 + 328LL))(v72); v78 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v72 + 168LL))(v72); sub_100278250(v119, (float)(v121 * v78) + 10.0, 0.0); sub_100278350(&v122, v77, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v76 + 184LL))(v76, &v122); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v76 + 160LL))(v76, 0.69999999); GameToolbox::pointsToString(&v122); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) v79 = v122.__r_.__value_.__l.__data_; else v79 = v122.__r_.__value_.__s.__data_; v80 = cocos2d::CCLabelBMFont::create_3(v79, "bigFont.fnt"); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v122.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v80, 2); sub_100278250(&v122, 0.0, 0.5); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v80 + 296LL))(v80, &v122); v81 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v76 + 192LL))(v76); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v76 + 328LL))(v76); v82 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v76 + 168LL))(v76); v83 = (float)(v121 * v82) * 0.5 + 8.0; sub_100278250(v119, v83, 0.0); sub_100278350(&v122, v81, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v80 + 184LL))(v80, &v122); cocos2d::CCLabelBMFont::limitLabelWidth(v80, *(float *)&v118, *(float *)&v117, 0.0); if ( (*(_BYTE *)&v111.__r_.__value_.__s.0 & 1) != 0 ) v84 = v111.__r_.__value_.__l.__data_; else v84 = v111.__r_.__value_.__s.__data_; v85 = cocos2d::CCSprite::createWithSpriteFrameName(v84); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v85, 2); v86 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v80 + 192LL))(v80); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v80 + 328LL))(v80); v87 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v80 + 168LL))(v80); sub_100278250(v119, (float)(v121 * v87) + 10.0, 0.0); sub_100278350(&v122, v86, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v85 + 184LL))(v85, &v122); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v85 + 160LL))(v85, 0.69999999); GameToolbox::pointsToString(&v122); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) v88 = v122.__r_.__value_.__l.__data_; else v88 = v122.__r_.__value_.__s.__data_; v89 = cocos2d::CCLabelBMFont::create_3(v88, "bigFont.fnt"); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v122.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v89, 2); sub_100278250(&v122, 0.0, 0.5); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v89 + 296LL))(v89, &v122); v90 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v85 + 192LL))(v85); v121 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v85 + 328LL))(v85); v91 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v85 + 168LL))(v85); v92 = (float)(v121 * v91) * 0.5 + 8.0; sub_100278250(v119, v92, 0.0); sub_100278350(&v122, v90, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v89 + 184LL))(v89, &v122); cocos2d::CCLabelBMFont::limitLabelWidth(v89, *(float *)&v118, *(float *)&v117, 0.0); if ( (*(_BYTE *)&v112.__r_.__value_.__s.0 & 1) != 0 ) v93 = v112.__r_.__value_.__l.__data_; else v93 = v112.__r_.__value_.__s.__data_; v94 = cocos2d::CCSprite::createWithSpriteFrameName(v93); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v94, 2); v95 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v89 + 192LL))(v89); LODWORD(v117) = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v89 + 328LL))(v89); v96 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v89 + 168LL))(v89); sub_100278250(v119, (float)(*(float *)&v117 * v96) + 10.0, 0.0); sub_100278350(&v122, v95, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v94 + 184LL))(v94, &v122); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v94 + 160LL))(v94, 0.69999999); if ( v114 > 0 ) { GameToolbox::pointsToString(&v122); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) v97 = v122.__r_.__value_.__l.__data_; else v97 = v122.__r_.__value_.__s.__data_; v98 = cocos2d::CCLabelBMFont::create_3(v97, "bigFont.fnt"); if ( (*(_BYTE *)&v122.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v122.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v98, 2); sub_100278250(&v122, 0.0, 0.5); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v98 + 296LL))(v98, &v122); v99 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v94 + 192LL))(v94); LODWORD(v117) = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v94 + 328LL))(v94); v100 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v94 + 168LL))(v94); v101 = (float)(*(float *)&v117 * v100) * 0.5 + 8.0; sub_100278250(v119, v101, 0.0); sub_100278350(&v122, v99, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v98 + 184LL))(v98, &v122); cocos2d::CCLabelBMFont::limitLabelWidth(v98, *(float *)&v118, 0.44999999, 0.0); v102 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_hammerIcon_001.png"); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v120 + 536) + 464LL))( *(_QWORD *)(v120 + 536), v102, 2); v103 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v98 + 192LL))(v98); LODWORD(v120) = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v98 + 328LL))(v98); v104 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v98 + 168LL))(v98); sub_100278250(v119, (float)(*(float *)&v120 * v104) + 10.0, 0.0); sub_100278350(&v122, v103, v119); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v102 + 184LL))(v102, &v122); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v102 + 160LL))(v102, 0.69999999); } if ( (*(_BYTE *)&v111.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(v111.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v112.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_85: if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_86; goto LABEL_91; } } else if ( (*(_BYTE *)&v112.__r_.__value_.__s.0 & 1) == 0 ) { goto LABEL_85; } operator delete(v112.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_86: if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) == 0 ) return; goto LABEL_87; } LABEL_91: operator delete(__str.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v116.__r_.__value_.__s.0 & 1) == 0 ) return; LABEL_87: operator delete(v116.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source