
Ssh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)

{
  Ssh_gss_stat SVar1;
  int iVar2;
  undefined4 in_a2;
  undefined4 in_a3;
  undefined *puVar3;
  code *pcVar4;
  undefined1 auStack_38 [4];
  int iStack_34;
  code *pcStack_2c;
  OM_uint32 min_stat;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000bef2c;
  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);
  if (SVar1 != SSH_GSS_OK) {
    SVar1 = SSH_GSS_FAILURE;
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {
    return SVar1;
  }
  pcVar4 = ssh_gssapi_release_name;
  iVar2 = local_c;
  puVar3 = PTR___stack_chk_fail_000bef04;
  (*(code *)PTR___stack_chk_fail_000bef04)();
  iStack_34 = **(int **)(puVar3 + 0x4d6f4);
  pcStack_2c = pcVar4;
  SVar1 = (**(code **)(iVar2 + 0x4c))(auStack_38);
  if (SVar1 != SSH_GSS_OK) {
    SVar1 = SSH_GSS_FAILURE;
  }
  if (iStack_34 == **(int **)(puVar3 + 0x4d6f4)) {
    return SVar1;
  }
  iVar2 = iStack_34;
  (**(code **)(puVar3 + 0x4d6cc))();
  if (send_tok != (Ssh_gss_buf *)0x0) {
    SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3);
    return SVar1;
  }
  return SSH_GSS_FAILURE;
}



int FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  undefined *puVar2;
  undefined4 uVar3;
  undefined1 auStack_38 [4];
  int local_34;
  undefined4 local_2c;
  undefined1 auStack_10 [4];
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000bef2c;
  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);
  if (iVar1 != 0) {
    iVar1 = 4;
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {
    return iVar1;
  }
  uVar3 = 0x71838;
  iVar1 = local_c;
  puVar2 = PTR___stack_chk_fail_000bef04;
  (*(code *)PTR___stack_chk_fail_000bef04)();
  local_34 = **(int **)(puVar2 + 0x4d6f4);
  local_2c = uVar3;
  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);
  if (iVar1 != 0) {
    iVar1 = 4;
  }
  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {
    return iVar1;
  }
  iVar1 = local_34;
  (**(code **)(puVar2 + 0x4d6cc))();
  if (param_2 != 0) {
    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);
    return iVar1;
  }
  return 4;
}


