// // X509_policy_tree_free from 0x84bb9c to 0x84bc50 (180 bytes) // // 6 xrefs: // > X509_STORE_CTX_cleanup @ 0x845bb0 // > X509_policy_check @ 0x84bcd4 // > X509_policy_check @ 0x84bf0c // > X509_policy_check @ 0x84c024 // > X509_policy_check @ 0x84c4d4 // > @ 0x677cc // // 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 // void __fastcall X509_policy_tree_free(int a1) { int v2; // r4 int v3; // r5 if ( a1 ) { OPENSSL_sk_free(*(void ***)(a1 + 12)); OPENSSL_sk_pop_free(*(_DWORD *)(a1 + 16), (void (__fastcall *)(int))sub_84BB6C); if ( *(int *)(a1 + 4) > 0 ) { v2 = *(_DWORD *)a1 + 16; v3 = 0; do { X509_free(*(_DWORD **)(v2 - 16)); OPENSSL_sk_pop_free(*(_DWORD *)(v2 - 12), (void (__fastcall *)(int))policy_node_free); policy_node_free(*(_DWORD *)(v2 - 8)); ++v3; v2 += 16; } while ( *(_DWORD *)(a1 + 4) > v3 ); } OPENSSL_sk_pop_free(*(_DWORD *)(a1 + 8), (void (__fastcall *)(int))policy_data_free); CRYPTO_free(*(void **)a1, (int)"crypto/x509v3/pcy_tree.c", 622); CRYPTO_free((void *)a1, (int)"crypto/x509v3/pcy_tree.c", 623); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source