// // LevelInfoLayer::cellPerformedAction from 0x6d6620 to 0x6d6838 (536 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelInfoLayer::cellPerformedAction @ 0x6d683c // > @ 0x7f2d8 // > @ 0x115b6a8 // // 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 // bool LevelInfoLayer::cellPerformedAction( LevelInfoLayer *a1, TableViewCell *a2, int a3, CellAction a4, cocos2d::CCNode *a5) { bool v5; // w19 GJGameLevel *m_level; // x2 cocos2d::CCScene *m_pRunningScene; // x21 void (__fastcall *addChild_0)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // x24 cocos2d::CCNode *v9; // x0 void *v10; // x0 void *v11; // x0 unsigned int *v13; // x1 int v14; // w2 unsigned int *v15; // x1 int v16; // w2 __int64 v18; // [xsp+68h] [xbp+68h] BYREF __int64 v19; // [xsp+70h] [xbp+70h] BYREF std::string v20; // 0:x3.8 v5 = a3 == 30 && a4 == Click; if ( v5 ) { m_level = a1->m_level; if ( m_level ) { GJLevelList::addLevelToList( (GJLevelList *)a2[1].cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable, m_level); if ( a5 ) ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a5->__vftable[1].isIgnoreAnchorPointForPosition)(a5, 0); m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene; addChild_0 = m_pRunningScene->addChild_0; sub_D153B8((int)&v18, "Added to Level List"); sub_D153B8((int)&v19, &byte_F288A0); v9 = (cocos2d::CCNode *)TextAlertPopup::create( (TextAlertPopup *)&v18, (std::string)255LL, 1.0, 0.5, (int)&v19, v20); addChild_0(m_pRunningScene, v9, 115); v10 = (void *)(v19 - 24); if ( (__int64 *)(v19 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v15 = (unsigned int *)(v19 - 8); do v16 = __ldaxr(v15); while ( __stlxr(v16 - 1, v15) ); } else { v16 = *(_DWORD *)(v19 - 8); *(_DWORD *)(v19 - 8) = v16 - 1; } if ( v16 <= 0 ) operator delete(v10); } v11 = (void *)(v18 - 24); if ( (__int64 *)(v18 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(v18 - 8); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *(_DWORD *)(v18 - 8); *(_DWORD *)(v18 - 8) = v14 - 1; } if ( v14 <= 0 ) operator delete(v11); } } else { return 0; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source