
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::time_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::get(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,
   std::_Ios_Iostate&, tm*, char, char) const */

void std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::get
               (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
               int *param_5,int param_6,int param_7,uint *param_8,undefined4 param_9,char param_10,
               char param_11)

{
  ctype *pcVar1;
  int iVar2;
  bool bVar3;
  int *piVar4;
  bool bVar5;
  int *local_34;
  int iStack_30;
  undefined4 local_2c;
  int local_28;
  int local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x25a889;
  pcVar1 = use_facet<std::ctype<wchar_t>>((locale *)(param_7 + 0x6c));
  *param_8 = 0;
  local_2c = (**(code **)(*(int *)pcVar1 + 0x28))(pcVar1,0x25);
  if (param_11 == '\0') {
    local_24 = 0;
    local_28 = (int)param_10;
  }
  else {
    local_28 = (int)param_11;
    local_20 = 0;
    local_24 = (int)param_10;
  }
  _M_extract_via_format
            (&local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);
  bVar5 = iStack_30 == -1;
  bVar3 = local_34 != (int *)0x0 && bVar5;
  piVar4 = local_34;
  if (bVar3) {
    if ((int *)local_34[2] < (int *)local_34[3]) {
      iVar2 = *(int *)local_34[2];
    }
    else {
      iVar2 = (**(code **)(*local_34 + 0x24))(local_34);
    }
    if (iVar2 == -1) {
      local_34 = (int *)0x0;
    }
    bVar5 = iVar2 == -1 && bVar3;
    piVar4 = local_34;
  }
  bVar3 = param_6 == -1;
  if ((param_5 != (int *)0x0) && (bVar3)) {
    if ((int *)param_5[2] < (int *)param_5[3]) {
      iVar2 = *(int *)param_5[2];
    }
    else {
      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);
    }
    bVar3 = iVar2 == -1;
  }
  if (bVar5 == bVar3) {
    *param_8 = *param_8 | 2;
  }
  *param_1 = piVar4;
  param_1[1] = iStack_30;
  return;
}



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

void FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,
                 char param_10,char param_11)

