//
// sub_65300 from 0x65300 to 0x6534c (76 bytes)
//
// 1 xrefs:
// > sub_65270 @ 0x652ac
//
// 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:13:55 +0000
//
__int64 __fastcall sub_65300(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;
}