
/* DWARF original name: write_symbol<64, true>
   DWARF original prototype: void write_symbol<64,_true>(Binary_to_elf * this, string * name,
   Stringpool * strtab, section_size_type value, Elf_WXword st_size, uint shndx, uchar * * ppout) */

void __thiscall
gold::Binary_to_elf::write_symbol<64,_true>
          (Binary_to_elf *this,string *name,Stringpool *strtab,section_size_type value,
          Elf_WXword st_size,uint shndx,uchar **ppout)

{
  uint *puVar1;
  size_type sVar2;
  uint uVar3;
  section_offset_type sVar4;
  uint *puVar5;
  ulong uVar6;
  
  uVar3 = 0;
  puVar1 = (uint *)*ppout;
  puVar5 = puVar1;
  if (name->_M_string_length != 0) {
    sVar4 = Stringpool_template<char>::get_offset(strtab,(name->_M_dataplus)._M_p);
    puVar5 = (uint *)*ppout;
    uVar3 = (uint)sVar4;
    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
  }
  uVar6 = (ulong)st_size;
  *puVar1 = uVar3;
  *(section_size_type *)(puVar1 + 2) =
       value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |
       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8 | (value & 0xff0000) << 0x18 |
       (value & 0xff00) << 0x28 | value << 0x38;
  *(ulong *)(puVar1 + 4) =
       (uVar6 & 0xff000000) << 8 | (uVar6 & 0xff0000) << 0x18 | (uVar6 & 0xff00) << 0x28 |
       uVar6 << 0x38;
  sVar2 = name->_M_string_length;
  *(undefined1 *)((long)puVar1 + 5) = 0;
  *(ushort *)((long)puVar1 + 6) = (ushort)shndx << 8 | (ushort)shndx >> 8;
  *(char *)(puVar1 + 1) = (sVar2 != 0) << 4;
  *ppout = (uchar *)(puVar5 + 6);
  return;
}



void FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,
                 ulong param_5,ushort param_6,long *param_7)

{
  uint *puVar1;
  long lVar2;
  uint uVar3;
  uint *puVar4;
  
  uVar3 = 0;
  puVar1 = (uint *)*param_7;
  puVar4 = puVar1;
  if (param_2[1] != 0) {
    uVar3 = FUN_0026df10(param_3,*param_2);
    puVar4 = (uint *)*param_7;
    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
    param_5 = param_5 & 0xffffffff;
  }
  *puVar1 = uVar3;
  *(ulong *)(puVar1 + 2) =
       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |
       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |
       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;
  *(ulong *)(puVar1 + 4) =
       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |
       param_5 << 0x38;
  lVar2 = param_2[1];
  *(undefined1 *)((long)puVar1 + 5) = 0;
  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;
  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;
  *param_7 = (long)(puVar4 + 6);
  return;
}


