//
// BoomListView::init from 0x688354 to 0x6884fc (424 bytes)
//
// 3 xrefs:
// > BoomListView::create @ 0x6885d0
// > CustomListView::create @ 0x7368d4
// > ??> @ 0xd6408
//
// This function is hookable on this platform (idp: arm, 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 12:50:31 +0000
//
__int64 __fastcall BoomListView::init(
__int64 *a1,
cocos2d::CCObject *a2,
int a3,
int a4,
int a5,
float a6,
float a7,
float a8)
{
cocos2d::CCArray *v14; // x0
unsigned int v15; // w23
cocos2d::CCObject *v16; // x1
int v17; // w2
__int64 v18; // x3
__int64 v19; // x0
int v22; // [xsp+60h] [xbp+60h]
float v24[2]; // [xsp+70h] [xbp+70h] BYREF
_BYTE v25[16]; // [xsp+78h] [xbp+78h] BYREF
v14 = (cocos2d::CCArray *)(unsigned __int8)cocos2d::CCLayer::init((cocos2d::CCLayer *)a1);
v15 = (unsigned __int8)v14;
if ( (_BYTE)v14 )
{
v16 = a2;
v17 = a3;
if ( !a2 )
{
v16 = (cocos2d::CCObject *)cocos2d::CCArray::create(v14);
v17 = a3;
}
a1[54] = (__int64)v16;
v22 = v17;
cocos2d::CCObject::retain(v16);
*((_DWORD *)a1 + 114) = a4;
v18 = *a1;
*((float *)a1 + 111) = a6;
*((float *)a1 + 112) = a7;
(*(void (__fastcall **)(__int64 *, __int64))(v18 + 1000))(a1, 1);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v24, *((float *)a1 + 112), *((float *)a1 + 111));
(*(void (__fastcall **)(__int64 *, float *))(*a1 + 320))(a1, v24);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v25, 0.0, 0.0, v24[0], v24[1]);
v19 = TableView::create((int)a1 + 408, (int)a1 + 416, v22, (cocos2d::CCRect *)v25);
a1[53] = v19;
(*(void (__fastcall **)(__int64 *, __int64))(*a1 + 456))(a1, v19);
*((_DWORD *)a1 + 110) = a5;
(*(void (__fastcall **)(__int64 *, float))(*a1 + 1152))(a1, a8);
if ( (float)((float)(unsigned int)cocos2d::CCArray::count((cocos2d::CCArray *)a1[54]) * *((float *)a1 + 113)) < *((float *)a1 + 111) )
BoomListView::lockList((BoomListView *)a1, 1u);
}
return v15;
}