// // X509_NAME_get_index_by_OBJ from 0x847654 to 0x8476d0 (124 bytes) // // 3 xrefs: // > X509_NAME_get_index_by_NID @ 0x8476f8 // > X509_NAME_get_text_by_OBJ @ 0x847e5c // > @ 0x67b5c // // 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 X509_NAME_get_index_by_OBJ(int *a1, int a2, int a3) { _DWORD *v3; // r6 int v4; // r0 signed int v5; // r4 int v7; // r7 int *v8; // r0 if ( !a1 ) return -1; v3 = (_DWORD *)*a1; v4 = *a1; if ( a3 < 0 ) v5 = 0; else v5 = a3 + 1; v7 = OPENSSL_sk_num(v4); if ( v5 >= v7 ) return -1; while ( 1 ) { v8 = (int *)OPENSSL_sk_value(v3, v5); if ( !OBJ_cmp(*v8, a2) ) break; if ( ++v5 == v7 ) return -1; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source