// // OPENSSL_sk_find_ex from 0xde0b7c to 0xde0c38 (188 bytes) // // 1 xrefs: // > @ 0x2c7c0 // // 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 // __int64 __fastcall OPENSSL_sk_find_ex(__int64 a1, __int64 a2) { __int64 v3; // x0 __int64 result; // x0 int v5; // w4 _QWORD *v6; // x3 __int64 *v7; // x3 __int64 v8; // t1 __int64 v9; // [xsp+28h] [xbp+28h] BYREF v9 = a2; if ( !a1 ) return 0xFFFFFFFFLL; if ( !*(_QWORD *)(a1 + 32) ) { v5 = *(_DWORD *)a1; if ( *(int *)a1 > 0 ) { v6 = *(_QWORD **)(a1 + 8); if ( a2 == *v6 ) return 0; v7 = v6 + 1; LODWORD(result) = 0; while ( 1 ) { result = (unsigned int)(result + 1); if ( (_DWORD)result == v5 ) break; v8 = *v7++; if ( a2 == v8 ) return result; } } return 0xFFFFFFFFLL; } OPENSSL_sk_sort((int *)a1); if ( !v9 ) return 0xFFFFFFFFLL; v3 = OBJ_bsearch_ex_( (__int64)&v9, *(_QWORD *)(a1 + 8), *(_DWORD *)a1, 8, *(__int64 (__fastcall **)(__int64, __int64))(a1 + 32), 1); if ( !v3 ) return 0xFFFFFFFFLL; return (unsigned __int64)(v3 - *(_QWORD *)(a1 + 8)) >> 3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source