//
// EditorUI::xPosFromValue from 0x10002ef10 to 0x10002ef85 (117 bytes)
//
// 0 xrefs:
//
// 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)
{
int SectionCount; // eax
int v3; // ecx
float XMin; // [rsp+10h] [rbp-10h]
XMin = EditorUI::getXMin(a1, 0);
SectionCount = LevelEditorLayer::getSectionCount(a1->m_editorLayer);
v3 = 100;
if ( SectionCount >= 101 )
v3 = SectionCount;
return (float)((float)(((float (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getScale)(a1->m_editorLayer->m_objectLayer)
* (float)((float)v3 * 100.0))
* a2)
- XMin;
}