{"type": "func", "start": 6443384448, "end": 6443384724, "name": "sub_1800E3E80", "pseudocode": "// \n// sub_1800E3E80 from 0x1800e3e80 to 0x1800e3f94 (276 bytes)\n// \n// 3 xrefs:\n// > FMOD::System::getCPUUsage @ 0x1800acd55\n// > sub_180107460 @ 0x1801074cc\n// > <???> @ 0x1801ffb7c\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_1800E3E80(__int64 a1, _DWORD *a2)\n{\n  __int128 v5; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v6; // [rsp+30h] [rbp-18h] BYREF\n\n  v6 = 0;\n  v5 = 0;\n  if ( !a2 )\n    return 31;\n  if ( !(unsigned int)sub_1800B8AC0(a1 + 1764, &v5) )\n    *a2 = v5;\n  if ( !(unsigned int)sub_1800B8AC0(a1 + 73068, (_DWORD *)&v5 + 1) )\n    a2[1] = DWORD1(v5);\n  if ( !(unsigned int)sub_1800B8AC0(a1 + 73712, (_DWORD *)&v5 + 2) )\n    a2[2] = DWORD2(v5);\n  if ( !(unsigned int)sub_1800B8AC0(a1 + 69744, (_DWORD *)&v5 + 3) )\n    a2[3] = HIDWORD(v5);\n  if ( !(unsigned int)sub_1800B8AC0(a1 + 68088, &v6) )\n    a2[4] = v6;\n  if ( !(unsigned int)sub_1800B8AC0(a1 + 68148, (_DWORD *)&v6 + 1) )\n    a2[5] = HIDWORD(v6);\n  return 0;\n}", "assembly": "; \n; sub_1800E3E80 from 0x1800e3e80 to 0x1800e3f94 (276 bytes)\n; \n; 3 xrefs:\n; > FMOD::System::getCPUUsage @ 0x1800acd55\n; > sub_180107460 @ 0x1801074cc\n; > <???> @ 0x1801ffb7c\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], rbx                                              ; +0x0, 0x1800e3e80\npush    rdi                                                            ; +0x5, 0x1800e3e85\nsub     rsp, 40h                                                       ; +0x6, 0x1800e3e86\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800e3e8a\nxor     rax, rsp                                                       ; +0x11, 0x1800e3e91\nmov     [rsp+48h+var_10], rax                                          ; +0x14, 0x1800e3e94\nxor     eax, eax                                                       ; +0x19, 0x1800e3e99\nxorps   xmm0, xmm0                                                     ; +0x1b, 0x1800e3e9b\nmov     [rsp+48h+var_18], rax                                          ; +0x1e, 0x1800e3e9e\nmov     rbx, rdx                                                       ; +0x23, 0x1800e3ea3\nmov     rdi, rcx                                                       ; +0x26, 0x1800e3ea6\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x29, 0x1800e3ea9\ntest    rdx, rdx                                                       ; +0x2e, 0x1800e3eae\njnz     short loc_1800E3EBB                                            ; +0x31, 0x1800e3eb1\nlea     eax, [rdx+1Fh]                                                 ; +0x33, 0x1800e3eb3\njmp     loc_1800E3F7C                                                  ; +0x36, 0x1800e3eb6\nadd     rcx, 6E4h                                                      ; +0x3b, 0x1800e3ebb\nlea     rdx, [rsp+48h+var_28]                                          ; +0x42, 0x1800e3ec2\ncall    sub_1800B8AC0                                                  ; +0x47, 0x1800e3ec7\ntest    eax, eax                                                       ; +0x4c, 0x1800e3ecc\njnz     short loc_1800E3EDA                                            ; +0x4e, 0x1800e3ece\nmovss   xmm0, dword ptr [rsp+48h+var_28]                               ; +0x50, 0x1800e3ed0\nmovss   dword ptr [rbx], xmm0                                          ; +0x56, 0x1800e3ed6\nlea     rcx, [rdi+11D6Ch]                                              ; +0x5a, 0x1800e3eda\nlea     rdx, [rsp+48h+var_28+4]                                        ; +0x61, 0x1800e3ee1\ncall    sub_1800B8AC0                                                  ; +0x66, 0x1800e3ee6\ntest    eax, eax                                                       ; +0x6b, 0x1800e3eeb\njnz     short loc_1800E3EFA                                            ; +0x6d, 0x1800e3eed\nmovss   xmm0, dword ptr [rsp+48h+var_28+4]                             ; +0x6f, 0x1800e3eef\nmovss   dword ptr [rbx+4], xmm0                                        ; +0x75, 0x1800e3ef5\nlea     rcx, [rdi+11FF0h]                                              ; +0x7a, 0x1800e3efa\nlea     rdx, [rsp+48h+var_28+8]                                        ; +0x81, 0x1800e3f01\ncall    sub_1800B8AC0                                                  ; +0x86, 0x1800e3f06\ntest    eax, eax                                                       ; +0x8b, 0x1800e3f0b\njnz     short loc_1800E3F1A                                            ; +0x8d, 0x1800e3f0d\nmovss   xmm0, dword ptr [rsp+48h+var_28+8]                             ; +0x8f, 0x1800e3f0f\nmovss   dword ptr [rbx+8], xmm0                                        ; +0x95, 0x1800e3f15\nlea     rcx, [rdi+11070h]                                              ; +0x9a, 0x1800e3f1a\nlea     rdx, [rsp+48h+var_28+0Ch]                                      ; +0xa1, 0x1800e3f21\ncall    sub_1800B8AC0                                                  ; +0xa6, 0x1800e3f26\ntest    eax, eax                                                       ; +0xab, 0x1800e3f2b\njnz     short loc_1800E3F3A                                            ; +0xad, 0x1800e3f2d\nmovss   xmm0, dword ptr [rsp+48h+var_28+0Ch]                           ; +0xaf, 0x1800e3f2f\nmovss   dword ptr [rbx+0Ch], xmm0                                      ; +0xb5, 0x1800e3f35\nlea     rcx, [rdi+109F8h]                                              ; +0xba, 0x1800e3f3a\nlea     rdx, [rsp+48h+var_18]                                          ; +0xc1, 0x1800e3f41\ncall    sub_1800B8AC0                                                  ; +0xc6, 0x1800e3f46\ntest    eax, eax                                                       ; +0xcb, 0x1800e3f4b\njnz     short loc_1800E3F5A                                            ; +0xcd, 0x1800e3f4d\nmovss   xmm0, dword ptr [rsp+48h+var_18]                               ; +0xcf, 0x1800e3f4f\nmovss   dword ptr [rbx+10h], xmm0                                      ; +0xd5, 0x1800e3f55\nlea     rcx, [rdi+10A34h]                                              ; +0xda, 0x1800e3f5a\nlea     rdx, [rsp+48h+var_18+4]                                        ; +0xe1, 0x1800e3f61\ncall    sub_1800B8AC0                                                  ; +0xe6, 0x1800e3f66\ntest    eax, eax                                                       ; +0xeb, 0x1800e3f6b\njnz     short loc_1800E3F7A                                            ; +0xed, 0x1800e3f6d\nmovss   xmm0, dword ptr [rsp+48h+var_18+4]                             ; +0xef, 0x1800e3f6f\nmovss   dword ptr [rbx+14h], xmm0                                      ; +0xf5, 0x1800e3f75\nxor     eax, eax                                                       ; +0xfa, 0x1800e3f7a\nmov     rcx, [rsp+48h+var_10]                                          ; +0xfc, 0x1800e3f7c\nxor     rcx, rsp; StackCookie                                          ; +0x101, 0x1800e3f81\ncall    __security_check_cookie                                        ; +0x104, 0x1800e3f84\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x109, 0x1800e3f89\nadd     rsp, 40h                                                       ; +0x10e, 0x1800e3f8e\npop     rdi                                                            ; +0x112, 0x1800e3f92\nretn                                                                   ; +0x113, 0x1800e3f93", "xrefs": ["FMOD::System::getCPUUsage @ 0x1800acd55", "sub_180107460 @ 0x1801074cc", "<???> @ 0x1801ffb7c"], "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"}