// // BoomListLayer::init from 0x1004623d0 to 0x1004626b0 (736 bytes) // // 1 xrefs: // > BoomListLayer::create @ 0x100462387 // // 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 12:30:26 +0000 // __int64 __fastcall BoomListLayer::init(__int64 a1, __int64 a2, __int64 a3) { __int64 result; // rax char *v5; // rbx double v6; // xmm0_8 char *v7; // r12 double v8; // xmm0_8 float *v9; // r13 double v10; // xmm0_8 unsigned __int8 *v11; // rbx char *v12; // rbx float *v13; // rax __int64 v14; // r15 unsigned __int64 *v15; // rbx unsigned __int64 v16; // [rsp+0h] [rbp-50h] BYREF __int64 v17; // [rsp+8h] [rbp-48h] __int64 v18; // [rsp+10h] [rbp-40h] double v19; // [rsp+1Ch] [rbp-34h] BYREF unsigned __int8 v20; // [rsp+27h] [rbp-29h] LODWORD(v19) = -13870943; result = cocos2d::CCLayerColor::initWithColor_1(a1, &v19); if ( (_BYTE)result ) { v20 = result; v17 = a2; v5 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"blueBottomBar_001.png", COERCE_DOUBLE(1133903872)); sub_100278250((float *)&v19, 150.0, -10.0); (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v5 + 184LL))(v5, &v19); v6 = (*(double (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v5, 10); v7 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"highscore_hr_top_001.png", v6); sub_100278250((float *)&v19, 150.0, 280.0); (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v7 + 184LL))(v7, &v19); sub_100278250((float *)&v19, 0.5, 1.0); (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v7 + 296LL))(v7, &v19); v8 = (*(double (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 10); v9 = (float *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"highscore_hr_side_001.png", v8); v18 = a3; sub_100278250((float *)&v19, 0.0, 0.0); (*(void (__fastcall **)(float *, double *))(*(_QWORD *)v9 + 296LL))(v9, &v19); (*(void (__fastcall **)(__int64, float *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v9, 9); v10 = (*(double (__fastcall **)(float *, float))(*(_QWORD *)v9 + 144LL))(v9, 280.0 / v9[109]); v11 = (unsigned __int8 *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"highscore_hr_side_001.png", v10); sub_100278250((float *)&v19, 1.0, 0.0); (*(void (__fastcall **)(unsigned __int8 *, double *))(*(_QWORD *)v11 + 296LL))(v11, &v19); (*(void (__fastcall **)(__int64, unsigned __int8 *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v11, 9); sub_100278250((float *)&v19, 300.0, 0.0); (*(void (__fastcall **)(unsigned __int8 *, double *))(*(_QWORD *)v11 + 184LL))(v11, &v19); (*(void (__fastcall **)(float *))(*(_QWORD *)v9 + 152LL))(v9); (*(void (__fastcall **)(unsigned __int8 *))(*(_QWORD *)v11 + 144LL))(v11); cocos2d::CCSprite::setFlipX(v11, 1u); v12 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"fullTabBG_001.png", COERCE_DOUBLE(1133903872)); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 456LL))(a1, v12); v13 = (float *)(*(__int64 (__fastcall **)(char *))(*(_QWORD *)v7 + 192LL))(v7); sub_100278250((float *)&v19, *v13, 293.0); (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v12 + 184LL))(v12, &v19); v14 = cocos2d::CCLabelBMFont::create_3(a3, "goldFont.fnt"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v14); v15 = (unsigned __int64 *)(*(__int64 (__fastcall **)(char *))(*(_QWORD *)v12 + 192LL))(v12); sub_100278250((float *)&v16, 0.0, -1.0); sub_100278350(&v19, v15, &v16); (*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v14 + 184LL))(v14, &v19); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v17, 6); return v20; } return result; }