//
// FLAlertLayer::ccTouchEnded from 0x10034b9a8 to 0x10034ba08 (96 bytes)
//
// 243 xrefs:
// > KeybindingsLayer::ccTouchEnded @ 0x100025cdc
// > SetGroupIDLayer::ccTouchEnded @ 0x100042b24
// > CreateParticlePopup::ccTouchEnded @ 0x100370534
// > sub_100370538 @ 0x100370554
// > DeathTrackerPopup::ccTouchEnded @ 0x1004c0f0c
// > EditorSFXActionConfigLayer::ccTouchEnded @ 0x1004c72e0
// > EditorSoundConfigInfoLayer::ccTouchEnded @ 0x1004d2e70
// > EditorSoundsLayer::ccTouchEnded @ 0x1004d88e4
// > IDNameBrowserPopup::ccTouchEnded @ 0x1004e24b0
// > ThreadViewPopup::ccTouchEnded @ 0x1005015c0
// > ThreadRequestPopup::ccTouchEnded @ 0x1005154bc
// > NewsPopup::ccTouchEnded @ 0x100519f1c
// > PagedListPopup::ccTouchEnded @ 0x10051b578
// > ScrollViewPopup::ccTouchEnded @ 0x10052764c
// > SFXFolderPickerPopup::ccTouchEnded @ 0x100529e38
// > ??> @ 0x1008ade28
// > ??> @ 0x1008b0040
// > ??> @ 0x1008b1d10
// > ??> @ 0x1008b2538
// > ??> @ 0x1008b2d60
// > ??> @ 0x1008b3588
// > ??> @ 0x1008b4500
// > ??> @ 0x1008b56e8
// > ??> @ 0x1008b5f10
// > ??> @ 0x1008b6738
// > ??> @ 0x1008b6f60
// > ??> @ 0x1008b7788
// > ??> @ 0x1008b8008
// > ??> @ 0x1008b8830
// > ??> @ 0x1008b9d90
// > ??> @ 0x1008ba540
// > ??> @ 0x1008bb5f0
// > ??> @ 0x1008bce10
// > ??> @ 0x1008bdb60
// > ??> @ 0x1008be390
// > ??> @ 0x1008bf1e8
// > ??> @ 0x1008bf920
// > ??> @ 0x1008c1518
// > ??> @ 0x1008c2218
// > ??> @ 0x1008c2968
// > ??> @ 0x1008c31e0
// > ??> @ 0x1008c3a08
// > ??> @ 0x1008c4830
// > ??> @ 0x1008c4f88
// > ??> @ 0x1008c56f8
// > ??> @ 0x1008c5e38
// > ??> @ 0x1008c8ed0
// > ??> @ 0x1008c96c0
// > ??> @ 0x1008c9e68
// > ??> @ 0x1008cb030
// > ??> @ 0x1008d0f28
// > ??> @ 0x1008d1660
// > ??> @ 0x1008d1d98
// > ??> @ 0x1008d24d0
// > ??> @ 0x1008d2d30
// > ??> @ 0x1008d3568
// > ??> @ 0x1008d3d90
// > ??> @ 0x1008d4aa0
// > ??> @ 0x1008d52c8
// > ??> @ 0x1008d6300
// > ??> @ 0x1008e0968
// > ??> @ 0x1008e3230
// > ??> @ 0x1008e3aa0
// > ??> @ 0x1008e5540
// > ??> @ 0x1008e62e0
// > ??> @ 0x1008e6be0
// > ??> @ 0x1008e74c0
// > ??> @ 0x1008e88f0
// > ??> @ 0x1008e9190
// > ??> @ 0x1008e9dd8
// > ??> @ 0x1008ea5c0
// > ??> @ 0x1008ead10
// > ??> @ 0x1008eb460
// > ??> @ 0x1008ebc50
// > ??> @ 0x1008ee5a0
// > ??> @ 0x1008ef450
// > ??> @ 0x1008f0d30
// > ??> @ 0x1008f3170
// > ??> @ 0x1008f3b10
// > ??> @ 0x1008f4260
// > ??> @ 0x1008f6360
// > ??> @ 0x1008f6b40
// > ??> @ 0x1008f7278
// > ??> @ 0x1008f79b0
// > ??> @ 0x1008f8278
// > ??> @ 0x1008f8ab8
// > ??> @ 0x1008f9390
// > ??> @ 0x1008f9bb8
// > ??> @ 0x1008fa3e0
// > ??> @ 0x1008face8
// > ??> @ 0x1008fb510
// > ??> @ 0x1008fca38
// > ??> @ 0x1008fd8d0
// > ??> @ 0x1008ff510
// > ??> @ 0x1008ffe00
// > ??> @ 0x100900620
// > ??> @ 0x100900d88
// > ??> @ 0x1009015c0
// > ??> @ 0x100901de8
// > ??> @ 0x100902610
// > ??> @ 0x100903138
// > ??> @ 0x1009038b8
// > ??> @ 0x100904d68
// > ??> @ 0x100907070
// > ??> @ 0x1009080b0
// > ??> @ 0x100909160
// > ??> @ 0x100909970
// > ??> @ 0x10090a1c8
// > ??> @ 0x10090b078
// > ??> @ 0x10090bf80
// > ??> @ 0x10090cbb8
// > ??> @ 0x10090d3e0
// > ??> @ 0x10090f068
// > ??> @ 0x10090f960
// > ??> @ 0x1009100e8
// > ??> @ 0x1009112b8
// > ??> @ 0x1009121e0
// > ??> @ 0x100914bb8
// > ??> @ 0x1009153e0
// > ??> @ 0x100915c50
// > ??> @ 0x100916590
// > ??> @ 0x10091a918
// > ??> @ 0x10091d250
// > ??> @ 0x10091da78
// > ??> @ 0x10091e2a0
// > ??> @ 0x10091eac8
// > ??> @ 0x100920df0
// > ??> @ 0x100924148
// > ??> @ 0x100924880
// > ??> @ 0x100924fb8
// > ??> @ 0x100925830
// > ??> @ 0x1009263e8
// > ??> @ 0x100926c10
// > ??> @ 0x100927820
// > ??> @ 0x10092ae40
// > ??> @ 0x10092ccf0
// > ??> @ 0x10092d518
// > ??> @ 0x10092dc50
// > ??> @ 0x10092e418
// > ??> @ 0x10092f130
// > ??> @ 0x10092fcc8
// > ??> @ 0x100930438
// > ??> @ 0x100930c60
// > ??> @ 0x100932618
// > ??> @ 0x100933508
// > ??> @ 0x100933c40
// > ??> @ 0x100934458
// > ??> @ 0x100934bc0
// > ??> @ 0x100935368
// > ??> @ 0x100935b40
// > ??> @ 0x100936290
// > ??> @ 0x100936a80
// > ??> @ 0x1009379e0
// > ??> @ 0x100938208
// > ??> @ 0x100938ac8
// > ??> @ 0x1009392e8
// > ??> @ 0x100939b60
// > ??> @ 0x10093a318
// > ??> @ 0x10093aac0
// > ??> @ 0x10093be48
// > ??> @ 0x10093d3f8
// > ??> @ 0x10093fef0
// > ??> @ 0x100940718
// > ??> @ 0x100945438
// > ??> @ 0x100949228
// > ??> @ 0x10094b398
// > ??> @ 0x1009652d0
// > ??> @ 0x100965a20
// > ??> @ 0x100966210
// > ??> @ 0x100966a38
// > ??> @ 0x100968108
// > ??> @ 0x1009689b8
// > ??> @ 0x100969140
// > ??> @ 0x1009698f8
// > ??> @ 0x10096b218
// > ??> @ 0x10096baa8
// > ??> @ 0x10096c2f8
// > ??> @ 0x10096e870
// > ??> @ 0x10096fd08
// > ??> @ 0x100970530
// > ??> @ 0x100970d40
// > ??> @ 0x100971580
// > ??> @ 0x100971da8
// > ??> @ 0x1009725d0
// > ??> @ 0x100972df8
// > ??> @ 0x100973620
// > ??> @ 0x100973e48
// > ??> @ 0x100974670
// > ??> @ 0x100974e98
// > ??> @ 0x100975700
// > ??> @ 0x100975f28
// > ??> @ 0x100976790
// > ??> @ 0x100976fb8
// > ??> @ 0x1009777e0
// > ??> @ 0x100978008
// > ??> @ 0x100978830
// > ??> @ 0x100979058
// > ??> @ 0x100979880
// > ??> @ 0x10097a0a8
// > ??> @ 0x10097a9f8
// > ??> @ 0x10097b220
// > ??> @ 0x10097c318
// > ??> @ 0x10097cb40
// > ??> @ 0x10097dd28
// > ??> @ 0x10097ecf8
// > ??> @ 0x10097f4f0
// > ??> @ 0x10097fcc0
// > ??> @ 0x100980580
// > ??> @ 0x100980d10
// > ??> @ 0x100981ba0
// > ??> @ 0x100982bf8
// > ??> @ 0x100983460
// > ??> @ 0x100983c88
// > ??> @ 0x100985880
// > ??> @ 0x1009876f0
// > ??> @ 0x100987f18
// > ??> @ 0x1009897f0
// > ??> @ 0x10098a158
// > ??> @ 0x10098b210
// > ??> @ 0x100991508
// > ??> @ 0x1009935e8
// > ??> @ 0x1009946b8
// > ??> @ 0x100994e08
// > ??> @ 0x100995fe0
// > ??> @ 0x100996810
// > ??> @ 0x100998850
// > ??> @ 0x100999118
// > ??> @ 0x10099a220
// > ??> @ 0x10099aaf0
// > ??> @ 0x10099b318
// > ??> @ 0x10099ddd8
// > ??> @ 0x10099e708
// > ??> @ 0x10099ef58
// > ??> @ 0x10099f768
// > ??> @ 0x1009a29b8
// > ??> @ 0x1009a3d38
// > ??> @ 0x1009a5678
// > ??> @ 0x1009a5ee0
// > ??> @ 0x1009a6630
// > ??> @ 0x1009a6e20
// > ??> @ 0x1009a7e90
// > ??> @ 0x1009a94d8
// > ??> @ 0x1009a9e48
//
// 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 11:03:17 +0000
//
__int64 __fastcall FLAlertLayer::ccTouchEnded(__int64 result, __int64 a2)
{
int v2; // w8
_DWORD *v3; // x19
__int64 v4; // x8
v2 = *(_DWORD *)(a2 + 56);
if ( *(_DWORD *)(result + 640) == v2 )
{
v3 = (_DWORD *)(result + 640);
v4 = 552;
}
else
{
if ( *(_DWORD *)(result + 632) != v2 )
return result;
v3 = (_DWORD *)(result + 632);
v4 = 624;
}
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(result + v4) + 912LL))(*(_QWORD *)(result + v4));
*v3 = -1;
return result;
}