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

void declare_type(Ident *ident)

{
  int iVar1;
  char *pcVar2;
  char *pcVar3;
  Symbol *pSVar4;
  undefined4 uVar5;
  
  save_end = -1;
  for (pSVar4 = lookup(ident->name); pSVar4 != (Symbol *)0x0; pSVar4 = pSVar4->next) {
    if ((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)) goto LAB_0001a482;
  }
  pSVar4 = install(ident->name,4);
LAB_0001a482:
  pSVar4->type = SymToken;
  pSVar4->token_type = 0x10e;
  pcVar3 = filename;
  iVar1 = ident->line;
  pSVar4->ref_line = (linked_list *)0x0;
  pSVar4->source = pcVar3;
  pSVar4->def_line = iVar1;
  iVar1 = line_num;
  if (debug == 0) {
    return;
  }
  pcVar2 = ident->name;
  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);
  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2);
  return;
}



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

void FUN_0001a430(undefined4 *param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  
  DAT_0003ba10 = 0xffffffff;
  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {
    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;
  }
  iVar4 = FUN_0001e5f0(*param_1,4);
LAB_0001a482:
  *(undefined4 *)(iVar4 + 0xc) = 1;
  *(undefined4 *)(iVar4 + 0x24) = 0x10e;
  uVar3 = DAT_0003bab4;
  uVar1 = param_1[3];
  *(undefined4 *)(iVar4 + 0x30) = 0;
  *(undefined4 *)(iVar4 + 0x28) = uVar3;
  *(undefined4 *)(iVar4 + 0x2c) = uVar1;
  uVar1 = DAT_0003baa0;
  if (DAT_0003baf4 == 0) {
    return;
  }
  uVar2 = *param_1;
  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);
  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00012830
