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

void __thiscall
anon_unknown.dwarf_109b185::Output_data_plt_aarch64<32,_false>::set_final_data_size
          (Output_data_plt_aarch64<32,_false> *this)

{
  byte bVar1;
  Output_data_plt_aarch64<64,_false> *in_stack_fffffff4;
  
  bVar1 = (this->super_Output_section_data).super_Output_data.field_0x1c;
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(uint *)&(this->super_Output_section_data).super_Output_data.data_size_ =
         (uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +
         (this->irelative_count_ + this->count_) * 0x10;
    *(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) = 0;
    (this->super_Output_section_data).super_Output_data.field_0x1c = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  Output_data_plt_aarch64<64,_false>::set_final_data_size(in_stack_fffffff4);
}



void FUN_001d5670(int param_1)

{
  byte bVar1;
  
  bVar1 = *(byte *)(param_1 + 0x1c);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(uint *)(param_1 + 0xc) =
         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +
         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;
    *(undefined4 *)(param_1 + 0x10) = 0;
    *(byte *)(param_1 + 0x1c) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001d55a0();
}


PUSH EBX
XOR ECX,ECX
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX + 0x48]
ADD EDX,dword ptr [EAX + 0x44]
CMP dword ptr [EAX + 0x4c],-0x1
SETNZ CL
SHL EDX,0x4
SHL ECX,0x5
LEA ECX,[ECX + EDX*0x1 + 0x20]
MOVZX EDX,byte ptr [EAX + 0x1c]
TEST DL,0x2
JNZ 0x001d56b2
TEST DL,0x8
JNZ 0x001d56b2
XOR EBX,EBX
OR EDX,0x2
MOV dword ptr [EAX + 0xc],ECX
MOV dword ptr [EAX + 0x10],EBX
MOV byte ptr [EAX + 0x1c],DL
ADD ESP,0x8
POP EBX
RET
CALL 0x001d55a0
(translation_unit "void FUN_001d5670(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001d55a0();\n}\n\n" (function_definition "void FUN_001d5670(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001d55a0();\n}" primitive_type (function_declarator "FUN_001d5670(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001d55a0();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = 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    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;" (assignment_expression "*(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20" (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20" (call_expression "(uint)(*(int *)(param_1 + 0x4c) != -1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x4c) != -1)" ( (binary_expression "*(int *)(param_1 + 0x4c) != -1" (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) != number_literal) ))) * number_literal) + number_literal) + (binary_expression "(*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (parenthesized_expression "(*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44))" ( (binary_expression "*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) * number_literal))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_001d55a0();" (call_expression "FUN_001d55a0()" 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_aarch64<32,_false> * this) */\n\nvoid __thiscall\nanon_unknown.dwarf_109b185::Output_data_plt_aarch64<32,_false>::set_final_data_size\n          (Output_data_plt_aarch64<32,_false> *this)\n\n{\n  byte bVar1;\n  Output_data_plt_aarch64<64,_false> *in_stack_fffffff4;\n  \n  bVar1 = (this->super_Output_section_data).super_Output_data.field_0x1c;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)&(this->super_Output_section_data).super_Output_data.data_size_ =\n         (uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +\n         (this->irelative_count_ + this->count_) * 0x10;\n    *(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) = 0;\n    (this->super_Output_section_data).super_Output_data.field_0x1c = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  Output_data_plt_aarch64<64,_false>::set_final_data_size(in_stack_fffffff4);\n}\n\n" comment comment (declaration "void __thiscall\nanon_unknown.dwarf_109b185::Output_data_plt_aarch64<32,_false>::set_final_data_size\n          (Output_data_plt_aarch64<32,_false> *this)\n\n{\n  byte bVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_109b185::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::set_final_data_size\n          (Output_data_plt_aarch64<32,_false> *this)\n\n{\n  byte" identifier > : : (function_declarator "set_final_data_size\n          (Output_data_plt_aarch64<32,_false> *this)" identifier (parameter_list "(Output_data_plt_aarch64<32,_false> *this)" ( (parameter_declaration "Output_data_plt_aarch64" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { identifier) identifier ;) (expression_statement "Output_data_plt_aarch64<64,_false> *in_stack_fffffff4;" (update_expression "Output_data_plt_aarch64<64,_false> *in_stack_fffffff4" (binary_expression "Output_data_plt_aarch64<64,_false> *in_stack_fffffff4" (binary_expression "Output_data_plt_aarch64<64" identifier < number_literal) (ERROR ",_false" , identifier) > (pointer_expression "*in_stack_fffffff4" * identifier)) --) ;) (expression_statement "bVar1 = (this->super_Output_section_data).super_Output_data.field_0x1c;" (assignment_expression "bVar1 = (this->super_Output_section_data).super_Output_data.field_0x1c" identifier = (field_expression "(this->super_Output_section_data).super_Output_data.field_0x1c" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)&(this->super_Output_section_data).super_Output_data.data_size_ =\n         (uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +\n         (this->irelative_count_ + this->count_) * 0x10;\n    *(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) = 0;\n    (this->super_Output_section_data).super_Output_data.field_0x1c = 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    *(uint *)&(this->super_Output_section_data).super_Output_data.data_size_ =\n         (uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +\n         (this->irelative_count_ + this->count_) * 0x10;\n    *(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) = 0;\n    (this->super_Output_section_data).super_Output_data.field_0x1c = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(uint *)&(this->super_Output_section_data).super_Output_data.data_size_ =\n         (uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +\n         (this->irelative_count_ + this->count_) * 0x10;" (assignment_expression "*(uint *)&(this->super_Output_section_data).super_Output_data.data_size_ =\n         (uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +\n         (this->irelative_count_ + this->count_) * 0x10" (pointer_expression "*(uint *)&(this->super_Output_section_data).super_Output_data.data_size_" * (cast_expression "(uint *)&(this->super_Output_section_data).super_Output_data.data_size_" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Output_section_data).super_Output_data.data_size_" & (field_expression "(this->super_Output_section_data).super_Output_data.data_size_" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier)))) = (binary_expression "(uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +\n         (this->irelative_count_ + this->count_) * 0x10" (binary_expression "(uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20" (binary_expression "(uint)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20" (call_expression "(uint)(this->tlsdesc_got_offset_ != 0xffffffff)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(this->tlsdesc_got_offset_ != 0xffffffff)" ( (binary_expression "this->tlsdesc_got_offset_ != 0xffffffff" (field_expression "this->tlsdesc_got_offset_" identifier -> field_identifier) != number_literal) ))) * number_literal) + number_literal) + (binary_expression "(this->irelative_count_ + this->count_) * 0x10" (parenthesized_expression "(this->irelative_count_ + this->count_)" ( (binary_expression "this->irelative_count_ + this->count_" (field_expression "this->irelative_count_" identifier -> field_identifier) + (field_expression "this->count_" identifier -> field_identifier)) )) * number_literal))) ;) (expression_statement "*(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4)" * (cast_expression "(undefined4 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4)" ( (binary_expression "(int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4" (cast_expression "(int)&(this->super_Output_section_data).super_Output_data.data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_section_data).super_Output_data.data_size_" & (field_expression "(this->super_Output_section_data).super_Output_data.data_size_" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "(this->super_Output_section_data).super_Output_data.field_0x1c = bVar1 | 2;" (assignment_expression "(this->super_Output_section_data).super_Output_data.field_0x1c = bVar1 | 2" (field_expression "(this->super_Output_section_data).super_Output_data.field_0x1c" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (ERROR "Output_data_plt_aarch64<64,_false>::set_final_data_size(in_stack_fffffff4);\n}" (binary_expression "Output_data_plt_aarch64<64,_false>::set_final_data_size(in_stack_fffffff4)" (binary_expression "Output_data_plt_aarch64<64" identifier < number_literal) (ERROR ",_false" , identifier) > (ERROR "::" : :) (call_expression "set_final_data_size(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier )))) ; }))
(translation_unit "void FUN_001d5670(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001d55a0();\n}\n\n" (function_definition "void FUN_001d5670(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001d55a0();\n}" primitive_type (function_declarator "FUN_001d5670(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001d55a0();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = 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    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;" (assignment_expression "*(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20" (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20" (call_expression "(uint)(*(int *)(param_1 + 0x4c) != -1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x4c) != -1)" ( (binary_expression "*(int *)(param_1 + 0x4c) != -1" (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) != number_literal) ))) * number_literal) + number_literal) + (binary_expression "(*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (parenthesized_expression "(*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44))" ( (binary_expression "*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) * number_literal))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001d55a0();" (call_expression "FUN_001d55a0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) * LIT) + LIT) + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) * LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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_001d5670(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001d55a0();\n}" (primitive_type "void") (function_declarator "FUN_001d5670(int param_1)" (identifier "FUN_001d5670") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001d55a0();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = 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    *(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;" (assignment_expression "*(uint *)(param_1 + 0xc) =\n         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +\n         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20" (binary_expression "(uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20" (call_expression "(uint)(*(int *)(param_1 + 0x4c) != -1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_1 + 0x4c) != -1)" (( "(") (binary_expression "*(int *)(param_1 + 0x4c) != -1" (pointer_expression "*(int *)(param_1 + 0x4c)" (* "*") (cast_expression "(int *)(param_1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (!= "!=") (number_literal "-1")) () ")"))) (* "*") (number_literal "0x20")) (+ "+") (number_literal "0x20")) (+ "+") (binary_expression "(*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10" (parenthesized_expression "(*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44))" (( "(") (binary_expression "*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)" (pointer_expression "*(int *)(param_1 + 0x48)" (* "*") (cast_expression "(int *)(param_1 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x44)" (* "*") (cast_expression "(int *)(param_1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) () ")")) (* "*") (number_literal "0x10")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "bVar1 | 2" (identifier "bVar1") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001d55a0();" (call_expression "FUN_001d55a0()" (identifier "FUN_001d55a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void __thiscall
anon_unknown.dwarf_109b185::var_1<32,_false>::set_final_data_size
          (var_1<32,_false> *this)

{
  byte var_2;
  var_1<64,_false> *in_stack_fffffff4;
  
  var_2 = (this->super_Output_section_data).super_Output_data.field_0x1c;
  if (((var_2 & 2) == 0) && ((var_2 & 8) == 0)) {
    *(type_1 *)&(this->super_Output_section_data).super_Output_data.data_size_ =
         (type_1)(this->tlsdesc_got_offset_ != 0xffffffff) * 0x20 + 0x20 +
         (this->irelative_count_ + this->count_) * 0x10;
    *(type_2 *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) = 0;
    (this->super_Output_section_data).super_Output_data.field_0x1c = var_2 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1<64,_false>::set_final_data_size(in_stack_fffffff4);
}


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

void MASKED(int param_1)

{
  byte bVar1;
  
  bVar1 = *(byte *)(param_1 + 0x1c);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(uint *)(param_1 + 0xc) =
         (uint)(*(int *)(param_1 + 0x4c) != -1) * 0x20 + 0x20 +
         (*(int *)(param_1 + 0x48) + *(int *)(param_1 + 0x44)) * 0x10;
    *(undefined4 *)(param_1 + 0x10) = 0;
    *(byte *)(param_1 + 0x1c) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001d55a0();
}

