// // UI_dup_verify_string from 0x10605f4 to 0x106084c (600 bytes) // // 1 xrefs: // > @ 0xb30f8 // // 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:50 +0000 // __int64 __fastcall UI_dup_verify_string(__int64 a1, const char *a2, int a3, __int64 a4, int a5, int a6, __int64 a7) { const char *v13; // x22 _QWORD *v14; // x0 __int64 v15; // x19 int *v16; // x0 __int64 result; // x0 unsigned int v18; // w20 if ( !a2 ) { ERR_put_error(40, 109, 67, (__int64)"crypto/ui/ui_lib.c", 99); return 0xFFFFFFFFLL; } v13 = CRYPTO_strdup(a2, (__int64)"crypto/ui/ui_lib.c", 235); if ( !v13 ) { ERR_put_error(40, 106, 65, (__int64)"crypto/ui/ui_lib.c", 237); return 0xFFFFFFFFLL; } if ( !a4 ) { ERR_put_error(40, 109, 105, (__int64)"crypto/ui/ui_lib.c", 102); return 0xFFFFFFFFLL; } v14 = CRYPTO_malloc(&dword_40, (__int64)"crypto/ui/ui_lib.c", 103); v15 = (__int64)v14; if ( !v14 ) return 0xFFFFFFFFLL; v14[1] = v13; v14[3] = a4; *((_DWORD *)v14 + 14) = 1; v16 = *(int **)(a1 + 8); *(_DWORD *)(v15 + 16) = a3; *(_DWORD *)v15 = 2; if ( v16 || (v16 = (int *)OPENSSL_sk_new_null(), (*(_QWORD *)(a1 + 8) = v16) != 0) ) { *(_DWORD *)(v15 + 32) = a5; *(_DWORD *)(v15 + 36) = a6; *(_QWORD *)(v15 + 40) = a7; result = OPENSSL_sk_push(v16, v15); if ( (int)result <= 0 ) { v18 = result - 1; if ( (*(_DWORD *)(v15 + 56) & 1) != 0 ) { CRYPTO_free(*(void **)(v15 + 8), (__int64)"crypto/ui/ui_lib.c", 56); if ( *(_DWORD *)v15 == 3 ) { CRYPTO_free(*(void **)(v15 + 32), (__int64)"crypto/ui/ui_lib.c", 59); CRYPTO_free(*(void **)(v15 + 40), (__int64)"crypto/ui/ui_lib.c", 60); CRYPTO_free(*(void **)(v15 + 48), (__int64)"crypto/ui/ui_lib.c", 61); } } CRYPTO_free((void *)v15, (__int64)"crypto/ui/ui_lib.c", 67); return v18; } } else { if ( (*(_DWORD *)(v15 + 56) & 1) != 0 ) { CRYPTO_free(*(void **)(v15 + 8), (__int64)"crypto/ui/ui_lib.c", 56); if ( *(_DWORD *)v15 == 3 ) { CRYPTO_free(*(void **)(v15 + 32), (__int64)"crypto/ui/ui_lib.c", 59); CRYPTO_free(*(void **)(v15 + 40), (__int64)"crypto/ui/ui_lib.c", 60); CRYPTO_free(*(void **)(v15 + 48), (__int64)"crypto/ui/ui_lib.c", 61); } } CRYPTO_free((void *)v15, (__int64)"crypto/ui/ui_lib.c", 67); return 0xFFFFFFFFLL; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source