{"type": "func", "start": 769560, "end": 769648, "name": "sub_BBE18", "pseudocode": "// \n// sub_BBE18 from 0xbbe18 to 0xbbe70 (88 bytes)\n// \n// 0 xrefs:\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\nint __fastcall sub_BBE18(int a1, int a2, int a3, int a4)\n{\n  int v5; // r0\n  int v9; // r4\n\n  v5 = *(_DWORD *)(a1 + 368);\n  if ( !v5 || !sub_BE840(v5 + 8) )\n    return j_j_FMOD_OS_File_Read(*(_DWORD *)(a1 + 420), a2, a3, a4);\n  j_FMOD_File_SetDiskBusy(1);\n  v9 = j_FMOD_OS_File_Read(*(_DWORD *)(a1 + 420), a2, a3, a4);\n  j_FMOD_File_SetDiskBusy(0);\n  return v9;\n}", "assembly": "; \n; sub_BBE18 from 0xbbe18 to 0xbbe70 (88 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0xbbe18\nADD             R7, SP, #0xC                                           ; +0x2, 0xbbe1a\nPUSH.W          {R8}                                                   ; +0x4, 0xbbe1c\nMOV             R4, R0                                                 ; +0x8, 0xbbe20\nLDR.W           R0, [R0,#0x170]                                        ; +0xa, 0xbbe22\nMOV             R8, R3                                                 ; +0xe, 0xbbe26\nMOV             R5, R2                                                 ; +0x10, 0xbbe28\nMOV             R6, R1                                                 ; +0x12, 0xbbe2a\nCBZ             R0, loc_BBE5A                                          ; +0x14, 0xbbe2c\nADDS            R0, #8                                                 ; +0x16, 0xbbe2e\nBL              sub_BE840                                              ; +0x18, 0xbbe30\nCBZ             R0, loc_BBE5A                                          ; +0x1c, 0xbbe34\nMOVS            R0, #1                                                 ; +0x1e, 0xbbe36\nBLX             j_FMOD_File_SetDiskBusy                                ; +0x20, 0xbbe38\nLDR.W           R0, [R4,#0x1A4]                                        ; +0x24, 0xbbe3c\nMOV             R1, R6                                                 ; +0x28, 0xbbe40\nMOV             R2, R5                                                 ; +0x2a, 0xbbe42\nMOV             R3, R8                                                 ; +0x2c, 0xbbe44\nBLX             j_FMOD_OS_File_Read                                    ; +0x2e, 0xbbe46\nMOV             R4, R0                                                 ; +0x32, 0xbbe4a\nMOVS            R0, #0                                                 ; +0x34, 0xbbe4c\nBLX             j_FMOD_File_SetDiskBusy                                ; +0x36, 0xbbe4e\nMOV             R0, R4                                                 ; +0x3a, 0xbbe52\nPOP.W           {R8}                                                   ; +0x3c, 0xbbe54\nPOP             {R4-R7,PC}                                             ; +0x40, 0xbbe58\nLDR.W           R0, [R4,#0x1A4]                                        ; +0x42, 0xbbe5a\nMOV             R1, R6                                                 ; +0x46, 0xbbe5e\nMOV             R2, R5                                                 ; +0x48, 0xbbe60\nMOV             R3, R8                                                 ; +0x4a, 0xbbe62\nPOP.W           {R8}                                                   ; +0x4c, 0xbbe64\nPOP.W           {R4-R7,LR}                                             ; +0x50, 0xbbe68\nB.W             j_j_FMOD_OS_File_Read                                  ; +0x54, 0xbbe6c", "xrefs": [], "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"}