lui gp,0x5
addiu gp,gp,0x4ba4
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw gp,0x10(sp)
lw v0,-0x7444(gp)
lw v0,0x0(v0)
sw v0,0x1c(sp)
lw t9,0x44(a0)
addiu a0,sp,0x18
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00071810
_nop
li v0,0x4
lw a0,0x1c(sp)
lw v1,-0x7444(gp)
lw v1,0x0(v1)
bne a0,v1,0x0007182c
_lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x746c(gp)
jalr t9
_nop
lui gp,0x5
addiu gp,gp,0x4b38
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw gp,0x10(sp)
lw v0,-0x7444(gp)
lw v0,0x0(v0)
sw v0,0x1c(sp)
lw t9,0x4c(a0)
addiu a0,sp,0x18
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0007187c
_nop
li v0,0x4
lw a0,0x1c(sp)
lw v1,-0x7444(gp)
lw v1,0x0(v1)
bne a0,v1,0x00071898
_lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x746c(gp)
jalr t9
_nop
beq a1,zero,0x000718e4
_or v1,a3,zero
addiu sp,sp,-0x28
sw ra,0x24(sp)
or a3,a2,zero
or v0,a1,zero
sw v1,0x10(sp)
lw t9,0x38(a0)
or a2,zero,zero
lw a1,0x8(a1)
addiu a0,v0,0x4
jalr t9
_nop
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_li v0,0x4
(translation_unit "int FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}\n\n" (function_definition "int FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}" primitive_type (function_declarator "FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 auStack_38 [4];" type_identifier (array_declarator "auStack_38 [4]" identifier [ number_literal ]) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined1 auStack_10 [4];" type_identifier (array_declarator "auStack_10 [4]" identifier [ number_literal ]) ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000bef2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x44))(auStack_10)" identifier = (call_expression "(**(code **)(param_1 + 0x44))(auStack_10)" (parenthesized_expression "(**(code **)(param_1 + 0x44))" ( (pointer_expression "**(code **)(param_1 + 0x44)" * (pointer_expression "*(code **)(param_1 + 0x44)" * (cast_expression "(code **)(param_1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) (argument_list "(auStack_10)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 4;\n  }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000bef2c)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000bef2c" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "uVar3 = 0x71838;" (assignment_expression "uVar3 = 0x71838" identifier = number_literal) ;) (expression_statement "iVar1 = local_c;" (assignment_expression "iVar1 = local_c" identifier = identifier) ;) (expression_statement "puVar2 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar2 = PTR___stack_chk_fail_000bef04" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" * (cast_expression "(code *)PTR___stack_chk_fail_000bef04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "local_34 = **(int **)(puVar2 + 0x4d6f4);" (assignment_expression "local_34 = **(int **)(puVar2 + 0x4d6f4)" identifier = (pointer_expression "**(int **)(puVar2 + 0x4d6f4)" * (pointer_expression "*(int **)(puVar2 + 0x4d6f4)" * (cast_expression "(int **)(puVar2 + 0x4d6f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x4d6f4)" ( (binary_expression "puVar2 + 0x4d6f4" identifier + number_literal) )))))) ;) (expression_statement "local_2c = uVar3;" (assignment_expression "local_2c = uVar3" identifier = identifier) ;) (expression_statement "iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);" (assignment_expression "iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38)" identifier = (call_expression "(**(code **)(iVar1 + 0x4c))(auStack_38)" (parenthesized_expression "(**(code **)(iVar1 + 0x4c))" ( (pointer_expression "**(code **)(iVar1 + 0x4c)" * (pointer_expression "*(code **)(iVar1 + 0x4c)" * (cast_expression "(code **)(iVar1 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(auStack_38)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 4;\n  }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (if_statement "if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_34 == **(int **)(puVar2 + 0x4d6f4))" ( (binary_expression "local_34 == **(int **)(puVar2 + 0x4d6f4)" identifier == (pointer_expression "**(int **)(puVar2 + 0x4d6f4)" * (pointer_expression "*(int **)(puVar2 + 0x4d6f4)" * (cast_expression "(int **)(puVar2 + 0x4d6f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x4d6f4)" ( (binary_expression "puVar2 + 0x4d6f4" identifier + number_literal) )))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = local_34;" (assignment_expression "iVar1 = local_34" identifier = identifier) ;) (expression_statement "(**(code **)(puVar2 + 0x4d6cc))();" (call_expression "(**(code **)(puVar2 + 0x4d6cc))()" (parenthesized_expression "(**(code **)(puVar2 + 0x4d6cc))" ( (pointer_expression "**(code **)(puVar2 + 0x4d6cc)" * (pointer_expression "*(code **)(puVar2 + 0x4d6cc)" * (cast_expression "(code **)(puVar2 + 0x4d6cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x4d6cc)" ( (binary_expression "puVar2 + 0x4d6cc" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }" { (expression_statement "iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);" (assignment_expression "iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" identifier = (call_expression "(**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" (parenthesized_expression "(**(code **)(iVar1 + 0x38))" ( (pointer_expression "**(code **)(iVar1 + 0x38)" * (pointer_expression "*(code **)(iVar1 + 0x38)" * (cast_expression "(code **)(iVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) ))))) )) (argument_list "(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" ( (binary_expression "param_2 + 4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , number_literal , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 4;" return number_literal ;) })))
(translation_unit "Ssh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)\n\n{\n  Ssh_gss_stat SVar1;\n  int iVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined1 auStack_38 [4];\n  int iStack_34;\n  code *pcStack_2c;\n  OM_uint32 min_stat;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return SVar1;\n  }\n  pcVar4 = ssh_gssapi_release_name;\n  iVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  iStack_34 = **(int **)(puVar3 + 0x4d6f4);\n  pcStack_2c = pcVar4;\n  SVar1 = (**(code **)(iVar2 + 0x4c))(auStack_38);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (iStack_34 == **(int **)(puVar3 + 0x4d6f4)) {\n    return SVar1;\n  }\n  iVar2 = iStack_34;\n  (**(code **)(puVar3 + 0x4d6cc))();\n  if (send_tok != (Ssh_gss_buf *)0x0) {\n    SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3);\n    return SVar1;\n  }\n  return SSH_GSS_FAILURE;\n}\n\n" (function_definition "Ssh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)\n\n{\n  Ssh_gss_stat SVar1;\n  int iVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined1 auStack_38 [4];\n  int iStack_34;\n  code *pcStack_2c;\n  OM_uint32 min_stat;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return SVar1;\n  }\n  pcVar4 = ssh_gssapi_release_name;\n  iVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  iStack_34 = **(int **)(puVar3 + 0x4d6f4);\n  pcStack_2c = pcVar4;\n  SVar1 = (**(code **)(iVar2 + 0x4c))(auStack_38);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (iStack_34 == **(int **)(puVar3 + 0x4d6f4)) {\n    return SVar1;\n  }\n  iVar2 = iStack_34;\n  (**(code **)(puVar3 + 0x4d6cc))();\n  if (send_tok != (Ssh_gss_buf *)0x0) {\n    SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3);\n    return SVar1;\n  }\n  return SSH_GSS_FAILURE;\n}" type_identifier (function_declarator "ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)" identifier (parameter_list "(ssh_gss_library *lib,Ssh_gss_buf *send_tok)" ( (parameter_declaration "ssh_gss_library *lib" type_identifier (pointer_declarator "*lib" * identifier)) , (parameter_declaration "Ssh_gss_buf *send_tok" type_identifier (pointer_declarator "*send_tok" * identifier)) ))) (compound_statement "{\n  Ssh_gss_stat SVar1;\n  int iVar2;\n  undefined4 in_a2;\n  undefined4 in_a3;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined1 auStack_38 [4];\n  int iStack_34;\n  code *pcStack_2c;\n  OM_uint32 min_stat;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return SVar1;\n  }\n  pcVar4 = ssh_gssapi_release_name;\n  iVar2 = local_c;\n  puVar3 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  iStack_34 = **(int **)(puVar3 + 0x4d6f4);\n  pcStack_2c = pcVar4;\n  SVar1 = (**(code **)(iVar2 + 0x4c))(auStack_38);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (iStack_34 == **(int **)(puVar3 + 0x4d6f4)) {\n    return SVar1;\n  }\n  iVar2 = iStack_34;\n  (**(code **)(puVar3 + 0x4d6cc))();\n  if (send_tok != (Ssh_gss_buf *)0x0) {\n    SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3);\n    return SVar1;\n  }\n  return SSH_GSS_FAILURE;\n}" { (declaration "Ssh_gss_stat SVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (declaration "undefined4 in_a3;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined1 auStack_38 [4];" type_identifier (array_declarator "auStack_38 [4]" identifier [ number_literal ]) ;) (declaration "int iStack_34;" primitive_type identifier ;) (declaration "code *pcStack_2c;" type_identifier (pointer_declarator "*pcStack_2c" * identifier) ;) (declaration "OM_uint32 min_stat;" type_identifier identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000bef2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);" (assignment_expression "SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok)" identifier = (call_expression "(*(lib->u).gssapi.release_buffer)(&min_stat,send_tok)" (parenthesized_expression "(*(lib->u).gssapi.release_buffer)" ( (pointer_expression "*(lib->u).gssapi.release_buffer" * (field_expression "(lib->u).gssapi.release_buffer" (field_expression "(lib->u).gssapi" (parenthesized_expression "(lib->u)" ( (field_expression "lib->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) )) (argument_list "(&min_stat,send_tok)" ( (pointer_expression "&min_stat" & identifier) , identifier )))) ;) (if_statement "if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }" if (parenthesized_expression "(SVar1 != SSH_GSS_OK)" ( (binary_expression "SVar1 != SSH_GSS_OK" identifier != identifier) )) (compound_statement "{\n    SVar1 = SSH_GSS_FAILURE;\n  }" { (expression_statement "SVar1 = SSH_GSS_FAILURE;" (assignment_expression "SVar1 = SSH_GSS_FAILURE" identifier = identifier) ;) })) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return SVar1;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000bef2c)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000bef2c" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return SVar1;\n  }" { (return_statement "return SVar1;" return identifier ;) })) (expression_statement "pcVar4 = ssh_gssapi_release_name;" (assignment_expression "pcVar4 = ssh_gssapi_release_name" identifier = identifier) ;) (expression_statement "iVar2 = local_c;" (assignment_expression "iVar2 = local_c" identifier = identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000bef04" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" * (cast_expression "(code *)PTR___stack_chk_fail_000bef04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iStack_34 = **(int **)(puVar3 + 0x4d6f4);" (assignment_expression "iStack_34 = **(int **)(puVar3 + 0x4d6f4)" identifier = (pointer_expression "**(int **)(puVar3 + 0x4d6f4)" * (pointer_expression "*(int **)(puVar3 + 0x4d6f4)" * (cast_expression "(int **)(puVar3 + 0x4d6f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x4d6f4)" ( (binary_expression "puVar3 + 0x4d6f4" identifier + number_literal) )))))) ;) (expression_statement "pcStack_2c = pcVar4;" (assignment_expression "pcStack_2c = pcVar4" identifier = identifier) ;) (expression_statement "SVar1 = (**(code **)(iVar2 + 0x4c))(auStack_38);" (assignment_expression "SVar1 = (**(code **)(iVar2 + 0x4c))(auStack_38)" identifier = (call_expression "(**(code **)(iVar2 + 0x4c))(auStack_38)" (parenthesized_expression "(**(code **)(iVar2 + 0x4c))" ( (pointer_expression "**(code **)(iVar2 + 0x4c)" * (pointer_expression "*(code **)(iVar2 + 0x4c)" * (cast_expression "(code **)(iVar2 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(auStack_38)" ( identifier )))) ;) (if_statement "if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }" if (parenthesized_expression "(SVar1 != SSH_GSS_OK)" ( (binary_expression "SVar1 != SSH_GSS_OK" identifier != identifier) )) (compound_statement "{\n    SVar1 = SSH_GSS_FAILURE;\n  }" { (expression_statement "SVar1 = SSH_GSS_FAILURE;" (assignment_expression "SVar1 = SSH_GSS_FAILURE" identifier = identifier) ;) })) (if_statement "if (iStack_34 == **(int **)(puVar3 + 0x4d6f4)) {\n    return SVar1;\n  }" if (parenthesized_expression "(iStack_34 == **(int **)(puVar3 + 0x4d6f4))" ( (binary_expression "iStack_34 == **(int **)(puVar3 + 0x4d6f4)" identifier == (pointer_expression "**(int **)(puVar3 + 0x4d6f4)" * (pointer_expression "*(int **)(puVar3 + 0x4d6f4)" * (cast_expression "(int **)(puVar3 + 0x4d6f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x4d6f4)" ( (binary_expression "puVar3 + 0x4d6f4" identifier + number_literal) )))))) )) (compound_statement "{\n    return SVar1;\n  }" { (return_statement "return SVar1;" return identifier ;) })) (expression_statement "iVar2 = iStack_34;" (assignment_expression "iVar2 = iStack_34" identifier = identifier) ;) (expression_statement "(**(code **)(puVar3 + 0x4d6cc))();" (call_expression "(**(code **)(puVar3 + 0x4d6cc))()" (parenthesized_expression "(**(code **)(puVar3 + 0x4d6cc))" ( (pointer_expression "**(code **)(puVar3 + 0x4d6cc)" * (pointer_expression "*(code **)(puVar3 + 0x4d6cc)" * (cast_expression "(code **)(puVar3 + 0x4d6cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x4d6cc)" ( (binary_expression "puVar3 + 0x4d6cc" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (send_tok != (Ssh_gss_buf *)0x0) {\n    SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3);\n    return SVar1;\n  }" if (parenthesized_expression "(send_tok != (Ssh_gss_buf *)0x0)" ( (binary_expression "send_tok != (Ssh_gss_buf *)0x0" identifier != (cast_expression "(Ssh_gss_buf *)0x0" ( (type_descriptor "Ssh_gss_buf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3);\n    return SVar1;\n  }" { (expression_statement "SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3);" (assignment_expression "SVar1 = (**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3)" identifier = (call_expression "(**(code **)(iVar2 + 0x38))(&send_tok->value,send_tok[1].length,0,in_a2,in_a3)" (parenthesized_expression "(**(code **)(iVar2 + 0x38))" ( (pointer_expression "**(code **)(iVar2 + 0x38)" * (pointer_expression "*(code **)(iVar2 + 0x38)" * (cast_expression "(code **)(iVar2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) ))))) )) (argument_list "(&send_tok->value,send_tok[1].length,0,in_a2,in_a3)" ( (pointer_expression "&send_tok->value" & (field_expression "send_tok->value" identifier -> field_identifier)) , (field_expression "send_tok[1].length" (subscript_expression "send_tok[1]" identifier [ number_literal ]) . field_identifier) , number_literal , identifier , identifier )))) ;) (return_statement "return SVar1;" return identifier ;) })) (return_statement "return SSH_GSS_FAILURE;" return identifier ;) })))
(translation_unit "int FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}\n\n" (function_definition "int FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}" primitive_type (function_declarator "FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 auStack_38 [4];" type_identifier (array_declarator "auStack_38 [4]" identifier [ number_literal ]) ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined1 auStack_10 [4];" type_identifier (array_declarator "auStack_10 [4]" identifier [ number_literal ]) ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000bef2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x44))(auStack_10)" identifier = (call_expression "(**(code **)(param_1 + 0x44))(auStack_10)" (parenthesized_expression "(**(code **)(param_1 + 0x44))" ( (pointer_expression "**(code **)(param_1 + 0x44)" * (pointer_expression "*(code **)(param_1 + 0x44)" * (cast_expression "(code **)(param_1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) (argument_list "(auStack_10)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 4;\n  }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000bef2c)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000bef2c" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "uVar3 = 0x71838;" (assignment_expression "uVar3 = 0x71838" identifier = number_literal) ;) (expression_statement "iVar1 = local_c;" (assignment_expression "iVar1 = local_c" identifier = identifier) ;) (expression_statement "puVar2 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar2 = PTR___stack_chk_fail_000bef04" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" * (cast_expression "(code *)PTR___stack_chk_fail_000bef04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "local_34 = **(int **)(puVar2 + 0x4d6f4);" (assignment_expression "local_34 = **(int **)(puVar2 + 0x4d6f4)" identifier = (pointer_expression "**(int **)(puVar2 + 0x4d6f4)" * (pointer_expression "*(int **)(puVar2 + 0x4d6f4)" * (cast_expression "(int **)(puVar2 + 0x4d6f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x4d6f4)" ( (binary_expression "puVar2 + 0x4d6f4" identifier + number_literal) )))))) ;) (expression_statement "local_2c = uVar3;" (assignment_expression "local_2c = uVar3" identifier = identifier) ;) (expression_statement "iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);" (assignment_expression "iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38)" identifier = (call_expression "(**(code **)(iVar1 + 0x4c))(auStack_38)" (parenthesized_expression "(**(code **)(iVar1 + 0x4c))" ( (pointer_expression "**(code **)(iVar1 + 0x4c)" * (pointer_expression "*(code **)(iVar1 + 0x4c)" * (cast_expression "(code **)(iVar1 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(auStack_38)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 4;\n  }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (if_statement "if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_34 == **(int **)(puVar2 + 0x4d6f4))" ( (binary_expression "local_34 == **(int **)(puVar2 + 0x4d6f4)" identifier == (pointer_expression "**(int **)(puVar2 + 0x4d6f4)" * (pointer_expression "*(int **)(puVar2 + 0x4d6f4)" * (cast_expression "(int **)(puVar2 + 0x4d6f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x4d6f4)" ( (binary_expression "puVar2 + 0x4d6f4" identifier + number_literal) )))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = local_34;" (assignment_expression "iVar1 = local_34" identifier = identifier) ;) (expression_statement "(**(code **)(puVar2 + 0x4d6cc))();" (call_expression "(**(code **)(puVar2 + 0x4d6cc))()" (parenthesized_expression "(**(code **)(puVar2 + 0x4d6cc))" ( (pointer_expression "**(code **)(puVar2 + 0x4d6cc)" * (pointer_expression "*(code **)(puVar2 + 0x4d6cc)" * (cast_expression "(code **)(puVar2 + 0x4d6cc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x4d6cc)" ( (binary_expression "puVar2 + 0x4d6cc" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }" { (expression_statement "iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);" (assignment_expression "iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" identifier = (call_expression "(**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" (parenthesized_expression "(**(code **)(iVar1 + 0x38))" ( (pointer_expression "**(code **)(iVar1 + 0x38)" * (pointer_expression "*(code **)(iVar1 + 0x38)" * (cast_expression "(code **)(iVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) ))))) )) (argument_list "(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" ( (binary_expression "param_2 + 4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , number_literal , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 4;" return number_literal ;) })))
(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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = 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 ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (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 ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}" (primitive_type "int") (function_declarator "FUN_000717cc(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_000717cc") (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (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  int iVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 auStack_38 [4];\n  int local_34;\n  undefined4 local_2c;\n  undefined1 auStack_10 [4];\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000bef2c;\n  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }\n  uVar3 = 0x71838;\n  iVar1 = local_c;\n  puVar2 = PTR___stack_chk_fail_000bef04;\n  (*(code *)PTR___stack_chk_fail_000bef04)();\n  local_34 = **(int **)(puVar2 + 0x4d6f4);\n  local_2c = uVar3;\n  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }\n  iVar1 = local_34;\n  (**(code **)(puVar2 + 0x4d6cc))();\n  if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }\n  return 4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined1 auStack_38 [4];" (type_identifier "undefined1") (array_declarator "auStack_38 [4]" (identifier "auStack_38") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined1 auStack_10 [4];" (type_identifier "undefined1") (array_declarator "auStack_10 [4]" (identifier "auStack_10") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_c;" (primitive_type "int") (identifier "local_c") (; ";")) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000bef2c" (identifier "local_c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000bef2c")))) (; ";")) (expression_statement "iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x44))(auStack_10)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(param_1 + 0x44))(auStack_10)" (parenthesized_expression "(**(code **)(param_1 + 0x44))" (( "(") (pointer_expression "**(code **)(param_1 + 0x44)" (* "*") (pointer_expression "*(code **)(param_1 + 0x44)" (* "*") (cast_expression "(code **)(param_1 + 0x44)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) () ")")) (argument_list "(auStack_10)" (( "(") (identifier "auStack_10") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = 4;\n  }" ({ "{") (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" (identifier "iVar1") (= "=") (number_literal "4")) (; ";")) (} "}"))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000bef2c)" (( "(") (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000bef2c" (identifier "local_c") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000bef2c")))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "uVar3 = 0x71838;" (assignment_expression "uVar3 = 0x71838" (identifier "uVar3") (= "=") (number_literal "0x71838")) (; ";")) (expression_statement "iVar1 = local_c;" (assignment_expression "iVar1 = local_c" (identifier "iVar1") (= "=") (identifier "local_c")) (; ";")) (expression_statement "puVar2 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar2 = PTR___stack_chk_fail_000bef04" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_fail_000bef04")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000bef04" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000bef04"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_34 = **(int **)(puVar2 + 0x4d6f4);" (assignment_expression "local_34 = **(int **)(puVar2 + 0x4d6f4)" (identifier "local_34") (= "=") (pointer_expression "**(int **)(puVar2 + 0x4d6f4)" (* "*") (pointer_expression "*(int **)(puVar2 + 0x4d6f4)" (* "*") (cast_expression "(int **)(puVar2 + 0x4d6f4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x4d6f4)" (( "(") (binary_expression "puVar2 + 0x4d6f4" (identifier "puVar2") (+ "+") (number_literal "0x4d6f4")) () ")")))))) (; ";")) (expression_statement "local_2c = uVar3;" (assignment_expression "local_2c = uVar3" (identifier "local_2c") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);" (assignment_expression "iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(iVar1 + 0x4c))(auStack_38)" (parenthesized_expression "(**(code **)(iVar1 + 0x4c))" (( "(") (pointer_expression "**(code **)(iVar1 + 0x4c)" (* "*") (pointer_expression "*(code **)(iVar1 + 0x4c)" (* "*") (cast_expression "(code **)(iVar1 + 0x4c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x4c)" (( "(") (binary_expression "iVar1 + 0x4c" (identifier "iVar1") (+ "+") (number_literal "0x4c")) () ")"))))) () ")")) (argument_list "(auStack_38)" (( "(") (identifier "auStack_38") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = 4;\n  }" ({ "{") (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" (identifier "iVar1") (= "=") (number_literal "4")) (; ";")) (} "}"))) (if_statement "if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(local_34 == **(int **)(puVar2 + 0x4d6f4))" (( "(") (binary_expression "local_34 == **(int **)(puVar2 + 0x4d6f4)" (identifier "local_34") (== "==") (pointer_expression "**(int **)(puVar2 + 0x4d6f4)" (* "*") (pointer_expression "*(int **)(puVar2 + 0x4d6f4)" (* "*") (cast_expression "(int **)(puVar2 + 0x4d6f4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x4d6f4)" (( "(") (binary_expression "puVar2 + 0x4d6f4" (identifier "puVar2") (+ "+") (number_literal "0x4d6f4")) () ")")))))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = local_34;" (assignment_expression "iVar1 = local_34" (identifier "iVar1") (= "=") (identifier "local_34")) (; ";")) (expression_statement "(**(code **)(puVar2 + 0x4d6cc))();" (call_expression "(**(code **)(puVar2 + 0x4d6cc))()" (parenthesized_expression "(**(code **)(puVar2 + 0x4d6cc))" (( "(") (pointer_expression "**(code **)(puVar2 + 0x4d6cc)" (* "*") (pointer_expression "*(code **)(puVar2 + 0x4d6cc)" (* "*") (cast_expression "(code **)(puVar2 + 0x4d6cc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x4d6cc)" (( "(") (binary_expression "puVar2 + 0x4d6cc" (identifier "puVar2") (+ "+") (number_literal "0x4d6cc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_2 != 0) {\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);" (assignment_expression "iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" (parenthesized_expression "(**(code **)(iVar1 + 0x38))" (( "(") (pointer_expression "**(code **)(iVar1 + 0x38)" (* "*") (pointer_expression "*(code **)(iVar1 + 0x38)" (* "*") (cast_expression "(code **)(iVar1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x38)" (( "(") (binary_expression "iVar1 + 0x38" (identifier "iVar1") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (return_statement "return 4;" (return "return") (number_literal "4") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) 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: (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 (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) 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: (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 (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal) (identifier) (identifier))))) (return_statement (identifier)))) (return_statement (number_literal)))))

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

{
  int iVar1;
  undefined *puVar2;
  undefined4 uVar3;
  undefined1 auStack_38 [4];
  int local_34;
  undefined4 local_2c;
  undefined1 auStack_10 [4];
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000bef2c;
  iVar1 = (**(code **)(param_1 + 0x44))(auStack_10);
  if (iVar1 != 0) {
    iVar1 = 4;
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000bef2c) {
    return iVar1;
  }
  uVar3 = 0x71838;
  iVar1 = local_c;
  puVar2 = PTR___stack_chk_fail_000bef04;
  (*(code *)PTR___stack_chk_fail_000bef04)();
  local_34 = **(int **)(puVar2 + 0x4d6f4);
  local_2c = uVar3;
  iVar1 = (**(code **)(iVar1 + 0x4c))(auStack_38);
  if (iVar1 != 0) {
    iVar1 = 4;
  }
  if (local_34 == **(int **)(puVar2 + 0x4d6f4)) {
    return iVar1;
  }
  iVar1 = local_34;
  (**(code **)(puVar2 + 0x4d6cc))();
  if (param_2 != 0) {
    iVar1 = (**(code **)(iVar1 + 0x38))(param_2 + 4,*(undefined4 *)(param_2 + 8),0,param_3,param_4);
    return iVar1;
  }
  return 4;
}

