//
// sub_776928 from 0x776928 to 0x77694a (34 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_776928(pthread_t *a1)
{
int result; // r0
if ( pthread_equal(*a1, 0) )
{
result = 22;
goto LABEL_3;
}
result = pthread_detach(*a1);
if ( result )
LABEL_3:
sub_7735D4(result);
*a1 = 0;
return result;
}