// // sub_107A900 from 0x107a900 to 0x107aa0c (268 bytes) // // 2 xrefs: // > sub_107B008 @ 0x107b44c // > sub_107B5D0 @ 0x107b6d8 // // 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_107A900(__int64 *a1, __int64 a2) { __int64 result; // x0 unsigned int *v4; // x22 __int64 v5; // x21 unsigned int v6; // w19 __int64 v7; // x0 __int64 v8; // x23 const char *v9; // x20 unsigned int *v10; // x19 __int64 v11; // x0 result = X509V3_parse_list(a2); v4 = (unsigned int *)result; if ( result ) { v5 = *a1; if ( *a1 ) { LABEL_3: v6 = 0; } else { while ( (int)v5 < (int)OPENSSL_sk_num(v4) ) { v7 = OPENSSL_sk_value((__int64)v4, v5); v8 = *a1; v9 = *(const char **)(v7 + 8); if ( !*a1 ) { v11 = ASN1_BIT_STRING_new(); *a1 = v11; v8 = v11; if ( !v11 ) goto LABEL_3; } v10 = (unsigned int *)&unk_140EAC8; while ( strcmp(*((const char **)v10 + 2), v9) ) { v10 += 6; if ( !*((_QWORD *)v10 + 1) ) goto LABEL_3; } if ( !(unsigned int)ASN1_BIT_STRING_set_bit(v8, *v10, 1) || !*((_QWORD *)v10 + 1) ) goto LABEL_3; LODWORD(v5) = v5 + 1; } v6 = 1; } OPENSSL_sk_pop_free((int *)v4, (void (__fastcall *)(__int64))X509V3_conf_free); return v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source