{"type": "func", "start": 781000, "end": 781066, "name": "sub_BEAC8", "pseudocode": "// \n// sub_BEAC8 from 0xbeac8 to 0xbeb0a (66 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_BEAC8(int a1)\n{\n  _DWORD *v2; // r0\n  _DWORD *v3; // r1\n\n  v2 = *(_DWORD **)(a1 + 32);\n  if ( v2 )\n  {\n    sub_4C918(v2);\n    *(_DWORD *)(a1 + 32) = 0;\n  }\n  v3 = *(_DWORD **)(a1 + 816);\n  if ( v3 )\n  {\n    sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v3);\n    *(_DWORD *)(a1 + 816) = 0;\n  }\n  return sub_B290C(a1);\n}", "assembly": "; \n; sub_BEAC8 from 0xbeac8 to 0xbeb0a (66 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            {R2-R4,R6,R7,LR}                                       ; +0x0, 0xbeac8\nADD             R7, SP, #0x10                                          ; +0x2, 0xbeaca\nMOV             R4, R0                                                 ; +0x4, 0xbeacc\nLDR             R0, [R0,#0x20]                                         ; +0x6, 0xbeace\nCBZ             R0, loc_BEADA                                          ; +0x8, 0xbead0\nBL              sub_4C918                                              ; +0xa, 0xbead2\nMOVS            R0, #0                                                 ; +0xe, 0xbead6\nSTR             R0, [R4,#0x20]                                         ; +0x10, 0xbead8\nLDR.W           R1, [R4,#0x330]                                        ; +0x12, 0xbeada\nCBZ             R1, loc_BEB00                                          ; +0x16, 0xbeade\nLDR             R0, =(off_E6144 - 0xBEAEA)                             ; +0x18, 0xbeae0\nMOVS            R2, #1                                                 ; +0x1a, 0xbeae2\nMOVS            R3, #0x75 ; 'u'                                        ; +0x1c, 0xbeae4\nADD             R0, PC; off_E6144                                      ; +0x1e, 0xbeae6\nLDR             R0, [R0]; off_E8000                                    ; +0x20, 0xbeae8\nLDR             R0, [R0]; dword_F2488                                  ; +0x22, 0xbeaea\nLDR.W           R0, [R0,#(dword_F25D4 - 0xF2488)]                      ; +0x24, 0xbeaec\nSTR             R2, [SP,#8+var_8]                                      ; +0x28, 0xbeaf0\nLDR             R2, =(aSrcFmodOutputE - 0xBEAF8); \"../../src/fmod_output_emulated.cpp\" ... ; +0x2a, 0xbeaf2\nADD             R2, PC; \"../../src/fmod_output_emulated.cpp\"           ; +0x2c, 0xbeaf4\nBL              sub_BD7AC                                              ; +0x2e, 0xbeaf6\nMOVS            R0, #0                                                 ; +0x32, 0xbeafa\nSTR.W           R0, [R4,#0x330]                                        ; +0x34, 0xbeafc\nMOV             R0, R4                                                 ; +0x38, 0xbeb00\nPOP.W           {R2-R4,R6,R7,LR}                                       ; +0x3a, 0xbeb02\nB.W             sub_B290C                                              ; +0x3e, 0xbeb06", "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"}