
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wistream& std::TEMPNAMEPLACEHOLDERVALUE(std::wistream&, std::_Setfill<wchar_t>) */

wistream * std::operator>>(wistream *param_1,undefined4 param_2)

{
  int iVar1;
  int *piVar2;
  
  iVar1 = *(int *)(*(int *)param_1 + -0xc);
  if (param_1[iVar1 + 0x78] != (wistream)0x0) {
    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;
    return param_1;
  }
  piVar2 = *(int **)(param_1 + iVar1 + 0x80);
  if (piVar2 != (int *)0x0) {
    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);
    param_1[iVar1 + 0x78] = (wistream)0x1;
    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  __throw_bad_cast();
}



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

int * FUN_001a93f0(int *param_1,undefined4 param_2)

{
  int iVar1;
  int *piVar2;
  
  iVar1 = *(int *)(*param_1 + -0xc);
  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {
    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;
    return param_1;
  }
  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);
  if (piVar2 != (int *)0x0) {
    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);
    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;
    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001c6020();
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00032730
ADD EBX,0x158c04
MOV EAX,dword ptr [ESI]
MOV EDI,dword ptr [EAX + -0xc]
ADD EDI,ESI
CMP byte ptr [EDI + 0x78],0x0
JZ 0x001a9420
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDI + 0x74],EAX
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
MOV EAX,dword ptr [EDI + 0x80]
TEST EAX,EAX
JZ 0x001a9449
SUB ESP,0x8
MOV EDX,dword ptr [EAX]
PUSH 0x20
PUSH EAX
CALL dword ptr [EDX + 0x28]
MOV EAX,dword ptr [ESP + 0x24]
MOV byte ptr [EDI + 0x78],0x1
ADD ESP,0x10
MOV dword ptr [EDI + 0x74],EAX
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
CALL 0x001c6020
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_001a93f0(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001c6020();\n}\n\n" comment (function_definition "int * FUN_001a93f0(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001c6020();\n}" primitive_type (pointer_declarator "* FUN_001a93f0(int *param_1,undefined4 param_2)" * (function_declarator "FUN_001a93f0(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001c6020();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "iVar1 = *(int *)(*param_1 + -0xc);" (assignment_expression "iVar1 = *(int *)(*param_1 + -0xc)" identifier = (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + iVar1 + 0x78) != '\0')" ( (binary_expression "*(char *)((int)param_1 + iVar1 + 0x78) != '\0'" (pointer_expression "*(char *)((int)param_1 + iVar1 + 0x78)" * (cast_expression "(char *)((int)param_1 + iVar1 + 0x78)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x78)" ( (binary_expression "(int)param_1 + iVar1 + 0x78" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" { (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74)" * (cast_expression "(undefined4 *)((int)param_1 + iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x74)" ( (binary_expression "(int)param_1 + iVar1 + 0x74" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);" (assignment_expression "piVar2 = *(int **)((int)param_1 + iVar1 + 0x80)" identifier = (pointer_expression "*(int **)((int)param_1 + iVar1 + 0x80)" * (cast_expression "(int **)((int)param_1 + iVar1 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x80)" ( (binary_expression "(int)param_1 + iVar1 + 0x80" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" { (expression_statement "(**(code **)(*piVar2 + 0x28))(piVar2,0x20);" (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,0x20)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" ( (pointer_expression "**(code **)(*piVar2 + 0x28)" * (pointer_expression "*(code **)(*piVar2 + 0x28)" * (cast_expression "(code **)(*piVar2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,0x20)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + iVar1 + 0x78)" * (cast_expression "(undefined1 *)((int)param_1 + iVar1 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x78)" ( (binary_expression "(int)param_1 + iVar1 + 0x78" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74)" * (cast_expression "(undefined4 *)((int)param_1 + iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x74)" ( (binary_expression "(int)param_1 + iVar1 + 0x74" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "FUN_001c6020();" (call_expression "FUN_001c6020()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::wistream& std::TEMPNAMEPLACEHOLDERVALUE(std::wistream&, std::_Setfill<wchar_t>) */\n\nwistream * std::operator>>(wistream *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*(int *)param_1 + -0xc);\n  if (param_1[iVar1 + 0x78] != (wistream)0x0) {\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)(param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    param_1[iVar1 + 0x78] = (wistream)0x1;\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}\n\n" comment comment comment (ERROR "wistream * std::operator>>(wistream *param_1,undefined4 param_2)" (binary_expression "wistream * std::operator>>(wistream *param_1,undefined4 param_2)" (binary_expression "wistream * std" identifier * identifier) (ERROR "::operator" : : identifier) >> (parenthesized_expression "(wistream *param_1,undefined4 param_2)" ( (comma_expression "wistream *param_1,undefined4" (binary_expression "wistream *param_1" identifier * identifier) , identifier) (ERROR "param_2" identifier) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*(int *)param_1 + -0xc);\n  if (param_1[iVar1 + 0x78] != (wistream)0x0) {\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)(param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    param_1[iVar1 + 0x78] = (wistream)0x1;\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "iVar1 = *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "iVar1 = *(int *)(*(int *)param_1 + -0xc)" identifier = (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (param_1[iVar1 + 0x78] != (wistream)0x0) {\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(param_1[iVar1 + 0x78] != (wistream)0x0)" ( (binary_expression "param_1[iVar1 + 0x78] != (wistream)0x0" (subscript_expression "param_1[iVar1 + 0x78]" identifier [ (binary_expression "iVar1 + 0x78" identifier + number_literal) ]) != (cast_expression "(wistream)0x0" ( (type_descriptor "wistream" type_identifier) ) number_literal)) )) (compound_statement "{\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" { (expression_statement "*(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)(param_1 + iVar1 + 0x74)" * (cast_expression "(undefined4 *)(param_1 + iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1 + 0x74)" ( (binary_expression "param_1 + iVar1 + 0x74" (binary_expression "param_1 + iVar1" identifier + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "piVar2 = *(int **)(param_1 + iVar1 + 0x80);" (assignment_expression "piVar2 = *(int **)(param_1 + iVar1 + 0x80)" identifier = (pointer_expression "*(int **)(param_1 + iVar1 + 0x80)" * (cast_expression "(int **)(param_1 + iVar1 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + iVar1 + 0x80)" ( (binary_expression "param_1 + iVar1 + 0x80" (binary_expression "param_1 + iVar1" identifier + identifier) + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    param_1[iVar1 + 0x78] = (wistream)0x1;\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    param_1[iVar1 + 0x78] = (wistream)0x1;\n    *(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" { (expression_statement "(**(code **)(*piVar2 + 0x28))(piVar2,0x20);" (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,0x20)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" ( (pointer_expression "**(code **)(*piVar2 + 0x28)" * (pointer_expression "*(code **)(*piVar2 + 0x28)" * (cast_expression "(code **)(*piVar2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,0x20)" ( identifier , number_literal ))) ;) (expression_statement "param_1[iVar1 + 0x78] = (wistream)0x1;" (assignment_expression "param_1[iVar1 + 0x78] = (wistream)0x1" (subscript_expression "param_1[iVar1 + 0x78]" identifier [ (binary_expression "iVar1 + 0x78" identifier + number_literal) ]) = (cast_expression "(wistream)0x1" ( (type_descriptor "wistream" type_identifier) ) number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)(param_1 + iVar1 + 0x74)" * (cast_expression "(undefined4 *)(param_1 + iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1 + 0x74)" ( (binary_expression "param_1 + iVar1 + 0x74" (binary_expression "param_1 + iVar1" identifier + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) }))
(translation_unit "int * FUN_001a93f0(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    \n  FUN_001c6020();\n}\n\n" (function_definition "int * FUN_001a93f0(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    \n  FUN_001c6020();\n}" primitive_type (pointer_declarator "* FUN_001a93f0(int *param_1,undefined4 param_2)" * (function_declarator "FUN_001a93f0(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    \n  FUN_001c6020();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "iVar1 = *(int *)(*param_1 + -0xc);" (assignment_expression "iVar1 = *(int *)(*param_1 + -0xc)" identifier = (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + iVar1 + 0x78) != '\0')" ( (binary_expression "*(char *)((int)param_1 + iVar1 + 0x78) != '\0'" (pointer_expression "*(char *)((int)param_1 + iVar1 + 0x78)" * (cast_expression "(char *)((int)param_1 + iVar1 + 0x78)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x78)" ( (binary_expression "(int)param_1 + iVar1 + 0x78" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" { (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74)" * (cast_expression "(undefined4 *)((int)param_1 + iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x74)" ( (binary_expression "(int)param_1 + iVar1 + 0x74" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);" (assignment_expression "piVar2 = *(int **)((int)param_1 + iVar1 + 0x80)" identifier = (pointer_expression "*(int **)((int)param_1 + iVar1 + 0x80)" * (cast_expression "(int **)((int)param_1 + iVar1 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x80)" ( (binary_expression "(int)param_1 + iVar1 + 0x80" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" { (expression_statement "(**(code **)(*piVar2 + 0x28))(piVar2,0x20);" (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,0x20)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" ( (pointer_expression "**(code **)(*piVar2 + 0x28)" * (pointer_expression "*(code **)(*piVar2 + 0x28)" * (cast_expression "(code **)(*piVar2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,0x20)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + iVar1 + 0x78)" * (cast_expression "(undefined1 *)((int)param_1 + iVar1 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x78)" ( (binary_expression "(int)param_1 + iVar1 + 0x78" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74)" * (cast_expression "(undefined4 *)((int)param_1 + iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + 0x74)" ( (binary_expression "(int)param_1 + iVar1 + 0x74" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_001c6020();" (call_expression "FUN_001c6020()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int * FUN_001a93f0(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    \n  FUN_001c6020();\n}" (primitive_type "int") (pointer_declarator "* FUN_001a93f0(int *param_1,undefined4 param_2)" (* "*") (function_declarator "FUN_001a93f0(int *param_1,undefined4 param_2)" (identifier "FUN_001a93f0") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")")))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = *(int *)(*param_1 + -0xc);\n  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);\n  if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }\n                    \n  FUN_001c6020();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "iVar1 = *(int *)(*param_1 + -0xc);" (assignment_expression "iVar1 = *(int *)(*param_1 + -0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (if_statement "if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + iVar1 + 0x78) != '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + iVar1 + 0x78) != '\0'" (pointer_expression "*(char *)((int)param_1 + iVar1 + 0x78)" (* "*") (cast_expression "(char *)((int)param_1 + iVar1 + 0x78)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar1 + 0x78)" (( "(") (binary_expression "(int)param_1 + iVar1 + 0x78" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "0x78")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" ({ "{") (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + iVar1 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar1 + 0x74)" (( "(") (binary_expression "(int)param_1 + iVar1 + 0x74" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "0x74")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);" (assignment_expression "piVar2 = *(int **)((int)param_1 + iVar1 + 0x80)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)((int)param_1 + iVar1 + 0x80)" (* "*") (cast_expression "(int **)((int)param_1 + iVar1 + 0x80)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + iVar1 + 0x80)" (( "(") (binary_expression "(int)param_1 + iVar1 + 0x80" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (piVar2 != (int *)0x0) {\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);\n    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;\n    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;\n    return param_1;\n  }" ({ "{") (expression_statement "(**(code **)(*piVar2 + 0x28))(piVar2,0x20);" (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,0x20)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x28)" (* "*") (cast_expression "(code **)(*piVar2 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x28)" (( "(") (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar2,0x20)" (( "(") (identifier "piVar2") (, ",") (number_literal "0x20") () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;" (assignment_expression "*(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1" (pointer_expression "*(undefined1 *)((int)param_1 + iVar1 + 0x78)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + iVar1 + 0x78)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar1 + 0x78)" (( "(") (binary_expression "(int)param_1 + iVar1 + 0x78" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "0x78")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + 0x74)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + iVar1 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar1 + 0x74)" (( "(") (binary_expression "(int)param_1 + iVar1 + 0x74" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "0x74")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_001c6020();" (call_expression "FUN_001c6020()" (identifier "FUN_001c6020") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wistream& std::TEMPNAMEPLACEHOLDERVALUE(std::wistream&, std::_Setfill<wchar_t>) */

type_1 * std::operator>>(type_1 *var_2,type_2 param_2)

{
  int var_1;
  int *var_3;
  
  var_1 = *(int *)(*(int *)var_2 + -0xc);
  if (var_2[var_1 + 0x78] != (type_1)0x0) {
    *(type_2 *)(var_2 + var_1 + 0x74) = param_2;
    return var_2;
  }
  var_3 = *(int **)(var_2 + var_1 + 0x80);
  if (var_3 != (int *)0x0) {
    (**(type_3 **)(*var_3 + 0x28))(var_3,0x20);
    var_2[var_1 + 0x78] = (type_1)0x1;
    *(type_2 *)(var_2 + var_1 + 0x74) = param_2;
    return var_2;
  }
                    /* WARNING: Subroutine does not return */
  var_4();
}


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

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

int * MASKED(int *param_1,undefined4 param_2)

{
  int iVar1;
  int *piVar2;
  
  iVar1 = *(int *)(*param_1 + -0xc);
  if (*(char *)((int)param_1 + iVar1 + 0x78) != '\0') {
    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;
    return param_1;
  }
  piVar2 = *(int **)((int)param_1 + iVar1 + 0x80);
  if (piVar2 != (int *)0x0) {
    (**(code **)(*piVar2 + 0x28))(piVar2,0x20);
    *(undefined1 *)((int)param_1 + iVar1 + 0x78) = 1;
    *(undefined4 *)((int)param_1 + iVar1 + 0x74) = param_2;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001c6020();
}

