
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* bool std::(anonymous namespace)::read_bom<char const, true, 3u>(std::(anonymous
   namespace)::range<char const, true>&, unsigned char const (&) [3u]) [clone .constprop.29] */

bool __regparm3
std::(anonymous_namespace)::read_bom<char_const,true,3u>(range *param_1,unsigned_char *param_2)

{
  short *psVar1;
  
  psVar1 = *(short **)param_1;
  if (((2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom)) &&
     ((char)psVar1[1] == DAT_00270147)) {
    *(int *)param_1 = (int)psVar1 + 3;
    return true;
  }
  return false;
}



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

undefined4 __regparm3 FUN_002343e0(int *param_1)

{
  short *psVar1;
  
  psVar1 = (short *)*param_1;
  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&
     ((char)psVar1[1] == DAT_00270147)) {
    *param_1 = (int)psVar1 + 3;
    return 1;
  }
  return 0;
}


PUSH EBX
MOV ECX,dword ptr [EAX]
CALL 0x00035680
ADD EBX,0x10ac18
MOV EDX,dword ptr [EAX + 0x4]
SUB EDX,ECX
CMP EDX,0x2
JBE 0x00234404
MOVZX EDX,word ptr [EBX + 0xfff31145]
CMP word ptr [ECX],DX
JZ 0x00234410
XOR EAX,EAX
POP EBX
RET
MOVZX EBX,byte ptr [EBX + 0xfff31147]
CMP byte ptr [ECX + 0x2],BL
JNZ 0x00234404
ADD ECX,0x3
MOV dword ptr [EAX],ECX
MOV EAX,0x1
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_002343e0(int *param_1)\n\n{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_002343e0(int *param_1)\n\n{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_002343e0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (expression_statement "psVar1 = (short *)*param_1;" (assignment_expression "psVar1 = (short *)*param_1" identifier = (cast_expression "(short *)*param_1" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }" if (parenthesized_expression "(((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147))" ( (binary_expression "((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)" (parenthesized_expression "((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145))" ( (binary_expression "(2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)" (parenthesized_expression "(2 < (uint)(param_1[1] - (int)psVar1))" ( (binary_expression "2 < (uint)(param_1[1] - (int)psVar1)" number_literal < (call_expression "(uint)(param_1[1] - (int)psVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[1] - (int)psVar1)" ( (binary_expression "param_1[1] - (int)psVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) - (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) && (parenthesized_expression "(*psVar1 == DAT_00270145)" ( (binary_expression "*psVar1 == DAT_00270145" (pointer_expression "*psVar1" * identifier) == identifier) ))) )) && (parenthesized_expression "((char)psVar1[1] == DAT_00270147)" ( (binary_expression "(char)psVar1[1] == DAT_00270147" (cast_expression "(char)psVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "psVar1[1]" identifier [ number_literal ])) == identifier) ))) )) (compound_statement "{\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }" { (expression_statement "*param_1 = (int)psVar1 + 3;" (assignment_expression "*param_1 = (int)psVar1 + 3" (pointer_expression "*param_1" * identifier) = (binary_expression "(int)psVar1 + 3" (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* bool std::(anonymous namespace)::read_bom<char const, true, 3u>(std::(anonymous\n   namespace)::range<char const, true>&, unsigned char const (&) [3u]) [clone .constprop.29] */\n\nbool __regparm3\nstd::(anonymous_namespace)::read_bom<char_const,true,3u>(range *param_1,unsigned_char *param_2)\n\n{\n  short *psVar1;\n  \n  psVar1 = *(short **)param_1;\n  if (((2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *(int *)param_1 = (int)psVar1 + 3;\n    return true;\n  }\n  return false;\n}\n\n" comment comment (declaration "bool __regparm3" primitive_type identifier ;) (labeled_statement "std::(anonymous_namespace)::read_bom<char_const,true,3u>(range *param_1,unsigned_char *param_2)" statement_identifier (ERROR "::(anonymous_namespace):" : : (parenthesized_expression "(anonymous_namespace)" ( identifier )) :) : (expression_statement "read_bom<char_const,true,3u>(range *param_1,unsigned_char *param_2)" (comma_expression "read_bom<char_const,true,3u>(range *param_1,unsigned_char *param_2)" (binary_expression "read_bom<char_const" identifier < identifier) , (comma_expression "true,3u>(range *param_1,unsigned_char *param_2)" true , (binary_expression "3u>(range *param_1,unsigned_char *param_2)" number_literal > (parenthesized_expression "(range *param_1,unsigned_char *param_2)" ( (comma_expression "range *param_1,unsigned_char *param_2" (binary_expression "range *param_1" identifier * identifier) , (binary_expression "unsigned_char *param_2" identifier * identifier)) ))))) ;)) (compound_statement "{\n  short *psVar1;\n  \n  psVar1 = *(short **)param_1;\n  if (((2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *(int *)param_1 = (int)psVar1 + 3;\n    return true;\n  }\n  return false;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (expression_statement "psVar1 = *(short **)param_1;" (assignment_expression "psVar1 = *(short **)param_1" identifier = (pointer_expression "*(short **)param_1" * (cast_expression "(short **)param_1" ( (type_descriptor "short **" (sized_type_specifier "short" short) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (((2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *(int *)param_1 = (int)psVar1 + 3;\n    return true;\n  }" if (parenthesized_expression "(((2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom)) &&\n     ((char)psVar1[1] == DAT_00270147))" ( (binary_expression "((2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom)) &&\n     ((char)psVar1[1] == DAT_00270147)" (parenthesized_expression "((2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom))" ( (binary_expression "(2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)) && (*psVar1 == utf8_bom)" (parenthesized_expression "(2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1))" ( (binary_expression "2 < (uint)(*(int *)(param_1 + 4) - (int)psVar1)" number_literal < (call_expression "(uint)(*(int *)(param_1 + 4) - (int)psVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 4) - (int)psVar1)" ( (binary_expression "*(int *)(param_1 + 4) - (int)psVar1" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) - (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) && (parenthesized_expression "(*psVar1 == utf8_bom)" ( (binary_expression "*psVar1 == utf8_bom" (pointer_expression "*psVar1" * identifier) == identifier) ))) )) && (parenthesized_expression "((char)psVar1[1] == DAT_00270147)" ( (binary_expression "(char)psVar1[1] == DAT_00270147" (cast_expression "(char)psVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "psVar1[1]" identifier [ number_literal ])) == identifier) ))) )) (compound_statement "{\n    *(int *)param_1 = (int)psVar1 + 3;\n    return true;\n  }" { (expression_statement "*(int *)param_1 = (int)psVar1 + 3;" (assignment_expression "*(int *)param_1 = (int)psVar1 + 3" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)psVar1 + 3" (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (return_statement "return true;" return true ;) })) (return_statement "return false;" return false ;) }))
(translation_unit "undefined4 __regparm3 FUN_002343e0(int *param_1)\n\n{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_002343e0(int *param_1)\n\n{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_002343e0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (expression_statement "psVar1 = (short *)*param_1;" (assignment_expression "psVar1 = (short *)*param_1" identifier = (cast_expression "(short *)*param_1" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }" if (parenthesized_expression "(((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147))" ( (binary_expression "((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)" (parenthesized_expression "((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145))" ( (binary_expression "(2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)" (parenthesized_expression "(2 < (uint)(param_1[1] - (int)psVar1))" ( (binary_expression "2 < (uint)(param_1[1] - (int)psVar1)" number_literal < (call_expression "(uint)(param_1[1] - (int)psVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[1] - (int)psVar1)" ( (binary_expression "param_1[1] - (int)psVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) - (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) )) && (parenthesized_expression "(*psVar1 == DAT_00270145)" ( (binary_expression "*psVar1 == DAT_00270145" (pointer_expression "*psVar1" * identifier) == identifier) ))) )) && (parenthesized_expression "((char)psVar1[1] == DAT_00270147)" ( (binary_expression "(char)psVar1[1] == DAT_00270147" (cast_expression "(char)psVar1[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "psVar1[1]" identifier [ number_literal ])) == identifier) ))) )) (compound_statement "{\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }" { (expression_statement "*param_1 = (int)psVar1 + 3;" (assignment_expression "*param_1 = (int)psVar1 + 3" (pointer_expression "*param_1" * identifier) = (binary_expression "(int)psVar1 + 3" (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) ))) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_002343e0(int *param_1)\n\n{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_002343e0(int *param_1)" (identifier "FUN_002343e0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  short *psVar1;\n  \n  psVar1 = (short *)*param_1;\n  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }\n  return 0;\n}" ({ "{") (declaration "short *psVar1;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar1" (* "*") (identifier "psVar1")) (; ";")) (expression_statement "psVar1 = (short *)*param_1;" (assignment_expression "psVar1 = (short *)*param_1" (identifier "psVar1") (= "=") (cast_expression "(short *)*param_1" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)) {\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }" (if "if") (parenthesized_expression "(((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147))" (( "(") (binary_expression "((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&\n     ((char)psVar1[1] == DAT_00270147)" (parenthesized_expression "((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145))" (( "(") (binary_expression "(2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)" (parenthesized_expression "(2 < (uint)(param_1[1] - (int)psVar1))" (( "(") (binary_expression "2 < (uint)(param_1[1] - (int)psVar1)" (number_literal "2") (< "<") (call_expression "(uint)(param_1[1] - (int)psVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[1] - (int)psVar1)" (( "(") (binary_expression "param_1[1] - (int)psVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (- "-") (cast_expression "(int)psVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "psVar1"))) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(*psVar1 == DAT_00270145)" (( "(") (binary_expression "*psVar1 == DAT_00270145" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (== "==") (identifier "DAT_00270145")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((char)psVar1[1] == DAT_00270147)" (( "(") (binary_expression "(char)psVar1[1] == DAT_00270147" (cast_expression "(char)psVar1[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "DAT_00270147")) () ")"))) () ")")) (compound_statement "{\n    *param_1 = (int)psVar1 + 3;\n    return 1;\n  }" ({ "{") (expression_statement "*param_1 = (int)psVar1 + 3;" (assignment_expression "*param_1 = (int)psVar1 + 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "(int)psVar1 + 3" (cast_expression "(int)psVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "psVar1")) (+ "+") (number_literal "3"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* bool std::(anonymous namespace)::read_bom<char const, true, 3u>(std::(anonymous
   namespace)::range<char const, true>&, unsigned char const (&) [3u]) [clone .constprop.29] */

bool __regparm3
std::(anonymous_namespace)::var_1<var_2,true,3u>(var_3 *var_4,var_5 *var_6)

{
  short *psVar1;
  
  psVar1 = *(short **)var_4;
  if (((2 < (uint)(*(int *)(var_4 + 4) - (int)psVar1)) && (*psVar1 == var_7)) &&
     ((char)psVar1[1] == var_8)) {
    *(int *)var_4 = (int)psVar1 + 3;
    return true;
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (return_statement (number_literal)))) (return_statement (number_literal)))))

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

undefined4 __regparm3 MASKED(int *param_1)

{
  short *psVar1;
  
  psVar1 = (short *)*param_1;
  if (((2 < (uint)(param_1[1] - (int)psVar1)) && (*psVar1 == DAT_00270145)) &&
     ((char)psVar1[1] == DAT_00270147)) {
    *param_1 = (int)psVar1 + 3;
    return 1;
  }
  return 0;
}

