//
// CustomListView::getListCell from 0x140144a40 to 0x140145918 (3800 bytes)
//
// 2 xrefs:
// > ??> @ 0x14073e2b8
// > ??> @ 0x14091751c
//
// This function is hookable on this platform (idp: pc, 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 11:27:11 +0000
//
// Hidden C++ exception states: #wind=36
__int64 __fastcall CustomListView::getListCell(__int64 a1, _BYTE *a2)
{
int v4; // r8d
double CellHeight; // xmm0_8
_QWORD *v6; // rbx
__int64 result; // rax
__int64 v8; // rcx
cocos2d::CCObject *v9; // rax
__int64 v10; // rcx
cocos2d::CCObject *v11; // rax
void *v12; // [rsp+40h] [rbp+10h]
void *v13; // [rsp+40h] [rbp+10h]
void *v14; // [rsp+40h] [rbp+10h]
void *v15; // [rsp+40h] [rbp+10h]
void *v16; // [rsp+40h] [rbp+10h]
void *v17; // [rsp+40h] [rbp+10h]
void *v18; // [rsp+40h] [rbp+10h]
void *v19; // [rsp+40h] [rbp+10h]
void *v20; // [rsp+40h] [rbp+10h]
void *v21; // [rsp+40h] [rbp+10h]
void *v22; // [rsp+40h] [rbp+10h]
void *v23; // [rsp+40h] [rbp+10h]
void *v24; // [rsp+40h] [rbp+10h]
CellHeight = CustomListView::getCellHeight(*(unsigned int *)(a1 + 440));
switch ( v4 )
{
case 2:
v6 = operator new(0x230u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &StatsCell::`vftable';
v6[40] = &StatsCell::`vftable';
v6[41] = &StatsCell::`vftable';
v6[42] = &StatsCell::`vftable';
v6[43] = &StatsCell::`vftable';
v6[44] = &StatsCell::`vftable';
return (__int64)v6;
case 3:
v6 = operator new(0x230u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &AchievementCell::`vftable';
v6[40] = &AchievementCell::`vftable';
v6[41] = &AchievementCell::`vftable';
v6[42] = &AchievementCell::`vftable';
v6[43] = &AchievementCell::`vftable';
v6[44] = &AchievementCell::`vftable';
return (__int64)v6;
case 4:
case 5:
v15 = operator new(0x268u);
return LevelCell::LevelCell(v15, a2);
case 6:
case 15:
v19 = operator new(0x268u);
return CommentCell::CommentCell(v19, a2);
case 7:
case 8:
v18 = operator new(0x268u);
result = CommentCell::CommentCell(v18, a2);
*(_BYTE *)(result + 602) = 1;
return result;
case 11:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &SongCell::`vftable';
v6[40] = &SongCell::`vftable';
v6[41] = &SongCell::`vftable';
v6[42] = &SongCell::`vftable';
v6[43] = &SongCell::`vftable';
v6[44] = &SongCell::`vftable';
v6[70] = 0;
return (__int64)v6;
case 12:
v6 = operator new(0x240u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJScoreCell::`vftable';
v6[40] = &GJScoreCell::`vftable';
v6[41] = &GJScoreCell::`vftable';
v6[42] = &GJScoreCell::`vftable';
v6[43] = &GJScoreCell::`vftable';
v6[44] = &GJScoreCell::`vftable';
v6[70] = &GJScoreCell::`vftable';
v6[71] = 0;
return (__int64)v6;
case 13:
v6 = operator new(0x258u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &MapPackCell::`vftable';
v6[40] = &MapPackCell::`vftable';
v6[41] = &MapPackCell::`vftable';
v6[42] = &MapPackCell::`vftable';
v6[43] = &MapPackCell::`vftable';
v6[44] = &MapPackCell::`vftable';
v9 = (cocos2d::CCObject *)cocos2d::CCArray::create(v8);
v6[74] = v9;
cocos2d::CCObject::retain(v9);
v11 = (cocos2d::CCObject *)cocos2d::CCArray::create(v10);
v6[73] = v11;
cocos2d::CCObject::retain(v11);
v6[70] = 0;
v6[71] = 0;
v6[72] = 0;
return (__int64)v6;
case 14:
v12 = operator new(0x248u);
return CustomSongCell::CustomSongCell(v12, a2);
case 16:
v6 = operator new(0x248u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJRequestCell::`vftable';
v6[40] = &GJRequestCell::`vftable';
v6[41] = &GJRequestCell::`vftable';
v6[42] = &GJRequestCell::`vftable';
v6[43] = &GJRequestCell::`vftable';
v6[44] = &GJRequestCell::`vftable';
v6[70] = 0;
v6[71] = 0;
*((_BYTE *)v6 + 576) = 0;
return (__int64)v6;
case 17:
v6 = operator new(0x260u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJMessageCell::`vftable';
v6[40] = &GJMessageCell::`vftable';
v6[41] = &GJMessageCell::`vftable';
v6[42] = &GJMessageCell::`vftable';
v6[43] = &GJMessageCell::`vftable';
v6[44] = &GJMessageCell::`vftable';
v6[70] = &GJMessageCell::`vftable';
v6[71] = &GJMessageCell::`vftable';
v6[72] = &GJMessageCell::`vftable';
v6[73] = 0;
v6[74] = 0;
v6[75] = 0;
return (__int64)v6;
case 18:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJLevelScoreCell::`vftable';
v6[40] = &GJLevelScoreCell::`vftable';
v6[41] = &GJLevelScoreCell::`vftable';
v6[42] = &GJLevelScoreCell::`vftable';
v6[43] = &GJLevelScoreCell::`vftable';
v6[44] = &GJLevelScoreCell::`vftable';
v6[70] = 0;
return (__int64)v6;
case 19:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &ArtistCell::`vftable';
v6[40] = &ArtistCell::`vftable';
v6[41] = &ArtistCell::`vftable';
v6[42] = &ArtistCell::`vftable';
v6[43] = &ArtistCell::`vftable';
v6[44] = &ArtistCell::`vftable';
v6[70] = 0;
return (__int64)v6;
case 20:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &SmartTemplateCell::`vftable';
v6[40] = &SmartTemplateCell::`vftable';
v6[41] = &SmartTemplateCell::`vftable';
v6[42] = &SmartTemplateCell::`vftable';
v6[43] = &SmartTemplateCell::`vftable';
v6[44] = &SmartTemplateCell::`vftable';
v6[70] = 0;
return (__int64)v6;
case 21:
v13 = operator new(0x248u);
return CustomSFXCell::CustomSFXCell(v13, a2);
case 22:
v14 = operator new(0x248u);
result = CustomSFXCell::CustomSFXCell(v14, a2);
*(_BYTE *)(result + 578) = 1;
return result;
case 23:
v6 = operator new(0x248u);
CustomSongCell::CustomSongCell(v6, a2);
*v6 = &CustomMusicCell::`vftable';
v6[40] = &CustomMusicCell::`vftable';
v6[41] = &CustomMusicCell::`vftable';
v6[42] = &CustomMusicCell::`vftable';
v6[43] = &CustomMusicCell::`vftable';
v6[44] = &CustomMusicCell::`vftable';
v6[70] = &CustomMusicCell::`vftable';
v6[71] = 0;
return (__int64)v6;
case 24:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &OptionsCell::`vftable';
v6[40] = &OptionsCell::`vftable';
v6[41] = &OptionsCell::`vftable';
v6[42] = &OptionsCell::`vftable';
v6[43] = &OptionsCell::`vftable';
v6[44] = &OptionsCell::`vftable';
v6[70] = 0;
cocos2d::CCLayer::init((cocos2d::CCLayer *)v6);
return (__int64)v6;
case 25:
case 27:
v20 = operator new(0x240u);
return LevelListCell::LevelListCell(v20, a2);
case 26:
case 29:
v17 = operator new(0x268u);
result = LevelCell::LevelCell(v17, a2);
*(_BYTE *)(result + 608) = 1;
return result;
case 28:
v21 = operator new(0x240u);
result = LevelListCell::LevelListCell(v21, a2);
*(_BYTE *)(result + 568) = 1;
return result;
case 31:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJLocalLevelScoreCell::`vftable';
v6[40] = &GJLocalLevelScoreCell::`vftable';
v6[41] = &GJLocalLevelScoreCell::`vftable';
v6[42] = &GJLocalLevelScoreCell::`vftable';
v6[43] = &GJLocalLevelScoreCell::`vftable';
v6[44] = &GJLocalLevelScoreCell::`vftable';
v6[70] = 0;
return (__int64)v6;
case 32:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &URLCell::`vftable';
v6[40] = &URLCell::`vftable';
v6[41] = &URLCell::`vftable';
v6[42] = &URLCell::`vftable';
v6[43] = &URLCell::`vftable';
v6[44] = &URLCell::`vftable';
v6[70] = 0;
return (__int64)v6;
case 33:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &FontPreviewCell::`vftable';
v6[40] = &FontPreviewCell::`vftable';
v6[41] = &FontPreviewCell::`vftable';
v6[42] = &FontPreviewCell::`vftable';
v6[43] = &FontPreviewCell::`vftable';
v6[44] = &FontPreviewCell::`vftable';
*((_DWORD *)v6 + 140) = 0;
return (__int64)v6;
case 34:
v23 = operator new(0x250u);
return EditorSoundConfigCell::EditorSoundConfigCell(v23, a2);
case 35:
v24 = operator new(0x250u);
result = EditorSoundConfigCell::EditorSoundConfigCell(v24, a2);
*(_BYTE *)(result + 584) = 1;
return result;
case 36:
v6 = operator new(0x240u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJThreadCell::`vftable';
v6[40] = &GJThreadCell::`vftable';
v6[41] = &GJThreadCell::`vftable';
v6[42] = &GJThreadCell::`vftable';
v6[43] = &GJThreadCell::`vftable';
v6[44] = &GJThreadCell::`vftable';
v6[70] = 0;
v6[71] = 0;
return (__int64)v6;
case 37:
v16 = operator new(0x268u);
result = LevelCell::LevelCell(v16, a2);
*(_BYTE *)(result + 608) = 1;
*(_WORD *)(result + 576) = 257;
return result;
case 38:
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJCompactUserCell::`vftable';
v6[40] = &GJCompactUserCell::`vftable';
v6[41] = &GJCompactUserCell::`vftable';
v6[42] = &GJCompactUserCell::`vftable';
v6[43] = &GJCompactUserCell::`vftable';
v6[44] = &GJCompactUserCell::`vftable';
v6[70] = 0;
return (__int64)v6;
case 39:
v22 = operator new(0x240u);
result = LevelListCell::LevelListCell(v22, a2);
*(_WORD *)(result + 568) = 257;
return result;
case 40:
v6 = operator new(0x248u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), *(float *)&CellHeight);
*v6 = &GJNotificationCell::`vftable';
v6[40] = &GJNotificationCell::`vftable';
v6[41] = &GJNotificationCell::`vftable';
v6[42] = &GJNotificationCell::`vftable';
v6[43] = &GJNotificationCell::`vftable';
v6[44] = &GJNotificationCell::`vftable';
v6[70] = &GJNotificationCell::`vftable';
v6[71] = 0;
v6[72] = 0;
return (__int64)v6;
default:
if ( v4 == 10 )
{
v6 = operator new(0x258u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), 80.0);
*v6 = &GameCell::`vftable';
v6[40] = &GameCell::`vftable';
v6[41] = &GameCell::`vftable';
v6[42] = &GameCell::`vftable';
v6[43] = &GameCell::`vftable';
v6[44] = &GameCell::`vftable';
*(_OWORD *)(v6 + 71) = 0;
v6[73] = 0;
v6[74] = 15;
*((_BYTE *)v6 + 568) = 0;
v6[70] = 0;
}
else
{
v6 = operator new(0x238u);
TableViewCell::TableViewCell((__int64)v6, a2, *(float *)(a1 + 448), 40.0);
*v6 = &ListCell::`vftable';
v6[40] = &ListCell::`vftable';
v6[41] = &ListCell::`vftable';
v6[42] = &ListCell::`vftable';
v6[43] = &ListCell::`vftable';
v6[44] = &ListCell::`vftable';
}
return (__int64)v6;
}
}