// // CreateGuidelinesLayer::ccTouchBegan from 0x10050d260 to 0x10050d2cc (108 bytes) // // 2 xrefs: // > @ 0x10095bfa0 // > @ 0x10095c6e0 // // 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; // rax cocos2d::CCSprite *m_circleSprite; // rdi int v7; // [rsp-14h] [rbp-14h] BYREF if ( a1->m_recording && a1->m_guidelines <= 1000 ) { v7 = HIDWORD(v3); ((void (__fastcall *)(CreateGuidelinesLayer *, cocos2d::CCTouch *, cocos2d::CCEvent *))a1->registerTouch)( a1, a2, a3); m_circleSprite = a1->m_circleSprite; BYTE2(v7) = 0; LOWORD(v7) = -1; ((void (__fastcall *)(cocos2d::CCSprite *, int *))m_circleSprite->setColor)(m_circleSprite, &v7); ((void (__fastcall *)(cocos2d::CCSprite *, float))a1->m_circleSprite->setScale)(a1->m_circleSprite, 0.89999998); ++a1->m_guidelines; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source