{"type": "func", "start": 415872, "end": 415924, "name": "sub_65880", "pseudocode": "// \n// sub_65880 from 0x65880 to 0x658b4 (52 bytes)\n// \n// 1 xrefs:\n// > sub_65838 @ 0x6585c\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:13:55 +0000\n// \n\n__int64 __fastcall sub_65880(__int64 a1, int a2)\n{\n  int v2; // w8\n  int v3; // w8\n\n  v2 = *(_DWORD *)(a1 + 12);\n  if ( v2 < 0 )\n    v2 = -v2;\n  v3 = (int)(float)((float)v2 * 1.5);\n  if ( v3 < a2 )\n    v3 = a2;\n  if ( v3 <= 4 )\n    return 4;\n  else\n    return (unsigned int)v3;\n}", "assembly": "; \n; sub_65880 from 0x65880 to 0x658b4 (52 bytes)\n; \n; 1 xrefs:\n; > sub_65838 @ 0x6585c\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:13:55 +0000\n; \nLDR             W8, [X0,#0xC]                                          ; +0x0, 0x65880\nFMOV            S0, #1.5                                               ; +0x4, 0x65884\nMOV             W9, #4                                                 ; +0x8, 0x65888\nCMP             W8, #0                                                 ; +0xc, 0x6588c\nCNEG            W8, W8, MI                                             ; +0x10, 0x65890\nSCVTF           S1, W8                                                 ; +0x14, 0x65894\nFMUL            S0, S1, S0                                             ; +0x18, 0x65898\nFCVTZS          W8, S0                                                 ; +0x1c, 0x6589c\nCMP             W8, W1                                                 ; +0x20, 0x658a0\nCSEL            W8, W1, W8, LT                                         ; +0x24, 0x658a4\nCMP             W8, #4                                                 ; +0x28, 0x658a8\nCSEL            W0, W8, W9, GT                                         ; +0x2c, 0x658ac\nRET                                                                    ; +0x30, 0x658b0", "xrefs": ["sub_65838 @ 0x6585c"], "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"}