
uint32_t get_addr32(char *name)

{
  int iVar1;
  int iVar2;
  inet_prefix addr;
  
  iVar1 = *(int *)PTR___stack_chk_guard_00132164;
  iVar2 = get_addr_1(&addr,name,2);
  if (iVar2 != 0) {
    (*(code *)PTR_bb_error_msg_and_die_001311f0)
              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,
               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,
               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name);
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_00132164) {
    addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)();
  }
  return addr.data[0];
}



undefined4 FUN_00063ca4(undefined4 param_1)

{
  int iVar1;
  undefined1 auStack_20 [4];
  undefined4 local_1c;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_00132164;
  iVar1 = FUN_00063740(auStack_20,param_1,2);
  if (iVar1 != 0) {
    (*(code *)PTR_FUN_001311f0)
              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,
               param_1);
  }
  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {
    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();
  }
  return local_1c;
}


lui gp,0xd
addiu gp,gp,0x54ac
addu gp,gp,t9
addiu sp,sp,-0x38
sw ra,0x34(sp)
sw s0,0x30(sp)
sw gp,0x10(sp)
or s0,a0,zero
lw v0,-0x6fec(gp)
lw v0,0x0(v0)
sw v0,0x2c(sp)
li a2,0x2
or a1,a0,zero
addiu a0,sp,0x18
lw t9,-0x79b4(gp)
bal 0x00063740
_nop
lw gp,0x10(sp)
beq v0,zero,0x00063d18
_or a3,s0,zero
lw a2,-0x7fac(gp)
addiu a2,a2,-0x7a50
lw a1,-0x7fac(gp)
addiu a1,a1,-0x2b60
lw a0,-0x7fac(gp)
addiu a0,a0,-0x2b90
lw t9,-0x7f60(gp)
jalr t9
_nop
lw v0,0x1c(sp)
lw a0,0x2c(sp)
lw v1,-0x6fec(gp)
lw v1,0x0(v1)
beq a0,v1,0x00063d38
_lw t9,-0x706c(gp)
jalr t9
_nop
lw ra,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "undefined4 FUN_00063ca4(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}\n\n" (function_definition "undefined4 FUN_00063ca4(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}" type_identifier (function_declarator "FUN_00063ca4(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 auStack_20 [4];" type_identifier (array_declarator "auStack_20 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = FUN_00063740(auStack_20,param_1,2);" (assignment_expression "iVar1 = FUN_00063740(auStack_20,param_1,2)" identifier = (call_expression "FUN_00063740(auStack_20,param_1,2)" identifier (argument_list "(auStack_20,param_1,2)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }" { (expression_statement "(*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);" (call_expression "(*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1)" (parenthesized_expression "(*(code *)PTR_FUN_001311f0)" ( (pointer_expression "*(code *)PTR_FUN_001311f0" * (cast_expression "(code *)PTR_FUN_001311f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1)" ( (binary_expression "PTR_FUN_001311a4 + -0x2b90" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x2b60" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x7a50" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" if (parenthesized_expression "(local_c != *(int *)PTR___stack_chk_guard_00132164)" ( (binary_expression "local_c != *(int *)PTR___stack_chk_guard_00132164" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" { (expression_statement "local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();" (assignment_expression "local_1c = (*(code *)PTR___stack_chk_fail_001320e4)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" * (cast_expression "(code *)PTR___stack_chk_fail_001320e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) })) (return_statement "return local_1c;" return identifier ;) })))
(translation_unit "uint32_t get_addr32(char *name)\n\n{\n  int iVar1;\n  int iVar2;\n  inet_prefix addr;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_00132164;\n  iVar2 = get_addr_1(&addr,name,2);\n  if (iVar2 != 0) {\n    (*(code *)PTR_bb_error_msg_and_die_001311f0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name);\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_00132164) {\n    addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return addr.data[0];\n}\n\n" (function_definition "uint32_t get_addr32(char *name)\n\n{\n  int iVar1;\n  int iVar2;\n  inet_prefix addr;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_00132164;\n  iVar2 = get_addr_1(&addr,name,2);\n  if (iVar2 != 0) {\n    (*(code *)PTR_bb_error_msg_and_die_001311f0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name);\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_00132164) {\n    addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return addr.data[0];\n}" primitive_type (function_declarator "get_addr32(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  inet_prefix addr;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_00132164;\n  iVar2 = get_addr_1(&addr,name,2);\n  if (iVar2 != 0) {\n    (*(code *)PTR_bb_error_msg_and_die_001311f0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name);\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_00132164) {\n    addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return addr.data[0];\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "inet_prefix addr;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = get_addr_1(&addr,name,2);" (assignment_expression "iVar2 = get_addr_1(&addr,name,2)" identifier = (call_expression "get_addr_1(&addr,name,2)" identifier (argument_list "(&addr,name,2)" ( (pointer_expression "&addr" & identifier) , identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n    (*(code *)PTR_bb_error_msg_and_die_001311f0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_bb_error_msg_and_die_001311f0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name);\n  }" { (expression_statement "(*(code *)PTR_bb_error_msg_and_die_001311f0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name);" (call_expression "(*(code *)PTR_bb_error_msg_and_die_001311f0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_and_die_001311f0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_and_die_001311f0" * (cast_expression "(code *)PTR_bb_error_msg_and_die_001311f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2b90,\n               PTR_bdcommands_4__name_4__001311a4 + -0x2b60,\n               PTR_bdcommands_4__name_4__001311a4 + -0x7a50,name)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2b90" identifier + number_literal) , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2b60" identifier + number_literal) , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x7a50" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_00132164) {\n    addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_00132164)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_00132164" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" { (expression_statement "addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)();" (assignment_expression "addr.data[0] = (*(code *)PTR___stack_chk_fail_001320e4)()" (subscript_expression "addr.data[0]" (field_expression "addr.data" identifier . field_identifier) [ number_literal ]) = (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" * (cast_expression "(code *)PTR___stack_chk_fail_001320e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) })) (return_statement "return addr.data[0];" return (subscript_expression "addr.data[0]" (field_expression "addr.data" identifier . field_identifier) [ number_literal ]) ;) })))
(translation_unit "undefined4 FUN_00063ca4(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}\n\n" (function_definition "undefined4 FUN_00063ca4(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}" type_identifier (function_declarator "FUN_00063ca4(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 auStack_20 [4];" type_identifier (array_declarator "auStack_20 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = FUN_00063740(auStack_20,param_1,2);" (assignment_expression "iVar1 = FUN_00063740(auStack_20,param_1,2)" identifier = (call_expression "FUN_00063740(auStack_20,param_1,2)" identifier (argument_list "(auStack_20,param_1,2)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }" { (expression_statement "(*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);" (call_expression "(*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1)" (parenthesized_expression "(*(code *)PTR_FUN_001311f0)" ( (pointer_expression "*(code *)PTR_FUN_001311f0" * (cast_expression "(code *)PTR_FUN_001311f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1)" ( (binary_expression "PTR_FUN_001311a4 + -0x2b90" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x2b60" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x7a50" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" if (parenthesized_expression "(local_c != *(int *)PTR___stack_chk_guard_00132164)" ( (binary_expression "local_c != *(int *)PTR___stack_chk_guard_00132164" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" { (expression_statement "local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();" (assignment_expression "local_1c = (*(code *)PTR___stack_chk_fail_001320e4)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" * (cast_expression "(code *)PTR___stack_chk_fail_001320e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) })) (return_statement "return local_1c;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (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_00063ca4(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}" (type_identifier "undefined4") (function_declarator "FUN_00063ca4(undefined4 param_1)" (identifier "FUN_00063ca4") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 auStack_20 [4];\n  undefined4 local_1c;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_00132164;\n  iVar1 = FUN_00063740(auStack_20,param_1,2);\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }\n  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }\n  return local_1c;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 auStack_20 [4];" (type_identifier "undefined1") (array_declarator "auStack_20 [4]" (identifier "auStack_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (declaration "int local_c;" (primitive_type "int") (identifier "local_c") (; ";")) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_00132164" (identifier "local_c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00132164" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00132164")))) (; ";")) (expression_statement "iVar1 = FUN_00063740(auStack_20,param_1,2);" (assignment_expression "iVar1 = FUN_00063740(auStack_20,param_1,2)" (identifier "iVar1") (= "=") (call_expression "FUN_00063740(auStack_20,param_1,2)" (identifier "FUN_00063740") (argument_list "(auStack_20,param_1,2)" (( "(") (identifier "auStack_20") (, ",") (identifier "param_1") (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);\n  }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1);" (call_expression "(*(code *)PTR_FUN_001311f0)\n              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1)" (parenthesized_expression "(*(code *)PTR_FUN_001311f0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311f0" (* "*") (cast_expression "(code *)PTR_FUN_001311f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311f0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,\n               param_1)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2b90" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2b90")) (, ",") (binary_expression "PTR_FUN_001311a4 + -0x2b60" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2b60")) (, ",") (binary_expression "PTR_FUN_001311a4 + -0x7a50" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x7a50")) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_c != *(int *)PTR___stack_chk_guard_00132164) {\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" (if "if") (parenthesized_expression "(local_c != *(int *)PTR___stack_chk_guard_00132164)" (( "(") (binary_expression "local_c != *(int *)PTR___stack_chk_guard_00132164" (identifier "local_c") (!= "!=") (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00132164" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00132164")))) () ")")) (compound_statement "{\n    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();\n  }" ({ "{") (expression_statement "local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();" (assignment_expression "local_1c = (*(code *)PTR___stack_chk_fail_001320e4)()" (identifier "local_1c") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_001320e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_001320e4"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (return_statement "return local_1c;" (return "return") (identifier "local_1c") (; ";")) (} "}")))

uint32_t function_1(char *name)

{
  int var_4;
  int var_2;
  type_1 addr;
  
  var_4 = *(int *)PTR___stack_chk_guard_00132164;
  var_2 = var_1(&addr,name,2);
  if (var_2 != 0) {
    (*(type_2 *)PTR_bb_error_msg_and_die_001311f0)
              (var_3 + -0x2b90,
               var_3 + -0x2b60,
               var_3 + -0x7a50,name);
  }
  if (var_4 != *(int *)PTR___stack_chk_guard_00132164) {
    addr.data[0] = (*(type_2 *)PTR___stack_chk_fail_001320e4)();
  }
  return addr.data[0];
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (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: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (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 (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  undefined1 auStack_20 [4];
  undefined4 local_1c;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_00132164;
  iVar1 = FUN_00063740(auStack_20,param_1,2);
  if (iVar1 != 0) {
    (*(code *)PTR_FUN_001311f0)
              (PTR_FUN_001311a4 + -0x2b90,PTR_FUN_001311a4 + -0x2b60,PTR_FUN_001311a4 + -0x7a50,
               param_1);
  }
  if (local_c != *(int *)PTR___stack_chk_guard_00132164) {
    local_1c = (*(code *)PTR___stack_chk_fail_001320e4)();
  }
  return local_1c;
}

