
int fmtstr(char *outbuf,size_t length,char *fmt,...)

{
  char cVar1;
  byte *name;
  int iVar2;
  uint uVar3;
  var **ppvVar4;
  char *pcVar5;
  uint uVar6;
  byte *pbVar7;
  undefined4 in_a3;
  var *pvVar8;
  undefined *puVar9;
  undefined4 uStackX_c;
  va_list ap;
  
  puVar9 = PTR___stack_chk_guard_0012b14c;
  name = *(byte **)PTR___stack_chk_guard_0012b14c;
  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =
       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;
  uStackX_c = in_a3;
  iVar2 = (*(code *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c);
  int_on();
  if (name == *(byte **)puVar9) {
    return iVar2;
  }
  puVar9 = PTR___stack_chk_fail_0012b0c8;
  (*(code *)PTR___stack_chk_fail_0012b0c8)();
  uVar3 = (uint)*name;
  uVar6 = uVar3 << 4;
  pbVar7 = name;
  while ((uVar3 != 0 && (uVar3 != 0x3d))) {
    pbVar7 = pbVar7 + 1;
    uVar6 = uVar6 + uVar3;
    uVar3 = (uint)*pbVar7;
  }
  iVar2 = **(int **)(puVar9 + 0xb9304);
  ppvVar4 = findvar((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name);
  pvVar8 = *ppvVar4;
  if (pvVar8 != (var *)0x0) {
    uVar3 = pvVar8->flags;
    if ((uVar3 & 0x200) != 0) {
      (*pvVar8->var_func)((char *)0x0);
      uVar3 = pvVar8->flags;
    }
    if ((uVar3 & 0x20) == 0) {
      pcVar5 = pvVar8->var_text;
      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {
        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),
               *(undefined4 *)(iVar2 + 0x158));
        pcVar5 = pvVar8->var_text;
      }
      do {
        cVar1 = *pcVar5;
        if (cVar1 == '\0') {
          return (int)pcVar5;
        }
        pcVar5 = pcVar5 + 1;
      } while (cVar1 != '=');
      return (int)pcVar5;
    }
  }
  return 0;
}



undefined4 FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 local_resc;
  
  puVar1 = PTR___stack_chk_guard_0012b14c;
  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;
  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =
       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;
  local_resc = param_4;
  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);
  FUN_0006d568();
  if (iVar2 == *(int *)puVar1) {
    return uVar3;
  }
  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();
  return uVar3;
}


