
void hash_traverse(hash_control *table,_func_void_char_ptr_void_ptr *pfn)

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



void FUN_00120430(long *param_1,code *param_2)

{
  undefined8 *puVar1;
  uint uVar2;
  ulong uVar3;
  
  if ((int)param_1[1] == 0) {
    return;
  }
  uVar3 = 0;
  do {
    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;
        puVar1 = (undefined8 *)*puVar1) {
      (*param_2)(puVar1[1],puVar1[3]);
    }
    uVar2 = (int)uVar3 + 1;
    uVar3 = (ulong)uVar2;
  } while (uVar2 < *(uint *)(param_1 + 1));
  return;
}


MOV EAX,dword ptr [RDI + 0x8]
TEST EAX,EAX
JZ 0x00120487
PUSH R13
MOV R13,RDI
PUSH R12
XOR R12D,R12D
PUSH RBP
MOV RBP,RSI
PUSH RBX
SUB RSP,0x8
NOP word ptr [RAX + RAX*0x1]
MOV RDX,qword ptr [R13]
MOV EAX,R12D
MOV RBX,qword ptr [RDX + RAX*0x8]
TEST RBX,RBX
JZ 0x00120472
MOV RSI,qword ptr [RBX + 0x18]
MOV RDI,qword ptr [RBX + 0x8]
CALL RBP
MOV RBX,qword ptr [RBX]
TEST RBX,RBX
JNZ 0x00120460
ADD R12D,0x1
CMP dword ptr [R13 + 0x8],R12D
JA 0x00120450
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
RET
(translation_unit "void FUN_00120430(long *param_1,code *param_2)\n\n{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}\n\n" (function_definition "void FUN_00120430(long *param_1,code *param_2)\n\n{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}" primitive_type (function_declarator "FUN_00120430(long *param_1,code *param_2)" identifier (parameter_list "(long *param_1,code *param_2)" ( (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)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (if_statement "if ((int)param_1[1] == 0) {\n    return;\n  }" if (parenthesized_expression "((int)param_1[1] == 0)" ( (binary_expression "(int)param_1[1] == 0" (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));" do (compound_statement "{\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  }" { (for_statement "for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }" for ( (assignment_expression "puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8)" identifier = (pointer_expression "*(undefined8 **)(*param_1 + uVar3 * 8)" * (cast_expression "(undefined8 **)(*param_1 + uVar3 * 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + uVar3 * 8)" ( (binary_expression "*param_1 + uVar3 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "uVar3 * 8" identifier * number_literal)) ))))) ; (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined8 *)*puVar1" identifier = (cast_expression "(undefined8 *)*puVar1" ( (type_descriptor "undefined8 *" 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 = (int)uVar3 + 1;" (assignment_expression "uVar2 = (int)uVar3 + 1" identifier = (binary_expression "(int)uVar3 + 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "uVar3 = (ulong)uVar2;" (assignment_expression "uVar3 = (ulong)uVar2" identifier = (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) }) while (parenthesized_expression "(uVar2 < *(uint *)(param_1 + 1))" ( (binary_expression "uVar2 < *(uint *)(param_1 + 1)" identifier < (pointer_expression "*(uint *)(param_1 + 1)" * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void hash_traverse(hash_control *table,_func_void_char_ptr_void_ptr *pfn)\n\n{\n  hash_entry *phVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if (table->size == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (phVar1 = table->table[uVar3]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n      (*pfn)(phVar1->string,phVar1->data);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < table->size);\n  return;\n}\n\n" (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  ulong uVar3;\n  \n  if (table->size == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (phVar1 = table->table[uVar3]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n      (*pfn)(phVar1->string,phVar1->data);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < table->size);\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  ulong uVar3;\n  \n  if (table->size == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (phVar1 = table->table[uVar3]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n      (*pfn)(phVar1->string,phVar1->data);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < table->size);\n  return;\n}" { (declaration "hash_entry *phVar1;" type_identifier (pointer_declarator "*phVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (if_statement "if (table->size == 0) {\n    return;\n  }" if (parenthesized_expression "(table->size == 0)" ( (binary_expression "table->size == 0" (field_expression "table->size" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    for (phVar1 = table->table[uVar3]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n      (*pfn)(phVar1->string,phVar1->data);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < table->size);" do (compound_statement "{\n    for (phVar1 = table->table[uVar3]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n      (*pfn)(phVar1->string,phVar1->data);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  }" { (for_statement "for (phVar1 = table->table[uVar3]; phVar1 != (hash_entry *)0x0; phVar1 = phVar1->next) {\n      (*pfn)(phVar1->string,phVar1->data);\n    }" for ( (assignment_expression "phVar1 = table->table[uVar3]" identifier = (subscript_expression "table->table[uVar3]" (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 = (int)uVar3 + 1;" (assignment_expression "uVar2 = (int)uVar3 + 1" identifier = (binary_expression "(int)uVar3 + 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "uVar3 = (ulong)uVar2;" (assignment_expression "uVar3 = (ulong)uVar2" identifier = (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) }) 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_00120430(long *param_1,code *param_2)\n\n{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}\n\n" (function_definition "void FUN_00120430(long *param_1,code *param_2)\n\n{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}" primitive_type (function_declarator "FUN_00120430(long *param_1,code *param_2)" identifier (parameter_list "(long *param_1,code *param_2)" ( (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)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (if_statement "if ((int)param_1[1] == 0) {\n    return;\n  }" if (parenthesized_expression "((int)param_1[1] == 0)" ( (binary_expression "(int)param_1[1] == 0" (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));" do (compound_statement "{\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  }" { (for_statement "for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }" for ( (assignment_expression "puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8)" identifier = (pointer_expression "*(undefined8 **)(*param_1 + uVar3 * 8)" * (cast_expression "(undefined8 **)(*param_1 + uVar3 * 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + uVar3 * 8)" ( (binary_expression "*param_1 + uVar3 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "uVar3 * 8" identifier * number_literal)) ))))) ; (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined8 *)*puVar1" identifier = (cast_expression "(undefined8 *)*puVar1" ( (type_descriptor "undefined8 *" 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 = (int)uVar3 + 1;" (assignment_expression "uVar2 = (int)uVar3 + 1" identifier = (binary_expression "(int)uVar3 + 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "uVar3 = (ulong)uVar2;" (assignment_expression "uVar3 = (ulong)uVar2" identifier = (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) }) while (parenthesized_expression "(uVar2 < *(uint *)(param_1 + 1))" ( (binary_expression "uVar2 < *(uint *)(param_1 + 1)" identifier < (pointer_expression "*(uint *)(param_1 + 1)" * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + 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)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == LIT) )) (compound_statement { (return_statement return ;) })) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (return_statement return ;) })))
(function_definition "void FUN_00120430(long *param_1,code *param_2)\n\n{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00120430(long *param_1,code *param_2)" (identifier "FUN_00120430") (parameter_list "(long *param_1,code *param_2)" (( "(") (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"))) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  uint uVar2;\n  ulong uVar3;\n  \n  if ((int)param_1[1] == 0) {\n    return;\n  }\n  uVar3 = 0;\n  do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (if_statement "if ((int)param_1[1] == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "((int)param_1[1] == 0)" (( "(") (binary_expression "(int)param_1[1] == 0" (cast_expression "(int)param_1[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  } while (uVar2 < *(uint *)(param_1 + 1));" (do "do") (compound_statement "{\n    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }\n    uVar2 = (int)uVar3 + 1;\n    uVar3 = (ulong)uVar2;\n  }" ({ "{") (for_statement "for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;\n        puVar1 = (undefined8 *)*puVar1) {\n      (*param_2)(puVar1[1],puVar1[3]);\n    }" (for "for") (( "(") (assignment_expression "puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined8 **)(*param_1 + uVar3 * 8)" (* "*") (cast_expression "(undefined8 **)(*param_1 + uVar3 * 8)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + uVar3 * 8)" (( "(") (binary_expression "*param_1 + uVar3 * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "uVar3 * 8" (identifier "uVar3") (* "*") (number_literal "8"))) () ")"))))) (; ";") (binary_expression "puVar1 != (undefined8 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined8 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)*puVar1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (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 = (int)uVar3 + 1;" (assignment_expression "uVar2 = (int)uVar3 + 1" (identifier "uVar2") (= "=") (binary_expression "(int)uVar3 + 1" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = (ulong)uVar2;" (assignment_expression "uVar3 = (ulong)uVar2" (identifier "uVar3") (= "=") (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 < *(uint *)(param_1 + 1))" (( "(") (binary_expression "uVar2 < *(uint *)(param_1 + 1)" (identifier "uVar2") (< "<") (pointer_expression "*(uint *)(param_1 + 1)" (* "*") (cast_expression "(uint *)(param_1 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *table,type_2 *pfn)

{
  type_3 *var_1;
  type_4 var_2;
  type_5 uVar3;
  
  if (table->size == 0) {
    return;
  }
  uVar3 = 0;
  do {
    for (var_1 = table->table[uVar3]; var_1 != (type_3 *)0x0; var_1 = var_1->next) {
      (*pfn)(var_1->string,var_1->data);
    }
    var_2 = (int)uVar3 + 1;
    uVar3 = (type_5)var_2;
  } while (var_2 < table->size);
  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))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement))))

void MASKED(long *param_1,code *param_2)

{
  undefined8 *puVar1;
  uint uVar2;
  ulong uVar3;
  
  if ((int)param_1[1] == 0) {
    return;
  }
  uVar3 = 0;
  do {
    for (puVar1 = *(undefined8 **)(*param_1 + uVar3 * 8); puVar1 != (undefined8 *)0x0;
        puVar1 = (undefined8 *)*puVar1) {
      (*param_2)(puVar1[1],puVar1[3]);
    }
    uVar2 = (int)uVar3 + 1;
    uVar3 = (ulong)uVar2;
  } while (uVar2 < *(uint *)(param_1 + 1));
  return;
}

