//
// sub_641EF4 from 0x641ef4 to 0x641f30 (60 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_641EF4(int a1, int a2)
{
int v4; // r0
int (__fastcall *writer)(int, int); // r0
if ( (unsigned int)(UI_get_string_type(a2) - 1) <= 1 && UI_get0_user_data(a1) && (UI_get_input_flags(a2) & 2) != 0 )
return 1;
v4 = UI_OpenSSL();
writer = (int (__fastcall *)(int, int))UI_method_get_writer(v4);
return writer(a1, a2);
}