
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void write(Output_reloc<4,_true,_32,_true> * this, uchar * pov) */

ssize_t __thiscall
gold::Output_reloc<4,_true,_32,_true>::write
          (Output_reloc<4,_true,_32,_true> *this,int __fd,void *__buf,size_t __n)

{
  byte bVar1;
  Target *pTVar2;
  Elf_Addr EVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  Addend addend;
  uint uVar7;
  
  EVar3 = Output_reloc<9,_true,_32,_true>::get_address(&this->rel_);
  *(Elf_Addr *)__fd =
       EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;
  uVar4 = Output_reloc<9,_true,_32,_true>::get_symbol_index(&this->rel_);
  uVar6 = *(uint *)&(this->rel_).field_0x10;
  uVar7 = uVar6 & 0xff;
  uVar5 = uVar4 * 0x100 + uVar7;
  uVar4 = (this->rel_).local_sym_index_;
  *(uint *)(__fd + 4) =
       uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000;
  addend = this->addend_;
  if (uVar4 == 0xfffffffd) {
    pTVar2 = parameters->target_;
    if (pTVar2 != (Target *)0x0) {
      uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))
                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0);
      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
      *(uint *)(__fd + 8) = uVar6;
      return uVar6;
    }
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x69,"target");
  }
  bVar1 = (this->rel_).field_0x13;
  if ((bVar1 & 0x20) == 0) {
    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {
      EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend);
      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;
      *(uint *)(__fd + 8) = uVar6;
      return uVar6;
    }
  }
  else {
    addend = Output_reloc<9,_true,_32,_true>::symbol_value(&this->rel_,addend);
  }
  uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18;
  *(uint *)(__fd + 8) = uVar6;
  return uVar6;
}



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

void FUN_0012ade0(undefined4 *param_1,uint *param_2)

