//
// PlayLayer::timeForPos from 0x10011e794 to 0x10011e808 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x10078fdd8
//
// 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 PlayLayer::timeForPos(PlayLayer *a1, cocos2d::CCPoint a2, int a3, int a4, bool a5, int a6)
{
char v6; // w19
int v11; // [xsp+0h] [xbp-30h]
__int64 v12; // [xsp+8h] [xbp-28h] BYREF
cocos2d::CCPoint v13; // 0:s0.4,4:s1.4
v6 = a6;
v13.x = sub_1000229B8(&v12, *(__int64 **)&a3);
LOBYTE(v11) = 0;
return LevelTools::timeForPos(
v13,
(cocos2d::CCArray *)&v12,
(int)a1->m_speedObjects,
a1->m_levelSettings->m_startSpeed,
a4,
a5,
v6,
a1->m_player1->m_isPlatformer,
0,
v11);
}