
/* std::filebuf::filebuf() */

void __thiscall std::filebuf::filebuf(filebuf *this)

{
  locale *this_00;
  bool bVar1;
  codecvt *pcVar2;
  
  this_00 = (locale *)(this + 0x38);
  *(undefined ***)this = &PTR__streambuf_004386a0;
  *(undefined8 *)(this + 8) = 0;
  *(undefined8 *)(this + 0x10) = 0;
  *(undefined8 *)(this + 0x18) = 0;
  *(undefined8 *)(this + 0x20) = 0;
  *(undefined8 *)(this + 0x28) = 0;
  *(undefined8 *)(this + 0x30) = 0;
  locale::locale(this_00);
  *(undefined8 *)(this + 0x60) = 0;
  *(undefined1 (*) [16])(this + 0x40) = (undefined1  [16])0x0;
  *(undefined1 (*) [16])(this + 0x50) = (undefined1  [16])0x0;
  *(undefined ***)this = &PTR__filebuf_00439578;
  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x68));
  *(undefined8 *)(this + 0x78) = 0;
  *(undefined8 *)(this + 0x80) = 0;
  *(undefined8 *)(this + 0x88) = 0;
  *(undefined4 *)(this + 0x90) = 0;
  *(undefined8 *)(this + 0x98) = 0;
  *(undefined8 *)(this + 0xa0) = 0x2000;
  *(undefined4 *)(this + 0xa8) = 0;
  *(undefined8 *)(this + 0xb0) = 0;
  *(undefined8 *)(this + 0xb8) = 0;
  this[0xc0] = (filebuf)0x0;
  *(undefined8 *)(this + 200) = 0;
  *(undefined8 *)(this + 0xd0) = 0;
  *(undefined8 *)(this + 0xd8) = 0;
  *(undefined8 *)(this + 0xe0) = 0;
  *(undefined8 *)(this + 0xe8) = 0;
  bVar1 = has_facet<std::codecvt<char,char,__mbstate_t>>(this_00);
  if (!bVar1) {
    return;
  }
                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */
  pcVar2 = use_facet<std::codecvt<char,char,__mbstate_t>>(this_00);
  *(codecvt **)(this + 200) = pcVar2;
  return;
}



void FUN_003032d0(undefined8 *param_1)

{
  undefined8 *puVar1;
  char cVar2;
  undefined8 uVar3;
  
  puVar1 = param_1 + 7;
  *param_1 = &PTR_FUN_004386a0;
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_00324400(puVar1);
  param_1[0xc] = 0;
  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;
  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;
  *param_1 = &PTR_FUN_00439578;
  FUN_002db150(param_1 + 0xd,param_1 + 8);
  param_1[0xf] = 0;
  param_1[0x10] = 0;
  param_1[0x11] = 0;
  *(undefined4 *)(param_1 + 0x12) = 0;
  param_1[0x13] = 0;
  param_1[0x14] = 0x2000;
  *(undefined4 *)(param_1 + 0x15) = 0;
  param_1[0x16] = 0;
  param_1[0x17] = 0;
  *(undefined1 *)(param_1 + 0x18) = 0;
  param_1[0x19] = 0;
  param_1[0x1a] = 0;
  param_1[0x1b] = 0;
  param_1[0x1c] = 0;
  param_1[0x1d] = 0;
  cVar2 = FUN_002ee160(puVar1);
  if (cVar2 == '\0') {
    return;
  }
                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */
  uVar3 = FUN_002ecd20(puVar1);
  param_1[0x19] = uVar3;
  return;
}


