//
// PlayLayer::timeForPos from 0x1000b9be0 to 0x1000b9c52 (114 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b7398
//
// 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 __fastcall PlayLayer::timeForPos(PlayLayer *a1, cocos2d::CCPoint a2, int a3, int a4, bool a5, int a6)
{
__int64 v6; // rax
char v7; // bl
cocos2d::CCPoint v10; // xmm0_8
_QWORD v12[6]; // [rsp+0h] [rbp-30h] BYREF
v12[0] = v6;
v7 = a6;
*(double *)&v10 = sub_10028CC60(v12);
return LevelTools::timeForPos(
v10,
(cocos2d::CCArray *)v12,
(int)a1->m_speedObjects,
a1->m_levelSettings->m_startSpeed,
a4,
a5,
v7,
a1->m_player1->m_isPlatformer,
0,
0);
}