//
// sub_B5894 from 0xb5894 to 0xb58e0 (76 bytes)
//
// 1 xrefs:
// > sub_B5804 @ 0xb5840
//
// 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 12:14:38 +0000
//
__int64 __fastcall sub_B5894(int a1, __int64 *a2)
{
unsigned int v2; // w0
__int64 v4; // x0
v2 = 4 * a1;
if ( v2 - 1 >= 0x3FFFFFFF )
{
v4 = *a2;
}
else
{
v4 = sub_65188(v2);
*a2 = v4;
}
if ( v4 )
return 0;
else
return 38;
}