//
// CCScrollLayerExt::touchInsideClip from 0x6959f4 to 0x695a88 (148 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'CCScrollLayerExt::touchInsideClip @ 0x695a8c
// > ??> @ 0xf8ef0
// > ??> @ 0x1418790
// > ??> @ 0x1418e60
//
// 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:50:37 +0000
//
__int64 __fastcall CCScrollLayerExt::touchInsideClip(CCScrollLayerExt *this, const cocos2d::CCPoint *a2)
{
unsigned int v4; // w1
_QWORD v6[2]; // [xsp+48h] [xbp+48h] BYREF
_BYTE v7[16]; // [xsp+58h] [xbp+58h] BYREF
v4 = 1;
if ( *((_BYTE *)this + 496) )
{
CCScrollLayerExt::scissorRect(this, (cocos2d::CCRect *)v7);
GameToolbox::worldClipRect(v6, this, v7);
return (unsigned __int8)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v6, a2);
}
return v4;
}