//
// FLAlertLayer::ccTouchBegan from 0x3cb3f8 to 0x3cb446 (78 bytes)
//
// 14 xrefs:
// > `non-virtual thunk to'FLAlertLayer::ccTouchBegan @ 0x3cb44a
// > KeybindingsLayer::ccTouchBegan @ 0x58904c
// > SetGroupIDLayer::ccTouchBegan @ 0x639514
// > CreateParticlePopup::ccTouchBegan @ 0x663e36
// > SetupTriggerPopup::ccTouchBegan @ 0x6761e2
// > NewsPopup::ccTouchBegan @ 0x6c1624
// > ScrollViewPopup::ccTouchBegan @ 0x6ca104
// > PagedListPopup::ccTouchBegan @ 0x72ef0e
// > SFXFolderPickerPopup::ccTouchBegan @ 0x72f06e
// > ThreadViewPopup::ccTouchBegan @ 0x745dca
// > LevelBadgePopup::ccTouchBegan @ 0x747850
// > DeathTrackerPopup::ccTouchBegan @ 0x770a7a
// > EditorSoundsLayer::ccTouchBegan @ 0x78a068
// > IDNameBrowserPopup::ccTouchBegan @ 0x78f280
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:37 +0000
//
int __fastcall FLAlertLayer::ccTouchBegan(_DWORD *a1, int a2, int a3)
{
int v6; // r0
int v7; // r0
if ( a1[125] == -1 && (v6 = a1[111]) != 0 && (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 448))(v6) )
{
a1[125] = *(_DWORD *)(a2 + 52);
}
else
{
v7 = a1[122];
if ( v7 && a1[123] == -1 && (*(int (__fastcall **)(int, int, int))(*(_DWORD *)v7 + 448))(v7, a2, a3) )
a1[123] = *(_DWORD *)(a2 + 52);
}
return 1;
}