
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::resize(unsigned int, wchar_t) */

void __thiscall std::wstring::resize(wstring *this,uint param_1,wchar_t param_2)

{
  uint uVar1;
  
  uVar1 = *(uint *)(this + 4);
  if (param_1 <= uVar1) {
    if (param_1 < uVar1) {
      *(uint *)(this + 4) = param_1;
      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;
    }
    return;
  }
  _M_replace_aux(this,uVar1,0,param_1 - uVar1,param_2);
  return;
}



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

void FUN_00204020(int *param_1,uint param_2,undefined4 param_3)

{
  uint uVar1;
  
  uVar1 = param_1[1];
  if (param_2 <= uVar1) {
    if (param_2 < uVar1) {
      param_1[1] = param_2;
      *(undefined4 *)(*param_1 + param_2 * 4) = 0;
    }
    return;
  }
  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);
  return;
}


PUSH EBX
CALL 0x00036f20
ADD EBX,0x1aafda
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [EDX + 0x4]
CMP ECX,EAX
JC 0x00204058
JBE 0x0020404c
MOV dword ptr [EDX + 0x4],EAX
MOV EDX,dword ptr [EDX]
MOV dword ptr [EDX + EAX*0x4],0x0
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
SUB EAX,ECX
PUSH dword ptr [ESP + 0x24]
PUSH EAX
PUSH 0x0
PUSH ECX
PUSH EDX
CALL 0x00203ec0
ADD ESP,0x20
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00204020(int *param_1,uint param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_00204020(int *param_1,uint param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00204020(int *param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }" if (parenthesized_expression "(param_2 <= uVar1)" ( (binary_expression "param_2 <= uVar1" identifier <= identifier) )) (compound_statement "{\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }" { (if_statement "if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }" if (parenthesized_expression "(param_2 < uVar1)" ( (binary_expression "param_2 < uVar1" identifier < identifier) )) (compound_statement "{\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }" { (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(*param_1 + param_2 * 4) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + param_2 * 4) = 0" (pointer_expression "*(undefined4 *)(*param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(*param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2 * 4)" ( (binary_expression "*param_1 + param_2 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);" (call_expression "FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3)" identifier (argument_list "(param_1,uVar1,0,param_2 - uVar1,param_3)" ( identifier , identifier , number_literal , (binary_expression "param_2 - uVar1" identifier - identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstring::resize(unsigned int, wchar_t) */\n\nvoid __thiscall std::wstring::resize(wstring *this,uint param_1,wchar_t param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(this + 4);\n  if (param_1 <= uVar1) {\n    if (param_1 < uVar1) {\n      *(uint *)(this + 4) = param_1;\n      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;\n    }\n    return;\n  }\n  _M_replace_aux(this,uVar1,0,param_1 - uVar1,param_2);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wstring::resize(wstring *this,uint param_1,wchar_t param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(this + 4);\n  if (param_1 <= uVar1) {\n    if (param_1 < uVar1) {\n      *(uint *)(this + 4) = param_1;\n      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;\n    }\n    return;\n  }\n  _M_replace_aux(this,uVar1,0,param_1 - uVar1,param_2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "resize(wstring *this,uint param_1,wchar_t param_2)" identifier (parameter_list "(wstring *this,uint param_1,wchar_t param_2)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "wchar_t param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(this + 4);\n  if (param_1 <= uVar1) {\n    if (param_1 < uVar1) {\n      *(uint *)(this + 4) = param_1;\n      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;\n    }\n    return;\n  }\n  _M_replace_aux(this,uVar1,0,param_1 - uVar1,param_2);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(this + 4);" (assignment_expression "uVar1 = *(uint *)(this + 4)" identifier = (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (if_statement "if (param_1 <= uVar1) {\n    if (param_1 < uVar1) {\n      *(uint *)(this + 4) = param_1;\n      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;\n    }\n    return;\n  }" if (parenthesized_expression "(param_1 <= uVar1)" ( (binary_expression "param_1 <= uVar1" identifier <= identifier) )) (compound_statement "{\n    if (param_1 < uVar1) {\n      *(uint *)(this + 4) = param_1;\n      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;\n    }\n    return;\n  }" { (if_statement "if (param_1 < uVar1) {\n      *(uint *)(this + 4) = param_1;\n      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;\n    }" if (parenthesized_expression "(param_1 < uVar1)" ( (binary_expression "param_1 < uVar1" identifier < identifier) )) (compound_statement "{\n      *(uint *)(this + 4) = param_1;\n      *(undefined4 *)(*(int *)this + param_1 * 4) = 0;\n    }" { (expression_statement "*(uint *)(this + 4) = param_1;" (assignment_expression "*(uint *)(this + 4) = param_1" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(*(int *)this + param_1 * 4) = 0;" (assignment_expression "*(undefined4 *)(*(int *)this + param_1 * 4) = 0" (pointer_expression "*(undefined4 *)(*(int *)this + param_1 * 4)" * (cast_expression "(undefined4 *)(*(int *)this + param_1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + param_1 * 4)" ( (binary_expression "*(int *)this + param_1 * 4" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "param_1 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (return_statement "return;" return ;) })) (expression_statement "_M_replace_aux(this,uVar1,0,param_1 - uVar1,param_2);" (call_expression "_M_replace_aux(this,uVar1,0,param_1 - uVar1,param_2)" identifier (argument_list "(this,uVar1,0,param_1 - uVar1,param_2)" ( identifier , identifier , number_literal , (binary_expression "param_1 - uVar1" identifier - identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00204020(int *param_1,uint param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}\n\n" (function_definition "void FUN_00204020(int *param_1,uint param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_00204020(int *param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }" if (parenthesized_expression "(param_2 <= uVar1)" ( (binary_expression "param_2 <= uVar1" identifier <= identifier) )) (compound_statement "{\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }" { (if_statement "if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }" if (parenthesized_expression "(param_2 < uVar1)" ( (binary_expression "param_2 < uVar1" identifier < identifier) )) (compound_statement "{\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }" { (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(*param_1 + param_2 * 4) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + param_2 * 4) = 0" (pointer_expression "*(undefined4 *)(*param_1 + param_2 * 4)" * (cast_expression "(undefined4 *)(*param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_2 * 4)" ( (binary_expression "*param_1 + param_2 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);" (call_expression "FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3)" identifier (argument_list "(param_1,uVar1,0,param_2 - uVar1,param_3)" ( identifier , identifier , number_literal , (binary_expression "param_2 - uVar1" identifier - identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) = LIT) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (binary_expression IDENT - IDENT) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00204020(int *param_1,uint param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00204020(int *param_1,uint param_2,undefined4 param_3)" (identifier "FUN_00204020") (parameter_list "(int *param_1,uint param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = param_1[1];\n  if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }\n  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" (identifier "uVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (param_2 <= uVar1) {\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 <= uVar1)" (( "(") (binary_expression "param_2 <= uVar1" (identifier "param_2") (<= "<=") (identifier "uVar1")) () ")")) (compound_statement "{\n    if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }\n    return;\n  }" ({ "{") (if_statement "if (param_2 < uVar1) {\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }" (if "if") (parenthesized_expression "(param_2 < uVar1)" (( "(") (binary_expression "param_2 < uVar1" (identifier "param_2") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n      param_1[1] = param_2;\n      *(undefined4 *)(*param_1 + param_2 * 4) = 0;\n    }" ({ "{") (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + param_2 * 4) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + param_2 * 4) = 0" (pointer_expression "*(undefined4 *)(*param_1 + param_2 * 4)" (* "*") (cast_expression "(undefined4 *)(*param_1 + param_2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + param_2 * 4)" (( "(") (binary_expression "*param_1 + param_2 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);" (call_expression "FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3)" (identifier "FUN_00203ec0") (argument_list "(param_1,uVar1,0,param_2 - uVar1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (number_literal "0") (, ",") (binary_expression "param_2 - uVar1" (identifier "param_2") (- "-") (identifier "uVar1")) (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::resize(unsigned int, wchar_t) */

void __thiscall std::type_1::function_1(type_1 *var_1,type_2 var_2,type_3 param_2)

{
  type_2 var_3;
  
  var_3 = *(type_2 *)(var_1 + 4);
  if (var_2 <= var_3) {
    if (var_2 < var_3) {
      *(type_2 *)(var_1 + 4) = var_2;
      *(type_4 *)(*(int *)var_1 + var_2 * 4) = 0;
    }
    return;
  }
  var_4(var_1,var_3,0,var_2 - var_3,param_2);
  return;
}


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

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

void MASKED(int *param_1,uint param_2,undefined4 param_3)

{
  uint uVar1;
  
  uVar1 = param_1[1];
  if (param_2 <= uVar1) {
    if (param_2 < uVar1) {
      param_1[1] = param_2;
      *(undefined4 *)(*param_1 + param_2 * 4) = 0;
    }
    return;
  }
  FUN_00203ec0(param_1,uVar1,0,param_2 - uVar1,param_3);
  return;
}

