{"type": "func", "start": 6443575504, "end": 6443575646, "name": "sub_1801128D0", "pseudocode": "// \n// sub_1801128D0 from 0x1801128d0 to 0x18011295e (142 bytes)\n// \n// 4 xrefs:\n// > sub_1800D9EB0 @ 0x1800da021\n// > sub_1800DA320 @ 0x1800da38f\n// > sub_1800DA550 @ 0x1800da8f3\n// > <???> @ 0x180201c4c\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:36 +0000\n// \n\n__int64 __fastcall sub_1801128D0(__int64 a1)\n{\n  __int64 result; // rax\n\n  result = sub_1801122A0(a1);\n  if ( !(_DWORD)result )\n  {\n    result = sub_1800B8560(a1 + 48);\n    if ( !(_DWORD)result )\n    {\n      result = sub_1800B8560(a1 + 384);\n      if ( !(_DWORD)result )\n      {\n        result = FMOD_OS_CriticalSection_Free(*(LPCRITICAL_SECTION *)(a1 + 40), 0);\n        if ( !(_DWORD)result )\n        {\n          result = sub_180112960(a1 + 1240);\n          if ( !(_DWORD)result )\n          {\n            result = sub_180112960(a1 + 1312);\n            if ( !(_DWORD)result )\n            {\n              sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), (_DWORD *)a1);\n              return 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1801128D0 from 0x1801128d0 to 0x18011295e (142 bytes)\n; \n; 4 xrefs:\n; > sub_1800D9EB0 @ 0x1800da021\n; > sub_1800DA320 @ 0x1800da38f\n; > sub_1800DA550 @ 0x1800da8f3\n; > <???> @ 0x180201c4c\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:36 +0000\n; \npush    rbx                                                            ; +0x0, 0x1801128d0\nsub     rsp, 30h                                                       ; +0x2, 0x1801128d2\nmov     rbx, rcx                                                       ; +0x6, 0x1801128d6\ncall    sub_1801122A0                                                  ; +0x9, 0x1801128d9\ntest    eax, eax                                                       ; +0xe, 0x1801128de\njnz     short loc_180112958                                            ; +0x10, 0x1801128e0\nlea     rcx, [rbx+30h]                                                 ; +0x12, 0x1801128e2\ncall    sub_1800B8560                                                  ; +0x16, 0x1801128e6\ntest    eax, eax                                                       ; +0x1b, 0x1801128eb\njnz     short loc_180112958                                            ; +0x1d, 0x1801128ed\nlea     rcx, [rbx+180h]                                                ; +0x1f, 0x1801128ef\ncall    sub_1800B8560                                                  ; +0x26, 0x1801128f6\ntest    eax, eax                                                       ; +0x2b, 0x1801128fb\njnz     short loc_180112958                                            ; +0x2d, 0x1801128fd\nmov     rcx, [rbx+28h]; lpCriticalSection                              ; +0x2f, 0x1801128ff\nxor     edx, edx                                                       ; +0x33, 0x180112903\ncall    FMOD_OS_CriticalSection_Free                                   ; +0x35, 0x180112905\ntest    eax, eax                                                       ; +0x3a, 0x18011290a\njnz     short loc_180112958                                            ; +0x3c, 0x18011290c\nlea     rcx, [rbx+4D8h]                                                ; +0x3e, 0x18011290e\ncall    sub_180112960                                                  ; +0x45, 0x180112915\ntest    eax, eax                                                       ; +0x4a, 0x18011291a\njnz     short loc_180112958                                            ; +0x4c, 0x18011291c\nlea     rcx, [rbx+520h]                                                ; +0x4e, 0x18011291e\ncall    sub_180112960                                                  ; +0x55, 0x180112925\ntest    eax, eax                                                       ; +0x5a, 0x18011292a\njnz     short loc_180112958                                            ; +0x5c, 0x18011292c\nmov     rcx, cs:off_1801AED20                                          ; +0x5e, 0x18011292e\nlea     r8, aCBuildagent1Wo_81; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0x65, 0x180112935\nmov     r9d, 1C8h                                                      ; +0x6c, 0x18011293c\nmov     [rsp+38h+var_18], 1                                            ; +0x72, 0x180112942\nmov     rdx, rbx                                                       ; +0x77, 0x180112947\nmov     rcx, [rcx+1A0h]                                                ; +0x7a, 0x18011294a\ncall    sub_1800B6AA0                                                  ; +0x81, 0x180112951\nxor     eax, eax                                                       ; +0x86, 0x180112956\nadd     rsp, 30h                                                       ; +0x88, 0x180112958\npop     rbx                                                            ; +0x8c, 0x18011295c\nretn                                                                   ; +0x8d, 0x18011295d", "xrefs": ["sub_1800D9EB0 @ 0x1800da021", "sub_1800DA320 @ 0x1800da38f", "sub_1800DA550 @ 0x1800da8f3", "<???> @ 0x180201c4c"], "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"}