
bool gold::Stringpool_template<short_unsigned_int>::string_equal(ushort *s1,ushort *s2)

{
  short *psVar1;
  short *psVar2;
  int iVar3;
  
  iVar3 = 0;
  do {
    psVar1 = (short *)((int)s1 + iVar3);
    psVar2 = (short *)((int)s2 + iVar3);
    if (*psVar1 == 0) {
      return *psVar2 == 0;
    }
    iVar3 = iVar3 + 2;
  } while (*psVar1 == *psVar2);
  return false;
}



undefined4 FUN_001e13a0(int param_1,int param_2)

{
  short *psVar1;
  short *psVar2;
  int iVar3;
  
  iVar3 = 0;
  do {
    psVar1 = (short *)(param_1 + iVar3);
    psVar2 = (short *)(param_2 + iVar3);
    if (*psVar1 == 0) {
      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);
    }
    iVar3 = iVar3 + 2;
  } while (*psVar1 == *psVar2);
  return 0;
}


PUSH ESI
XOR EAX,EAX
PUSH EBX
MOV ESI,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x10]
JMP 0x001e13b8
ADD EAX,0x2
CMP DX,CX
JNZ 0x001e13d0
MOVZX EDX,word ptr [ESI + EAX*0x1]
MOVZX ECX,word ptr [EBX + EAX*0x1]
TEST DX,DX
JNZ 0x001e13b0
TEST CX,CX
POP EBX
POP ESI
SETZ AL
RET
XOR EAX,EAX
POP EBX
POP ESI
RET
(translation_unit "undefined4 FUN_001e13a0(int param_1,int param_2)\n\n{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_001e13a0(int param_1,int param_2)\n\n{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}" type_identifier (function_declarator "FUN_001e13a0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "short *psVar2;" (sized_type_specifier "short" short) (pointer_declarator "*psVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);" do (compound_statement "{\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  }" { (expression_statement "psVar1 = (short *)(param_1 + iVar3);" (assignment_expression "psVar1 = (short *)(param_1 + iVar3)" identifier = (cast_expression "(short *)(param_1 + iVar3)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar3)" ( (binary_expression "param_1 + iVar3" identifier + identifier) )))) ;) (expression_statement "psVar2 = (short *)(param_2 + iVar3);" (assignment_expression "psVar2 = (short *)(param_2 + iVar3)" identifier = (cast_expression "(short *)(param_2 + iVar3)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar3)" ( (binary_expression "param_2 + iVar3" identifier + identifier) )))) ;) (if_statement "if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }" if (parenthesized_expression "(*psVar1 == 0)" ( (binary_expression "*psVar1 == 0" (pointer_expression "*psVar1" * identifier) == number_literal) )) (compound_statement "{\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }" { (return_statement "return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);" return (call_expression "CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0)" identifier (argument_list "((int3)((uint)iVar3 >> 8),*psVar2 == 0)" ( (call_expression "(int3)((uint)iVar3 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)iVar3 >> 8)" ( (binary_expression "(uint)iVar3 >> 8" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "*psVar2 == 0" (pointer_expression "*psVar2" * identifier) == number_literal) ))) ;) })) (expression_statement "iVar3 = iVar3 + 2;" (assignment_expression "iVar3 = iVar3 + 2" identifier = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(*psVar1 == *psVar2)" ( (binary_expression "*psVar1 == *psVar2" (pointer_expression "*psVar1" * identifier) == (pointer_expression "*psVar2" * identifier)) )) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bool gold::Stringpool_template<short_unsigned_int>::string_equal(ushort *s1,ushort *s2)\n\n{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)((int)s1 + iVar3);\n    psVar2 = (short *)((int)s2 + iVar3);\n    if (*psVar1 == 0) {\n      return *psVar2 == 0;\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return false;\n}\n\n" (function_definition "bool gold::Stringpool_template<short_unsigned_int>::string_equal(ushort *s1,ushort *s2)\n\n{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)((int)s1 + iVar3);\n    psVar2 = (short *)((int)s2 + iVar3);\n    if (*psVar1 == 0) {\n      return *psVar2 == 0;\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return false;\n}" primitive_type (ERROR "gold::Stringpool_template<short_unsigned_int>::" identifier : : identifier < identifier > : :) (function_declarator "string_equal(ushort *s1,ushort *s2)" identifier (parameter_list "(ushort *s1,ushort *s2)" ( (parameter_declaration "ushort *s1" type_identifier (pointer_declarator "*s1" * identifier)) , (parameter_declaration "ushort *s2" type_identifier (pointer_declarator "*s2" * identifier)) ))) (compound_statement "{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)((int)s1 + iVar3);\n    psVar2 = (short *)((int)s2 + iVar3);\n    if (*psVar1 == 0) {\n      return *psVar2 == 0;\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return false;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "short *psVar2;" (sized_type_specifier "short" short) (pointer_declarator "*psVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    psVar1 = (short *)((int)s1 + iVar3);\n    psVar2 = (short *)((int)s2 + iVar3);\n    if (*psVar1 == 0) {\n      return *psVar2 == 0;\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);" do (compound_statement "{\n    psVar1 = (short *)((int)s1 + iVar3);\n    psVar2 = (short *)((int)s2 + iVar3);\n    if (*psVar1 == 0) {\n      return *psVar2 == 0;\n    }\n    iVar3 = iVar3 + 2;\n  }" { (expression_statement "psVar1 = (short *)((int)s1 + iVar3);" (assignment_expression "psVar1 = (short *)((int)s1 + iVar3)" identifier = (cast_expression "(short *)((int)s1 + iVar3)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s1 + iVar3)" ( (binary_expression "(int)s1 + iVar3" (cast_expression "(int)s1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "psVar2 = (short *)((int)s2 + iVar3);" (assignment_expression "psVar2 = (short *)((int)s2 + iVar3)" identifier = (cast_expression "(short *)((int)s2 + iVar3)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s2 + iVar3)" ( (binary_expression "(int)s2 + iVar3" (cast_expression "(int)s2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (*psVar1 == 0) {\n      return *psVar2 == 0;\n    }" if (parenthesized_expression "(*psVar1 == 0)" ( (binary_expression "*psVar1 == 0" (pointer_expression "*psVar1" * identifier) == number_literal) )) (compound_statement "{\n      return *psVar2 == 0;\n    }" { (return_statement "return *psVar2 == 0;" return (binary_expression "*psVar2 == 0" (pointer_expression "*psVar2" * identifier) == number_literal) ;) })) (expression_statement "iVar3 = iVar3 + 2;" (assignment_expression "iVar3 = iVar3 + 2" identifier = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(*psVar1 == *psVar2)" ( (binary_expression "*psVar1 == *psVar2" (pointer_expression "*psVar1" * identifier) == (pointer_expression "*psVar2" * identifier)) )) ;) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_001e13a0(int param_1,int param_2)\n\n{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_001e13a0(int param_1,int param_2)\n\n{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}" type_identifier (function_declarator "FUN_001e13a0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "short *psVar2;" (sized_type_specifier "short" short) (pointer_declarator "*psVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);" do (compound_statement "{\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  }" { (expression_statement "psVar1 = (short *)(param_1 + iVar3);" (assignment_expression "psVar1 = (short *)(param_1 + iVar3)" identifier = (cast_expression "(short *)(param_1 + iVar3)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar3)" ( (binary_expression "param_1 + iVar3" identifier + identifier) )))) ;) (expression_statement "psVar2 = (short *)(param_2 + iVar3);" (assignment_expression "psVar2 = (short *)(param_2 + iVar3)" identifier = (cast_expression "(short *)(param_2 + iVar3)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar3)" ( (binary_expression "param_2 + iVar3" identifier + identifier) )))) ;) (if_statement "if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }" if (parenthesized_expression "(*psVar1 == 0)" ( (binary_expression "*psVar1 == 0" (pointer_expression "*psVar1" * identifier) == number_literal) )) (compound_statement "{\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }" { (return_statement "return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);" return (call_expression "CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0)" identifier (argument_list "((int3)((uint)iVar3 >> 8),*psVar2 == 0)" ( (call_expression "(int3)((uint)iVar3 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)iVar3 >> 8)" ( (binary_expression "(uint)iVar3 >> 8" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "*psVar2 == 0" (pointer_expression "*psVar2" * identifier) == number_literal) ))) ;) })) (expression_statement "iVar3 = iVar3 + 2;" (assignment_expression "iVar3 = iVar3 + 2" identifier = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(*psVar1 == *psVar2)" ( (binary_expression "*psVar1 == *psVar2" (pointer_expression "*psVar1" * identifier) == (pointer_expression "*psVar2" * identifier)) )) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (return_statement return (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (binary_expression (pointer_expression * IDENT) == LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT)) )) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_001e13a0(int param_1,int param_2)\n\n{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_001e13a0(int param_1,int param_2)" (identifier "FUN_001e13a0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  short *psVar1;\n  short *psVar2;\n  int iVar3;\n  \n  iVar3 = 0;\n  do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);\n  return 0;\n}" ({ "{") (declaration "short *psVar1;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar1" (* "*") (identifier "psVar1")) (; ";")) (declaration "short *psVar2;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar2" (* "*") (identifier "psVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  } while (*psVar1 == *psVar2);" (do "do") (compound_statement "{\n    psVar1 = (short *)(param_1 + iVar3);\n    psVar2 = (short *)(param_2 + iVar3);\n    if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }\n    iVar3 = iVar3 + 2;\n  }" ({ "{") (expression_statement "psVar1 = (short *)(param_1 + iVar3);" (assignment_expression "psVar1 = (short *)(param_1 + iVar3)" (identifier "psVar1") (= "=") (cast_expression "(short *)(param_1 + iVar3)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar3)" (( "(") (binary_expression "param_1 + iVar3" (identifier "param_1") (+ "+") (identifier "iVar3")) () ")")))) (; ";")) (expression_statement "psVar2 = (short *)(param_2 + iVar3);" (assignment_expression "psVar2 = (short *)(param_2 + iVar3)" (identifier "psVar2") (= "=") (cast_expression "(short *)(param_2 + iVar3)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar3)" (( "(") (binary_expression "param_2 + iVar3" (identifier "param_2") (+ "+") (identifier "iVar3")) () ")")))) (; ";")) (if_statement "if (*psVar1 == 0) {\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }" (if "if") (parenthesized_expression "(*psVar1 == 0)" (( "(") (binary_expression "*psVar1 == 0" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);\n    }" ({ "{") (return_statement "return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);" (return "return") (call_expression "CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0)" (identifier "CONCAT31") (argument_list "((int3)((uint)iVar3 >> 8),*psVar2 == 0)" (( "(") (call_expression "(int3)((uint)iVar3 >> 8)" (parenthesized_expression "(int3)" (( "(") (identifier "int3") () ")")) (argument_list "((uint)iVar3 >> 8)" (( "(") (binary_expression "(uint)iVar3 >> 8" (cast_expression "(uint)iVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar3")) (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "*psVar2 == 0" (pointer_expression "*psVar2" (* "*") (identifier "psVar2")) (== "==") (number_literal "0")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + 2;" (assignment_expression "iVar3 = iVar3 + 2" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 2" (identifier "iVar3") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*psVar1 == *psVar2)" (( "(") (binary_expression "*psVar1 == *psVar2" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (== "==") (pointer_expression "*psVar2" (* "*") (identifier "psVar2"))) () ")")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

bool gold::Stringpool_template<short_unsigned_int>::function_1(type_1 *s1,type_1 *s2)

{
  short *psVar1;
  short *psVar2;
  int var_1;
  
  var_1 = 0;
  do {
    psVar1 = (short *)((int)s1 + var_1);
    psVar2 = (short *)((int)s2 + var_1);
    if (*psVar1 == 0) {
      return *psVar2 == 0;
    }
    var_1 = var_1 + 2;
  } while (*psVar1 == *psVar2);
  return false;
}


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

undefined4 MASKED(int param_1,int param_2)

{
  short *psVar1;
  short *psVar2;
  int iVar3;
  
  iVar3 = 0;
  do {
    psVar1 = (short *)(param_1 + iVar3);
    psVar2 = (short *)(param_2 + iVar3);
    if (*psVar1 == 0) {
      return CONCAT31((int3)((uint)iVar3 >> 8),*psVar2 == 0);
    }
    iVar3 = iVar3 + 2;
  } while (*psVar1 == *psVar2);
  return 0;
}

