// // cocos2d::CCTouchDispatcher::registerForcePrio from 0x1004cbbb0 to 0x1004cbc3a (138 bytes) // // 12 xrefs: // > DailyLevelNode::init @ 0x100232839 // > SlideInLayer::init @ 0x10028e605 // > GJCommentListLayer::init @ 0x10029e949 // > GJShopLayer::init @ 0x100323085 // > DialogLayer::init @ 0x1003c737c // > LevelBrowserLayer::init @ 0x10048b064 // > FLAlertLayer::init @ 0x10049b4f8 // > FLAlertLayer::init_1 @ 0x10049bf13 // > FLAlertLayer::incrementForcePrio @ 0x10049bfac // > CCBlockLayer::init @ 0x100517e65 // > CCBlockLayer::incrementForcePrio @ 0x100517f0c // > GJDropDownLayer::init @ 0x1005e80bb // // 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::CCTouchDispatcher::registerForcePrio( cocos2d::CCTouchDispatcher *a1, cocos2d::CCObject *a2, int a3) { cocos2d::CCObject *v4; // r12 if ( a2 ) { a1->m_forcePrio += a3; a1->m_targetPrio -= a3; if ( !cocos2d::CCDictionary::objectForKey(a1->m_pForcePrioDict, a2->m_uID) ) { v4 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCObject::CCObject((__int64)v4); v4->__vftable = (cocos2d::CCObject_vtbl *)off_1008B8348; LODWORD(v4[1].__vftable) = a3; cocos2d::CCObject::autorelease(v4); cocos2d::CCDictionary::setObject(a1->m_pForcePrioDict, v4, a2->m_uID); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source