
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::filebuf::_M_seek(long long, std::_Ios_Seekdir, __mbstate_t) */

undefined4 *
std::filebuf::_M_seek
          (undefined4 *param_1,filebuf *param_2,undefined4 param_3,undefined4 param_4,
          undefined4 param_5,undefined4 param_6,undefined4 param_7)

{
  undefined4 uVar1;
  char cVar2;
  longlong lVar3;
  
  *param_1 = 0xffffffff;
  param_1[1] = 0xffffffff;
  param_1[2] = 0;
  param_1[3] = 0;
  cVar2 = _M_terminate_output(param_2);
  if (cVar2 != '\0') {
    lVar3 = __basic_file<char>::seekoff(param_2 + 0x38,param_3,param_4,param_5);
    if (lVar3 != -1) {
      uVar1 = *(undefined4 *)(param_2 + 0x78);
      *param_1 = (int)lVar3;
      *(undefined2 *)(param_2 + 0x65) = 0;
      *(undefined4 *)(param_2 + 0x84) = uVar1;
      *(undefined4 *)(param_2 + 0x80) = uVar1;
      uVar1 = *(undefined4 *)(param_2 + 0x5c);
      *(undefined4 *)(param_2 + 0x14) = 0;
      *(undefined4 *)(param_2 + 4) = uVar1;
      *(undefined4 *)(param_2 + 8) = uVar1;
      *(undefined4 *)(param_2 + 0xc) = uVar1;
      *(undefined4 *)(param_2 + 0x10) = 0;
      *(undefined4 *)(param_2 + 0x18) = 0;
      *(undefined4 *)(param_2 + 0x4c) = param_6;
      *(undefined4 *)(param_2 + 0x50) = param_7;
      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);
      param_1[2] = param_6;
      param_1[3] = param_7;
      return param_1;
    }
  }
  return param_1;
}



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

undefined4 *
FUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7)

