//
// NewsPopup::ccTouchMoved from 0xb8a478 to 0xb8a534 (188 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'NewsPopup::ccTouchMoved @ 0xb8a538
// > ??> @ 0xa42f0
// > ??> @ 0x14d6198
//
// 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:02:33 +0000
//
__int64 __fastcall NewsPopup::ccTouchMoved(__int64 a1, cocos2d::CCTouch *a2, __int64 a3)
{
ScrollableContentLayer *v6; // x0
__int64 v7; // x0
__int64 v9; // x0
v6 = *(ScrollableContentLayer **)(a1 + 712);
if ( v6
&& (ScrollableContentLayer::handleTouchMoved(v6, a2),
(unsigned __int8)ScrollableContentLayer::consumePendingCancel(*(ScrollableContentLayer **)(a1 + 712))) )
{
if ( *(_BYTE *)(a1 + 728) )
{
v7 = *(_QWORD *)(a1 + 720);
if ( v7 )
{
(*(void (__fastcall **)(__int64, cocos2d::CCTouch *, __int64))(*(_QWORD *)v7 + 920LL))(v7, a2, a3);
*(_BYTE *)(a1 + 728) = 0;
}
}
return FLAlertLayer::ccTouchCancelled(a1, (__int64)a2);
}
else
{
if ( *(_BYTE *)(a1 + 728) )
{
v9 = *(_QWORD *)(a1 + 720);
if ( v9 )
(*(void (__fastcall **)(__int64, cocos2d::CCTouch *, __int64))(*(_QWORD *)v9 + 904LL))(v9, a2, a3);
}
return FLAlertLayer::ccTouchMoved(a1, (__int64)a2);
}
}