// // ssl_security_cert_chain from 0x7b4e50 to 0x7b4f00 (176 bytes) // // 3 xrefs: // > ssl_add_cert_chain @ 0x7921b4 // > ssl_add_cert_chain @ 0x792264 // > @ 0x5b4ac // // 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 ssl_security_cert_chain(int a1, int a2, int a3, int a4) { int v7; // r4 int result; // r0 int v9; // r0 int v10; // r0 int v11; // r1 if ( a3 ) { v7 = 0; } else { v7 = 1; a3 = OPENSSL_sk_value(a2, 0); } result = ssl_security_cert(a1, 0, a3, a4, 1); if ( result == 1 ) { while ( 1 ) { v10 = OPENSSL_sk_num(a2); v11 = v7; if ( v7++ >= v10 ) break; v9 = OPENSSL_sk_value(a2, v11); result = ssl_security_cert(a1, 0, v9, a4, 0); if ( result != 1 ) return result; } return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source