// // CustomSongWidget::addExtraVisuals from 0x100121464 to 0x100121594 (304 bytes) // // 1 xrefs: // > CustomMusicCell::loadFromObject @ 0x1001275f8 // // 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 10:59:15 +0000 // __int64 __fastcall CustomSongWidget::addExtraVisuals(__int64 result, char a2, int a3) { __int64 v4; // x19 const char *v5; // x0 __int64 v6; // x21 __int64 v7; // x20 float v8[4]; // [xsp+0h] [xbp-30h] BYREF v4 = result; if ( (a2 & 1) != 0 || a3 ) { if ( a3 ) v5 = "newMusicIcon2_001.png"; else v5 = "newMusicIcon_001.png"; v6 = cocos2d::CCSprite::createWithSpriteFrameName(v5); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v6, 4); sub_1000262BC(v8, -157.0, 20.0); result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, v8); if ( a3 ) { sub_1000262CC(v8, 0.0, 0.0, 80.0, 80.0); v7 = cocos2d::extension::CCScale9Sprite::create("GJ_square07.png", v8); BYTE2(v8[0]) = -1; LOWORD(v8[0]) = -256; (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v7 + 960LL))(v7, v8); sub_1000262C4(v8, 320.0, 50.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v7 + 320LL))(v7, v8); return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v7, 0xFFFFFFFFLL); } } return result; }