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