PUSH R13
XOR EAX,EAX
MOV R13,RCX
PUSH R12
MOV R12,RSI
PUSH RBP
PUSH RBX
SUB RSP,0x18
CMP qword ptr [R12 + 0x8],0x0
MOV RBP,qword ptr [RSP + 0x40]
MOV RBX,qword ptr [RBP]
MOV RSI,RBX
JNZ 0x00291940
MOV R8D,R8D
MOV dword ptr [RBX],EAX
BSWAP R13
BSWAP R8
MOV qword ptr [RBX + 0x8],R13
MOV qword ptr [RBX + 0x10],R8
CMP qword ptr [R12 + 0x8],0x0
SETNZ AL
ROL R9W,0x8
ADD RSI,0x18
MOV byte ptr [RBX + 0x5],0x0
SHL EAX,0x4
MOV word ptr [RBX + 0x6],R9W
MOV byte ptr [RBX + 0x4],AL
MOV qword ptr [RBP],RSI
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RSI,qword ptr [R12]
MOV RDI,RDX
MOV dword ptr [RSP + 0xc],R9D
MOV dword ptr [RSP + 0x8],R8D
CALL 0x0026df10
MOV RSI,qword ptr [RBP]
MOV R9D,dword ptr [RSP + 0xc]
BSWAP EAX
MOV R8D,dword ptr [RSP + 0x8]
JMP 0x002918f6
(translation_unit "void FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)\n\n{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}\n\n" (function_definition "void FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)\n\n{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}" primitive_type (function_declarator "FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)" identifier (parameter_list "(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) , (parameter_declaration "ulong param_5" type_identifier identifier) , (parameter_declaration "ushort param_6" type_identifier identifier) , (parameter_declaration "long *param_7" (sized_type_specifier "long" long) (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (uint *)*param_7;" (assignment_expression "puVar1 = (uint *)*param_7" identifier = (cast_expression "(uint *)*param_7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }" { (expression_statement "uVar3 = FUN_0026df10(param_3,*param_2);" (assignment_expression "uVar3 = FUN_0026df10(param_3,*param_2)" identifier = (call_expression "FUN_0026df10(param_3,*param_2)" identifier (argument_list "(param_3,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) )))) ;) (expression_statement "puVar4 = (uint *)*param_7;" (assignment_expression "puVar4 = (uint *)*param_7" identifier = (cast_expression "(uint *)*param_7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" identifier = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "param_5 = param_5 & 0xffffffff;" (assignment_expression "param_5 = param_5 & 0xffffffff" identifier = (binary_expression "param_5 & 0xffffffff" identifier & number_literal)) ;) })) (expression_statement "*puVar1 = uVar3;" (assignment_expression "*puVar1 = uVar3" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;" (assignment_expression "*(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38" (pointer_expression "*(ulong *)(puVar1 + 2)" * (cast_expression "(ulong *)(puVar1 + 2)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28" (binary_expression "param_4 >> 0x38" identifier >> number_literal) | (binary_expression "(param_4 & 0xff000000000000) >> 0x28" (parenthesized_expression "(param_4 & 0xff000000000000)" ( (binary_expression "param_4 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff0000000000) >> 0x18" (parenthesized_expression "(param_4 & 0xff0000000000)" ( (binary_expression "param_4 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff00000000) >> 8" (parenthesized_expression "(param_4 & 0xff00000000)" ( (binary_expression "param_4 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff000000) << 8" (parenthesized_expression "(param_4 & 0xff000000)" ( (binary_expression "param_4 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(param_4 & 0xff0000) << 0x18" (parenthesized_expression "(param_4 & 0xff0000)" ( (binary_expression "param_4 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(param_4 & 0xff00) << 0x28" (parenthesized_expression "(param_4 & 0xff00)" ( (binary_expression "param_4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_4 << 0x38" identifier << number_literal))) ;) (expression_statement "*(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;" (assignment_expression "*(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38" (pointer_expression "*(ulong *)(puVar1 + 4)" * (cast_expression "(ulong *)(puVar1 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38" (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28" (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18" (binary_expression "(param_5 & 0xff000000) << 8" (parenthesized_expression "(param_5 & 0xff000000)" ( (binary_expression "param_5 & 0xff000000" identifier & number_literal) )) << number_literal) | (binary_expression "(param_5 & 0xff0000) << 0x18" (parenthesized_expression "(param_5 & 0xff0000)" ( (binary_expression "param_5 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(param_5 & 0xff00) << 0x28" (parenthesized_expression "(param_5 & 0xff00)" ( (binary_expression "param_5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_5 << 0x38" identifier << number_literal))) ;) (expression_statement "lVar2 = param_2[1];" (assignment_expression "lVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 *)((long)puVar1 + 5) = 0;" (assignment_expression "*(undefined1 *)((long)puVar1 + 5) = 0" (pointer_expression "*(undefined1 *)((long)puVar1 + 5)" * (cast_expression "(undefined1 *)((long)puVar1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 5)" ( (binary_expression "(long)puVar1 + 5" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;" (assignment_expression "*(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8" (pointer_expression "*(ushort *)((long)puVar1 + 6)" * (cast_expression "(ushort *)((long)puVar1 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 6)" ( (binary_expression "(long)puVar1 + 6" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "param_6 << 8 | param_6 >> 8" (binary_expression "param_6 << 8" identifier << number_literal) | (binary_expression "param_6 >> 8" identifier >> number_literal))) ;) (expression_statement "*(char *)(puVar1 + 1) = (lVar2 != 0) << 4;" (assignment_expression "*(char *)(puVar1 + 1) = (lVar2 != 0) << 4" (pointer_expression "*(char *)(puVar1 + 1)" * (cast_expression "(char *)(puVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = (binary_expression "(lVar2 != 0) << 4" (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) << number_literal)) ;) (expression_statement "*param_7 = (long)(puVar4 + 6);" (assignment_expression "*param_7 = (long)(puVar4 + 6)" (pointer_expression "*param_7" * identifier) = (cast_expression "(long)(puVar4 + 6)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar4 + 6)" ( (binary_expression "puVar4 + 6" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original name: write_symbol<64, true>\n   DWARF original prototype: void write_symbol<64,_true>(Binary_to_elf * this, string * name,\n   Stringpool * strtab, section_size_type value, Elf_WXword st_size, uint shndx, uchar * * ppout) */\n\nvoid __thiscall\ngold::Binary_to_elf::write_symbol<64,_true>\n          (Binary_to_elf *this,string *name,Stringpool *strtab,section_size_type value,\n          Elf_WXword st_size,uint shndx,uchar **ppout)\n\n{\n  uint *puVar1;\n  size_type sVar2;\n  uint uVar3;\n  section_offset_type sVar4;\n  uint *puVar5;\n  ulong uVar6;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*ppout;\n  puVar5 = puVar1;\n  if (name->_M_string_length != 0) {\n    sVar4 = Stringpool_template<char>::get_offset(strtab,(name->_M_dataplus)._M_p);\n    puVar5 = (uint *)*ppout;\n    uVar3 = (uint)sVar4;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  }\n  uVar6 = (ulong)st_size;\n  *puVar1 = uVar3;\n  *(section_size_type *)(puVar1 + 2) =\n       value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8 | (value & 0xff0000) << 0x18 |\n       (value & 0xff00) << 0x28 | value << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (uVar6 & 0xff000000) << 8 | (uVar6 & 0xff0000) << 0x18 | (uVar6 & 0xff00) << 0x28 |\n       uVar6 << 0x38;\n  sVar2 = name->_M_string_length;\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = (ushort)shndx << 8 | (ushort)shndx >> 8;\n  *(char *)(puVar1 + 1) = (sVar2 != 0) << 4;\n  *ppout = (uchar *)(puVar5 + 6);\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Binary_to_elf::write_symbol<64,_true>\n          (Binary_to_elf *this,string *name,Stringpool *strtab,section_size_type value,\n          Elf_WXword st_size,uint shndx,uchar **ppout)\n\n{\n  uint *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Binary_to_elf::" identifier : : identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>\n          (Binary_to_elf *this,string *name,Stringpool *strtab,section_size_type value,\n          Elf_WXword st_size,uint shndx,uchar **ppout)\n\n{\n  uint" (function_declarator "_true>\n          (Binary_to_elf *this,string *name,Stringpool *strtab,section_size_type value,\n          Elf_WXword st_size,uint shndx,uchar **ppout)" identifier (ERROR ">" >) (parameter_list "(Binary_to_elf *this,string *name,Stringpool *strtab,section_size_type value,\n          Elf_WXword st_size,uint shndx,uchar **ppout)" ( (parameter_declaration "Binary_to_elf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *name" type_identifier (pointer_declarator "*name" * identifier)) , (parameter_declaration "Stringpool *strtab" type_identifier (pointer_declarator "*strtab" * identifier)) , (parameter_declaration "section_size_type value" type_identifier identifier) , (parameter_declaration "Elf_WXword st_size" type_identifier identifier) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "uchar **ppout" type_identifier (pointer_declarator "**ppout" * (pointer_declarator "*ppout" * identifier))) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_type sVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "section_offset_type sVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (uint *)*ppout;" (assignment_expression "puVar1 = (uint *)*ppout" identifier = (cast_expression "(uint *)*ppout" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppout" * identifier))) ;) (expression_statement "puVar5 = puVar1;" (assignment_expression "puVar5 = puVar1" identifier = identifier) ;) (if_statement "if (name->_M_string_length != 0) {\n    sVar4 = Stringpool_template<char>::get_offset(strtab,(name->_M_dataplus)._M_p);\n    puVar5 = (uint *)*ppout;\n    uVar3 = (uint)sVar4;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  }" if (parenthesized_expression "(name->_M_string_length != 0)" ( (binary_expression "name->_M_string_length != 0" (field_expression "name->_M_string_length" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    sVar4 = Stringpool_template<char>::get_offset(strtab,(name->_M_dataplus)._M_p);\n    puVar5 = (uint *)*ppout;\n    uVar3 = (uint)sVar4;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  }" { (expression_statement "sVar4 = Stringpool_template<char>::get_offset(strtab,(name->_M_dataplus)._M_p);" (assignment_expression "sVar4 = Stringpool_template<char>::get_offset(strtab,(name->_M_dataplus)._M_p)" identifier = (binary_expression "Stringpool_template<char>::get_offset(strtab,(name->_M_dataplus)._M_p)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "get_offset(strtab,(name->_M_dataplus)._M_p)" identifier (argument_list "(strtab,(name->_M_dataplus)._M_p)" ( identifier , (field_expression "(name->_M_dataplus)._M_p" (parenthesized_expression "(name->_M_dataplus)" ( (field_expression "name->_M_dataplus" identifier -> field_identifier) )) . field_identifier) ))))) ;) (expression_statement "puVar5 = (uint *)*ppout;" (assignment_expression "puVar5 = (uint *)*ppout" identifier = (cast_expression "(uint *)*ppout" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppout" * identifier))) ;) (expression_statement "uVar3 = (uint)sVar4;" (assignment_expression "uVar3 = (uint)sVar4" identifier = (cast_expression "(uint)sVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" identifier = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) })) (expression_statement "uVar6 = (ulong)st_size;" (assignment_expression "uVar6 = (ulong)st_size" identifier = (cast_expression "(ulong)st_size" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "*puVar1 = uVar3;" (assignment_expression "*puVar1 = uVar3" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(section_size_type *)(puVar1 + 2) =\n       value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8 | (value & 0xff0000) << 0x18 |\n       (value & 0xff00) << 0x28 | value << 0x38;" (assignment_expression "*(section_size_type *)(puVar1 + 2) =\n       value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8 | (value & 0xff0000) << 0x18 |\n       (value & 0xff00) << 0x28 | value << 0x38" (pointer_expression "*(section_size_type *)(puVar1 + 2)" * (cast_expression "(section_size_type *)(puVar1 + 2)" ( (type_descriptor "section_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = (binary_expression "value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8 | (value & 0xff0000) << 0x18 |\n       (value & 0xff00) << 0x28 | value << 0x38" (binary_expression "value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8 | (value & 0xff0000) << 0x18 |\n       (value & 0xff00) << 0x28" (binary_expression "value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8 | (value & 0xff0000) << 0x18" (binary_expression "value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8 | (value & 0xff000000) << 8" (binary_expression "value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18 |\n       (value & 0xff00000000) >> 8" (binary_expression "value >> 0x38 | (value & 0xff000000000000) >> 0x28 | (value & 0xff0000000000) >> 0x18" (binary_expression "value >> 0x38 | (value & 0xff000000000000) >> 0x28" (binary_expression "value >> 0x38" identifier >> number_literal) | (binary_expression "(value & 0xff000000000000) >> 0x28" (parenthesized_expression "(value & 0xff000000000000)" ( (binary_expression "value & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(value & 0xff0000000000) >> 0x18" (parenthesized_expression "(value & 0xff0000000000)" ( (binary_expression "value & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(value & 0xff00000000) >> 8" (parenthesized_expression "(value & 0xff00000000)" ( (binary_expression "value & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(value & 0xff000000) << 8" (parenthesized_expression "(value & 0xff000000)" ( (binary_expression "value & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(value & 0xff0000) << 0x18" (parenthesized_expression "(value & 0xff0000)" ( (binary_expression "value & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(value & 0xff00) << 0x28" (parenthesized_expression "(value & 0xff00)" ( (binary_expression "value & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "value << 0x38" identifier << number_literal))) ;) (expression_statement "*(ulong *)(puVar1 + 4) =\n       (uVar6 & 0xff000000) << 8 | (uVar6 & 0xff0000) << 0x18 | (uVar6 & 0xff00) << 0x28 |\n       uVar6 << 0x38;" (assignment_expression "*(ulong *)(puVar1 + 4) =\n       (uVar6 & 0xff000000) << 8 | (uVar6 & 0xff0000) << 0x18 | (uVar6 & 0xff00) << 0x28 |\n       uVar6 << 0x38" (pointer_expression "*(ulong *)(puVar1 + 4)" * (cast_expression "(ulong *)(puVar1 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = (binary_expression "(uVar6 & 0xff000000) << 8 | (uVar6 & 0xff0000) << 0x18 | (uVar6 & 0xff00) << 0x28 |\n       uVar6 << 0x38" (binary_expression "(uVar6 & 0xff000000) << 8 | (uVar6 & 0xff0000) << 0x18 | (uVar6 & 0xff00) << 0x28" (binary_expression "(uVar6 & 0xff000000) << 8 | (uVar6 & 0xff0000) << 0x18" (binary_expression "(uVar6 & 0xff000000) << 8" (parenthesized_expression "(uVar6 & 0xff000000)" ( (binary_expression "uVar6 & 0xff000000" identifier & number_literal) )) << number_literal) | (binary_expression "(uVar6 & 0xff0000) << 0x18" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar6 & 0xff00) << 0x28" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x38" identifier << number_literal))) ;) (expression_statement "sVar2 = name->_M_string_length;" (assignment_expression "sVar2 = name->_M_string_length" identifier = (field_expression "name->_M_string_length" identifier -> field_identifier)) ;) (expression_statement "*(undefined1 *)((long)puVar1 + 5) = 0;" (assignment_expression "*(undefined1 *)((long)puVar1 + 5) = 0" (pointer_expression "*(undefined1 *)((long)puVar1 + 5)" * (cast_expression "(undefined1 *)((long)puVar1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 5)" ( (binary_expression "(long)puVar1 + 5" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(ushort *)((long)puVar1 + 6) = (ushort)shndx << 8 | (ushort)shndx >> 8;" (assignment_expression "*(ushort *)((long)puVar1 + 6) = (ushort)shndx << 8 | (ushort)shndx >> 8" (pointer_expression "*(ushort *)((long)puVar1 + 6)" * (cast_expression "(ushort *)((long)puVar1 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 6)" ( (binary_expression "(long)puVar1 + 6" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "(ushort)shndx << 8 | (ushort)shndx >> 8" (binary_expression "(ushort)shndx << 8" (cast_expression "(ushort)shndx" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)shndx >> 8" (cast_expression "(ushort)shndx" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (expression_statement "*(char *)(puVar1 + 1) = (sVar2 != 0) << 4;" (assignment_expression "*(char *)(puVar1 + 1) = (sVar2 != 0) << 4" (pointer_expression "*(char *)(puVar1 + 1)" * (cast_expression "(char *)(puVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = (binary_expression "(sVar2 != 0) << 4" (parenthesized_expression "(sVar2 != 0)" ( (binary_expression "sVar2 != 0" identifier != number_literal) )) << number_literal)) ;) (expression_statement "*ppout = (uchar *)(puVar5 + 6);" (assignment_expression "*ppout = (uchar *)(puVar5 + 6)" (pointer_expression "*ppout" * identifier) = (cast_expression "(uchar *)(puVar5 + 6)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 6)" ( (binary_expression "puVar5 + 6" identifier + number_literal) )))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)\n\n{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}\n\n" (function_definition "void FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)\n\n{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}" primitive_type (function_declarator "FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)" identifier (parameter_list "(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) , (parameter_declaration "ulong param_5" type_identifier identifier) , (parameter_declaration "ushort param_6" type_identifier identifier) , (parameter_declaration "long *param_7" (sized_type_specifier "long" long) (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (uint *)*param_7;" (assignment_expression "puVar1 = (uint *)*param_7" identifier = (cast_expression "(uint *)*param_7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }" { (expression_statement "uVar3 = FUN_0026df10(param_3,*param_2);" (assignment_expression "uVar3 = FUN_0026df10(param_3,*param_2)" identifier = (call_expression "FUN_0026df10(param_3,*param_2)" identifier (argument_list "(param_3,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) )))) ;) (expression_statement "puVar4 = (uint *)*param_7;" (assignment_expression "puVar4 = (uint *)*param_7" identifier = (cast_expression "(uint *)*param_7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" identifier = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "param_5 = param_5 & 0xffffffff;" (assignment_expression "param_5 = param_5 & 0xffffffff" identifier = (binary_expression "param_5 & 0xffffffff" identifier & number_literal)) ;) })) (expression_statement "*puVar1 = uVar3;" (assignment_expression "*puVar1 = uVar3" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;" (assignment_expression "*(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38" (pointer_expression "*(ulong *)(puVar1 + 2)" * (cast_expression "(ulong *)(puVar1 + 2)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28" (binary_expression "param_4 >> 0x38" identifier >> number_literal) | (binary_expression "(param_4 & 0xff000000000000) >> 0x28" (parenthesized_expression "(param_4 & 0xff000000000000)" ( (binary_expression "param_4 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff0000000000) >> 0x18" (parenthesized_expression "(param_4 & 0xff0000000000)" ( (binary_expression "param_4 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff00000000) >> 8" (parenthesized_expression "(param_4 & 0xff00000000)" ( (binary_expression "param_4 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff000000) << 8" (parenthesized_expression "(param_4 & 0xff000000)" ( (binary_expression "param_4 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(param_4 & 0xff0000) << 0x18" (parenthesized_expression "(param_4 & 0xff0000)" ( (binary_expression "param_4 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(param_4 & 0xff00) << 0x28" (parenthesized_expression "(param_4 & 0xff00)" ( (binary_expression "param_4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_4 << 0x38" identifier << number_literal))) ;) (expression_statement "*(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;" (assignment_expression "*(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38" (pointer_expression "*(ulong *)(puVar1 + 4)" * (cast_expression "(ulong *)(puVar1 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38" (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28" (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18" (binary_expression "(param_5 & 0xff000000) << 8" (parenthesized_expression "(param_5 & 0xff000000)" ( (binary_expression "param_5 & 0xff000000" identifier & number_literal) )) << number_literal) | (binary_expression "(param_5 & 0xff0000) << 0x18" (parenthesized_expression "(param_5 & 0xff0000)" ( (binary_expression "param_5 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(param_5 & 0xff00) << 0x28" (parenthesized_expression "(param_5 & 0xff00)" ( (binary_expression "param_5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_5 << 0x38" identifier << number_literal))) ;) (expression_statement "lVar2 = param_2[1];" (assignment_expression "lVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 *)((long)puVar1 + 5) = 0;" (assignment_expression "*(undefined1 *)((long)puVar1 + 5) = 0" (pointer_expression "*(undefined1 *)((long)puVar1 + 5)" * (cast_expression "(undefined1 *)((long)puVar1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 5)" ( (binary_expression "(long)puVar1 + 5" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;" (assignment_expression "*(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8" (pointer_expression "*(ushort *)((long)puVar1 + 6)" * (cast_expression "(ushort *)((long)puVar1 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 6)" ( (binary_expression "(long)puVar1 + 6" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "param_6 << 8 | param_6 >> 8" (binary_expression "param_6 << 8" identifier << number_literal) | (binary_expression "param_6 >> 8" identifier >> number_literal))) ;) (expression_statement "*(char *)(puVar1 + 1) = (lVar2 != 0) << 4;" (assignment_expression "*(char *)(puVar1 + 1) = (lVar2 != 0) << 4" (pointer_expression "*(char *)(puVar1 + 1)" * (cast_expression "(char *)(puVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) )))) = (binary_expression "(lVar2 != 0) << 4" (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) << number_literal)) ;) (expression_statement "*param_7 = (long)(puVar4 + 6);" (assignment_expression "*param_7 = (long)(puVar4 + 6)" (pointer_expression "*param_7" * identifier) = (cast_expression "(long)(puVar4 + 6)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar4 + 6)" ( (binary_expression "puVar4 + 6" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE 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 (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) << LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return ;) })))
(function_definition "void FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)\n\n{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002918d0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)" (identifier "FUN_002918d0") (parameter_list "(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,\n                 ulong param_5,ushort param_6,long *param_7)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "ulong param_4" (type_identifier "ulong") (identifier "param_4")) (, ",") (parameter_declaration "ulong param_5" (type_identifier "ulong") (identifier "param_5")) (, ",") (parameter_declaration "ushort param_6" (type_identifier "ushort") (identifier "param_6")) (, ",") (parameter_declaration "long *param_7" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  uint *puVar1;\n  long lVar2;\n  uint uVar3;\n  uint *puVar4;\n  \n  uVar3 = 0;\n  puVar1 = (uint *)*param_7;\n  puVar4 = puVar1;\n  if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }\n  *puVar1 = uVar3;\n  *(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;\n  *(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;\n  lVar2 = param_2[1];\n  *(undefined1 *)((long)puVar1 + 5) = 0;\n  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;\n  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;\n  *param_7 = (long)(puVar4 + 6);\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = (uint *)*param_7;" (assignment_expression "puVar1 = (uint *)*param_7" (identifier "puVar1") (= "=") (cast_expression "(uint *)*param_7" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_7" (* "*") (identifier "param_7")))) (; ";")) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (param_2[1] != 0) {\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }" (if "if") (parenthesized_expression "(param_2[1] != 0)" (( "(") (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = FUN_0026df10(param_3,*param_2);\n    puVar4 = (uint *)*param_7;\n    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_5 = param_5 & 0xffffffff;\n  }" ({ "{") (expression_statement "uVar3 = FUN_0026df10(param_3,*param_2);" (assignment_expression "uVar3 = FUN_0026df10(param_3,*param_2)" (identifier "uVar3") (= "=") (call_expression "FUN_0026df10(param_3,*param_2)" (identifier "FUN_0026df10") (argument_list "(param_3,*param_2)" (( "(") (identifier "param_3") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "puVar4 = (uint *)*param_7;" (assignment_expression "puVar4 = (uint *)*param_7" (identifier "puVar4") (= "=") (cast_expression "(uint *)*param_7" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_7" (* "*") (identifier "param_7")))) (; ";")) (expression_statement "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (identifier "uVar3") (= "=") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "param_5 = param_5 & 0xffffffff;" (assignment_expression "param_5 = param_5 & 0xffffffff" (identifier "param_5") (= "=") (binary_expression "param_5 & 0xffffffff" (identifier "param_5") (& "&") (number_literal "0xffffffff"))) (; ";")) (} "}"))) (expression_statement "*puVar1 = uVar3;" (assignment_expression "*puVar1 = uVar3" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;" (assignment_expression "*(ulong *)(puVar1 + 2) =\n       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38" (pointer_expression "*(ulong *)(puVar1 + 2)" (* "*") (cast_expression "(ulong *)(puVar1 + 2)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28 | param_4 << 0x38" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |\n       (param_4 & 0xff00) << 0x28" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |\n       (param_4 & 0xff00000000) >> 8" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18" (binary_expression "param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28" (binary_expression "param_4 >> 0x38" (identifier "param_4") (>> ">>") (number_literal "0x38")) (| "|") (binary_expression "(param_4 & 0xff000000000000) >> 0x28" (parenthesized_expression "(param_4 & 0xff000000000000)" (( "(") (binary_expression "param_4 & 0xff000000000000" (identifier "param_4") (& "&") (number_literal "0xff000000000000")) () ")")) (>> ">>") (number_literal "0x28"))) (| "|") (binary_expression "(param_4 & 0xff0000000000) >> 0x18" (parenthesized_expression "(param_4 & 0xff0000000000)" (( "(") (binary_expression "param_4 & 0xff0000000000" (identifier "param_4") (& "&") (number_literal "0xff0000000000")) () ")")) (>> ">>") (number_literal "0x18"))) (| "|") (binary_expression "(param_4 & 0xff00000000) >> 8" (parenthesized_expression "(param_4 & 0xff00000000)" (( "(") (binary_expression "param_4 & 0xff00000000" (identifier "param_4") (& "&") (number_literal "0xff00000000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_4 & 0xff000000) << 8" (parenthesized_expression "(param_4 & 0xff000000)" (( "(") (binary_expression "param_4 & 0xff000000" (identifier "param_4") (& "&") (number_literal "0xff000000")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "(param_4 & 0xff0000) << 0x18" (parenthesized_expression "(param_4 & 0xff0000)" (( "(") (binary_expression "param_4 & 0xff0000" (identifier "param_4") (& "&") (number_literal "0xff0000")) () ")")) (<< "<<") (number_literal "0x18"))) (| "|") (binary_expression "(param_4 & 0xff00) << 0x28" (parenthesized_expression "(param_4 & 0xff00)" (( "(") (binary_expression "param_4 & 0xff00" (identifier "param_4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "0x28"))) (| "|") (binary_expression "param_4 << 0x38" (identifier "param_4") (<< "<<") (number_literal "0x38")))) (; ";")) (expression_statement "*(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38;" (assignment_expression "*(ulong *)(puVar1 + 4) =\n       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38" (pointer_expression "*(ulong *)(puVar1 + 4)" (* "*") (cast_expression "(ulong *)(puVar1 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |\n       param_5 << 0x38" (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28" (binary_expression "(param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18" (binary_expression "(param_5 & 0xff000000) << 8" (parenthesized_expression "(param_5 & 0xff000000)" (( "(") (binary_expression "param_5 & 0xff000000" (identifier "param_5") (& "&") (number_literal "0xff000000")) () ")")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(param_5 & 0xff0000) << 0x18" (parenthesized_expression "(param_5 & 0xff0000)" (( "(") (binary_expression "param_5 & 0xff0000" (identifier "param_5") (& "&") (number_literal "0xff0000")) () ")")) (<< "<<") (number_literal "0x18"))) (| "|") (binary_expression "(param_5 & 0xff00) << 0x28" (parenthesized_expression "(param_5 & 0xff00)" (( "(") (binary_expression "param_5 & 0xff00" (identifier "param_5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "0x28"))) (| "|") (binary_expression "param_5 << 0x38" (identifier "param_5") (<< "<<") (number_literal "0x38")))) (; ";")) (expression_statement "lVar2 = param_2[1];" (assignment_expression "lVar2 = param_2[1]" (identifier "lVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined1 *)((long)puVar1 + 5) = 0;" (assignment_expression "*(undefined1 *)((long)puVar1 + 5) = 0" (pointer_expression "*(undefined1 *)((long)puVar1 + 5)" (* "*") (cast_expression "(undefined1 *)((long)puVar1 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar1 + 5)" (( "(") (binary_expression "(long)puVar1 + 5" (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1")) (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;" (assignment_expression "*(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8" (pointer_expression "*(ushort *)((long)puVar1 + 6)" (* "*") (cast_expression "(ushort *)((long)puVar1 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar1 + 6)" (( "(") (binary_expression "(long)puVar1 + 6" (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1")) (+ "+") (number_literal "6")) () ")")))) (= "=") (binary_expression "param_6 << 8 | param_6 >> 8" (binary_expression "param_6 << 8" (identifier "param_6") (<< "<<") (number_literal "8")) (| "|") (binary_expression "param_6 >> 8" (identifier "param_6") (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "*(char *)(puVar1 + 1) = (lVar2 != 0) << 4;" (assignment_expression "*(char *)(puVar1 + 1) = (lVar2 != 0) << 4" (pointer_expression "*(char *)(puVar1 + 1)" (* "*") (cast_expression "(char *)(puVar1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "(lVar2 != 0) << 4" (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (<< "<<") (number_literal "4"))) (; ";")) (expression_statement "*param_7 = (long)(puVar4 + 6);" (assignment_expression "*param_7 = (long)(puVar4 + 6)" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (cast_expression "(long)(puVar4 + 6)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(puVar4 + 6)" (( "(") (binary_expression "puVar4 + 6" (identifier "puVar4") (+ "+") (number_literal "6")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original name: write_symbol<64, true>
   DWARF original prototype: void write_symbol<64,_true>(Binary_to_elf * this, string * name,
   Stringpool * strtab, section_size_type value, Elf_WXword st_size, uint shndx, uchar * * ppout) */

void __thiscall
gold::Binary_to_elf::write_symbol<64,_true>
          (Binary_to_elf *this,string *name,Stringpool *strtab,type_5 var_6,
          Elf_WXword st_size,type_2 shndx,type_8 **ppout)

{
  type_2 *var_5;
  type_1 var_8;
  type_2 var_4;
  type_3 sVar4;
  type_2 *var_9;
  type_4 var_7;
  
  var_4 = 0;
  var_5 = (type_2 *)*ppout;
  var_9 = var_5;
  if (name->_M_string_length != 0) {
    sVar4 = var_1<var_2>::var_3(strtab,(name->_M_dataplus)._M_p);
    var_9 = (type_2 *)*ppout;
    var_4 = (type_2)sVar4;
    var_4 = var_4 >> 0x18 | (var_4 & 0xff0000) >> 8 | (var_4 & 0xff00) << 8 | var_4 << 0x18;
  }
  var_7 = (type_4)st_size;
  *var_5 = var_4;
  *(type_5 *)(var_5 + 2) =
       var_6 >> 0x38 | (var_6 & 0xff000000000000) >> 0x28 | (var_6 & 0xff0000000000) >> 0x18 |
       (var_6 & 0xff00000000) >> 8 | (var_6 & 0xff000000) << 8 | (var_6 & 0xff0000) << 0x18 |
       (var_6 & 0xff00) << 0x28 | var_6 << 0x38;
  *(type_4 *)(var_5 + 4) =
       (var_7 & 0xff000000) << 8 | (var_7 & 0xff0000) << 0x18 | (var_7 & 0xff00) << 0x28 |
       var_7 << 0x38;
  var_8 = name->_M_string_length;
  *(type_6 *)((long)var_5 + 5) = 0;
  *(type_7 *)((long)var_5 + 6) = (type_7)shndx << 8 | (type_7)shndx >> 8;
  *(char *)(var_5 + 1) = (var_8 != 0) << 4;
  *ppout = (type_8 *)(var_9 + 6);
  return;
}


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

void MASKED(undefined8 param_1,undefined8 *param_2,undefined8 param_3,ulong param_4,
                 ulong param_5,ushort param_6,long *param_7)

{
  uint *puVar1;
  long lVar2;
  uint uVar3;
  uint *puVar4;
  
  uVar3 = 0;
  puVar1 = (uint *)*param_7;
  puVar4 = puVar1;
  if (param_2[1] != 0) {
    uVar3 = FUN_0026df10(param_3,*param_2);
    puVar4 = (uint *)*param_7;
    uVar3 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
    param_5 = param_5 & 0xffffffff;
  }
  *puVar1 = uVar3;
  *(ulong *)(puVar1 + 2) =
       param_4 >> 0x38 | (param_4 & 0xff000000000000) >> 0x28 | (param_4 & 0xff0000000000) >> 0x18 |
       (param_4 & 0xff00000000) >> 8 | (param_4 & 0xff000000) << 8 | (param_4 & 0xff0000) << 0x18 |
       (param_4 & 0xff00) << 0x28 | param_4 << 0x38;
  *(ulong *)(puVar1 + 4) =
       (param_5 & 0xff000000) << 8 | (param_5 & 0xff0000) << 0x18 | (param_5 & 0xff00) << 0x28 |
       param_5 << 0x38;
  lVar2 = param_2[1];
  *(undefined1 *)((long)puVar1 + 5) = 0;
  *(ushort *)((long)puVar1 + 6) = param_6 << 8 | param_6 >> 8;
  *(char *)(puVar1 + 1) = (lVar2 != 0) << 4;
  *param_7 = (long)(puVar4 + 6);
  return;
}

