{"type": "func", "start": 764824, "end": 764870, "name": "FMOD_File_SetDiskBusy", "pseudocode": "// \n// FMOD_File_SetDiskBusy from 0xbab98 to 0xbabc6 (46 bytes)\n// \n// 1 xrefs:\n// > j_FMOD_File_SetDiskBusy @ 0xe1578\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:41:45 +0000\n// \n\nint __fastcall FMOD_File_SetDiskBusy(int a1)\n{\n  void *v1; // r1\n\n  v1 = off_E8000;\n  if ( a1 )\n  {\n    j_FMOD_OS_CriticalSection_Enter(*(int *)((char *)&dword_108 + (_DWORD)off_E8000));\n    *(_DWORD *)&byte_9[(_DWORD)off_E8000 + 3] = 1;\n  }\n  else\n  {\n    *(_DWORD *)&byte_9[(_DWORD)off_E8000 + 3] = 0;\n    j_FMOD_OS_CriticalSection_Leave(*(int *)((char *)&dword_108 + (_DWORD)v1));\n  }\n  return 0;\n}", "assembly": "; \n; FMOD_File_SetDiskBusy from 0xbab98 to 0xbabc6 (46 bytes)\n; \n; 1 xrefs:\n; > j_FMOD_File_SetDiskBusy @ 0xe1578\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:41:45 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0xbab98\nADD             R7, SP, #8                                             ; +0x2, 0xbab9a\nLDR             R1, =(off_E6144 - 0xBABA2)                             ; +0x4, 0xbab9c\nADD             R1, PC; off_E6144                                      ; +0x6, 0xbab9e\nLDR             R4, [R1]; off_E8000                                    ; +0x8, 0xbaba0\nLDR             R1, [R4]; dword_F2488                                  ; +0xa, 0xbaba2\nCBZ             R0, loc_BABB6                                          ; +0xc, 0xbaba4\nLDR.W           R0, [R1,#(dword_F2590 - 0xF2488)]                      ; +0xe, 0xbaba6\nBLX             j_FMOD_OS_CriticalSection_Enter                        ; +0x12, 0xbabaa\nLDR             R0, [R4]; dword_F2488                                  ; +0x16, 0xbabae\nMOVS            R1, #1                                                 ; +0x18, 0xbabb0\nSTR             R1, [R0,#(dword_F2494 - 0xF2488)]                      ; +0x1a, 0xbabb2\nB               loc_BABC2                                              ; +0x1c, 0xbabb4\nMOVS            R0, #0                                                 ; +0x1e, 0xbabb6\nSTR             R0, [R1,#(dword_F2494 - 0xF2488)]                      ; +0x20, 0xbabb8\nLDR.W           R0, [R1,#(dword_F2590 - 0xF2488)]                      ; +0x22, 0xbabba\nBLX             j_FMOD_OS_CriticalSection_Leave                        ; +0x26, 0xbabbe\nMOVS            R0, #0                                                 ; +0x2a, 0xbabc2\nPOP             {R4,R6,R7,PC}                                          ; +0x2c, 0xbabc4", "xrefs": ["j_FMOD_File_SetDiskBusy @ 0xe1578"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}