
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void set_final_data_size(Output_data_plt_x86_64<32> * this) */

void __thiscall
anon_unknown.dwarf_358c2b::Output_data_plt_x86_64<32>::set_final_data_size
          (Output_data_plt_x86_64<32> *this)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  Output_data_plt_x86_64<32> *this_00;
  
  iVar2 = this->irelative_count_ + this->count_;
  iVar3 = iVar2 + 1;
  if (this->tlsdesc_got_offset_ != 0xffffffff) {
    iVar3 = iVar2 + 2;
  }
  this_00 = this;
  iVar2 = (**(code **)(*(long *)this + 200))();
  bVar1 = this->field_0x20;
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2);
    this->field_0x20 = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  set_final_data_size(this_00);
}



void FUN_001aa040(long *param_1)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];
  iVar3 = iVar2 + 1;
  if ((int)param_1[0xe] != -1) {
    iVar3 = iVar2 + 2;
  }
  iVar2 = (**(code **)(*param_1 + 200))(param_1);
  bVar1 = *(byte *)(param_1 + 4);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    param_1[2] = (ulong)(uint)(iVar3 * iVar2);
    *(byte *)(param_1 + 4) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001aa020();
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV EDX,dword ptr [RDI + 0x6c]
ADD EDX,dword ptr [RDI + 0x68]
CMP dword ptr [RDI + 0x70],-0x1
LEA EBP,[RDX + 0x1]
JZ 0x001aa05b
LEA EBP,[RDX + 0x2]
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
CALL qword ptr [RAX + 0xc8]
MOVZX EDX,byte ptr [RBX + 0x20]
IMUL EBP,EAX
TEST DL,0x2
JNZ 0x001aa089
TEST DL,0x8
JNZ 0x001aa089
OR EDX,0x2
MOV qword ptr [RBX + 0x10],RBP
MOV byte ptr [RBX + 0x20],DL
ADD RSP,0x8
POP RBX
POP RBP
RET
CALL 0x001aa020
(translation_unit "void FUN_001aa040(long *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001aa020();\n}\n\n" (function_definition "void FUN_001aa040(long *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001aa020();\n}" primitive_type (function_declarator "FUN_001aa040(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001aa020();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];" (assignment_expression "iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd]" identifier = (binary_expression "*(int *)((long)param_1 + 0x6c) + (int)param_1[0xd]" (pointer_expression "*(int *)((long)param_1 + 0x6c)" * (cast_expression "(int *)((long)param_1 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x6c)" ( (binary_expression "(long)param_1 + 0x6c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + (cast_expression "(int)param_1[0xd]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0xd]" identifier [ number_literal ])))) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }" if (parenthesized_expression "((int)param_1[0xe] != -1)" ( (binary_expression "(int)param_1[0xe] != -1" (cast_expression "(int)param_1[0xe]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0xe]" identifier [ number_literal ])) != number_literal) )) (compound_statement "{\n    iVar3 = iVar2 + 2;\n  }" { (expression_statement "iVar3 = iVar2 + 2;" (assignment_expression "iVar3 = iVar2 + 2" identifier = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) })) (expression_statement "iVar2 = (**(code **)(*param_1 + 200))(param_1);" (assignment_expression "iVar2 = (**(code **)(*param_1 + 200))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 200))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 200))" ( (pointer_expression "**(code **)(*param_1 + 200)" * (pointer_expression "*(code **)(*param_1 + 200)" * (cast_expression "(code **)(*param_1 + 200)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 200)" ( (binary_expression "*param_1 + 200" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "bVar1 = *(byte *)(param_1 + 4);" (assignment_expression "bVar1 = *(byte *)(param_1 + 4)" identifier = (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }" { (expression_statement "param_1[2] = (ulong)(uint)(iVar3 * iVar2);" (assignment_expression "param_1[2] = (ulong)(uint)(iVar3 * iVar2)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (call_expression "(ulong)(uint)(iVar3 * iVar2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(iVar3 * iVar2)" ( (binary_expression "iVar3 * iVar2" identifier * identifier) )))) ;) (expression_statement "*(byte *)(param_1 + 4) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 4) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_001aa020();" (call_expression "FUN_001aa020()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void set_final_data_size(Output_data_plt_x86_64<32> * this) */\n\nvoid __thiscall\nanon_unknown.dwarf_358c2b::Output_data_plt_x86_64<32>::set_final_data_size\n          (Output_data_plt_x86_64<32> *this)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  Output_data_plt_x86_64<32> *this_00;\n  \n  iVar2 = this->irelative_count_ + this->count_;\n  iVar3 = iVar2 + 1;\n  if (this->tlsdesc_got_offset_ != 0xffffffff) {\n    iVar3 = iVar2 + 2;\n  }\n  this_00 = this;\n  iVar2 = (**(code **)(*(long *)this + 200))();\n  bVar1 = this->field_0x20;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2);\n    this->field_0x20 = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  set_final_data_size(this_00);\n}\n\n" comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_358c2b::Output_data_plt_x86_64<32>::set_final_data_size\n          (Output_data_plt_x86_64<32> *this)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  Output_data_plt_x86_64<32> *this_00;\n  \n  iVar2 = this->irelative_count_ + this->count_;\n  iVar3 = iVar2 + 1;\n  if (this->tlsdesc_got_offset_ != 0xffffffff) {\n    iVar3 = iVar2 + 2;\n  }\n  this_00 = this;\n  iVar2 = (**(code **)(*(long *)this + 200))();\n  bVar1 = this->field_0x20;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2);\n    this->field_0x20 = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  set_final_data_size(this_00);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_358c2b::Output_data_plt_x86_64<32>::" identifier . identifier : : identifier < number_literal > : :) (function_declarator "set_final_data_size\n          (Output_data_plt_x86_64<32> *this)" identifier (parameter_list "(Output_data_plt_x86_64<32> *this)" ( (parameter_declaration "Output_data_plt_x86_64<32> *this" type_identifier (ERROR "<32>" < number_literal >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  Output_data_plt_x86_64<32> *this_00;\n  \n  iVar2 = this->irelative_count_ + this->count_;\n  iVar3 = iVar2 + 1;\n  if (this->tlsdesc_got_offset_ != 0xffffffff) {\n    iVar3 = iVar2 + 2;\n  }\n  this_00 = this;\n  iVar2 = (**(code **)(*(long *)this + 200))();\n  bVar1 = this->field_0x20;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2);\n    this->field_0x20 = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  set_final_data_size(this_00);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "Output_data_plt_x86_64<32> *this_00;" (binary_expression "Output_data_plt_x86_64<32> *this_00" (binary_expression "Output_data_plt_x86_64<32" identifier < number_literal) > (pointer_expression "*this_00" * identifier)) ;) (expression_statement "iVar2 = this->irelative_count_ + this->count_;" (assignment_expression "iVar2 = this->irelative_count_ + this->count_" identifier = (binary_expression "this->irelative_count_ + this->count_" (field_expression "this->irelative_count_" identifier -> field_identifier) + (field_expression "this->count_" identifier -> field_identifier))) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (this->tlsdesc_got_offset_ != 0xffffffff) {\n    iVar3 = iVar2 + 2;\n  }" if (parenthesized_expression "(this->tlsdesc_got_offset_ != 0xffffffff)" ( (binary_expression "this->tlsdesc_got_offset_ != 0xffffffff" (field_expression "this->tlsdesc_got_offset_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    iVar3 = iVar2 + 2;\n  }" { (expression_statement "iVar3 = iVar2 + 2;" (assignment_expression "iVar3 = iVar2 + 2" identifier = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) })) (expression_statement "this_00 = this;" (assignment_expression "this_00 = this" identifier = identifier) ;) (expression_statement "iVar2 = (**(code **)(*(long *)this + 200))();" (assignment_expression "iVar2 = (**(code **)(*(long *)this + 200))()" identifier = (call_expression "(**(code **)(*(long *)this + 200))()" (parenthesized_expression "(**(code **)(*(long *)this + 200))" ( (pointer_expression "**(code **)(*(long *)this + 200)" * (pointer_expression "*(code **)(*(long *)this + 200)" * (cast_expression "(code **)(*(long *)this + 200)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this + 200)" ( (binary_expression "*(long *)this + 200" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "bVar1 = this->field_0x20;" (assignment_expression "bVar1 = this->field_0x20" identifier = (field_expression "this->field_0x20" identifier -> field_identifier)) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2);\n    this->field_0x20 = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2);\n    this->field_0x20 = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2);" (assignment_expression "*(ulong *)&this->field_0x10 = (ulong)(uint)(iVar3 * iVar2)" (pointer_expression "*(ulong *)&this->field_0x10" * (cast_expression "(ulong *)&this->field_0x10" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x10" & (field_expression "this->field_0x10" identifier -> field_identifier)))) = (call_expression "(ulong)(uint)(iVar3 * iVar2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(iVar3 * iVar2)" ( (binary_expression "iVar3 * iVar2" identifier * identifier) )))) ;) (expression_statement "this->field_0x20 = bVar1 | 2;" (assignment_expression "this->field_0x20 = bVar1 | 2" (field_expression "this->field_0x20" identifier -> field_identifier) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "set_final_data_size(this_00);" (call_expression "set_final_data_size(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;) })))
(translation_unit "void FUN_001aa040(long *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001aa020();\n}\n\n" (function_definition "void FUN_001aa040(long *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001aa020();\n}" primitive_type (function_declarator "FUN_001aa040(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001aa020();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];" (assignment_expression "iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd]" identifier = (binary_expression "*(int *)((long)param_1 + 0x6c) + (int)param_1[0xd]" (pointer_expression "*(int *)((long)param_1 + 0x6c)" * (cast_expression "(int *)((long)param_1 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x6c)" ( (binary_expression "(long)param_1 + 0x6c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + (cast_expression "(int)param_1[0xd]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0xd]" identifier [ number_literal ])))) ;) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }" if (parenthesized_expression "((int)param_1[0xe] != -1)" ( (binary_expression "(int)param_1[0xe] != -1" (cast_expression "(int)param_1[0xe]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0xe]" identifier [ number_literal ])) != number_literal) )) (compound_statement "{\n    iVar3 = iVar2 + 2;\n  }" { (expression_statement "iVar3 = iVar2 + 2;" (assignment_expression "iVar3 = iVar2 + 2" identifier = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) })) (expression_statement "iVar2 = (**(code **)(*param_1 + 200))(param_1);" (assignment_expression "iVar2 = (**(code **)(*param_1 + 200))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 200))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 200))" ( (pointer_expression "**(code **)(*param_1 + 200)" * (pointer_expression "*(code **)(*param_1 + 200)" * (cast_expression "(code **)(*param_1 + 200)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 200)" ( (binary_expression "*param_1 + 200" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "bVar1 = *(byte *)(param_1 + 4);" (assignment_expression "bVar1 = *(byte *)(param_1 + 4)" identifier = (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }" { (expression_statement "param_1[2] = (ulong)(uint)(iVar3 * iVar2);" (assignment_expression "param_1[2] = (ulong)(uint)(iVar3 * iVar2)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (call_expression "(ulong)(uint)(iVar3 * iVar2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(iVar3 * iVar2)" ( (binary_expression "iVar3 * iVar2" identifier * identifier) )))) ;) (expression_statement "*(byte *)(param_1 + 4) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 4) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001aa020();" (call_expression "FUN_001aa020()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (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) )))) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression IDENT * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_001aa040(long *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001aa020();\n}" (primitive_type "void") (function_declarator "FUN_001aa040(long *param_1)" (identifier "FUN_001aa040") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];\n  iVar3 = iVar2 + 1;\n  if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 200))(param_1);\n  bVar1 = *(byte *)(param_1 + 4);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001aa020();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];" (assignment_expression "iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd]" (identifier "iVar2") (= "=") (binary_expression "*(int *)((long)param_1 + 0x6c) + (int)param_1[0xd]" (pointer_expression "*(int *)((long)param_1 + 0x6c)" (* "*") (cast_expression "(int *)((long)param_1 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x6c)" (( "(") (binary_expression "(long)param_1 + 0x6c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x6c")) () ")")))) (+ "+") (cast_expression "(int)param_1[0xd]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]"))))) (; ";")) (expression_statement "iVar3 = iVar2 + 1;" (assignment_expression "iVar3 = iVar2 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((int)param_1[0xe] != -1) {\n    iVar3 = iVar2 + 2;\n  }" (if "if") (parenthesized_expression "((int)param_1[0xe] != -1)" (( "(") (binary_expression "(int)param_1[0xe] != -1" (cast_expression "(int)param_1[0xe]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]"))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    iVar3 = iVar2 + 2;\n  }" ({ "{") (expression_statement "iVar3 = iVar2 + 2;" (assignment_expression "iVar3 = iVar2 + 2" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "iVar2 = (**(code **)(*param_1 + 200))(param_1);" (assignment_expression "iVar2 = (**(code **)(*param_1 + 200))(param_1)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*param_1 + 200))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 200))" (( "(") (pointer_expression "**(code **)(*param_1 + 200)" (* "*") (pointer_expression "*(code **)(*param_1 + 200)" (* "*") (cast_expression "(code **)(*param_1 + 200)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 200)" (( "(") (binary_expression "*param_1 + 200" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "200")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 4);" (assignment_expression "bVar1 = *(byte *)(param_1 + 4)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 4)" (* "*") (cast_expression "(byte *)(param_1 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }" (if "if") (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" (( "(") (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 & 8) == 0)" (( "(") (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    param_1[2] = (ulong)(uint)(iVar3 * iVar2);\n    *(byte *)(param_1 + 4) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "param_1[2] = (ulong)(uint)(iVar3 * iVar2);" (assignment_expression "param_1[2] = (ulong)(uint)(iVar3 * iVar2)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (call_expression "(ulong)(uint)(iVar3 * iVar2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uint)" (( "(") (identifier "uint") () ")"))) (argument_list "(iVar3 * iVar2)" (( "(") (binary_expression "iVar3 * iVar2" (identifier "iVar3") (* "*") (identifier "iVar2")) () ")")))) (; ";")) (expression_statement "*(byte *)(param_1 + 4) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 4) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 4)" (* "*") (cast_expression "(byte *)(param_1 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "bVar1 | 2" (identifier "bVar1") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001aa020();" (call_expression "FUN_001aa020()" (identifier "FUN_001aa020") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void set_final_data_size(Output_data_plt_x86_64<32> * this) */

void __thiscall
anon_unknown.dwarf_358c2b::type_1<32>::function_1
          (type_1<32> *this)

{
  type_2 var_2;
  int var_1;
  int var_3;
  type_1<32> *this_00;
  
  var_1 = this->irelative_count_ + this->count_;
  var_3 = var_1 + 1;
  if (this->tlsdesc_got_offset_ != 0xffffffff) {
    var_3 = var_1 + 2;
  }
  this_00 = this;
  var_1 = (**(type_3 **)(*(long *)this + 200))();
  var_2 = this->field_0x20;
  if (((var_2 & 2) == 0) && ((var_2 & 8) == 0)) {
    *(type_4 *)&this->field_0x10 = (type_4)(uint)(var_3 * var_1);
    this->field_0x20 = var_2 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  function_1(this_00);
}


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

void MASKED(long *param_1)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = *(int *)((long)param_1 + 0x6c) + (int)param_1[0xd];
  iVar3 = iVar2 + 1;
  if ((int)param_1[0xe] != -1) {
    iVar3 = iVar2 + 2;
  }
  iVar2 = (**(code **)(*param_1 + 200))(param_1);
  bVar1 = *(byte *)(param_1 + 4);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    param_1[2] = (ulong)(uint)(iVar3 * iVar2);
    *(byte *)(param_1 + 4) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001aa020();
}

