//
// GameObject::slopeYPos from 0x770990 to 0x7709f0 (96 bytes)
//
// 3 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x75b210
// > GameObject::slopeYPos @ 0x770a3c
// > ??> @ 0x5d790
//
// This function is hookable on this platform (idp: arm, 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:53:12 +0000
//
__int64 __fastcall GameObject::slopeYPos(GameObject *a1, cocos2d::CCRect *a2)
{
char v3; // w0
float v4; // s0
GameObject *v5; // x0
v3 = GameObject::slopeFloorTop(a1);
if ( !*((_BYTE *)a1 + 1080) )
{
if ( !v3 )
goto LABEL_3;
LABEL_6:
cocos2d::CCRect::getMinX(a2);
v5 = a1;
return GameObject::slopeYPos(v5, v4);
}
if ( !v3 )
goto LABEL_6;
LABEL_3:
cocos2d::CCRect::getMaxX(a2);
v5 = a1;
return GameObject::slopeYPos(v5, v4);
}