// // MapPackCell::onClick from 0x42ac38 to 0x42acea (178 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:09 +0000 // int __fastcall MapPackCell::onClick(MapPackCell *this, cocos2d::CCObject *a2) { const char *v2; // r7 cocos2d::CCDirector *v4; // r0 cocos2d::CCDirector *v5; // r8 size_t v6; // r0 LevelBrowserLayer *v7; // r0 GJSearchObject *v8; // r1 float v9; // r0 cocos2d::CCScene *v10; // r2 cocos2d::CCScene *v11; // r0 int v13[3]; // [sp+4h] [bp-1Ch] BYREF int v14[3]; // [sp+10h] [bp-10h] BYREF v4 = (cocos2d::CCDirector *)GameLevelManager::sharedState(this); *((_DWORD *)v4 + 238) = *(_DWORD *)(*((_DWORD *)this + 105) + 268); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); std::string::basic_string(v13, *((_DWORD *)this + 105) + 296); if ( (v13[0] & 1) == 0 ) v2 = (char *)v13 + 1; v14[0] = 0; if ( (v13[0] & 1) != 0 ) v2 = (const char *)v13[2]; v14[1] = 0; v14[2] = 0; v6 = strlen(v2); std::string::__init(v14, v2, v6); v7 = (LevelBrowserLayer *)GJSearchObject::create(10, v14); v9 = COERCE_FLOAT(LevelBrowserLayer::scene(v7, v8)); v11 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v9, v10); cocos2d::CCDirector::pushScene(v5, v11); std::string::~string((int)v14); return std::string::~string((int)v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source