//
// sub_10058F390 from 0x10058f390 to 0x10058f3dc (76 bytes)
//
// 0 xrefs:
//
// 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:08:43 +0000
//
__int64 __fastcall sub_10058F390(__int64 a1, int a2, int a3)
{
__int64 v3; // x8
unsigned __int16 *i; // x9
v3 = *(unsigned int *)(a1 + 748);
if ( (int)v3 < 1 )
return 31;
for ( i = (unsigned __int16 *)(*(_QWORD *)(a1 + 752) + 4LL); *(i - 2) != a2 || *i != a3; i += 6 )
{
if ( !--v3 )
return 31;
}
return 0;
}