// // UI_dup_input_string from 0xde1e30 to 0xde2080 (592 bytes) // // 1 xrefs: // > @ 0x528c0 // // 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 // __int64 __fastcall UI_dup_input_string(__int64 a1, const char *a2, int a3, __int64 a4, int a5, int a6) { const char *v11; // x20 _QWORD *v12; // x0 __int64 v13; // x19 int *v14; // x0 __int64 result; // x0 unsigned int v16; // w20 if ( !a2 ) { ERR_put_error(40, 109, 67, (__int64)"crypto/ui/ui_lib.c", 99); return 0xFFFFFFFFLL; } v11 = CRYPTO_strdup(a2, (__int64)"crypto/ui/ui_lib.c", 207); if ( !v11 ) { ERR_put_error(40, 103, 65, (__int64)"crypto/ui/ui_lib.c", 209); return 0; } if ( !a4 ) { ERR_put_error(40, 109, 105, (__int64)"crypto/ui/ui_lib.c", 102); return 0xFFFFFFFFLL; } v12 = CRYPTO_malloc(&dword_40, (__int64)"crypto/ui/ui_lib.c", 103); v13 = (__int64)v12; if ( !v12 ) return 0xFFFFFFFFLL; v12[1] = v11; v12[3] = a4; *((_DWORD *)v12 + 14) = 1; v14 = *(int **)(a1 + 8); *(_DWORD *)(v13 + 16) = a3; *(_DWORD *)v13 = 1; if ( v14 || (v14 = (int *)OPENSSL_sk_new_null(), (*(_QWORD *)(a1 + 8) = v14) != 0) ) { *(_DWORD *)(v13 + 32) = a5; *(_DWORD *)(v13 + 36) = a6; *(_QWORD *)(v13 + 40) = 0; result = OPENSSL_sk_push(v14, v13); if ( (int)result <= 0 ) { v16 = result - 1; if ( (*(_DWORD *)(v13 + 56) & 1) != 0 ) { CRYPTO_free(*(void **)(v13 + 8), (__int64)"crypto/ui/ui_lib.c", 56); if ( *(_DWORD *)v13 == 3 ) { CRYPTO_free(*(void **)(v13 + 32), (__int64)"crypto/ui/ui_lib.c", 59); CRYPTO_free(*(void **)(v13 + 40), (__int64)"crypto/ui/ui_lib.c", 60); CRYPTO_free(*(void **)(v13 + 48), (__int64)"crypto/ui/ui_lib.c", 61); } } CRYPTO_free((void *)v13, (__int64)"crypto/ui/ui_lib.c", 67); return v16; } } else { if ( (*(_DWORD *)(v13 + 56) & 1) != 0 ) { CRYPTO_free(*(void **)(v13 + 8), (__int64)"crypto/ui/ui_lib.c", 56); if ( *(_DWORD *)v13 == 3 ) { CRYPTO_free(*(void **)(v13 + 32), (__int64)"crypto/ui/ui_lib.c", 59); CRYPTO_free(*(void **)(v13 + 40), (__int64)"crypto/ui/ui_lib.c", 60); CRYPTO_free(*(void **)(v13 + 48), (__int64)"crypto/ui/ui_lib.c", 61); } } CRYPTO_free((void *)v13, (__int64)"crypto/ui/ui_lib.c", 67); return 0xFFFFFFFFLL; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source