// // ASYNC_WAIT_CTX_clear_fd from 0x7cb790 to 0x7cb7e4 (84 bytes) // // 1 xrefs: // > @ 0x5f31c // // 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_clear_fd(int a1, int a2) { _DWORD *i; // r3 int v4; // r2 for ( i = *(_DWORD **)a1; ; i = (_DWORD *)i[6] ) { if ( !i ) return 0; if ( !i[5] && *i == a2 ) break; } v4 = *(_DWORD *)(a1 + 8); i[5] = 1; *(_DWORD *)(a1 + 8) = v4 + 1; return 1; }