//
// LevelEditorLayer::timeForPos from 0x1403fd120 to 0x1403fd1cf (175 bytes)
//
// 2 xrefs:
// > ??> @ 0x14078b2b8
// > ??> @ 0x1409257d8
//
// 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 11:31:53 +0000
//
double __fastcall LevelEditorLayer::timeForPos(
__int64 a1,
const struct cocos2d::CCPoint *a2,
int a3,
int a4,
char a5,
int a6)
{
__int64 v9; // r10
__int64 v10; // rsi
__int64 v11; // rdx
int v12; // edi
const struct cocos2d::CCPoint *v13; // rax
int v14; // eax
_BYTE v16[16]; // [rsp+50h] [rbp-28h] BYREF
char v17; // [rsp+80h] [rbp+8h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, a2);
v9 = *(_QWORD *)(a1 + 14944);
v10 = *(_QWORD *)(v9 + 592);
v11 = *(_QWORD *)(*(_QWORD *)(v9 + 520) + 3528LL);
LOBYTE(a1) = *(_BYTE *)(v11 + 341);
v12 = *(_DWORD *)(v11 + 332);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v13);
return LevelTools::timeForPos(v14, v10, v12, a3, a4, a5, a1, 0, 0, a6);
}