//
// LevelEditorLayer::timeForPos from 0x1402de7f0 to 0x1402de89a (170 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405863b8
// > ??> @ 0x1406d3428
//
// 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 LevelEditorLayer::timeForPos(LevelEditorLayer *a1, cocos2d::CCPoint a2, int a3, int a4, bool a5, int a6)
{
DrawGridLayer *m_drawGridLayer; // rdi
LevelSettingsObject *m_levelSettings; // rbx
cocos2d::CCPoint v11; // rax
cocos2d::CCPoint v13; // [rsp+50h] [rbp-18h] BYREF
cocos2d::CCPoint v14; // [rsp+70h] [rbp+8h] BYREF
cocos2d::CCPoint::CCPoint(&v14);
m_drawGridLayer = a1->m_drawGridLayer;
m_levelSettings = m_drawGridLayer->m_editorLayer->m_levelSettings;
cocos2d::CCPoint::CCPoint(&v13);
return LevelTools::timeForPos(
v11,
m_drawGridLayer->m_speedObjects,
m_levelSettings->m_startSpeed,
a3,
a4,
a5,
m_levelSettings->m_platformerMode,
0,
0,
a6);
}