//
// PlayLayer::timeForPos from 0x30ed74 to 0x30edd6 (98 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 PlayLayer::timeForPos(PlayLayer *a1, cocos2d::CCPoint a2, int a3, int a4, bool a5, int a6)
{
int y_low; // r7
cocos2d::CCPoint v9; // r0
int v11; // [sp+18h] [bp-10h]
cocos2d::CCPoint v12; // [sp+1Ch] [bp-Ch] BYREF
y_low = LODWORD(a2.y);
cocos2d::CCPoint::CCPoint(&v12, (const cocos2d::CCPoint *)LODWORD(a2.x));
LODWORD(v9.x) = &v12;
LODWORD(v9.y) = a1->m_speedObjects;
return LevelTools::timeForPos(
v9,
(cocos2d::CCArray *)a1->m_levelSettings->m_startSpeed,
y_low,
a3,
(unsigned __int8)a4,
a1->m_player1->m_isPlatformer,
0,
0,
0,
v11);
}