
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ios::fill() const */

uint __thiscall std::ios::fill(ios *this)

{
  ctype<char> *this_00;
  uint uVar1;
  
  if (this[0x75] != (ios)0x0) {
    return (uint)(byte)this[0x74];
  }
  this_00 = *(ctype<char> **)(this + 0x7c);
  if (this_00 != (ctype<char> *)0x0) {
    if (this_00[0x1c] == (ctype<char>)0x0) {
      ctype<char>::_M_widen_init(this_00);
      uVar1 = 0x20;
      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {
        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);
      }
    }
    else {
      uVar1 = (uint)(byte)this_00[0x3d];
    }
    this[0x74] = SUB41(uVar1,0);
    this[0x75] = (ios)0x1;
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  __throw_bad_cast();
}



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

uint FUN_001d6450(int param_1)

{
  int *piVar1;
  uint uVar2;
  
  if (*(char *)(param_1 + 0x75) != '\0') {
    return (uint)*(byte *)(param_1 + 0x74);
  }
  piVar1 = *(int **)(param_1 + 0x7c);
  if (piVar1 != (int *)0x0) {
    if ((char)piVar1[7] == '\0') {
      FUN_001f2380(piVar1);
      uVar2 = 0x20;
      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {
        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);
      }
    }
    else {
      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);
    }
    *(char *)(param_1 + 0x74) = (char)uVar2;
    *(undefined1 *)(param_1 + 0x75) = 1;
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001f1cf0();
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00035680
ADD EBX,0x168ba4
CMP byte ptr [ESI + 0x75],0x0
JZ 0x001d6470
MOVZX EAX,byte ptr [ESI + 0x74]
POP EBX
POP ESI
POP EDI
RET
MOV EDI,dword ptr [ESI + 0x7c]
TEST EDI,EDI
JZ 0x001d64bb
CMP byte ptr [EDI + 0x1c],0x0
JZ 0x001d6490
MOVZX EAX,byte ptr [EDI + 0x3d]
MOV byte ptr [ESI + 0x74],AL
MOV byte ptr [ESI + 0x75],0x1
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH EDI
CALL 0x001f2380
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
MOV EDX,dword ptr [EAX + 0x18]
MOV EAX,0x20
CMP EDX,dword ptr [EBX + 0xffffffe4]
JZ 0x001d6481
SUB ESP,0x8
PUSH 0x20
PUSH EDI
CALL EDX
ADD ESP,0x10
JMP 0x001d6481
CALL 0x001f1cf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_001d6450(int param_1)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001f1cf0();\n}\n\n" comment (function_definition "uint FUN_001d6450(int param_1)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001f1cf0();\n}" type_identifier (function_declarator "FUN_001d6450(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001f1cf0();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x75) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x75) != '\0'" (pointer_expression "*(char *)(param_1 + 0x75)" * (cast_expression "(char *)(param_1 + 0x75)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x75)" ( (binary_expression "param_1 + 0x75" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return (uint)*(byte *)(param_1 + 0x74);\n  }" { (return_statement "return (uint)*(byte *)(param_1 + 0x74);" return (binary_expression "(uint)*(byte *)(param_1 + 0x74)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 0x74)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) ;) })) (expression_statement "piVar1 = *(int **)(param_1 + 0x7c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x7c)" identifier = (pointer_expression "*(int **)(param_1 + 0x7c)" * (cast_expression "(int **)(param_1 + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }" { (if_statement "if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" if (parenthesized_expression "((char)piVar1[7] == '\0')" ( (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }" { (expression_statement "FUN_001f2380(piVar1);" (call_expression "FUN_001f2380(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "uVar2 = 0x20;" (assignment_expression "uVar2 = 0x20" identifier = number_literal) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4" (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_0033efe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }" { (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,0x20)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x20)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" else (compound_statement "{\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" { (expression_statement "uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);" (assignment_expression "uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d)" identifier = (binary_expression "(uint)*(byte *)((int)piVar1 + 0x3d)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)piVar1 + 0x3d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x3d)" ( (binary_expression "(int)piVar1 + 0x3d" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (expression_statement "*(char *)(param_1 + 0x74) = (char)uVar2;" (assignment_expression "*(char *)(param_1 + 0x74) = (char)uVar2" (pointer_expression "*(char *)(param_1 + 0x74)" * (cast_expression "(char *)(param_1 + 0x74)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) = (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(undefined1 *)(param_1 + 0x75) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x75) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x75)" * (cast_expression "(undefined1 *)(param_1 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x75)" ( (binary_expression "param_1 + 0x75" identifier + number_literal) )))) = number_literal) ;) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "FUN_001f1cf0();" (call_expression "FUN_001f1cf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ios::fill() const */\n\nuint __thiscall std::ios::fill(ios *this)\n\n{\n  ctype<char> *this_00;\n  uint uVar1;\n  \n  if (this[0x75] != (ios)0x0) {\n    return (uint)(byte)this[0x74];\n  }\n  this_00 = *(ctype<char> **)(this + 0x7c);\n  if (this_00 != (ctype<char> *)0x0) {\n    if (this_00[0x1c] == (ctype<char>)0x0) {\n      ctype<char>::_M_widen_init(this_00);\n      uVar1 = 0x20;\n      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }\n    }\n    else {\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }\n    this[0x74] = SUB41(uVar1,0);\n    this[0x75] = (ios)0x1;\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}\n\n" comment comment (function_definition "uint __thiscall std::ios::fill(ios *this)\n\n{\n  ctype<char> *this_00;\n  uint uVar1;\n  \n  if (this[0x75] != (ios)0x0) {\n    return (uint)(byte)this[0x74];\n  }\n  this_00 = *(ctype<char> **)(this + 0x7c);\n  if (this_00 != (ctype<char> *)0x0) {\n    if (this_00[0x1c] == (ctype<char>)0x0) {\n      ctype<char>::_M_widen_init(this_00);\n      uVar1 = 0x20;\n      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }\n    }\n    else {\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }\n    this[0x74] = SUB41(uVar1,0);\n    this[0x75] = (ios)0x1;\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ios::" identifier : : identifier : :) (function_declarator "fill(ios *this)" identifier (parameter_list "(ios *this)" ( (parameter_declaration "ios *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  ctype<char> *this_00;\n  uint uVar1;\n  \n  if (this[0x75] != (ios)0x0) {\n    return (uint)(byte)this[0x74];\n  }\n  this_00 = *(ctype<char> **)(this + 0x7c);\n  if (this_00 != (ctype<char> *)0x0) {\n    if (this_00[0x1c] == (ctype<char>)0x0) {\n      ctype<char>::_M_widen_init(this_00);\n      uVar1 = 0x20;\n      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }\n    }\n    else {\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }\n    this[0x74] = SUB41(uVar1,0);\n    this[0x75] = (ios)0x1;\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" { (expression_statement "ctype<char> *this_00;" (binary_expression "ctype<char> *this_00" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*this_00" * identifier)) ;) (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (this[0x75] != (ios)0x0) {\n    return (uint)(byte)this[0x74];\n  }" if (parenthesized_expression "(this[0x75] != (ios)0x0)" ( (binary_expression "this[0x75] != (ios)0x0" (subscript_expression "this[0x75]" identifier [ number_literal ]) != (cast_expression "(ios)0x0" ( (type_descriptor "ios" type_identifier) ) number_literal)) )) (compound_statement "{\n    return (uint)(byte)this[0x74];\n  }" { (return_statement "return (uint)(byte)this[0x74];" return (cast_expression "(uint)(byte)this[0x74]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)this[0x74]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[0x74]" identifier [ number_literal ]))) ;) })) (expression_statement "this_00 = *(ctype<char> **)(this + 0x7c);" (assignment_expression "this_00 = *(ctype<char> **)(this + 0x7c)" identifier = (pointer_expression "*(ctype<char> **)(this + 0x7c)" * (call_expression "(ctype<char> **)(this + 0x7c)" (parenthesized_expression "(ctype<char> **)" ( (binary_expression "ctype<char> **" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "**" * (pointer_expression "*" * identifier))) )) (argument_list "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) ))))) ;) (if_statement "if (this_00 != (ctype<char> *)0x0) {\n    if (this_00[0x1c] == (ctype<char>)0x0) {\n      ctype<char>::_M_widen_init(this_00);\n      uVar1 = 0x20;\n      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }\n    }\n    else {\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }\n    this[0x74] = SUB41(uVar1,0);\n    this[0x75] = (ios)0x1;\n    return uVar1;\n  }" if (parenthesized_expression "(this_00 != (ctype<char> *)0x0)" ( (binary_expression "this_00 != (ctype<char> *)0x0)" identifier != (parenthesized_expression "(ctype<char> *)0x0)" ( (binary_expression "ctype<char> *)0x0" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n    if (this_00[0x1c] == (ctype<char>)0x0) {\n      ctype<char>::_M_widen_init(this_00);\n      uVar1 = 0x20;\n      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }\n    }\n    else {\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }\n    this[0x74] = SUB41(uVar1,0);\n    this[0x75] = (ios)0x1;\n    return uVar1;\n  }" { (if_statement "if (this_00[0x1c] == (ctype<char>)0x0) {\n      ctype<char>::_M_widen_init(this_00);\n      uVar1 = 0x20;\n      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }\n    }\n    else {\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }" if (parenthesized_expression "(this_00[0x1c] == (ctype<char>)0x0)" ( (binary_expression "this_00[0x1c] == (ctype<char>)0x0)" (subscript_expression "this_00[0x1c]" identifier [ number_literal ]) == (parenthesized_expression "(ctype<char>)0x0)" ( (binary_expression "ctype<char>)0x0" (binary_expression "ctype<char" identifier < identifier) > (ERROR ")" )) number_literal) ))) )) (compound_statement "{\n      ctype<char>::_M_widen_init(this_00);\n      uVar1 = 0x20;\n      if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }\n    }" { (expression_statement "ctype<char>::_M_widen_init(this_00);" (binary_expression "ctype<char>::_M_widen_init(this_00)" (binary_expression "ctype<char" identifier < identifier) > (ERROR "::" : :) (call_expression "_M_widen_init(this_00)" identifier (argument_list "(this_00)" ( identifier )))) ;) (expression_statement "uVar1 = 0x20;" (assignment_expression "uVar1 = 0x20" identifier = number_literal) ;) (if_statement "if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4) {\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }" if (parenthesized_expression "(*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4)" ( (binary_expression "*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0033efe4" (pointer_expression "*(code **)(*(int *)this_00 + 0x18)" * (cast_expression "(code **)(*(int *)this_00 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this_00 + 0x18)" ( (binary_expression "*(int *)this_00 + 0x18" (pointer_expression "*(int *)this_00" * (cast_expression "(int *)this_00" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != (cast_expression "(code *)PTR_do_widen_0033efe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);\n      }" { (expression_statement "uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20);" (assignment_expression "uVar1 = (**(code **)(*(int *)this_00 + 0x18))(this_00,0x20)" identifier = (call_expression "(**(code **)(*(int *)this_00 + 0x18))(this_00,0x20)" (parenthesized_expression "(**(code **)(*(int *)this_00 + 0x18))" ( (pointer_expression "**(code **)(*(int *)this_00 + 0x18)" * (pointer_expression "*(code **)(*(int *)this_00 + 0x18)" * (cast_expression "(code **)(*(int *)this_00 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this_00 + 0x18)" ( (binary_expression "*(int *)this_00 + 0x18" (pointer_expression "*(int *)this_00" * (cast_expression "(int *)this_00" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(this_00,0x20)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }" else (compound_statement "{\n      uVar1 = (uint)(byte)this_00[0x3d];\n    }" { (expression_statement "uVar1 = (uint)(byte)this_00[0x3d];" (assignment_expression "uVar1 = (uint)(byte)this_00[0x3d]" identifier = (cast_expression "(uint)(byte)this_00[0x3d]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)this_00[0x3d]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this_00[0x3d]" identifier [ number_literal ])))) ;) }))) (expression_statement "this[0x74] = SUB41(uVar1,0);" (assignment_expression "this[0x74] = SUB41(uVar1,0)" (subscript_expression "this[0x74]" identifier [ number_literal ]) = (call_expression "SUB41(uVar1,0)" identifier (argument_list "(uVar1,0)" ( identifier , number_literal )))) ;) (expression_statement "this[0x75] = (ios)0x1;" (assignment_expression "this[0x75] = (ios)0x1" (subscript_expression "this[0x75]" identifier [ number_literal ]) = (cast_expression "(ios)0x1" ( (type_descriptor "ios" type_identifier) ) number_literal)) ;) (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "uint FUN_001d6450(int param_1)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    \n  FUN_001f1cf0();\n}\n\n" (function_definition "uint FUN_001d6450(int param_1)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    \n  FUN_001f1cf0();\n}" type_identifier (function_declarator "FUN_001d6450(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    \n  FUN_001f1cf0();\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x75) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x75) != '\0'" (pointer_expression "*(char *)(param_1 + 0x75)" * (cast_expression "(char *)(param_1 + 0x75)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x75)" ( (binary_expression "param_1 + 0x75" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return (uint)*(byte *)(param_1 + 0x74);\n  }" { (return_statement "return (uint)*(byte *)(param_1 + 0x74);" return (binary_expression "(uint)*(byte *)(param_1 + 0x74)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 0x74)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) ;) })) (expression_statement "piVar1 = *(int **)(param_1 + 0x7c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x7c)" identifier = (pointer_expression "*(int **)(param_1 + 0x7c)" * (cast_expression "(int **)(param_1 + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }" { (if_statement "if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" if (parenthesized_expression "((char)piVar1[7] == '\0')" ( (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }" { (expression_statement "FUN_001f2380(piVar1);" (call_expression "FUN_001f2380(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "uVar2 = 0x20;" (assignment_expression "uVar2 = 0x20" identifier = number_literal) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4" (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_0033efe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }" { (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,0x20)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x20)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" else (compound_statement "{\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" { (expression_statement "uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);" (assignment_expression "uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d)" identifier = (binary_expression "(uint)*(byte *)((int)piVar1 + 0x3d)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)piVar1 + 0x3d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x3d)" ( (binary_expression "(int)piVar1 + 0x3d" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (expression_statement "*(char *)(param_1 + 0x74) = (char)uVar2;" (assignment_expression "*(char *)(param_1 + 0x74) = (char)uVar2" (pointer_expression "*(char *)(param_1 + 0x74)" * (cast_expression "(char *)(param_1 + 0x74)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) = (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(undefined1 *)(param_1 + 0x75) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x75) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x75)" * (cast_expression "(undefined1 *)(param_1 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x75)" ( (binary_expression "param_1 + 0x75" identifier + number_literal) )))) = number_literal) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "FUN_001f1cf0();" (call_expression "FUN_001f1cf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "uint FUN_001d6450(int param_1)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    \n  FUN_001f1cf0();\n}" (type_identifier "uint") (function_declarator "FUN_001d6450(int param_1)" (identifier "FUN_001d6450") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }\n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }\n                    \n  FUN_001f1cf0();\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (if_statement "if (*(char *)(param_1 + 0x75) != '\0') {\n    return (uint)*(byte *)(param_1 + 0x74);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x75) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x75) != '\0'" (pointer_expression "*(char *)(param_1 + 0x75)" (* "*") (cast_expression "(char *)(param_1 + 0x75)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x75)" (( "(") (binary_expression "param_1 + 0x75" (identifier "param_1") (+ "+") (number_literal "0x75")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return (uint)*(byte *)(param_1 + 0x74);\n  }" ({ "{") (return_statement "return (uint)*(byte *)(param_1 + 0x74);" (return "return") (binary_expression "(uint)*(byte *)(param_1 + 0x74)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1 + 0x74)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (; ";")) (} "}"))) (expression_statement "piVar1 = *(int **)(param_1 + 0x7c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x7c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x7c)" (* "*") (cast_expression "(int **)(param_1 + 0x7c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }\n    *(char *)(param_1 + 0x74) = (char)uVar2;\n    *(undefined1 *)(param_1 + 0x75) = 1;\n    return uVar2;\n  }" ({ "{") (if_statement "if ((char)piVar1[7] == '\0') {\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }\n    else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" (if "if") (parenthesized_expression "((char)piVar1[7] == '\0')" (( "(") (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_001f2380(piVar1);\n      uVar2 = 0x20;\n      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }\n    }" ({ "{") (expression_statement "FUN_001f2380(piVar1);" (call_expression "FUN_001f2380(piVar1)" (identifier "FUN_001f2380") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (expression_statement "uVar2 = 0x20;" (assignment_expression "uVar2 = 0x20" (identifier "uVar2") (= "=") (number_literal "0x20")) (; ";")) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4)" (( "(") (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4" (pointer_expression "*(code **)(*piVar1 + 0x18)" (* "*") (cast_expression "(code **)(*piVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (cast_expression "(code *)PTR_FUN_0033efe4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0033efe4"))) () ")")) (compound_statement "{\n        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);\n      }" ({ "{") (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,0x20)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x18)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x18)" (* "*") (cast_expression "(code **)(*piVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(piVar1,0x20)" (( "(") (identifier "piVar1") (, ",") (number_literal "0x20") () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" (else "else") (compound_statement "{\n      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);\n    }" ({ "{") (expression_statement "uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);" (assignment_expression "uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d)" (identifier "uVar2") (= "=") (binary_expression "(uint)*(byte *)((int)piVar1 + 0x3d)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)((int)piVar1 + 0x3d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + 0x3d)" (( "(") (binary_expression "(int)piVar1 + 0x3d" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (number_literal "0x3d")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(char *)(param_1 + 0x74) = (char)uVar2;" (assignment_expression "*(char *)(param_1 + 0x74) = (char)uVar2" (pointer_expression "*(char *)(param_1 + 0x74)" (* "*") (cast_expression "(char *)(param_1 + 0x74)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (cast_expression "(char)uVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar2"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x75) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x75) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x75)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x75)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x75)" (( "(") (binary_expression "param_1 + 0x75" (identifier "param_1") (+ "+") (number_literal "0x75")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "FUN_001f1cf0();" (call_expression "FUN_001f1cf0()" (identifier "FUN_001f1cf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ios::fill() const */

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

{
  var_1<var_2> *var_4;
  type_1 uVar1;
  
  if (var_3[0x75] != (type_2)0x0) {
    return (type_1)(type_3)var_3[0x74];
  }
  var_4 = *(var_1<var_2> **)(var_3 + 0x7c);
  if (var_4 != (var_1<var_2> *)0x0) {
    if (var_4[0x1c] == (var_1<var_2>)0x0) {
      var_1<var_2>::var_5(var_4);
      uVar1 = 0x20;
      if (*(type_4 **)(*(int *)var_4 + 0x18) != (type_4 *)PTR_do_widen_0033efe4) {
        uVar1 = (**(type_4 **)(*(int *)var_4 + 0x18))(var_4,0x20);
      }
    }
    else {
      uVar1 = (type_1)(type_3)var_4[0x3d];
    }
    var_3[0x74] = var_6(uVar1,0);
    var_3[0x75] = (type_2)0x1;
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


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

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

uint MASKED(int param_1)

{
  int *piVar1;
  uint uVar2;
  
  if (*(char *)(param_1 + 0x75) != '\0') {
    return (uint)*(byte *)(param_1 + 0x74);
  }
  piVar1 = *(int **)(param_1 + 0x7c);
  if (piVar1 != (int *)0x0) {
    if ((char)piVar1[7] == '\0') {
      FUN_001f2380(piVar1);
      uVar2 = 0x20;
      if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0033efe4) {
        uVar2 = (**(code **)(*piVar1 + 0x18))(piVar1,0x20);
      }
    }
    else {
      uVar2 = (uint)*(byte *)((int)piVar1 + 0x3d);
    }
    *(char *)(param_1 + 0x74) = (char)uVar2;
    *(undefined1 *)(param_1 + 0x75) = 1;
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001f1cf0();
}

