undefined4 FUN_0041e4c8(int param_1,char *param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  undefined4 local_res8;
  undefined4 local_resc;
  char acStack_414 [1023];
  undefined1 local_15;
  
  uVar1 = 0xffffffff;
  if (param_1 != 0) {
    local_res8 = param_3;
    local_resc = param_4;
    sobj_free();
    uVar1 = 0;
    if (param_2 != (char *)0x0) {
      vsnprintf(acStack_414,0x400,param_2,&local_res8)   //possible issue identified - semgrep
      local_15 = 0;
      sobj_add_string(param_1,acStack_414);
      uVar1 = 0;
    }
  }
  return uVar1;
}