//
// UI_get0_result from 0xde3560 to 0xde35ec (140 bytes)
//
// 1 xrefs:
// > ??> @ 0xa6cb0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}