//
// sub_77AF4 from 0x77af4 to 0x77b68 (116 bytes)
//
// 1 xrefs:
// > sub_6A544 @ 0x6a8b8
//
// 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_77AF4(__int64 a1, unsigned int a2)
{
__int64 v2; // x8
_QWORD *v3; // x20
__int64 v4; // x19
__int64 result; // x0
v2 = a1 + 8LL * a2;
v3 = (_QWORD *)(v2 + 67968);
v4 = *(_QWORD *)(v2 + 67968);
if ( !v4 )
return 0;
result = sub_A7B1C(*(_QWORD *)(v2 + 67968));
if ( !(_DWORD)result )
{
sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), v4, "../../src/fmod_systemi_dsp.cpp", 658, 1);
*v3 = 0;
return 0;
}
return result;
}