//
// sub_E7174 from 0xe7174 to 0xe71a8 (52 bytes)
//
// 6 xrefs:
// > sub_82E28 @ 0x82e74
// > sub_82E28 @ 0x82e90
// > sub_83E04 @ 0x83f28
// > sub_E26A0 @ 0xe26dc
// > sub_E4458 @ 0xe44a0
// > sub_E4458 @ 0xe44b0
//
// 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_E7174(__int64 a1, __int64 a2, __int64 a3)
{
sem_t *v3; // x0
__int64 v4; // x0
__int64 v6; // x0
v3 = (sem_t *)sub_E73F0(a1, a2, a3);
v4 = sem_destroy(v3);
if ( (_DWORD)v4 )
return 28;
v6 = sub_E7334(v4);
sub_E73A4(v6);
return 0;
}