// // cocos2d::CCLayer::setTouchPriority from 0x5cf23c to 0x5cf26e (50 bytes) // // 0 xrefs: // // 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 // void cocos2d::CCLayer::setTouchPriority(cocos2d::CCLayer *a1, int a2) { _BOOL4 m_bTouchEnabled; // r3 if ( a1->m_nTouchPriority != a2 ) { m_bTouchEnabled = a1->m_bTouchEnabled; a1->m_nTouchPriority = a2; if ( m_bTouchEnabled ) { a1->setTouchEnabled(a1, 0); a1->setTouchEnabled(a1, 1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source