//
// sub_1005B53D0 from 0x1005b53d0 to 0x1005b5478 (168 bytes)
//
// 1 xrefs:
// > sub_1005C0F4C @ 0x1005c0f60
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall sub_1005B53D0(__int64 a1, __int64 a2, __int64 *a3, __int64 a4, __int64 *a5)
{
_QWORD *v10; // x0
__int64 v11; // x23
_BOOL8 v12; // x20
sub_1005ABC90((__int64)a5);
v10 = sub_1005ABDFC(a5);
v11 = (__int64)v10;
if ( v10 )
v12 = sub_1005B4F84((__int64)v10, a3, a4, a5) && (unsigned int)sub_1005B4E30(a1, a2, v11, a4, (__int64)a5) != 0;
else
v12 = 0;
sub_1005ABD78((__int64)a5);
return v12;
}