
/* 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_32964f::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> *in_stack_fffffff4;
  
  iVar2 = this->irelative_count_ + this->count_;
  iVar3 = iVar2 + 1;
  if (this->tlsdesc_got_offset_ != 0xffffffff) {
    iVar3 = iVar2 + 2;
  }
  iVar2 = (**(code **)(this->plt_eh_frame_cie_size + 100))(this);
  bVar1 = this->field_0x1c;
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(int *)&this->field_0xc = iVar2 * iVar3;
    *(undefined4 *)&this->field_0x10 = 0;
    this->field_0x1c = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  set_final_data_size(in_stack_fffffff4);
}



void FUN_0005b270(int *param_1)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  
  iVar3 = param_1[0x12] + param_1[0x11] + 1;
  if (param_1[0x13] != -1) {
    iVar3 = param_1[0x12] + param_1[0x11] + 2;
  }
  iVar2 = (**(code **)(*param_1 + 100))(param_1);
  bVar1 = *(byte *)(param_1 + 7);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    param_1[3] = iVar2 * iVar3;
    param_1[4] = 0;
    *(byte *)(param_1 + 7) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005b240();
}


PUSH ESI
PUSH EBX
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EBX + 0x48]
ADD EAX,dword ptr [EBX + 0x44]
CMP dword ptr [EBX + 0x4c],-0x1
LEA ESI,[EAX + 0x1]
JZ 0x0005b28b
LEA ESI,[EAX + 0x2]
SUB ESP,0xc
MOV EAX,dword ptr [EBX]
PUSH EBX
CALL dword ptr [EAX + 0x64]
MOVZX ECX,byte ptr [EBX + 0x1c]
XOR EDX,EDX
IMUL EAX,ESI
ADD ESP,0x10
TEST CL,0x2
JNZ 0x0005b2bc
TEST CL,0x8
JNZ 0x0005b2bc
OR ECX,0x2
MOV dword ptr [EBX + 0xc],EAX
MOV dword ptr [EBX + 0x10],EDX
MOV byte ptr [EBX + 0x1c],CL
ADD ESP,0x4
POP EBX
POP ESI
RET
CALL 0x0005b240
(translation_unit "void FUN_0005b270(int *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005b240();\n}\n\n" (function_definition "void FUN_0005b270(int *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005b240();\n}" primitive_type (function_declarator "FUN_0005b270(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005b240();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = param_1[0x12] + param_1[0x11] + 1;" (assignment_expression "iVar3 = param_1[0x12] + param_1[0x11] + 1" identifier = (binary_expression "param_1[0x12] + param_1[0x11] + 1" (binary_expression "param_1[0x12] + param_1[0x11]" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) + (subscript_expression "param_1[0x11]" identifier [ number_literal ])) + number_literal)) ;) (if_statement "if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }" if (parenthesized_expression "(param_1[0x13] != -1)" ( (binary_expression "param_1[0x13] != -1" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }" { (expression_statement "iVar3 = param_1[0x12] + param_1[0x11] + 2;" (assignment_expression "iVar3 = param_1[0x12] + param_1[0x11] + 2" identifier = (binary_expression "param_1[0x12] + param_1[0x11] + 2" (binary_expression "param_1[0x12] + param_1[0x11]" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) + (subscript_expression "param_1[0x11]" identifier [ number_literal ])) + number_literal)) ;) })) (expression_statement "iVar2 = (**(code **)(*param_1 + 100))(param_1);" (assignment_expression "iVar2 = (**(code **)(*param_1 + 100))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 100))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 100))" ( (pointer_expression "**(code **)(*param_1 + 100)" * (pointer_expression "*(code **)(*param_1 + 100)" * (cast_expression "(code **)(*param_1 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 100)" ( (binary_expression "*param_1 + 100" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "bVar1 = *(byte *)(param_1 + 7);" (assignment_expression "bVar1 = *(byte *)(param_1 + 7)" identifier = (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = 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[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" { (expression_statement "param_1[3] = iVar2 * iVar3;" (assignment_expression "param_1[3] = iVar2 * iVar3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "iVar2 * iVar3" identifier * identifier)) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 7) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 7) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0005b240();" (call_expression "FUN_0005b240()" 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_32964f::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> *in_stack_fffffff4;\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  iVar2 = (**(code **)(this->plt_eh_frame_cie_size + 100))(this);\n  bVar1 = this->field_0x1c;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)&this->field_0xc = iVar2 * iVar3;\n    *(undefined4 *)&this->field_0x10 = 0;\n    this->field_0x1c = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  set_final_data_size(in_stack_fffffff4);\n}\n\n" comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_32964f::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> *in_stack_fffffff4;\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  iVar2 = (**(code **)(this->plt_eh_frame_cie_size + 100))(this);\n  bVar1 = this->field_0x1c;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)&this->field_0xc = iVar2 * iVar3;\n    *(undefined4 *)&this->field_0x10 = 0;\n    this->field_0x1c = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  set_final_data_size(in_stack_fffffff4);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_32964f::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> *in_stack_fffffff4;\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  iVar2 = (**(code **)(this->plt_eh_frame_cie_size + 100))(this);\n  bVar1 = this->field_0x1c;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)&this->field_0xc = iVar2 * iVar3;\n    *(undefined4 *)&this->field_0x10 = 0;\n    this->field_0x1c = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  set_final_data_size(in_stack_fffffff4);\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> *in_stack_fffffff4;" (binary_expression "Output_data_plt_x86_64<32> *in_stack_fffffff4" (binary_expression "Output_data_plt_x86_64<32" identifier < number_literal) > (pointer_expression "*in_stack_fffffff4" * 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 "iVar2 = (**(code **)(this->plt_eh_frame_cie_size + 100))(this);" (assignment_expression "iVar2 = (**(code **)(this->plt_eh_frame_cie_size + 100))(this)" identifier = (call_expression "(**(code **)(this->plt_eh_frame_cie_size + 100))(this)" (parenthesized_expression "(**(code **)(this->plt_eh_frame_cie_size + 100))" ( (pointer_expression "**(code **)(this->plt_eh_frame_cie_size + 100)" * (pointer_expression "*(code **)(this->plt_eh_frame_cie_size + 100)" * (cast_expression "(code **)(this->plt_eh_frame_cie_size + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this->plt_eh_frame_cie_size + 100)" ( (binary_expression "this->plt_eh_frame_cie_size + 100" (field_expression "this->plt_eh_frame_cie_size" identifier -> field_identifier) + number_literal) ))))) )) (argument_list "(this)" ( identifier )))) ;) (expression_statement "bVar1 = this->field_0x1c;" (assignment_expression "bVar1 = this->field_0x1c" identifier = (field_expression "this->field_0x1c" identifier -> field_identifier)) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)&this->field_0xc = iVar2 * iVar3;\n    *(undefined4 *)&this->field_0x10 = 0;\n    this->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    *(int *)&this->field_0xc = iVar2 * iVar3;\n    *(undefined4 *)&this->field_0x10 = 0;\n    this->field_0x1c = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(int *)&this->field_0xc = iVar2 * iVar3;" (assignment_expression "*(int *)&this->field_0xc = iVar2 * iVar3" (pointer_expression "*(int *)&this->field_0xc" * (cast_expression "(int *)&this->field_0xc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0xc" & (field_expression "this->field_0xc" identifier -> field_identifier)))) = (binary_expression "iVar2 * iVar3" identifier * identifier)) ;) (expression_statement "*(undefined4 *)&this->field_0x10 = 0;" (assignment_expression "*(undefined4 *)&this->field_0x10 = 0" (pointer_expression "*(undefined4 *)&this->field_0x10" * (cast_expression "(undefined4 *)&this->field_0x10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x10" & (field_expression "this->field_0x10" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "this->field_0x1c = bVar1 | 2;" (assignment_expression "this->field_0x1c = bVar1 | 2" (field_expression "this->field_0x1c" identifier -> field_identifier) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "set_final_data_size(in_stack_fffffff4);" (call_expression "set_final_data_size(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier ))) ;) })))
(translation_unit "void FUN_0005b270(int *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_0005b240();\n}\n\n" (function_definition "void FUN_0005b270(int *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_0005b240();\n}" primitive_type (function_declarator "FUN_0005b270(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_0005b240();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = param_1[0x12] + param_1[0x11] + 1;" (assignment_expression "iVar3 = param_1[0x12] + param_1[0x11] + 1" identifier = (binary_expression "param_1[0x12] + param_1[0x11] + 1" (binary_expression "param_1[0x12] + param_1[0x11]" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) + (subscript_expression "param_1[0x11]" identifier [ number_literal ])) + number_literal)) ;) (if_statement "if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }" if (parenthesized_expression "(param_1[0x13] != -1)" ( (binary_expression "param_1[0x13] != -1" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }" { (expression_statement "iVar3 = param_1[0x12] + param_1[0x11] + 2;" (assignment_expression "iVar3 = param_1[0x12] + param_1[0x11] + 2" identifier = (binary_expression "param_1[0x12] + param_1[0x11] + 2" (binary_expression "param_1[0x12] + param_1[0x11]" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) + (subscript_expression "param_1[0x11]" identifier [ number_literal ])) + number_literal)) ;) })) (expression_statement "iVar2 = (**(code **)(*param_1 + 100))(param_1);" (assignment_expression "iVar2 = (**(code **)(*param_1 + 100))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 100))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 100))" ( (pointer_expression "**(code **)(*param_1 + 100)" * (pointer_expression "*(code **)(*param_1 + 100)" * (cast_expression "(code **)(*param_1 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 100)" ( (binary_expression "*param_1 + 100" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "bVar1 = *(byte *)(param_1 + 7);" (assignment_expression "bVar1 = *(byte *)(param_1 + 7)" identifier = (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = 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[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" { (expression_statement "param_1[3] = iVar2 * iVar3;" (assignment_expression "param_1[3] = iVar2 * iVar3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "iVar2 * iVar3" identifier * identifier)) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 7) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 7) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0005b240();" (call_expression "FUN_0005b240()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (subscript_expression IDENT [ LIT ])) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (subscript_expression IDENT [ LIT ])) + 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 ]) = (binary_expression IDENT * 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) )))) = (binary_expression IDENT | LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_0005b270(int *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_0005b240();\n}" (primitive_type "void") (function_declarator "FUN_0005b270(int *param_1)" (identifier "FUN_0005b270") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar3 = param_1[0x12] + param_1[0x11] + 1;\n  if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }\n  iVar2 = (**(code **)(*param_1 + 100))(param_1);\n  bVar1 = *(byte *)(param_1 + 7);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_0005b240();\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 "iVar3 = param_1[0x12] + param_1[0x11] + 1;" (assignment_expression "iVar3 = param_1[0x12] + param_1[0x11] + 1" (identifier "iVar3") (= "=") (binary_expression "param_1[0x12] + param_1[0x11] + 1" (binary_expression "param_1[0x12] + param_1[0x11]" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]"))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_1[0x13] != -1) {\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }" (if "if") (parenthesized_expression "(param_1[0x13] != -1)" (( "(") (binary_expression "param_1[0x13] != -1" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    iVar3 = param_1[0x12] + param_1[0x11] + 2;\n  }" ({ "{") (expression_statement "iVar3 = param_1[0x12] + param_1[0x11] + 2;" (assignment_expression "iVar3 = param_1[0x12] + param_1[0x11] + 2" (identifier "iVar3") (= "=") (binary_expression "param_1[0x12] + param_1[0x11] + 2" (binary_expression "param_1[0x12] + param_1[0x11]" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]"))) (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "iVar2 = (**(code **)(*param_1 + 100))(param_1);" (assignment_expression "iVar2 = (**(code **)(*param_1 + 100))(param_1)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*param_1 + 100))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 100))" (( "(") (pointer_expression "**(code **)(*param_1 + 100)" (* "*") (pointer_expression "*(code **)(*param_1 + 100)" (* "*") (cast_expression "(code **)(*param_1 + 100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 100)" (( "(") (binary_expression "*param_1 + 100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "100")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 7);" (assignment_expression "bVar1 = *(byte *)(param_1 + 7)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    param_1[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = 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[3] = iVar2 * iVar3;\n    param_1[4] = 0;\n    *(byte *)(param_1 + 7) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "param_1[3] = iVar2 * iVar3;" (assignment_expression "param_1[3] = iVar2 * iVar3" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "iVar2 * iVar3" (identifier "iVar2") (* "*") (identifier "iVar3"))) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 7) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 7) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "bVar1 | 2" (identifier "bVar1") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005b240();" (call_expression "FUN_0005b240()" (identifier "FUN_0005b240") (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_32964f::type_1<32>::function_1
          (type_1<32> *this)

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


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))) 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: (binary_expression left: (identifier) right: (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: (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;
  int iVar2;
  int iVar3;
  
  iVar3 = param_1[0x12] + param_1[0x11] + 1;
  if (param_1[0x13] != -1) {
    iVar3 = param_1[0x12] + param_1[0x11] + 2;
  }
  iVar2 = (**(code **)(*param_1 + 100))(param_1);
  bVar1 = *(byte *)(param_1 + 7);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    param_1[3] = iVar2 * iVar3;
    param_1[4] = 0;
    *(byte *)(param_1 + 7) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005b240();
}

