//
// sub_10058800C from 0x10058800c to 0x100588058 (76 bytes)
//
// 1 xrefs:
// > sub_100587D40 @ 0x100587e30
//
// 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:33 +0000
//
__int64 __fastcall sub_10058800C(__int64 a1, _QWORD *a2, __int64 a3)
{
__int64 result; // x0
unsigned int v5; // [xsp+Ch] [xbp-14h] BYREF
result = (*(__int64 (__fastcall **)(_QWORD, unsigned int *))(**(_QWORD **)(a3 + 368) + 24LL))(
*(_QWORD *)(a3 + 368),
&v5);
if ( (_DWORD)result )
return 1;
*a2 = v5;
return result;
}