// // BoomScrollLayer::ccTouchBegan from 0x1003a6e70 to 0x1003a6f43 (211 bytes) // // 2 xrefs: // > sub_1003A6F50 @ 0x1003a6f5c // > @ 0x100927530 // // 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 BoomScrollLayer::ccTouchBegan(BoomScrollLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { double v3; // xmm1_8 cocos2d::CCDirector *v5; // rax double v6; // xmm0_8 __int64 v7; // [rsp-40h] [rbp-40h] BYREF timeb v8[3]; // [rsp-38h] [rbp-38h] BYREF if ( *((_BYTE *)&a1->m_clippingRect + 16) ) return 0; cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)&v7); v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v8, (const cocos2d::CCPoint *)v5); v6 = sub_10028CC90(&v7, (double *)&v8[0].time); if ( !sub_10028D2D0((float *)&a1->m_rect.origin, v6, v3, (float *)&v7) || a1->m_touch ) return 0; a1->m_touch = a2; ftime(v8); a1->m_touchTime = (double)(v8[0].millitm + 1000 * (v8[0].time & 0xFFFFF)) / 1000.0; LODWORD(a1->m_touchX) = v7; a1->m_touchType = 0; return 1; }