
/* 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)

{
  long lVar1;
  long *plVar2;
  
  lVar1 = *(long *)(*(long *)param_1 + -0x18);
  if (param_1[lVar1 + 0xe4] != (wistream)0x0) {
    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;
    return param_1;
  }
  plVar2 = *(long **)(param_1 + lVar1 + 0xf0);
  if (plVar2 != (long *)0x0) {
    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);
    param_1[lVar1 + 0xe4] = (wistream)0x1;
    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  __throw_bad_cast();
}



long * FUN_00314d10(long *param_1,undefined4 param_2)

{
  long lVar1;
  long *plVar2;
  
  lVar1 = *(long *)(*param_1 + -0x18);
  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {
    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;
    return param_1;
  }
  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);
  if (plVar2 != (long *)0x0) {
    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);
    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;
    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0032e740();
}


PUSH R12
MOV R12D,ESI
PUSH RBP
PUSH RBX
MOV RAX,qword ptr [RDI]
MOV RBX,RDI
MOV RBP,qword ptr [RAX + -0x18]
ADD RBP,RDI
CMP byte ptr [RBP + 0xe4],0x0
JZ 0x00314d40
MOV dword ptr [RBP + 0xe0],R12D
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
MOV RDI,qword ptr [RBP + 0xf0]
TEST RDI,RDI
JZ 0x00314d6d
MOV RAX,qword ptr [RDI]
MOV ESI,0x20
CALL qword ptr [RAX + 0x50]
MOV byte ptr [RBP + 0xe4],0x1
MOV RAX,RBX
MOV dword ptr [RBP + 0xe0],R12D
POP RBX
POP RBP
POP R12
RET
CALL 0x0032e740
(translation_unit "long * FUN_00314d10(long *param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0032e740();\n}\n\n" (function_definition "long * FUN_00314d10(long *param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0032e740();\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_00314d10(long *param_1,undefined4 param_2)" * (function_declarator "FUN_00314d10(long *param_1,undefined4 param_2)" identifier (parameter_list "(long *param_1,undefined4 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0032e740();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "lVar1 = *(long *)(*param_1 + -0x18);" (assignment_expression "lVar1 = *(long *)(*param_1 + -0x18)" identifier = (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + lVar1 + 0xe4) != '\0')" ( (binary_expression "*(char *)((long)param_1 + lVar1 + 0xe4) != '\0'" (pointer_expression "*(char *)((long)param_1 + lVar1 + 0xe4)" * (cast_expression "(char *)((long)param_1 + lVar1 + 0xe4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe4)" ( (binary_expression "(long)param_1 + lVar1 + 0xe4" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" { (expression_statement "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0)" * (cast_expression "(undefined4 *)((long)param_1 + lVar1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe0)" ( (binary_expression "(long)param_1 + lVar1 + 0xe0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);" (assignment_expression "plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0)" identifier = (pointer_expression "*(long **)((long)param_1 + lVar1 + 0xf0)" * (cast_expression "(long **)((long)param_1 + lVar1 + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xf0)" ( (binary_expression "(long)param_1 + lVar1 + 0xf0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" { (expression_statement "(**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" ( (pointer_expression "**(code **)(*plVar2 + 0x50)" * (pointer_expression "*(code **)(*plVar2 + 0x50)" * (cast_expression "(code **)(*plVar2 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x50)" ( (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + lVar1 + 0xe4)" * (cast_expression "(undefined1 *)((long)param_1 + lVar1 + 0xe4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe4)" ( (binary_expression "(long)param_1 + lVar1 + 0xe4" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0)" * (cast_expression "(undefined4 *)((long)param_1 + lVar1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe0)" ( (binary_expression "(long)param_1 + lVar1 + 0xe0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "FUN_0032e740();" (call_expression "FUN_0032e740()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* 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  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*(long *)param_1 + -0x18);\n  if (param_1[lVar1 + 0xe4] != (wistream)0x0) {\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)(param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    param_1[lVar1 + 0xe4] = (wistream)0x1;\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}\n\n" 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  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*(long *)param_1 + -0x18);\n  if (param_1[lVar1 + 0xe4] != (wistream)0x0) {\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)(param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    param_1[lVar1 + 0xe4] = (wistream)0x1;\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "lVar1 = *(long *)(*(long *)param_1 + -0x18);" (assignment_expression "lVar1 = *(long *)(*(long *)param_1 + -0x18)" identifier = (pointer_expression "*(long *)(*(long *)param_1 + -0x18)" * (cast_expression "(long *)(*(long *)param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)param_1 + -0x18)" ( (binary_expression "*(long *)param_1 + -0x18" (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (param_1[lVar1 + 0xe4] != (wistream)0x0) {\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(param_1[lVar1 + 0xe4] != (wistream)0x0)" ( (binary_expression "param_1[lVar1 + 0xe4] != (wistream)0x0" (subscript_expression "param_1[lVar1 + 0xe4]" identifier [ (binary_expression "lVar1 + 0xe4" identifier + number_literal) ]) != (cast_expression "(wistream)0x0" ( (type_descriptor "wistream" type_identifier) ) number_literal)) )) (compound_statement "{\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" { (expression_statement "*(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)(param_1 + lVar1 + 0xe0)" * (cast_expression "(undefined4 *)(param_1 + lVar1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1 + 0xe0)" ( (binary_expression "param_1 + lVar1 + 0xe0" (binary_expression "param_1 + lVar1" identifier + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "plVar2 = *(long **)(param_1 + lVar1 + 0xf0);" (assignment_expression "plVar2 = *(long **)(param_1 + lVar1 + 0xf0)" identifier = (pointer_expression "*(long **)(param_1 + lVar1 + 0xf0)" * (cast_expression "(long **)(param_1 + lVar1 + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + lVar1 + 0xf0)" ( (binary_expression "param_1 + lVar1 + 0xf0" (binary_expression "param_1 + lVar1" identifier + identifier) + number_literal) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    param_1[lVar1 + 0xe4] = (wistream)0x1;\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    param_1[lVar1 + 0xe4] = (wistream)0x1;\n    *(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" { (expression_statement "(**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" ( (pointer_expression "**(code **)(*plVar2 + 0x50)" * (pointer_expression "*(code **)(*plVar2 + 0x50)" * (cast_expression "(code **)(*plVar2 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x50)" ( (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal ))) ;) (expression_statement "param_1[lVar1 + 0xe4] = (wistream)0x1;" (assignment_expression "param_1[lVar1 + 0xe4] = (wistream)0x1" (subscript_expression "param_1[lVar1 + 0xe4]" identifier [ (binary_expression "lVar1 + 0xe4" identifier + number_literal) ]) = (cast_expression "(wistream)0x1" ( (type_descriptor "wistream" type_identifier) ) number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)(param_1 + lVar1 + 0xe0)" * (cast_expression "(undefined4 *)(param_1 + lVar1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1 + 0xe0)" ( (binary_expression "param_1 + lVar1 + 0xe0" (binary_expression "param_1 + lVar1" 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 "long * FUN_00314d10(long *param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    \n  FUN_0032e740();\n}\n\n" (function_definition "long * FUN_00314d10(long *param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    \n  FUN_0032e740();\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_00314d10(long *param_1,undefined4 param_2)" * (function_declarator "FUN_00314d10(long *param_1,undefined4 param_2)" identifier (parameter_list "(long *param_1,undefined4 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    \n  FUN_0032e740();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "lVar1 = *(long *)(*param_1 + -0x18);" (assignment_expression "lVar1 = *(long *)(*param_1 + -0x18)" identifier = (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + lVar1 + 0xe4) != '\0')" ( (binary_expression "*(char *)((long)param_1 + lVar1 + 0xe4) != '\0'" (pointer_expression "*(char *)((long)param_1 + lVar1 + 0xe4)" * (cast_expression "(char *)((long)param_1 + lVar1 + 0xe4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe4)" ( (binary_expression "(long)param_1 + lVar1 + 0xe4" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" { (expression_statement "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0)" * (cast_expression "(undefined4 *)((long)param_1 + lVar1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe0)" ( (binary_expression "(long)param_1 + lVar1 + 0xe0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);" (assignment_expression "plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0)" identifier = (pointer_expression "*(long **)((long)param_1 + lVar1 + 0xf0)" * (cast_expression "(long **)((long)param_1 + lVar1 + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xf0)" ( (binary_expression "(long)param_1 + lVar1 + 0xf0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" { (expression_statement "(**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" ( (pointer_expression "**(code **)(*plVar2 + 0x50)" * (pointer_expression "*(code **)(*plVar2 + 0x50)" * (cast_expression "(code **)(*plVar2 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x50)" ( (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + lVar1 + 0xe4)" * (cast_expression "(undefined1 *)((long)param_1 + lVar1 + 0xe4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe4)" ( (binary_expression "(long)param_1 + lVar1 + 0xe4" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0)" * (cast_expression "(undefined4 *)((long)param_1 + lVar1 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + lVar1 + 0xe0)" ( (binary_expression "(long)param_1 + lVar1 + 0xe0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_0032e740();" (call_expression "FUN_0032e740()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 (sized_type_specifier long)) ) 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 (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (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 (sized_type_specifier long)) ) 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 (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "long * FUN_00314d10(long *param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    \n  FUN_0032e740();\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_00314d10(long *param_1,undefined4 param_2)" (* "*") (function_declarator "FUN_00314d10(long *param_1,undefined4 param_2)" (identifier "FUN_00314d10") (parameter_list "(long *param_1,undefined4 param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")")))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  lVar1 = *(long *)(*param_1 + -0x18);\n  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);\n  if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }\n                    \n  FUN_0032e740();\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (expression_statement "lVar1 = *(long *)(*param_1 + -0x18);" (assignment_expression "lVar1 = *(long *)(*param_1 + -0x18)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(*param_1 + -0x18)" (* "*") (cast_expression "(long *)(*param_1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0x18)" (( "(") (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (if_statement "if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(char *)((long)param_1 + lVar1 + 0xe4) != '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + lVar1 + 0xe4) != '\0'" (pointer_expression "*(char *)((long)param_1 + lVar1 + 0xe4)" (* "*") (cast_expression "(char *)((long)param_1 + lVar1 + 0xe4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + lVar1 + 0xe4)" (( "(") (binary_expression "(long)param_1 + lVar1 + 0xe4" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (identifier "lVar1")) (+ "+") (number_literal "0xe4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" ({ "{") (expression_statement "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + lVar1 + 0xe0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + lVar1 + 0xe0)" (( "(") (binary_expression "(long)param_1 + lVar1 + 0xe0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (identifier "lVar1")) (+ "+") (number_literal "0xe0")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);" (assignment_expression "plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)((long)param_1 + lVar1 + 0xf0)" (* "*") (cast_expression "(long **)((long)param_1 + lVar1 + 0xf0)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)param_1 + lVar1 + 0xf0)" (( "(") (binary_expression "(long)param_1 + lVar1 + 0xf0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (identifier "lVar1")) (+ "+") (number_literal "0xf0")) () ")"))))) (; ";")) (if_statement "if (plVar2 != (long *)0x0) {\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(plVar2 != (long *)0x0)" (( "(") (binary_expression "plVar2 != (long *)0x0" (identifier "plVar2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;\n    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;\n    return param_1;\n  }" ({ "{") (expression_statement "(**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" (( "(") (pointer_expression "**(code **)(*plVar2 + 0x50)" (* "*") (pointer_expression "*(code **)(*plVar2 + 0x50)" (* "*") (cast_expression "(code **)(*plVar2 + 0x50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 0x50)" (( "(") (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (argument_list "(plVar2,0x20)" (( "(") (identifier "plVar2") (, ",") (number_literal "0x20") () ")"))) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + lVar1 + 0xe4)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + lVar1 + 0xe4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + lVar1 + 0xe4)" (( "(") (binary_expression "(long)param_1 + lVar1 + 0xe4" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (identifier "lVar1")) (+ "+") (number_literal "0xe4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;" (assignment_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2" (pointer_expression "*(undefined4 *)((long)param_1 + lVar1 + 0xe0)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + lVar1 + 0xe0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + lVar1 + 0xe0)" (( "(") (binary_expression "(long)param_1 + lVar1 + 0xe0" (binary_expression "(long)param_1 + lVar1" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (identifier "lVar1")) (+ "+") (number_literal "0xe0")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_0032e740();" (call_expression "FUN_0032e740()" (identifier "FUN_0032e740") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* 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)

{
  long var_1;
  long *var_3;
  
  var_1 = *(long *)(*(long *)var_2 + -0x18);
  if (var_2[var_1 + 0xe4] != (type_1)0x0) {
    *(type_2 *)(var_2 + var_1 + 0xe0) = param_2;
    return var_2;
  }
  var_3 = *(long **)(var_2 + var_1 + 0xf0);
  if (var_3 != (long *)0x0) {
    (**(type_3 **)(*var_3 + 0x50))(var_3,0x20);
    var_2[var_1 + 0xe4] = (type_1)0x1;
    *(type_2 *)(var_2 + var_1 + 0xe0) = param_2;
    return var_2;
  }
                    /* WARNING: Subroutine does not return */
  var_4();
}


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

long * MASKED(long *param_1,undefined4 param_2)

{
  long lVar1;
  long *plVar2;
  
  lVar1 = *(long *)(*param_1 + -0x18);
  if (*(char *)((long)param_1 + lVar1 + 0xe4) != '\0') {
    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;
    return param_1;
  }
  plVar2 = *(long **)((long)param_1 + lVar1 + 0xf0);
  if (plVar2 != (long *)0x0) {
    (**(code **)(*plVar2 + 0x50))(plVar2,0x20);
    *(undefined1 *)((long)param_1 + lVar1 + 0xe4) = 1;
    *(undefined4 *)((long)param_1 + lVar1 + 0xe0) = param_2;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0032e740();
}

