
/* std::streambuf::sbumpc() */

uint __thiscall std::streambuf::sbumpc(streambuf *this)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  code *UNRECOVERED_JUMPTABLE;
  
  pbVar3 = *(byte **)(this + 8);
  if (pbVar3 < *(byte **)(this + 0xc)) {
    uVar1 = (uint)*pbVar3;
    *(byte **)(this + 8) = pbVar3 + 1;
  }
  else {
    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);
    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {
                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar1 = (*UNRECOVERED_JUMPTABLE)();
      return uVar1;
    }
    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);
    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||
       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {
      uVar1 = 0xffffffff;
    }
    else {
      uVar1 = (uint)**(byte **)(this + 8);
      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;
    }
  }
  return uVar1;
}



/* std::streambuf::sbumpc() */

uint __thiscall std::streambuf::sbumpc(streambuf *this)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  code *UNRECOVERED_JUMPTABLE;
  
  pbVar3 = *(byte **)(this + 8);
  if (pbVar3 < *(byte **)(this + 0xc)) {
    uVar1 = (uint)*pbVar3;
    *(byte **)(this + 8) = pbVar3 + 1;
  }
  else {
    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);
    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {
                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar1 = (*UNRECOVERED_JUMPTABLE)();
      return uVar1;
    }
    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);
    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||
       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {
      uVar1 = 0xffffffff;
    }
    else {
      uVar1 = (uint)**(byte **)(this + 8);
      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;
    }
  }
  return uVar1;
}


