
bool gold::Eh_frame::skip_leb128(uchar **pp,uchar *pend)

{
  uchar *puVar1;
  
  puVar1 = *pp;
  if (puVar1 < pend) {
    do {
      if (-1 < (char)*puVar1) {
        *pp = puVar1 + 1;
        return true;
      }
      puVar1 = puVar1 + 1;
    } while (pend != puVar1);
  }
  return false;
}



undefined4 FUN_001b0d60(undefined4 *param_1,char *param_2)

{
  char *pcVar1;
  
  pcVar1 = (char *)*param_1;
  if (pcVar1 < param_2) {
    do {
      if (-1 < *pcVar1) {
        *param_1 = pcVar1 + 1;
        return 1;
      }
      pcVar1 = pcVar1 + 1;
    } while (param_2 != pcVar1);
  }
  return 0;
}


MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ECX]
CMP EAX,EDX
JC 0x001b0d77
JMP 0x001b0d90
ADD EAX,0x1
CMP EDX,EAX
JZ 0x001b0d90
CMP byte ptr [EAX],0x0
JS 0x001b0d70
ADD EAX,0x1
MOV dword ptr [ECX],EAX
MOV EAX,0x1
RET
XOR EAX,EAX
RET
(translation_unit "undefined4 FUN_001b0d60(undefined4 *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_001b0d60(undefined4 *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001b0d60(undefined4 *param_1,char *param_2)" identifier (parameter_list "(undefined4 *param_1,char *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)*param_1;" (assignment_expression "pcVar1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }" if (parenthesized_expression "(pcVar1 < param_2)" ( (binary_expression "pcVar1 < param_2" identifier < identifier) )) (compound_statement "{\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }" { (do_statement "do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);" do (compound_statement "{\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    }" { (if_statement "if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }" if (parenthesized_expression "(-1 < *pcVar1)" ( (binary_expression "-1 < *pcVar1" number_literal < (pointer_expression "*pcVar1" * identifier)) )) (compound_statement "{\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }" { (expression_statement "*param_1 = pcVar1 + 1;" (assignment_expression "*param_1 = pcVar1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != pcVar1)" ( (binary_expression "param_2 != pcVar1" identifier != identifier) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bool gold::Eh_frame::skip_leb128(uchar **pp,uchar *pend)\n\n{\n  uchar *puVar1;\n  \n  puVar1 = *pp;\n  if (puVar1 < pend) {\n    do {\n      if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }\n      puVar1 = puVar1 + 1;\n    } while (pend != puVar1);\n  }\n  return false;\n}\n\n" (function_definition "bool gold::Eh_frame::skip_leb128(uchar **pp,uchar *pend)\n\n{\n  uchar *puVar1;\n  \n  puVar1 = *pp;\n  if (puVar1 < pend) {\n    do {\n      if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }\n      puVar1 = puVar1 + 1;\n    } while (pend != puVar1);\n  }\n  return false;\n}" primitive_type (ERROR "gold::Eh_frame::" identifier : : identifier : :) (function_declarator "skip_leb128(uchar **pp,uchar *pend)" identifier (parameter_list "(uchar **pp,uchar *pend)" ( (parameter_declaration "uchar **pp" type_identifier (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "uchar *pend" type_identifier (pointer_declarator "*pend" * identifier)) ))) (compound_statement "{\n  uchar *puVar1;\n  \n  puVar1 = *pp;\n  if (puVar1 < pend) {\n    do {\n      if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }\n      puVar1 = puVar1 + 1;\n    } while (pend != puVar1);\n  }\n  return false;\n}" { (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = *pp;" (assignment_expression "puVar1 = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (if_statement "if (puVar1 < pend) {\n    do {\n      if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }\n      puVar1 = puVar1 + 1;\n    } while (pend != puVar1);\n  }" if (parenthesized_expression "(puVar1 < pend)" ( (binary_expression "puVar1 < pend" identifier < identifier) )) (compound_statement "{\n    do {\n      if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }\n      puVar1 = puVar1 + 1;\n    } while (pend != puVar1);\n  }" { (do_statement "do {\n      if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }\n      puVar1 = puVar1 + 1;\n    } while (pend != puVar1);" do (compound_statement "{\n      if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }\n      puVar1 = puVar1 + 1;\n    }" { (if_statement "if (-1 < (char)*puVar1) {\n        *pp = puVar1 + 1;\n        return true;\n      }" if (parenthesized_expression "(-1 < (char)*puVar1)" ( (binary_expression "-1 < (char)*puVar1" number_literal < (cast_expression "(char)*puVar1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar1" * identifier))) )) (compound_statement "{\n        *pp = puVar1 + 1;\n        return true;\n      }" { (expression_statement "*pp = puVar1 + 1;" (assignment_expression "*pp = puVar1 + 1" (pointer_expression "*pp" * identifier) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return true;" return true ;) })) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pend != puVar1)" ( (binary_expression "pend != puVar1" identifier != identifier) )) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_001b0d60(undefined4 *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_001b0d60(undefined4 *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001b0d60(undefined4 *param_1,char *param_2)" identifier (parameter_list "(undefined4 *param_1,char *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)*param_1;" (assignment_expression "pcVar1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }" if (parenthesized_expression "(pcVar1 < param_2)" ( (binary_expression "pcVar1 < param_2" identifier < identifier) )) (compound_statement "{\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }" { (do_statement "do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);" do (compound_statement "{\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    }" { (if_statement "if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }" if (parenthesized_expression "(-1 < *pcVar1)" ( (binary_expression "-1 < *pcVar1" number_literal < (pointer_expression "*pcVar1" * identifier)) )) (compound_statement "{\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }" { (expression_statement "*param_1 = pcVar1 + 1;" (assignment_expression "*param_1 = pcVar1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != pcVar1)" ( (binary_expression "param_2 != pcVar1" identifier != identifier) )) ;) })) (return_statement "return 0;" 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)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_001b0d60(undefined4 *param_1,char *param_2)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_001b0d60(undefined4 *param_1,char *param_2)" (identifier "FUN_001b0d60") (parameter_list "(undefined4 *param_1,char *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)*param_1;\n  if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }\n  return 0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = (char *)*param_1;" (assignment_expression "pcVar1 = (char *)*param_1" (identifier "pcVar1") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (pcVar1 < param_2) {\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }" (if "if") (parenthesized_expression "(pcVar1 < param_2)" (( "(") (binary_expression "pcVar1 < param_2" (identifier "pcVar1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);\n  }" ({ "{") (do_statement "do {\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    } while (param_2 != pcVar1);" (do "do") (compound_statement "{\n      if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }\n      pcVar1 = pcVar1 + 1;\n    }" ({ "{") (if_statement "if (-1 < *pcVar1) {\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }" (if "if") (parenthesized_expression "(-1 < *pcVar1)" (( "(") (binary_expression "-1 < *pcVar1" (number_literal "-1") (< "<") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1"))) () ")")) (compound_statement "{\n        *param_1 = pcVar1 + 1;\n        return 1;\n      }" ({ "{") (expression_statement "*param_1 = pcVar1 + 1;" (assignment_expression "*param_1 = pcVar1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" (identifier "pcVar1") (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != pcVar1)" (( "(") (binary_expression "param_2 != pcVar1" (identifier "param_2") (!= "!=") (identifier "pcVar1")) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

bool gold::Eh_frame::function_1(type_1 **pp,type_1 *var_2)

{
  type_1 *var_1;
  
  var_1 = *pp;
  if (var_1 < var_2) {
    do {
      if (-1 < (char)*var_1) {
        *pp = var_1 + 1;
        return true;
      }
      var_1 = var_1 + 1;
    } while (var_2 != var_1);
  }
  return false;
}


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

undefined4 MASKED(undefined4 *param_1,char *param_2)

{
  char *pcVar1;
  
  pcVar1 = (char *)*param_1;
  if (pcVar1 < param_2) {
    do {
      if (-1 < *pcVar1) {
        *param_1 = pcVar1 + 1;
        return 1;
      }
      pcVar1 = pcVar1 + 1;
    } while (param_2 != pcVar1);
  }
  return 0;
}

