{"type": "func", "start": 4301058020, "end": 4301058100, "name": "FMOD_File_SetDiskBusy", "pseudocode": "// \n// FMOD_File_SetDiskBusy from 0x1005cefe4 to 0x1005cf034 (80 bytes)\n// \n// 3 xrefs:\n// > j_FMOD_File_SetDiskBusy @ 0x10055d388\n// > sub_1005D0DD8 @ 0x1005d0e10\n// > sub_1005D0DD8 @ 0x1005d0e30\n// \n// This function is hookable on this platform (idp: arm, 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 11:09:30 +0000\n// \n\n__int64 __fastcall FMOD_File_SetDiskBusy(int a1)\n{\n  _QWORD *v1; // x8\n\n  v1 = off_1009DA5E8;\n  if ( a1 )\n  {\n    sub_1005DBDD8(*((_QWORD *)off_1009DA5E8 + 37));\n    *((_DWORD *)off_1009DA5E8 + 5) = 1;\n  }\n  else\n  {\n    *((_DWORD *)off_1009DA5E8 + 5) = 0;\n    sub_1005DBE08(v1[37]);\n  }\n  return 0;\n}", "assembly": "; \n; FMOD_File_SetDiskBusy from 0x1005cefe4 to 0x1005cf034 (80 bytes)\n; \n; 3 xrefs:\n; > j_FMOD_File_SetDiskBusy @ 0x10055d388\n; > sub_1005D0DD8 @ 0x1005d0e10\n; > sub_1005D0DD8 @ 0x1005d0e30\n; \n; This function is hookable on this platform (idp: arm, 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 11:09:30 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1005cefe4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1005cefe8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1005cefec\nADRL            X19, off_1009DA5E8                                     ; +0xc, 0x1005ceff0\nLDR             X8, [X19]; unk_100A02230                               ; +0x14, 0x1005ceff8\nCBZ             W0, loc_1005CF018                                      ; +0x18, 0x1005ceffc\nLDR             X0, [X8,#(qword_100A02358 - 0x100A02230)]              ; +0x1c, 0x1005cf000\nBL              sub_1005DBDD8                                          ; +0x20, 0x1005cf004\nLDR             X8, [X19]; unk_100A02230                               ; +0x24, 0x1005cf008\nMOV             W9, #1                                                 ; +0x28, 0x1005cf00c\nSTR             W9, [X8,#(dword_100A02244 - 0x100A02230)]              ; +0x2c, 0x1005cf010\nB               loc_1005CF024                                          ; +0x30, 0x1005cf014\nSTR             WZR, [X8,#(dword_100A02244 - 0x100A02230)]             ; +0x34, 0x1005cf018\nLDR             X0, [X8,#(qword_100A02358 - 0x100A02230)]              ; +0x38, 0x1005cf01c\nBL              sub_1005DBE08                                          ; +0x3c, 0x1005cf020\nMOV             W0, #0                                                 ; +0x40, 0x1005cf024\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x1005cf028\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x1005cf02c\nRET                                                                    ; +0x4c, 0x1005cf030", "xrefs": ["j_FMOD_File_SetDiskBusy @ 0x10055d388", "sub_1005D0DD8 @ 0x1005d0e10", "sub_1005D0DD8 @ 0x1005d0e30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}