
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

bfd_boolean check_nocrossref(cref_hash_entry *h,void *ignore)

{
  undefined4 *puVar1;
  char *pcVar2;
  lang_nocrossref_type *plVar3;
  lang_nocrossrefs *ncrs;
  int iVar4;
  int iVar5;
  char *fmt;
  cref_ref *pcVar6;
  
  iVar4 = bfd_link_hash_lookup(link_info.hash,(h->root).string,0,0,1);
  if (iVar4 == 0) {
    pcVar2 = (h->root).string;
    fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);
    einfo(fmt,pcVar2);
  }
  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&
          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {
    pcVar2 = (char *)*puVar1;
    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {
      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {
        iVar5 = strcmp(plVar3->name,pcVar2);
        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {
          do {
            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);
            pcVar6 = pcVar6->next;
          } while (pcVar6 != (cref_ref *)0x0);
          iVar5 = ncrs->onlyfirst;
        }
        else {
          iVar5 = ncrs->onlyfirst;
        }
        if (iVar5 != 0) break;
      }
    }
  }
  return 1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00036070(int param_1)

{
  undefined4 *puVar1;
  char *__s2;
  undefined4 *puVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int *piVar6;
  
  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);
  if (iVar4 == 0) {
    uVar3 = *(undefined4 *)(param_1 + 4);
    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);
    FUN_00034d20(uVar5,uVar3);
  }
  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&
          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {
    __s2 = (char *)*puVar1;
    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {
      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;
          puVar2 = (undefined4 *)*puVar2) {
        iVar4 = strcmp((char *)puVar2[1],__s2);
        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {
          do {
            FUN_00035e70(piVar6[1],puVar1);
            piVar6 = (int *)*piVar6;
          } while (piVar6 != (int *)0x0);
          iVar4 = puVar1[2];
        }
        else {
          iVar4 = puVar1[2];
        }
        if (iVar4 != 0) break;
      }
    }
  }
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x198f87
SUB ESP,0x28
MOV dword ptr [ESP + 0x14],EBX
PUSH 0x1
PUSH 0x0
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x48]
PUSH dword ptr [EAX + 0x4]
LEA EAX,[EBX + 0x23e0]
PUSH dword ptr [EAX + 0x20]
CALL 0x00016590
ADD ESP,0x20
TEST EAX,EAX
JZ 0x00036174
MOV ESI,EAX
MOVZX EAX,byte ptr [EAX + 0xc]
SUB EAX,0x3
CMP AL,0x1
JA 0x00036167
MOV EAX,dword ptr [ESI + 0x14]
MOV EAX,dword ptr [EAX + 0x54]
TEST EAX,EAX
JZ 0x00036167
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x8]
LEA EAX,[EAX + 0x2374]
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JZ 0x00036167
LEA ESI,[ESI]
MOV EDI,dword ptr [EBP + 0x4]
TEST EDI,EDI
JNZ 0x00036105
JMP 0x00036160
MOV EAX,dword ptr [EBP + 0x8]
TEST EAX,EAX
JNZ 0x00036160
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JZ 0x00036160
SUB ESP,0x8
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [EDI + 0x4]
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x000160c0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000360f8
MOV EAX,dword ptr [ESP + 0x30]
MOV EBX,dword ptr [EAX + 0x10]
TEST EBX,EBX
JZ 0x000360f8
LEA ESI,[ESI]
SUB ESP,0x8
MOV ECX,dword ptr [ESI + 0x14]
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,0x1
PUSH EBP
PUSH dword ptr [EBX + 0x4]
CALL 0x00035e70
MOV EBX,dword ptr [EBX]
ADD ESP,0x10
TEST EBX,EBX
JNZ 0x00036130
MOV EAX,dword ptr [EBP + 0x8]
TEST EAX,EAX
JZ 0x000360ff
LEA ESI,[ESI]
NOP
MOV EBP,dword ptr [EBP]
TEST EBP,EBP
JNZ 0x000360e8
ADD ESP,0x1c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x30]
SUB ESP,0x4
MOV ESI,dword ptr [EAX + 0x4]
PUSH 0x5
MOV EDI,dword ptr [ESP + 0x10]
LEA EAX,[EDI + 0xffeaee2c]
MOV EBX,EDI
PUSH EAX
PUSH 0x0
CALL 0x00016310
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x00036167
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00036070(int param_1)\n\n{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_00036070(int param_1)\n\n{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00036070(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);" (assignment_expression "iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" identifier = (call_expression "bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" identifier (argument_list "(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);" (assignment_expression "uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" identifier = (call_expression "dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" identifier (argument_list "(0,"%P: symbol `%pT\' missing from main hash table\n",5)" ( number_literal , (string_literal ""%P: symbol `%pT\' missing from main hash table\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar5,uVar3);" (call_expression "FUN_00034d20(uVar5,uVar3)" identifier (argument_list "(uVar5,uVar3)" ( identifier , identifier ))) ;) }) (else_clause "else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" else (if_statement "if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" if (parenthesized_expression "(((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0))" ( (binary_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" (parenthesized_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2)" ( (binary_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U) < 2" (call_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(iVar4 + 0xc) - 3U)" ( (binary_expression "*(char *)(iVar4 + 0xc) - 3U" (pointer_expression "*(char *)(iVar4 + 0xc)" * (cast_expression "(char *)(iVar4 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) - number_literal) ))) < number_literal) )) && (parenthesized_expression "(puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" * (cast_expression "(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar4 + 0x14) + 0x54)" ( (binary_expression "*(int *)(iVar4 + 0x14) + 0x54" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" { (expression_statement "__s2 = (char *)*puVar1;" (assignment_expression "__s2 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (for_statement "for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }" for ( (assignment_expression "puVar1 = DAT_001d1374" identifier = identifier) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }" { (for_statement "for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }" for ( (assignment_expression "puVar2 = (undefined4 *)puVar1[1]" identifier = (cast_expression "(undefined4 *)puVar1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ; (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ) (compound_statement "{\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }" { (expression_statement "iVar4 = strcmp((char *)puVar2[1],__s2);" (assignment_expression "iVar4 = strcmp((char *)puVar2[1],__s2)" identifier = (call_expression "strcmp((char *)puVar2[1],__s2)" identifier (argument_list "((char *)puVar2[1],__s2)" ( (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }" if (parenthesized_expression "((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0))" ( (binary_expression "(iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)" ( (comma_expression "piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0" (assignment_expression "piVar6 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) , (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }" { (do_statement "do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);" do (compound_statement "{\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          }" { (expression_statement "FUN_00035e70(piVar6[1],puVar1);" (call_expression "FUN_00035e70(piVar6[1],puVar1)" identifier (argument_list "(piVar6[1],puVar1)" ( (subscript_expression "piVar6[1]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "piVar6 = (int *)*piVar6;" (assignment_expression "piVar6 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) }) while (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar4 = puVar1[2];" (assignment_expression "iVar4 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          iVar4 = puVar1[2];\n        }" else (compound_statement "{\n          iVar4 = puVar1[2];\n        }" { (expression_statement "iVar4 = puVar1[2];" (assignment_expression "iVar4 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }))) (if_statement "if (iVar4 != 0) break;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) })) })) })))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean check_nocrossref(cref_hash_entry *h,void *ignore)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  lang_nocrossref_type *plVar3;\n  lang_nocrossrefs *ncrs;\n  int iVar4;\n  int iVar5;\n  char *fmt;\n  cref_ref *pcVar6;\n  \n  iVar4 = bfd_link_hash_lookup(link_info.hash,(h->root).string,0,0,1);\n  if (iVar4 == 0) {\n    pcVar2 = (h->root).string;\n    fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    einfo(fmt,pcVar2);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    pcVar2 = (char *)*puVar1;\n    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }\n  }\n  return 1;\n}\n\n" comment comment (function_definition "bfd_boolean check_nocrossref(cref_hash_entry *h,void *ignore)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  lang_nocrossref_type *plVar3;\n  lang_nocrossrefs *ncrs;\n  int iVar4;\n  int iVar5;\n  char *fmt;\n  cref_ref *pcVar6;\n  \n  iVar4 = bfd_link_hash_lookup(link_info.hash,(h->root).string,0,0,1);\n  if (iVar4 == 0) {\n    pcVar2 = (h->root).string;\n    fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    einfo(fmt,pcVar2);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    pcVar2 = (char *)*puVar1;\n    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "check_nocrossref(cref_hash_entry *h,void *ignore)" identifier (parameter_list "(cref_hash_entry *h,void *ignore)" ( (parameter_declaration "cref_hash_entry *h" type_identifier (pointer_declarator "*h" * identifier)) , (parameter_declaration "void *ignore" primitive_type (pointer_declarator "*ignore" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  lang_nocrossref_type *plVar3;\n  lang_nocrossrefs *ncrs;\n  int iVar4;\n  int iVar5;\n  char *fmt;\n  cref_ref *pcVar6;\n  \n  iVar4 = bfd_link_hash_lookup(link_info.hash,(h->root).string,0,0,1);\n  if (iVar4 == 0) {\n    pcVar2 = (h->root).string;\n    fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    einfo(fmt,pcVar2);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    pcVar2 = (char *)*puVar1;\n    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "lang_nocrossref_type *plVar3;" type_identifier (pointer_declarator "*plVar3" * identifier) ;) (declaration "lang_nocrossrefs *ncrs;" type_identifier (pointer_declarator "*ncrs" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "cref_ref *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar4 = bfd_link_hash_lookup(link_info.hash,(h->root).string,0,0,1);" (assignment_expression "iVar4 = bfd_link_hash_lookup(link_info.hash,(h->root).string,0,0,1)" identifier = (call_expression "bfd_link_hash_lookup(link_info.hash,(h->root).string,0,0,1)" identifier (argument_list "(link_info.hash,(h->root).string,0,0,1)" ( (field_expression "link_info.hash" identifier . field_identifier) , (field_expression "(h->root).string" (parenthesized_expression "(h->root)" ( (field_expression "h->root" identifier -> field_identifier) )) . field_identifier) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    pcVar2 = (h->root).string;\n    fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    einfo(fmt,pcVar2);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    pcVar2 = (char *)*puVar1;\n    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = (h->root).string;\n    fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    einfo(fmt,pcVar2);\n  }" { (expression_statement "pcVar2 = (h->root).string;" (assignment_expression "pcVar2 = (h->root).string" identifier = (field_expression "(h->root).string" (parenthesized_expression "(h->root)" ( (field_expression "h->root" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" identifier (argument_list "(0,"%P: symbol `%pT\' missing from main hash table\n",5)" ( number_literal , (string_literal ""%P: symbol `%pT\' missing from main hash table\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,pcVar2);" (call_expression "einfo(fmt,pcVar2)" identifier (argument_list "(fmt,pcVar2)" ( identifier , identifier ))) ;) }) (else_clause "else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    pcVar2 = (char *)*puVar1;\n    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }\n  }" else (if_statement "if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    pcVar2 = (char *)*puVar1;\n    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }\n  }" if (parenthesized_expression "(((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0))" ( (binary_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" (parenthesized_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2)" ( (binary_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U) < 2" (call_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(iVar4 + 0xc) - 3U)" ( (binary_expression "*(char *)(iVar4 + 0xc) - 3U" (pointer_expression "*(char *)(iVar4 + 0xc)" * (cast_expression "(char *)(iVar4 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) - number_literal) ))) < number_literal) )) && (parenthesized_expression "(puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" * (cast_expression "(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar4 + 0x14) + 0x54)" ( (binary_expression "*(int *)(iVar4 + 0x14) + 0x54" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    pcVar2 = (char *)*puVar1;\n    for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }\n  }" { (expression_statement "pcVar2 = (char *)*puVar1;" (assignment_expression "pcVar2 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (for_statement "for (ncrs = nocrossref_list; ncrs != (lang_nocrossrefs *)0x0; ncrs = ncrs->next) {\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }" for ( (assignment_expression "ncrs = nocrossref_list" identifier = identifier) ; (binary_expression "ncrs != (lang_nocrossrefs *)0x0" identifier != (cast_expression "(lang_nocrossrefs *)0x0" ( (type_descriptor "lang_nocrossrefs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "ncrs = ncrs->next" identifier = (field_expression "ncrs->next" identifier -> field_identifier)) ) (compound_statement "{\n      for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }\n    }" { (for_statement "for (plVar3 = ncrs->list; plVar3 != (lang_nocrossref_type *)0x0; plVar3 = plVar3->next) {\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }" for ( (assignment_expression "plVar3 = ncrs->list" identifier = (field_expression "ncrs->list" identifier -> field_identifier)) ; (binary_expression "plVar3 != (lang_nocrossref_type *)0x0" identifier != (cast_expression "(lang_nocrossref_type *)0x0" ( (type_descriptor "lang_nocrossref_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar3 = plVar3->next" identifier = (field_expression "plVar3->next" identifier -> field_identifier)) ) (compound_statement "{\n        iVar5 = strcmp(plVar3->name,pcVar2);\n        if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }\n        if (iVar5 != 0) break;\n      }" { (expression_statement "iVar5 = strcmp(plVar3->name,pcVar2);" (assignment_expression "iVar5 = strcmp(plVar3->name,pcVar2)" identifier = (call_expression "strcmp(plVar3->name,pcVar2)" identifier (argument_list "(plVar3->name,pcVar2)" ( (field_expression "plVar3->name" identifier -> field_identifier) , identifier )))) ;) (if_statement "if ((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)) {\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }\n        else {\n          iVar5 = ncrs->onlyfirst;\n        }" if (parenthesized_expression "((iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0))" ( (binary_expression "(iVar5 == 0) && (pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) && (parenthesized_expression "(pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0)" ( (comma_expression "pcVar6 = h->refs, pcVar6 != (cref_ref *)0x0" (assignment_expression "pcVar6 = h->refs" identifier = (field_expression "h->refs" identifier -> field_identifier)) , (binary_expression "pcVar6 != (cref_ref *)0x0" identifier != (cast_expression "(cref_ref *)0x0" ( (type_descriptor "cref_ref *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n          do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);\n          iVar5 = ncrs->onlyfirst;\n        }" { (do_statement "do {\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          } while (pcVar6 != (cref_ref *)0x0);" do (compound_statement "{\n            check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);\n            pcVar6 = pcVar6->next;\n          }" { (expression_statement "check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs);" (call_expression "check_refs(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs)" identifier (argument_list "(*(char **)(iVar4 + 4),1,*(asection **)(iVar4 + 0x14),pcVar6->abfd,ncrs)" ( (pointer_expression "*(char **)(iVar4 + 4)" * (cast_expression "(char **)(iVar4 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , number_literal , (pointer_expression "*(asection **)(iVar4 + 0x14)" * (cast_expression "(asection **)(iVar4 + 0x14)" ( (type_descriptor "asection **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) , (field_expression "pcVar6->abfd" identifier -> field_identifier) , identifier ))) ;) (expression_statement "pcVar6 = pcVar6->next;" (assignment_expression "pcVar6 = pcVar6->next" identifier = (field_expression "pcVar6->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pcVar6 != (cref_ref *)0x0)" ( (binary_expression "pcVar6 != (cref_ref *)0x0" identifier != (cast_expression "(cref_ref *)0x0" ( (type_descriptor "cref_ref *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar5 = ncrs->onlyfirst;" (assignment_expression "iVar5 = ncrs->onlyfirst" identifier = (field_expression "ncrs->onlyfirst" identifier -> field_identifier)) ;) }) (else_clause "else {\n          iVar5 = ncrs->onlyfirst;\n        }" else (compound_statement "{\n          iVar5 = ncrs->onlyfirst;\n        }" { (expression_statement "iVar5 = ncrs->onlyfirst;" (assignment_expression "iVar5 = ncrs->onlyfirst" identifier = (field_expression "ncrs->onlyfirst" identifier -> field_identifier)) ;) }))) (if_statement "if (iVar5 != 0) break;" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) })) })) })))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00036070(int param_1)\n\n{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_00036070(int param_1)\n\n{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00036070(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);" (assignment_expression "iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" identifier = (call_expression "bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" identifier (argument_list "(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);" (assignment_expression "uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" identifier = (call_expression "dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" identifier (argument_list "(0,"%P: symbol `%pT\' missing from main hash table\n",5)" ( number_literal , (string_literal ""%P: symbol `%pT\' missing from main hash table\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar5,uVar3);" (call_expression "FUN_00034d20(uVar5,uVar3)" identifier (argument_list "(uVar5,uVar3)" ( identifier , identifier ))) ;) }) (else_clause "else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" else (if_statement "if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" if (parenthesized_expression "(((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0))" ( (binary_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" (parenthesized_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2)" ( (binary_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U) < 2" (call_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(iVar4 + 0xc) - 3U)" ( (binary_expression "*(char *)(iVar4 + 0xc) - 3U" (pointer_expression "*(char *)(iVar4 + 0xc)" * (cast_expression "(char *)(iVar4 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) - number_literal) ))) < number_literal) )) && (parenthesized_expression "(puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" ( (comma_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" identifier = (pointer_expression "*(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" * (cast_expression "(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar4 + 0x14) + 0x54)" ( (binary_expression "*(int *)(iVar4 + 0x14) + 0x54" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" { (expression_statement "__s2 = (char *)*puVar1;" (assignment_expression "__s2 = (char *)*puVar1" identifier = (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (for_statement "for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }" for ( (assignment_expression "puVar1 = DAT_001d1374" identifier = identifier) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }" { (for_statement "for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }" for ( (assignment_expression "puVar2 = (undefined4 *)puVar1[1]" identifier = (cast_expression "(undefined4 *)puVar1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ; (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ) (compound_statement "{\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }" { (expression_statement "iVar4 = strcmp((char *)puVar2[1],__s2);" (assignment_expression "iVar4 = strcmp((char *)puVar2[1],__s2)" identifier = (call_expression "strcmp((char *)puVar2[1],__s2)" identifier (argument_list "((char *)puVar2[1],__s2)" ( (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ])) , identifier )))) ;) (if_statement "if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }" if (parenthesized_expression "((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0))" ( (binary_expression "(iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)" ( (comma_expression "piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0" (assignment_expression "piVar6 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) , (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }" { (do_statement "do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);" do (compound_statement "{\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          }" { (expression_statement "FUN_00035e70(piVar6[1],puVar1);" (call_expression "FUN_00035e70(piVar6[1],puVar1)" identifier (argument_list "(piVar6[1],puVar1)" ( (subscript_expression "piVar6[1]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "piVar6 = (int *)*piVar6;" (assignment_expression "piVar6 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) }) while (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar4 = puVar1[2];" (assignment_expression "iVar4 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          iVar4 = puVar1[2];\n        }" else (compound_statement "{\n          iVar4 = puVar1[2];\n        }" { (expression_statement "iVar4 = puVar1[2];" (assignment_expression "iVar4 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) }))) (if_statement "if (iVar4 != 0) break;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) })) })) })))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) ))) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (for_statement for ( (assignment_expression IDENT = IDENT) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) })) })) })))) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00036070(int param_1)\n\n{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00036070(int param_1)" (identifier "FUN_00036070") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  char *__s2;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  \n  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);\n  if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (expression_statement "iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);" (assignment_expression "iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" (identifier "iVar4") (= "=") (call_expression "bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" (identifier "bfd_link_hash_lookup") (argument_list "(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1)" (( "(") (identifier "DAT_001d1400") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }\n  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 4);\n    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);\n    FUN_00034d20(uVar5,uVar3);\n  }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);" (assignment_expression "uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5)" (identifier "dcgettext") (argument_list "(0,"%P: symbol `%pT\' missing from main hash table\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%P: symbol `%pT\' missing from main hash table\n"" (" """) (string_content "%P: symbol `%pT") (escape_sequence "\'") (string_content " missing from main hash table") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar5,uVar3);" (call_expression "FUN_00034d20(uVar5,uVar3)" (identifier "FUN_00034d20") (argument_list "(uVar5,uVar3)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}")) (else_clause "else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" (else "else") (if_statement "if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0))" (( "(") (binary_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&\n          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" (parenthesized_expression "((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2)" (( "(") (binary_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U) < 2" (call_expression "(byte)(*(char *)(iVar4 + 0xc) - 3U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(*(char *)(iVar4 + 0xc) - 3U)" (( "(") (binary_expression "*(char *)(iVar4 + 0xc) - 3U" (pointer_expression "*(char *)(iVar4 + 0xc)" (* "*") (cast_expression "(char *)(iVar4 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (number_literal "3U")) () ")"))) (< "<") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0" (assignment_expression "puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" (* "*") (cast_expression "(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x14) + 0x54)" (( "(") (binary_expression "*(int *)(iVar4 + 0x14) + 0x54" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "0x54")) () ")"))))) (, ",") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    __s2 = (char *)*puVar1;\n    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }\n  }" ({ "{") (expression_statement "__s2 = (char *)*puVar1;" (assignment_expression "__s2 = (char *)*puVar1" (identifier "__s2") (= "=") (cast_expression "(char *)*puVar1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (for_statement "for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }" (for "for") (( "(") (assignment_expression "puVar1 = DAT_001d1374" (identifier "puVar1") (= "=") (identifier "DAT_001d1374")) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) () ")") (compound_statement "{\n      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }\n    }" ({ "{") (for_statement "for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;\n          puVar2 = (undefined4 *)*puVar2) {\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }" (for "for") (( "(") (assignment_expression "puVar2 = (undefined4 *)puVar1[1]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)puVar1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")))) (; ";") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar2 = (undefined4 *)*puVar2" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) () ")") (compound_statement "{\n        iVar4 = strcmp((char *)puVar2[1],__s2);\n        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }\n        if (iVar4 != 0) break;\n      }" ({ "{") (expression_statement "iVar4 = strcmp((char *)puVar2[1],__s2);" (assignment_expression "iVar4 = strcmp((char *)puVar2[1],__s2)" (identifier "iVar4") (= "=") (call_expression "strcmp((char *)puVar2[1],__s2)" (identifier "strcmp") (argument_list "((char *)puVar2[1],__s2)" (( "(") (cast_expression "(char *)puVar2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "__s2") () ")")))) (; ";")) (if_statement "if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }\n        else {\n          iVar4 = puVar1[2];\n        }" (if "if") (parenthesized_expression "((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0))" (( "(") (binary_expression "(iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)" (( "(") (comma_expression "piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0" (assignment_expression "piVar6 = *(int **)(param_1 + 0x10)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(param_1 + 0x10)" (* "*") (cast_expression "(int **)(param_1 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n          do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);\n          iVar4 = puVar1[2];\n        }" ({ "{") (do_statement "do {\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          } while (piVar6 != (int *)0x0);" (do "do") (compound_statement "{\n            FUN_00035e70(piVar6[1],puVar1);\n            piVar6 = (int *)*piVar6;\n          }" ({ "{") (expression_statement "FUN_00035e70(piVar6[1],puVar1);" (call_expression "FUN_00035e70(piVar6[1],puVar1)" (identifier "FUN_00035e70") (argument_list "(piVar6[1],puVar1)" (( "(") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "piVar6 = (int *)*piVar6;" (assignment_expression "piVar6 = (int *)*piVar6" (identifier "piVar6") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "iVar4 = puVar1[2];" (assignment_expression "iVar4 = puVar1[2]" (identifier "iVar4") (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          iVar4 = puVar1[2];\n        }" (else "else") (compound_statement "{\n          iVar4 = puVar1[2];\n        }" ({ "{") (expression_statement "iVar4 = puVar1[2];" (assignment_expression "iVar4 = puVar1[2]" (identifier "iVar4") (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (if_statement "if (iVar4 != 0) break;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (} "}"))))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *h,void *ignore)

{
  type_3 *var_5;
  char *pcVar2;
  type_4 *var_7;
  type_5 *var_6;
  int var_2;
  int var_9;
  char *fmt;
  type_6 *var_10;
  
  var_2 = var_1(link_info.hash,(h->root).string,0,0,1);
  if (var_2 == 0) {
    pcVar2 = (h->root).string;
    fmt = (char *)var_3(0,"%P: symbol `%pT\' missing from main hash table\n",5);
    var_4(fmt,pcVar2);
  }
  else if (((byte)(*(char *)(var_2 + 0xc) - 3U) < 2) &&
          (var_5 = *(type_3 **)(*(int *)(var_2 + 0x14) + 0x54), var_5 != (type_3 *)0x0)) {
    pcVar2 = (char *)*var_5;
    for (var_6 = nocrossref_list; var_6 != (type_5 *)0x0; var_6 = var_6->next) {
      for (var_7 = var_6->list; var_7 != (type_4 *)0x0; var_7 = var_7->next) {
        var_9 = var_8(var_7->name,pcVar2);
        if ((var_9 == 0) && (var_10 = h->refs, var_10 != (type_6 *)0x0)) {
          do {
            var_11(*(char **)(var_2 + 4),1,*(type_7 **)(var_2 + 0x14),var_10->abfd,var_6);
            var_10 = var_10->next;
          } while (var_10 != (type_6 *)0x0);
          var_9 = var_6->onlyfirst;
        }
        else {
          var_9 = var_6->onlyfirst;
        }
        if (var_9 != 0) break;
      }
    }
  }
  return 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) 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))))) (for_statement initializer: (assignment_expression left: (identifier) right: (identifier)) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) body: (compound_statement (for_statement initializer: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)))))))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1)

{
  undefined4 *puVar1;
  char *__s2;
  undefined4 *puVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int *piVar6;
  
  iVar4 = bfd_link_hash_lookup(DAT_001d1400,*(undefined4 *)(param_1 + 4),0,0,1);
  if (iVar4 == 0) {
    uVar3 = *(undefined4 *)(param_1 + 4);
    uVar5 = dcgettext(0,"%P: symbol `%pT\' missing from main hash table\n",5);
    FUN_00034d20(uVar5,uVar3);
  }
  else if (((byte)(*(char *)(iVar4 + 0xc) - 3U) < 2) &&
          (puVar1 = *(undefined4 **)(*(int *)(iVar4 + 0x14) + 0x54), puVar1 != (undefined4 *)0x0)) {
    __s2 = (char *)*puVar1;
    for (puVar1 = DAT_001d1374; puVar1 != (undefined4 *)0x0; puVar1 = (undefined4 *)*puVar1) {
      for (puVar2 = (undefined4 *)puVar1[1]; puVar2 != (undefined4 *)0x0;
          puVar2 = (undefined4 *)*puVar2) {
        iVar4 = strcmp((char *)puVar2[1],__s2);
        if ((iVar4 == 0) && (piVar6 = *(int **)(param_1 + 0x10), piVar6 != (int *)0x0)) {
          do {
            FUN_00035e70(piVar6[1],puVar1);
            piVar6 = (int *)*piVar6;
          } while (piVar6 != (int *)0x0);
          iVar4 = puVar1[2];
        }
        else {
          iVar4 = puVar1[2];
        }
        if (iVar4 != 0) break;
      }
    }
  }
  return 1;
}

