//
// BoomListView::init from 0x3c08dc to 0x3c09ce (242 bytes)
//
// 2 xrefs:
// > BoomListView::create @ 0x3c0a6e
// > CustomListView::create @ 0x424b0a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:30 +0000
//
cocos2d::CCArray *__fastcall BoomListView::init(
int *a1,
cocos2d::CCObject *a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8)
{
cocos2d::CCArray *v12; // r0
cocos2d::CCArray *v13; // r7
int v14; // r0
int v15; // r3
float v17[2]; // [sp+Ch] [bp-20h] BYREF
_BYTE v18[16]; // [sp+14h] [bp-18h] BYREF
v12 = (cocos2d::CCArray *)cocos2d::CCLayer::init((cocos2d::CCLayer *)a1);
v13 = v12;
if ( v12 )
{
if ( !a2 )
a2 = (cocos2d::CCObject *)cocos2d::CCArray::create(v12);
a1[82] = (int)a2;
cocos2d::CCObject::retain(a2);
a1[84] = a4;
a1[85] = a5;
a1[87] = a6;
(*(void (__fastcall **)(int *, int))(*a1 + 500))(a1, 1);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v17, *((float *)a1 + 85), *((float *)a1 + 84));
(*(void (__fastcall **)(int *, float *))(*a1 + 160))(a1, v17);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v18, 0.0, 0.0, v17[0], v17[1]);
v14 = TableView::create((int)(a1 + 79), (int)(a1 + 80), a3, (cocos2d::CCRect *)v18);
v15 = *a1;
a1[81] = v14;
(*(void (__fastcall **)(int *, int))(v15 + 228))(a1, v14);
a1[83] = a7;
(*(void (__fastcall **)(int *, int))(*a1 + 576))(a1, a8);
if ( (float)((float)(unsigned int)cocos2d::CCArray::count((cocos2d::CCArray *)a1[82]) * *((float *)a1 + 86)) < *((float *)a1 + 84) )
BoomListView::lockList((BoomListView *)a1, 1);
}
return v13;
}