// // sub_855828 from 0x855828 to 0x85591c (244 bytes) // // 2 xrefs: // > sub_856070 @ 0x85645c // > sub_8566F0 @ 0x8567dc // // 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 // int __fastcall sub_855828(signed int *a1, int a2) { _DWORD *v3; // r7 signed int v4; // r6 int v5; // r4 int v7; // r0 int v8; // r8 const char *v9; // r5 char *v10; // r4 v3 = (_DWORD *)X509V3_parse_list(a2); if ( !v3 ) return 0; v4 = *a1; if ( *a1 ) { LABEL_3: v5 = 0; } else { while ( v4 < OPENSSL_sk_num((int)v3) ) { v7 = OPENSSL_sk_value(v3, v4); v8 = *a1; v9 = *(const char **)(v7 + 4); if ( !*a1 ) { v8 = ASN1_BIT_STRING_new(); *a1 = v8; if ( !v8 ) goto LABEL_3; } v10 = (char *)&unk_A39480; while ( strcmp(*((const char **)v10 + 2), v9) ) { v10 += 12; if ( !*((_DWORD *)v10 + 1) ) goto LABEL_3; } if ( !ASN1_BIT_STRING_set_bit(v8, *(_DWORD *)v10, 1) || !*((_DWORD *)v10 + 1) ) goto LABEL_3; ++v4; } v5 = 1; } OPENSSL_sk_pop_free((int)v3, (void (__fastcall *)(int))X509V3_conf_free); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source