//
// CustomListView::getListCell from 0x73a76c to 0x73adc4 (1624 bytes)
//
// 2 xrefs:
// > ??> @ 0x48250
// > ??> @ 0x142aee8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:52:40 +0000
//
GameCell *__fastcall CustomListView::getListCell(CustomListView *this, char *a2)
{
float CellHeight; // s1
GameCell *result; // x0
StatsCell *v5; // x20
LevelListCell *v6; // x20
LevelCell *v7; // x20
EditorSoundConfigCell *v8; // x20
LevelListCell *v9; // x20
LevelCell *v10; // x20
CustomSFXCell *v11; // x20
CommentCell *v12; // x20
char *v13; // [xsp+28h] [xbp+28h]
char *v14; // [xsp+28h] [xbp+28h]
char *v15; // [xsp+28h] [xbp+28h]
char *v16; // [xsp+28h] [xbp+28h]
char *v17; // [xsp+28h] [xbp+28h]
char *v18; // [xsp+28h] [xbp+28h]
char *v19; // [xsp+28h] [xbp+28h]
char *v20; // [xsp+28h] [xbp+28h]
char *v21; // [xsp+28h] [xbp+28h]
char *v22; // [xsp+28h] [xbp+28h]
char *v23; // [xsp+28h] [xbp+28h]
char *v24; // [xsp+28h] [xbp+28h]
char *v25; // [xsp+28h] [xbp+28h]
char *v26; // [xsp+28h] [xbp+28h]
char *v27; // [xsp+28h] [xbp+28h]
char *v28; // [xsp+28h] [xbp+28h]
char *v29; // [xsp+28h] [xbp+28h]
char *v30; // [xsp+28h] [xbp+28h]
char *v31; // [xsp+28h] [xbp+28h]
char *v32; // [xsp+28h] [xbp+28h]
char *v33; // [xsp+28h] [xbp+28h]
char *v34; // [xsp+28h] [xbp+28h]
char *v35; // [xsp+28h] [xbp+28h]
char *v36; // [xsp+28h] [xbp+28h]
char *v37; // [xsp+28h] [xbp+28h]
char *v38; // [xsp+28h] [xbp+28h]
char *v39; // [xsp+28h] [xbp+28h]
char *v40; // [xsp+28h] [xbp+28h]
char *v41; // [xsp+28h] [xbp+28h]
char *v42; // [xsp+28h] [xbp+28h]
char *v43; // [xsp+28h] [xbp+28h]
float v45; // [xsp+30h] [xbp+30h]
float v46; // [xsp+30h] [xbp+30h]
float v47; // [xsp+30h] [xbp+30h]
float v48; // [xsp+30h] [xbp+30h]
float v49; // [xsp+30h] [xbp+30h]
float v50; // [xsp+30h] [xbp+30h]
float v51; // [xsp+30h] [xbp+30h]
float v52; // [xsp+30h] [xbp+30h]
float v53; // [xsp+30h] [xbp+30h]
float v54; // [xsp+30h] [xbp+30h]
float v55; // [xsp+30h] [xbp+30h]
float v56; // [xsp+30h] [xbp+30h]
float v57; // [xsp+30h] [xbp+30h]
float v58; // [xsp+30h] [xbp+30h]
float v59; // [xsp+30h] [xbp+30h]
float v60; // [xsp+30h] [xbp+30h]
float v61; // [xsp+30h] [xbp+30h]
float v62; // [xsp+30h] [xbp+30h]
float v63; // [xsp+30h] [xbp+30h]
float v64; // [xsp+30h] [xbp+30h]
float v65; // [xsp+30h] [xbp+30h]
float v66; // [xsp+30h] [xbp+30h]
float v67; // [xsp+30h] [xbp+30h]
float v68; // [xsp+30h] [xbp+30h]
float v69; // [xsp+30h] [xbp+30h]
float v70; // [xsp+30h] [xbp+30h]
float v71; // [xsp+30h] [xbp+30h]
float v72; // [xsp+30h] [xbp+30h]
float v73; // [xsp+30h] [xbp+30h]
float v74; // [xsp+30h] [xbp+30h]
float v75; // [xsp+30h] [xbp+30h]
CellHeight = CustomListView::getCellHeight(*((_DWORD *)this + 110));
switch ( *((_DWORD *)this + 110) )
{
case 2:
v43 = a2;
v75 = CellHeight;
v5 = (StatsCell *)operator new(0x228u);
StatsCell::StatsCell(v5, v43, *((float *)this + 112), v75);
goto LABEL_5;
case 3:
v35 = a2;
v67 = CellHeight;
v5 = (StatsCell *)operator new(0x228u);
AchievementCell::AchievementCell(v5, v35, *((float *)this + 112), v67);
goto LABEL_5;
case 4:
case 5:
v39 = a2;
v71 = CellHeight;
v5 = (StatsCell *)operator new(0x260u);
LevelCell::LevelCell(v5, v39, *((float *)this + 112), v71);
goto LABEL_5;
case 6:
case 0xF:
v32 = a2;
v64 = CellHeight;
v5 = (StatsCell *)operator new(0x260u);
CommentCell::CommentCell(v5, v32, *((float *)this + 112), v64);
goto LABEL_5;
case 7:
case 8:
v41 = a2;
v73 = CellHeight;
v12 = (CommentCell *)operator new(0x260u);
CommentCell::CommentCell(v12, v41, *((float *)this + 112), v73);
result = v12;
*((_BYTE *)v12 + 594) = 1;
return result;
case 0xB:
v34 = a2;
v66 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
SongCell::SongCell(v5, v34, *((float *)this + 112), v66);
goto LABEL_5;
case 0xC:
v37 = a2;
v69 = CellHeight;
v5 = (StatsCell *)operator new(0x238u);
GJScoreCell::GJScoreCell(v5, v37, *((float *)this + 112), v69);
goto LABEL_5;
case 0xD:
v30 = a2;
v62 = CellHeight;
v5 = (StatsCell *)operator new(0x250u);
MapPackCell::MapPackCell(v5, v30, *((float *)this + 112), v62);
goto LABEL_5;
case 0xE:
v42 = a2;
v74 = CellHeight;
v5 = (StatsCell *)operator new(0x240u);
CustomSongCell::CustomSongCell(v5, v42, *((float *)this + 112), v74);
goto LABEL_5;
case 0x10:
v38 = a2;
v70 = CellHeight;
v5 = (StatsCell *)operator new(0x240u);
GJRequestCell::GJRequestCell(v5, v38, *((float *)this + 112), v70);
goto LABEL_5;
case 0x11:
v31 = a2;
v63 = CellHeight;
v5 = (StatsCell *)operator new(0x258u);
GJMessageCell::GJMessageCell(v5, v31, *((float *)this + 112), v63);
goto LABEL_5;
case 0x12:
v40 = a2;
v72 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
GJLevelScoreCell::GJLevelScoreCell(v5, v40, *((float *)this + 112), v72);
goto LABEL_5;
case 0x13:
v33 = a2;
v65 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
ArtistCell::ArtistCell(v5, v33, *((float *)this + 112), v65);
goto LABEL_5;
case 0x14:
v36 = a2;
v68 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
SmartTemplateCell::SmartTemplateCell(v5, v36, *((float *)this + 112), v68);
goto LABEL_5;
case 0x15:
v29 = a2;
v61 = CellHeight;
v5 = (StatsCell *)operator new(0x240u);
CustomSFXCell::CustomSFXCell(v5, v29, *((float *)this + 112), v61);
goto LABEL_5;
case 0x16:
v28 = a2;
v60 = CellHeight;
v11 = (CustomSFXCell *)operator new(0x240u);
CustomSFXCell::CustomSFXCell(v11, v28, *((float *)this + 112), v60);
result = v11;
*((_BYTE *)v11 + 570) = 1;
return result;
case 0x17:
v24 = a2;
v56 = CellHeight;
v5 = (StatsCell *)operator new(0x240u);
CustomMusicCell::CustomMusicCell(v5, v24, *((float *)this + 112), v56);
goto LABEL_5;
case 0x18:
v26 = a2;
v58 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
OptionsCell::OptionsCell(v5, v26, *((float *)this + 112), v58);
goto LABEL_5;
case 0x19:
case 0x1B:
v22 = a2;
v54 = CellHeight;
v5 = (StatsCell *)operator new(0x238u);
LevelListCell::LevelListCell(v5, v22, *((float *)this + 112), v54);
goto LABEL_5;
case 0x1A:
case 0x1D:
v27 = a2;
v59 = CellHeight;
v10 = (LevelCell *)operator new(0x260u);
LevelCell::LevelCell(v10, v27, *((float *)this + 112), v59);
result = v10;
*((_BYTE *)v10 + 600) = 1;
return result;
case 0x1C:
v23 = a2;
v55 = CellHeight;
v9 = (LevelListCell *)operator new(0x238u);
LevelListCell::LevelListCell(v9, v23, *((float *)this + 112), v55);
result = v9;
*((_BYTE *)v9 + 560) = 1;
return result;
case 0x1F:
v25 = a2;
v57 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
GJLocalLevelScoreCell::GJLocalLevelScoreCell(v5, v25, *((float *)this + 112), v57);
goto LABEL_5;
case 0x20:
v21 = a2;
v53 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
URLCell::URLCell(v5, v21, *((float *)this + 112), v53);
goto LABEL_5;
case 0x21:
v20 = a2;
v52 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
FontPreviewCell::FontPreviewCell(v5, v20, *((float *)this + 112), v52);
goto LABEL_5;
case 0x22:
v18 = a2;
v50 = CellHeight;
v5 = (StatsCell *)operator new(0x248u);
EditorSoundConfigCell::EditorSoundConfigCell(v5, v18, *((float *)this + 112), v50);
goto LABEL_5;
case 0x23:
v19 = a2;
v51 = CellHeight;
v8 = (EditorSoundConfigCell *)operator new(0x248u);
EditorSoundConfigCell::EditorSoundConfigCell(v8, v19, *((float *)this + 112), v51);
result = v8;
*((_BYTE *)v8 + 576) = 1;
return result;
case 0x24:
v17 = a2;
v49 = CellHeight;
v5 = (StatsCell *)operator new(0x238u);
GJThreadCell::GJThreadCell(v5, v17, *((float *)this + 112), v49);
goto LABEL_5;
case 0x25:
v16 = a2;
v48 = CellHeight;
v7 = (LevelCell *)operator new(0x260u);
LevelCell::LevelCell(v7, v16, *((float *)this + 112), v48);
result = v7;
*((_BYTE *)v7 + 600) = 1;
*((_BYTE *)v7 + 568) = 1;
*((_BYTE *)v7 + 569) = 1;
return result;
case 0x26:
v15 = a2;
v47 = CellHeight;
v5 = (StatsCell *)operator new(0x230u);
GJCompactUserCell::GJCompactUserCell(v5, v15, *((float *)this + 112), v47);
goto LABEL_5;
case 0x27:
v14 = a2;
v46 = CellHeight;
v6 = (LevelListCell *)operator new(0x238u);
LevelListCell::LevelListCell(v6, v14, *((float *)this + 112), v46);
result = v6;
*((_BYTE *)v6 + 560) = 1;
*((_BYTE *)v6 + 561) = 1;
return result;
case 0x28:
v13 = a2;
v45 = CellHeight;
v5 = (StatsCell *)operator new(0x240u);
GJNotificationCell::GJNotificationCell(v5, v13, *((float *)this + 112), v45);
LABEL_5:
result = v5;
break;
default:
result = BoomListView::getListCell(this, a2);
break;
}
return result;
}