//
// CustomListView::getListCell from 0x33b5dc to 0x33b8be (738 bytes)
//
// 0 xrefs:
//
// 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
//
TableViewCell *CustomListView::getListCell(CustomListView *a1, const char *a2)
{
float CellHeight; // r7
int v5; // r4
TableViewCell *result; // r0
CellHeight = CustomListView::getCellHeight(a1->m_type);
switch ( a1->m_type )
{
case User:
case User2:
v5 = operator new(0x1B0u);
GJUserCell::GJUserCell((GJUserCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Stats:
v5 = operator new(0x19Cu);
StatsCell::StatsCell((StatsCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Achievement:
v5 = operator new(0x19Cu);
AchievementCell::AchievementCell((AchievementCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Level:
case Level2:
v5 = operator new(0x1C0u);
LevelCell::LevelCell((LevelCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Comment:
case Comment4:
v5 = operator new(0x1B4u);
CommentCell::CommentCell((CommentCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Comment2:
case Comment3:
v5 = operator new(0x1B4u);
CommentCell::CommentCell((CommentCell *)v5, a2, a1->m_width, CellHeight);
*(_BYTE *)(v5 + 434) = 1;
goto LABEL_27;
case Song:
v5 = operator new(0x1A0u);
SongCell::SongCell((SongCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Score:
v5 = operator new(0x1A4u);
GJScoreCell::GJScoreCell((GJScoreCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case MapPack:
v5 = operator new(0x1B0u);
MapPackCell::MapPackCell((MapPackCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case CustomSong:
v5 = operator new(0x1A8u);
CustomSongCell::CustomSongCell((CustomSongCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Request:
v5 = operator new(0x1B4u);
GJRequestCell::GJRequestCell((GJRequestCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Message:
v5 = operator new(0x1B4u);
GJMessageCell::GJMessageCell((GJMessageCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Comment4|Achievement:
v5 = operator new(0x1A0u);
GJLevelScoreCell::GJLevelScoreCell((GJLevelScoreCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Artist:
v5 = operator new(0x1A0u);
ArtistCell::ArtistCell((ArtistCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case SmartTemplate:
v5 = operator new(0x1A0u);
SmartTemplateCell::SmartTemplateCell((SmartTemplateCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case SFX:
v5 = operator new(0x1A8u);
CustomSFXCell::CustomSFXCell((CustomSFXCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case SFX2:
v5 = operator new(0x1A8u);
CustomSFXCell::CustomSFXCell((CustomSFXCell *)v5, a2, a1->m_width, CellHeight);
*(_BYTE *)(v5 + 421) = 1;
goto LABEL_27;
case CustomMusic:
v5 = operator new(0x1A8u);
CustomMusicCell::CustomMusicCell((CustomMusicCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Options:
v5 = operator new(0x1A0u);
OptionsCell::OptionsCell((OptionsCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case LevelList:
case LevelList2:
v5 = operator new(0x1A4u);
LevelListCell::LevelListCell((LevelListCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case Level3:
case Level4:
v5 = operator new(0x1C0u);
LevelCell::LevelCell((LevelCell *)v5, a2, a1->m_width, CellHeight);
*(_BYTE *)(v5 + 440) = 1;
goto LABEL_27;
case LevelList3:
v5 = operator new(0x1A4u);
LevelListCell::LevelListCell((LevelListCell *)v5, a2, a1->m_width, CellHeight);
*(_BYTE *)(v5 + 416) = 1;
goto LABEL_27;
case LocalLevelScore:
v5 = operator new(0x1A0u);
GJLocalLevelScoreCell::GJLocalLevelScoreCell((GJLocalLevelScoreCell *)v5, a2, a1->m_width, CellHeight);
goto LABEL_27;
case URL:
v5 = operator new(0x1A0u);
URLCell::URLCell((URLCell *)v5, a2, a1->m_width, CellHeight);
LABEL_27:
result = (TableViewCell *)v5;
break;
default:
result = BoomListView::getListCell(a1, a2);
break;
}
return result;
}