//
// BoomListLayer::init from 0x3db5fc to 0x3db818 (540 bytes)
//
// 1 xrefs:
// > BoomListLayer::create @ 0x3db8b2
//
// 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:47 +0000
//
int __fastcall BoomListLayer::init(BoomListLayer *this, BoomListView *a2, cocos2d::CCLabelBMFont *a3)
{
const char *v6; // r1
int v7; // r9
int v8; // r6
void (__fastcall *v9)(int, char *); // r7
const char *v10; // r1
int v11; // r8
void (__fastcall *v12)(int, char *); // r6
void (__fastcall *v13)(int, char *); // r6
const char *v14; // r1
float *v15; // r7
void (__fastcall *v16)(float *, char *); // r6
const char *v17; // r1
cocos2d::CCSprite *v18; // r6
int v19; // r0
const char *v20; // r1
int v21; // r6
void (__fastcall *v22)(int, char *); // r7
float *v23; // r0
const char *v24; // r2
int v25; // r7
void (__fastcall *v26)(int, _BYTE *); // r8
int v27; // r11
cocos2d::CCSprite *v29; // [sp+0h] [bp-24h]
cocos2d::CCSprite *v30; // [sp+0h] [bp-24h]
cocos2d::CCSprite *v31; // [sp+0h] [bp-24h]
_BYTE v32[8]; // [sp+Ch] [bp-18h] BYREF
char v33; // [sp+14h] [bp-10h] BYREF
_BYTE v34[7]; // [sp+15h] [bp-Fh] BYREF
v33 = -95;
qmemcpy(v34, "X,", 2);
v34[2] = -1;
v7 = cocos2d::CCLayerColor::initWithColor(this, &v33, 1133903872, 1133248512);
if ( v7 )
{
v8 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"blueBottomBar_001.png", v6);
v9 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v8 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, 150.0, -10.0);
v9(v8, &v33);
(*(void (__fastcall **)(BoomListLayer *, int, int))(*(_DWORD *)this + 232))(this, v8, 10);
v11 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"highscore_hr_top_001.png", v10);
v12 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v11 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, 150.0, 280.0);
v12(v11, &v33);
v13 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v11 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, 0.5, 1.0);
v13(v11, &v33);
(*(void (__fastcall **)(BoomListLayer *, int, int))(*(_DWORD *)this + 232))(this, v11, 10);
v15 = (float *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"highscore_hr_side_001.png", v14);
v16 = *(void (__fastcall **)(float *, char *))(*(_DWORD *)v15 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, 0.0, 0.0);
v16(v15, &v33);
(*(void (__fastcall **)(BoomListLayer *, float *, int))(*(_DWORD *)this + 232))(this, v15, 9);
(*(void (__fastcall **)(float *, _DWORD))(*(_DWORD *)v15 + 72))(v15, 280.0 / v15[87]);
v18 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"highscore_hr_side_001.png",
v17);
v29 = *(cocos2d::CCSprite **)(*(_DWORD *)v18 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, 1.0, 0.0);
((void (__fastcall *)(cocos2d::CCSprite *, char *))v29)(v18, &v33);
(*(void (__fastcall **)(BoomListLayer *, cocos2d::CCSprite *, int))(*(_DWORD *)this + 232))(this, v18, 9);
v30 = *(cocos2d::CCSprite **)(*(_DWORD *)v18 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, 300.0, 0.0);
((void (__fastcall *)(cocos2d::CCSprite *, char *))v30)(v18, &v33);
v31 = *(cocos2d::CCSprite **)(*(_DWORD *)v18 + 72);
v19 = (*(int (__fastcall **)(float *))(*(_DWORD *)v15 + 76))(v15);
((void (__fastcall *)(cocos2d::CCSprite *, int))v31)(v18, v19);
cocos2d::CCSprite::setFlipX(v18, 1);
v21 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"fullTabBG_001.png", v20);
(*(void (__fastcall **)(BoomListLayer *, int))(*(_DWORD *)this + 228))(this, v21);
v22 = *(void (__fastcall **)(int, char *))(*(_DWORD *)v21 + 92);
v23 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v11 + 96))(v11);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, *v23, 293.0);
v22(v21, &v33);
v25 = cocos2d::CCLabelBMFont::create(a3, "goldFont.fnt", v24);
(*(void (__fastcall **)(BoomListLayer *, int))(*(_DWORD *)this + 228))(this, v25);
v26 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v25 + 92);
v27 = (*(int (__fastcall **)(int))(*(_DWORD *)v21 + 96))(v21);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, 0.0, -1.0);
cocos2d::CCPoint::operator+(v32, v27, &v33);
v26(v25, v32);
(*(void (__fastcall **)(BoomListLayer *, BoomListView *, int))(*(_DWORD *)this + 232))(this, a2, 6);
}
return v7;
}