// // SSL_CTX_dane_mtype_set from 0x9ab1a0 to 0x9ab2e8 (328 bytes) // // 1 xrefs: // > @ 0x7547c // // 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:06:53 +0000 // int __fastcall SSL_CTX_dane_mtype_set(int a1, int a2, unsigned int a3, char a4) { int v4; // r9 int v5; // r4 int v11; // r0 int v12; // r7 int v13; // r2 int v14; // r0 int v15; // r12 int v16; // r0 int v17; // r12 unsigned int v18; // r7 unsigned int v19; // [sp+Ch] [bp-8h] v4 = a2; if ( a2 ) v4 = 1; if ( a3 ) v5 = 0; else v5 = v4 & 1; if ( v5 ) { ERR_put_error(20, 393, 173, "ssl/ssl_lib.c", 220); return 0; } if ( *(unsigned __int8 *)(a1 + 492) >= a3 ) goto LABEL_8; v19 = a3 + 1; v11 = CRYPTO_realloc(*(_DWORD *)(a1 + 484), 4 * (a3 + 1), "ssl/ssl_lib.c", 229); v12 = v11; if ( !v11 ) { v13 = 231; LABEL_21: ERR_put_error(20, 393, 65, "ssl/ssl_lib.c", v13); return -1; } *(_DWORD *)(a1 + 484) = v11; v14 = CRYPTO_realloc(*(_DWORD *)(a1 + 488), v19, "ssl/ssl_lib.c", 236); if ( !v14 ) { v13 = 238; goto LABEL_21; } v15 = *(unsigned __int8 *)(a1 + 492); *(_DWORD *)(a1 + 488) = v14; if ( (int)a3 > v15 + 1 ) { v16 = v14 + v15; v17 = v12 + 4 * v15; v18 = v12 + 4 * (a3 + 0x3FFFFFFF); do { *(_DWORD *)(v17 + 4) = 0; v17 += 4; *(_BYTE *)++v16 = 0; } while ( v17 != v18 ); } *(_BYTE *)(a1 + 492) = a3; LABEL_8: *(_DWORD *)(*(_DWORD *)(a1 + 484) + 4 * a3) = a2; if ( !v4 ) a4 = 0; *(_BYTE *)(*(_DWORD *)(a1 + 488) + a3) = a4; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source