// // tls_process_cert_status from 0x9b6bf8 to 0x9b6d74 (380 bytes) // // 2 xrefs: // > ossl_statem_client_process_message @ 0x9b8ec4 // > @ 0x76b3c // // 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:59 +0000 // int __fastcall tls_process_cert_status(_DWORD *a1, int a2) { int v2; // r3 unsigned __int8 *v5; // r1 int v6; // r12 int v7; // r2 int v9; // r3 size_t v10; // r6 void *v11; // r0 size_t v12; // r3 v2 = *(_DWORD *)(a2 + 4); if ( !v2 || (v5 = *(unsigned __int8 **)a2, v6 = *v5, *(_DWORD *)a2 = v5 + 1, *(_DWORD *)(a2 + 4) = v2 - 1, v6 != 1) ) { ERR_put_error(20, 362, 329, "ssl/statem/statem_clnt.c", 1982); v7 = 50; LABEL_4: ssl3_send_alert(a1, 2, v7); ossl_statem_set_error((int)a1); return 0; } if ( (unsigned int)(v2 - 1) <= 2 || (v9 = v2 - 4, v10 = (v5[2] << 8) | (v5[1] << 16) | v5[3], *(_DWORD *)a2 = v5 + 4, *(_DWORD *)(a2 + 4) = v9, v10 != v9) ) { ERR_put_error(20, 362, 159, "ssl/statem/statem_clnt.c", 1988); v7 = 50; goto LABEL_4; } v11 = (void *)CRYPTO_malloc(v10, "ssl/statem/statem_clnt.c", 1991); a1[99] = v11; if ( !v11 ) { ERR_put_error(20, 362, 65, "ssl/statem/statem_clnt.c", 1994); v7 = 80; goto LABEL_4; } if ( *(_DWORD *)(a2 + 4) < v10 ) { ERR_put_error(20, 362, 159, "ssl/statem/statem_clnt.c", 1999); v7 = 50; goto LABEL_4; } memcpy(v11, *(const void **)a2, v10); v12 = *(_DWORD *)(a2 + 4) - v10; *(_DWORD *)a2 += v10; *(_DWORD *)(a2 + 4) = v12; a1[100] = v10; return 3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source