//
// CustomListView::loadCell from 0x100100ea4 to 0x1001012cc (1064 bytes)
//
// 1 xrefs:
// > ??> @ 0x10078f238
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall CustomListView::loadCell(CustomListView *a1, TableViewCell *a2, int a3)
{
GJGameLevel *v5; // x0
GJComment *v6; // x0
GJLevelList *v7; // x0
SFXInfoObject *v8; // x0
GJUserScore *v9; // x21
GJUserScore *v10; // x21
GJUserScore *v11; // x21
SongInfoObject *v12; // x0
GJLocalScore *v13; // x0
StatsObject *v14; // x0
SongObject *v15; // x0
SongInfoObject *v16; // x0
CCURLObject *v17; // x0
OptionsObject *v18; // x0
cocos2d::CCDictionary *v19; // x0
GJMapPack *v20; // x0
SongInfoObject *v21; // x0
GJUserMessage *v22; // x0
GJUserScore *v23; // x21
GJSmartTemplate *v24; // x0
switch ( a1->m_type )
{
case User:
case User2:
v9 = (GJUserScore *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
GJUserCell::updateBGColor((GJUserCell *)a2, a3);
GJUserCell::loadFromScore((GJUserCell *)a2, v9);
break;
case Stats:
v14 = (StatsObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
StatsCell::loadFromObject((StatsCell *)a2, v14);
StatsCell::updateBGColor((StatsCell *)a2, a3);
break;
case Achievement:
v19 = (cocos2d::CCDictionary *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
AchievementCell::loadFromDict((AchievementCell *)a2, v19);
AchievementCell::updateBGColor((AchievementCell *)a2, a3);
break;
case Level:
case Level2:
case Level3:
case Level4:
v5 = (GJGameLevel *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
LevelCell::loadFromLevel((LevelCell *)a2, v5);
LevelCell::updateBGColor((LevelCell *)a2, a3);
break;
case Comment:
case Comment2:
case Comment3:
case Comment4:
v6 = (GJComment *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
CommentCell::loadFromComment((CommentCell *)a2, v6);
CommentCell::updateBGColor((CommentCell *)a2, a3);
break;
case Song:
v15 = (SongObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
SongCell::loadFromObject((SongCell *)a2, v15);
SongCell::updateBGColor((SongCell *)a2, a3);
break;
case Score:
v11 = (GJUserScore *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
GJScoreCell::updateBGColor((GJScoreCell *)a2, a3);
GJScoreCell::loadFromScore((GJScoreCell *)a2, v11);
break;
case MapPack:
v20 = (GJMapPack *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
MapPackCell::loadFromMapPack((MapPackCell *)a2, v20);
MapPackCell::updateBGColor((MapPackCell *)a2, a3);
break;
case CustomSong:
v21 = (SongInfoObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
CustomSongCell::loadFromObject((CustomSongCell *)a2, v21);
CustomSongCell::updateBGColor((CustomSongCell *)a2, a3);
break;
case Request:
v23 = (GJUserScore *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
GJRequestCell::updateBGColor((GJRequestCell *)a2, a3);
GJRequestCell::loadFromScore((GJRequestCell *)a2, v23);
break;
case Message:
v22 = (GJUserMessage *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
GJMessageCell::loadFromMessage((GJMessageCell *)a2, v22);
GJMessageCell::updateBGColor((GJMessageCell *)a2, a3);
break;
case Comment4|Achievement:
v10 = (GJUserScore *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
GJLevelScoreCell::updateBGColor((GJLevelScoreCell *)a2, a3);
GJLevelScoreCell::loadFromScore((GJLevelScoreCell *)a2, v10);
break;
case Artist:
v16 = (SongInfoObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
ArtistCell::loadFromObject((ArtistCell *)a2, v16);
ArtistCell::updateBGColor((ArtistCell *)a2, a3);
break;
case SmartTemplate:
v24 = (GJSmartTemplate *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
SmartTemplateCell::loadFromObject((SmartTemplateCell *)a2, v24);
SmartTemplateCell::updateBGColor((SmartTemplateCell *)a2, a3);
break;
case SFX:
case SFX2:
v8 = (SFXInfoObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
CustomSFXCell::loadFromObject((CustomSFXCell *)a2, v8);
CustomSFXCell::updateBGColor((CustomSFXCell *)a2, a3);
break;
case CustomMusic:
v12 = (SongInfoObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
CustomMusicCell::loadFromObject((CustomMusicCell *)a2, v12);
CustomMusicCell::updateBGColor((CustomMusicCell *)a2, a3);
break;
case Options:
v18 = (OptionsObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
OptionsCell::loadFromObject((OptionsCell *)a2, v18);
OptionsCell::updateBGColor((OptionsCell *)a2, a3);
break;
case LevelList:
case LevelList2:
case LevelList3:
v7 = (GJLevelList *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
LevelListCell::loadFromList((LevelListCell *)a2, v7);
LevelListCell::updateBGColor((LevelListCell *)a2, a3);
break;
case LocalLevelScore:
v13 = (GJLocalScore *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
GJLocalLevelScoreCell::loadFromScore((GJLocalLevelScoreCell *)a2, v13);
GJLocalLevelScoreCell::updateBGColor((GJLocalLevelScoreCell *)a2, a3);
break;
case URL:
v17 = (CCURLObject *)sub_10024A388(a1->m_entries, *(_QWORD *)&a3);
URLCell::loadFromObject((URLCell *)a2, v17);
URLCell::updateBGColor((URLCell *)a2, a3);
break;
default:
BoomListView::loadCell(a1, a2, a3);
break;
}
}