{"type": "func", "start": 6443405600, "end": 6443405801, "name": "sub_1800E9120", "pseudocode": "// \n// sub_1800E9120 from 0x1800e9120 to 0x1800e91e9 (201 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18018de04\n// > <???> @ 0x18018de14\n// > <???> @ 0x1801afe28\n// > <???> @ 0x180200008\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_1800E9120(__int64 *a1, int a2, float **a3, _DWORD *a4, _BYTE *a5)\n{\n  __int64 v8; // rbx\n  float *v9; // rdi\n\n  if ( a2 != 19 )\n    return 31;\n  v8 = *a1;\n  v9 = (float *)(*a1 + 580);\n  sub_1800F7420(\n    *(_DWORD *)(*a1 + 956),\n    19,\n    (_DWORD)a3,\n    (_DWORD)a4,\n    (__int64)v9,\n    *(_DWORD *)(*(_QWORD *)(*a1 + 168) + 69112LL));\n  *v9 = (float)(*(float *)(v8 + 976) * *v9) + (float)(1.0 - *(float *)(v8 + 976));\n  *a3 = v9;\n  *a4 = 8;\n  if ( a5 )\n    *a5 = 0;\n  return 0;\n}", "assembly": "; \n; sub_1800E9120 from 0x1800e9120 to 0x1800e91e9 (201 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18018de04\n; > <???> @ 0x18018de14\n; > <???> @ 0x1801afe28\n; > <???> @ 0x180200008\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_10], rsi                                              ; +0x0, 0x1800e9120\npush    r14                                                            ; +0x5, 0x1800e9125\nsub     rsp, 30h                                                       ; +0x7, 0x1800e9127\nmov     rsi, r9                                                        ; +0xb, 0x1800e912b\nmov     r14, r8                                                        ; +0xe, 0x1800e912e\ncmp     edx, 13h                                                       ; +0x11, 0x1800e9131\njz      short loc_1800E9147                                            ; +0x14, 0x1800e9134\nmov     eax, 1Fh                                                       ; +0x16, 0x1800e9136\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x1b, 0x1800e913b\nadd     rsp, 30h                                                       ; +0x20, 0x1800e9140\npop     r14                                                            ; +0x24, 0x1800e9144\nretn                                                                   ; +0x26, 0x1800e9146\nmov     [rsp+38h+arg_0], rbx                                           ; +0x27, 0x1800e9147\nmov     rbx, [rcx]                                                     ; +0x2c, 0x1800e914c\nmov     [rsp+38h+arg_8], rdi                                           ; +0x2f, 0x1800e914f\nmov     rax, [rbx+0A8h]                                                ; +0x34, 0x1800e9154\nlea     rdi, [rbx+244h]                                                ; +0x3b, 0x1800e915b\nmovss   xmm3, dword ptr [rbx+3C4h]                                     ; +0x42, 0x1800e9162\nmovss   xmm2, dword ptr [rbx+3C0h]                                     ; +0x4a, 0x1800e916a\nmovss   xmm1, dword ptr [rbx+3F0h]                                     ; +0x52, 0x1800e9172\nmovss   xmm0, dword ptr [rax+10DF8h]                                   ; +0x5a, 0x1800e917a\nmov     ecx, [rbx+3BCh]                                                ; +0x62, 0x1800e9182\nmovss   [rsp+38h+var_10], xmm0                                         ; +0x68, 0x1800e9188\nmov     [rsp+38h+var_18], rdi                                          ; +0x6e, 0x1800e918e\ncall    sub_1800F7420                                                  ; +0x73, 0x1800e9193\nmovss   xmm1, dword ptr [rbx+3D0h]                                     ; +0x78, 0x1800e9198\nmovss   xmm0, cs:dword_180145744                                       ; +0x80, 0x1800e91a0\nmovaps  xmm2, xmm1                                                     ; +0x88, 0x1800e91a8\nmulss   xmm2, dword ptr [rdi]                                          ; +0x8b, 0x1800e91ab\nsubss   xmm0, xmm1                                                     ; +0x8f, 0x1800e91af\nmov     rax, [rsp+38h+arg_20]                                          ; +0x93, 0x1800e91b3\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x98, 0x1800e91b8\naddss   xmm2, xmm0                                                     ; +0x9d, 0x1800e91bd\nmovss   dword ptr [rdi], xmm2                                          ; +0xa1, 0x1800e91c1\nmov     [r14], rdi                                                     ; +0xa5, 0x1800e91c5\nmov     rdi, [rsp+38h+arg_8]                                           ; +0xa8, 0x1800e91c8\nmov     dword ptr [rsi], 8                                             ; +0xad, 0x1800e91cd\ntest    rax, rax                                                       ; +0xb3, 0x1800e91d3\njz      short loc_1800E91DB                                            ; +0xb6, 0x1800e91d6\nmov     byte ptr [rax], 0                                              ; +0xb8, 0x1800e91d8\nmov     rsi, [rsp+38h+arg_10]                                          ; +0xbb, 0x1800e91db\nxor     eax, eax                                                       ; +0xc0, 0x1800e91e0\nadd     rsp, 30h                                                       ; +0xc2, 0x1800e91e2\npop     r14                                                            ; +0xc6, 0x1800e91e6\nretn                                                                   ; +0xc8, 0x1800e91e8", "xrefs": ["<???> @ 0x18018de04", "<???> @ 0x18018de14", "<???> @ 0x1801afe28", "<???> @ 0x180200008"], "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"}