//
// PlayLayer::timeForPos from 0x5c9068 to 0x5c9114 (172 bytes)
//
// 2 xrefs:
// > ??> @ 0x801d8
// > ??> @ 0x1148a70
//
// 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 PlayLayer::timeForPos(PlayLayer *a1, cocos2d::CCPoint a2, int a3, int a4, bool a5, int a6)
{
char v8; // w22
int v10; // [xsp+0h] [xbp-10h]
cocos2d::CCPoint v12; // [xsp+60h] [xbp+50h] BYREF
cocos2d::CCPoint v13; // 0:s0.4,4:s1.4
v8 = a6;
cocos2d::CCPoint::CCPoint(&v12, *(const cocos2d::CCPoint **)&a3);
LOBYTE(v10) = 0;
return LevelTools::timeForPos(
v13,
(cocos2d::CCArray *)&v12,
(int)a1->m_speedObjects,
a1->m_levelSettings->m_startSpeed,
a4,
a5,
v8,
a1->m_player1->m_isPlatformer,
0,
v10);
}