
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool block_in_region(Script_sections * this, Symbol_table * symtab,
   Layout * layout, uint64_t start, uint64_t length) */

bool __thiscall
gold::Script_sections::block_in_region
          (Script_sections *this,Symbol_table *symtab,Layout *layout,uint64_t start,uint64_t length)

{
  Memory_regions *pMVar1;
  pointer ppMVar2;
  uint uVar3;
  uint64_t uVar4;
  uint64_t uVar5;
  uint local_2c;
  uint local_28;
  uint local_24;
  uint local_20;
  
  pMVar1 = this->memory_regions_;
  if ((pMVar1 != (Memory_regions *)0x0) &&
     (ppMVar2 = (pMVar1->
                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
                _M_impl._M_start,
     ppMVar2 !=
     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
     _M_impl._M_finish)) {
    do {
      local_20 = (uint)(length + start >> 0x20);
      local_24 = (uint)(length + start);
      local_28 = (uint)(start >> 0x20);
      local_2c = (uint)start;
      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);
      uVar3 = (uint)(uVar4 >> 0x20);
      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);
      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&
         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),
         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {
        return true;
      }
      ppMVar2 = ppMVar2 + 1;
    } while ((this->memory_regions_->
             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
             _M_impl._M_finish != ppMVar2);
  }
  return false;
}



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

undefined4
FUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,
            uint param_6,int param_7)

