
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "SHT": Some values do not have unique names */
/* DWARF original name: write_section_header<32, true>
   DWARF original prototype: void write_section_header<32,_true>(Binary_to_elf * this, char * name,
   Stringpool * shstrtab, SHT type, uint flags, section_size_type offset, section_size_type
   section_size, uint link, uint info, uint addralign, uint entsize, uchar * * ppout) */

void __thiscall
gold::Binary_to_elf::write_section_header<32,_true>
          (Binary_to_elf *this,char *name,Stringpool *shstrtab,SHT type,uint flags,
          section_size_type offset,section_size_type section_size,uint link,uint info,uint addralign
          ,uint entsize,uchar **ppout)

{
}



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

void FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,
                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,
                 int *param_12)

{
  uint *puVar1;
  uint uVar2;
  uint *puVar3;
  
  uVar2 = 0;
  puVar1 = (uint *)*param_12;
  puVar3 = puVar1;
  if (*param_2 != '\0') {
    uVar2 = FUN_001e3780(param_3,param_2);
    puVar3 = (uint *)*param_12;
    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
  }
  *puVar1 = uVar2;
  puVar1[3] = 0;
  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |
              param_4 << 0x18;
  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |
              param_5 << 0x18;
  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |
              param_6 << 0x18;
  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |
              param_7 << 0x18;
  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |
              param_8 << 0x18;
  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |
              param_9 << 0x18;
  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |
              param_10 << 0x18;
  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |
              param_11 << 0x18;
  *param_12 = (int)(puVar3 + 10);
  return;
}


