// // EditorUI::xPosFromValue from 0x1003e742c to 0x1003e74a8 (124 bytes) // // 1 xrefs: // > EditorUI::sliderChanged @ 0x1003c6ebc // // 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 // float __fastcall EditorUI::xPosFromValue(EditorUI *a1, float a2) { float XMin; // s9 int SectionCount; // w0 unsigned int v6; // w8 XMin = EditorUI::getXMin(a1, 0); SectionCount = LevelEditorLayer::getSectionCount(a1->m_editorLayer); if ( SectionCount <= 100 ) v6 = 100; else v6 = SectionCount; return -(float)(XMin - (float)((float)((float)((float)v6 * 100.0) * ((float (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getScale)(a1->m_editorLayer->m_objectLayer)) * a2)); }