// // MapPackCell::onClick from 0x14014e2c0 to 0x14014e3e3 (291 bytes) // // 3 xrefs: // > MapPackCell::loadFromMapPack @ 0x14014d9e0 // > @ 0x14091769c // > @ 0x1409176a8 // // 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:27:16 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall MapPackCell::onClick(__int64 a1) { __int64 v2; // rdx _QWORD *v3; // rdx size_t v4; // r8 __int64 v5; // rax struct cocos2d::CCScene *v6; // rax struct cocos2d::CCScene *v7; // rbx __int64 v8; // rcx cocos2d::CCDirector *v9; // rax void *v10; // [rsp+20h] [rbp-58h] __int128 v11; // [rsp+28h] [rbp-50h] BYREF __int64 v12; // [rsp+38h] [rbp-40h] __int64 v13; // [rsp+40h] [rbp-38h] _QWORD v14[4]; // [rsp+48h] [rbp-30h] BYREF v2 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v10 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v10); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v2 = *(_QWORD *)&qword_14090BFB0; } *(_DWORD *)(v2 + 1612) = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 328LL); sub_14003F4F0((__int64)v14, *(_QWORD *)(a1 + 560) + 376LL); v3 = v14; if ( v14[3] > 0xFu ) v3 = (_QWORD *)v14[0]; v11 = 0; v12 = 0; v13 = 0; v4 = -1; do ++v4; while ( *((_BYTE *)v3 + v4) ); sub_14003D230(&v11, v3, v4); v5 = GJSearchObject::create_1(10, &v11); v6 = (struct cocos2d::CCScene *)LevelBrowserLayer::scene(v5); v7 = cocos2d::CCTransitionFade::create(0.5, v6); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::pushScene(v9, v7); sub_14003D310((__int64)v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source