void FUN_00487ba0(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)

{
  undefined4 *puVar1;
  
  do {
    do {
      syscall(0)   //possible issue identified - semgrep
    } while (param_4 == 0);
    puVar1 = (undefined4 *)FUN_0047f6f0(param_1);
    *puVar1 = 0xfa1;
  } while( true );
}