// // CustomSongWidget::addExtraVisuals from 0x4e23c8 to 0x4e2492 (202 bytes) // // 1 xrefs: // > CustomMusicCell::loadFromObject @ 0x425cfc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:51:02 +0000 // int __fastcall CustomSongWidget::addExtraVisuals(int this, const char *a2, int a3) { int v4; // r7 char *v5; // r0 int v6; // r8 int (__fastcall *v7)(int, _BYTE *); // r9 int v8; // r5 void (__fastcall *v9)(int, _BYTE *); // r2 void (__fastcall *v10)(int, _BYTE *); // r8 _BYTE v11[16]; // [sp+Ch] [bp-18h] BYREF v4 = this; if ( a2 ) { if ( a3 ) v5 = "newMusicIcon2_001.png"; else v5 = "newMusicIcon_001.png"; } else { if ( !a3 ) return this; v5 = "newMusicIcon2_001.png"; } v6 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v5, a2); (*(void (__fastcall **)(int, int, int))(*(_DWORD *)v4 + 232))(v4, v6, 4); v7 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v6 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -157.0, 20.0); this = v7(v6, v11); if ( a3 ) { cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, 0.0, 0.0, 80.0, 80.0); v8 = cocos2d::extension::CCScale9Sprite::create("GJ_square07.png", v11); v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 480); v11[0] = 0; v11[1] = -1; v11[2] = -1; v9(v8, v11); v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v11, 320.0, 50.0); v10(v8, v11); return (*(int (__fastcall **)(int, int, int))(*(_DWORD *)v4 + 232))(v4, v8, -1); } return this; }