
/* DWARF original prototype: string * do_filename(Lib_group * this) */

string * __thiscall gold::Lib_group::do_filename(Lib_group *this)

{
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *pbVar1;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  pbVar1 = (basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)operator_new(0x18);
  (pbVar1->_M_dataplus)._M_p = (pointer)&pbVar1->field_2;
                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0);
  return pbVar1;
}



int * FUN_000b5d10(void)

{
  int *piVar1;
  int unaff_EDI;
  
  FUN_000b484e();
  piVar1 = (int *)FUN_00246670(0x18);
  *piVar1 = (int)(piVar1 + 2);
                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */
  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);
  return piVar1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000b484e
ADD EDI,0x35e2e7
PUSH ESI
PUSH EBX
SUB ESP,0x28
PUSH 0x18
MOV EBX,EDI
CALL 0x00246670
ADD ESP,0x10
MOV ESI,EAX
LEA EAX,[EAX + 0x8]
PUSH 0x0
MOV dword ptr [ESI],EAX
LEA EAX,[EDI + 0xffee475a]
PUSH EAX
LEA EAX,[EDI + 0xffee4753]
PUSH EAX
PUSH ESI
CALL 0x000a8880
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "int * FUN_000b5d10(void)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */\n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}\n\n" (function_definition "int * FUN_000b5d10(void)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */\n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_000b5d10(void)" * (function_declarator "FUN_000b5d10(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */\n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)FUN_00246670(0x18);" (assignment_expression "piVar1 = (int *)FUN_00246670(0x18)" identifier = (cast_expression "(int *)FUN_00246670(0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*piVar1 = (int)(piVar1 + 2);" (assignment_expression "*piVar1 = (int)(piVar1 + 2)" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)(piVar1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar1 + 2)" ( (binary_expression "piVar1 + 2" identifier + number_literal) )))) ;) comment (expression_statement "FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);" (call_expression "FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0)" identifier (argument_list "(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0)" ( identifier , (binary_expression "unaff_EDI + 0x242a3a" identifier + number_literal) , (binary_expression "unaff_EDI + 0x242a41" identifier + number_literal) , number_literal ))) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: string * do_filename(Lib_group * this) */\n\nstring * __thiscall gold::Lib_group::do_filename(Lib_group *this)\n\n{\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *pbVar1;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  pbVar1 = (basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)operator_new(0x18);\n  (pbVar1->_M_dataplus)._M_p = (pointer)&pbVar1->field_2;\n                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0);\n  return pbVar1;\n}\n\n" comment (ERROR "string * __thiscall gold::Lib_group::do_filename(Lib_group *this)" (binary_expression "string * __thiscall gold::Lib_group::do_filename(Lib_group *this" (binary_expression "string * __thiscall" identifier * identifier) (ERROR "gold::Lib_group::do_filename(Lib_group" identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *pbVar1;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  pbVar1 = (basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)operator_new(0x18);\n  (pbVar1->_M_dataplus)._M_p = (pointer)&pbVar1->field_2;\n                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0);\n  return pbVar1;\n}" { (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_> *pbVar1;" (binary_expression "allocator<char>_> *pbVar1" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*pbVar1" * identifier)) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "pbVar1 = (basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)operator_new(0x18);" (assignment_expression "pbVar1 = (basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)operator_new(0x18)" identifier = (parenthesized_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)operator_new(0x18)" ( (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_> *)operator_new(0x18)" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*)operator_new(0x18)" * (ERROR ")" )) (call_expression "operator_new(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ))) ;) (expression_statement "(pbVar1->_M_dataplus)._M_p = (pointer)&pbVar1->field_2;" (assignment_expression "(pbVar1->_M_dataplus)._M_p = (pointer)&pbVar1->field_2" (field_expression "(pbVar1->_M_dataplus)._M_p" (parenthesized_expression "(pbVar1->_M_dataplus)" ( (field_expression "pbVar1->_M_dataplus" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(pointer)&pbVar1->field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "pbVar1->field_2" identifier -> field_identifier))) ;) comment (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0);" (binary_expression "_M_construct<char_const*>(pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0)" ( (comma_expression "pbVar1,&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0" identifier , (comma_expression "&UNK_00242a3a + unaff_EDI,&UNK_00242a41 + unaff_EDI,0" (binary_expression "&UNK_00242a3a + unaff_EDI" (pointer_expression "&UNK_00242a3a" & identifier) + identifier) , (comma_expression "&UNK_00242a41 + unaff_EDI,0" (binary_expression "&UNK_00242a41 + unaff_EDI" (pointer_expression "&UNK_00242a41" & identifier) + identifier) , number_literal))) ))) ;)) (return_statement "return pbVar1;" return identifier ;) }))
(translation_unit "int * FUN_000b5d10(void)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    \n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}\n\n" (function_definition "int * FUN_000b5d10(void)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    \n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_000b5d10(void)" * (function_declarator "FUN_000b5d10(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    \n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)FUN_00246670(0x18);" (assignment_expression "piVar1 = (int *)FUN_00246670(0x18)" identifier = (cast_expression "(int *)FUN_00246670(0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*piVar1 = (int)(piVar1 + 2);" (assignment_expression "*piVar1 = (int)(piVar1 + 2)" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)(piVar1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar1 + 2)" ( (binary_expression "piVar1 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);" (call_expression "FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0)" identifier (argument_list "(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0)" ( identifier , (binary_expression "unaff_EDI + 0x242a3a" identifier + number_literal) , (binary_expression "unaff_EDI + 0x242a41" identifier + number_literal) , number_literal ))) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_000b5d10(void)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    \n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}" (primitive_type "int") (pointer_declarator "* FUN_000b5d10(void)" (* "*") (function_declarator "FUN_000b5d10(void)" (identifier "FUN_000b5d10") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = (int *)FUN_00246670(0x18);\n  *piVar1 = (int)(piVar1 + 2);\n                    \n  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);\n  return piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" (identifier "FUN_000b484e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = (int *)FUN_00246670(0x18);" (assignment_expression "piVar1 = (int *)FUN_00246670(0x18)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_00246670(0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(0x18)" (identifier "FUN_00246670") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "*piVar1 = (int)(piVar1 + 2);" (assignment_expression "*piVar1 = (int)(piVar1 + 2)" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)(piVar1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar1 + 2)" (( "(") (binary_expression "piVar1 + 2" (identifier "piVar1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);" (call_expression "FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0)" (identifier "FUN_000a8880") (argument_list "(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0)" (( "(") (identifier "piVar1") (, ",") (binary_expression "unaff_EDI + 0x242a3a" (identifier "unaff_EDI") (+ "+") (number_literal "0x242a3a")) (, ",") (binary_expression "unaff_EDI + 0x242a41" (identifier "unaff_EDI") (+ "+") (number_literal "0x242a41")) (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}")))

/* DWARF original prototype: string * do_filename(Lib_group * this) */

string * __thiscall gold::Lib_group::do_filename(Lib_group *this)

{
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> *pbVar1;
  int var_8;
  
  var_4();
  pbVar1 = (basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> *)var_5(0x18);
  (pbVar1->_M_dataplus)._M_p = (pointer)&pbVar1->field_2;
                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */
  std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
  var_6<var_7*>(pbVar1,&UNK_00242a3a + var_8,&UNK_00242a41 + var_8,0);
  return pbVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) (return_statement (identifier)))))

int * MASKED(void)

{
  int *piVar1;
  int unaff_EDI;
  
  FUN_000b484e();
  piVar1 = (int *)FUN_00246670(0x18);
  *piVar1 = (int)(piVar1 + 2);
                    /* try { // try from 000b5d48 to 000b5d4c has its CatchHandler @ 000b5d5a */
  FUN_000a8880(piVar1,unaff_EDI + 0x242a3a,unaff_EDI + 0x242a41,0);
  return piVar1;
}

