// // CustomSongWidget::addExtraVisuals from 0x1000fcc84 to 0x1000fcdb4 (304 bytes) // // 1 xrefs: // > CustomMusicCell::loadFromObject @ 0x100102520 // // 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 __fastcall CustomSongWidget::addExtraVisuals(CustomSongWidget *a1, bool a2, bool a3) { _BOOL4 v3; // w20 const char *v5; // x0 cocos2d::CCSprite *v6; // x21 __n128 v7; // q0 __n128 v8; // q1 cocos2d::extension::CCScale9Sprite *v9; // x20 float v10[4]; // [xsp+0h] [xbp-30h] BYREF cocos2d::CCRect v11; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 v3 = a3; if ( a2 || a3 ) { if ( a3 ) v5 = "newMusicIcon2_001.png"; else v5 = "newMusicIcon_001.png"; v6 = cocos2d::CCSprite::createWithSpriteFrameName(v5); v7 = ((__n128 (__fastcall *)(CustomSongWidget *, cocos2d::CCSprite *, __int64))a1->addChild_0)(a1, v6, 4); v7.n128_u32[0] = -1021509632; v8.n128_u32[0] = 20.0; sub_100022980(v7, v8, v10); ((void (__fastcall *)(cocos2d::CCSprite *, float *))v6->setPosition)(v6, v10); if ( v3 ) { sub_100022990(v10, 0.0, 0.0, 80.0, 80.0); v9 = cocos2d::extension::CCScale9Sprite::create("GJ_square07.png", v11); BYTE2(v10[0]) = -1; LOWORD(v10[0]) = -256; ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float *))v9->setColor)(v9, v10); sub_100022988(v10, 320.0, 50.0); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float *))v9->setContentSize)(v9, v10); ((void (__fastcall *)(CustomSongWidget *, cocos2d::extension::CCScale9Sprite *, __int64))a1->addChild_0)( a1, v9, 0xFFFFFFFFLL); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source