
int x11_parse_ip(char *addr_string,ulong *ip)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int i [4];
  
  puVar1 = PTR___stack_chk_guard_00079930;
  iVar2 = *(int *)PTR___stack_chk_guard_00079930;
  if (addr_string != (char *)0x0) {
    iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)
                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3);
    if (iVar3 == 4) {
      iVar3 = 1;
      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;
      goto LAB_0005aad4;
    }
  }
  iVar3 = 0;
LAB_0005aad4:
  if (iVar2 == *(int *)puVar1) {
    return iVar3;
  }
  iVar2 = (*(code *)PTR___stack_chk_fail_000797f0)();
  return iVar2;
}



undefined4 FUN_0005aa68(int param_1,uint *param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int local_24;
  int local_20;
  int local_1c;
  uint local_18;
  int local_14;
  
  puVar1 = PTR___stack_chk_guard_00079930;
  local_14 = *(int *)PTR___stack_chk_guard_00079930;
  if (param_1 != 0) {
    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)
                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);
    if (iVar2 == 4) {
      uVar3 = 1;
      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;
      goto LAB_0005aad4;
    }
  }
  uVar3 = 0;
LAB_0005aad4:
  if (local_14 == *(int *)puVar1) {
    return uVar3;
  }
  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();
  return uVar3;
}


