//
// 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 (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:59 +0000
//
__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;
}