
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Address stub_address(Stub_table<32,_false> * this) */

Address __thiscall
anon_unknown.dwarf_6462d4::Stub_table<32,_false>::stub_address(Stub_table<32,_false> *this)

{
  int in_EAX;
  uint uVar1;
  Stub_table<64,_false> *in_stack_fffffff4;
  
  if (gold::parameters->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
    Stub_table<64,_false>::stub_align(in_stack_fffffff4);
  }
  uVar1 = 1 << ((byte)(gold::parameters->options_->plt_align_).value & 0x1f);
  if (uVar1 < 0x10) {
    uVar1 = 0x10;
  }
  if ((*(byte *)(in_EAX + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    Stub_table<64,_false>::stub_address(in_stack_fffffff4);
  }
  return -uVar1 & uVar1 + *(int *)(in_EAX + 4) + -1 + *(int *)(in_EAX + 0x70);
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

uint __regparm3 FUN_000b4120(int param_1)

{
  uint uVar1;
  
  if (*(int *)(DAT_005ea7c8 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000afd50();
  }
  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);
  if (uVar1 < 0x10) {
    uVar1 = 0x10;
  }
  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000b0510();
  }
  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);
}


CALL 0x00050c85
ADD EDX,0x535edb
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0x4
LEA EAX,[EDX + 0x7c8]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x000b417d
MOV ECX,dword ptr [EAX + 0x2b20]
MOV EAX,0x1
MOV EDX,0x10
SHL EAX,CL
CMP EAX,0x10
CMOVC EAX,EDX
TEST byte ptr [ESI + 0x1c],0x1
JNZ 0x000b4168
CALL 0x000b0510
MOV ECX,EAX
ADD ECX,dword ptr [ESI + 0x4]
ADD ECX,-0x1
ADD ECX,dword ptr [ESI + 0x70]
NEG EAX
ADD ESP,0x4
AND EAX,ECX
POP EBX
POP ESI
RET
CALL 0x000afd50
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nuint __regparm3 FUN_000b4120(int param_1)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}\n\n" comment (function_definition "uint __regparm3 FUN_000b4120(int param_1)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000b4120(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000afd50();\n  }" if (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) == 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000afd50();\n  }" { comment (expression_statement "FUN_000afd50();" (call_expression "FUN_000afd50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" identifier = (binary_expression "1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" number_literal << (parenthesized_expression "((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" ( (binary_expression "(byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f" (binary_expression "(byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) + 0x2b20" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) + number_literal) )))) & number_literal) )))) ;) (if_statement "if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }" if (parenthesized_expression "(uVar1 < 0x10)" ( (binary_expression "uVar1 < 0x10" identifier < number_literal) )) (compound_statement "{\n    uVar1 = 0x10;\n  }" { (expression_statement "uVar1 = 0x10;" (assignment_expression "uVar1 = 0x10" identifier = number_literal) ;) })) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000b0510();\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 1" (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) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000b0510();\n  }" { comment (expression_statement "FUN_000b0510();" (call_expression "FUN_000b0510()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);" return (binary_expression "-uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70)" (unary_expression "-uVar1" - identifier) & (binary_expression "uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70)" (binary_expression "uVar1 + *(int *)(param_1 + 4) + -1" (binary_expression "uVar1 + *(int *)(param_1 + 4)" identifier + (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) + number_literal) + (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: Address stub_address(Stub_table<32,_false> * this) */\n\nAddress __thiscall\nanon_unknown.dwarf_6462d4::Stub_table<32,_false>::stub_address(Stub_table<32,_false> *this)\n\n{\n  int in_EAX;\n  uint uVar1;\n  Stub_table<64,_false> *in_stack_fffffff4;\n  \n  if (gold::parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n  }\n  uVar1 = 1 << ((byte)(gold::parameters->options_->plt_align_).value & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(in_EAX + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    Stub_table<64,_false>::stub_address(in_stack_fffffff4);\n  }\n  return -uVar1 & uVar1 + *(int *)(in_EAX + 4) + -1 + *(int *)(in_EAX + 0x70);\n}\n\n" comment comment comment comment (declaration "Address __thiscall\nanon_unknown.dwarf_6462d4::Stub_table<32,_false>::stub_address(Stub_table<32,_false> *this)\n\n{\n  int in_EAX;" type_identifier (ms_call_modifier "__thiscall" __thiscall) identifier (ERROR ".dwarf_6462d4::Stub_table<32" . identifier : : identifier < number_literal) , (ERROR "_false>::stub_address(Stub_table<32,_false> *this)\n\n{\n  int" identifier > : : (function_declarator "stub_address(Stub_table<32,_false> *this)" identifier (parameter_list "(Stub_table<32,_false> *this)" ( (parameter_declaration "Stub_table" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { primitive_type) identifier ;) (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "Stub_table<64,_false> *in_stack_fffffff4;" (update_expression "Stub_table<64,_false> *in_stack_fffffff4" (binary_expression "Stub_table<64,_false> *in_stack_fffffff4" (binary_expression "Stub_table<64" identifier < number_literal) (ERROR ",_false" , identifier) > (pointer_expression "*in_stack_fffffff4" * identifier)) --) ;) (if_statement "if (gold::parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n  }" if (parenthesized_expression "(gold::parameters->options_ == (General_options *)0x0)" ( (ERROR "gold::" identifier : :) (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n  }" { comment (expression_statement "Stub_table<64,_false>::stub_align(in_stack_fffffff4);" (comma_expression "Stub_table<64,_false>::stub_align(in_stack_fffffff4)" (binary_expression "Stub_table<64" identifier < number_literal) , (binary_expression "_false>::stub_align(in_stack_fffffff4)" identifier > (ERROR "::" : :) (call_expression "stub_align(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier ))))) ;) })) (expression_statement "uVar1 = 1 << ((byte)(gold::parameters->options_->plt_align_).value & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)(gold::parameters->options_->plt_align_).value & 0x1f)" identifier = (binary_expression "1 << ((byte)(gold::parameters->options_->plt_align_).value & 0x1f)" number_literal << (parenthesized_expression "((byte)(gold::parameters->options_->plt_align_).value & 0x1f)" ( (binary_expression "(byte)(gold::parameters->options_->plt_align_).value & 0x1f" (field_expression "(byte)(gold::parameters->options_->plt_align_).value" (call_expression "(byte)(gold::parameters->options_->plt_align_)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(gold::parameters->options_->plt_align_)" ( (ERROR "gold::" identifier : :) (field_expression "parameters->options_->plt_align_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) ))) . field_identifier) & number_literal) )))) ;) (if_statement "if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }" if (parenthesized_expression "(uVar1 < 0x10)" ( (binary_expression "uVar1 < 0x10" identifier < number_literal) )) (compound_statement "{\n    uVar1 = 0x10;\n  }" { (expression_statement "uVar1 = 0x10;" (assignment_expression "uVar1 = 0x10" identifier = number_literal) ;) })) (if_statement "if ((*(byte *)(in_EAX + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    Stub_table<64,_false>::stub_address(in_stack_fffffff4);\n  }" if (parenthesized_expression "((*(byte *)(in_EAX + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)(in_EAX + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(in_EAX + 0x1c) & 1)" ( (binary_expression "*(byte *)(in_EAX + 0x1c) & 1" (pointer_expression "*(byte *)(in_EAX + 0x1c)" * (cast_expression "(byte *)(in_EAX + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_EAX + 0x1c)" ( (binary_expression "in_EAX + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    Stub_table<64,_false>::stub_address(in_stack_fffffff4);\n  }" { comment (expression_statement "Stub_table<64,_false>::stub_address(in_stack_fffffff4);" (comma_expression "Stub_table<64,_false>::stub_address(in_stack_fffffff4)" (binary_expression "Stub_table<64" identifier < number_literal) , (binary_expression "_false>::stub_address(in_stack_fffffff4)" identifier > (ERROR "::" : :) (call_expression "stub_address(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier ))))) ;) })) (return_statement "return -uVar1 & uVar1 + *(int *)(in_EAX + 4) + -1 + *(int *)(in_EAX + 0x70);" return (binary_expression "-uVar1 & uVar1 + *(int *)(in_EAX + 4) + -1 + *(int *)(in_EAX + 0x70)" (unary_expression "-uVar1" - identifier) & (binary_expression "uVar1 + *(int *)(in_EAX + 4) + -1 + *(int *)(in_EAX + 0x70)" (binary_expression "uVar1 + *(int *)(in_EAX + 4) + -1" (binary_expression "uVar1 + *(int *)(in_EAX + 4)" identifier + (pointer_expression "*(int *)(in_EAX + 4)" * (cast_expression "(int *)(in_EAX + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_EAX + 4)" ( (binary_expression "in_EAX + 4" identifier + number_literal) ))))) + number_literal) + (pointer_expression "*(int *)(in_EAX + 0x70)" * (cast_expression "(int *)(in_EAX + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_EAX + 0x70)" ( (binary_expression "in_EAX + 0x70" identifier + number_literal) )))))) ;) (ERROR "}" }))
(translation_unit "uint __regparm3 FUN_000b4120(int param_1)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}\n\n" (function_definition "uint __regparm3 FUN_000b4120(int param_1)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000b4120(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n    FUN_000afd50();\n  }" if (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) == 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_000afd50();\n  }" { (expression_statement "FUN_000afd50();" (call_expression "FUN_000afd50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" identifier = (binary_expression "1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" number_literal << (parenthesized_expression "((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" ( (binary_expression "(byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f" (binary_expression "(byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) + 0x2b20" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) + number_literal) )))) & number_literal) )))) ;) (if_statement "if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }" if (parenthesized_expression "(uVar1 < 0x10)" ( (binary_expression "uVar1 < 0x10" identifier < number_literal) )) (compound_statement "{\n    uVar1 = 0x10;\n  }" { (expression_statement "uVar1 = 0x10;" (assignment_expression "uVar1 = 0x10" identifier = number_literal) ;) })) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_000b0510();\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 1" (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) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_000b0510();\n  }" { (expression_statement "FUN_000b0510();" (call_expression "FUN_000b0510()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);" return (binary_expression "-uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70)" (unary_expression "-uVar1" - identifier) & (binary_expression "uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70)" (binary_expression "uVar1 + *(int *)(param_1 + 4) + -1" (binary_expression "uVar1 + *(int *)(param_1 + 4)" identifier + (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) + number_literal) + (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return (binary_expression (unary_expression - IDENT) & (binary_expression (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })))
(function_definition "uint __regparm3 FUN_000b4120(int param_1)\n\n{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}" (type_identifier "uint") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000b4120(int param_1)" (identifier "FUN_000b4120") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n    FUN_000afd50();\n  }\n  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);\n  if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_000b0510();\n  }\n  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n    FUN_000afd50();\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_005ea7c8 + 8) == 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" (* "*") (cast_expression "(int *)(DAT_005ea7c8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 8)" (( "(") (binary_expression "DAT_005ea7c8 + 8" (identifier "DAT_005ea7c8") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_000afd50();\n  }" ({ "{") (expression_statement "FUN_000afd50();" (call_expression "FUN_000afd50()" (identifier "FUN_000afd50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" (identifier "uVar1") (= "=") (binary_expression "1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f)" (( "(") (binary_expression "(byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f" (binary_expression "(byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (cast_expression "(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) + 0x2b20)" (( "(") (binary_expression "*(int *)(DAT_005ea7c8 + 8) + 0x2b20" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" (* "*") (cast_expression "(int *)(DAT_005ea7c8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 8)" (( "(") (binary_expression "DAT_005ea7c8 + 8" (identifier "DAT_005ea7c8") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x2b20")) () ")")))) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (uVar1 < 0x10) {\n    uVar1 = 0x10;\n  }" (if "if") (parenthesized_expression "(uVar1 < 0x10)" (( "(") (binary_expression "uVar1 < 0x10" (identifier "uVar1") (< "<") (number_literal "0x10")) () ")")) (compound_statement "{\n    uVar1 = 0x10;\n  }" ({ "{") (expression_statement "uVar1 = 0x10;" (assignment_expression "uVar1 = 0x10" (identifier "uVar1") (= "=") (number_literal "0x10")) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_000b0510();\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)(param_1 + 0x1c) & 1" (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")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_000b0510();\n  }" ({ "{") (expression_statement "FUN_000b0510();" (call_expression "FUN_000b0510()" (identifier "FUN_000b0510") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);" (return "return") (binary_expression "-uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70)" (unary_expression "-uVar1" (- "-") (identifier "uVar1")) (& "&") (binary_expression "uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70)" (binary_expression "uVar1 + *(int *)(param_1 + 4) + -1" (binary_expression "uVar1 + *(int *)(param_1 + 4)" (identifier "uVar1") (+ "+") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (+ "+") (number_literal "-1")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x70)" (* "*") (cast_expression "(int *)(param_1 + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Address stub_address(Stub_table<32,_false> * this) */

type_1 __thiscall
anon_unknown.dwarf_6462d4::var_1<32,var_2>::var_6(var_1<32,var_2> *this)

{
  int var_5;
  type_2 var_4;
  var_1<64,var_2> *in_stack_fffffff4;
  
  if (gold::parameters->options_ == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_1<64,var_2>::var_3(in_stack_fffffff4);
  }
  var_4 = 1 << ((type_4)(gold::parameters->options_->plt_align_).value & 0x1f);
  if (var_4 < 0x10) {
    var_4 = 0x10;
  }
  if ((*(type_4 *)(var_5 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    var_1<64,var_2>::var_6(in_stack_fffffff4);
  }
  return -var_4 & var_4 + *(int *)(var_5 + 4) + -1 + *(int *)(var_5 + 0x70);
}


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

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

uint __regparm3 MASKED(int param_1)

{
  uint uVar1;
  
  if (*(int *)(DAT_005ea7c8 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000afd50();
  }
  uVar1 = 1 << ((byte)*(undefined4 *)(*(int *)(DAT_005ea7c8 + 8) + 0x2b20) & 0x1f);
  if (uVar1 < 0x10) {
    uVar1 = 0x10;
  }
  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000b0510();
  }
  return -uVar1 & uVar1 + *(int *)(param_1 + 4) + -1 + *(int *)(param_1 + 0x70);
}

