//
// lws_plat_insert_socket_into_fds from 0x64c2e4 to 0x64c2fe (26 bytes)
//
// 1 xrefs:
// > sub_64763C @ 0x6476ba
//
// 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 lws_plat_insert_socket_into_fds(int result)
{
int v1; // r2
int v2; // r3
v1 = *(_DWORD *)(result + 4552);
v2 = *(_DWORD *)(result + 24) + 8 * v1;
*(_DWORD *)(result + 4552) = v1 + 1;
*(_WORD *)(v2 + 6) = 0;
return result;
}