lui gp,0x2
addiu gp,gp,0x6608
addu gp,gp,t9
addiu sp,sp,-0x48
sw s0,0x3c(sp)
lw s0,-0x7740(gp)
sw gp,0x18(sp)
sw ra,0x44(sp)
sw s1,0x40(sp)
lw v0,0x0(s0)
sw v0,0x34(sp)
beq a0,zero,0x0005aad0
_addiu v0,sp,0x30
lw t9,-0x7850(gp)
or s1,a1,zero
lw a1,-0x7fc8(gp)
sw v0,0x14(sp)
addiu v0,sp,0x2c
addiu a3,sp,0x28
addiu a2,sp,0x24
sw v0,0x10(sp)
jalr t9
_addiu a1,a1,0x7370
li v1,0x4
beq v0,v1,0x0005aaf4
_lw gp,0x18(sp)
or v0,zero,zero
lw a0,0x34(sp)
lw v1,0x0(s0)
bne a0,v1,0x0005ab28
_lw ra,0x44(sp)
lw s1,0x40(sp)
lw s0,0x3c(sp)
jr ra
_addiu sp,sp,0x48
lw v1,0x24(sp)
li v0,0x1
lw a1,0x28(sp)
lw a0,0x2c(sp)
sll v1,v1,0x18
sll a1,a1,0x10
sll a0,a0,0x8
or v1,v1,a1
lw a1,0x30(sp)
or v1,v1,a1
or v1,v1,a0
b 0x0005aad4
_sw v1,0x0(s1)
lw t9,-0x7880(gp)
jalr t9
_nop
jr ra
_nop
(translation_unit "undefined4 FUN_0005aa68(int param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_0005aa68(int param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}" type_identifier (function_declarator "FUN_0005aa68(int param_1,uint *param_2)" identifier (parameter_list "(int param_1,uint *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "uint local_18;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_00079930;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00079930" * (cast_expression "(int *)PTR___stack_chk_guard_00079930" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);" (assignment_expression "iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" identifier = (call_expression "(*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" (parenthesized_expression "(*(code *)PTR___isoc99_sscanf_00079820)" ( (pointer_expression "*(code *)PTR___isoc99_sscanf_00079820" * (cast_expression "(code *)PTR___isoc99_sscanf_00079820" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x7370" identifier + number_literal) , (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_20" & identifier) , (pointer_expression "&local_1c" & identifier) , (pointer_expression "&local_18" & identifier) )))) ;) (if_statement "if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }" if (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) (compound_statement "{\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "*param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;" (assignment_expression "*param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8" (pointer_expression "*param_2" * identifier) = (binary_expression "local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8" (binary_expression "local_24 << 0x18 | local_20 << 0x10 | local_18" (binary_expression "local_24 << 0x18 | local_20 << 0x10" (binary_expression "local_24 << 0x18" identifier << number_literal) | (binary_expression "local_20 << 0x10" identifier << number_literal)) | identifier) | (binary_expression "local_1c << 8" identifier << number_literal))) ;) (goto_statement "goto LAB_0005aad4;" goto statement_identifier ;) })) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" statement_identifier : (if_statement "if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar1)" ( (binary_expression "local_14 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) }))) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int x11_parse_ip(char *addr_string,ulong *ip)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int i [4];\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  iVar2 = *(int *)PTR___stack_chk_guard_00079930;\n  if (addr_string != (char *)0x0) {\n    iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3);\n    if (iVar3 == 4) {\n      iVar3 = 1;\n      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  iVar3 = 0;\nLAB_0005aad4:\n  if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return iVar2;\n}\n\n" (function_definition "int x11_parse_ip(char *addr_string,ulong *ip)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int i [4];\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  iVar2 = *(int *)PTR___stack_chk_guard_00079930;\n  if (addr_string != (char *)0x0) {\n    iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3);\n    if (iVar3 == 4) {\n      iVar3 = 1;\n      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  iVar3 = 0;\nLAB_0005aad4:\n  if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return iVar2;\n}" primitive_type (function_declarator "x11_parse_ip(char *addr_string,ulong *ip)" identifier (parameter_list "(char *addr_string,ulong *ip)" ( (parameter_declaration "char *addr_string" primitive_type (pointer_declarator "*addr_string" * identifier)) , (parameter_declaration "ulong *ip" type_identifier (pointer_declarator "*ip" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int i [4];\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  iVar2 = *(int *)PTR___stack_chk_guard_00079930;\n  if (addr_string != (char *)0x0) {\n    iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3);\n    if (iVar3 == 4) {\n      iVar3 = 1;\n      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  iVar3 = 0;\nLAB_0005aad4:\n  if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int i [4];" primitive_type (array_declarator "i [4]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_00079930;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00079930" * (cast_expression "(int *)PTR___stack_chk_guard_00079930" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (addr_string != (char *)0x0) {\n    iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3);\n    if (iVar3 == 4) {\n      iVar3 = 1;\n      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;\n      goto LAB_0005aad4;\n    }\n  }" if (parenthesized_expression "(addr_string != (char *)0x0)" ( (binary_expression "addr_string != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3);\n    if (iVar3 == 4) {\n      iVar3 = 1;\n      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;\n      goto LAB_0005aad4;\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3);" (assignment_expression "iVar3 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3)" identifier = (call_expression "(*(code *)PTR___isoc99_sscanf_00079820)\n                      (addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3)" (parenthesized_expression "(*(code *)PTR___isoc99_sscanf_00079820)" ( (pointer_expression "*(code *)PTR___isoc99_sscanf_00079820" * (cast_expression "(code *)PTR___isoc99_sscanf_00079820" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(addr_string,PTR_s_j_000790a8 + 0x7370,i,i + 1,i + 2,i + 3)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x7370" identifier + number_literal) , identifier , (binary_expression "i + 1" identifier + number_literal) , (binary_expression "i + 2" identifier + number_literal) , (binary_expression "i + 3" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 4) {\n      iVar3 = 1;\n      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;\n      goto LAB_0005aad4;\n    }" if (parenthesized_expression "(iVar3 == 4)" ( (binary_expression "iVar3 == 4" identifier == number_literal) )) (compound_statement "{\n      iVar3 = 1;\n      *ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;\n      goto LAB_0005aad4;\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "*ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8;" (assignment_expression "*ip = i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8" (pointer_expression "*ip" * identifier) = (binary_expression "i[0] << 0x18 | i[1] << 0x10 | i[3] | i[2] << 8" (binary_expression "i[0] << 0x18 | i[1] << 0x10 | i[3]" (binary_expression "i[0] << 0x18 | i[1] << 0x10" (binary_expression "i[0] << 0x18" (subscript_expression "i[0]" identifier [ number_literal ]) << number_literal) | (binary_expression "i[1] << 0x10" (subscript_expression "i[1]" identifier [ number_literal ]) << number_literal)) | (subscript_expression "i[3]" identifier [ number_literal ])) | (binary_expression "i[2] << 8" (subscript_expression "i[2]" identifier [ number_literal ]) << number_literal))) ;) (goto_statement "goto LAB_0005aad4;" goto statement_identifier ;) })) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0005aad4:\n  if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (iVar2 == *(int *)puVar1) {\n    return iVar3;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) (expression_statement "iVar2 = (*(code *)PTR___stack_chk_fail_000797f0)();" (assignment_expression "iVar2 = (*(code *)PTR___stack_chk_fail_000797f0)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_0005aa68(int param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_0005aa68(int param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}" type_identifier (function_declarator "FUN_0005aa68(int param_1,uint *param_2)" identifier (parameter_list "(int param_1,uint *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "uint local_18;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00079930" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_00079930;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_00079930" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00079930" * (cast_expression "(int *)PTR___stack_chk_guard_00079930" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);" (assignment_expression "iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" identifier = (call_expression "(*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" (parenthesized_expression "(*(code *)PTR___isoc99_sscanf_00079820)" ( (pointer_expression "*(code *)PTR___isoc99_sscanf_00079820" * (cast_expression "(code *)PTR___isoc99_sscanf_00079820" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" ( identifier , (binary_expression "PTR_s_j_000790a8 + 0x7370" identifier + number_literal) , (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_20" & identifier) , (pointer_expression "&local_1c" & identifier) , (pointer_expression "&local_18" & identifier) )))) ;) (if_statement "if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }" if (parenthesized_expression "(iVar2 == 4)" ( (binary_expression "iVar2 == 4" identifier == number_literal) )) (compound_statement "{\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }" { (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "*param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;" (assignment_expression "*param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8" (pointer_expression "*param_2" * identifier) = (binary_expression "local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8" (binary_expression "local_24 << 0x18 | local_20 << 0x10 | local_18" (binary_expression "local_24 << 0x18 | local_20 << 0x10" (binary_expression "local_24 << 0x18" identifier << number_literal) | (binary_expression "local_20 << 0x10" identifier << number_literal)) | identifier) | (binary_expression "local_1c << 8" identifier << number_literal))) ;) (goto_statement "goto LAB_0005aad4;" goto statement_identifier ;) })) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" statement_identifier : (if_statement "if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar1)" ( (binary_expression "local_14 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) }))) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" * (cast_expression "(code *)PTR___stack_chk_fail_000797f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT << LIT)) | IDENT) | (binary_expression IDENT << LIT))) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0005aa68(int param_1,uint *param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_0005aa68(int param_1,uint *param_2)" (identifier "FUN_0005aa68") (parameter_list "(int param_1,uint *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int local_24;\n  int local_20;\n  int local_1c;\n  uint local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00079930;\n  local_14 = *(int *)PTR___stack_chk_guard_00079930;\n  if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }\n  uVar3 = 0;\nLAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();\n  return uVar3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (declaration "uint local_18;" (type_identifier "uint") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_00079930;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00079930" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_00079930")) (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_00079930;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_00079930" (identifier "local_14") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00079930" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00079930" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00079930")))) (; ";")) (if_statement "if (param_1 != 0) {\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);\n    if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);" (assignment_expression "iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR___isoc99_sscanf_00079820)\n                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" (parenthesized_expression "(*(code *)PTR___isoc99_sscanf_00079820)" (( "(") (pointer_expression "*(code *)PTR___isoc99_sscanf_00079820" (* "*") (cast_expression "(code *)PTR___isoc99_sscanf_00079820" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___isoc99_sscanf_00079820"))) () ")")) (argument_list "(param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_j_000790a8 + 0x7370" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "0x7370")) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (pointer_expression "&local_1c" (& "&") (identifier "local_1c")) (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")")))) (; ";")) (if_statement "if (iVar2 == 4) {\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }" (if "if") (parenthesized_expression "(iVar2 == 4)" (( "(") (binary_expression "iVar2 == 4" (identifier "iVar2") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n      uVar3 = 1;\n      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;\n      goto LAB_0005aad4;\n    }" ({ "{") (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "*param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;" (assignment_expression "*param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8" (binary_expression "local_24 << 0x18 | local_20 << 0x10 | local_18" (binary_expression "local_24 << 0x18 | local_20 << 0x10" (binary_expression "local_24 << 0x18" (identifier "local_24") (<< "<<") (number_literal "0x18")) (| "|") (binary_expression "local_20 << 0x10" (identifier "local_20") (<< "<<") (number_literal "0x10"))) (| "|") (identifier "local_18")) (| "|") (binary_expression "local_1c << 8" (identifier "local_1c") (<< "<<") (number_literal "8")))) (; ";")) (goto_statement "goto LAB_0005aad4;" (goto "goto") (statement_identifier "LAB_0005aad4") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0005aad4:\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" (statement_identifier "LAB_0005aad4") (: ":") (if_statement "if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)puVar1)" (( "(") (binary_expression "local_14 == *(int *)puVar1" (identifier "local_14") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return uVar3;\n  }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_000797f0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000797f0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000797f0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000797f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000797f0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

int function_1(char *var_1,type_1 *ip)

{
  type_2 *puVar1;
  int var_5;
  int var_4;
  int var_3 [4];
  
  puVar1 = PTR___stack_chk_guard_00079930;
  var_5 = *(int *)PTR___stack_chk_guard_00079930;
  if (var_1 != (char *)0x0) {
    var_4 = (*(type_3 *)PTR___isoc99_sscanf_00079820)
                      (var_1,var_2 + 0x7370,var_3,var_3 + 1,var_3 + 2,var_3 + 3);
    if (var_4 == 4) {
      var_4 = 1;
      *ip = var_3[0] << 0x18 | var_3[1] << 0x10 | var_3[3] | var_3[2] << 8;
      goto LAB_0005aad4;
    }
  }
  var_4 = 0;
LAB_0005aad4:
  if (var_5 == *(int *)puVar1) {
    return var_4;
  }
  var_5 = (*(type_3 *)PTR___stack_chk_fail_000797f0)();
  return var_5;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (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))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_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 (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (return_statement (identifier)))))

undefined4 MASKED(int param_1,uint *param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int local_24;
  int local_20;
  int local_1c;
  uint local_18;
  int local_14;
  
  puVar1 = PTR___stack_chk_guard_00079930;
  local_14 = *(int *)PTR___stack_chk_guard_00079930;
  if (param_1 != 0) {
    iVar2 = (*(code *)PTR___isoc99_sscanf_00079820)
                      (param_1,PTR_s_j_000790a8 + 0x7370,&local_24,&local_20,&local_1c,&local_18);
    if (iVar2 == 4) {
      uVar3 = 1;
      *param_2 = local_24 << 0x18 | local_20 << 0x10 | local_18 | local_1c << 8;
      goto LAB_0005aad4;
    }
  }
  uVar3 = 0;
LAB_0005aad4:
  if (local_14 == *(int *)puVar1) {
    return uVar3;
  }
  uVar3 = (*(code *)PTR___stack_chk_fail_000797f0)();
  return uVar3;
}

