//
// sub_1005DC3E8 from 0x1005dc3e8 to 0x1005dc43c (84 bytes)
//
// 1 xrefs:
// > sub_1005DC828 @ 0x1005dc968
//
// 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_1005DC3E8(__int64 a1, __int64 a2, __int64 a3, unsigned int *a4)
{
__int64 result; // x0
__int64 v7; // [xsp+8h] [xbp-18h]
v7 = 0;
result = (*(__int64 (**)(void))(*(_QWORD *)(a1 + 40) + 88LL))();
if ( !(_DWORD)result )
return sub_1005DC11C(v7, *(_QWORD *)(v7 + 792), a2, *a4);
return result;
}