//
// lws_plat_insert_socket_into_fds from 0x85c364 to 0x85c37e (26 bytes)
//
// 1 xrefs:
// > sub_8576BC @ 0x85773a
//
// 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:02:40 +0000
//
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;
}