// // MapPackCell::onClick from 0x73dec0 to 0x73e020 (352 bytes) // // 3 xrefs: // > @ 0x5ac88 // > MapPackCell::loadFromMapPack @ 0x73d584 // > @ 0x15421a8 // // 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:42 +0000 // __int64 __fastcall MapPackCell::onClick(MapPackCell *this, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCDirector *v4; // x22 __int64 v5; // x0 __int64 v6; // x2 __int64 v7; // x0 __int64 v8; // x1 const char *v9; // x1 size_t v10; // x0 LevelBrowserLayer *v11; // x0 GJSearchObject *v12; // x1 cocos2d::CCTransitionFade *v13; // x0 cocos2d::CCScene *v14; // x1 cocos2d::CCScene *v15; // x0 char *v17; // [xsp+38h] [xbp+38h] __int64 v18; // [xsp+48h] [xbp+48h] BYREF __int64 v19; // [xsp+50h] [xbp+50h] void *v20; // [xsp+58h] [xbp+58h] __int64 v21[2]; // [xsp+60h] [xbp+60h] BYREF void *v22; // [xsp+70h] [xbp+70h] v3 = (cocos2d::CCDirector *)GameLevelManager::sharedState(_stack_chk_guard); *((_DWORD *)v3 + 371) = *(_DWORD *)(*((_QWORD *)this + 69) + 328LL); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); v5 = *((_QWORD *)this + 69); v18 = 0; v6 = v5 + 368; v19 = 0; LOBYTE(v5) = *(_BYTE *)(v5 + 368); v20 = nullptr; if ( (v5 & 1) != 0 ) { std::string::__init(&v18, *(void **)(v6 + 16), *(_QWORD *)(v6 + 8)); } else { v7 = *(_QWORD *)v6; v8 = *(_QWORD *)(v6 + 8); v20 = *(void **)(v6 + 16); v18 = v7; v19 = v8; } v9 = (char *)&v18 + 1; if ( (v18 & 1) != 0 ) v9 = (const char *)v20; v17 = (char *)v9; v21[0] = 0; v21[1] = 0; v22 = nullptr; v10 = strlen(v9); std::string::__init(v21, v17, v10); v11 = (LevelBrowserLayer *)GJSearchObject::create(10, v21); v13 = (cocos2d::CCTransitionFade *)LevelBrowserLayer::scene(v11, v12); v15 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v13, 0.5, v14); cocos2d::CCDirector::pushScene(v4, v15); if ( (v21[0] & 1) != 0 ) operator delete(v22); if ( (v18 & 1) != 0 ) operator delete(v20); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source