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

void Configtable_clear(_func_int_config_ptr *f)

{
  s_x4 *psVar1;
  int iVar2;
  int iVar3;
  
  if ((x4a != (s_x4 *)0x0) && (x4a->count != 0)) {
    if ((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)) {
      iVar2 = 0;
      do {
        iVar3 = iVar2 + 1;
        (*f)(x4a->tbl[iVar2].data);
        iVar2 = iVar3;
      } while (iVar3 < x4a->count);
    }
    psVar1 = x4a;
    iVar2 = 0;
    if (0 < x4a->size) {
      do {
        psVar1->ht[iVar2] = (s_x4node *)0x0;
        iVar2 = iVar2 + 1;
      } while (iVar2 < psVar1->size);
    }
    psVar1->count = 0;
  }
  return;
}



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

void FUN_0001f360(code *param_1)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {
    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {
      iVar2 = 0;
      do {
        iVar3 = iVar2 + 1;
        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));
        iVar2 = iVar3;
      } while (iVar3 < DAT_000281a0[1]);
    }
    piVar1 = DAT_000281a0;
    iVar2 = 0;
    if (0 < *DAT_000281a0) {
      do {
        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;
        iVar2 = iVar2 + 1;
      } while (iVar2 < *piVar1);
    }
    piVar1[1] = 0;
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00011bc0
ADD EBX,0x8bd0
MOV EAX,dword ptr [EBX + 0x264]
TEST EAX,EAX
JZ 0x0001f3d8
MOV EDX,dword ptr [EAX + 0x4]
TEST EDX,EDX
JZ 0x0001f3d8
TEST ESI,ESI
JZ 0x0001f3b1
TEST EDX,EDX
JLE 0x0001f3b1
XOR EDI,EDI
LEA ESI,[ESI]
MOV ECX,dword ptr [EAX + 0x8]
LEA EDX,[EDI + EDI*0x2]
SUB ESP,0xc
ADD EDI,0x1
LEA EDX,[ECX + EDX*0x4]
PUSH dword ptr [EDX]
CALL ESI
MOV EAX,dword ptr [EBX + 0x264]
ADD ESP,0x10
CMP dword ptr [EAX + 0x4],EDI
JG 0x0001f390
MOV ECX,dword ptr [EAX]
XOR EDX,EDX
TEST ECX,ECX
JLE 0x0001f3d1
LEA ESI,[ESI]
MOV ECX,dword ptr [EAX + 0xc]
MOV dword ptr [ECX + EDX*0x4],0x0
ADD EDX,0x1
CMP EDX,dword ptr [EAX]
JL 0x0001f3c0
MOV dword ptr [EAX + 0x4],0x0
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001f360(code *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001f360(code *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001f360(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }" if (parenthesized_expression "((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0))" ( (binary_expression "(DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)" (parenthesized_expression "(DAT_000281a0 != (int *)0x0)" ( (binary_expression "DAT_000281a0 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(DAT_000281a0[1] != 0)" ( (binary_expression "DAT_000281a0[1] != 0" (subscript_expression "DAT_000281a0[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }" { (if_statement "if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }" if (parenthesized_expression "((param_1 != (code *)0x0) && (0 < DAT_000281a0[1]))" ( (binary_expression "(param_1 != (code *)0x0) && (0 < DAT_000281a0[1])" (parenthesized_expression "(param_1 != (code *)0x0)" ( (binary_expression "param_1 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(0 < DAT_000281a0[1])" ( (binary_expression "0 < DAT_000281a0[1]" number_literal < (subscript_expression "DAT_000281a0[1]" identifier [ number_literal ])) ))) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);" do (compound_statement "{\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      }" { (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));" (call_expression "(*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc))" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc))" ( (pointer_expression "*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc)" * (cast_expression "(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000281a0[2] + iVar2 * 0xc)" ( (binary_expression "DAT_000281a0[2] + iVar2 * 0xc" (subscript_expression "DAT_000281a0[2]" identifier [ number_literal ]) + (binary_expression "iVar2 * 0xc" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 < DAT_000281a0[1])" ( (binary_expression "iVar3 < DAT_000281a0[1]" identifier < (subscript_expression "DAT_000281a0[1]" identifier [ number_literal ])) )) ;) })) (expression_statement "piVar1 = DAT_000281a0;" (assignment_expression "piVar1 = DAT_000281a0" identifier = identifier) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }" if (parenthesized_expression "(0 < *DAT_000281a0)" ( (binary_expression "0 < *DAT_000281a0" number_literal < (pointer_expression "*DAT_000281a0" * identifier)) )) (compound_statement "{\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }" { (do_statement "do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);" do (compound_statement "{\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "*(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(piVar1[3] + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(piVar1[3] + iVar2 * 4)" * (cast_expression "(undefined4 *)(piVar1[3] + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1[3] + iVar2 * 4)" ( (binary_expression "piVar1[3] + iVar2 * 4" (subscript_expression "piVar1[3]" identifier [ number_literal ]) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *piVar1)" ( (binary_expression "iVar2 < *piVar1" identifier < (pointer_expression "*piVar1" * identifier)) )) ;) })) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid Configtable_clear(_func_int_config_ptr *f)\n\n{\n  s_x4 *psVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((x4a != (s_x4 *)0x0) && (x4a->count != 0)) {\n    if ((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);\n    }\n    psVar1 = x4a;\n    iVar2 = 0;\n    if (0 < x4a->size) {\n      do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);\n    }\n    psVar1->count = 0;\n  }\n  return;\n}\n\n" comment comment (function_definition "void Configtable_clear(_func_int_config_ptr *f)\n\n{\n  s_x4 *psVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((x4a != (s_x4 *)0x0) && (x4a->count != 0)) {\n    if ((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);\n    }\n    psVar1 = x4a;\n    iVar2 = 0;\n    if (0 < x4a->size) {\n      do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);\n    }\n    psVar1->count = 0;\n  }\n  return;\n}" primitive_type (function_declarator "Configtable_clear(_func_int_config_ptr *f)" identifier (parameter_list "(_func_int_config_ptr *f)" ( (parameter_declaration "_func_int_config_ptr *f" type_identifier (pointer_declarator "*f" * identifier)) ))) (compound_statement "{\n  s_x4 *psVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((x4a != (s_x4 *)0x0) && (x4a->count != 0)) {\n    if ((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);\n    }\n    psVar1 = x4a;\n    iVar2 = 0;\n    if (0 < x4a->size) {\n      do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);\n    }\n    psVar1->count = 0;\n  }\n  return;\n}" { (declaration "s_x4 *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((x4a != (s_x4 *)0x0) && (x4a->count != 0)) {\n    if ((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);\n    }\n    psVar1 = x4a;\n    iVar2 = 0;\n    if (0 < x4a->size) {\n      do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);\n    }\n    psVar1->count = 0;\n  }" if (parenthesized_expression "((x4a != (s_x4 *)0x0) && (x4a->count != 0))" ( (binary_expression "(x4a != (s_x4 *)0x0) && (x4a->count != 0)" (parenthesized_expression "(x4a != (s_x4 *)0x0)" ( (binary_expression "x4a != (s_x4 *)0x0" identifier != (cast_expression "(s_x4 *)0x0" ( (type_descriptor "s_x4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(x4a->count != 0)" ( (binary_expression "x4a->count != 0" (field_expression "x4a->count" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n    if ((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);\n    }\n    psVar1 = x4a;\n    iVar2 = 0;\n    if (0 < x4a->size) {\n      do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);\n    }\n    psVar1->count = 0;\n  }" { (if_statement "if ((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);\n    }" if (parenthesized_expression "((f != (_func_int_config_ptr *)0x0) && (0 < x4a->count))" ( (binary_expression "(f != (_func_int_config_ptr *)0x0) && (0 < x4a->count)" (parenthesized_expression "(f != (_func_int_config_ptr *)0x0)" ( (binary_expression "f != (_func_int_config_ptr *)0x0" identifier != (cast_expression "(_func_int_config_ptr *)0x0" ( (type_descriptor "_func_int_config_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(0 < x4a->count)" ( (binary_expression "0 < x4a->count" number_literal < (field_expression "x4a->count" identifier -> field_identifier)) ))) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      } while (iVar3 < x4a->count);" do (compound_statement "{\n        iVar3 = iVar2 + 1;\n        (*f)(x4a->tbl[iVar2].data);\n        iVar2 = iVar3;\n      }" { (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*f)(x4a->tbl[iVar2].data);" (call_expression "(*f)(x4a->tbl[iVar2].data)" (parenthesized_expression "(*f)" ( (pointer_expression "*f" * identifier) )) (argument_list "(x4a->tbl[iVar2].data)" ( (field_expression "x4a->tbl[iVar2].data" (subscript_expression "x4a->tbl[iVar2]" (field_expression "x4a->tbl" identifier -> field_identifier) [ identifier ]) . field_identifier) ))) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 < x4a->count)" ( (binary_expression "iVar3 < x4a->count" identifier < (field_expression "x4a->count" identifier -> field_identifier)) )) ;) })) (expression_statement "psVar1 = x4a;" (assignment_expression "psVar1 = x4a" identifier = identifier) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (0 < x4a->size) {\n      do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);\n    }" if (parenthesized_expression "(0 < x4a->size)" ( (binary_expression "0 < x4a->size" number_literal < (field_expression "x4a->size" identifier -> field_identifier)) )) (compound_statement "{\n      do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);\n    }" { (do_statement "do {\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < psVar1->size);" do (compound_statement "{\n        psVar1->ht[iVar2] = (s_x4node *)0x0;\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "psVar1->ht[iVar2] = (s_x4node *)0x0;" (assignment_expression "psVar1->ht[iVar2] = (s_x4node *)0x0" (subscript_expression "psVar1->ht[iVar2]" (field_expression "psVar1->ht" identifier -> field_identifier) [ identifier ]) = (cast_expression "(s_x4node *)0x0" ( (type_descriptor "s_x4node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < psVar1->size)" ( (binary_expression "iVar2 < psVar1->size" identifier < (field_expression "psVar1->size" identifier -> field_identifier)) )) ;) })) (expression_statement "psVar1->count = 0;" (assignment_expression "psVar1->count = 0" (field_expression "psVar1->count" identifier -> field_identifier) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001f360(code *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001f360(code *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001f360(code *param_1)" identifier (parameter_list "(code *param_1)" ( (parameter_declaration "code *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }" if (parenthesized_expression "((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0))" ( (binary_expression "(DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)" (parenthesized_expression "(DAT_000281a0 != (int *)0x0)" ( (binary_expression "DAT_000281a0 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(DAT_000281a0[1] != 0)" ( (binary_expression "DAT_000281a0[1] != 0" (subscript_expression "DAT_000281a0[1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }" { (if_statement "if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }" if (parenthesized_expression "((param_1 != (code *)0x0) && (0 < DAT_000281a0[1]))" ( (binary_expression "(param_1 != (code *)0x0) && (0 < DAT_000281a0[1])" (parenthesized_expression "(param_1 != (code *)0x0)" ( (binary_expression "param_1 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(0 < DAT_000281a0[1])" ( (binary_expression "0 < DAT_000281a0[1]" number_literal < (subscript_expression "DAT_000281a0[1]" identifier [ number_literal ])) ))) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);" do (compound_statement "{\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      }" { (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));" (call_expression "(*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc))" (parenthesized_expression "(*param_1)" ( (pointer_expression "*param_1" * identifier) )) (argument_list "(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc))" ( (pointer_expression "*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc)" * (cast_expression "(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000281a0[2] + iVar2 * 0xc)" ( (binary_expression "DAT_000281a0[2] + iVar2 * 0xc" (subscript_expression "DAT_000281a0[2]" identifier [ number_literal ]) + (binary_expression "iVar2 * 0xc" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 < DAT_000281a0[1])" ( (binary_expression "iVar3 < DAT_000281a0[1]" identifier < (subscript_expression "DAT_000281a0[1]" identifier [ number_literal ])) )) ;) })) (expression_statement "piVar1 = DAT_000281a0;" (assignment_expression "piVar1 = DAT_000281a0" identifier = identifier) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }" if (parenthesized_expression "(0 < *DAT_000281a0)" ( (binary_expression "0 < *DAT_000281a0" number_literal < (pointer_expression "*DAT_000281a0" * identifier)) )) (compound_statement "{\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }" { (do_statement "do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);" do (compound_statement "{\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "*(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(piVar1[3] + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(piVar1[3] + iVar2 * 4)" * (cast_expression "(undefined4 *)(piVar1[3] + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1[3] + iVar2 * 4)" ( (binary_expression "piVar1[3] + iVar2 * 4" (subscript_expression "piVar1[3]" identifier [ number_literal ]) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *piVar1)" ( (binary_expression "iVar2 < *piVar1" identifier < (pointer_expression "*piVar1" * identifier)) )) ;) })) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0001f360(code *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001f360(code *param_1)" (identifier "FUN_0001f360") (parameter_list "(code *param_1)" (( "(") (parameter_declaration "code *param_1" (type_identifier "code") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }" (if "if") (parenthesized_expression "((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0))" (( "(") (binary_expression "(DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)" (parenthesized_expression "(DAT_000281a0 != (int *)0x0)" (( "(") (binary_expression "DAT_000281a0 != (int *)0x0" (identifier "DAT_000281a0") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_000281a0[1] != 0)" (( "(") (binary_expression "DAT_000281a0[1] != 0" (subscript_expression "DAT_000281a0[1]" (identifier "DAT_000281a0") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }\n    piVar1 = DAT_000281a0;\n    iVar2 = 0;\n    if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }\n    piVar1[1] = 0;\n  }" ({ "{") (if_statement "if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }" (if "if") (parenthesized_expression "((param_1 != (code *)0x0) && (0 < DAT_000281a0[1]))" (( "(") (binary_expression "(param_1 != (code *)0x0) && (0 < DAT_000281a0[1])" (parenthesized_expression "(param_1 != (code *)0x0)" (( "(") (binary_expression "param_1 != (code *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(0 < DAT_000281a0[1])" (( "(") (binary_expression "0 < DAT_000281a0[1]" (number_literal "0") (< "<") (subscript_expression "DAT_000281a0[1]" (identifier "DAT_000281a0") ([ "[") (number_literal "1") (] "]"))) () ")"))) () ")")) (compound_statement "{\n      iVar2 = 0;\n      do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      } while (iVar3 < DAT_000281a0[1]);" (do "do") (compound_statement "{\n        iVar3 = iVar2 + 1;\n        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));\n        iVar2 = iVar3;\n      }" ({ "{") (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));" (call_expression "(*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc))" (parenthesized_expression "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")) (argument_list "(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc))" (( "(") (pointer_expression "*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc)" (* "*") (cast_expression "(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000281a0[2] + iVar2 * 0xc)" (( "(") (binary_expression "DAT_000281a0[2] + iVar2 * 0xc" (subscript_expression "DAT_000281a0[2]" (identifier "DAT_000281a0") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar2 * 0xc" (identifier "iVar2") (* "*") (number_literal "0xc"))) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" (identifier "iVar2") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < DAT_000281a0[1])" (( "(") (binary_expression "iVar3 < DAT_000281a0[1]" (identifier "iVar3") (< "<") (subscript_expression "DAT_000281a0[1]" (identifier "DAT_000281a0") ([ "[") (number_literal "1") (] "]"))) () ")")) (; ";")) (} "}"))) (expression_statement "piVar1 = DAT_000281a0;" (assignment_expression "piVar1 = DAT_000281a0" (identifier "piVar1") (= "=") (identifier "DAT_000281a0")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < *DAT_000281a0) {\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }" (if "if") (parenthesized_expression "(0 < *DAT_000281a0)" (( "(") (binary_expression "0 < *DAT_000281a0" (number_literal "0") (< "<") (pointer_expression "*DAT_000281a0" (* "*") (identifier "DAT_000281a0"))) () ")")) (compound_statement "{\n      do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);\n    }" ({ "{") (do_statement "do {\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *piVar1);" (do "do") (compound_statement "{\n        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "*(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(piVar1[3] + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(piVar1[3] + iVar2 * 4)" (* "*") (cast_expression "(undefined4 *)(piVar1[3] + iVar2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1[3] + iVar2 * 4)" (( "(") (binary_expression "piVar1[3] + iVar2 * 4" (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *piVar1)" (( "(") (binary_expression "iVar2 < *piVar1" (identifier "iVar2") (< "<") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (; ";")) (} "}"))) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *var_2)

{
  type_2 *psVar1;
  int var_3;
  int var_4;
  
  if ((var_1 != (type_2 *)0x0) && (var_1->count != 0)) {
    if ((var_2 != (type_1 *)0x0) && (0 < var_1->count)) {
      var_3 = 0;
      do {
        var_4 = var_3 + 1;
        (*var_2)(var_1->tbl[var_3].data);
        var_3 = var_4;
      } while (var_4 < var_1->count);
    }
    psVar1 = var_1;
    var_3 = 0;
    if (0 < var_1->size) {
      do {
        psVar1->ht[var_3] = (type_3 *)0x0;
        var_3 = var_3 + 1;
      } while (var_3 < psVar1->size);
    }
    psVar1->count = 0;
  }
  return;
}


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

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

void MASKED(code *param_1)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  if ((DAT_000281a0 != (int *)0x0) && (DAT_000281a0[1] != 0)) {
    if ((param_1 != (code *)0x0) && (0 < DAT_000281a0[1])) {
      iVar2 = 0;
      do {
        iVar3 = iVar2 + 1;
        (*param_1)(*(undefined4 *)(DAT_000281a0[2] + iVar2 * 0xc));
        iVar2 = iVar3;
      } while (iVar3 < DAT_000281a0[1]);
    }
    piVar1 = DAT_000281a0;
    iVar2 = 0;
    if (0 < *DAT_000281a0) {
      do {
        *(undefined4 *)(piVar1[3] + iVar2 * 4) = 0;
        iVar2 = iVar2 + 1;
      } while (iVar2 < *piVar1);
    }
    piVar1[1] = 0;
  }
  return;
}

