//
// LevelEditorLayer::timeForPos from 0x66735c to 0x6673e8 (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x4b2a0
// > ??> @ 0x11552e0
//
// 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
//
// local variable allocation has failed, the output may be wrong!
float LevelEditorLayer::timeForPos(LevelEditorLayer *a1, cocos2d::CCPoint a2, int a3, int a4, bool a5, int a6)
{
char v6; // w21
DrawGridLayer *m_drawGridLayer; // x22
cocos2d::CCPoint v11; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint v12; // 0:s0.4,4:s1.4
v6 = a6;
m_drawGridLayer = a1->m_drawGridLayer;
cocos2d::CCPoint::CCPoint(&v11, *(const cocos2d::CCPoint **)&a3);
return DrawGridLayer::timeForPos(m_drawGridLayer, v12, (int)&v11, a4, a5, v6, 0, 0);
}