//
// ASYNC_WAIT_CTX_get_all_fds from 0x7cb67c to 0x7cb6d8 (92 bytes)
//
// 2 xrefs:
// > SSL_get_all_async_fds @ 0x796e98
// > ??> @ 0x5bc7c
//
// 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 ASYNC_WAIT_CTX_get_all_fds(_DWORD *a1, _DWORD *a2, _DWORD *a3)
{
_DWORD *v3; // r3
v3 = (_DWORD *)*a1;
for ( *a3 = 0; v3; ++*a3 )
{
while ( v3[5] )
{
v3 = (_DWORD *)v3[6];
if ( !v3 )
return 1;
}
if ( a2 )
*a2++ = v3[1];
v3 = (_DWORD *)v3[6];
}
return 1;
}