{"type": "func", "start": 458380, "end": 458432, "name": "sub_6FE8C", "pseudocode": "// \n// sub_6FE8C from 0x6fe8c to 0x6fec0 (52 bytes)\n// \n// 1 xrefs:\n// > sub_6FE44 @ 0x6fe68\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:59 +0000\n// \n\n__int64 __fastcall sub_6FE8C(__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 <= 8 )\n    return 8;\n  else\n    return (unsigned int)v3;\n}", "assembly": "; \n; sub_6FE8C from 0x6fe8c to 0x6fec0 (52 bytes)\n; \n; 1 xrefs:\n; > sub_6FE44 @ 0x6fe68\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:59 +0000\n; \nLDR             W8, [X0,#0xC]                                          ; +0x0, 0x6fe8c\nFMOV            S0, #1.5                                               ; +0x4, 0x6fe90\nMOV             W9, #8                                                 ; +0x8, 0x6fe94\nCMP             W8, #0                                                 ; +0xc, 0x6fe98\nCNEG            W8, W8, MI                                             ; +0x10, 0x6fe9c\nSCVTF           S1, W8                                                 ; +0x14, 0x6fea0\nFMUL            S0, S1, S0                                             ; +0x18, 0x6fea4\nFCVTZS          W8, S0                                                 ; +0x1c, 0x6fea8\nCMP             W8, W1                                                 ; +0x20, 0x6feac\nCSEL            W8, W1, W8, LT                                         ; +0x24, 0x6feb0\nCMP             W8, #8                                                 ; +0x28, 0x6feb4\nCSEL            W0, W8, W9, GT                                         ; +0x2c, 0x6feb8\nRET                                                                    ; +0x30, 0x6febc", "xrefs": ["sub_6FE44 @ 0x6fe68"], "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"}