
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

bfd_boolean sym_id_arc_is_present(Sym_Table *sym_tab,Sym *from,Sym *to)

{
  uint *puVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  Arc *pAVar5;
  Sym *parent;
  
  parent = sym_tab->base;
  if (parent < sym_tab->limit) {
    do {
      uVar2 = *(uint *)((int)&from->addr + 4);
      uVar3 = (uint)from->addr;
      puVar1 = (uint *)((int)&parent->addr + 4);
      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&
          (uVar4 = *(uint *)((int)&parent->end_addr + 4),
          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&
         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {
        return 1;
      }
      parent = parent + 1;
    } while (parent < sym_tab->limit);
  }
  return 0;
}



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

undefined4 FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)

{
  uint uVar1;
  int iVar2;
  uint *puVar3;
  
  puVar3 = *(uint **)(param_1 + 4);
  if (puVar3 < *(uint **)(param_1 + 8)) {
    do {
      uVar1 = param_2[1];
      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&
          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&
         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {
        return 1;
      }
      puVar3 = puVar3 + 0x3f;
    } while (puVar3 < *(uint **)(param_1 + 8));
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0xf177
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [EBP + 0x4]
CMP ESI,dword ptr [EBP + 0x8]
JC 0x0001deb3
JMP 0x0001def0
ADD ESI,0xfc
CMP dword ptr [EBP + 0x8],ESI
JBE 0x0001def0
MOV EAX,dword ptr [EDI + 0x4]
MOV EDX,dword ptr [EDI]
CMP EDX,dword ptr [ESI]
MOV ECX,EAX
SBB ECX,dword ptr [ESI + 0x4]
JC 0x0001dea8
MOV ECX,dword ptr [ESI + 0xc]
CMP dword ptr [ESI + 0x8],EDX
SBB ECX,EAX
JC 0x0001dea8
SUB ESP,0x8
PUSH dword ptr [ESP + 0x30]
PUSH ESI
CALL 0x00014780
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001dea8
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = *(uint **)(param_1 + 4);" (assignment_expression "puVar3 = *(uint **)(param_1 + 4)" identifier = (pointer_expression "*(uint **)(param_1 + 4)" * (cast_expression "(uint **)(param_1 + 4)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }" if (parenthesized_expression "(puVar3 < *(uint **)(param_1 + 8))" ( (binary_expression "puVar3 < *(uint **)(param_1 + 8)" identifier < (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }" { (do_statement "do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));" do (compound_statement "{\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    }" { (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }" if (parenthesized_expression "(((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0))" ( (binary_expression "((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)" (parenthesized_expression "((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1))" ( (binary_expression "(puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)" (parenthesized_expression "(puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1])" ( (binary_expression "puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]" (binary_expression "puVar3[1] <= uVar1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) <= identifier) && (binary_expression "(uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]" (call_expression "(uint)(*param_2 < *puVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_2 < *puVar3)" ( (binary_expression "*param_2 < *puVar3" (pointer_expression "*param_2" * identifier) < (pointer_expression "*puVar3" * identifier)) ))) <= (binary_expression "uVar1 - puVar3[1]" identifier - (subscript_expression "puVar3[1]" identifier [ number_literal ])))) )) && (parenthesized_expression "(uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)" ( (binary_expression "uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1" (binary_expression "uVar1 <= puVar3[3]" identifier <= (subscript_expression "puVar3[3]" identifier [ number_literal ])) && (binary_expression "(uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1" (call_expression "(uint)(puVar3[2] < *param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3[2] < *param_2)" ( (binary_expression "puVar3[2] < *param_2" (subscript_expression "puVar3[2]" identifier [ number_literal ]) < (pointer_expression "*param_2" * identifier)) ))) <= (binary_expression "puVar3[3] - uVar1" (subscript_expression "puVar3[3]" identifier [ number_literal ]) - identifier))) ))) )) && (parenthesized_expression "(iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0" (assignment_expression "iVar2 = FUN_00014780(puVar3,param_3)" identifier = (call_expression "FUN_00014780(puVar3,param_3)" identifier (argument_list "(puVar3,param_3)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar3 = puVar3 + 0x3f;" (assignment_expression "puVar3 = puVar3 + 0x3f" identifier = (binary_expression "puVar3 + 0x3f" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 < *(uint **)(param_1 + 8))" ( (binary_expression "puVar3 < *(uint **)(param_1 + 8)" identifier < (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + 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/* WARNING: Unknown calling convention */\n\nbfd_boolean sym_id_arc_is_present(Sym_Table *sym_tab,Sym *from,Sym *to)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  Arc *pAVar5;\n  Sym *parent;\n  \n  parent = sym_tab->base;\n  if (parent < sym_tab->limit) {\n    do {\n      uVar2 = *(uint *)((int)&from->addr + 4);\n      uVar3 = (uint)from->addr;\n      puVar1 = (uint *)((int)&parent->addr + 4);\n      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }\n      parent = parent + 1;\n    } while (parent < sym_tab->limit);\n  }\n  return 0;\n}\n\n" comment comment (function_definition "bfd_boolean sym_id_arc_is_present(Sym_Table *sym_tab,Sym *from,Sym *to)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  Arc *pAVar5;\n  Sym *parent;\n  \n  parent = sym_tab->base;\n  if (parent < sym_tab->limit) {\n    do {\n      uVar2 = *(uint *)((int)&from->addr + 4);\n      uVar3 = (uint)from->addr;\n      puVar1 = (uint *)((int)&parent->addr + 4);\n      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }\n      parent = parent + 1;\n    } while (parent < sym_tab->limit);\n  }\n  return 0;\n}" type_identifier (function_declarator "sym_id_arc_is_present(Sym_Table *sym_tab,Sym *from,Sym *to)" identifier (parameter_list "(Sym_Table *sym_tab,Sym *from,Sym *to)" ( (parameter_declaration "Sym_Table *sym_tab" type_identifier (pointer_declarator "*sym_tab" * identifier)) , (parameter_declaration "Sym *from" type_identifier (pointer_declarator "*from" * identifier)) , (parameter_declaration "Sym *to" type_identifier (pointer_declarator "*to" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  Arc *pAVar5;\n  Sym *parent;\n  \n  parent = sym_tab->base;\n  if (parent < sym_tab->limit) {\n    do {\n      uVar2 = *(uint *)((int)&from->addr + 4);\n      uVar3 = (uint)from->addr;\n      puVar1 = (uint *)((int)&parent->addr + 4);\n      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }\n      parent = parent + 1;\n    } while (parent < sym_tab->limit);\n  }\n  return 0;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "Arc *pAVar5;" type_identifier (pointer_declarator "*pAVar5" * identifier) ;) (declaration "Sym *parent;" type_identifier (pointer_declarator "*parent" * identifier) ;) (expression_statement "parent = sym_tab->base;" (assignment_expression "parent = sym_tab->base" identifier = (field_expression "sym_tab->base" identifier -> field_identifier)) ;) (if_statement "if (parent < sym_tab->limit) {\n    do {\n      uVar2 = *(uint *)((int)&from->addr + 4);\n      uVar3 = (uint)from->addr;\n      puVar1 = (uint *)((int)&parent->addr + 4);\n      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }\n      parent = parent + 1;\n    } while (parent < sym_tab->limit);\n  }" if (parenthesized_expression "(parent < sym_tab->limit)" ( (binary_expression "parent < sym_tab->limit" identifier < (field_expression "sym_tab->limit" identifier -> field_identifier)) )) (compound_statement "{\n    do {\n      uVar2 = *(uint *)((int)&from->addr + 4);\n      uVar3 = (uint)from->addr;\n      puVar1 = (uint *)((int)&parent->addr + 4);\n      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }\n      parent = parent + 1;\n    } while (parent < sym_tab->limit);\n  }" { (do_statement "do {\n      uVar2 = *(uint *)((int)&from->addr + 4);\n      uVar3 = (uint)from->addr;\n      puVar1 = (uint *)((int)&parent->addr + 4);\n      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }\n      parent = parent + 1;\n    } while (parent < sym_tab->limit);" do (compound_statement "{\n      uVar2 = *(uint *)((int)&from->addr + 4);\n      uVar3 = (uint)from->addr;\n      puVar1 = (uint *)((int)&parent->addr + 4);\n      if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }\n      parent = parent + 1;\n    }" { (expression_statement "uVar2 = *(uint *)((int)&from->addr + 4);" (assignment_expression "uVar2 = *(uint *)((int)&from->addr + 4)" identifier = (pointer_expression "*(uint *)((int)&from->addr + 4)" * (cast_expression "(uint *)((int)&from->addr + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&from->addr + 4)" ( (binary_expression "(int)&from->addr + 4" (cast_expression "(int)&from->addr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&from->addr" & (field_expression "from->addr" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)from->addr;" (assignment_expression "uVar3 = (uint)from->addr" identifier = (cast_expression "(uint)from->addr" ( (type_descriptor "uint" type_identifier) ) (field_expression "from->addr" identifier -> field_identifier))) ;) (expression_statement "puVar1 = (uint *)((int)&parent->addr + 4);" (assignment_expression "puVar1 = (uint *)((int)&parent->addr + 4)" identifier = (cast_expression "(uint *)((int)&parent->addr + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&parent->addr + 4)" ( (binary_expression "(int)&parent->addr + 4" (cast_expression "(int)&parent->addr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&parent->addr" & (field_expression "parent->addr" identifier -> field_identifier))) + number_literal) )))) ;) (if_statement "if (((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)) {\n        return 1;\n      }" if (parenthesized_expression "(((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0))" ( (binary_expression "((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)) &&\n         (pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)" (parenthesized_expression "((*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2))" ( (binary_expression "(*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1) &&\n          (uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)" (parenthesized_expression "(*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1)" ( (binary_expression "*puVar1 <= uVar2 && (uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1" (binary_expression "*puVar1 <= uVar2" (pointer_expression "*puVar1" * identifier) <= identifier) && (binary_expression "(uint)(uVar3 < (uint)parent->addr) <= uVar2 - *puVar1" (call_expression "(uint)(uVar3 < (uint)parent->addr)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < (uint)parent->addr)" ( (binary_expression "uVar3 < (uint)parent->addr" identifier < (cast_expression "(uint)parent->addr" ( (type_descriptor "uint" type_identifier) ) (field_expression "parent->addr" identifier -> field_identifier))) ))) <= (binary_expression "uVar2 - *puVar1" identifier - (pointer_expression "*puVar1" * identifier)))) )) && (parenthesized_expression "(uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2)" ( (comma_expression "uVar4 = *(uint *)((int)&parent->end_addr + 4),\n          uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2" (assignment_expression "uVar4 = *(uint *)((int)&parent->end_addr + 4)" identifier = (pointer_expression "*(uint *)((int)&parent->end_addr + 4)" * (cast_expression "(uint *)((int)&parent->end_addr + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&parent->end_addr + 4)" ( (binary_expression "(int)&parent->end_addr + 4" (cast_expression "(int)&parent->end_addr" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&parent->end_addr" & (field_expression "parent->end_addr" identifier -> field_identifier))) + number_literal) ))))) , (binary_expression "uVar2 <= uVar4 && (uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2" (binary_expression "uVar2 <= uVar4" identifier <= identifier) && (binary_expression "(uint)((uint)parent->end_addr < uVar3) <= uVar4 - uVar2" (call_expression "(uint)((uint)parent->end_addr < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)parent->end_addr < uVar3)" ( (binary_expression "(uint)parent->end_addr < uVar3" (cast_expression "(uint)parent->end_addr" ( (type_descriptor "uint" type_identifier) ) (field_expression "parent->end_addr" identifier -> field_identifier)) < identifier) ))) <= (binary_expression "uVar4 - uVar2" identifier - identifier)))) ))) )) && (parenthesized_expression "(pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0)" ( (comma_expression "pAVar5 = arc_lookup(parent,to), pAVar5 != (Arc *)0x0" (assignment_expression "pAVar5 = arc_lookup(parent,to)" identifier = (call_expression "arc_lookup(parent,to)" identifier (argument_list "(parent,to)" ( identifier , identifier )))) , (binary_expression "pAVar5 != (Arc *)0x0" identifier != (cast_expression "(Arc *)0x0" ( (type_descriptor "Arc *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "parent = parent + 1;" (assignment_expression "parent = parent + 1" identifier = (binary_expression "parent + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(parent < sym_tab->limit)" ( (binary_expression "parent < sym_tab->limit" identifier < (field_expression "sym_tab->limit" identifier -> field_identifier)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = *(uint **)(param_1 + 4);" (assignment_expression "puVar3 = *(uint **)(param_1 + 4)" identifier = (pointer_expression "*(uint **)(param_1 + 4)" * (cast_expression "(uint **)(param_1 + 4)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }" if (parenthesized_expression "(puVar3 < *(uint **)(param_1 + 8))" ( (binary_expression "puVar3 < *(uint **)(param_1 + 8)" identifier < (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }" { (do_statement "do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));" do (compound_statement "{\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    }" { (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }" if (parenthesized_expression "(((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0))" ( (binary_expression "((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)" (parenthesized_expression "((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1))" ( (binary_expression "(puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)" (parenthesized_expression "(puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1])" ( (binary_expression "puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]" (binary_expression "puVar3[1] <= uVar1" (subscript_expression "puVar3[1]" identifier [ number_literal ]) <= identifier) && (binary_expression "(uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]" (call_expression "(uint)(*param_2 < *puVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_2 < *puVar3)" ( (binary_expression "*param_2 < *puVar3" (pointer_expression "*param_2" * identifier) < (pointer_expression "*puVar3" * identifier)) ))) <= (binary_expression "uVar1 - puVar3[1]" identifier - (subscript_expression "puVar3[1]" identifier [ number_literal ])))) )) && (parenthesized_expression "(uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)" ( (binary_expression "uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1" (binary_expression "uVar1 <= puVar3[3]" identifier <= (subscript_expression "puVar3[3]" identifier [ number_literal ])) && (binary_expression "(uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1" (call_expression "(uint)(puVar3[2] < *param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar3[2] < *param_2)" ( (binary_expression "puVar3[2] < *param_2" (subscript_expression "puVar3[2]" identifier [ number_literal ]) < (pointer_expression "*param_2" * identifier)) ))) <= (binary_expression "puVar3[3] - uVar1" (subscript_expression "puVar3[3]" identifier [ number_literal ]) - identifier))) ))) )) && (parenthesized_expression "(iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0" (assignment_expression "iVar2 = FUN_00014780(puVar3,param_3)" identifier = (call_expression "FUN_00014780(puVar3,param_3)" identifier (argument_list "(puVar3,param_3)" ( identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar3 = puVar3 + 0x3f;" (assignment_expression "puVar3 = puVar3 + 0x3f" identifier = (binary_expression "puVar3 + 0x3f" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 < *(uint **)(param_1 + 8))" ( (binary_expression "puVar3 < *(uint **)(param_1 + 8)" identifier < (pointer_expression "*(uint **)(param_1 + 8)" * (cast_expression "(uint **)(param_1 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) <= IDENT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT)) ))) <= (binary_expression IDENT - (subscript_expression IDENT [ LIT ])))) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT <= (subscript_expression IDENT [ LIT ])) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) < (pointer_expression * IDENT)) ))) <= (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001de80(int param_1,uint *param_2,undefined4 param_3)" (identifier "FUN_0001de80") (parameter_list "(int param_1,uint *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint *puVar3;\n  \n  puVar3 = *(uint **)(param_1 + 4);\n  if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }\n  return 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = *(uint **)(param_1 + 4);" (assignment_expression "puVar3 = *(uint **)(param_1 + 4)" (identifier "puVar3") (= "=") (pointer_expression "*(uint **)(param_1 + 4)" (* "*") (cast_expression "(uint **)(param_1 + 4)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (puVar3 < *(uint **)(param_1 + 8)) {\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }" (if "if") (parenthesized_expression "(puVar3 < *(uint **)(param_1 + 8))" (( "(") (binary_expression "puVar3 < *(uint **)(param_1 + 8)" (identifier "puVar3") (< "<") (pointer_expression "*(uint **)(param_1 + 8)" (* "*") (cast_expression "(uint **)(param_1 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));\n  }" ({ "{") (do_statement "do {\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    } while (puVar3 < *(uint **)(param_1 + 8));" (do "do") (compound_statement "{\n      uVar1 = param_2[1];\n      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }\n      puVar3 = puVar3 + 0x3f;\n    }" ({ "{") (expression_statement "uVar1 = param_2[1];" (assignment_expression "uVar1 = param_2[1]" (identifier "uVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0))" (( "(") (binary_expression "((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&\n         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)" (parenthesized_expression "((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1))" (( "(") (binary_expression "(puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&\n          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)" (parenthesized_expression "(puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1])" (( "(") (binary_expression "puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]" (binary_expression "puVar3[1] <= uVar1" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (<= "<=") (identifier "uVar1")) (&& "&&") (binary_expression "(uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]" (call_expression "(uint)(*param_2 < *puVar3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*param_2 < *puVar3)" (( "(") (binary_expression "*param_2 < *puVar3" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (< "<") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) () ")"))) (<= "<=") (binary_expression "uVar1 - puVar3[1]" (identifier "uVar1") (- "-") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)" (( "(") (binary_expression "uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1" (binary_expression "uVar1 <= puVar3[3]" (identifier "uVar1") (<= "<=") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]"))) (&& "&&") (binary_expression "(uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1" (call_expression "(uint)(puVar3[2] < *param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar3[2] < *param_2)" (( "(") (binary_expression "puVar3[2] < *param_2" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")"))) (<= "<=") (binary_expression "puVar3[3] - uVar1" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (- "-") (identifier "uVar1")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0" (assignment_expression "iVar2 = FUN_00014780(puVar3,param_3)" (identifier "iVar2") (= "=") (call_expression "FUN_00014780(puVar3,param_3)" (identifier "FUN_00014780") (argument_list "(puVar3,param_3)" (( "(") (identifier "puVar3") (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar3 = puVar3 + 0x3f;" (assignment_expression "puVar3 = puVar3 + 0x3f" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 0x3f" (identifier "puVar3") (+ "+") (number_literal "0x3f"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 < *(uint **)(param_1 + 8))" (( "(") (binary_expression "puVar3 < *(uint **)(param_1 + 8)" (identifier "puVar3") (< "<") (pointer_expression "*(uint **)(param_1 + 8)" (* "*") (cast_expression "(uint **)(param_1 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *sym_tab,type_3 *from,type_3 *to)

{
  type_4 *puVar1;
  type_4 var_2;
  type_4 var_3;
  type_4 var_4;
  type_5 *var_6;
  type_3 *var_1;
  
  var_1 = sym_tab->base;
  if (var_1 < sym_tab->limit) {
    do {
      var_2 = *(type_4 *)((int)&from->addr + 4);
      var_3 = (type_4)from->addr;
      puVar1 = (type_4 *)((int)&var_1->addr + 4);
      if (((*puVar1 <= var_2 && (type_4)(var_3 < (type_4)var_1->addr) <= var_2 - *puVar1) &&
          (var_4 = *(type_4 *)((int)&var_1->end_addr + 4),
          var_2 <= var_4 && (type_4)((type_4)var_1->end_addr < var_3) <= var_4 - var_2)) &&
         (var_6 = var_5(var_1,to), var_6 != (type_5 *)0x0)) {
        return 1;
      }
      var_1 = var_1 + 1;
    } while (var_1 < sym_tab->limit);
  }
  return 0;
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier))))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (number_literal)))))

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

undefined4 MASKED(int param_1,uint *param_2,undefined4 param_3)

{
  uint uVar1;
  int iVar2;
  uint *puVar3;
  
  puVar3 = *(uint **)(param_1 + 4);
  if (puVar3 < *(uint **)(param_1 + 8)) {
    do {
      uVar1 = param_2[1];
      if (((puVar3[1] <= uVar1 && (uint)(*param_2 < *puVar3) <= uVar1 - puVar3[1]) &&
          (uVar1 <= puVar3[3] && (uint)(puVar3[2] < *param_2) <= puVar3[3] - uVar1)) &&
         (iVar2 = FUN_00014780(puVar3,param_3), iVar2 != 0)) {
        return 1;
      }
      puVar3 = puVar3 + 0x3f;
    } while (puVar3 < *(uint **)(param_1 + 8));
  }
  return 0;
}

