//
// sub_1005B0794 from 0x1005b0794 to 0x1005b0804 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009d9608
//
// 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:10 +0000
//
__int64 __fastcall sub_1005B0794(__int64 *a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
__int64 v8; // x8
const char *v9; // x8
if ( a2 != 6 )
return 31;
v8 = *a1;
*a3 = *(_DWORD *)(*a1 + 880);
if ( a4 )
{
if ( *(_DWORD *)(v8 + 880) )
v9 = "TRUE";
else
v9 = "FALSE";
sub_1005ED57C(a4, 0x20u, (int)"%s", a4, a5, a6, a7, a8, (char)v9);
}
return 0;
}