
bfd_boolean is_update_section(bfd *abfd,asection *sec)

{
  char *__s1;
  int iVar1;
  section_add *psVar2;
  
  if (update_sections != (section_add *)0x0) {
    __s1 = abfd->filename;
    psVar2 = update_sections;
    do {
      iVar1 = strcmp(__s1,psVar2->name);
      if (iVar1 == 0) {
        return 1;
      }
      psVar2 = psVar2->next;
    } while (psVar2 != (section_add *)0x0);
  }
  return 0;
}



undefined8 FUN_00107f50(undefined8 *param_1)

{
  char *__s1;
  int iVar1;
  long *plVar2;
  
  if (DAT_0012caa0 != (long *)0x0) {
    __s1 = (char *)*param_1;
    plVar2 = DAT_0012caa0;
    do {
      iVar1 = strcmp(__s1,(char *)plVar2[1]);
      if (iVar1 == 0) {
        return 1;
      }
      plVar2 = (long *)*plVar2;
    } while (plVar2 != (long *)0x0);
  }
  return 0;
}


PUSH RBP
XOR EAX,EAX
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [0x0012caa0]
TEST RBX,RBX
JZ 0x00107f8a
MOV RBP,qword ptr [RDI]
NOP word ptr [RAX + RAX*0x1]
MOV RSI,qword ptr [RBX + 0x8]
MOV RDI,RBP
CALL 0x00104460
TEST EAX,EAX
JZ 0x00107f98
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x00107f70
XOR EAX,EAX
ADD RSP,0x8
POP RBX
POP RBP
RET
ADD RSP,0x8
MOV EAX,0x1
POP RBX
POP RBP
RET
(translation_unit "undefined8 FUN_00107f50(undefined8 *param_1)\n\n{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00107f50(undefined8 *param_1)\n\n{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00107f50(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (if_statement "if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }" if (parenthesized_expression "(DAT_0012caa0 != (long *)0x0)" ( (binary_expression "DAT_0012caa0 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }" { (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "plVar2 = DAT_0012caa0;" (assignment_expression "plVar2 = DAT_0012caa0" identifier = identifier) ;) (do_statement "do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);" do (compound_statement "{\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    }" { (expression_statement "iVar1 = strcmp(__s1,(char *)plVar2[1]);" (assignment_expression "iVar1 = strcmp(__s1,(char *)plVar2[1])" identifier = (call_expression "strcmp(__s1,(char *)plVar2[1])" identifier (argument_list "(__s1,(char *)plVar2[1])" ( identifier , (cast_expression "(char *)plVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar2[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar1 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "plVar2 = (long *)*plVar2;" (assignment_expression "plVar2 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) }) while (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bfd_boolean is_update_section(bfd *abfd,asection *sec)\n\n{\n  char *__s1;\n  int iVar1;\n  section_add *psVar2;\n  \n  if (update_sections != (section_add *)0x0) {\n    __s1 = abfd->filename;\n    psVar2 = update_sections;\n    do {\n      iVar1 = strcmp(__s1,psVar2->name);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      psVar2 = psVar2->next;\n    } while (psVar2 != (section_add *)0x0);\n  }\n  return 0;\n}\n\n" (function_definition "bfd_boolean is_update_section(bfd *abfd,asection *sec)\n\n{\n  char *__s1;\n  int iVar1;\n  section_add *psVar2;\n  \n  if (update_sections != (section_add *)0x0) {\n    __s1 = abfd->filename;\n    psVar2 = update_sections;\n    do {\n      iVar1 = strcmp(__s1,psVar2->name);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      psVar2 = psVar2->next;\n    } while (psVar2 != (section_add *)0x0);\n  }\n  return 0;\n}" type_identifier (function_declarator "is_update_section(bfd *abfd,asection *sec)" identifier (parameter_list "(bfd *abfd,asection *sec)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  section_add *psVar2;\n  \n  if (update_sections != (section_add *)0x0) {\n    __s1 = abfd->filename;\n    psVar2 = update_sections;\n    do {\n      iVar1 = strcmp(__s1,psVar2->name);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      psVar2 = psVar2->next;\n    } while (psVar2 != (section_add *)0x0);\n  }\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "section_add *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (if_statement "if (update_sections != (section_add *)0x0) {\n    __s1 = abfd->filename;\n    psVar2 = update_sections;\n    do {\n      iVar1 = strcmp(__s1,psVar2->name);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      psVar2 = psVar2->next;\n    } while (psVar2 != (section_add *)0x0);\n  }" if (parenthesized_expression "(update_sections != (section_add *)0x0)" ( (binary_expression "update_sections != (section_add *)0x0" identifier != (cast_expression "(section_add *)0x0" ( (type_descriptor "section_add *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s1 = abfd->filename;\n    psVar2 = update_sections;\n    do {\n      iVar1 = strcmp(__s1,psVar2->name);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      psVar2 = psVar2->next;\n    } while (psVar2 != (section_add *)0x0);\n  }" { (expression_statement "__s1 = abfd->filename;" (assignment_expression "__s1 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (expression_statement "psVar2 = update_sections;" (assignment_expression "psVar2 = update_sections" identifier = identifier) ;) (do_statement "do {\n      iVar1 = strcmp(__s1,psVar2->name);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      psVar2 = psVar2->next;\n    } while (psVar2 != (section_add *)0x0);" do (compound_statement "{\n      iVar1 = strcmp(__s1,psVar2->name);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      psVar2 = psVar2->next;\n    }" { (expression_statement "iVar1 = strcmp(__s1,psVar2->name);" (assignment_expression "iVar1 = strcmp(__s1,psVar2->name)" identifier = (call_expression "strcmp(__s1,psVar2->name)" identifier (argument_list "(__s1,psVar2->name)" ( identifier , (field_expression "psVar2->name" identifier -> field_identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "psVar2 = psVar2->next;" (assignment_expression "psVar2 = psVar2->next" identifier = (field_expression "psVar2->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(psVar2 != (section_add *)0x0)" ( (binary_expression "psVar2 != (section_add *)0x0" identifier != (cast_expression "(section_add *)0x0" ( (type_descriptor "section_add *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00107f50(undefined8 *param_1)\n\n{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00107f50(undefined8 *param_1)\n\n{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00107f50(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (if_statement "if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }" if (parenthesized_expression "(DAT_0012caa0 != (long *)0x0)" ( (binary_expression "DAT_0012caa0 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }" { (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "plVar2 = DAT_0012caa0;" (assignment_expression "plVar2 = DAT_0012caa0" identifier = identifier) ;) (do_statement "do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);" do (compound_statement "{\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    }" { (expression_statement "iVar1 = strcmp(__s1,(char *)plVar2[1]);" (assignment_expression "iVar1 = strcmp(__s1,(char *)plVar2[1])" identifier = (call_expression "strcmp(__s1,(char *)plVar2[1])" identifier (argument_list "(__s1,(char *)plVar2[1])" ( identifier , (cast_expression "(char *)plVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar2[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar1 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "plVar2 = (long *)*plVar2;" (assignment_expression "plVar2 = (long *)*plVar2" identifier = (cast_expression "(long *)*plVar2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar2" * identifier))) ;) }) while (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00107f50(undefined8 *param_1)\n\n{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00107f50(undefined8 *param_1)" (identifier "FUN_00107f50") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *__s1;\n  int iVar1;\n  long *plVar2;\n  \n  if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }\n  return 0;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (if_statement "if (DAT_0012caa0 != (long *)0x0) {\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }" (if "if") (parenthesized_expression "(DAT_0012caa0 != (long *)0x0)" (( "(") (binary_expression "DAT_0012caa0 != (long *)0x0" (identifier "DAT_0012caa0") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    __s1 = (char *)*param_1;\n    plVar2 = DAT_0012caa0;\n    do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);\n  }" ({ "{") (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" (identifier "__s1") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "plVar2 = DAT_0012caa0;" (assignment_expression "plVar2 = DAT_0012caa0" (identifier "plVar2") (= "=") (identifier "DAT_0012caa0")) (; ";")) (do_statement "do {\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    } while (plVar2 != (long *)0x0);" (do "do") (compound_statement "{\n      iVar1 = strcmp(__s1,(char *)plVar2[1]);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      plVar2 = (long *)*plVar2;\n    }" ({ "{") (expression_statement "iVar1 = strcmp(__s1,(char *)plVar2[1]);" (assignment_expression "iVar1 = strcmp(__s1,(char *)plVar2[1])" (identifier "iVar1") (= "=") (call_expression "strcmp(__s1,(char *)plVar2[1])" (identifier "strcmp") (argument_list "(__s1,(char *)plVar2[1])" (( "(") (identifier "__s1") (, ",") (cast_expression "(char *)plVar2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]"))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "plVar2 = (long *)*plVar2;" (assignment_expression "plVar2 = (long *)*plVar2" (identifier "plVar2") (= "=") (cast_expression "(long *)*plVar2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar2" (* "*") (identifier "plVar2")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(plVar2 != (long *)0x0)" (( "(") (binary_expression "plVar2 != (long *)0x0" (identifier "plVar2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(type_2 *abfd,type_3 *sec)

{
  char *__s1;
  int var_3;
  type_4 *var_4;
  
  if (var_1 != (type_4 *)0x0) {
    __s1 = abfd->filename;
    var_4 = var_1;
    do {
      var_3 = var_2(__s1,var_4->name);
      if (var_3 == 0) {
        return 1;
      }
      var_4 = var_4->next;
    } while (var_4 != (type_4 *)0x0);
  }
  return 0;
}


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

undefined8 MASKED(undefined8 *param_1)

{
  char *__s1;
  int iVar1;
  long *plVar2;
  
  if (DAT_0012caa0 != (long *)0x0) {
    __s1 = (char *)*param_1;
    plVar2 = DAT_0012caa0;
    do {
      iVar1 = strcmp(__s1,(char *)plVar2[1]);
      if (iVar1 == 0) {
        return 1;
      }
      plVar2 = (long *)*plVar2;
    } while (plVar2 != (long *)0x0);
  }
  return 0;
}

