//
// ASYNC_WAIT_CTX_get_all_fds from 0x9e027c to 0x9e02d8 (92 bytes)
//
// 2 xrefs:
// > SSL_get_all_async_fds @ 0x9aba9c
// > ??> @ 0x756fc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:20 +0000
//
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;
}