// // cocos2d::CCLayer::registerWithTouchDispatcher from 0xaea130 to 0xaea1ac (124 bytes) // // 84 xrefs: // > LevelBrowserLayer::registerWithTouchDispatcher @ 0x6edbac // > @ 0x94380 // > @ 0x1134658 // > @ 0x1134c98 // > @ 0x1135208 // > @ 0x1135d18 // > @ 0x1136f08 // > @ 0x113a278 // > @ 0x113b498 // > @ 0x11401e8 // > @ 0x1140778 // > @ 0x1143a18 // > @ 0x1144328 // > @ 0x11470d8 // > @ 0x11476a8 // > @ 0x11488d8 // > @ 0x114b488 // > @ 0x114bac8 // > @ 0x114c038 // > @ 0x114c5a8 // > @ 0x114cb18 // > @ 0x114d088 // > @ 0x114d5f8 // > @ 0x114dbb8 // > @ 0x114e168 // > @ 0x114e728 // > @ 0x114ec98 // > @ 0x114f208 // > @ 0x114f7b8 // > @ 0x114fd48 // > @ 0x11502b8 // > @ 0x1150828 // > @ 0x1150e08 // > @ 0x11513e8 // > @ 0x11519c8 // > @ 0x1151f38 // > @ 0x11524a8 // > @ 0x1155148 // > @ 0x1155978 // > @ 0x1157278 // > @ 0x11577e8 // > @ 0x1157d58 // > @ 0x11593d8 // > @ 0x115a068 // > @ 0x115b5e8 // > @ 0x115bd48 // > @ 0x11606d8 // > @ 0x1178178 // > @ 0x11789c8 // > @ 0x117aa08 // > @ 0x117b588 // > @ 0x117cda8 // > @ 0x1184e18 // > @ 0x11853a8 // > @ 0x1185938 // > @ 0x1186a58 // > @ 0x11905c8 // > @ 0x1191098 // > @ 0x11917b8 // > @ 0x1196f88 // > @ 0x11a7e28 // > @ 0x11aa508 // > @ 0x11ac3c8 // > @ 0x11ad138 // > @ 0x11b2d88 // > @ 0x11b3398 // > @ 0x11b3908 // > @ 0x11b4278 // > @ 0x11bbfb8 // > @ 0x11c7bd8 // > @ 0x11c90f8 // > @ 0x11c9868 // > @ 0x11cf438 // > @ 0x11da498 // > @ 0x11daa28 // > @ 0x11ed0c8 // > @ 0x11f3728 // > @ 0x11f3d68 // > @ 0x11f42d8 // > @ 0x1203b18 // > @ 0x1204088 // > @ 0x12046e8 // > @ 0x1204d98 // > @ 0x12054b8 // // 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::registerWithTouchDispatcher(cocos2d::CCLayer *a1) { cocos2d::CCDirector *v2; // x0 cocos2d::CCTouchDispatcher *v3; // x0 cocos2d::CCTouchScriptHandlerEntry *m_pScriptTouchHandlerEntry; // x3 int m_nPriority; // w2 cocos2d::CCTouchDelegate *v6; // x1 char m_bSwallowsTouches; // w3 v2 = cocos2d::CCDirector::sharedDirector(); v3 = v2->getTouchDispatcher(v2); m_pScriptTouchHandlerEntry = a1->m_pScriptTouchHandlerEntry; if ( m_pScriptTouchHandlerEntry ) { if ( m_pScriptTouchHandlerEntry->m_bIsMultiTouches ) { LABEL_3: cocos2d::CCTouchDispatcher::addStandardDelegate(v3, &a1->cocos2d::CCTouchDelegate, 0); return; } m_nPriority = m_pScriptTouchHandlerEntry->m_nPriority; v6 = &a1->cocos2d::CCTouchDelegate; m_bSwallowsTouches = m_pScriptTouchHandlerEntry->m_bSwallowsTouches; } else { if ( a1->m_eTouchMode == kCCTouchesAllAtOnce ) goto LABEL_3; m_nPriority = a1->m_nTouchPriority; v6 = &a1->cocos2d::CCTouchDelegate; m_bSwallowsTouches = 1; } cocos2d::CCTouchDispatcher::addTargetedDelegate(v3, v6, m_nPriority, m_bSwallowsTouches); }
GD Web Decomp Icon

GD Web Decomp

Raw Source