{"type": "func", "start": 6443418688, "end": 6443418974, "name": "sub_1800EC440", "pseudocode": "// \n// sub_1800EC440 from 0x1800ec440 to 0x1800ec55e (286 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18016ba18\n// > <???> @ 0x180200218\n// > <???> @ 0x180200224\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:19 +0000\n// \n\n__int64 __fastcall sub_1800EC440(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int a5, int a6, int a7, int a8)\n{\n  bool v10; // al\n  float v12[1024]; // [rsp+40h] [rbp-1028h] BYREF\n\n  memset(v12, 0, sizeof(v12));\n  *(_QWORD *)(a1 + 192) = a2;\n  v10 = a5 == 1 || a7 == 1;\n  *(_BYTE *)(a1 + 16) = v10;\n  *(_DWORD *)(a1 + 8) = a6;\n  *(_DWORD *)(a1 + 12) = a8;\n  sub_1800580D0(a1 + 24, a2, 1.0);\n  sub_180057C90(v12, *(_BYTE *)(a1 + 16), *(_DWORD *)(a1 + 12), *(_DWORD *)(a1 + 8), 1.0);\n  sub_18005A650((_QWORD *)(a1 + 24), (__int64)v12, *(_DWORD *)(a1 + 12), *(_DWORD *)(a1 + 8), 32, 0, 0);\n  sub_18005A600(a1 + 24, 1.0, 0, 0);\n  return 0;\n}", "assembly": "; \n; sub_1800EC440 from 0x1800ec440 to 0x1800ec55e (286 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18016ba18\n; > <???> @ 0x180200218\n; > <???> @ 0x180200224\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:19 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1800ec440\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800ec445\npush    rdi                                                            ; +0xa, 0x1800ec44a\nmov     eax, 1060h                                                     ; +0xb, 0x1800ec44b\ncall    __alloca_probe                                                 ; +0x10, 0x1800ec450\nsub     rsp, rax                                                       ; +0x15, 0x1800ec455\nmovaps  [rsp+1068h+var_18], xmm6                                       ; +0x18, 0x1800ec458\nmov     rax, cs:__security_cookie                                      ; +0x20, 0x1800ec460\nxor     rax, rsp                                                       ; +0x27, 0x1800ec467\nmov     [rsp+1068h+var_28], rax                                        ; +0x2a, 0x1800ec46a\nmov     rsi, rdx                                                       ; +0x32, 0x1800ec472\nmov     rdi, rcx                                                       ; +0x35, 0x1800ec475\nxor     edx, edx; Val                                                  ; +0x38, 0x1800ec478\nlea     rcx, [rsp+1068h+var_1028]; void *                              ; +0x3a, 0x1800ec47a\nmov     r8d, 1000h; Size                                               ; +0x3f, 0x1800ec47f\ncall    memset                                                         ; +0x45, 0x1800ec485\ncmp     [rsp+1068h+arg_20], 1                                          ; +0x4a, 0x1800ec48a\nmov     [rdi+0C0h], rsi                                                ; +0x52, 0x1800ec492\njz      short loc_1800EC4A9                                            ; +0x59, 0x1800ec499\ncmp     [rsp+1068h+arg_30], 1                                          ; +0x5b, 0x1800ec49b\njz      short loc_1800EC4A9                                            ; +0x63, 0x1800ec4a3\nxor     al, al                                                         ; +0x65, 0x1800ec4a5\njmp     short loc_1800EC4AB                                            ; +0x67, 0x1800ec4a7\nmov     al, 1                                                          ; +0x69, 0x1800ec4a9\nmovss   xmm6, cs:dword_180145744                                       ; +0x6b, 0x1800ec4ab\nlea     rcx, [rdi+18h]                                                 ; +0x73, 0x1800ec4b3\nmov     [rdi+10h], al                                                  ; +0x77, 0x1800ec4b7\nmovaps  xmm2, xmm6                                                     ; +0x7a, 0x1800ec4ba\nmov     eax, [rsp+1068h+arg_28]                                        ; +0x7d, 0x1800ec4bd\nmov     rdx, rsi                                                       ; +0x84, 0x1800ec4c4\nmov     [rdi+8], eax                                                   ; +0x87, 0x1800ec4c7\nmov     eax, [rsp+1068h+arg_38]                                        ; +0x8a, 0x1800ec4ca\nmov     [rdi+0Ch], eax                                                 ; +0x91, 0x1800ec4d1\ncall    sub_1800580D0                                                  ; +0x94, 0x1800ec4d4\nmov     r9d, [rdi+8]                                                   ; +0x99, 0x1800ec4d9\nlea     rcx, [rsp+1068h+var_1028]                                      ; +0x9d, 0x1800ec4dd\nmov     r8d, [rdi+0Ch]                                                 ; +0xa2, 0x1800ec4e2\nmovzx   edx, byte ptr [rdi+10h]                                        ; +0xa6, 0x1800ec4e6\nmovss   [rsp+1068h+var_1048], xmm6                                     ; +0xaa, 0x1800ec4ea\ncall    sub_180057C90                                                  ; +0xb0, 0x1800ec4f0\nmov     r9d, [rdi+8]                                                   ; +0xb5, 0x1800ec4f5\nlea     rdx, [rsp+1068h+var_1028]                                      ; +0xb9, 0x1800ec4f9\nmov     r8d, [rdi+0Ch]                                                 ; +0xbe, 0x1800ec4fe\nlea     rcx, [rdi+18h]                                                 ; +0xc2, 0x1800ec502\nmov     [rsp+1068h+var_1038], 0                                        ; +0xc6, 0x1800ec506\nmov     [rsp+1068h+var_1040], 0                                        ; +0xcb, 0x1800ec50b\nmov     [rsp+1068h+var_1048], 20h ; ' '                                ; +0xd3, 0x1800ec513\ncall    sub_18005A650                                                  ; +0xdb, 0x1800ec51b\nxor     r9d, r9d                                                       ; +0xe0, 0x1800ec520\nlea     rcx, [rdi+18h]                                                 ; +0xe3, 0x1800ec523\nxor     r8d, r8d                                                       ; +0xe7, 0x1800ec527\nmovaps  xmm1, xmm6                                                     ; +0xea, 0x1800ec52a\ncall    sub_18005A600                                                  ; +0xed, 0x1800ec52d\nxor     eax, eax                                                       ; +0xf2, 0x1800ec532\nmov     rcx, [rsp+1068h+var_28]                                        ; +0xf4, 0x1800ec534\nxor     rcx, rsp; StackCookie                                          ; +0xfc, 0x1800ec53c\ncall    __security_check_cookie                                        ; +0xff, 0x1800ec53f\nlea     r11, [rsp+1068h+var_8]                                         ; +0x104, 0x1800ec544\nmov     rbx, [r11+20h]                                                 ; +0x10c, 0x1800ec54c\nmov     rsi, [r11+28h]                                                 ; +0x110, 0x1800ec550\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x114, 0x1800ec554\nmov     rsp, r11                                                       ; +0x119, 0x1800ec559\npop     rdi                                                            ; +0x11c, 0x1800ec55c\nretn                                                                   ; +0x11d, 0x1800ec55d", "xrefs": ["<???> @ 0x18016ba18", "<???> @ 0x180200218", "<???> @ 0x180200224"], "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"}