// // cocos2d::extension::CCControlSwitch::ccTouchMoved from 0x5a4c30 to 0x5a4c8e (94 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCControlSwitch::ccTouchMoved @ 0x5a4c98 // // 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::CCControlSwitch::ccTouchMoved( cocos2d::extension::CCControlSwitch *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { int v4; // r2 bool v5; // r3 cocos2d::CCSprite *v6; // r0 cocos2d::CCPoint v7; // [sp+4h] [bp+0h] BYREF cocos2d::CCPoint v8; // [sp+Ch] [bp+8h] BYREF cocos2d::extension::CCControlSwitch::locationFromTouch(&v7, a1, a2); cocos2d::CCPoint::CCPoint(&v8, v7.x - *(float *)&a1[1].m_uID, 0.0); cocos2d::CCPoint::operator=((PlayerObject *)&v7, COERCE_FLOAT(&v8), v4, v5); v6 = (cocos2d::CCSprite *)a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; LOBYTE(a1[1].m_nLuaID) = 1; cocos2d::extension::CCControlSwitchSprite::setSliderXPosition(v6, v7.x); }
GD Web Decomp Icon

GD Web Decomp

Raw Source