{"type": "func", "start": 6443458544, "end": 6443458699, "name": "sub_1800F5FF0", "pseudocode": "// \n// sub_1800F5FF0 from 0x1800f5ff0 to 0x1800f608b (155 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801b0130\n// > <???> @ 0x180200980\n// \n// This function is hookable on this platform (idp: pc, 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 10:54:23 +0000\n// \n\n__int64 __fastcall sub_1800F5FF0(__int64 a1, int a2, float a3)\n{\n  __int64 v3; // rbx\n  int v4; // edx\n\n  v3 = *(_QWORD *)(a1 + 8);\n  v4 = a2 - 1;\n  if ( v4 )\n  {\n    if ( v4 == 1 )\n    {\n      if ( a3 > -80.0 )\n        *(float *)(v3 + 44) = powf(10.0, a3 * 0.050000001);\n      else\n        *(_DWORD *)(v3 + 44) = 0;\n      return 0;\n    }\n    else\n    {\n      return 31;\n    }\n  }\n  else\n  {\n    if ( a3 > -80.0 )\n      *(float *)(v3 + 40) = powf(10.0, a3 * 0.050000001);\n    else\n      *(_DWORD *)(v3 + 40) = 0;\n    return 0;\n  }\n}", "assembly": "; \n; sub_1800F5FF0 from 0x1800f5ff0 to 0x1800f608b (155 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801b0130\n; > <???> @ 0x180200980\n; \n; This function is hookable on this platform (idp: pc, 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 10:54:23 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800f5ff0\nsub     rsp, 20h                                                       ; +0x2, 0x1800f5ff2\nmov     rbx, [rcx+8]                                                   ; +0x6, 0x1800f5ff6\nsub     edx, 1                                                         ; +0xa, 0x1800f5ffa\njz      short loc_1800F604D                                            ; +0xd, 0x1800f5ffd\ncmp     edx, 1                                                         ; +0xf, 0x1800f5fff\njz      short loc_1800F600F                                            ; +0x12, 0x1800f6002\nmov     eax, 1Fh                                                       ; +0x14, 0x1800f6004\nadd     rsp, 20h                                                       ; +0x19, 0x1800f6009\npop     rbx                                                            ; +0x1d, 0x1800f600d\nretn                                                                   ; +0x1e, 0x1800f600e\ncomiss  xmm2, cs:dword_1801674C8                                       ; +0x1f, 0x1800f600f\nja      short loc_1800F6028                                            ; +0x26, 0x1800f6016\nxorps   xmm0, xmm0                                                     ; +0x28, 0x1800f6018\nxor     eax, eax                                                       ; +0x2b, 0x1800f601b\nmovss   dword ptr [rbx+2Ch], xmm0                                      ; +0x2d, 0x1800f601d\nadd     rsp, 20h                                                       ; +0x32, 0x1800f6022\npop     rbx                                                            ; +0x36, 0x1800f6026\nretn                                                                   ; +0x37, 0x1800f6027\nmulss   xmm2, cs:dword_180164A1C                                       ; +0x38, 0x1800f6028\nmovss   xmm0, cs:flt_180145764; X                                      ; +0x40, 0x1800f6030\nmovaps  xmm1, xmm2; Y                                                  ; +0x48, 0x1800f6038\ncall    powf                                                           ; +0x4b, 0x1800f603b\nmovss   dword ptr [rbx+2Ch], xmm0                                      ; +0x50, 0x1800f6040\nxor     eax, eax                                                       ; +0x55, 0x1800f6045\nadd     rsp, 20h                                                       ; +0x57, 0x1800f6047\npop     rbx                                                            ; +0x5b, 0x1800f604b\nretn                                                                   ; +0x5c, 0x1800f604c\ncomiss  xmm2, cs:dword_1801674C8                                       ; +0x5d, 0x1800f604d\nja      short loc_1800F6066                                            ; +0x64, 0x1800f6054\nxorps   xmm0, xmm0                                                     ; +0x66, 0x1800f6056\nxor     eax, eax                                                       ; +0x69, 0x1800f6059\nmovss   dword ptr [rbx+28h], xmm0                                      ; +0x6b, 0x1800f605b\nadd     rsp, 20h                                                       ; +0x70, 0x1800f6060\npop     rbx                                                            ; +0x74, 0x1800f6064\nretn                                                                   ; +0x75, 0x1800f6065\nmulss   xmm2, cs:dword_180164A1C                                       ; +0x76, 0x1800f6066\nmovss   xmm0, cs:flt_180145764; X                                      ; +0x7e, 0x1800f606e\nmovaps  xmm1, xmm2; Y                                                  ; +0x86, 0x1800f6076\ncall    powf                                                           ; +0x89, 0x1800f6079\nmovss   dword ptr [rbx+28h], xmm0                                      ; +0x8e, 0x1800f607e\nxor     eax, eax                                                       ; +0x93, 0x1800f6083\nadd     rsp, 20h                                                       ; +0x95, 0x1800f6085\npop     rbx                                                            ; +0x99, 0x1800f6089\nretn                                                                   ; +0x9a, 0x1800f608a", "xrefs": ["<???> @ 0x1801b0130", "<???> @ 0x180200980"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}