{"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!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \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_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}