
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   _M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>
   * this, _Link_type __x) */

void __thiscall
std::
_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>
::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>
           *this,_Link_type __x)

{
  _Link_type p_Var1;
  
  if (__x != (_Link_type)0x0) {
    do {
      _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);
      p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;
      operator_delete(__x);
      __x = p_Var1;
    } while (p_Var1 != (_Link_type)0x0);
  }
  return;
}



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

void FUN_000bfda0(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    do {
      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));
      iVar1 = *(int *)(param_2 + 8);
      FUN_001e6db0(param_2);
      param_2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2cf257
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x24]
MOV EBP,dword ptr [ESP + 0x20]
TEST ESI,ESI
JZ 0x000bfdde
SUB ESP,0x8
PUSH dword ptr [ESI + 0xc]
PUSH EBP
CALL 0x000bfda0
MOV EDI,dword ptr [ESI + 0x8]
MOV dword ptr [ESP],ESI
CALL 0x001e6db0
ADD ESP,0x10
MOV ESI,EDI
TEST EDI,EDI
JNZ 0x000bfdbe
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000bfda0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000bfda0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000bfda0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    }" { (expression_statement "FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));" (call_expression "FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 8);" (assignment_expression "iVar1 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "FUN_001e6db0(param_2);" (call_expression "FUN_001e6db0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "param_2 = iVar1;" (assignment_expression "param_2 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (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\n   _M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n   * this, _Link_type __x) */\n\nvoid __thiscall\nstd::\n_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n           *this,_Link_type __x)\n\n{\n  _Link_type p_Var1;\n  \n  if (__x != (_Link_type)0x0) {\n    do {\n      _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n      p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n      operator_delete(__x);\n      __x = p_Var1;\n    } while (p_Var1 != (_Link_type)0x0);\n  }\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::\n_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n           *this,_Link_type __x)\n\n{\n  _Link_type p_Var1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Rb_tree<" identifier : : identifier <) identifier , (ERROR "_std::pair<" identifier : : identifier <) identifier , (ERROR "_gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::" identifier > : :) identifier (ERROR ">" >) , (ERROR "_std::_Select1st<std::pair<" identifier : : identifier < identifier : : identifier <) identifier , (ERROR "_gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::Kept_comdat_section>" identifier > : : identifier >) identifier (ERROR ">" >) , (ERROR "_std::less<" identifier : : identifier <) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::pair<" identifier : : identifier < identifier : : identifier <) identifier , (ERROR "_gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::Kept_comdat_section>_>_>\n::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n           *this,_Link_type __x)\n\n{\n  _Link_type" identifier > : : identifier > identifier > identifier > : : (function_declarator "_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n           *this,_Link_type __x)" identifier (parameter_list "(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>\n           *this,_Link_type __x)" ( (parameter_declaration "_Rb_tree<unsigned_int" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "_std::pair<unsigned_int_const" type_identifier (ERROR "::pair<" : : identifier <) identifier) , (parameter_declaration "_gold::Sized_relobj_file" type_identifier (ERROR "::" : :) identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false>::Kept_comdat_section" type_identifier (ERROR ">::" > : :) identifier) (ERROR ">" >) , (parameter_declaration "_std::_Select1st<std::pair<unsigned_int_const" type_identifier (ERROR "::_Select1st<std::pair<" : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_gold::Sized_relobj_file" type_identifier (ERROR "::" : :) identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false>::Kept_comdat_section>_" type_identifier (ERROR ">::Kept_comdat_section>" > : : identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::less<unsigned_int" type_identifier (ERROR "::less<" : : identifier <) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<unsigned_int_const" type_identifier (ERROR "::allocator<std::pair<" : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_gold::Sized_relobj_file" type_identifier (ERROR "::" : :) identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false>::Kept_comdat_section>_>_>\n           *this" type_identifier (ERROR ">::Kept_comdat_section>_>_>" > : : identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "_Link_type __x" type_identifier identifier) ))) { identifier) identifier ;) (if_statement "if (__x != (_Link_type)0x0) {\n    do {\n      _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n      p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n      operator_delete(__x);\n      __x = p_Var1;\n    } while (p_Var1 != (_Link_type)0x0);\n  }" if (parenthesized_expression "(__x != (_Link_type)0x0)" ( (binary_expression "__x != (_Link_type)0x0" identifier != (cast_expression "(_Link_type)0x0" ( (type_descriptor "_Link_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    do {\n      _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n      p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n      operator_delete(__x);\n      __x = p_Var1;\n    } while (p_Var1 != (_Link_type)0x0);\n  }" { (do_statement "do {\n      _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n      p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n      operator_delete(__x);\n      __x = p_Var1;\n    } while (p_Var1 != (_Link_type)0x0);" do (compound_statement "{\n      _M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);\n      p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;\n      operator_delete(__x);\n      __x = p_Var1;\n    }" { (expression_statement "_M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right);" (call_expression "_M_erase(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right)" identifier (argument_list "(this,(_Link_type)(__x->super__Rb_tree_node_base)._M_right)" ( identifier , (field_expression "(_Link_type)(__x->super__Rb_tree_node_base)._M_right" (call_expression "(_Link_type)(__x->super__Rb_tree_node_base)" (parenthesized_expression "(_Link_type)" ( identifier )) (argument_list "(__x->super__Rb_tree_node_base)" ( (field_expression "__x->super__Rb_tree_node_base" identifier -> field_identifier) ))) . field_identifier) ))) ;) (expression_statement "p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left;" (assignment_expression "p_Var1 = (_Link_type)(__x->super__Rb_tree_node_base)._M_left" identifier = (field_expression "(_Link_type)(__x->super__Rb_tree_node_base)._M_left" (call_expression "(_Link_type)(__x->super__Rb_tree_node_base)" (parenthesized_expression "(_Link_type)" ( identifier )) (argument_list "(__x->super__Rb_tree_node_base)" ( (field_expression "__x->super__Rb_tree_node_base" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "operator_delete(__x);" (call_expression "operator_delete(__x)" identifier (argument_list "(__x)" ( identifier ))) ;) (expression_statement "__x = p_Var1;" (assignment_expression "__x = p_Var1" identifier = identifier) ;) }) while (parenthesized_expression "(p_Var1 != (_Link_type)0x0)" ( (binary_expression "p_Var1 != (_Link_type)0x0" identifier != (cast_expression "(_Link_type)0x0" ( (type_descriptor "_Link_type" type_identifier) ) number_literal)) )) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_000bfda0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000bfda0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000bfda0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    }" { (expression_statement "FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));" (call_expression "FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 8);" (assignment_expression "iVar1 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "FUN_001e6db0(param_2);" (call_expression "FUN_001e6db0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "param_2 = iVar1;" (assignment_expression "param_2 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000bfda0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000bfda0(undefined4 param_1,int param_2)" (identifier "FUN_000bfda0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_2 != 0) {\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" ({ "{") (do_statement "do {\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_001e6db0(param_2);\n      param_2 = iVar1;\n    }" ({ "{") (expression_statement "FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc));" (call_expression "FUN_000bfda0(param_1,*(undefined4 *)(param_2 + 0xc))" (identifier "FUN_000bfda0") (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 8);" (assignment_expression "iVar1 = *(int *)(param_2 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "FUN_001e6db0(param_2);" (call_expression "FUN_001e6db0(param_2)" (identifier "FUN_001e6db0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "param_2 = iVar1;" (assignment_expression "param_2 = iVar1" (identifier "param_2") (= "=") (identifier "iVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void
   _M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>
   * this, _Link_type __x) */

void __thiscall
std::
_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>
::var_2(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>,_std::_Select1st<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_gold::Sized_relobj_file<64,_false>::Kept_comdat_section>_>_>
           *this,type_1 var_1)

{
  type_1 var_4;
  
  if (var_1 != (type_1)0x0) {
    do {
      var_2(this,(type_1)(var_1->super__Rb_tree_node_base)._M_right);
      var_4 = (type_1)(var_1->super__Rb_tree_node_base)._M_left;
      var_3(var_1);
      var_1 = var_4;
    } while (var_4 != (type_1)0x0);
  }
  return;
}


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

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

void MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    do {
      MASKED(param_1,*(undefined4 *)(param_2 + 0xc));
      iVar1 = *(int *)(param_2 + 8);
      FUN_001e6db0(param_2);
      param_2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}

