//
// GJBaseGameLayer::getTargetFlyCameraY from 0x100102ba0 to 0x100102c16 (118 bytes)
//
// 0 xrefs:
//
// 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:21:21 +0000
//
double __fastcall GJBaseGameLayer::getTargetFlyCameraY(__int64 a1, __int64 a2)
{
__int64 v2; // rax
double result; // xmm0_8
_BYTE v4[4]; // [rsp+8h] [rbp-8h] BYREF
unsigned int v5; // [rsp+Ch] [rbp-4h]
if ( *(_BYTE *)(a1 + 1010) == 1 && ((v2 = *(_QWORD *)(a1 + 984)) != 0 || (v2 = *(_QWORD *)(a1 + 12432)) != 0) )
{
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 1816LL))(v4, v2);
*(_QWORD *)&result = v5;
}
else if ( a2 || (a2 = *(_QWORD *)(a1 + 12432)) != 0 )
{
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)a2 + 1816LL))(v4);
*(_QWORD *)&result = v5;
}
else
{
return 0.0;
}
return result;
}