//
// sub_1005DBF3C from 0x1005dbf3c to 0x1005dbf68 (44 bytes)
//
// 24 xrefs:
// > sub_1005726B8 @ 0x10057272c
// > sub_100572828 @ 0x10057285c
// > sub_1005728A0 @ 0x1005728f8
// > sub_100572948 @ 0x100572a34
// > sub_100572B14 @ 0x100572b48
// > sub_100572B94 @ 0x100572bf8
// > sub_100572CB4 @ 0x100572cd4
// > sub_100572CB4 @ 0x100572ce4
// > sub_100572CB4 @ 0x100572d10
// > sub_1005742CC @ 0x1005743d8
// > sub_1005745EC @ 0x100574684
// > sub_100574888 @ 0x10057495c
// > sub_100575594 @ 0x10057561c
// > sub_100576A50 @ 0x100576b08
// > sub_10057EFA4 @ 0x10057f040
// > sub_1005D2990 @ 0x1005d299c
// > sub_1005DCC18 @ 0x1005dd078
// > sub_1005E0620 @ 0x1005e0650
// > sub_1005E0868 @ 0x1005e0894
// > sub_1005EB47C @ 0x1005eb500
// > sub_1005F8FDC @ 0x1005f903c
// > sub_1005FB3F0 @ 0x1005fb438
// > sub_1005FB3F0 @ 0x1005fb518
// > sub_1005FB700 @ 0x1005fb72c
//
// 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_1005DBF3C(__int64 a1)
{
if ( !a1 )
return 31;
if ( semaphore_signal(a1) )
return 28;
return 0;
}