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

debug_type_conflict debug_find_named_type(void *handle,char *name)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  debug_type_conflict pdVar6;
  
  iVar3 = *(int *)((int)handle + 4);
  if (iVar3 == 0) {
    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);
    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);
    pdVar6 = (debug_type_conflict)0x0;
  }
  else {
    for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {
      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {
        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;
            puVar5 = (undefined4 *)*puVar5) {
          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&
             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;
        }
      }
    }
    pdVar6 = *(debug_type_conflict *)(iVar3 + 4);
    if (pdVar6 == (debug_type_conflict)0x0) {
      pdVar6 = (debug_type_conflict)0x0;
    }
    else {
      do {
        if (pdVar6->pointer != (debug_type)0x0) {
          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;
              puVar5 = (undefined4 *)*puVar5) {
            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&
               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {
LAB_000202b1:
              return (debug_type_conflict)puVar5[5];
            }
          }
        }
        pdVar6 = (debug_type_conflict)pdVar6->kind;
      } while (pdVar6 != (debug_type_conflict)0x0);
    }
  }
  return pdVar6;
}



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

int FUN_00020230(int param_1,char *param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  int *piVar6;
  
  iVar3 = *(int *)(param_1 + 4);
  if (iVar3 == 0) {
    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);
    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);
    piVar6 = (int *)0x0;
  }
  else {
    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {
      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {
        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;
            puVar5 = (undefined4 *)*puVar5) {
          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&
             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;
        }
      }
    }
    piVar6 = *(int **)(iVar3 + 4);
    if (piVar6 == (int *)0x0) {
      piVar6 = (int *)0x0;
    }
    else {
      do {
        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {
          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;
              puVar5 = (undefined4 *)*puVar5) {
            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&
               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {
LAB_000202b1:
              return puVar5[5];
            }
          }
        }
        piVar6 = (int *)*piVar6;
      } while (piVar6 != (int *)0x0);
    }
  }
  return (int)piVar6;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x1fdc7
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESP + 0x34]
MOV EDI,dword ptr [EAX + 0x4]
TEST EDI,EDI
JZ 0x00020313
MOV EDX,dword ptr [EAX + 0x10]
TEST EDX,EDX
JNZ 0x00020267
JMP 0x000202be
MOV EDX,dword ptr [EDX + 0x4]
TEST EDX,EDX
JZ 0x000202be
MOV EAX,dword ptr [EDX + 0x1c]
TEST EAX,EAX
JZ 0x00020260
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JNZ 0x00020286
JMP 0x00020260
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JZ 0x00020260
MOV ECX,dword ptr [ESI + 0xc]
TEST ECX,ECX
JNZ 0x00020280
MOV EAX,dword ptr [ESI + 0x4]
MOVZX ECX,byte ptr [EBP]
CMP byte ptr [EAX],CL
JNZ 0x00020280
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0x8
PUSH EBP
PUSH EAX
CALL 0x00013070
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JNZ 0x00020280
MOV EDI,dword ptr [ESI + 0x14]
ADD ESP,0x1c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [EDI + 0x4]
TEST EDI,EDI
JNZ 0x000202d6
JMP 0x000202b4
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JZ 0x000202b4
MOV EAX,dword ptr [EDI + 0x8]
TEST EAX,EAX
JZ 0x000202d0
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JNZ 0x000202ee
JMP 0x000202d0
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JZ 0x000202d0
MOV EAX,dword ptr [ESI + 0xc]
TEST EAX,EAX
JNZ 0x000202e8
MOV EAX,dword ptr [ESI + 0x4]
MOVZX EDX,byte ptr [EBP]
CMP byte ptr [EAX],DL
JNZ 0x000202e8
SUB ESP,0x8
PUSH EBP
PUSH EAX
CALL 0x00013070
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000202e8
JMP 0x000202b1
SUB ESP,0x4
LEA EAX,[EBX + 0xffff3c70]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00013200
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xffff532f]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffa8]
PUSH dword ptr [EAX]
CALL 0x00013520
ADD ESP,0x10
JMP 0x000202b4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00020230(int param_1,char *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}\n\n" comment (function_definition "int FUN_00020230(int param_1,char *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}" primitive_type (function_declarator "FUN_00020230(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }" { (expression_statement "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5)" identifier = (call_expression "dcgettext(0,"debug_find_named_type: no current compilation unit",5)" identifier (argument_list "(0,"debug_find_named_type: no current compilation unit",5)" ( number_literal , (string_literal ""debug_find_named_type: no current compilation unit"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" identifier (argument_list "(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" ( (pointer_expression "*(FILE **)PTR_stderr_0003ffa8" * (cast_expression "(FILE **)PTR_stderr_0003ffa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" else (compound_statement "{\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" { (for_statement "for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" for ( (assignment_expression "iVar1 = *(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 "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = *(int *)(iVar1 + 4)" identifier = (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ) (compound_statement "{\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" { (if_statement "if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" if (parenthesized_expression "(*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" * (cast_expression "(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" { (for_statement "for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }" for ( (assignment_expression "puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" identifier = (cast_expression "(undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(iVar1 + 0x1c)" * (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" * (cast_expression "(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))))) ; (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar5 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ) (compound_statement "{\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }" { (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;" if (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0))" ( (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2))" ( (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)" (parenthesized_expression "(puVar5[3] == 0)" ( (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)puVar5[1] == *param_2)" ( (binary_expression "*(char *)puVar5[1] == *param_2" (pointer_expression "*(char *)puVar5[1]" * (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) == (pointer_expression "*param_2" * identifier)) ))) )) && (parenthesized_expression "(iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)" ( (comma_expression "iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0" (assignment_expression "iVar2 = strcmp((char *)puVar5[1],param_2)" identifier = (call_expression "strcmp((char *)puVar5[1],param_2)" identifier (argument_list "((char *)puVar5[1],param_2)" ( (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_000202b1;" goto statement_identifier ;)) })) })) })) (expression_statement "piVar6 = *(int **)(iVar3 + 4);" (assignment_expression "piVar6 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" if (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)) )) (compound_statement "{\n      piVar6 = (int *)0x0;\n    }" { (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" else (compound_statement "{\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" { (do_statement "do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);" do (compound_statement "{\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      }" { (if_statement "if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }" if (parenthesized_expression "((undefined4 *)piVar6[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar6[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }" { (for_statement "for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }" for ( (assignment_expression "puVar5 = *(undefined4 **)piVar6[2]" identifier = (pointer_expression "*(undefined4 **)piVar6[2]" * (cast_expression "(undefined4 **)piVar6[2]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])))) ; (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar5 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ) (compound_statement "{\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }" { (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }" if (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0))" ( (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2))" ( (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)" (parenthesized_expression "(puVar5[3] == 0)" ( (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)puVar5[1] == *param_2)" ( (binary_expression "*(char *)puVar5[1] == *param_2" (pointer_expression "*(char *)puVar5[1]" * (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) == (pointer_expression "*param_2" * identifier)) ))) )) && (parenthesized_expression "(iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar5[1],param_2)" identifier = (call_expression "strcmp((char *)puVar5[1],param_2)" identifier (argument_list "((char *)puVar5[1],param_2)" ( (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_000202b1:\n              return puVar5[5];\n            }" { (labeled_statement "LAB_000202b1:\n              return puVar5[5];" statement_identifier : (return_statement "return puVar5[5];" return (subscript_expression "puVar5[5]" identifier [ number_literal ]) ;)) })) })) })) (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)) )) ;) }))) }))) (return_statement "return (int)piVar6;" return (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\ndebug_type_conflict debug_find_named_type(void *handle,char *name)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  debug_type_conflict pdVar6;\n  \n  iVar3 = *(int *)((int)handle + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    pdVar6 = (debug_type_conflict)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    pdVar6 = *(debug_type_conflict *)(iVar3 + 4);\n    if (pdVar6 == (debug_type_conflict)0x0) {\n      pdVar6 = (debug_type_conflict)0x0;\n    }\n    else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }\n  }\n  return pdVar6;\n}\n\n" comment comment (function_definition "debug_type_conflict debug_find_named_type(void *handle,char *name)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  debug_type_conflict pdVar6;\n  \n  iVar3 = *(int *)((int)handle + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    pdVar6 = (debug_type_conflict)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    pdVar6 = *(debug_type_conflict *)(iVar3 + 4);\n    if (pdVar6 == (debug_type_conflict)0x0) {\n      pdVar6 = (debug_type_conflict)0x0;\n    }\n    else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }\n  }\n  return pdVar6;\n}" type_identifier (function_declarator "debug_find_named_type(void *handle,char *name)" identifier (parameter_list "(void *handle,char *name)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  debug_type_conflict pdVar6;\n  \n  iVar3 = *(int *)((int)handle + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    pdVar6 = (debug_type_conflict)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    pdVar6 = *(debug_type_conflict *)(iVar3 + 4);\n    if (pdVar6 == (debug_type_conflict)0x0) {\n      pdVar6 = (debug_type_conflict)0x0;\n    }\n    else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }\n  }\n  return pdVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "debug_type_conflict pdVar6;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)((int)handle + 4);" (assignment_expression "iVar3 = *(int *)((int)handle + 4)" identifier = (pointer_expression "*(int *)((int)handle + 4)" * (cast_expression "(int *)((int)handle + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    pdVar6 = (debug_type_conflict)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    pdVar6 = *(debug_type_conflict *)(iVar3 + 4);\n    if (pdVar6 == (debug_type_conflict)0x0) {\n      pdVar6 = (debug_type_conflict)0x0;\n    }\n    else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    pdVar6 = (debug_type_conflict)0x0;\n  }" { (expression_statement "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5)" identifier = (call_expression "dcgettext(0,"debug_find_named_type: no current compilation unit",5)" identifier (argument_list "(0,"debug_find_named_type: no current compilation unit",5)" ( number_literal , (string_literal ""debug_find_named_type: no current compilation unit"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" identifier (argument_list "(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" ( (pointer_expression "*(FILE **)PTR_stderr_0003ffa8" * (cast_expression "(FILE **)PTR_stderr_0003ffa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "pdVar6 = (debug_type_conflict)0x0;" (assignment_expression "pdVar6 = (debug_type_conflict)0x0" identifier = (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) ;) }) (else_clause "else {\n    for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    pdVar6 = *(debug_type_conflict *)(iVar3 + 4);\n    if (pdVar6 == (debug_type_conflict)0x0) {\n      pdVar6 = (debug_type_conflict)0x0;\n    }\n    else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }\n  }" else (compound_statement "{\n    for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    pdVar6 = *(debug_type_conflict *)(iVar3 + 4);\n    if (pdVar6 == (debug_type_conflict)0x0) {\n      pdVar6 = (debug_type_conflict)0x0;\n    }\n    else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }\n  }" { (for_statement "for (iVar1 = *(int *)((int)handle + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" for ( (assignment_expression "iVar1 = *(int *)((int)handle + 0x10)" identifier = (pointer_expression "*(int *)((int)handle + 0x10)" * (cast_expression "(int *)((int)handle + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x10)" ( (binary_expression "(int)handle + 0x10" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = *(int *)(iVar1 + 4)" identifier = (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ) (compound_statement "{\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" { (if_statement "if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" if (parenthesized_expression "(*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" * (cast_expression "(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" { (for_statement "for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }" for ( (assignment_expression "puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" identifier = (cast_expression "(undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(iVar1 + 0x1c)" * (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" * (cast_expression "(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))))) ; (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar5 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ) (compound_statement "{\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;\n        }" { (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)) goto LAB_000202b1;" if (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0))" ( (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n             (iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *name))" ( (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *name)" (parenthesized_expression "(puVar5[3] == 0)" ( (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)puVar5[1] == *name)" ( (binary_expression "*(char *)puVar5[1] == *name" (pointer_expression "*(char *)puVar5[1]" * (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) == (pointer_expression "*name" * identifier)) ))) )) && (parenthesized_expression "(iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0)" ( (comma_expression "iVar2 = strcmp((char *)puVar5[1],name), iVar2 == 0" (assignment_expression "iVar2 = strcmp((char *)puVar5[1],name)" identifier = (call_expression "strcmp((char *)puVar5[1],name)" identifier (argument_list "((char *)puVar5[1],name)" ( (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_000202b1;" goto statement_identifier ;)) })) })) })) (expression_statement "pdVar6 = *(debug_type_conflict *)(iVar3 + 4);" (assignment_expression "pdVar6 = *(debug_type_conflict *)(iVar3 + 4)" identifier = (pointer_expression "*(debug_type_conflict *)(iVar3 + 4)" * (cast_expression "(debug_type_conflict *)(iVar3 + 4)" ( (type_descriptor "debug_type_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (pdVar6 == (debug_type_conflict)0x0) {\n      pdVar6 = (debug_type_conflict)0x0;\n    }\n    else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }" if (parenthesized_expression "(pdVar6 == (debug_type_conflict)0x0)" ( (binary_expression "pdVar6 == (debug_type_conflict)0x0" identifier == (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n      pdVar6 = (debug_type_conflict)0x0;\n    }" { (expression_statement "pdVar6 = (debug_type_conflict)0x0;" (assignment_expression "pdVar6 = (debug_type_conflict)0x0" identifier = (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }" else (compound_statement "{\n      do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);\n    }" { (do_statement "do {\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      } while (pdVar6 != (debug_type_conflict)0x0);" do (compound_statement "{\n        if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }\n        pdVar6 = (debug_type_conflict)pdVar6->kind;\n      }" { (if_statement "if (pdVar6->pointer != (debug_type)0x0) {\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }" if (parenthesized_expression "(pdVar6->pointer != (debug_type)0x0)" ( (binary_expression "pdVar6->pointer != (debug_type)0x0" (field_expression "pdVar6->pointer" identifier -> field_identifier) != (cast_expression "(debug_type)0x0" ( (type_descriptor "debug_type" type_identifier) ) number_literal)) )) (compound_statement "{\n          for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }\n        }" { (for_statement "for (puVar5 = (undefined4 *)pdVar6->pointer->kind; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }" for ( (assignment_expression "puVar5 = (undefined4 *)pdVar6->pointer->kind" identifier = (cast_expression "(undefined4 *)pdVar6->pointer->kind" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pdVar6->pointer->kind" (field_expression "pdVar6->pointer" identifier -> field_identifier) -> field_identifier))) ; (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar5 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ) (compound_statement "{\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }\n          }" { (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)) {\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }" if (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0))" ( (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *name)) &&\n               (iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *name))" ( (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *name)" (parenthesized_expression "(puVar5[3] == 0)" ( (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)puVar5[1] == *name)" ( (binary_expression "*(char *)puVar5[1] == *name" (pointer_expression "*(char *)puVar5[1]" * (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) == (pointer_expression "*name" * identifier)) ))) )) && (parenthesized_expression "(iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp((char *)puVar5[1],name), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar5[1],name)" identifier = (call_expression "strcmp((char *)puVar5[1],name)" identifier (argument_list "((char *)puVar5[1],name)" ( (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_000202b1:\n              return (debug_type_conflict)puVar5[5];\n            }" { (labeled_statement "LAB_000202b1:\n              return (debug_type_conflict)puVar5[5];" statement_identifier : (return_statement "return (debug_type_conflict)puVar5[5];" return (cast_expression "(debug_type_conflict)puVar5[5]" ( (type_descriptor "debug_type_conflict" type_identifier) ) (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;)) })) })) })) (expression_statement "pdVar6 = (debug_type_conflict)pdVar6->kind;" (assignment_expression "pdVar6 = (debug_type_conflict)pdVar6->kind" identifier = (cast_expression "(debug_type_conflict)pdVar6->kind" ( (type_descriptor "debug_type_conflict" type_identifier) ) (field_expression "pdVar6->kind" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(pdVar6 != (debug_type_conflict)0x0)" ( (binary_expression "pdVar6 != (debug_type_conflict)0x0" identifier != (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) )) ;) }))) }))) (return_statement "return pdVar6;" return identifier ;) })))
(translation_unit "int FUN_00020230(int param_1,char *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}\n\n" (function_definition "int FUN_00020230(int param_1,char *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}" primitive_type (function_declarator "FUN_00020230(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }" { (expression_statement "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5)" identifier = (call_expression "dcgettext(0,"debug_find_named_type: no current compilation unit",5)" identifier (argument_list "(0,"debug_find_named_type: no current compilation unit",5)" ( number_literal , (string_literal ""debug_find_named_type: no current compilation unit"" " string_content ") , number_literal )))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" identifier (argument_list "(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" ( (pointer_expression "*(FILE **)PTR_stderr_0003ffa8" * (cast_expression "(FILE **)PTR_stderr_0003ffa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" else (compound_statement "{\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" { (for_statement "for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" for ( (assignment_expression "iVar1 = *(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 "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = *(int *)(iVar1 + 4)" identifier = (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ) (compound_statement "{\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" { (if_statement "if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" if (parenthesized_expression "(*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" * (cast_expression "(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" { (for_statement "for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }" for ( (assignment_expression "puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" identifier = (cast_expression "(undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(iVar1 + 0x1c)" * (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" * (cast_expression "(undefined4 **)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))))) ; (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar5 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ) (compound_statement "{\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }" { (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;" if (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0))" ( (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2))" ( (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)" (parenthesized_expression "(puVar5[3] == 0)" ( (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)puVar5[1] == *param_2)" ( (binary_expression "*(char *)puVar5[1] == *param_2" (pointer_expression "*(char *)puVar5[1]" * (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) == (pointer_expression "*param_2" * identifier)) ))) )) && (parenthesized_expression "(iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)" ( (comma_expression "iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0" (assignment_expression "iVar2 = strcmp((char *)puVar5[1],param_2)" identifier = (call_expression "strcmp((char *)puVar5[1],param_2)" identifier (argument_list "((char *)puVar5[1],param_2)" ( (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_000202b1;" goto statement_identifier ;)) })) })) })) (expression_statement "piVar6 = *(int **)(iVar3 + 4);" (assignment_expression "piVar6 = *(int **)(iVar3 + 4)" identifier = (pointer_expression "*(int **)(iVar3 + 4)" * (cast_expression "(int **)(iVar3 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" if (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)) )) (compound_statement "{\n      piVar6 = (int *)0x0;\n    }" { (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" else (compound_statement "{\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" { (do_statement "do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);" do (compound_statement "{\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      }" { (if_statement "if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }" if (parenthesized_expression "((undefined4 *)piVar6[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar6[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }" { (for_statement "for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }" for ( (assignment_expression "puVar5 = *(undefined4 **)piVar6[2]" identifier = (pointer_expression "*(undefined4 **)piVar6[2]" * (cast_expression "(undefined4 **)piVar6[2]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])))) ; (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar5 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ) (compound_statement "{\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }" { (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }" if (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0))" ( (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2))" ( (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)" (parenthesized_expression "(puVar5[3] == 0)" ( (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(char *)puVar5[1] == *param_2)" ( (binary_expression "*(char *)puVar5[1] == *param_2" (pointer_expression "*(char *)puVar5[1]" * (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) == (pointer_expression "*param_2" * identifier)) ))) )) && (parenthesized_expression "(iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar5[1],param_2)" identifier = (call_expression "strcmp((char *)puVar5[1],param_2)" identifier (argument_list "((char *)puVar5[1],param_2)" ( (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\nLAB_000202b1:\n              return puVar5[5];\n            }" { (labeled_statement "LAB_000202b1:\n              return puVar5[5];" statement_identifier : (return_statement "return puVar5[5];" return (subscript_expression "puVar5[5]" identifier [ number_literal ]) ;)) })) })) })) (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)) )) ;) }))) }))) (return_statement "return (int)piVar6;" return (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (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)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == (pointer_expression * IDENT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) })) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (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 *)) ) LIT)) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == (pointer_expression * IDENT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (return_statement return (subscript_expression IDENT [ LIT ]) ;)) })) })) })) (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)) )) ;) }))) }))) (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })))
(function_definition "int FUN_00020230(int param_1,char *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}" (primitive_type "int") (function_declarator "FUN_00020230(int param_1,char *param_2)" (identifier "FUN_00020230") (parameter_list "(int param_1,char *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }\n  return (int)piVar6;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }\n  else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);\n    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);\n    piVar6 = (int *)0x0;\n  }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);" (assignment_expression "uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"debug_find_named_type: no current compilation unit",5)" (identifier "dcgettext") (argument_list "(0,"debug_find_named_type: no current compilation unit",5)" (( "(") (number_literal "0") (, ",") (string_literal ""debug_find_named_type: no current compilation unit"" (" """) (string_content "debug_find_named_type: no current compilation unit") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0003ffa8" (* "*") (cast_expression "(FILE **)PTR_stderr_0003ffa8" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0003ffa8"))) (, ",") (string_literal ""%s\n"" (" """) (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" (identifier "piVar6") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" (else "else") (compound_statement "{\n    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }\n    piVar6 = *(int **)(iVar3 + 4);\n    if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }\n  }" ({ "{") (for_statement "for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" (for "for") (( "(") (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar1 = *(int *)(iVar1 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) () ")") (compound_statement "{\n      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }\n    }" ({ "{") (if_statement "if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" (if "if") (parenthesized_expression "(*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0)" (( "(") (binary_expression "*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 **)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }\n      }" ({ "{") (for_statement "for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;\n            puVar5 = (undefined4 *)*puVar5) {\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }" (for "for") (( "(") (assignment_expression "puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)**(undefined4 **)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(iVar1 + 0x1c)" (* "*") (pointer_expression "*(undefined4 **)(iVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 **)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))))) (; ";") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar5 = (undefined4 *)*puVar5" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)*puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) () ")") (compound_statement "{\n          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;\n        }" ({ "{") (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;" (if "if") (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0))" (( "(") (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2))" (( "(") (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)" (parenthesized_expression "(puVar5[3] == 0)" (( "(") (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)puVar5[1] == *param_2)" (( "(") (binary_expression "*(char *)puVar5[1] == *param_2" (pointer_expression "*(char *)puVar5[1]" (* "*") (cast_expression "(char *)puVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) (== "==") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)" (( "(") (comma_expression "iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0" (assignment_expression "iVar2 = strcmp((char *)puVar5[1],param_2)" (identifier "iVar2") (= "=") (call_expression "strcmp((char *)puVar5[1],param_2)" (identifier "strcmp") (argument_list "((char *)puVar5[1],param_2)" (( "(") (cast_expression "(char *)puVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_000202b1;" (goto "goto") (statement_identifier "LAB_000202b1") (; ";"))) (} "}"))) (} "}"))) (} "}"))) (expression_statement "piVar6 = *(int **)(iVar3 + 4);" (assignment_expression "piVar6 = *(int **)(iVar3 + 4)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(iVar3 + 4)" (* "*") (cast_expression "(int **)(iVar3 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (piVar6 == (int *)0x0) {\n      piVar6 = (int *)0x0;\n    }\n    else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" (if "if") (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"))) () ")")) (compound_statement "{\n      piVar6 = (int *)0x0;\n    }" ({ "{") (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" (identifier "piVar6") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" (else "else") (compound_statement "{\n      do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);\n    }" ({ "{") (do_statement "do {\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      } while (piVar6 != (int *)0x0);" (do "do") (compound_statement "{\n        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }\n        piVar6 = (int *)*piVar6;\n      }" ({ "{") (if_statement "if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar6[2] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar6[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }\n        }" ({ "{") (for_statement "for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;\n              puVar5 = (undefined4 *)*puVar5) {\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }" (for "for") (( "(") (assignment_expression "puVar5 = *(undefined4 **)piVar6[2]" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)piVar6[2]" (* "*") (cast_expression "(undefined4 **)piVar6[2]" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))))) (; ";") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar5 = (undefined4 *)*puVar5" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)*puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) () ")") (compound_statement "{\n            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }\n          }" ({ "{") (if_statement "if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {\nLAB_000202b1:\n              return puVar5[5];\n            }" (if "if") (parenthesized_expression "(((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0))" (( "(") (binary_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&\n               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)" (parenthesized_expression "((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2))" (( "(") (binary_expression "(puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)" (parenthesized_expression "(puVar5[3] == 0)" (( "(") (binary_expression "puVar5[3] == 0" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)puVar5[1] == *param_2)" (( "(") (binary_expression "*(char *)puVar5[1] == *param_2" (pointer_expression "*(char *)puVar5[1]" (* "*") (cast_expression "(char *)puVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) (== "==") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)" (( "(") (comma_expression "iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar5[1],param_2)" (identifier "iVar3") (= "=") (call_expression "strcmp((char *)puVar5[1],param_2)" (identifier "strcmp") (argument_list "((char *)puVar5[1],param_2)" (( "(") (cast_expression "(char *)puVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\nLAB_000202b1:\n              return puVar5[5];\n            }" ({ "{") (labeled_statement "LAB_000202b1:\n              return puVar5[5];" (statement_identifier "LAB_000202b1") (: ":") (return_statement "return puVar5[5];" (return "return") (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]")) (; ";"))) (} "}"))) (} "}"))) (} "}"))) (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"))) () ")")) (; ";")) (} "}")))) (} "}")))) (return_statement "return (int)piVar6;" (return "return") (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6")) (; ";")) (} "}")))

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

type_1 function_1(void *handle,char *name)

{
  int var_4;
  int var_7;
  int var_1;
  type_2 uVar4;
  type_2 *var_5;
  type_1 var_8;
  
  var_1 = *(int *)((int)handle + 4);
  if (var_1 == 0) {
    uVar4 = var_2(0,"debug_find_named_type: no current compilation unit",5);
    var_3(*(type_3 **)PTR_stderr_0003ffa8,"%s\n",uVar4);
    var_8 = (type_1)0x0;
  }
  else {
    for (var_4 = *(int *)((int)handle + 0x10); var_4 != 0; var_4 = *(int *)(var_4 + 4)) {
      if (*(type_2 **)(var_4 + 0x1c) != (type_2 *)0x0) {
        for (var_5 = (type_2 *)**(type_2 **)(var_4 + 0x1c); var_5 != (type_2 *)0x0;
            var_5 = (type_2 *)*var_5) {
          if (((var_5[3] == 0) && (*(char *)var_5[1] == *name)) &&
             (var_7 = var_6((char *)var_5[1],name), var_7 == 0)) goto LAB_000202b1;
        }
      }
    }
    var_8 = *(type_1 *)(var_1 + 4);
    if (var_8 == (type_1)0x0) {
      var_8 = (type_1)0x0;
    }
    else {
      do {
        if (var_8->pointer != (type_4)0x0) {
          for (var_5 = (type_2 *)var_8->pointer->kind; var_5 != (type_2 *)0x0;
              var_5 = (type_2 *)*var_5) {
            if (((var_5[3] == 0) && (*(char *)var_5[1] == *name)) &&
               (var_1 = var_6((char *)var_5[1],name), var_1 == 0)) {
LAB_000202b1:
              return (type_1)var_5[5];
            }
          }
        }
        var_8 = (type_1)var_8->kind;
      } while (var_8 != (type_1)0x0);
    }
  }
  return var_8;
}


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

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

int MASKED(int param_1,char *param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  int *piVar6;
  
  iVar3 = *(int *)(param_1 + 4);
  if (iVar3 == 0) {
    uVar4 = dcgettext(0,"debug_find_named_type: no current compilation unit",5);
    fprintf(*(FILE **)PTR_stderr_0003ffa8,"%s\n",uVar4);
    piVar6 = (int *)0x0;
  }
  else {
    for (iVar1 = *(int *)(param_1 + 0x10); iVar1 != 0; iVar1 = *(int *)(iVar1 + 4)) {
      if (*(undefined4 **)(iVar1 + 0x1c) != (undefined4 *)0x0) {
        for (puVar5 = (undefined4 *)**(undefined4 **)(iVar1 + 0x1c); puVar5 != (undefined4 *)0x0;
            puVar5 = (undefined4 *)*puVar5) {
          if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&
             (iVar2 = strcmp((char *)puVar5[1],param_2), iVar2 == 0)) goto LAB_000202b1;
        }
      }
    }
    piVar6 = *(int **)(iVar3 + 4);
    if (piVar6 == (int *)0x0) {
      piVar6 = (int *)0x0;
    }
    else {
      do {
        if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {
          for (puVar5 = *(undefined4 **)piVar6[2]; puVar5 != (undefined4 *)0x0;
              puVar5 = (undefined4 *)*puVar5) {
            if (((puVar5[3] == 0) && (*(char *)puVar5[1] == *param_2)) &&
               (iVar3 = strcmp((char *)puVar5[1],param_2), iVar3 == 0)) {
LAB_000202b1:
              return puVar5[5];
            }
          }
        }
        piVar6 = (int *)*piVar6;
      } while (piVar6 != (int *)0x0);
    }
  }
  return (int)piVar6;
}

