{"type": "func", "start": 446952, "end": 447020, "name": "sub_6D1E8", "pseudocode": "// \n// sub_6D1E8 from 0x6d1e8 to 0x6d22c (68 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::setStreamBufferSize @ 0xdcc78\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_6D1E8(__int64 a1, int a2, unsigned int a3)\n{\n  __int64 result; // x0\n  _DWORD *v5; // x8\n\n  if ( !a2 )\n    return 31;\n  result = 31;\n  if ( a3 <= 8 && ((1 << a3) & 0x116) != 0 )\n  {\n    result = 0;\n    v5 = (_DWORD *)(a1 + 70452);\n    *v5 = a2;\n    v5[1] = a3;\n  }\n  return result;\n}", "assembly": "; \n; sub_6D1E8 from 0x6d1e8 to 0x6d22c (68 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::setStreamBufferSize @ 0xdcc78\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             W1, loc_6D228                                          ; +0x0, 0x6d1e8\nMOV             X8, X0                                                 ; +0x4, 0x6d1ec\nCMP             W2, #8                                                 ; +0x8, 0x6d1f0\nMOV             W0, #0x1F                                              ; +0xc, 0x6d1f4\nB.HI            locret_6D224                                           ; +0x10, 0x6d1f8\nMOV             W9, #1                                                 ; +0x14, 0x6d1fc\nLSL             W9, W9, W2                                             ; +0x18, 0x6d200\nMOV             W10, #0x116                                            ; +0x1c, 0x6d204\nTST             W9, W10                                                ; +0x20, 0x6d208\nB.EQ            locret_6D224                                           ; +0x24, 0x6d20c\nMOV             W9, #0x11334                                           ; +0x28, 0x6d210\nMOV             W0, WZR                                                ; +0x30, 0x6d218\nADD             X8, X8, X9                                             ; +0x34, 0x6d21c\nSTP             W1, W2, [X8]                                           ; +0x38, 0x6d220\nRET                                                                    ; +0x3c, 0x6d224\nB               loc_70100                                              ; +0x40, 0x6d228", "xrefs": ["FMOD::System::setStreamBufferSize @ 0xdcc78"], "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"}