// // CustomListView::reloadAll from 0x33a468 to 0x33a68a (546 bytes) // // 8 xrefs: // > LevelBrowserLayer::onToggleAllObjects @ 0x3babd8 // > LevelBrowserLayer::reloadAllObjects @ 0x3bdd18 // > LevelBrowserLayer::onEnter @ 0x3bdec6 // > MessagesProfilePage::onToggleAllObjects @ 0x4c0a56 // > FRequestProfilePage::onToggleAllObjects @ 0x4c1f6a // > OptionsScrollLayer::cellPerformedAction @ 0x582c08 // > SFXBrowser::cellPerformedAction @ 0x58445c // > LevelListLayer::updateEditMode @ 0x591c2e // // 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 CustomListView::reloadAll(CustomListView *a1) { TableView *m_tableView; // r3 cocos2d::CCArray *m_cellArray; // r3 cocos2d::ccArray *v4; // r2 MapPackCell **v5; // r5 MapPackCell **v6; // r4 MapPackCell *v7; // r0 MapPackCell *v8; // t1 cocos2d::ccArray *v9; // r2 GJMessageCell **v10; // r5 GJMessageCell **v11; // r4 GJMessageCell *v12; // r0 GJMessageCell *v13; // t1 cocos2d::ccArray *v14; // r2 GJRequestCell **v15; // r5 GJRequestCell **v16; // r4 GJRequestCell *v17; // r0 GJRequestCell *v18; // t1 cocos2d::ccArray *data; // r2 LevelCell **arr; // r5 LevelCell **v21; // r4 LevelCell *v22; // r0 LevelCell *v23; // t1 cocos2d::ccArray *v24; // r2 LevelCell **v25; // r5 LevelCell **v26; // r4 LevelCell *v27; // r0 LevelCell *v28; // t1 cocos2d::ccArray *v29; // r2 SmartTemplateCell **v30; // r5 int v31; // r7 SmartTemplateCell **v32; // r4 SmartTemplateCell *v33; // r6 SmartTemplateCell *v34; // t1 int v35; // r1 cocos2d::ccArray *v36; // r2 CustomSFXCell **v37; // r5 int v38; // r7 CustomSFXCell **v39; // r4 CustomSFXCell *v40; // r6 CustomSFXCell *v41; // t1 cocos2d::ccArray *v42; // r2 CustomSongCell **v43; // r5 int v44; // r7 CustomSongCell **v45; // r4 CustomSongCell *v46; // r6 CustomSongCell *v47; // t1 cocos2d::ccArray *v48; // r2 OptionsCell **v49; // r5 int v50; // r7 OptionsCell **v51; // r4 OptionsCell *v52; // r6 OptionsCell *v53; // t1 int v54; // r1 m_tableView = a1->m_tableView; if ( m_tableView ) { m_cellArray = m_tableView->m_cellArray; if ( m_cellArray ) { switch ( a1->m_type ) { case Level: case Level2: data = m_cellArray->data; if ( data->num ) { arr = (LevelCell **)data->arr; v21 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v21 ) { v23 = *arr++; v22 = v23; if ( !v23 ) break; LevelCell::updateToggle(v22); } } break; case MapPack: v4 = m_cellArray->data; if ( v4->num ) { v5 = (MapPackCell **)v4->arr; v6 = &v5[v4->num] + 0x3FFFFFFF; while ( v5 <= v6 ) { v8 = *v5++; v7 = v8; if ( !v8 ) break; MapPackCell::reloadCell(v7); } } break; case CustomSong: case CustomMusic: v42 = m_cellArray->data; if ( v42->num ) { v43 = (CustomSongCell **)v42->arr; v44 = 0; v45 = &v43[v42->num] + 0x3FFFFFFF; while ( v43 <= v45 ) { v47 = *v43++; v46 = v47; if ( !v47 ) break; if ( CustomSongCell::shouldReload(v46) ) { CustomSongCell::loadFromObject(v46, v46->m_songInfoObject); CustomSongCell::updateBGColor(v46, v44); } ++v44; } } break; case Request: v14 = m_cellArray->data; if ( v14->num ) { v15 = (GJRequestCell **)v14->arr; v16 = &v15[v14->num] + 0x3FFFFFFF; while ( v15 <= v16 ) { v18 = *v15++; v17 = v18; if ( !v18 ) break; GJRequestCell::updateToggle(v17); } } break; case Message: v9 = m_cellArray->data; if ( v9->num ) { v10 = (GJMessageCell **)v9->arr; v11 = &v10[v9->num] + 0x3FFFFFFF; while ( v10 <= v11 ) { v13 = *v10++; v12 = v13; if ( !v13 ) break; GJMessageCell::updateToggle(v12); } } break; case SmartTemplate: v29 = m_cellArray->data; if ( v29->num ) { v30 = (SmartTemplateCell **)v29->arr; v31 = 0; v32 = &v30[v29->num] + 0x3FFFFFFF; while ( v30 <= v32 ) { v34 = *v30++; v33 = v34; if ( !v34 ) break; SmartTemplateCell::loadFromObject(v33, v33->m_smartTemplate); v35 = v31++; SmartTemplateCell::updateBGColor(v33, v35); } } break; case SFX: case SFX2: v36 = m_cellArray->data; if ( v36->num ) { v37 = (CustomSFXCell **)v36->arr; v38 = 0; v39 = &v37[v36->num] + 0x3FFFFFFF; while ( v37 <= v39 ) { v41 = *v37++; v40 = v41; if ( !v41 ) break; if ( CustomSFXCell::shouldReload(v40) ) { CustomSFXCell::loadFromObject(v40, v40->m_sfxObject); CustomSFXCell::updateBGColor(v40, v38); } ++v38; } } break; case Options: v48 = m_cellArray->data; if ( v48->num ) { v49 = (OptionsCell **)v48->arr; v50 = 0; v51 = &v49[v48->num] + 0x3FFFFFFF; while ( v49 <= v51 ) { v53 = *v49++; v52 = v53; if ( !v53 ) break; OptionsCell::loadFromObject(v52, v52->m_optionsObject); v54 = v50++; OptionsCell::updateBGColor(v52, v54); } } break; case Level3: case Level4: v24 = m_cellArray->data; if ( v24->num ) { v25 = (LevelCell **)v24->arr; v26 = &v25[v24->num] + 0x3FFFFFFF; while ( v25 <= v26 ) { v28 = *v25++; v27 = v28; if ( !v28 ) break; LevelCell::updateCellMode(v27, a1->m_cellMode); } } break; default: return; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source