
void print_vars(NODE **table,_func_wchar_t_FILE_ptr_char_ptr_varargs *print_func,FILE *fp)

{
  NODETYPE NVar1;
  NODE *pNVar2;
  int iVar3;
  
  pNVar2 = *table;
  if (pNVar2 != (NODE *)0x0) {
    iVar3 = 0;
    do {
      if (1 < pNVar2->type - Node_func) {
        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);
        NVar1 = pNVar2->type;
        if (NVar1 == Node_var_array) {
          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);
        }
        else if (NVar1 == Node_var_new) {
          (*print_func)(fp,"untyped variable\n");
        }
        else if (NVar1 == Node_var) {
          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);
        }
      }
      iVar3 = iVar3 + 1;
      pNVar2 = table[iVar3];
    } while (pNVar2 != (NODE *)0x0);
  }
  return;
}



void FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)

{
  int iVar1;
  undefined8 *puVar2;
  int iVar3;
  
  puVar2 = (undefined8 *)*param_1;
  if (puVar2 != (undefined8 *)0x0) {
    iVar3 = 0;
    do {
      if (1 < *(int *)(puVar2 + 9) - 8U) {
        (*param_2)(param_3,&DAT_00184304,puVar2[4]);
        iVar1 = *(int *)(puVar2 + 9);
        if (iVar1 == 5) {
          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);
        }
        else if (iVar1 == 6) {
          (*param_2)(param_3,"untyped variable\n");
        }
        else if (iVar1 == 4) {
          FUN_0010ff27(*puVar2,param_2,param_3);
        }
      }
      iVar3 = iVar3 + 1;
      puVar2 = (undefined8 *)param_1[iVar3];
    } while (puVar2 != (undefined8 *)0x0);
  }
  return;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RDI]