{
  int *piVar1;
  int iVar2;
  bool bVar3;
  int *piVar4;
  bool bVar5;
  undefined4 *unaff_retaddr;
  int local_34 [2];
  undefined4 local_2c;
  int *local_28;
  int *local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x25a889;
  piVar4 = (int *)(int)param_10;
  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);
  *param_8 = 0;
  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);
  if (param_11 == '\0') {
    local_24 = (int *)0x0;
    local_28 = piVar4;
  }
  else {
    local_28 = (int *)(int)param_11;
    local_20 = 0;
    local_24 = piVar4;
  }
  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);
  bVar5 = local_34[0] == -1;
  bVar3 = piVar4 != (int *)0x0 && bVar5;
  if (bVar3) {
    if ((int *)piVar4[2] < (int *)piVar4[3]) {
      iVar2 = *(int *)piVar4[2];
    }
    else {
      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);
    }
    if (iVar2 == -1) {
      piVar4 = (int *)0x0;
    }
    bVar5 = iVar2 == -1 && bVar3;
  }
  bVar3 = param_6 == -1;
  if ((param_5 != (int *)0x0) && (bVar3)) {
    if ((int *)param_5[2] < (int *)param_5[3]) {
      iVar2 = *(int *)param_5[2];
    }
    else {
      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);
    }
    bVar3 = iVar2 == -1;
  }
  if (bVar5 == bVar3) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = piVar4;
  unaff_retaddr[1] = local_34[0];
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036f20
ADD EBX,0x154777
SUB ESP,0x48
MOV EAX,dword ptr [ESP + 0x74]
MOV ESI,dword ptr [ESP + 0x6c]
MOV EDI,dword ptr [ESP + 0x70]
MOVSX EDX,byte ptr [ESP + 0x80]
ADD EAX,0x6c
MOV EBP,dword ptr [ESP + 0x84]
MOV dword ptr [ESP + 0x14],ESI
MOV dword ptr [ESP + 0x20],EDX
MOV dword ptr [ESP + 0x18],EDI
PUSH EAX
CALL 0x00254450
MOV ECX,dword ptr [ESP + 0x7c]
MOV dword ptr [ECX],0x0
POP EDX
POP ECX
MOV ECX,dword ptr [EAX]
PUSH 0x25
PUSH EAX
CALL dword ptr [ECX + 0x28]
MOV dword ptr [ESP + 0x30],EAX
MOV EAX,EBP
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x14]
TEST AL,AL
JNZ 0x0025a990
MOV dword ptr [ESP + 0x24],EDX
MOV dword ptr [ESP + 0x28],0x0
LEA EAX,[ESP + 0x18]
SUB ESP,0x8
LEA EDX,[ESP + 0x28]
PUSH EDX
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH EAX
CALL 0x00259c60
MOV ECX,dword ptr [ESP + 0x48]
MOV EAX,dword ptr [ESP + 0x44]
ADD ESP,0x2c
CMP ECX,-0x1
MOV EBP,EAX
SETZ BL
TEST EAX,EAX
SETNZ DL
AND DL,BL
JNZ 0x0025a9b0
CMP EDI,-0x1
SETZ AL
MOV EDX,EAX
TEST ESI,ESI
JZ 0x0025a955
TEST AL,AL
JNZ 0x0025a978
CMP BL,DL
JNZ 0x0025a960
MOV EAX,dword ptr [ESP + 0x6c]
OR dword ptr [EAX],0x2
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [EAX],EBP
MOV dword ptr [EAX + 0x4],ECX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,dword ptr [ESI + 0x8]
CMP EAX,dword ptr [ESI + 0xc]
JNC 0x0025a9d8
MOV EAX,dword ptr [EAX]
CMP EAX,-0x1
SETZ DL
JMP 0x0025a955
MOVSX EBP,AL
MOV dword ptr [ESP + 0x28],EDX
MOV dword ptr [ESP + 0x24],EBP
MOV dword ptr [ESP + 0x2c],0x0
JMP 0x0025a8f7
MOV EBX,dword ptr [EAX + 0x8]
CMP EBX,dword ptr [EAX + 0xc]
JNC 0x0025a9f0
MOV EAX,dword ptr [EBX]
CMP EAX,-0x1
MOV EBX,0x0
MOV EAX,0x0
CMOVZ EBX,EDX
CMOVZ EBP,EAX
JMP 0x0025a945
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x24]
MOV ECX,dword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x0025a982
MOV byte ptr [ESP + 0x14],DL
SUB ESP,0xc
MOV EBX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],ECX
PUSH EAX
CALL dword ptr [EBX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x18]
ADD ESP,0x10
JMP 0x0025a9ba
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}\n\n" comment (function_definition "void FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" primitive_type (function_declarator "FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "undefined4 param_9" type_identifier identifier) , (parameter_declaration "char param_10" primitive_type identifier) , (parameter_declaration "char param_11" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int local_34 [2];" primitive_type (array_declarator "local_34 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x25a889;" (assignment_expression "uStack_14 = 0x25a889" identifier = number_literal) ;) (expression_statement "piVar4 = (int *)(int)param_10;" (assignment_expression "piVar4 = (int *)(int)param_10" identifier = (cast_expression "(int *)(int)param_10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)param_10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "piVar1 = (int *)FUN_00254450(param_7 + 0x1b);" (assignment_expression "piVar1 = (int *)FUN_00254450(param_7 + 0x1b)" identifier = (cast_expression "(int *)FUN_00254450(param_7 + 0x1b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00254450(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) ))))) ;) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" * identifier) = number_literal) ;) (expression_statement "local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);" (assignment_expression "local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,0x25)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x25)" ( identifier , number_literal )))) ;) (if_statement "if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" if (parenthesized_expression "(param_11 == '\0')" ( (binary_expression "param_11 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }" { (expression_statement "local_24 = (int *)0x0;" (assignment_expression "local_24 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" identifier = identifier) ;) }) (else_clause "else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" else (compound_statement "{\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" { (expression_statement "local_28 = (int *)(int)param_11;" (assignment_expression "local_28 = (int *)(int)param_11" identifier = (cast_expression "(int *)(int)param_11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)param_11" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_24 = piVar4;" (assignment_expression "local_24 = piVar4" identifier = identifier) ;) }))) (expression_statement "FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);" (call_expression "FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" identifier (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) ))) ;) (expression_statement "bVar5 = local_34[0] == -1;" (assignment_expression "bVar5 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar3 = piVar4 != (int *)0x0 && bVar5;" (assignment_expression "bVar3 = piVar4 != (int *)0x0 && bVar5" identifier = (binary_expression "piVar4 != (int *)0x0 && bVar5" (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }" { (if_statement "if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" if (parenthesized_expression "((int *)piVar4[2] < (int *)piVar4[3])" ( (binary_expression "(int *)piVar4[2] < (int *)piVar4[3]" (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ])) < (cast_expression "(int *)piVar4[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = *(int *)piVar4[2];\n    }" { (expression_statement "iVar2 = *(int *)piVar4[2];" (assignment_expression "iVar2 = *(int *)piVar4[2]" identifier = (pointer_expression "*(int *)piVar4[2]" * (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" else (compound_statement "{\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" { (expression_statement "iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);" (assignment_expression "iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4)" identifier = (call_expression "(**(code **)(*piVar4 + 0x24))(piVar4)" (parenthesized_expression "(**(code **)(*piVar4 + 0x24))" ( (pointer_expression "**(code **)(*piVar4 + 0x24)" * (pointer_expression "*(code **)(*piVar4 + 0x24)" * (cast_expression "(code **)(*piVar4 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar4 + 0x24)" ( (binary_expression "*piVar4 + 0x24" (pointer_expression "*piVar4" * identifier) + number_literal) ))))) )) (argument_list "(piVar4)" ( identifier )))) ;) }))) (if_statement "if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)0x0;\n    }" { (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar5 = iVar2 == -1 && bVar3;" (assignment_expression "bVar5 = iVar2 == -1 && bVar3" identifier = (binary_expression "iVar2 == -1 && bVar3" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) })) (expression_statement "bVar3 = param_6 == -1;" (assignment_expression "bVar3 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (if_statement "if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" if (parenthesized_expression "((param_5 != (int *)0x0) && (bVar3))" ( (binary_expression "(param_5 != (int *)0x0) && (bVar3)" (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar3)" ( identifier ))) )) (compound_statement "{\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" { (if_statement "if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" if (parenthesized_expression "((int *)param_5[2] < (int *)param_5[3])" ( (binary_expression "(int *)param_5[2] < (int *)param_5[3]" (cast_expression "(int *)param_5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_5[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = *(int *)param_5[2];\n    }" { (expression_statement "iVar2 = *(int *)param_5[2];" (assignment_expression "iVar2 = *(int *)param_5[2]" identifier = (pointer_expression "*(int *)param_5[2]" * (cast_expression "(int *)param_5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" else (compound_statement "{\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" { (expression_statement "iVar2 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar2 = (**(code **)(*param_5 + 0x24))(param_5)" identifier = (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" ( (pointer_expression "**(code **)(*param_5 + 0x24)" * (pointer_expression "*(code **)(*param_5 + 0x24)" * (cast_expression "(code **)(*param_5 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x24)" ( (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5)" ( identifier )))) ;) }))) (expression_statement "bVar3 = iVar2 == -1;" (assignment_expression "bVar3 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar5 == bVar3)" ( (binary_expression "bVar5 == bVar3" identifier == identifier) )) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "*unaff_retaddr = piVar4;" (assignment_expression "*unaff_retaddr = piVar4" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_34[0];" (assignment_expression "unaff_retaddr[1] = local_34[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::time_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::get(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,\n   std::_Ios_Iostate&, tm*, char, char) const */\n\nvoid std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::get\n               (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               int *param_5,int param_6,int param_7,uint *param_8,undefined4 param_9,char param_10,\n               char param_11)\n\n{\n  ctype *pcVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  int *local_34;\n  int iStack_30;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  pcVar1 = use_facet<std::ctype<wchar_t>>((locale *)(param_7 + 0x6c));\n  *param_8 = 0;\n  local_2c = (**(code **)(*(int *)pcVar1 + 0x28))(pcVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = 0;\n    local_28 = (int)param_10;\n  }\n  else {\n    local_28 = (int)param_11;\n    local_20 = 0;\n    local_24 = (int)param_10;\n  }\n  _M_extract_via_format\n            (&local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = iStack_30 == -1;\n  bVar3 = local_34 != (int *)0x0 && bVar5;\n  piVar4 = local_34;\n  if (bVar3) {\n    if ((int *)local_34[2] < (int *)local_34[3]) {\n      iVar2 = *(int *)local_34[2];\n    }\n    else {\n      iVar2 = (**(code **)(*local_34 + 0x24))(local_34);\n    }\n    if (iVar2 == -1) {\n      local_34 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n    piVar4 = local_34;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_8 = *param_8 | 2;\n  }\n  *param_1 = piVar4;\n  param_1[1] = iStack_30;\n  return;\n}\n\n" comment comment (declaration "void std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::get\n               (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               int *param_5,int param_6,int param_7,uint *param_8,undefined4 param_9,char param_10,\n               char param_11)\n\n{\n  ctype *pcVar1;" primitive_type (ERROR "std::time_get<" identifier : : identifier <) identifier , (ERROR "std::istreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::get\n               (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               int *param_5,int param_6,int param_7,uint *param_8,undefined4 param_9,char param_10,\n               char param_11)\n\n{\n  ctype" identifier : : identifier < identifier >> > : : (function_declarator "get\n               (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               int *param_5,int param_6,int param_7,uint *param_8,undefined4 param_9,char param_10,\n               char param_11)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               int *param_5,int param_6,int param_7,uint *param_8,undefined4 param_9,char param_10,\n               char param_11)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "uint *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "undefined4 param_9" type_identifier identifier) , (parameter_declaration "char param_10" primitive_type identifier) , (parameter_declaration "char param_11" primitive_type identifier) ))) { identifier) (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int iStack_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x25a889;" (assignment_expression "uStack_14 = 0x25a889" identifier = number_literal) ;) (expression_statement "pcVar1 = use_facet<std::ctype<wchar_t>>((locale *)(param_7 + 0x6c));" (update_expression "pcVar1 = use_facet<std::ctype<wchar_t>>((locale *)(param_7 + 0x6c))" (binary_expression "pcVar1 = use_facet<std::ctype<wchar_t>>((locale *)(param_7 + 0x6c))" (assignment_expression "pcVar1 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "wchar_t>>((locale *)(param_7 + 0x6c))" identifier >> (parenthesized_expression "((locale *)(param_7 + 0x6c))" ( (cast_expression "(locale *)(param_7 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + 0x6c)" ( (binary_expression "param_7 + 0x6c" identifier + number_literal) ))) )))) --) ;) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" * identifier) = number_literal) ;) (expression_statement "local_2c = (**(code **)(*(int *)pcVar1 + 0x28))(pcVar1,0x25);" (assignment_expression "local_2c = (**(code **)(*(int *)pcVar1 + 0x28))(pcVar1,0x25)" identifier = (call_expression "(**(code **)(*(int *)pcVar1 + 0x28))(pcVar1,0x25)" (parenthesized_expression "(**(code **)(*(int *)pcVar1 + 0x28))" ( (pointer_expression "**(code **)(*(int *)pcVar1 + 0x28)" * (pointer_expression "*(code **)(*(int *)pcVar1 + 0x28)" * (cast_expression "(code **)(*(int *)pcVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pcVar1 + 0x28)" ( (binary_expression "*(int *)pcVar1 + 0x28" (pointer_expression "*(int *)pcVar1" * (cast_expression "(int *)pcVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar1,0x25)" ( identifier , number_literal )))) ;) (if_statement "if (param_11 == '\0') {\n    local_24 = 0;\n    local_28 = (int)param_10;\n  }\n  else {\n    local_28 = (int)param_11;\n    local_20 = 0;\n    local_24 = (int)param_10;\n  }" if (parenthesized_expression "(param_11 == '\0')" ( (binary_expression "param_11 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_24 = 0;\n    local_28 = (int)param_10;\n  }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_28 = (int)param_10;" (assignment_expression "local_28 = (int)param_10" identifier = (cast_expression "(int)param_10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n    local_28 = (int)param_11;\n    local_20 = 0;\n    local_24 = (int)param_10;\n  }" else (compound_statement "{\n    local_28 = (int)param_11;\n    local_20 = 0;\n    local_24 = (int)param_10;\n  }" { (expression_statement "local_28 = (int)param_11;" (assignment_expression "local_28 = (int)param_11" identifier = (cast_expression "(int)param_11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_24 = (int)param_10;" (assignment_expression "local_24 = (int)param_10" identifier = (cast_expression "(int)param_10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "_M_extract_via_format\n            (&local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);" (call_expression "_M_extract_via_format\n            (&local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" identifier (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) ))) ;) (expression_statement "bVar5 = iStack_30 == -1;" (assignment_expression "bVar5 = iStack_30 == -1" identifier = (binary_expression "iStack_30 == -1" identifier == number_literal)) ;) (expression_statement "bVar3 = local_34 != (int *)0x0 && bVar5;" (assignment_expression "bVar3 = local_34 != (int *)0x0 && bVar5" identifier = (binary_expression "local_34 != (int *)0x0 && bVar5" (binary_expression "local_34 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (expression_statement "piVar4 = local_34;" (assignment_expression "piVar4 = local_34" identifier = identifier) ;) (if_statement "if (bVar3) {\n    if ((int *)local_34[2] < (int *)local_34[3]) {\n      iVar2 = *(int *)local_34[2];\n    }\n    else {\n      iVar2 = (**(code **)(*local_34 + 0x24))(local_34);\n    }\n    if (iVar2 == -1) {\n      local_34 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n    piVar4 = local_34;\n  }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n    if ((int *)local_34[2] < (int *)local_34[3]) {\n      iVar2 = *(int *)local_34[2];\n    }\n    else {\n      iVar2 = (**(code **)(*local_34 + 0x24))(local_34);\n    }\n    if (iVar2 == -1) {\n      local_34 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n    piVar4 = local_34;\n  }" { (if_statement "if ((int *)local_34[2] < (int *)local_34[3]) {\n      iVar2 = *(int *)local_34[2];\n    }\n    else {\n      iVar2 = (**(code **)(*local_34 + 0x24))(local_34);\n    }" if (parenthesized_expression "((int *)local_34[2] < (int *)local_34[3])" ( (binary_expression "(int *)local_34[2] < (int *)local_34[3]" (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = *(int *)local_34[2];\n    }" { (expression_statement "iVar2 = *(int *)local_34[2];" (assignment_expression "iVar2 = *(int *)local_34[2]" identifier = (pointer_expression "*(int *)local_34[2]" * (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar2 = (**(code **)(*local_34 + 0x24))(local_34);\n    }" else (compound_statement "{\n      iVar2 = (**(code **)(*local_34 + 0x24))(local_34);\n    }" { (expression_statement "iVar2 = (**(code **)(*local_34 + 0x24))(local_34);" (assignment_expression "iVar2 = (**(code **)(*local_34 + 0x24))(local_34)" identifier = (call_expression "(**(code **)(*local_34 + 0x24))(local_34)" (parenthesized_expression "(**(code **)(*local_34 + 0x24))" ( (pointer_expression "**(code **)(*local_34 + 0x24)" * (pointer_expression "*(code **)(*local_34 + 0x24)" * (cast_expression "(code **)(*local_34 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_34 + 0x24)" ( (binary_expression "*local_34 + 0x24" (pointer_expression "*local_34" * identifier) + number_literal) ))))) )) (argument_list "(local_34)" ( identifier )))) ;) }))) (if_statement "if (iVar2 == -1) {\n      local_34 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n      local_34 = (int *)0x0;\n    }" { (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar5 = iVar2 == -1 && bVar3;" (assignment_expression "bVar5 = iVar2 == -1 && bVar3" identifier = (binary_expression "iVar2 == -1 && bVar3" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) (expression_statement "piVar4 = local_34;" (assignment_expression "piVar4 = local_34" identifier = identifier) ;) })) (expression_statement "bVar3 = param_6 == -1;" (assignment_expression "bVar3 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (if_statement "if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" if (parenthesized_expression "((param_5 != (int *)0x0) && (bVar3))" ( (binary_expression "(param_5 != (int *)0x0) && (bVar3)" (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar3)" ( identifier ))) )) (compound_statement "{\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" { (if_statement "if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" if (parenthesized_expression "((int *)param_5[2] < (int *)param_5[3])" ( (binary_expression "(int *)param_5[2] < (int *)param_5[3]" (cast_expression "(int *)param_5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_5[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = *(int *)param_5[2];\n    }" { (expression_statement "iVar2 = *(int *)param_5[2];" (assignment_expression "iVar2 = *(int *)param_5[2]" identifier = (pointer_expression "*(int *)param_5[2]" * (cast_expression "(int *)param_5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" else (compound_statement "{\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" { (expression_statement "iVar2 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar2 = (**(code **)(*param_5 + 0x24))(param_5)" identifier = (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" ( (pointer_expression "**(code **)(*param_5 + 0x24)" * (pointer_expression "*(code **)(*param_5 + 0x24)" * (cast_expression "(code **)(*param_5 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x24)" ( (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5)" ( identifier )))) ;) }))) (expression_statement "bVar3 = iVar2 == -1;" (assignment_expression "bVar3 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar5 == bVar3) {\n    *param_8 = *param_8 | 2;\n  }" if (parenthesized_expression "(bVar5 == bVar3)" ( (binary_expression "bVar5 == bVar3" identifier == identifier) )) (compound_statement "{\n    *param_8 = *param_8 | 2;\n  }" { (expression_statement "*param_8 = *param_8 | 2;" (assignment_expression "*param_8 = *param_8 | 2" (pointer_expression "*param_8" * identifier) = (binary_expression "*param_8 | 2" (pointer_expression "*param_8" * identifier) | number_literal)) ;) })) (expression_statement "*param_1 = piVar4;" (assignment_expression "*param_1 = piVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = iStack_30;" (assignment_expression "param_1[1] = iStack_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}\n\n" (function_definition "void FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" primitive_type (function_declarator "FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "undefined4 param_9" type_identifier identifier) , (parameter_declaration "char param_10" primitive_type identifier) , (parameter_declaration "char param_11" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int local_34 [2];" primitive_type (array_declarator "local_34 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x25a889;" (assignment_expression "uStack_14 = 0x25a889" identifier = number_literal) ;) (expression_statement "piVar4 = (int *)(int)param_10;" (assignment_expression "piVar4 = (int *)(int)param_10" identifier = (cast_expression "(int *)(int)param_10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)param_10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "piVar1 = (int *)FUN_00254450(param_7 + 0x1b);" (assignment_expression "piVar1 = (int *)FUN_00254450(param_7 + 0x1b)" identifier = (cast_expression "(int *)FUN_00254450(param_7 + 0x1b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00254450(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) ))))) ;) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" * identifier) = number_literal) ;) (expression_statement "local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);" (assignment_expression "local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,0x25)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x25)" ( identifier , number_literal )))) ;) (if_statement "if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" if (parenthesized_expression "(param_11 == '\0')" ( (binary_expression "param_11 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }" { (expression_statement "local_24 = (int *)0x0;" (assignment_expression "local_24 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" identifier = identifier) ;) }) (else_clause "else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" else (compound_statement "{\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" { (expression_statement "local_28 = (int *)(int)param_11;" (assignment_expression "local_28 = (int *)(int)param_11" identifier = (cast_expression "(int *)(int)param_11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)param_11" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_24 = piVar4;" (assignment_expression "local_24 = piVar4" identifier = identifier) ;) }))) (expression_statement "FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);" (call_expression "FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" identifier (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) ))) ;) (expression_statement "bVar5 = local_34[0] == -1;" (assignment_expression "bVar5 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar3 = piVar4 != (int *)0x0 && bVar5;" (assignment_expression "bVar3 = piVar4 != (int *)0x0 && bVar5" identifier = (binary_expression "piVar4 != (int *)0x0 && bVar5" (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }" { (if_statement "if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" if (parenthesized_expression "((int *)piVar4[2] < (int *)piVar4[3])" ( (binary_expression "(int *)piVar4[2] < (int *)piVar4[3]" (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ])) < (cast_expression "(int *)piVar4[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = *(int *)piVar4[2];\n    }" { (expression_statement "iVar2 = *(int *)piVar4[2];" (assignment_expression "iVar2 = *(int *)piVar4[2]" identifier = (pointer_expression "*(int *)piVar4[2]" * (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" else (compound_statement "{\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" { (expression_statement "iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);" (assignment_expression "iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4)" identifier = (call_expression "(**(code **)(*piVar4 + 0x24))(piVar4)" (parenthesized_expression "(**(code **)(*piVar4 + 0x24))" ( (pointer_expression "**(code **)(*piVar4 + 0x24)" * (pointer_expression "*(code **)(*piVar4 + 0x24)" * (cast_expression "(code **)(*piVar4 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar4 + 0x24)" ( (binary_expression "*piVar4 + 0x24" (pointer_expression "*piVar4" * identifier) + number_literal) ))))) )) (argument_list "(piVar4)" ( identifier )))) ;) }))) (if_statement "if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)0x0;\n    }" { (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar5 = iVar2 == -1 && bVar3;" (assignment_expression "bVar5 = iVar2 == -1 && bVar3" identifier = (binary_expression "iVar2 == -1 && bVar3" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) })) (expression_statement "bVar3 = param_6 == -1;" (assignment_expression "bVar3 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (if_statement "if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" if (parenthesized_expression "((param_5 != (int *)0x0) && (bVar3))" ( (binary_expression "(param_5 != (int *)0x0) && (bVar3)" (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar3)" ( identifier ))) )) (compound_statement "{\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" { (if_statement "if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" if (parenthesized_expression "((int *)param_5[2] < (int *)param_5[3])" ( (binary_expression "(int *)param_5[2] < (int *)param_5[3]" (cast_expression "(int *)param_5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_5[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar2 = *(int *)param_5[2];\n    }" { (expression_statement "iVar2 = *(int *)param_5[2];" (assignment_expression "iVar2 = *(int *)param_5[2]" identifier = (pointer_expression "*(int *)param_5[2]" * (cast_expression "(int *)param_5[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" else (compound_statement "{\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" { (expression_statement "iVar2 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar2 = (**(code **)(*param_5 + 0x24))(param_5)" identifier = (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" ( (pointer_expression "**(code **)(*param_5 + 0x24)" * (pointer_expression "*(code **)(*param_5 + 0x24)" * (cast_expression "(code **)(*param_5 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x24)" ( (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5)" ( identifier )))) ;) }))) (expression_statement "bVar3 = iVar2 == -1;" (assignment_expression "bVar3 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar5 == bVar3)" ( (binary_expression "bVar5 == bVar3" identifier == identifier) )) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "*unaff_retaddr = piVar4;" (assignment_expression "*unaff_retaddr = piVar4" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_34[0];" (assignment_expression "unaff_retaddr[1] = local_34[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT == LIT) && IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( IDENT ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return ;) })))
(function_definition "void FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0025a880(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" (identifier "FUN_0025a880") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (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 "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "uint *param_7" (type_identifier "uint") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "undefined4 *param_8" (type_identifier "undefined4") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) (, ",") (parameter_declaration "char param_10" (primitive_type "char") (identifier "param_10")) (, ",") (parameter_declaration "char param_11" (primitive_type "char") (identifier "param_11")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  int *piVar4;\n  bool bVar5;\n  undefined4 *unaff_retaddr;\n  int local_34 [2];\n  undefined4 local_2c;\n  int *local_28;\n  int *local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x25a889;\n  piVar4 = (int *)(int)param_10;\n  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);\n  *param_8 = 0;\n  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);\n  if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }\n  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);\n  bVar5 = local_34[0] == -1;\n  bVar3 = piVar4 != (int *)0x0 && bVar5;\n  if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = piVar4;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (declaration "undefined4 *unaff_retaddr;" (type_identifier "undefined4") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (declaration "int local_34 [2];" (primitive_type "int") (array_declarator "local_34 [2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "int *local_24;" (primitive_type "int") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x25a889;" (assignment_expression "uStack_14 = 0x25a889" (identifier "uStack_14") (= "=") (number_literal "0x25a889")) (; ";")) (expression_statement "piVar4 = (int *)(int)param_10;" (assignment_expression "piVar4 = (int *)(int)param_10" (identifier "piVar4") (= "=") (cast_expression "(int *)(int)param_10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)param_10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_10")))) (; ";")) (expression_statement "piVar1 = (int *)FUN_00254450(param_7 + 0x1b);" (assignment_expression "piVar1 = (int *)FUN_00254450(param_7 + 0x1b)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_00254450(param_7 + 0x1b)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00254450(param_7 + 0x1b)" (identifier "FUN_00254450") (argument_list "(param_7 + 0x1b)" (( "(") (binary_expression "param_7 + 0x1b" (identifier "param_7") (+ "+") (number_literal "0x1b")) () ")"))))) (; ";")) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);" (assignment_expression "local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25)" (identifier "local_2c") (= "=") (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1,0x25)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x28)" (* "*") (cast_expression "(code **)(*piVar1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x28)" (( "(") (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,0x25)" (( "(") (identifier "piVar1") (, ",") (number_literal "0x25") () ")")))) (; ";")) (if_statement "if (param_11 == '\0') {\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }\n  else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" (if "if") (parenthesized_expression "(param_11 == '\0')" (( "(") (binary_expression "param_11 == '\0'" (identifier "param_11") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    local_24 = (int *)0x0;\n    local_28 = piVar4;\n  }" ({ "{") (expression_statement "local_24 = (int *)0x0;" (assignment_expression "local_24 = (int *)0x0" (identifier "local_24") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" (identifier "local_28") (= "=") (identifier "piVar4")) (; ";")) (} "}")) (else_clause "else {\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" (else "else") (compound_statement "{\n    local_28 = (int *)(int)param_11;\n    local_20 = 0;\n    local_24 = piVar4;\n  }" ({ "{") (expression_statement "local_28 = (int *)(int)param_11;" (assignment_expression "local_28 = (int *)(int)param_11" (identifier "local_28") (= "=") (cast_expression "(int *)(int)param_11" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)param_11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_11")))) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = piVar4;" (assignment_expression "local_24 = piVar4" (identifier "local_24") (= "=") (identifier "piVar4")) (; ";")) (} "}")))) (expression_statement "FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);" (call_expression "FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" (identifier "FUN_00259c60") (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c)" (( "(") (identifier "local_34") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") (, ",") (identifier "param_9") (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) () ")"))) (; ";")) (expression_statement "bVar5 = local_34[0] == -1;" (assignment_expression "bVar5 = local_34[0] == -1" (identifier "bVar5") (= "=") (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "-1"))) (; ";")) (expression_statement "bVar3 = piVar4 != (int *)0x0 && bVar5;" (assignment_expression "bVar3 = piVar4 != (int *)0x0 && bVar5" (identifier "bVar3") (= "=") (binary_expression "piVar4 != (int *)0x0 && bVar5" (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar5"))) (; ";")) (if_statement "if (bVar3) {\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\n    if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }\n    if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }\n    bVar5 = iVar2 == -1 && bVar3;\n  }" ({ "{") (if_statement "if ((int *)piVar4[2] < (int *)piVar4[3]) {\n      iVar2 = *(int *)piVar4[2];\n    }\n    else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" (if "if") (parenthesized_expression "((int *)piVar4[2] < (int *)piVar4[3])" (( "(") (binary_expression "(int *)piVar4[2] < (int *)piVar4[3]" (cast_expression "(int *)piVar4[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)piVar4[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[3]" (identifier "piVar4") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      iVar2 = *(int *)piVar4[2];\n    }" ({ "{") (expression_statement "iVar2 = *(int *)piVar4[2];" (assignment_expression "iVar2 = *(int *)piVar4[2]" (identifier "iVar2") (= "=") (pointer_expression "*(int *)piVar4[2]" (* "*") (cast_expression "(int *)piVar4[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" (else "else") (compound_statement "{\n      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);\n    }" ({ "{") (expression_statement "iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);" (assignment_expression "iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*piVar4 + 0x24))(piVar4)" (parenthesized_expression "(**(code **)(*piVar4 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar4 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar4 + 0x24)" (* "*") (cast_expression "(code **)(*piVar4 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar4 + 0x24)" (( "(") (binary_expression "*piVar4 + 0x24" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar4)" (( "(") (identifier "piVar4") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar2 == -1) {\n      piVar4 = (int *)0x0;\n    }" (if "if") (parenthesized_expression "(iVar2 == -1)" (( "(") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      piVar4 = (int *)0x0;\n    }" ({ "{") (expression_statement "piVar4 = (int *)0x0;" (assignment_expression "piVar4 = (int *)0x0" (identifier "piVar4") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (expression_statement "bVar5 = iVar2 == -1 && bVar3;" (assignment_expression "bVar5 = iVar2 == -1 && bVar3" (identifier "bVar5") (= "=") (binary_expression "iVar2 == -1 && bVar3" (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) (&& "&&") (identifier "bVar3"))) (; ";")) (} "}"))) (expression_statement "bVar3 = param_6 == -1;" (assignment_expression "bVar3 = param_6 == -1" (identifier "bVar3") (= "=") (binary_expression "param_6 == -1" (identifier "param_6") (== "==") (number_literal "-1"))) (; ";")) (if_statement "if ((param_5 != (int *)0x0) && (bVar3)) {\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" (if "if") (parenthesized_expression "((param_5 != (int *)0x0) && (bVar3))" (( "(") (binary_expression "(param_5 != (int *)0x0) && (bVar3)" (parenthesized_expression "(param_5 != (int *)0x0)" (( "(") (binary_expression "param_5 != (int *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")"))) () ")")) (compound_statement "{\n    if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }\n    bVar3 = iVar2 == -1;\n  }" ({ "{") (if_statement "if ((int *)param_5[2] < (int *)param_5[3]) {\n      iVar2 = *(int *)param_5[2];\n    }\n    else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" (if "if") (parenthesized_expression "((int *)param_5[2] < (int *)param_5[3])" (( "(") (binary_expression "(int *)param_5[2] < (int *)param_5[3]" (cast_expression "(int *)param_5[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)param_5[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      iVar2 = *(int *)param_5[2];\n    }" ({ "{") (expression_statement "iVar2 = *(int *)param_5[2];" (assignment_expression "iVar2 = *(int *)param_5[2]" (identifier "iVar2") (= "=") (pointer_expression "*(int *)param_5[2]" (* "*") (cast_expression "(int *)param_5[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" (else "else") (compound_statement "{\n      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    }" ({ "{") (expression_statement "iVar2 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar2 = (**(code **)(*param_5 + 0x24))(param_5)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" (( "(") (pointer_expression "**(code **)(*param_5 + 0x24)" (* "*") (pointer_expression "*(code **)(*param_5 + 0x24)" (* "*") (cast_expression "(code **)(*param_5 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_5 + 0x24)" (( "(") (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_5)" (( "(") (identifier "param_5") () ")")))) (; ";")) (} "}")))) (expression_statement "bVar3 = iVar2 == -1;" (assignment_expression "bVar3 = iVar2 == -1" (identifier "bVar3") (= "=") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (bVar5 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }" (if "if") (parenthesized_expression "(bVar5 == bVar3)" (( "(") (binary_expression "bVar5 == bVar3" (identifier "bVar5") (== "==") (identifier "bVar3")) () ")")) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" ({ "{") (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "*unaff_retaddr = piVar4;" (assignment_expression "*unaff_retaddr = piVar4" (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (= "=") (identifier "piVar4")) (; ";")) (expression_statement "unaff_retaddr[1] = local_34[0];" (assignment_expression "unaff_retaddr[1] = local_34[0]" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::time_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::get(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&,
   std::_Ios_Iostate&, tm*, char, char) const */

void var_2::time_get<var_3,var_2::istreambuf_iterator<var_3,var_2::char_traits<var_3>>>::get
               (type_1 *param_1,type_1 param_2,type_1 param_3,type_1 param_4,
               int *var_13,int var_12,int var_4,uint *param_8,type_1 param_9,char param_10,
               char var_5)

{
  ctype *pcVar1;
  int var_10;
  bool var_11;
  int *piVar4;
  bool var_9;
  int *var_8;
  int var_7;
  type_1 local_2c;
  int local_28;
  int local_24;
  type_1 local_20;
  type_1 uStack_14;
  
  uStack_14 = 0x25a889;
  pcVar1 = var_1<var_2::ctype<var_3>>((type_2 *)(var_4 + 0x6c));
  *param_8 = 0;
  local_2c = (**(type_3 **)(*(int *)pcVar1 + 0x28))(pcVar1,0x25);
  if (var_5 == '\0') {
    local_24 = 0;
    local_28 = (int)param_10;
  }
  else {
    local_28 = (int)var_5;
    local_20 = 0;
    local_24 = (int)param_10;
  }
  var_6
            (&var_8,param_2,param_3,param_4,var_13,var_12,var_4,param_8,param_9,&local_2c);
  var_9 = var_7 == -1;
  var_11 = var_8 != (int *)0x0 && var_9;
  piVar4 = var_8;
  if (var_11) {
    if ((int *)var_8[2] < (int *)var_8[3]) {
      var_10 = *(int *)var_8[2];
    }
    else {
      var_10 = (**(type_3 **)(*var_8 + 0x24))(var_8);
    }
    if (var_10 == -1) {
      var_8 = (int *)0x0;
    }
    var_9 = var_10 == -1 && var_11;
    piVar4 = var_8;
  }
  var_11 = var_12 == -1;
  if ((var_13 != (int *)0x0) && (var_11)) {
    if ((int *)var_13[2] < (int *)var_13[3]) {
      var_10 = *(int *)var_13[2];
    }
    else {
      var_10 = (**(type_3 **)(*var_13 + 0x24))(var_13);
    }
    var_11 = var_10 == -1;
  }
  if (var_9 == var_11) {
    *param_8 = *param_8 | 2;
  }
  *param_1 = piVar4;
  param_1[1] = var_7;
  return;
}


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

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

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,
                 char param_10,char param_11)

{
  int *piVar1;
  int iVar2;
  bool bVar3;
  int *piVar4;
  bool bVar5;
  undefined4 *unaff_retaddr;
  int local_34 [2];
  undefined4 local_2c;
  int *local_28;
  int *local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x25a889;
  piVar4 = (int *)(int)param_10;
  piVar1 = (int *)FUN_00254450(param_7 + 0x1b);
  *param_8 = 0;
  local_2c = (**(code **)(*piVar1 + 0x28))(piVar1,0x25);
  if (param_11 == '\0') {
    local_24 = (int *)0x0;
    local_28 = piVar4;
  }
  else {
    local_28 = (int *)(int)param_11;
    local_20 = 0;
    local_24 = piVar4;
  }
  FUN_00259c60(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_2c);
  bVar5 = local_34[0] == -1;
  bVar3 = piVar4 != (int *)0x0 && bVar5;
  if (bVar3) {
    if ((int *)piVar4[2] < (int *)piVar4[3]) {
      iVar2 = *(int *)piVar4[2];
    }
    else {
      iVar2 = (**(code **)(*piVar4 + 0x24))(piVar4);
    }
    if (iVar2 == -1) {
      piVar4 = (int *)0x0;
    }
    bVar5 = iVar2 == -1 && bVar3;
  }
  bVar3 = param_6 == -1;
  if ((param_5 != (int *)0x0) && (bVar3)) {
    if ((int *)param_5[2] < (int *)param_5[3]) {
      iVar2 = *(int *)param_5[2];
    }
    else {
      iVar2 = (**(code **)(*param_5 + 0x24))(param_5);
    }
    bVar3 = iVar2 == -1;
  }
  if (bVar5 == bVar3) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = piVar4;
  unaff_retaddr[1] = local_34[0];
  return;
}

