//
// ScrollableContentLayer::feedTouchEnded from 0x6e294c to 0x6e29b8 (108 bytes)
//
// 6 xrefs:
// > PagedListPopup::ccTouchEnded @ 0xc3a4d8
// > SFXFolderPickerPopup::ccTouchEnded @ 0xc3a764
// > ThreadViewPopup::ccTouchEnded @ 0xc7751c
// > ThreadViewPopup::ccTouchEnded @ 0xc77560
// > IDNameBrowserPopup::ccTouchEnded @ 0xcdd81c
// > ??> @ 0x49cf0
//
// 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 12:51:40 +0000
//
__int64 __fastcall ScrollableContentLayer::feedTouchEnded(__int64 a1, cocos2d::CCTouch *a2)
{
int v3; // w21
__int64 result; // x0
v3 = *(unsigned __int8 *)(a1 + 480);
ScrollableContentLayer::handleTouchEnded(a1, a2);
result = *(_QWORD *)(a1 + 576);
if ( result )
{
if ( v3 )
return ScrollableContentLayer::itemTouchCancelled(a1);
else
return ScrollableContentLayer::itemTouchEnded(a1);
}
return result;
}