//
// BoomListView::setupList from 0x14003fc20 to 0x14003fcb0 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x140705e00
// > ??> @ 0x14090f368
//
// 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:25:29 +0000
//
__int64 __fastcall BoomListView::setupList(__int64 a1)
{
__int64 v2; // rcx
unsigned int v3; // eax
__int64 v4; // rcx
v2 = *(_QWORD *)(a1 + 424);
if ( *(_DWORD *)(a1 + 440) == 10 )
{
*(_DWORD *)(a1 + 452) = 1117782016;
TableView::reloadData(v2);
*(_DWORD *)(*(_QWORD *)(a1 + 424) + 496LL) = 1084227584;
}
else
{
*(_DWORD *)(a1 + 452) = 1109393408;
TableView::reloadData(v2);
*(_DWORD *)(*(_QWORD *)(a1 + 424) + 496LL) = 1106247680;
}
v3 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 432));
v4 = *(_QWORD *)(a1 + 424);
if ( v3 == 1 )
return CCScrollLayerExt::moveToTopWithOffset(v4);
else
return CCScrollLayerExt::moveToTop(v4);
}