// // GameObject::slopeYPos_1 from 0x1005c9990 to 0x1005c99e0 (80 bytes) // // 1 xrefs: // > PlayerObject::collidedWithObjectInternal @ 0x1004090c2 // // 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_1(GameObject *a1, cocos2d::CCRect a2) { unsigned int *v2; // rsi unsigned int m_slopeDirection; // eax int v4; // ecx double v5; // xmm0_8 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(v2); return GameObject::slopeYPos(a1, *(float *)&v5); } if ( !a1->m_slopeUphill ) goto LABEL_6; LABEL_4: v5 = sub_10028D230((float *)v2); return GameObject::slopeYPos(a1, *(float *)&v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source