// // GJBaseGameLayer::getEasedAreaValue from 0x100143a90 to 0x100143b94 (260 bytes) // // 4 xrefs: // > GJBaseGameLayer::processAreaTransformGroupAction @ 0x100141bb0 // > GJBaseGameLayer::processAreaRotateGroupAction @ 0x100141e34 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100142222 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100142322 // // 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 // // local variable allocation has failed, the output may be wrong! float __fastcall GJBaseGameLayer::getEasedAreaValue( GJBaseGameLayer *a1, GameObject *a2, EnterEffectInstance *a3, float a4, bool a5, int a6) { EnterEffectObject *m_gameObject; // rax __int64 v7; // rsi std::__vector_base::pointer begin; // r8 int m_easeIndex; // edx int m_easingOutBuffer; // ecx __m128 v11; // xmm1 m_gameObject = a3->m_gameObject; if ( !m_gameObject->m_easeOutEnabled ) goto LABEL_6; if ( a4 > 0.0099999998 && a4 < 0.99000001 ) { v7 = a6; begin = a3->m_easeIndices.__begin_; m_easeIndex = a3->m_easeIndex; *(_DWORD *)&a5 = begin[v7] != m_easeIndex - 2 && (a5 || begin[v7] == m_easeIndex - 1); begin[v7] = a5 + m_easeIndex; } if ( !a5 ) { m_easingOutBuffer = m_gameObject->m_easingOutBuffer; if ( m_easingOutBuffer != -1 ) { if ( m_easingOutBuffer == -2 ) return GameToolbox::getEasedValue(a4, m_gameObject->m_easingOutType, m_gameObject->m_easingOutRate); goto LABEL_13; } } else { LABEL_6: m_easingOutBuffer = m_gameObject->m_easingInBuffer; if ( m_easingOutBuffer != -1 ) { if ( m_easingOutBuffer == -2 ) return GameToolbox::getEasedValue(a4, m_gameObject->m_easingInType, m_gameObject->m_easingInRate); LABEL_13: v11 = *(__m128 *)&a4; v11.f32[0] = a4 * 100.0; return (float)((float)((float)((float)(_mm_cvtepi32_ps(_mm_cvttps_epi32(v11)).f32[0] * -0.0099999998) + a4) * (float)(a1->m_enterEasingValues.__begin_[(int)(float)(a4 * 100.0) + 1 + m_easingOutBuffer] - a1->m_enterEasingValues.__begin_[(int)(float)(a4 * 100.0) + m_easingOutBuffer])) * 100.0) + a1->m_enterEasingValues.__begin_[(int)(float)(a4 * 100.0) + m_easingOutBuffer]; } } return a4; }