//
// GJDropDownLayer::registerWithTouchDispatcher from 0x140042640 to 0x140042690 (80 bytes)
//
// 43 xrefs:
// > ??> @ 0x14052cf98
// > ??> @ 0x140539918
// > ??> @ 0x140539d50
// > ??> @ 0x14053ab60
// > ??> @ 0x14053b050
// > ??> @ 0x14053b638
// > ??> @ 0x14053c2e8
// > ??> @ 0x14053cb58
// > ??> @ 0x14053d5a0
// > ??> @ 0x14053e288
// > ??> @ 0x1405407c8
// > ??> @ 0x14054fd00
// > ??> @ 0x1405524f0
// > ??> @ 0x1405553b8
// > ??> @ 0x1405575a0
// > ??> @ 0x1405580a8
// > ??> @ 0x140558640
// > ??> @ 0x14056c570
// > ??> @ 0x14056e2c8
// > ??> @ 0x14056e710
// > ??> @ 0x140574250
// > ??> @ 0x140576d70
// > ??> @ 0x140579eb8
// > ??> @ 0x14057e160
// > ??> @ 0x14057f930
// > ??> @ 0x140581810
// > ??> @ 0x1405884a8
// > ??> @ 0x1405ab790
// > ??> @ 0x1405abf68
// > ??> @ 0x1405ac428
// > ??> @ 0x1405c4788
// > ??> @ 0x1405c69a0
// > ??> @ 0x1405cbb68
// > ??> @ 0x1405cd1d8
// > ??> @ 0x1405cd9a8
// > ??> @ 0x140604f80
// > ??> @ 0x14060a980
// > ??> @ 0x14060af78
// > ??> @ 0x14060d1c0
// > ??> @ 0x1406205b8
// > ??> @ 0x140621158
// > ??> @ 0x1406217e0
// > ??> @ 0x1406c43f8
//
// 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
//
// Merged with: GJDropDownLayer::registerWithTouchDispatcher, AccountLoginLayer::registerWithTouchDispatcher, AccountRegisterLayer::registerWithTouchDispatcher, AudioAssetsBrowser::registerWithTouchDispatcher, CCBlockLayer::registerWithTouchDispatcher, ChallengesPage::registerWithTouchDispatcher, CharacterColorPage::registerWithTouchDispatcher, CommunityCreditsPage::registerWithTouchDispatcher, DailyLevelPage::registerWithTouchDispatcher, FollowRewardPage::registerWithTouchDispatcher, FRequestProfilePage::registerWithTouchDispatcher, FriendsProfilePage::registerWithTouchDispatcher, GJPathPage::registerWithTouchDispatcher, GJPathsLayer::registerWithTouchDispatcher, GJPromoPopup::registerWithTouchDispatcher, GJShopLayer::registerWithTouchDispatcher, GJWriteMessagePopup::registerWithTouchDispatcher, InfoLayer::registerWithTouchDispatcher, LevelLeaderboard::registerWithTouchDispatcher, MessagesProfilePage::registerWithTouchDispatcher, MusicBrowser::registerWithTouchDispatcher, OptionsScrollLayer::registerWithTouchDi
void __fastcall GJDropDownLayer::registerWithTouchDispatcher(struct cocos2d::CCTouchDelegate *a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector();
v3 = a1 + 40;
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v4, v3, -500, 1);
}