// // X509_keyid_set1 from 0x84b1fc to 0x84b2c4 (200 bytes) // // 3 xrefs: // > sub_824818 @ 0x824930 // > PKCS12_parse @ 0x824d98 // > @ 0x6577c // // 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 X509_keyid_set1(int a1, const char *a2, int a3) { void *v5; // r5 char *result; // r0 int v7; // r3 int v8; // r0 void *v9; // r0 int v10; // [sp+4h] [bp-4h] int v11; // [sp+4h] [bp-4h] if ( a2 ) { if ( a1 && ((v5 = *(void **)(a1 + 180)) != nullptr || (v11 = a3, v9 = X509_CERT_AUX_new(), a3 = v11, v5 = v9, (*(_DWORD *)(a1 + 180) = v9) != 0)) ) { result = *((char **)v5 + 3); if ( result ) return (char *)ASN1_STRING_set((signed int *)result, a2, a3); v10 = a3; result = (char *)ASN1_OCTET_STRING_new(); a3 = v10; *((_DWORD *)v5 + 3) = result; if ( result ) return (char *)ASN1_STRING_set((signed int *)result, a2, a3); } else { return nullptr; } } else if ( a1 && (v7 = *(_DWORD *)(a1 + 180)) != 0 && (v8 = *(_DWORD *)(v7 + 12)) != 0 ) { ASN1_OCTET_STRING_free(v8); *(_DWORD *)(*(_DWORD *)(a1 + 180) + 12) = 0; return (_BYTE *)(&dword_0 + 1); } else { return (_BYTE *)(&dword_0 + 1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source