// // EditorUI::xPosFromValue from 0x68f740 to 0x68f7b8 (120 bytes) // // 2 xrefs: // > EditorUI::sliderChanged @ 0x68f804 // > @ 0x31890 // // 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 EditorUI::xPosFromValue(EditorUI *a1, float a2) { float XMin; // s8 int SectionCount; // w19 float v6; // s0 XMin = EditorUI::getXMin(a1, 0); SectionCount = LevelEditorLayer::getSectionCount(a1->m_editorLayer); a1->m_editorLayer->m_objectLayer->getScale(a1->m_editorLayer->m_objectLayer); if ( SectionCount < 100 ) SectionCount = 100; return -(float)(XMin - (float)((float)((float)((float)SectionCount * 100.0) * v6) * a2)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source