//
// lws_callback_all_protocol from 0x64656c to 0x6465c8 (92 bytes)
//
// 0 xrefs:
//
// 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_callback_all_protocol(_DWORD *a1, int a2, int a3)
{
int v3; // r7
int v4; // r4
int *v5; // r9
int v9; // r2
int v10; // r0
v3 = a1[1138];
if ( v3 > 0 )
{
v4 = 0;
v5 = a1 + 1138;
do
{
v9 = *(_DWORD *)(a1[6] + 8 * v4++);
v10 = *(_DWORD *)(a1[7] + 4 * v9);
if ( v10 && *(_DWORD *)(v10 + 188) == a2 )
{
(*(void (__fastcall **)(int, int, _DWORD, _DWORD, _DWORD))(a2 + 4))(v10, a3, *(_DWORD *)(v10 + 192), 0, 0);
v3 = *v5;
}
}
while ( v4 < v3 );
}
return 0;
}