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

void __regparm2
insert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,
          asection *output_section,bfd_vma dot)

{
  longlong lVar1;
  bfd_vma bVar2;
  lang_statement_union_type *plVar3;
  uint uVar4;
  byte bVar5;
  uint uVar6;
  uint uVar7;
  
  if (((((ptr == (lang_statement_union_type **)0x0) ||
        ((lang_statement_list_type *)ptr == &statement_list)) ||
       (ptr[1] != (lang_statement_union_type *)0xc)) ||
      (plVar3 = (lang_statement_union_type *)ptr,
      ptr[6] != (lang_statement_union_type *)output_section)) &&
     (((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||
       ((plVar3->header).type != lang_padding_statement_enum)) ||
      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)))) {
    plVar3 = (lang_statement_union_type *)stat_alloc(0x20);
    (plVar3->header).next = *ptr;
    if (fill == (fill_type *)0x0) {
      fill = &insert_pad::zero_fill;
    }
    *ptr = plVar3;
    (plVar3->header).type = lang_padding_statement_enum;
    (plVar3->data_statement).output_section = output_section;
    (plVar3->padding_statement).fill = fill;
  }
  bVar2 = output_section->vma;
  (plVar3->padding_statement).output_offset = dot - output_section->vma;
  (plVar3->padding_statement).size = alignment_needed;
  if ((output_section->flags & 0x800) == 0) {
    bVar5 = (byte)opb_shift;
    uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f);
    uVar7 = uVar6;
    uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |
            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f);
    if ((opb_shift & 0x20) != 0) {
      uVar7 = 0;
      uVar4 = uVar6;
    }
    lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2;
    uVar4 = (uint)lVar1;
    uVar6 = uVar4 << (bVar5 & 0x1f);
    uVar7 = uVar6;
    uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f);
    if ((opb_shift & 0x20) != 0) {
      uVar7 = 0;
      uVar4 = uVar6;
    }
    *(uint *)((int)&output_section->size + 4) = uVar4;
    *(uint *)&output_section->size = uVar7;
  }
  return;
}



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