{
  uint uVar1;
  int *piVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  
  uVar3 = FUN_0012aab0(param_1);
  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
  iVar4 = FUN_000ff5a0(param_1);
  uVar3 = param_1[4];
  uVar6 = uVar3 & 0xff;
  uVar5 = iVar4 * 0x100 + uVar6;
  uVar1 = param_1[3];
  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;
  uVar5 = param_1[6];
  if (uVar1 == 0xfffffffd) {
    piVar2 = *(int **)(DAT_0038f378 + 0xc);
    if (piVar2 != (int *)0x0) {
      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);
  }
  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {
    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&
       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {
      uVar3 = FUN_0012a910(param_1,uVar5);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
  }
  else {
    uVar5 = FUN_000ff290(param_1,uVar5);
  }
  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x264217
SUB ESP,0x18
MOV ESI,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x30]
PUSH ESI
CALL 0x0012aab0
BSWAP EAX
MOV dword ptr [EDI],EAX
MOV dword ptr [ESP],ESI
CALL 0x000ff5a0
MOV ECX,dword ptr [ESI + 0x10]
ADD ESP,0x10
SHL EAX,0x8
AND ECX,0xfffffff
MOVZX EDX,CL
ADD EAX,EDX
MOV EDX,dword ptr [ESI + 0xc]
BSWAP EAX
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,dword ptr [ESI + 0x18]
CMP EDX,-0x3
JZ 0x0012ae88
MOVZX ECX,byte ptr [ESI + 0x13]
TEST CL,0x20
JNZ 0x0012ae68
CMP EDX,-0x2
JNC 0x0012ae75
CMP EDX,-0x4
JZ 0x0012ae75
AND ECX,0x40
JZ 0x0012ae75
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x0012a910
ADD ESP,0x10
BSWAP EAX
MOV dword ptr [EDI + 0x8],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x000ff290
ADD ESP,0x10
BSWAP EAX
MOV dword ptr [EDI + 0x8],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EBX + 0x378]
MOV EDX,dword ptr [EDX]
MOV EBP,dword ptr [EDX + 0xc]
TEST EBP,EBP
JZ 0x0012aeb8
SUB ESP,0xc
XOR EDX,EDX
MOV EBX,dword ptr [EBP]
PUSH EDX
PUSH EAX
PUSH ECX
PUSH dword ptr [ESI]
PUSH EBP
CALL dword ptr [EBX + 0x30]
BSWAP EAX
MOV dword ptr [EDI + 0x8],EAX
ADD ESP,0x20
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xfff05344]
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x69
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0012ade0(undefined4 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}\n\n" comment (function_definition "void FUN_0012ade0(undefined4 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" primitive_type (function_declarator "FUN_0012ade0(undefined4 *param_1,uint *param_2)" identifier (parameter_list "(undefined4 *param_1,uint *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_0012aab0(param_1);" (assignment_expression "uVar3 = FUN_0012aab0(param_1)" identifier = (call_expression "FUN_0012aab0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (pointer_expression "*param_2" * 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 "iVar4 = FUN_000ff5a0(param_1);" (assignment_expression "iVar4 = FUN_000ff5a0(param_1)" identifier = (call_expression "FUN_000ff5a0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = param_1[4];" (assignment_expression "uVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = uVar3 & 0xff;" (assignment_expression "uVar6 = uVar3 & 0xff" identifier = (binary_expression "uVar3 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar5 = iVar4 * 0x100 + uVar6;" (assignment_expression "uVar5 = iVar4 * 0x100 + uVar6" identifier = (binary_expression "iVar4 * 0x100 + uVar6" (binary_expression "iVar4 * 0x100" identifier * number_literal) + identifier)) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;" (assignment_expression "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 * 0x1000000" identifier * number_literal))) ;) (expression_statement "uVar5 = param_1[6];" (assignment_expression "uVar5 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }" if (parenthesized_expression "(uVar1 == 0xfffffffd)" ( (binary_expression "uVar1 == 0xfffffffd" identifier == number_literal) )) (compound_statement "{\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }" { (expression_statement "piVar2 = *(int **)(DAT_0038f378 + 0xc);" (assignment_expression "piVar2 = *(int **)(DAT_0038f378 + 0xc)" identifier = (pointer_expression "*(int **)(DAT_0038f378 + 0xc)" * (cast_expression "(int **)(DAT_0038f378 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);" (assignment_expression "uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" identifier = (call_expression "(**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" (parenthesized_expression "(**(code **)(*piVar2 + 0x30))" ( (pointer_expression "**(code **)(*piVar2 + 0x30)" * (pointer_expression "*(code **)(*piVar2 + 0x30)" * (cast_expression "(code **)(*piVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x30)" ( (binary_expression "*piVar2 + 0x30" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" ( identifier , (pointer_expression "*param_1" * identifier) , (binary_expression "uVar3 & 0xfffffff" identifier & number_literal) , identifier , number_literal )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (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))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",uVar5)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" if (parenthesized_expression "((*(byte *)((int)param_1 + 0x13) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x13) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x13) & 0x20)" ( (binary_expression "*(byte *)((int)param_1 + 0x13) & 0x20" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }" { (if_statement "if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0))" ( (binary_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)" (parenthesized_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc))" ( (binary_expression "(uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)" (parenthesized_expression "(uVar1 < 0xfffffffe)" ( (binary_expression "uVar1 < 0xfffffffe" identifier < number_literal) )) && (parenthesized_expression "(uVar1 != 0xfffffffc)" ( (binary_expression "uVar1 != 0xfffffffc" identifier != number_literal) ))) )) && (parenthesized_expression "((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x13) & 0x40) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x13) & 0x40)" ( (binary_expression "*(byte *)((int)param_1 + 0x13) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = FUN_0012a910(param_1,uVar5);" (assignment_expression "uVar3 = FUN_0012a910(param_1,uVar5)" identifier = (call_expression "FUN_0012a910(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (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))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" else (compound_statement "{\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" { (expression_statement "uVar5 = FUN_000ff290(param_1,uVar5);" (assignment_expression "uVar5 = FUN_000ff290(param_1,uVar5)" identifier = (call_expression "FUN_000ff290(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) }))) (expression_statement "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" 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 "DT": Some values do not have unique names */\n/* DWARF original prototype: void write(Output_reloc<4,_true,_32,_true> * this, uchar * pov) */\n\nssize_t __thiscall\ngold::Output_reloc<4,_true,_32,_true>::write\n          (Output_reloc<4,_true,_32,_true> *this,int __fd,void *__buf,size_t __n)\n\n{\n  byte bVar1;\n  Target *pTVar2;\n  Elf_Addr EVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  Addend addend;\n  uint uVar7;\n  \n  EVar3 = Output_reloc<9,_true,_32,_true>::get_address(&this->rel_);\n  *(Elf_Addr *)__fd =\n       EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n  uVar4 = Output_reloc<9,_true,_32,_true>::get_symbol_index(&this->rel_);\n  uVar6 = *(uint *)&(this->rel_).field_0x10;\n  uVar7 = uVar6 & 0xff;\n  uVar5 = uVar4 * 0x100 + uVar7;\n  uVar4 = (this->rel_).local_sym_index_;\n  *(uint *)(__fd + 4) =\n       uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000;\n  addend = this->addend_;\n  if (uVar4 == 0xfffffffd) {\n    pTVar2 = parameters->target_;\n    if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }\n  bVar1 = (this->rel_).field_0x13;\n  if ((bVar1 & 0x20) == 0) {\n    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }\n  }\n  else {\n    addend = Output_reloc<9,_true,_32,_true>::symbol_value(&this->rel_,addend);\n  }\n  uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18;\n  *(uint *)(__fd + 8) = uVar6;\n  return uVar6;\n}\n\n" comment comment comment (declaration "ssize_t __thiscall\ngold::Output_reloc<4,_true,_32,_true>::write\n          (Output_reloc<4,_true,_32,_true> *this,int __fd,void *__buf,size_t __n)\n\n{\n  byte bVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<4" < number_literal) , identifier , identifier , (ERROR "_true>::write\n          (Output_reloc<4,_true,_32,_true> *this,int __fd,void *__buf,size_t __n)\n\n{\n  byte" identifier > : : (function_declarator "write\n          (Output_reloc<4,_true,_32,_true> *this,int __fd,void *__buf,size_t __n)" identifier (parameter_list "(Output_reloc<4,_true,_32,_true> *this,int __fd,void *__buf,size_t __n)" ( (parameter_declaration "Output_reloc" type_identifier) (ERROR "<4" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __fd" primitive_type identifier) , (parameter_declaration "void *__buf" primitive_type (pointer_declarator "*__buf" * identifier)) , (parameter_declaration "size_t __n" primitive_type identifier) ))) { identifier) identifier ;) (declaration "Target *pTVar2;" type_identifier (pointer_declarator "*pTVar2" * identifier) ;) (declaration "Elf_Addr EVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "Addend addend;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "EVar3 = Output_reloc<9,_true,_32,_true>::get_address(&this->rel_);" (update_expression "EVar3 = Output_reloc<9,_true,_32,_true>::get_address(&this->rel_)" (binary_expression "EVar3 = Output_reloc<9,_true,_32,_true>::get_address(&this->rel_)" (assignment_expression "EVar3 = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) (ERROR ",_true,_32,_true" , identifier , identifier , identifier) > (ERROR "::" : :) (call_expression "get_address(&this->rel_)" identifier (argument_list "(&this->rel_)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) )))) --) ;) (expression_statement "*(Elf_Addr *)__fd =\n       EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;" (assignment_expression "*(Elf_Addr *)__fd =\n       EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" (pointer_expression "*(Elf_Addr *)__fd" * (cast_expression "(Elf_Addr *)__fd" ( (type_descriptor "Elf_Addr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8" (binary_expression "EVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(EVar3 & 0xff0000) >> 8" (parenthesized_expression "(EVar3 & 0xff0000)" ( (binary_expression "EVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(EVar3 & 0xff00) << 8" (parenthesized_expression "(EVar3 & 0xff00)" ( (binary_expression "EVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "EVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "uVar4 = Output_reloc<9,_true,_32,_true>::get_symbol_index(&this->rel_);" (update_expression "uVar4 = Output_reloc<9,_true,_32,_true>::get_symbol_index(&this->rel_)" (binary_expression "uVar4 = Output_reloc<9,_true,_32,_true>::get_symbol_index(&this->rel_)" (assignment_expression "uVar4 = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) (ERROR ",_true,_32,_true" , identifier , identifier , identifier) > (ERROR "::" : :) (call_expression "get_symbol_index(&this->rel_)" identifier (argument_list "(&this->rel_)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) )))) --) ;) (expression_statement "uVar6 = *(uint *)&(this->rel_).field_0x10;" (assignment_expression "uVar6 = *(uint *)&(this->rel_).field_0x10" identifier = (pointer_expression "*(uint *)&(this->rel_).field_0x10" * (cast_expression "(uint *)&(this->rel_).field_0x10" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->rel_).field_0x10" & (field_expression "(this->rel_).field_0x10" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier))))) ;) (expression_statement "uVar7 = uVar6 & 0xff;" (assignment_expression "uVar7 = uVar6 & 0xff" identifier = (binary_expression "uVar6 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar5 = uVar4 * 0x100 + uVar7;" (assignment_expression "uVar5 = uVar4 * 0x100 + uVar7" identifier = (binary_expression "uVar4 * 0x100 + uVar7" (binary_expression "uVar4 * 0x100" identifier * number_literal) + identifier)) ;) (expression_statement "uVar4 = (this->rel_).local_sym_index_;" (assignment_expression "uVar4 = (this->rel_).local_sym_index_" identifier = (field_expression "(this->rel_).local_sym_index_" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "*(uint *)(__fd + 4) =\n       uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000;" (assignment_expression "*(uint *)(__fd + 4) =\n       uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000" (pointer_expression "*(uint *)(__fd + 4)" * (cast_expression "(uint *)(__fd + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__fd + 4)" ( (binary_expression "__fd + 4" identifier + number_literal) )))) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar7 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 * 0x1000000" identifier * number_literal))) ;) (expression_statement "addend = this->addend_;" (assignment_expression "addend = this->addend_" identifier = (field_expression "this->addend_" identifier -> field_identifier)) ;) (if_statement "if (uVar4 == 0xfffffffd) {\n    pTVar2 = parameters->target_;\n    if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(uVar4 == 0xfffffffd)" ( (binary_expression "uVar4 == 0xfffffffd" identifier == number_literal) )) (compound_statement "{\n    pTVar2 = parameters->target_;\n    if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" { (expression_statement "pTVar2 = parameters->target_;" (assignment_expression "pTVar2 = parameters->target_" identifier = (field_expression "parameters->target_" identifier -> field_identifier)) ;) (if_statement "if (pTVar2 != (Target *)0x0) {\n      uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }" if (parenthesized_expression "(pTVar2 != (Target *)0x0)" ( (binary_expression "pTVar2 != (Target *)0x0" identifier != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0);\n      uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }" { (expression_statement "uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0);" (assignment_expression "uVar6 = (**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0)" identifier = (call_expression "(**(code **)(*(int *)pTVar2 + 0x30))\n                        (pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0)" (parenthesized_expression "(**(code **)(*(int *)pTVar2 + 0x30))" ( (pointer_expression "**(code **)(*(int *)pTVar2 + 0x30)" * (pointer_expression "*(code **)(*(int *)pTVar2 + 0x30)" * (cast_expression "(code **)(*(int *)pTVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pTVar2 + 0x30)" ( (binary_expression "*(int *)pTVar2 + 0x30" (pointer_expression "*(int *)pTVar2" * (cast_expression "(int *)pTVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pTVar2,(this->rel_).u1_.relobj,uVar6 & 0xfffffff,addend,0)" ( identifier , (field_expression "(this->rel_).u1_.relobj" (field_expression "(this->rel_).u1_" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , (binary_expression "uVar6 & 0xfffffff" identifier & number_literal) , identifier , number_literal )))) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) (expression_statement "*(uint *)(__fd + 8) = uVar6;" (assignment_expression "*(uint *)(__fd + 8) = uVar6" (pointer_expression "*(uint *)(__fd + 8)" * (cast_expression "(uint *)(__fd + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__fd + 8)" ( (binary_expression "__fd + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return uVar6;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "bVar1 = (this->rel_).field_0x13;" (assignment_expression "bVar1 = (this->rel_).field_0x13" identifier = (field_expression "(this->rel_).field_0x13" (parenthesized_expression "(this->rel_)" ( (field_expression "this->rel_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((bVar1 & 0x20) == 0) {\n    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }\n  }\n  else {\n    addend = Output_reloc<9,_true,_32,_true>::symbol_value(&this->rel_,addend);\n  }" if (parenthesized_expression "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }\n  }" { (if_statement "if (((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)) {\n      EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }" if (parenthesized_expression "(((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0))" ( (binary_expression "((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)) && ((bVar1 & 0x40) != 0)" (parenthesized_expression "((uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc))" ( (binary_expression "(uVar4 < 0xfffffffe) && (uVar4 != 0xfffffffc)" (parenthesized_expression "(uVar4 < 0xfffffffe)" ( (binary_expression "uVar4 < 0xfffffffe" identifier < number_literal) )) && (parenthesized_expression "(uVar4 != 0xfffffffc)" ( (binary_expression "uVar4 != 0xfffffffc" identifier != number_literal) ))) )) && (parenthesized_expression "((bVar1 & 0x40) != 0)" ( (binary_expression "(bVar1 & 0x40) != 0" (parenthesized_expression "(bVar1 & 0x40)" ( (binary_expression "bVar1 & 0x40" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend);\n      uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;\n      *(uint *)(__fd + 8) = uVar6;\n      return uVar6;\n    }" { (expression_statement "EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend);" (comma_expression "EVar3 = Output_reloc<9,_true,_32,_true>::local_section_offset(&this->rel_,addend)" (assignment_expression "EVar3 = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) , (comma_expression "_true,_32,_true>::local_section_offset(&this->rel_,addend)" identifier , (comma_expression "_32,_true>::local_section_offset(&this->rel_,addend)" identifier , (binary_expression "_true>::local_section_offset(&this->rel_,addend)" identifier > (ERROR "::" : :) (call_expression "local_section_offset(&this->rel_,addend)" identifier (argument_list "(&this->rel_,addend)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) , identifier ))))))) ;) (expression_statement "uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18;" (assignment_expression "uVar6 = EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" identifier = (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8 | EVar3 << 0x18" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8 | (EVar3 & 0xff00) << 8" (binary_expression "EVar3 >> 0x18 | (EVar3 & 0xff0000) >> 8" (binary_expression "EVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(EVar3 & 0xff0000) >> 8" (parenthesized_expression "(EVar3 & 0xff0000)" ( (binary_expression "EVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(EVar3 & 0xff00) << 8" (parenthesized_expression "(EVar3 & 0xff00)" ( (binary_expression "EVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "EVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "*(uint *)(__fd + 8) = uVar6;" (assignment_expression "*(uint *)(__fd + 8) = uVar6" (pointer_expression "*(uint *)(__fd + 8)" * (cast_expression "(uint *)(__fd + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__fd + 8)" ( (binary_expression "__fd + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return uVar6;" return identifier ;) })) }) (else_clause "else {\n    addend = Output_reloc<9,_true,_32,_true>::symbol_value(&this->rel_,addend);\n  }" else (compound_statement "{\n    addend = Output_reloc<9,_true,_32,_true>::symbol_value(&this->rel_,addend);\n  }" { (expression_statement "addend = Output_reloc<9,_true,_32,_true>::symbol_value(&this->rel_,addend);" (comma_expression "addend = Output_reloc<9,_true,_32,_true>::symbol_value(&this->rel_,addend)" (assignment_expression "addend = Output_reloc<9" identifier = (binary_expression "Output_reloc<9" identifier < number_literal)) , (comma_expression "_true,_32,_true>::symbol_value(&this->rel_,addend)" identifier , (comma_expression "_32,_true>::symbol_value(&this->rel_,addend)" identifier , (binary_expression "_true>::symbol_value(&this->rel_,addend)" identifier > (ERROR "::" : :) (call_expression "symbol_value(&this->rel_,addend)" identifier (argument_list "(&this->rel_,addend)" ( (pointer_expression "&this->rel_" & (field_expression "this->rel_" identifier -> field_identifier)) , identifier ))))))) ;) }))) (expression_statement "uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18;" (assignment_expression "uVar6 = addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18" identifier = (binary_expression "addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8 | addend << 0x18" (binary_expression "addend >> 0x18 | (addend & 0xff0000) >> 8 | (addend & 0xff00) << 8" (binary_expression "addend >> 0x18 | (addend & 0xff0000) >> 8" (binary_expression "addend >> 0x18" identifier >> number_literal) | (binary_expression "(addend & 0xff0000) >> 8" (parenthesized_expression "(addend & 0xff0000)" ( (binary_expression "addend & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(addend & 0xff00) << 8" (parenthesized_expression "(addend & 0xff00)" ( (binary_expression "addend & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "addend << 0x18" identifier << number_literal))) ;) (expression_statement "*(uint *)(__fd + 8) = uVar6;" (assignment_expression "*(uint *)(__fd + 8) = uVar6" (pointer_expression "*(uint *)(__fd + 8)" * (cast_expression "(uint *)(__fd + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__fd + 8)" ( (binary_expression "__fd + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return uVar6;" return identifier ;) (ERROR "}" }))
(translation_unit "void FUN_0012ade0(undefined4 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}\n\n" (function_definition "void FUN_0012ade0(undefined4 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" primitive_type (function_declarator "FUN_0012ade0(undefined4 *param_1,uint *param_2)" identifier (parameter_list "(undefined4 *param_1,uint *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_0012aab0(param_1);" (assignment_expression "uVar3 = FUN_0012aab0(param_1)" identifier = (call_expression "FUN_0012aab0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (pointer_expression "*param_2" * 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 "iVar4 = FUN_000ff5a0(param_1);" (assignment_expression "iVar4 = FUN_000ff5a0(param_1)" identifier = (call_expression "FUN_000ff5a0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar3 = param_1[4];" (assignment_expression "uVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = uVar3 & 0xff;" (assignment_expression "uVar6 = uVar3 & 0xff" identifier = (binary_expression "uVar3 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar5 = iVar4 * 0x100 + uVar6;" (assignment_expression "uVar5 = iVar4 * 0x100 + uVar6" identifier = (binary_expression "iVar4 * 0x100 + uVar6" (binary_expression "iVar4 * 0x100" identifier * number_literal) + identifier)) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;" (assignment_expression "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 * 0x1000000" identifier * number_literal))) ;) (expression_statement "uVar5 = param_1[6];" (assignment_expression "uVar5 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }" if (parenthesized_expression "(uVar1 == 0xfffffffd)" ( (binary_expression "uVar1 == 0xfffffffd" identifier == number_literal) )) (compound_statement "{\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }" { (expression_statement "piVar2 = *(int **)(DAT_0038f378 + 0xc);" (assignment_expression "piVar2 = *(int **)(DAT_0038f378 + 0xc)" identifier = (pointer_expression "*(int **)(DAT_0038f378 + 0xc)" * (cast_expression "(int **)(DAT_0038f378 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);" (assignment_expression "uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" identifier = (call_expression "(**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" (parenthesized_expression "(**(code **)(*piVar2 + 0x30))" ( (pointer_expression "**(code **)(*piVar2 + 0x30)" * (pointer_expression "*(code **)(*piVar2 + 0x30)" * (cast_expression "(code **)(*piVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x30)" ( (binary_expression "*piVar2 + 0x30" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" ( identifier , (pointer_expression "*param_1" * identifier) , (binary_expression "uVar3 & 0xfffffff" identifier & number_literal) , identifier , number_literal )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (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))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",uVar5)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" if (parenthesized_expression "((*(byte *)((int)param_1 + 0x13) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x13) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x13) & 0x20)" ( (binary_expression "*(byte *)((int)param_1 + 0x13) & 0x20" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }" { (if_statement "if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" if (parenthesized_expression "(((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0))" ( (binary_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)" (parenthesized_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc))" ( (binary_expression "(uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)" (parenthesized_expression "(uVar1 < 0xfffffffe)" ( (binary_expression "uVar1 < 0xfffffffe" identifier < number_literal) )) && (parenthesized_expression "(uVar1 != 0xfffffffc)" ( (binary_expression "uVar1 != 0xfffffffc" identifier != number_literal) ))) )) && (parenthesized_expression "((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x13) & 0x40) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x13) & 0x40)" ( (binary_expression "*(byte *)((int)param_1 + 0x13) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x13)" * (cast_expression "(byte *)((int)param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x13)" ( (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" { (expression_statement "uVar3 = FUN_0012a910(param_1,uVar5);" (assignment_expression "uVar3 = FUN_0012a910(param_1,uVar5)" identifier = (call_expression "FUN_0012a910(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (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))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" else (compound_statement "{\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" { (expression_statement "uVar5 = FUN_000ff290(param_1,uVar5);" (assignment_expression "uVar5 = FUN_000ff290(param_1,uVar5)" identifier = (call_expression "FUN_000ff290(param_1,uVar5)" identifier (argument_list "(param_1,uVar5)" ( identifier , identifier )))) ;) }))) (expression_statement "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_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 IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * IDENT) , (binary_expression IDENT & LIT) , 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))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (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))) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }))) (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))) ;) (return_statement return ;) })))
(function_definition "void FUN_0012ade0(undefined4 *param_1,uint *param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012ade0(undefined4 *param_1,uint *param_2)" (identifier "FUN_0012ade0") (parameter_list "(undefined4 *param_1,uint *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  \n  uVar3 = FUN_0012aab0(param_1);\n  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n  iVar4 = FUN_000ff5a0(param_1);\n  uVar3 = param_1[4];\n  uVar6 = uVar3 & 0xff;\n  uVar5 = iVar4 * 0x100 + uVar6;\n  uVar1 = param_1[3];\n  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;\n  uVar5 = param_1[6];\n  if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }\n  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }\n  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (expression_statement "uVar3 = FUN_0012aab0(param_1);" (assignment_expression "uVar3 = FUN_0012aab0(param_1)" (identifier "uVar3") (= "=") (call_expression "FUN_0012aab0(param_1)" (identifier "FUN_0012aab0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "*param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (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 "iVar4 = FUN_000ff5a0(param_1);" (assignment_expression "iVar4 = FUN_000ff5a0(param_1)" (identifier "iVar4") (= "=") (call_expression "FUN_000ff5a0(param_1)" (identifier "FUN_000ff5a0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar3 = param_1[4];" (assignment_expression "uVar3 = param_1[4]" (identifier "uVar3") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "uVar6 = uVar3 & 0xff;" (assignment_expression "uVar6 = uVar3 & 0xff" (identifier "uVar6") (= "=") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff"))) (; ";")) (expression_statement "uVar5 = iVar4 * 0x100 + uVar6;" (assignment_expression "uVar5 = iVar4 * 0x100 + uVar6" (identifier "uVar5") (= "=") (binary_expression "iVar4 * 0x100 + uVar6" (binary_expression "iVar4 * 0x100" (identifier "iVar4") (* "*") (number_literal "0x100")) (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" (identifier "uVar1") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;" (assignment_expression "param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" (( "(") (binary_expression "uVar5 & 0xff0000" (identifier "uVar5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" (( "(") (binary_expression "uVar5 & 0xff00" (identifier "uVar5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar6 * 0x1000000" (identifier "uVar6") (* "*") (number_literal "0x1000000")))) (; ";")) (expression_statement "uVar5 = param_1[6];" (assignment_expression "uVar5 = param_1[6]" (identifier "uVar5") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (if_statement "if (uVar1 == 0xfffffffd) {\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }" (if "if") (parenthesized_expression "(uVar1 == 0xfffffffd)" (( "(") (binary_expression "uVar1 == 0xfffffffd" (identifier "uVar1") (== "==") (number_literal "0xfffffffd")) () ")")) (compound_statement "{\n    piVar2 = *(int **)(DAT_0038f378 + 0xc);\n    if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);\n  }" ({ "{") (expression_statement "piVar2 = *(int **)(DAT_0038f378 + 0xc);" (assignment_expression "piVar2 = *(int **)(DAT_0038f378 + 0xc)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int **)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (piVar2 != (int *)0x0) {\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" (if "if") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" ({ "{") (expression_statement "uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);" (assignment_expression "uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" (parenthesized_expression "(**(code **)(*piVar2 + 0x30))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x30)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x30)" (* "*") (cast_expression "(code **)(*piVar2 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x30)" (( "(") (binary_expression "*piVar2 + 0x30" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0)" (( "(") (identifier "piVar2") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "uVar3 & 0xfffffff" (identifier "uVar3") (& "&") (number_literal "0xfffffff")) (, ",") (identifier "uVar5") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (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")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",uVar5)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }\n  else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" (if "if") (parenthesized_expression "((*(byte *)((int)param_1 + 0x13) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)((int)param_1 + 0x13) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x13) & 0x20)" (( "(") (binary_expression "*(byte *)((int)param_1 + 0x13) & 0x20" (pointer_expression "*(byte *)((int)param_1 + 0x13)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }\n  }" ({ "{") (if_statement "if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" (if "if") (parenthesized_expression "(((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0))" (( "(") (binary_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&\n       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)" (parenthesized_expression "((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc))" (( "(") (binary_expression "(uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)" (parenthesized_expression "(uVar1 < 0xfffffffe)" (( "(") (binary_expression "uVar1 < 0xfffffffe" (identifier "uVar1") (< "<") (number_literal "0xfffffffe")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 0xfffffffc)" (( "(") (binary_expression "uVar1 != 0xfffffffc" (identifier "uVar1") (!= "!=") (number_literal "0xfffffffc")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)" (( "(") (binary_expression "(*(byte *)((int)param_1 + 0x13) & 0x40) != 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x13) & 0x40)" (( "(") (binary_expression "*(byte *)((int)param_1 + 0x13) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x13)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x13)" (( "(") (binary_expression "(int)param_1 + 0x13" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      uVar3 = FUN_0012a910(param_1,uVar5);\n      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n      return;\n    }" ({ "{") (expression_statement "uVar3 = FUN_0012a910(param_1,uVar5);" (assignment_expression "uVar3 = FUN_0012a910(param_1,uVar5)" (identifier "uVar3") (= "=") (call_expression "FUN_0012a910(param_1,uVar5)" (identifier "FUN_0012a910") (argument_list "(param_1,uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (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")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" (else "else") (compound_statement "{\n    uVar5 = FUN_000ff290(param_1,uVar5);\n  }" ({ "{") (expression_statement "uVar5 = FUN_000ff290(param_1,uVar5);" (assignment_expression "uVar5 = FUN_000ff290(param_1,uVar5)" (identifier "uVar5") (= "=") (call_expression "FUN_000ff290(param_1,uVar5)" (identifier "FUN_000ff290") (argument_list "(param_1,uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") () ")")))) (; ";")) (} "}")))) (expression_statement "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" (identifier "uVar5") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" (( "(") (binary_expression "uVar5 & 0xff0000" (identifier "uVar5") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" (( "(") (binary_expression "uVar5 & 0xff00" (identifier "uVar5") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar5 << 0x18" (identifier "uVar5") (<< "<<") (number_literal "0x18")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void write(Output_reloc<4,_true,_32,_true> * this, uchar * pov) */

ssize_t __thiscall
gold::var_1<4,var_13,_32,var_13>::write
          (var_1<4,var_13,_32,var_13> *this,int var_8,void *__buf,size_t __n)

{
  byte var_12;
  type_1 *var_10;
  type_2 var_3;
  type_3 var_6;
  type_3 var_9;
  type_3 var_5;
  type_4 var_16;
  type_3 var_7;
  
  var_3 = var_1<9,var_13,_32,var_13>::var_2(&this->rel_);
  *(type_2 *)var_8 =
       var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18;
  var_6 = var_1<9,var_13,_32,var_13>::var_4(&this->rel_);
  var_5 = *(type_3 *)&(this->rel_).field_0x10;
  var_7 = var_5 & 0xff;
  var_9 = var_6 * 0x100 + var_7;
  var_6 = (this->rel_).local_sym_index_;
  *(type_3 *)(var_8 + 4) =
       var_9 >> 0x18 | (var_9 & 0xff0000) >> 8 | (var_9 & 0xff00) << 8 | var_7 * 0x1000000;
  var_16 = this->addend_;
  if (var_6 == 0xfffffffd) {
    var_10 = parameters->target_;
    if (var_10 != (type_1 *)0x0) {
      var_5 = (**(type_5 **)(*(int *)var_10 + 0x30))
                        (var_10,(this->rel_).u1_.relobj,var_5 & 0xfffffff,var_16,0);
      var_5 = var_5 >> 0x18 | (var_5 & 0xff0000) >> 8 | (var_5 & 0xff00) << 8 | var_5 << 0x18;
      *(type_3 *)(var_8 + 8) = var_5;
      return var_5;
    }
                    /* WARNING: Subroutine does not return */
    var_11("../../gold/parameters.h",0x69,"target");
  }
  var_12 = (this->rel_).field_0x13;
  if ((var_12 & 0x20) == 0) {
    if (((var_6 < 0xfffffffe) && (var_6 != 0xfffffffc)) && ((var_12 & 0x40) != 0)) {
      var_3 = var_1<9,var_13,_32,var_13>::var_14(&this->rel_,var_16);
      var_5 = var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18;
      *(type_3 *)(var_8 + 8) = var_5;
      return var_5;
    }
  }
  else {
    var_16 = var_1<9,var_13,_32,var_13>::var_15(&this->rel_,var_16);
  }
  var_5 = var_16 >> 0x18 | (var_16 & 0xff0000) >> 8 | (var_16 & 0xff00) << 8 | var_16 << 0x18;
  *(type_3 *)(var_8 + 8) = var_5;
  return var_5;
}


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

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

void MASKED(undefined4 *param_1,uint *param_2)

{
  uint uVar1;
  int *piVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  
  uVar3 = FUN_0012aab0(param_1);
  *param_2 = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
  iVar4 = FUN_000ff5a0(param_1);
  uVar3 = param_1[4];
  uVar6 = uVar3 & 0xff;
  uVar5 = iVar4 * 0x100 + uVar6;
  uVar1 = param_1[3];
  param_2[1] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar6 * 0x1000000;
  uVar5 = param_1[6];
  if (uVar1 == 0xfffffffd) {
    piVar2 = *(int **)(DAT_0038f378 + 0xc);
    if (piVar2 != (int *)0x0) {
      uVar3 = (**(code **)(*piVar2 + 0x30))(piVar2,*param_1,uVar3 & 0xfffffff,uVar5,0);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x69,"target",uVar5);
  }
  if ((*(byte *)((int)param_1 + 0x13) & 0x20) == 0) {
    if (((uVar1 < 0xfffffffe) && (uVar1 != 0xfffffffc)) &&
       ((*(byte *)((int)param_1 + 0x13) & 0x40) != 0)) {
      uVar3 = FUN_0012a910(param_1,uVar5);
      param_2[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
      return;
    }
  }
  else {
    uVar5 = FUN_000ff290(param_1,uVar5);
  }
  param_2[2] = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
  return;
}