lui gp,0x17
addiu gp,gp,0x5e2c
addu gp,gp,t9
addiu sp,sp,-0x20
lw a1,0x8(a0)
lw v0,0xc(a0)
sw gp,0x10(sp)
sltu v0,a1,v0
sw s0,0x18(sp)
sw ra,0x1c(sp)
beq v0,zero,0x002c43f0
_or s0,a0,zero
addiu a0,a1,0x1
lbu v0,0x0(a1)
sw a0,0x8(s0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw v0,0x0(a0)
lw a1,-0x4310(gp)
lw t9,0x28(v0)
bne t9,a1,0x002c4444
_lw ra,0x1c(sp)
lw t9,0x24(v0)
lw v0,-0x4314(gp)
bne t9,v0,0x002c441c
_nop
b 0x002c43e0
_li v0,-0x1
jalr t9
_nop
li v1,-0x1
beq v0,v1,0x002c4414
_nop
lw v0,0x8(s0)
addiu v1,v0,0x1
lbu v0,0x0(v0)
b 0x002c43e0
_sw v1,0x8(s0)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
(translation_unit "/* std::streambuf::sbumpc() */\n\nuint __thiscall std::streambuf::sbumpc(streambuf *this)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "uint __thiscall std::streambuf::sbumpc(streambuf *this)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::streambuf::" identifier : : identifier : :) (function_declarator "sbumpc(streambuf *this)" identifier (parameter_list "(streambuf *this)" ( (parameter_declaration "streambuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "pbVar3 = *(byte **)(this + 8);" (assignment_expression "pbVar3 = *(byte **)(this + 8)" identifier = (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (if_statement "if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" if (parenthesized_expression "(pbVar3 < *(byte **)(this + 0xc))" ( (binary_expression "pbVar3 < *(byte **)(this + 0xc)" identifier < (pointer_expression "*(byte **)(this + 0xc)" * (cast_expression "(byte **)(this + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }" { (expression_statement "uVar1 = (uint)*pbVar3;" (assignment_expression "uVar1 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "*(byte **)(this + 8) = pbVar3 + 1;" (assignment_expression "*(byte **)(this + 8) = pbVar3 + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" else (compound_statement "{\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" { (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28)" identifier = (pointer_expression "*(code **)(*(int *)this + 0x28)" * (cast_expression "(code **)(*(int *)this + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x28)" ( (binary_expression "*(int *)this + 0x28" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" if (parenthesized_expression "(UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0)" ( (binary_expression "UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0" identifier != (cast_expression "(code *)PTR_uflow_00435ec0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" { comment comment (expression_statement "uVar1 = (*UNRECOVERED_JUMPTABLE)();" (assignment_expression "uVar1 = (*UNRECOVERED_JUMPTABLE)()" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24)" identifier = (pointer_expression "*(code **)(*(int *)this + 0x24)" * (cast_expression "(code **)(*(int *)this + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x24)" ( (binary_expression "*(int *)this + 0x24" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" if (parenthesized_expression "((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1))" ( (binary_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" (parenthesized_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc)" ( (binary_expression "UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc" identifier == (cast_expression "(code *)PTR_underflow_00435ebc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) || (parenthesized_expression "(iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" ( (comma_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1" (assignment_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)()" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( )))) , (binary_expression "iVar2 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar1 = 0xffffffff;\n    }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" else (compound_statement "{\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" { (expression_statement "uVar1 = (uint)**(byte **)(this + 8);" (assignment_expression "uVar1 = (uint)**(byte **)(this + 8)" identifier = (binary_expression "(uint)**(byte **)(this + 8)" (parenthesized_expression "(uint)" ( identifier )) * (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))))) ;) (expression_statement "*(byte **)(this + 8) = *(byte **)(this + 8) + 1;" (assignment_expression "*(byte **)(this + 8) = *(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "*(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal)) ;) }))) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* std::streambuf::sbumpc() */\n\nuint __thiscall std::streambuf::sbumpc(streambuf *this)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "uint __thiscall std::streambuf::sbumpc(streambuf *this)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::streambuf::" identifier : : identifier : :) (function_declarator "sbumpc(streambuf *this)" identifier (parameter_list "(streambuf *this)" ( (parameter_declaration "streambuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "pbVar3 = *(byte **)(this + 8);" (assignment_expression "pbVar3 = *(byte **)(this + 8)" identifier = (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (if_statement "if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" if (parenthesized_expression "(pbVar3 < *(byte **)(this + 0xc))" ( (binary_expression "pbVar3 < *(byte **)(this + 0xc)" identifier < (pointer_expression "*(byte **)(this + 0xc)" * (cast_expression "(byte **)(this + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }" { (expression_statement "uVar1 = (uint)*pbVar3;" (assignment_expression "uVar1 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "*(byte **)(this + 8) = pbVar3 + 1;" (assignment_expression "*(byte **)(this + 8) = pbVar3 + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" else (compound_statement "{\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" { (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28)" identifier = (pointer_expression "*(code **)(*(int *)this + 0x28)" * (cast_expression "(code **)(*(int *)this + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x28)" ( (binary_expression "*(int *)this + 0x28" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" if (parenthesized_expression "(UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0)" ( (binary_expression "UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0" identifier != (cast_expression "(code *)PTR_uflow_00435ec0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" { comment comment (expression_statement "uVar1 = (*UNRECOVERED_JUMPTABLE)();" (assignment_expression "uVar1 = (*UNRECOVERED_JUMPTABLE)()" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24)" identifier = (pointer_expression "*(code **)(*(int *)this + 0x24)" * (cast_expression "(code **)(*(int *)this + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x24)" ( (binary_expression "*(int *)this + 0x24" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" if (parenthesized_expression "((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1))" ( (binary_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" (parenthesized_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc)" ( (binary_expression "UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc" identifier == (cast_expression "(code *)PTR_underflow_00435ebc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) || (parenthesized_expression "(iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" ( (comma_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1" (assignment_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)()" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( )))) , (binary_expression "iVar2 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar1 = 0xffffffff;\n    }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" else (compound_statement "{\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" { (expression_statement "uVar1 = (uint)**(byte **)(this + 8);" (assignment_expression "uVar1 = (uint)**(byte **)(this + 8)" identifier = (binary_expression "(uint)**(byte **)(this + 8)" (parenthesized_expression "(uint)" ( identifier )) * (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))))) ;) (expression_statement "*(byte **)(this + 8) = *(byte **)(this + 8) + 1;" (assignment_expression "*(byte **)(this + 8) = *(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "*(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal)) ;) }))) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint __thiscall std::streambuf::sbumpc(streambuf *this)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint __thiscall std::streambuf::sbumpc(streambuf *this)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::streambuf::" identifier : : identifier : :) (function_declarator "sbumpc(streambuf *this)" identifier (parameter_list "(streambuf *this)" ( (parameter_declaration "streambuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "pbVar3 = *(byte **)(this + 8);" (assignment_expression "pbVar3 = *(byte **)(this + 8)" identifier = (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (if_statement "if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" if (parenthesized_expression "(pbVar3 < *(byte **)(this + 0xc))" ( (binary_expression "pbVar3 < *(byte **)(this + 0xc)" identifier < (pointer_expression "*(byte **)(this + 0xc)" * (cast_expression "(byte **)(this + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }" { (expression_statement "uVar1 = (uint)*pbVar3;" (assignment_expression "uVar1 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "*(byte **)(this + 8) = pbVar3 + 1;" (assignment_expression "*(byte **)(this + 8) = pbVar3 + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" else (compound_statement "{\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" { (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28)" identifier = (pointer_expression "*(code **)(*(int *)this + 0x28)" * (cast_expression "(code **)(*(int *)this + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x28)" ( (binary_expression "*(int *)this + 0x28" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" if (parenthesized_expression "(UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0)" ( (binary_expression "UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0" identifier != (cast_expression "(code *)PTR_uflow_00435ec0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" { (expression_statement "uVar1 = (*UNRECOVERED_JUMPTABLE)();" (assignment_expression "uVar1 = (*UNRECOVERED_JUMPTABLE)()" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24)" identifier = (pointer_expression "*(code **)(*(int *)this + 0x24)" * (cast_expression "(code **)(*(int *)this + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x24)" ( (binary_expression "*(int *)this + 0x24" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" if (parenthesized_expression "((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1))" ( (binary_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" (parenthesized_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc)" ( (binary_expression "UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc" identifier == (cast_expression "(code *)PTR_underflow_00435ebc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) || (parenthesized_expression "(iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" ( (comma_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1" (assignment_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)()" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( )))) , (binary_expression "iVar2 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar1 = 0xffffffff;\n    }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" else (compound_statement "{\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" { (expression_statement "uVar1 = (uint)**(byte **)(this + 8);" (assignment_expression "uVar1 = (uint)**(byte **)(this + 8)" identifier = (binary_expression "(uint)**(byte **)(this + 8)" (parenthesized_expression "(uint)" ( identifier )) * (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))))) ;) (expression_statement "*(byte **)(this + 8) = *(byte **)(this + 8) + 1;" (assignment_expression "*(byte **)(this + 8) = *(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "*(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) + number_literal)) ;) }))) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }))) }))) (return_statement return IDENT ;) })))
(function_definition "uint __thiscall std::streambuf::sbumpc(streambuf *this)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" (type_identifier "uint") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::streambuf::" (identifier "std") (: ":") (: ":") (identifier "streambuf") (: ":") (: ":")) (function_declarator "sbumpc(streambuf *this)" (identifier "sbumpc") (parameter_list "(streambuf *this)" (( "(") (parameter_declaration "streambuf *this" (type_identifier "streambuf") (pointer_declarator "*this" (* "*") (identifier "this"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  code *UNRECOVERED_JUMPTABLE;\n  \n  pbVar3 = *(byte **)(this + 8);\n  if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "code *UNRECOVERED_JUMPTABLE;" (type_identifier "code") (pointer_declarator "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) (; ";")) (expression_statement "pbVar3 = *(byte **)(this + 8);" (assignment_expression "pbVar3 = *(byte **)(this + 8)" (identifier "pbVar3") (= "=") (pointer_expression "*(byte **)(this + 8)" (* "*") (cast_expression "(byte **)(this + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (pbVar3 < *(byte **)(this + 0xc)) {\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }\n  else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" (if "if") (parenthesized_expression "(pbVar3 < *(byte **)(this + 0xc))" (( "(") (binary_expression "pbVar3 < *(byte **)(this + 0xc)" (identifier "pbVar3") (< "<") (pointer_expression "*(byte **)(this + 0xc)" (* "*") (cast_expression "(byte **)(this + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 0xc)" (( "(") (binary_expression "this + 0xc" (identifier "this") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n    uVar1 = (uint)*pbVar3;\n    *(byte **)(this + 8) = pbVar3 + 1;\n  }" ({ "{") (expression_statement "uVar1 = (uint)*pbVar3;" (assignment_expression "uVar1 = (uint)*pbVar3" (identifier "uVar1") (= "=") (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "*(byte **)(this + 8) = pbVar3 + 1;" (assignment_expression "*(byte **)(this + 8) = pbVar3 + 1" (pointer_expression "*(byte **)(this + 8)" (* "*") (cast_expression "(byte **)(this + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" (else "else") (compound_statement "{\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);\n    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }\n    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);\n    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }\n  }" ({ "{") (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28)" (identifier "UNRECOVERED_JUMPTABLE") (= "=") (pointer_expression "*(code **)(*(int *)this + 0x28)" (* "*") (cast_expression "(code **)(*(int *)this + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)this + 0x28)" (( "(") (binary_expression "*(int *)this + 0x28" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" (if "if") (parenthesized_expression "(UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0)" (( "(") (binary_expression "UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0" (identifier "UNRECOVERED_JUMPTABLE") (!= "!=") (cast_expression "(code *)PTR_uflow_00435ec0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_uflow_00435ec0"))) () ")")) (compound_statement "{\n                    \n                    \n      uVar1 = (*UNRECOVERED_JUMPTABLE)();\n      return uVar1;\n    }" ({ "{") (expression_statement "uVar1 = (*UNRECOVERED_JUMPTABLE)();" (assignment_expression "uVar1 = (*UNRECOVERED_JUMPTABLE)()" (identifier "uVar1") (= "=") (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" (( "(") (pointer_expression "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);" (assignment_expression "UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24)" (identifier "UNRECOVERED_JUMPTABLE") (= "=") (pointer_expression "*(code **)(*(int *)this + 0x24)" (* "*") (cast_expression "(code **)(*(int *)this + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)this + 0x24)" (( "(") (binary_expression "*(int *)this + 0x24" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {\n      uVar1 = 0xffffffff;\n    }\n    else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" (if "if") (parenthesized_expression "((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1))" (( "(") (binary_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||\n       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" (parenthesized_expression "(UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc)" (( "(") (binary_expression "UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc" (identifier "UNRECOVERED_JUMPTABLE") (== "==") (cast_expression "(code *)PTR_underflow_00435ebc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_underflow_00435ebc"))) () ")")) (|| "||") (parenthesized_expression "(iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)" (( "(") (comma_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1" (assignment_expression "iVar2 = (*UNRECOVERED_JUMPTABLE)()" (identifier "iVar2") (= "=") (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" (( "(") (pointer_expression "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) () ")")) (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\n      uVar1 = 0xffffffff;\n    }" ({ "{") (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" (identifier "uVar1") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" (else "else") (compound_statement "{\n      uVar1 = (uint)**(byte **)(this + 8);\n      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;\n    }" ({ "{") (expression_statement "uVar1 = (uint)**(byte **)(this + 8);" (assignment_expression "uVar1 = (uint)**(byte **)(this + 8)" (identifier "uVar1") (= "=") (binary_expression "(uint)**(byte **)(this + 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (pointer_expression "*(byte **)(this + 8)" (* "*") (cast_expression "(byte **)(this + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "*(byte **)(this + 8) = *(byte **)(this + 8) + 1;" (assignment_expression "*(byte **)(this + 8) = *(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" (* "*") (cast_expression "(byte **)(this + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(byte **)(this + 8) + 1" (pointer_expression "*(byte **)(this + 8)" (* "*") (cast_expression "(byte **)(this + 8)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* std::streambuf::sbumpc() */

type_1 __thiscall std::type_2::function_1(type_2 *var_1)

{
  type_1 uVar1;
  int var_4;
  type_3 *var_2;
  type_4 *var_3;
  
  var_2 = *(type_3 **)(var_1 + 8);
  if (var_2 < *(type_3 **)(var_1 + 0xc)) {
    uVar1 = (type_1)*var_2;
    *(type_3 **)(var_1 + 8) = var_2 + 1;
  }
  else {
    var_3 = *(type_4 **)(*(int *)var_1 + 0x28);
    if (var_3 != (type_4 *)PTR_uflow_00435ec0) {
                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar1 = (*var_3)();
      return uVar1;
    }
    var_3 = *(type_4 **)(*(int *)var_1 + 0x24);
    if ((var_3 == (type_4 *)PTR_underflow_00435ebc) ||
       (var_4 = (*var_3)(), var_4 == -1)) {
      uVar1 = 0xffffffff;
    }
    else {
      uVar1 = (type_1)**(type_3 **)(var_1 + 8);
      *(type_3 **)(var_1 + 8) = *(type_3 **)(var_1 + 8) + 1;
    }
  }
  return uVar1;
}


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

/* std::streambuf::MASKED() */

uint __thiscall std::streambuf::MASKED(streambuf *this)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  code *UNRECOVERED_JUMPTABLE;
  
  pbVar3 = *(byte **)(this + 8);
  if (pbVar3 < *(byte **)(this + 0xc)) {
    uVar1 = (uint)*pbVar3;
    *(byte **)(this + 8) = pbVar3 + 1;
  }
  else {
    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x28);
    if (UNRECOVERED_JUMPTABLE != (code *)PTR_uflow_00435ec0) {
                    /* WARNING: Could not recover jumptable at 0x002c4448. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar1 = (*UNRECOVERED_JUMPTABLE)();
      return uVar1;
    }
    UNRECOVERED_JUMPTABLE = *(code **)(*(int *)this + 0x24);
    if ((UNRECOVERED_JUMPTABLE == (code *)PTR_underflow_00435ebc) ||
       (iVar2 = (*UNRECOVERED_JUMPTABLE)(), iVar2 == -1)) {
      uVar1 = 0xffffffff;
    }
    else {
      uVar1 = (uint)**(byte **)(this + 8);
      *(byte **)(this + 8) = *(byte **)(this + 8) + 1;
    }
  }
  return uVar1;
}

