//
// UI_get0_result from 0x83b5e4 to 0x83b670 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x66a6c
//
// 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
//
int __fastcall UI_get0_result(int a1, signed int a2)
{
_DWORD *v4; // r0
if ( a2 < 0 )
{
ERR_put_error(40, 107, 103, (int)"crypto/ui/ui_lib.c", 400);
}
else
{
if ( a2 < OPENSSL_sk_num(*(_DWORD *)(a1 + 4)) )
{
v4 = (_DWORD *)OPENSSL_sk_value(*(_DWORD **)(a1 + 4), a2);
return UI_get0_result_string(v4);
}
ERR_put_error(40, 107, 102, (int)"crypto/ui/ui_lib.c", 404);
}
return 0;
}