//
// GameObject::slopeYPos_1 from 0x10069b090 to 0x10069b0e0 (80 bytes)
//
// 1 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x1003f6242
//
// 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_1(__int64 a1, float *a2)
{
unsigned int v2; // eax
int v3; // ecx
float v4; // xmm0_4
v2 = *(_DWORD *)(a1 + 1084);
if ( v2 > 6 || (v3 = 106, !_bittest(&v3, v2)) )
{
if ( !*(_BYTE *)(a1 + 1080) )
goto LABEL_4;
LABEL_6:
v4 = sub_1002788E0((__int64)a2);
return GameObject::slopeYPos(a1, v4);
}
if ( !*(_BYTE *)(a1 + 1080) )
goto LABEL_6;
LABEL_4:
v4 = sub_1002788A0(a2);
return GameObject::slopeYPos(a1, v4);
}