//
// sub_1005D6BE4 from 0x1005d6be4 to 0x1005d6c64 (128 bytes)
//
// 1 xrefs:
// > sub_1005FADC8 @ 0x1005fae70
//
// 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:34 +0000
//
__int64 __fastcall sub_1005D6BE4(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v5; // x19
__int64 v6; // x20
unsigned int v8; // [xsp+Ch] [xbp-24h] BYREF
v8 = a3;
v5 = *(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL);
sub_1005DBDD8(v5);
if ( a2 )
v6 = sub_1005D6320(a1, a2, &v8, 0, 1, (__int64 (__fastcall *)(_QWORD))sub_1005D6C64);
else
v6 = 31;
sub_1005DBE08(v5);
return v6;
}