{"type": "func", "start": 6443188560, "end": 6443188648, "name": "FMOD_File_SetDiskBusy", "pseudocode": "// \n// FMOD_File_SetDiskBusy from 0x1800b4150 to 0x1800b41a8 (88 bytes)\n// \n// 5 xrefs:\n// > sub_1800B41E0 @ 0x1800b421e\n// > sub_1800B41E0 @ 0x1800b423c\n// > FMOD5_File_SetDiskBusy @ 0x1800f4360\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fcedc\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 FMOD_File_SetDiskBusy(int a1)\n{\n  if ( a1 )\n  {\n    FMOD_OS_CriticalSection_Enter(*((_QWORD *)off_1801AED20 + 35));\n    *((_DWORD *)off_1801AED20 + 1) = 1;\n  }\n  else\n  {\n    *((_DWORD *)off_1801AED20 + 1) = 0;\n    FMOD_OS_CriticalSection_Leave(*((_QWORD *)off_1801AED20 + 35));\n  }\n  return 0;\n}", "assembly": "; \n; FMOD_File_SetDiskBusy from 0x1800b4150 to 0x1800b41a8 (88 bytes)\n; \n; 5 xrefs:\n; > sub_1800B41E0 @ 0x1800b421e\n; > sub_1800B41E0 @ 0x1800b423c\n; > FMOD5_File_SetDiskBusy @ 0x1800f4360\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fcedc\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800b4150\ntest    ecx, ecx                                                       ; +0x4, 0x1800b4154\njz      short loc_1800B4180                                            ; +0x6, 0x1800b4156\nmov     rcx, cs:off_1801AED20                                          ; +0x8, 0x1800b4158\nmov     rcx, [rcx+118h]                                                ; +0xf, 0x1800b415f\ncall    FMOD_OS_CriticalSection_Enter                                  ; +0x16, 0x1800b4166\nmov     rax, cs:off_1801AED20                                          ; +0x1b, 0x1800b416b\nmov     dword ptr [rax+4], 1                                           ; +0x22, 0x1800b4172\nxor     eax, eax                                                       ; +0x29, 0x1800b4179\nadd     rsp, 28h                                                       ; +0x2b, 0x1800b417b\nretn                                                                   ; +0x2f, 0x1800b417f\nmov     rax, cs:off_1801AED20                                          ; +0x30, 0x1800b4180\nmov     dword ptr [rax+4], 0                                           ; +0x37, 0x1800b4187\nmov     rcx, cs:off_1801AED20                                          ; +0x3e, 0x1800b418e\nmov     rcx, [rcx+118h]                                                ; +0x45, 0x1800b4195\ncall    FMOD_OS_CriticalSection_Leave                                  ; +0x4c, 0x1800b419c\nxor     eax, eax                                                       ; +0x51, 0x1800b41a1\nadd     rsp, 28h                                                       ; +0x53, 0x1800b41a3\nretn                                                                   ; +0x57, 0x1800b41a7", "xrefs": ["sub_1800B41E0 @ 0x1800b421e", "sub_1800B41E0 @ 0x1800b423c", "FMOD5_File_SetDiskBusy @ 0x1800f4360", "<???> @ 0x180194348", "<???> @ 0x1801fcedc"], "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"}