
/* WARNING: Unknown calling convention */

uint64_t gold::Output_segment::maximum_alignment_list(Output_data_list *pdl)

{
  uint uVar1;
  uint extraout_EDX;
  pointer ppOVar2;
  uint uVar3;
  uint uVar4;
  
  uVar4 = 0;
  uVar3 = 0;
  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
            _M_impl._M_start;
  if (ppOVar2 !=
      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.
      _M_finish) {
    uVar3 = 0;
    do {
      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);
      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {
        uVar3 = extraout_EDX;
        uVar4 = uVar1;
      }
      ppOVar2 = ppOVar2 + 1;
    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
             _M_impl._M_finish != ppOVar2);
  }
  return CONCAT44(uVar3,uVar4);
}



undefined8 FUN_00105b30(int *param_1)

{
  undefined8 uVar1;
  uint uVar2;
  undefined4 *puVar3;
  uint uVar4;
  undefined8 uVar5;
  
  uVar1 = 0;
  puVar3 = (undefined4 *)*param_1;
  if (puVar3 != (undefined4 *)param_1[1]) {
    uVar1 = 0;
    do {
      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);
      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);
      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);
      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {
        uVar1 = uVar5;
      }
      puVar3 = puVar3 + 1;
    } while ((undefined4 *)param_1[1] != puVar3);
  }
  return uVar1;
}


