//
// sub_77A3C from 0x77a3c to 0x77af4 (184 bytes)
//
// 2 xrefs:
// > sub_70178 @ 0x70180
// > sub_78154 @ 0x784d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:14:02 +0000
//
__int64 __fastcall sub_77A3C(__int64 a1, unsigned int a2, __int64 a3, unsigned int a4, unsigned int a5)
{
_QWORD *v5; // x25
__int64 result; // x0
__int64 v12; // x0
_QWORD *v13; // x24
v5 = (_QWORD *)(a1 + 8LL * a2 + 67968);
if ( *v5 )
return 0;
v12 = sub_E2AC4(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), 184, "../../src/fmod_systemi_dsp.cpp", 618, 0);
if ( !v12 )
return 38;
v13 = (_QWORD *)v12;
sub_E2E90(v12 + 48);
*v13 = a1;
result = sub_A76CC(v13, a2, a3, a4, a5);
if ( !(_DWORD)result )
*v5 = v13;
return result;
}