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

uint __thiscall std::ios::widen(ios *this,char param_1)

{
  ctype<char> *this_00;
  uint uVar1;
  undefined3 in_stack_00000009;
  
  this_00 = *(ctype<char> **)(this + 0x7c);
  if (this_00 == (ctype<char> *)0x0) {
                    /* WARNING: Subroutine does not return */
    __throw_bad_cast();
  }
  if (this_00[0x1c] == (ctype<char>)0x0) {
    ctype<char>::_M_widen_init(this_00);
    if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc) {
                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();
      return uVar1;
    }
  }
  else {
    _param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];
  }
  return _param_1;
}



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

uint FUN_00210f20(int param_1,uint param_2)

{
  int *piVar1;
  uint uVar2;
  
  piVar1 = *(int **)(param_1 + 0x7c);
  if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0022c630();
  }
  if ((char)piVar1[7] == '\0') {
    FUN_0022ccc0(piVar1);
    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {
                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (**(code **)(*piVar1 + 0x18))();
      return uVar2;
    }
  }
  else {
    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);
  }
  return param_2;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00035840
ADD EBX,0x17e0d4
MOV EDI,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [EAX + 0x7c]
TEST ESI,ESI
JZ 0x00210f83
CMP byte ptr [ESI + 0x1c],0x0
JZ 0x00210f58
MOV EAX,EDI
MOVZX EDI,AL
MOVZX EAX,byte ptr [ESI + EDI*0x1 + 0x1d]
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH ESI
CALL 0x0022ccc0
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
MOV EDX,dword ptr [EAX + 0x18]
MOV EAX,EDI
CMP EDX,dword ptr [EBX + 0xffffffcc]
JZ 0x00210f4d
MOVSX EDI,AL
MOV dword ptr [ESP + 0x10],ESI
MOV dword ptr [ESP + 0x14],EDI
POP EBX
POP ESI
POP EDI
JMP EDX
CALL 0x0022c630
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00210f20(int param_1,uint param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}\n\n" comment (function_definition "uint FUN_00210f20(int param_1,uint param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}" type_identifier (function_declarator "FUN_00210f20(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (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                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\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                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }" { comment (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\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_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }" { (expression_statement "FUN_0022ccc0(piVar1);" (call_expression "FUN_0022ccc0(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc" (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_0038efcc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }" { comment comment (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x18))();" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x18))()" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))()" (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 "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }" else (compound_statement "{\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }" { (expression_statement "param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);" (assignment_expression "param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" identifier = (binary_expression "(uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + (param_2 & 0xff) + 0x1d)" ( (binary_expression "(int)piVar1 + (param_2 & 0xff) + 0x1d" (binary_expression "(int)piVar1 + (param_2 & 0xff)" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) ))) + number_literal) ))))) ;) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ios::widen(char) const */\n\nuint __thiscall std::ios::widen(ios *this,char param_1)\n\n{\n  ctype<char> *this_00;\n  uint uVar1;\n  undefined3 in_stack_00000009;\n  \n  this_00 = *(ctype<char> **)(this + 0x7c);\n  if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  if (this_00[0x1c] == (ctype<char>)0x0) {\n    ctype<char>::_M_widen_init(this_00);\n    if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();\n      return uVar1;\n    }\n  }\n  else {\n    _param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];\n  }\n  return _param_1;\n}\n\n" comment comment (function_definition "uint __thiscall std::ios::widen(ios *this,char param_1)\n\n{\n  ctype<char> *this_00;\n  uint uVar1;\n  undefined3 in_stack_00000009;\n  \n  this_00 = *(ctype<char> **)(this + 0x7c);\n  if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  if (this_00[0x1c] == (ctype<char>)0x0) {\n    ctype<char>::_M_widen_init(this_00);\n    if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();\n      return uVar1;\n    }\n  }\n  else {\n    _param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];\n  }\n  return _param_1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ios::" identifier : : identifier : :) (function_declarator "widen(ios *this,char param_1)" identifier (parameter_list "(ios *this,char param_1)" ( (parameter_declaration "ios *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char param_1" primitive_type identifier) ))) (compound_statement "{\n  ctype<char> *this_00;\n  uint uVar1;\n  undefined3 in_stack_00000009;\n  \n  this_00 = *(ctype<char> **)(this + 0x7c);\n  if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  if (this_00[0x1c] == (ctype<char>)0x0) {\n    ctype<char>::_M_widen_init(this_00);\n    if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();\n      return uVar1;\n    }\n  }\n  else {\n    _param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];\n  }\n  return _param_1;\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 ;) (declaration "undefined3 in_stack_00000009;" type_identifier identifier ;) (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                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\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                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }" { comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (this_00[0x1c] == (ctype<char>)0x0) {\n    ctype<char>::_M_widen_init(this_00);\n    if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();\n      return uVar1;\n    }\n  }\n  else {\n    _param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];\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    if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();\n      return uVar1;\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 )))) ;) (if_statement "if (*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc) {\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();\n      return uVar1;\n    }" if (parenthesized_expression "(*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc)" ( (binary_expression "*(code **)(*(int *)this_00 + 0x18) != (code *)PTR_do_widen_0038efcc" (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_0038efcc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      uVar1 = (**(code **)(*(int *)this_00 + 0x18))();\n      return uVar1;\n    }" { comment comment (expression_statement "uVar1 = (**(code **)(*(int *)this_00 + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*(int *)this_00 + 0x18))()" identifier = (call_expression "(**(code **)(*(int *)this_00 + 0x18))()" (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 "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) }) (else_clause "else {\n    _param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];\n  }" else (compound_statement "{\n    _param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];\n  }" { (expression_statement "_param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d];" (assignment_expression "_param_1 = (uint)(byte)this_00[(byte)param_1 + 0x1d]" identifier = (cast_expression "(uint)(byte)this_00[(byte)param_1 + 0x1d]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)this_00[(byte)param_1 + 0x1d]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this_00[(byte)param_1 + 0x1d]" identifier [ (binary_expression "(byte)param_1 + 0x1d" (cast_expression "(byte)param_1" ( (type_descriptor "byte" type_identifier) ) identifier) + number_literal) ])))) ;) }))) (return_statement "return _param_1;" return identifier ;) })))
(translation_unit "uint FUN_00210f20(int param_1,uint param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}\n\n" (function_definition "uint FUN_00210f20(int param_1,uint param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}" type_identifier (function_declarator "FUN_00210f20(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (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                    \n    FUN_0022c630();\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                    \n    FUN_0022c630();\n  }" { (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\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_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }" { (expression_statement "FUN_0022ccc0(piVar1);" (call_expression "FUN_0022ccc0(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc" (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_0038efcc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }" { (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x18))();" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x18))()" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))()" (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 "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }" else (compound_statement "{\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }" { (expression_statement "param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);" (assignment_expression "param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" identifier = (binary_expression "(uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + (param_2 & 0xff) + 0x1d)" ( (binary_expression "(int)piVar1 + (param_2 & 0xff) + 0x1d" (binary_expression "(int)piVar1 + (param_2 & 0xff)" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(param_2 & 0xff)" ( (binary_expression "param_2 & 0xff" identifier & number_literal) ))) + number_literal) ))))) ;) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 ))) ;) (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 ( )))) ;) (return_statement return IDENT ;) })) }) (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 (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) + LIT) ))))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00210f20(int param_1,uint param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}" (type_identifier "uint") (function_declarator "FUN_00210f20(int param_1,uint param_2)" (identifier "FUN_00210f20") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  piVar1 = *(int **)(param_1 + 0x7c);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0022c630();\n  }\n  if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }\n  return param_2;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (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                    \n    FUN_0022c630();\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                    \n    FUN_0022c630();\n  }" ({ "{") (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" (identifier "FUN_0022c630") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if ((char)piVar1[7] == '\0') {\n    FUN_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }\n  else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\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_0022ccc0(piVar1);\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }\n  }" ({ "{") (expression_statement "FUN_0022ccc0(piVar1);" (call_expression "FUN_0022ccc0(piVar1)" (identifier "FUN_0022ccc0") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc)" (( "(") (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc" (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_0038efcc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0038efcc"))) () ")")) (compound_statement "{\n                    \n                    \n      uVar2 = (**(code **)(*piVar1 + 0x18))();\n      return uVar2;\n    }" ({ "{") (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x18))();" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x18))()" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 0x18))()" (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 "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }" (else "else") (compound_statement "{\n    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);\n  }" ({ "{") (expression_statement "param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);" (assignment_expression "param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" (identifier "param_2") (= "=") (binary_expression "(uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + (param_2 & 0xff) + 0x1d)" (( "(") (binary_expression "(int)piVar1 + (param_2 & 0xff) + 0x1d" (binary_expression "(int)piVar1 + (param_2 & 0xff)" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (parenthesized_expression "(param_2 & 0xff)" (( "(") (binary_expression "param_2 & 0xff" (identifier "param_2") (& "&") (number_literal "0xff")) () ")"))) (+ "+") (number_literal "0x1d")) () ")"))))) (; ";")) (} "}")))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

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

type_1 __thiscall std::type_2::function_1(type_2 *var_3,char param_1)

{
  var_1<var_2> *var_4;
  type_1 uVar1;
  type_3 in_stack_00000009;
  
  var_4 = *(var_1<var_2> **)(var_3 + 0x7c);
  if (var_4 == (var_1<var_2> *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_5();
  }
  if (var_4[0x1c] == (var_1<var_2>)0x0) {
    var_1<var_2>::var_6(var_4);
    if (*(type_4 **)(*(int *)var_4 + 0x18) != (type_4 *)PTR_do_widen_0038efcc) {
                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar1 = (**(type_4 **)(*(int *)var_4 + 0x18))();
      return uVar1;
    }
  }
  else {
    _param_1 = (type_1)(type_5)var_4[(type_5)param_1 + 0x1d];
  }
  return _param_1;
}


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

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

uint MASKED(int param_1,uint param_2)

{
  int *piVar1;
  uint uVar2;
  
  piVar1 = *(int **)(param_1 + 0x7c);
  if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0022c630();
  }
  if ((char)piVar1[7] == '\0') {
    FUN_0022ccc0(piVar1);
    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_0038efcc) {
                    /* WARNING: Could not recover jumptable at 0x00210f81. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (**(code **)(*piVar1 + 0x18))();
      return uVar2;
    }
  }
  else {
    param_2 = (uint)*(byte *)((int)piVar1 + (param_2 & 0xff) + 0x1d);
  }
  return param_2;
}

