{"type": "func", "start": 441952, "end": 442060, "name": "sub_6BE60", "pseudocode": "// \n// sub_6BE60 from 0x6be60 to 0x6becc (108 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::setPluginPath @ 0xdbba8\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 12:13:57 +0000\n// \n\n__int64 __fastcall sub_6BE60(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x0\n  __int64 v6; // x8\n\n  if ( (int)sub_E3BB0(a2) > 255 )\n    return 31;\n  v5 = sub_E3C94(a1 + 69136, a2, 256);\n  sub_70510(v5);\n  result = *(_QWORD *)(a1 + v6);\n  if ( result )\n  {\n    sub_61FE0(result, a1 + 69136);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_6BE60 from 0x6be60 to 0x6becc (108 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::setPluginPath @ 0xdbba8\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 12:13:57 +0000\n; \nSTR             X21, [SP,#-0x10+var_20]!                               ; +0x0, 0x6be60\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x6be64\nMOV             X19, X0                                                ; +0x8, 0x6be68\nMOV             X0, X1                                                 ; +0xc, 0x6be6c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x10, 0x6be70\nADD             X29, SP, #0x20                                         ; +0x14, 0x6be74\nMOV             X20, X1                                                ; +0x18, 0x6be78\nBL              sub_E3BB0                                              ; +0x1c, 0x6be7c\nCMP             W0, #0xFF                                              ; +0x20, 0x6be80\nB.LE            loc_6BE90                                              ; +0x24, 0x6be84\nMOV             W0, #0x1F                                              ; +0x28, 0x6be88\nB               loc_6BEC4                                              ; +0x2c, 0x6be8c\nMOV             W8, #0x10E10                                           ; +0x30, 0x6be90\nADD             X21, X19, X8                                           ; +0x38, 0x6be98\nMOV             W2, #0x100                                             ; +0x3c, 0x6be9c\nMOV             X0, X21                                                ; +0x40, 0x6bea0\nMOV             X1, X20                                                ; +0x44, 0x6bea4\nBL              sub_E3C94                                              ; +0x48, 0x6bea8\nBL              sub_70510                                              ; +0x4c, 0x6beac\nLDR             X0, [X19,X8]                                           ; +0x50, 0x6beb0\nCBZ             X0, loc_6BEC4                                          ; +0x54, 0x6beb4\nMOV             X1, X21                                                ; +0x58, 0x6beb8\nBL              sub_61FE0                                              ; +0x5c, 0x6bebc\nMOV             W0, WZR                                                ; +0x60, 0x6bec0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x64, 0x6bec4\nB               loc_70108                                              ; +0x68, 0x6bec8", "xrefs": ["FMOD::System::setPluginPath @ 0xdbba8"], "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"}