// // CCCounterLabel::calculateStepSize from 0x2e5832 to 0x2e5872 (64 bytes) // // 1 xrefs: // > CCCounterLabel::setTargetCount @ 0x2e587e // // 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 CCCounterLabel::calculateStepSize(CCCounterLabel *a1, int a2) { int v2; // s14 float v3; // s15 float v4; // s13 v2 = a2; v3 = (float)a1->m_targetCount - (float)a1->m_currentCount; v4 = fabsf(v3); if ( v4 < (float)a2 ) v2 = (int)v4; a1->m_stepSize = (int)(float)(v3 / (float)v2); }