// // LevelListLayer::onSelectIcon from 0x140307cb0 to 0x140307df5 (325 bytes) // // 2 xrefs: // > LevelListLayer::init @ 0x140304c05 // > @ 0x1406d455c // // 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 void LevelListLayer::onSelectIcon(LevelListLayer *a1, cocos2d::CCObject *a2) { int m_difficulty; // ebx SelectListIconLayer *v4; // rdi void (*show)(FLAlertLayer *); // rdx if ( !a1->m_exiting ) { m_difficulty = a1->m_levelList->m_difficulty; v4 = (SelectListIconLayer *)operator new(0x290u); FLAlertLayer::FLAlertLayer(v4); v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SelectListIconLayer_vtbl *)&SelectListIconLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SelectListIconLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SelectListIconLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SelectListIconLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SelectListIconLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SelectListIconLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SelectListIconLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SelectListIconLayer::`vftable'; v4->m_difficulties = nullptr; v4->m_currentDifficulty = 0; v4->m_delegate = nullptr; if ( SelectListIconLayer::init(v4, m_difficulty) ) { cocos2d::CCObject::autorelease(v4); } else { ((void (__fastcall *)(SelectListIconLayer *, __int64))v4->~SelectListIconLayer)(v4, 1); v4 = nullptr; } v4->m_delegate = &a1->SelectListIconDelegate; show = (void (*)(FLAlertLayer *))v4->show; if ( show == FLAlertLayer::show ) FLAlertLayer::show(v4); else show(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source