// // FLAlertLayer::ccTouchBegan from 0x2eadec to 0x2eae3a (78 bytes) // // 3 xrefs: // > `non-virtual thunk to'FLAlertLayer::ccTouchBegan @ 0x2eae3e // > CreateParticlePopup::ccTouchBegan @ 0x52f67a // > SetupTriggerPopup::ccTouchBegan @ 0x540a7e // // 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 FLAlertLayer::ccTouchBegan(FLAlertLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { cocos2d::CCMenu *m_buttonMenu; // r0 ScrollingLayer *m_scrollingLayer; // r0 if ( a1->m_joystickConnected == -1 && (m_buttonMenu = a1->m_buttonMenu) != nullptr && ((int (__fastcall *)(cocos2d::CCMenu *))m_buttonMenu->ccTouchBegan)(m_buttonMenu) ) { a1->m_joystickConnected = a2->m_nId; } else { m_scrollingLayer = a1->m_scrollingLayer; if ( m_scrollingLayer && a1->m_controlConnected == -1 && ((int (__fastcall *)(ScrollingLayer *, cocos2d::CCTouch *, cocos2d::CCEvent *))m_scrollingLayer->ccTouchBegan)( m_scrollingLayer, a2, a3) ) { a1->m_controlConnected = a2->m_nId; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source