// // EditorUI::sliderChanged from 0x1003c6e90 to 0x1003c6f24 (148 bytes) // // 1 xrefs: // > EditorUI::init @ 0x1003c4f64 // // 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 EditorUI::sliderChanged(EditorUI *a1, cocos2d::CCObject *a2) { float Value; // s0 cocos2d::CCLayer *m_objectLayer; // x20 float v5; // s8 __n128 v6; // q1 __n128 v7; // q0 int v8; // [xsp+8h] [xbp-28h] BYREF Value = SliderThumb::getValue((SliderThumb *)a2); m_objectLayer = a1->m_editorLayer->m_objectLayer; v5 = -EditorUI::xPosFromValue(a1, Value); v6.n128_u32[0] = *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getPosition)(a1->m_editorLayer->m_objectLayer) + 4); v7.n128_f32[0] = v5; sub_100022980(v7, v6, &v8); ((void (__fastcall *)(cocos2d::CCLayer *, int *))m_objectLayer->setPosition)(m_objectLayer, &v8); EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source