//
// ASYNC_WAIT_CTX_set_wait_fd from 0xfef948 to 0xfef9e4 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x88a38
//
// 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:45 +0000
//
__int64 __fastcall ASYNC_WAIT_CTX_set_wait_fd(__int64 *a1, __int64 a2, int a3, __int64 a4, __int64 a5)
{
__int64 result; // x0
__int64 v9; // x2
__int64 v10; // x1
result = CRYPTO_zalloc(48, "crypto/async/async_wait.c", 50);
if ( result )
{
v9 = *a1;
v10 = a1[1] + 1;
*(_QWORD *)result = a2;
*(_DWORD *)(result + 8) = a3;
*(_QWORD *)(result + 16) = a4;
*(_QWORD *)(result + 24) = a5;
*(_DWORD *)(result + 32) = 1;
*(_QWORD *)(result + 40) = v9;
*a1 = result;
a1[1] = v10;
return 1;
}
return result;
}