// // OCSP_basic_add1_nonce from 0x81e37c to 0x81e47c (256 bytes) // // 1 xrefs: // > @ 0x64bac // // 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 // const void *__fastcall OCSP_basic_add1_nonce(int a1, const void *a2, int a3) { size_t v3; // r5 void *v6; // r0 void *v8; // r0 int v9; // r0 void *v10; // r3 void *v11[3]; // [sp+Ch] [bp-14h] BYREF void *v12; // [sp+18h] [bp-8h] if ( a3 <= 0 ) v3 = 16; else v3 = a3; v6 = (void *)ASN1_object_size(0, v3, 4); v11[1] = v6; if ( (int)v6 < 0 ) return nullptr; v8 = CRYPTO_malloc(v6, (int)"crypto/ocsp/ocsp_ext.c", 262); v12 = v8; if ( v8 ) { v11[0] = v8; ASN1_put_object((_BYTE **)v11, 0, v3, 4, 0); if ( a2 ) { memcpy(v11[0], a2, v3); goto LABEL_9; } if ( RAND_bytes(v11[0], v3) > 0 ) { LABEL_9: v9 = X509V3_add1_i2d(a1 + 20); v10 = v12; a2 = (const void *)v9; if ( v9 ) a2 = &dword_0 + 1; goto LABEL_11; } v10 = v12; } else { v10 = nullptr; a2 = nullptr; } LABEL_11: CRYPTO_free(v10, (int)"crypto/ocsp/ocsp_ext.c", 276); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source