//
// GJDropDownLayer::registerWithTouchDispatcher from 0x140046290 to 0x1400462e3 (83 bytes)
//
// 44 xrefs:
// > ??> @ 0x140707b30
// > ??> @ 0x140717290
// > ??> @ 0x1407176f0
// > ??> @ 0x140718510
// > ??> @ 0x140718a28
// > ??> @ 0x140719038
// > ??> @ 0x140719d00
// > ??> @ 0x14071a548
// > ??> @ 0x14071c250
// > ??> @ 0x14071cd30
// > ??> @ 0x140734c10
// > ??> @ 0x140745950
// > ??> @ 0x14074ab28
// > ??> @ 0x14074c640
// > ??> @ 0x140753650
// > ??> @ 0x140755c18
// > ??> @ 0x140756338
// > ??> @ 0x140774140
// > ??> @ 0x1407749e0
// > ??> @ 0x14077a650
// > ??> @ 0x14077d4e0
// > ??> @ 0x140780920
// > ??> @ 0x140782bf0
// > ??> @ 0x1407856a0
// > ??> @ 0x14078d7d8
// > ??> @ 0x1407b4d80
// > ??> @ 0x1407b57e8
// > ??> @ 0x1407b64c8
// > ??> @ 0x1407b6a98
// > ??> @ 0x1407cecb0
// > ??> @ 0x1407d2260
// > ??> @ 0x1407d26a0
// > ??> @ 0x1407d8fc0
// > ??> @ 0x1407dae40
// > ??> @ 0x1407db698
// > ??> @ 0x1407e3ed8
// > ??> @ 0x140816270
// > ??> @ 0x14081ba18
// > ??> @ 0x14081c148
// > ??> @ 0x14081e5b8
// > ??> @ 0x1408323b8
// > ??> @ 0x140832f90
// > ??> @ 0x140833a28
// > ??> @ 0x14090f908
//
// This function is hookable on this platform (idp: pc, 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 11:25:31 +0000
//
// Merged with: GJDropDownLayer::registerWithTouchDispatcher, AccountLoginLayer::registerWithTouchDispatcher, AccountRegisterLayer::registerWithTouchDispatcher, AudioAssetsBrowser::registerWithTouchDispatcher, CCBlockLayer::registerWithTouchDispatcher, ChallengesPage::registerWithTouchDispatcher, CharacterColorPage::registerWithTouchDispatcher, CommunityCreditsPage::registerWithTouchDispatcher, DailyLevelPage::registerWithTouchDispatcher, EditorSoundBrowserLayer::registerWithTouchDispatcher, FollowRewardPage::registerWithTouchDispatcher, FRequestProfilePage::registerWithTouchDispatcher, GJPathPage::registerWithTouchDispatcher, GJPathsLayer::registerWithTouchDispatcher, GJPromoPopup::registerWithTouchDispatcher, GJShopLayer::registerWithTouchDispatcher, InfoLayer::registerWithTouchDispatcher, LevelLeaderboard::registerWithTouchDispatcher, MessagesProfilePage::registerWithTouchDispatcher, MusicBrowser::registerWithTouchDispatcher, NotificationsPage::registerWithTouchDispatcher, OptionsScrollLayer::registerWithTouc
void __fastcall GJDropDownLayer::registerWithTouchDispatcher(__int64 a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector();
v3 = (struct cocos2d::CCTouchDelegate *)(a1 + 320);
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addTargetedDelegate(v4, v3, -500, 1);
}