void __regparm2
FUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,
            uint param_6,int param_7)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  undefined4 *puVar4;
  uint uVar5;
  uint uVar6;
  byte bVar7;
  uint uVar8;
  uint uVar9;
  
  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||
      (puVar4 = param_1, param_1[6] != param_5)) &&
     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||
      (puVar4[6] != param_5)))) {
    puVar4 = (undefined4 *)FUN_000237c0(0x20);
    *puVar4 = *param_1;
    if (param_2 == (undefined *)0x0) {
      param_2 = &DAT_001d06c8;
    }
    *param_1 = puVar4;
    puVar4[1] = 0xc;
    puVar4[6] = param_5;
    puVar4[7] = param_2;
  }
  uVar1 = *(uint *)(param_5 + 0x1c);
  iVar2 = *(int *)(param_5 + 0x20);
  puVar4[2] = param_6 - uVar1;
  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);
  puVar4[4] = param_3;
  puVar4[5] = param_4;
  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {
    bVar7 = (byte)DAT_001d072c;
    uVar8 = param_4 >> (bVar7 & 0x1f);
    uVar9 = uVar8;
    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);
    if ((DAT_001d072c & 0x20) != 0) {
      uVar9 = 0;
      uVar3 = uVar8;
    }
    uVar5 = (uVar3 + param_6) - uVar1;
    uVar6 = uVar5 << (bVar7 & 0x1f);
    uVar8 = uVar6;
    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -
            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);
    if ((DAT_001d072c & 0x20) != 0) {
      uVar8 = 0;
      uVar1 = uVar6;
    }
    *(uint *)(param_5 + 0x30) = uVar1;
    *(uint *)(param_5 + 0x2c) = uVar8;
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00017b80
ADD EBX,0x1ab603
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x38]
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [ESP + 0x3c]
MOV dword ptr [ESP + 0x4],EDX
MOV EDX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP + 0xc],EDX
TEST ESI,ESI
JZ 0x00023a41
LEA EAX,[EBX + 0x1768]
CMP ESI,EAX
JZ 0x00023a41
CMP dword ptr [ESI + 0x4],0xc
JZ 0x00023b00
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00023a51
CMP dword ptr [EAX + 0x4],0xc
JZ 0x00023af0
SUB ESP,0xc
PUSH 0x20
CALL 0x000237c0
MOV EDX,dword ptr [ESI]
ADD ESP,0x10
TEST EDI,EDI
MOV dword ptr [EAX],EDX
LEA EDX,[EBX + 0x16c8]
CMOVZ EDI,EDX
MOV dword ptr [ESI],EAX
MOV dword ptr [EAX + 0x4],0xc
MOV dword ptr [EAX + 0x18],EBP
MOV dword ptr [EAX + 0x1c],EDI
MOV ESI,dword ptr [EBP + 0x1c]
MOV EDX,dword ptr [ESP + 0x8]
MOV EDI,dword ptr [EBP + 0x20]
MOV ECX,dword ptr [ESP + 0xc]
SUB EDX,ESI
SBB ECX,EDI
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESP]
MOV dword ptr [EAX + 0xc],ECX
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX + 0x10],EDX
MOV dword ptr [EAX + 0x14],ECX
TEST byte ptr [EBP + 0x15],0x8
JNZ 0x00023ae6
MOV ECX,dword ptr [EBX + 0x172c]
MOV EDX,dword ptr [ESP + 0x4]
XOR EBX,EBX
MOV EAX,dword ptr [ESP]
SHRD EAX,EDX,CL
SHR EDX,CL
TEST CL,0x20
CMOVNZ EAX,EDX
CMOVNZ EDX,EBX
ADD EAX,dword ptr [ESP + 0x8]
ADC EDX,dword ptr [ESP + 0xc]
SUB EAX,ESI
SBB EDX,EDI
XOR ESI,ESI
SHLD EDX,EAX,CL
SHL EAX,CL
TEST CL,0x20
CMOVNZ EDX,EAX
CMOVNZ EAX,ESI
MOV dword ptr [EBP + 0x30],EDX
MOV dword ptr [EBP + 0x2c],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP dword ptr [EAX + 0x18],EBP
JNZ 0x00023a51
JMP 0x00023a7c
MOV EAX,ESI
CMP dword ptr [ESI + 0x18],EBP
JNZ 0x00023a41
JMP 0x00023a7c
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2\nFUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm2\nFUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)" identifier (parameter_list "(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (if_statement "if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }" if (parenthesized_expression "(((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5))))" ( (binary_expression "((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))" (parenthesized_expression "((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5))" ( (binary_expression "(((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)" (parenthesized_expression "(((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc))" ( (binary_expression "((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)" (parenthesized_expression "((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768))" ( (binary_expression "(param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)" (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_1 == &DAT_001d0768)" ( (binary_expression "param_1 == &DAT_001d0768" identifier == (pointer_expression "&DAT_001d0768" & identifier)) ))) )) || (parenthesized_expression "(param_1[1] != 0xc)" ( (binary_expression "param_1[1] != 0xc" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) ))) )) || (parenthesized_expression "(puVar4 = param_1, param_1[6] != param_5)" ( (comma_expression "puVar4 = param_1, param_1[6] != param_5" (assignment_expression "puVar4 = param_1" identifier = identifier) , (binary_expression "param_1[6] != param_5" (subscript_expression "param_1[6]" identifier [ number_literal ]) != identifier)) ))) )) && (parenthesized_expression "(((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))" ( (parenthesized_expression "((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5))" ( (binary_expression "(puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)" (parenthesized_expression "(puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc))" ( (comma_expression "puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)" (assignment_expression "puVar4 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) , (binary_expression "puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)" (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(puVar4[1] != 0xc)" ( (binary_expression "puVar4[1] != 0xc" (subscript_expression "puVar4[1]" identifier [ number_literal ]) != number_literal) )))) )) || (parenthesized_expression "(puVar4[6] != param_5)" ( (binary_expression "puVar4[6] != param_5" (subscript_expression "puVar4[6]" identifier [ number_literal ]) != identifier) ))) )) ))) )) (compound_statement "{\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }" { (expression_statement "puVar4 = (undefined4 *)FUN_000237c0(0x20);" (assignment_expression "puVar4 = (undefined4 *)FUN_000237c0(0x20)" identifier = (cast_expression "(undefined4 *)FUN_000237c0(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000237c0(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "*puVar4 = *param_1;" (assignment_expression "*puVar4 = *param_1" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_2 = &DAT_001d06c8;\n    }" { (expression_statement "param_2 = &DAT_001d06c8;" (assignment_expression "param_2 = &DAT_001d06c8" identifier = (pointer_expression "&DAT_001d06c8" & identifier)) ;) })) (expression_statement "*param_1 = puVar4;" (assignment_expression "*param_1 = puVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar4[1] = 0xc;" (assignment_expression "puVar4[1] = 0xc" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[6] = param_5;" (assignment_expression "puVar4[6] = param_5" (subscript_expression "puVar4[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[7] = param_2;" (assignment_expression "puVar4[7] = param_2" (subscript_expression "puVar4[7]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "uVar1 = *(uint *)(param_5 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_5 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_5 + 0x1c)" * (cast_expression "(uint *)(param_5 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x1c)" ( (binary_expression "param_5 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_5 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_5 + 0x20)" identifier = (pointer_expression "*(int *)(param_5 + 0x20)" * (cast_expression "(int *)(param_5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x20)" ( (binary_expression "param_5 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "puVar4[2] = param_6 - uVar1;" (assignment_expression "puVar4[2] = param_6 - uVar1" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (binary_expression "param_6 - uVar1" identifier - identifier)) ;) (expression_statement "puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);" (assignment_expression "puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1)" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (binary_expression "(param_7 - iVar2) - (uint)(param_6 < uVar1)" (parenthesized_expression "(param_7 - iVar2)" ( (binary_expression "param_7 - iVar2" identifier - identifier) )) - (call_expression "(uint)(param_6 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_6 < uVar1)" ( (binary_expression "param_6 < uVar1" identifier < identifier) ))))) ;) (expression_statement "puVar4[4] = param_3;" (assignment_expression "puVar4[4] = param_3" (subscript_expression "puVar4[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[5] = param_4;" (assignment_expression "puVar4[5] = param_4" (subscript_expression "puVar4[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }" if (parenthesized_expression "((*(byte *)(param_5 + 0x15) & 8) == 0)" ( (binary_expression "(*(byte *)(param_5 + 0x15) & 8) == 0" (parenthesized_expression "(*(byte *)(param_5 + 0x15) & 8)" ( (binary_expression "*(byte *)(param_5 + 0x15) & 8" (pointer_expression "*(byte *)(param_5 + 0x15)" * (cast_expression "(byte *)(param_5 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x15)" ( (binary_expression "param_5 + 0x15" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }" { (expression_statement "bVar7 = (byte)DAT_001d072c;" (assignment_expression "bVar7 = (byte)DAT_001d072c" identifier = (cast_expression "(byte)DAT_001d072c" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = param_4 >> (bVar7 & 0x1f);" (assignment_expression "uVar8 = param_4 >> (bVar7 & 0x1f)" identifier = (binary_expression "param_4 >> (bVar7 & 0x1f)" identifier >> (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" identifier = identifier) ;) (expression_statement "uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);" (assignment_expression "uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f)" identifier = (binary_expression "param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f)" (binary_expression "param_3 >> (bVar7 & 0x1f)" identifier >> (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_4 << 0x20 - (bVar7 & 0x1f)" identifier << (binary_expression "0x20 - (bVar7 & 0x1f)" number_literal - (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }" if (parenthesized_expression "((DAT_001d072c & 0x20) != 0)" ( (binary_expression "(DAT_001d072c & 0x20) != 0" (parenthesized_expression "(DAT_001d072c & 0x20)" ( (binary_expression "DAT_001d072c & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" identifier = identifier) ;) })) (expression_statement "uVar5 = (uVar3 + param_6) - uVar1;" (assignment_expression "uVar5 = (uVar3 + param_6) - uVar1" identifier = (binary_expression "(uVar3 + param_6) - uVar1" (parenthesized_expression "(uVar3 + param_6)" ( (binary_expression "uVar3 + param_6" identifier + identifier) )) - identifier)) ;) (expression_statement "uVar6 = uVar5 << (bVar7 & 0x1f);" (assignment_expression "uVar6 = uVar5 << (bVar7 & 0x1f)" identifier = (binary_expression "uVar5 << (bVar7 & 0x1f)" identifier << (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar8 = uVar6;" (assignment_expression "uVar8 = uVar6" identifier = identifier) ;) (expression_statement "uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);" (assignment_expression "uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f)" identifier = (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f)" (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f)" (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1)" (parenthesized_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2)" ( (binary_expression "(uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2" (parenthesized_expression "(uVar9 + param_7 + (uint)CARRY4(uVar3,param_6))" ( (binary_expression "uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)" (binary_expression "uVar9 + param_7" identifier + identifier) + (cast_expression "(uint)CARRY4(uVar3,param_6)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,param_6)" identifier (argument_list "(uVar3,param_6)" ( identifier , identifier ))))) )) - identifier) )) - (call_expression "(uint)(uVar3 + param_6 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 + param_6 < uVar1)" ( (binary_expression "uVar3 + param_6 < uVar1" (binary_expression "uVar3 + param_6" identifier + identifier) < identifier) )))) << (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) ))) | (binary_expression "uVar5 >> 0x20 - (bVar7 & 0x1f)" identifier >> (binary_expression "0x20 - (bVar7 & 0x1f)" number_literal - (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }" if (parenthesized_expression "((DAT_001d072c & 0x20) != 0)" ( (binary_expression "(DAT_001d072c & 0x20) != 0" (parenthesized_expression "(DAT_001d072c & 0x20)" ( (binary_expression "DAT_001d072c & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = uVar6;" (assignment_expression "uVar1 = uVar6" identifier = identifier) ;) })) (expression_statement "*(uint *)(param_5 + 0x30) = uVar1;" (assignment_expression "*(uint *)(param_5 + 0x30) = uVar1" (pointer_expression "*(uint *)(param_5 + 0x30)" * (cast_expression "(uint *)(param_5 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x30)" ( (binary_expression "param_5 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_5 + 0x2c) = uVar8;" (assignment_expression "*(uint *)(param_5 + 0x2c) = uVar8" (pointer_expression "*(uint *)(param_5 + 0x2c)" * (cast_expression "(uint *)(param_5 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x2c)" ( (binary_expression "param_5 + 0x2c" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2\ninsert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n          asection *output_section,bfd_vma dot)\n\n{\n  longlong lVar1;\n  bfd_vma bVar2;\n  lang_statement_union_type *plVar3;\n  uint uVar4;\n  byte bVar5;\n  uint uVar6;\n  uint uVar7;\n  \n  if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)) &&\n     (((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)))) {\n    plVar3 = (lang_statement_union_type *)stat_alloc(0x20);\n    (plVar3->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar3;\n    (plVar3->header).type = lang_padding_statement_enum;\n    (plVar3->data_statement).output_section = output_section;\n    (plVar3->padding_statement).fill = fill;\n  }\n  bVar2 = output_section->vma;\n  (plVar3->padding_statement).output_offset = dot - output_section->vma;\n  (plVar3->padding_statement).size = alignment_needed;\n  if ((output_section->flags & 0x800) == 0) {\n    bVar5 = (byte)opb_shift;\n    uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2;\n    uVar4 = (uint)lVar1;\n    uVar6 = uVar4 << (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    *(uint *)((int)&output_section->size + 4) = uVar4;\n    *(uint *)&output_section->size = uVar7;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm2\ninsert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n          asection *output_section,bfd_vma dot)\n\n{\n  longlong lVar1;\n  bfd_vma bVar2;\n  lang_statement_union_type *plVar3;\n  uint uVar4;\n  byte bVar5;\n  uint uVar6;\n  uint uVar7;\n  \n  if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)) &&\n     (((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)))) {\n    plVar3 = (lang_statement_union_type *)stat_alloc(0x20);\n    (plVar3->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar3;\n    (plVar3->header).type = lang_padding_statement_enum;\n    (plVar3->data_statement).output_section = output_section;\n    (plVar3->padding_statement).fill = fill;\n  }\n  bVar2 = output_section->vma;\n  (plVar3->padding_statement).output_offset = dot - output_section->vma;\n  (plVar3->padding_statement).size = alignment_needed;\n  if ((output_section->flags & 0x800) == 0) {\n    bVar5 = (byte)opb_shift;\n    uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2;\n    uVar4 = (uint)lVar1;\n    uVar6 = uVar4 << (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    *(uint *)((int)&output_section->size + 4) = uVar4;\n    *(uint *)&output_section->size = uVar7;\n  }\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "insert_pad(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n          asection *output_section,bfd_vma dot)" identifier (parameter_list "(lang_statement_union_type **ptr,fill_type *fill,bfd_size_type alignment_needed,\n          asection *output_section,bfd_vma dot)" ( (parameter_declaration "lang_statement_union_type **ptr" type_identifier (pointer_declarator "**ptr" * (pointer_declarator "*ptr" * identifier))) , (parameter_declaration "fill_type *fill" type_identifier (pointer_declarator "*fill" * identifier)) , (parameter_declaration "bfd_size_type alignment_needed" type_identifier identifier) , (parameter_declaration "asection *output_section" type_identifier (pointer_declarator "*output_section" * identifier)) , (parameter_declaration "bfd_vma dot" type_identifier identifier) ))) (compound_statement "{\n  longlong lVar1;\n  bfd_vma bVar2;\n  lang_statement_union_type *plVar3;\n  uint uVar4;\n  byte bVar5;\n  uint uVar6;\n  uint uVar7;\n  \n  if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)) &&\n     (((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)))) {\n    plVar3 = (lang_statement_union_type *)stat_alloc(0x20);\n    (plVar3->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar3;\n    (plVar3->header).type = lang_padding_statement_enum;\n    (plVar3->data_statement).output_section = output_section;\n    (plVar3->padding_statement).fill = fill;\n  }\n  bVar2 = output_section->vma;\n  (plVar3->padding_statement).output_offset = dot - output_section->vma;\n  (plVar3->padding_statement).size = alignment_needed;\n  if ((output_section->flags & 0x800) == 0) {\n    bVar5 = (byte)opb_shift;\n    uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2;\n    uVar4 = (uint)lVar1;\n    uVar6 = uVar4 << (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    *(uint *)((int)&output_section->size + 4) = uVar4;\n    *(uint *)&output_section->size = uVar7;\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "bfd_vma bVar2;" type_identifier identifier ;) (declaration "lang_statement_union_type *plVar3;" type_identifier (pointer_declarator "*plVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (if_statement "if (((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)) &&\n     (((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)))) {\n    plVar3 = (lang_statement_union_type *)stat_alloc(0x20);\n    (plVar3->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar3;\n    (plVar3->header).type = lang_padding_statement_enum;\n    (plVar3->data_statement).output_section = output_section;\n    (plVar3->padding_statement).fill = fill;\n  }" if (parenthesized_expression "(((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)) &&\n     (((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section))))" ( (binary_expression "((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)) &&\n     (((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)))" (parenthesized_expression "((((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section))" ( (binary_expression "(((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)) ||\n      (plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)" (parenthesized_expression "(((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc))" ( (binary_expression "((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)) ||\n       (ptr[1] != (lang_statement_union_type *)0xc)" (parenthesized_expression "((ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list))" ( (binary_expression "(ptr == (lang_statement_union_type **)0x0) ||\n        ((lang_statement_list_type *)ptr == &statement_list)" (parenthesized_expression "(ptr == (lang_statement_union_type **)0x0)" ( (binary_expression "ptr == (lang_statement_union_type **)0x0" identifier == (cast_expression "(lang_statement_union_type **)0x0" ( (type_descriptor "lang_statement_union_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) || (parenthesized_expression "((lang_statement_list_type *)ptr == &statement_list)" ( (binary_expression "(lang_statement_list_type *)ptr == &statement_list" (cast_expression "(lang_statement_list_type *)ptr" ( (type_descriptor "lang_statement_list_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == (pointer_expression "&statement_list" & identifier)) ))) )) || (parenthesized_expression "(ptr[1] != (lang_statement_union_type *)0xc)" ( (binary_expression "ptr[1] != (lang_statement_union_type *)0xc" (subscript_expression "ptr[1]" identifier [ number_literal ]) != (cast_expression "(lang_statement_union_type *)0xc" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section)" ( (comma_expression "plVar3 = (lang_statement_union_type *)ptr,\n      ptr[6] != (lang_statement_union_type *)output_section" (assignment_expression "plVar3 = (lang_statement_union_type *)ptr" identifier = (cast_expression "(lang_statement_union_type *)ptr" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "ptr[6] != (lang_statement_union_type *)output_section" (subscript_expression "ptr[6]" identifier [ number_literal ]) != (cast_expression "(lang_statement_union_type *)output_section" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ))) )) && (parenthesized_expression "(((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)))" ( (parenthesized_expression "((plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section))" ( (binary_expression "(plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)) ||\n      ((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)" (parenthesized_expression "(plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum))" ( (comma_expression "plVar3 = *ptr, plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)" (assignment_expression "plVar3 = *ptr" identifier = (pointer_expression "*ptr" * identifier)) , (binary_expression "plVar3 == (lang_statement_union_type *)0x0 ||\n       ((plVar3->header).type != lang_padding_statement_enum)" (binary_expression "plVar3 == (lang_statement_union_type *)0x0" identifier == (cast_expression "(lang_statement_union_type *)0x0" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "((plVar3->header).type != lang_padding_statement_enum)" ( (binary_expression "(plVar3->header).type != lang_padding_statement_enum" (field_expression "(plVar3->header).type" (parenthesized_expression "(plVar3->header)" ( (field_expression "plVar3->header" identifier -> field_identifier) )) . field_identifier) != identifier) )))) )) || (parenthesized_expression "((plVar3->wild_statement).children.head != (lang_statement_union *)output_section)" ( (binary_expression "(plVar3->wild_statement).children.head != (lang_statement_union *)output_section" (field_expression "(plVar3->wild_statement).children.head" (field_expression "(plVar3->wild_statement).children" (parenthesized_expression "(plVar3->wild_statement)" ( (field_expression "plVar3->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier) != (cast_expression "(lang_statement_union *)output_section" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) )) ))) )) (compound_statement "{\n    plVar3 = (lang_statement_union_type *)stat_alloc(0x20);\n    (plVar3->header).next = *ptr;\n    if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }\n    *ptr = plVar3;\n    (plVar3->header).type = lang_padding_statement_enum;\n    (plVar3->data_statement).output_section = output_section;\n    (plVar3->padding_statement).fill = fill;\n  }" { (expression_statement "plVar3 = (lang_statement_union_type *)stat_alloc(0x20);" (assignment_expression "plVar3 = (lang_statement_union_type *)stat_alloc(0x20)" identifier = (cast_expression "(lang_statement_union_type *)stat_alloc(0x20)" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "(plVar3->header).next = *ptr;" (assignment_expression "(plVar3->header).next = *ptr" (field_expression "(plVar3->header).next" (parenthesized_expression "(plVar3->header)" ( (field_expression "plVar3->header" identifier -> field_identifier) )) . field_identifier) = (pointer_expression "*ptr" * identifier)) ;) (if_statement "if (fill == (fill_type *)0x0) {\n      fill = &insert_pad::zero_fill;\n    }" if (parenthesized_expression "(fill == (fill_type *)0x0)" ( (binary_expression "fill == (fill_type *)0x0" identifier == (cast_expression "(fill_type *)0x0" ( (type_descriptor "fill_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      fill = &insert_pad::zero_fill;\n    }" { (expression_statement "fill = &insert_pad::zero_fill;" (assignment_expression "fill = &insert_pad" identifier = (pointer_expression "&insert_pad" & identifier)) (ERROR "::zero_fill" : : identifier) ;) })) (expression_statement "*ptr = plVar3;" (assignment_expression "*ptr = plVar3" (pointer_expression "*ptr" * identifier) = identifier) ;) (expression_statement "(plVar3->header).type = lang_padding_statement_enum;" (assignment_expression "(plVar3->header).type = lang_padding_statement_enum" (field_expression "(plVar3->header).type" (parenthesized_expression "(plVar3->header)" ( (field_expression "plVar3->header" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar3->data_statement).output_section = output_section;" (assignment_expression "(plVar3->data_statement).output_section = output_section" (field_expression "(plVar3->data_statement).output_section" (parenthesized_expression "(plVar3->data_statement)" ( (field_expression "plVar3->data_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar3->padding_statement).fill = fill;" (assignment_expression "(plVar3->padding_statement).fill = fill" (field_expression "(plVar3->padding_statement).fill" (parenthesized_expression "(plVar3->padding_statement)" ( (field_expression "plVar3->padding_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) })) (expression_statement "bVar2 = output_section->vma;" (assignment_expression "bVar2 = output_section->vma" identifier = (field_expression "output_section->vma" identifier -> field_identifier)) ;) (expression_statement "(plVar3->padding_statement).output_offset = dot - output_section->vma;" (assignment_expression "(plVar3->padding_statement).output_offset = dot - output_section->vma" (field_expression "(plVar3->padding_statement).output_offset" (parenthesized_expression "(plVar3->padding_statement)" ( (field_expression "plVar3->padding_statement" identifier -> field_identifier) )) . field_identifier) = (binary_expression "dot - output_section->vma" identifier - (field_expression "output_section->vma" identifier -> field_identifier))) ;) (expression_statement "(plVar3->padding_statement).size = alignment_needed;" (assignment_expression "(plVar3->padding_statement).size = alignment_needed" (field_expression "(plVar3->padding_statement).size" (parenthesized_expression "(plVar3->padding_statement)" ( (field_expression "plVar3->padding_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if ((output_section->flags & 0x800) == 0) {\n    bVar5 = (byte)opb_shift;\n    uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2;\n    uVar4 = (uint)lVar1;\n    uVar6 = uVar4 << (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    *(uint *)((int)&output_section->size + 4) = uVar4;\n    *(uint *)&output_section->size = uVar7;\n  }" if (parenthesized_expression "((output_section->flags & 0x800) == 0)" ( (binary_expression "(output_section->flags & 0x800) == 0" (parenthesized_expression "(output_section->flags & 0x800)" ( (binary_expression "output_section->flags & 0x800" (field_expression "output_section->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar5 = (byte)opb_shift;\n    uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2;\n    uVar4 = (uint)lVar1;\n    uVar6 = uVar4 << (bVar5 & 0x1f);\n    uVar7 = uVar6;\n    uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f);\n    if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }\n    *(uint *)((int)&output_section->size + 4) = uVar4;\n    *(uint *)&output_section->size = uVar7;\n  }" { (expression_statement "bVar5 = (byte)opb_shift;" (assignment_expression "bVar5 = (byte)opb_shift" identifier = (cast_expression "(byte)opb_shift" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f);" (assignment_expression "uVar6 = alignment_needed._4_4_ >> (bVar5 & 0x1f)" identifier = (binary_expression "alignment_needed._4_4_ >> (bVar5 & 0x1f)" (field_expression "alignment_needed._4_4_" identifier . field_identifier) >> (parenthesized_expression "(bVar5 & 0x1f)" ( (binary_expression "bVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar7 = uVar6;" (assignment_expression "uVar7 = uVar6" identifier = identifier) ;) (expression_statement "uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f);" (assignment_expression "uVar4 = (uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f)" identifier = (binary_expression "(uint)alignment_needed >> (bVar5 & 0x1f) |\n            alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f)" (binary_expression "(uint)alignment_needed >> (bVar5 & 0x1f)" (cast_expression "(uint)alignment_needed" ( (type_descriptor "uint" type_identifier) ) identifier) >> (parenthesized_expression "(bVar5 & 0x1f)" ( (binary_expression "bVar5 & 0x1f" identifier & number_literal) ))) | (binary_expression "alignment_needed._4_4_ << 0x20 - (bVar5 & 0x1f)" (field_expression "alignment_needed._4_4_" identifier . field_identifier) << (binary_expression "0x20 - (bVar5 & 0x1f)" number_literal - (parenthesized_expression "(bVar5 & 0x1f)" ( (binary_expression "bVar5 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }" if (parenthesized_expression "((opb_shift & 0x20) != 0)" ( (binary_expression "(opb_shift & 0x20) != 0" (parenthesized_expression "(opb_shift & 0x20)" ( (binary_expression "opb_shift & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar6;" (assignment_expression "uVar4 = uVar6" identifier = identifier) ;) })) (expression_statement "lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2;" (assignment_expression "lVar1 = (dot + CONCAT44(uVar7,uVar4)) - bVar2" identifier = (binary_expression "(dot + CONCAT44(uVar7,uVar4)) - bVar2" (parenthesized_expression "(dot + CONCAT44(uVar7,uVar4))" ( (binary_expression "dot + CONCAT44(uVar7,uVar4)" identifier + (call_expression "CONCAT44(uVar7,uVar4)" identifier (argument_list "(uVar7,uVar4)" ( identifier , identifier )))) )) - identifier)) ;) (expression_statement "uVar4 = (uint)lVar1;" (assignment_expression "uVar4 = (uint)lVar1" identifier = (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar6 = uVar4 << (bVar5 & 0x1f);" (assignment_expression "uVar6 = uVar4 << (bVar5 & 0x1f)" identifier = (binary_expression "uVar4 << (bVar5 & 0x1f)" identifier << (parenthesized_expression "(bVar5 & 0x1f)" ( (binary_expression "bVar5 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar7 = uVar6;" (assignment_expression "uVar7 = uVar6" identifier = identifier) ;) (expression_statement "uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f);" (assignment_expression "uVar4 = (int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f)" identifier = (binary_expression "(int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f) | uVar4 >> 0x20 - (bVar5 & 0x1f)" (binary_expression "(int)((ulonglong)lVar1 >> 0x20) << (bVar5 & 0x1f)" (cast_expression "(int)((ulonglong)lVar1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) << (parenthesized_expression "(bVar5 & 0x1f)" ( (binary_expression "bVar5 & 0x1f" identifier & number_literal) ))) | (binary_expression "uVar4 >> 0x20 - (bVar5 & 0x1f)" identifier >> (binary_expression "0x20 - (bVar5 & 0x1f)" number_literal - (parenthesized_expression "(bVar5 & 0x1f)" ( (binary_expression "bVar5 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((opb_shift & 0x20) != 0) {\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }" if (parenthesized_expression "((opb_shift & 0x20) != 0)" ( (binary_expression "(opb_shift & 0x20) != 0" (parenthesized_expression "(opb_shift & 0x20)" ( (binary_expression "opb_shift & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar7 = 0;\n      uVar4 = uVar6;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar6;" (assignment_expression "uVar4 = uVar6" identifier = identifier) ;) })) (expression_statement "*(uint *)((int)&output_section->size + 4) = uVar4;" (assignment_expression "*(uint *)((int)&output_section->size + 4) = uVar4" (pointer_expression "*(uint *)((int)&output_section->size + 4)" * (cast_expression "(uint *)((int)&output_section->size + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&output_section->size + 4)" ( (binary_expression "(int)&output_section->size + 4" (cast_expression "(int)&output_section->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&output_section->size" & (field_expression "output_section->size" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)&output_section->size = uVar7;" (assignment_expression "*(uint *)&output_section->size = uVar7" (pointer_expression "*(uint *)&output_section->size" * (cast_expression "(uint *)&output_section->size" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&output_section->size" & (field_expression "output_section->size" identifier -> field_identifier)))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2\nFUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}\n\n" (function_definition "void __regparm2\nFUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)" identifier (parameter_list "(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (if_statement "if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }" if (parenthesized_expression "(((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5))))" ( (binary_expression "((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))" (parenthesized_expression "((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5))" ( (binary_expression "(((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)" (parenthesized_expression "(((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc))" ( (binary_expression "((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)" (parenthesized_expression "((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768))" ( (binary_expression "(param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)" (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_1 == &DAT_001d0768)" ( (binary_expression "param_1 == &DAT_001d0768" identifier == (pointer_expression "&DAT_001d0768" & identifier)) ))) )) || (parenthesized_expression "(param_1[1] != 0xc)" ( (binary_expression "param_1[1] != 0xc" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) ))) )) || (parenthesized_expression "(puVar4 = param_1, param_1[6] != param_5)" ( (comma_expression "puVar4 = param_1, param_1[6] != param_5" (assignment_expression "puVar4 = param_1" identifier = identifier) , (binary_expression "param_1[6] != param_5" (subscript_expression "param_1[6]" identifier [ number_literal ]) != identifier)) ))) )) && (parenthesized_expression "(((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))" ( (parenthesized_expression "((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5))" ( (binary_expression "(puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)" (parenthesized_expression "(puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc))" ( (comma_expression "puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)" (assignment_expression "puVar4 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) , (binary_expression "puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)" (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(puVar4[1] != 0xc)" ( (binary_expression "puVar4[1] != 0xc" (subscript_expression "puVar4[1]" identifier [ number_literal ]) != number_literal) )))) )) || (parenthesized_expression "(puVar4[6] != param_5)" ( (binary_expression "puVar4[6] != param_5" (subscript_expression "puVar4[6]" identifier [ number_literal ]) != identifier) ))) )) ))) )) (compound_statement "{\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }" { (expression_statement "puVar4 = (undefined4 *)FUN_000237c0(0x20);" (assignment_expression "puVar4 = (undefined4 *)FUN_000237c0(0x20)" identifier = (cast_expression "(undefined4 *)FUN_000237c0(0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000237c0(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "*puVar4 = *param_1;" (assignment_expression "*puVar4 = *param_1" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }" if (parenthesized_expression "(param_2 == (undefined *)0x0)" ( (binary_expression "param_2 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_2 = &DAT_001d06c8;\n    }" { (expression_statement "param_2 = &DAT_001d06c8;" (assignment_expression "param_2 = &DAT_001d06c8" identifier = (pointer_expression "&DAT_001d06c8" & identifier)) ;) })) (expression_statement "*param_1 = puVar4;" (assignment_expression "*param_1 = puVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar4[1] = 0xc;" (assignment_expression "puVar4[1] = 0xc" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[6] = param_5;" (assignment_expression "puVar4[6] = param_5" (subscript_expression "puVar4[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[7] = param_2;" (assignment_expression "puVar4[7] = param_2" (subscript_expression "puVar4[7]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "uVar1 = *(uint *)(param_5 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_5 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_5 + 0x1c)" * (cast_expression "(uint *)(param_5 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x1c)" ( (binary_expression "param_5 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_5 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_5 + 0x20)" identifier = (pointer_expression "*(int *)(param_5 + 0x20)" * (cast_expression "(int *)(param_5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x20)" ( (binary_expression "param_5 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "puVar4[2] = param_6 - uVar1;" (assignment_expression "puVar4[2] = param_6 - uVar1" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (binary_expression "param_6 - uVar1" identifier - identifier)) ;) (expression_statement "puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);" (assignment_expression "puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1)" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (binary_expression "(param_7 - iVar2) - (uint)(param_6 < uVar1)" (parenthesized_expression "(param_7 - iVar2)" ( (binary_expression "param_7 - iVar2" identifier - identifier) )) - (call_expression "(uint)(param_6 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_6 < uVar1)" ( (binary_expression "param_6 < uVar1" identifier < identifier) ))))) ;) (expression_statement "puVar4[4] = param_3;" (assignment_expression "puVar4[4] = param_3" (subscript_expression "puVar4[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[5] = param_4;" (assignment_expression "puVar4[5] = param_4" (subscript_expression "puVar4[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }" if (parenthesized_expression "((*(byte *)(param_5 + 0x15) & 8) == 0)" ( (binary_expression "(*(byte *)(param_5 + 0x15) & 8) == 0" (parenthesized_expression "(*(byte *)(param_5 + 0x15) & 8)" ( (binary_expression "*(byte *)(param_5 + 0x15) & 8" (pointer_expression "*(byte *)(param_5 + 0x15)" * (cast_expression "(byte *)(param_5 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x15)" ( (binary_expression "param_5 + 0x15" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }" { (expression_statement "bVar7 = (byte)DAT_001d072c;" (assignment_expression "bVar7 = (byte)DAT_001d072c" identifier = (cast_expression "(byte)DAT_001d072c" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "uVar8 = param_4 >> (bVar7 & 0x1f);" (assignment_expression "uVar8 = param_4 >> (bVar7 & 0x1f)" identifier = (binary_expression "param_4 >> (bVar7 & 0x1f)" identifier >> (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" identifier = identifier) ;) (expression_statement "uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);" (assignment_expression "uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f)" identifier = (binary_expression "param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f)" (binary_expression "param_3 >> (bVar7 & 0x1f)" identifier >> (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_4 << 0x20 - (bVar7 & 0x1f)" identifier << (binary_expression "0x20 - (bVar7 & 0x1f)" number_literal - (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }" if (parenthesized_expression "((DAT_001d072c & 0x20) != 0)" ( (binary_expression "(DAT_001d072c & 0x20) != 0" (parenthesized_expression "(DAT_001d072c & 0x20)" ( (binary_expression "DAT_001d072c & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" identifier = identifier) ;) })) (expression_statement "uVar5 = (uVar3 + param_6) - uVar1;" (assignment_expression "uVar5 = (uVar3 + param_6) - uVar1" identifier = (binary_expression "(uVar3 + param_6) - uVar1" (parenthesized_expression "(uVar3 + param_6)" ( (binary_expression "uVar3 + param_6" identifier + identifier) )) - identifier)) ;) (expression_statement "uVar6 = uVar5 << (bVar7 & 0x1f);" (assignment_expression "uVar6 = uVar5 << (bVar7 & 0x1f)" identifier = (binary_expression "uVar5 << (bVar7 & 0x1f)" identifier << (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar8 = uVar6;" (assignment_expression "uVar8 = uVar6" identifier = identifier) ;) (expression_statement "uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);" (assignment_expression "uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f)" identifier = (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f)" (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f)" (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1)" (parenthesized_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2)" ( (binary_expression "(uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2" (parenthesized_expression "(uVar9 + param_7 + (uint)CARRY4(uVar3,param_6))" ( (binary_expression "uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)" (binary_expression "uVar9 + param_7" identifier + identifier) + (cast_expression "(uint)CARRY4(uVar3,param_6)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,param_6)" identifier (argument_list "(uVar3,param_6)" ( identifier , identifier ))))) )) - identifier) )) - (call_expression "(uint)(uVar3 + param_6 < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 + param_6 < uVar1)" ( (binary_expression "uVar3 + param_6 < uVar1" (binary_expression "uVar3 + param_6" identifier + identifier) < identifier) )))) << (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) ))) | (binary_expression "uVar5 >> 0x20 - (bVar7 & 0x1f)" identifier >> (binary_expression "0x20 - (bVar7 & 0x1f)" number_literal - (parenthesized_expression "(bVar7 & 0x1f)" ( (binary_expression "bVar7 & 0x1f" identifier & number_literal) )))))) ;) (if_statement "if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }" if (parenthesized_expression "((DAT_001d072c & 0x20) != 0)" ( (binary_expression "(DAT_001d072c & 0x20) != 0" (parenthesized_expression "(DAT_001d072c & 0x20)" ( (binary_expression "DAT_001d072c & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = uVar6;" (assignment_expression "uVar1 = uVar6" identifier = identifier) ;) })) (expression_statement "*(uint *)(param_5 + 0x30) = uVar1;" (assignment_expression "*(uint *)(param_5 + 0x30) = uVar1" (pointer_expression "*(uint *)(param_5 + 0x30)" * (cast_expression "(uint *)(param_5 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x30)" ( (binary_expression "param_5 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_5 + 0x2c) = uVar8;" (assignment_expression "*(uint *)(param_5 + 0x2c) = uVar8" (pointer_expression "*(uint *)(param_5 + 0x2c)" * (cast_expression "(uint *)(param_5 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x2c)" ( (binary_expression "param_5 + 0x2c" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == (pointer_expression & IDENT)) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) | (binary_expression IDENT << (binary_expression LIT - (parenthesized_expression ( (binary_expression IDENT & LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) )) - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) < IDENT) )))) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) | (binary_expression IDENT >> (binary_expression LIT - (parenthesized_expression ( (binary_expression IDENT & LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void __regparm2\nFUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_000239f0(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)" (identifier "FUN_000239f0") (parameter_list "(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,\n            uint param_6,int param_7)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined *param_2" (type_identifier "undefined") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (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  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  uint uVar6;\n  byte bVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }\n  uVar1 = *(uint *)(param_5 + 0x1c);\n  iVar2 = *(int *)(param_5 + 0x20);\n  puVar4[2] = param_6 - uVar1;\n  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);\n  puVar4[4] = param_3;\n  puVar4[5] = param_4;\n  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "byte bVar7;" (type_identifier "byte") (identifier "bVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (if_statement "if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))) {\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }" (if "if") (parenthesized_expression "(((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5))))" (( "(") (binary_expression "((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)) &&\n     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))" (parenthesized_expression "((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5))" (( "(") (binary_expression "(((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||\n      (puVar4 = param_1, param_1[6] != param_5)" (parenthesized_expression "(((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc))" (( "(") (binary_expression "((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)" (parenthesized_expression "((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768))" (( "(") (binary_expression "(param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)" (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_1 == &DAT_001d0768)" (( "(") (binary_expression "param_1 == &DAT_001d0768" (identifier "param_1") (== "==") (pointer_expression "&DAT_001d0768" (& "&") (identifier "DAT_001d0768"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(param_1[1] != 0xc)" (( "(") (binary_expression "param_1[1] != 0xc" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0xc")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(puVar4 = param_1, param_1[6] != param_5)" (( "(") (comma_expression "puVar4 = param_1, param_1[6] != param_5" (assignment_expression "puVar4 = param_1" (identifier "puVar4") (= "=") (identifier "param_1")) (, ",") (binary_expression "param_1[6] != param_5" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (!= "!=") (identifier "param_5"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)))" (( "(") (parenthesized_expression "((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5))" (( "(") (binary_expression "(puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||\n      (puVar4[6] != param_5)" (parenthesized_expression "(puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc))" (( "(") (comma_expression "puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)" (assignment_expression "puVar4 = (undefined4 *)*param_1" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (, ",") (binary_expression "puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)" (binary_expression "puVar4 == (undefined4 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (parenthesized_expression "(puVar4[1] != 0xc)" (( "(") (binary_expression "puVar4[1] != 0xc" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0xc")) () ")")))) () ")")) (|| "||") (parenthesized_expression "(puVar4[6] != param_5)" (( "(") (binary_expression "puVar4[6] != param_5" (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (!= "!=") (identifier "param_5")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)FUN_000237c0(0x20);\n    *puVar4 = *param_1;\n    if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }\n    *param_1 = puVar4;\n    puVar4[1] = 0xc;\n    puVar4[6] = param_5;\n    puVar4[7] = param_2;\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)FUN_000237c0(0x20);" (assignment_expression "puVar4 = (undefined4 *)FUN_000237c0(0x20)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_000237c0(0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000237c0(0x20)" (identifier "FUN_000237c0") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")"))))) (; ";")) (expression_statement "*puVar4 = *param_1;" (assignment_expression "*puVar4 = *param_1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (param_2 == (undefined *)0x0) {\n      param_2 = &DAT_001d06c8;\n    }" (if "if") (parenthesized_expression "(param_2 == (undefined *)0x0)" (( "(") (binary_expression "param_2 == (undefined *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      param_2 = &DAT_001d06c8;\n    }" ({ "{") (expression_statement "param_2 = &DAT_001d06c8;" (assignment_expression "param_2 = &DAT_001d06c8" (identifier "param_2") (= "=") (pointer_expression "&DAT_001d06c8" (& "&") (identifier "DAT_001d06c8"))) (; ";")) (} "}"))) (expression_statement "*param_1 = puVar4;" (assignment_expression "*param_1 = puVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "puVar4")) (; ";")) (expression_statement "puVar4[1] = 0xc;" (assignment_expression "puVar4[1] = 0xc" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0xc")) (; ";")) (expression_statement "puVar4[6] = param_5;" (assignment_expression "puVar4[6] = param_5" (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar4[7] = param_2;" (assignment_expression "puVar4[7] = param_2" (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "uVar1 = *(uint *)(param_5 + 0x1c);" (assignment_expression "uVar1 = *(uint *)(param_5 + 0x1c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_5 + 0x1c)" (* "*") (cast_expression "(uint *)(param_5 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x1c)" (( "(") (binary_expression "param_5 + 0x1c" (identifier "param_5") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_5 + 0x20);" (assignment_expression "iVar2 = *(int *)(param_5 + 0x20)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_5 + 0x20)" (* "*") (cast_expression "(int *)(param_5 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x20)" (( "(") (binary_expression "param_5 + 0x20" (identifier "param_5") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "puVar4[2] = param_6 - uVar1;" (assignment_expression "puVar4[2] = param_6 - uVar1" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_6 - uVar1" (identifier "param_6") (- "-") (identifier "uVar1"))) (; ";")) (expression_statement "puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);" (assignment_expression "puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1)" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "(param_7 - iVar2) - (uint)(param_6 < uVar1)" (parenthesized_expression "(param_7 - iVar2)" (( "(") (binary_expression "param_7 - iVar2" (identifier "param_7") (- "-") (identifier "iVar2")) () ")")) (- "-") (call_expression "(uint)(param_6 < uVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_6 < uVar1)" (( "(") (binary_expression "param_6 < uVar1" (identifier "param_6") (< "<") (identifier "uVar1")) () ")"))))) (; ";")) (expression_statement "puVar4[4] = param_3;" (assignment_expression "puVar4[4] = param_3" (subscript_expression "puVar4[4]" (identifier "puVar4") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar4[5] = param_4;" (assignment_expression "puVar4[5] = param_4" (subscript_expression "puVar4[5]" (identifier "puVar4") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_4")) (; ";")) (if_statement "if ((*(byte *)(param_5 + 0x15) & 8) == 0) {\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_5 + 0x15) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(param_5 + 0x15) & 8) == 0" (parenthesized_expression "(*(byte *)(param_5 + 0x15) & 8)" (( "(") (binary_expression "*(byte *)(param_5 + 0x15) & 8" (pointer_expression "*(byte *)(param_5 + 0x15)" (* "*") (cast_expression "(byte *)(param_5 + 0x15)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x15)" (( "(") (binary_expression "param_5 + 0x15" (identifier "param_5") (+ "+") (number_literal "0x15")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bVar7 = (byte)DAT_001d072c;\n    uVar8 = param_4 >> (bVar7 & 0x1f);\n    uVar9 = uVar8;\n    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }\n    uVar5 = (uVar3 + param_6) - uVar1;\n    uVar6 = uVar5 << (bVar7 & 0x1f);\n    uVar8 = uVar6;\n    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);\n    if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }\n    *(uint *)(param_5 + 0x30) = uVar1;\n    *(uint *)(param_5 + 0x2c) = uVar8;\n  }" ({ "{") (expression_statement "bVar7 = (byte)DAT_001d072c;" (assignment_expression "bVar7 = (byte)DAT_001d072c" (identifier "bVar7") (= "=") (cast_expression "(byte)DAT_001d072c" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_001d072c"))) (; ";")) (expression_statement "uVar8 = param_4 >> (bVar7 & 0x1f);" (assignment_expression "uVar8 = param_4 >> (bVar7 & 0x1f)" (identifier "uVar8") (= "=") (binary_expression "param_4 >> (bVar7 & 0x1f)" (identifier "param_4") (>> ">>") (parenthesized_expression "(bVar7 & 0x1f)" (( "(") (binary_expression "bVar7 & 0x1f" (identifier "bVar7") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" (identifier "uVar9") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);" (assignment_expression "uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f)" (identifier "uVar3") (= "=") (binary_expression "param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f)" (binary_expression "param_3 >> (bVar7 & 0x1f)" (identifier "param_3") (>> ">>") (parenthesized_expression "(bVar7 & 0x1f)" (( "(") (binary_expression "bVar7 & 0x1f" (identifier "bVar7") (& "&") (number_literal "0x1f")) () ")"))) (| "|") (binary_expression "param_4 << 0x20 - (bVar7 & 0x1f)" (identifier "param_4") (<< "<<") (binary_expression "0x20 - (bVar7 & 0x1f)" (number_literal "0x20") (- "-") (parenthesized_expression "(bVar7 & 0x1f)" (( "(") (binary_expression "bVar7 & 0x1f" (identifier "bVar7") (& "&") (number_literal "0x1f")) () ")")))))) (; ";")) (if_statement "if ((DAT_001d072c & 0x20) != 0) {\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }" (if "if") (parenthesized_expression "((DAT_001d072c & 0x20) != 0)" (( "(") (binary_expression "(DAT_001d072c & 0x20) != 0" (parenthesized_expression "(DAT_001d072c & 0x20)" (( "(") (binary_expression "DAT_001d072c & 0x20" (identifier "DAT_001d072c") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar9 = 0;\n      uVar3 = uVar8;\n    }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = uVar8;" (assignment_expression "uVar3 = uVar8" (identifier "uVar3") (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (expression_statement "uVar5 = (uVar3 + param_6) - uVar1;" (assignment_expression "uVar5 = (uVar3 + param_6) - uVar1" (identifier "uVar5") (= "=") (binary_expression "(uVar3 + param_6) - uVar1" (parenthesized_expression "(uVar3 + param_6)" (( "(") (binary_expression "uVar3 + param_6" (identifier "uVar3") (+ "+") (identifier "param_6")) () ")")) (- "-") (identifier "uVar1"))) (; ";")) (expression_statement "uVar6 = uVar5 << (bVar7 & 0x1f);" (assignment_expression "uVar6 = uVar5 << (bVar7 & 0x1f)" (identifier "uVar6") (= "=") (binary_expression "uVar5 << (bVar7 & 0x1f)" (identifier "uVar5") (<< "<<") (parenthesized_expression "(bVar7 & 0x1f)" (( "(") (binary_expression "bVar7 & 0x1f" (identifier "bVar7") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar8 = uVar6;" (assignment_expression "uVar8 = uVar6" (identifier "uVar8") (= "=") (identifier "uVar6")) (; ";")) (expression_statement "uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);" (assignment_expression "uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f)" (identifier "uVar1") (= "=") (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f)" (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f)" (binary_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -\n            (uint)(uVar3 + param_6 < uVar1)" (parenthesized_expression "((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2)" (( "(") (binary_expression "(uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2" (parenthesized_expression "(uVar9 + param_7 + (uint)CARRY4(uVar3,param_6))" (( "(") (binary_expression "uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)" (binary_expression "uVar9 + param_7" (identifier "uVar9") (+ "+") (identifier "param_7")) (+ "+") (cast_expression "(uint)CARRY4(uVar3,param_6)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar3,param_6)" (identifier "CARRY4") (argument_list "(uVar3,param_6)" (( "(") (identifier "uVar3") (, ",") (identifier "param_6") () ")"))))) () ")")) (- "-") (identifier "iVar2")) () ")")) (- "-") (call_expression "(uint)(uVar3 + param_6 < uVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar3 + param_6 < uVar1)" (( "(") (binary_expression "uVar3 + param_6 < uVar1" (binary_expression "uVar3 + param_6" (identifier "uVar3") (+ "+") (identifier "param_6")) (< "<") (identifier "uVar1")) () ")")))) (<< "<<") (parenthesized_expression "(bVar7 & 0x1f)" (( "(") (binary_expression "bVar7 & 0x1f" (identifier "bVar7") (& "&") (number_literal "0x1f")) () ")"))) (| "|") (binary_expression "uVar5 >> 0x20 - (bVar7 & 0x1f)" (identifier "uVar5") (>> ">>") (binary_expression "0x20 - (bVar7 & 0x1f)" (number_literal "0x20") (- "-") (parenthesized_expression "(bVar7 & 0x1f)" (( "(") (binary_expression "bVar7 & 0x1f" (identifier "bVar7") (& "&") (number_literal "0x1f")) () ")")))))) (; ";")) (if_statement "if ((DAT_001d072c & 0x20) != 0) {\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }" (if "if") (parenthesized_expression "((DAT_001d072c & 0x20) != 0)" (( "(") (binary_expression "(DAT_001d072c & 0x20) != 0" (parenthesized_expression "(DAT_001d072c & 0x20)" (( "(") (binary_expression "DAT_001d072c & 0x20" (identifier "DAT_001d072c") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar8 = 0;\n      uVar1 = uVar6;\n    }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = uVar6;" (assignment_expression "uVar1 = uVar6" (identifier "uVar1") (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (expression_statement "*(uint *)(param_5 + 0x30) = uVar1;" (assignment_expression "*(uint *)(param_5 + 0x30) = uVar1" (pointer_expression "*(uint *)(param_5 + 0x30)" (* "*") (cast_expression "(uint *)(param_5 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x30)" (( "(") (binary_expression "param_5 + 0x30" (identifier "param_5") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(uint *)(param_5 + 0x2c) = uVar8;" (assignment_expression "*(uint *)(param_5 + 0x2c) = uVar8" (pointer_expression "*(uint *)(param_5 + 0x2c)" (* "*") (cast_expression "(uint *)(param_5 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x2c)" (( "(") (binary_expression "param_5 + 0x2c" (identifier "param_5") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm2
function_1(type_1 **var_1,type_2 *var_5,type_3 alignment_needed,
          type_4 *output_section,type_5 var_6)

{
  type_6 lVar1;
  type_5 var_10;
  type_1 *var_2;
  type_7 var_11;
  type_8 var_7;
  type_7 uVar6;
  type_7 uVar7;
  
  if (((((var_1 == (type_1 **)0x0) ||
        ((type_9 *)var_1 == &statement_list)) ||
       (var_1[1] != (type_1 *)0xc)) ||
      (var_2 = (type_1 *)var_1,
      var_1[6] != (type_1 *)output_section)) &&
     (((var_2 = *var_1, var_2 == (type_1 *)0x0 ||
       ((var_2->header).type != var_3)) ||
      ((var_2->wild_statement).children.head != (type_10 *)output_section)))) {
    var_2 = (type_1 *)var_4(0x20);
    (var_2->header).next = *var_1;
    if (var_5 == (type_2 *)0x0) {
      var_5 = &function_1::zero_fill;
    }
    *var_1 = var_2;
    (var_2->header).type = var_3;
    (var_2->data_statement).output_section = output_section;
    (var_2->padding_statement).var_5 = var_5;
  }
  var_10 = output_section->vma;
  (var_2->padding_statement).output_offset = var_6 - output_section->vma;
  (var_2->padding_statement).size = alignment_needed;
  if ((output_section->flags & 0x800) == 0) {
    var_7 = (type_8)var_8;
    uVar6 = alignment_needed._4_4_ >> (var_7 & 0x1f);
    uVar7 = uVar6;
    var_11 = (type_7)alignment_needed >> (var_7 & 0x1f) |
            alignment_needed._4_4_ << 0x20 - (var_7 & 0x1f);
    if ((var_8 & 0x20) != 0) {
      uVar7 = 0;
      var_11 = uVar6;
    }
    lVar1 = (var_6 + var_9(uVar7,var_11)) - var_10;
    var_11 = (type_7)lVar1;
    uVar6 = var_11 << (var_7 & 0x1f);
    uVar7 = uVar6;
    var_11 = (int)((type_11)lVar1 >> 0x20) << (var_7 & 0x1f) | var_11 >> 0x20 - (var_7 & 0x1f);
    if ((var_8 & 0x20) != 0) {
      uVar7 = 0;
      var_11 = uVar6;
    }
    *(type_7 *)((int)&output_section->size + 4) = var_11;
    *(type_7 *)&output_section->size = uVar7;
  }
  return;
}


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

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

void __regparm2
MASKED(undefined4 *param_1,undefined *param_2,uint param_3,uint param_4,int param_5,
            uint param_6,int param_7)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  undefined4 *puVar4;
  uint uVar5;
  uint uVar6;
  byte bVar7;
  uint uVar8;
  uint uVar9;
  
  if (((((param_1 == (undefined4 *)0x0) || (param_1 == &DAT_001d0768)) || (param_1[1] != 0xc)) ||
      (puVar4 = param_1, param_1[6] != param_5)) &&
     (((puVar4 = (undefined4 *)*param_1, puVar4 == (undefined4 *)0x0 || (puVar4[1] != 0xc)) ||
      (puVar4[6] != param_5)))) {
    puVar4 = (undefined4 *)FUN_000237c0(0x20);
    *puVar4 = *param_1;
    if (param_2 == (undefined *)0x0) {
      param_2 = &DAT_001d06c8;
    }
    *param_1 = puVar4;
    puVar4[1] = 0xc;
    puVar4[6] = param_5;
    puVar4[7] = param_2;
  }
  uVar1 = *(uint *)(param_5 + 0x1c);
  iVar2 = *(int *)(param_5 + 0x20);
  puVar4[2] = param_6 - uVar1;
  puVar4[3] = (param_7 - iVar2) - (uint)(param_6 < uVar1);
  puVar4[4] = param_3;
  puVar4[5] = param_4;
  if ((*(byte *)(param_5 + 0x15) & 8) == 0) {
    bVar7 = (byte)DAT_001d072c;
    uVar8 = param_4 >> (bVar7 & 0x1f);
    uVar9 = uVar8;
    uVar3 = param_3 >> (bVar7 & 0x1f) | param_4 << 0x20 - (bVar7 & 0x1f);
    if ((DAT_001d072c & 0x20) != 0) {
      uVar9 = 0;
      uVar3 = uVar8;
    }
    uVar5 = (uVar3 + param_6) - uVar1;
    uVar6 = uVar5 << (bVar7 & 0x1f);
    uVar8 = uVar6;
    uVar1 = ((uVar9 + param_7 + (uint)CARRY4(uVar3,param_6)) - iVar2) -
            (uint)(uVar3 + param_6 < uVar1) << (bVar7 & 0x1f) | uVar5 >> 0x20 - (bVar7 & 0x1f);
    if ((DAT_001d072c & 0x20) != 0) {
      uVar8 = 0;
      uVar1 = uVar6;
    }
    *(uint *)(param_5 + 0x30) = uVar1;
    *(uint *)(param_5 + 0x2c) = uVar8;
  }
  return;
}