lui gp,0xc
addiu gp,gp,0xca8
addu gp,gp,t9
addiu sp,sp,-0x38
lw v1,-0x7904(gp)
sw s0,0x30(sp)
sw a3,0x44(sp)
lw s0,-0x7004(gp)
lw v1,0x0(v1)
sw gp,0x18(sp)
sw ra,0x34(sp)
lw v0,0x0(s0)
sw v0,0x2c(sp)
lw v0,0x24(v1)
addiu v0,v0,0x1
sw v0,0x24(v1)
sw a2,0x10(sp)
addiu v0,sp,0x44
lw t9,-0x72f0(gp)
li a3,-0x1
li a2,0x1
sw v0,0x28(sp)
jalr t9
_sw v0,0x14(sp)
lw gp,0x18(sp)
lw t9,-0x793c(gp)
addiu t9,t9,-0x2a98
bal 0x0006d568
_sw v0,0x24(sp)
lw a0,0x2c(sp)
lw v1,0x0(s0)
lw gp,0x18(sp)
bne a0,v1,0x00071540
_lw v0,0x24(sp)
lw ra,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7088(gp)
jalr t9
_nop
(translation_unit "undefined4 FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}" type_identifier (function_declarator "FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;" (assignment_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" * (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = (binary_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" * (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal)) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);" (assignment_expression "uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc)" identifier = (call_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)" ( (pointer_expression "*(code *)PTR___vsnprintf_chk_0012ae60" * (cast_expression "(code *)PTR___vsnprintf_chk_0012ae60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,1,0xffffffff,param_3,&local_resc)" ( identifier , identifier , number_literal , number_literal , identifier , (pointer_expression "&local_resc" & identifier) )))) ;) (expression_statement "FUN_0006d568();" (call_expression "FUN_0006d568()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int fmtstr(char *outbuf,size_t length,char *fmt,...)\n\n{\n  char cVar1;\n  byte *name;\n  int iVar2;\n  uint uVar3;\n  var **ppvVar4;\n  char *pcVar5;\n  uint uVar6;\n  byte *pbVar7;\n  undefined4 in_a3;\n  var *pvVar8;\n  undefined *puVar9;\n  undefined4 uStackX_c;\n  va_list ap;\n  \n  puVar9 = PTR___stack_chk_guard_0012b14c;\n  name = *(byte **)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  uStackX_c = in_a3;\n  iVar2 = (*(code *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c);\n  int_on();\n  if (name == *(byte **)puVar9) {\n    return iVar2;\n  }\n  puVar9 = PTR___stack_chk_fail_0012b0c8;\n  (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  uVar3 = (uint)*name;\n  uVar6 = uVar3 << 4;\n  pbVar7 = name;\n  while ((uVar3 != 0 && (uVar3 != 0x3d))) {\n    pbVar7 = pbVar7 + 1;\n    uVar6 = uVar6 + uVar3;\n    uVar3 = (uint)*pbVar7;\n  }\n  iVar2 = **(int **)(puVar9 + 0xb9304);\n  ppvVar4 = findvar((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name);\n  pvVar8 = *ppvVar4;\n  if (pvVar8 != (var *)0x0) {\n    uVar3 = pvVar8->flags;\n    if ((uVar3 & 0x200) != 0) {\n      (*pvVar8->var_func)((char *)0x0);\n      uVar3 = pvVar8->flags;\n    }\n    if ((uVar3 & 0x20) == 0) {\n      pcVar5 = pvVar8->var_text;\n      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }\n      do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');\n      return (int)pcVar5;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int fmtstr(char *outbuf,size_t length,char *fmt,...)\n\n{\n  char cVar1;\n  byte *name;\n  int iVar2;\n  uint uVar3;\n  var **ppvVar4;\n  char *pcVar5;\n  uint uVar6;\n  byte *pbVar7;\n  undefined4 in_a3;\n  var *pvVar8;\n  undefined *puVar9;\n  undefined4 uStackX_c;\n  va_list ap;\n  \n  puVar9 = PTR___stack_chk_guard_0012b14c;\n  name = *(byte **)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  uStackX_c = in_a3;\n  iVar2 = (*(code *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c);\n  int_on();\n  if (name == *(byte **)puVar9) {\n    return iVar2;\n  }\n  puVar9 = PTR___stack_chk_fail_0012b0c8;\n  (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  uVar3 = (uint)*name;\n  uVar6 = uVar3 << 4;\n  pbVar7 = name;\n  while ((uVar3 != 0 && (uVar3 != 0x3d))) {\n    pbVar7 = pbVar7 + 1;\n    uVar6 = uVar6 + uVar3;\n    uVar3 = (uint)*pbVar7;\n  }\n  iVar2 = **(int **)(puVar9 + 0xb9304);\n  ppvVar4 = findvar((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name);\n  pvVar8 = *ppvVar4;\n  if (pvVar8 != (var *)0x0) {\n    uVar3 = pvVar8->flags;\n    if ((uVar3 & 0x200) != 0) {\n      (*pvVar8->var_func)((char *)0x0);\n      uVar3 = pvVar8->flags;\n    }\n    if ((uVar3 & 0x20) == 0) {\n      pcVar5 = pvVar8->var_text;\n      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }\n      do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');\n      return (int)pcVar5;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "fmtstr(char *outbuf,size_t length,char *fmt,...)" identifier (parameter_list "(char *outbuf,size_t length,char *fmt,...)" ( (parameter_declaration "char *outbuf" primitive_type (pointer_declarator "*outbuf" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) , (parameter_declaration "char *fmt" primitive_type (pointer_declarator "*fmt" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  char cVar1;\n  byte *name;\n  int iVar2;\n  uint uVar3;\n  var **ppvVar4;\n  char *pcVar5;\n  uint uVar6;\n  byte *pbVar7;\n  undefined4 in_a3;\n  var *pvVar8;\n  undefined *puVar9;\n  undefined4 uStackX_c;\n  va_list ap;\n  \n  puVar9 = PTR___stack_chk_guard_0012b14c;\n  name = *(byte **)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  uStackX_c = in_a3;\n  iVar2 = (*(code *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c);\n  int_on();\n  if (name == *(byte **)puVar9) {\n    return iVar2;\n  }\n  puVar9 = PTR___stack_chk_fail_0012b0c8;\n  (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  uVar3 = (uint)*name;\n  uVar6 = uVar3 << 4;\n  pbVar7 = name;\n  while ((uVar3 != 0 && (uVar3 != 0x3d))) {\n    pbVar7 = pbVar7 + 1;\n    uVar6 = uVar6 + uVar3;\n    uVar3 = (uint)*pbVar7;\n  }\n  iVar2 = **(int **)(puVar9 + 0xb9304);\n  ppvVar4 = findvar((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name);\n  pvVar8 = *ppvVar4;\n  if (pvVar8 != (var *)0x0) {\n    uVar3 = pvVar8->flags;\n    if ((uVar3 & 0x200) != 0) {\n      (*pvVar8->var_func)((char *)0x0);\n      uVar3 = pvVar8->flags;\n    }\n    if ((uVar3 & 0x20) == 0) {\n      pcVar5 = pvVar8->var_text;\n      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }\n      do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');\n      return (int)pcVar5;\n    }\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte *name;" type_identifier (pointer_declarator "*name" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "var **ppvVar4;" type_identifier (pointer_declarator "**ppvVar4" * (pointer_declarator "*ppvVar4" * identifier)) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "var *pvVar8;" type_identifier (pointer_declarator "*pvVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uStackX_c;" type_identifier identifier ;) (declaration "va_list ap;" type_identifier identifier ;) (expression_statement "puVar9 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar9 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "name = *(byte **)PTR___stack_chk_guard_0012b14c;" (assignment_expression "name = *(byte **)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_0012b14c" * (cast_expression "(byte **)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;" (assignment_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" * (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = (binary_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" * (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal)) ;) (expression_statement "uStackX_c = in_a3;" (assignment_expression "uStackX_c = in_a3" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c);" (assignment_expression "iVar2 = (*(code *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c)" identifier = (call_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c)" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)" ( (pointer_expression "*(code *)PTR___vsnprintf_chk_0012ae60" * (cast_expression "(code *)PTR___vsnprintf_chk_0012ae60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(outbuf,length,1,0xffffffff,fmt,&uStackX_c)" ( identifier , identifier , number_literal , number_literal , identifier , (pointer_expression "&uStackX_c" & identifier) )))) ;) (expression_statement "int_on();" (call_expression "int_on()" identifier (argument_list "()" ( ))) ;) (if_statement "if (name == *(byte **)puVar9) {\n    return iVar2;\n  }" if (parenthesized_expression "(name == *(byte **)puVar9)" ( (binary_expression "name == *(byte **)puVar9" identifier == (pointer_expression "*(byte **)puVar9" * (cast_expression "(byte **)puVar9" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar9 = PTR___stack_chk_fail_0012b0c8;" (assignment_expression "puVar9 = PTR___stack_chk_fail_0012b0c8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0012b0c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)*name;" (assignment_expression "uVar3 = (uint)*name" identifier = (binary_expression "(uint)*name" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar6 = uVar3 << 4;" (assignment_expression "uVar6 = uVar3 << 4" identifier = (binary_expression "uVar3 << 4" identifier << number_literal)) ;) (expression_statement "pbVar7 = name;" (assignment_expression "pbVar7 = name" identifier = identifier) ;) (while_statement "while ((uVar3 != 0 && (uVar3 != 0x3d))) {\n    pbVar7 = pbVar7 + 1;\n    uVar6 = uVar6 + uVar3;\n    uVar3 = (uint)*pbVar7;\n  }" while (parenthesized_expression "((uVar3 != 0 && (uVar3 != 0x3d)))" ( (parenthesized_expression "(uVar3 != 0 && (uVar3 != 0x3d))" ( (binary_expression "uVar3 != 0 && (uVar3 != 0x3d)" (binary_expression "uVar3 != 0" identifier != number_literal) && (parenthesized_expression "(uVar3 != 0x3d)" ( (binary_expression "uVar3 != 0x3d" identifier != number_literal) ))) )) )) (compound_statement "{\n    pbVar7 = pbVar7 + 1;\n    uVar6 = uVar6 + uVar3;\n    uVar3 = (uint)*pbVar7;\n  }" { (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 + uVar3;" (assignment_expression "uVar6 = uVar6 + uVar3" identifier = (binary_expression "uVar6 + uVar3" identifier + identifier)) ;) (expression_statement "uVar3 = (uint)*pbVar7;" (assignment_expression "uVar3 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) (expression_statement "iVar2 = **(int **)(puVar9 + 0xb9304);" (assignment_expression "iVar2 = **(int **)(puVar9 + 0xb9304)" identifier = (pointer_expression "**(int **)(puVar9 + 0xb9304)" * (pointer_expression "*(int **)(puVar9 + 0xb9304)" * (cast_expression "(int **)(puVar9 + 0xb9304)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0xb9304)" ( (binary_expression "puVar9 + 0xb9304" identifier + number_literal) )))))) ;) (expression_statement "ppvVar4 = findvar((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name);" (assignment_expression "ppvVar4 = findvar((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name)" identifier = (call_expression "findvar((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name)" identifier (argument_list "((var **)(iVar2 + (uVar6 % 0x27 + 7) * 4),(char *)name)" ( (cast_expression "(var **)(iVar2 + (uVar6 % 0x27 + 7) * 4)" ( (type_descriptor "var **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + (uVar6 % 0x27 + 7) * 4)" ( (binary_expression "iVar2 + (uVar6 % 0x27 + 7) * 4" identifier + (binary_expression "(uVar6 % 0x27 + 7) * 4" (parenthesized_expression "(uVar6 % 0x27 + 7)" ( (binary_expression "uVar6 % 0x27 + 7" (binary_expression "uVar6 % 0x27" identifier % number_literal) + number_literal) )) * number_literal)) ))) , (cast_expression "(char *)name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "pvVar8 = *ppvVar4;" (assignment_expression "pvVar8 = *ppvVar4" identifier = (pointer_expression "*ppvVar4" * identifier)) ;) (if_statement "if (pvVar8 != (var *)0x0) {\n    uVar3 = pvVar8->flags;\n    if ((uVar3 & 0x200) != 0) {\n      (*pvVar8->var_func)((char *)0x0);\n      uVar3 = pvVar8->flags;\n    }\n    if ((uVar3 & 0x20) == 0) {\n      pcVar5 = pvVar8->var_text;\n      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }\n      do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');\n      return (int)pcVar5;\n    }\n  }" if (parenthesized_expression "(pvVar8 != (var *)0x0)" ( (binary_expression "pvVar8 != (var *)0x0" identifier != (cast_expression "(var *)0x0" ( (type_descriptor "var *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = pvVar8->flags;\n    if ((uVar3 & 0x200) != 0) {\n      (*pvVar8->var_func)((char *)0x0);\n      uVar3 = pvVar8->flags;\n    }\n    if ((uVar3 & 0x20) == 0) {\n      pcVar5 = pvVar8->var_text;\n      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }\n      do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');\n      return (int)pcVar5;\n    }\n  }" { (expression_statement "uVar3 = pvVar8->flags;" (assignment_expression "uVar3 = pvVar8->flags" identifier = (field_expression "pvVar8->flags" identifier -> field_identifier)) ;) (if_statement "if ((uVar3 & 0x200) != 0) {\n      (*pvVar8->var_func)((char *)0x0);\n      uVar3 = pvVar8->flags;\n    }" if (parenthesized_expression "((uVar3 & 0x200) != 0)" ( (binary_expression "(uVar3 & 0x200) != 0" (parenthesized_expression "(uVar3 & 0x200)" ( (binary_expression "uVar3 & 0x200" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      (*pvVar8->var_func)((char *)0x0);\n      uVar3 = pvVar8->flags;\n    }" { (expression_statement "(*pvVar8->var_func)((char *)0x0);" (call_expression "(*pvVar8->var_func)((char *)0x0)" (parenthesized_expression "(*pvVar8->var_func)" ( (pointer_expression "*pvVar8->var_func" * (field_expression "pvVar8->var_func" identifier -> field_identifier)) )) (argument_list "((char *)0x0)" ( (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "uVar3 = pvVar8->flags;" (assignment_expression "uVar3 = pvVar8->flags" identifier = (field_expression "pvVar8->flags" identifier -> field_identifier)) ;) })) (if_statement "if ((uVar3 & 0x20) == 0) {\n      pcVar5 = pvVar8->var_text;\n      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }\n      do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');\n      return (int)pcVar5;\n    }" if (parenthesized_expression "((uVar3 & 0x20) == 0)" ( (binary_expression "(uVar3 & 0x20) == 0" (parenthesized_expression "(uVar3 & 0x20)" ( (binary_expression "uVar3 & 0x20" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      pcVar5 = pvVar8->var_text;\n      if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }\n      do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');\n      return (int)pcVar5;\n    }" { (expression_statement "pcVar5 = pvVar8->var_text;" (assignment_expression "pcVar5 = pvVar8->var_text" identifier = (field_expression "pvVar8->var_text" identifier -> field_identifier)) ;) (if_statement "if ((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))) {\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }" if (parenthesized_expression "((pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c)))" ( (binary_expression "(pvVar8 == (var *)(iVar2 + 0x138)) && (pcVar5 == (char *)(iVar2 + 0x15c))" (parenthesized_expression "(pvVar8 == (var *)(iVar2 + 0x138))" ( (binary_expression "pvVar8 == (var *)(iVar2 + 0x138)" identifier == (cast_expression "(var *)(iVar2 + 0x138)" ( (type_descriptor "var *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x138)" ( (binary_expression "iVar2 + 0x138" identifier + number_literal) )))) )) && (parenthesized_expression "(pcVar5 == (char *)(iVar2 + 0x15c))" ( (binary_expression "pcVar5 == (char *)(iVar2 + 0x15c)" identifier == (cast_expression "(char *)(iVar2 + 0x15c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x15c)" ( (binary_expression "iVar2 + 0x15c" identifier + number_literal) )))) ))) )) (compound_statement "{\n        fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));\n        pcVar5 = pvVar8->var_text;\n      }" { (expression_statement "fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158));" (call_expression "fmtstr((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158))" identifier (argument_list "((char *)(iVar2 + 0x163),0xd,(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc),\n               *(undefined4 *)(iVar2 + 0x158))" ( (cast_expression "(char *)(iVar2 + 0x163)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x163)" ( (binary_expression "iVar2 + 0x163" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(*(int *)(puVar9 + 0xb8c5c) + -0x71fc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar9 + 0xb8c5c) + -0x71fc)" ( (binary_expression "*(int *)(puVar9 + 0xb8c5c) + -0x71fc" (pointer_expression "*(int *)(puVar9 + 0xb8c5c)" * (cast_expression "(int *)(puVar9 + 0xb8c5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0xb8c5c)" ( (binary_expression "puVar9 + 0xb8c5c" identifier + number_literal) )))) + number_literal) ))) , (pointer_expression "*(undefined4 *)(iVar2 + 0x158)" * (cast_expression "(undefined4 *)(iVar2 + 0x158)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x158)" ( (binary_expression "iVar2 + 0x158" identifier + number_literal) )))) ))) ;) (expression_statement "pcVar5 = pvVar8->var_text;" (assignment_expression "pcVar5 = pvVar8->var_text" identifier = (field_expression "pvVar8->var_text" identifier -> field_identifier)) ;) })) (do_statement "do {\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '=');" do (compound_statement "{\n        cVar1 = *pcVar5;\n        if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }\n        pcVar5 = pcVar5 + 1;\n      }" { (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar1 == '\0') {\n          return (int)pcVar5;\n        }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return (int)pcVar5;\n        }" { (return_statement "return (int)pcVar5;" return (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '=')" ( (binary_expression "cVar1 != '='" identifier != (char_literal "'='" ' character ')) )) ;) (return_statement "return (int)pcVar5;" return (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}" type_identifier (function_declarator "FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 local_resc;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;" (assignment_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" * (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) = (binary_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" * (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" ( (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" * (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal)) ;) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" identifier = identifier) ;) (expression_statement "uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);" (assignment_expression "uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc)" identifier = (call_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)" ( (pointer_expression "*(code *)PTR___vsnprintf_chk_0012ae60" * (cast_expression "(code *)PTR___vsnprintf_chk_0012ae60" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,1,0xffffffff,param_3,&local_resc)" ( identifier , identifier , number_literal , number_literal , identifier , (pointer_expression "&local_resc" & identifier) )))) ;) (expression_statement "FUN_0006d568();" (call_expression "FUN_0006d568()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , LIT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_000714a8(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_000714a8") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 local_resc;\n  \n  puVar1 = PTR___stack_chk_guard_0012b14c;\n  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;\n  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;\n  local_resc = param_4;\n  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);\n  FUN_0006d568();\n  if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 local_resc;" (type_identifier "undefined4") (identifier "local_resc") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0012b14c" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_0012b14c")) (; ";")) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_0012b14c" (identifier "iVar2") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0012b14c")))) (; ";")) (expression_statement "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;" (assignment_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =\n       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" (* "*") (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" (( "(") (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" (* "*") (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ash_ptr_to_globals_misc_0012a84c"))) (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1" (pointer_expression "*(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" (* "*") (cast_expression "(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24)" (( "(") (binary_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24" (pointer_expression "*(int *)PTR_ash_ptr_to_globals_misc_0012a84c" (* "*") (cast_expression "(int *)PTR_ash_ptr_to_globals_misc_0012a84c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ash_ptr_to_globals_misc_0012a84c"))) (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_resc = param_4;" (assignment_expression "local_resc = param_4" (identifier "local_resc") (= "=") (identifier "param_4")) (; ";")) (expression_statement "uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);" (assignment_expression "uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc)" (parenthesized_expression "(*(code *)PTR___vsnprintf_chk_0012ae60)" (( "(") (pointer_expression "*(code *)PTR___vsnprintf_chk_0012ae60" (* "*") (cast_expression "(code *)PTR___vsnprintf_chk_0012ae60" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___vsnprintf_chk_0012ae60"))) () ")")) (argument_list "(param_1,param_2,1,0xffffffff,param_3,&local_resc)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_resc" (& "&") (identifier "local_resc")) () ")")))) (; ";")) (expression_statement "FUN_0006d568();" (call_expression "FUN_0006d568()" (identifier "FUN_0006d568") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(iVar2 == *(int *)puVar1)" (( "(") (binary_expression "iVar2 == *(int *)puVar1" (identifier "iVar2") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return uVar3;\n  }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0012b0c8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

int function_1(char *outbuf,size_t length,char *fmt,...)

{
  char var_11;
  type_1 *var_2;
  int var_8;
  type_2 var_3;
  type_3 **ppvVar4;
  char *var_10;
  type_2 var_5;
  type_1 *var_4;
  type_4 in_a3;
  type_3 *var_9;
  type_5 *var_6;
  type_4 uStackX_c;
  type_6 ap;
  
  var_6 = PTR___stack_chk_guard_0012b14c;
  var_2 = *(type_1 **)PTR___stack_chk_guard_0012b14c;
  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =
       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;
  uStackX_c = in_a3;
  var_8 = (*(type_7 *)PTR___vsnprintf_chk_0012ae60)(outbuf,length,1,0xffffffff,fmt,&uStackX_c);
  var_1();
  if (var_2 == *(type_1 **)var_6) {
    return var_8;
  }
  var_6 = PTR___stack_chk_fail_0012b0c8;
  (*(type_7 *)PTR___stack_chk_fail_0012b0c8)();
  var_3 = (type_2)*var_2;
  var_5 = var_3 << 4;
  var_4 = var_2;
  while ((var_3 != 0 && (var_3 != 0x3d))) {
    var_4 = var_4 + 1;
    var_5 = var_5 + var_3;
    var_3 = (type_2)*var_4;
  }
  var_8 = **(int **)(var_6 + 0xb9304);
  ppvVar4 = var_7((type_3 **)(var_8 + (var_5 % 0x27 + 7) * 4),(char *)var_2);
  var_9 = *ppvVar4;
  if (var_9 != (type_3 *)0x0) {
    var_3 = var_9->flags;
    if ((var_3 & 0x200) != 0) {
      (*var_9->var_func)((char *)0x0);
      var_3 = var_9->flags;
    }
    if ((var_3 & 0x20) == 0) {
      var_10 = var_9->var_text;
      if ((var_9 == (type_3 *)(var_8 + 0x138)) && (var_10 == (char *)(var_8 + 0x15c))) {
        function_1((char *)(var_8 + 0x163),0xd,(char *)(*(int *)(var_6 + 0xb8c5c) + -0x71fc),
               *(type_4 *)(var_8 + 0x158));
        var_10 = var_9->var_text;
      }
      do {
        var_11 = *var_10;
        if (var_11 == '\0') {
          return (int)var_10;
        }
        var_10 = var_10 + 1;
      } while (var_11 != '=');
      return (int)var_10;
    }
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal) (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 local_resc;
  
  puVar1 = PTR___stack_chk_guard_0012b14c;
  iVar2 = *(int *)PTR___stack_chk_guard_0012b14c;
  *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) =
       *(int *)(*(int *)PTR_ash_ptr_to_globals_misc_0012a84c + 0x24) + 1;
  local_resc = param_4;
  uVar3 = (*(code *)PTR___vsnprintf_chk_0012ae60)(param_1,param_2,1,0xffffffff,param_3,&local_resc);
  FUN_0006d568();
  if (iVar2 == *(int *)puVar1) {
    return uVar3;
  }
  uVar3 = (*(code *)PTR___stack_chk_fail_0012b0c8)();
  return uVar3;
}

