// // X509_STORE_add_lookup from 0x83f8f8 to 0x83f980 (136 bytes) // // 8 xrefs: // > sub_643938 @ 0x643ecc // > SSL_CTX_set_default_verify_dir @ 0x7998dc // > SSL_CTX_set_default_verify_file @ 0x799928 // > X509_STORE_set_default_paths @ 0x83f0c0 // > X509_STORE_set_default_paths @ 0x83f0f0 // > X509_STORE_load_locations @ 0x83f150 // > X509_STORE_load_locations @ 0x83f19c // > @ 0x5524c // // 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_STORE_add_lookup(int a1, int a2) { _DWORD *v4; // r5 signed int v5; // r4 int result; // r0 int v7; // r0 unsigned int v8; // r1 _DWORD *v10; // r0 _DWORD *v11; // r4 int v12; // r5 v4 = *(_DWORD **)(a1 + 8); v5 = 0; while ( 1 ) { v7 = OPENSSL_sk_num((int)v4); v8 = v5; if ( v5++ >= v7 ) break; result = OPENSSL_sk_value(v4, v8); if ( *(_DWORD *)(result + 8) == a2 ) return result; } v10 = X509_LOOKUP_new(a2); v11 = v10; if ( !v10 ) return 0; v10[4] = a1; v12 = OPENSSL_sk_push(*(int **)(a1 + 8), (int)v10); result = (int)v11; if ( !v12 ) { X509_LOOKUP_free(v11); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source