// // LevelInfoLayer::cellPerformedAction from 0x1402f99e0 to 0x1402f9b22 (322 bytes) // // 2 xrefs: // > @ 0x140586cc0 // > @ 0x1406d40e8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=1 bool LevelInfoLayer::cellPerformedAction( LevelInfoLayer *a1, TableViewCell *a2, int a3, CellAction a4, cocos2d::CCNode *a5) { GJGameLevel *v6; // rdx cocos2d::CCNode *v7; // rcx __int64 *v8; // rdi __int64 v9; // rbx __int64 v10; // rdx __int64 v11; // r8 cocos2d::CCNode *v12; // rax __int128 v14; // [rsp+40h] [rbp-48h] BYREF __int64 v15; // [rsp+50h] [rbp-38h] __int64 v16; // [rsp+58h] [rbp-30h] __int128 v17; // [rsp+60h] [rbp-28h] BYREF __int64 v18; // [rsp+70h] [rbp-18h] __int64 v19; // [rsp+78h] [rbp-10h] if ( a3 != 30 ) return 0; if ( a4 != Click ) return 0; v6 = *(GJGameLevel **)&a1->m_uAutoReleaseCount; if ( !v6 ) return 0; GJLevelList::addLevelToList( (GJLevelList *)a2[1].cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable, v6); v7 = a5; if ( a5 ) ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a5->__vftable[1].getScale)(a5, 0); v8 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v7) + 264); v17 = 0; v18 = 0; v19 = 15; LOBYTE(v17) = 0; v14 = 0; *(_QWORD *)&v14 = sub_14003AA10(0x20u); v15 = 19; v16 = 31; strcpy((char *)v14, "Added to Level List"); v9 = *v8; v12 = TextAlertPopup::create((__int64)&v14, v10, v11, 255, (__int64)&v17); (*(void (__fastcall **)(__int64 *, cocos2d::CCNode *, __int64))(v9 + 440))(v8, v12, 115); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source