ADD EBX,0x20a37
SUB ESP,0x18
MOV ESI,dword ptr [ESP + 0x2c]
PUSH dword ptr [ESI]
MOV dword ptr [EBX + 0xba0],0xffffffff
CALL 0x0001e560
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001a473
JMP 0x0001a500
MOV EAX,dword ptr [EAX + 0x4]
TEST EAX,EAX
JZ 0x0001a500
CMP dword ptr [EAX + 0xc],0x1
JNZ 0x0001a468
CMP dword ptr [EAX + 0x24],0x10e
JNZ 0x0001a468
LEA EDX,[EBX + 0xc44]
MOV dword ptr [EAX + 0xc],0x1
MOV dword ptr [EAX + 0x24],0x10e
MOV EDI,dword ptr [EDX]
MOV EDX,dword ptr [ESI + 0xc]
MOV dword ptr [EAX + 0x30],0x0
MOV dword ptr [EAX + 0x28],EDI
MOV dword ptr [EAX + 0x2c],EDX
LEA EAX,[EBX + 0xc84]
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JNZ 0x0001a4c0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xc30]
SUB ESP,0x4
MOV EBP,dword ptr [ESI]
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5d1c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012110
POP EDX
POP ECX
PUSH EBP
PUSH ESI
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x134]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x000123f0
ADD ESP,0x20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH 0x4
PUSH dword ptr [ESI]
CALL 0x0001e5f0
ADD ESP,0x10
JMP 0x0001a482
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001a430(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}\n\n" comment (function_definition "void FUN_0001a430(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_0001a430(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "DAT_0003ba10 = 0xffffffff;" (assignment_expression "DAT_0003ba10 = 0xffffffff" identifier = number_literal) ;) (for_statement "for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }" for ( (assignment_expression "iVar4 = FUN_0001e560(*param_1)" identifier = (call_expression "FUN_0001e560(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ; (binary_expression "iVar4 != 0" identifier != number_literal) ; (assignment_expression "iVar4 = *(int *)(iVar4 + 4)" identifier = (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ) (compound_statement "{\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }" { (if_statement "if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;" if (parenthesized_expression "((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e))" ( (binary_expression "(*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)" (parenthesized_expression "(*(int *)(iVar4 + 0xc) == 1)" ( (binary_expression "*(int *)(iVar4 + 0xc) == 1" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(iVar4 + 0x24) == 0x10e)" ( (binary_expression "*(int *)(iVar4 + 0x24) == 0x10e" (pointer_expression "*(int *)(iVar4 + 0x24)" * (cast_expression "(int *)(iVar4 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) == number_literal) ))) )) (goto_statement "goto LAB_0001a482;" goto statement_identifier ;)) })) (expression_statement "iVar4 = FUN_0001e5f0(*param_1,4);" (assignment_expression "iVar4 = FUN_0001e5f0(*param_1,4)" identifier = (call_expression "FUN_0001e5f0(*param_1,4)" identifier (argument_list "(*param_1,4)" ( (pointer_expression "*param_1" * identifier) , number_literal )))) ;) (labeled_statement "LAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined4 *)(iVar4 + 0x24) = 0x10e;" (assignment_expression "*(undefined4 *)(iVar4 + 0x24) = 0x10e" (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = DAT_0003bab4;" (assignment_expression "uVar3 = DAT_0003bab4" identifier = identifier) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" * (cast_expression "(undefined4 *)(iVar4 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x28) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x28) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" * (cast_expression "(undefined4 *)(iVar4 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x2c) = uVar1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x2c) = uVar1" (pointer_expression "*(undefined4 *)(iVar4 + 0x2c)" * (cast_expression "(undefined4 *)(iVar4 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = DAT_0003baa0;" (assignment_expression "uVar1 = DAT_0003baa0" identifier = identifier) ;) (if_statement "if (DAT_0003baf4 == 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_0003baf4 == 0)" ( (binary_expression "DAT_0003baf4 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = dcgettext(0,"%s:%d: type %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"%s:%d: type %s\n",5)" identifier = (call_expression "dcgettext(0,"%s:%d: type %s\n",5)" identifier (argument_list "(0,"%s:%d: type %s\n",5)" ( number_literal , (string_literal ""%s:%d: type %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0003afa4" * (cast_expression "(undefined4 *)PTR_stderr_0003afa4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid declare_type(Ident *ident)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  Symbol *pSVar4;\n  undefined4 uVar5;\n  \n  save_end = -1;\n  for (pSVar4 = lookup(ident->name); pSVar4 != (Symbol *)0x0; pSVar4 = pSVar4->next) {\n    if ((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)) goto LAB_0001a482;\n  }\n  pSVar4 = install(ident->name,4);\nLAB_0001a482:\n  pSVar4->type = SymToken;\n  pSVar4->token_type = 0x10e;\n  pcVar3 = filename;\n  iVar1 = ident->line;\n  pSVar4->ref_line = (linked_list *)0x0;\n  pSVar4->source = pcVar3;\n  pSVar4->def_line = iVar1;\n  iVar1 = line_num;\n  if (debug == 0) {\n    return;\n  }\n  pcVar2 = ident->name;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2);\n  return;\n}\n\n" comment comment (function_definition "void declare_type(Ident *ident)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  Symbol *pSVar4;\n  undefined4 uVar5;\n  \n  save_end = -1;\n  for (pSVar4 = lookup(ident->name); pSVar4 != (Symbol *)0x0; pSVar4 = pSVar4->next) {\n    if ((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)) goto LAB_0001a482;\n  }\n  pSVar4 = install(ident->name,4);\nLAB_0001a482:\n  pSVar4->type = SymToken;\n  pSVar4->token_type = 0x10e;\n  pcVar3 = filename;\n  iVar1 = ident->line;\n  pSVar4->ref_line = (linked_list *)0x0;\n  pSVar4->source = pcVar3;\n  pSVar4->def_line = iVar1;\n  iVar1 = line_num;\n  if (debug == 0) {\n    return;\n  }\n  pcVar2 = ident->name;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2);\n  return;\n}" primitive_type (function_declarator "declare_type(Ident *ident)" identifier (parameter_list "(Ident *ident)" ( (parameter_declaration "Ident *ident" type_identifier (pointer_declarator "*ident" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  Symbol *pSVar4;\n  undefined4 uVar5;\n  \n  save_end = -1;\n  for (pSVar4 = lookup(ident->name); pSVar4 != (Symbol *)0x0; pSVar4 = pSVar4->next) {\n    if ((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)) goto LAB_0001a482;\n  }\n  pSVar4 = install(ident->name,4);\nLAB_0001a482:\n  pSVar4->type = SymToken;\n  pSVar4->token_type = 0x10e;\n  pcVar3 = filename;\n  iVar1 = ident->line;\n  pSVar4->ref_line = (linked_list *)0x0;\n  pSVar4->source = pcVar3;\n  pSVar4->def_line = iVar1;\n  iVar1 = line_num;\n  if (debug == 0) {\n    return;\n  }\n  pcVar2 = ident->name;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "Symbol *pSVar4;" type_identifier (pointer_declarator "*pSVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "save_end = -1;" (assignment_expression "save_end = -1" identifier = number_literal) ;) (for_statement "for (pSVar4 = lookup(ident->name); pSVar4 != (Symbol *)0x0; pSVar4 = pSVar4->next) {\n    if ((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)) goto LAB_0001a482;\n  }" for ( (assignment_expression "pSVar4 = lookup(ident->name)" identifier = (call_expression "lookup(ident->name)" identifier (argument_list "(ident->name)" ( (field_expression "ident->name" identifier -> field_identifier) )))) ; (binary_expression "pSVar4 != (Symbol *)0x0" identifier != (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pSVar4 = pSVar4->next" identifier = (field_expression "pSVar4->next" identifier -> field_identifier)) ) (compound_statement "{\n    if ((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)) goto LAB_0001a482;\n  }" { (if_statement "if ((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)) goto LAB_0001a482;" if (parenthesized_expression "((pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e))" ( (binary_expression "(pSVar4->type == SymToken) && (pSVar4->token_type == 0x10e)" (parenthesized_expression "(pSVar4->type == SymToken)" ( (binary_expression "pSVar4->type == SymToken" (field_expression "pSVar4->type" identifier -> field_identifier) == identifier) )) && (parenthesized_expression "(pSVar4->token_type == 0x10e)" ( (binary_expression "pSVar4->token_type == 0x10e" (field_expression "pSVar4->token_type" identifier -> field_identifier) == number_literal) ))) )) (goto_statement "goto LAB_0001a482;" goto statement_identifier ;)) })) (expression_statement "pSVar4 = install(ident->name,4);" (assignment_expression "pSVar4 = install(ident->name,4)" identifier = (call_expression "install(ident->name,4)" identifier (argument_list "(ident->name,4)" ( (field_expression "ident->name" identifier -> field_identifier) , number_literal )))) ;) (labeled_statement "LAB_0001a482:\n  pSVar4->type = SymToken;" statement_identifier : (expression_statement "pSVar4->type = SymToken;" (assignment_expression "pSVar4->type = SymToken" (field_expression "pSVar4->type" identifier -> field_identifier) = identifier) ;)) (expression_statement "pSVar4->token_type = 0x10e;" (assignment_expression "pSVar4->token_type = 0x10e" (field_expression "pSVar4->token_type" identifier -> field_identifier) = number_literal) ;) (expression_statement "pcVar3 = filename;" (assignment_expression "pcVar3 = filename" identifier = identifier) ;) (expression_statement "iVar1 = ident->line;" (assignment_expression "iVar1 = ident->line" identifier = (field_expression "ident->line" identifier -> field_identifier)) ;) (expression_statement "pSVar4->ref_line = (linked_list *)0x0;" (assignment_expression "pSVar4->ref_line = (linked_list *)0x0" (field_expression "pSVar4->ref_line" identifier -> field_identifier) = (cast_expression "(linked_list *)0x0" ( (type_descriptor "linked_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pSVar4->source = pcVar3;" (assignment_expression "pSVar4->source = pcVar3" (field_expression "pSVar4->source" identifier -> field_identifier) = identifier) ;) (expression_statement "pSVar4->def_line = iVar1;" (assignment_expression "pSVar4->def_line = iVar1" (field_expression "pSVar4->def_line" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar1 = line_num;" (assignment_expression "iVar1 = line_num" identifier = identifier) ;) (if_statement "if (debug == 0) {\n    return;\n  }" if (parenthesized_expression "(debug == 0)" ( (binary_expression "debug == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar2 = ident->name;" (assignment_expression "pcVar2 = ident->name" identifier = (field_expression "ident->name" identifier -> field_identifier)) ;) (expression_statement "uVar5 = dcgettext(0,"%s:%d: type %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"%s:%d: type %s\n",5)" identifier = (call_expression "dcgettext(0,"%s:%d: type %s\n",5)" identifier (argument_list "(0,"%s:%d: type %s\n",5)" ( number_literal , (string_literal ""%s:%d: type %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0003afa4" * (cast_expression "(undefined4 *)PTR_stderr_0003afa4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001a430(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}\n\n" (function_definition "void FUN_0001a430(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_0001a430(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "DAT_0003ba10 = 0xffffffff;" (assignment_expression "DAT_0003ba10 = 0xffffffff" identifier = number_literal) ;) (for_statement "for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }" for ( (assignment_expression "iVar4 = FUN_0001e560(*param_1)" identifier = (call_expression "FUN_0001e560(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ; (binary_expression "iVar4 != 0" identifier != number_literal) ; (assignment_expression "iVar4 = *(int *)(iVar4 + 4)" identifier = (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ) (compound_statement "{\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }" { (if_statement "if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;" if (parenthesized_expression "((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e))" ( (binary_expression "(*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)" (parenthesized_expression "(*(int *)(iVar4 + 0xc) == 1)" ( (binary_expression "*(int *)(iVar4 + 0xc) == 1" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(iVar4 + 0x24) == 0x10e)" ( (binary_expression "*(int *)(iVar4 + 0x24) == 0x10e" (pointer_expression "*(int *)(iVar4 + 0x24)" * (cast_expression "(int *)(iVar4 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) == number_literal) ))) )) (goto_statement "goto LAB_0001a482;" goto statement_identifier ;)) })) (expression_statement "iVar4 = FUN_0001e5f0(*param_1,4);" (assignment_expression "iVar4 = FUN_0001e5f0(*param_1,4)" identifier = (call_expression "FUN_0001e5f0(*param_1,4)" identifier (argument_list "(*param_1,4)" ( (pointer_expression "*param_1" * identifier) , number_literal )))) ;) (labeled_statement "LAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined4 *)(iVar4 + 0x24) = 0x10e;" (assignment_expression "*(undefined4 *)(iVar4 + 0x24) = 0x10e" (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = DAT_0003bab4;" (assignment_expression "uVar3 = DAT_0003bab4" identifier = identifier) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" * (cast_expression "(undefined4 *)(iVar4 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x28) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x28) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" * (cast_expression "(undefined4 *)(iVar4 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x2c) = uVar1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x2c) = uVar1" (pointer_expression "*(undefined4 *)(iVar4 + 0x2c)" * (cast_expression "(undefined4 *)(iVar4 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = DAT_0003baa0;" (assignment_expression "uVar1 = DAT_0003baa0" identifier = identifier) ;) (if_statement "if (DAT_0003baf4 == 0) {\n    return;\n  }" if (parenthesized_expression "(DAT_0003baf4 == 0)" ( (binary_expression "DAT_0003baf4 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar5 = dcgettext(0,"%s:%d: type %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"%s:%d: type %s\n",5)" identifier = (call_expression "dcgettext(0,"%s:%d: type %s\n",5)" identifier (argument_list "(0,"%s:%d: type %s\n",5)" ( number_literal , (string_literal ""%s:%d: type %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2)" identifier (argument_list "(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0003afa4" * (cast_expression "(undefined4 *)PTR_stderr_0003afa4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ; (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 (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0001a430(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001a430(undefined4 *param_1)" (identifier "FUN_0001a430") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  DAT_0003ba10 = 0xffffffff;\n  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }\n  iVar4 = FUN_0001e5f0(*param_1,4);\nLAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;\n  *(undefined4 *)(iVar4 + 0x24) = 0x10e;\n  uVar3 = DAT_0003bab4;\n  uVar1 = param_1[3];\n  *(undefined4 *)(iVar4 + 0x30) = 0;\n  *(undefined4 *)(iVar4 + 0x28) = uVar3;\n  *(undefined4 *)(iVar4 + 0x2c) = uVar1;\n  uVar1 = DAT_0003baa0;\n  if (DAT_0003baf4 == 0) {\n    return;\n  }\n  uVar2 = *param_1;\n  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);\n  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "DAT_0003ba10 = 0xffffffff;" (assignment_expression "DAT_0003ba10 = 0xffffffff" (identifier "DAT_0003ba10") (= "=") (number_literal "0xffffffff")) (; ";")) (for_statement "for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }" (for "for") (( "(") (assignment_expression "iVar4 = FUN_0001e560(*param_1)" (identifier "iVar4") (= "=") (call_expression "FUN_0001e560(*param_1)" (identifier "FUN_0001e560") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar4 = *(int *)(iVar4 + 4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")"))))) () ")") (compound_statement "{\n    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;\n  }" ({ "{") (if_statement "if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;" (if "if") (parenthesized_expression "((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e))" (( "(") (binary_expression "(*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)" (parenthesized_expression "(*(int *)(iVar4 + 0xc) == 1)" (( "(") (binary_expression "*(int *)(iVar4 + 0xc) == 1" (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar4 + 0x24) == 0x10e)" (( "(") (binary_expression "*(int *)(iVar4 + 0x24) == 0x10e" (pointer_expression "*(int *)(iVar4 + 0x24)" (* "*") (cast_expression "(int *)(iVar4 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x24)" (( "(") (binary_expression "iVar4 + 0x24" (identifier "iVar4") (+ "+") (number_literal "0x24")) () ")")))) (== "==") (number_literal "0x10e")) () ")"))) () ")")) (goto_statement "goto LAB_0001a482;" (goto "goto") (statement_identifier "LAB_0001a482") (; ";"))) (} "}"))) (expression_statement "iVar4 = FUN_0001e5f0(*param_1,4);" (assignment_expression "iVar4 = FUN_0001e5f0(*param_1,4)" (identifier "iVar4") (= "=") (call_expression "FUN_0001e5f0(*param_1,4)" (identifier "FUN_0001e5f0") (argument_list "(*param_1,4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "4") () ")")))) (; ";")) (labeled_statement "LAB_0001a482:\n  *(undefined4 *)(iVar4 + 0xc) = 1;" (statement_identifier "LAB_0001a482") (: ":") (expression_statement "*(undefined4 *)(iVar4 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "1")) (; ";"))) (expression_statement "*(undefined4 *)(iVar4 + 0x24) = 0x10e;" (assignment_expression "*(undefined4 *)(iVar4 + 0x24) = 0x10e" (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x24)" (( "(") (binary_expression "iVar4 + 0x24" (identifier "iVar4") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0x10e")) (; ";")) (expression_statement "uVar3 = DAT_0003bab4;" (assignment_expression "uVar3 = DAT_0003bab4" (identifier "uVar3") (= "=") (identifier "DAT_0003bab4")) (; ";")) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" (identifier "uVar1") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x28) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x28) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x28)" (( "(") (binary_expression "iVar4 + 0x28" (identifier "iVar4") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x2c) = uVar1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x2c) = uVar1" (pointer_expression "*(undefined4 *)(iVar4 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = DAT_0003baa0;" (assignment_expression "uVar1 = DAT_0003baa0" (identifier "uVar1") (= "=") (identifier "DAT_0003baa0")) (; ";")) (if_statement "if (DAT_0003baf4 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_0003baf4 == 0)" (( "(") (binary_expression "DAT_0003baf4 == 0" (identifier "DAT_0003baf4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" (identifier "uVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar5 = dcgettext(0,"%s:%d: type %s\n",5);" (assignment_expression "uVar5 = dcgettext(0,"%s:%d: type %s\n",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"%s:%d: type %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%s:%d: type %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s:%d: type %s\n"" (" """) (string_content "%s:%d: type %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_0003afa4" (* "*") (cast_expression "(undefined4 *)PTR_stderr_0003afa4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_0003afa4"))) (, ",") (number_literal "1") (, ",") (identifier "uVar5") (, ",") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *ident)

{
  int iVar1;
  char *pcVar2;
  char *pcVar3;
  type_2 *var_2;
  type_3 uVar5;
  
  save_end = -1;
  for (var_2 = var_1(ident->name); var_2 != (type_2 *)0x0; var_2 = var_2->next) {
    if ((var_2->type == var_3) && (var_2->token_type == 0x10e)) goto LAB_0001a482;
  }
  var_2 = var_4(ident->name,4);
LAB_0001a482:
  var_2->type = var_3;
  var_2->token_type = 0x10e;
  pcVar3 = filename;
  iVar1 = ident->line;
  var_2->ref_line = (type_4 *)0x0;
  var_2->source = pcVar3;
  var_2->def_line = iVar1;
  iVar1 = line_num;
  if (var_5 == 0) {
    return;
  }
  pcVar2 = ident->name;
  uVar5 = var_6(0,"%s:%d: type %s\n",5);
  var_7(*(type_3 *)PTR_stderr_0003afa4,1,uVar5,pcVar3,iVar1,pcVar2);
  return;
}


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

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

void MASKED(undefined4 *param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  
  DAT_0003ba10 = 0xffffffff;
  for (iVar4 = FUN_0001e560(*param_1); iVar4 != 0; iVar4 = *(int *)(iVar4 + 4)) {
    if ((*(int *)(iVar4 + 0xc) == 1) && (*(int *)(iVar4 + 0x24) == 0x10e)) goto LAB_0001a482;
  }
  iVar4 = FUN_0001e5f0(*param_1,4);
LAB_0001a482:
  *(undefined4 *)(iVar4 + 0xc) = 1;
  *(undefined4 *)(iVar4 + 0x24) = 0x10e;
  uVar3 = DAT_0003bab4;
  uVar1 = param_1[3];
  *(undefined4 *)(iVar4 + 0x30) = 0;
  *(undefined4 *)(iVar4 + 0x28) = uVar3;
  *(undefined4 *)(iVar4 + 0x2c) = uVar1;
  uVar1 = DAT_0003baa0;
  if (DAT_0003baf4 == 0) {
    return;
  }
  uVar2 = *param_1;
  uVar5 = dcgettext(0,"%s:%d: type %s\n",5);
  __fprintf_chk(*(undefined4 *)PTR_stderr_0003afa4,1,uVar5,uVar3,uVar1,uVar2);
  return;
}

