//
// sub_1005EB8B0 from 0x1005eb8b0 to 0x1005eb8d8 (40 bytes)
//
// 4 xrefs:
// > ??> @ 0x1009abcd0
// > ??> @ 0x1009abe78
// > ??> @ 0x1009ac020
// > ??> @ 0x1009ac1b0
//
// 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:45 +0000
//
__int64 __fastcall sub_1005EB8B0(__int64 a1, __int64 a2, int a3, __int64 a4)
{
__int64 v4; // x8
_QWORD *v5; // x0
if ( !a4 )
return 31;
v4 = *(_QWORD *)(a1 + 96);
if ( v4 && (v5 = *(_QWORD **)(v4 + 360)) != nullptr )
return sub_1005D885C(v5, a2, a3, a4);
else
return 63;
}