{
  int *piVar1;
  uint uVar2;
  int *piVar3;
  uint uVar4;
  longlong lVar5;
  longlong lVar6;
  
  piVar1 = *(int **)(param_1 + 0xc);
  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {
    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);
    do {
      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);
      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);
      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);
      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&
         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),
         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {
        return 1;
      }
      piVar3 = piVar3 + 1;
    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x20c127
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [ESP + 0x40]
MOV EDX,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EAX + 0xc]
MOV ECX,dword ptr [ESP + 0x48]
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x4],EBP
TEST EAX,EAX
JZ 0x00132f80
MOV ESI,dword ptr [EAX]
CMP ESI,dword ptr [EAX + 0x4]
JZ 0x00132f80
ADD EDX,EDI
ADC ECX,EBP
MOV dword ptr [ESP + 0x8],EDX
MOV EBP,ESI
MOV dword ptr [ESP + 0xc],ECX
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP]
PUSH 0x0
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX + 0x1c]
CALL 0x00183e60
ADD ESP,0x10
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
PUSH 0x0
MOV EDI,EDX
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX + 0x20]
CALL 0x00183e60
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x4]
CMP dword ptr [ESP],ESI
SBB ECX,EDI
JC 0x00132f71
ADD ESI,EAX
MOV EAX,dword ptr [ESP + 0x8]
ADC EDI,EDX
MOV EDX,dword ptr [ESP + 0xc]
CMP ESI,EAX
SBB EDI,EDX
JNC 0x00132f90
MOV EAX,dword ptr [ESP + 0x30]
ADD EBP,0x4
MOV EAX,dword ptr [EAX + 0xc]
CMP dword ptr [EAX + 0x4],EBP
JNZ 0x00132f20
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
MOV EAX,0x1
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\nFUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4\nFUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar1 = *(int **)(param_1 + 0xc)" identifier = (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }" if (parenthesized_expression "((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1]))" ( (binary_expression "(piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])" ( (comma_expression "piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1]" (assignment_expression "piVar3 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) , (binary_expression "piVar3 != (int *)piVar1[1]" identifier != (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }" { (expression_statement "uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);" (assignment_expression "uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4)" identifier = (binary_expression "param_7 + param_5 + (uint)CARRY4(param_6,param_4)" (binary_expression "param_7 + param_5" identifier + identifier) + (cast_expression "(uint)CARRY4(param_6,param_4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_6,param_4)" identifier (argument_list "(param_6,param_4)" ( identifier , identifier )))))) ;) (do_statement "do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);" do (compound_statement "{\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    }" { (expression_statement "lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);" (assignment_expression "lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" identifier = (call_expression "FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" identifier (argument_list "(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" ( (pointer_expression "*(undefined4 *)(*piVar3 + 0x1c)" * (cast_expression "(undefined4 *)(*piVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + 0x1c)" ( (binary_expression "*piVar3 + 0x1c" (pointer_expression "*piVar3" * identifier) + number_literal) )))) , identifier , identifier , number_literal )))) ;) (expression_statement "uVar4 = (uint)((ulonglong)lVar5 >> 0x20);" (assignment_expression "uVar4 = (uint)((ulonglong)lVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);" (assignment_expression "lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" identifier = (call_expression "FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" identifier (argument_list "(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" ( (pointer_expression "*(undefined4 *)(*piVar3 + 0x20)" * (cast_expression "(undefined4 *)(*piVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + 0x20)" ( (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" * identifier) + number_literal) )))) , identifier , identifier , number_literal )))) ;) (if_statement "if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }" if (parenthesized_expression "((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2))" ( (binary_expression "(uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)" (parenthesized_expression "(uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4)" ( (binary_expression "uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4" (binary_expression "uVar4 <= param_5" identifier <= identifier) && (binary_expression "(uint)(param_4 < (uint)lVar5) <= param_5 - uVar4" (call_expression "(uint)(param_4 < (uint)lVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < (uint)lVar5)" ( (binary_expression "param_4 < (uint)lVar5" identifier < (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) <= (binary_expression "param_5 - uVar4" identifier - identifier))) )) && (parenthesized_expression "(uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)" ( (comma_expression "uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (assignment_expression "uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20)" identifier = (call_expression "(uint)((ulonglong)(lVar5 + lVar6) >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)(lVar5 + lVar6) >> 0x20)" ( (binary_expression "(ulonglong)(lVar5 + lVar6) >> 0x20" (call_expression "(ulonglong)(lVar5 + lVar6)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar5 + lVar6)" ( (binary_expression "lVar5 + lVar6" identifier + identifier) ))) >> number_literal) )))) , (binary_expression "uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (binary_expression "uVar2 <= uVar4" identifier <= identifier) && (binary_expression "(uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (call_expression "(uint)((uint)(lVar5 + lVar6) < param_6 + param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)(lVar5 + lVar6) < param_6 + param_4)" ( (binary_expression "(uint)(lVar5 + lVar6) < param_6 + param_4" (call_expression "(uint)(lVar5 + lVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar5 + lVar6)" ( (binary_expression "lVar5 + lVar6" identifier + identifier) ))) < (binary_expression "param_6 + param_4" identifier + identifier)) ))) <= (binary_expression "uVar4 - uVar2" identifier - identifier)))) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3)" ( (binary_expression "*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3" (pointer_expression "*(int **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) )))) != identifier) )) ;) })) (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: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: bool block_in_region(Script_sections * this, Symbol_table * symtab,\n   Layout * layout, uint64_t start, uint64_t length) */\n\nbool __thiscall\ngold::Script_sections::block_in_region\n          (Script_sections *this,Symbol_table *symtab,Layout *layout,uint64_t start,uint64_t length)\n\n{\n  Memory_regions *pMVar1;\n  pointer ppMVar2;\n  uint uVar3;\n  uint64_t uVar4;\n  uint64_t uVar5;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  uint local_20;\n  \n  pMVar1 = this->memory_regions_;\n  if ((pMVar1 != (Memory_regions *)0x0) &&\n     (ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish)) {\n    do {\n      local_20 = (uint)(length + start >> 0x20);\n      local_24 = (uint)(length + start);\n      local_28 = (uint)(start >> 0x20);\n      local_2c = (uint)start;\n      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);\n      uVar3 = (uint)(uVar4 >> 0x20);\n      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);\n      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }\n      ppMVar2 = ppMVar2 + 1;\n    } while ((this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2);\n  }\n  return false;\n}\n\n" comment comment comment (function_definition "bool __thiscall\ngold::Script_sections::block_in_region\n          (Script_sections *this,Symbol_table *symtab,Layout *layout,uint64_t start,uint64_t length)\n\n{\n  Memory_regions *pMVar1;\n  pointer ppMVar2;\n  uint uVar3;\n  uint64_t uVar4;\n  uint64_t uVar5;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  uint local_20;\n  \n  pMVar1 = this->memory_regions_;\n  if ((pMVar1 != (Memory_regions *)0x0) &&\n     (ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish)) {\n    do {\n      local_20 = (uint)(length + start >> 0x20);\n      local_24 = (uint)(length + start);\n      local_28 = (uint)(start >> 0x20);\n      local_2c = (uint)start;\n      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);\n      uVar3 = (uint)(uVar4 >> 0x20);\n      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);\n      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }\n      ppMVar2 = ppMVar2 + 1;\n    } while ((this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2);\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "block_in_region\n          (Script_sections *this,Symbol_table *symtab,Layout *layout,uint64_t start,uint64_t length)" identifier (parameter_list "(Script_sections *this,Symbol_table *symtab,Layout *layout,uint64_t start,uint64_t length)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "uint64_t start" primitive_type identifier) , (parameter_declaration "uint64_t length" primitive_type identifier) ))) (compound_statement "{\n  Memory_regions *pMVar1;\n  pointer ppMVar2;\n  uint uVar3;\n  uint64_t uVar4;\n  uint64_t uVar5;\n  uint local_2c;\n  uint local_28;\n  uint local_24;\n  uint local_20;\n  \n  pMVar1 = this->memory_regions_;\n  if ((pMVar1 != (Memory_regions *)0x0) &&\n     (ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish)) {\n    do {\n      local_20 = (uint)(length + start >> 0x20);\n      local_24 = (uint)(length + start);\n      local_28 = (uint)(start >> 0x20);\n      local_2c = (uint)start;\n      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);\n      uVar3 = (uint)(uVar4 >> 0x20);\n      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);\n      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }\n      ppMVar2 = ppMVar2 + 1;\n    } while ((this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2);\n  }\n  return false;\n}" { (declaration "Memory_regions *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (declaration "pointer ppMVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint64_t uVar4;" primitive_type identifier ;) (declaration "uint64_t uVar5;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "pMVar1 = this->memory_regions_;" (assignment_expression "pMVar1 = this->memory_regions_" identifier = (field_expression "this->memory_regions_" identifier -> field_identifier)) ;) (if_statement "if ((pMVar1 != (Memory_regions *)0x0) &&\n     (ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish)) {\n    do {\n      local_20 = (uint)(length + start >> 0x20);\n      local_24 = (uint)(length + start);\n      local_28 = (uint)(start >> 0x20);\n      local_2c = (uint)start;\n      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);\n      uVar3 = (uint)(uVar4 >> 0x20);\n      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);\n      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }\n      ppMVar2 = ppMVar2 + 1;\n    } while ((this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2);\n  }" if (parenthesized_expression "((pMVar1 != (Memory_regions *)0x0) &&\n     (ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish))" ( (binary_expression "(pMVar1 != (Memory_regions *)0x0) &&\n     (ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish)" (parenthesized_expression "(pMVar1 != (Memory_regions *)0x0)" ( (binary_expression "pMVar1 != (Memory_regions *)0x0" identifier != (cast_expression "(Memory_regions *)0x0" ( (type_descriptor "Memory_regions *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish)" ( (comma_expression "ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start,\n     ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish" (assignment_expression "ppMVar2 = (pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start" identifier = (field_expression "(pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl._M_start" (field_expression "(pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n                _M_impl" (parenthesized_expression "(pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "pMVar1->\n                super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "pMVar1->\n                super__Vector_base<gold::Memory_region*,_std" (binary_expression "pMVar1->\n                super__Vector_base<gold" (field_expression "pMVar1->\n                super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) , (binary_expression "ppMVar2 !=\n     (pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish" identifier != (field_expression "(pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl._M_finish" (field_expression "(pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n     _M_impl" (parenthesized_expression "(pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "pMVar1->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "pMVar1->super__Vector_base<gold::Memory_region*,_std" (binary_expression "pMVar1->super__Vector_base<gold" (field_expression "pMVar1->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier))) ))) )) (compound_statement "{\n    do {\n      local_20 = (uint)(length + start >> 0x20);\n      local_24 = (uint)(length + start);\n      local_28 = (uint)(start >> 0x20);\n      local_2c = (uint)start;\n      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);\n      uVar3 = (uint)(uVar4 >> 0x20);\n      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);\n      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }\n      ppMVar2 = ppMVar2 + 1;\n    } while ((this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2);\n  }" { (do_statement "do {\n      local_20 = (uint)(length + start >> 0x20);\n      local_24 = (uint)(length + start);\n      local_28 = (uint)(start >> 0x20);\n      local_2c = (uint)start;\n      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);\n      uVar3 = (uint)(uVar4 >> 0x20);\n      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);\n      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }\n      ppMVar2 = ppMVar2 + 1;\n    } while ((this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2);" do (compound_statement "{\n      local_20 = (uint)(length + start >> 0x20);\n      local_24 = (uint)(length + start);\n      local_28 = (uint)(start >> 0x20);\n      local_2c = (uint)start;\n      uVar4 = Expression::eval((*ppMVar2)->start_,symtab,layout,false);\n      uVar3 = (uint)(uVar4 >> 0x20);\n      uVar5 = Expression::eval((*ppMVar2)->length_,symtab,layout,false);\n      if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }\n      ppMVar2 = ppMVar2 + 1;\n    }" { (expression_statement "local_20 = (uint)(length + start >> 0x20);" (assignment_expression "local_20 = (uint)(length + start >> 0x20)" identifier = (call_expression "(uint)(length + start >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(length + start >> 0x20)" ( (binary_expression "length + start >> 0x20" (binary_expression "length + start" identifier + identifier) >> number_literal) )))) ;) (expression_statement "local_24 = (uint)(length + start);" (assignment_expression "local_24 = (uint)(length + start)" identifier = (call_expression "(uint)(length + start)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(length + start)" ( (binary_expression "length + start" identifier + identifier) )))) ;) (expression_statement "local_28 = (uint)(start >> 0x20);" (assignment_expression "local_28 = (uint)(start >> 0x20)" identifier = (call_expression "(uint)(start >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(start >> 0x20)" ( (binary_expression "start >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "local_2c = (uint)start;" (assignment_expression "local_2c = (uint)start" identifier = (cast_expression "(uint)start" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (ERROR "uVar4 = Expression::" (assignment_expression "uVar4 = Expression" identifier = identifier) : :) (expression_statement "eval((*ppMVar2)->start_,symtab,layout,false);" (call_expression "eval((*ppMVar2)->start_,symtab,layout,false)" identifier (argument_list "((*ppMVar2)->start_,symtab,layout,false)" ( (field_expression "(*ppMVar2)->start_" (parenthesized_expression "(*ppMVar2)" ( (pointer_expression "*ppMVar2" * identifier) )) -> field_identifier) , identifier , identifier , false ))) ;) (expression_statement "uVar3 = (uint)(uVar4 >> 0x20);" (assignment_expression "uVar3 = (uint)(uVar4 >> 0x20)" identifier = (call_expression "(uint)(uVar4 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 >> 0x20)" ( (binary_expression "uVar4 >> 0x20" identifier >> number_literal) )))) ;) (ERROR "uVar5 = Expression::" (assignment_expression "uVar5 = Expression" identifier = identifier) : :) (expression_statement "eval((*ppMVar2)->length_,symtab,layout,false);" (call_expression "eval((*ppMVar2)->length_,symtab,layout,false)" identifier (argument_list "((*ppMVar2)->length_,symtab,layout,false)" ( (field_expression "(*ppMVar2)->length_" (parenthesized_expression "(*ppMVar2)" ( (pointer_expression "*ppMVar2" * identifier) )) -> field_identifier) , identifier , identifier , false ))) ;) (if_statement "if ((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)) {\n        return true;\n      }" if (parenthesized_expression "((uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20))" ( (binary_expression "(uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3) &&\n         (uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)" (parenthesized_expression "(uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3)" ( (binary_expression "uVar3 <= local_28 && (uint)(local_2c < (uint)uVar4) <= local_28 - uVar3" (binary_expression "uVar3 <= local_28" identifier <= identifier) && (binary_expression "(uint)(local_2c < (uint)uVar4) <= local_28 - uVar3" (call_expression "(uint)(local_2c < (uint)uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_2c < (uint)uVar4)" ( (binary_expression "local_2c < (uint)uVar4" identifier < (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) <= (binary_expression "local_28 - uVar3" identifier - identifier))) )) && (parenthesized_expression "(uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20)" ( (comma_expression "uVar3 = (uint)(uVar4 + uVar5 >> 0x20),\n         local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20" (assignment_expression "uVar3 = (uint)(uVar4 + uVar5 >> 0x20)" identifier = (call_expression "(uint)(uVar4 + uVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 + uVar5 >> 0x20)" ( (binary_expression "uVar4 + uVar5 >> 0x20" (binary_expression "uVar4 + uVar5" identifier + identifier) >> number_literal) )))) , (binary_expression "local_20 <= uVar3 && (uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20" (binary_expression "local_20 <= uVar3" identifier <= identifier) && (binary_expression "(uint)((uint)(uVar4 + uVar5) < local_24) <= uVar3 - local_20" (call_expression "(uint)((uint)(uVar4 + uVar5) < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)(uVar4 + uVar5) < local_24)" ( (binary_expression "(uint)(uVar4 + uVar5) < local_24" (call_expression "(uint)(uVar4 + uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 + uVar5)" ( (binary_expression "uVar4 + uVar5" identifier + identifier) ))) < identifier) ))) <= (binary_expression "uVar3 - local_20" identifier - identifier)))) ))) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (expression_statement "ppMVar2 = ppMVar2 + 1;" (assignment_expression "ppMVar2 = ppMVar2 + 1" identifier = (binary_expression "ppMVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2)" ( (binary_expression "(this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish != ppMVar2" (field_expression "(this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl._M_finish" (field_expression "(this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n             _M_impl" (parenthesized_expression "(this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "this->memory_regions_->\n             super__Vector_base<gold::Memory_region*,_std" (binary_expression "this->memory_regions_->\n             super__Vector_base<gold" (field_expression "this->memory_regions_->\n             super__Vector_base" (field_expression "this->memory_regions_" identifier -> field_identifier) -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4\nFUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (expression_statement "piVar1 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar1 = *(int **)(param_1 + 0xc)" identifier = (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }" if (parenthesized_expression "((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1]))" ( (binary_expression "(piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])" ( (comma_expression "piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1]" (assignment_expression "piVar3 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) , (binary_expression "piVar3 != (int *)piVar1[1]" identifier != (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }" { (expression_statement "uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);" (assignment_expression "uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4)" identifier = (binary_expression "param_7 + param_5 + (uint)CARRY4(param_6,param_4)" (binary_expression "param_7 + param_5" identifier + identifier) + (cast_expression "(uint)CARRY4(param_6,param_4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_6,param_4)" identifier (argument_list "(param_6,param_4)" ( identifier , identifier )))))) ;) (do_statement "do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);" do (compound_statement "{\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    }" { (expression_statement "lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);" (assignment_expression "lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" identifier = (call_expression "FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" identifier (argument_list "(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" ( (pointer_expression "*(undefined4 *)(*piVar3 + 0x1c)" * (cast_expression "(undefined4 *)(*piVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + 0x1c)" ( (binary_expression "*piVar3 + 0x1c" (pointer_expression "*piVar3" * identifier) + number_literal) )))) , identifier , identifier , number_literal )))) ;) (expression_statement "uVar4 = (uint)((ulonglong)lVar5 >> 0x20);" (assignment_expression "uVar4 = (uint)((ulonglong)lVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar5 >> 0x20)" ( (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);" (assignment_expression "lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" identifier = (call_expression "FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" identifier (argument_list "(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" ( (pointer_expression "*(undefined4 *)(*piVar3 + 0x20)" * (cast_expression "(undefined4 *)(*piVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar3 + 0x20)" ( (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" * identifier) + number_literal) )))) , identifier , identifier , number_literal )))) ;) (if_statement "if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }" if (parenthesized_expression "((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2))" ( (binary_expression "(uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)" (parenthesized_expression "(uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4)" ( (binary_expression "uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4" (binary_expression "uVar4 <= param_5" identifier <= identifier) && (binary_expression "(uint)(param_4 < (uint)lVar5) <= param_5 - uVar4" (call_expression "(uint)(param_4 < (uint)lVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < (uint)lVar5)" ( (binary_expression "param_4 < (uint)lVar5" identifier < (cast_expression "(uint)lVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) <= (binary_expression "param_5 - uVar4" identifier - identifier))) )) && (parenthesized_expression "(uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)" ( (comma_expression "uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (assignment_expression "uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20)" identifier = (call_expression "(uint)((ulonglong)(lVar5 + lVar6) >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)(lVar5 + lVar6) >> 0x20)" ( (binary_expression "(ulonglong)(lVar5 + lVar6) >> 0x20" (call_expression "(ulonglong)(lVar5 + lVar6)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar5 + lVar6)" ( (binary_expression "lVar5 + lVar6" identifier + identifier) ))) >> number_literal) )))) , (binary_expression "uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (binary_expression "uVar2 <= uVar4" identifier <= identifier) && (binary_expression "(uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (call_expression "(uint)((uint)(lVar5 + lVar6) < param_6 + param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)(lVar5 + lVar6) < param_6 + param_4)" ( (binary_expression "(uint)(lVar5 + lVar6) < param_6 + param_4" (call_expression "(uint)(lVar5 + lVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar5 + lVar6)" ( (binary_expression "lVar5 + lVar6" identifier + identifier) ))) < (binary_expression "param_6 + param_4" identifier + identifier)) ))) <= (binary_expression "uVar4 - uVar2" identifier - identifier)))) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3)" ( (binary_expression "*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3" (pointer_expression "*(int **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) )))) != 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) <= (binary_expression IDENT - IDENT))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + IDENT) ))) >> LIT) )))) , (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + IDENT) ))) < (binary_expression IDENT + IDENT)) ))) <= (binary_expression IDENT - IDENT)))) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != IDENT) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00132ed0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)" (identifier "FUN_00132ed0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,\n            uint param_6,int param_7)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "uint param_6" (type_identifier "uint") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  int *piVar3;\n  uint uVar4;\n  longlong lVar5;\n  longlong lVar6;\n  \n  piVar1 = *(int **)(param_1 + 0xc);\n  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "longlong lVar5;" (type_identifier "longlong") (identifier "lVar5") (; ";")) (declaration "longlong lVar6;" (type_identifier "longlong") (identifier "lVar6") (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar1 = *(int **)(param_1 + 0xc)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0xc)" (* "*") (cast_expression "(int **)(param_1 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }" (if "if") (parenthesized_expression "((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1]))" (( "(") (binary_expression "(piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])" (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])" (( "(") (comma_expression "piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1]" (assignment_expression "piVar3 = (int *)*piVar1" (identifier "piVar3") (= "=") (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (, ",") (binary_expression "piVar3 != (int *)piVar1[1]" (identifier "piVar3") (!= "!=") (cast_expression "(int *)piVar1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);\n    do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);\n  }" ({ "{") (expression_statement "uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);" (assignment_expression "uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4)" (identifier "uVar2") (= "=") (binary_expression "param_7 + param_5 + (uint)CARRY4(param_6,param_4)" (binary_expression "param_7 + param_5" (identifier "param_7") (+ "+") (identifier "param_5")) (+ "+") (cast_expression "(uint)CARRY4(param_6,param_4)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(param_6,param_4)" (identifier "CARRY4") (argument_list "(param_6,param_4)" (( "(") (identifier "param_6") (, ",") (identifier "param_4") () ")")))))) (; ";")) (do_statement "do {\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);" (do "do") (compound_statement "{\n      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);\n      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);\n      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);\n      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }\n      piVar3 = piVar3 + 1;\n    }" ({ "{") (expression_statement "lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);" (assignment_expression "lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" (identifier "lVar5") (= "=") (call_expression "FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" (identifier "FUN_00183e60") (argument_list "(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0)" (( "(") (pointer_expression "*(undefined4 *)(*piVar3 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(*piVar3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar3 + 0x1c)" (( "(") (binary_expression "*piVar3 + 0x1c" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar4 = (uint)((ulonglong)lVar5 >> 0x20);" (assignment_expression "uVar4 = (uint)((ulonglong)lVar5 >> 0x20)" (identifier "uVar4") (= "=") (call_expression "(uint)((ulonglong)lVar5 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)lVar5 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar5 >> 0x20" (cast_expression "(ulonglong)lVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);" (assignment_expression "lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" (identifier "lVar6") (= "=") (call_expression "FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" (identifier "FUN_00183e60") (argument_list "(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0)" (( "(") (pointer_expression "*(undefined4 *)(*piVar3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(*piVar3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar3 + 0x20)" (( "(") (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {\n        return 1;\n      }" (if "if") (parenthesized_expression "((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2))" (( "(") (binary_expression "(uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&\n         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)" (parenthesized_expression "(uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4)" (( "(") (binary_expression "uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4" (binary_expression "uVar4 <= param_5" (identifier "uVar4") (<= "<=") (identifier "param_5")) (&& "&&") (binary_expression "(uint)(param_4 < (uint)lVar5) <= param_5 - uVar4" (call_expression "(uint)(param_4 < (uint)lVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4 < (uint)lVar5)" (( "(") (binary_expression "param_4 < (uint)lVar5" (identifier "param_4") (< "<") (cast_expression "(uint)lVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar5"))) () ")"))) (<= "<=") (binary_expression "param_5 - uVar4" (identifier "param_5") (- "-") (identifier "uVar4")))) () ")")) (&& "&&") (parenthesized_expression "(uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)" (( "(") (comma_expression "uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),\n         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (assignment_expression "uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20)" (identifier "uVar4") (= "=") (call_expression "(uint)((ulonglong)(lVar5 + lVar6) >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)(lVar5 + lVar6) >> 0x20)" (( "(") (binary_expression "(ulonglong)(lVar5 + lVar6) >> 0x20" (call_expression "(ulonglong)(lVar5 + lVar6)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "(lVar5 + lVar6)" (( "(") (binary_expression "lVar5 + lVar6" (identifier "lVar5") (+ "+") (identifier "lVar6")) () ")"))) (>> ">>") (number_literal "0x20")) () ")")))) (, ",") (binary_expression "uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (binary_expression "uVar2 <= uVar4" (identifier "uVar2") (<= "<=") (identifier "uVar4")) (&& "&&") (binary_expression "(uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2" (call_expression "(uint)((uint)(lVar5 + lVar6) < param_6 + param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)(lVar5 + lVar6) < param_6 + param_4)" (( "(") (binary_expression "(uint)(lVar5 + lVar6) < param_6 + param_4" (call_expression "(uint)(lVar5 + lVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(lVar5 + lVar6)" (( "(") (binary_expression "lVar5 + lVar6" (identifier "lVar5") (+ "+") (identifier "lVar6")) () ")"))) (< "<") (binary_expression "param_6 + param_4" (identifier "param_6") (+ "+") (identifier "param_4"))) () ")"))) (<= "<=") (binary_expression "uVar4 - uVar2" (identifier "uVar4") (- "-") (identifier "uVar2"))))) () ")"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3)" (( "(") (binary_expression "*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3" (pointer_expression "*(int **)(*(int *)(param_1 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(param_1 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool block_in_region(Script_sections * this, Symbol_table * symtab,
   Layout * layout, uint64_t start, uint64_t length) */

bool __thiscall
var_2::type_1::function_1
          (type_1 *this,type_2 *symtab,type_3 *layout,uint64_t var_8,uint64_t var_7)

{
  type_4 *var_1;
  type_5 var_6;
  type_6 var_11;
  uint64_t var_10;
  uint64_t var_14;
  type_6 var_13;
  type_6 var_12;
  type_6 var_16;
  type_6 var_15;
  
  var_1 = this->memory_regions_;
  if ((var_1 != (type_4 *)0x0) &&
     (var_6 = (var_1->
                super__Vector_base<var_2::Memory_region*,var_3::allocator<var_2::Memory_region*>var_4>var_5).
                _M_impl._M_start,
     var_6 !=
     (var_1->super__Vector_base<var_2::Memory_region*,var_3::allocator<var_2::Memory_region*>var_4>var_5).
     _M_impl._M_finish)) {
    do {
      var_15 = (type_6)(var_7 + var_8 >> 0x20);
      var_16 = (type_6)(var_7 + var_8);
      var_12 = (type_6)(var_8 >> 0x20);
      var_13 = (type_6)var_8;
      var_10 = Expression::var_9((*var_6)->start_,symtab,layout,false);
      var_11 = (type_6)(var_10 >> 0x20);
      var_14 = Expression::var_9((*var_6)->length_,symtab,layout,false);
      if ((var_11 <= var_12 && (type_6)(var_13 < (type_6)var_10) <= var_12 - var_11) &&
         (var_11 = (type_6)(var_10 + var_14 >> 0x20),
         var_15 <= var_11 && (type_6)((type_6)(var_10 + var_14) < var_16) <= var_11 - var_15)) {
        return true;
      }
      var_6 = var_6 + 1;
    } while ((this->memory_regions_->
             super__Vector_base<var_2::Memory_region*,var_3::allocator<var_2::Memory_region*>var_4>var_5).
             _M_impl._M_finish != var_6);
  }
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (identifier) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) right: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (binary_expression left: (identifier) right: (identifier))))) right: (binary_expression left: (identifier) right: (identifier)))))))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (identifier)))))) (return_statement (number_literal)))))

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

undefined4
MASKED(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,uint param_5,
            uint param_6,int param_7)

{
  int *piVar1;
  uint uVar2;
  int *piVar3;
  uint uVar4;
  longlong lVar5;
  longlong lVar6;
  
  piVar1 = *(int **)(param_1 + 0xc);
  if ((piVar1 != (int *)0x0) && (piVar3 = (int *)*piVar1, piVar3 != (int *)piVar1[1])) {
    uVar2 = param_7 + param_5 + (uint)CARRY4(param_6,param_4);
    do {
      lVar5 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x1c),param_2,param_3,0);
      uVar4 = (uint)((ulonglong)lVar5 >> 0x20);
      lVar6 = FUN_00183e60(*(undefined4 *)(*piVar3 + 0x20),param_2,param_3,0);
      if ((uVar4 <= param_5 && (uint)(param_4 < (uint)lVar5) <= param_5 - uVar4) &&
         (uVar4 = (uint)((ulonglong)(lVar5 + lVar6) >> 0x20),
         uVar2 <= uVar4 && (uint)((uint)(lVar5 + lVar6) < param_6 + param_4) <= uVar4 - uVar2)) {
        return 1;
      }
      piVar3 = piVar3 + 1;
    } while (*(int **)(*(int *)(param_1 + 0xc) + 4) != piVar3);
  }
  return 0;
}

