// // sub_BB8CE8 from 0xbb8ce8 to 0xbb8dac (196 bytes) // // 1 xrefs: // > sub_BBA908 @ 0xbba908 // // 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 sub_BB8CE8(__int64 a1) { unsigned int v1; // w19 ssize_t v2; // x0 int v3; // w0 bool v4; // zf unsigned int v5; // w0 int v6; // w19 char v8; // [xsp+2Fh] [xbp+2Fh] BYREF v1 = 0; v2 = recv(*(_DWORD *)(a1 + 608), &v8, 1u, 2); if ( !v2 ) return v1; if ( v2 == 1 ) return 1; if ( v2 != -1 ) return (unsigned int)-1; v3 = *(_DWORD *)__errno(); if ( v3 != 11 && v3 != 115 ) { if ( v3 != 100 && (unsigned int)(v3 - 102) > 2 ) { v4 = v3 == 110; v5 = v3 - 107; v6 = v4; return -((v6 | (v5 <= 1)) ^ 1); } return v1; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source