
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void run(Plugin_hook * this, Workqueue * workqueue) */

void __thiscall gold::Plugin_hook::run(Plugin_hook *this,Workqueue *workqueue)

{
  Symbol_table *this_00;
  Task *pTVar1;
  Task_token *pTVar2;
  char *name;
  Symbol *pSVar3;
  Task *t;
  
  if (this->options_->plugins_ != (Plugin_manager *)0x0) {
    this_00 = this->symtab_;
    name = Parameters::entry(parameters);
    pSVar3 = Symbol_table::lookup(this_00,name,(char *)0x0);
    if (pSVar3 != (Symbol *)0x0) {
      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;
    }
    Plugin_manager::all_symbols_read
              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,
               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);
    t = (Task *)operator_new(0x2c);
    pTVar1 = (Task *)this->next_blocker_;
    pTVar2 = this->this_blocker_;
    t->list_next_ = (Task *)0x0;
    (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;
    t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0;
    (t->name_)._M_string_length = 0;
    (t->name_).field_2._M_local_buf[0] = '\0';
    t->should_run_soon_ = false;
    t[1]._vptr_Task = (_func_int_varargs **)pTVar2;
    t[1].list_next_ = pTVar1;
    Workqueue::queue_soon(workqueue,t);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/plugin.cc",0x6d7,"run");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0013ac80(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  
  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {
    uVar1 = *(undefined4 *)(param_1 + 0x2c);
    uVar2 = FUN_00139510(DAT_0038f378);
    iVar3 = FUN_00179ac0(uVar1,uVar2,0);
    if (iVar3 != 0) {
      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;
    }
    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,
                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),
                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);
    puVar4 = (undefined4 *)FUN_001e5210(0x2c);
    uVar1 = *(undefined4 *)(param_1 + 0x3c);
    uVar2 = *(undefined4 *)(param_1 + 0x38);
    puVar4[1] = 0;
    puVar4[2] = puVar4 + 4;
    *puVar4 = &PTR_FUN_00384af0;
    puVar4[3] = 0;
    *(undefined1 *)(puVar4 + 4) = 0;
    *(undefined1 *)(puVar4 + 8) = 0;
    puVar4[9] = uVar2;
    puVar4[10] = uVar1;
    FUN_001906d0(param_2,puVar4);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x254377
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [ESI + 0x24]
MOV EBP,dword ptr [EAX + 0x593c]
TEST EBP,EBP
JZ 0x0013ad40
LEA EAX,[EBX + 0x378]
MOV EBP,dword ptr [ESI + 0x2c]
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00139510
ADD ESP,0xc
PUSH 0x0
PUSH EAX
PUSH EBP
CALL 0x00179ac0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0013acd5
OR byte ptr [EAX + 0x2b],0x40
LEA EAX,[ESI + 0x38]
PUSH EAX
PUSH dword ptr [ESI + 0x34]
PUSH dword ptr [ESI + 0x30]
PUSH dword ptr [ESI + 0x2c]
PUSH dword ptr [ESI + 0x28]
PUSH ESI
PUSH EDI
MOV EAX,dword ptr [ESI + 0x24]
PUSH dword ptr [EAX + 0x593c]
CALL 0x0013ab00
ADD ESP,0x14
PUSH 0x2c
CALL 0x001e5210
MOV EDX,dword ptr [ESI + 0x3c]
MOV ECX,dword ptr [ESI + 0x38]
LEA ESI,[EAX + 0x10]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],ESI
LEA ESI,[EBX + 0xffff5af0]
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0xc],0x0
MOV byte ptr [EAX + 0x10],0x0
MOV byte ptr [EAX + 0x20],0x0
MOV dword ptr [EAX + 0x24],ECX
MOV dword ptr [EAX + 0x28],EDX
POP EDX
POP ECX
PUSH EAX
PUSH EDI
CALL 0x001906d0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfff063c8]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfff061c4]
PUSH 0x6d7
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0013ac80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}\n\n" comment (function_definition "void FUN_0013ac80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}" primitive_type (function_declarator "FUN_0013ac80(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x24) + 0x593c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x24) + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x24) + 0x593c)" ( (binary_expression "*(int *)(param_1 + 0x24) + 0x593c" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00139510(DAT_0038f378);" (assignment_expression "uVar2 = FUN_00139510(DAT_0038f378)" identifier = (call_expression "FUN_00139510(DAT_0038f378)" identifier (argument_list "(DAT_0038f378)" ( identifier )))) ;) (expression_statement "iVar3 = FUN_00179ac0(uVar1,uVar2,0);" (assignment_expression "iVar3 = FUN_00179ac0(uVar1,uVar2,0)" identifier = (call_expression "FUN_00179ac0(uVar1,uVar2,0)" identifier (argument_list "(uVar1,uVar2,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }" { (expression_statement "*(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;" (assignment_expression "*(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40" (pointer_expression "*(byte *)(iVar3 + 0x2b)" * (cast_expression "(byte *)(iVar3 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2b)" ( (binary_expression "iVar3 + 0x2b" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar3 + 0x2b) | 0x40" (pointer_expression "*(byte *)(iVar3 + 0x2b)" * (cast_expression "(byte *)(iVar3 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2b)" ( (binary_expression "iVar3 + 0x2b" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);" (call_expression "FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x24) + 0x593c)" ( (binary_expression "*(int *)(param_1 + 0x24) + 0x593c" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) + number_literal) )))) , identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) , (binary_expression "param_1 + 0x38" identifier + number_literal) ))) ;) (expression_statement "puVar4 = (undefined4 *)FUN_001e5210(0x2c);" (assignment_expression "puVar4 = (undefined4 *)FUN_001e5210(0x2c)" identifier = (cast_expression "(undefined4 *)FUN_001e5210(0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5210(0x2c)" identifier (argument_list "(0x2c)" ( number_literal ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x3c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[2] = puVar4 + 4;" (assignment_expression "puVar4[2] = puVar4 + 4" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "*puVar4 = &PTR_FUN_00384af0;" (assignment_expression "*puVar4 = &PTR_FUN_00384af0" (pointer_expression "*puVar4" * identifier) = (pointer_expression "&PTR_FUN_00384af0" & identifier)) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 4)" * (cast_expression "(undefined1 *)(puVar4 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 8) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 8) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 8)" * (cast_expression "(undefined1 *)(puVar4 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 8)" ( (binary_expression "puVar4 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar4[9] = uVar2;" (assignment_expression "puVar4[9] = uVar2" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[10] = uVar1;" (assignment_expression "puVar4[10] = uVar1" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_001906d0(param_2,puVar4);" (call_expression "FUN_001906d0(param_2,puVar4)" identifier (argument_list "(param_2,puVar4)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);" (call_expression "FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1)" identifier (argument_list "("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1)" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (pointer_expression "&DAT_002953c8" & identifier) , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void run(Plugin_hook * this, Workqueue * workqueue) */\n\nvoid __thiscall gold::Plugin_hook::run(Plugin_hook *this,Workqueue *workqueue)\n\n{\n  Symbol_table *this_00;\n  Task *pTVar1;\n  Task_token *pTVar2;\n  char *name;\n  Symbol *pSVar3;\n  Task *t;\n  \n  if (this->options_->plugins_ != (Plugin_manager *)0x0) {\n    this_00 = this->symtab_;\n    name = Parameters::entry(parameters);\n    pSVar3 = Symbol_table::lookup(this_00,name,(char *)0x0);\n    if (pSVar3 != (Symbol *)0x0) {\n      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;\n    }\n    Plugin_manager::all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);\n    t = (Task *)operator_new(0x2c);\n    pTVar1 = (Task *)this->next_blocker_;\n    pTVar2 = this->this_blocker_;\n    t->list_next_ = (Task *)0x0;\n    (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\n    t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0;\n    (t->name_)._M_string_length = 0;\n    (t->name_).field_2._M_local_buf[0] = '\0';\n    t->should_run_soon_ = false;\n    t[1]._vptr_Task = (_func_int_varargs **)pTVar2;\n    t[1].list_next_ = pTVar1;\n    Workqueue::queue_soon(workqueue,t);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x6d7,"run");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Plugin_hook::run(Plugin_hook *this,Workqueue *workqueue)\n\n{\n  Symbol_table *this_00;\n  Task *pTVar1;\n  Task_token *pTVar2;\n  char *name;\n  Symbol *pSVar3;\n  Task *t;\n  \n  if (this->options_->plugins_ != (Plugin_manager *)0x0) {\n    this_00 = this->symtab_;\n    name = Parameters::entry(parameters);\n    pSVar3 = Symbol_table::lookup(this_00,name,(char *)0x0);\n    if (pSVar3 != (Symbol *)0x0) {\n      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;\n    }\n    Plugin_manager::all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);\n    t = (Task *)operator_new(0x2c);\n    pTVar1 = (Task *)this->next_blocker_;\n    pTVar2 = this->this_blocker_;\n    t->list_next_ = (Task *)0x0;\n    (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\n    t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0;\n    (t->name_)._M_string_length = 0;\n    (t->name_).field_2._M_local_buf[0] = '\0';\n    t->should_run_soon_ = false;\n    t[1]._vptr_Task = (_func_int_varargs **)pTVar2;\n    t[1].list_next_ = pTVar1;\n    Workqueue::queue_soon(workqueue,t);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x6d7,"run");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_hook::" identifier : : identifier : :) (function_declarator "run(Plugin_hook *this,Workqueue *workqueue)" identifier (parameter_list "(Plugin_hook *this,Workqueue *workqueue)" ( (parameter_declaration "Plugin_hook *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Workqueue *workqueue" type_identifier (pointer_declarator "*workqueue" * identifier)) ))) (compound_statement "{\n  Symbol_table *this_00;\n  Task *pTVar1;\n  Task_token *pTVar2;\n  char *name;\n  Symbol *pSVar3;\n  Task *t;\n  \n  if (this->options_->plugins_ != (Plugin_manager *)0x0) {\n    this_00 = this->symtab_;\n    name = Parameters::entry(parameters);\n    pSVar3 = Symbol_table::lookup(this_00,name,(char *)0x0);\n    if (pSVar3 != (Symbol *)0x0) {\n      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;\n    }\n    Plugin_manager::all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);\n    t = (Task *)operator_new(0x2c);\n    pTVar1 = (Task *)this->next_blocker_;\n    pTVar2 = this->this_blocker_;\n    t->list_next_ = (Task *)0x0;\n    (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\n    t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0;\n    (t->name_)._M_string_length = 0;\n    (t->name_).field_2._M_local_buf[0] = '\0';\n    t->should_run_soon_ = false;\n    t[1]._vptr_Task = (_func_int_varargs **)pTVar2;\n    t[1].list_next_ = pTVar1;\n    Workqueue::queue_soon(workqueue,t);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x6d7,"run");\n}" { (declaration "Symbol_table *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Task *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (declaration "Task_token *pTVar2;" type_identifier (pointer_declarator "*pTVar2" * identifier) ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "Symbol *pSVar3;" type_identifier (pointer_declarator "*pSVar3" * identifier) ;) (declaration "Task *t;" type_identifier (pointer_declarator "*t" * identifier) ;) (if_statement "if (this->options_->plugins_ != (Plugin_manager *)0x0) {\n    this_00 = this->symtab_;\n    name = Parameters::entry(parameters);\n    pSVar3 = Symbol_table::lookup(this_00,name,(char *)0x0);\n    if (pSVar3 != (Symbol *)0x0) {\n      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;\n    }\n    Plugin_manager::all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);\n    t = (Task *)operator_new(0x2c);\n    pTVar1 = (Task *)this->next_blocker_;\n    pTVar2 = this->this_blocker_;\n    t->list_next_ = (Task *)0x0;\n    (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\n    t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0;\n    (t->name_)._M_string_length = 0;\n    (t->name_).field_2._M_local_buf[0] = '\0';\n    t->should_run_soon_ = false;\n    t[1]._vptr_Task = (_func_int_varargs **)pTVar2;\n    t[1].list_next_ = pTVar1;\n    Workqueue::queue_soon(workqueue,t);\n    return;\n  }" if (parenthesized_expression "(this->options_->plugins_ != (Plugin_manager *)0x0)" ( (binary_expression "this->options_->plugins_ != (Plugin_manager *)0x0" (field_expression "this->options_->plugins_" (field_expression "this->options_" identifier -> field_identifier) -> field_identifier) != (cast_expression "(Plugin_manager *)0x0" ( (type_descriptor "Plugin_manager *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    this_00 = this->symtab_;\n    name = Parameters::entry(parameters);\n    pSVar3 = Symbol_table::lookup(this_00,name,(char *)0x0);\n    if (pSVar3 != (Symbol *)0x0) {\n      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;\n    }\n    Plugin_manager::all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);\n    t = (Task *)operator_new(0x2c);\n    pTVar1 = (Task *)this->next_blocker_;\n    pTVar2 = this->this_blocker_;\n    t->list_next_ = (Task *)0x0;\n    (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\n    t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0;\n    (t->name_)._M_string_length = 0;\n    (t->name_).field_2._M_local_buf[0] = '\0';\n    t->should_run_soon_ = false;\n    t[1]._vptr_Task = (_func_int_varargs **)pTVar2;\n    t[1].list_next_ = pTVar1;\n    Workqueue::queue_soon(workqueue,t);\n    return;\n  }" { (expression_statement "this_00 = this->symtab_;" (assignment_expression "this_00 = this->symtab_" identifier = (field_expression "this->symtab_" identifier -> field_identifier)) ;) (ERROR "name = Parameters::" (assignment_expression "name = Parameters" identifier = identifier) : :) (expression_statement "entry(parameters);" (call_expression "entry(parameters)" identifier (argument_list "(parameters)" ( identifier ))) ;) (ERROR "pSVar3 = Symbol_table::" (assignment_expression "pSVar3 = Symbol_table" identifier = identifier) : :) (expression_statement "lookup(this_00,name,(char *)0x0);" (call_expression "lookup(this_00,name,(char *)0x0)" identifier (argument_list "(this_00,name,(char *)0x0)" ( identifier , identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if (pSVar3 != (Symbol *)0x0) {\n      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;\n    }" if (parenthesized_expression "(pSVar3 != (Symbol *)0x0)" ( (binary_expression "pSVar3 != (Symbol *)0x0" identifier != (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;\n    }" { (expression_statement "pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40;" (assignment_expression "pSVar3->field_0x2b = pSVar3->field_0x2b | 0x40" (field_expression "pSVar3->field_0x2b" identifier -> field_identifier) = (binary_expression "pSVar3->field_0x2b | 0x40" (field_expression "pSVar3->field_0x2b" identifier -> field_identifier) | number_literal)) ;) })) (labeled_statement "Plugin_manager::all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);" statement_identifier : (ERROR ":" :) (expression_statement "all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);" (call_expression "all_symbols_read\n              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_)" identifier (argument_list "(this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,\n               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_)" ( (field_expression "this->options_->plugins_" (field_expression "this->options_" identifier -> field_identifier) -> field_identifier) , identifier , (pointer_expression "&this->super_Task" & (field_expression "this->super_Task" identifier -> field_identifier)) , (field_expression "this->input_objects_" identifier -> field_identifier) , (field_expression "this->symtab_" identifier -> field_identifier) , (field_expression "this->dirpath_" identifier -> field_identifier) , (field_expression "this->mapfile_" identifier -> field_identifier) , (pointer_expression "&this->this_blocker_" & (field_expression "this->this_blocker_" identifier -> field_identifier)) ))) ;)) (expression_statement "t = (Task *)operator_new(0x2c);" (assignment_expression "t = (Task *)operator_new(0x2c)" identifier = (cast_expression "(Task *)operator_new(0x2c)" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x2c)" identifier (argument_list "(0x2c)" ( number_literal ))))) ;) (expression_statement "pTVar1 = (Task *)this->next_blocker_;" (assignment_expression "pTVar1 = (Task *)this->next_blocker_" identifier = (cast_expression "(Task *)this->next_blocker_" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->next_blocker_" identifier -> field_identifier))) ;) (expression_statement "pTVar2 = this->this_blocker_;" (assignment_expression "pTVar2 = this->this_blocker_" identifier = (field_expression "this->this_blocker_" identifier -> field_identifier)) ;) (expression_statement "t->list_next_ = (Task *)0x0;" (assignment_expression "t->list_next_ = (Task *)0x0" (field_expression "t->list_next_" identifier -> field_identifier) = (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;" (assignment_expression "(t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2" (field_expression "(t->name_)._M_dataplus._M_p" (field_expression "(t->name_)._M_dataplus" (parenthesized_expression "(t->name_)" ( (field_expression "t->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "(pointer)&(t->name_).field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "(t->name_).field_2" (parenthesized_expression "(t->name_)" ( (field_expression "t->name_" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0;" (assignment_expression "t->_vptr_Task = (_func_int_varargs **)&PTR__Plugin_finish_00384af0" (field_expression "t->_vptr_Task" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Plugin_finish_00384af0" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Plugin_finish_00384af0" & identifier))) ;) (expression_statement "(t->name_)._M_string_length = 0;" (assignment_expression "(t->name_)._M_string_length = 0" (field_expression "(t->name_)._M_string_length" (parenthesized_expression "(t->name_)" ( (field_expression "t->name_" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(t->name_).field_2._M_local_buf[0] = '\0';" (assignment_expression "(t->name_).field_2._M_local_buf[0] = '\0'" (subscript_expression "(t->name_).field_2._M_local_buf[0]" (field_expression "(t->name_).field_2._M_local_buf" (field_expression "(t->name_).field_2" (parenthesized_expression "(t->name_)" ( (field_expression "t->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "t->should_run_soon_ = false;" (assignment_expression "t->should_run_soon_ = false" (field_expression "t->should_run_soon_" identifier -> field_identifier) = false) ;) (expression_statement "t[1]._vptr_Task = (_func_int_varargs **)pTVar2;" (assignment_expression "t[1]._vptr_Task = (_func_int_varargs **)pTVar2" (field_expression "t[1]._vptr_Task" (subscript_expression "t[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)pTVar2" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "t[1].list_next_ = pTVar1;" (assignment_expression "t[1].list_next_ = pTVar1" (field_expression "t[1].list_next_" (subscript_expression "t[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (labeled_statement "Workqueue::queue_soon(workqueue,t);" statement_identifier : (ERROR ":" :) (expression_statement "queue_soon(workqueue,t);" (call_expression "queue_soon(workqueue,t)" identifier (argument_list "(workqueue,t)" ( identifier , identifier ))) ;)) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/plugin.cc",0x6d7,"run");" (call_expression "do_gold_unreachable("../../gold/plugin.cc",0x6d7,"run")" identifier (argument_list "("../../gold/plugin.cc",0x6d7,"run")" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""run"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0013ac80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}\n\n" (function_definition "void FUN_0013ac80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}" primitive_type (function_declarator "FUN_0013ac80(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (if_statement "if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x24) + 0x593c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x24) + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x24) + 0x593c)" ( (binary_expression "*(int *)(param_1 + 0x24) + 0x593c" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00139510(DAT_0038f378);" (assignment_expression "uVar2 = FUN_00139510(DAT_0038f378)" identifier = (call_expression "FUN_00139510(DAT_0038f378)" identifier (argument_list "(DAT_0038f378)" ( identifier )))) ;) (expression_statement "iVar3 = FUN_00179ac0(uVar1,uVar2,0);" (assignment_expression "iVar3 = FUN_00179ac0(uVar1,uVar2,0)" identifier = (call_expression "FUN_00179ac0(uVar1,uVar2,0)" identifier (argument_list "(uVar1,uVar2,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }" { (expression_statement "*(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;" (assignment_expression "*(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40" (pointer_expression "*(byte *)(iVar3 + 0x2b)" * (cast_expression "(byte *)(iVar3 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2b)" ( (binary_expression "iVar3 + 0x2b" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar3 + 0x2b) | 0x40" (pointer_expression "*(byte *)(iVar3 + 0x2b)" * (cast_expression "(byte *)(iVar3 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2b)" ( (binary_expression "iVar3 + 0x2b" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);" (call_expression "FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x24) + 0x593c)" ( (binary_expression "*(int *)(param_1 + 0x24) + 0x593c" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) + number_literal) )))) , identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) , (binary_expression "param_1 + 0x38" identifier + number_literal) ))) ;) (expression_statement "puVar4 = (undefined4 *)FUN_001e5210(0x2c);" (assignment_expression "puVar4 = (undefined4 *)FUN_001e5210(0x2c)" identifier = (cast_expression "(undefined4 *)FUN_001e5210(0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5210(0x2c)" identifier (argument_list "(0x2c)" ( number_literal ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x3c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[2] = puVar4 + 4;" (assignment_expression "puVar4[2] = puVar4 + 4" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) (expression_statement "*puVar4 = &PTR_FUN_00384af0;" (assignment_expression "*puVar4 = &PTR_FUN_00384af0" (pointer_expression "*puVar4" * identifier) = (pointer_expression "&PTR_FUN_00384af0" & identifier)) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 4)" * (cast_expression "(undefined1 *)(puVar4 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar4 + 8) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 8) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 8)" * (cast_expression "(undefined1 *)(puVar4 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 8)" ( (binary_expression "puVar4 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar4[9] = uVar2;" (assignment_expression "puVar4[9] = uVar2" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[10] = uVar1;" (assignment_expression "puVar4[10] = uVar1" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_001906d0(param_2,puVar4);" (call_expression "FUN_001906d0(param_2,puVar4)" identifier (argument_list "(param_2,puVar4)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);" (call_expression "FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1)" identifier (argument_list "("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1)" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (pointer_expression "&DAT_002953c8" & identifier) , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (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) )))) , IDENT , IDENT , (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) )))) , (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) )))) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & 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) )))) = 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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , IDENT ))) ;) })))
(function_definition "void FUN_0013ac80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}" (primitive_type "void") (function_declarator "FUN_0013ac80(int param_1,undefined4 param_2)" (identifier "FUN_0013ac80") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (if_statement "if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x24) + 0x593c)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x24) + 0x593c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x24) + 0x593c)" (( "(") (binary_expression "*(int *)(param_1 + 0x24) + 0x593c" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (number_literal "0x593c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(undefined4 *)(param_1 + 0x2c);\n    uVar2 = FUN_00139510(DAT_0038f378);\n    iVar3 = FUN_00179ac0(uVar1,uVar2,0);\n    if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }\n    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);\n    puVar4 = (undefined4 *)FUN_001e5210(0x2c);\n    uVar1 = *(undefined4 *)(param_1 + 0x3c);\n    uVar2 = *(undefined4 *)(param_1 + 0x38);\n    puVar4[1] = 0;\n    puVar4[2] = puVar4 + 4;\n    *puVar4 = &PTR_FUN_00384af0;\n    puVar4[3] = 0;\n    *(undefined1 *)(puVar4 + 4) = 0;\n    *(undefined1 *)(puVar4 + 8) = 0;\n    puVar4[9] = uVar2;\n    puVar4[10] = uVar1;\n    FUN_001906d0(param_2,puVar4);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x2c)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "uVar2 = FUN_00139510(DAT_0038f378);" (assignment_expression "uVar2 = FUN_00139510(DAT_0038f378)" (identifier "uVar2") (= "=") (call_expression "FUN_00139510(DAT_0038f378)" (identifier "FUN_00139510") (argument_list "(DAT_0038f378)" (( "(") (identifier "DAT_0038f378") () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00179ac0(uVar1,uVar2,0);" (assignment_expression "iVar3 = FUN_00179ac0(uVar1,uVar2,0)" (identifier "iVar3") (= "=") (call_expression "FUN_00179ac0(uVar1,uVar2,0)" (identifier "FUN_00179ac0") (argument_list "(uVar1,uVar2,0)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar2") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;\n    }" ({ "{") (expression_statement "*(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;" (assignment_expression "*(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40" (pointer_expression "*(byte *)(iVar3 + 0x2b)" (* "*") (cast_expression "(byte *)(iVar3 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2b)" (( "(") (binary_expression "iVar3 + 0x2b" (identifier "iVar3") (+ "+") (number_literal "0x2b")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar3 + 0x2b) | 0x40" (pointer_expression "*(byte *)(iVar3 + 0x2b)" (* "*") (cast_expression "(byte *)(iVar3 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2b)" (( "(") (binary_expression "iVar3 + 0x2b" (identifier "iVar3") (+ "+") (number_literal "0x2b")) () ")")))) (| "|") (number_literal "0x40"))) (; ";")) (} "}"))) (expression_statement "FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);" (call_expression "FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38)" (identifier "FUN_0013ab00") (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,\n                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),\n                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38)" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x24) + 0x593c)" (( "(") (binary_expression "*(int *)(param_1 + 0x24) + 0x593c" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (number_literal "0x593c")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (, ",") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)FUN_001e5210(0x2c);" (assignment_expression "puVar4 = (undefined4 *)FUN_001e5210(0x2c)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_001e5210(0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5210(0x2c)" (identifier "FUN_001e5210") (argument_list "(0x2c)" (( "(") (number_literal "0x2c") () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x3c);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x3c)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x38)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[2] = puVar4 + 4;" (assignment_expression "puVar4[2] = puVar4 + 4" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*puVar4 = &PTR_FUN_00384af0;" (assignment_expression "*puVar4 = &PTR_FUN_00384af0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "&PTR_FUN_00384af0" (& "&") (identifier "PTR_FUN_00384af0"))) (; ";")) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar4 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 4)" (* "*") (cast_expression "(undefined1 *)(puVar4 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar4 + 8) = 0;" (assignment_expression "*(undefined1 *)(puVar4 + 8) = 0" (pointer_expression "*(undefined1 *)(puVar4 + 8)" (* "*") (cast_expression "(undefined1 *)(puVar4 + 8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 8)" (( "(") (binary_expression "puVar4 + 8" (identifier "puVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4[9] = uVar2;" (assignment_expression "puVar4[9] = uVar2" (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar4[10] = uVar1;" (assignment_expression "puVar4[10] = uVar1" (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "FUN_001906d0(param_2,puVar4);" (call_expression "FUN_001906d0(param_2,puVar4)" (identifier "FUN_001906d0") (argument_list "(param_2,puVar4)" (( "(") (identifier "param_2") (, ",") (identifier "puVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);" (call_expression "FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1)" (( "(") (string_literal ""../../gold/plugin.cc"" (" """) (string_content "../../gold/plugin.cc") (" """)) (, ",") (number_literal "0x6d7") (, ",") (pointer_expression "&DAT_002953c8" (& "&") (identifier "DAT_002953c8")) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void run(Plugin_hook * this, Workqueue * workqueue) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *workqueue)

{
  type_3 *this_00;
  type_4 *pTVar1;
  type_5 *pTVar2;
  char *name;
  type_6 *var_3;
  type_4 *t;
  
  if (this->options_->plugins_ != (type_7 *)0x0) {
    this_00 = this->symtab_;
    name = Parameters::var_1(parameters);
    var_3 = type_3::var_2(this_00,name,(char *)0x0);
    if (var_3 != (type_6 *)0x0) {
      var_3->field_0x2b = var_3->field_0x2b | 0x40;
    }
    Plugin_manager::var_4
              (this->options_->plugins_,workqueue,&this->super_Task,this->input_objects_,
               this->symtab_,this->dirpath_,this->mapfile_,&this->this_blocker_);
    t = (type_4 *)var_5(0x2c);
    pTVar1 = (type_4 *)this->next_blocker_;
    pTVar2 = this->this_blocker_;
    t->list_next_ = (type_4 *)0x0;
    (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;
    t->_vptr_Task = (type_8 **)&PTR__Plugin_finish_00384af0;
    (t->name_)._M_string_length = 0;
    (t->name_).field_2._M_local_buf[0] = '\0';
    t->should_run_soon_ = false;
    t[1]._vptr_Task = (type_8 **)pTVar2;
    t[1].list_next_ = pTVar1;
    Workqueue::var_6(workqueue,t);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_7("../../gold/plugin.cc",0x6d7,"run");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 *puVar4;
  
  if (*(int *)(*(int *)(param_1 + 0x24) + 0x593c) != 0) {
    uVar1 = *(undefined4 *)(param_1 + 0x2c);
    uVar2 = FUN_00139510(DAT_0038f378);
    iVar3 = FUN_00179ac0(uVar1,uVar2,0);
    if (iVar3 != 0) {
      *(byte *)(iVar3 + 0x2b) = *(byte *)(iVar3 + 0x2b) | 0x40;
    }
    FUN_0013ab00(*(undefined4 *)(*(int *)(param_1 + 0x24) + 0x593c),param_2,param_1,
                 *(undefined4 *)(param_1 + 0x28),*(undefined4 *)(param_1 + 0x2c),
                 *(undefined4 *)(param_1 + 0x30),*(undefined4 *)(param_1 + 0x34),param_1 + 0x38);
    puVar4 = (undefined4 *)FUN_001e5210(0x2c);
    uVar1 = *(undefined4 *)(param_1 + 0x3c);
    uVar2 = *(undefined4 *)(param_1 + 0x38);
    puVar4[1] = 0;
    puVar4[2] = puVar4 + 4;
    *puVar4 = &PTR_FUN_00384af0;
    puVar4[3] = 0;
    *(undefined1 *)(puVar4 + 4) = 0;
    *(undefined1 *)(puVar4 + 8) = 0;
    puVar4[9] = uVar2;
    puVar4[10] = uVar1;
    FUN_001906d0(param_2,puVar4);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/plugin.cc",0x6d7,&DAT_002953c8,param_1);
}

