//
// GameObject::slopeYPos_2 from 0x10069b020 to 0x10069b08e (110 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:35:16 +0000
//
double __fastcall GameObject::slopeYPos_2(__int64 a1, __int64 a2)
{
unsigned __int64 *v2; // rax
unsigned int v3; // eax
int v4; // ecx
float v5; // xmm0_4
__m128 v7; // [rsp+8h] [rbp-18h] BYREF
v2 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1328LL))(a2);
sub_1002787F0(&v7, v2);
v3 = *(_DWORD *)(a1 + 1084);
if ( v3 > 6 || (v4 = 106, !_bittest(&v4, v3)) )
{
if ( !*(_BYTE *)(a1 + 1080) )
goto LABEL_4;
LABEL_6:
v5 = sub_1002788E0((__int64)&v7);
return GameObject::slopeYPos(a1, v5);
}
if ( !*(_BYTE *)(a1 + 1080) )
goto LABEL_6;
LABEL_4:
v5 = sub_1002788A0(v7.f32);
return GameObject::slopeYPos(a1, v5);
}