//
// sub_65584 from 0x65584 to 0x655d0 (76 bytes)
//
// 1 xrefs:
// > sub_64C98 @ 0x64cc4
//
// 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_65584(__int64 a1)
{
int v1; // w8
__int64 result; // x0
v1 = *(_DWORD *)(a1 + 36);
if ( v1 == -1 )
return 28;
if ( v1 != *(_DWORD *)(a1 + 8) )
return 0;
result = sub_656C4();
if ( !(_DWORD)result )
return 0;
return result;
}