//
// BoomListLayer::init from 0x6b64e0 to 0x6b6864 (900 bytes)
//
// 2 xrefs:
// > BoomListLayer::create @ 0x6b6900
// > ??> @ 0xf55a8
//
// 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:52 +0000
//
__int64 __fastcall BoomListLayer::init(BoomListLayer *this, BoomListView *a2, cocos2d::CCLabelBMFont *a3)
{
unsigned __int8 v6; // w0
const char *v7; // x1
unsigned int v8; // w25
__int64 v9; // x22
void (__fastcall *v10)(__int64, char *); // x23
const char *v11; // x1
__int64 v12; // x24
void (__fastcall *v13)(__int64, char *); // x22
void (__fastcall *v14)(__int64, char *); // x22
const char *v15; // x1
float *v16; // x23
const char *v17; // x1
cocos2d::CCSprite *v18; // x22
float *v19; // x0
void (__fastcall *v20)(float *); // x1
void (__fastcall *v21)(cocos2d::CCSprite *); // x23
const char *v22; // x1
__int64 v23; // x22
void (__fastcall *v24)(__int64, char *); // x23
float *v25; // x0
const char *v26; // x2
__int64 v27; // x23
__int64 v28; // x0
__int64 (__fastcall *v29)(__int64); // x1
void (__fastcall *v30)(__int64, __int64 *); // x22
__int64 v31; // x24
void (__fastcall *v33)(float *, char *); // [xsp+88h] [xbp+88h]
void (__fastcall *v34)(cocos2d::CCSprite *, char *); // [xsp+88h] [xbp+88h]
void (__fastcall *v35)(cocos2d::CCSprite *, char *); // [xsp+88h] [xbp+88h]
__int64 v36; // [xsp+98h] [xbp+98h] BYREF
char v37; // [xsp+A0h] [xbp+A0h] BYREF
_BYTE v38[7]; // [xsp+A1h] [xbp+A1h] BYREF
v37 = -95;
qmemcpy(v38, "X,", 2);
v38[2] = -1;
v6 = cocos2d::CCLayerColor::initWithColor(this, &v37, 300.0, 280.0);
v8 = v6;
if ( v6 )
{
v9 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"blueBottomBar_001.png", v7);
v10 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v9 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, 150.0, -10.0);
v10(v9, &v37);
(*(void (__fastcall **)(BoomListLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v9, 10);
v12 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"highscore_hr_top_001.png", v11);
v13 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v12 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, 150.0, 280.0);
v13(v12, &v37);
v14 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v12 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, 0.5, 1.0);
v14(v12, &v37);
(*(void (__fastcall **)(BoomListLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v12, 10);
v16 = (float *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"highscore_hr_side_001.png", v15);
v33 = *(void (__fastcall **)(float *, char *))(*(_QWORD *)v16 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, 0.0, 0.0);
v33(v16, &v37);
(*(void (__fastcall **)(BoomListLayer *, float *, __int64))(*(_QWORD *)this + 464LL))(this, v16, 9);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v16 + 144LL))(v16, 280.0 / v16[109]);
v18 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"highscore_hr_side_001.png",
v17);
v34 = *(void (__fastcall **)(cocos2d::CCSprite *, char *))(*(_QWORD *)v18 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, 1.0, 0.0);
v34(v18, &v37);
(*(void (__fastcall **)(BoomListLayer *, cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 464LL))(this, v18, 9);
v35 = *(void (__fastcall **)(cocos2d::CCSprite *, char *))(*(_QWORD *)v18 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, 300.0, 0.0);
v35(v18, &v37);
v19 = v16;
v20 = *(void (__fastcall **)(float *))(*(_QWORD *)v16 + 152LL);
v21 = *(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v18 + 144LL);
v20(v19);
v21(v18);
cocos2d::CCSprite::setFlipX(v18, 1);
v23 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"fullTabBG_001.png", v22);
(*(void (__fastcall **)(BoomListLayer *, __int64))(*(_QWORD *)this + 456LL))(this, v23);
v24 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v23 + 184LL);
v25 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 192LL))(v12);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, *v25, 293.0);
v24(v23, &v37);
v27 = cocos2d::CCLabelBMFont::create(a3, "goldFont.fnt", v26);
(*(void (__fastcall **)(BoomListLayer *, __int64))(*(_QWORD *)this + 456LL))(this, v27);
v28 = v23;
v29 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v23 + 192LL);
v30 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v27 + 184LL);
v31 = v29(v28);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v37, 0.0, -1.0);
cocos2d::CCPoint::operator+(&v36, v31);
v30(v27, &v36);
(*(void (__fastcall **)(BoomListLayer *, BoomListView *, __int64))(*(_QWORD *)this + 464LL))(this, a2, 6);
}
return v8;
}