//
// BoomListView::setupList from 0x56bf3c to 0x56bfd0 (148 bytes)
//
// 3 xrefs:
// > CustomListView::setupList @ 0x60d1a0
// > ??> @ 0x99ff0
// > ??> @ 0x1134710
//
// 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 BoomListView::setupList(BoomListView *a1, float a2)
{
bool v3; // zf
TableView *m_tableView; // x0
cocos2d::CCArray *v5; // x0
cocos2d::CCArray *m_entries; // x0
v3 = a1->m_type == (List|0x1);
m_tableView = a1->m_tableView;
if ( v3 )
{
a1->m_itemSeparation = 80.0;
TableView::reloadData(m_tableView);
m_entries = a1->m_entries;
a1->m_tableView->m_scrollLimitTop = 5.0;
if ( (unsigned int)cocos2d::CCArray::count(m_entries) != 1 )
goto LABEL_3;
}
else
{
a1->m_itemSeparation = 40.0;
TableView::reloadData(m_tableView);
v5 = a1->m_entries;
a1->m_tableView->m_scrollLimitTop = 30.0;
if ( (unsigned int)cocos2d::CCArray::count(v5) != 1 )
{
LABEL_3:
CCScrollLayerExt::moveToTop(a1->m_tableView);
return;
}
}
CCScrollLayerExt::moveToTopWithOffset(a1->m_tableView, a1->m_itemSeparation);
}