
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::rbegin() */

void std::wstring::rbegin(void)

{
}



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

int * FUN_002cb750(int *param_1,int *param_2)

{
  int iVar1;
  
  iVar1 = *param_2;
  if (-1 < *(int *)(iVar1 + -4)) {
    FUN_002cb580(param_2);
    iVar1 = *param_2;
  }
  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x14]
CALL 0x0003a210
ADD EBX,0x1488a4
MOV ESI,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EDI]
MOV EAX,dword ptr [EDX + -0x4]
TEST EAX,EAX
JS 0x002cb77d
SUB ESP,0xc
PUSH EDI
CALL 0x002cb580
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
MOV EAX,dword ptr [EDX + -0xc]
LEA EAX,[EDX + EAX*0x4]
MOV dword ptr [ESI],EAX
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_002cb750(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_002cb750(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002cb750(int *param_1,int *param_2)" * (function_declarator "FUN_002cb750(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }" if (parenthesized_expression "(-1 < *(int *)(iVar1 + -4))" ( (binary_expression "-1 < *(int *)(iVar1 + -4)" number_literal < (pointer_expression "*(int *)(iVar1 + -4)" * (cast_expression "(int *)(iVar1 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -4)" ( (binary_expression "iVar1 + -4" identifier + number_literal) ))))) )) (compound_statement "{\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }" { (expression_statement "FUN_002cb580(param_2);" (call_expression "FUN_002cb580(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (expression_statement "*param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;" (assignment_expression "*param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar1 + *(int *)(iVar1 + -0xc) * 4" identifier + (binary_expression "*(int *)(iVar1 + -0xc) * 4" (pointer_expression "*(int *)(iVar1 + -0xc)" * (cast_expression "(int *)(iVar1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) )))) * number_literal))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstring::rbegin() */\n\nvoid std::wstring::rbegin(void)\n\n{\n}\n\n" comment comment (function_definition "void std::wstring::rbegin(void)\n\n{\n}" primitive_type (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "rbegin(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "int * FUN_002cb750(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}\n\n" (function_definition "int * FUN_002cb750(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002cb750(int *param_1,int *param_2)" * (function_declarator "FUN_002cb750(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }" if (parenthesized_expression "(-1 < *(int *)(iVar1 + -4))" ( (binary_expression "-1 < *(int *)(iVar1 + -4)" number_literal < (pointer_expression "*(int *)(iVar1 + -4)" * (cast_expression "(int *)(iVar1 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -4)" ( (binary_expression "iVar1 + -4" identifier + number_literal) ))))) )) (compound_statement "{\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }" { (expression_statement "FUN_002cb580(param_2);" (call_expression "FUN_002cb580(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (expression_statement "*param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;" (assignment_expression "*param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar1 + *(int *)(iVar1 + -0xc) * 4" identifier + (binary_expression "*(int *)(iVar1 + -0xc) * 4" (pointer_expression "*(int *)(iVar1 + -0xc)" * (cast_expression "(int *)(iVar1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) )))) * number_literal))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_002cb750(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_002cb750(int *param_1,int *param_2)" (* "*") (function_declarator "FUN_002cb750(int *param_1,int *param_2)" (identifier "FUN_002cb750") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_2;\n  if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }\n  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" (identifier "iVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (-1 < *(int *)(iVar1 + -4)) {\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }" (if "if") (parenthesized_expression "(-1 < *(int *)(iVar1 + -4))" (( "(") (binary_expression "-1 < *(int *)(iVar1 + -4)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(iVar1 + -4)" (* "*") (cast_expression "(int *)(iVar1 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -4)" (( "(") (binary_expression "iVar1 + -4" (identifier "iVar1") (+ "+") (number_literal "-4")) () ")"))))) () ")")) (compound_statement "{\n    FUN_002cb580(param_2);\n    iVar1 = *param_2;\n  }" ({ "{") (expression_statement "FUN_002cb580(param_2);" (call_expression "FUN_002cb580(param_2)" (identifier "FUN_002cb580") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" (identifier "iVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}"))) (expression_statement "*param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;" (assignment_expression "*param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "iVar1 + *(int *)(iVar1 + -0xc) * 4" (identifier "iVar1") (+ "+") (binary_expression "*(int *)(iVar1 + -0xc) * 4" (pointer_expression "*(int *)(iVar1 + -0xc)" (* "*") (cast_expression "(int *)(iVar1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -0xc)" (( "(") (binary_expression "iVar1 + -0xc" (identifier "iVar1") (+ "+") (number_literal "-0xc")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wstring::rbegin() */

void std::wstring::function_1(void)

{
}


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

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

int * MASKED(int *param_1,int *param_2)

{
  int iVar1;
  
  iVar1 = *param_2;
  if (-1 < *(int *)(iVar1 + -4)) {
    FUN_002cb580(param_2);
    iVar1 = *param_2;
  }
  *param_1 = iVar1 + *(int *)(iVar1 + -0xc) * 4;
  return param_1;
}

