//
// PlayLayer::timeForPos from 0x10014780c to 0x100147880 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008df990
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:59:35 +0000
//
__int64 __fastcall PlayLayer::timeForPos(_QWORD *a1, double *a2, __int64 a3, __int64 a4, __int64 a5)
{
double v9; // d0
unsigned int v11; // [xsp+0h] [xbp-30h]
__int64 v12; // [xsp+8h] [xbp-28h] BYREF
v9 = sub_1000262F4(&v12, a2);
LOBYTE(v11) = 0;
return LevelTools::timeForPos(
&v12,
a1[1782],
*(unsigned int *)(a1[409] + 332LL),
a3,
a4,
a5,
*(unsigned __int8 *)(a1[407] + 2832LL),
0,
v9,
v11);
}