//
// sub_1005DBA30 from 0x1005dba30 to 0x1005dba94 (100 bytes)
//
// 1 xrefs:
// > sub_1005DBA94 @ 0x1005dbbf8
//
// 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 11:09:37 +0000
//
__int64 __fastcall sub_1005DBA30(__int64 a1)
{
__int64 v2; // x19
void (__fastcall *v3)(__int64); // x21
v3 = *(void (__fastcall **)(__int64))a1;
v2 = *(_QWORD *)(a1 + 8);
if ( !pthread_setname_np((const char *)(a1 + 16)) )
{
sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), (int *)a1);
v3(v2);
}
return 0;
}