//
// ThreadViewPopup::ccTouchEnded from 0x100501554 to 0x1005015c4 (112 bytes)
//
// 2 xrefs:
// > sub_10050170C @ 0x100501710
// > ??> @ 0x100995690
//
// 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:06:54 +0000
//
__int64 __fastcall ThreadViewPopup::ccTouchEnded(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // x0
char v6; // w23
__int64 v7; // x22
v5 = *(_QWORD *)(a1 + 824);
if ( !v5 || (v6 = *(_BYTE *)(v5 + 480), v7 = *(_QWORD *)(v5 + 576), sub_1005257BC(v5, a2, a3), (v6 & 1) == 0) && !v7 )
sub_1005015C4(a1, a2);
return FLAlertLayer::ccTouchEnded(a1, a2);
}