//
// UI_get0_result from 0x10618a0 to 0x106192c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0xdb040
//
// 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 13:16:51 +0000
//
__int64 __fastcall UI_get0_result(__int64 a1, int a2)
{
__int64 v3; // x0
if ( a2 < 0 )
{
ERR_put_error(40, 107, 103, (__int64)"crypto/ui/ui_lib.c", 400);
}
else
{
if ( a2 < (int)OPENSSL_sk_num(*(unsigned int **)(a1 + 8)) )
{
v3 = OPENSSL_sk_value(*(_QWORD *)(a1 + 8), a2);
return UI_get0_result_string(v3);
}
ERR_put_error(40, 107, 102, (__int64)"crypto/ui/ui_lib.c", 404);
}
return 0;
}