// // CustomSongWidget::addExtraVisuals from 0x74359c to 0x743738 (412 bytes) // // 2 xrefs: // > CustomMusicCell::loadFromObject @ 0x615c80 // > @ 0x608e8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CustomSongWidget::addExtraVisuals(CustomSongWidget *a1, bool a2, bool a3) { cocos2d::CCSprite *v4; // x22 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // x23 cocos2d::CCNode *v6; // x22 int (__fastcall *getTag)(const cocos2d::CCObject *__hidden); // x3 void (__fastcall *setContentSize)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // x23 cocos2d::CCSprite *v9; // x22 void (__fastcall *v10)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // x20 cocos2d::CCRect v11; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCRect v12; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 if ( !a2 ) { if ( !a3 ) return; goto LABEL_3; } if ( a3 ) { LABEL_3: v4 = cocos2d::CCSprite::createWithSpriteFrameName("newMusicIcon2_001.png"); a1->addChild_0(a1, v4, 4); setPosition = v4->setPosition; cocos2d::CCPoint::CCPoint(&v11.origin, -157.0, 20.0); setPosition(v4, &v11.origin); cocos2d::CCRect::CCRect(&v11, 0.0, 0.0, 80.0, 80.0); v6 = (cocos2d::CCNode *)cocos2d::extension::CCScale9Sprite::create( (cocos2d::extension::CCScale9Sprite *)"GJ_square07.png", (const char *)&v11, v12); getTag = v6->__vftable[1].getTag; BYTE2(v11.origin.x) = -1; LOWORD(v11.origin.x) = -256; ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCRect *))getTag)(v6, &v11); setContentSize = v6->setContentSize; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v11, 320.0, 50.0); setContentSize(v6, (const cocos2d::CCSize *)&v11); a1->addChild_0(a1, v6, -1); return; } v9 = cocos2d::CCSprite::createWithSpriteFrameName("newMusicIcon_001.png"); a1->addChild_0(a1, v9, 4); v10 = v9->setPosition; cocos2d::CCPoint::CCPoint(&v11.origin, -157.0, 20.0); v10(v9, &v11.origin); }