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

void std::wstring::find_first_not_of(wchar_t *param_1,uint param_2,uint param_3)

{
}



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

uint FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)

{
  int iVar1;
  uint uVar2;
  wchar_t *pwVar3;
  
  iVar1 = *param_1;
  uVar2 = *(uint *)(iVar1 + -0xc);
  if (param_3 < uVar2) {
    if (param_4 == 0) {
      return param_3;
    }
    do {
      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);
      if (pwVar3 == (wchar_t *)0x0) {
        return param_3;
      }
      param_3 = param_3 + 1;
    } while (param_3 != uVar2);
  }
  return 0xffffffff;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x1b9887
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x28]
MOV ESI,dword ptr [EAX]
MOV EBP,dword ptr [ESI + -0xc]
CMP EDI,EBP
JNC 0x004307d0
MOV EDX,dword ptr [ESP + 0x2c]
MOV EAX,EDI
TEST EDX,EDX
JNZ 0x004307a7
JMP 0x004307c3
ADD EDI,0x1
CMP EDI,EBP
JZ 0x004307d0
SUB ESP,0x4
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESI + EDI*0x4]
PUSH dword ptr [ESP + 0x30]
CALL 0x00039a30
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x004307a0
MOV EAX,EDI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
MOV EAX,0xffffffff
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}\n\n" comment (function_definition "uint FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}" type_identifier (function_declarator "FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)" identifier (parameter_list "(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "size_t param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "wchar_t *pwVar3;" type_identifier (pointer_declarator "*pwVar3" * identifier) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = *(uint *)(iVar1 + -0xc);" (assignment_expression "uVar2 = *(uint *)(iVar1 + -0xc)" identifier = (pointer_expression "*(uint *)(iVar1 + -0xc)" * (cast_expression "(uint *)(iVar1 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ;) (if_statement "if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }" if (parenthesized_expression "(param_3 < uVar2)" ( (binary_expression "param_3 < uVar2" identifier < identifier) )) (compound_statement "{\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }" { (if_statement "if (param_4 == 0) {\n      return param_3;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) })) (do_statement "do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);" do (compound_statement "{\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    }" { (expression_statement "pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);" (assignment_expression "pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" identifier = (call_expression "wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" identifier (argument_list "(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" ( identifier , (pointer_expression "*(wchar_t *)(iVar1 + param_3 * 4)" * (cast_expression "(wchar_t *)(iVar1 + param_3 * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 4)" ( (binary_expression "iVar1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) , identifier )))) ;) (if_statement "if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }" if (parenthesized_expression "(pwVar3 == (wchar_t *)0x0)" ( (binary_expression "pwVar3 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return param_3;\n      }" { (return_statement "return param_3;" return identifier ;) })) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != uVar2)" ( (binary_expression "param_3 != uVar2" identifier != identifier) )) ;) })) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstring::find_first_not_of(wchar_t const*, unsigned int, unsigned int) const */\n\nvoid std::wstring::find_first_not_of(wchar_t *param_1,uint param_2,uint param_3)\n\n{\n}\n\n" comment comment (function_definition "void std::wstring::find_first_not_of(wchar_t *param_1,uint param_2,uint param_3)\n\n{\n}" primitive_type (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "find_first_not_of(wchar_t *param_1,uint param_2,uint param_3)" identifier (parameter_list "(wchar_t *param_1,uint param_2,uint param_3)" ( (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "uint FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}\n\n" (function_definition "uint FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}" type_identifier (function_declarator "FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)" identifier (parameter_list "(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wchar_t *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "size_t param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "wchar_t *pwVar3;" type_identifier (pointer_declarator "*pwVar3" * identifier) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = *(uint *)(iVar1 + -0xc);" (assignment_expression "uVar2 = *(uint *)(iVar1 + -0xc)" identifier = (pointer_expression "*(uint *)(iVar1 + -0xc)" * (cast_expression "(uint *)(iVar1 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ;) (if_statement "if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }" if (parenthesized_expression "(param_3 < uVar2)" ( (binary_expression "param_3 < uVar2" identifier < identifier) )) (compound_statement "{\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }" { (if_statement "if (param_4 == 0) {\n      return param_3;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) })) (do_statement "do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);" do (compound_statement "{\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    }" { (expression_statement "pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);" (assignment_expression "pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" identifier = (call_expression "wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" identifier (argument_list "(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" ( identifier , (pointer_expression "*(wchar_t *)(iVar1 + param_3 * 4)" * (cast_expression "(wchar_t *)(iVar1 + param_3 * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_3 * 4)" ( (binary_expression "iVar1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) )))) , identifier )))) ;) (if_statement "if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }" if (parenthesized_expression "(pwVar3 == (wchar_t *)0x0)" ( (binary_expression "pwVar3 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return param_3;\n      }" { (return_statement "return param_3;" return identifier ;) })) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != uVar2)" ( (binary_expression "param_3 != uVar2" identifier != identifier) )) ;) })) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return LIT ;) })))
(function_definition "uint FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)\n\n{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}" (type_identifier "uint") (function_declarator "FUN_00430770(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)" (identifier "FUN_00430770") (parameter_list "(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "wchar_t *param_2" (type_identifier "wchar_t") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "size_t param_4" (primitive_type "size_t") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  wchar_t *pwVar3;\n  \n  iVar1 = *param_1;\n  uVar2 = *(uint *)(iVar1 + -0xc);\n  if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }\n  return 0xffffffff;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "wchar_t *pwVar3;" (type_identifier "wchar_t") (pointer_declarator "*pwVar3" (* "*") (identifier "pwVar3")) (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar1 + -0xc);" (assignment_expression "uVar2 = *(uint *)(iVar1 + -0xc)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar1 + -0xc)" (* "*") (cast_expression "(uint *)(iVar1 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -0xc)" (( "(") (binary_expression "iVar1 + -0xc" (identifier "iVar1") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (if_statement "if (param_3 < uVar2) {\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }" (if "if") (parenthesized_expression "(param_3 < uVar2)" (( "(") (binary_expression "param_3 < uVar2" (identifier "param_3") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n    if (param_4 == 0) {\n      return param_3;\n    }\n    do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);\n  }" ({ "{") (if_statement "if (param_4 == 0) {\n      return param_3;\n    }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return param_3;\n    }" ({ "{") (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (do_statement "do {\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    } while (param_3 != uVar2);" (do "do") (compound_statement "{\n      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);\n      if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }\n      param_3 = param_3 + 1;\n    }" ({ "{") (expression_statement "pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);" (assignment_expression "pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" (identifier "pwVar3") (= "=") (call_expression "wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" (identifier "wmemchr") (argument_list "(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(wchar_t *)(iVar1 + param_3 * 4)" (* "*") (cast_expression "(wchar_t *)(iVar1 + param_3 * 4)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_3 * 4)" (( "(") (binary_expression "iVar1 + param_3 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")")))) (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (pwVar3 == (wchar_t *)0x0) {\n        return param_3;\n      }" (if "if") (parenthesized_expression "(pwVar3 == (wchar_t *)0x0)" (( "(") (binary_expression "pwVar3 == (wchar_t *)0x0" (identifier "pwVar3") (== "==") (cast_expression "(wchar_t *)0x0" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return param_3;\n      }" ({ "{") (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != uVar2)" (( "(") (binary_expression "param_3 != uVar2" (identifier "param_3") (!= "!=") (identifier "uVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}")))

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

void std::wstring::function_1(type_1 *param_1,type_2 param_2,type_2 param_3)

{
}


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

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

uint MASKED(int *param_1,wchar_t *param_2,uint param_3,size_t param_4)

{
  int iVar1;
  uint uVar2;
  wchar_t *pwVar3;
  
  iVar1 = *param_1;
  uVar2 = *(uint *)(iVar1 + -0xc);
  if (param_3 < uVar2) {
    if (param_4 == 0) {
      return param_3;
    }
    do {
      pwVar3 = wmemchr(param_2,*(wchar_t *)(iVar1 + param_3 * 4),param_4);
      if (pwVar3 == (wchar_t *)0x0) {
        return param_3;
      }
      param_3 = param_3 + 1;
    } while (param_3 != uVar2);
  }
  return 0xffffffff;
}

