
/* std::filebuf::_M_get_ext_pos(__mbstate_t&) */

int __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)

{
  int iVar1;
  
  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));
  if (iVar1 != 0) {
    return *(int *)(this + 8) - *(int *)(this + 0xc);
  }
  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))
                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),
                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));
  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);
}



/* std::filebuf::_M_get_ext_pos(__mbstate_t&) */

int __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)

{
  int iVar1;
  
  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));
  if (iVar1 != 0) {
    return *(int *)(this + 8) - *(int *)(this + 0xc);
  }
  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))
                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),
                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));
  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);
}


addiu sp,sp,-0x30
sw s1,0x28(sp)
sw s0,0x24(sp)
or s0,a0,zero
sw ra,0x2c(sp)
lw v0,0x74(a0)
or a0,v0,zero
lw v0,0x0(v0)
lw t9,0x18(v0)
jalr t9
_or s1,a1,zero
beq v0,zero,0x003696a0
_lw ra,0x2c(sp)
lw v0,0x8(s0)
lw v1,0xc(s0)
lw s1,0x28(sp)
lw s0,0x24(sp)
subu v0,v0,v1
jr ra
_addiu sp,sp,0x30
lw v1,0x74(s0)
lw a2,0x4(s0)
lw v0,0x8(s0)
or a0,v1,zero
lw a3,0x80(s0)
lw v1,0x0(v1)
subu v0,v0,a2
lw a2,0x78(s0)
sw v0,0x10(sp)
lw t9,0x1c(v1)
jalr t9
_or a1,s1,zero
lw v1,0x78(s0)
lw a0,0x84(s0)
lw ra,0x2c(sp)
addu v0,v1,v0
lw s1,0x28(sp)
lw s0,0x24(sp)
addiu sp,sp,0x30
jr ra
_subu v0,v0,a0
(translation_unit "/* std::filebuf::_M_get_ext_pos(__mbstate_t&) */\n\nint __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}\n\n" comment (function_definition "int __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::filebuf::" identifier : : identifier : :) (function_declarator "_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)" identifier (parameter_list "(filebuf *this,__mbstate_t *param_1)" ( (parameter_declaration "filebuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "__mbstate_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" identifier = (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x18)" * (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x18)" * (cast_expression "(code **)(**(int **)(this + 0x74) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 0x74) + 0x18)" ( (binary_expression "**(int **)(this + 0x74) + 0x18" (pointer_expression "**(int **)(this + 0x74)" * (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + 0x74))" ( (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" { (return_statement "return *(int *)(this + 8) - *(int *)(this + 0xc);" return (binary_expression "*(int *)(this + 8) - *(int *)(this + 0xc)" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 0xc)" * (cast_expression "(int *)(this + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" identifier = (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))" ( (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x1c)" * (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x1c)" * (cast_expression "(code **)(**(int **)(this + 0x74) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 0x74) + 0x1c)" ( (binary_expression "**(int **)(this + 0x74) + 0x1c" (pointer_expression "**(int **)(this + 0x74)" * (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" ( (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(this + 0x78)" * (cast_expression "(undefined4 *)(this + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(this + 0x80)" * (cast_expression "(undefined4 *)(this + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) , (binary_expression "*(int *)(this + 8) - *(int *)(this + 4)" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) )))) ;) (return_statement "return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);" return (binary_expression "(*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84)" (parenthesized_expression "(*(int *)(this + 0x78) + iVar1)" ( (binary_expression "*(int *)(this + 0x78) + iVar1" (pointer_expression "*(int *)(this + 0x78)" * (cast_expression "(int *)(this + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) + identifier) )) - (pointer_expression "*(int *)(this + 0x84)" * (cast_expression "(int *)(this + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) ))))) ;) })))
(translation_unit "/* std::filebuf::_M_get_ext_pos(__mbstate_t&) */\n\nint __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}\n\n" comment (function_definition "int __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::filebuf::" identifier : : identifier : :) (function_declarator "_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)" identifier (parameter_list "(filebuf *this,__mbstate_t *param_1)" ( (parameter_declaration "filebuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "__mbstate_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" identifier = (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x18)" * (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x18)" * (cast_expression "(code **)(**(int **)(this + 0x74) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 0x74) + 0x18)" ( (binary_expression "**(int **)(this + 0x74) + 0x18" (pointer_expression "**(int **)(this + 0x74)" * (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + 0x74))" ( (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" { (return_statement "return *(int *)(this + 8) - *(int *)(this + 0xc);" return (binary_expression "*(int *)(this + 8) - *(int *)(this + 0xc)" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 0xc)" * (cast_expression "(int *)(this + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" identifier = (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))" ( (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x1c)" * (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x1c)" * (cast_expression "(code **)(**(int **)(this + 0x74) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 0x74) + 0x1c)" ( (binary_expression "**(int **)(this + 0x74) + 0x1c" (pointer_expression "**(int **)(this + 0x74)" * (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" ( (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(this + 0x78)" * (cast_expression "(undefined4 *)(this + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(this + 0x80)" * (cast_expression "(undefined4 *)(this + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) , (binary_expression "*(int *)(this + 8) - *(int *)(this + 4)" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) )))) ;) (return_statement "return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);" return (binary_expression "(*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84)" (parenthesized_expression "(*(int *)(this + 0x78) + iVar1)" ( (binary_expression "*(int *)(this + 0x78) + iVar1" (pointer_expression "*(int *)(this + 0x78)" * (cast_expression "(int *)(this + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) + identifier) )) - (pointer_expression "*(int *)(this + 0x84)" * (cast_expression "(int *)(this + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) ))))) ;) })))
(translation_unit "int __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}\n\n" (function_definition "int __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::filebuf::" identifier : : identifier : :) (function_declarator "_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)" identifier (parameter_list "(filebuf *this,__mbstate_t *param_1)" ( (parameter_declaration "filebuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "__mbstate_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" identifier = (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))" ( (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x18)" * (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x18)" * (cast_expression "(code **)(**(int **)(this + 0x74) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 0x74) + 0x18)" ( (binary_expression "**(int **)(this + 0x74) + 0x18" (pointer_expression "**(int **)(this + 0x74)" * (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + 0x74))" ( (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" { (return_statement "return *(int *)(this + 8) - *(int *)(this + 0xc);" return (binary_expression "*(int *)(this + 8) - *(int *)(this + 0xc)" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 0xc)" * (cast_expression "(int *)(this + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) })) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" identifier = (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))" ( (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x1c)" * (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x1c)" * (cast_expression "(code **)(**(int **)(this + 0x74) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 0x74) + 0x1c)" ( (binary_expression "**(int **)(this + 0x74) + 0x1c" (pointer_expression "**(int **)(this + 0x74)" * (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" ( (pointer_expression "*(int **)(this + 0x74)" * (cast_expression "(int **)(this + 0x74)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(this + 0x78)" * (cast_expression "(undefined4 *)(this + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(this + 0x80)" * (cast_expression "(undefined4 *)(this + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) , (binary_expression "*(int *)(this + 8) - *(int *)(this + 4)" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) )))) ;) (return_statement "return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);" return (binary_expression "(*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84)" (parenthesized_expression "(*(int *)(this + 0x78) + iVar1)" ( (binary_expression "*(int *)(this + 0x78) + iVar1" (pointer_expression "*(int *)(this + 0x78)" * (cast_expression "(int *)(this + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) + identifier) )) - (pointer_expression "*(int *)(this + 0x84)" * (cast_expression "(int *)(this + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) ))))) ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (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 != LIT) )) (compound_statement { (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))
(function_definition "int __thiscall std::filebuf::_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" (primitive_type "int") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::filebuf::" (identifier "std") (: ":") (: ":") (identifier "filebuf") (: ":") (: ":")) (function_declarator "_M_get_ext_pos(filebuf *this,__mbstate_t *param_1)" (identifier "_M_get_ext_pos") (parameter_list "(filebuf *this,__mbstate_t *param_1)" (( "(") (parameter_declaration "filebuf *this" (type_identifier "filebuf") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "__mbstate_t *param_1" (type_identifier "__mbstate_t") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));\n  if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }\n  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));\n  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" (identifier "iVar1") (= "=") (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x18))" (( "(") (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x18)" (* "*") (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x18)" (* "*") (cast_expression "(code **)(**(int **)(this + 0x74) + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(this + 0x74) + 0x18)" (( "(") (binary_expression "**(int **)(this + 0x74) + 0x18" (pointer_expression "**(int **)(this + 0x74)" (* "*") (pointer_expression "*(int **)(this + 0x74)" (* "*") (cast_expression "(int **)(this + 0x74)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 0x74)" (( "(") (binary_expression "this + 0x74" (identifier "this") (+ "+") (number_literal "0x74")) () ")"))))) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(*(int **)(this + 0x74))" (( "(") (pointer_expression "*(int **)(this + 0x74)" (* "*") (cast_expression "(int **)(this + 0x74)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 0x74)" (( "(") (binary_expression "this + 0x74" (identifier "this") (+ "+") (number_literal "0x74")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(int *)(this + 8) - *(int *)(this + 0xc);\n  }" ({ "{") (return_statement "return *(int *)(this + 8) - *(int *)(this + 0xc);" (return "return") (binary_expression "*(int *)(this + 8) - *(int *)(this + 0xc)" (pointer_expression "*(int *)(this + 8)" (* "*") (cast_expression "(int *)(this + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (- "-") (pointer_expression "*(int *)(this + 0xc)" (* "*") (cast_expression "(int *)(this + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0xc)" (( "(") (binary_expression "this + 0xc" (identifier "this") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));" (assignment_expression "iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" (identifier "iVar1") (= "=") (call_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))\n                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" (parenthesized_expression "(**(code **)(**(int **)(this + 0x74) + 0x1c))" (( "(") (pointer_expression "**(code **)(**(int **)(this + 0x74) + 0x1c)" (* "*") (pointer_expression "*(code **)(**(int **)(this + 0x74) + 0x1c)" (* "*") (cast_expression "(code **)(**(int **)(this + 0x74) + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(this + 0x74) + 0x1c)" (( "(") (binary_expression "**(int **)(this + 0x74) + 0x1c" (pointer_expression "**(int **)(this + 0x74)" (* "*") (pointer_expression "*(int **)(this + 0x74)" (* "*") (cast_expression "(int **)(this + 0x74)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 0x74)" (( "(") (binary_expression "this + 0x74" (identifier "this") (+ "+") (number_literal "0x74")) () ")"))))) (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),\n                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4))" (( "(") (pointer_expression "*(int **)(this + 0x74)" (* "*") (cast_expression "(int **)(this + 0x74)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 0x74)" (( "(") (binary_expression "this + 0x74" (identifier "this") (+ "+") (number_literal "0x74")) () ")")))) (, ",") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(this + 0x78)" (* "*") (cast_expression "(undefined4 *)(this + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x78)" (( "(") (binary_expression "this + 0x78" (identifier "this") (+ "+") (number_literal "0x78")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(this + 0x80)" (* "*") (cast_expression "(undefined4 *)(this + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x80)" (( "(") (binary_expression "this + 0x80" (identifier "this") (+ "+") (number_literal "0x80")) () ")")))) (, ",") (binary_expression "*(int *)(this + 8) - *(int *)(this + 4)" (pointer_expression "*(int *)(this + 8)" (* "*") (cast_expression "(int *)(this + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (- "-") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) () ")")))) (; ";")) (return_statement "return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);" (return "return") (binary_expression "(*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84)" (parenthesized_expression "(*(int *)(this + 0x78) + iVar1)" (( "(") (binary_expression "*(int *)(this + 0x78) + iVar1" (pointer_expression "*(int *)(this + 0x78)" (* "*") (cast_expression "(int *)(this + 0x78)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x78)" (( "(") (binary_expression "this + 0x78" (identifier "this") (+ "+") (number_literal "0x78")) () ")")))) (+ "+") (identifier "iVar1")) () ")")) (- "-") (pointer_expression "*(int *)(this + 0x84)" (* "*") (cast_expression "(int *)(this + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x84)" (( "(") (binary_expression "this + 0x84" (identifier "this") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (identifier) right: (number_literal)))))) right: (number_literal))))))) arguments: (argument_list (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: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (identifier) right: (number_literal)))))) right: (number_literal))))))) arguments: (argument_list (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: (identifier) right: (number_literal))))) (identifier) (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))))) (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))))) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))

/* std::filebuf::MASKED(__mbstate_t&) */

int __thiscall std::filebuf::MASKED(filebuf *this,__mbstate_t *param_1)

{
  int iVar1;
  
  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x18))(*(int **)(this + 0x74));
  if (iVar1 != 0) {
    return *(int *)(this + 8) - *(int *)(this + 0xc);
  }
  iVar1 = (**(code **)(**(int **)(this + 0x74) + 0x1c))
                    (*(int **)(this + 0x74),param_1,*(undefined4 *)(this + 0x78),
                     *(undefined4 *)(this + 0x80),*(int *)(this + 8) - *(int *)(this + 4));
  return (*(int *)(this + 0x78) + iVar1) - *(int *)(this + 0x84);
}

