
_Bool get_mtime(char *filename,timespec *mtime)

{
  char *format;
  int iVar1;
  undefined1 uVar2;
  stat *psVar3;
  undefined *puVar4;
  char *pcStack_c4;
  stat *psStack_c0;
  stat finfo;
  
  format = *(char **)PTR___stack_chk_guard_0002c284;
  psVar3 = &finfo;
  iVar1 = (*(code *)PTR___xstat64_0002c1d4)(3);
  if (iVar1 == 0) {
    mtime->tv_sec = finfo.st_mtim.tv_sec;
    mtime->tv_nsec = finfo.st_mtim.tv_nsec;
  }
  if (format == *(char **)PTR___stack_chk_guard_0002c284) {
    return iVar1 == 0;
  }
  puVar4 = PTR___stack_chk_fail_0002c274;
  (*(code *)PTR___stack_chk_fail_0002c274)();
  pcStack_c4 = filename;
  psStack_c0 = psVar3;
  verror(0,0,format,&pcStack_c4);
  uVar2 = (**(code **)(puVar4 + 0x1a7bc))(2);
  return (_Bool)uVar2;
}



uint FUN_000119e8(undefined4 param_1,undefined4 *param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  undefined *puVar4;
  undefined4 local_68;
  undefined4 local_64;
  
  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;
  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);
  if (iVar2 == 0) {
    *param_2 = local_68;
    param_2[1] = local_64;
  }
  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {
    return (uint)(iVar2 == 0);
  }
  puVar4 = PTR___stack_chk_fail_0002c274;
  (*(code *)PTR___stack_chk_fail_0002c274)();
  verror(0,0,iVar1);
  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);
  return uVar3;
}


