//
// CCCounterLabel::calculateStepSize from 0x100511910 to 0x100511956 (70 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
//
void __fastcall CCCounterLabel::calculateStepSize(CCCounterLabel *a1, int a2)
{
__m128 v2; // xmm0
float v3; // xmm0_4
float v4; // xmm1_4
int v5; // eax
v2 = _mm_cvtepi32_ps((__m128i)*(unsigned __int64 *)&a1->m_targetCount);
v3 = v2.f32[0] - _mm_movehdup_ps(v2).f32[0];
v4 = fabs(v3);
v5 = (int)v4;
if ( (float)a2 <= v4 )
v5 = a2;
a1->m_stepSize = (int)(float)(v3 / (float)v5);
}