// // LevelCell::onClick from 0x73b094 to 0x73b2d8 (580 bytes) // // 8 xrefs: // > @ 0x100450 // > LevelCell::loadLocalLevelCell @ 0x73cc70 // > LevelCell::loadCustomLevelCell @ 0x745be4 // > LevelCell::loadCustomLevelCell @ 0x747d40 // > LevelCell::loadCustomLevelCell @ 0x747e18 // > LevelCell::loadCustomLevelCell @ 0x747ef8 // > LevelCell::loadCustomLevelCell @ 0x747fbc // > @ 0x1547d28 // // 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:41 +0000 // __int64 __fastcall LevelCell::onClick(LevelCell *this, cocos2d::CCObject *a2) { void (__fastcall ***v3)(_QWORD, LevelCell *, __int64, __int64, _QWORD); // x0 __int64 v5; // x20 int v6; // w0 unsigned int v7; // w0 void (__fastcall ***v8)(_QWORD, LevelCell *, _QWORD); // x0 int v9; // w0 cocos2d::CCObject *v10; // x1 int v11; // w0 _BOOL8 v12; // x0 GameLevelManager *v13; // x0 GameLevelManager *v14; // x21 GJGameLevel *v15; // x0 cocos2d::CCObject *v16; // [xsp+38h] [xbp+38h] cocos2d::CCObject *v17; // [xsp+38h] [xbp+38h] __int64 v18[2]; // [xsp+40h] [xbp+40h] BYREF void *v19; // [xsp+50h] [xbp+50h] if ( *((_BYTE *)this + 568) ) { v3 = *(void (__fastcall ****)(_QWORD, LevelCell *, __int64, __int64, _QWORD))(*((_QWORD *)this + 52) + 632LL); if ( v3 ) (**v3)(v3, this, 37, 1, 0); return _stack_chk_guard; } if ( *((_DWORD *)this + 136) == 29 ) { v16 = a2; v6 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); a2 = v16; if ( v6 ) { v7 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v16 + 64LL))(v16) - 1; if ( v7 > 3 ) return _stack_chk_guard; if ( !LODWORD(flt_113C040[v7 + 40]) ) return _stack_chk_guard; v8 = *(void (__fastcall ****)(_QWORD, LevelCell *, _QWORD))(*((_QWORD *)this + 52) + 632LL); if ( !v8 ) return _stack_chk_guard; LABEL_14: (**v8)(v8, this, *((unsigned int *)this + 136)); return _stack_chk_guard; } } if ( *(int *)(*((_QWORD *)this + 70) + 792LL) <= 22 ) { v17 = a2; v9 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v10 = v17; if ( v9 != 5 ) { v11 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v17 + 64LL))(v17); v10 = v17; if ( v11 != 6 ) { v12 = LevelCell::inRecallMode(this); if ( v12 ) { v14 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v12); LevelCell::recallLevel((GJGameLevel **)this); GameLevelManager::gotoLevelPage(v14, v15); } else { v13 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v12); GameLevelManager::gotoLevelPage(v13, *((GJGameLevel **)this + 70)); } return _stack_chk_guard; } } (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v10 + 64LL))(v10); v8 = *(void (__fastcall ****)(_QWORD, LevelCell *, _QWORD))(*((_QWORD *)this + 52) + 632LL); if ( !v8 ) return _stack_chk_guard; goto LABEL_14; } v18[0] = 0; v18[1] = 0; v19 = nullptr; std::string::__init(v18, "Please update your application to download this level.", 0x36u); v5 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Unavailable", (char *)v18, (ButtonSprite *)"Close", nullptr); if ( (v18[0] & 1) != 0 ) operator delete(v19); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source