{"type": "func", "start": 445958, "end": 446004, "name": "sub_6CE06", "pseudocode": "// \n// sub_6CE06 from 0x6ce06 to 0x6ce34 (46 bytes)\n// \n// 1 xrefs:\n// > sub_6CDDE @ 0x6cdf2\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:40:58 +0000\n// \n\nint __fastcall sub_6CE06(int a1, int a2)\n{\n  int v2; // r0\n  int result; // r0\n\n  v2 = *(_DWORD *)(a1 + 8);\n  if ( v2 < 0 )\n    v2 = -v2;\n  result = (int)(float)((float)v2 * 1.5);\n  if ( result < a2 )\n    result = a2;\n  if ( result <= 5 )\n    return 5;\n  return result;\n}", "assembly": "; \n; sub_6CE06 from 0x6ce06 to 0x6ce34 (46 bytes)\n; \n; 1 xrefs:\n; > sub_6CDDE @ 0x6cdf2\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:40:58 +0000\n; \nLDR             R0, [R0,#8]                                            ; +0x0, 0x6ce06\nCMP             R0, #0                                                 ; +0x2, 0x6ce08\nBPL             loc_6CE0E                                              ; +0x4, 0x6ce0a\nNEGS            R0, R0                                                 ; +0x6, 0x6ce0c\nVMOV            S0, R0                                                 ; +0x8, 0x6ce0e\nVMOV.F32        S2, #1.5                                               ; +0xc, 0x6ce12\nVCVT.F32.S32    S0, S0                                                 ; +0x10, 0x6ce16\nVMUL.F32        S0, S0, S2                                             ; +0x14, 0x6ce1a\nVCVT.S32.F32    S0, S0                                                 ; +0x18, 0x6ce1e\nVMOV            R0, S0                                                 ; +0x1c, 0x6ce22\nCMP             R0, R1                                                 ; +0x20, 0x6ce26\nIT LT                                                                  ; +0x22, 0x6ce28\nMOVLT           R0, R1                                                 ; +0x24, 0x6ce2a\nCMP             R0, #5                                                 ; +0x26, 0x6ce2c\nIT LE                                                                  ; +0x28, 0x6ce2e\nMOVLE           R0, #5                                                 ; +0x2a, 0x6ce30\nBX              LR                                                     ; +0x2c, 0x6ce32", "xrefs": ["sub_6CDDE @ 0x6cdf2"], "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"}