
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wfilebuf::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode) */

void std::wfilebuf::seekpos(void)

{
}



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

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

{
  int iVar1;
  char cVar2;
  undefined4 uVar3;
  
  uVar3 = 0x2774fc;
  *param_1 = 0xffffffff;
  param_1[1] = 0xffffffff;
  param_1[2] = 0;
  param_1[3] = 0;
  cVar2 = FUN_00248850(param_2 + 0x38);
  if (cVar2 != '\0') {
    if (*(char *)(param_2 + 0x74) != '\0') {
      *(undefined1 *)(param_2 + 0x74) = 0;
      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;
      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);
      *(int *)(param_2 + 0x6c) = iVar1;
      *(int *)(param_2 + 8) = iVar1;
      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);
    }
    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);
  }
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x14]
CALL 0x0003a210
ADD EBX,0x19cb04
MOV ESI,dword ptr [ESP + 0x10]
LEA EAX,[EDI + 0x38]
SUB ESP,0xc
MOV dword ptr [ESI],0xffffffff
MOV dword ptr [ESI + 0x4],0xffffffff
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0xc],0x0
PUSH EAX
CALL 0x00248850
ADD ESP,0x10
TEST AL,AL
JZ 0x00277580
CMP byte ptr [EDI + 0x74],0x0
JZ 0x00277561
MOV EAX,dword ptr [EDI + 0x4]
XOR EDX,EDX
CMP dword ptr [EDI + 0x8],EAX
MOV byte ptr [EDI + 0x74],0x0
MOV EAX,dword ptr [EDI + 0x6c]
SETNZ DL
MOV ECX,dword ptr [EDI + 0x5c]
LEA EAX,[EAX + EDX*0x4]
MOV EDX,dword ptr [EDI + 0x70]
MOV dword ptr [EDI + 0x4],ECX
MOV dword ptr [EDI + 0x6c],EAX
MOV dword ptr [EDI + 0x8],EAX
MOV dword ptr [EDI + 0xc],EDX
SUB ESP,0x4
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH 0x0
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH EDI
PUSH ESI
CALL 0x00276fb0
ADD ESP,0x1c
MOV EAX,ESI
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_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" * (function_declarator "FUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" ( (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) )))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 0x2774fc;" (assignment_expression "uVar3 = 0x2774fc" identifier = number_literal) ;) (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_00248850(param_2 + 0x38);" (assignment_expression "cVar2 = FUN_00248850(param_2 + 0x38)" identifier = (call_expression "FUN_00248850(param_2 + 0x38)" identifier (argument_list "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) ;) (if_statement "if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }" { (if_statement "if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }" if (parenthesized_expression "(*(char *)(param_2 + 0x74) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x74) != '\0'" (pointer_expression "*(char *)(param_2 + 0x74)" * (cast_expression "(char *)(param_2 + 0x74)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }" { (expression_statement "*(undefined1 *)(param_2 + 0x74) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x74) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x74)" * (cast_expression "(undefined1 *)(param_2 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;" (assignment_expression "iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" identifier = (binary_expression "*(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" (pointer_expression "*(int *)(param_2 + 0x6c)" * (cast_expression "(int *)(param_2 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) )))) + (binary_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" (call_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" ( (binary_expression "*(int *)(param_2 + 8) != *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) * number_literal))) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c)" (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) )))) = (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 "*(int *)(param_2 + 0x6c) = iVar1;" (assignment_expression "*(int *)(param_2 + 0x6c) = iVar1" (pointer_expression "*(int *)(param_2 + 0x6c)" * (cast_expression "(int *)(param_2 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_2 + 8) = iVar1;" (assignment_expression "*(int *)(param_2 + 8) = iVar1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70)" (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) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x70)" * (cast_expression "(undefined4 *)(param_2 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);" (call_expression "FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3)" identifier (argument_list "(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3)" ( identifier , identifier , identifier , identifier , number_literal , identifier , identifier , 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::wfilebuf::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode) */\n\nvoid std::wfilebuf::seekpos(void)\n\n{\n}\n\n" comment comment (function_definition "void std::wfilebuf::seekpos(void)\n\n{\n}" primitive_type (ERROR "std::wfilebuf::" identifier : : identifier : :) (function_declarator "seekpos(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 *\nFUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" * (function_declarator "FUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" ( (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) )))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 0x2774fc;" (assignment_expression "uVar3 = 0x2774fc" identifier = number_literal) ;) (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_00248850(param_2 + 0x38);" (assignment_expression "cVar2 = FUN_00248850(param_2 + 0x38)" identifier = (call_expression "FUN_00248850(param_2 + 0x38)" identifier (argument_list "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) ;) (if_statement "if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }" { (if_statement "if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }" if (parenthesized_expression "(*(char *)(param_2 + 0x74) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x74) != '\0'" (pointer_expression "*(char *)(param_2 + 0x74)" * (cast_expression "(char *)(param_2 + 0x74)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }" { (expression_statement "*(undefined1 *)(param_2 + 0x74) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x74) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x74)" * (cast_expression "(undefined1 *)(param_2 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x74)" ( (binary_expression "param_2 + 0x74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;" (assignment_expression "iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" identifier = (binary_expression "*(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" (pointer_expression "*(int *)(param_2 + 0x6c)" * (cast_expression "(int *)(param_2 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) )))) + (binary_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" (call_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" ( (binary_expression "*(int *)(param_2 + 8) != *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) * number_literal))) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c)" (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) )))) = (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 "*(int *)(param_2 + 0x6c) = iVar1;" (assignment_expression "*(int *)(param_2 + 0x6c) = iVar1" (pointer_expression "*(int *)(param_2 + 0x6c)" * (cast_expression "(int *)(param_2 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x6c)" ( (binary_expression "param_2 + 0x6c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_2 + 8) = iVar1;" (assignment_expression "*(int *)(param_2 + 8) = iVar1" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70)" (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) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x70)" * (cast_expression "(undefined4 *)(param_2 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x70)" ( (binary_expression "param_2 + 0x70" identifier + number_literal) ))))) ;) })) (expression_statement "FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);" (call_expression "FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3)" identifier (argument_list "(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3)" ( identifier , identifier , identifier , identifier , number_literal , identifier , identifier , 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) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (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) )))) = (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) )))) = 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) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT , IDENT , IDENT , IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" (* "*") (function_declarator "FUN_002774f0(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" (identifier "FUN_002774f0") (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" (( "(") (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")) () ")")))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0x2774fc;\n  *param_1 = 0xffffffff;\n  param_1[1] = 0xffffffff;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  cVar2 = FUN_00248850(param_2 + 0x38);\n  if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "uVar3 = 0x2774fc;" (assignment_expression "uVar3 = 0x2774fc" (identifier "uVar3") (= "=") (number_literal "0x2774fc")) (; ";")) (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_00248850(param_2 + 0x38);" (assignment_expression "cVar2 = FUN_00248850(param_2 + 0x38)" (identifier "cVar2") (= "=") (call_expression "FUN_00248850(param_2 + 0x38)" (identifier "FUN_00248850") (argument_list "(param_2 + 0x38)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }\n    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);\n  }" ({ "{") (if_statement "if (*(char *)(param_2 + 0x74) != '\0') {\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 0x74) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 0x74) != '\0'" (pointer_expression "*(char *)(param_2 + 0x74)" (* "*") (cast_expression "(char *)(param_2 + 0x74)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x74)" (( "(") (binary_expression "param_2 + 0x74" (identifier "param_2") (+ "+") (number_literal "0x74")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      *(undefined1 *)(param_2 + 0x74) = 0;\n      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;\n      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);\n      *(int *)(param_2 + 0x6c) = iVar1;\n      *(int *)(param_2 + 8) = iVar1;\n      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);\n    }" ({ "{") (expression_statement "*(undefined1 *)(param_2 + 0x74) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 0x74) = 0" (pointer_expression "*(undefined1 *)(param_2 + 0x74)" (* "*") (cast_expression "(undefined1 *)(param_2 + 0x74)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x74)" (( "(") (binary_expression "param_2 + 0x74" (identifier "param_2") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;" (assignment_expression "iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" (identifier "iVar1") (= "=") (binary_expression "*(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" (pointer_expression "*(int *)(param_2 + 0x6c)" (* "*") (cast_expression "(int *)(param_2 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x6c)" (( "(") (binary_expression "param_2 + 0x6c" (identifier "param_2") (+ "+") (number_literal "0x6c")) () ")")))) (+ "+") (binary_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4" (call_expression "(uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_2 + 8) != *(int *)(param_2 + 4))" (( "(") (binary_expression "*(int *)(param_2 + 8) != *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")"))) (* "*") (number_literal "4")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c)" (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")) () ")")))) (= "=") (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 "*(int *)(param_2 + 0x6c) = iVar1;" (assignment_expression "*(int *)(param_2 + 0x6c) = iVar1" (pointer_expression "*(int *)(param_2 + 0x6c)" (* "*") (cast_expression "(int *)(param_2 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x6c)" (( "(") (binary_expression "param_2 + 0x6c" (identifier "param_2") (+ "+") (number_literal "0x6c")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(int *)(param_2 + 8) = iVar1;" (assignment_expression "*(int *)(param_2 + 8) = iVar1" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);" (assignment_expression "*(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70)" (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")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x70)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x70)" (( "(") (binary_expression "param_2 + 0x70" (identifier "param_2") (+ "+") (number_literal "0x70")) () ")"))))) (; ";")) (} "}"))) (expression_statement "FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);" (call_expression "FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3)" (identifier "FUN_00276fb0") (argument_list "(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (number_literal "0") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (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::wfilebuf::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode) */

void std::wfilebuf::function_1(void)

{
}


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

{
  int iVar1;
  char cVar2;
  undefined4 uVar3;
  
  uVar3 = 0x2774fc;
  *param_1 = 0xffffffff;
  param_1[1] = 0xffffffff;
  param_1[2] = 0;
  param_1[3] = 0;
  cVar2 = FUN_00248850(param_2 + 0x38);
  if (cVar2 != '\0') {
    if (*(char *)(param_2 + 0x74) != '\0') {
      *(undefined1 *)(param_2 + 0x74) = 0;
      iVar1 = *(int *)(param_2 + 0x6c) + (uint)(*(int *)(param_2 + 8) != *(int *)(param_2 + 4)) * 4;
      *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_2 + 0x5c);
      *(int *)(param_2 + 0x6c) = iVar1;
      *(int *)(param_2 + 8) = iVar1;
      *(undefined4 *)(param_2 + 0xc) = *(undefined4 *)(param_2 + 0x70);
    }
    FUN_00276fb0(param_1,param_2,param_3,param_4,0,param_5,param_6,uVar3);
  }
  return param_1;
}

