// // CustomMusicCell::loadFromObject from 0x140150df0 to 0x14015106f (639 bytes) // // 4 xrefs: // > CustomListView::loadCell @ 0x140145b61 // > @ 0x14089aa90 // > @ 0x14089aaa0 // > @ 0x140917804 // // This function is hookable on this platform (idp: pc, 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 11:27:17 +0000 // bool __fastcall CustomMusicCell::loadFromObject(__int64 a1, __int64 a2) { __int64 v3; // rbx int v4; // r9d __int64 v5; // rax __int64 v6; // rcx int v7; // eax int v8; // ecx int v9; // edx _BYTE *v10; // r15 __int64 v11; // rbx __int64 v12; // rax __int64 v13; // rax int v14; // ebp const char *v15; // rcx struct cocos2d::CCSprite *v16; // rdi __int64 v17; // rbx __int64 v18; // rax __int64 v19; // rax __int64 v20; // rdi __int64 v21; // rbx __int64 v22; // rax bool result; // al _BYTE v24[16]; // [rsp+60h] [rbp-28h] BYREF __int16 v25; // [rsp+90h] [rbp+8h] BYREF char v26; // [rsp+92h] [rbp+Ah] v3 = a2; LOBYTE(a2) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 544) + 576LL))(*(_QWORD *)(a1 + 544), a2); v5 = *(_QWORD *)(a1 + 416); *(_QWORD *)(a1 + 568) = v3; v6 = *(_QWORD *)(v5 + 624); if ( v6 ) { v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6); v3 = *(_QWORD *)(a1 + 568); v8 = v7; } else { v8 = 1; } v9 = a1 + 560; LOBYTE(v4) = 1; if ( !a1 ) v9 = 0; v10 = (_BYTE *)CustomSongWidget::create(v3, v9, 1, v4, 1, 0, 0, 1, v8 == 1, 1, 0); (*(void (__fastcall **)(_QWORD, _BYTE *, __int64))(**(_QWORD **)(a1 + 544) + 456LL))(*(_QWORD *)(a1 + 544), v10, 2); v11 = *(_QWORD *)v10; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, *(float *)(a1 + 528) * 0.5, *(float *)(a1 + 532) * 0.5); (*(void (__fastcall **)(_BYTE *, __int64))(v11 + 184))(v10, v12); v10[512] = 1; v13 = *(_QWORD *)(a1 + 568); v14 = *(_DWORD *)(v13 + 492); if ( *(_BYTE *)(v13 + 488) || v14 > 0 ) { v15 = "newMusicIcon_001.png"; if ( v14 > 0 ) v15 = "newMusicIcon2_001.png"; v16 = cocos2d::CCSprite::createWithSpriteFrameName(v15); (*(void (__fastcall **)(_BYTE *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v10 + 456LL))(v10, v16, 4); v17 = *(_QWORD *)v16; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, -157.0, 20.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v17 + 184))(v16, v18); if ( v14 > 0 ) { cocos2d::CCRect::CCRect((cocos2d::CCRect *)v24, 0.0, 0.0, 80.0, 80.0); v20 = cocos2d::extension::CCScale9Sprite::create("GJ_square07.png", v19); v25 = -256; v26 = -1; (**(void (__fastcall ***)(__int64, __int16 *))(v20 + 320))(v20 + 320, &v25); v21 = *(_QWORD *)v20; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v25, 320.0, 50.0); (*(void (__fastcall **)(__int64, __int64))(v21 + 312))(v20, v22); (*(void (__fastcall **)(_BYTE *, __int64, __int64))(*(_QWORD *)v10 + 456LL))(v10, v20, 0xFFFFFFFFLL); } } result = *(_DWORD *)(*(_QWORD *)(a1 + 568) + 320LL) == (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)(a1 + 560) + 8LL))(a1 + 560); *(_BYTE *)(a1 + 576) = result; return result; }