// // CustomMusicCell::loadFromObject from 0x615b78 to 0x615ce4 (364 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x6204d0 // > @ 0x78e10 // // 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 CustomMusicCell::loadFromObject(CustomMusicCell *a1, SongInfoObject *a2) { TableViewCellDelegate *m_cellDelegate; // x0 bool v5; // zf SongInfoObject *m_songInfoObject; // x0 int v7; // w8 CustomSongWidget *v8; // x20 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 SongInfoObject *v10; // x1 cocos2d::CCPoint v11; // [xsp+50h] [xbp+40h] BYREF a1->m_mainLayer->removeAllChildrenWithCleanup(a1->m_mainLayer, 1); a1->m_songInfoObject = a2; m_cellDelegate = a1->m_tableView->m_cellDelegate; if ( m_cellDelegate ) { v5 = m_cellDelegate->getCellDelegateType(m_cellDelegate) == 1; m_songInfoObject = a1->m_songInfoObject; v7 = v5; } else { m_songInfoObject = a2; v7 = 1; } v8 = CustomSongWidget::create( m_songInfoObject, &a1->CustomSongDelegate, (bool)&dword_0 + 1, (bool)&dword_0 + 1, (bool)&dword_0 + 1, 0, 0, (bool)&dword_0 + 1, v7); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v8, 2); setPosition = v8->setPosition; cocos2d::CCPoint::CCPoint(&v11, a1->m_width * 0.5, a1->m_height * 0.5); setPosition(v8, &v11); v10 = a1->m_songInfoObject; v8->m_isInCell = 1; CustomSongWidget::addExtraVisuals(v8, v10->m_isNew, v10->m_libraryOrder > 0); LODWORD(v8) = a1->m_songInfoObject->m_songID; a1->m_selected = (_DWORD)v8 == a1->getActiveSongID(a1); }