
/* std::ostream::seekp(long long, std::_Ios_Seekdir) */

int * std::ostream::seekp(int *param_1_00,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                         undefined4 param_1)

{
  int *piVar1;
  int iVar2;
  int in_t9;
  int local_20;
  int local_1c;
  
                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */
  if ((((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&
      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),
      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))
     && (local_1c == -1)) {
    iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);
    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);
    return param_1_00;
  }
  return param_1_00;
}



int * FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                  undefined4 param_5)

{
  int *piVar1;
  int iVar2;
  int in_t9;
  int local_20;
  int local_1c;
  
                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */
  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&
      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),
      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))
     && (local_1c == -1)) {
    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);
    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);
    return param_1;
  }
  return param_1;
}


lui gp,0x17
addiu gp,gp,0x45d0
addu gp,gp,t9
lw v0,0x0(a0)
addiu sp,sp,-0x40
sw gp,0x18(sp)
lw v0,-0xc(v0)
sw s0,0x38(sp)
sw ra,0x3c(sp)
addu v0,a0,v0
lw v1,0x14(v0)
andi v1,v1,0x5
bne v1,zero,0x002c5c70
_or s0,a0,zero
lw v0,0x78(v0)
li v1,0x10
or a1,v0,zero
lw v0,0x0(v0)
sw v1,0x14(sp)
lw v1,0x50(sp)
sw v1,0x10(sp)
lw t9,0x10(v0)
jalr t9
_addiu a0,sp,0x20
lw v0,0x20(sp)
li v1,-0x1
beq v0,v1,0x002c5c84
_lw gp,0x18(sp)
lw ra,0x3c(sp)
or v0,s0,zero
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x40
lw v1,0x24(sp)
bne v1,v0,0x002c5c74
_lw ra,0x3c(sp)
lw v0,0x0(s0)
lw t9,-0x7184(gp)
lw v0,-0xc(v0)
addu v0,s0,v0
or a0,v0,zero
lw a1,0x14(v0)
jalr t9
_ori a1,a1,0x4
or v0,s0,zero
lw ra,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x40
(translation_unit "int * FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */\n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}\n\n" (function_definition "int * FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */\n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" * (function_declarator "FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" ( (parameter_declaration "int *param_1" primitive_type (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 "undefined4 param_5" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */\n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) comment (if_statement "if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }" if (parenthesized_expression "((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1))" ( (binary_expression "(((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)" (parenthesized_expression "(((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))" ( (binary_expression "((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1)" (parenthesized_expression "((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0)" ( (binary_expression "(*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0" (parenthesized_expression "(*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5)" ( (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x14" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1)" ( (comma_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) , (comma_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1" (call_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10)" (parenthesized_expression "(**(code **)(*piVar1 + 0x10))" ( (pointer_expression "**(code **)(*piVar1 + 0x10)" * (pointer_expression "*(code **)(*piVar1 + 0x10)" * (cast_expression "(code **)(*piVar1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x10)" ( (binary_expression "*piVar1 + 0x10" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(&local_20,piVar1,param_3,param_4,param_5,0x10)" ( (pointer_expression "&local_20" & identifier) , identifier , identifier , identifier , identifier , number_literal ))) , (binary_expression "local_20 == -1" identifier == number_literal))) ))) )) && (parenthesized_expression "(local_1c == -1)" ( (binary_expression "local_1c == -1" identifier == number_literal) ))) )) (compound_statement "{\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }" { (expression_statement "iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))))) ;) (expression_statement "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);" (call_expression "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4)" (parenthesized_expression "(**(code **)(in_t9 + 0x16d44c))" ( (pointer_expression "**(code **)(in_t9 + 0x16d44c)" * (pointer_expression "*(code **)(in_t9 + 0x16d44c)" * (cast_expression "(code **)(in_t9 + 0x16d44c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x16d44c)" ( (binary_expression "in_t9 + 0x16d44c" identifier + number_literal) ))))) )) (argument_list "(iVar2,*(uint *)(iVar2 + 0x14) | 4)" ( identifier , (binary_expression "*(uint *)(iVar2 + 0x14) | 4" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) (return_statement "return param_1;" return identifier ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::ostream::seekp(long long, std::_Ios_Seekdir) */\n\nint * std::ostream::seekp(int *param_1_00,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                         undefined4 param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */\n  if ((((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1_00;\n  }\n  return param_1_00;\n}\n\n" comment (function_definition "int * std::ostream::seekp(int *param_1_00,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                         undefined4 param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */\n  if ((((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1_00;\n  }\n  return param_1_00;\n}" primitive_type (pointer_declarator "* std::ostream::seekp(int *param_1_00,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                         undefined4 param_1)" * (ERROR "std::ostream::" identifier : : identifier : :) (function_declarator "seekp(int *param_1_00,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                         undefined4 param_1)" identifier (parameter_list "(int *param_1_00,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                         undefined4 param_1)" ( (parameter_declaration "int *param_1_00" primitive_type (pointer_declarator "*param_1_00" * 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 "undefined4 param_1" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */\n  if ((((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1_00;\n  }\n  return param_1_00;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) comment (if_statement "if ((((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1_00;\n  }" if (parenthesized_expression "((((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))\n     && (local_1c == -1))" ( (binary_expression "(((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))\n     && (local_1c == -1)" (parenthesized_expression "(((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1))" ( (binary_expression "((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1)" (parenthesized_expression "((*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0)" ( (binary_expression "(*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0" (parenthesized_expression "(*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5)" ( (binary_expression "*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5" (pointer_expression "*(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14)" * (cast_expression "(uint *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14)" ( (binary_expression "(int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14" (binary_expression "(int)param_1_00 + *(int *)(*param_1_00 + -0xc)" (cast_expression "(int)param_1_00" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1_00 + -0xc)" * (cast_expression "(int *)(*param_1_00 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1_00 + -0xc)" ( (binary_expression "*param_1_00 + -0xc" (pointer_expression "*param_1_00" * identifier) + number_literal) ))))) + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1)" ( (comma_expression "piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1" (assignment_expression "piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78)" ( (binary_expression "(int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78" (binary_expression "(int)param_1_00 + *(int *)(*param_1_00 + -0xc)" (cast_expression "(int)param_1_00" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1_00 + -0xc)" * (cast_expression "(int *)(*param_1_00 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1_00 + -0xc)" ( (binary_expression "*param_1_00 + -0xc" (pointer_expression "*param_1_00" * identifier) + number_literal) ))))) + number_literal) ))))) , (comma_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10), local_20 == -1" (call_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_1,0x10)" (parenthesized_expression "(**(code **)(*piVar1 + 0x10))" ( (pointer_expression "**(code **)(*piVar1 + 0x10)" * (pointer_expression "*(code **)(*piVar1 + 0x10)" * (cast_expression "(code **)(*piVar1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x10)" ( (binary_expression "*piVar1 + 0x10" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(&local_20,piVar1,param_3,param_4,param_1,0x10)" ( (pointer_expression "&local_20" & identifier) , identifier , identifier , identifier , identifier , number_literal ))) , (binary_expression "local_20 == -1" identifier == number_literal))) ))) )) && (parenthesized_expression "(local_1c == -1)" ( (binary_expression "local_1c == -1" identifier == number_literal) ))) )) (compound_statement "{\n    iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1_00;\n  }" { (expression_statement "iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);" (assignment_expression "iVar2 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc)" identifier = (binary_expression "(int)param_1_00 + *(int *)(*param_1_00 + -0xc)" (cast_expression "(int)param_1_00" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1_00 + -0xc)" * (cast_expression "(int *)(*param_1_00 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1_00 + -0xc)" ( (binary_expression "*param_1_00 + -0xc" (pointer_expression "*param_1_00" * identifier) + number_literal) )))))) ;) (expression_statement "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);" (call_expression "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4)" (parenthesized_expression "(**(code **)(in_t9 + 0x16d44c))" ( (pointer_expression "**(code **)(in_t9 + 0x16d44c)" * (pointer_expression "*(code **)(in_t9 + 0x16d44c)" * (cast_expression "(code **)(in_t9 + 0x16d44c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x16d44c)" ( (binary_expression "in_t9 + 0x16d44c" identifier + number_literal) ))))) )) (argument_list "(iVar2,*(uint *)(iVar2 + 0x14) | 4)" ( identifier , (binary_expression "*(uint *)(iVar2 + 0x14) | 4" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) (return_statement "return param_1_00;" return identifier ;) })) (return_statement "return param_1_00;" return identifier ;) })))
(translation_unit "int * FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    \n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}\n\n" (function_definition "int * FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    \n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" * (function_declarator "FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" ( (parameter_declaration "int *param_1" primitive_type (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 "undefined4 param_5" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    \n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (if_statement "if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }" if (parenthesized_expression "((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1))" ( (binary_expression "(((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)" (parenthesized_expression "(((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))" ( (binary_expression "((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1)" (parenthesized_expression "((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0)" ( (binary_expression "(*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0" (parenthesized_expression "(*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5)" ( (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x14" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1)" ( (comma_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) , (comma_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1" (call_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10)" (parenthesized_expression "(**(code **)(*piVar1 + 0x10))" ( (pointer_expression "**(code **)(*piVar1 + 0x10)" * (pointer_expression "*(code **)(*piVar1 + 0x10)" * (cast_expression "(code **)(*piVar1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x10)" ( (binary_expression "*piVar1 + 0x10" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(&local_20,piVar1,param_3,param_4,param_5,0x10)" ( (pointer_expression "&local_20" & identifier) , identifier , identifier , identifier , identifier , number_literal ))) , (binary_expression "local_20 == -1" identifier == number_literal))) ))) )) && (parenthesized_expression "(local_1c == -1)" ( (binary_expression "local_1c == -1" identifier == number_literal) ))) )) (compound_statement "{\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }" { (expression_statement "iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))))) ;) (expression_statement "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);" (call_expression "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4)" (parenthesized_expression "(**(code **)(in_t9 + 0x16d44c))" ( (pointer_expression "**(code **)(in_t9 + 0x16d44c)" * (pointer_expression "*(code **)(in_t9 + 0x16d44c)" * (cast_expression "(code **)(in_t9 + 0x16d44c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x16d44c)" ( (binary_expression "in_t9 + 0x16d44c" identifier + number_literal) ))))) )) (argument_list "(iVar2,*(uint *)(iVar2 + 0x14) | 4)" ( identifier , (binary_expression "*(uint *)(iVar2 + 0x14) | 4" (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) (return_statement "return param_1;" return identifier ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) & LIT) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) , (comma_expression (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 ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT , IDENT , LIT ))) , (binary_expression IDENT == LIT))) ))) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT) ))) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)\n\n{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    \n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" (* "*") (function_declarator "FUN_002c5c00(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" (identifier "FUN_002c5c00") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (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 "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")")))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int in_t9;\n  int local_20;\n  int local_1c;\n  \n                    \n  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }\n  return param_1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (if_statement "if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)) {\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }" (if "if") (parenthesized_expression "((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1))" (( "(") (binary_expression "(((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))\n     && (local_1c == -1)" (parenthesized_expression "(((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))" (( "(") (binary_expression "((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&\n      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1)" (parenthesized_expression "((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0)" (( "(") (binary_expression "(*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0" (parenthesized_expression "(*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5)" (( "(") (binary_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5" (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" (* "*") (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x14" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "5")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1)" (( "(") (comma_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),\n      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x78")) () ")"))))) (, ",") (comma_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1" (call_expression "(**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10)" (parenthesized_expression "(**(code **)(*piVar1 + 0x10))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x10)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x10)" (* "*") (cast_expression "(code **)(*piVar1 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x10)" (( "(") (binary_expression "*piVar1 + 0x10" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(&local_20,piVar1,param_3,param_4,param_5,0x10)" (( "(") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (identifier "piVar1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (number_literal "0x10") () ")"))) (, ",") (binary_expression "local_20 == -1" (identifier "local_20") (== "==") (number_literal "-1")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(local_1c == -1)" (( "(") (binary_expression "local_1c == -1" (identifier "local_1c") (== "==") (number_literal "-1")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);\n    return param_1;\n  }" ({ "{") (expression_statement "iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc)" (identifier "iVar2") (= "=") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);" (call_expression "(**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4)" (parenthesized_expression "(**(code **)(in_t9 + 0x16d44c))" (( "(") (pointer_expression "**(code **)(in_t9 + 0x16d44c)" (* "*") (pointer_expression "*(code **)(in_t9 + 0x16d44c)" (* "*") (cast_expression "(code **)(in_t9 + 0x16d44c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x16d44c)" (( "(") (binary_expression "in_t9 + 0x16d44c" (identifier "in_t9") (+ "+") (number_literal "0x16d44c")) () ")"))))) () ")")) (argument_list "(iVar2,*(uint *)(iVar2 + 0x14) | 4)" (( "(") (identifier "iVar2") (, ",") (binary_expression "*(uint *)(iVar2 + 0x14) | 4" (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (| "|") (number_literal "4")) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::ostream::seekp(long long, std::_Ios_Seekdir) */

int * std::ostream::function_1(int *param_1_00,type_1 param_2,type_1 param_3,type_1 param_4,
                         type_1 param_1)

{
  int *piVar1;
  int var_4;
  int var_3;
  int var_1;
  int var_2;
  
                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */
  if ((((*(type_2 *)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x14) & 5) == 0) &&
      (piVar1 = *(int **)((int)param_1_00 + *(int *)(*param_1_00 + -0xc) + 0x78),
      (**(type_3 **)(*piVar1 + 0x10))(&var_1,piVar1,param_3,param_4,param_1,0x10), var_1 == -1))
     && (var_2 == -1)) {
    var_4 = (int)param_1_00 + *(int *)(*param_1_00 + -0xc);
    (**(type_3 **)(var_3 + 0x16d44c))(var_4,*(type_2 *)(var_4 + 0x14) | 4);
    return param_1_00;
  }
  return param_1_00;
}


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

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

{
  int *piVar1;
  int iVar2;
  int in_t9;
  int local_20;
  int local_1c;
  
                    /* try { // try from 002c5c58 to 002c5c5f has its CatchHandler @ 002c5cc4 */
  if ((((*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x14) & 5) == 0) &&
      (piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78),
      (**(code **)(*piVar1 + 0x10))(&local_20,piVar1,param_3,param_4,param_5,0x10), local_20 == -1))
     && (local_1c == -1)) {
    iVar2 = (int)param_1 + *(int *)(*param_1 + -0xc);
    (**(code **)(in_t9 + 0x16d44c))(iVar2,*(uint *)(iVar2 + 0x14) | 4);
    return param_1;
  }
  return param_1;
}

