//
// CreateGuidelinesLayer::ccTouchEnded from 0x14009b770 to 0x14009b7ca (90 bytes)
//
// 3 xrefs:
// > ??> @ 0x1405424f0
// > ??> @ 0x1405429d8
// > ??> @ 0x1406c74d0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void CreateGuidelinesLayer::ccTouchEnded(CreateGuidelinesLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
void (__fastcall ***v4)(_QWORD, __int16 *, cocos2d::CCEvent *); // rcx
__int16 v5; // [rsp+30h] [rbp+8h] BYREF
char v6; // [rsp+32h] [rbp+Ah]
if ( BYTE4(a1->m_pScriptTouchHandlerEntry) )
{
v4 = (void (__fastcall ***)(_QWORD, __int16 *, cocos2d::CCEvent *))(*(_QWORD *)&a1->m_bTouchEnabled + 320LL);
v5 = -26881;
v6 = 0;
(**v4)(v4, &v5, a3);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_bTouchEnabled + 160LL))(*(_QWORD *)&a1->m_bTouchEnabled);
}
}