{"type": "func", "start": 6443529152, "end": 6443529303, "name": "sub_1801073C0", "pseudocode": "// \n// sub_1801073C0 from 0x1801073c0 to 0x180107457 (151 bytes)\n// \n// 2 xrefs:\n// > sub_1800E4E00 @ 0x1800e59e8\n// > <???> @ 0x180201514\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_1801073C0(__int64 a1, __int64 a2)\n{\n  _QWORD *v4; // rax\n  char v6; // [rsp+30h] [rbp-18h]\n\n  v6 = 1;\n  v4 = sub_1800B6530(\n         *((_QWORD *)off_1801AED20 + 52),\n         48,\n         \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_profile_stats.cpp\",\n         16,\n         0,\n         0,\n         v6);\n  if ( !v4 )\n    return 38;\n  v4[4] = a1;\n  v4[3] = 0;\n  v4[2] = v4 + 1;\n  v4[1] = v4 + 1;\n  *v4 = off_18016EE00;\n  v4[5] = a2;\n  return (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 8LL))(a1, v4);\n}", "assembly": "; \n; sub_1801073C0 from 0x1801073c0 to 0x180107457 (151 bytes)\n; \n; 2 xrefs:\n; > sub_1800E4E00 @ 0x1800e59e8\n; > <???> @ 0x180201514\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, 0x1801073c0\npush    rdi                                                            ; +0x5, 0x1801073c5\nsub     rsp, 40h                                                       ; +0x6, 0x1801073c6\nmov     rbx, rcx                                                       ; +0xa, 0x1801073ca\nmov     [rsp+48h+var_18], 1                                            ; +0xd, 0x1801073cd\nmov     rcx, cs:off_1801AED20                                          ; +0x12, 0x1801073d2\nlea     r8, aCBuildagent1Wo_77; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x19, 0x1801073d9\nmov     r9d, 10h                                                       ; +0x20, 0x1801073e0\nmov     [rsp+48h+var_20], 0                                            ; +0x26, 0x1801073e6\nmov     rdi, rdx                                                       ; +0x2b, 0x1801073eb\nmov     [rsp+48h+var_28], 0                                            ; +0x2e, 0x1801073ee\nmov     rcx, [rcx+1A0h]                                                ; +0x36, 0x1801073f6\nlea     edx, [r9+20h]                                                  ; +0x3d, 0x1801073fd\ncall    sub_1800B6530                                                  ; +0x41, 0x180107401\ntest    rax, rax                                                       ; +0x46, 0x180107406\njz      short loc_180107447                                            ; +0x49, 0x180107409\nlea     rcx, [rax+8]                                                   ; +0x4b, 0x18010740b\nmov     [rax+20h], rbx                                                 ; +0x4f, 0x18010740f\nmov     qword ptr [rcx+10h], 0                                         ; +0x53, 0x180107413\nmov     rdx, rax                                                       ; +0x5b, 0x18010741b\nmov     [rcx+8], rcx                                                   ; +0x5e, 0x18010741e\nmov     [rcx], rcx                                                     ; +0x62, 0x180107422\nlea     rcx, off_18016EE00                                             ; +0x65, 0x180107425\nmov     [rax], rcx                                                     ; +0x6c, 0x18010742c\nmov     rcx, rbx                                                       ; +0x6f, 0x18010742f\nmov     [rax+28h], rdi                                                 ; +0x72, 0x180107432\nmov     r8, [rbx]                                                      ; +0x76, 0x180107436\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x79, 0x180107439\nadd     rsp, 40h                                                       ; +0x7e, 0x18010743e\npop     rdi                                                            ; +0x82, 0x180107442\njmp     qword ptr [r8+8]                                               ; +0x83, 0x180107443\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x87, 0x180107447\nmov     eax, 26h ; '&'                                                 ; +0x8c, 0x18010744c\nadd     rsp, 40h                                                       ; +0x91, 0x180107451\npop     rdi                                                            ; +0x95, 0x180107455\nretn                                                                   ; +0x96, 0x180107456", "xrefs": ["sub_1800E4E00 @ 0x1800e59e8", "<???> @ 0x180201514"], "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"}