//
// sub_1005B0804 from 0x1005b0804 to 0x1005b0874 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009d9610
//
// 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_1005B0804(_QWORD *a1, int a2, _QWORD *a3, _DWORD *a4, __int64 a5, int a6, int a7, int a8)
{
_DWORD *v8; // x8
const char *v9; // x8
if ( a2 == 5 )
{
v8 = (_DWORD *)(*a1 + 856LL);
*a3 = v8;
*a4 = 4;
if ( a5 )
{
if ( *v8 )
v9 = "true";
else
v9 = "false";
sub_1005ED57C(a5, 0x20u, (int)"%s", (int)a4, a5, a6, a7, a8, (char)v9);
}
}
return 0;
}