
/* WARNING: Unknown calling convention */

void hash_traverse(hash_control *table,_func_void_char_ptr_void_ptr *pfn)

{
  hash_entry *phVar1;
  uint uVar2;
  
  if (table->size != 0) {
    uVar2 = 0;
    do {
      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {
        (*pfn)(phVar1->string,phVar1->data);
      }
      uVar2 = uVar2 + 1;
    } while (uVar2 < table->size);
  }
  return;
}



void FUN_00023cb0(int *param_1,code *param_2)

{
  undefined4 *puVar1;
  uint uVar2;
  
  if (param_1[1] != 0) {
    uVar2 = 0;
    do {
      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;
          puVar1 = (undefined4 *)*puVar1) {
        (*param_2)(puVar1[1],puVar1[3]);
      }
      uVar2 = uVar2 + 1;
    } while (uVar2 < (uint)param_1[1]);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EBP + 0x4]
TEST EAX,EAX
JZ 0x00023cfc
XOR EDI,EDI
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBP]
MOV EBX,dword ptr [EAX + EDI*0x4]
TEST EBX,EBX
JZ 0x00023cf4
LEA ESI,[ESI]
SUB ESP,0x8
PUSH dword ptr [EBX + 0xc]
PUSH dword ptr [EBX + 0x4]
CALL ESI
MOV EBX,dword ptr [EBX]
ADD ESP,0x10
TEST EBX,EBX
JNZ 0x00023ce0
ADD EDI,0x1
CMP dword ptr [EBP + 0x4],EDI
JA 0x00023cd0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_00023cb0(int *param_1,code *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00023cb0(int *param_1,code *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00023cb0(int *param_1,code *param_2)" identifier (parameter_list "(int *param_1,code *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);" do (compound_statement "{\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    }" { (for_statement "for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }" for ( (assignment_expression "puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + uVar2 * 4)" * (cast_expression "(undefined4 **)(*param_1 + uVar2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + uVar2 * 4)" ( (binary_expression "*param_1 + uVar2 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "uVar2 * 4" identifier * number_literal)) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        (*param_2)(puVar1[1],puVar1[3]);\n      }" { (expression_statement "(*param_2)(puVar1[1],puVar1[3]);" (call_expression "(*param_2)(puVar1[1],puVar1[3])" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(puVar1[1],puVar1[3])" ( (subscript_expression "puVar1[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[3]" identifier [ number_literal ]) ))) ;) })) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < (uint)param_1[1])" ( (binary_expression "uVar2 < (uint)param_1[1]" identifier < (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid hash_traverse(hash_control *table,_func_void_char_ptr_void_ptr *pfn)\n\n{\n  hash_entry *phVar1;\n  uint uVar2;\n  \n  if (table->size != 0) {\n    uVar2 = 0;\n    do {\n      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < table->size);\n  }\n  return;\n}\n\n" comment (function_definition "void hash_traverse(hash_control *table,_func_void_char_ptr_void_ptr *pfn)\n\n{\n  hash_entry *phVar1;\n  uint uVar2;\n  \n  if (table->size != 0) {\n    uVar2 = 0;\n    do {\n      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < table->size);\n  }\n  return;\n}" primitive_type (function_declarator "hash_traverse(hash_control *table,_func_void_char_ptr_void_ptr *pfn)" identifier (parameter_list "(hash_control *table,_func_void_char_ptr_void_ptr *pfn)" ( (parameter_declaration "hash_control *table" type_identifier (pointer_declarator "*table" * identifier)) , (parameter_declaration "_func_void_char_ptr_void_ptr *pfn" type_identifier (pointer_declarator "*pfn" * identifier)) ))) (compound_statement "{\n  hash_entry *phVar1;\n  uint uVar2;\n  \n  if (table->size != 0) {\n    uVar2 = 0;\n    do {\n      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < table->size);\n  }\n  return;\n}" { (declaration "hash_entry *phVar1;" type_identifier (pointer_declarator "*phVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (table->size != 0) {\n    uVar2 = 0;\n    do {\n      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < table->size);\n  }" if (parenthesized_expression "(table->size != 0)" ( (binary_expression "table->size != 0" (field_expression "table->size" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < table->size);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < table->size);" do (compound_statement "{\n      for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }\n      uVar2 = uVar2 + 1;\n    }" { (for_statement "for (phVar1 = table->table[uVar2]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n        (*pfn)(phVar1->string,phVar1->data);\n      }" for ( (assignment_expression "phVar1 = table->table[uVar2]" identifier = (subscript_expression "table->table[uVar2]" (field_expression "table->table" identifier -> field_identifier) [ identifier ])) ; (binary_expression "phVar1 != (hash_entry *)0x0" identifier != (cast_expression "(hash_entry *)0x0" ( (type_descriptor "hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "phVar1 = phVar1->next" identifier = (field_expression "phVar1->next" identifier -> field_identifier)) ) (compound_statement "{\n        (*pfn)(phVar1->string,phVar1->data);\n      }" { (expression_statement "(*pfn)(phVar1->string,phVar1->data);" (call_expression "(*pfn)(phVar1->string,phVar1->data)" (parenthesized_expression "(*pfn)" ( (pointer_expression "*pfn" * identifier) )) (argument_list "(phVar1->string,phVar1->data)" ( (field_expression "phVar1->string" identifier -> field_identifier) , (field_expression "phVar1->data" identifier -> field_identifier) ))) ;) })) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < table->size)" ( (binary_expression "uVar2 < table->size" identifier < (field_expression "table->size" identifier -> field_identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00023cb0(int *param_1,code *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00023cb0(int *param_1,code *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00023cb0(int *param_1,code *param_2)" identifier (parameter_list "(int *param_1,code *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);" do (compound_statement "{\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    }" { (for_statement "for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }" for ( (assignment_expression "puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + uVar2 * 4)" * (cast_expression "(undefined4 **)(*param_1 + uVar2 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + uVar2 * 4)" ( (binary_expression "*param_1 + uVar2 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "uVar2 * 4" identifier * number_literal)) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        (*param_2)(puVar1[1],puVar1[3]);\n      }" { (expression_statement "(*param_2)(puVar1[1],puVar1[3]);" (call_expression "(*param_2)(puVar1[1],puVar1[3])" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(puVar1[1],puVar1[3])" ( (subscript_expression "puVar1[1]" identifier [ number_literal ]) , (subscript_expression "puVar1[3]" identifier [ number_literal ]) ))) ;) })) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < (uint)param_1[1])" ( (binary_expression "uVar2 < (uint)param_1[1]" identifier < (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00023cb0(int *param_1,code *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00023cb0(int *param_1,code *param_2)" (identifier "FUN_00023cb0") (parameter_list "(int *param_1,code *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "code *param_2" (type_identifier "code") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (if_statement "if (param_1[1] != 0) {\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }" (if "if") (parenthesized_expression "(param_1[1] != 0)" (( "(") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 < (uint)param_1[1]);" (do "do") (compound_statement "{\n      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }\n      uVar2 = uVar2 + 1;\n    }" ({ "{") (for_statement "for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        (*param_2)(puVar1[1],puVar1[3]);\n      }" (for "for") (( "(") (assignment_expression "puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(*param_1 + uVar2 * 4)" (* "*") (cast_expression "(undefined4 **)(*param_1 + uVar2 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + uVar2 * 4)" (( "(") (binary_expression "*param_1 + uVar2 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "uVar2 * 4" (identifier "uVar2") (* "*") (number_literal "4"))) () ")"))))) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) () ")") (compound_statement "{\n        (*param_2)(puVar1[1],puVar1[3]);\n      }" ({ "{") (expression_statement "(*param_2)(puVar1[1],puVar1[3]);" (call_expression "(*param_2)(puVar1[1],puVar1[3])" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "(puVar1[1],puVar1[3])" (( "(") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 < (uint)param_1[1])" (( "(") (binary_expression "uVar2 < (uint)param_1[1]" (identifier "uVar2") (< "<") (cast_expression "(uint)param_1[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *table,type_2 *pfn)

{
  type_3 *var_1;
  type_4 var_2;
  
  if (table->size != 0) {
    var_2 = 0;
    do {
      for (var_1 = table->table[var_2]; var_1 != (type_3 *)0x0; var_1 = var_1->next) {
        (*pfn)(var_1->string,var_1->data);
      }
      var_2 = var_2 + 1;
    } while (var_2 < table->size);
  }
  return;
}


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

void MASKED(int *param_1,code *param_2)

{
  undefined4 *puVar1;
  uint uVar2;
  
  if (param_1[1] != 0) {
    uVar2 = 0;
    do {
      for (puVar1 = *(undefined4 **)(*param_1 + uVar2 * 4); puVar1 != (undefined4 *)0x0;
          puVar1 = (undefined4 *)*puVar1) {
        (*param_2)(puVar1[1],puVar1[3]);
      }
      uVar2 = uVar2 + 1;
    } while (uVar2 < (uint)param_1[1]);
  }
  return;
}

