// // cocos2d::CCLayer::registerWithTouchDispatcher from 0x1001486c4 to 0x10014873c (120 bytes) // // 73 xrefs: // > LevelBrowserLayer::registerWithTouchDispatcher @ 0x100419a2c // > @ 0x100764928 // > @ 0x1007651d8 // > @ 0x100765778 // > @ 0x100768f48 // > @ 0x100772328 // > @ 0x10077a070 // > @ 0x10077c0e8 // > @ 0x1007819d8 // > @ 0x1007823d0 // > @ 0x1007881e8 // > @ 0x100788758 // > @ 0x100788cc8 // > @ 0x100789238 // > @ 0x1007897a8 // > @ 0x100789d18 // > @ 0x10078a2d8 // > @ 0x10078a880 // > @ 0x10078ae40 // > @ 0x10078b3b0 // > @ 0x10078b920 // > @ 0x10078bed0 // > @ 0x10078c460 // > @ 0x10078c9d0 // > @ 0x10078cf40 // > @ 0x10078d520 // > @ 0x10078db00 // > @ 0x10078e0e0 // > @ 0x10078e650 // > @ 0x10078ebc0 // > @ 0x10078f130 // > @ 0x10078fc40 // > @ 0x100792258 // > @ 0x1007971b0 // > @ 0x100797720 // > @ 0x100797d80 // > @ 0x100798530 // > @ 0x10079d4d0 // > @ 0x1007a6aa8 // > @ 0x1007b4100 // > @ 0x1007b6910 // > @ 0x1007bbd38 // > @ 0x1007bc378 // > @ 0x1007bc8e8 // > @ 0x1007bef60 // > @ 0x1007c0a58 // > @ 0x1007c11a8 // > @ 0x1007c1778 // > @ 0x1007c6d28 // > @ 0x1007d1c90 // > @ 0x1007d3938 // > @ 0x1007d7f18 // > @ 0x1007d96e0 // > @ 0x1007e6308 // > @ 0x1007e6918 // > @ 0x1007ebf68 // > @ 0x1007eda30 // > @ 0x1007ee040 // > @ 0x1007ee628 // > @ 0x1007ef450 // > @ 0x1007f1688 // > @ 0x1007f1c50 // > @ 0x1007f3aa8 // > @ 0x1007f41b8 // > @ 0x1007f49e8 // > @ 0x10080e488 // > @ 0x100811610 // > @ 0x100813840 // > @ 0x100814710 // > @ 0x100814d48 // > @ 0x1008152d0 // > @ 0x100817898 // > @ 0x100824c68 // // 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 __fastcall cocos2d::CCLayer::registerWithTouchDispatcher(cocos2d::CCLayer *a1) { cocos2d::CCDirector *v2; // x0 cocos2d::CCTouchDispatcher *v3; // x0 cocos2d::CCTouchScriptHandlerEntry *m_pScriptTouchHandlerEntry; // x8 int m_nPriority; // w2 char m_bSwallowsTouches; // w3 cocos2d::CCTouchDelegate *v7; // x1 v2 = cocos2d::CCDirector::sharedDirector(); v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2); m_pScriptTouchHandlerEntry = a1->m_pScriptTouchHandlerEntry; if ( m_pScriptTouchHandlerEntry ) { if ( !m_pScriptTouchHandlerEntry->m_bIsMultiTouches ) { m_nPriority = m_pScriptTouchHandlerEntry->m_nPriority; m_bSwallowsTouches = m_pScriptTouchHandlerEntry->m_bSwallowsTouches; v7 = &a1->cocos2d::CCTouchDelegate; LABEL_6: cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, v7, m_nPriority, m_bSwallowsTouches); return; } } else if ( a1->m_eTouchMode ) { m_nPriority = a1->m_nTouchPriority; v7 = &a1->cocos2d::CCTouchDelegate; m_bSwallowsTouches = 1; goto LABEL_6; } cocos2d::CCTouchDispatcher::addStandardDelegate(v3, &a1->cocos2d::CCTouchDelegate, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source