//
// ASYNC_WAIT_CTX_get_fd from 0x9e0230 to 0x9e027c (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x78d8c
//
// 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
//
_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;
}