//
// BoomListView::setupList from 0x1001d0064 to 0x1001d00e4 (128 bytes)
//
// 2 xrefs:
// > CustomListView::setupList @ 0x10010b8c0
// > ??> @ 0x1007bbdf0
//
// 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 __fastcall BoomListView::setupList(BoomListView *a1, float a2)
{
float v3; // w8
cocos2d::CCArray *m_entries; // x0
int v5; // w8
TableView *m_tableView; // x0
if ( a1->m_type == (List|0x1) )
{
a1->m_itemSeparation = 80.0;
TableView::reloadData(a1->m_tableView);
v3 = 5.0;
}
else
{
a1->m_itemSeparation = 40.0;
TableView::reloadData(a1->m_tableView);
v3 = 30.0;
}
m_entries = a1->m_entries;
a1->m_tableView->m_scrollLimitTop = v3;
v5 = sub_10024A36C(m_entries);
m_tableView = a1->m_tableView;
if ( v5 == 1 )
CCScrollLayerExt::moveToTopWithOffset(m_tableView, a1->m_itemSeparation);
else
CCScrollLayerExt::moveToTop(m_tableView);
}