{"type": "func", "start": 448968, "end": 449012, "name": "sub_6D9C8", "pseudocode": "// \n// sub_6D9C8 from 0x6d9c8 to 0x6d9f4 (44 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getOutputHandle @ 0xdd3f4\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\n__int64 __fastcall sub_6D9C8(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x8\n  __int64 (__fastcall *v3)(__int64); // x2\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_QWORD *)(a1 + 1648);\n  if ( !v2 )\n    return 67;\n  v3 = *(__int64 (__fastcall **)(__int64))(v2 + 880);\n  if ( v3 )\n    return v3(v2 + 8);\n  else\n    return sub_70154();\n}", "assembly": "; \n; sub_6D9C8 from 0x6d9c8 to 0x6d9f4 (44 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getOutputHandle @ 0xdd3f4\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\nCBZ             X1, loc_6D9E4                                          ; +0x0, 0x6d9c8\nLDR             X8, [X0,#0x670]                                        ; +0x4, 0x6d9cc\nCBZ             X8, loc_6D9E8                                          ; +0x8, 0x6d9d0\nLDR             X2, [X8,#0x370]                                        ; +0xc, 0x6d9d4\nCBZ             X2, loc_6D9F0                                          ; +0x10, 0x6d9d8\nADD             X0, X8, #8                                             ; +0x14, 0x6d9dc\nBR              X2                                                     ; +0x18, 0x6d9e0\nB               loc_70100                                              ; +0x1c, 0x6d9e4\nMOV             W0, #0x43 ; 'C'                                        ; +0x20, 0x6d9e8\nRET                                                                    ; +0x24, 0x6d9ec\nB               sub_70154                                              ; +0x28, 0x6d9f0", "xrefs": ["FMOD::System::getOutputHandle @ 0xdd3f4"], "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"}