//
// NewsPopup::ccTouchEnded from 0x1404a07a0 to 0x1404a083f (159 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407b9560
// > ??> @ 0x14092942c
//
// This function is hookable on this platform (idp: pc, 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:32:56 +0000
//
__int64 __fastcall NewsPopup::ccTouchEnded(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rcx
char v7; // si
__int64 v8; // rax
__int64 v9; // rcx
__int64 v10; // rax
v5 = *(_QWORD *)(a1 + 392);
if ( v5 && *(_BYTE *)(v5 + 480) )
{
v7 = 1;
LABEL_5:
ScrollableContentLayer::handleTouchEnded(v5, a2);
goto LABEL_6;
}
v7 = 0;
if ( v5 )
goto LABEL_5;
LABEL_6:
if ( *(_BYTE *)(a1 + 408) )
{
v8 = *(_QWORD *)(a1 + 400);
if ( v8 )
{
v9 = v8 + 320;
v10 = *(_QWORD *)(v8 + 320);
if ( v7 )
(*(void (__fastcall **)(__int64, __int64, __int64))(v10 + 32))(v9, a2, a3);
else
(*(void (__fastcall **)(__int64, __int64, __int64))(v10 + 24))(v9, a2, a3);
*(_BYTE *)(a1 + 408) = 0;
}
}
return FLAlertLayer::ccTouchEnded(a1, a2);
}