// // cocos2d::extension::CCControlStepper::ccTouchMoved from 0x5a7e18 to 0x5a7eb8 (160 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControlStepper::ccTouchMoved @ 0x5a7ec4 // // 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 cocos2d::extension::CCControlStepper::ccTouchMoved( cocos2d::extension::CCControlStepper *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { cocos2d::CCPoint v5; // r1 cocos2d::extension::CCControlStepper_vtbl *v6; // r0 cocos2d::CCPoint v7; // [sp+4h] [bp-18h] BYREF cocos2d::CCPoint v8; // [sp+Ch] [bp-10h] BYREF if ( ((int (__fastcall *)(cocos2d::extension::CCControlStepper *, cocos2d::CCTouch *, cocos2d::CCEvent *))a1->isTouchInside)( a1, a2, a3) ) { a1->getTouchLocation(&v7, a1, a2); cocos2d::CCPoint::CCPoint(&v8, &v7); LODWORD(v5.x) = &v8; cocos2d::extension::CCControlStepper::updateLayoutUsingTouchLocation(a1, v5); if ( !LOBYTE(a1[1].m_fRotationY) ) { LOBYTE(a1[1].m_fRotationY) = 1; if ( BYTE1(a1[1].m_eObjType) ) cocos2d::extension::CCControlStepper::startAutorepeat(a1); } } else { LOBYTE(a1[1].m_fRotationY) = 0; v6 = a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; LODWORD(a1[1].m_fScaleX) = 2; (*((void (__fastcall **)(cocos2d::extension::CCControlStepper_vtbl *, void *))v6->copyWithZone + 118))( v6, &unk_9AE1A4); (*(void (__fastcall **)(unsigned int, void *))(*(_DWORD *)a1[1].m_uID + 472))(a1[1].m_uID, &unk_9AE1A4); if ( BYTE1(a1[1].m_eObjType) ) cocos2d::extension::CCControlStepper::stopAutorepeat(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source