//
// CCCounterLabel::calculateStepSize from 0x3c5572 to 0x3c55b2 (64 bytes)
//
// 1 xrefs:
// > CCCounterLabel::setTargetCount @ 0x3c55be
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:46:34 +0000
//
_DWORD *__fastcall CCCounterLabel::calculateStepSize(_DWORD *this, int a2)
{
int v2; // s14
float v3; // s15
float v4; // s13
v2 = a2;
v3 = (float)(int)*(this + 96) - (float)(int)*(this + 97);
v4 = fabsf(v3);
if ( v4 < (float)a2 )
v2 = (int)v4;
*(this + 95) = (int)(float)(v3 / (float)v2);
return this;
}