
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int hist_check_address(uint address)

{
  histogram *phVar1;
  uint uVar2;
  
  if (num_histograms != 0) {
    uVar2 = 0;
    phVar1 = histograms;
    do {
      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {
        return 1;
      }
      uVar2 = uVar2 + 1;
      phVar1 = phVar1 + 1;
    } while (uVar2 != num_histograms);
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_0001b900(uint param_1)

{
  uint *puVar1;
  int iVar2;
  
  if (DAT_0002d49c != 0) {
    iVar2 = 0;
    puVar1 = DAT_0002d498;
    do {
      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {
        return 1;
      }
      iVar2 = iVar2 + 1;
      puVar1 = puVar1 + 4;
    } while (iVar2 != DAT_0002d49c);
  }
  return 0;
}


CALL 0x0001bee7
ADD EAX,0x106fb
PUSH EBX
MOV ECX,dword ptr [ESP + 0x8]
LEA EDX,[EAX + 0x149c]
MOV EBX,dword ptr [EDX]
TEST EBX,EBX
JZ 0x0001b93b
LEA EAX,[EAX + 0x1498]
XOR EDX,EDX
MOV EAX,dword ptr [EAX]
LEA ESI,[ESI]
CMP dword ptr [EAX],ECX
JA 0x0001b931
CMP dword ptr [EAX + 0x4],ECX
JA 0x0001b940
ADD EDX,0x1
ADD EAX,0x10
CMP EDX,EBX
JNZ 0x0001b928
XOR EAX,EAX
POP EBX
RET
MOV EAX,0x1
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_0001b900(uint param_1)\n\n{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0001b900(uint param_1)\n\n{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001b900(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }" if (parenthesized_expression "(DAT_0002d49c != 0)" ( (binary_expression "DAT_0002d49c != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = DAT_0002d498;" (assignment_expression "puVar1 = DAT_0002d498" identifier = identifier) ;) (do_statement "do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);" do (compound_statement "{\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    }" { (if_statement "if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }" if (parenthesized_expression "((*puVar1 <= param_1) && (param_1 < puVar1[1]))" ( (binary_expression "(*puVar1 <= param_1) && (param_1 < puVar1[1])" (parenthesized_expression "(*puVar1 <= param_1)" ( (binary_expression "*puVar1 <= param_1" (pointer_expression "*puVar1" * identifier) <= identifier) )) && (parenthesized_expression "(param_1 < puVar1[1])" ( (binary_expression "param_1 < puVar1[1]" identifier < (subscript_expression "puVar1[1]" identifier [ number_literal ])) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 4;" (assignment_expression "puVar1 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != DAT_0002d49c)" ( (binary_expression "iVar2 != DAT_0002d49c" identifier != identifier) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint hist_check_address(uint address)\n\n{\n  histogram *phVar1;\n  uint uVar2;\n  \n  if (num_histograms != 0) {\n    uVar2 = 0;\n    phVar1 = histograms;\n    do {\n      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }\n      uVar2 = uVar2 + 1;\n      phVar1 = phVar1 + 1;\n    } while (uVar2 != num_histograms);\n  }\n  return 0;\n}\n\n" comment (function_definition "int hist_check_address(uint address)\n\n{\n  histogram *phVar1;\n  uint uVar2;\n  \n  if (num_histograms != 0) {\n    uVar2 = 0;\n    phVar1 = histograms;\n    do {\n      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }\n      uVar2 = uVar2 + 1;\n      phVar1 = phVar1 + 1;\n    } while (uVar2 != num_histograms);\n  }\n  return 0;\n}" primitive_type (function_declarator "hist_check_address(uint address)" identifier (parameter_list "(uint address)" ( (parameter_declaration "uint address" type_identifier identifier) ))) (compound_statement "{\n  histogram *phVar1;\n  uint uVar2;\n  \n  if (num_histograms != 0) {\n    uVar2 = 0;\n    phVar1 = histograms;\n    do {\n      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }\n      uVar2 = uVar2 + 1;\n      phVar1 = phVar1 + 1;\n    } while (uVar2 != num_histograms);\n  }\n  return 0;\n}" { (declaration "histogram *phVar1;" type_identifier (pointer_declarator "*phVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (num_histograms != 0) {\n    uVar2 = 0;\n    phVar1 = histograms;\n    do {\n      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }\n      uVar2 = uVar2 + 1;\n      phVar1 = phVar1 + 1;\n    } while (uVar2 != num_histograms);\n  }" if (parenthesized_expression "(num_histograms != 0)" ( (binary_expression "num_histograms != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = 0;\n    phVar1 = histograms;\n    do {\n      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }\n      uVar2 = uVar2 + 1;\n      phVar1 = phVar1 + 1;\n    } while (uVar2 != num_histograms);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "phVar1 = histograms;" (assignment_expression "phVar1 = histograms" identifier = identifier) ;) (do_statement "do {\n      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }\n      uVar2 = uVar2 + 1;\n      phVar1 = phVar1 + 1;\n    } while (uVar2 != num_histograms);" do (compound_statement "{\n      if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }\n      uVar2 = uVar2 + 1;\n      phVar1 = phVar1 + 1;\n    }" { (if_statement "if ((phVar1->lowpc <= address) && (address < phVar1->highpc)) {\n        return 1;\n      }" if (parenthesized_expression "((phVar1->lowpc <= address) && (address < phVar1->highpc))" ( (binary_expression "(phVar1->lowpc <= address) && (address < phVar1->highpc)" (parenthesized_expression "(phVar1->lowpc <= address)" ( (binary_expression "phVar1->lowpc <= address" (field_expression "phVar1->lowpc" identifier -> field_identifier) <= identifier) )) && (parenthesized_expression "(address < phVar1->highpc)" ( (binary_expression "address < phVar1->highpc" identifier < (field_expression "phVar1->highpc" identifier -> field_identifier)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "phVar1 = phVar1 + 1;" (assignment_expression "phVar1 = phVar1 + 1" identifier = (binary_expression "phVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 != num_histograms)" ( (binary_expression "uVar2 != num_histograms" identifier != identifier) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0001b900(uint param_1)\n\n{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001b900(uint param_1)\n\n{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001b900(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }" if (parenthesized_expression "(DAT_0002d49c != 0)" ( (binary_expression "DAT_0002d49c != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = DAT_0002d498;" (assignment_expression "puVar1 = DAT_0002d498" identifier = identifier) ;) (do_statement "do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);" do (compound_statement "{\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    }" { (if_statement "if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }" if (parenthesized_expression "((*puVar1 <= param_1) && (param_1 < puVar1[1]))" ( (binary_expression "(*puVar1 <= param_1) && (param_1 < puVar1[1])" (parenthesized_expression "(*puVar1 <= param_1)" ( (binary_expression "*puVar1 <= param_1" (pointer_expression "*puVar1" * identifier) <= identifier) )) && (parenthesized_expression "(param_1 < puVar1[1])" ( (binary_expression "param_1 < puVar1[1]" identifier < (subscript_expression "puVar1[1]" identifier [ number_literal ])) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 4;" (assignment_expression "puVar1 = puVar1 + 4" identifier = (binary_expression "puVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != DAT_0002d49c)" ( (binary_expression "iVar2 != DAT_0002d49c" identifier != identifier) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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_0001b900(uint param_1)\n\n{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001b900(uint param_1)" (identifier "FUN_0001b900") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  \n  if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }\n  return 0;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (DAT_0002d49c != 0) {\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }" (if "if") (parenthesized_expression "(DAT_0002d49c != 0)" (( "(") (binary_expression "DAT_0002d49c != 0" (identifier "DAT_0002d49c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = 0;\n    puVar1 = DAT_0002d498;\n    do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = DAT_0002d498;" (assignment_expression "puVar1 = DAT_0002d498" (identifier "puVar1") (= "=") (identifier "DAT_0002d498")) (; ";")) (do_statement "do {\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    } while (iVar2 != DAT_0002d49c);" (do "do") (compound_statement "{\n      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }\n      iVar2 = iVar2 + 1;\n      puVar1 = puVar1 + 4;\n    }" ({ "{") (if_statement "if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {\n        return 1;\n      }" (if "if") (parenthesized_expression "((*puVar1 <= param_1) && (param_1 < puVar1[1]))" (( "(") (binary_expression "(*puVar1 <= param_1) && (param_1 < puVar1[1])" (parenthesized_expression "(*puVar1 <= param_1)" (( "(") (binary_expression "*puVar1 <= param_1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (<= "<=") (identifier "param_1")) () ")")) (&& "&&") (parenthesized_expression "(param_1 < puVar1[1])" (( "(") (binary_expression "param_1 < puVar1[1]" (identifier "param_1") (< "<") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) () ")"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = puVar1 + 4;" (assignment_expression "puVar1 = puVar1 + 4" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != DAT_0002d49c)" (( "(") (binary_expression "iVar2 != DAT_0002d49c" (identifier "iVar2") (!= "!=") (identifier "DAT_0002d49c")) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int function_1(type_1 var_2)

{
  type_2 *var_4;
  type_1 var_3;
  
  if (var_1 != 0) {
    var_3 = 0;
    var_4 = histograms;
    do {
      if ((var_4->lowpc <= var_2) && (var_2 < var_4->highpc)) {
        return 1;
      }
      var_3 = var_3 + 1;
      var_4 = var_4 + 1;
    } while (var_3 != var_1);
  }
  return 0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(uint param_1)

{
  uint *puVar1;
  int iVar2;
  
  if (DAT_0002d49c != 0) {
    iVar2 = 0;
    puVar1 = DAT_0002d498;
    do {
      if ((*puVar1 <= param_1) && (param_1 < puVar1[1])) {
        return 1;
      }
      iVar2 = iVar2 + 1;
      puVar1 = puVar1 + 4;
    } while (iVar2 != DAT_0002d49c);
  }
  return 0;
}

