//
// ThreadViewPopup::ccTouchEnded from 0xc774d4 to 0xc77598 (196 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ThreadViewPopup::ccTouchEnded @ 0xc7759c
// > ??> @ 0xbd6a0
// > ??> @ 0x14ec8a0
//
// 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 13:05:33 +0000
//
__int64 __fastcall ThreadViewPopup::ccTouchEnded(ThreadViewPopup *this, cocos2d::CCTouch *a2)
{
__int64 v4; // x0
int v5; // w22
v4 = *((_QWORD *)this + 103);
if ( v4 )
{
if ( *(_BYTE *)(v4 + 480) )
{
v5 = 1;
if ( *(_QWORD *)(v4 + 576) )
{
LABEL_4:
ScrollableContentLayer::feedTouchEnded(v4, a2);
return FLAlertLayer::ccTouchEnded((__int64)this, (__int64)a2);
}
}
else
{
v5 = 0;
if ( *(_QWORD *)(v4 + 576) )
goto LABEL_4;
}
ScrollableContentLayer::feedTouchEnded(v4, a2);
if ( v5 )
return FLAlertLayer::ccTouchEnded((__int64)this, (__int64)a2);
}
ThreadViewPopup::checkMessageTap((cocos2d::CCNode **)this, a2);
return FLAlertLayer::ccTouchEnded((__int64)this, (__int64)a2);
}