// // GameObject::slopeYPos_2 from 0x1005c9920 to 0x1005c998e (110 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // double __fastcall GameObject::slopeYPos_2(GameObject *a1) { __int64 v1; // rsi unsigned __int64 *v2; // rax unsigned int m_slopeDirection; // eax int v4; // ecx double v5; // xmm0_8 __m128 v7; // [rsp+8h] [rbp-18h] BYREF v2 = (unsigned __int64 *)(*(__int64 (__fastcall **)())(*(_QWORD *)v1 + 1312LL))(); sub_10028D180(&v7, v2); m_slopeDirection = a1->m_slopeDirection; if ( m_slopeDirection > 6 || (v4 = 106, !_bittest(&v4, m_slopeDirection)) ) { if ( !a1->m_slopeUphill ) goto LABEL_4; LABEL_6: v5 = sub_10028D270((unsigned int *)&v7); return GameObject::slopeYPos(a1, *(float *)&v5); } if ( !a1->m_slopeUphill ) goto LABEL_6; LABEL_4: v5 = sub_10028D230(v7.f32); return GameObject::slopeYPos(a1, *(float *)&v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source