// // sub_8430AC from 0x8430ac to 0x843148 (156 bytes) // // 3 xrefs: // > X509_STORE_CTX_set0_trusted_stack @ 0x845b44 // > X509_STORE_CTX_set0_trusted_stack @ 0x845b4c // > @ 0x845b64 // // 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 sub_8430AC(int *a1, int a2, int a3) { _DWORD *v3; // r7 signed int v7; // r4 int v8; // r0 unsigned int v9; // r1 int v11; // r5 int result; // r0 v3 = *(_DWORD **)(a2 + 20); v7 = 0; do { v8 = OPENSSL_sk_num((int)v3); v9 = v7; if ( v7++ >= v8 ) { *a1 = 0; return 0; } v11 = OPENSSL_sk_value(v3, v9); } while ( !(*(int (__fastcall **)(int, int, int))(a2 + 36))(a2, a3, v11) || !x509_check_cert_time(a2, v11, 0xFFFFFFFF) ); result = v11; *a1 = v11; if ( v11 ) { X509_up_ref(v11); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source