//
// CustomListView::getListCell from 0x10010073c to 0x100100e08 (1740 bytes)
//
// 1 xrefs:
// > ??> @ 0x10078f230
//
// 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 *__fastcall CustomListView::getListCell(CustomListView *a1, const char *a2)
{
BoomListType m_type; // w19
float CellHeight; // s8
LevelCell *v6; // x19
__int64 (__fastcall **v7)(); // x8
__int64 (__fastcall **v8)(); // x8
__int64 (__fastcall **v9)(); // x8
__int64 (__fastcall **v10)(); // x8
TableViewCell *result; // x0
__int64 (__fastcall **v12)(); // x8
m_type = a1->m_type;
CellHeight = CustomListView::getCellHeight(m_type);
switch ( m_type )
{
case User:
case User2:
v6 = (LevelCell *)operator new(0x250u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)off_10078CB88;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078D028;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078D098;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078D0B0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078D0D0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078D0F0;
v6->m_button = (CCMenuItemSpriteExtra *)&off_10078D118;
v6->m_level = (GJGameLevel *)&off_10078D130;
*(_QWORD *)&v6->m_cellDrawn = off_10078D148;
*(_OWORD *)&v6->m_toggler = 0u;
goto LABEL_30;
case Stats:
v6 = (LevelCell *)operator new(0x228u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v10 = &off_100788E80;
goto LABEL_25;
case Achievement:
v6 = (LevelCell *)operator new(0x228u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v10 = &off_100787E30;
LABEL_25:
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)v10;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)(v10 + 144);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)(v10 + 158);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)(v10 + 161);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)(v10 + 165);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)(v10 + 169);
goto LABEL_30;
case Level:
case Level2:
v6 = (LevelCell *)operator new(0x260u);
LevelCell::LevelCell(v6, a2, a1->m_width, CellHeight);
goto LABEL_30;
case Comment:
case Comment4:
v6 = (LevelCell *)operator new(0x258u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)off_10078B568;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078B9F8;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078BA68;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078BA80;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078BAA0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078BAC0;
v6->m_button = (CCMenuItemSpriteExtra *)&off_10078BAE8;
v6->m_level = (GJGameLevel *)&off_10078BB00;
BYTE2(v6->m_mainMenu) = 0;
*(_QWORD *)&v6->m_cellDrawn = 0;
v6->m_point = 0;
v6->m_toggler = nullptr;
goto LABEL_30;
case Comment2:
case Comment3:
v6 = (LevelCell *)operator new(0x258u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)off_10078B568;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078B9F8;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078BA68;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078BA80;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078BAA0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078BAC0;
v6->m_button = (CCMenuItemSpriteExtra *)&off_10078BAE8;
v6->m_level = (GJGameLevel *)&off_10078BB00;
*(_QWORD *)&v6->m_cellDrawn = 0;
v6->m_point = 0;
v6->m_toggler = nullptr;
BYTE2(v6->m_mainMenu) = 1;
goto LABEL_30;
case Song:
v6 = (LevelCell *)operator new(0x230u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v7 = &off_1007893F0;
goto LABEL_29;
case Score:
v6 = (LevelCell *)operator new(0x238u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)&off_10078BB18;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078BFA0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078C010;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078C028;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078C048;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078C068;
v9 = &off_10078C090;
goto LABEL_14;
case MapPack:
v6 = (LevelCell *)operator new(0x250u);
MapPackCell::MapPackCell((MapPackCell *)v6, a2, a1->m_width, CellHeight);
goto LABEL_30;
case CustomSong:
v6 = (LevelCell *)operator new(0x240u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v8 = &off_100789960;
goto LABEL_13;
case Request:
v6 = (LevelCell *)operator new(0x258u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v12 = off_10078D168;
goto LABEL_23;
case Message:
v6 = (LevelCell *)operator new(0x258u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v12 = off_10078D748;
LABEL_23:
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)v12;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)(v12 + 148);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)(v12 + 162);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)(v12 + 165);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)(v12 + 169);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)(v12 + 173);
v6->m_button = (CCMenuItemSpriteExtra *)(v12 + 178);
v6->m_level = (GJGameLevel *)(v12 + 181);
*(_QWORD *)&v6->m_cellDrawn = v12 + 184;
v6->m_toggler = nullptr;
v6->m_mainMenu = nullptr;
v6->m_point = 0;
goto LABEL_30;
case Comment4|Achievement:
v6 = (LevelCell *)operator new(0x230u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v7 = &off_10078C618;
goto LABEL_29;
case Artist:
v6 = (LevelCell *)operator new(0x230u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v7 = &off_10078AFF8;
goto LABEL_29;
case SmartTemplate:
v6 = (LevelCell *)operator new(0x230u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v7 = &off_10078DD28;
goto LABEL_29;
case SFX:
v6 = (LevelCell *)operator new(0x240u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)&off_100789F20;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078A3B0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078A420;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078A438;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078A458;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078A478;
v6->m_button = (CCMenuItemSpriteExtra *)off_10078A4A0;
v6->m_level = nullptr;
*(&v6->m_cellDrawn + 1) = 0;
goto LABEL_30;
case SFX2:
v6 = (LevelCell *)operator new(0x240u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)&off_100789F20;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078A3B0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078A420;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078A438;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078A458;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078A478;
v6->m_button = (CCMenuItemSpriteExtra *)off_10078A4A0;
v6->m_level = nullptr;
*(&v6->m_cellDrawn + 1) = 1;
goto LABEL_30;
case CustomMusic:
v6 = (LevelCell *)operator new(0x240u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v8 = &off_10078A4C8;
LABEL_13:
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)v8;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)(v8 + 148);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)(v8 + 162);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)(v8 + 165);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)(v8 + 169);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)(v8 + 173);
v9 = v8 + 178;
LABEL_14:
v6->m_button = (CCMenuItemSpriteExtra *)v9;
v6->m_level = nullptr;
goto LABEL_30;
case Options:
v6 = (LevelCell *)operator new(0x230u);
OptionsCell::OptionsCell((OptionsCell *)v6, a2, a1->m_width, CellHeight);
goto LABEL_30;
case LevelList:
case LevelList2:
v6 = (LevelCell *)operator new(0x238u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)off_10078E298;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078E718;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078E788;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078E7A0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078E7C0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078E7E0;
v6->m_button = nullptr;
LOBYTE(v6->m_level) = 0;
goto LABEL_30;
case Level3:
case Level4:
v6 = (LevelCell *)operator new(0x260u);
LevelCell::LevelCell(v6, a2, a1->m_width, CellHeight);
v6->m_compactView = 1;
goto LABEL_30;
case LevelList3:
v6 = (LevelCell *)operator new(0x238u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)off_10078E298;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10078E718;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10078E788;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10078E7A0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_10078E7C0;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10078E7E0;
v6->m_button = nullptr;
LOBYTE(v6->m_level) = 1;
goto LABEL_30;
case LocalLevelScore:
v6 = (LevelCell *)operator new(0x230u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v7 = &off_10078C0A8;
goto LABEL_29;
case URL:
v6 = (LevelCell *)operator new(0x230u);
TableViewCell::TableViewCell(v6, a2, a1->m_width, CellHeight);
v7 = &off_10078E808;
LABEL_29:
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelCell_vtbl *)v7;
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)(v7 + 144);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)(v7 + 158);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)(v7 + 161);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)(v7 + 165);
v6->TableViewCell::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)(v7 + 169);
v6->m_button = nullptr;
LABEL_30:
result = v6;
break;
default:
result = BoomListView::getListCell(a1, a2);
break;
}
return result;
}