//
// NewsPopup::ccTouchEnded from 0x6c1630 to 0x6c167e (78 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'NewsPopup::ccTouchEnded @ 0x6c1682
//
// 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:56:50 +0000
//
int __fastcall NewsPopup::ccTouchEnded(int a1, cocos2d::CCTouch *a2)
{
clock_t v3; // r0
int v5; // r7
int *v6; // r0
int v7; // r3
void (*v8)(void); // r3
v3 = *(_DWORD *)(a1 + 548);
if ( v3 )
{
v5 = *(unsigned __int8 *)(v3 + 376);
ScrollableContentLayer::handleTouchEnded(v3, a2);
}
else
{
v5 = 0;
}
if ( *(_BYTE *)(a1 + 556) )
{
v6 = *(int **)(a1 + 552);
if ( v6 )
{
v7 = *v6;
if ( v5 )
v8 = *(void (**)(void))(v7 + 460);
else
v8 = *(void (**)(void))(v7 + 456);
v8();
*(_BYTE *)(a1 + 556) = 0;
}
}
return FLAlertLayer::ccTouchEnded(a1, (int)a2);
}