//
// BoomListView::init from 0x14003f760 to 0x14003fad8 (888 bytes)
//
// 2 xrefs:
// > CustomListView::create @ 0x1401449f1
// > ??> @ 0x14090f338
//
// 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:28 +0000
//
// Hidden C++ exception states: #wind=2
bool __fastcall BoomListView::init(__int64 a1, cocos2d::CCObject *a2, __int64 a3, float a4, int a5, int a6, int a7)
{
bool result; // al
__int64 v11; // rcx
__int64 v12; // rdx
const struct cocos2d::CCRect *v13; // rbx
char *v14; // r14
const struct cocos2d::CCRect *v15; // rax
__int64 v16; // rax
__int64 v17; // rcx
cocos2d::CCObject *v18; // rax
__int64 v19; // rcx
cocos2d::CCObject *v20; // rax
__int64 v21; // rcx
cocos2d::CCObject *v22; // rax
__int64 v23; // rbx
__int64 v24; // rax
float v25[2]; // [rsp+30h] [rbp-68h] BYREF
char *v26; // [rsp+38h] [rbp-60h] BYREF
char v27[16]; // [rsp+40h] [rbp-58h] BYREF
char v28[16]; // [rsp+50h] [rbp-48h] BYREF
char v29[16]; // [rsp+60h] [rbp-38h] BYREF
result = cocos2d::CCLayer::init((cocos2d::CCLayer *)a1);
if ( result )
{
if ( !a2 )
a2 = (cocos2d::CCObject *)cocos2d::CCArray::create(v11);
*(_QWORD *)(a1 + 432) = a2;
cocos2d::CCObject::retain(a2);
*(float *)(a1 + 444) = a4;
*(_DWORD *)(a1 + 448) = a5;
*(_DWORD *)(a1 + 456) = 0;
LOBYTE(v12) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 920LL))(a1, v12);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v25, *(float *)(a1 + 448), *(float *)(a1 + 444));
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 312LL))(a1, v25);
v13 = (const struct cocos2d::CCRect *)cocos2d::CCRect::CCRect((cocos2d::CCRect *)v27, 0.0, 0.0, v25[0], v25[1]);
v14 = (char *)operator new(0x298u);
v26 = v14;
v15 = (const struct cocos2d::CCRect *)cocos2d::CCRect::CCRect((cocos2d::CCRect *)v28, v13);
v16 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v29, v15);
CCScrollLayerExt::CCScrollLayerExt(v14, v16);
*(_QWORD *)v14 = &TableView::`vftable';
*((_QWORD *)v14 + 40) = &TableView::`vftable';
*((_QWORD *)v14 + 41) = &TableView::`vftable';
*((_QWORD *)v14 + 42) = &TableView::`vftable';
*((_QWORD *)v14 + 43) = &TableView::`vftable';
*((_QWORD *)v14 + 44) = &TableView::`vftable';
*((_QWORD *)v14 + 51) = &TableView::`vftable';
*((_QWORD *)v14 + 65) = &TableView::`vftable';
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v14 + 544));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v14 + 552));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v14 + 560));
*((_QWORD *)v14 + 76) = 0;
*((_QWORD *)v14 + 77) = 0;
*((_QWORD *)v14 + 78) = 0;
v14[632] = 1;
cocos2d::CCLayer::setTouchEnabled((cocos2d::CCLayer *)v14, 1);
cocos2d::CCLayer::setMouseEnabled((cocos2d::CCLayer *)v14, 1);
*(_WORD *)(v14 + 489) = 0;
v14[491] = 1;
*((_QWORD *)v14 + 80) = 0;
*((_QWORD *)v14 + 59) = v14 + 520;
v14[528] = 0;
v18 = (cocos2d::CCObject *)cocos2d::CCArray::create(v17);
*((_QWORD *)v14 + 74) = v18;
cocos2d::CCObject::retain(v18);
v20 = (cocos2d::CCObject *)cocos2d::CCArray::create(v19);
*((_QWORD *)v14 + 73) = v20;
cocos2d::CCObject::retain(v20);
v22 = (cocos2d::CCObject *)cocos2d::CCArray::create(v21);
*((_QWORD *)v14 + 75) = v22;
cocos2d::CCObject::retain(v22);
*((_DWORD *)v14 + 163) = 0;
*((_WORD *)v14 + 328) = 0;
*((_QWORD *)v14 + 76) = a1 + 408;
*((_QWORD *)v14 + 77) = a1 + 416;
*((_QWORD *)v14 + 78) = a3;
v23 = *(_QWORD *)v14;
v24 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v26, 0.0, 0.0);
(*(void (__fastcall **)(char *, __int64))(v23 + 184))(v14, v24);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v14);
*(_QWORD *)(a1 + 424) = v14;
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 464LL))(a1, v14);
*(_DWORD *)(a1 + 440) = a7;
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1032LL))(a1);
if ( *(float *)(a1 + 444) > (float)((float)(int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 432))
* *(float *)(a1 + 452)) )
{
*(_BYTE *)(a1 + 460) = 1;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 424) + 920LL))(*(_QWORD *)(a1 + 424), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 424) + 1024LL))(*(_QWORD *)(a1 + 424), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 424) + 1008LL))(*(_QWORD *)(a1 + 424), 0);
}
return 1;
}
return result;
}