//
// sub_6BE60 from 0x6be60 to 0x6becc (108 bytes)
//
// 1 xrefs:
// > FMOD::System::setPluginPath @ 0xdbba8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_6BE60(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v5; // x0
__int64 v6; // x8
if ( (int)sub_E3BB0(a2) > 255 )
return 31;
v5 = sub_E3C94(a1 + 69136, a2, 256);
sub_70510(v5);
result = *(_QWORD *)(a1 + v6);
if ( result )
{
sub_61FE0(result, a1 + 69136);
return 0;
}
return result;
}