//
// sub_1004F8EDC from 0x1004f8edc to 0x1004f8f30 (84 bytes)
//
// 1 xrefs:
// > sub_1004F8D64 @ 0x1004f8dc0
//
// 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_1004F8EDC(__int64 a1)
{
pthread_mutex_t *v2; // x21
__int64 v3; // x19
v2 = (pthread_mutex_t *)qword_1008B1648;
sub_1004B5C70((pthread_mutex_t *)qword_1008B1648);
v3 = sub_1004F9324(a1);
sub_1004B5CA0(v2);
return v3;
}