//
// sub_1005D9D34 from 0x1005d9d34 to 0x1005d9d78 (68 bytes)
//
// 3 xrefs:
// > sub_10054E138 @ 0x10054e1d8
// > sub_10054E27C @ 0x10054e294
// > sub_1005D2170 @ 0x1005d21ac
//
// 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:36 +0000
//
__int64 sub_1005D9D34()
{
int v0; // w8
__int64 result; // x0
v0 = dword_100A023F0;
if ( dword_100A023F0 )
goto LABEL_2;
result = sub_10061B968();
if ( !(_DWORD)result )
{
v0 = dword_100A023F0;
LABEL_2:
dword_100A023F0 = v0 + 1;
return 0;
}
return result;
}