PUSH R14
LEA R14,[0x438690]
PUSH R13
LEA RAX,[R14 + 0x10]
PUSH R12
PUSH RBP
LEA RBP,[RDI + 0x38]
PUSH RBX
MOV RBX,RDI
MOV qword ptr [RDI],RAX
LEA R12,[RBX + 0x68]
MOV qword ptr [RDI + 0x8],0x0
MOV qword ptr [RDI + 0x10],0x0
MOV qword ptr [RDI + 0x18],0x0
MOV qword ptr [RDI + 0x20],0x0
MOV qword ptr [RDI + 0x28],0x0
MOV qword ptr [RDI + 0x30],0x0
MOV RDI,RBP
CALL 0x00324400
PXOR XMM0,XMM0
MOV RDI,R12
LEA RSI,[RBX + 0x40]
LEA RAX,[0x439568]
MOV qword ptr [RBX + 0x60],0x0
MOVUPS xmmword ptr [RBX + 0x40],XMM0
ADD RAX,0x10
MOVUPS xmmword ptr [RBX + 0x50],XMM0
MOV qword ptr [RBX],RAX
CALL 0x002db150
MOV qword ptr [RBX + 0x78],0x0
MOV RDI,RBP
MOV qword ptr [RBX + 0x80],0x0
MOV qword ptr [RBX + 0x88],0x0
MOV dword ptr [RBX + 0x90],0x0
MOV qword ptr [RBX + 0x98],0x0
MOV qword ptr [RBX + 0xa0],0x2000
MOV dword ptr [RBX + 0xa8],0x0
MOV qword ptr [RBX + 0xb0],0x0
MOV qword ptr [RBX + 0xb8],0x0
MOV byte ptr [RBX + 0xc0],0x0
MOV qword ptr [RBX + 0xc8],0x0
MOV qword ptr [RBX + 0xd0],0x0
MOV qword ptr [RBX + 0xd8],0x0
MOV qword ptr [RBX + 0xe0],0x0
MOV qword ptr [RBX + 0xe8],0x0
CALL 0x002ee160
TEST AL,AL
JNZ 0x00303410
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV RDI,RBP
CALL 0x002ecd20
MOV qword ptr [RBX + 0xc8],RAX
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
(translation_unit "void FUN_003032d0(undefined8 *param_1)\n\n{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */\n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}\n\n" (function_definition "void FUN_003032d0(undefined8 *param_1)\n\n{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */\n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}" primitive_type (function_declarator "FUN_003032d0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */\n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = param_1 + 7;" (assignment_expression "puVar1 = param_1 + 7" identifier = (binary_expression "param_1 + 7" identifier + number_literal)) ;) (expression_statement "*param_1 = &PTR_FUN_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004386a0" & identifier)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (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 "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00324400(puVar1);" (call_expression "FUN_00324400(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(param_1 + 8)" * (cast_expression "(undefined1 (*) [16])(param_1 + 8)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(param_1 + 10)" * (cast_expression "(undefined1 (*) [16])(param_1 + 10)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*param_1 = &PTR_FUN_00439578;" (assignment_expression "*param_1 = &PTR_FUN_00439578" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439578" & identifier)) ;) (expression_statement "FUN_002db150(param_1 + 0xd,param_1 + 8);" (call_expression "FUN_002db150(param_1 + 0xd,param_1 + 8)" identifier (argument_list "(param_1 + 0xd,param_1 + 8)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "param_1[0xf] = 0;" (assignment_expression "param_1[0xf] = 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x12) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x12) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x12)" * (cast_expression "(undefined4 *)(param_1 + 0x12)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x14] = 0x2000;" (assignment_expression "param_1[0x14] = 0x2000" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x15) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x15) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x15)" * (cast_expression "(undefined4 *)(param_1 + 0x15)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x16] = 0;" (assignment_expression "param_1[0x16] = 0" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x19] = 0;" (assignment_expression "param_1[0x19] = 0" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1b] = 0;" (assignment_expression "param_1[0x1b] = 0" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1d] = 0;" (assignment_expression "param_1[0x1d] = 0" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar2 = FUN_002ee160(puVar1);" (assignment_expression "cVar2 = FUN_002ee160(puVar1)" identifier = (call_expression "FUN_002ee160(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n    return;\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "uVar3 = FUN_002ecd20(puVar1);" (assignment_expression "uVar3 = FUN_002ecd20(puVar1)" identifier = (call_expression "FUN_002ecd20(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (expression_statement "param_1[0x19] = uVar3;" (assignment_expression "param_1[0x19] = uVar3" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::filebuf::filebuf() */\n\nvoid __thiscall std::filebuf::filebuf(filebuf *this)\n\n{\n  locale *this_00;\n  bool bVar1;\n  codecvt *pcVar2;\n  \n  this_00 = (locale *)(this + 0x38);\n  *(undefined ***)this = &PTR__streambuf_004386a0;\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined8 *)(this + 0x18) = 0;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x30) = 0;\n  locale::locale(this_00);\n  *(undefined8 *)(this + 0x60) = 0;\n  *(undefined1 (*) [16])(this + 0x40) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(this + 0x50) = (undefined1  [16])0x0;\n  *(undefined ***)this = &PTR__filebuf_00439578;\n  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x68));\n  *(undefined8 *)(this + 0x78) = 0;\n  *(undefined8 *)(this + 0x80) = 0;\n  *(undefined8 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x90) = 0;\n  *(undefined8 *)(this + 0x98) = 0;\n  *(undefined8 *)(this + 0xa0) = 0x2000;\n  *(undefined4 *)(this + 0xa8) = 0;\n  *(undefined8 *)(this + 0xb0) = 0;\n  *(undefined8 *)(this + 0xb8) = 0;\n  this[0xc0] = (filebuf)0x0;\n  *(undefined8 *)(this + 200) = 0;\n  *(undefined8 *)(this + 0xd0) = 0;\n  *(undefined8 *)(this + 0xd8) = 0;\n  *(undefined8 *)(this + 0xe0) = 0;\n  *(undefined8 *)(this + 0xe8) = 0;\n  bVar1 = has_facet<std::codecvt<char,char,__mbstate_t>>(this_00);\n  if (!bVar1) {\n    return;\n  }\n                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */\n  pcVar2 = use_facet<std::codecvt<char,char,__mbstate_t>>(this_00);\n  *(codecvt **)(this + 200) = pcVar2;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::filebuf::filebuf(filebuf *this)\n\n{\n  locale *this_00;\n  bool bVar1;\n  codecvt *pcVar2;\n  \n  this_00 = (locale *)(this + 0x38);\n  *(undefined ***)this = &PTR__streambuf_004386a0;\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined8 *)(this + 0x18) = 0;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x30) = 0;\n  locale::locale(this_00);\n  *(undefined8 *)(this + 0x60) = 0;\n  *(undefined1 (*) [16])(this + 0x40) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(this + 0x50) = (undefined1  [16])0x0;\n  *(undefined ***)this = &PTR__filebuf_00439578;\n  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x68));\n  *(undefined8 *)(this + 0x78) = 0;\n  *(undefined8 *)(this + 0x80) = 0;\n  *(undefined8 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x90) = 0;\n  *(undefined8 *)(this + 0x98) = 0;\n  *(undefined8 *)(this + 0xa0) = 0x2000;\n  *(undefined4 *)(this + 0xa8) = 0;\n  *(undefined8 *)(this + 0xb0) = 0;\n  *(undefined8 *)(this + 0xb8) = 0;\n  this[0xc0] = (filebuf)0x0;\n  *(undefined8 *)(this + 200) = 0;\n  *(undefined8 *)(this + 0xd0) = 0;\n  *(undefined8 *)(this + 0xd8) = 0;\n  *(undefined8 *)(this + 0xe0) = 0;\n  *(undefined8 *)(this + 0xe8) = 0;\n  bVar1 = has_facet<std::codecvt<char,char,__mbstate_t>>(this_00);\n  if (!bVar1) {\n    return;\n  }\n                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */\n  pcVar2 = use_facet<std::codecvt<char,char,__mbstate_t>>(this_00);\n  *(codecvt **)(this + 200) = pcVar2;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::filebuf::" identifier : : identifier : :) (function_declarator "filebuf(filebuf *this)" identifier (parameter_list "(filebuf *this)" ( (parameter_declaration "filebuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  locale *this_00;\n  bool bVar1;\n  codecvt *pcVar2;\n  \n  this_00 = (locale *)(this + 0x38);\n  *(undefined ***)this = &PTR__streambuf_004386a0;\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined8 *)(this + 0x10) = 0;\n  *(undefined8 *)(this + 0x18) = 0;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x30) = 0;\n  locale::locale(this_00);\n  *(undefined8 *)(this + 0x60) = 0;\n  *(undefined1 (*) [16])(this + 0x40) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(this + 0x50) = (undefined1  [16])0x0;\n  *(undefined ***)this = &PTR__filebuf_00439578;\n  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x68));\n  *(undefined8 *)(this + 0x78) = 0;\n  *(undefined8 *)(this + 0x80) = 0;\n  *(undefined8 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x90) = 0;\n  *(undefined8 *)(this + 0x98) = 0;\n  *(undefined8 *)(this + 0xa0) = 0x2000;\n  *(undefined4 *)(this + 0xa8) = 0;\n  *(undefined8 *)(this + 0xb0) = 0;\n  *(undefined8 *)(this + 0xb8) = 0;\n  this[0xc0] = (filebuf)0x0;\n  *(undefined8 *)(this + 200) = 0;\n  *(undefined8 *)(this + 0xd0) = 0;\n  *(undefined8 *)(this + 0xd8) = 0;\n  *(undefined8 *)(this + 0xe0) = 0;\n  *(undefined8 *)(this + 0xe8) = 0;\n  bVar1 = has_facet<std::codecvt<char,char,__mbstate_t>>(this_00);\n  if (!bVar1) {\n    return;\n  }\n                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */\n  pcVar2 = use_facet<std::codecvt<char,char,__mbstate_t>>(this_00);\n  *(codecvt **)(this + 200) = pcVar2;\n  return;\n}" { (declaration "locale *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "bool bVar1;" primitive_type identifier ;) (declaration "codecvt *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "this_00 = (locale *)(this + 0x38);" (assignment_expression "this_00 = (locale *)(this + 0x38)" identifier = (cast_expression "(locale *)(this + 0x38)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x38)" ( (binary_expression "this + 0x38" identifier + number_literal) )))) ;) (expression_statement "*(undefined ***)this = &PTR__streambuf_004386a0;" (assignment_expression "*(undefined ***)this = &PTR__streambuf_004386a0" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__streambuf_004386a0" & identifier)) ;) (expression_statement "*(undefined8 *)(this + 8) = 0;" (assignment_expression "*(undefined8 *)(this + 8) = 0" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x10) = 0;" (assignment_expression "*(undefined8 *)(this + 0x10) = 0" (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x18) = 0;" (assignment_expression "*(undefined8 *)(this + 0x18) = 0" (pointer_expression "*(undefined8 *)(this + 0x18)" * (cast_expression "(undefined8 *)(this + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x20) = 0;" (assignment_expression "*(undefined8 *)(this + 0x20) = 0" (pointer_expression "*(undefined8 *)(this + 0x20)" * (cast_expression "(undefined8 *)(this + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x28) = 0;" (assignment_expression "*(undefined8 *)(this + 0x28) = 0" (pointer_expression "*(undefined8 *)(this + 0x28)" * (cast_expression "(undefined8 *)(this + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x30) = 0;" (assignment_expression "*(undefined8 *)(this + 0x30) = 0" (pointer_expression "*(undefined8 *)(this + 0x30)" * (cast_expression "(undefined8 *)(this + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "locale::locale(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "locale(this_00);" (call_expression "locale(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (expression_statement "*(undefined8 *)(this + 0x60) = 0;" (assignment_expression "*(undefined8 *)(this + 0x60) = 0" (pointer_expression "*(undefined8 *)(this + 0x60)" * (cast_expression "(undefined8 *)(this + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x60)" ( (binary_expression "this + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 (*) [16])(this + 0x40) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(this + 0x40) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(this + 0x40)" * (cast_expression "(undefined1 (*) [16])(this + 0x40)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(this + 0x40)" ( (binary_expression "this + 0x40" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*(undefined1 (*) [16])(this + 0x50) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(this + 0x50) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(this + 0x50)" * (cast_expression "(undefined1 (*) [16])(this + 0x50)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(this + 0x50)" ( (binary_expression "this + 0x50" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*(undefined ***)this = &PTR__filebuf_00439578;" (assignment_expression "*(undefined ***)this = &PTR__filebuf_00439578" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__filebuf_00439578" & identifier)) ;) (expression_statement "__basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x68));" (binary_expression "__basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x68))" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "__basic_file((pthread_mutex_t *)(this + 0x68))" identifier (argument_list "((pthread_mutex_t *)(this + 0x68))" ( (cast_expression "(pthread_mutex_t *)(this + 0x68)" ( (type_descriptor "pthread_mutex_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x68)" ( (binary_expression "this + 0x68" identifier + number_literal) ))) )))) ;) (expression_statement "*(undefined8 *)(this + 0x78) = 0;" (assignment_expression "*(undefined8 *)(this + 0x78) = 0" (pointer_expression "*(undefined8 *)(this + 0x78)" * (cast_expression "(undefined8 *)(this + 0x78)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x80) = 0;" (assignment_expression "*(undefined8 *)(this + 0x80) = 0" (pointer_expression "*(undefined8 *)(this + 0x80)" * (cast_expression "(undefined8 *)(this + 0x80)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x88) = 0;" (assignment_expression "*(undefined8 *)(this + 0x88) = 0" (pointer_expression "*(undefined8 *)(this + 0x88)" * (cast_expression "(undefined8 *)(this + 0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x88)" ( (binary_expression "this + 0x88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x90) = 0;" (assignment_expression "*(undefined4 *)(this + 0x90) = 0" (pointer_expression "*(undefined4 *)(this + 0x90)" * (cast_expression "(undefined4 *)(this + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x90)" ( (binary_expression "this + 0x90" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x98) = 0;" (assignment_expression "*(undefined8 *)(this + 0x98) = 0" (pointer_expression "*(undefined8 *)(this + 0x98)" * (cast_expression "(undefined8 *)(this + 0x98)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x98)" ( (binary_expression "this + 0x98" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xa0) = 0x2000;" (assignment_expression "*(undefined8 *)(this + 0xa0) = 0x2000" (pointer_expression "*(undefined8 *)(this + 0xa0)" * (cast_expression "(undefined8 *)(this + 0xa0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xa0)" ( (binary_expression "this + 0xa0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0xa8) = 0;" (assignment_expression "*(undefined4 *)(this + 0xa8) = 0" (pointer_expression "*(undefined4 *)(this + 0xa8)" * (cast_expression "(undefined4 *)(this + 0xa8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xa8)" ( (binary_expression "this + 0xa8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xb0) = 0;" (assignment_expression "*(undefined8 *)(this + 0xb0) = 0" (pointer_expression "*(undefined8 *)(this + 0xb0)" * (cast_expression "(undefined8 *)(this + 0xb0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xb0)" ( (binary_expression "this + 0xb0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xb8) = 0;" (assignment_expression "*(undefined8 *)(this + 0xb8) = 0" (pointer_expression "*(undefined8 *)(this + 0xb8)" * (cast_expression "(undefined8 *)(this + 0xb8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xb8)" ( (binary_expression "this + 0xb8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0xc0] = (filebuf)0x0;" (assignment_expression "this[0xc0] = (filebuf)0x0" (subscript_expression "this[0xc0]" identifier [ number_literal ]) = (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) ;) (expression_statement "*(undefined8 *)(this + 200) = 0;" (assignment_expression "*(undefined8 *)(this + 200) = 0" (pointer_expression "*(undefined8 *)(this + 200)" * (cast_expression "(undefined8 *)(this + 200)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xd0) = 0;" (assignment_expression "*(undefined8 *)(this + 0xd0) = 0" (pointer_expression "*(undefined8 *)(this + 0xd0)" * (cast_expression "(undefined8 *)(this + 0xd0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xd8) = 0;" (assignment_expression "*(undefined8 *)(this + 0xd8) = 0" (pointer_expression "*(undefined8 *)(this + 0xd8)" * (cast_expression "(undefined8 *)(this + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd8)" ( (binary_expression "this + 0xd8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xe0) = 0;" (assignment_expression "*(undefined8 *)(this + 0xe0) = 0" (pointer_expression "*(undefined8 *)(this + 0xe0)" * (cast_expression "(undefined8 *)(this + 0xe0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xe0)" ( (binary_expression "this + 0xe0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xe8) = 0;" (assignment_expression "*(undefined8 *)(this + 0xe8) = 0" (pointer_expression "*(undefined8 *)(this + 0xe8)" * (cast_expression "(undefined8 *)(this + 0xe8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bVar1 = has_facet<std::codecvt<char,char,__mbstate_t>>(this_00);" (comma_expression "bVar1 = has_facet<std::codecvt<char,char,__mbstate_t>>(this_00)" (binary_expression "bVar1 = has_facet<std::codecvt<char" (assignment_expression "bVar1 = has_facet<std" identifier = (binary_expression "has_facet<std" identifier < identifier)) (ERROR "::codecvt" : : identifier) < identifier) , (comma_expression "char,__mbstate_t>>(this_00)" identifier , (binary_expression "__mbstate_t>>(this_00)" identifier >> (parenthesized_expression "(this_00)" ( identifier ))))) ;) (if_statement "if (!bVar1) {\n    return;\n  }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "pcVar2 = use_facet<std::codecvt<char,char,__mbstate_t>>(this_00);" (comma_expression "pcVar2 = use_facet<std::codecvt<char,char,__mbstate_t>>(this_00)" (binary_expression "pcVar2 = use_facet<std::codecvt<char" (assignment_expression "pcVar2 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::codecvt" : : identifier) < identifier) , (comma_expression "char,__mbstate_t>>(this_00)" identifier , (binary_expression "__mbstate_t>>(this_00)" identifier >> (parenthesized_expression "(this_00)" ( identifier ))))) ;) (expression_statement "*(codecvt **)(this + 200) = pcVar2;" (assignment_expression "*(codecvt **)(this + 200) = pcVar2" (pointer_expression "*(codecvt **)(this + 200)" * (cast_expression "(codecvt **)(this + 200)" ( (type_descriptor "codecvt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_003032d0(undefined8 *param_1)\n\n{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}\n\n" (function_definition "void FUN_003032d0(undefined8 *param_1)\n\n{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}" primitive_type (function_declarator "FUN_003032d0(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = param_1 + 7;" (assignment_expression "puVar1 = param_1 + 7" identifier = (binary_expression "param_1 + 7" identifier + number_literal)) ;) (expression_statement "*param_1 = &PTR_FUN_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004386a0" & identifier)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (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 "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00324400(puVar1);" (call_expression "FUN_00324400(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(param_1 + 8)" * (cast_expression "(undefined1 (*) [16])(param_1 + 8)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(param_1 + 10)" * (cast_expression "(undefined1 (*) [16])(param_1 + 10)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "*param_1 = &PTR_FUN_00439578;" (assignment_expression "*param_1 = &PTR_FUN_00439578" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439578" & identifier)) ;) (expression_statement "FUN_002db150(param_1 + 0xd,param_1 + 8);" (call_expression "FUN_002db150(param_1 + 0xd,param_1 + 8)" identifier (argument_list "(param_1 + 0xd,param_1 + 8)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "param_1[0xf] = 0;" (assignment_expression "param_1[0xf] = 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x12) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x12) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x12)" * (cast_expression "(undefined4 *)(param_1 + 0x12)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x14] = 0x2000;" (assignment_expression "param_1[0x14] = 0x2000" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x15) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x15) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x15)" * (cast_expression "(undefined4 *)(param_1 + 0x15)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x16] = 0;" (assignment_expression "param_1[0x16] = 0" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x19] = 0;" (assignment_expression "param_1[0x19] = 0" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1b] = 0;" (assignment_expression "param_1[0x1b] = 0" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1d] = 0;" (assignment_expression "param_1[0x1d] = 0" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar2 = FUN_002ee160(puVar1);" (assignment_expression "cVar2 = FUN_002ee160(puVar1)" identifier = (call_expression "FUN_002ee160(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n    return;\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar3 = FUN_002ecd20(puVar1);" (assignment_expression "uVar3 = FUN_002ecd20(puVar1)" identifier = (call_expression "FUN_002ecd20(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (expression_statement "param_1[0x19] = uVar3;" (assignment_expression "param_1[0x19] = uVar3" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (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 (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 (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (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 { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_003032d0(undefined8 *param_1)\n\n{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003032d0(undefined8 *param_1)" (identifier "FUN_003032d0") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  char cVar2;\n  undefined8 uVar3;\n  \n  puVar1 = param_1 + 7;\n  *param_1 = &PTR_FUN_004386a0;\n  param_1[1] = 0;\n  param_1[2] = 0;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00324400(puVar1);\n  param_1[0xc] = 0;\n  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;\n  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;\n  *param_1 = &PTR_FUN_00439578;\n  FUN_002db150(param_1 + 0xd,param_1 + 8);\n  param_1[0xf] = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  *(undefined4 *)(param_1 + 0x12) = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0x2000;\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  *(undefined1 *)(param_1 + 0x18) = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  param_1[0x1d] = 0;\n  cVar2 = FUN_002ee160(puVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  uVar3 = FUN_002ecd20(puVar1);\n  param_1[0x19] = uVar3;\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (expression_statement "puVar1 = param_1 + 7;" (assignment_expression "puVar1 = param_1 + 7" (identifier "puVar1") (= "=") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_004386a0;" (assignment_expression "*param_1 = &PTR_FUN_004386a0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_004386a0" (& "&") (identifier "PTR_FUN_004386a0"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (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 "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00324400(puVar1);" (call_expression "FUN_00324400(puVar1)" (identifier "FUN_00324400") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(param_1 + 8)" (* "*") (cast_expression "(undefined1 (*) [16])(param_1 + 8)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(param_1 + 10)" (* "*") (cast_expression "(undefined1 (*) [16])(param_1 + 10)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00439578;" (assignment_expression "*param_1 = &PTR_FUN_00439578" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00439578" (& "&") (identifier "PTR_FUN_00439578"))) (; ";")) (expression_statement "FUN_002db150(param_1 + 0xd,param_1 + 8);" (call_expression "FUN_002db150(param_1 + 0xd,param_1 + 8)" (identifier "FUN_002db150") (argument_list "(param_1 + 0xd,param_1 + 8)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) (, ",") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "param_1[0xf] = 0;" (assignment_expression "param_1[0xf] = 0" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x12) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x12) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x12)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x12)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x12)" (( "(") (binary_expression "param_1 + 0x12" (identifier "param_1") (+ "+") (number_literal "0x12")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x14] = 0x2000;" (assignment_expression "param_1[0x14] = 0x2000" (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (number_literal "0x2000")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x15) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x15) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x15)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x15)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x15)" (( "(") (binary_expression "param_1 + 0x15" (identifier "param_1") (+ "+") (number_literal "0x15")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x16] = 0;" (assignment_expression "param_1[0x16] = 0" (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x19] = 0;" (assignment_expression "param_1[0x19] = 0" (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1b] = 0;" (assignment_expression "param_1[0x1b] = 0" (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1d] = 0;" (assignment_expression "param_1[0x1d] = 0" (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar2 = FUN_002ee160(puVar1);" (assignment_expression "cVar2 = FUN_002ee160(puVar1)" (identifier "cVar2") (= "=") (call_expression "FUN_002ee160(puVar1)" (identifier "FUN_002ee160") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n    return;\n  }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar3 = FUN_002ecd20(puVar1);" (assignment_expression "uVar3 = FUN_002ecd20(puVar1)" (identifier "uVar3") (= "=") (call_expression "FUN_002ecd20(puVar1)" (identifier "FUN_002ecd20") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")")))) (; ";")) (expression_statement "param_1[0x19] = uVar3;" (assignment_expression "param_1[0x19] = uVar3" (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::filebuf::filebuf() */

void __thiscall var_5::function_1::function_1(function_1 *var_1)

{
  type_1 *this_00;
  bool bVar1;
  type_2 *pcVar2;
  
  this_00 = (type_1 *)(var_1 + 0x38);
  *(type_3 ***)var_1 = &PTR__streambuf_004386a0;
  *(type_4 *)(var_1 + 8) = 0;
  *(type_4 *)(var_1 + 0x10) = 0;
  *(type_4 *)(var_1 + 0x18) = 0;
  *(type_4 *)(var_1 + 0x20) = 0;
  *(type_4 *)(var_1 + 0x28) = 0;
  *(type_4 *)(var_1 + 0x30) = 0;
  locale::type_1(this_00);
  *(type_4 *)(var_1 + 0x60) = 0;
  *(type_5 (*) [16])(var_1 + 0x40) = (type_5  [16])0x0;
  *(type_5 (*) [16])(var_1 + 0x50) = (type_5  [16])0x0;
  *(type_3 ***)var_1 = &PTR__filebuf_00439578;
  var_2<var_3>::var_2((type_6 *)(var_1 + 0x68));
  *(type_4 *)(var_1 + 0x78) = 0;
  *(type_4 *)(var_1 + 0x80) = 0;
  *(type_4 *)(var_1 + 0x88) = 0;
  *(type_7 *)(var_1 + 0x90) = 0;
  *(type_4 *)(var_1 + 0x98) = 0;
  *(type_4 *)(var_1 + 0xa0) = 0x2000;
  *(type_7 *)(var_1 + 0xa8) = 0;
  *(type_4 *)(var_1 + 0xb0) = 0;
  *(type_4 *)(var_1 + 0xb8) = 0;
  var_1[0xc0] = (function_1)0x0;
  *(type_4 *)(var_1 + 200) = 0;
  *(type_4 *)(var_1 + 0xd0) = 0;
  *(type_4 *)(var_1 + 0xd8) = 0;
  *(type_4 *)(var_1 + 0xe0) = 0;
  *(type_4 *)(var_1 + 0xe8) = 0;
  bVar1 = var_4<var_5::type_2<var_3,var_3,var_6>>(this_00);
  if (!bVar1) {
    return;
  }
                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */
  pcVar2 = var_7<var_5::type_2<var_3,var_3,var_6>>(this_00);
  *(type_2 **)(var_1 + 200) = pcVar2;
  return;
}


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

void MASKED(undefined8 *param_1)

{
  undefined8 *puVar1;
  char cVar2;
  undefined8 uVar3;
  
  puVar1 = param_1 + 7;
  *param_1 = &PTR_FUN_004386a0;
  param_1[1] = 0;
  param_1[2] = 0;
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_00324400(puVar1);
  param_1[0xc] = 0;
  *(undefined1 (*) [16])(param_1 + 8) = (undefined1  [16])0x0;
  *(undefined1 (*) [16])(param_1 + 10) = (undefined1  [16])0x0;
  *param_1 = &PTR_FUN_00439578;
  FUN_002db150(param_1 + 0xd,param_1 + 8);
  param_1[0xf] = 0;
  param_1[0x10] = 0;
  param_1[0x11] = 0;
  *(undefined4 *)(param_1 + 0x12) = 0;
  param_1[0x13] = 0;
  param_1[0x14] = 0x2000;
  *(undefined4 *)(param_1 + 0x15) = 0;
  param_1[0x16] = 0;
  param_1[0x17] = 0;
  *(undefined1 *)(param_1 + 0x18) = 0;
  param_1[0x19] = 0;
  param_1[0x1a] = 0;
  param_1[0x1b] = 0;
  param_1[0x1c] = 0;
  param_1[0x1d] = 0;
  cVar2 = FUN_002ee160(puVar1);
  if (cVar2 == '\0') {
    return;
  }
                    /* try { // try from 00303413 to 00303417 has its CatchHandler @ 00303428 */
  uVar3 = FUN_002ecd20(puVar1);
  param_1[0x19] = uVar3;
  return;
}

