// // BIO_sock_info from 0x7cf308 to 0x7cf3f0 (232 bytes) // // 1 xrefs: // > @ 0x5f6cc // // 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 BIO_sock_info(int a1, int a2) { struct sockaddr *v3; // r0 _DWORD *v5; // r0 unsigned int v6; // [sp+Ch] [bp-8h] BYREF if ( a2 ) { ERR_put_error(32, 141, 140, "crypto/bio/b_sock.c", 375); } else { v6 = 112; BIO_ADDR_sockaddr_noconst(); if ( getsockname(a1, v3, (socklen_t *)&v6) == -1 ) { v5 = (_DWORD *)_errno(); ERR_put_error(2, 16, *v5, "crypto/bio/b_sock.c", 364); ERR_put_error(32, 141, 132, "crypto/bio/b_sock.c", 365); } else { if ( v6 <= 0x70 ) return 1; ERR_put_error(32, 141, 133, "crypto/bio/b_sock.c", 369); } } return 0; }