{"type": "func", "start": 6880700, "end": 6880760, "name": "CCCounterLabel::calculateStepSize", "pseudocode": "// \n// CCCounterLabel::calculateStepSize from 0x68fdbc to 0x68fdf8 (60 bytes)\n// \n// 2 xrefs:\n// > CCCounterLabel::setTargetCount @ 0x68fe10\n// > <???> @ 0xdec40\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:35 +0000\n// \n\nfloat __fastcall CCCounterLabel::calculateStepSize(CCCounterLabel *this, int a2)\n{\n  float v2; // s2\n  float v3; // s0\n  float v4; // s1\n  float result; // s0\n\n  v2 = (float)a2;\n  v3 = (float)*((int *)this + 130) - (float)*((int *)this + 131);\n  v4 = fabsf(v3);\n  if ( (float)a2 > v4 )\n    v2 = (float)(int)v4;\n  result = v3 / v2;\n  *((_DWORD *)this + 129) = (int)result;\n  return result;\n}", "assembly": "; \n; CCCounterLabel::calculateStepSize from 0x68fdbc to 0x68fdf8 (60 bytes)\n; \n; 2 xrefs:\n; > CCCounterLabel::setTargetCount @ 0x68fe10\n; > <???> @ 0xdec40\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:35 +0000\n; \nLDR             W2, [X0,#0x208]                                        ; +0x0, 0x68fdbc\nLDR             W3, [X0,#0x20C]                                        ; +0x4, 0x68fdc0\nSCVTF           S2, W1                                                 ; +0x8, 0x68fdc4\nSCVTF           S1, W2                                                 ; +0xc, 0x68fdc8\nSCVTF           S0, W3                                                 ; +0x10, 0x68fdcc\nFSUB            S0, S1, S0                                             ; +0x14, 0x68fdd0\nFABS            S1, S0                                                 ; +0x18, 0x68fdd4\nFCMPE           S2, S1                                                 ; +0x1c, 0x68fdd8\nB.LE            loc_68FDE8                                             ; +0x20, 0x68fddc\nFCVTZS          W1, S1                                                 ; +0x24, 0x68fde0\nSCVTF           S2, W1                                                 ; +0x28, 0x68fde4\nFDIV            S0, S0, S2                                             ; +0x2c, 0x68fde8\nFCVTZS          W1, S0                                                 ; +0x30, 0x68fdec\nSTR             W1, [X0,#0x204]                                        ; +0x34, 0x68fdf0\nRET                                                                    ; +0x38, 0x68fdf4", "xrefs": ["CCCounterLabel::setTargetCount @ 0x68fe10", "<???> @ 0xdec40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}