//
// KeybindingsLayer::ccTouchEnded from 0x100025c58 to 0x100025ce0 (136 bytes)
//
// 3 xrefs:
// > sub_100025CE0 @ 0x100025ce4
// > ??> @ 0x1008af6d8
// > ??> @ 0x100993d78
//
// 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 10:57:25 +0000
//
__int64 __fastcall KeybindingsLayer::ccTouchEnded(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // x0
char v7; // w22
__int64 v8; // x8
v6 = *(_QWORD *)(a1 + 1136);
if ( v6 )
{
v7 = *(_BYTE *)(v6 + 480);
sub_100525820();
if ( (*(_BYTE *)(a1 + 1152) & 1) != 0 )
{
if ( (v7 & 1) != 0 )
{
v8 = 920;
LABEL_7:
(*(void (**)(void))(**(_QWORD **)(a1 + 1144) + v8))();
*(_BYTE *)(a1 + 1152) = 0;
return FLAlertLayer::ccTouchEnded(a1, a2, a3);
}
LABEL_6:
v8 = 912;
goto LABEL_7;
}
}
else if ( (*(_BYTE *)(a1 + 1152) & 1) != 0 )
{
goto LABEL_6;
}
return FLAlertLayer::ccTouchEnded(a1, a2, a3);
}