// // cocos2d::extension::CCControlStepper::ccTouchMoved from 0xaa4d30 to 0xaa4e48 (280 bytes) // // 3 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControlStepper::ccTouchMoved @ 0xaa4e4c // > @ 0xc60c0 // > @ 0x11f8da8 // // 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) { int v5; // w0 cocos2d::extension::CCControlStepper_vtbl *v6; // x0 cocos2d::CCObject *(__fastcall *copyWithZone)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // x2 cocos2d::CCPoint v8; // [xsp+38h] [xbp+38h] BYREF cocos2d::CCPoint v9; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCPoint v10; // 0:s0.4,4:s1.4 if ( ((unsigned __int8 (__fastcall *)(cocos2d::extension::CCControlStepper *))a1->isTouchInside)(a1) ) { ((void (__fastcall *)(cocos2d::CCPoint *__return_ptr, cocos2d::extension::CCControlStepper *, cocos2d::CCTouch *))a1->getTouchLocation)( &v8, a1, a2); cocos2d::CCPoint::CCPoint(&v9, &v8); cocos2d::extension::CCControlStepper::updateLayoutUsingTouchLocation(a1, v10); if ( !LOBYTE(a1[1].m_fVertexZ) ) { v5 = BYTE1(a1[1].m_unknown2); LOBYTE(a1[1].m_fVertexZ) = 1; if ( v5 ) cocos2d::extension::CCControlStepper::startAutorepeat(a1); } } else { v6 = a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; copyWithZone = v6->copyWithZone; LOBYTE(a1[1].m_fVertexZ) = 0; LODWORD(a1[1].m_obPosition.x) = 2; (*((void (__fastcall **)(cocos2d::extension::CCControlStepper_vtbl *, _UNKNOWN **))copyWithZone + 118))( v6, &off_F16320); (*(void (__fastcall **)(_QWORD, _UNKNOWN **))(**(_QWORD **)&a1[1].m_uID + 944LL))( *(_QWORD *)&a1[1].m_uID, &off_F16320); if ( BYTE1(a1[1].m_unknown2) ) cocos2d::extension::CCControlStepper::stopAutorepeat(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source