// // CustomSongWidget::updateSongInfo from 0x4e33e4 to 0x4e3e84 (2720 bytes) // // 11 xrefs: // > CustomSongWidget::deleteSong @ 0x4e3f1a // > CustomSongWidget::updateSongObject @ 0x4e3ffa // > CustomSongWidget::init @ 0x4e4c8e // > CustomSongWidget::getSongInfoIfUnloaded @ 0x4e4eb8 // > CustomSongWidget::onToggleFavorite @ 0x4e4f10 // > CustomSongWidget::downloadFailed @ 0x4e4f4e // > CustomSongWidget::onSelect @ 0x4e4f86 // > CustomSongWidget::updateDownloadProgress @ 0x4e4fe0 // > CustomSongWidget::songStateChanged @ 0x4e4ff8 // > CustomSongWidget::updateLengthMod @ 0x4e5012 // > CustomSongWidget::updateMultiAssetInfo @ 0x4e53b6 // // 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:51:03 +0000 // int __fastcall CustomSongWidget::updateSongInfo(CustomSongWidget *this) { int v2; // r6 int v3; // r8 MusicDownloadManager *v4; // r0 int v5; // r1 void (__fastcall *v6)(int, char *); // r9 char *v7; // r1 int v8; // r8 char *v9; // r1 cocos2d::CCString *v10; // r0 char *v11; // r0 SongInfoObject *v12; // r0 char *v13; // r1 int v14; // r2 char *v15; // r1 cocos2d::CCString *v16; // r0 char *v17; // r0 int v18; // r3 cocos2d::CCString *v19; // r0 int v20; // r0 float v21; // s15 int v22; // r3 float v23; // r0 cocos2d::CCString *v24; // r0 char *v25; // r0 char *v26; // r1 int *v27; // r0 void (__fastcall *v28)(int, char *); // r9 char *v29; // r1 SongInfoObject *v30; // r0 char *v31; // r1 int ExtraArtistCount; // r2 cocos2d::CCString *v33; // r0 char *CString; // r0 int v35; // r2 int v36; // r3 int v37; // r1 float v38; // s15 cocos2d::CCString *v39; // r0 char *v40; // r0 int v41; // r3 char *v42; // r1 char *v43; // r1 size_t v44; // r2 int v45; // r6 int v46; // r0 int v47; // r5 int v48; // r8 MusicDownloadManager *v49; // r0 int v50; // r1 int v51; // r5 void (__fastcall *v52)(int, int); // r9 int v53; // r0 int v54; // r5 int v55; // r0 int (*v56)(void); // r3 cocos2d::CCSpriteFrameCache *v57; // r0 cocos2d::CCSpriteFrameCache *v58; // r0 void (__fastcall *v59)(int, int); // r6 cocos2d::CCSpriteFrameCache *v60; // r0 const char *v61; // r1 int v62; // r0 void (*v63)(void); // r3 MusicDownloadManager *v64; // r0 int v65; // r6 MusicDownloadManager *v66; // r0 int v67; // r5 int v68; // r1 int v69; // r1 int v70; // r0 int v71; // r0 cocos2d::CCSpriteFrameCache *v72; // r5 void (__fastcall *v73)(cocos2d::CCSpriteFrameCache *, int); // r6 MusicDownloadManager *v74; // r8 MusicDownloadManager *v75; // r0 const char *v76; // r1 int v77; // r0 int (*v78)(void); // r3 cocos2d::CCLabelBMFont *v79; // r0 float v80; // r1 float v81; // r2 int v82; // r10 const cocos2d::CCPoint *v83; // r11 float v84; // s16 float v85; // r0 float v87; // s16 float v88; // s17 float v89; // s18 float v90; // s16 float v91; // r1 float v92; // s17 float v93; // s17 float v94; // s18 int v95; // r0 int v96; // r10 float v97; // s15 const cocos2d::CCPoint *v98; // r11 const cocos2d::CCPoint *v99; // r5 int v100; // r6 void (__fastcall *v101)(int, _BYTE *); // r8 int v102; // r6 int (__fastcall *v103)(int, _BYTE *); // r8 float v104; // s17 int v105; // r0 char *v106; // [sp+8h] [bp-54h] char *v107; // [sp+8h] [bp-54h] char *v108; // [sp+8h] [bp-54h] int v109; // [sp+Ch] [bp-50h] _BYTE v110[8]; // [sp+10h] [bp-4Ch] BYREF _BYTE v111[8]; // [sp+18h] [bp-44h] BYREF _BYTE v112[8]; // [sp+20h] [bp-3Ch] BYREF _BYTE v113[8]; // [sp+28h] [bp-34h] BYREF int v114[2]; // [sp+30h] [bp-2Ch] BYREF char *v115; // [sp+38h] [bp-24h] int v116; // [sp+3Ch] [bp-20h] BYREF int v117; // [sp+40h] [bp-1Ch] char *v118; // [sp+44h] [bp-18h] int v119; // [sp+48h] [bp-14h] BYREF size_t v120; // [sp+4Ch] [bp-10h] char *v121; // [sp+50h] [bp-Ch] CustomSongWidget::positionInfoObjects(this); CustomSongWidget::updateUsageButton(this); v2 = *((_DWORD *)this + 68); v3 = *((_DWORD *)this + 70); if ( v2 ) { v5 = v2 + 268; if ( *((_BYTE *)this + 357) ) { v28 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v3 + 464); std::string::basic_string(&v119, v5); if ( (v119 & 1) != 0 ) v29 = v121; else v29 = (char *)&v119 + 1; v28(v3, v29); std::string::~string((int)&v119); std::string::basic_string(v114, *((_DWORD *)this + 68) + 280); v30 = *((SongInfoObject **)this + 68); if ( *((_DWORD *)v30 + 95) ) { ExtraArtistCount = SongInfoObject::getExtraArtistCount(v30); if ( ExtraArtistCount > 0 ) { if ( (v114[0] & 1) != 0 ) v33 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s +%i", v115, ExtraArtistCount); else v33 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s +%i", (const char *)v114 + 1, ExtraArtistCount); CString = (char *)cocos2d::CCString::getCString(v33); std::string::assign(v114, CString); } } if ( (v114[0] & 1) != 0 ) v31 = v115; else v31 = (char *)v114 + 1; (*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 71) + 464))( *((_DWORD *)this + 71), v31, LOBYTE(v114[0]) << 31); v35 = *((unsigned __int8 *)this + 377); if ( *((_BYTE *)this + 377) ) goto LABEL_69; v36 = *((_DWORD *)this + 68); v37 = *(_DWORD *)(v36 + 336); v116 = *((unsigned __int8 *)this + 377); v117 = v35; v118 = (char *)v35; v38 = *(float *)(v36 + 308); if ( v37 <= 0 ) v39 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"ID: %i Size: %.01fMB", *(const char **)(v36 + 264), v38); else v39 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"ID: %i Size: %.01fMB (%is)", *(const char **)(v36 + 264), v38, v37); v40 = (char *)cocos2d::CCString::getCString(v39); std::string::assign(&v116, v40); SongInfoObject::getTagsString((SongInfoObject *)&v119, *((_DWORD *)this + 68)); if ( (v119 & 1) != 0 ) v41 = v120; else v41 = (int)(unsigned __int8)v119 >> 1; if ( v41 ) { std::string::append(&v116, " "); if ( (v119 & 1) != 0 ) { v43 = v121; v44 = v120; } else { v44 = (int)(unsigned __int8)v119 >> 1; v43 = (char *)&v119 + 1; } std::string::append(&v116, v43, v44); } if ( (v116 & 1) != 0 ) v42 = v118; else v42 = (char *)&v116 + 1; (*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 72) + 464))( *((_DWORD *)this + 72), v42, (unsigned __int8)v116 << 31); std::string::~string((int)&v119); v27 = &v116; } else { v6 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v3 + 464); std::string::basic_string(&v119, v5); if ( (v119 & 1) != 0 ) v7 = v121; else v7 = (char *)&v119 + 1; v6(v3, v7); std::string::~string((int)&v119); v114[0] = 0; v114[1] = 0; v115 = nullptr; std::string::__init(v114, &unk_B6B226, 0); std::string::basic_string(&v116, *((_DWORD *)this + 68) + 280); if ( (v116 & 1) != 0 ) v8 = v117; else v8 = (int)(unsigned __int8)v116 >> 1; std::string::~string((int)&v116); if ( v8 ) { std::string::basic_string(&v119, *((_DWORD *)this + 68) + 280); if ( (v119 & 1) != 0 ) v9 = v121; else v9 = (char *)&v119 + 1; v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"By: %s", v9); v11 = (char *)cocos2d::CCString::getCString(v10); std::string::assign(v114, v11); std::string::~string((int)&v119); } v12 = *((SongInfoObject **)this + 68); if ( *((_DWORD *)v12 + 95) ) { v14 = SongInfoObject::getExtraArtistCount(v12); if ( v14 > 0 ) { if ( (v114[0] & 1) != 0 ) v15 = v115; else v15 = (char *)v114 + 1; v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s +%i", v15, v14); v17 = (char *)cocos2d::CCString::getCString(v16); std::string::assign(v114, v17); } } if ( (v114[0] & 1) != 0 ) v13 = v115; else v13 = (char *)v114 + 1; (*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 71) + 464))( *((_DWORD *)this + 71), v13, LOBYTE(v114[0]) << 31); if ( *((_BYTE *)this + 377) ) goto LABEL_69; if ( *((_BYTE *)this + 356) ) { (*(void (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 72) + 464))(*((_DWORD *)this + 72), &unk_B6B226); LABEL_69: v4 = (MusicDownloadManager *)std::string::~string((int)v114); goto LABEL_70; } v18 = *((_DWORD *)this + 68); if ( *(_BYTE *)(v18 + 328) ) v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"SongID: %i", *(const char **)(v18 + 264)); else v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"SongID: %i Size: %.02fMB", *(const char **)(v18 + 264), *(float *)(v18 + 308)); v20 = cocos2d::CCString::getCString(v19); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 72) + 464))(*((_DWORD *)this + 72), v20); if ( *(int *)(*((_DWORD *)this + 68) + 340) <= 0 ) goto LABEL_69; (*(void (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 73) + 536))(*((_DWORD *)this + 73), &unk_BEC5F6); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 73) + 80))(*((_DWORD *)this + 73), 1053609165); v21 = *((float *)this + 91); v119 = 0; v120 = 0; v121 = nullptr; v22 = *((_DWORD *)this + 68); if ( v21 <= 0.0 || v21 == 1.0 ) { v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"BPM: %i", *(const char **)(v22 + 340)); } else { v106 = *(char **)(v22 + 340); v23 = COERCE_FLOAT(roundf()); v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"BPM: %i (%i)", v106, (int)v23); } v25 = (char *)cocos2d::CCString::getCString(v24); std::string::assign(&v119, v25); if ( (v119 & 1) != 0 ) v26 = v121; else v26 = (char *)&v119 + 1; (*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 73) + 464))( *((_DWORD *)this + 73), v26, (unsigned __int8)v119 << 31); CustomSongWidget::showError((cocos2d::CCNode **)this, 0); v27 = &v119; } std::string::~string((int)v27); goto LABEL_69; } (*(void (__fastcall **)(_DWORD, const char *))(*(_DWORD *)v3 + 464))(*((_DWORD *)this + 70), "No song loaded"); v4 = (MusicDownloadManager *)(*(int (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 71) + 464))( *((_DWORD *)this + 71), &unk_B6B226); if ( !*((_BYTE *)this + 377) ) v4 = (MusicDownloadManager *)(*(int (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 72) + 464))( *((_DWORD *)this + 72), &unk_B6B226); LABEL_70: v45 = *((unsigned __int8 *)this + 377); if ( *((_BYTE *)this + 377) ) { (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 74) + 172))( *((_DWORD *)this + 74), *((unsigned __int8 *)this + 385)); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 75) + 172))(*((_DWORD *)this + 75), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 76) + 172))(*((_DWORD *)this + 76), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 78) + 172))(*((_DWORD *)this + 78), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 83) + 172))(*((_DWORD *)this + 83), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 77) + 172))(*((_DWORD *)this + 77), 0); v46 = *((_DWORD *)this + 80); LABEL_88: v63 = *(void (**)(void))(*(_DWORD *)v46 + 172); LABEL_109: v63(); goto LABEL_110; } v47 = *((_DWORD *)this + 68); if ( !v47 ) { (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 74) + 172))(*((_DWORD *)this + 74), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 75) + 172))(*((_DWORD *)this + 75), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 76) + 172))(*((_DWORD *)this + 76), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 78) + 172))(*((_DWORD *)this + 78), 0); v70 = *((_DWORD *)this + 83); goto LABEL_108; } v48 = *(_DWORD *)(v47 + 264); v49 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v4); if ( MusicDownloadManager::isSongDownloaded(v49, v48) ) { (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 74) + 172))(*((_DWORD *)this + 74), v45); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 75) + 172))(*((_DWORD *)this + 75), v45); if ( *(_BYTE *)(*((_DWORD *)this + 68) + 328) ) v50 = *((unsigned __int8 *)this + 354); else v50 = v45; (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 77) + 172))(*((_DWORD *)this + 77), v50); v51 = *((_DWORD *)this + 80); v52 = *(void (__fastcall **)(int, int))(*(_DWORD *)v51 + 172); if ( *((_BYTE *)this + 354) && !(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 77) + 176))(*((_DWORD *)this + 77)) ) { v45 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 80) + 32))(*((_DWORD *)this + 80)) != -999; } v52(v51, v45); v53 = *((_DWORD *)this + 76); if ( *((_BYTE *)this + 352) && *((_DWORD *)this + 87) ) { (*(void (__fastcall **)(int, int))(*(_DWORD *)v53 + 172))(v53, 1); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 80) + 172))(*((_DWORD *)this + 80), 0); v54 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 76) + 536))(*((_DWORD *)this + 76)); v55 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 87) + 4))(*((_DWORD *)this + 87)); v56 = *(int (**)(void))(**((_DWORD **)this + 76) + 528); if ( v55 == v48 ) { v57 = (cocos2d::CCSpriteFrameCache *)v56(); v59 = *(void (__fastcall **)(int, int))(*(_DWORD *)v54 + 580); v60 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v57); v61 = "GJ_selectSongOnBtn_001.png"; } else { v58 = (cocos2d::CCSpriteFrameCache *)v56(); v59 = *(void (__fastcall **)(int, int))(*(_DWORD *)v54 + 580); v60 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v58); v61 = "GJ_selectSongBtn_001.png"; } v62 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v60, v61); v59(v54, v62); } else { (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v53 + 172))(v53, 0); } (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 78) + 172))( *((_DWORD *)this + 78), *((unsigned __int8 *)this + 353)); v46 = *((_DWORD *)this + 83); goto LABEL_88; } (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 76) + 172))(*((_DWORD *)this + 76), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 78) + 172))(*((_DWORD *)this + 78), 0); v64 = (MusicDownloadManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 80) + 172))( *((_DWORD *)this + 80), 0); v65 = *((unsigned __int8 *)this + 356); if ( *((_BYTE *)this + 356) ) { (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 74) + 172))(*((_DWORD *)this + 74), 0); v70 = *((_DWORD *)this + 75); LABEL_108: (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v70 + 172))(v70, 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 77) + 172))(*((_DWORD *)this + 77), 0); v63 = *(void (**)(void))(**((_DWORD **)this + 80) + 172); goto LABEL_109; } v66 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v64); if ( MusicDownloadManager::isRunningActionForSongID(v66, *((_DWORD *)this + 90)) ) v67 = 1; else v67 = *((unsigned __int8 *)this + 355); if ( v67 ) { v68 = 0; } else if ( *(_BYTE *)(*((_DWORD *)this + 68) + 328) ) { v68 = 0; } else { v68 = *((unsigned __int8 *)this + 354); } (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 74) + 172))(*((_DWORD *)this + 74), v68); if ( v67 ) { if ( *(_BYTE *)(*((_DWORD *)this + 68) + 328) ) v69 = 0; else v69 = *((unsigned __int8 *)this + 354); } else { v69 = 0; } (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 75) + 172))(*((_DWORD *)this + 75), v69); if ( *(_BYTE *)(*((_DWORD *)this + 68) + 328) ) v65 = *((unsigned __int8 *)this + 354); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 77) + 172))(*((_DWORD *)this + 77), v65); CustomSongWidget::toggleUpdateButton(this, v67 ^ 1); LABEL_110: v71 = *((_DWORD *)this + 82); if ( v71 && *((_DWORD *)this + 68) ) { v72 = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(int))(*(_DWORD *)v71 + 536))(v71); v73 = *(void (__fastcall **)(cocos2d::CCSpriteFrameCache *, int))(*(_DWORD *)v72 + 580); v74 = (MusicDownloadManager *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v72); v75 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v74); if ( MusicDownloadManager::isMusicFavorite(v75, *(_DWORD *)(*((_DWORD *)this + 68) + 264)) ) v76 = "gj_heartOn_001.png"; else v76 = "gj_heartOff_001.png"; v77 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v74, v76); v73(v72, v77); } v78 = *(int (**)(void))(**((_DWORD **)this + 85) + 176); if ( *((_BYTE *)this + 357) ) { v87 = 140.0; v88 = 80.0; if ( v78() ) v87 = 130.0; if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 85) + 176))(*((_DWORD *)this + 85)) ) v88 = 55.0; if ( *((_BYTE *)this + 358) ) { v87 = v87 - 25.0; v88 = v88 - 15.0; } cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 70), v87, 0.5, 0.0); v89 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 164))(*((_DWORD *)this + 70)); v90 = v87 - (float)(v89 * COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 84))(*((_DWORD *)this + 70)))); if ( v90 <= 0.0 ) v90 = 0.0; cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 71), v88 + v90, 0.5, 0.0); if ( !*((_BYTE *)this + 377) ) { if ( *((_BYTE *)this + 358) ) v91 = 180.0; else v91 = 220.0; cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 72), v91, 0.6, 0.0); } v92 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 164))(*((_DWORD *)this + 70)); v93 = v92 * COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 84))(*((_DWORD *)this + 70))); v94 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 164))(*((_DWORD *)this + 71)); *(float *)&v95 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 84))(*((_DWORD *)this + 71))); v96 = *((_DWORD *)this + 79); v108 = *(char **)(*(_DWORD *)v96 + 92); v97 = *(float *)&v95; v98 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v96 + 256))(v96); v99 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 256))(*((_DWORD *)this + 70)); v109 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 96))(*((_DWORD *)this + 70)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v110, (float)(v93 + (float)((float)(v94 * v97) * 0.5)) + 4.0, 0.0); cocos2d::CCPoint::operator+(v111, v109, v110); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v112, v99); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v113, v98); ((void (__fastcall *)(int, _BYTE *))v108)(v96, v113); v100 = *((_DWORD *)this + 71); v101 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v100 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v113, 0.5, 0.5); v101(v100, v113); v102 = *((_DWORD *)this + 71); v103 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v102 + 92); v104 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 79) + 164))(*((_DWORD *)this + 79)); v105 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 79) + 164))(*((_DWORD *)this + 79)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v113, v104 * 0.5, *(float *)(v105 + 4) * 0.5); return v103(v102, v113); } else { if ( v78() ) { cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 70), 190.0, 0.75, 0.0); v79 = *((cocos2d::CCLabelBMFont **)this + 71); v80 = 165.0; v81 = 0.75; } else { cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 70), 240.0, 0.8, 0.0); v79 = *((cocos2d::CCLabelBMFont **)this + 71); v80 = 175.0; v81 = 0.8; } cocos2d::CCLabelBMFont::limitLabelWidth(v79, v80, v81, 0.0); if ( !*((_BYTE *)this + 377) ) cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 72), 300.0, 0.4, 0.0); (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 96))(*((_DWORD *)this + 71)); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v110, this); v82 = *((_DWORD *)this + 79); v107 = *(char **)(*(_DWORD *)v82 + 92); v83 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v82 + 256))(v82); v84 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 164))(*((_DWORD *)this + 71)); v85 = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 68))(*((_DWORD *)this + 71)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v111, (float)(v84 * v85) + 35.0, -2.0); cocos2d::CCPoint::operator+(v112, v110, v111); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v113, v83); ((void (__fastcall *)(int, _BYTE *))v107)(v82, v113); return (*(int (**)(void))(**((_DWORD **)this + 79) + 172))(); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source