{"type": "func", "start": 3954034, "end": 3954098, "name": "CCCounterLabel::calculateStepSize", "pseudocode": "// \n// CCCounterLabel::calculateStepSize from 0x3c5572 to 0x3c55b2 (64 bytes)\n// \n// 1 xrefs:\n// > CCCounterLabel::setTargetCount @ 0x3c55be\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:34 +0000\n// \n\n_DWORD *__fastcall CCCounterLabel::calculateStepSize(_DWORD *this, int a2)\n{\n  int v2; // s14\n  float v3; // s15\n  float v4; // s13\n\n  v2 = a2;\n  v3 = (float)(int)*(this + 96) - (float)(int)*(this + 97);\n  v4 = fabsf(v3);\n  if ( v4 < (float)a2 )\n    v2 = (int)v4;\n  *(this + 95) = (int)(float)(v3 / (float)v2);\n  return this;\n}", "assembly": "; \n; CCCounterLabel::calculateStepSize from 0x3c5572 to 0x3c55b2 (64 bytes)\n; \n; 1 xrefs:\n; > CCCounterLabel::setTargetCount @ 0x3c55be\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:34 +0000\n; \nVLDR            S15, [R0,#0x180]                                       ; +0x0, 0x3c5572\nVLDR            S13, [R0,#0x184]                                       ; +0x4, 0x3c5576\nVCVT.F32.S32    S15, S15                                               ; +0x8, 0x3c557a\nVMOV            S14, R1                                                ; +0xc, 0x3c557e\nVCVT.F32.S32    S13, S13                                               ; +0x10, 0x3c5582\nVSUB.F32        S15, S15, S13                                          ; +0x14, 0x3c5586\nVCVT.F32.S32    S12, S14                                               ; +0x18, 0x3c558a\nVABS.F32        S13, S15                                               ; +0x1c, 0x3c558e\nVCMPE.F32       S13, S12                                               ; +0x20, 0x3c5592\nVMRS            APSR_nzcv, FPSCR                                       ; +0x24, 0x3c5596\nIT MI                                                                  ; +0x28, 0x3c559a\nVCVTMI.S32.F32  S14, S13                                               ; +0x2a, 0x3c559c\nVCVT.F32.S32    S14, S14                                               ; +0x2e, 0x3c55a0\nVDIV.F32        S15, S15, S14                                          ; +0x32, 0x3c55a4\nVCVT.S32.F32    S15, S15                                               ; +0x36, 0x3c55a8\nVSTR            S15, [R0,#0x17C]                                       ; +0x3a, 0x3c55ac\nBX              LR                                                     ; +0x3e, 0x3c55b0", "xrefs": ["CCCounterLabel::setTargetCount @ 0x3c55be"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}