//
// ASYNC_WAIT_CTX_get_fd from 0x7cb630 to 0x7cb67c (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x5f30c
//
// 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
//
_DWORD *__fastcall ASYNC_WAIT_CTX_get_fd(_DWORD **a1, int a2, _DWORD *a3, _DWORD *a4)
{
_DWORD *result; // r0
int v5; // r1
result = *a1;
if ( result )
{
while ( result[5] || *result != a2 )
{
result = (_DWORD *)result[6];
if ( !result )
return result;
}
v5 = result[2];
*a3 = result[1];
*a4 = v5;
return &dword_0 + 1;
}
return result;
}