//
// ScrollableContentLayer::feedTouchEnded from 0x3f504c to 0x3f507c (48 bytes)
//
// 4 xrefs:
// > PagedListPopup::ccTouchEnded @ 0x72ef58
// > SFXFolderPickerPopup::ccTouchEnded @ 0x72f0b8
// > ThreadViewPopup::ccTouchEnded @ 0x7526da
// > IDNameBrowserPopup::ccTouchEnded @ 0x78f2ca
//
// 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:47:16 +0000
//
clock_t __fastcall ScrollableContentLayer::feedTouchEnded(clock_t a1, cocos2d::CCTouch *a2)
{
int v3; // r7
clock_t result; // r0
v3 = *(unsigned __int8 *)(a1 + 376);
result = ScrollableContentLayer::handleTouchEnded(a1, a2);
if ( *(_DWORD *)(a1 + 440) )
{
if ( v3 )
return ScrollableContentLayer::itemTouchCancelled(a1);
else
return ScrollableContentLayer::itemTouchEnded(a1);
}
return result;
}