//
// lws_plat_service_periodic from 0x85c384 to 0x85c3a8 (36 bytes)
//
// 1 xrefs:
// > lws_service_fd @ 0x857364
//
// 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
//
__pid_t __fastcall lws_plat_service_periodic(int a1)
{
__pid_t result; // r0
__pid_t v2; // r0
result = *(_DWORD *)(a1 + 4564);
if ( result )
{
result = kill(result, 0);
if ( result < 0 )
{
v2 = getpid();
return j_kill(v2, 15);
}
}
return result;
}