{"type": "func", "start": 442244, "end": 442372, "name": "sub_6BF84", "pseudocode": "// \n// sub_6BF84 from 0x6bf84 to 0x6c004 (128 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getNumPlugins @ 0xdbf4c\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_6BF84(__int64 a1, int a2, __int64 a3)\n{\n  __int64 v4; // x0\n  _DWORD *v5; // x1\n  __int64 result; // x0\n  __int64 v7; // x0\n  _DWORD *v8; // x1\n  __int64 v9; // x0\n  _DWORD *v10; // x1\n\n  if ( !a3 )\n    return 31;\n  if ( *(_BYTE *)(a1 + 9) || (result = sub_69F98(a1), !(_DWORD)result) )\n  {\n    switch ( a2 )\n    {\n      case 2:\n        v7 = sub_70200();\n        sub_62D38(v7, v8);\n        return 0;\n      case 1:\n        v9 = sub_70200();\n        sub_62D04(v9, v10);\n        return 0;\n      case 0:\n        v4 = sub_70200();\n        sub_62D78(v4, v5);\n        return 0;\n    }\n    return 31;\n  }\n  return result;\n}", "assembly": "; \n; sub_6BF84 from 0x6bf84 to 0x6c004 (128 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getNumPlugins @ 0xdbf4c\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, 0x6bf84\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x6bf88\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x6bf8c\nADD             X29, SP, #0x20                                         ; +0xc, 0x6bf90\nCBZ             X2, loc_6BFCC                                          ; +0x10, 0x6bf94\nLDRB            W8, [X0,#9]                                            ; +0x14, 0x6bf98\nMOV             X19, X2                                                ; +0x18, 0x6bf9c\nMOV             W21, W1                                                ; +0x1c, 0x6bfa0\nMOV             X20, X0                                                ; +0x20, 0x6bfa4\nCBZ             W8, loc_6BFD4                                          ; +0x24, 0x6bfa8\nCMP             W21, #2                                                ; +0x28, 0x6bfac\nB.EQ            loc_6BFE4                                              ; +0x2c, 0x6bfb0\nCMP             W21, #1                                                ; +0x30, 0x6bfb4\nB.EQ            loc_6BFF0                                              ; +0x34, 0x6bfb8\nCBNZ            W21, loc_6BFCC                                         ; +0x38, 0x6bfbc\nBL              sub_70200                                              ; +0x3c, 0x6bfc0\nBL              sub_62D78                                              ; +0x40, 0x6bfc4\nB               loc_6BFF8                                              ; +0x44, 0x6bfc8\nMOV             W0, #0x1F                                              ; +0x48, 0x6bfcc\nB               loc_6BFFC                                              ; +0x4c, 0x6bfd0\nMOV             X0, X20                                                ; +0x50, 0x6bfd4\nBL              sub_69F98                                              ; +0x54, 0x6bfd8\nCBNZ            W0, loc_6BFFC                                          ; +0x58, 0x6bfdc\nB               loc_6BFAC                                              ; +0x5c, 0x6bfe0\nBL              sub_70200                                              ; +0x60, 0x6bfe4\nBL              sub_62D38                                              ; +0x64, 0x6bfe8\nB               loc_6BFF8                                              ; +0x68, 0x6bfec\nBL              sub_70200                                              ; +0x6c, 0x6bff0\nBL              sub_62D04                                              ; +0x70, 0x6bff4\nMOV             W0, WZR                                                ; +0x74, 0x6bff8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x78, 0x6bffc\nB               loc_70108                                              ; +0x7c, 0x6c000", "xrefs": ["FMOD::System::getNumPlugins @ 0xdbf4c"], "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"}