// // AudioAssetsBrowser::setupList from 0x140083de0 to 0x140083fb5 (469 bytes) // // 3 xrefs: // > AudioAssetsBrowser::init @ 0x140083ce6 // > AudioAssetsBrowser::musicActionFinished @ 0x140083d60 // > @ 0x1406c6b10 // // 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 AudioAssetsBrowser::setupList(AudioAssetsBrowser *a1) { cocos2d::CCArray *m_songInfoObjects; // rcx __int64 v3; // rax cocos2d::CCTouchDispatcher *v4; // rax __int64 v5; // rax std::_Vector_val>::pointer Mylast; // rbp cocos2d::CCArray *v7; // r14 std::_Vector_val>::pointer i; // rdi int v9; // ebx MusicDownloadManager *v10; // rax SongInfoObject *SongInfoObject; // rax __int64 v12; // rcx cocos2d::CCDirector *v13; // rax TableViewCellDelegate *v14; // rdx CustomListView *v15; // rax const char *v16; // rdx GJCommentListLayer *v17; // rax cocos2d::CCLayer *m_mainLayer; // rcx GJCommentListLayer_vtbl *v19; // rbx const cocos2d::CCPoint *v20; // rax int v21; // [rsp+20h] [rbp-58h] float v22; // [rsp+80h] [rbp+8h] float v23; // [rsp+84h] [rbp+Ch] cocos2d::CCPoint v24; // [rsp+88h] [rbp+10h] BYREF m_songInfoObjects = a1->m_songInfoObjects; if ( m_songInfoObjects ) cocos2d::CCObject::release(m_songInfoObjects); if ( a1->m_songList ) { v3 = cocos2d::CCDirector::sharedDirector(m_songInfoObjects); v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_songList); a1->m_songList->removeMeAndCleanup(a1->m_songList); a1->m_songList = nullptr; } v5 = cocos2d::CCArray::create(m_songInfoObjects); Mylast = a1->m_songsIds._Mypair._Myval2._Mylast; v7 = (cocos2d::CCArray *)v5; for ( i = a1->m_songsIds._Mypair._Myval2._Myfirst; i != Mylast; ++i ) { v9 = *i; v10 = MusicDownloadManager::sharedState(); SongInfoObject = MusicDownloadManager::getSongInfoObject(v10, v9); if ( SongInfoObject ) cocos2d::CCArray::addObject(v7, SongInfoObject); } a1->m_songInfoObjects = v7; cocos2d::CCObject::retain(v7); v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12); cocos2d::CCDirector::getWinSize(v13); v14 = &a1->TableViewCellDelegate; if ( !a1 ) v14 = nullptr; v15 = CustomListView::create(v7, v14, 220.0, 340.0, v21, CustomMusic, 0.0); v17 = GJCommentListLayer::create(v15, v16, (cocos2d::ccColor4B)-13487566, 340.0, 220.0, 1); m_mainLayer = a1->m_mainLayer; a1->m_songList = v17; m_mainLayer->addChild_0(m_mainLayer, v17, 10); v19 = a1->m_songList->__vftable; cocos2d::CCPoint::CCPoint(&v24, (float)(v22 - 340.0) * 0.5, (float)((float)(v23 - 220.0) * 0.5) - 10.0); v19->setPosition_0(a1->m_songList, v20); }