//
// UI_create_method from 0xde3348 to 0xde33e8 (160 bytes)
//
// 2 xrefs:
// > sub_BB78D0 @ 0xbb8a30
// > ??> @ 0x51d98
//
// 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
//
const char **__fastcall UI_create_method(const char *a1)
{
const char **result; // x0
const char **v3; // x19
const char *v4; // x21
result = (const char **)CRYPTO_zalloc(&word_38, (__int64)"crypto/ui/ui_lib.c", 541);
v3 = result;
if ( result )
{
v4 = CRYPTO_strdup(a1, (__int64)"crypto/ui/ui_lib.c", 544);
*v3 = v4;
result = v3;
if ( !v4 )
{
CRYPTO_free(v3, (__int64)"crypto/ui/ui_lib.c", 546);
ERR_put_error(40, 112, 65, (__int64)"crypto/ui/ui_lib.c", 547);
return nullptr;
}
}
return result;
}