// // X509_STORE_add_lookup from 0xa544f8 to 0xa54580 (136 bytes) // // 8 xrefs: // > sub_8539B8 @ 0x853f4c // > SSL_CTX_set_default_verify_dir @ 0x9ae4e0 // > SSL_CTX_set_default_verify_file @ 0x9ae52c // > X509_STORE_set_default_paths @ 0xa53cc0 // > X509_STORE_set_default_paths @ 0xa53cf0 // > X509_STORE_load_locations @ 0xa53d50 // > X509_STORE_load_locations @ 0xa53d9c // > @ 0x6817c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:08:25 +0000 // 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