{
  undefined4 uVar1;
  char cVar2;
  longlong lVar3;
  
  *param_1 = 0xffffffff;
  param_1[1] = 0xffffffff;
  param_1[2] = 0;
  param_1[3] = 0;
  cVar2 = FUN_00213e00(param_2);
  if (cVar2 != '\0') {
    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);
    if (lVar3 != -1) {
      uVar1 = *(undefined4 *)(param_2 + 0x78);
      *param_1 = (int)lVar3;
      *(undefined2 *)(param_2 + 0x65) = 0;
      *(undefined4 *)(param_2 + 0x84) = uVar1;
      *(undefined4 *)(param_2 + 0x80) = uVar1;
      uVar1 = *(undefined4 *)(param_2 + 0x5c);
      *(undefined4 *)(param_2 + 0x14) = 0;
      *(undefined4 *)(param_2 + 4) = uVar1;
      *(undefined4 *)(param_2 + 8) = uVar1;
      *(undefined4 *)(param_2 + 0xc) = uVar1;
      *(undefined4 *)(param_2 + 0x10) = 0;
      *(undefined4 *)(param_2 + 0x18) = 0;
      *(undefined4 *)(param_2 + 0x4c) = param_6;
      *(undefined4 *)(param_2 + 0x50) = param_7;
      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);
      param_1[2] = param_6;
      param_1[3] = param_7;
      return param_1;
    }
  }
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x17b0c8
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x2c]
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x18],EDX
MOV dword ptr [EDI],0xffffffff
MOV dword ptr [EDI + 0x4],0xffffffff
MOV dword ptr [EDI + 0x8],0x0
MOV dword ptr [EDI + 0xc],0x0
PUSH ESI
CALL 0x00213e00
ADD ESP,0x10
TEST AL,AL
JNZ 0x00213f90
ADD ESP,0x10
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
RET 0x4
LEA EAX,[ESI + 0x38]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x10]
PUSH EAX
CALL 0x001e7770
ADD ESP,0x10
MOV EBX,EDX
AND EBX,EAX
CMP EBX,-0x1
JZ 0x00213f81
MOV EBX,dword ptr [ESI + 0x78]
XOR ECX,ECX
MOV dword ptr [EDI],EAX
MOV EAX,EDI
MOV word ptr [ESI + 0x65],CX
MOV ECX,dword ptr [ESP + 0x34]
MOV dword ptr [ESI + 0x84],EBX
MOV dword ptr [ESI + 0x80],EBX
MOV EBX,dword ptr [ESI + 0x5c]
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x4],EBX
MOV dword ptr [ESI + 0x8],EBX
MOV dword ptr [ESI + 0xc],EBX
MOV EBX,dword ptr [ESP + 0x38]
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x4c],ECX
MOV dword ptr [ESI + 0x50],EBX
MOV dword ptr [EDI + 0x4],EDX
MOV dword ptr [EDI + 0x8],ECX
MOV dword ptr [EDI + 0xc],EBX
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 *\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" * (function_declarator "FUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "longlong lVar3;" type_identifier identifier ;) (expression_statement "*param_1 = 0xffffffff;" (assignment_expression "*param_1 = 0xffffffff" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = 0xffffffff;" (assignment_expression "param_1[1] = 0xffffffff" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar2 = FUN_00213e00(param_2);" (assignment_expression "cVar2 = FUN_00213e00(param_2)" identifier = (call_expression "FUN_00213e00(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" { (expression_statement "lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);" (assignment_expression "lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5)" identifier = (call_expression "FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5)" identifier (argument_list "(param_2 + 0x38,param_3,param_4,param_5)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" if (parenthesized_expression "(lVar3 != -1)" ( (binary_expression "lVar3 != -1" identifier != number_literal) )) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" { (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x78);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x78)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x78)" * (cast_expression "(undefined4 *)(param_2 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x78)" ( (binary_expression "param_2 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = (int)lVar3;" (assignment_expression "*param_1 = (int)lVar3" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(undefined2 *)(param_2 + 0x65) = 0;" (assignment_expression "*(undefined2 *)(param_2 + 0x65) = 0" (pointer_expression "*(undefined2 *)(param_2 + 0x65)" * (cast_expression "(undefined2 *)(param_2 + 0x65)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x65)" ( (binary_expression "param_2 + 0x65" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x84) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x84) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x84)" * (cast_expression "(undefined4 *)(param_2 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x84)" ( (binary_expression "param_2 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x80) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x80) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x80)" * (cast_expression "(undefined4 *)(param_2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x5c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" * (cast_expression "(undefined4 *)(param_2 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 8) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 8) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x4c) = param_6;" (assignment_expression "*(undefined4 *)(param_2 + 0x4c) = param_6" (pointer_expression "*(undefined4 *)(param_2 + 0x4c)" * (cast_expression "(undefined4 *)(param_2 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x4c)" ( (binary_expression "param_2 + 0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x50) = param_7;" (assignment_expression "*(undefined4 *)(param_2 + 0x50) = param_7" (pointer_expression "*(undefined4 *)(param_2 + 0x50)" * (cast_expression "(undefined4 *)(param_2 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[1] = (int)((ulonglong)lVar3 >> 0x20);" (assignment_expression "param_1[1] = (int)((ulonglong)lVar3 >> 0x20)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)lVar3 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar3 >> 0x20)" ( (binary_expression "(ulonglong)lVar3 >> 0x20" (cast_expression "(ulonglong)lVar3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_1[2] = param_6;" (assignment_expression "param_1[2] = param_6" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = param_7;" (assignment_expression "param_1[3] = param_7" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::filebuf::_M_seek(long long, std::_Ios_Seekdir, __mbstate_t) */\n\nundefined4 *\nstd::filebuf::_M_seek\n          (undefined4 *param_1,filebuf *param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = _M_terminate_output(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = __basic_file<char>::seekoff(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}\n\n" comment comment (ERROR "undefined4 *\nstd::" (binary_expression "undefined4 *\nstd" identifier * identifier) : :) (labeled_statement "filebuf::_M_seek\n          (undefined4 *param_1,filebuf *param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;" statement_identifier : (ERROR ":_M_seek\n          (undefined4 *param_1,filebuf *param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{" : (call_expression "_M_seek\n          (undefined4 *param_1,filebuf *param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,undefined4 param_7)" identifier (argument_list "(undefined4 *param_1,filebuf *param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,undefined4 param_7)" ( (binary_expression "undefined4 *param_1" identifier * identifier) , (binary_expression "filebuf *param_2" identifier * identifier) , identifier (ERROR "param_3" identifier) , identifier (ERROR "param_4" identifier) , identifier (ERROR "param_5" identifier) , identifier (ERROR "param_6" identifier) , identifier (ERROR "param_7" identifier) ))) {) (declaration "undefined4 uVar1;" type_identifier identifier ;)) (declaration "char cVar2;" primitive_type identifier ;) (declaration "longlong lVar3;" type_identifier identifier ;) (expression_statement "*param_1 = 0xffffffff;" (assignment_expression "*param_1 = 0xffffffff" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = 0xffffffff;" (assignment_expression "param_1[1] = 0xffffffff" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar2 = _M_terminate_output(param_2);" (assignment_expression "cVar2 = _M_terminate_output(param_2)" identifier = (call_expression "_M_terminate_output(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (cVar2 != '\0') {\n    lVar3 = __basic_file<char>::seekoff(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    lVar3 = __basic_file<char>::seekoff(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" { (expression_statement "lVar3 = __basic_file<char>::seekoff(param_2 + 0x38,param_3,param_4,param_5);" (assignment_expression "lVar3 = __basic_file<char>::seekoff(param_2 + 0x38,param_3,param_4,param_5)" identifier = (binary_expression "__basic_file<char>::seekoff(param_2 + 0x38,param_3,param_4,param_5)" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "seekoff(param_2 + 0x38,param_3,param_4,param_5)" identifier (argument_list "(param_2 + 0x38,param_3,param_4,param_5)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) , identifier , identifier , identifier ))))) ;) (if_statement "if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" if (parenthesized_expression "(lVar3 != -1)" ( (binary_expression "lVar3 != -1" identifier != number_literal) )) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" { (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x78);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x78)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x78)" * (cast_expression "(undefined4 *)(param_2 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x78)" ( (binary_expression "param_2 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = (int)lVar3;" (assignment_expression "*param_1 = (int)lVar3" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(undefined2 *)(param_2 + 0x65) = 0;" (assignment_expression "*(undefined2 *)(param_2 + 0x65) = 0" (pointer_expression "*(undefined2 *)(param_2 + 0x65)" * (cast_expression "(undefined2 *)(param_2 + 0x65)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x65)" ( (binary_expression "param_2 + 0x65" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x84) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x84) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x84)" * (cast_expression "(undefined4 *)(param_2 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x84)" ( (binary_expression "param_2 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x80) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x80) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x80)" * (cast_expression "(undefined4 *)(param_2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x5c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" * (cast_expression "(undefined4 *)(param_2 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 8) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 8) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x4c) = param_6;" (assignment_expression "*(undefined4 *)(param_2 + 0x4c) = param_6" (pointer_expression "*(undefined4 *)(param_2 + 0x4c)" * (cast_expression "(undefined4 *)(param_2 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x4c)" ( (binary_expression "param_2 + 0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x50) = param_7;" (assignment_expression "*(undefined4 *)(param_2 + 0x50) = param_7" (pointer_expression "*(undefined4 *)(param_2 + 0x50)" * (cast_expression "(undefined4 *)(param_2 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[1] = (int)((ulonglong)lVar3 >> 0x20);" (assignment_expression "param_1[1] = (int)((ulonglong)lVar3 >> 0x20)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)lVar3 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar3 >> 0x20)" ( (binary_expression "(ulonglong)lVar3 >> 0x20" (cast_expression "(ulonglong)lVar3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_1[2] = param_6;" (assignment_expression "param_1[2] = param_6" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = param_7;" (assignment_expression "param_1[3] = param_7" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) })) (return_statement "return param_1;" return identifier ;) (ERROR "}" }))
(translation_unit "undefined4 *\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" * (function_declarator "FUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "longlong lVar3;" type_identifier identifier ;) (expression_statement "*param_1 = 0xffffffff;" (assignment_expression "*param_1 = 0xffffffff" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = 0xffffffff;" (assignment_expression "param_1[1] = 0xffffffff" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar2 = FUN_00213e00(param_2);" (assignment_expression "cVar2 = FUN_00213e00(param_2)" identifier = (call_expression "FUN_00213e00(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" { (expression_statement "lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);" (assignment_expression "lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5)" identifier = (call_expression "FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5)" identifier (argument_list "(param_2 + 0x38,param_3,param_4,param_5)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" if (parenthesized_expression "(lVar3 != -1)" ( (binary_expression "lVar3 != -1" identifier != number_literal) )) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" { (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x78);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x78)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x78)" * (cast_expression "(undefined4 *)(param_2 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x78)" ( (binary_expression "param_2 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = (int)lVar3;" (assignment_expression "*param_1 = (int)lVar3" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(undefined2 *)(param_2 + 0x65) = 0;" (assignment_expression "*(undefined2 *)(param_2 + 0x65) = 0" (pointer_expression "*(undefined2 *)(param_2 + 0x65)" * (cast_expression "(undefined2 *)(param_2 + 0x65)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x65)" ( (binary_expression "param_2 + 0x65" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x84) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x84) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x84)" * (cast_expression "(undefined4 *)(param_2 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x84)" ( (binary_expression "param_2 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x80) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x80) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x80)" * (cast_expression "(undefined4 *)(param_2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x5c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" * (cast_expression "(undefined4 *)(param_2 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 8) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 8) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x4c) = param_6;" (assignment_expression "*(undefined4 *)(param_2 + 0x4c) = param_6" (pointer_expression "*(undefined4 *)(param_2 + 0x4c)" * (cast_expression "(undefined4 *)(param_2 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x4c)" ( (binary_expression "param_2 + 0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x50) = param_7;" (assignment_expression "*(undefined4 *)(param_2 + 0x50) = param_7" (pointer_expression "*(undefined4 *)(param_2 + 0x50)" * (cast_expression "(undefined4 *)(param_2 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[1] = (int)((ulonglong)lVar3 >> 0x20);" (assignment_expression "param_1[1] = (int)((ulonglong)lVar3 >> 0x20)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)((ulonglong)lVar3 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar3 >> 0x20)" ( (binary_expression "(ulonglong)lVar3 >> 0x20" (cast_expression "(ulonglong)lVar3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_1[2] = param_6;" (assignment_expression "param_1[2] = param_6" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = param_7;" (assignment_expression "param_1[3] = param_7" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" (* "*") (function_declarator "FUN_00213f30(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" (identifier "FUN_00213f30") (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  longlong lVar3;\n  \n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00213e00(param_2);\n  if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }\n  return param_1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "longlong lVar3;" (type_identifier "longlong") (identifier "lVar3") (; ";")) (expression_statement "*param_1 = 0xffffffff;" (assignment_expression "*param_1 = 0xffffffff" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "param_1[1] = 0xffffffff;" (assignment_expression "param_1[1] = 0xffffffff" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar2 = FUN_00213e00(param_2);" (assignment_expression "cVar2 = FUN_00213e00(param_2)" (identifier "cVar2") (= "=") (call_expression "FUN_00213e00(param_2)" (identifier "FUN_00213e00") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);\n    if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }\n  }" ({ "{") (expression_statement "lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);" (assignment_expression "lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5)" (identifier "lVar3") (= "=") (call_expression "FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5)" (identifier "FUN_001e7770") (argument_list "(param_2 + 0x38,param_3,param_4,param_5)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (lVar3 != -1) {\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" (if "if") (parenthesized_expression "(lVar3 != -1)" (( "(") (binary_expression "lVar3 != -1" (identifier "lVar3") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_2 + 0x78);\n      *param_1 = (int)lVar3;\n      *(undefined2 *)(param_2 + 0x65) = 0;\n      *(undefined4 *)(param_2 + 0x84) = uVar1;\n      *(undefined4 *)(param_2 + 0x80) = uVar1;\n      uVar1 = *(undefined4 *)(param_2 + 0x5c);\n      *(undefined4 *)(param_2 + 0x14) = 0;\n      *(undefined4 *)(param_2 + 4) = uVar1;\n      *(undefined4 *)(param_2 + 8) = uVar1;\n      *(undefined4 *)(param_2 + 0xc) = uVar1;\n      *(undefined4 *)(param_2 + 0x10) = 0;\n      *(undefined4 *)(param_2 + 0x18) = 0;\n      *(undefined4 *)(param_2 + 0x4c) = param_6;\n      *(undefined4 *)(param_2 + 0x50) = param_7;\n      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);\n      param_1[2] = param_6;\n      param_1[3] = param_7;\n      return param_1;\n    }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x78);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x78)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x78)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x78)" (( "(") (binary_expression "param_2 + 0x78" (identifier "param_2") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (expression_statement "*param_1 = (int)lVar3;" (assignment_expression "*param_1 = (int)lVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)lVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar3"))) (; ";")) (expression_statement "*(undefined2 *)(param_2 + 0x65) = 0;" (assignment_expression "*(undefined2 *)(param_2 + 0x65) = 0" (pointer_expression "*(undefined2 *)(param_2 + 0x65)" (* "*") (cast_expression "(undefined2 *)(param_2 + 0x65)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x65)" (( "(") (binary_expression "param_2 + 0x65" (identifier "param_2") (+ "+") (number_literal "0x65")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x84) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x84) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x84)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x84)" (( "(") (binary_expression "param_2 + 0x84" (identifier "param_2") (+ "+") (number_literal "0x84")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x80) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x80) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x80)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x80)" (( "(") (binary_expression "param_2 + 0x80" (identifier "param_2") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x5c)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x5c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 4) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 8) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 8) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x4c) = param_6;" (assignment_expression "*(undefined4 *)(param_2 + 0x4c) = param_6" (pointer_expression "*(undefined4 *)(param_2 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x4c)" (( "(") (binary_expression "param_2 + 0x4c" (identifier "param_2") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (identifier "param_6")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x50) = param_7;" (assignment_expression "*(undefined4 *)(param_2 + 0x50) = param_7" (pointer_expression "*(undefined4 *)(param_2 + 0x50)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "param_7")) (; ";")) (expression_statement "param_1[1] = (int)((ulonglong)lVar3 >> 0x20);" (assignment_expression "param_1[1] = (int)((ulonglong)lVar3 >> 0x20)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)((ulonglong)lVar3 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar3 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar3 >> 0x20" (cast_expression "(ulonglong)lVar3" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar3")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "param_1[2] = param_6;" (assignment_expression "param_1[2] = param_6" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "param_1[3] = param_7;" (assignment_expression "param_1[3] = param_7" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_7")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::filebuf::_M_seek(long long, std::_Ios_Seekdir, __mbstate_t) */

type_1 *
std::filebuf::_M_seek
          (type_1 *param_1,filebuf *var_6,type_1 param_3,type_1 param_4,
          type_1 param_5,type_1 param_6,type_1 param_7)

{
  type_1 uVar1;
  char var_2;
  type_2 var_7;
  
  *param_1 = 0xffffffff;
  param_1[1] = 0xffffffff;
  param_1[2] = 0;
  param_1[3] = 0;
  var_2 = var_1(var_6);
  if (var_2 != '\0') {
    var_7 = var_3<var_4>::var_5(var_6 + 0x38,param_3,param_4,param_5);
    if (var_7 != -1) {
      uVar1 = *(type_1 *)(var_6 + 0x78);
      *param_1 = (int)var_7;
      *(type_3 *)(var_6 + 0x65) = 0;
      *(type_1 *)(var_6 + 0x84) = uVar1;
      *(type_1 *)(var_6 + 0x80) = uVar1;
      uVar1 = *(type_1 *)(var_6 + 0x5c);
      *(type_1 *)(var_6 + 0x14) = 0;
      *(type_1 *)(var_6 + 4) = uVar1;
      *(type_1 *)(var_6 + 8) = uVar1;
      *(type_1 *)(var_6 + 0xc) = uVar1;
      *(type_1 *)(var_6 + 0x10) = 0;
      *(type_1 *)(var_6 + 0x18) = 0;
      *(type_1 *)(var_6 + 0x4c) = param_6;
      *(type_1 *)(var_6 + 0x50) = param_7;
      param_1[1] = (int)((type_4)var_7 >> 0x20);
      param_1[2] = param_6;
      param_1[3] = param_7;
      return param_1;
    }
  }
  return param_1;
}


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

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

undefined4 *
MASKED(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7)

{
  undefined4 uVar1;
  char cVar2;
  longlong lVar3;
  
  *param_1 = 0xffffffff;
  param_1[1] = 0xffffffff;
  param_1[2] = 0;
  param_1[3] = 0;
  cVar2 = FUN_00213e00(param_2);
  if (cVar2 != '\0') {
    lVar3 = FUN_001e7770(param_2 + 0x38,param_3,param_4,param_5);
    if (lVar3 != -1) {
      uVar1 = *(undefined4 *)(param_2 + 0x78);
      *param_1 = (int)lVar3;
      *(undefined2 *)(param_2 + 0x65) = 0;
      *(undefined4 *)(param_2 + 0x84) = uVar1;
      *(undefined4 *)(param_2 + 0x80) = uVar1;
      uVar1 = *(undefined4 *)(param_2 + 0x5c);
      *(undefined4 *)(param_2 + 0x14) = 0;
      *(undefined4 *)(param_2 + 4) = uVar1;
      *(undefined4 *)(param_2 + 8) = uVar1;
      *(undefined4 *)(param_2 + 0xc) = uVar1;
      *(undefined4 *)(param_2 + 0x10) = 0;
      *(undefined4 *)(param_2 + 0x18) = 0;
      *(undefined4 *)(param_2 + 0x4c) = param_6;
      *(undefined4 *)(param_2 + 0x50) = param_7;
      param_1[1] = (int)((ulonglong)lVar3 >> 0x20);
      param_1[2] = param_6;
      param_1[3] = param_7;
      return param_1;
    }
  }
  return param_1;
}

