//
// UI_create_method from 0x1061688 to 0x1061728 (160 bytes)
//
// 2 xrefs:
// > sub_E2DA90 @ 0xe2ebf0
// > ??> @ 0x71e18
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:16:51 +0000
//
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;
}