
/* 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,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>
   * this, _Link_type __x) */

void __thiscall
std::
_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>
::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>
           *this,_Link_type __x)

{
}



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

void __regparm3 FUN_00170840(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    do {
      FUN_00170840();
      iVar1 = *(int *)(param_2 + 8);
      FUN_003ae080(param_2);
      param_2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x4797b7
SUB ESP,0xc
TEST EDX,EDX
JZ 0x00170879
MOV EBP,EAX
MOV ESI,EDX
MOV EDX,dword ptr [ESI + 0xc]
MOV EAX,EBP
CALL 0x00170840
SUB ESP,0xc
MOV EDI,dword ptr [ESI + 0x8]
PUSH ESI
MOV ESI,EDI
CALL 0x003ae080
ADD ESP,0x10
TEST EDI,EDI
JNZ 0x0017085a
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 __regparm3 FUN_00170840(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00170840(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00170840(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    }" { (expression_statement "FUN_00170840();" (call_expression "FUN_00170840()" identifier (argument_list "()" ( ))) ;) (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_003ae080(param_2);" (call_expression "FUN_003ae080(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,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n   * this, _Link_type __x) */\n\nvoid __thiscall\nstd::\n_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n           *this,_Link_type __x)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nstd::\n_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n           *this,_Link_type __x)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Rb_tree<" identifier : : identifier <) identifier , (ERROR "_std::pair<" identifier : : identifier <) identifier , (ERROR "_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>" (function_declarator "_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const" identifier (parameter_list "(anonymous_namespace)" ( (parameter_declaration "anonymous_namespace" type_identifier) )) (ERROR "::" : :) identifier (ERROR "<32," < number_literal ,) identifier (ERROR ">*>," > * > ,) identifier (ERROR "::" : :) identifier (ERROR "<" <) identifier (ERROR "::" : :) identifier (ERROR "<" <) identifier) , (function_declarator "_(anonymous_namespace)::Mips16_stub_section<32,_true" identifier (parameter_list "(anonymous_namespace)" ( (parameter_declaration "anonymous_namespace" type_identifier) )) (ERROR "::" : :) identifier (ERROR "<32," < number_literal ,) identifier) >) (pointer_declarator "*>_" * (ERROR ">" >) identifier) (ERROR ">" >) , (ERROR "_std::less<" identifier : : identifier <) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::pair<" identifier : : identifier < identifier : : identifier <) identifier , (function_declarator "_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n           *this,_Link_type __x)" identifier (parameter_list "(anonymous_namespace)" ( (parameter_declaration "anonymous_namespace" type_identifier) )) (ERROR "::" : :) identifier (ERROR "<32," < number_literal ,) identifier (ERROR ">*>" > * >) identifier (ERROR ">" >) identifier (ERROR ">\n::" > : :) (call_expression "_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n           *this,_Link_type __x)" identifier (argument_list "(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>\n           *this,_Link_type __x)" ( (binary_expression "_Rb_tree<unsigned_int" identifier < identifier) , (ERROR "_std::" identifier : :) (binary_expression "pair<unsigned_int_const" identifier < identifier) , (binary_expression "_(anonymous_namespace)::Mips16_stub_section<32" (call_expression "_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier ))) (ERROR "::Mips16_stub_section" : : identifier) < number_literal) , identifier (ERROR ">*>" > * >) , (ERROR "_std::" identifier : :) (binary_expression "_Select1st<std::pair<unsigned_int_const" (binary_expression "_Select1st<std::pair" identifier < (ERROR "std::" identifier : :) identifier) < identifier) , (binary_expression "_(anonymous_namespace)::Mips16_stub_section<32" (call_expression "_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier ))) (ERROR "::Mips16_stub_section" : : identifier) < number_literal) , (binary_expression "_true>*>_" identifier > (ERROR "*>" * >) identifier) (ERROR ">" >) , (ERROR "_std::less<unsigned_int>,_std::" identifier : : (binary_expression "less<unsigned_int>,_std" (binary_expression "less<unsigned_int" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<std::pair<unsigned_int_const" (binary_expression "allocator<std::pair" identifier < (ERROR "std::" identifier : :) identifier) < identifier) , (binary_expression "_(anonymous_namespace)::Mips16_stub_section<32" (call_expression "_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier ))) (ERROR "::Mips16_stub_section" : : identifier) < number_literal) , (binary_expression "_true>*>_>_>\n           *this" (binary_expression "_true>*>_>_" (binary_expression "_true>*>_" identifier > (ERROR "*>" * >) identifier) > identifier) (ERROR ">" >) * identifier) , identifier (ERROR "__x" identifier) ))))) (compound_statement "{\n}" { }))
(translation_unit "void __regparm3 FUN_00170840(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00170840(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00170840(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" do (compound_statement "{\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    }" { (expression_statement "FUN_00170840();" (call_expression "FUN_00170840()" identifier (argument_list "()" ( ))) ;) (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_003ae080(param_2);" (call_expression "FUN_003ae080(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 (ERROR IDENT) (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 ( ))) ;) (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 __regparm3 FUN_00170840(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 != 0) {\n    do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00170840(undefined4 param_1,int param_2)" (identifier "FUN_00170840") (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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(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_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);\n  }" ({ "{") (do_statement "do {\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      FUN_00170840();\n      iVar1 = *(int *)(param_2 + 8);\n      FUN_003ae080(param_2);\n      param_2 = iVar1;\n    }" ({ "{") (expression_statement "FUN_00170840();" (call_expression "FUN_00170840()" (identifier "FUN_00170840") (argument_list "()" (( "(") () ")"))) (; ";")) (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_003ae080(param_2);" (call_expression "FUN_003ae080(param_2)" (identifier "FUN_003ae080") (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,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>
   * this, _Link_type __x) */

void __thiscall
std::
_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>
::_M_erase(_Rb_tree<unsigned_int,_std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>,_std::_Select1st<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>,_std::less<unsigned_int>,_std::allocator<std::pair<unsigned_int_const,_(anonymous_namespace)::Mips16_stub_section<32,_true>*>_>_>
           *this,_Link_type __x)

{
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) 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))) (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 __regparm3 MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 != 0) {
    do {
      MASKED();
      iVar1 = *(int *)(param_2 + 8);
      FUN_003ae080(param_2);
      param_2 = iVar1;
    } while (iVar1 != 0);
  }
  return;
}

