// // BoomListLayer::init from 0x2f5e3c to 0x2f6058 (540 bytes) // // 1 xrefs: // > BoomListLayer::create @ 0x2f60f2 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool BoomListLayer::init(BoomListLayer *a1, BoomListView *a2, const char *a3) { _BOOL4 v5; // r0 bool v6; // r9 cocos2d::CCSprite *v7; // r6 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r7 cocos2d::CCSprite *v9; // r8 void (__fastcall *v10)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r6 void (__fastcall *setAnchorPoint)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r6 cocos2d::CCSprite *v12; // r7 void (__fastcall *v13)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r6 cocos2d::CCSprite *v14; // r6 int v15; // r0 cocos2d::CCSprite *v16; // r6 void (__fastcall *v17)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r7 float *v18; // r0 cocos2d::CCLabelBMFont *v19; // r7 void (__fastcall *v20)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 int v21; // r11 cocos2d::CCSprite *v23; // [sp+0h] [bp-24h] cocos2d::CCSprite *v24; // [sp+0h] [bp-24h] cocos2d::CCSprite *setScaleY; // [sp+0h] [bp-24h] cocos2d::CCPoint v26; // [sp+Ch] [bp-18h] BYREF cocos2d::CCPoint v27; // [sp+14h] [bp-10h] BYREF v27.x = -2.2909e38; v5 = cocos2d::CCLayerColor::initWithColor(a1, (const cocos2d::ccColor4B *)&v27, 300.0, 280.0); v6 = v5; if ( v5 ) { v7 = cocos2d::CCSprite::createWithSpriteFrameName("blueBottomBar_001.png"); setPosition = v7->setPosition; cocos2d::CCPoint::CCPoint(&v27, 150.0, -10.0); setPosition(v7, &v27); a1->addChild_0(a1, v7, 10); v9 = cocos2d::CCSprite::createWithSpriteFrameName("highscore_hr_top_001.png"); v10 = v9->setPosition; cocos2d::CCPoint::CCPoint(&v27, 150.0, 280.0); v10(v9, &v27); setAnchorPoint = v9->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v27, 0.5, 1.0); setAnchorPoint(v9, &v27); a1->addChild_0(a1, v9, 10); v12 = cocos2d::CCSprite::createWithSpriteFrameName("highscore_hr_side_001.png"); v13 = v12->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v27, 0.0, 0.0); v13(v12, &v27); a1->addChild_0(a1, v12, 9); ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v12->setScaleY)(v12, 280.0 / v12->m_obRect.size.height); v14 = cocos2d::CCSprite::createWithSpriteFrameName("highscore_hr_side_001.png"); v23 = (cocos2d::CCSprite *)v14->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v27, 1.0, 0.0); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCPoint *))v23)(v14, &v27); a1->addChild_0(a1, v14, 9); v24 = (cocos2d::CCSprite *)v14->setPosition; cocos2d::CCPoint::CCPoint(&v27, 300.0, 0.0); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCPoint *))v24)(v14, &v27); setScaleY = (cocos2d::CCSprite *)v14->setScaleY; v15 = ((int (__fastcall *)(cocos2d::CCSprite *))v12->getScaleY)(v12); ((void (__fastcall *)(cocos2d::CCSprite *, int))setScaleY)(v14, v15); cocos2d::CCSprite::setFlipX(v14, 1); v16 = cocos2d::CCSprite::createWithSpriteFrameName("fullTabBG_001.png"); a1->addChild(a1, v16); v17 = v16->setPosition; v18 = (float *)v9->getPosition(v9); cocos2d::CCPoint::CCPoint(&v27, *v18, 293.0); v17(v16, &v27); v19 = cocos2d::CCLabelBMFont::create(); a1->addChild(a1, v19); v20 = v19->setPosition; v21 = (int)v16->getPosition(v16); cocos2d::CCPoint::CCPoint(&v27, 0.0, -1.0); cocos2d::CCPoint::operator+(&v26, v21, &v27); v20(v19, &v26); a1->addChild_0(a1, a2, 6); } return v6; }