//
// LevelEditorLayer::timeForPos from 0x100361a74 to 0x100361ae4 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f4350
//
// 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 __fastcall LevelEditorLayer::timeForPos(
LevelEditorLayer *a1,
cocos2d::CCPoint a2,
int a3,
int a4,
bool a5,
int a6)
{
char v6; // w20
DrawGridLayer *m_drawGridLayer; // x23
__int64 v11; // [xsp+8h] [xbp-38h] BYREF
cocos2d::CCPoint v12; // 0:s0.4,4:s1.4
v6 = a6;
m_drawGridLayer = a1->m_drawGridLayer;
v12.x = sub_1000229B8(&v11, *(__int64 **)&a3);
return DrawGridLayer::timeForPos(m_drawGridLayer, v12, (int)&v11, a4, a5, v6, 0, 0);
}