//
// sub_FBC938 from 0xfbc938 to 0xfbc998 (96 bytes)
//
// 8 xrefs:
// > SSL_read @ 0xfbe228
// > SSL_read @ 0xfbe234
// > SSL_peek @ 0xfbe3c8
// > SSL_peek @ 0xfbe3d4
// > SSL_write @ 0xfbe550
// > SSL_write @ 0xfbe55c
// > SSL_shutdown @ 0xfbe6e8
// > SSL_shutdown @ 0xfbe6f4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:18 +0000
//
__int64 __fastcall sub_FBC938(_QWORD *a1)
{
unsigned int v1; // w3
v1 = *((_DWORD *)a1 + 5);
if ( v1 < 2 )
return ((__int64 (__fastcall *)(_QWORD, _QWORD, _QWORD))a1[3])(*a1, a1[1], *((unsigned int *)a1 + 4));
if ( v1 == 2 )
return ((__int64 (__fastcall *)(_QWORD))a1[3])(*a1);
return 0xFFFFFFFFLL;
}