TEST RBX,RBX
JZ 0x00160f69
MOV R13,RDX
MOV R12,RSI
MOV R14,RDI
MOV EBP,0x0
LEA R15,[0x184304]
JMP 0x00160f17
CMP EAX,0x6
JNZ 0x00160f54
LEA RSI,[0x17e22d]
MOV RDI,R13
MOV EAX,0x0
CALL R12
ADD EBP,0x1
MOVSXD RAX,EBP
MOV RBX,qword ptr [R14 + RAX*0x8]
TEST RBX,RBX
JZ 0x00160f69
MOV EAX,dword ptr [RBX + 0x48]
SUB EAX,0x8
CMP EAX,0x1
JBE 0x00160f08
MOV RDX,qword ptr [RBX + 0x20]
MOV RSI,R15
MOV RDI,R13
MOV EAX,0x0
CALL R12
MOV EAX,dword ptr [RBX + 0x48]
CMP EAX,0x5
JNZ 0x00160ef1
MOV RDX,qword ptr [RBX + 0x40]
LEA RSI,[0x17e23f]
MOV RDI,R13
MOV EAX,0x0
CALL R12
JMP 0x00160f08
CMP EAX,0x4
JNZ 0x00160f08
MOV RDX,R13
MOV RSI,R12
MOV RDI,qword ptr [RBX]
CALL 0x0010ff27
JMP 0x00160f08
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "void FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)" identifier (parameter_list "(long *param_1,code *param_2,undefined8 param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar2 = (undefined8 *)*param_1;" (assignment_expression "puVar2 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }" if (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" ( (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);" do (compound_statement "{\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    }" { (if_statement "if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }" if (parenthesized_expression "(1 < *(int *)(puVar2 + 9) - 8U)" ( (binary_expression "1 < *(int *)(puVar2 + 9) - 8U" number_literal < (binary_expression "*(int *)(puVar2 + 9) - 8U" (pointer_expression "*(int *)(puVar2 + 9)" * (cast_expression "(int *)(puVar2 + 9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 9)" ( (binary_expression "puVar2 + 9" identifier + number_literal) )))) - number_literal)) )) (compound_statement "{\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }" { (expression_statement "(*param_2)(param_3,&DAT_00184304,puVar2[4]);" (call_expression "(*param_2)(param_3,&DAT_00184304,puVar2[4])" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(param_3,&DAT_00184304,puVar2[4])" ( identifier , (pointer_expression "&DAT_00184304" & identifier) , (subscript_expression "puVar2[4]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = *(int *)(puVar2 + 9);" (assignment_expression "iVar1 = *(int *)(puVar2 + 9)" identifier = (pointer_expression "*(int *)(puVar2 + 9)" * (cast_expression "(int *)(puVar2 + 9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 9)" ( (binary_expression "puVar2 + 9" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" if (parenthesized_expression "(iVar1 == 5)" ( (binary_expression "iVar1 == 5" identifier == number_literal) )) (compound_statement "{\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }" { (expression_statement "(*param_2)(param_3,"array, %ld elements\n",puVar2[8]);" (call_expression "(*param_2)(param_3,"array, %ld elements\n",puVar2[8])" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(param_3,"array, %ld elements\n",puVar2[8])" ( identifier , (string_literal ""array, %ld elements\n"" " string_content escape_sequence ") , (subscript_expression "puVar2[8]" identifier [ number_literal ]) ))) ;) }) (else_clause "else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" else (if_statement "if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" if (parenthesized_expression "(iVar1 == 6)" ( (binary_expression "iVar1 == 6" identifier == number_literal) )) (compound_statement "{\n          (*param_2)(param_3,"untyped variable\n");\n        }" { (expression_statement "(*param_2)(param_3,"untyped variable\n");" (call_expression "(*param_2)(param_3,"untyped variable\n")" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(param_3,"untyped variable\n")" ( identifier , (string_literal ""untyped variable\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" else (if_statement "if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" if (parenthesized_expression "(iVar1 == 4)" ( (binary_expression "iVar1 == 4" identifier == number_literal) )) (compound_statement "{\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" { (expression_statement "FUN_0010ff27(*puVar2,param_2,param_3);" (call_expression "FUN_0010ff27(*puVar2,param_2,param_3)" identifier (argument_list "(*puVar2,param_2,param_3)" ( (pointer_expression "*puVar2" * identifier) , identifier , identifier ))) ;) })))))) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined8 *)param_1[iVar3];" (assignment_expression "puVar2 = (undefined8 *)param_1[iVar3]" identifier = (cast_expression "(undefined8 *)param_1[iVar3]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[iVar3]" identifier [ identifier ]))) ;) }) while (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" ( (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void print_vars(NODE **table,_func_wchar_t_FILE_ptr_char_ptr_varargs *print_func,FILE *fp)\n\n{\n  NODETYPE NVar1;\n  NODE *pNVar2;\n  int iVar3;\n  \n  pNVar2 = *table;\n  if (pNVar2 != (NODE *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      pNVar2 = table[iVar3];\n    } while (pNVar2 != (NODE *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void print_vars(NODE **table,_func_wchar_t_FILE_ptr_char_ptr_varargs *print_func,FILE *fp)\n\n{\n  NODETYPE NVar1;\n  NODE *pNVar2;\n  int iVar3;\n  \n  pNVar2 = *table;\n  if (pNVar2 != (NODE *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      pNVar2 = table[iVar3];\n    } while (pNVar2 != (NODE *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "print_vars(NODE **table,_func_wchar_t_FILE_ptr_char_ptr_varargs *print_func,FILE *fp)" identifier (parameter_list "(NODE **table,_func_wchar_t_FILE_ptr_char_ptr_varargs *print_func,FILE *fp)" ( (parameter_declaration "NODE **table" type_identifier (pointer_declarator "**table" * (pointer_declarator "*table" * identifier))) , (parameter_declaration "_func_wchar_t_FILE_ptr_char_ptr_varargs *print_func" type_identifier (pointer_declarator "*print_func" * identifier)) , (parameter_declaration "FILE *fp" type_identifier (pointer_declarator "*fp" * identifier)) ))) (compound_statement "{\n  NODETYPE NVar1;\n  NODE *pNVar2;\n  int iVar3;\n  \n  pNVar2 = *table;\n  if (pNVar2 != (NODE *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      pNVar2 = table[iVar3];\n    } while (pNVar2 != (NODE *)0x0);\n  }\n  return;\n}" { (declaration "NODETYPE NVar1;" type_identifier identifier ;) (declaration "NODE *pNVar2;" type_identifier (pointer_declarator "*pNVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "pNVar2 = *table;" (assignment_expression "pNVar2 = *table" identifier = (pointer_expression "*table" * identifier)) ;) (if_statement "if (pNVar2 != (NODE *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      pNVar2 = table[iVar3];\n    } while (pNVar2 != (NODE *)0x0);\n  }" if (parenthesized_expression "(pNVar2 != (NODE *)0x0)" ( (binary_expression "pNVar2 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      pNVar2 = table[iVar3];\n    } while (pNVar2 != (NODE *)0x0);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      pNVar2 = table[iVar3];\n    } while (pNVar2 != (NODE *)0x0);" do (compound_statement "{\n      if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      pNVar2 = table[iVar3];\n    }" { (if_statement "if (1 < pNVar2->type - Node_func) {\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }" if (parenthesized_expression "(1 < pNVar2->type - Node_func)" ( (binary_expression "1 < pNVar2->type - Node_func" number_literal < (binary_expression "pNVar2->type - Node_func" (field_expression "pNVar2->type" identifier -> field_identifier) - identifier)) )) (compound_statement "{\n        (*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);\n        NVar1 = pNVar2->type;\n        if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }\n      }" { (expression_statement "(*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name);" (call_expression "(*print_func)(fp,"%s: ",(pNVar2->sub).nodep.name)" (parenthesized_expression "(*print_func)" ( (pointer_expression "*print_func" * identifier) )) (argument_list "(fp,"%s: ",(pNVar2->sub).nodep.name)" ( identifier , (string_literal ""%s: "" " string_content ") , (field_expression "(pNVar2->sub).nodep.name" (field_expression "(pNVar2->sub).nodep" (parenthesized_expression "(pNVar2->sub)" ( (field_expression "pNVar2->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (expression_statement "NVar1 = pNVar2->type;" (assignment_expression "NVar1 = pNVar2->type" identifier = (field_expression "pNVar2->type" identifier -> field_identifier)) ;) (if_statement "if (NVar1 == Node_var_array) {\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }\n        else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }" if (parenthesized_expression "(NVar1 == Node_var_array)" ( (binary_expression "NVar1 == Node_var_array" identifier == identifier) )) (compound_statement "{\n          (*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);\n        }" { (expression_statement "(*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags);" (call_expression "(*print_func)(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags)" (parenthesized_expression "(*print_func)" ( (pointer_expression "*print_func" * identifier) )) (argument_list "(fp,"array, %ld elements\n",(pNVar2->sub).nodep.reflags)" ( identifier , (string_literal ""array, %ld elements\n"" " string_content escape_sequence ") , (field_expression "(pNVar2->sub).nodep.reflags" (field_expression "(pNVar2->sub).nodep" (parenthesized_expression "(pNVar2->sub)" ( (field_expression "pNVar2->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) }) (else_clause "else if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }" else (if_statement "if (NVar1 == Node_var_new) {\n          (*print_func)(fp,"untyped variable\n");\n        }\n        else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }" if (parenthesized_expression "(NVar1 == Node_var_new)" ( (binary_expression "NVar1 == Node_var_new" identifier == identifier) )) (compound_statement "{\n          (*print_func)(fp,"untyped variable\n");\n        }" { (expression_statement "(*print_func)(fp,"untyped variable\n");" (call_expression "(*print_func)(fp,"untyped variable\n")" (parenthesized_expression "(*print_func)" ( (pointer_expression "*print_func" * identifier) )) (argument_list "(fp,"untyped variable\n")" ( identifier , (string_literal ""untyped variable\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }" else (if_statement "if (NVar1 == Node_var) {\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }" if (parenthesized_expression "(NVar1 == Node_var)" ( (binary_expression "NVar1 == Node_var" identifier == identifier) )) (compound_statement "{\n          valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);\n        }" { (expression_statement "valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp);" (call_expression "valinfo((pNVar2->sub).nodep.l.lptr,print_func,fp)" identifier (argument_list "((pNVar2->sub).nodep.l.lptr,print_func,fp)" ( (field_expression "(pNVar2->sub).nodep.l.lptr" (field_expression "(pNVar2->sub).nodep.l" (field_expression "(pNVar2->sub).nodep" (parenthesized_expression "(pNVar2->sub)" ( (field_expression "pNVar2->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) , identifier , identifier ))) ;) })))))) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "pNVar2 = table[iVar3];" (assignment_expression "pNVar2 = table[iVar3]" identifier = (subscript_expression "table[iVar3]" identifier [ identifier ])) ;) }) while (parenthesized_expression "(pNVar2 != (NODE *)0x0)" ( (binary_expression "pNVar2 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)" identifier (parameter_list "(long *param_1,code *param_2,undefined8 param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar2 = (undefined8 *)*param_1;" (assignment_expression "puVar2 = (undefined8 *)*param_1" identifier = (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }" if (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" ( (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);" do (compound_statement "{\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    }" { (if_statement "if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }" if (parenthesized_expression "(1 < *(int *)(puVar2 + 9) - 8U)" ( (binary_expression "1 < *(int *)(puVar2 + 9) - 8U" number_literal < (binary_expression "*(int *)(puVar2 + 9) - 8U" (pointer_expression "*(int *)(puVar2 + 9)" * (cast_expression "(int *)(puVar2 + 9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 9)" ( (binary_expression "puVar2 + 9" identifier + number_literal) )))) - number_literal)) )) (compound_statement "{\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }" { (expression_statement "(*param_2)(param_3,&DAT_00184304,puVar2[4]);" (call_expression "(*param_2)(param_3,&DAT_00184304,puVar2[4])" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(param_3,&DAT_00184304,puVar2[4])" ( identifier , (pointer_expression "&DAT_00184304" & identifier) , (subscript_expression "puVar2[4]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = *(int *)(puVar2 + 9);" (assignment_expression "iVar1 = *(int *)(puVar2 + 9)" identifier = (pointer_expression "*(int *)(puVar2 + 9)" * (cast_expression "(int *)(puVar2 + 9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 9)" ( (binary_expression "puVar2 + 9" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" if (parenthesized_expression "(iVar1 == 5)" ( (binary_expression "iVar1 == 5" identifier == number_literal) )) (compound_statement "{\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }" { (expression_statement "(*param_2)(param_3,"array, %ld elements\n",puVar2[8]);" (call_expression "(*param_2)(param_3,"array, %ld elements\n",puVar2[8])" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(param_3,"array, %ld elements\n",puVar2[8])" ( identifier , (string_literal ""array, %ld elements\n"" " string_content escape_sequence ") , (subscript_expression "puVar2[8]" identifier [ number_literal ]) ))) ;) }) (else_clause "else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" else (if_statement "if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" if (parenthesized_expression "(iVar1 == 6)" ( (binary_expression "iVar1 == 6" identifier == number_literal) )) (compound_statement "{\n          (*param_2)(param_3,"untyped variable\n");\n        }" { (expression_statement "(*param_2)(param_3,"untyped variable\n");" (call_expression "(*param_2)(param_3,"untyped variable\n")" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(param_3,"untyped variable\n")" ( identifier , (string_literal ""untyped variable\n"" " string_content escape_sequence ") ))) ;) }) (else_clause "else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" else (if_statement "if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" if (parenthesized_expression "(iVar1 == 4)" ( (binary_expression "iVar1 == 4" identifier == number_literal) )) (compound_statement "{\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" { (expression_statement "FUN_0010ff27(*puVar2,param_2,param_3);" (call_expression "FUN_0010ff27(*puVar2,param_2,param_3)" identifier (argument_list "(*puVar2,param_2,param_3)" ( (pointer_expression "*puVar2" * identifier) , identifier , identifier ))) ;) })))))) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined8 *)param_1[iVar3];" (assignment_expression "puVar2 = (undefined8 *)param_1[iVar3]" identifier = (cast_expression "(undefined8 *)param_1[iVar3]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[iVar3]" identifier [ identifier ]))) ;) }) while (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" ( (binary_expression "puVar2 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression & IDENT) , (subscript_expression IDENT [ LIT ]) ))) ;) (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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , (subscript_expression IDENT [ LIT ]) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (string_literal " string_content escape_sequence ") ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT ))) ;) })))))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00160ec0(long *param_1,code *param_2,undefined8 param_3)" (identifier "FUN_00160ec0") (parameter_list "(long *param_1,code *param_2,undefined8 param_3)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "code *param_2" (type_identifier "code") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined8 *puVar2;\n  int iVar3;\n  \n  puVar2 = (undefined8 *)*param_1;\n  if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "puVar2 = (undefined8 *)*param_1;" (assignment_expression "puVar2 = (undefined8 *)*param_1" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar2 != (undefined8 *)0x0) {\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }" (if "if") (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined8 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar3 = 0;\n    do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    } while (puVar2 != (undefined8 *)0x0);" (do "do") (compound_statement "{\n      if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }\n      iVar3 = iVar3 + 1;\n      puVar2 = (undefined8 *)param_1[iVar3];\n    }" ({ "{") (if_statement "if (1 < *(int *)(puVar2 + 9) - 8U) {\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }" (if "if") (parenthesized_expression "(1 < *(int *)(puVar2 + 9) - 8U)" (( "(") (binary_expression "1 < *(int *)(puVar2 + 9) - 8U" (number_literal "1") (< "<") (binary_expression "*(int *)(puVar2 + 9) - 8U" (pointer_expression "*(int *)(puVar2 + 9)" (* "*") (cast_expression "(int *)(puVar2 + 9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 9)" (( "(") (binary_expression "puVar2 + 9" (identifier "puVar2") (+ "+") (number_literal "9")) () ")")))) (- "-") (number_literal "8U"))) () ")")) (compound_statement "{\n        (*param_2)(param_3,&DAT_00184304,puVar2[4]);\n        iVar1 = *(int *)(puVar2 + 9);\n        if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }\n      }" ({ "{") (expression_statement "(*param_2)(param_3,&DAT_00184304,puVar2[4]);" (call_expression "(*param_2)(param_3,&DAT_00184304,puVar2[4])" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "(param_3,&DAT_00184304,puVar2[4])" (( "(") (identifier "param_3") (, ",") (pointer_expression "&DAT_00184304" (& "&") (identifier "DAT_00184304")) (, ",") (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(puVar2 + 9);" (assignment_expression "iVar1 = *(int *)(puVar2 + 9)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(puVar2 + 9)" (* "*") (cast_expression "(int *)(puVar2 + 9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 9)" (( "(") (binary_expression "puVar2 + 9" (identifier "puVar2") (+ "+") (number_literal "9")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 5) {\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }\n        else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" (if "if") (parenthesized_expression "(iVar1 == 5)" (( "(") (binary_expression "iVar1 == 5" (identifier "iVar1") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);\n        }" ({ "{") (expression_statement "(*param_2)(param_3,"array, %ld elements\n",puVar2[8]);" (call_expression "(*param_2)(param_3,"array, %ld elements\n",puVar2[8])" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "(param_3,"array, %ld elements\n",puVar2[8])" (( "(") (identifier "param_3") (, ",") (string_literal ""array, %ld elements\n"" (" """) (string_content "array, %ld elements") (escape_sequence "\n") (" """)) (, ",") (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]")) () ")"))) (; ";")) (} "}")) (else_clause "else if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" (else "else") (if_statement "if (iVar1 == 6) {\n          (*param_2)(param_3,"untyped variable\n");\n        }\n        else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" (if "if") (parenthesized_expression "(iVar1 == 6)" (( "(") (binary_expression "iVar1 == 6" (identifier "iVar1") (== "==") (number_literal "6")) () ")")) (compound_statement "{\n          (*param_2)(param_3,"untyped variable\n");\n        }" ({ "{") (expression_statement "(*param_2)(param_3,"untyped variable\n");" (call_expression "(*param_2)(param_3,"untyped variable\n")" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "(param_3,"untyped variable\n")" (( "(") (identifier "param_3") (, ",") (string_literal ""untyped variable\n"" (" """) (string_content "untyped variable") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (} "}")) (else_clause "else if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" (else "else") (if_statement "if (iVar1 == 4) {\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" (if "if") (parenthesized_expression "(iVar1 == 4)" (( "(") (binary_expression "iVar1 == 4" (identifier "iVar1") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n          FUN_0010ff27(*puVar2,param_2,param_3);\n        }" ({ "{") (expression_statement "FUN_0010ff27(*puVar2,param_2,param_3);" (call_expression "FUN_0010ff27(*puVar2,param_2,param_3)" (identifier "FUN_0010ff27") (argument_list "(*puVar2,param_2,param_3)" (( "(") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))))))) (} "}"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = (undefined8 *)param_1[iVar3];" (assignment_expression "puVar2 = (undefined8 *)param_1[iVar3]" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)param_1[iVar3]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[iVar3]" (identifier "param_1") ([ "[") (identifier "iVar3") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined8 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 **table,type_2 *print_func,type_3 *fp)

{
  type_4 var_3;
  type_1 *var_1;
  int var_8;
  
  var_1 = *table;
  if (var_1 != (type_1 *)0x0) {
    var_8 = 0;
    do {
      if (1 < var_1->type - var_2) {
        (*print_func)(fp,"%s: ",(var_1->sub).nodep.name);
        var_3 = var_1->type;
        if (var_3 == var_4) {
          (*print_func)(fp,"array, %ld elements\n",(var_1->sub).nodep.reflags);
        }
        else if (var_3 == var_5) {
          (*print_func)(fp,"untyped variable\n");
        }
        else if (var_3 == var_6) {
          var_7((var_1->sub).nodep.l.lptr,print_func,fp);
        }
      }
      var_8 = var_8 + 1;
      var_1 = table[var_8];
    } while (var_1 != (type_1 *)0x0);
  }
  return;
}


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

void MASKED(long *param_1,code *param_2,undefined8 param_3)

{
  int iVar1;
  undefined8 *puVar2;
  int iVar3;
  
  puVar2 = (undefined8 *)*param_1;
  if (puVar2 != (undefined8 *)0x0) {
    iVar3 = 0;
    do {
      if (1 < *(int *)(puVar2 + 9) - 8U) {
        (*param_2)(param_3,&DAT_00184304,puVar2[4]);
        iVar1 = *(int *)(puVar2 + 9);
        if (iVar1 == 5) {
          (*param_2)(param_3,"array, %ld elements\n",puVar2[8]);
        }
        else if (iVar1 == 6) {
          (*param_2)(param_3,"untyped variable\n");
        }
        else if (iVar1 == 4) {
          FUN_0010ff27(*puVar2,param_2,param_3);
        }
      }
      iVar3 = iVar3 + 1;
      puVar2 = (undefined8 *)param_1[iVar3];
    } while (puVar2 != (undefined8 *)0x0);
  }
  return;
}

