//
// BoomListView::init from 0x100267da8 to 0x100267f30 (392 bytes)
//
// 1 xrefs:
// > CustomListView::create @ 0x1001254e4
//
// 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 11:01:42 +0000
//
bool __fastcall BoomListView::init(__int64 a1, __int64 a2, __int64 a3, int a4, int a5, float a6, float a7, float a8)
{
_BOOL8 v16; // x0
_BOOL8 v17; // x19
__int64 v18; // x0
float v20[4]; // [xsp+8h] [xbp-68h] BYREF
float v21[2]; // [xsp+18h] [xbp-58h] BYREF
v16 = cocos2d::CCLayer::init((_WORD *)a1);
v17 = v16;
if ( v16 )
{
if ( !a2 )
a2 = sub_1002E736C(v16);
*(_QWORD *)(a1 + 432) = a2;
cocos2d::CCObject::retain(a2);
*(float *)(a1 + 444) = a6;
*(float *)(a1 + 448) = a7;
*(_DWORD *)(a1 + 456) = a4;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1000LL))(a1, 1);
sub_1000262C4(v21, *(float *)(a1 + 448), *(float *)(a1 + 444));
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 320LL))(a1, v21);
sub_1000262CC(v20, 0.0, 0.0, v21[0], v21[1]);
v18 = TableView::create(a1 + 408, a1 + 416, a3, v20);
*(_QWORD *)(a1 + 424) = v18;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v18);
*(_DWORD *)(a1 + 440) = a5;
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1152LL))(a1, a8);
if ( (float)(*(float *)(a1 + 452) * (float)(unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 432))) < *(float *)(a1 + 444) )
{
*(_BYTE *)(a1 + 460) = 1;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 424) + 1000LL))(*(_QWORD *)(a1 + 424), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 424) + 1104LL))(*(_QWORD *)(a1 + 424), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 424) + 1088LL))(*(_QWORD *)(a1 + 424), 0);
}
}
return v17;
}