// // LevelBadgePopup::buildCell from 0x1400e6510 to 0x1400e6886 (886 bytes) // // 2 xrefs: // > LevelBadgePopup::loadLevelsFinished @ 0x1400e6251 // > @ 0x140914ccc // // 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 11:26:33 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall LevelBadgePopup::buildCell(__int64 a1, __int64 a2) { __int64 v4; // rax __int64 v5; // rcx double CellHeight; // xmm0_8 float v7; // xmm6_4 float v8; // xmm7_4 float v9; // xmm8_4 __int64 v10; // rax __int64 *v11; // rdi __int64 v12; // rbx float v13; // xmm9_4 __int64 v14; // rax __int64 v15; // rbx __int64 v16; // rax __int64 v17; // rcx __int64 v18; // rax cocos2d::CCTouchDispatcher *v19; // rax _QWORD *v20; // rdi void (__fastcall ***v21)(_QWORD, _QWORD **); // rcx __int64 v22; // rdx __int64 v23; // rbx __int64 v24; // rax __int64 v25; // rax _BYTE v27[64]; // [rsp+30h] [rbp-78h] BYREF _QWORD *v28; // [rsp+B0h] [rbp+8h] BYREF float v29; // [rsp+C0h] [rbp+18h] BYREF float v30; // [rsp+C4h] [rbp+1Ch] v4 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v4, &v29); v5 = 4; if ( *(_BYTE *)(a1 + 676) ) v5 = 25; CellHeight = CustomListView::getCellHeight(v5); v7 = *(float *)&CellHeight; v8 = v29 * 0.5; v9 = v30 * 0.5; v10 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v27, 0.0, 0.0, 80.0, 80.0); v11 = (__int64 *)cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v10); v12 = *v11; v13 = *(float *)&CellHeight + 14.0; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v28, 370.0, *(float *)&CellHeight + 14.0); (*(void (__fastcall **)(__int64 *, __int64))(v12 + 312))(v11, v14); v15 = *v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, v8, v9); (*(void (__fastcall **)(__int64 *, __int64))(v15 + 184))(v11, v16); (*(void (__fastcall **)(_QWORD, __int64 *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v11, 1); v18 = cocos2d::CCDirector::sharedDirector(v17); v19 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v18 + 144LL))(v18); cocos2d::CCTouchDispatcher::registerForcePrio(v19, (struct cocos2d::CCObject *)a1, 2, 0); if ( *(_BYTE *)(a1 + 676) ) { v20 = operator new(0x240u); v28 = v20; TableViewCell::TableViewCell((__int64)v20, " ", 356.0, v7); *v20 = &LevelListCell::`vftable'; v20[40] = &LevelListCell::`vftable'; v20[41] = &LevelListCell::`vftable'; v20[42] = &LevelListCell::`vftable'; v20[43] = &LevelListCell::`vftable'; v20[44] = &LevelListCell::`vftable'; *((_WORD *)v20 + 284) = 0; v20[70] = 0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v20); LevelListCell::loadFromList(v20, a2); } else { v20 = (_QWORD *)sub_140148900(); LevelCell::loadFromLevel(v20, a2); } LOWORD(v28) = 22689; v21 = (void (__fastcall ***)(_QWORD, _QWORD **))(v20[67] + 408LL); LOWORD(v28) = 22689; BYTE2(v28) = 44; (**v21)(v21, &v28); LOBYTE(v22) = -1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(v20[67] + 408LL) + 40LL))(v20[67] + 408LL, v22); v23 = *v20; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, v8 - 178.0, v9 - (float)(v7 * 0.5)); (*(void (__fastcall **)(_QWORD *, __int64))(v23 + 184))(v20, v24); (*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v20, 2); v25 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v27, v8 - 185.0, v9 - (float)(v13 * 0.5), 370.0, v13); return cocos2d::CCRect::operator=(a1 + 680, v25); }
GD Web Decomp Icon

GD Web Decomp

Raw Source