//
// lws_plat_insert_socket_into_fds from 0xe38e44 to 0xe38e60 (28 bytes)
//
// 2 xrefs:
// > sub_E32F30 @ 0xe32fcc
// > ??> @ 0xcd1e0
//
// 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:09:59 +0000
//
__int64 __fastcall lws_plat_insert_socket_into_fds(__int64 result)
{
int v1; // w1
__int64 v2; // x2
v1 = *(_DWORD *)(result + 16);
v2 = *(_QWORD *)result + 8LL * v1;
*(_DWORD *)(result + 16) = v1 + 1;
*(_WORD *)(v2 + 6) = 0;
return result;
}