//
// BoomListView::setupList from 0x14003c390 to 0x14003c420 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x14052b300
// > ??> @ 0x1406c3e58
//
// 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)
{
TableView *m_tableView; // rcx
unsigned int v4; // eax
TableView *v5; // rcx
m_tableView = a1->m_tableView;
if ( a1->m_type == (List|0x1) )
{
a1->m_itemSeparation = 80.0;
TableView::reloadData(m_tableView);
a1->m_tableView->m_scrollLimitTop = 5.0;
}
else
{
a1->m_itemSeparation = 40.0;
TableView::reloadData(m_tableView);
a1->m_tableView->m_scrollLimitTop = 30.0;
}
v4 = cocos2d::CCArray::count(a1->m_entries);
v5 = a1->m_tableView;
if ( v4 == 1 )
CCScrollLayerExt::moveToTopWithOffset(v5, a1->m_itemSeparation);
else
CCScrollLayerExt::moveToTop(v5);
}