//
// GJBaseGameLayer::getTargetFlyCameraY from 0x58eef8 to 0x58ef5a (98 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::animateInDualGroundNew @ 0x5b8a9e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:04 +0000
//
int __fastcall GJBaseGameLayer::getTargetFlyCameraY(GJBaseGameLayer *this, GameObject *a2, int a3, int a4)
{
int v5; // r1
GameObject *v7; // [sp+4h] [bp-Ch] BYREF
int v8; // [sp+8h] [bp-8h]
int v9; // [sp+Ch] [bp-4h]
v7 = a2;
v8 = a3;
v9 = a4;
if ( *((_BYTE *)this + 866) )
{
v5 = *((_DWORD *)this + 211);
if ( !v5 )
{
v5 = *((_DWORD *)this + 2680);
if ( !v5 )
{
if ( !a2 )
return 0;
goto LABEL_6;
}
}
goto LABEL_8;
}
if ( a2 )
{
LABEL_6:
(*(void (__fastcall **)(GameObject **, GameObject *))(*(_DWORD *)a2 + 908))(&v7, a2);
return v8;
}
v5 = *((_DWORD *)this + 2680);
if ( v5 )
{
LABEL_8:
(*(void (__fastcall **)(GameObject **))(*(_DWORD *)v5 + 908))(&v7);
return v8;
}
return 0;
}