//
// UI_create_method from 0xa4ffec to 0xa50078 (140 bytes)
//
// 2 xrefs:
// > sub_8539B8 @ 0x8547e2
// > ??> @ 0x6831c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:22 +0000
//
_DWORD *__fastcall UI_create_method(const char *a1)
{
_DWORD *v2; // r4
_DWORD *result; // r0
void *v4; // r6
v2 = CRYPTO_zalloc(&dword_1C, (int)"crypto/ui/ui_lib.c", 541);
if ( !v2 )
return nullptr;
v4 = CRYPTO_strdup(a1, (int)"crypto/ui/ui_lib.c", 544);
result = v2;
*v2 = v4;
if ( !v4 )
{
CRYPTO_free(v2, (int)"crypto/ui/ui_lib.c", 546);
ERR_put_error(40, 112, 65, (int)"crypto/ui/ui_lib.c", 547);
return nullptr;
}
return result;
}