{"type": "func", "start": 6443481312, "end": 6443481514, "name": "sub_1800FB8E0", "pseudocode": "// \n// sub_1800FB8E0 from 0x1800fb8e0 to 0x1800fb9aa (202 bytes)\n// \n// 5 xrefs:\n// > sub_1800E4E00 @ 0x1800e5377\n// > <???> @ 0x18018f340\n// > <???> @ 0x18018f358\n// > <???> @ 0x18018f368\n// > <???> @ 0x180200d94\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:25 +0000\n// \n\n__int64 __fastcall sub_1800FB8E0(__int64 a1, int a2, int a3)\n{\n  int v6; // ebp\n  void *v7; // rax\n  int v8; // edx\n  int v10; // [rsp+58h] [rbp+10h] BYREF\n  int v11; // [rsp+68h] [rbp+20h] BYREF\n\n  if ( a2 <= 0 || a3 < 0 )\n    return 28;\n  v11 = 0;\n  v10 = 0;\n  sub_1800E4020(a1, &v10, &v11);\n  v6 = *(_DWORD *)(a1 + 1748);\n  v7 = sub_1800B6880(\n         *((_QWORD *)off_1801AED20 + 52),\n         48,\n         \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_systemi_driver.cpp\",\n         488,\n         0);\n  if ( v7 )\n  {\n    v8 = v10;\n    *(_QWORD *)(a1 + 67960) = v7;\n    return sub_1800BB660((__int64)v7, v8, a2, 4 * v6, a3);\n  }\n  else\n  {\n    *(_QWORD *)(a1 + 67960) = 0;\n    return 38;\n  }\n}", "assembly": "; \n; sub_1800FB8E0 from 0x1800fb8e0 to 0x1800fb9aa (202 bytes)\n; \n; 5 xrefs:\n; > sub_1800E4E00 @ 0x1800e5377\n; > <???> @ 0x18018f340\n; > <???> @ 0x18018f358\n; > <???> @ 0x18018f368\n; > <???> @ 0x180200d94\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:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800fb8e0\npush    rsi                                                            ; +0x2, 0x1800fb8e2\npush    rdi                                                            ; +0x3, 0x1800fb8e3\nsub     rsp, 30h                                                       ; +0x4, 0x1800fb8e4\nmov     edi, r8d                                                       ; +0x8, 0x1800fb8e8\nmov     esi, edx                                                       ; +0xb, 0x1800fb8eb\nmov     rbx, rcx                                                       ; +0xd, 0x1800fb8ed\ntest    edx, edx                                                       ; +0x10, 0x1800fb8f0\njle     loc_1800FB99D                                                  ; +0x12, 0x1800fb8f2\ntest    r8d, r8d                                                       ; +0x18, 0x1800fb8f8\njs      loc_1800FB99D                                                  ; +0x1b, 0x1800fb8fb\nmov     [rsp+48h+arg_0], rbp                                           ; +0x21, 0x1800fb901\nlea     r8, [rsp+48h+arg_18]                                           ; +0x26, 0x1800fb906\nmov     [rsp+48h+arg_10], r14                                          ; +0x2b, 0x1800fb90b\nlea     rdx, [rsp+48h+arg_8]                                           ; +0x30, 0x1800fb910\nxor     r14d, r14d                                                     ; +0x35, 0x1800fb915\nmov     [rsp+48h+arg_18], r14d                                         ; +0x38, 0x1800fb918\nmov     [rsp+48h+arg_8], r14d                                          ; +0x3d, 0x1800fb91d\ncall    sub_1800E4020                                                  ; +0x42, 0x1800fb922\nmov     rcx, cs:off_1801AED20                                          ; +0x47, 0x1800fb927\nlea     r8, aCBuildagent1Wo_72; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x4e, 0x1800fb92e\nmov     ebp, [rbx+6D4h]                                                ; +0x55, 0x1800fb935\nlea     edx, [r14+30h]                                                 ; +0x5b, 0x1800fb93b\nmov     r9d, 1E8h                                                      ; +0x5f, 0x1800fb93f\nmov     [rsp+48h+var_28], r14d                                         ; +0x65, 0x1800fb945\nmov     rcx, [rcx+1A0h]                                                ; +0x6a, 0x1800fb94a\ncall    sub_1800B6880                                                  ; +0x71, 0x1800fb951\ntest    rax, rax                                                       ; +0x76, 0x1800fb956\njz      short loc_1800FB98F                                            ; +0x79, 0x1800fb959\nmov     edx, [rsp+48h+arg_8]                                           ; +0x7b, 0x1800fb95b\nlea     r9d, ds:0[rbp*4]                                               ; +0x7f, 0x1800fb95f\nmov     r8d, esi                                                       ; +0x87, 0x1800fb967\nmov     [rbx+10978h], rax                                              ; +0x8a, 0x1800fb96a\nmov     rcx, rax                                                       ; +0x91, 0x1800fb971\nmov     [rsp+48h+var_28], edi                                          ; +0x94, 0x1800fb974\ncall    sub_1800BB660                                                  ; +0x98, 0x1800fb978\nmov     rbp, [rsp+48h+arg_0]                                           ; +0x9d, 0x1800fb97d\nmov     r14, [rsp+48h+arg_10]                                          ; +0xa2, 0x1800fb982\nadd     rsp, 30h                                                       ; +0xa7, 0x1800fb987\npop     rdi                                                            ; +0xab, 0x1800fb98b\npop     rsi                                                            ; +0xac, 0x1800fb98c\npop     rbx                                                            ; +0xad, 0x1800fb98d\nretn                                                                   ; +0xae, 0x1800fb98e\nmov     [rbx+10978h], r14                                              ; +0xaf, 0x1800fb98f\nmov     eax, 26h ; '&'                                                 ; +0xb6, 0x1800fb996\njmp     short loc_1800FB97D                                            ; +0xbb, 0x1800fb99b\nmov     eax, 1Ch                                                       ; +0xbd, 0x1800fb99d\nadd     rsp, 30h                                                       ; +0xc2, 0x1800fb9a2\npop     rdi                                                            ; +0xc6, 0x1800fb9a6\npop     rsi                                                            ; +0xc7, 0x1800fb9a7\npop     rbx                                                            ; +0xc8, 0x1800fb9a8\nretn                                                                   ; +0xc9, 0x1800fb9a9", "xrefs": ["sub_1800E4E00 @ 0x1800e5377", "<???> @ 0x18018f340", "<???> @ 0x18018f358", "<???> @ 0x18018f368", "<???> @ 0x180200d94"], "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"}