{"type": "func", "start": 914820, "end": 914884, "name": "FMOD_File_SetDiskBusy", "pseudocode": "// \n// FMOD_File_SetDiskBusy from 0xdf584 to 0xdf5c4 (64 bytes)\n// \n// 4 xrefs:\n// > .FMOD_File_SetDiskBusy @ 0x10819c\n// > <???> @ 0x1750\n// > .FMOD_File_SetDiskBusy @ 0x108194\n// > <???> @ 0x110990\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 FMOD_File_SetDiskBusy()\n{\n  __int64 v0; // x19\n  __int64 v1; // x8\n  __int64 v2; // x0\n\n  if ( (unsigned int)sub_E0D1C() )\n  {\n    FMOD_OS_CriticalSection_Enter(*(_QWORD *)(v1 + 296));\n    *(_DWORD *)(*(_QWORD *)v0 + 20LL) = 1;\n  }\n  else\n  {\n    v2 = *(_QWORD *)(v1 + 296);\n    *(_DWORD *)(v1 + 20) = 0;\n    FMOD_OS_CriticalSection_Leave(v2);\n  }\n  return 0;\n}", "assembly": "; \n; FMOD_File_SetDiskBusy from 0xdf584 to 0xdf5c4 (64 bytes)\n; \n; 4 xrefs:\n; > .FMOD_File_SetDiskBusy @ 0x10819c\n; > <???> @ 0x1750\n; > .FMOD_File_SetDiskBusy @ 0x108194\n; > <???> @ 0x110990\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\nSTR             X19, [SP,#var_20]!                                     ; +0x0, 0xdf584\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x4, 0xdf588\nBL              sub_E0D1C                                              ; +0x8, 0xdf58c\nCBZ             W0, loc_DF5AC                                          ; +0xc, 0xdf590\nLDR             X0, [X8,#0x128]                                        ; +0x10, 0xdf594\nBL              .FMOD_OS_CriticalSection_Enter                         ; +0x14, 0xdf598\nLDR             X8, [X19]                                              ; +0x18, 0xdf59c\nMOV             W9, #1                                                 ; +0x1c, 0xdf5a0\nSTR             W9, [X8,#0x14]                                         ; +0x20, 0xdf5a4\nB               loc_DF5B8                                              ; +0x24, 0xdf5a8\nLDR             X0, [X8,#0x128]                                        ; +0x28, 0xdf5ac\nSTR             WZR, [X8,#0x14]                                        ; +0x2c, 0xdf5b0\nBL              .FMOD_OS_CriticalSection_Leave                         ; +0x30, 0xdf5b4\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x34, 0xdf5b8\nMOV             W0, WZR                                                ; +0x38, 0xdf5bc\nB               loc_E0C50                                              ; +0x3c, 0xdf5c0", "xrefs": [".FMOD_File_SetDiskBusy @ 0x10819c", "<???> @ 0x1750", ".FMOD_File_SetDiskBusy @ 0x108194", "<???> @ 0x110990"], "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"}