// // cocos2d::extension::CCControlSlider::setValue from 0x1003a0080 to 0x1003a00cc (76 bytes) // // 1 xrefs: // > @ 0x100924b80 // // 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 __fastcall cocos2d::extension::CCControlSlider::setValue(cocos2d::extension::CCControlSlider *a1, float a2) { *(float *)&a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = fminf(*(float *)&a1[1].m_uID, fmaxf(*((float *)&a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + 1), a2)); ((void (__fastcall *)(cocos2d::extension::CCControlSlider *))a1->needsLayout)(a1); ((void (__fastcall *)(cocos2d::extension::CCControlSlider *, __int64))a1->sendActionsForControlEvents)(a1, 256); }
GD Web Decomp Icon

GD Web Decomp

Raw Source