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

void std::wstring::at(uint param_1)

{
}



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

int FUN_002ca260(int *param_1,uint param_2)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (param_2 < *(uint *)(iVar1 + -0xc)) {
    return iVar1 + param_2 * 4;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,
               *(uint *)(iVar1 + -0xc),iVar1);
}


PUSH EBX
CALL 0x0003a210
ADD EBX,0x149d9a
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [EDX]
MOV ECX,dword ptr [EDX + -0xc]
CMP EAX,ECX
JNC 0x002ca288
ADD ESP,0x8
LEA EAX,[EDX + EAX*0x4]
POP EBX
RET
PUSH EDX
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfff01e3c]
PUSH EAX
CALL 0x0028dcb0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_002ca260(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}\n\n" comment (function_definition "int FUN_002ca260(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}" primitive_type (function_declarator "FUN_002ca260(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }" if (parenthesized_expression "(param_2 < *(uint *)(iVar1 + -0xc))" ( (binary_expression "param_2 < *(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) ))))) )) (compound_statement "{\n    return iVar1 + param_2 * 4;\n  }" { (return_statement "return iVar1 + param_2 * 4;" return (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ;) })) comment (expression_statement "FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);" (call_expression "FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1)" identifier (argument_list "("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1)" ( (string_literal ""basic_string::at: __n (which is %zu) >= this->size() (which is %zu)"" " string_content ") , 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) )))) , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstring::at(unsigned int) const */\n\nvoid std::wstring::at(uint param_1)\n\n{\n}\n\n" comment comment (function_definition "void std::wstring::at(uint param_1)\n\n{\n}" primitive_type (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "at(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "int FUN_002ca260(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    \n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}\n\n" (function_definition "int FUN_002ca260(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    \n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}" primitive_type (function_declarator "FUN_002ca260(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    \n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }" if (parenthesized_expression "(param_2 < *(uint *)(iVar1 + -0xc))" ( (binary_expression "param_2 < *(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) ))))) )) (compound_statement "{\n    return iVar1 + param_2 * 4;\n  }" { (return_statement "return iVar1 + param_2 * 4;" return (binary_expression "iVar1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) ;) })) (expression_statement "FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);" (call_expression "FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1)" identifier (argument_list "("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1)" ( (string_literal ""basic_string::at: __n (which is %zu) >= this->size() (which is %zu)"" " string_content ") , 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) )))) , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return (binary_expression IDENT + (binary_expression IDENT * LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) })))
(function_definition "int FUN_002ca260(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    \n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}" (primitive_type "int") (function_declarator "FUN_002ca260(int *param_1,uint param_2)" (identifier "FUN_002ca260") (parameter_list "(int *param_1,uint param_2)" (( "(") (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")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }\n                    \n  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (param_2 < *(uint *)(iVar1 + -0xc)) {\n    return iVar1 + param_2 * 4;\n  }" (if "if") (parenthesized_expression "(param_2 < *(uint *)(iVar1 + -0xc))" (( "(") (binary_expression "param_2 < *(uint *)(iVar1 + -0xc)" (identifier "param_2") (< "<") (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")) () ")"))))) () ")")) (compound_statement "{\n    return iVar1 + param_2 * 4;\n  }" ({ "{") (return_statement "return iVar1 + param_2 * 4;" (return "return") (binary_expression "iVar1 + param_2 * 4" (identifier "iVar1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) (; ";")) (} "}"))) (expression_statement "FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1);" (call_expression "FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1)" (identifier "FUN_0028dcb0") (argument_list "("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,\n               *(uint *)(iVar1 + -0xc),iVar1)" (( "(") (string_literal ""basic_string::at: __n (which is %zu) >= this->size() (which is %zu)"" (" """) (string_content "basic_string::at: __n (which is %zu) >= this->size() (which is %zu)") (" """)) (, ",") (identifier "param_2") (, ",") (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")) () ")")))) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")))

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

void std::wstring::function_1(type_1 param_1)

{
}


(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)))) 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: (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))))))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier) (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))))) (identifier)))))))

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

int MASKED(int *param_1,uint param_2)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (param_2 < *(uint *)(iVar1 + -0xc)) {
    return iVar1 + param_2 * 4;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0028dcb0("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)",param_2,
               *(uint *)(iVar1 + -0xc),iVar1);
}

