// // OBB2D::computeAxes from 0x1005f37d0 to 0x1005f3921 (337 bytes) // // 1 xrefs: // > OBB2D::calculateWithCenter @ 0x1005f37a6 // // 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 // void __fastcall OBB2D::computeAxes(OBB2D *a1) { __m128 v2; // xmm0 __m128 v3; // xmm0 double v4[5]; // [rsp+8h] [rbp-28h] BYREF sub_10028CD00(v4, (unsigned __int64 *)&a1->m_corners.__elems_[1], (unsigned __int64 *)&a1->m_corners); sub_10028CC90(&a1->m_edges, v4); sub_10028CD00(v4, (unsigned __int64 *)&a1->m_corners.__elems_[3], (unsigned __int64 *)&a1->m_corners); sub_10028CC90(&a1->m_edges.__elems_[1], v4); v2 = (__m128)0x3F800000u; v2.f32[0] = 1.0 / (float)((float)(a1->m_edges.__elems_[0].x * a1->m_edges.__elems_[0].x) + (float)(a1->m_edges.__elems_[0].y * a1->m_edges.__elems_[0].y)); sub_10028CD40(v4, (unsigned __int64 *)&a1->m_edges, v2); sub_10028CC90(&a1->m_edges, v4); a1->m_projections.__elems_[0] = (float)((float)(a1->m_corners.__elems_[0].x * a1->m_edges.__elems_[0].x) + (float)(a1->m_corners.__elems_[0].y * a1->m_edges.__elems_[0].y)); v3 = (__m128)0x3F800000u; v3.f32[0] = 1.0 / (float)((float)(a1->m_edges.__elems_[1].x * a1->m_edges.__elems_[1].x) + (float)(a1->m_edges.__elems_[1].y * a1->m_edges.__elems_[1].y)); sub_10028CD40(v4, (unsigned __int64 *)&a1->m_edges.__elems_[1], v3); sub_10028CC90(&a1->m_edges.__elems_[1], v4); a1->m_projections.__elems_[1] = (float)((float)(a1->m_corners.__elems_[0].x * a1->m_edges.__elems_[1].x) + (float)(a1->m_corners.__elems_[0].y * a1->m_edges.__elems_[1].y)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source