// // CustomSongWidget::addExtraVisuals from 0x10061e7f0 to 0x10061e905 (277 bytes) // // 1 xrefs: // > CustomMusicCell::loadFromObject @ 0x10024410e // // 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) { const char *v4; // rdi cocos2d::CCSprite *v6; // r14 cocos2d::extension::CCScale9Sprite *v7; // r14 float v8[14]; // [rsp-38h] [rbp-38h] BYREF cocos2d::CCRect v9; // 0:xmm0_8.8,8:xmm1_8.8 if ( a3 || a2 ) { v4 = "newMusicIcon_001.png"; if ( a3 ) v4 = "newMusicIcon2_001.png"; v6 = cocos2d::CCSprite::createWithSpriteFrameName(v4); ((void (__fastcall *)(CustomSongWidget *, cocos2d::CCSprite *, __int64))a1->addChild_0)(a1, v6, 4); sub_10028CBE0(v8, -157.0, 20.0); ((void (__fastcall *)(cocos2d::CCSprite *, float *))v6->setPosition)(v6, v8); if ( a3 ) { v9.origin = 0; v9.size = 0; sub_10028CC00((__int64)v8, 0.0, 0.0, (__m128)0x42A00000u, (__m128)0x42A00000u); v7 = cocos2d::extension::CCScale9Sprite::create_2("GJ_square07.png", v9); BYTE2(v8[0]) = -1; LOWORD(v8[0]) = -256; ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float *))v7->setColor)(v7, v8); sub_10028CBF0(v8, 320.0, 50.0); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float *))v7->setContentSize)(v7, v8); ((void (__fastcall *)(CustomSongWidget *, cocos2d::extension::CCScale9Sprite *, __int64))a1->addChild_0)( a1, v7, 0xFFFFFFFFLL); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source