//
// LevelEditorLayer::timeForPos from 0x1000c3e50 to 0x1000c3edc (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ac3e90
//
// This function is hookable on this platform (idp: pc, 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 12:20:35 +0000
//
__int64 __fastcall LevelEditorLayer::timeForPos(__int64 a1, __int64 a2, int a3, int a4, int a5, __int64 a6)
{
__int64 v8; // r14
_BYTE v10[8]; // [rsp+8h] [rbp-48h] BYREF
_BYTE v11[8]; // [rsp+10h] [rbp-40h] BYREF
__int64 v12; // [rsp+18h] [rbp-38h]
int v13; // [rsp+24h] [rbp-2Ch]
v12 = a6;
v13 = a5;
v8 = *(_QWORD *)(a1 + 14288);
sub_1002782D0(v11, a2);
sub_1002782D0(v10, v11);
return LevelTools::timeForPos(
(unsigned int)v10,
*(_QWORD *)(v8 + 560),
*(_DWORD *)(*(_QWORD *)(*(_QWORD *)(v8 + 496) + 3272LL) + 332LL),
a3,
a4,
v13,
*(_BYTE *)(*(_QWORD *)(*(_QWORD *)(v8 + 496) + 3272LL) + 341LL),
0,
0,
v12);
}