lui gp,0x2
addiu gp,gp,0x26d8
addu gp,gp,t9
addiu sp,sp,-0xc8
sw ra,0xc4(sp)
sw s0,0xc0(sp)
sw gp,0x10(sp)
or s0,a1,zero
lw v0,-0x7e3c(gp)
lw v0,0x0(v0)
sw v0,0xbc(sp)
addiu a2,sp,0x18
or a1,a0,zero
li a0,0x3
lw t9,-0x7eec(gp)
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x00011a48
_sltiu v1,v0,0x1
lw v0,0x60(sp)
sw v0,0x0(s0)
lw v0,0x64(sp)
sw v0,0x4(s0)
or v0,v1,zero
lw a0,0xbc(sp)
lw v1,-0x7e3c(gp)
lw v1,0x0(v1)
bne a0,v1,0x00011a6c
_lw ra,0xc4(sp)
lw s0,0xc0(sp)
jr ra
_addiu sp,sp,0xc8
lw t9,-0x7e4c(gp)
jalr t9
_nop
(translation_unit "uint FUN_000119e8(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}\n\n" (function_definition "uint FUN_000119e8(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}" type_identifier (function_declarator "FUN_000119e8(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0002c284;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0002c284" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002c284" * (cast_expression "(int *)PTR___stack_chk_guard_0002c284" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3)" identifier = (call_expression "(*(code *)PTR___xstat64_0002c1d4)(3)" (parenthesized_expression "(*(code *)PTR___xstat64_0002c1d4)" ( (pointer_expression "*(code *)PTR___xstat64_0002c1d4" * (cast_expression "(code *)PTR___xstat64_0002c1d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }" { (expression_statement "*param_2 = local_68;" (assignment_expression "*param_2 = local_68" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = local_64;" (assignment_expression "param_2[1] = local_64" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }" if (parenthesized_expression "(iVar1 == *(int *)PTR___stack_chk_guard_0002c284)" ( (binary_expression "iVar1 == *(int *)PTR___stack_chk_guard_0002c284" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0002c284" * (cast_expression "(int *)PTR___stack_chk_guard_0002c284" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return (uint)(iVar2 == 0);\n  }" { (return_statement "return (uint)(iVar2 == 0);" return (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) ))) ;) })) (expression_statement "puVar4 = PTR___stack_chk_fail_0002c274;" (assignment_expression "puVar4 = PTR___stack_chk_fail_0002c274" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c274)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c274)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c274)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002c274" * (cast_expression "(code *)PTR___stack_chk_fail_0002c274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "verror(0,0,iVar1);" (call_expression "verror(0,0,iVar1)" identifier (argument_list "(0,0,iVar1)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);" (assignment_expression "uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2)" identifier = (call_expression "(**(code **)(puVar4 + 0x1a7bc))(2)" (parenthesized_expression "(**(code **)(puVar4 + 0x1a7bc))" ( (pointer_expression "**(code **)(puVar4 + 0x1a7bc)" * (pointer_expression "*(code **)(puVar4 + 0x1a7bc)" * (cast_expression "(code **)(puVar4 + 0x1a7bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x1a7bc)" ( (binary_expression "puVar4 + 0x1a7bc" identifier + number_literal) ))))) )) (argument_list "(2)" ( number_literal )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "_Bool get_mtime(char *filename,timespec *mtime)\n\n{\n  char *format;\n  int iVar1;\n  undefined1 uVar2;\n  stat *psVar3;\n  undefined *puVar4;\n  char *pcStack_c4;\n  stat *psStack_c0;\n  stat finfo;\n  \n  format = *(char **)PTR___stack_chk_guard_0002c284;\n  psVar3 = &finfo;\n  iVar1 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar1 == 0) {\n    mtime->tv_sec = finfo.st_mtim.tv_sec;\n    mtime->tv_nsec = finfo.st_mtim.tv_nsec;\n  }\n  if (format == *(char **)PTR___stack_chk_guard_0002c284) {\n    return iVar1 == 0;\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  pcStack_c4 = filename;\n  psStack_c0 = psVar3;\n  verror(0,0,format,&pcStack_c4);\n  uVar2 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return (_Bool)uVar2;\n}\n\n" (function_definition "_Bool get_mtime(char *filename,timespec *mtime)\n\n{\n  char *format;\n  int iVar1;\n  undefined1 uVar2;\n  stat *psVar3;\n  undefined *puVar4;\n  char *pcStack_c4;\n  stat *psStack_c0;\n  stat finfo;\n  \n  format = *(char **)PTR___stack_chk_guard_0002c284;\n  psVar3 = &finfo;\n  iVar1 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar1 == 0) {\n    mtime->tv_sec = finfo.st_mtim.tv_sec;\n    mtime->tv_nsec = finfo.st_mtim.tv_nsec;\n  }\n  if (format == *(char **)PTR___stack_chk_guard_0002c284) {\n    return iVar1 == 0;\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  pcStack_c4 = filename;\n  psStack_c0 = psVar3;\n  verror(0,0,format,&pcStack_c4);\n  uVar2 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return (_Bool)uVar2;\n}" type_identifier (function_declarator "get_mtime(char *filename,timespec *mtime)" identifier (parameter_list "(char *filename,timespec *mtime)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) , (parameter_declaration "timespec *mtime" type_identifier (pointer_declarator "*mtime" * identifier)) ))) (compound_statement "{\n  char *format;\n  int iVar1;\n  undefined1 uVar2;\n  stat *psVar3;\n  undefined *puVar4;\n  char *pcStack_c4;\n  stat *psStack_c0;\n  stat finfo;\n  \n  format = *(char **)PTR___stack_chk_guard_0002c284;\n  psVar3 = &finfo;\n  iVar1 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar1 == 0) {\n    mtime->tv_sec = finfo.st_mtim.tv_sec;\n    mtime->tv_nsec = finfo.st_mtim.tv_nsec;\n  }\n  if (format == *(char **)PTR___stack_chk_guard_0002c284) {\n    return iVar1 == 0;\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  pcStack_c4 = filename;\n  psStack_c0 = psVar3;\n  verror(0,0,format,&pcStack_c4);\n  uVar2 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return (_Bool)uVar2;\n}" { (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "stat *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcStack_c4;" primitive_type (pointer_declarator "*pcStack_c4" * identifier) ;) (declaration "stat *psStack_c0;" type_identifier (pointer_declarator "*psStack_c0" * identifier) ;) (declaration "stat finfo;" type_identifier identifier ;) (expression_statement "format = *(char **)PTR___stack_chk_guard_0002c284;" (assignment_expression "format = *(char **)PTR___stack_chk_guard_0002c284" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_0002c284" * (cast_expression "(char **)PTR___stack_chk_guard_0002c284" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "psVar3 = &finfo;" (assignment_expression "psVar3 = &finfo" identifier = (pointer_expression "&finfo" & identifier)) ;) (expression_statement "iVar1 = (*(code *)PTR___xstat64_0002c1d4)(3);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_0002c1d4)(3)" identifier = (call_expression "(*(code *)PTR___xstat64_0002c1d4)(3)" (parenthesized_expression "(*(code *)PTR___xstat64_0002c1d4)" ( (pointer_expression "*(code *)PTR___xstat64_0002c1d4" * (cast_expression "(code *)PTR___xstat64_0002c1d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    mtime->tv_sec = finfo.st_mtim.tv_sec;\n    mtime->tv_nsec = finfo.st_mtim.tv_nsec;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    mtime->tv_sec = finfo.st_mtim.tv_sec;\n    mtime->tv_nsec = finfo.st_mtim.tv_nsec;\n  }" { (expression_statement "mtime->tv_sec = finfo.st_mtim.tv_sec;" (assignment_expression "mtime->tv_sec = finfo.st_mtim.tv_sec" (field_expression "mtime->tv_sec" identifier -> field_identifier) = (field_expression "finfo.st_mtim.tv_sec" (field_expression "finfo.st_mtim" identifier . field_identifier) . field_identifier)) ;) (expression_statement "mtime->tv_nsec = finfo.st_mtim.tv_nsec;" (assignment_expression "mtime->tv_nsec = finfo.st_mtim.tv_nsec" (field_expression "mtime->tv_nsec" identifier -> field_identifier) = (field_expression "finfo.st_mtim.tv_nsec" (field_expression "finfo.st_mtim" identifier . field_identifier) . field_identifier)) ;) })) (if_statement "if (format == *(char **)PTR___stack_chk_guard_0002c284) {\n    return iVar1 == 0;\n  }" if (parenthesized_expression "(format == *(char **)PTR___stack_chk_guard_0002c284)" ( (binary_expression "format == *(char **)PTR___stack_chk_guard_0002c284" identifier == (pointer_expression "*(char **)PTR___stack_chk_guard_0002c284" * (cast_expression "(char **)PTR___stack_chk_guard_0002c284" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar1 == 0;\n  }" { (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })) (expression_statement "puVar4 = PTR___stack_chk_fail_0002c274;" (assignment_expression "puVar4 = PTR___stack_chk_fail_0002c274" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c274)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c274)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c274)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002c274" * (cast_expression "(code *)PTR___stack_chk_fail_0002c274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_c4 = filename;" (assignment_expression "pcStack_c4 = filename" identifier = identifier) ;) (expression_statement "psStack_c0 = psVar3;" (assignment_expression "psStack_c0 = psVar3" identifier = identifier) ;) (expression_statement "verror(0,0,format,&pcStack_c4);" (call_expression "verror(0,0,format,&pcStack_c4)" identifier (argument_list "(0,0,format,&pcStack_c4)" ( number_literal , number_literal , identifier , (pointer_expression "&pcStack_c4" & identifier) ))) ;) (expression_statement "uVar2 = (**(code **)(puVar4 + 0x1a7bc))(2);" (assignment_expression "uVar2 = (**(code **)(puVar4 + 0x1a7bc))(2)" identifier = (call_expression "(**(code **)(puVar4 + 0x1a7bc))(2)" (parenthesized_expression "(**(code **)(puVar4 + 0x1a7bc))" ( (pointer_expression "**(code **)(puVar4 + 0x1a7bc)" * (pointer_expression "*(code **)(puVar4 + 0x1a7bc)" * (cast_expression "(code **)(puVar4 + 0x1a7bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x1a7bc)" ( (binary_expression "puVar4 + 0x1a7bc" identifier + number_literal) ))))) )) (argument_list "(2)" ( number_literal )))) ;) (return_statement "return (_Bool)uVar2;" return (cast_expression "(_Bool)uVar2" ( (type_descriptor "_Bool" type_identifier) ) identifier) ;) })))
(translation_unit "uint FUN_000119e8(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}\n\n" (function_definition "uint FUN_000119e8(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}" type_identifier (function_declarator "FUN_000119e8(undefined4 param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0002c284;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0002c284" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002c284" * (cast_expression "(int *)PTR___stack_chk_guard_0002c284" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3)" identifier = (call_expression "(*(code *)PTR___xstat64_0002c1d4)(3)" (parenthesized_expression "(*(code *)PTR___xstat64_0002c1d4)" ( (pointer_expression "*(code *)PTR___xstat64_0002c1d4" * (cast_expression "(code *)PTR___xstat64_0002c1d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }" { (expression_statement "*param_2 = local_68;" (assignment_expression "*param_2 = local_68" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = local_64;" (assignment_expression "param_2[1] = local_64" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }" if (parenthesized_expression "(iVar1 == *(int *)PTR___stack_chk_guard_0002c284)" ( (binary_expression "iVar1 == *(int *)PTR___stack_chk_guard_0002c284" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0002c284" * (cast_expression "(int *)PTR___stack_chk_guard_0002c284" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return (uint)(iVar2 == 0);\n  }" { (return_statement "return (uint)(iVar2 == 0);" return (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) ))) ;) })) (expression_statement "puVar4 = PTR___stack_chk_fail_0002c274;" (assignment_expression "puVar4 = PTR___stack_chk_fail_0002c274" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c274)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c274)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c274)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002c274" * (cast_expression "(code *)PTR___stack_chk_fail_0002c274" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "verror(0,0,iVar1);" (call_expression "verror(0,0,iVar1)" identifier (argument_list "(0,0,iVar1)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);" (assignment_expression "uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2)" identifier = (call_expression "(**(code **)(puVar4 + 0x1a7bc))(2)" (parenthesized_expression "(**(code **)(puVar4 + 0x1a7bc))" ( (pointer_expression "**(code **)(puVar4 + 0x1a7bc)" * (pointer_expression "*(code **)(puVar4 + 0x1a7bc)" * (cast_expression "(code **)(puVar4 + 0x1a7bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x1a7bc)" ( (binary_expression "puVar4 + 0x1a7bc" identifier + number_literal) ))))) )) (argument_list "(2)" ( number_literal )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })))
(function_definition "uint FUN_000119e8(undefined4 param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "FUN_000119e8(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_000119e8") (parameter_list "(undefined4 param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  undefined *puVar4;\n  undefined4 local_68;\n  undefined4 local_64;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;\n  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);\n  if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }\n  puVar4 = PTR___stack_chk_fail_0002c274;\n  (*(code *)PTR___stack_chk_fail_0002c274)();\n  verror(0,0,iVar1);\n  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);\n  return uVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 local_68;" (type_identifier "undefined4") (identifier "local_68") (; ";")) (declaration "undefined4 local_64;" (type_identifier "undefined4") (identifier "local_64") (; ";")) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0002c284;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0002c284" (identifier "iVar1") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0002c284" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0002c284" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0002c284")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR___xstat64_0002c1d4)(3)" (parenthesized_expression "(*(code *)PTR___xstat64_0002c1d4)" (( "(") (pointer_expression "*(code *)PTR___xstat64_0002c1d4" (* "*") (cast_expression "(code *)PTR___xstat64_0002c1d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xstat64_0002c1d4"))) () ")")) (argument_list "(3)" (( "(") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_2 = local_68;\n    param_2[1] = local_64;\n  }" ({ "{") (expression_statement "*param_2 = local_68;" (assignment_expression "*param_2 = local_68" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "local_68")) (; ";")) (expression_statement "param_2[1] = local_64;" (assignment_expression "param_2[1] = local_64" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_64")) (; ";")) (} "}"))) (if_statement "if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {\n    return (uint)(iVar2 == 0);\n  }" (if "if") (parenthesized_expression "(iVar1 == *(int *)PTR___stack_chk_guard_0002c284)" (( "(") (binary_expression "iVar1 == *(int *)PTR___stack_chk_guard_0002c284" (identifier "iVar1") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_0002c284" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0002c284" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0002c284")))) () ")")) (compound_statement "{\n    return (uint)(iVar2 == 0);\n  }" ({ "{") (return_statement "return (uint)(iVar2 == 0);" (return "return") (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar4 = PTR___stack_chk_fail_0002c274;" (assignment_expression "puVar4 = PTR___stack_chk_fail_0002c274" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_fail_0002c274")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0002c274)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002c274)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002c274)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0002c274" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0002c274" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0002c274"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "verror(0,0,iVar1);" (call_expression "verror(0,0,iVar1)" (identifier "verror") (argument_list "(0,0,iVar1)" (( "(") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);" (assignment_expression "uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar4 + 0x1a7bc))(2)" (parenthesized_expression "(**(code **)(puVar4 + 0x1a7bc))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x1a7bc)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x1a7bc)" (* "*") (cast_expression "(code **)(puVar4 + 0x1a7bc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x1a7bc)" (( "(") (binary_expression "puVar4 + 0x1a7bc" (identifier "puVar4") (+ "+") (number_literal "0x1a7bc")) () ")"))))) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))
(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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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: (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 (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (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 (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal))))) (return_statement (identifier)))))

uint MASKED(undefined4 param_1,undefined4 *param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  undefined *puVar4;
  undefined4 local_68;
  undefined4 local_64;
  
  iVar1 = *(int *)PTR___stack_chk_guard_0002c284;
  iVar2 = (*(code *)PTR___xstat64_0002c1d4)(3);
  if (iVar2 == 0) {
    *param_2 = local_68;
    param_2[1] = local_64;
  }
  if (iVar1 == *(int *)PTR___stack_chk_guard_0002c284) {
    return (uint)(iVar2 == 0);
  }
  puVar4 = PTR___stack_chk_fail_0002c274;
  (*(code *)PTR___stack_chk_fail_0002c274)();
  verror(0,0,iVar1);
  uVar3 = (**(code **)(puVar4 + 0x1a7bc))(2);
  return uVar3;
}

