
/* DWARF original prototype: void write(Output_reloc<9,_true,_32,_false> * this, uchar * pov) */

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

{
  Elf_Addr EVar1;
  uint uVar2;
  
  EVar1 = get_address(this);
  *(Elf_Addr *)__fd = EVar1;
  uVar2 = get_symbol_index(this);
  *(uint *)(__fd + 4) = (uint)(byte)this->field_0x10 + uVar2 * 0x100;
  return uVar2 * 0x100;
}



void FUN_0010f460(int param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  int iVar2;
  
  uVar1 = FUN_0010f280(param_1);
  *param_2 = uVar1;
  iVar2 = FUN_000f5720(param_1);
  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;
  return;
}


PUSH ESI
PUSH EBX
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
MOV EBX,dword ptr [ESP + 0x20]
PUSH ESI
CALL 0x0010f280
MOV dword ptr [EBX],EAX
MOV dword ptr [ESP],ESI
CALL 0x000f5720
MOVZX EDX,byte ptr [ESI + 0x10]
SHL EAX,0x8
ADD EDX,EAX
MOV dword ptr [EBX + 0x4],EDX
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "void FUN_0010f460(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}\n\n" (function_definition "void FUN_0010f460(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}" primitive_type (function_declarator "FUN_0010f460(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_0010f280(param_1);" (assignment_expression "uVar1 = FUN_0010f280(param_1)" identifier = (call_expression "FUN_0010f280(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "iVar2 = FUN_000f5720(param_1);" (assignment_expression "iVar2 = FUN_000f5720(param_1)" identifier = (call_expression "FUN_000f5720(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;" (assignment_expression "param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "(uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100" (binary_expression "(uint)*(byte *)(param_1 + 0x10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x100" identifier * number_literal))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void write(Output_reloc<9,_true,_32,_false> * this, uchar * pov) */\n\nssize_t __thiscall\ngold::Output_reloc<9,_true,_32,_false>::write\n          (Output_reloc<9,_true,_32,_false> *this,int __fd,void *__buf,size_t __n)\n\n{\n  Elf_Addr EVar1;\n  uint uVar2;\n  \n  EVar1 = get_address(this);\n  *(Elf_Addr *)__fd = EVar1;\n  uVar2 = get_symbol_index(this);\n  *(uint *)(__fd + 4) = (uint)(byte)this->field_0x10 + uVar2 * 0x100;\n  return uVar2 * 0x100;\n}\n\n" comment (declaration "ssize_t __thiscall\ngold::Output_reloc<9,_true,_32,_false>::write\n          (Output_reloc<9,_true,_32,_false> *this,int __fd,void *__buf,size_t __n)\n\n{\n  Elf_Addr EVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , (ERROR "_false>::write\n          (Output_reloc<9,_true,_32,_false> *this,int __fd,void *__buf,size_t __n)\n\n{\n  Elf_Addr" (function_declarator "_false>::write\n          (Output_reloc<9,_true,_32,_false> *this,int __fd,void *__buf,size_t __n)" identifier (ERROR ">::write" > : : identifier) (parameter_list "(Output_reloc<9,_true,_32,_false> *this,int __fd,void *__buf,size_t __n)" ( (parameter_declaration "Output_reloc" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_false> *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 "uint uVar2;" type_identifier identifier ;) (expression_statement "EVar1 = get_address(this);" (assignment_expression "EVar1 = get_address(this)" identifier = (call_expression "get_address(this)" identifier (argument_list "(this)" ( identifier )))) ;) (expression_statement "*(Elf_Addr *)__fd = EVar1;" (assignment_expression "*(Elf_Addr *)__fd = EVar1" (pointer_expression "*(Elf_Addr *)__fd" * (cast_expression "(Elf_Addr *)__fd" ( (type_descriptor "Elf_Addr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "uVar2 = get_symbol_index(this);" (assignment_expression "uVar2 = get_symbol_index(this)" identifier = (call_expression "get_symbol_index(this)" identifier (argument_list "(this)" ( identifier )))) ;) (expression_statement "*(uint *)(__fd + 4) = (uint)(byte)this->field_0x10 + uVar2 * 0x100;" (assignment_expression "*(uint *)(__fd + 4) = (uint)(byte)this->field_0x10 + uVar2 * 0x100" (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 "(uint)(byte)this->field_0x10 + uVar2 * 0x100" (cast_expression "(uint)(byte)this->field_0x10" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)this->field_0x10" ( (type_descriptor "byte" type_identifier) ) (field_expression "this->field_0x10" identifier -> field_identifier))) + (binary_expression "uVar2 * 0x100" identifier * number_literal))) ;) (return_statement "return uVar2 * 0x100;" return (binary_expression "uVar2 * 0x100" identifier * number_literal) ;) (ERROR "}" }))
(translation_unit "void FUN_0010f460(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}\n\n" (function_definition "void FUN_0010f460(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}" primitive_type (function_declarator "FUN_0010f460(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = FUN_0010f280(param_1);" (assignment_expression "uVar1 = FUN_0010f280(param_1)" identifier = (call_expression "FUN_0010f280(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "iVar2 = FUN_000f5720(param_1);" (assignment_expression "iVar2 = FUN_000f5720(param_1)" identifier = (call_expression "FUN_000f5720(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;" (assignment_expression "param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "(uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100" (binary_expression "(uint)*(byte *)(param_1 + 0x10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x100" identifier * number_literal))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT))) ;) (return_statement return ;) })))
(function_definition "void FUN_0010f460(int param_1,undefined4 *param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010f460(int param_1,undefined4 *param_2)" (identifier "FUN_0010f460") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  uVar1 = FUN_0010f280(param_1);\n  *param_2 = uVar1;\n  iVar2 = FUN_000f5720(param_1);\n  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = FUN_0010f280(param_1);" (assignment_expression "uVar1 = FUN_0010f280(param_1)" (identifier "uVar1") (= "=") (call_expression "FUN_0010f280(param_1)" (identifier "FUN_0010f280") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar2 = FUN_000f5720(param_1);" (assignment_expression "iVar2 = FUN_000f5720(param_1)" (identifier "iVar2") (= "=") (call_expression "FUN_000f5720(param_1)" (identifier "FUN_000f5720") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;" (assignment_expression "param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100" (binary_expression "(uint)*(byte *)(param_1 + 0x10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1 + 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (binary_expression "iVar2 * 0x100" (identifier "iVar2") (* "*") (number_literal "0x100")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void write(Output_reloc<9,_true,_32,_false> * this, uchar * pov) */

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

{
  type_2 EVar1;
  type_1 var_4;
  
  EVar1 = var_1(this);
  *(type_2 *)var_3 = EVar1;
  var_4 = var_2(this);
  *(type_1 *)(var_3 + 4) = (type_1)(type_3)this->field_0x10 + var_4 * 0x100;
  return var_4 * 0x100;
}


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

void MASKED(int param_1,undefined4 *param_2)

{
  undefined4 uVar1;
  int iVar2;
  
  uVar1 = FUN_0010f280(param_1);
  *param_2 = uVar1;
  iVar2 = FUN_000f5720(param_1);
  param_2[1] = (uint)*(byte *)(param_1 + 0x10) + iVar2 * 0x100;
  return;
}