PUSH EDI
XOR EAX,EAX
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x3c]
CALL 0x0003a210
ADD EBX,0x210512
MOV ECX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [EDI]
CMP byte ptr [ECX],0x0
MOV EDX,ESI
JNZ 0x00203b60
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x1c]
ADD EDX,0x28
MOV dword ptr [ESI + 0xc],0x0
BSWAP EAX
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x20]
BSWAP EAX
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x24]
BSWAP EAX
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x28]
BSWAP EAX
MOV dword ptr [ESI + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x2c]
BSWAP EAX
MOV dword ptr [ESI + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x30]
BSWAP EAX
MOV dword ptr [ESI + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x34]
BSWAP EAX
MOV dword ptr [ESI + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x38]
BSWAP EAX
MOV dword ptr [ESI + 0x24],EAX
MOV dword ptr [EDI],EDX
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x8
PUSH ECX
PUSH dword ptr [ESP + 0x24]
CALL 0x001e3780
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
BSWAP EAX
JMP 0x00203b01
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}\n\n" comment (function_definition "void FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}" primitive_type (function_declarator "FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)" identifier (parameter_list "(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "uint param_7" type_identifier identifier) , (parameter_declaration "uint param_8" type_identifier identifier) , (parameter_declaration "uint param_9" type_identifier identifier) , (parameter_declaration "uint param_10" type_identifier identifier) , (parameter_declaration "uint param_11" type_identifier identifier) , (parameter_declaration "int *param_12" primitive_type (pointer_declarator "*param_12" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (uint *)*param_12;" (assignment_expression "puVar1 = (uint *)*param_12" identifier = (cast_expression "(uint *)*param_12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_12" * identifier))) ;) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (if_statement "if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" if (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" { (expression_statement "uVar2 = FUN_001e3780(param_3,param_2);" (assignment_expression "uVar2 = FUN_001e3780(param_3,param_2)" identifier = (call_expression "FUN_001e3780(param_3,param_2)" identifier (argument_list "(param_3,param_2)" ( identifier , identifier )))) ;) (expression_statement "puVar3 = (uint *)*param_12;" (assignment_expression "puVar3 = (uint *)*param_12" identifier = (cast_expression "(uint *)*param_12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_12" * identifier))) ;) (expression_statement "uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" identifier = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) })) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;" (assignment_expression "puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8" (binary_expression "param_4 >> 0x18" identifier >> number_literal) | (binary_expression "(param_4 & 0xff0000) >> 8" (parenthesized_expression "(param_4 & 0xff0000)" ( (binary_expression "param_4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff00) << 8" (parenthesized_expression "(param_4 & 0xff00)" ( (binary_expression "param_4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_4 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;" (assignment_expression "puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18" (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8" (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8" (binary_expression "param_5 >> 0x18" identifier >> number_literal) | (binary_expression "(param_5 & 0xff0000) >> 8" (parenthesized_expression "(param_5 & 0xff0000)" ( (binary_expression "param_5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_5 & 0xff00) << 8" (parenthesized_expression "(param_5 & 0xff00)" ( (binary_expression "param_5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_5 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;" (assignment_expression "puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18" (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8" (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8" (binary_expression "param_6 >> 0x18" identifier >> number_literal) | (binary_expression "(param_6 & 0xff0000) >> 8" (parenthesized_expression "(param_6 & 0xff0000)" ( (binary_expression "param_6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_6 & 0xff00) << 8" (parenthesized_expression "(param_6 & 0xff00)" ( (binary_expression "param_6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_6 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;" (assignment_expression "puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18" (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8" (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8" (binary_expression "param_7 >> 0x18" identifier >> number_literal) | (binary_expression "(param_7 & 0xff0000) >> 8" (parenthesized_expression "(param_7 & 0xff0000)" ( (binary_expression "param_7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_7 & 0xff00) << 8" (parenthesized_expression "(param_7 & 0xff00)" ( (binary_expression "param_7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_7 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;" (assignment_expression "puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18" (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8" (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8" (binary_expression "param_8 >> 0x18" identifier >> number_literal) | (binary_expression "(param_8 & 0xff0000) >> 8" (parenthesized_expression "(param_8 & 0xff0000)" ( (binary_expression "param_8 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_8 & 0xff00) << 8" (parenthesized_expression "(param_8 & 0xff00)" ( (binary_expression "param_8 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_8 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;" (assignment_expression "puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18" (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8" (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8" (binary_expression "param_9 >> 0x18" identifier >> number_literal) | (binary_expression "(param_9 & 0xff0000) >> 8" (parenthesized_expression "(param_9 & 0xff0000)" ( (binary_expression "param_9 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_9 & 0xff00) << 8" (parenthesized_expression "(param_9 & 0xff00)" ( (binary_expression "param_9 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_9 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;" (assignment_expression "puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18" (subscript_expression "puVar1[8]" identifier [ number_literal ]) = (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18" (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8" (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8" (binary_expression "param_10 >> 0x18" identifier >> number_literal) | (binary_expression "(param_10 & 0xff0000) >> 8" (parenthesized_expression "(param_10 & 0xff0000)" ( (binary_expression "param_10 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_10 & 0xff00) << 8" (parenthesized_expression "(param_10 & 0xff00)" ( (binary_expression "param_10 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_10 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;" (assignment_expression "puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18" (subscript_expression "puVar1[9]" identifier [ number_literal ]) = (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18" (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8" (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8" (binary_expression "param_11 >> 0x18" identifier >> number_literal) | (binary_expression "(param_11 & 0xff0000) >> 8" (parenthesized_expression "(param_11 & 0xff0000)" ( (binary_expression "param_11 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_11 & 0xff00) << 8" (parenthesized_expression "(param_11 & 0xff00)" ( (binary_expression "param_11 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_11 << 0x18" identifier << number_literal))) ;) (expression_statement "*param_12 = (int)(puVar3 + 10);" (assignment_expression "*param_12 = (int)(puVar3 + 10)" (pointer_expression "*param_12" * identifier) = (cast_expression "(int)(puVar3 + 10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar3 + 10)" ( (binary_expression "puVar3 + 10" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "SHT": Some values do not have unique names */\n/* DWARF original name: write_section_header<32, true>\n   DWARF original prototype: void write_section_header<32,_true>(Binary_to_elf * this, char * name,\n   Stringpool * shstrtab, SHT type, uint flags, section_size_type offset, section_size_type\n   section_size, uint link, uint info, uint addralign, uint entsize, uchar * * ppout) */\n\nvoid __thiscall\ngold::Binary_to_elf::write_section_header<32,_true>\n          (Binary_to_elf *this,char *name,Stringpool *shstrtab,SHT type,uint flags,\n          section_size_type offset,section_size_type section_size,uint link,uint info,uint addralign\n          ,uint entsize,uchar **ppout)\n\n{\n}\n\n" comment comment comment (ERROR "void __thiscall\ngold::Binary_to_elf::write_section_header<32,_true>\n          (Binary_to_elf *this,char *name,Stringpool *shstrtab,SHT type,uint flags,\n          section_size_type offset,section_size_type section_size,uint link,uint info,uint addralign\n          ,uint entsize,uchar **ppout)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Binary_to_elf::" identifier : : identifier : :) identifier (ERROR "<32" < number_literal) , (function_declarator "_true>\n          (Binary_to_elf *this,char *name,Stringpool *shstrtab,SHT type,uint flags,\n          section_size_type offset,section_size_type section_size,uint link,uint info,uint addralign\n          ,uint entsize,uchar **ppout)" identifier (ERROR ">" >) (parameter_list "(Binary_to_elf *this,char *name,Stringpool *shstrtab,SHT type,uint flags,\n          section_size_type offset,section_size_type section_size,uint link,uint info,uint addralign\n          ,uint entsize,uchar **ppout)" ( (parameter_declaration "Binary_to_elf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "Stringpool *shstrtab" type_identifier (pointer_declarator "*shstrtab" * identifier)) , (parameter_declaration "SHT type" type_identifier identifier) , (parameter_declaration "uint flags" type_identifier identifier) , (parameter_declaration "section_size_type offset" type_identifier identifier) , (parameter_declaration "section_size_type section_size" type_identifier identifier) , (parameter_declaration "uint link" type_identifier identifier) , (parameter_declaration "uint info" type_identifier identifier) , (parameter_declaration "uint addralign" type_identifier identifier) , (parameter_declaration "uint entsize" type_identifier identifier) , (parameter_declaration "uchar **ppout" type_identifier (pointer_declarator "**ppout" * (pointer_declarator "*ppout" * identifier))) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}\n\n" (function_definition "void FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}" primitive_type (function_declarator "FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)" identifier (parameter_list "(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "uint param_7" type_identifier identifier) , (parameter_declaration "uint param_8" type_identifier identifier) , (parameter_declaration "uint param_9" type_identifier identifier) , (parameter_declaration "uint param_10" type_identifier identifier) , (parameter_declaration "uint param_11" type_identifier identifier) , (parameter_declaration "int *param_12" primitive_type (pointer_declarator "*param_12" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (uint *)*param_12;" (assignment_expression "puVar1 = (uint *)*param_12" identifier = (cast_expression "(uint *)*param_12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_12" * identifier))) ;) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (if_statement "if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" if (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" { (expression_statement "uVar2 = FUN_001e3780(param_3,param_2);" (assignment_expression "uVar2 = FUN_001e3780(param_3,param_2)" identifier = (call_expression "FUN_001e3780(param_3,param_2)" identifier (argument_list "(param_3,param_2)" ( identifier , identifier )))) ;) (expression_statement "puVar3 = (uint *)*param_12;" (assignment_expression "puVar3 = (uint *)*param_12" identifier = (cast_expression "(uint *)*param_12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_12" * identifier))) ;) (expression_statement "uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" identifier = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) })) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;" (assignment_expression "puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8" (binary_expression "param_4 >> 0x18" identifier >> number_literal) | (binary_expression "(param_4 & 0xff0000) >> 8" (parenthesized_expression "(param_4 & 0xff0000)" ( (binary_expression "param_4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff00) << 8" (parenthesized_expression "(param_4 & 0xff00)" ( (binary_expression "param_4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_4 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;" (assignment_expression "puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18" (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8" (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8" (binary_expression "param_5 >> 0x18" identifier >> number_literal) | (binary_expression "(param_5 & 0xff0000) >> 8" (parenthesized_expression "(param_5 & 0xff0000)" ( (binary_expression "param_5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_5 & 0xff00) << 8" (parenthesized_expression "(param_5 & 0xff00)" ( (binary_expression "param_5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_5 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;" (assignment_expression "puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18" (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8" (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8" (binary_expression "param_6 >> 0x18" identifier >> number_literal) | (binary_expression "(param_6 & 0xff0000) >> 8" (parenthesized_expression "(param_6 & 0xff0000)" ( (binary_expression "param_6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_6 & 0xff00) << 8" (parenthesized_expression "(param_6 & 0xff00)" ( (binary_expression "param_6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_6 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;" (assignment_expression "puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18" (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8" (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8" (binary_expression "param_7 >> 0x18" identifier >> number_literal) | (binary_expression "(param_7 & 0xff0000) >> 8" (parenthesized_expression "(param_7 & 0xff0000)" ( (binary_expression "param_7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_7 & 0xff00) << 8" (parenthesized_expression "(param_7 & 0xff00)" ( (binary_expression "param_7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_7 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;" (assignment_expression "puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18" (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8" (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8" (binary_expression "param_8 >> 0x18" identifier >> number_literal) | (binary_expression "(param_8 & 0xff0000) >> 8" (parenthesized_expression "(param_8 & 0xff0000)" ( (binary_expression "param_8 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_8 & 0xff00) << 8" (parenthesized_expression "(param_8 & 0xff00)" ( (binary_expression "param_8 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_8 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;" (assignment_expression "puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18" (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8" (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8" (binary_expression "param_9 >> 0x18" identifier >> number_literal) | (binary_expression "(param_9 & 0xff0000) >> 8" (parenthesized_expression "(param_9 & 0xff0000)" ( (binary_expression "param_9 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_9 & 0xff00) << 8" (parenthesized_expression "(param_9 & 0xff00)" ( (binary_expression "param_9 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_9 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;" (assignment_expression "puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18" (subscript_expression "puVar1[8]" identifier [ number_literal ]) = (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18" (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8" (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8" (binary_expression "param_10 >> 0x18" identifier >> number_literal) | (binary_expression "(param_10 & 0xff0000) >> 8" (parenthesized_expression "(param_10 & 0xff0000)" ( (binary_expression "param_10 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_10 & 0xff00) << 8" (parenthesized_expression "(param_10 & 0xff00)" ( (binary_expression "param_10 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_10 << 0x18" identifier << number_literal))) ;) (expression_statement "puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;" (assignment_expression "puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18" (subscript_expression "puVar1[9]" identifier [ number_literal ]) = (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18" (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8" (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8" (binary_expression "param_11 >> 0x18" identifier >> number_literal) | (binary_expression "(param_11 & 0xff0000) >> 8" (parenthesized_expression "(param_11 & 0xff0000)" ( (binary_expression "param_11 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_11 & 0xff00) << 8" (parenthesized_expression "(param_11 & 0xff00)" ( (binary_expression "param_11 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_11 << 0x18" identifier << number_literal))) ;) (expression_statement "*param_12 = (int)(puVar3 + 10);" (assignment_expression "*param_12 = (int)(puVar3 + 10)" (pointer_expression "*param_12" * identifier) = (cast_expression "(int)(puVar3 + 10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar3 + 10)" ( (binary_expression "puVar3 + 10" 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 TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , 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 (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (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 (subscript_expression IDENT [ LIT ]) = (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 (subscript_expression IDENT [ LIT ]) = (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 (subscript_expression IDENT [ LIT ]) = (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 (subscript_expression IDENT [ LIT ]) = (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 (subscript_expression IDENT [ LIT ]) = (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 (subscript_expression IDENT [ LIT ]) = (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 (subscript_expression IDENT [ LIT ]) = (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 (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return ;) })))
(function_definition "void FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00203ae0(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)" (identifier "FUN_00203ae0") (parameter_list "(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,\n                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,\n                 int *param_12)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "uint param_6" (type_identifier "uint") (identifier "param_6")) (, ",") (parameter_declaration "uint param_7" (type_identifier "uint") (identifier "param_7")) (, ",") (parameter_declaration "uint param_8" (type_identifier "uint") (identifier "param_8")) (, ",") (parameter_declaration "uint param_9" (type_identifier "uint") (identifier "param_9")) (, ",") (parameter_declaration "uint param_10" (type_identifier "uint") (identifier "param_10")) (, ",") (parameter_declaration "uint param_11" (type_identifier "uint") (identifier "param_11")) (, ",") (parameter_declaration "int *param_12" (primitive_type "int") (pointer_declarator "*param_12" (* "*") (identifier "param_12"))) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  uint *puVar3;\n  \n  uVar2 = 0;\n  puVar1 = (uint *)*param_12;\n  puVar3 = puVar1;\n  if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n  *puVar1 = uVar2;\n  puVar1[3] = 0;\n  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;\n  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;\n  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;\n  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;\n  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;\n  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;\n  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;\n  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;\n  *param_12 = (int)(puVar3 + 10);\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = (uint *)*param_12;" (assignment_expression "puVar1 = (uint *)*param_12" (identifier "puVar1") (= "=") (cast_expression "(uint *)*param_12" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_12" (* "*") (identifier "param_12")))) (; ";")) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" (identifier "puVar3") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (*param_2 != '\0') {\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" (if "if") (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar2 = FUN_001e3780(param_3,param_2);\n    puVar3 = (uint *)*param_12;\n    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" ({ "{") (expression_statement "uVar2 = FUN_001e3780(param_3,param_2);" (assignment_expression "uVar2 = FUN_001e3780(param_3,param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_001e3780(param_3,param_2)" (identifier "FUN_001e3780") (argument_list "(param_3,param_2)" (( "(") (identifier "param_3") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "puVar3 = (uint *)*param_12;" (assignment_expression "puVar3 = (uint *)*param_12" (identifier "puVar3") (= "=") (cast_expression "(uint *)*param_12" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_12" (* "*") (identifier "param_12")))) (; ";")) (expression_statement "uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (identifier "uVar2") (= "=") (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" (( "(") (binary_expression "uVar2 & 0xff0000" (identifier "uVar2") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar2 << 0x18" (identifier "uVar2") (<< "<<") (number_literal "0x18")))) (; ";")) (} "}"))) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18;" (assignment_expression "puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |\n              param_4 << 0x18" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8" (binary_expression "param_4 >> 0x18" (identifier "param_4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_4 & 0xff0000) >> 8" (parenthesized_expression "(param_4 & 0xff0000)" (( "(") (binary_expression "param_4 & 0xff0000" (identifier "param_4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_4 & 0xff00) << 8" (parenthesized_expression "(param_4 & 0xff00)" (( "(") (binary_expression "param_4 & 0xff00" (identifier "param_4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_4 << 0x18" (identifier "param_4") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18;" (assignment_expression "puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |\n              param_5 << 0x18" (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8" (binary_expression "param_5 >> 0x18 | (param_5 & 0xff0000) >> 8" (binary_expression "param_5 >> 0x18" (identifier "param_5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_5 & 0xff0000) >> 8" (parenthesized_expression "(param_5 & 0xff0000)" (( "(") (binary_expression "param_5 & 0xff0000" (identifier "param_5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_5 & 0xff00) << 8" (parenthesized_expression "(param_5 & 0xff00)" (( "(") (binary_expression "param_5 & 0xff00" (identifier "param_5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_5 << 0x18" (identifier "param_5") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18;" (assignment_expression "puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |\n              param_6 << 0x18" (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8" (binary_expression "param_6 >> 0x18 | (param_6 & 0xff0000) >> 8" (binary_expression "param_6 >> 0x18" (identifier "param_6") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_6 & 0xff0000) >> 8" (parenthesized_expression "(param_6 & 0xff0000)" (( "(") (binary_expression "param_6 & 0xff0000" (identifier "param_6") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_6 & 0xff00) << 8" (parenthesized_expression "(param_6 & 0xff00)" (( "(") (binary_expression "param_6 & 0xff00" (identifier "param_6") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_6 << 0x18" (identifier "param_6") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18;" (assignment_expression "puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |\n              param_7 << 0x18" (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8" (binary_expression "param_7 >> 0x18 | (param_7 & 0xff0000) >> 8" (binary_expression "param_7 >> 0x18" (identifier "param_7") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_7 & 0xff0000) >> 8" (parenthesized_expression "(param_7 & 0xff0000)" (( "(") (binary_expression "param_7 & 0xff0000" (identifier "param_7") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_7 & 0xff00) << 8" (parenthesized_expression "(param_7 & 0xff00)" (( "(") (binary_expression "param_7 & 0xff00" (identifier "param_7") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_7 << 0x18" (identifier "param_7") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18;" (assignment_expression "puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18" (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]")) (= "=") (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |\n              param_8 << 0x18" (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8" (binary_expression "param_8 >> 0x18 | (param_8 & 0xff0000) >> 8" (binary_expression "param_8 >> 0x18" (identifier "param_8") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_8 & 0xff0000) >> 8" (parenthesized_expression "(param_8 & 0xff0000)" (( "(") (binary_expression "param_8 & 0xff0000" (identifier "param_8") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_8 & 0xff00) << 8" (parenthesized_expression "(param_8 & 0xff00)" (( "(") (binary_expression "param_8 & 0xff00" (identifier "param_8") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_8 << 0x18" (identifier "param_8") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18;" (assignment_expression "puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18" (subscript_expression "puVar1[7]" (identifier "puVar1") ([ "[") (number_literal "7") (] "]")) (= "=") (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |\n              param_9 << 0x18" (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8" (binary_expression "param_9 >> 0x18 | (param_9 & 0xff0000) >> 8" (binary_expression "param_9 >> 0x18" (identifier "param_9") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_9 & 0xff0000) >> 8" (parenthesized_expression "(param_9 & 0xff0000)" (( "(") (binary_expression "param_9 & 0xff0000" (identifier "param_9") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_9 & 0xff00) << 8" (parenthesized_expression "(param_9 & 0xff00)" (( "(") (binary_expression "param_9 & 0xff00" (identifier "param_9") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_9 << 0x18" (identifier "param_9") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18;" (assignment_expression "puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18" (subscript_expression "puVar1[8]" (identifier "puVar1") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |\n              param_10 << 0x18" (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8" (binary_expression "param_10 >> 0x18 | (param_10 & 0xff0000) >> 8" (binary_expression "param_10 >> 0x18" (identifier "param_10") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_10 & 0xff0000) >> 8" (parenthesized_expression "(param_10 & 0xff0000)" (( "(") (binary_expression "param_10 & 0xff0000" (identifier "param_10") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_10 & 0xff00) << 8" (parenthesized_expression "(param_10 & 0xff00)" (( "(") (binary_expression "param_10 & 0xff00" (identifier "param_10") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_10 << 0x18" (identifier "param_10") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18;" (assignment_expression "puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18" (subscript_expression "puVar1[9]" (identifier "puVar1") ([ "[") (number_literal "9") (] "]")) (= "=") (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |\n              param_11 << 0x18" (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8" (binary_expression "param_11 >> 0x18 | (param_11 & 0xff0000) >> 8" (binary_expression "param_11 >> 0x18" (identifier "param_11") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_11 & 0xff0000) >> 8" (parenthesized_expression "(param_11 & 0xff0000)" (( "(") (binary_expression "param_11 & 0xff0000" (identifier "param_11") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_11 & 0xff00) << 8" (parenthesized_expression "(param_11 & 0xff00)" (( "(") (binary_expression "param_11 & 0xff00" (identifier "param_11") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_11 << 0x18" (identifier "param_11") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "*param_12 = (int)(puVar3 + 10);" (assignment_expression "*param_12 = (int)(puVar3 + 10)" (pointer_expression "*param_12" (* "*") (identifier "param_12")) (= "=") (cast_expression "(int)(puVar3 + 10)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar3 + 10)" (( "(") (binary_expression "puVar3 + 10" (identifier "puVar3") (+ "+") (number_literal "10")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "SHT": Some values do not have unique names */
/* DWARF original name: write_section_header<32, true>
   DWARF original prototype: void write_section_header<32,_true>(Binary_to_elf * this, char * name,
   Stringpool * shstrtab, SHT type, uint flags, section_size_type offset, section_size_type
   section_size, uint link, uint info, uint addralign, uint entsize, uchar * * ppout) */

void __thiscall
gold::Binary_to_elf::write_section_header<32,_true>
          (Binary_to_elf *this,char *name,Stringpool *shstrtab,SHT type,uint flags,
          section_size_type offset,section_size_type section_size,uint link,uint info,uint addralign
          ,uint entsize,uchar **ppout)

{
}


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

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

void MASKED(undefined4 param_1,char *param_2,undefined4 param_3,uint param_4,uint param_5,
                 uint param_6,uint param_7,uint param_8,uint param_9,uint param_10,uint param_11,
                 int *param_12)

{
  uint *puVar1;
  uint uVar2;
  uint *puVar3;
  
  uVar2 = 0;
  puVar1 = (uint *)*param_12;
  puVar3 = puVar1;
  if (*param_2 != '\0') {
    uVar2 = FUN_001e3780(param_3,param_2);
    puVar3 = (uint *)*param_12;
    uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
  }
  *puVar1 = uVar2;
  puVar1[3] = 0;
  puVar1[1] = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 |
              param_4 << 0x18;
  puVar1[2] = param_5 >> 0x18 | (param_5 & 0xff0000) >> 8 | (param_5 & 0xff00) << 8 |
              param_5 << 0x18;
  puVar1[4] = param_6 >> 0x18 | (param_6 & 0xff0000) >> 8 | (param_6 & 0xff00) << 8 |
              param_6 << 0x18;
  puVar1[5] = param_7 >> 0x18 | (param_7 & 0xff0000) >> 8 | (param_7 & 0xff00) << 8 |
              param_7 << 0x18;
  puVar1[6] = param_8 >> 0x18 | (param_8 & 0xff0000) >> 8 | (param_8 & 0xff00) << 8 |
              param_8 << 0x18;
  puVar1[7] = param_9 >> 0x18 | (param_9 & 0xff0000) >> 8 | (param_9 & 0xff00) << 8 |
              param_9 << 0x18;
  puVar1[8] = param_10 >> 0x18 | (param_10 & 0xff0000) >> 8 | (param_10 & 0xff00) << 8 |
              param_10 << 0x18;
  puVar1[9] = param_11 >> 0x18 | (param_11 & 0xff0000) >> 8 | (param_11 & 0xff00) << 8 |
              param_11 << 0x18;
  *param_12 = (int)(puVar3 + 10);
  return;
}

