//
// lws_plat_service_periodic from 0x64c304 to 0x64c328 (36 bytes)
//
// 1 xrefs:
// > lws_service_fd @ 0x6472e4
//
// 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
//
__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;
}