// // cocos2d::CCTouchDispatcher::addTargetedDelegate from 0xdb1898 to 0xdb19fc (356 bytes) // // 54 xrefs: // > CCBlockLayer::registerWithTouchDispatcher @ 0x690448 // > cocos2d::CCScrollLayer::initWithLayers @ 0x694350 // > CCScrollLayerExt::registerWithTouchDispatcher @ 0x69493c // > LoadingCircle::registerWithTouchDispatcher @ 0x6a98c4 // > SlideInLayer::registerWithTouchDispatcher @ 0x6b3864 // > CCTextInputMenu::registerWithTouchDispatcher @ 0x6b6b64 // > CreateGuidelinesLayer::registerWithTouchDispatcher @ 0x6e7b38 // > UILayer::registerWithTouchDispatcher @ 0x6ee1e4 // > StartPosBrowser::registerWithTouchDispatcher @ 0x7d51a0 // > MenuGameLayer::registerWithTouchDispatcher @ 0x7d9eb4 // > LevelBrowserLayer::registerWithTouchDispatcher @ 0x7fd0fc // > LevelPage::registerWithTouchDispatcher @ 0x8c3dfc // > GJDropDownLayer::registerWithTouchDispatcher @ 0x8eccb0 // > InfoLayer::registerWithTouchDispatcher @ 0x906fe0 // > ShareCommentLayer::registerWithTouchDispatcher @ 0x90df54 // > AccountRegisterLayer::registerWithTouchDispatcher @ 0x98f1e8 // > AccountLoginLayer::registerWithTouchDispatcher @ 0x98f220 // > GJWriteMessagePopup::registerWithTouchDispatcher @ 0xa1ddb8 // > UIOptionsLayer::registerWithTouchDispatcher @ 0xa1ddf0 // > GJPromoPopup::registerWithTouchDispatcher @ 0xa1de28 // > UIPOptionsLayer::registerWithTouchDispatcher @ 0xa1de60 // > MessagesProfilePage::registerWithTouchDispatcher @ 0xa49ac4 // > FRequestProfilePage::registerWithTouchDispatcher @ 0xa4c0b8 // > ProfilePage::registerWithTouchDispatcher @ 0xa534e0 // > ChallengesPage::registerWithTouchDispatcher @ 0xa6232c // > DailyLevelPage::registerWithTouchDispatcher @ 0xa6cc74 // > GJShopLayer::registerWithTouchDispatcher @ 0xa7c730 // > LevelLeaderboard::registerWithTouchDispatcher @ 0xa818a8 // > RewardsPage::registerWithTouchDispatcher @ 0xa84b6c // > ShardsPage::registerWithTouchDispatcher @ 0xaa39cc // > FollowRewardPage::registerWithTouchDispatcher @ 0xaaa190 // > TopArtistsLayer::registerWithTouchDispatcher @ 0xaac610 // > CommunityCreditsPage::registerWithTouchDispatcher @ 0xab58c0 // > MapSelectLayer::registerWithTouchDispatcher @ 0xac1634 // > CharacterColorPage::registerWithTouchDispatcher @ 0xb512b4 // > LevelSettingsLayer::registerWithTouchDispatcher @ 0xb61724 // > MusicBrowser::registerWithTouchDispatcher @ 0xb83888 // > OptionsScrollLayer::registerWithTouchDispatcher @ 0xb838c0 // > SFXBrowser::registerWithTouchDispatcher @ 0xb8de68 // > GJPathsLayer::registerWithTouchDispatcher @ 0xba3b3c // > GJPathPage::registerWithTouchDispatcher @ 0xba3b74 // > AudioAssetsBrowser::registerWithTouchDispatcher @ 0xbc1cc0 // > EditorUI::registerWithTouchDispatcher @ 0xbd6bd4 // > NotificationsPage::registerWithTouchDispatcher @ 0xc5e918 // > EditorSoundBrowserLayer::registerWithTouchDispatcher @ 0xcc8558 // > SelectFontLayer2::registerWithTouchDispatcher @ 0xd02a8c // > TouchControlEditLayer::registerWithTouchDispatcher @ 0xd041e4 // > cocos2d::extension::CCControl::registerWithTouchDispatcher @ 0xd0b324 // > cocos2d::extension::CCScrollView::registerWithTouchDispatcher @ 0xd169c8 // > cocos2d::CCLayer::registerWithTouchDispatcher @ 0xd5bee0 // > cocos2d::CCLayer::registerWithTouchDispatcher @ 0xd5bf00 // > cocos2d::CCMenu::registerWithTouchDispatcher @ 0xd63610 // > cocos2d::CCTouchDispatcher::addPrioTargetedDelegate @ 0xdb1a60 // > @ 0xcf640 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:08:39 +0000 // __int64 __fastcall cocos2d::CCTouchDispatcher::addTargetedDelegate( cocos2d::CCTouchDispatcher *this, cocos2d::CCTouchDelegate *a2, int a3, unsigned __int8 a4) { int v4; // w23 bool v8; // w3 cocos2d::CCObject *v9; // x19 int v11; // [xsp+44h] [xbp+44h] BYREF v4 = a4; v11 = 0; if ( (unsigned __int8)cocos2d::CCTouchDispatcher::ownerLevelFor((cocos2d::CCDictionary **)this, a2, &v11) ) { if ( a3 > v11 ) a3 = v11; } else if ( !cocos2d::CCTouchDispatcher::isUsingForcePrio(this) || a3 <= *((_DWORD *)this + 32) || (*(unsigned int (__fastcall **)(cocos2d::CCTouchDelegate *))(*(_QWORD *)a2 + 88LL))(a2) ) { if ( (*(unsigned int (__fastcall **)(cocos2d::CCTouchDelegate *))(*(_QWORD *)a2 + 88LL))(a2) ) a3 = (*(__int64 (__fastcall **)(cocos2d::CCTouchDelegate *))(*(_QWORD *)a2 + 88LL))(a2); } else { a3 = *((_DWORD *)this + 32); } (*(void (__fastcall **)(cocos2d::CCTouchDelegate *, _QWORD))(*(_QWORD *)a2 + 80LL))(a2, (unsigned int)a3); v9 = (cocos2d::CCObject *)cocos2d::CCTargetedTouchHandler::handlerWithDelegate( a2, (cocos2d::CCTouchDelegate *)(unsigned int)a3, v4, v8); if ( *((_BYTE *)this + 80) ) { if ( cocos2d::ccCArrayContainsValue(*((int **)this + 12), (__int64)a2) ) { cocos2d::ccCArrayRemoveValue(*((int **)this + 12), (__int64)a2); } else { cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 11), v9); *((_BYTE *)this + 81) = 1; } } else { cocos2d::CCTouchDispatcher::forceAddHandler(this, v9, *((cocos2d::CCArray **)this + 8)); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source