//
// FLAlertLayer::registerWithTouchDispatcher from 0x140052dd0 to 0x140052e20 (80 bytes)
//
// 165 xrefs:
// > ??> @ 0x140532c38
// > ??> @ 0x14053ea58
// > ??> @ 0x14053f058
// > ??> @ 0x14053f490
// > ??> @ 0x14053fa10
// > ??> @ 0x1405414b8
// > ??> @ 0x140541978
// > ??> @ 0x140544c50
// > ??> @ 0x1405451c0
// > ??> @ 0x14054d960
// > ??> @ 0x14054dfa0
// > ??> @ 0x14054e3d0
// > ??> @ 0x14054e800
// > ??> @ 0x140550680
// > ??> @ 0x140567bf0
// > ??> @ 0x140568f28
// > ??> @ 0x14056a678
// > ??> @ 0x14056cf68
// > ??> @ 0x14056eb98
// > ??> @ 0x14056f898
// > ??> @ 0x140572248
// > ??> @ 0x140572820
// > ??> @ 0x1405735e0
// > ??> @ 0x140573c00
// > ??> @ 0x140574850
// > ??> @ 0x140574e50
// > ??> @ 0x140575278
// > ??> @ 0x1405757a8
// > ??> @ 0x140575c58
// > ??> @ 0x140576080
// > ??> @ 0x140576630
// > ??> @ 0x1405773e0
// > ??> @ 0x140577b40
// > ??> @ 0x1405780b0
// > ??> @ 0x140578998
// > ??> @ 0x140578eb8
// > ??> @ 0x14057a6d8
// > ??> @ 0x14057b200
// > ??> @ 0x14057b8b8
// > ??> @ 0x14057bcd8
// > ??> @ 0x14057d1f8
// > ??> @ 0x14057e628
// > ??> @ 0x140580058
// > ??> @ 0x1405809d8
// > ??> @ 0x1405822f8
// > ??> @ 0x140586a68
// > ??> @ 0x140589010
// > ??> @ 0x140589568
// > ??> @ 0x14058a0f0
// > ??> @ 0x14058a790
// > ??> @ 0x14058b1a0
// > ??> @ 0x14058ba48
// > ??> @ 0x14058e1c0
// > ??> @ 0x14058e670
// > ??> @ 0x14058f358
// > ??> @ 0x14058fb08
// > ??> @ 0x1405a8d90
// > ??> @ 0x1405adfb0
// > ??> @ 0x1405c4da0
// > ??> @ 0x1405c5268
// > ??> @ 0x1405c5dd0
// > ??> @ 0x1405c63c8
// > ??> @ 0x1405caf38
// > ??> @ 0x1405cb710
// > ??> @ 0x1405cc1a8
// > ??> @ 0x1405cc740
// > ??> @ 0x1405cccf0
// > ??> @ 0x1405cdf70
// > ??> @ 0x1405d6320
// > ??> @ 0x1405d6a40
// > ??> @ 0x1405d6f30
// > ??> @ 0x1405d77c8
// > ??> @ 0x1405d7d68
// > ??> @ 0x1405d8c70
// > ??> @ 0x1405d92c0
// > ??> @ 0x1405d9758
// > ??> @ 0x1405d9e70
// > ??> @ 0x1405da590
// > ??> @ 0x1405dad30
// > ??> @ 0x1405dc1b8
// > ??> @ 0x1405dc650
// > ??> @ 0x1405dcbd8
// > ??> @ 0x1405dd158
// > ??> @ 0x1405dd6c0
// > ??> @ 0x1405ddbd0
// > ??> @ 0x1405de0f8
// > ??> @ 0x1405decd0
// > ??> @ 0x1405df350
// > ??> @ 0x1405dfbb0
// > ??> @ 0x1405e02e8
// > ??> @ 0x1405e0ff8
// > ??> @ 0x1405e14a8
// > ??> @ 0x1405e1b78
// > ??> @ 0x1405e2210
// > ??> @ 0x1405e2b78
// > ??> @ 0x1405e32e0
// > ??> @ 0x1405e3fe0
// > ??> @ 0x1405e49a8
// > ??> @ 0x1405e5100
// > ??> @ 0x1405e57d0
// > ??> @ 0x1405e6718
// > ??> @ 0x1405e6bd8
// > ??> @ 0x1405e74d8
// > ??> @ 0x1405e7970
// > ??> @ 0x1405e7fa0
// > ??> @ 0x1405e8868
// > ??> @ 0x1405e8f70
// > ??> @ 0x1405e9b30
// > ??> @ 0x1405ea820
// > ??> @ 0x1405eaf00
// > ??> @ 0x1405eb748
// > ??> @ 0x1405ec070
// > ??> @ 0x1405ec708
// > ??> @ 0x1405ed178
// > ??> @ 0x1405ed840
// > ??> @ 0x1405edeb0
// > ??> @ 0x1405ee778
// > ??> @ 0x1405ef6d0
// > ??> @ 0x1405efb90
// > ??> @ 0x1405f0028
// > ??> @ 0x1405f0968
// > ??> @ 0x1405f29e8
// > ??> @ 0x1405f30e0
// > ??> @ 0x1405f53d8
// > ??> @ 0x1405f5978
// > ??> @ 0x1405f5f60
// > ??> @ 0x1405f6508
// > ??> @ 0x1405f6bd8
// > ??> @ 0x1405f75f0
// > ??> @ 0x1405f7da8
// > ??> @ 0x1405f85d0
// > ??> @ 0x1405f8ef0
// > ??> @ 0x1405f9710
// > ??> @ 0x1405f9bc0
// > ??> @ 0x1405fa1e0
// > ??> @ 0x1405faa28
// > ??> @ 0x1405fb2e8
// > ??> @ 0x1405fd0e0
// > ??> @ 0x1405fd588
// > ??> @ 0x1405fddc8
// > ??> @ 0x1405fe518
// > ??> @ 0x1405febc8
// > ??> @ 0x1405ff548
// > ??> @ 0x1405ffcb8
// > ??> @ 0x140600250
// > ??> @ 0x140600790
// > ??> @ 0x140600c40
// > ??> @ 0x140601488
// > ??> @ 0x1406019e8
// > ??> @ 0x140601f80
// > ??> @ 0x140602488
// > ??> @ 0x140602920
// > ??> @ 0x140602e30
// > ??> @ 0x140603380
// > ??> @ 0x140603b50
// > ??> @ 0x140604120
// > ??> @ 0x140604828
// > ??> @ 0x140605728
// > ??> @ 0x140605ba8
// > ??> @ 0x14060ba78
// > ??> @ 0x14060bec0
// > ??> @ 0x14060c3e8
// > ??> @ 0x14060cc30
// > ??> @ 0x140621e30
// > ??> @ 0x1406c4e9c
//
// 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: FLAlertLayer::registerWithTouchDispatcher, DialogLayer::registerWithTouchDispatcher, NumberInputLayer::registerWithTouchDispatcher
void __fastcall FLAlertLayer::registerWithTouchDispatcher(struct cocos2d::CCTouchDelegate *a1)
{
__int64 v2; // rax
struct cocos2d::CCTouchDelegate *v3; // rdi
cocos2d::CCTouchDispatcher *v4; // rax
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = a1 + 40;
if ( !a1 )
v3 = nullptr;
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(v4, v3, -501, 1);
}