// // sub_1079B0C from 0x1079b0c to 0x1079d68 (604 bytes) // // 2 xrefs: // > sub_1079D68 @ 0x1079e0c // > X509_POLICY_NODE_print @ 0x107a890 // // 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:17:06 +0000 // __int64 __fastcall sub_1079B0C(__int64 a1, unsigned int *a2, int a3) { int v5; // w23 __int64 result; // x0 __int64 *v8; // x19 int v9; // w0 int v10; // s8 unsigned int **v11; // x21 __int64 v12; // d9 int v13; // w0 const char *v14; // x4 int v15; // w19 void *v16; // x20 __int64 v17; // x20 __int64 v18; // x0 v5 = 0; result = OPENSSL_sk_num(a2); if ( (int)result > 0 ) { do { v8 = (__int64 *)OPENSSL_sk_value((__int64)a2, v5); v9 = OBJ_obj2nid(*v8); if ( v9 == 164 ) { ++v5; BIO_printf(a1, "%*sCPS: %s\n", a3, &byte_11B8890, *(const char **)(v8[1] + 8)); } else if ( v9 == 165 ) { v10 = a3 + 2; BIO_printf(a1, "%*sUser Notice:\n", a3, &byte_11B8890); v11 = *(unsigned int ***)v8[1]; v12 = v8[1]; if ( v11 ) { BIO_printf(a1, "%*sOrganization: %s\n", a3 + 2, &byte_11B8890, *((const char **)*v11 + 1)); v13 = OPENSSL_sk_num(v11[1]); v14 = &byte_11B8890; if ( v13 > 1 ) v14 = "s"; v15 = 0; BIO_printf(a1, "%*sNumber%s: ", v10, &byte_11B8890, v14); while ( v15 < (int)OPENSSL_sk_num(v11[1]) ) { v17 = OPENSSL_sk_value((__int64)v11[1], v15); if ( v15 ) BIO_puts(a1, (__int64)", "); ++v15; v16 = (void *)i2s_ASN1_INTEGER(0, v17); BIO_puts(a1, (__int64)v16); CRYPTO_free(v16, (__int64)"crypto/x509v3/v3_cpols.c", 418); } BIO_puts(a1, (__int64)&byte_11AAA48); } v18 = *(_QWORD *)(v12 + 8); if ( v18 ) BIO_printf(a1, "%*sExplicit Text: %s\n", v10, &byte_11B8890, *(const char **)(v18 + 8)); ++v5; } else { ++v5; BIO_printf(a1, "%*sUnknown Qualifier: ", a3 + 2, &byte_11B8890); i2a_ASN1_OBJECT(a1, *v8); BIO_puts(a1, (__int64)&byte_11AAA48); } result = OPENSSL_sk_num(a2); } while ( v5 < (int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source