// // OBB2D::computeAxes from 0x10012ceb8 to 0x10012cf98 (224 bytes) // // 1 xrefs: // > OBB2D::calculateWithCenter @ 0x10012ce94 // // 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) { __int64 v2; // x23 char v3; // w8 char v4; // w24 float32x2_t *v5; // x21 float32x2_t v6; // [xsp+8h] [xbp-48h] BYREF sub_1000229F0((float32x2_t *)&a1->m_corners.__elems_[1], (float32x2_t *)&a1->m_corners, &v6); sub_1000229D0(&a1->m_edges, (double *)&v6); sub_1000229F0((float32x2_t *)&a1->m_corners.__elems_[3], (float32x2_t *)&a1->m_corners, &v6); sub_1000229D0(&a1->m_edges.__elems_[1], (double *)&v6); v2 = 0; v3 = 1; do { v4 = v3; v5 = (float32x2_t *)&a1->m_edges.__elems_[v2]; sub_100022A14(v5, &v6, 1.0 / (float)((float)(v5->f32[1] * v5->f32[1]) + (float)(v5->f32[0] * v5->f32[0]))); sub_1000229D0(v5, (double *)&v6); v3 = 0; a1->m_projections.__elems_[v2] = (float)((float)(a1->m_corners.__elems_[0].y * v5->f32[1]) + (float)(a1->m_corners.__elems_[0].x * v5->f32[0])); v2 = 1; } while ( (v4 & 1) != 0 ); }
GD Web Decomp Icon

GD Web Decomp

Raw Source