//
// sub_1005CED54 from 0x1005ced54 to 0x1005ced9c (72 bytes)
//
// 1 xrefs:
// > sub_1005F5B84 @ 0x1005f5ff8
//
// 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_1005CED54(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
__int64 v4; // x8
result = 31;
if ( a1 && a2 )
{
v4 = *((_QWORD *)off_1009DA5E8 + *(int *)(a1 + 48) + 46);
if ( *(_BYTE *)(v4 + 8) )
{
result = 0;
*a2 = *(_DWORD *)(v4 + 1744);
}
else
{
return 67;
}
}
return result;
}