// // ArtistCell::loadFromObject from 0x7419ec to 0x741d3c (848 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x74d384 // > @ 0xa6150 // // 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:44 +0000 // __int64 __fastcall ArtistCell::loadFromObject(ArtistCell *this, SongInfoObject *a2) { char v4; // w0 __int64 v5; // x0 __int64 v6; // x1 cocos2d::CCLabelBMFont *v7; // x2 cocos2d::CCLabelBMFont *v8; // x0 cocos2d::CCLabelBMFont *v9; // x20 void (__fastcall *v10)(cocos2d::CCLabelBMFont *, __int64 *); // x26 cocos2d::CCMenuItem *v11; // x1 cocos2d::CCNode *v12; // x20 const char *v13; // x6 __int64 v14; // x23 __int64 v15; // x23 void (__fastcall *v16)(__int64, __int64 *); // x26 const char *v17; // x1 __int64 v18; // x25 __int64 v19; // x25 __int64 v20; // x19 void (__fastcall *v21)(__int64, __int64 *); // x20 __int64 v22; // x23 _BYTE v24[8]; // [xsp+70h] [xbp+70h] BYREF __int64 v25; // [xsp+78h] [xbp+78h] BYREF __int64 v26; // [xsp+80h] [xbp+80h] BYREF __int64 v27; // [xsp+88h] [xbp+88h] cocos2d::CCLabelBMFont *v28; // [xsp+90h] [xbp+90h] (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 584LL))(*((_QWORD *)this + 67), 1); *((_QWORD *)this + 69) = a2; v26 = 0; v4 = *((_BYTE *)a2 + 344); v27 = 0; v28 = nullptr; if ( (v4 & 1) != 0 ) { std::string::__init(&v26, *((void **)a2 + 45), *((_QWORD *)a2 + 44)); } else { v5 = *((_QWORD *)a2 + 43); v6 = *((_QWORD *)a2 + 44); v7 = *((cocos2d::CCLabelBMFont **)a2 + 45); v28 = v7; v26 = v5; v27 = v6; } v8 = (cocos2d::CCLabelBMFont *)((char *)&v26 + 1); if ( (v26 & 1) != 0 ) v8 = v28; v9 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v8, "bigFont.fnt", (const char *)v7); if ( (v26 & 1) != 0 ) operator delete(v28); cocos2d::CCLabelBMFont::limitLabelWidth(v9, 200.0, 0.8, 0.0); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**((_QWORD **)this + 67) + 456LL))( *((_QWORD *)this + 67), v9); v10 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v9 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, 0.0, 0.5); v10(v9, &v25); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float, float))(*(_QWORD *)v9 + 200LL))( v9, 15.0, *((float *)this + 131) * 0.5); v12 = (cocos2d::CCNode *)cocos2d::CCMenu::create(nullptr, v11); (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**((_QWORD **)this + 67) + 464LL))( *((_QWORD *)this + 67), v12, 3); v14 = ButtonSprite::create( (ButtonSprite *)"View", (const char *)&qword_60 + 4, 0, 0, 0.6, "bigFont.fnt", "GJ_button_01.png", v13, 30.0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v14 + 160LL))(v14, 0.9); v15 = CCMenuItemSpriteExtra::create(v14, 0, (__int64)this, (__int64)ArtistCell::onNewgrounds, 0); CCMenuItemSpriteExtra::setSizeMult(v15, 1.2); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v12 + 456LL))(v12, v15); v16 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v15 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, *((float *)this + 130) - 38.0, *((float *)this + 131) * 0.5); cocos2d::CCNode::convertToNodeSpace(&v25, v12, (const cocos2d::CCPoint *)v24); v16(v15, &v25); sub_741684(*((SongInfoObject **)this + 69), 1, &v26); v18 = (unsigned __int8)v26 >> 1; if ( (v26 & 1) != 0 ) { v18 = v27; operator delete(v28); } if ( v18 ) { v19 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gj_ytIcon_001.png", v17); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v19 + 160LL))(v19, 0.9); v20 = CCMenuItemSpriteExtra::create(v19, 0, (__int64)this, (__int64)ArtistCell::onYouTube, 0); CCMenuItemSpriteExtra::setSizeMult(v20, 1.2); (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v12 + 456LL))(v12, v20); v21 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v20 + 184LL); v22 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v15 + 192LL))(v15); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, -52.0, 0.0); cocos2d::CCPoint::operator+(&v25, v22); v21(v20, &v25); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source