//
// sub_641F30 from 0x641f30 to 0x641f78 (72 bytes)
//
// 0 xrefs:
//
// 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 sub_641F30(int a1, int a2)
{
char *v4; // r6
int v5; // r0
int (__fastcall *reader)(int, int); // r0
if ( (unsigned int)(UI_get_string_type(a2) - 1) <= 1
&& (v4 = (char *)UI_get0_user_data(a1)) != nullptr
&& (UI_get_input_flags(a2) & 2) != 0 )
{
UI_set_result(a1, a2, v4);
return 1;
}
else
{
v5 = UI_OpenSSL();
reader = (int (__fastcall *)(int, int))UI_method_get_reader(v5);
return reader(a1, a2);
}
}