// // CreateGuidelinesLayer::ccTouchBegan from 0x3087ac to 0x30881a (110 bytes) // // 1 xrefs: // > `non-virtual thunk to'CreateGuidelinesLayer::ccTouchBegan @ 0x308828 // // 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 CreateGuidelinesLayer::ccTouchBegan(CreateGuidelinesLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { cocos2d::CCSprite *m_circleSprite; // r0 void (__fastcall *setColor)(cocos2d::CCSprite *__hidden, const cocos2d::ccColor3B *); // r2 _DWORD v7[3]; // [sp+0h] [bp-Ch] BYREF v7[0] = a1; v7[1] = a2; v7[2] = a3; if ( a1->m_recording && a1->m_guidelines <= 1000 ) { a1->registerTouch(a1); m_circleSprite = a1->m_circleSprite; setColor = m_circleSprite->setColor; LOWORD(v7[0]) = -1; BYTE2(v7[0]) = 0; setColor(m_circleSprite, (const cocos2d::ccColor3B *)v7); ((void (__fastcall *)(cocos2d::CCSprite *, int))a1->m_circleSprite->setScale)(a1->m_circleSprite, 1063675494); ++a1->m_guidelines; } return 1; }