// // LevelBrowserLayer::registerWithTouchDispatcher from 0x1402cfdd0 to 0x1402cfe36 (102 bytes) // // 5 xrefs: // > @ 0x1405850d0 // > @ 0x140589cc8 // > @ 0x14068da5c // > @ 0x14068da6c // > @ 0x1406d2e58 // // 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 LevelBrowserLayer::registerWithTouchDispatcher(LevelBrowserLayer *a1) { __int64 v2; // rax struct cocos2d::CCTouchDelegate *v3; // rbx cocos2d::CCTouchDispatcher *v4; // rax if ( a1->m_isOverlay ) { v2 = cocos2d::CCDirector::sharedDirector(a1); v3 = &a1->cocos2d::CCTouchDelegate; if ( !a1 ) v3 = nullptr; v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2); cocos2d::CCTouchDispatcher::addTargetedDelegate(v4, v3, -500, 1); } else { cocos2d::CCLayer::registerWithTouchDispatcher(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source