// // OCSP_request_add1_nonce from 0x1042184 to 0x104229c (280 bytes) // // 1 xrefs: // > @ 0xc37d8 // // 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:31 +0000 // __int64 __fastcall OCSP_request_add1_nonce(__int64 a1, const void *a2, int a3) { int v3; // w19 int v6; // w0 void *v7; // x0 bool v8; // zf void *v10; // [xsp+40h] [xbp+40h] BYREF int v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v3 = a3; if ( a3 <= 0 ) v3 = 16; v6 = ASN1_object_size(0, v3, 4); v11 = v6; if ( (v6 & 0x80000000) == 0 ) { v7 = CRYPTO_malloc((void *)v6, (__int64)"crypto/ocsp/ocsp_ext.c", 262); v12 = v7; if ( v7 ) { v10 = v7; ASN1_put_object((_BYTE **)&v10, 0, v3, 4, 0); if ( a2 ) { memcpy(v10, a2, v3); goto LABEL_7; } if ( (int)RAND_bytes(v10, (unsigned int)v3) > 0 ) { LABEL_7: v8 = (unsigned int)X509V3_add1_i2d(a1 + 24) == 0; v7 = v12; LODWORD(a2) = !v8; goto LABEL_10; } v7 = v12; } else { LODWORD(a2) = 0; } LABEL_10: CRYPTO_free(v7, (__int64)"crypto/ocsp/ocsp_ext.c", 276); return (unsigned int)a2; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source