//
// LevelEditorLayer::timeForPos from 0x36c184 to 0x36c1d6 (82 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 LevelEditorLayer::timeForPos(LevelEditorLayer *a1, cocos2d::CCPoint a2, int a3, int a4, bool a5, int a6)
{
float y; // r7
DrawGridLayer *m_drawGridLayer; // r8
cocos2d::CCPoint v9; // r1
int v11; // [sp+10h] [bp-10h]
cocos2d::CCPoint v12; // [sp+14h] [bp-Ch] BYREF
y = a2.y;
m_drawGridLayer = a1->m_drawGridLayer;
cocos2d::CCPoint::CCPoint(&v12, (const cocos2d::CCPoint *)LODWORD(a2.x));
v9.y = y;
LODWORD(v9.x) = &v12;
return DrawGridLayer::timeForPos(m_drawGridLayer, v9, a3, (unsigned __int8)a4, 0, 0, a5, v11);
}