//
// sub_1005CEDDC from 0x1005ceddc to 0x1005cee3c (96 bytes)
//
// 1 xrefs:
// > sub_1005F5B84 @ 0x1005f6010
//
// 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:30 +0000
//
__int64 __fastcall sub_1005CEDDC(__int64 a1, _DWORD *a2, _DWORD *a3)
{
__int64 v3; // x8
__int64 result; // x0
if ( !a1 )
return 31;
v3 = *((_QWORD *)off_1009DA5E8 + *(int *)(a1 + 48) + 46);
if ( !*(_BYTE *)(v3 + 8) )
return 67;
if ( a2 )
*a2 = *(_DWORD *)(v3 + 70460);
result = 0;
if ( a3 )
*a3 = *(_DWORD *)(*(_QWORD *)(v3 + 1648) + 84LL);
return result;
}