
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: void initialize(Dirsearch * this, Workqueue * workqueue, Dir_list *
   directories) */

void __thiscall
gold::Dirsearch::initialize(Dirsearch *this,Workqueue *workqueue,Dir_list *directories)

{
  int *piVar1;
  pointer pSVar2;
  _func_int_varargs **pp_Var3;
  Dir_caches *this_00;
  uint uVar4;
  Task *t;
  pointer pSVar5;
  
  if (anon_unknown.dwarf_573bdb::caches != (Dir_caches *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize");
  }
  this_00 = (Dir_caches *)operator_new(0x20);
                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */
  Lock::Lock((Lock *)this_00);
  uVar4 = 0;
  do {
    *(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0;
    uVar4 = uVar4 + 4;
  } while (uVar4 < 0x1c);
  (this_00->caches_)._M_h._M_bucket_count = 1;
  (this_00->caches_)._M_h._M_buckets = &(this_00->caches_)._M_h._M_single_bucket;
  (this_00->caches_)._M_h._M_before_begin._M_nxt = (_Hash_node_base *)0x0;
  this->directories_ = directories;
  (this_00->caches_)._M_h._M_element_count = 0;
  pSVar2 = (directories->
           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).
           _M_impl._M_finish;
  pSVar5 = (directories->
           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).
           _M_impl._M_start;
  (this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor = 1.0;
  (this_00->caches_)._M_h._M_rehash_policy._M_next_resize = 0;
  (this_00->caches_)._M_h._M_single_bucket = (__bucket_type)0x0;
  anon_unknown.dwarf_573bdb::caches = this_00;
  if ((this->token_).is_blocker_ == false) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/token.h",0x97,"add_blockers");
  }
  piVar1 = &(this->token_).blockers_;
  *piVar1 = *piVar1 + ((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249;
  (this->token_).writer_ = (Task *)0x0;
  if (pSVar5 != pSVar2) {
    do {
      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;
      pSVar5 = pSVar5 + 1;
      t = (Task *)operator_new(0x2c);
      t->list_next_ = (Task *)0x0;
      t[1]._vptr_Task = pp_Var3;
      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;
      (t->name_)._M_string_length = 0;
      (t->name_).field_2._M_local_buf[0] = '\0';
      t->should_run_soon_ = false;
      t->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;
      t[1].list_next_ = (Task *)&this->token_;
      Workqueue::queue(workqueue,t);
    } while ((directories->
             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).
             _M_impl._M_finish != pSVar5);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  
  if (DAT_0033f558 != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);
  }
  iVar2 = FUN_001aa8c0(0x20);
                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */
  FUN_0008e450(iVar2);
  uVar3 = 0;
  do {
    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;
    uVar3 = uVar3 + 4;
  } while (uVar3 < 0x1c);
  *(undefined4 *)(iVar2 + 8) = 1;
  *(int *)(iVar2 + 4) = iVar2 + 0x1c;
  *(undefined4 *)(iVar2 + 0xc) = 0;
  *param_1 = param_3;
  *(undefined4 *)(iVar2 + 0x10) = 0;
  puVar4 = (undefined4 *)param_3[1];
  puVar5 = (undefined4 *)*param_3;
  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;
  *(undefined4 *)(iVar2 + 0x18) = 0;
  *(undefined4 *)(iVar2 + 0x1c) = 0;
  DAT_0033f558 = iVar2;
  if (*(char *)(param_1 + 1) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);
  }
  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;
  param_1[3] = 0;
  if (puVar5 != puVar4) {
    do {
      uVar1 = *puVar5;
      puVar5 = puVar5 + 7;
      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);
      puVar4[1] = 0;
      puVar4[9] = uVar1;
      puVar4[2] = puVar4 + 4;
      puVar4[3] = 0;
      *(undefined1 *)(puVar4 + 4) = 0;
      *(undefined1 *)(puVar4 + 8) = 0;
      *puVar4 = &PTR_FUN_00333644;
      puVar4[10] = param_1 + 1;
      FUN_00160dc0(param_2,puVar4);
    } while ((undefined4 *)param_3[1] != puVar5);
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x000487a6
ADD ESI,0x2bdc46
PUSH EBX
SUB ESP,0x1c
MOV EDI,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [ESI + 0x558]
TEST EAX,EAX
JNZ 0x000814fc
SUB ESP,0xc
MOV EBX,ESI
PUSH 0x20
CALL 0x001aa8c0
MOV dword ptr [EBP + -0x1c],EAX
MOV dword ptr [ESP],EAX
CALL 0x0008e450
MOV EBX,dword ptr [EBP + -0x1c]
ADD ESP,0x10
XOR EDX,EDX
XOR EAX,EAX
MOV dword ptr [EBX + EAX*0x1 + 0x4],EDX
ADD EAX,0x4
CMP EAX,0x1c
JC 0x000813f6
LEA EAX,[EBX + 0x1c]
MOV dword ptr [EBX + 0x8],0x1
MOV dword ptr [EBX + 0x4],EAX
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [EBX + 0xc],0x0
MOV dword ptr [EDI],EAX
LEA EAX,[EDI + 0x4]
MOV dword ptr [EBP + -0x24],EAX
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [EBX + 0x10],0x0
MOV ECX,dword ptr [EAX + 0x4]
MOV EDX,dword ptr [EAX]
MOV dword ptr [EBX + 0x14],0x3f800000
MOV dword ptr [EBX + 0x18],0x0
MOV EAX,ECX
MOV dword ptr [EBX + 0x1c],0x0
SUB EAX,EDX
MOV dword ptr [ESI + 0x558],EBX
SAR EAX,0x2
IMUL EAX,EAX,-0x49249249
CMP byte ptr [EDI + 0x4],0x0
JZ 0x000814e1
ADD dword ptr [EDI + 0x8],EAX
MOV dword ptr [EDI + 0xc],0x0
CMP EDX,ECX
JZ 0x000814d9
LEA EAX,[ESI + 0xffff4644]
MOV EDI,EDX
MOV dword ptr [EBP + -0x20],EAX
LEA ESI,[ESI]
NOP
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
MOV EBX,ESI
ADD EDI,0x1c
PUSH 0x2c
MOV dword ptr [EBP + -0x1c],EAX
CALL 0x001aa8c0
MOV ECX,dword ptr [EBP + -0x1c]
MOV EDX,dword ptr [EBP + -0x20]
LEA EBX,[EAX + 0x10]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x24],ECX
MOV ECX,dword ptr [EBP + -0x24]
MOV dword ptr [EAX + 0x8],EBX
MOV EBX,ESI
MOV dword ptr [EAX + 0xc],0x0
MOV byte ptr [EAX + 0x10],0x0
MOV byte ptr [EAX + 0x20],0x0
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x28],ECX
POP EDX
POP ECX
PUSH EAX
PUSH dword ptr [EBP + 0xc]
CALL 0x00160dc0
MOV EAX,dword ptr [EBP + 0x10]
ADD ESP,0x10
CMP dword ptr [EAX + 0x4],EDI
JNZ 0x00081480
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESI + 0xfff134e8]
PUSH EBX
MOV EBX,ESI
PUSH EAX
LEA EAX,[ESI + 0xfff072a1]
PUSH 0x97
PUSH EAX
CALL 0x0008b620
LEA EAX,[ESI + 0xfff134f8]
PUSH EDI
MOV EBX,ESI
PUSH EAX
LEA EAX,[ESI + 0xfff13443]
PUSH 0xe7
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */\n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */\n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */\n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (DAT_0033f558 != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }" if (parenthesized_expression "(DAT_0033f558 != 0)" ( (binary_expression "DAT_0033f558 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }" { comment (expression_statement "FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);" (call_expression "FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1)" identifier (argument_list "("../../gold/dirsearch.cc",0xe7,"initialize",param_1)" ( (string_literal ""../../gold/dirsearch.cc"" " string_content ") , number_literal , (string_literal ""initialize"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = FUN_001aa8c0(0x20);" (assignment_expression "iVar2 = FUN_001aa8c0(0x20)" identifier = (call_expression "FUN_001aa8c0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) comment (expression_statement "FUN_0008e450(iVar2);" (call_expression "FUN_0008e450(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);" do (compound_statement "{\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + 4 + uVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4 + uVar3) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4 + uVar3)" * (cast_expression "(undefined4 *)(iVar2 + 4 + uVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + uVar3)" ( (binary_expression "iVar2 + 4 + uVar3" (binary_expression "iVar2 + 4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x1c)" ( (binary_expression "uVar3 < 0x1c" identifier < number_literal) )) ;) (expression_statement "*(undefined4 *)(iVar2 + 8) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar2 + 4) = iVar2 + 0x1c;" (assignment_expression "*(int *)(iVar2 + 4) = iVar2 + 0x1c" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (binary_expression "iVar2 + 0x1c" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar2 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)param_3[1];" (assignment_expression "puVar4 = (undefined4 *)param_3[1]" identifier = (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar5 = (undefined4 *)*param_3;" (assignment_expression "puVar5 = (undefined4 *)*param_3" identifier = (cast_expression "(undefined4 *)*param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "DAT_0033f558 = iVar2;" (assignment_expression "DAT_0033f558 = iVar2" identifier = identifier) ;) (if_statement "if (*(char *)(param_1 + 1) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" ( (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }" { comment (expression_statement "FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);" (call_expression "FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2)" identifier (argument_list "("../../gold/token.h",0x97,"add_blockers",iVar2)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_blockers"" " string_content ") , identifier ))) ;) })) (expression_statement "param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;" (assignment_expression "param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (parenthesized_expression "((int)puVar4 - (int)puVar5 >> 2)" ( (binary_expression "(int)puVar4 - (int)puVar5 >> 2" (binary_expression "(int)puVar4 - (int)puVar5" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) * number_literal))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }" if (parenthesized_expression "(puVar5 != puVar4)" ( (binary_expression "puVar5 != puVar4" identifier != identifier) )) (compound_statement "{\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }" { (do_statement "do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);" do (compound_statement "{\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    }" { (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 7;" (assignment_expression "puVar5 = puVar5 + 7" identifier = (binary_expression "puVar5 + 7" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);" (assignment_expression "puVar4 = (undefined4 *)FUN_001aa8c0(0x2c)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x2c)" identifier (argument_list "(0x2c)" ( number_literal ))))) ;) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[9] = uVar1;" (assignment_expression "puVar4[9] = uVar1" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = identifier) ;) (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[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 = &PTR_FUN_00333644;" (assignment_expression "*puVar4 = &PTR_FUN_00333644" (pointer_expression "*puVar4" * identifier) = (pointer_expression "&PTR_FUN_00333644" & identifier)) ;) (expression_statement "puVar4[10] = param_1 + 1;" (assignment_expression "puVar4[10] = param_1 + 1" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00160dc0(param_2,puVar4);" (call_expression "FUN_00160dc0(param_2,puVar4)" identifier (argument_list "(param_2,puVar4)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "((undefined4 *)param_3[1] != puVar5)" ( (binary_expression "(undefined4 *)param_3[1] != puVar5" (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* DWARF original prototype: void initialize(Dirsearch * this, Workqueue * workqueue, Dir_list *\n   directories) */\n\nvoid __thiscall\ngold::Dirsearch::initialize(Dirsearch *this,Workqueue *workqueue,Dir_list *directories)\n\n{\n  int *piVar1;\n  pointer pSVar2;\n  _func_int_varargs **pp_Var3;\n  Dir_caches *this_00;\n  uint uVar4;\n  Task *t;\n  pointer pSVar5;\n  \n  if (anon_unknown.dwarf_573bdb::caches != (Dir_caches *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize");\n  }\n  this_00 = (Dir_caches *)operator_new(0x20);\n                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */\n  Lock::Lock((Lock *)this_00);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  (this_00->caches_)._M_h._M_bucket_count = 1;\n  (this_00->caches_)._M_h._M_buckets = &(this_00->caches_)._M_h._M_single_bucket;\n  (this_00->caches_)._M_h._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  this->directories_ = directories;\n  (this_00->caches_)._M_h._M_element_count = 0;\n  pSVar2 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_finish;\n  pSVar5 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_start;\n  (this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor = 1.0;\n  (this_00->caches_)._M_h._M_rehash_policy._M_next_resize = 0;\n  (this_00->caches_)._M_h._M_single_bucket = (__bucket_type)0x0;\n  anon_unknown.dwarf_573bdb::caches = this_00;\n  if ((this->token_).is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x97,"add_blockers");\n  }\n  piVar1 = &(this->token_).blockers_;\n  *piVar1 = *piVar1 + ((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249;\n  (this->token_).writer_ = (Task *)0x0;\n  if (pSVar5 != pSVar2) {\n    do {\n      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;\n      pSVar5 = pSVar5 + 1;\n      t = (Task *)operator_new(0x2c);\n      t->list_next_ = (Task *)0x0;\n      t[1]._vptr_Task = pp_Var3;\n      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;\n      t[1].list_next_ = (Task *)&this->token_;\n      Workqueue::queue(workqueue,t);\n    } while ((directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Dirsearch::initialize(Dirsearch *this,Workqueue *workqueue,Dir_list *directories)\n\n{\n  int *piVar1;\n  pointer pSVar2;\n  _func_int_varargs **pp_Var3;\n  Dir_caches *this_00;\n  uint uVar4;\n  Task *t;\n  pointer pSVar5;\n  \n  if (anon_unknown.dwarf_573bdb::caches != (Dir_caches *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize");\n  }\n  this_00 = (Dir_caches *)operator_new(0x20);\n                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */\n  Lock::Lock((Lock *)this_00);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  (this_00->caches_)._M_h._M_bucket_count = 1;\n  (this_00->caches_)._M_h._M_buckets = &(this_00->caches_)._M_h._M_single_bucket;\n  (this_00->caches_)._M_h._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  this->directories_ = directories;\n  (this_00->caches_)._M_h._M_element_count = 0;\n  pSVar2 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_finish;\n  pSVar5 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_start;\n  (this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor = 1.0;\n  (this_00->caches_)._M_h._M_rehash_policy._M_next_resize = 0;\n  (this_00->caches_)._M_h._M_single_bucket = (__bucket_type)0x0;\n  anon_unknown.dwarf_573bdb::caches = this_00;\n  if ((this->token_).is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x97,"add_blockers");\n  }\n  piVar1 = &(this->token_).blockers_;\n  *piVar1 = *piVar1 + ((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249;\n  (this->token_).writer_ = (Task *)0x0;\n  if (pSVar5 != pSVar2) {\n    do {\n      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;\n      pSVar5 = pSVar5 + 1;\n      t = (Task *)operator_new(0x2c);\n      t->list_next_ = (Task *)0x0;\n      t[1]._vptr_Task = pp_Var3;\n      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;\n      t[1].list_next_ = (Task *)&this->token_;\n      Workqueue::queue(workqueue,t);\n    } while ((directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dirsearch::" identifier : : identifier : :) (function_declarator "initialize(Dirsearch *this,Workqueue *workqueue,Dir_list *directories)" identifier (parameter_list "(Dirsearch *this,Workqueue *workqueue,Dir_list *directories)" ( (parameter_declaration "Dirsearch *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Workqueue *workqueue" type_identifier (pointer_declarator "*workqueue" * identifier)) , (parameter_declaration "Dir_list *directories" type_identifier (pointer_declarator "*directories" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  pointer pSVar2;\n  _func_int_varargs **pp_Var3;\n  Dir_caches *this_00;\n  uint uVar4;\n  Task *t;\n  pointer pSVar5;\n  \n  if (anon_unknown.dwarf_573bdb::caches != (Dir_caches *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize");\n  }\n  this_00 = (Dir_caches *)operator_new(0x20);\n                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */\n  Lock::Lock((Lock *)this_00);\n  uVar4 = 0;\n  do {\n    *(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);\n  (this_00->caches_)._M_h._M_bucket_count = 1;\n  (this_00->caches_)._M_h._M_buckets = &(this_00->caches_)._M_h._M_single_bucket;\n  (this_00->caches_)._M_h._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  this->directories_ = directories;\n  (this_00->caches_)._M_h._M_element_count = 0;\n  pSVar2 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_finish;\n  pSVar5 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_start;\n  (this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor = 1.0;\n  (this_00->caches_)._M_h._M_rehash_policy._M_next_resize = 0;\n  (this_00->caches_)._M_h._M_single_bucket = (__bucket_type)0x0;\n  anon_unknown.dwarf_573bdb::caches = this_00;\n  if ((this->token_).is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x97,"add_blockers");\n  }\n  piVar1 = &(this->token_).blockers_;\n  *piVar1 = *piVar1 + ((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249;\n  (this->token_).writer_ = (Task *)0x0;\n  if (pSVar5 != pSVar2) {\n    do {\n      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;\n      pSVar5 = pSVar5 + 1;\n      t = (Task *)operator_new(0x2c);\n      t->list_next_ = (Task *)0x0;\n      t[1]._vptr_Task = pp_Var3;\n      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;\n      t[1].list_next_ = (Task *)&this->token_;\n      Workqueue::queue(workqueue,t);\n    } while ((directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "pointer pSVar2;" type_identifier identifier ;) (declaration "_func_int_varargs **pp_Var3;" type_identifier (pointer_declarator "**pp_Var3" * (pointer_declarator "*pp_Var3" * identifier)) ;) (declaration "Dir_caches *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "Task *t;" type_identifier (pointer_declarator "*t" * identifier) ;) (declaration "pointer pSVar5;" type_identifier identifier ;) (if_statement "if (anon_unknown.dwarf_573bdb::caches != (Dir_caches *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize");\n  }" if (parenthesized_expression "(anon_unknown.dwarf_573bdb::caches != (Dir_caches *)0x0)" ( (binary_expression "anon_unknown.dwarf_573bdb::caches != (Dir_caches *)0x0" (field_expression "anon_unknown.dwarf_573bdb" identifier . field_identifier) (ERROR "::caches" : : identifier) != (cast_expression "(Dir_caches *)0x0" ( (type_descriptor "Dir_caches *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize");" (call_expression "do_gold_unreachable("../../gold/dirsearch.cc",0xe7,"initialize")" identifier (argument_list "("../../gold/dirsearch.cc",0xe7,"initialize")" ( (string_literal ""../../gold/dirsearch.cc"" " string_content ") , number_literal , (string_literal ""initialize"" " string_content ") ))) ;) })) (expression_statement "this_00 = (Dir_caches *)operator_new(0x20);" (assignment_expression "this_00 = (Dir_caches *)operator_new(0x20)" identifier = (cast_expression "(Dir_caches *)operator_new(0x20)" ( (type_descriptor "Dir_caches *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) comment (labeled_statement "Lock::Lock((Lock *)this_00);" statement_identifier : (ERROR ":" :) (expression_statement "Lock((Lock *)this_00);" (call_expression "Lock((Lock *)this_00)" identifier (argument_list "((Lock *)this_00)" ( (cast_expression "(Lock *)this_00" ( (type_descriptor "Lock *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  } while (uVar4 < 0x1c);" do (compound_statement "{\n    *(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0;\n    uVar4 = uVar4 + 4;\n  }" { (expression_statement "*(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0;" (assignment_expression "*(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4) = 0" (pointer_expression "*(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4)" * (cast_expression "(undefined4 *)((int)&(this_00->caches_)._M_h._M_buckets + uVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this_00->caches_)._M_h._M_buckets + uVar4)" ( (binary_expression "(int)&(this_00->caches_)._M_h._M_buckets + uVar4" (cast_expression "(int)&(this_00->caches_)._M_h._M_buckets" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this_00->caches_)._M_h._M_buckets" & (field_expression "(this_00->caches_)._M_h._M_buckets" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier))) + identifier) )))) = number_literal) ;) (expression_statement "uVar4 = uVar4 + 4;" (assignment_expression "uVar4 = uVar4 + 4" identifier = (binary_expression "uVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar4 < 0x1c)" ( (binary_expression "uVar4 < 0x1c" identifier < number_literal) )) ;) (expression_statement "(this_00->caches_)._M_h._M_bucket_count = 1;" (assignment_expression "(this_00->caches_)._M_h._M_bucket_count = 1" (field_expression "(this_00->caches_)._M_h._M_bucket_count" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(this_00->caches_)._M_h._M_buckets = &(this_00->caches_)._M_h._M_single_bucket;" (assignment_expression "(this_00->caches_)._M_h._M_buckets = &(this_00->caches_)._M_h._M_single_bucket" (field_expression "(this_00->caches_)._M_h._M_buckets" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (pointer_expression "&(this_00->caches_)._M_h._M_single_bucket" & (field_expression "(this_00->caches_)._M_h._M_single_bucket" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "(this_00->caches_)._M_h._M_before_begin._M_nxt = (_Hash_node_base *)0x0;" (assignment_expression "(this_00->caches_)._M_h._M_before_begin._M_nxt = (_Hash_node_base *)0x0" (field_expression "(this_00->caches_)._M_h._M_before_begin._M_nxt" (field_expression "(this_00->caches_)._M_h._M_before_begin" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "this->directories_ = directories;" (assignment_expression "this->directories_ = directories" (field_expression "this->directories_" identifier -> field_identifier) = identifier) ;) (expression_statement "(this_00->caches_)._M_h._M_element_count = 0;" (assignment_expression "(this_00->caches_)._M_h._M_element_count = 0" (field_expression "(this_00->caches_)._M_h._M_element_count" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "pSVar2 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_finish;" (assignment_expression "pSVar2 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_finish" identifier = (field_expression "(directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_finish" (field_expression "(directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl" (parenthesized_expression "(directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>)" ( (ERROR "directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::" (comma_expression "directories->\n           super__Vector_base<gold::Search_directory,_std" (binary_expression "directories->\n           super__Vector_base<gold" (field_expression "directories->\n           super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Search_directory" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Search_directory>_>" (binary_expression "Search_directory>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "pSVar5 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_start;" (assignment_expression "pSVar5 = (directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_start" identifier = (field_expression "(directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl._M_start" (field_expression "(directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n           _M_impl" (parenthesized_expression "(directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>)" ( (ERROR "directories->\n           super__Vector_base<gold::Search_directory,_std::allocator<gold::" (comma_expression "directories->\n           super__Vector_base<gold::Search_directory,_std" (binary_expression "directories->\n           super__Vector_base<gold" (field_expression "directories->\n           super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Search_directory" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Search_directory>_>" (binary_expression "Search_directory>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "(this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor = 1.0;" (assignment_expression "(this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor = 1.0" (field_expression "(this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor" (field_expression "(this_00->caches_)._M_h._M_rehash_policy" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(this_00->caches_)._M_h._M_rehash_policy._M_next_resize = 0;" (assignment_expression "(this_00->caches_)._M_h._M_rehash_policy._M_next_resize = 0" (field_expression "(this_00->caches_)._M_h._M_rehash_policy._M_next_resize" (field_expression "(this_00->caches_)._M_h._M_rehash_policy" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(this_00->caches_)._M_h._M_single_bucket = (__bucket_type)0x0;" (assignment_expression "(this_00->caches_)._M_h._M_single_bucket = (__bucket_type)0x0" (field_expression "(this_00->caches_)._M_h._M_single_bucket" (field_expression "(this_00->caches_)._M_h" (parenthesized_expression "(this_00->caches_)" ( (field_expression "this_00->caches_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) ;) (ERROR "anon_unknown.dwarf_573bdb::" (field_expression "anon_unknown.dwarf_573bdb" identifier . field_identifier) : :) (expression_statement "caches = this_00;" (assignment_expression "caches = this_00" identifier = identifier) ;) (if_statement "if ((this->token_).is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x97,"add_blockers");\n  }" if (parenthesized_expression "((this->token_).is_blocker_ == false)" ( (binary_expression "(this->token_).is_blocker_ == false" (field_expression "(this->token_).is_blocker_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) == false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x97,"add_blockers");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x97,"add_blockers");" (call_expression "do_gold_unreachable("../../gold/token.h",0x97,"add_blockers")" identifier (argument_list "("../../gold/token.h",0x97,"add_blockers")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_blockers"" " string_content ") ))) ;) })) (expression_statement "piVar1 = &(this->token_).blockers_;" (assignment_expression "piVar1 = &(this->token_).blockers_" identifier = (pointer_expression "&(this->token_).blockers_" & (field_expression "(this->token_).blockers_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*piVar1 = *piVar1 + ((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249;" (assignment_expression "*piVar1 = *piVar1 + ((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + ((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249" (pointer_expression "*piVar1" * identifier) + (binary_expression "((int)pSVar2 - (int)pSVar5 >> 2) * -0x49249249" (parenthesized_expression "((int)pSVar2 - (int)pSVar5 >> 2)" ( (binary_expression "(int)pSVar2 - (int)pSVar5 >> 2" (binary_expression "(int)pSVar2 - (int)pSVar5" (cast_expression "(int)pSVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pSVar5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) * number_literal))) ;) (expression_statement "(this->token_).writer_ = (Task *)0x0;" (assignment_expression "(this->token_).writer_ = (Task *)0x0" (field_expression "(this->token_).writer_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (pSVar5 != pSVar2) {\n    do {\n      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;\n      pSVar5 = pSVar5 + 1;\n      t = (Task *)operator_new(0x2c);\n      t->list_next_ = (Task *)0x0;\n      t[1]._vptr_Task = pp_Var3;\n      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;\n      t[1].list_next_ = (Task *)&this->token_;\n      Workqueue::queue(workqueue,t);\n    } while ((directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5);\n  }" if (parenthesized_expression "(pSVar5 != pSVar2)" ( (binary_expression "pSVar5 != pSVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;\n      pSVar5 = pSVar5 + 1;\n      t = (Task *)operator_new(0x2c);\n      t->list_next_ = (Task *)0x0;\n      t[1]._vptr_Task = pp_Var3;\n      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;\n      t[1].list_next_ = (Task *)&this->token_;\n      Workqueue::queue(workqueue,t);\n    } while ((directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5);\n  }" { (do_statement "do {\n      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;\n      pSVar5 = pSVar5 + 1;\n      t = (Task *)operator_new(0x2c);\n      t->list_next_ = (Task *)0x0;\n      t[1]._vptr_Task = pp_Var3;\n      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;\n      t[1].list_next_ = (Task *)&this->token_;\n      Workqueue::queue(workqueue,t);\n    } while ((directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5);" do (compound_statement "{\n      pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;\n      pSVar5 = pSVar5 + 1;\n      t = (Task *)operator_new(0x2c);\n      t->list_next_ = (Task *)0x0;\n      t[1]._vptr_Task = pp_Var3;\n      (t->name_)._M_dataplus._M_p = (pointer)&(t->name_).field_2;\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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;\n      t[1].list_next_ = (Task *)&this->token_;\n      Workqueue::queue(workqueue,t);\n    }" { (expression_statement "pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p;" (assignment_expression "pp_Var3 = (_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p" identifier = (cast_expression "(_func_int_varargs **)(pSVar5->name_)._M_dataplus._M_p" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (field_expression "(pSVar5->name_)._M_dataplus._M_p" (field_expression "(pSVar5->name_)._M_dataplus" (parenthesized_expression "(pSVar5->name_)" ( (field_expression "pSVar5->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "pSVar5 = pSVar5 + 1;" (assignment_expression "pSVar5 = pSVar5 + 1" identifier = (binary_expression "pSVar5 + 1" identifier + number_literal)) ;) (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 "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[1]._vptr_Task = pp_Var3;" (assignment_expression "t[1]._vptr_Task = pp_Var3" (field_expression "t[1]._vptr_Task" (subscript_expression "t[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (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->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->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644;" (assignment_expression "t->_vptr_Task = (_func_int_varargs **)&PTR__Dir_cache_task_00333644" (field_expression "t->_vptr_Task" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Dir_cache_task_00333644" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Dir_cache_task_00333644" & identifier))) ;) (expression_statement "t[1].list_next_ = (Task *)&this->token_;" (assignment_expression "t[1].list_next_ = (Task *)&this->token_" (field_expression "t[1].list_next_" (subscript_expression "t[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(Task *)&this->token_" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->token_" & (field_expression "this->token_" identifier -> field_identifier)))) ;) (labeled_statement "Workqueue::queue(workqueue,t);" statement_identifier : (ERROR ":" :) (expression_statement "queue(workqueue,t);" (call_expression "queue(workqueue,t)" identifier (argument_list "(workqueue,t)" ( identifier , identifier ))) ;)) }) while (parenthesized_expression "((directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5)" ( (binary_expression "(directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish != pSVar5" (field_expression "(directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl._M_finish" (field_expression "(directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>).\n             _M_impl" (parenthesized_expression "(directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::Search_directory>_>)" ( (ERROR "directories->\n             super__Vector_base<gold::Search_directory,_std::allocator<gold::" (comma_expression "directories->\n             super__Vector_base<gold::Search_directory,_std" (binary_expression "directories->\n             super__Vector_base<gold" (field_expression "directories->\n             super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Search_directory" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Search_directory>_>" (binary_expression "Search_directory>_" identifier > identifier) > identifier) )) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    \n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    \n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    \n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if (DAT_0033f558 != 0) {\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }" if (parenthesized_expression "(DAT_0033f558 != 0)" ( (binary_expression "DAT_0033f558 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }" { (expression_statement "FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);" (call_expression "FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1)" identifier (argument_list "("../../gold/dirsearch.cc",0xe7,"initialize",param_1)" ( (string_literal ""../../gold/dirsearch.cc"" " string_content ") , number_literal , (string_literal ""initialize"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = FUN_001aa8c0(0x20);" (assignment_expression "iVar2 = FUN_001aa8c0(0x20)" identifier = (call_expression "FUN_001aa8c0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "FUN_0008e450(iVar2);" (call_expression "FUN_0008e450(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);" do (compound_statement "{\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + 4 + uVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4 + uVar3) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4 + uVar3)" * (cast_expression "(undefined4 *)(iVar2 + 4 + uVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + uVar3)" ( (binary_expression "iVar2 + 4 + uVar3" (binary_expression "iVar2 + 4" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x1c)" ( (binary_expression "uVar3 < 0x1c" identifier < number_literal) )) ;) (expression_statement "*(undefined4 *)(iVar2 + 8) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar2 + 4) = iVar2 + 0x1c;" (assignment_expression "*(int *)(iVar2 + 4) = iVar2 + 0x1c" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (binary_expression "iVar2 + 0x1c" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar2 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)param_3[1];" (assignment_expression "puVar4 = (undefined4 *)param_3[1]" identifier = (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar5 = (undefined4 *)*param_3;" (assignment_expression "puVar5 = (undefined4 *)*param_3" identifier = (cast_expression "(undefined4 *)*param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "DAT_0033f558 = iVar2;" (assignment_expression "DAT_0033f558 = iVar2" identifier = identifier) ;) (if_statement "if (*(char *)(param_1 + 1) == '\0') {\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" ( (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }" { (expression_statement "FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);" (call_expression "FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2)" identifier (argument_list "("../../gold/token.h",0x97,"add_blockers",iVar2)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_blockers"" " string_content ") , identifier ))) ;) })) (expression_statement "param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;" (assignment_expression "param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (parenthesized_expression "((int)puVar4 - (int)puVar5 >> 2)" ( (binary_expression "(int)puVar4 - (int)puVar5 >> 2" (binary_expression "(int)puVar4 - (int)puVar5" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) * number_literal))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }" if (parenthesized_expression "(puVar5 != puVar4)" ( (binary_expression "puVar5 != puVar4" identifier != identifier) )) (compound_statement "{\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }" { (do_statement "do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);" do (compound_statement "{\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    }" { (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 7;" (assignment_expression "puVar5 = puVar5 + 7" identifier = (binary_expression "puVar5 + 7" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);" (assignment_expression "puVar4 = (undefined4 *)FUN_001aa8c0(0x2c)" identifier = (cast_expression "(undefined4 *)FUN_001aa8c0(0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001aa8c0(0x2c)" identifier (argument_list "(0x2c)" ( number_literal ))))) ;) (expression_statement "puVar4[1] = 0;" (assignment_expression "puVar4[1] = 0" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[9] = uVar1;" (assignment_expression "puVar4[9] = uVar1" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = identifier) ;) (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[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 = &PTR_FUN_00333644;" (assignment_expression "*puVar4 = &PTR_FUN_00333644" (pointer_expression "*puVar4" * identifier) = (pointer_expression "&PTR_FUN_00333644" & identifier)) ;) (expression_statement "puVar4[10] = param_1 + 1;" (assignment_expression "puVar4[10] = param_1 + 1" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00160dc0(param_2,puVar4);" (call_expression "FUN_00160dc0(param_2,puVar4)" identifier (argument_list "(param_2,puVar4)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "((undefined4 *)param_3[1] != puVar5)" ( (binary_expression "(undefined4 *)param_3[1] != puVar5" (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (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 * IDENT) = IDENT) ;) (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )) * LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (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 (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    \n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000813b0(undefined4 *param_1,undefined4 param_2,int *param_3)" (identifier "FUN_000813b0") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  \n  if (DAT_0033f558 != 0) {\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }\n  iVar2 = FUN_001aa8c0(0x20);\n                    \n  FUN_0008e450(iVar2);\n  uVar3 = 0;\n  do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);\n  *(undefined4 *)(iVar2 + 8) = 1;\n  *(int *)(iVar2 + 4) = iVar2 + 0x1c;\n  *(undefined4 *)(iVar2 + 0xc) = 0;\n  *param_1 = param_3;\n  *(undefined4 *)(iVar2 + 0x10) = 0;\n  puVar4 = (undefined4 *)param_3[1];\n  puVar5 = (undefined4 *)*param_3;\n  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;\n  *(undefined4 *)(iVar2 + 0x18) = 0;\n  *(undefined4 *)(iVar2 + 0x1c) = 0;\n  DAT_0033f558 = iVar2;\n  if (*(char *)(param_1 + 1) == '\0') {\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }\n  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;\n  param_1[3] = 0;\n  if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (if_statement "if (DAT_0033f558 != 0) {\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }" (if "if") (parenthesized_expression "(DAT_0033f558 != 0)" (( "(") (binary_expression "DAT_0033f558 != 0" (identifier "DAT_0033f558") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);\n  }" ({ "{") (expression_statement "FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);" (call_expression "FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1)" (identifier "FUN_0008b620") (argument_list "("../../gold/dirsearch.cc",0xe7,"initialize",param_1)" (( "(") (string_literal ""../../gold/dirsearch.cc"" (" """) (string_content "../../gold/dirsearch.cc") (" """)) (, ",") (number_literal "0xe7") (, ",") (string_literal ""initialize"" (" """) (string_content "initialize") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_001aa8c0(0x20);" (assignment_expression "iVar2 = FUN_001aa8c0(0x20)" (identifier "iVar2") (= "=") (call_expression "FUN_001aa8c0(0x20)" (identifier "FUN_001aa8c0") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "FUN_0008e450(iVar2);" (call_expression "FUN_0008e450(iVar2)" (identifier "FUN_0008e450") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x1c);" (do "do") (compound_statement "{\n    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;\n    uVar3 = uVar3 + 4;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 4 + uVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4 + uVar3) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4 + uVar3)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4 + uVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4 + uVar3)" (( "(") (binary_expression "iVar2 + 4 + uVar3" (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) (+ "+") (identifier "uVar3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 4" (identifier "uVar3") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 < 0x1c)" (( "(") (binary_expression "uVar3 < 0x1c" (identifier "uVar3") (< "<") (number_literal "0x1c")) () ")")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 8) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(int *)(iVar2 + 4) = iVar2 + 0x1c;" (assignment_expression "*(int *)(iVar2 + 4) = iVar2 + 0x1c" (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c"))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (undefined4 *)param_3[1];" (assignment_expression "puVar4 = (undefined4 *)param_3[1]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)param_3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "puVar5 = (undefined4 *)*param_3;" (assignment_expression "puVar5 = (undefined4 *)*param_3" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)*param_3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0x3f800000")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_0033f558 = iVar2;" (assignment_expression "DAT_0033f558 = iVar2" (identifier "DAT_0033f558") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (*(char *)(param_1 + 1) == '\0') {\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);\n  }" ({ "{") (expression_statement "FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);" (call_expression "FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2)" (identifier "FUN_0008b620") (argument_list "("../../gold/token.h",0x97,"add_blockers",iVar2)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x97") (, ",") (string_literal ""add_blockers"" (" """) (string_content "add_blockers") (" """)) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;" (assignment_expression "param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "((int)puVar4 - (int)puVar5 >> 2) * -0x49249249" (parenthesized_expression "((int)puVar4 - (int)puVar5 >> 2)" (( "(") (binary_expression "(int)puVar4 - (int)puVar5 >> 2" (binary_expression "(int)puVar4 - (int)puVar5" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (- "-") (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5"))) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "-0x49249249")))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (puVar5 != puVar4) {\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }" (if "if") (parenthesized_expression "(puVar5 != puVar4)" (( "(") (binary_expression "puVar5 != puVar4" (identifier "puVar5") (!= "!=") (identifier "puVar4")) () ")")) (compound_statement "{\n    do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);\n  }" ({ "{") (do_statement "do {\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    } while ((undefined4 *)param_3[1] != puVar5);" (do "do") (compound_statement "{\n      uVar1 = *puVar5;\n      puVar5 = puVar5 + 7;\n      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);\n      puVar4[1] = 0;\n      puVar4[9] = uVar1;\n      puVar4[2] = puVar4 + 4;\n      puVar4[3] = 0;\n      *(undefined1 *)(puVar4 + 4) = 0;\n      *(undefined1 *)(puVar4 + 8) = 0;\n      *puVar4 = &PTR_FUN_00333644;\n      puVar4[10] = param_1 + 1;\n      FUN_00160dc0(param_2,puVar4);\n    }" ({ "{") (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" (identifier "uVar1") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar5 = puVar5 + 7;" (assignment_expression "puVar5 = puVar5 + 7" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 7" (identifier "puVar5") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);" (assignment_expression "puVar4 = (undefined4 *)FUN_001aa8c0(0x2c)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_001aa8c0(0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001aa8c0(0x2c)" (identifier "FUN_001aa8c0") (argument_list "(0x2c)" (( "(") (number_literal "0x2c") () ")"))))) (; ";")) (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[9] = uVar1;" (assignment_expression "puVar4[9] = uVar1" (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (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[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 = &PTR_FUN_00333644;" (assignment_expression "*puVar4 = &PTR_FUN_00333644" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "&PTR_FUN_00333644" (& "&") (identifier "PTR_FUN_00333644"))) (; ";")) (expression_statement "puVar4[10] = param_1 + 1;" (assignment_expression "puVar4[10] = param_1 + 1" (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00160dc0(param_2,puVar4);" (call_expression "FUN_00160dc0(param_2,puVar4)" (identifier "FUN_00160dc0") (argument_list "(param_2,puVar4)" (( "(") (identifier "param_2") (, ",") (identifier "puVar4") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined4 *)param_3[1] != puVar5)" (( "(") (binary_expression "(undefined4 *)param_3[1] != puVar5" (cast_expression "(undefined4 *)param_3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "puVar5")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: void initialize(Dirsearch * this, Workqueue * workqueue, Dir_list *
   directories) */

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

{
  int *piVar1;
  type_4 var_9;
  type_5 **pp_Var3;
  type_6 *this_00;
  type_7 var_4;
  type_8 *t;
  type_4 var_8;
  
  if (anon_unknown.dwarf_573bdb::caches != (type_6 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/dirsearch.cc",0xe7,"initialize");
  }
  this_00 = (type_6 *)var_2(0x20);
                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */
  Lock::var_3((var_3 *)this_00);
  var_4 = 0;
  do {
    *(type_9 *)((int)&(this_00->caches_)._M_h._M_buckets + var_4) = 0;
    var_4 = var_4 + 4;
  } while (var_4 < 0x1c);
  (this_00->caches_)._M_h._M_bucket_count = 1;
  (this_00->caches_)._M_h._M_buckets = &(this_00->caches_)._M_h._M_single_bucket;
  (this_00->caches_)._M_h._M_before_begin._M_nxt = (type_10 *)0x0;
  this->directories_ = directories;
  (this_00->caches_)._M_h._M_element_count = 0;
  var_9 = (directories->
           super__Vector_base<gold::var_5,_std::allocator<gold::var_5>var_6>var_7).
           _M_impl._M_finish;
  var_8 = (directories->
           super__Vector_base<gold::var_5,_std::allocator<gold::var_5>var_6>var_7).
           _M_impl._M_start;
  (this_00->caches_)._M_h._M_rehash_policy._M_max_load_factor = 1.0;
  (this_00->caches_)._M_h._M_rehash_policy._M_next_resize = 0;
  (this_00->caches_)._M_h._M_single_bucket = (type_11)0x0;
  anon_unknown.dwarf_573bdb::caches = this_00;
  if ((this->token_).is_blocker_ == false) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/token.h",0x97,"add_blockers");
  }
  piVar1 = &(this->token_).blockers_;
  *piVar1 = *piVar1 + ((int)var_9 - (int)var_8 >> 2) * -0x49249249;
  (this->token_).writer_ = (type_8 *)0x0;
  if (var_8 != var_9) {
    do {
      pp_Var3 = (type_5 **)(var_8->name_)._M_dataplus._M_p;
      var_8 = var_8 + 1;
      t = (type_8 *)var_2(0x2c);
      t->list_next_ = (type_8 *)0x0;
      t[1]._vptr_Task = pp_Var3;
      (t->name_)._M_dataplus._M_p = (type_4)&(t->name_).field_2;
      (t->name_)._M_string_length = 0;
      (t->name_).field_2._M_local_buf[0] = '\0';
      t->should_run_soon_ = false;
      t->_vptr_Task = (type_5 **)&PTR__Dir_cache_task_00333644;
      t[1].list_next_ = (type_8 *)&this->token_;
      Workqueue::var_10(workqueue,t);
    } while ((directories->
             super__Vector_base<gold::var_5,_std::allocator<gold::var_5>var_6>var_7).
             _M_impl._M_finish != var_8);
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void MASKED(undefined4 *param_1,undefined4 param_2,int *param_3)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  
  if (DAT_0033f558 != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/dirsearch.cc",0xe7,"initialize",param_1);
  }
  iVar2 = FUN_001aa8c0(0x20);
                    /* try { // try from 000813e7 to 000813eb has its CatchHandler @ 00081517 */
  FUN_0008e450(iVar2);
  uVar3 = 0;
  do {
    *(undefined4 *)(iVar2 + 4 + uVar3) = 0;
    uVar3 = uVar3 + 4;
  } while (uVar3 < 0x1c);
  *(undefined4 *)(iVar2 + 8) = 1;
  *(int *)(iVar2 + 4) = iVar2 + 0x1c;
  *(undefined4 *)(iVar2 + 0xc) = 0;
  *param_1 = param_3;
  *(undefined4 *)(iVar2 + 0x10) = 0;
  puVar4 = (undefined4 *)param_3[1];
  puVar5 = (undefined4 *)*param_3;
  *(undefined4 *)(iVar2 + 0x14) = 0x3f800000;
  *(undefined4 *)(iVar2 + 0x18) = 0;
  *(undefined4 *)(iVar2 + 0x1c) = 0;
  DAT_0033f558 = iVar2;
  if (*(char *)(param_1 + 1) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/token.h",0x97,"add_blockers",iVar2);
  }
  param_1[2] = param_1[2] + ((int)puVar4 - (int)puVar5 >> 2) * -0x49249249;
  param_1[3] = 0;
  if (puVar5 != puVar4) {
    do {
      uVar1 = *puVar5;
      puVar5 = puVar5 + 7;
      puVar4 = (undefined4 *)FUN_001aa8c0(0x2c);
      puVar4[1] = 0;
      puVar4[9] = uVar1;
      puVar4[2] = puVar4 + 4;
      puVar4[3] = 0;
      *(undefined1 *)(puVar4 + 4) = 0;
      *(undefined1 *)(puVar4 + 8) = 0;
      *puVar4 = &PTR_FUN_00333644;
      puVar4[10] = param_1 + 1;
      FUN_00160dc0(param_2,puVar4);
    } while ((undefined4 *)param_3[1] != puVar5);
  }
  return;
}

