// // LevelCell::loadFromLevel from 0x7482e8 to 0x7484e0 (504 bytes) // // 5 xrefs: // > LevelCell::playRecallUnlock @ 0x74858c // > CustomListView::loadCell @ 0x74d540 // > DailyLevelNode::init @ 0xa6e170 // > LevelBadgePopup::buildCell @ 0xc66c28 // > @ 0x59248 // // 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 12:52:49 +0000 // __int64 __fastcall LevelCell::loadFromLevel(LevelCell *this, GJGameLevel *a2) { cocos2d::CCMenuItem *v4; // x1 __int64 v5; // x0 const char *v6; // x1 __int64 v8; // x27 const char *v9; // x1 __int64 v10; // x26 CCMenuItemToggler *v11; // x0 __int64 v12; // x26 cocos2d::CCNode *v13; // x27 cocos2d::CCNode *v14; // x28 void (__fastcall *v15)(__int64, __int64 *); // x25 _BYTE v16[8]; // [xsp+88h] [xbp+88h] BYREF __int64 v17; // [xsp+90h] [xbp+90h] BYREF __int64 v18; // [xsp+98h] [xbp+98h] BYREF __int64 v19; // [xsp+A0h] [xbp+A0h] BYREF (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 584LL))(*((_QWORD *)this + 67), 1); *((_QWORD *)this + 72) = 0; v5 = cocos2d::CCMenu::create(nullptr, v4); *((_QWORD *)this + 74) = v5; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 67) + 464LL))(*((_QWORD *)this + 67), v5, 3); *((_QWORD *)this + 70) = a2; if ( *((_DWORD *)a2 + 285) == 2 ) LevelCell::loadLocalLevelCell(this); else LevelCell::loadCustomLevelCell(this); if ( *(_BYTE *)(*((_QWORD *)this + 70) + 772LL) && !*((_BYTE *)this + 600) ) { v8 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOn_001.png", v6); v10 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_checkOff_001.png", v9); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 0.6); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v10 + 160LL))(v10, 0.6); v11 = (CCMenuItemToggler *)CCMenuItemToggler::create(v10, v8, (__int64)this, (__int64)LevelCell::onToggle, 0); *((_QWORD *)this + 72) = v11; CCMenuItemToggler::toggle(v11, *((_BYTE *)a2 + 771)); CCMenuItemToggler::setSizeMult(*((CCMenuItemToggler **)this + 72), 1.2); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 74) + 456LL))( *((_QWORD *)this + 74), *((_QWORD *)this + 72)); v12 = *((_QWORD *)this + 72); v13 = *((cocos2d::CCNode **)this + 74); v14 = *((cocos2d::CCNode **)this + 67); v15 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v12 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, -50.0, 0.0); cocos2d::CCPoint::operator+(&v17, (char *)this + 584); cocos2d::CCNode::convertToWorldSpace(&v18, v14, (const cocos2d::CCPoint *)&v17); cocos2d::CCNode::convertToNodeSpace(&v19, v13, (const cocos2d::CCPoint *)&v18); v15(v12, &v19); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source