
/* DWARF original prototype: void Sized_incr_dynobj(Sized_incr_dynobj<32,_false> * this, string *
   name, Sized_incremental_binary<32,_false> * ibase, uint input_file_index) */

void __thiscall
gold::Sized_incr_dynobj<32,_false>::Sized_incr_dynobj
          (Sized_incr_dynobj<32,_false> *this,string *name,
          Sized_incremental_binary<32,_false> *ibase,uint input_file_index)

{
  undefined1 *puVar1;
  ushort uVar2;
  uchar *puVar3;
  uint uVar4;
  size_t sVar5;
  char *__s;
  
  Dynobj::Dynobj(&this->super_Dynobj,name,(Input_file *)0x0,0);
  this->ibase_ = ibase;
  (this->super_Dynobj).super_Object._vptr_Object =
       (_func_int_varargs **)&PTR__Sized_incr_dynobj_00655c18;
  this->input_file_index_ = input_file_index;
  if ((ibase->inputs_reader_).input_file_count_ <= input_file_index) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */
    do_gold_unreachable("../../gold/incremental.h",0x45c,"input_file_offset");
  }
  puVar3 = (ibase->inputs_reader_).p_;
  uVar4 = input_file_index * 0x18 + 0x10;
  (this->input_reader_).inputs_ = &ibase->inputs_reader_;
  uVar2 = *(ushort *)(puVar3 + (ulong)uVar4 + 0x14);
  (this->input_reader_).offset_ = uVar4;
  uVar4 = *(uint *)(puVar3 + (ulong)uVar4 + 4);
  (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.
  _M_start = (pointer)0x0;
  (this->input_reader_).flags_ = (uint)uVar2;
  (this->input_reader_).info_offset_ = uVar4;
  (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.
  _M_finish = (pointer)0x0;
  (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.
  _M_end_of_storage = (pointer)0x0;
  this->defined_count_ = 0;
  if ((short)uVar2 < 0) {
    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;
    *puVar1 = *puVar1 | 0x20;
  }
  if ((uVar2 & 0x4000) != 0) {
    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;
    *puVar1 = *puVar1 | 0x40;
  }
  if ((char)uVar2 == '\x04') {
    __s = (char *)0x0;
    if ((ulong)*(uint *)(puVar3 + uVar4) < (ibase->inputs_reader_).strtab_.usable_size_) {
      __s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4);
    }
    sVar5 = strlen(__s);
                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */
    std::string::_M_replace
              ((string *)&(this->super_Dynobj).soname_,0,
               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);
    (this->super_Dynobj).super_Object.shnum_ = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */
  do_gold_unreachable("../../gold/incremental.h",0x36d,"get_soname");
}



void FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)

{
  ushort uVar1;
  uint uVar2;
  long lVar3;
  ulong uVar4;
  size_t sVar5;
  char *__s;
  
  FUN_0033f410(param_1,param_2,0,0);
  param_1[0x12] = param_3;
  *param_1 = &PTR_FUN_00655c18;
  *(uint *)(param_1 + 0x13) = param_4;
  if (*(uint *)(param_3 + 0x118) <= param_4) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */
    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");
  }
  lVar3 = *(long *)(param_3 + 0x100);
  uVar2 = param_4 * 0x18 + 0x10;
  param_1[0x14] = param_3 + 0x100;
  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);
  *(uint *)((long)param_1 + 0xac) = uVar2;
  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);
  param_1[0x17] = 0;
  *(uint *)(param_1 + 0x15) = (uint)uVar1;
  *(uint *)(param_1 + 0x16) = uVar2;
  param_1[0x18] = 0;
  param_1[0x19] = 0;
  param_1[0x1a] = 0;
  if ((short)uVar1 < 0) {
    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;
  }
  if ((uVar1 & 0x4000) != 0) {
    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;
  }
  if ((char)uVar1 == '\x04') {
    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);
    __s = (char *)0x0;
    if (uVar4 < *(ulong *)(param_3 + 0x110)) {
      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);
    }
    sVar5 = strlen(__s);
                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */
    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);
    *(undefined4 *)(param_1 + 7) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */
  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");
}


