// // UI_construct_prompt from 0xde2e68 to 0xde2fe8 (384 bytes) // // 1 xrefs: // > @ 0x6d6b0 // // 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 // char *__fastcall UI_construct_prompt(__int64 a1, char *a2, const char *a3) { __int64 (*v3)(void); // x3 int v7; // w0 unsigned __int64 v8; // x20 char *v9; // x0 char *v10; // x19 char *v11; // x0 char v12[8]; // [xsp+48h] [xbp+48h] BYREF char v13[8]; // [xsp+50h] [xbp+50h] BYREF char v14[8]; // [xsp+58h] [xbp+58h] BYREF v3 = *(__int64 (**)(void))(*(_QWORD *)a1 + 48LL); if ( !v3 ) { strcpy(v14, "Enter "); strcpy(v13, " for "); strcpy(v12, ":"); if ( a2 ) { v7 = strlen(a2); if ( a3 ) { v8 = (int)(strlen(a3) + v7 + 13); v9 = (char *)CRYPTO_malloc((void *)v8, (__int64)"crypto/ui/ui_lib.c", 371); v10 = v9; if ( v9 ) { OPENSSL_strlcpy(v9, v14, v8); OPENSSL_strlcat(v10, a2, v8); OPENSSL_strlcat(v10, v13, v8); OPENSSL_strlcat(v10, a3, v8); LABEL_8: OPENSSL_strlcat(v10, v12, v8); return v10; } } else { v8 = v7 + 8; v11 = (char *)CRYPTO_malloc((void *)v8, (__int64)"crypto/ui/ui_lib.c", 371); v10 = v11; if ( v11 ) { OPENSSL_strlcpy(v11, v14, v8); OPENSSL_strlcat(v10, a2, v8); goto LABEL_8; } } } return nullptr; } return (char *)v3(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source