PUSH EBP
PUSH EDI
XOR EDI,EDI
PUSH ESI
XOR ESI,ESI
PUSH EBX
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV EBX,dword ptr [EBP]
CMP EBX,dword ptr [EBP + 0x4]
JZ 0x00105b72
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBX]
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0xc]
MOV ECX,ESI
ADD ESP,0x10
CMP EDI,EAX
SBB ECX,EDX
CMOVC EDI,EAX
CMOVC ESI,EDX
ADD EBX,0x4
CMP dword ptr [EBP + 0x4],EBX
JNZ 0x00105b50
ADD ESP,0xc
MOV EAX,EDI
MOV EDX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined8 FUN_00105b30(int *param_1)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00105b30(int *param_1)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00105b30(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }" if (parenthesized_expression "(puVar3 != (undefined4 *)param_1[1])" ( (binary_expression "puVar3 != (undefined4 *)param_1[1]" identifier != (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);" do (compound_statement "{\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "uVar4 = (uint)((ulonglong)uVar1 >> 0x20);" (assignment_expression "uVar4 = (uint)((ulonglong)uVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar1 >> 0x20)" ( (binary_expression "(ulonglong)uVar1 >> 0x20" (cast_expression "(ulonglong)uVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);" (assignment_expression "uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3)" identifier = (call_expression "(**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3)" (parenthesized_expression "(**(code **)(*(int *)*puVar3 + 0xc))" ( (pointer_expression "**(code **)(*(int *)*puVar3 + 0xc)" * (pointer_expression "*(code **)(*(int *)*puVar3 + 0xc)" * (cast_expression "(code **)(*(int *)*puVar3 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*puVar3 + 0xc)" ( (binary_expression "*(int *)*puVar3 + 0xc" (pointer_expression "*(int *)*puVar3" * (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) + number_literal) ))))) )) (argument_list "((int *)*puVar3)" ( (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) )))) ;) (expression_statement "uVar2 = (uint)((ulonglong)uVar5 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)uVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }" if (parenthesized_expression "(uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5))" ( (binary_expression "uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)" (binary_expression "uVar4 < uVar2" identifier < identifier) || (binary_expression "uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)" (binary_expression "uVar4 - uVar2" identifier - identifier) < (call_expression "(uint)((uint)uVar1 < (uint)uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar1 < (uint)uVar5)" ( (binary_expression "(uint)uVar1 < (uint)uVar5" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n        uVar1 = uVar5;\n      }" { (expression_statement "uVar1 = uVar5;" (assignment_expression "uVar1 = uVar5" identifier = identifier) ;) })) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined4 *)param_1[1] != puVar3)" ( (binary_expression "(undefined4 *)param_1[1] != puVar3" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nuint64_t gold::Output_segment::maximum_alignment_list(Output_data_list *pdl)\n\n{\n  uint uVar1;\n  uint extraout_EDX;\n  pointer ppOVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  uVar4 = 0;\n  uVar3 = 0;\n  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    uVar3 = 0;\n    do {\n      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);\n      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }\n  return CONCAT44(uVar3,uVar4);\n}\n\n" comment (function_definition "uint64_t gold::Output_segment::maximum_alignment_list(Output_data_list *pdl)\n\n{\n  uint uVar1;\n  uint extraout_EDX;\n  pointer ppOVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  uVar4 = 0;\n  uVar3 = 0;\n  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    uVar3 = 0;\n    do {\n      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);\n      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }\n  return CONCAT44(uVar3,uVar4);\n}" primitive_type (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "maximum_alignment_list(Output_data_list *pdl)" identifier (parameter_list "(Output_data_list *pdl)" ( (parameter_declaration "Output_data_list *pdl" type_identifier (pointer_declarator "*pdl" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint extraout_EDX;\n  pointer ppOVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  uVar4 = 0;\n  uVar3 = 0;\n  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    uVar3 = 0;\n    do {\n      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);\n      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }\n  return CONCAT44(uVar3,uVar4);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint extraout_EDX;" type_identifier identifier ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;" (assignment_expression "ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" identifier = (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (ERROR "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::" (comma_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold::Output_data*" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Output_data*>_>" (binary_expression "Output_data*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    uVar3 = 0;\n    do {\n      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);\n      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }" if (parenthesized_expression "(ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish)" ( (binary_expression "ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish" identifier != (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    uVar3 = 0;\n    do {\n      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);\n      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);\n      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);" do (compound_statement "{\n      uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);\n      if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }\n      ppOVar2 = ppOVar2 + 1;\n    }" { (expression_statement "uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2);" (assignment_expression "uVar1 = (*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2)" identifier = (call_expression "(*(*ppOVar2)->_vptr_Output_data[3])(*ppOVar2)" (parenthesized_expression "(*(*ppOVar2)->_vptr_Output_data[3])" ( (pointer_expression "*(*ppOVar2)->_vptr_Output_data[3]" * (subscript_expression "(*ppOVar2)->_vptr_Output_data[3]" (field_expression "(*ppOVar2)->_vptr_Output_data" (parenthesized_expression "(*ppOVar2)" ( (pointer_expression "*ppOVar2" * identifier) )) -> field_identifier) [ number_literal ])) )) (argument_list "(*ppOVar2)" ( (pointer_expression "*ppOVar2" * identifier) )))) ;) (if_statement "if (uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)) {\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }" if (parenthesized_expression "(uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1))" ( (binary_expression "uVar3 < extraout_EDX || uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)" (binary_expression "uVar3 < extraout_EDX" identifier < identifier) || (binary_expression "uVar3 - extraout_EDX < (uint)(uVar4 < uVar1)" (binary_expression "uVar3 - extraout_EDX" identifier - identifier) < (call_expression "(uint)(uVar4 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 < uVar1)" ( (binary_expression "uVar4 < uVar1" identifier < identifier) ))))) )) (compound_statement "{\n        uVar3 = extraout_EDX;\n        uVar4 = uVar1;\n      }" { (expression_statement "uVar3 = extraout_EDX;" (assignment_expression "uVar3 = extraout_EDX" identifier = identifier) ;) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) })) (expression_statement "ppOVar2 = ppOVar2 + 1;" (assignment_expression "ppOVar2 = ppOVar2 + 1" identifier = (binary_expression "ppOVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2)" ( (binary_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return CONCAT44(uVar3,uVar4);" return (call_expression "CONCAT44(uVar3,uVar4)" identifier (argument_list "(uVar3,uVar4)" ( identifier , identifier ))) ;) })))
(translation_unit "undefined8 FUN_00105b30(int *param_1)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00105b30(int *param_1)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00105b30(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }" if (parenthesized_expression "(puVar3 != (undefined4 *)param_1[1])" ( (binary_expression "puVar3 != (undefined4 *)param_1[1]" identifier != (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);" do (compound_statement "{\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "uVar4 = (uint)((ulonglong)uVar1 >> 0x20);" (assignment_expression "uVar4 = (uint)((ulonglong)uVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar1 >> 0x20)" ( (binary_expression "(ulonglong)uVar1 >> 0x20" (cast_expression "(ulonglong)uVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);" (assignment_expression "uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3)" identifier = (call_expression "(**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3)" (parenthesized_expression "(**(code **)(*(int *)*puVar3 + 0xc))" ( (pointer_expression "**(code **)(*(int *)*puVar3 + 0xc)" * (pointer_expression "*(code **)(*(int *)*puVar3 + 0xc)" * (cast_expression "(code **)(*(int *)*puVar3 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*puVar3 + 0xc)" ( (binary_expression "*(int *)*puVar3 + 0xc" (pointer_expression "*(int *)*puVar3" * (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) + number_literal) ))))) )) (argument_list "((int *)*puVar3)" ( (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) )))) ;) (expression_statement "uVar2 = (uint)((ulonglong)uVar5 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)uVar5 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar5 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }" if (parenthesized_expression "(uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5))" ( (binary_expression "uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)" (binary_expression "uVar4 < uVar2" identifier < identifier) || (binary_expression "uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)" (binary_expression "uVar4 - uVar2" identifier - identifier) < (call_expression "(uint)((uint)uVar1 < (uint)uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)uVar1 < (uint)uVar5)" ( (binary_expression "(uint)uVar1 < (uint)uVar5" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) )) (compound_statement "{\n        uVar1 = uVar5;\n      }" { (expression_statement "uVar1 = uVar5;" (assignment_expression "uVar1 = uVar5" identifier = identifier) ;) })) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((undefined4 *)param_1[1] != puVar3)" ( (binary_expression "(undefined4 *)param_1[1] != puVar3" (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (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 (parenthesized_expression ( (pointer_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 *)) ) (pointer_expression * IDENT))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_00105b30(int *param_1)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}" (type_identifier "undefined8") (function_declarator "FUN_00105b30(int *param_1)" (identifier "FUN_00105b30") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  uint uVar4;\n  undefined8 uVar5;\n  \n  uVar1 = 0;\n  puVar3 = (undefined4 *)*param_1;\n  if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = (undefined4 *)*param_1;" (assignment_expression "puVar3 = (undefined4 *)*param_1" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar3 != (undefined4 *)param_1[1]) {\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }" (if "if") (parenthesized_expression "(puVar3 != (undefined4 *)param_1[1])" (( "(") (binary_expression "puVar3 != (undefined4 *)param_1[1]" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    uVar1 = 0;\n    do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);\n  }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    } while ((undefined4 *)param_1[1] != puVar3);" (do "do") (compound_statement "{\n      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);\n      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);\n      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);\n      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }\n      puVar3 = puVar3 + 1;\n    }" ({ "{") (expression_statement "uVar4 = (uint)((ulonglong)uVar1 >> 0x20);" (assignment_expression "uVar4 = (uint)((ulonglong)uVar1 >> 0x20)" (identifier "uVar4") (= "=") (call_expression "(uint)((ulonglong)uVar1 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar1 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar1 >> 0x20" (cast_expression "(ulonglong)uVar1" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);" (assignment_expression "uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3)" (identifier "uVar5") (= "=") (call_expression "(**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3)" (parenthesized_expression "(**(code **)(*(int *)*puVar3 + 0xc))" (( "(") (pointer_expression "**(code **)(*(int *)*puVar3 + 0xc)" (* "*") (pointer_expression "*(code **)(*(int *)*puVar3 + 0xc)" (* "*") (cast_expression "(code **)(*(int *)*puVar3 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)*puVar3 + 0xc)" (( "(") (binary_expression "*(int *)*puVar3 + 0xc" (pointer_expression "*(int *)*puVar3" (* "*") (cast_expression "(int *)*puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "((int *)*puVar3)" (( "(") (cast_expression "(int *)*puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) () ")")))) (; ";")) (expression_statement "uVar2 = (uint)((ulonglong)uVar5 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)uVar5 >> 0x20)" (identifier "uVar2") (= "=") (call_expression "(uint)((ulonglong)uVar5 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar5 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {\n        uVar1 = uVar5;\n      }" (if "if") (parenthesized_expression "(uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5))" (( "(") (binary_expression "uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)" (binary_expression "uVar4 < uVar2" (identifier "uVar4") (< "<") (identifier "uVar2")) (|| "||") (binary_expression "uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)" (binary_expression "uVar4 - uVar2" (identifier "uVar4") (- "-") (identifier "uVar2")) (< "<") (call_expression "(uint)((uint)uVar1 < (uint)uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)uVar1 < (uint)uVar5)" (( "(") (binary_expression "(uint)uVar1 < (uint)uVar5" (cast_expression "(uint)uVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar1")) (< "<") (cast_expression "(uint)uVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar5"))) () ")"))))) () ")")) (compound_statement "{\n        uVar1 = uVar5;\n      }" ({ "{") (expression_statement "uVar1 = uVar5;" (assignment_expression "uVar1 = uVar5" (identifier "uVar1") (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined4 *)param_1[1] != puVar3)" (( "(") (binary_expression "(undefined4 *)param_1[1] != puVar3" (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

uint64_t var_5::Output_segment::function_1(type_1 *pdl)

{
  type_2 var_10;
  type_2 var_8;
  type_3 var_4;
  type_2 var_7;
  type_2 var_9;
  
  var_9 = 0;
  var_7 = 0;
  var_4 = (pdl->super__Vector_base<var_5::var_1*var_3,var_6::allocator<var_5::var_1*>var_2>var_3).
            _M_impl._M_start;
  if (var_4 !=
      (pdl->super__Vector_base<var_5::var_1*,var_6::allocator<var_5::var_1*>var_2>var_3)._M_impl.
      _M_finish) {
    var_7 = 0;
    do {
      var_10 = (*(*var_4)->_vptr_Output_data[3])(*var_4);
      if (var_7 < var_8 || var_7 - var_8 < (type_2)(var_9 < var_10)) {
        var_7 = var_8;
        var_9 = var_10;
      }
      var_4 = var_4 + 1;
    } while ((pdl->super__Vector_base<var_5::var_1*,var_6::allocator<var_5::var_1*>var_2>var_3).
             _M_impl._M_finish != var_4);
  }
  return var_11(var_7,var_9);
}


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

undefined8 MASKED(int *param_1)

{
  undefined8 uVar1;
  uint uVar2;
  undefined4 *puVar3;
  uint uVar4;
  undefined8 uVar5;
  
  uVar1 = 0;
  puVar3 = (undefined4 *)*param_1;
  if (puVar3 != (undefined4 *)param_1[1]) {
    uVar1 = 0;
    do {
      uVar4 = (uint)((ulonglong)uVar1 >> 0x20);
      uVar5 = (**(code **)(*(int *)*puVar3 + 0xc))((int *)*puVar3);
      uVar2 = (uint)((ulonglong)uVar5 >> 0x20);
      if (uVar4 < uVar2 || uVar4 - uVar2 < (uint)((uint)uVar1 < (uint)uVar5)) {
        uVar1 = uVar5;
      }
      puVar3 = puVar3 + 1;
    } while ((undefined4 *)param_1[1] != puVar3);
  }
  return uVar1;
}

