{"type": "func", "start": 6443536512, "end": 6443536660, "name": "sub_180109080", "pseudocode": "// \n// sub_180109080 from 0x180109080 to 0x180109114 (148 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801b07f8\n// > <???> @ 0x1802016a0\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_180109080(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)\n{\n  __int64 v5; // rbx\n  float v9; // xmm1_4\n  float v10; // xmm0_4\n\n  v5 = *a1;\n  if ( a2 != 4 )\n    return 31;\n  v9 = *(float *)(v5 + 756);\n  if ( v9 > -80.0 )\n    v10 = powf(10.0, v9 * 0.050000001);\n  else\n    v10 = 0.0;\n  *(float *)(v5 + 768) = v10;\n  *a3 = v5 + 764;\n  *a4 = 8;\n  if ( a5 )\n    *a5 = 0;\n  return 0;\n}", "assembly": "; \n; sub_180109080 from 0x180109080 to 0x180109114 (148 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801b07f8\n; > <???> @ 0x1802016a0\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180109080\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180109085\npush    rdi                                                            ; +0xa, 0x18010908a\nsub     rsp, 20h                                                       ; +0xb, 0x18010908b\nmov     rbx, [rcx]                                                     ; +0xf, 0x18010908f\nmov     rdi, r9                                                        ; +0x12, 0x180109092\nmov     rsi, r8                                                        ; +0x15, 0x180109095\ncmp     edx, 4                                                         ; +0x18, 0x180109098\njz      short loc_1801090B2                                            ; +0x1b, 0x18010909b\nmov     eax, 1Fh                                                       ; +0x1d, 0x18010909d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x22, 0x1801090a2\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x27, 0x1801090a7\nadd     rsp, 20h                                                       ; +0x2c, 0x1801090ac\npop     rdi                                                            ; +0x30, 0x1801090b0\nretn                                                                   ; +0x31, 0x1801090b1\nmovss   xmm1, dword ptr [rbx+2F4h]                                     ; +0x32, 0x1801090b2\ncomiss  xmm1, cs:dword_1801674C8                                       ; +0x3a, 0x1801090ba\nja      short loc_1801090C8                                            ; +0x41, 0x1801090c1\nxorps   xmm0, xmm0                                                     ; +0x43, 0x1801090c3\njmp     short loc_1801090DD                                            ; +0x46, 0x1801090c6\nmulss   xmm1, cs:dword_180164A1C; Y                                    ; +0x48, 0x1801090c8\nmovss   xmm0, cs:flt_180145764; X                                      ; +0x50, 0x1801090d0\ncall    powf                                                           ; +0x58, 0x1801090d8\nlea     rax, [rbx+2FCh]                                                ; +0x5d, 0x1801090dd\nmovss   dword ptr [rbx+300h], xmm0                                     ; +0x64, 0x1801090e4\nmov     [rsi], rax                                                     ; +0x6c, 0x1801090ec\nmov     rax, [rsp+28h+arg_20]                                          ; +0x6f, 0x1801090ef\nmov     dword ptr [rdi], 8                                             ; +0x74, 0x1801090f4\ntest    rax, rax                                                       ; +0x7a, 0x1801090fa\njz      short loc_180109102                                            ; +0x7d, 0x1801090fd\nmov     byte ptr [rax], 0                                              ; +0x7f, 0x1801090ff\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x82, 0x180109102\nxor     eax, eax                                                       ; +0x87, 0x180109107\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x89, 0x180109109\nadd     rsp, 20h                                                       ; +0x8e, 0x18010910e\npop     rdi                                                            ; +0x92, 0x180109112\nretn                                                                   ; +0x93, 0x180109113", "xrefs": ["<???> @ 0x1801b07f8", "<???> @ 0x1802016a0"], "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"}