// // LevelBadgePopup::buildCell from 0xc66ad8 to 0xc66d00 (552 bytes) // // 2 xrefs: // > LevelBadgePopup::loadLevelsFinished @ 0xc713f0 // > @ 0xf6628 // // 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 13:05:25 +0000 // __int64 __fastcall LevelBadgePopup::buildCell(LevelBadgePopup *this, cocos2d::CCObject *a2) { cocos2d::CCDirector *v4; // x0 int v5; // w0 float CellHeight; // s11 float v7; // s9 float v8; // s10 __int64 v9; // x21 void (__fastcall *v10)(__int64, _BYTE *); // x24 void (__fastcall *v11)(__int64, _BYTE *); // x24 cocos2d::CCDirector *v12; // x0 __int64 v13; // x0 cocos2d::CCTouchDispatcher *v14; // x0 LevelListCell *v15; // x0 LevelListCell *v16; // x21 void (__fastcall *v17)(LevelListCell *, _BYTE *); // x23 __int64 v19; // [xsp+70h] [xbp+70h] BYREF _BYTE v20[16]; // [xsp+78h] [xbp+78h] BYREF v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); cocos2d::CCDirector::getWinSize(&v19, v4); if ( *((_BYTE *)this + 676) ) v5 = 25; else v5 = 4; CellHeight = CustomListView::getCellHeight(v5); v7 = *(float *)&v19 * 0.5; v8 = *((float *)&v19 + 1) * 0.5; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v20, 0.0, 0.0, 80.0, 80.0); v9 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v20); v10 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v20, 370.0, CellHeight + 14.0); v10(v9, v20); v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v7, v8); v11(v9, v20); v12 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v9, 1); v13 = cocos2d::CCDirector::sharedDirector(v12); v14 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 160LL))(v13); cocos2d::CCTouchDispatcher::registerForcePrio(v14, this, 2, 0); v15 = (LevelListCell *)*((unsigned __int8 *)this + 676); if ( *((_BYTE *)this + 676) ) { v16 = LevelListCell::create(v15, 356.0, CellHeight); LevelListCell::loadFromList(v16, a2); LevelListCell::updateBGColor(v16, 0); } else { v16 = LevelCell::create(v15, 356.0, CellHeight); LevelCell::loadFromLevel(v16, a2); LevelCell::updateBGColor(v16, 0); } v17 = *(void (__fastcall **)(LevelListCell *, _BYTE *))(*(_QWORD *)v16 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v7 - 178.0, v8 - (float)(CellHeight * 0.5)); v17(v16, v20); (*(void (__fastcall **)(_QWORD, LevelListCell *, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v16, 2); cocos2d::CCRect::CCRect( (cocos2d::CCRect *)v20, v7 - 185.0, v8 - (float)((float)(CellHeight + 14.0) * 0.5), 370.0, CellHeight + 14.0); cocos2d::CCRect::operator=((char *)this + 680, v20); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source