{"type": "func", "start": 648336, "end": 648402, "name": "sub_9E490", "pseudocode": "// \n// sub_9E490 from 0x9e490 to 0x9e4d2 (66 bytes)\n// \n// 0 xrefs:\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\nint __fastcall sub_9E490(int a1)\n{\n  float v1; // s0\n  int v2; // s2\n\n  v1 = (float)(*(float *)(a1 + 524) * 0.00000095367) * (float)*(unsigned int *)(a1 + 44);\n  if ( v1 > 1000000.0 )\n    v1 = 1000000.0;\n  v2 = 0;\n  if ( v1 >= 0.0 )\n    return LODWORD(v1);\n  return v2;\n}", "assembly": "; \n; sub_9E490 from 0x9e490 to 0x9e4d2 (66 bytes)\n; \n; 0 xrefs:\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\nVLDR            S0, [R0,#0x2C]                                         ; +0x0, 0x9e490\nVLDR            S2, [R0,#0x20C]                                        ; +0x4, 0x9e494\nVLDR            S4, =9.5367e-7                                         ; +0x8, 0x9e498\nVCVT.F32.U32    S0, S0                                                 ; +0xc, 0x9e49c\nVMUL.F32        S2, S2, S4                                             ; +0x10, 0x9e4a0\nVMUL.F32        S0, S2, S0                                             ; +0x14, 0x9e4a4\nVLDR            S2, =1000000.0                                         ; +0x18, 0x9e4a8\nVCMPE.F32       S0, S2                                                 ; +0x1c, 0x9e4ac\nVMRS            APSR_nzcv, FPSCR                                       ; +0x20, 0x9e4b0\nIT GT                                                                  ; +0x24, 0x9e4b4\nVMOVGT.F32      S0, S2                                                 ; +0x26, 0x9e4b6\nVCMPE.F32       S0, #0.0                                               ; +0x2a, 0x9e4ba\nVLDR            S2, =0.0                                               ; +0x2e, 0x9e4be\nVMRS            APSR_nzcv, FPSCR                                       ; +0x32, 0x9e4c2\nIT GE                                                                  ; +0x36, 0x9e4c6\nVMOVGE.F32      S2, S0                                                 ; +0x38, 0x9e4c8\nVMOV            R0, S2                                                 ; +0x3c, 0x9e4cc\nBX              LR                                                     ; +0x40, 0x9e4d0", "xrefs": [], "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"}