PUSH R12
MOV R12D,ECX
XOR ECX,ECX
PUSH RBP
MOV RBP,RDX
XOR EDX,EDX
PUSH RBX
MOV RBX,RDI
CALL 0x0033f410
LEA RAX,[0x655c18]
MOV qword ptr [RBX + 0x90],RBP
MOV qword ptr [RBX],RAX
MOV dword ptr [RBX + 0x98],R12D
CMP R12D,dword ptr [RBP + 0x118]
JNC 0x00364776
MOV RCX,qword ptr [RBP + 0x100]
LEA EAX,[R12 + R12*0x2]
LEA RDX,[RBP + 0x100]
LEA EAX,[0x10 + RAX*0x8]
MOV qword ptr [RBX + 0xa0],RDX
MOVZX ESI,word ptr [RCX + RAX*0x1 + 0x14]
MOV dword ptr [RBX + 0xac],EAX
MOV EDX,dword ptr [RCX + RAX*0x1 + 0x4]
MOV qword ptr [RBX + 0xb8],0x0
MOV EAX,ESI
MOV dword ptr [RBX + 0xa8],ESI
MOV dword ptr [RBX + 0xb0],EDX
MOV qword ptr [RBX + 0xc0],0x0
MOV qword ptr [RBX + 0xc8],0x0
MOV qword ptr [RBX + 0xd0],0x0
TEST SI,SI
JNS 0x0036471d
OR byte ptr [RBX + 0x3c],0x20
TEST AH,0x40
JNZ 0x00364770
CMP AL,0x4
JNZ 0x0036478e
MOV EAX,dword ptr [RCX + RDX*0x1]
XOR R12D,R12D
MOV RDX,qword ptr [RBP + 0x108]
CMP RAX,qword ptr [RBP + 0x110]
JNC 0x00364740
LEA R12,[RDX + RAX*0x1]
MOV RDI,R12
CALL 0x00177490
MOV RDX,qword ptr [RBX + 0x58]
LEA RDI,[RBX + 0x50]
MOV RCX,R12
MOV R8,RAX
XOR ESI,ESI
CALL 0x004a5c70
MOV dword ptr [RBX + 0x38],0x0
POP RBX
POP RBP
POP R12
RET
OR byte ptr [RBX + 0x3c],0x40
JMP 0x00364722
LEA RDX,[0x56ff70]
MOV ESI,0x45c
LEA RDI,[0x56e2fe]
CALL 0x00352af0
LEA RDX,[0x56faf8]
MOV ESI,0x36d
LEA RDI,[0x56e2fe]
CALL 0x00352af0
(translation_unit "void FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)\n\n{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */\n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}\n\n" (function_definition "void FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)\n\n{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */\n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}" primitive_type (function_declarator "FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */\n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "FUN_0033f410(param_1,param_2,0,0);" (call_expression "FUN_0033f410(param_1,param_2,0,0)" identifier (argument_list "(param_1,param_2,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "param_1[0x12] = param_3;" (assignment_expression "param_1[0x12] = param_3" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = &PTR_FUN_00655c18;" (assignment_expression "*param_1 = &PTR_FUN_00655c18" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00655c18" & identifier)) ;) (expression_statement "*(uint *)(param_1 + 0x13) = param_4;" (assignment_expression "*(uint *)(param_1 + 0x13) = param_4" (pointer_expression "*(uint *)(param_1 + 0x13)" * (cast_expression "(uint *)(param_1 + 0x13)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" if (parenthesized_expression "(*(uint *)(param_3 + 0x118) <= param_4)" ( (binary_expression "*(uint *)(param_3 + 0x118) <= param_4" (pointer_expression "*(uint *)(param_3 + 0x118)" * (cast_expression "(uint *)(param_3 + 0x118)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x118)" ( (binary_expression "param_3 + 0x118" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" { comment comment (expression_statement "FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");" (call_expression "FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset")" identifier (argument_list "("../../gold/incremental.h",0x45c,"input_file_offset")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""input_file_offset"" " string_content ") ))) ;) })) (expression_statement "lVar3 = *(long *)(param_3 + 0x100);" (assignment_expression "lVar3 = *(long *)(param_3 + 0x100)" identifier = (pointer_expression "*(long *)(param_3 + 0x100)" * (cast_expression "(long *)(param_3 + 0x100)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x100)" ( (binary_expression "param_3 + 0x100" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = param_4 * 0x18 + 0x10;" (assignment_expression "uVar2 = param_4 * 0x18 + 0x10" identifier = (binary_expression "param_4 * 0x18 + 0x10" (binary_expression "param_4 * 0x18" identifier * number_literal) + number_literal)) ;) (expression_statement "param_1[0x14] = param_3 + 0x100;" (assignment_expression "param_1[0x14] = param_3 + 0x100" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = (binary_expression "param_3 + 0x100" identifier + number_literal)) ;) (expression_statement "uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);" (assignment_expression "uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" identifier = (pointer_expression "*(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" * (cast_expression "(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x14 + (ulong)uVar2)" ( (binary_expression "lVar3 + 0x14 + (ulong)uVar2" (binary_expression "lVar3 + 0x14" identifier + number_literal) + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (expression_statement "*(uint *)((long)param_1 + 0xac) = uVar2;" (assignment_expression "*(uint *)((long)param_1 + 0xac) = uVar2" (pointer_expression "*(uint *)((long)param_1 + 0xac)" * (cast_expression "(uint *)((long)param_1 + 0xac)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xac)" ( (binary_expression "(long)param_1 + 0xac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);" (assignment_expression "uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2)" identifier = (pointer_expression "*(uint *)(lVar3 + 4 + (ulong)uVar2)" * (cast_expression "(uint *)(lVar3 + 4 + (ulong)uVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 4 + (ulong)uVar2)" ( (binary_expression "lVar3 + 4 + (ulong)uVar2" (binary_expression "lVar3 + 4" identifier + number_literal) + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 0x15) = (uint)uVar1;" (assignment_expression "*(uint *)(param_1 + 0x15) = (uint)uVar1" (pointer_expression "*(uint *)(param_1 + 0x15)" * (cast_expression "(uint *)(param_1 + 0x15)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(uint *)(param_1 + 0x16) = uVar2;" (assignment_expression "*(uint *)(param_1 + 0x16) = uVar2" (pointer_expression "*(uint *)(param_1 + 0x16)" * (cast_expression "(uint *)(param_1 + 0x16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0x18] = 0;" (assignment_expression "param_1[0x18] = 0" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x19] = 0;" (assignment_expression "param_1[0x19] = 0" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }" if (parenthesized_expression "((short)uVar1 < 0)" ( (binary_expression "(short)uVar1 < 0" (cast_expression "(short)uVar1" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier) < number_literal) )) (compound_statement "{\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }" { (expression_statement "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;" (assignment_expression "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((long)param_1 + 0x3c) | 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) | number_literal)) ;) })) (if_statement "if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }" if (parenthesized_expression "((uVar1 & 0x4000) != 0)" ( (binary_expression "(uVar1 & 0x4000) != 0" (parenthesized_expression "(uVar1 & 0x4000)" ( (binary_expression "uVar1 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }" { (expression_statement "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;" (assignment_expression "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((long)param_1 + 0x3c) | 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) | number_literal)) ;) })) (if_statement "if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }" if (parenthesized_expression "((char)uVar1 == '\x04')" ( (binary_expression "(char)uVar1 == '\x04'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }" { (expression_statement "uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);" (assignment_expression "uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2)" identifier = (binary_expression "(ulong)*(uint *)(lVar3 + (ulong)uVar2)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(lVar3 + (ulong)uVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + (ulong)uVar2)" ( (binary_expression "lVar3 + (ulong)uVar2" identifier + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }" if (parenthesized_expression "(uVar4 < *(ulong *)(param_3 + 0x110))" ( (binary_expression "uVar4 < *(ulong *)(param_3 + 0x110)" identifier < (pointer_expression "*(ulong *)(param_3 + 0x110)" * (cast_expression "(ulong *)(param_3 + 0x110)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x110)" ( (binary_expression "param_3 + 0x110" identifier + number_literal) ))))) )) (compound_statement "{\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }" { (expression_statement "__s = (char *)(*(long *)(param_3 + 0x108) + uVar4);" (assignment_expression "__s = (char *)(*(long *)(param_3 + 0x108) + uVar4)" identifier = (cast_expression "(char *)(*(long *)(param_3 + 0x108) + uVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_3 + 0x108) + uVar4)" ( (binary_expression "*(long *)(param_3 + 0x108) + uVar4" (pointer_expression "*(long *)(param_3 + 0x108)" * (cast_expression "(long *)(param_3 + 0x108)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x108)" ( (binary_expression "param_3 + 0x108" identifier + number_literal) )))) + identifier) )))) ;) })) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) comment (expression_statement "FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);" (call_expression "FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5)" identifier (argument_list "(param_1 + 10,0,param_1[0xb],__s,sVar5)" ( (binary_expression "param_1 + 10" identifier + number_literal) , number_literal , (subscript_expression "param_1[0xb]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");" (call_expression "FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname")" identifier (argument_list "("../../gold/incremental.h",0x36d,"get_soname")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""get_soname"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: void Sized_incr_dynobj(Sized_incr_dynobj<32,_false> * this, string *\n   name, Sized_incremental_binary<32,_false> * ibase, uint input_file_index) */\n\nvoid __thiscall\ngold::Sized_incr_dynobj<32,_false>::Sized_incr_dynobj\n          (Sized_incr_dynobj<32,_false> *this,string *name,\n          Sized_incremental_binary<32,_false> *ibase,uint input_file_index)\n\n{\n  undefined1 *puVar1;\n  ushort uVar2;\n  uchar *puVar3;\n  uint uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  Dynobj::Dynobj(&this->super_Dynobj,name,(Input_file *)0x0,0);\n  this->ibase_ = ibase;\n  (this->super_Dynobj).super_Object._vptr_Object =\n       (_func_int_varargs **)&PTR__Sized_incr_dynobj_00655c18;\n  this->input_file_index_ = input_file_index;\n  if ((ibase->inputs_reader_).input_file_count_ <= input_file_index) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    do_gold_unreachable("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  puVar3 = (ibase->inputs_reader_).p_;\n  uVar4 = input_file_index * 0x18 + 0x10;\n  (this->input_reader_).inputs_ = &ibase->inputs_reader_;\n  uVar2 = *(ushort *)(puVar3 + (ulong)uVar4 + 0x14);\n  (this->input_reader_).offset_ = uVar4;\n  uVar4 = *(uint *)(puVar3 + (ulong)uVar4 + 4);\n  (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_start = (pointer)0x0;\n  (this->input_reader_).flags_ = (uint)uVar2;\n  (this->input_reader_).info_offset_ = uVar4;\n  (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_finish = (pointer)0x0;\n  (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_end_of_storage = (pointer)0x0;\n  this->defined_count_ = 0;\n  if ((short)uVar2 < 0) {\n    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;\n    *puVar1 = *puVar1 | 0x20;\n  }\n  if ((uVar2 & 0x4000) != 0) {\n    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;\n    *puVar1 = *puVar1 | 0x40;\n  }\n  if ((char)uVar2 == '\x04') {\n    __s = (char *)0x0;\n    if ((ulong)*(uint *)(puVar3 + uVar4) < (ibase->inputs_reader_).strtab_.usable_size_) {\n      __s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    std::string::_M_replace\n              ((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);\n    (this->super_Dynobj).super_Object.shnum_ = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */\n  do_gold_unreachable("../../gold/incremental.h",0x36d,"get_soname");\n}\n\n" comment (declaration "void __thiscall\ngold::Sized_incr_dynobj<32,_false>::Sized_incr_dynobj\n          (Sized_incr_dynobj<32,_false> *this,string *name,\n          Sized_incremental_binary<32,_false> *ibase,uint input_file_index)\n\n{\n  undefined1 *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::Sized_incr_dynobj\n          (Sized_incr_dynobj<32,_false> *this,string *name,\n          Sized_incremental_binary<32,_false> *ibase,uint input_file_index)\n\n{\n  undefined1" identifier > : : (function_declarator "Sized_incr_dynobj\n          (Sized_incr_dynobj<32,_false> *this,string *name,\n          Sized_incremental_binary<32,_false> *ibase,uint input_file_index)" identifier (parameter_list "(Sized_incr_dynobj<32,_false> *this,string *name,\n          Sized_incremental_binary<32,_false> *ibase,uint input_file_index)" ( (parameter_declaration "Sized_incr_dynobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *name" type_identifier (pointer_declarator "*name" * identifier)) , (parameter_declaration "Sized_incremental_binary" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *ibase" type_identifier (ERROR ">" >) (pointer_declarator "*ibase" * identifier)) , (parameter_declaration "uint input_file_index" type_identifier identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (labeled_statement "Dynobj::Dynobj(&this->super_Dynobj,name,(Input_file *)0x0,0);" statement_identifier : (ERROR ":" :) (expression_statement "Dynobj(&this->super_Dynobj,name,(Input_file *)0x0,0);" (call_expression "Dynobj(&this->super_Dynobj,name,(Input_file *)0x0,0)" identifier (argument_list "(&this->super_Dynobj,name,(Input_file *)0x0,0)" ( (pointer_expression "&this->super_Dynobj" & (field_expression "this->super_Dynobj" identifier -> field_identifier)) , identifier , (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;)) (expression_statement "this->ibase_ = ibase;" (assignment_expression "this->ibase_ = ibase" (field_expression "this->ibase_" identifier -> field_identifier) = identifier) ;) (expression_statement "(this->super_Dynobj).super_Object._vptr_Object =\n       (_func_int_varargs **)&PTR__Sized_incr_dynobj_00655c18;" (assignment_expression "(this->super_Dynobj).super_Object._vptr_Object =\n       (_func_int_varargs **)&PTR__Sized_incr_dynobj_00655c18" (field_expression "(this->super_Dynobj).super_Object._vptr_Object" (field_expression "(this->super_Dynobj).super_Object" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Sized_incr_dynobj_00655c18" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Sized_incr_dynobj_00655c18" & identifier))) ;) (expression_statement "this->input_file_index_ = input_file_index;" (assignment_expression "this->input_file_index_ = input_file_index" (field_expression "this->input_file_index_" identifier -> field_identifier) = identifier) ;) (if_statement "if ((ibase->inputs_reader_).input_file_count_ <= input_file_index) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    do_gold_unreachable("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" if (parenthesized_expression "((ibase->inputs_reader_).input_file_count_ <= input_file_index)" ( (binary_expression "(ibase->inputs_reader_).input_file_count_ <= input_file_index" (field_expression "(ibase->inputs_reader_).input_file_count_" (parenthesized_expression "(ibase->inputs_reader_)" ( (field_expression "ibase->inputs_reader_" identifier -> field_identifier) )) . field_identifier) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */\n    do_gold_unreachable("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" { comment comment (expression_statement "do_gold_unreachable("../../gold/incremental.h",0x45c,"input_file_offset");" (call_expression "do_gold_unreachable("../../gold/incremental.h",0x45c,"input_file_offset")" identifier (argument_list "("../../gold/incremental.h",0x45c,"input_file_offset")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""input_file_offset"" " string_content ") ))) ;) })) (expression_statement "puVar3 = (ibase->inputs_reader_).p_;" (assignment_expression "puVar3 = (ibase->inputs_reader_).p_" identifier = (field_expression "(ibase->inputs_reader_).p_" (parenthesized_expression "(ibase->inputs_reader_)" ( (field_expression "ibase->inputs_reader_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar4 = input_file_index * 0x18 + 0x10;" (assignment_expression "uVar4 = input_file_index * 0x18 + 0x10" identifier = (binary_expression "input_file_index * 0x18 + 0x10" (binary_expression "input_file_index * 0x18" identifier * number_literal) + number_literal)) ;) (expression_statement "(this->input_reader_).inputs_ = &ibase->inputs_reader_;" (assignment_expression "(this->input_reader_).inputs_ = &ibase->inputs_reader_" (field_expression "(this->input_reader_).inputs_" (parenthesized_expression "(this->input_reader_)" ( (field_expression "this->input_reader_" identifier -> field_identifier) )) . field_identifier) = (pointer_expression "&ibase->inputs_reader_" & (field_expression "ibase->inputs_reader_" identifier -> field_identifier))) ;) (expression_statement "uVar2 = *(ushort *)(puVar3 + (ulong)uVar4 + 0x14);" (assignment_expression "uVar2 = *(ushort *)(puVar3 + (ulong)uVar4 + 0x14)" identifier = (pointer_expression "*(ushort *)(puVar3 + (ulong)uVar4 + 0x14)" * (cast_expression "(ushort *)(puVar3 + (ulong)uVar4 + 0x14)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + (ulong)uVar4 + 0x14)" ( (binary_expression "puVar3 + (ulong)uVar4 + 0x14" (binary_expression "puVar3 + (ulong)uVar4" identifier + (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier)) + number_literal) ))))) ;) (expression_statement "(this->input_reader_).offset_ = uVar4;" (assignment_expression "(this->input_reader_).offset_ = uVar4" (field_expression "(this->input_reader_).offset_" (parenthesized_expression "(this->input_reader_)" ( (field_expression "this->input_reader_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "uVar4 = *(uint *)(puVar3 + (ulong)uVar4 + 4);" (assignment_expression "uVar4 = *(uint *)(puVar3 + (ulong)uVar4 + 4)" identifier = (pointer_expression "*(uint *)(puVar3 + (ulong)uVar4 + 4)" * (cast_expression "(uint *)(puVar3 + (ulong)uVar4 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + (ulong)uVar4 + 4)" ( (binary_expression "puVar3 + (ulong)uVar4 + 4" (binary_expression "puVar3 + (ulong)uVar4" identifier + (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier)) + number_literal) ))))) ;) (expression_statement "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_start = (pointer)0x0;" (assignment_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_start = (pointer)0x0" (field_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_start" (field_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std" (binary_expression "(this->symbols_).super__Vector_base<gold" (field_expression "(this->symbols_).super__Vector_base" (parenthesized_expression "(this->symbols_)" ( (field_expression "this->symbols_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(this->input_reader_).flags_ = (uint)uVar2;" (assignment_expression "(this->input_reader_).flags_ = (uint)uVar2" (field_expression "(this->input_reader_).flags_" (parenthesized_expression "(this->input_reader_)" ( (field_expression "this->input_reader_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "(this->input_reader_).info_offset_ = uVar4;" (assignment_expression "(this->input_reader_).info_offset_ = uVar4" (field_expression "(this->input_reader_).info_offset_" (parenthesized_expression "(this->input_reader_)" ( (field_expression "this->input_reader_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_finish = (pointer)0x0;" (assignment_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_finish = (pointer)0x0" (field_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_finish" (field_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std" (binary_expression "(this->symbols_).super__Vector_base<gold" (field_expression "(this->symbols_).super__Vector_base" (parenthesized_expression "(this->symbols_)" ( (field_expression "this->symbols_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_end_of_storage = (pointer)0x0;" (assignment_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_end_of_storage = (pointer)0x0" (field_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl.\n  _M_end_of_storage" (field_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "(this->symbols_).super__Vector_base<gold::Symbol*,_std" (binary_expression "(this->symbols_).super__Vector_base<gold" (field_expression "(this->symbols_).super__Vector_base" (parenthesized_expression "(this->symbols_)" ( (field_expression "this->symbols_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "this->defined_count_ = 0;" (assignment_expression "this->defined_count_ = 0" (field_expression "this->defined_count_" identifier -> field_identifier) = number_literal) ;) (if_statement "if ((short)uVar2 < 0) {\n    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;\n    *puVar1 = *puVar1 | 0x20;\n  }" if (parenthesized_expression "((short)uVar2 < 0)" ( (binary_expression "(short)uVar2 < 0" (cast_expression "(short)uVar2" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier) < number_literal) )) (compound_statement "{\n    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;\n    *puVar1 = *puVar1 | 0x20;\n  }" { (expression_statement "puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;" (assignment_expression "puVar1 = &(this->super_Dynobj).super_Object.field_0x3c" identifier = (pointer_expression "&(this->super_Dynobj).super_Object.field_0x3c" & (field_expression "(this->super_Dynobj).super_Object.field_0x3c" (field_expression "(this->super_Dynobj).super_Object" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 | 0x20;" (assignment_expression "*puVar1 = *puVar1 | 0x20" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 0x20" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (if_statement "if ((uVar2 & 0x4000) != 0) {\n    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;\n    *puVar1 = *puVar1 | 0x40;\n  }" if (parenthesized_expression "((uVar2 & 0x4000) != 0)" ( (binary_expression "(uVar2 & 0x4000) != 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;\n    *puVar1 = *puVar1 | 0x40;\n  }" { (expression_statement "puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;" (assignment_expression "puVar1 = &(this->super_Dynobj).super_Object.field_0x3c" identifier = (pointer_expression "&(this->super_Dynobj).super_Object.field_0x3c" & (field_expression "(this->super_Dynobj).super_Object.field_0x3c" (field_expression "(this->super_Dynobj).super_Object" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 | 0x40;" (assignment_expression "*puVar1 = *puVar1 | 0x40" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 0x40" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) })) (if_statement "if ((char)uVar2 == '\x04') {\n    __s = (char *)0x0;\n    if ((ulong)*(uint *)(puVar3 + uVar4) < (ibase->inputs_reader_).strtab_.usable_size_) {\n      __s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    std::string::_M_replace\n              ((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);\n    (this->super_Dynobj).super_Object.shnum_ = 0;\n    return;\n  }" if (parenthesized_expression "((char)uVar2 == '\x04')" ( (binary_expression "(char)uVar2 == '\x04'" (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    __s = (char *)0x0;\n    if ((ulong)*(uint *)(puVar3 + uVar4) < (ibase->inputs_reader_).strtab_.usable_size_) {\n      __s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */\n    std::string::_M_replace\n              ((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);\n    (this->super_Dynobj).super_Object.shnum_ = 0;\n    return;\n  }" { (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((ulong)*(uint *)(puVar3 + uVar4) < (ibase->inputs_reader_).strtab_.usable_size_) {\n      __s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4);\n    }" if (parenthesized_expression "((ulong)*(uint *)(puVar3 + uVar4) < (ibase->inputs_reader_).strtab_.usable_size_)" ( (binary_expression "(ulong)*(uint *)(puVar3 + uVar4) < (ibase->inputs_reader_).strtab_.usable_size_" (binary_expression "(ulong)*(uint *)(puVar3 + uVar4)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(puVar3 + uVar4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + uVar4)" ( (binary_expression "puVar3 + uVar4" identifier + identifier) )))) < (field_expression "(ibase->inputs_reader_).strtab_.usable_size_" (field_expression "(ibase->inputs_reader_).strtab_" (parenthesized_expression "(ibase->inputs_reader_)" ( (field_expression "ibase->inputs_reader_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n      __s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4);\n    }" { (expression_statement "__s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4);" (assignment_expression "__s = (ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4)" identifier = (binary_expression "(ibase->inputs_reader_).strtab_.base_ + *(uint *)(puVar3 + uVar4)" (field_expression "(ibase->inputs_reader_).strtab_.base_" (field_expression "(ibase->inputs_reader_).strtab_" (parenthesized_expression "(ibase->inputs_reader_)" ( (field_expression "ibase->inputs_reader_" identifier -> field_identifier) )) . field_identifier) . field_identifier) + (pointer_expression "*(uint *)(puVar3 + uVar4)" * (cast_expression "(uint *)(puVar3 + uVar4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + uVar4)" ( (binary_expression "puVar3 + uVar4" identifier + identifier) )))))) ;) })) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) comment (labeled_statement "std::string::_M_replace\n              ((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace\n              ((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace\n              ((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);" (call_expression "_M_replace\n              ((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5)" identifier (argument_list "((string *)&(this->super_Dynobj).soname_,0,\n               (this->super_Dynobj).soname_._M_string_length,__s,sVar5)" ( (cast_expression "(string *)&(this->super_Dynobj).soname_" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Dynobj).soname_" & (field_expression "(this->super_Dynobj).soname_" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier))) , number_literal , (field_expression "(this->super_Dynobj).soname_._M_string_length" (field_expression "(this->super_Dynobj).soname_" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier , identifier ))) ;))) (expression_statement "(this->super_Dynobj).super_Object.shnum_ = 0;" (assignment_expression "(this->super_Dynobj).super_Object.shnum_ = 0" (field_expression "(this->super_Dynobj).super_Object.shnum_" (field_expression "(this->super_Dynobj).super_Object" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "do_gold_unreachable("../../gold/incremental.h",0x36d,"get_soname");" (call_expression "do_gold_unreachable("../../gold/incremental.h",0x36d,"get_soname")" identifier (argument_list "("../../gold/incremental.h",0x36d,"get_soname")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""get_soname"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)\n\n{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    \n                    \n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}\n\n" (function_definition "void FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)\n\n{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    \n                    \n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}" primitive_type (function_declarator "FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    \n                    \n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "FUN_0033f410(param_1,param_2,0,0);" (call_expression "FUN_0033f410(param_1,param_2,0,0)" identifier (argument_list "(param_1,param_2,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "param_1[0x12] = param_3;" (assignment_expression "param_1[0x12] = param_3" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = &PTR_FUN_00655c18;" (assignment_expression "*param_1 = &PTR_FUN_00655c18" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00655c18" & identifier)) ;) (expression_statement "*(uint *)(param_1 + 0x13) = param_4;" (assignment_expression "*(uint *)(param_1 + 0x13) = param_4" (pointer_expression "*(uint *)(param_1 + 0x13)" * (cast_expression "(uint *)(param_1 + 0x13)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" if (parenthesized_expression "(*(uint *)(param_3 + 0x118) <= param_4)" ( (binary_expression "*(uint *)(param_3 + 0x118) <= param_4" (pointer_expression "*(uint *)(param_3 + 0x118)" * (cast_expression "(uint *)(param_3 + 0x118)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x118)" ( (binary_expression "param_3 + 0x118" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" { (expression_statement "FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");" (call_expression "FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset")" identifier (argument_list "("../../gold/incremental.h",0x45c,"input_file_offset")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""input_file_offset"" " string_content ") ))) ;) })) (expression_statement "lVar3 = *(long *)(param_3 + 0x100);" (assignment_expression "lVar3 = *(long *)(param_3 + 0x100)" identifier = (pointer_expression "*(long *)(param_3 + 0x100)" * (cast_expression "(long *)(param_3 + 0x100)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x100)" ( (binary_expression "param_3 + 0x100" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = param_4 * 0x18 + 0x10;" (assignment_expression "uVar2 = param_4 * 0x18 + 0x10" identifier = (binary_expression "param_4 * 0x18 + 0x10" (binary_expression "param_4 * 0x18" identifier * number_literal) + number_literal)) ;) (expression_statement "param_1[0x14] = param_3 + 0x100;" (assignment_expression "param_1[0x14] = param_3 + 0x100" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = (binary_expression "param_3 + 0x100" identifier + number_literal)) ;) (expression_statement "uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);" (assignment_expression "uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" identifier = (pointer_expression "*(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" * (cast_expression "(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x14 + (ulong)uVar2)" ( (binary_expression "lVar3 + 0x14 + (ulong)uVar2" (binary_expression "lVar3 + 0x14" identifier + number_literal) + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (expression_statement "*(uint *)((long)param_1 + 0xac) = uVar2;" (assignment_expression "*(uint *)((long)param_1 + 0xac) = uVar2" (pointer_expression "*(uint *)((long)param_1 + 0xac)" * (cast_expression "(uint *)((long)param_1 + 0xac)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xac)" ( (binary_expression "(long)param_1 + 0xac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);" (assignment_expression "uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2)" identifier = (pointer_expression "*(uint *)(lVar3 + 4 + (ulong)uVar2)" * (cast_expression "(uint *)(lVar3 + 4 + (ulong)uVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 4 + (ulong)uVar2)" ( (binary_expression "lVar3 + 4 + (ulong)uVar2" (binary_expression "lVar3 + 4" identifier + number_literal) + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 0x15) = (uint)uVar1;" (assignment_expression "*(uint *)(param_1 + 0x15) = (uint)uVar1" (pointer_expression "*(uint *)(param_1 + 0x15)" * (cast_expression "(uint *)(param_1 + 0x15)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(uint *)(param_1 + 0x16) = uVar2;" (assignment_expression "*(uint *)(param_1 + 0x16) = uVar2" (pointer_expression "*(uint *)(param_1 + 0x16)" * (cast_expression "(uint *)(param_1 + 0x16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0x18] = 0;" (assignment_expression "param_1[0x18] = 0" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x19] = 0;" (assignment_expression "param_1[0x19] = 0" (subscript_expression "param_1[0x19]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }" if (parenthesized_expression "((short)uVar1 < 0)" ( (binary_expression "(short)uVar1 < 0" (cast_expression "(short)uVar1" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier) < number_literal) )) (compound_statement "{\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }" { (expression_statement "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;" (assignment_expression "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((long)param_1 + 0x3c) | 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) | number_literal)) ;) })) (if_statement "if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }" if (parenthesized_expression "((uVar1 & 0x4000) != 0)" ( (binary_expression "(uVar1 & 0x4000) != 0" (parenthesized_expression "(uVar1 & 0x4000)" ( (binary_expression "uVar1 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }" { (expression_statement "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;" (assignment_expression "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "*(byte *)((long)param_1 + 0x3c) | 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" * (cast_expression "(byte *)((long)param_1 + 0x3c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3c)" ( (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) | number_literal)) ;) })) (if_statement "if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }" if (parenthesized_expression "((char)uVar1 == '\x04')" ( (binary_expression "(char)uVar1 == '\x04'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }" { (expression_statement "uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);" (assignment_expression "uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2)" identifier = (binary_expression "(ulong)*(uint *)(lVar3 + (ulong)uVar2)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(lVar3 + (ulong)uVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + (ulong)uVar2)" ( (binary_expression "lVar3 + (ulong)uVar2" identifier + (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ))))) ;) (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }" if (parenthesized_expression "(uVar4 < *(ulong *)(param_3 + 0x110))" ( (binary_expression "uVar4 < *(ulong *)(param_3 + 0x110)" identifier < (pointer_expression "*(ulong *)(param_3 + 0x110)" * (cast_expression "(ulong *)(param_3 + 0x110)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x110)" ( (binary_expression "param_3 + 0x110" identifier + number_literal) ))))) )) (compound_statement "{\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }" { (expression_statement "__s = (char *)(*(long *)(param_3 + 0x108) + uVar4);" (assignment_expression "__s = (char *)(*(long *)(param_3 + 0x108) + uVar4)" identifier = (cast_expression "(char *)(*(long *)(param_3 + 0x108) + uVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_3 + 0x108) + uVar4)" ( (binary_expression "*(long *)(param_3 + 0x108) + uVar4" (pointer_expression "*(long *)(param_3 + 0x108)" * (cast_expression "(long *)(param_3 + 0x108)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x108)" ( (binary_expression "param_3 + 0x108" identifier + number_literal) )))) + identifier) )))) ;) })) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);" (call_expression "FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5)" identifier (argument_list "(param_1 + 10,0,param_1[0xb],__s,sVar5)" ( (binary_expression "param_1 + 10" identifier + number_literal) , number_literal , (subscript_expression "param_1[0xb]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");" (call_expression "FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname")" identifier (argument_list "("../../gold/incremental.h",0x36d,"get_soname")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""get_soname"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) | LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) | LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)\n\n{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    \n                    \n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}" (primitive_type "void") (function_declarator "FUN_00364670(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)" (identifier "FUN_00364670") (parameter_list "(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  ushort uVar1;\n  uint uVar2;\n  long lVar3;\n  ulong uVar4;\n  size_t sVar5;\n  char *__s;\n  \n  FUN_0033f410(param_1,param_2,0,0);\n  param_1[0x12] = param_3;\n  *param_1 = &PTR_FUN_00655c18;\n  *(uint *)(param_1 + 0x13) = param_4;\n  if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }\n  lVar3 = *(long *)(param_3 + 0x100);\n  uVar2 = param_4 * 0x18 + 0x10;\n  param_1[0x14] = param_3 + 0x100;\n  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);\n  *(uint *)((long)param_1 + 0xac) = uVar2;\n  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);\n  param_1[0x17] = 0;\n  *(uint *)(param_1 + 0x15) = (uint)uVar1;\n  *(uint *)(param_1 + 0x16) = uVar2;\n  param_1[0x18] = 0;\n  param_1[0x19] = 0;\n  param_1[0x1a] = 0;\n  if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }\n  if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }\n  if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }\n                    \n                    \n  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (expression_statement "FUN_0033f410(param_1,param_2,0,0);" (call_expression "FUN_0033f410(param_1,param_2,0,0)" (identifier "FUN_0033f410") (argument_list "(param_1,param_2,0,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "param_1[0x12] = param_3;" (assignment_expression "param_1[0x12] = param_3" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00655c18;" (assignment_expression "*param_1 = &PTR_FUN_00655c18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00655c18" (& "&") (identifier "PTR_FUN_00655c18"))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x13) = param_4;" (assignment_expression "*(uint *)(param_1 + 0x13) = param_4" (pointer_expression "*(uint *)(param_1 + 0x13)" (* "*") (cast_expression "(uint *)(param_1 + 0x13)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13)" (( "(") (binary_expression "param_1 + 0x13" (identifier "param_1") (+ "+") (number_literal "0x13")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (if_statement "if (*(uint *)(param_3 + 0x118) <= param_4) {\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_3 + 0x118) <= param_4)" (( "(") (binary_expression "*(uint *)(param_3 + 0x118) <= param_4" (pointer_expression "*(uint *)(param_3 + 0x118)" (* "*") (cast_expression "(uint *)(param_3 + 0x118)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x118)" (( "(") (binary_expression "param_3 + 0x118" (identifier "param_3") (+ "+") (number_literal "0x118")) () ")")))) (<= "<=") (identifier "param_4")) () ")")) (compound_statement "{\n                    \n                    \n    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");\n  }" ({ "{") (expression_statement "FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");" (call_expression "FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset")" (identifier "FUN_00352af0") (argument_list "("../../gold/incremental.h",0x45c,"input_file_offset")" (( "(") (string_literal ""../../gold/incremental.h"" (" """) (string_content "../../gold/incremental.h") (" """)) (, ",") (number_literal "0x45c") (, ",") (string_literal ""input_file_offset"" (" """) (string_content "input_file_offset") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar3 = *(long *)(param_3 + 0x100);" (assignment_expression "lVar3 = *(long *)(param_3 + 0x100)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(param_3 + 0x100)" (* "*") (cast_expression "(long *)(param_3 + 0x100)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x100)" (( "(") (binary_expression "param_3 + 0x100" (identifier "param_3") (+ "+") (number_literal "0x100")) () ")"))))) (; ";")) (expression_statement "uVar2 = param_4 * 0x18 + 0x10;" (assignment_expression "uVar2 = param_4 * 0x18 + 0x10" (identifier "uVar2") (= "=") (binary_expression "param_4 * 0x18 + 0x10" (binary_expression "param_4 * 0x18" (identifier "param_4") (* "*") (number_literal "0x18")) (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "param_1[0x14] = param_3 + 0x100;" (assignment_expression "param_1[0x14] = param_3 + 0x100" (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (binary_expression "param_3 + 0x100" (identifier "param_3") (+ "+") (number_literal "0x100"))) (; ";")) (expression_statement "uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);" (assignment_expression "uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" (* "*") (cast_expression "(ushort *)(lVar3 + 0x14 + (ulong)uVar2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x14 + (ulong)uVar2)" (( "(") (binary_expression "lVar3 + 0x14 + (ulong)uVar2" (binary_expression "lVar3 + 0x14" (identifier "lVar3") (+ "+") (number_literal "0x14")) (+ "+") (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2"))) () ")"))))) (; ";")) (expression_statement "*(uint *)((long)param_1 + 0xac) = uVar2;" (assignment_expression "*(uint *)((long)param_1 + 0xac) = uVar2" (pointer_expression "*(uint *)((long)param_1 + 0xac)" (* "*") (cast_expression "(uint *)((long)param_1 + 0xac)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xac)" (( "(") (binary_expression "(long)param_1 + 0xac" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xac")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);" (assignment_expression "uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(lVar3 + 4 + (ulong)uVar2)" (* "*") (cast_expression "(uint *)(lVar3 + 4 + (ulong)uVar2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 4 + (ulong)uVar2)" (( "(") (binary_expression "lVar3 + 4 + (ulong)uVar2" (binary_expression "lVar3 + 4" (identifier "lVar3") (+ "+") (number_literal "4")) (+ "+") (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2"))) () ")"))))) (; ";")) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(param_1 + 0x15) = (uint)uVar1;" (assignment_expression "*(uint *)(param_1 + 0x15) = (uint)uVar1" (pointer_expression "*(uint *)(param_1 + 0x15)" (* "*") (cast_expression "(uint *)(param_1 + 0x15)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x15)" (( "(") (binary_expression "param_1 + 0x15" (identifier "param_1") (+ "+") (number_literal "0x15")) () ")")))) (= "=") (cast_expression "(uint)uVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar1"))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x16) = uVar2;" (assignment_expression "*(uint *)(param_1 + 0x16) = uVar2" (pointer_expression "*(uint *)(param_1 + 0x16)" (* "*") (cast_expression "(uint *)(param_1 + 0x16)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x16)" (( "(") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_1[0x18] = 0;" (assignment_expression "param_1[0x18] = 0" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x19] = 0;" (assignment_expression "param_1[0x19] = 0" (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((short)uVar1 < 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }" (if "if") (parenthesized_expression "((short)uVar1 < 0)" (( "(") (binary_expression "(short)uVar1 < 0" (cast_expression "(short)uVar1" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;\n  }" ({ "{") (expression_statement "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;" (assignment_expression "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x3c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3c)" (( "(") (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (binary_expression "*(byte *)((long)param_1 + 0x3c) | 0x20" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x3c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3c)" (( "(") (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3c")) () ")")))) (| "|") (number_literal "0x20"))) (; ";")) (} "}"))) (if_statement "if ((uVar1 & 0x4000) != 0) {\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x4000) != 0)" (( "(") (binary_expression "(uVar1 & 0x4000) != 0" (parenthesized_expression "(uVar1 & 0x4000)" (( "(") (binary_expression "uVar1 & 0x4000" (identifier "uVar1") (& "&") (number_literal "0x4000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;\n  }" ({ "{") (expression_statement "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;" (assignment_expression "*(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x3c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3c)" (( "(") (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (binary_expression "*(byte *)((long)param_1 + 0x3c) | 0x40" (pointer_expression "*(byte *)((long)param_1 + 0x3c)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x3c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3c)" (( "(") (binary_expression "(long)param_1 + 0x3c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3c")) () ")")))) (| "|") (number_literal "0x40"))) (; ";")) (} "}"))) (if_statement "if ((char)uVar1 == '\x04') {\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "((char)uVar1 == '\x04')" (( "(") (binary_expression "(char)uVar1 == '\x04'" (cast_expression "(char)uVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar1")) (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);\n    __s = (char *)0x0;\n    if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }\n    sVar5 = strlen(__s);\n                    \n    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);\n    *(undefined4 *)(param_1 + 7) = 0;\n    return;\n  }" ({ "{") (expression_statement "uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);" (assignment_expression "uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2)" (identifier "uVar4") (= "=") (binary_expression "(ulong)*(uint *)(lVar3 + (ulong)uVar2)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(lVar3 + (ulong)uVar2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + (ulong)uVar2)" (( "(") (binary_expression "lVar3 + (ulong)uVar2" (identifier "lVar3") (+ "+") (cast_expression "(ulong)uVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar2"))) () ")"))))) (; ";")) (expression_statement "__s = (char *)0x0;" (assignment_expression "__s = (char *)0x0" (identifier "__s") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (uVar4 < *(ulong *)(param_3 + 0x110)) {\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }" (if "if") (parenthesized_expression "(uVar4 < *(ulong *)(param_3 + 0x110))" (( "(") (binary_expression "uVar4 < *(ulong *)(param_3 + 0x110)" (identifier "uVar4") (< "<") (pointer_expression "*(ulong *)(param_3 + 0x110)" (* "*") (cast_expression "(ulong *)(param_3 + 0x110)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x110)" (( "(") (binary_expression "param_3 + 0x110" (identifier "param_3") (+ "+") (number_literal "0x110")) () ")"))))) () ")")) (compound_statement "{\n      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);\n    }" ({ "{") (expression_statement "__s = (char *)(*(long *)(param_3 + 0x108) + uVar4);" (assignment_expression "__s = (char *)(*(long *)(param_3 + 0x108) + uVar4)" (identifier "__s") (= "=") (cast_expression "(char *)(*(long *)(param_3 + 0x108) + uVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_3 + 0x108) + uVar4)" (( "(") (binary_expression "*(long *)(param_3 + 0x108) + uVar4" (pointer_expression "*(long *)(param_3 + 0x108)" (* "*") (cast_expression "(long *)(param_3 + 0x108)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x108)" (( "(") (binary_expression "param_3 + 0x108" (identifier "param_3") (+ "+") (number_literal "0x108")) () ")")))) (+ "+") (identifier "uVar4")) () ")")))) (; ";")) (} "}"))) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" (identifier "sVar5") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);" (call_expression "FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5)" (identifier "FUN_004a5c70") (argument_list "(param_1 + 10,0,param_1[0xb],__s,sVar5)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) (, ",") (number_literal "0") (, ",") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (, ",") (identifier "__s") (, ",") (identifier "sVar5") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" (* "*") (cast_expression "(undefined4 *)(param_1 + 7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");" (call_expression "FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname")" (identifier "FUN_00352af0") (argument_list "("../../gold/incremental.h",0x36d,"get_soname")" (( "(") (string_literal ""../../gold/incremental.h"" (" """) (string_content "../../gold/incremental.h") (" """)) (, ",") (number_literal "0x36d") (, ",") (string_literal ""get_soname"" (" """) (string_content "get_soname") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void Sized_incr_dynobj(Sized_incr_dynobj<32,_false> * this, string *
   name, Sized_incremental_binary<32,_false> * ibase, uint input_file_index) */

void __thiscall
var_5::Sized_incr_dynobj<32,_false>::Sized_incr_dynobj
          (Sized_incr_dynobj<32,_false> *this,type_8 *name,
          Sized_incremental_binary<32,_false> *ibase,type_3 var_2)

{
  undefined1 *puVar1;
  type_1 var_8;
  type_2 *var_4;
  type_3 var_9;
  size_t sVar5;
  char *__s;
  
  Dynobj::var_1(&this->super_Dynobj,name,(type_4 *)0x0,0);
  this->ibase_ = ibase;
  (this->super_Dynobj).super_Object._vptr_Object =
       (type_5 **)&PTR__Sized_incr_dynobj_00655c18;
  this->input_file_index_ = var_2;
  if ((ibase->inputs_reader_).input_file_count_ <= var_2) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */
    var_3("../../gold/incremental.h",0x45c,"input_file_offset");
  }
  var_4 = (ibase->inputs_reader_).p_;
  var_9 = var_2 * 0x18 + 0x10;
  (this->input_reader_).inputs_ = &ibase->inputs_reader_;
  var_8 = *(type_1 *)(var_4 + (type_6)var_9 + 0x14);
  (this->input_reader_).offset_ = var_9;
  var_9 = *(type_3 *)(var_4 + (type_6)var_9 + 4);
  (this->symbols_).super__Vector_base<var_5::Symbol*,var_6::allocator<var_5::Symbol*>var_7>._M_impl.
  _M_start = (type_7)0x0;
  (this->input_reader_).flags_ = (type_3)var_8;
  (this->input_reader_).info_offset_ = var_9;
  (this->symbols_).super__Vector_base<var_5::Symbol*,var_6::allocator<var_5::Symbol*>var_7>._M_impl.
  _M_finish = (type_7)0x0;
  (this->symbols_).super__Vector_base<var_5::Symbol*,var_6::allocator<var_5::Symbol*>var_7>._M_impl.
  _M_end_of_storage = (type_7)0x0;
  this->defined_count_ = 0;
  if ((short)var_8 < 0) {
    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;
    *puVar1 = *puVar1 | 0x20;
  }
  if ((var_8 & 0x4000) != 0) {
    puVar1 = &(this->super_Dynobj).super_Object.field_0x3c;
    *puVar1 = *puVar1 | 0x40;
  }
  if ((char)var_8 == '\x04') {
    __s = (char *)0x0;
    if ((type_6)*(type_3 *)(var_4 + var_9) < (ibase->inputs_reader_).strtab_.usable_size_) {
      __s = (ibase->inputs_reader_).strtab_.base_ + *(type_3 *)(var_4 + var_9);
    }
    sVar5 = var_10(__s);
                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */
    std::string::var_11
              ((type_8 *)&(this->super_Dynobj).soname_,0,
               (this->super_Dynobj).soname_._M_string_length,__s,sVar5);
    (this->super_Dynobj).super_Object.shnum_ = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */
  var_3("../../gold/incremental.h",0x36d,"get_soname");
}


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

void MASKED(undefined8 *param_1,undefined8 param_2,long param_3,uint param_4)

{
  ushort uVar1;
  uint uVar2;
  long lVar3;
  ulong uVar4;
  size_t sVar5;
  char *__s;
  
  FUN_0033f410(param_1,param_2,0,0);
  param_1[0x12] = param_3;
  *param_1 = &PTR_FUN_00655c18;
  *(uint *)(param_1 + 0x13) = param_4;
  if (*(uint *)(param_3 + 0x118) <= param_4) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 00364789 to 0036478d has its CatchHandler @ 003647ab */
    FUN_00352af0("../../gold/incremental.h",0x45c,"input_file_offset");
  }
  lVar3 = *(long *)(param_3 + 0x100);
  uVar2 = param_4 * 0x18 + 0x10;
  param_1[0x14] = param_3 + 0x100;
  uVar1 = *(ushort *)(lVar3 + 0x14 + (ulong)uVar2);
  *(uint *)((long)param_1 + 0xac) = uVar2;
  uVar2 = *(uint *)(lVar3 + 4 + (ulong)uVar2);
  param_1[0x17] = 0;
  *(uint *)(param_1 + 0x15) = (uint)uVar1;
  *(uint *)(param_1 + 0x16) = uVar2;
  param_1[0x18] = 0;
  param_1[0x19] = 0;
  param_1[0x1a] = 0;
  if ((short)uVar1 < 0) {
    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x20;
  }
  if ((uVar1 & 0x4000) != 0) {
    *(byte *)((long)param_1 + 0x3c) = *(byte *)((long)param_1 + 0x3c) | 0x40;
  }
  if ((char)uVar1 == '\x04') {
    uVar4 = (ulong)*(uint *)(lVar3 + (ulong)uVar2);
    __s = (char *)0x0;
    if (uVar4 < *(ulong *)(param_3 + 0x110)) {
      __s = (char *)(*(long *)(param_3 + 0x108) + uVar4);
    }
    sVar5 = strlen(__s);
                    /* try { // try from 00364758 to 0036475c has its CatchHandler @ 003647a6 */
    FUN_004a5c70(param_1 + 10,0,param_1[0xb],__s,sVar5);
    *(undefined4 *)(param_1 + 7) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 003647a1 to 003647a5 has its CatchHandler @ 003647a6 */
  FUN_00352af0("../../gold/incremental.h",0x36d,"get_soname");
}

