//
// CreateGuidelinesLayer::ccTouchBegan from 0x10007de5c to 0x10007def0 (148 bytes)
//
// 3 xrefs:
// > sub_10007DEF0 @ 0x10007defc
// > ??> @ 0x10077a6f0
// > ??> @ 0x10077ae30
//
// 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
//
bool __fastcall CreateGuidelinesLayer::ccTouchBegan(
CreateGuidelinesLayer *a1,
cocos2d::CCTouch *a2,
cocos2d::CCEvent *a3)
{
__int64 v3; // x29
__int64 v4; // x30
cocos2d::CCSprite *m_circleSprite; // x0
__int16 v8; // [xsp+Ch] [xbp-24h] BYREF
char v9; // [xsp+Eh] [xbp-22h]
__int64 v10; // [xsp+20h] [xbp-10h]
__int64 v11; // [xsp+28h] [xbp-8h]
if ( a1->m_recording )
{
v10 = v3;
v11 = v4;
if ( a1->m_guidelines <= 1000 )
{
((void (__fastcall *)(CreateGuidelinesLayer *, cocos2d::CCTouch *, cocos2d::CCEvent *))a1->registerTouch)(
a1,
a2,
a3);
m_circleSprite = a1->m_circleSprite;
v9 = 0;
v8 = -1;
((void (__fastcall *)(cocos2d::CCSprite *, __int16 *))m_circleSprite->setColor)(m_circleSprite, &v8);
((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_circleSprite->setScale)(a1->m_circleSprite, 0.9);
++a1->m_guidelines;
}
}
return 1;
}