
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void clear(Stringpool_template<char> * this) */

void __thiscall gold::Stringpool_template<char>::clear(Stringpool_template<char> *this)

{
}



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

void FUN_00347e20(int param_1)

{
  int *piVar1;
  int *piVar2;
  int *piVar3;
  
  piVar2 = *(int **)(param_1 + 0x2c);
  piVar3 = (int *)(param_1 + 0x2c);
  if (piVar2 != piVar3) {
    do {
      if (piVar2[2] != 0) {
        FUN_003ae020(piVar2[2]);
      }
      piVar2 = (int *)*piVar2;
    } while (piVar2 != piVar3);
    piVar2 = *(int **)(param_1 + 0x2c);
    while (piVar2 != piVar3) {
      piVar1 = (int *)*piVar2;
      FUN_003ae080(piVar2);
      piVar2 = piVar1;
    }
  }
  piVar2 = *(int **)(param_1 + 0x1c);
  piVar1 = *(int **)(param_1 + 0x20);
  *(int **)(param_1 + 0x30) = piVar3;
  *(int **)(param_1 + 0x2c) = piVar3;
  *(undefined4 *)(param_1 + 0x34) = 0;
  piVar3 = piVar2;
  if (piVar2 != piVar1) {
    do {
      if (*piVar3 != 0) {
        FUN_003ae080(*piVar3);
      }
      piVar3 = piVar3 + 3;
    } while (piVar1 != piVar3);
    *(int **)(param_1 + 0x20) = piVar2;
  }
  *(undefined4 *)(param_1 + 0x28) = 0;
  FUN_00347dc0();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x2a21d7
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [EBP + 0x2c]
LEA EDI,[EBP + 0x2c]
CMP ESI,EDI
JZ 0x00347e74
MOV EAX,dword ptr [ESI + 0x8]
TEST EAX,EAX
JZ 0x00347e53
SUB ESP,0xc
PUSH EAX
CALL 0x003ae020
ADD ESP,0x10
MOV ESI,dword ptr [ESI]
CMP ESI,EDI
JNZ 0x00347e40
MOV EAX,dword ptr [EBP + 0x2c]
CMP EAX,EDI
JZ 0x00347e74
SUB ESP,0xc
MOV ESI,dword ptr [EAX]
PUSH EAX
CALL 0x003ae080
MOV EAX,ESI
ADD ESP,0x10
CMP ESI,EDI
JNZ 0x00347e60
MOV EAX,dword ptr [EBP + 0x1c]
MOV ESI,dword ptr [EBP + 0x20]
MOV dword ptr [EBP + 0x30],EDI
MOV dword ptr [EBP + 0x2c],EDI
MOV dword ptr [EBP + 0x34],0x0
MOV EDI,EAX
MOV dword ptr [ESP + 0xc],EAX
CMP EAX,ESI
JZ 0x00347eb8
LEA ESI,[ESI]
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00347eaa
SUB ESP,0xc
PUSH EAX
CALL 0x003ae080
ADD ESP,0x10
ADD EDI,0xc
CMP ESI,EDI
JNZ 0x00347e98
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EBP + 0x20],EAX
MOV dword ptr [EBP + 0x28],0x0
MOV dword ptr [ESP + 0x30],EBP
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00347dc0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00347e20(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}\n\n" comment (function_definition "void FUN_00347e20(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}" primitive_type (function_declarator "FUN_00347e20(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x2c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x2c)" identifier = (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "piVar3 = (int *)(param_1 + 0x2c);" (assignment_expression "piVar3 = (int *)(param_1 + 0x2c)" identifier = (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ;) (if_statement "if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }" if (parenthesized_expression "(piVar2 != piVar3)" ( (binary_expression "piVar2 != piVar3" identifier != identifier) )) (compound_statement "{\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }" { (do_statement "do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);" do (compound_statement "{\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    }" { (if_statement "if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }" if (parenthesized_expression "(piVar2[2] != 0)" ( (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_003ae020(piVar2[2]);\n      }" { (expression_statement "FUN_003ae020(piVar2[2]);" (call_expression "FUN_003ae020(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) while (parenthesized_expression "(piVar2 != piVar3)" ( (binary_expression "piVar2 != piVar3" identifier != identifier) )) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x2c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x2c)" identifier = (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (while_statement "while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }" while (parenthesized_expression "(piVar2 != piVar3)" ( (binary_expression "piVar2 != piVar3" identifier != identifier) )) (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }" { (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "FUN_003ae080(piVar2);" (call_expression "FUN_003ae080(piVar2)" identifier (argument_list "(piVar2)" ( identifier ))) ;) (expression_statement "piVar2 = piVar1;" (assignment_expression "piVar2 = piVar1" identifier = identifier) ;) })) })) (expression_statement "piVar2 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x20)" identifier = (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_1 + 0x30) = piVar3;" (assignment_expression "*(int **)(param_1 + 0x30) = piVar3" (pointer_expression "*(int **)(param_1 + 0x30)" * (cast_expression "(int **)(param_1 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(param_1 + 0x2c) = piVar3;" (assignment_expression "*(int **)(param_1 + 0x2c) = piVar3" (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }" if (parenthesized_expression "(piVar2 != piVar1)" ( (binary_expression "piVar2 != piVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }" { (do_statement "do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);" do (compound_statement "{\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    }" { (if_statement "if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n        FUN_003ae080(*piVar3);\n      }" { (expression_statement "FUN_003ae080(*piVar3);" (call_expression "FUN_003ae080(*piVar3)" identifier (argument_list "(*piVar3)" ( (pointer_expression "*piVar3" * identifier) ))) ;) })) (expression_statement "piVar3 = piVar3 + 3;" (assignment_expression "piVar3 = piVar3 + 3" identifier = (binary_expression "piVar3 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar1 != piVar3)" ( (binary_expression "piVar1 != piVar3" identifier != identifier) )) ;) (expression_statement "*(int **)(param_1 + 0x20) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x20) = piVar2" (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00347dc0();" (call_expression "FUN_00347dc0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void clear(Stringpool_template<char> * this) */\n\nvoid __thiscall gold::Stringpool_template<char>::clear(Stringpool_template<char> *this)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall gold::Stringpool_template<char>::clear(Stringpool_template<char> *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Stringpool_template<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "clear(Stringpool_template<char> *this)" identifier (parameter_list "(Stringpool_template<char> *this)" ( (parameter_declaration "Stringpool_template<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_00347e20(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}\n\n" (function_definition "void FUN_00347e20(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}" primitive_type (function_declarator "FUN_00347e20(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x2c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x2c)" identifier = (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "piVar3 = (int *)(param_1 + 0x2c);" (assignment_expression "piVar3 = (int *)(param_1 + 0x2c)" identifier = (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) ;) (if_statement "if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }" if (parenthesized_expression "(piVar2 != piVar3)" ( (binary_expression "piVar2 != piVar3" identifier != identifier) )) (compound_statement "{\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }" { (do_statement "do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);" do (compound_statement "{\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    }" { (if_statement "if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }" if (parenthesized_expression "(piVar2[2] != 0)" ( (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_003ae020(piVar2[2]);\n      }" { (expression_statement "FUN_003ae020(piVar2[2]);" (call_expression "FUN_003ae020(piVar2[2])" identifier (argument_list "(piVar2[2])" ( (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) })) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) while (parenthesized_expression "(piVar2 != piVar3)" ( (binary_expression "piVar2 != piVar3" identifier != identifier) )) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x2c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x2c)" identifier = (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (while_statement "while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }" while (parenthesized_expression "(piVar2 != piVar3)" ( (binary_expression "piVar2 != piVar3" identifier != identifier) )) (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }" { (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "FUN_003ae080(piVar2);" (call_expression "FUN_003ae080(piVar2)" identifier (argument_list "(piVar2)" ( identifier ))) ;) (expression_statement "piVar2 = piVar1;" (assignment_expression "piVar2 = piVar1" identifier = identifier) ;) })) })) (expression_statement "piVar2 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x1c)" identifier = (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x20)" identifier = (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(int **)(param_1 + 0x30) = piVar3;" (assignment_expression "*(int **)(param_1 + 0x30) = piVar3" (pointer_expression "*(int **)(param_1 + 0x30)" * (cast_expression "(int **)(param_1 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(param_1 + 0x2c) = piVar3;" (assignment_expression "*(int **)(param_1 + 0x2c) = piVar3" (pointer_expression "*(int **)(param_1 + 0x2c)" * (cast_expression "(int **)(param_1 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }" if (parenthesized_expression "(piVar2 != piVar1)" ( (binary_expression "piVar2 != piVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }" { (do_statement "do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);" do (compound_statement "{\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    }" { (if_statement "if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n        FUN_003ae080(*piVar3);\n      }" { (expression_statement "FUN_003ae080(*piVar3);" (call_expression "FUN_003ae080(*piVar3)" identifier (argument_list "(*piVar3)" ( (pointer_expression "*piVar3" * identifier) ))) ;) })) (expression_statement "piVar3 = piVar3 + 3;" (assignment_expression "piVar3 = piVar3 + 3" identifier = (binary_expression "piVar3 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar1 != piVar3)" ( (binary_expression "piVar1 != piVar3" identifier != identifier) )) ;) (expression_statement "*(int **)(param_1 + 0x20) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x20) = piVar2" (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00347dc0();" (call_expression "FUN_00347dc0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00347e20(int param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00347e20(int param_1)" (identifier "FUN_00347e20") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  \n  piVar2 = *(int **)(param_1 + 0x2c);\n  piVar3 = (int *)(param_1 + 0x2c);\n  if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }\n  piVar2 = *(int **)(param_1 + 0x1c);\n  piVar1 = *(int **)(param_1 + 0x20);\n  *(int **)(param_1 + 0x30) = piVar3;\n  *(int **)(param_1 + 0x2c) = piVar3;\n  *(undefined4 *)(param_1 + 0x34) = 0;\n  piVar3 = piVar2;\n  if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }\n  *(undefined4 *)(param_1 + 0x28) = 0;\n  FUN_00347dc0();\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0x2c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x2c)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x2c)" (* "*") (cast_expression "(int **)(param_1 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "piVar3 = (int *)(param_1 + 0x2c);" (assignment_expression "piVar3 = (int *)(param_1 + 0x2c)" (identifier "piVar3") (= "=") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (; ";")) (if_statement "if (piVar2 != piVar3) {\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }" (if "if") (parenthesized_expression "(piVar2 != piVar3)" (( "(") (binary_expression "piVar2 != piVar3" (identifier "piVar2") (!= "!=") (identifier "piVar3")) () ")")) (compound_statement "{\n    do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);\n    piVar2 = *(int **)(param_1 + 0x2c);\n    while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }\n  }" ({ "{") (do_statement "do {\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    } while (piVar2 != piVar3);" (do "do") (compound_statement "{\n      if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }\n      piVar2 = (int *)*piVar2;\n    }" ({ "{") (if_statement "if (piVar2[2] != 0) {\n        FUN_003ae020(piVar2[2]);\n      }" (if "if") (parenthesized_expression "(piVar2[2] != 0)" (( "(") (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_003ae020(piVar2[2]);\n      }" ({ "{") (expression_statement "FUN_003ae020(piVar2[2]);" (call_expression "FUN_003ae020(piVar2[2])" (identifier "FUN_003ae020") (argument_list "(piVar2[2])" (( "(") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar2 != piVar3)" (( "(") (binary_expression "piVar2 != piVar3" (identifier "piVar2") (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0x2c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x2c)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x2c)" (* "*") (cast_expression "(int **)(param_1 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (while_statement "while (piVar2 != piVar3) {\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }" (while "while") (parenthesized_expression "(piVar2 != piVar3)" (( "(") (binary_expression "piVar2 != piVar3" (identifier "piVar2") (!= "!=") (identifier "piVar3")) () ")")) (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      FUN_003ae080(piVar2);\n      piVar2 = piVar1;\n    }" ({ "{") (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (expression_statement "FUN_003ae080(piVar2);" (call_expression "FUN_003ae080(piVar2)" (identifier "FUN_003ae080") (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (expression_statement "piVar2 = piVar1;" (assignment_expression "piVar2 = piVar1" (identifier "piVar2") (= "=") (identifier "piVar1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar2 = *(int **)(param_1 + 0x1c);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x1c)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 0x20);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x20)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(int **)(param_1 + 0x30) = piVar3;" (assignment_expression "*(int **)(param_1 + 0x30) = piVar3" (pointer_expression "*(int **)(param_1 + 0x30)" (* "*") (cast_expression "(int **)(param_1 + 0x30)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "*(int **)(param_1 + 0x2c) = piVar3;" (assignment_expression "*(int **)(param_1 + 0x2c) = piVar3" (pointer_expression "*(int **)(param_1 + 0x2c)" (* "*") (cast_expression "(int **)(param_1 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x34) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x34) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" (identifier "piVar3") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (piVar2 != piVar1) {\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }" (if "if") (parenthesized_expression "(piVar2 != piVar1)" (( "(") (binary_expression "piVar2 != piVar1" (identifier "piVar2") (!= "!=") (identifier "piVar1")) () ")")) (compound_statement "{\n    do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);\n    *(int **)(param_1 + 0x20) = piVar2;\n  }" ({ "{") (do_statement "do {\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar1 != piVar3);" (do "do") (compound_statement "{\n      if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }\n      piVar3 = piVar3 + 3;\n    }" ({ "{") (if_statement "if (*piVar3 != 0) {\n        FUN_003ae080(*piVar3);\n      }" (if "if") (parenthesized_expression "(*piVar3 != 0)" (( "(") (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_003ae080(*piVar3);\n      }" ({ "{") (expression_statement "FUN_003ae080(*piVar3);" (call_expression "FUN_003ae080(*piVar3)" (identifier "FUN_003ae080") (argument_list "(*piVar3)" (( "(") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar3 = piVar3 + 3;" (assignment_expression "piVar3 = piVar3 + 3" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 3" (identifier "piVar3") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != piVar3)" (( "(") (binary_expression "piVar1 != piVar3" (identifier "piVar1") (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (expression_statement "*(int **)(param_1 + 0x20) = piVar2;" (assignment_expression "*(int **)(param_1 + 0x20) = piVar2" (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "piVar2")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00347dc0();" (call_expression "FUN_00347dc0()" (identifier "FUN_00347dc0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void clear(Stringpool_template<char> * this) */

void __thiscall gold::type_1<char>::function_1(type_1<char> *this)

{
}


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

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

void MASKED(int param_1)

{
  int *piVar1;
  int *piVar2;
  int *piVar3;
  
  piVar2 = *(int **)(param_1 + 0x2c);
  piVar3 = (int *)(param_1 + 0x2c);
  if (piVar2 != piVar3) {
    do {
      if (piVar2[2] != 0) {
        FUN_003ae020(piVar2[2]);
      }
      piVar2 = (int *)*piVar2;
    } while (piVar2 != piVar3);
    piVar2 = *(int **)(param_1 + 0x2c);
    while (piVar2 != piVar3) {
      piVar1 = (int *)*piVar2;
      FUN_003ae080(piVar2);
      piVar2 = piVar1;
    }
  }
  piVar2 = *(int **)(param_1 + 0x1c);
  piVar1 = *(int **)(param_1 + 0x20);
  *(int **)(param_1 + 0x30) = piVar3;
  *(int **)(param_1 + 0x2c) = piVar3;
  *(undefined4 *)(param_1 + 0x34) = 0;
  piVar3 = piVar2;
  if (piVar2 != piVar1) {
    do {
      if (*piVar3 != 0) {
        FUN_003ae080(*piVar3);
      }
      piVar3 = piVar3 + 3;
    } while (piVar1 != piVar3);
    *(int **)(param_1 + 0x20) = piVar2;
  }
  *(undefined4 *)(param_1 + 0x28) = 0;
  FUN_00347dc0();
  return;
}

