
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void add_gnu_property(Layout * this, uint note_type, uint pr_type,
   size_t pr_datasz, uchar * pr_data) */

void __thiscall
gold::Layout::add_gnu_property
          (Layout *this,uint note_type,uint pr_type,size_t pr_datasz,uchar *pr_data)

{
}



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

void __regparm1
FUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)

{
  int *piVar1;
  size_t __n;
  int iVar2;
  void *__dest;
  int iVar3;
  int iVar4;
  int iVar5;
  bool bVar6;
  int local_34;
  undefined1 local_30 [15];
  undefined1 local_21;
  undefined4 *local_20 [3];
  undefined4 uStack_14;
  
  __n = param_5;
  uStack_14 = 0x10fb29;
  if (param_3 != 5) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);
  }
  __dest = (void *)FUN_002465f0(param_5);
  memcpy(__dest,param_6,__n);
  iVar5 = param_2 + 0x270;
  iVar2 = *(int *)(param_2 + 0x274);
  iVar3 = iVar5;
  if (*(int *)(param_2 + 0x274) != 0) {
    do {
      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {
        iVar2 = *(int *)(iVar4 + 8);
        iVar3 = iVar4;
        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;
      }
      piVar1 = (int *)(iVar4 + 0xc);
      iVar2 = *piVar1;
      iVar4 = iVar3;
    } while (*piVar1 != 0);
LAB_0010fb95:
    bVar6 = iVar5 != iVar4;
    iVar5 = iVar4;
    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;
  }
  local_20[0] = &param_4;
  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);
  iVar4 = local_34;
LAB_0010fbd6:
  *(size_t *)(iVar4 + 0x14) = __n;
  *(void **)(iVar4 + 0x18) = __dest;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x3044d7
SUB ESP,0x2c
CMP dword ptr [ESP + 0x44],0x5
MOV ESI,dword ptr [ESP + 0x4c]
JNZ 0x0010fbec
SUB ESP,0xc
PUSH ESI
CALL 0x002465f0
ADD ESP,0xc
PUSH ESI
MOV EDI,EAX
PUSH dword ptr [ESP + 0x58]
PUSH EAX
CALL 0x0002c2d0
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
LEA ECX,[EAX + 0x270]
MOV EAX,dword ptr [EAX + 0x274]
TEST EAX,EAX
JZ 0x0010fbe8
MOV EBP,dword ptr [ESP + 0x48]
MOV EDX,ECX
JMP 0x0010fb89
MOV EDX,EAX
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x0010fb95
CMP dword ptr [EAX + 0x10],EBP
JNC 0x0010fb80
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JNZ 0x0010fb89
CMP ECX,EDX
JZ 0x0010fb9e
CMP EBP,dword ptr [EDX + 0x10]
JNC 0x0010fbd6
LEA EAX,[ESP + 0x48]
LEA ECX,[ESP + 0xc]
SUB ESP,0x8
MOV dword ptr [ESP + 0x24],EAX
LEA EAX,[ESP + 0x23]
PUSH EAX
LEA EAX,[ESP + 0x28]
PUSH EAX
LEA EAX,[EBX + 0xffeea8d4]
PUSH EAX
PUSH EDX
MOV EAX,dword ptr [ESP + 0x58]
ADD EAX,0x26c
PUSH EAX
PUSH ECX
CALL 0x00119a90
MOV EDX,dword ptr [ESP + 0x28]
ADD ESP,0x1c
MOV dword ptr [EDX + 0x14],ESI
MOV dword ptr [EDX + 0x18],EDI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,ECX
JMP 0x0010fb9e
PUSH EAX
LEA EAX,[EBX + 0xffeea778]
PUSH EAX
LEA EAX,[EBX + 0xffee933e]
PUSH 0x973
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm1\nFUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)\n\n{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}\n\n" comment (function_definition "void __regparm1\nFUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)\n\n{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "size_t param_5" primitive_type identifier) , (parameter_declaration "void *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined1 local_30 [15];" type_identifier (array_declarator "local_30 [15]" identifier [ number_literal ]) ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "undefined4 *local_20 [3];" type_identifier (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "__n = param_5;" (assignment_expression "__n = param_5" identifier = identifier) ;) (expression_statement "uStack_14 = 0x10fb29;" (assignment_expression "uStack_14 = 0x10fb29" identifier = number_literal) ;) (if_statement "if (param_3 != 5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }" if (parenthesized_expression "(param_3 != 5)" ( (binary_expression "param_3 != 5" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }" { comment (expression_statement "FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);" (call_expression "FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1)" identifier (argument_list "("../../gold/layout.cc",0x973,"add_gnu_property",param_1)" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""add_gnu_property"" " string_content ") , identifier ))) ;) })) (expression_statement "__dest = (void *)FUN_002465f0(param_5);" (assignment_expression "__dest = (void *)FUN_002465f0(param_5)" identifier = (cast_expression "(void *)FUN_002465f0(param_5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002465f0(param_5)" identifier (argument_list "(param_5)" ( identifier ))))) ;) (expression_statement "memcpy(__dest,param_6,__n);" (call_expression "memcpy(__dest,param_6,__n)" identifier (argument_list "(__dest,param_6,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = param_2 + 0x270;" (assignment_expression "iVar5 = param_2 + 0x270" identifier = (binary_expression "param_2 + 0x270" identifier + number_literal)) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x274);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x274)" identifier = (pointer_expression "*(int *)(param_2 + 0x274)" * (cast_expression "(int *)(param_2 + 0x274)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x274)" ( (binary_expression "param_2 + 0x274" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x274) != 0)" ( (binary_expression "*(int *)(param_2 + 0x274) != 0" (pointer_expression "*(int *)(param_2 + 0x274)" * (cast_expression "(int *)(param_2 + 0x274)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x274)" ( (binary_expression "param_2 + 0x274" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }" { (do_statement "do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);" do (compound_statement "{\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    }" { (while_statement "while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }" while (parenthesized_expression "(iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10))" ( (comma_expression "iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)" (assignment_expression "iVar4 = iVar2" identifier = identifier) , (binary_expression "param_4 <= *(uint *)(iVar4 + 0x10)" identifier <= (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))))) )) (compound_statement "{\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }" { (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (if_statement "if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;" if (parenthesized_expression "(*(int *)(iVar4 + 8) == 0)" ( (binary_expression "*(int *)(iVar4 + 8) == 0" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0010fb95;" goto statement_identifier ;)) })) (expression_statement "piVar1 = (int *)(iVar4 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar4 + 0xc)" identifier = (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) ;) (labeled_statement "LAB_0010fb95:\n    bVar6 = iVar5 != iVar4;" statement_identifier : (expression_statement "bVar6 = iVar5 != iVar4;" (assignment_expression "bVar6 = iVar5 != iVar4" identifier = (binary_expression "iVar5 != iVar4" identifier != identifier)) ;)) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;" if (parenthesized_expression "((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4))" ( (binary_expression "(bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)" (parenthesized_expression "(bVar6)" ( identifier )) && (parenthesized_expression "(*(uint *)(iVar4 + 0x10) <= param_4)" ( (binary_expression "*(uint *)(iVar4 + 0x10) <= param_4" (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) <= identifier) ))) )) (goto_statement "goto LAB_0010fbd6;" goto statement_identifier ;)) })) (expression_statement "local_20[0] = &param_4;" (assignment_expression "local_20[0] = &param_4" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "&param_4" & identifier)) ;) (expression_statement "FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);" (call_expression "FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21)" identifier (argument_list "(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21)" ( identifier , (binary_expression "param_2 + 0x26c" identifier + number_literal) , identifier , (pointer_expression "&DAT_002fe8d4" & identifier) , identifier , (pointer_expression "&local_21" & identifier) ))) ;) (expression_statement "iVar4 = local_34;" (assignment_expression "iVar4 = local_34" identifier = identifier) ;) (labeled_statement "LAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;" statement_identifier : (expression_statement "*(size_t *)(iVar4 + 0x14) = __n;" (assignment_expression "*(size_t *)(iVar4 + 0x14) = __n" (pointer_expression "*(size_t *)(iVar4 + 0x14)" * (cast_expression "(size_t *)(iVar4 + 0x14)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(void **)(iVar4 + 0x18) = __dest;" (assignment_expression "*(void **)(iVar4 + 0x18) = __dest" (pointer_expression "*(void **)(iVar4 + 0x18)" * (cast_expression "(void **)(iVar4 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void add_gnu_property(Layout * this, uint note_type, uint pr_type,\n   size_t pr_datasz, uchar * pr_data) */\n\nvoid __thiscall\ngold::Layout::add_gnu_property\n          (Layout *this,uint note_type,uint pr_type,size_t pr_datasz,uchar *pr_data)\n\n{\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Layout::add_gnu_property\n          (Layout *this,uint note_type,uint pr_type,size_t pr_datasz,uchar *pr_data)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "add_gnu_property\n          (Layout *this,uint note_type,uint pr_type,size_t pr_datasz,uchar *pr_data)" identifier (parameter_list "(Layout *this,uint note_type,uint pr_type,size_t pr_datasz,uchar *pr_data)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint note_type" type_identifier identifier) , (parameter_declaration "uint pr_type" type_identifier identifier) , (parameter_declaration "size_t pr_datasz" primitive_type identifier) , (parameter_declaration "uchar *pr_data" type_identifier (pointer_declarator "*pr_data" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm1\nFUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)\n\n{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}\n\n" (function_definition "void __regparm1\nFUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)\n\n{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "size_t param_5" primitive_type identifier) , (parameter_declaration "void *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined1 local_30 [15];" type_identifier (array_declarator "local_30 [15]" identifier [ number_literal ]) ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "undefined4 *local_20 [3];" type_identifier (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "__n = param_5;" (assignment_expression "__n = param_5" identifier = identifier) ;) (expression_statement "uStack_14 = 0x10fb29;" (assignment_expression "uStack_14 = 0x10fb29" identifier = number_literal) ;) (if_statement "if (param_3 != 5) {\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }" if (parenthesized_expression "(param_3 != 5)" ( (binary_expression "param_3 != 5" identifier != number_literal) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }" { (expression_statement "FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);" (call_expression "FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1)" identifier (argument_list "("../../gold/layout.cc",0x973,"add_gnu_property",param_1)" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""add_gnu_property"" " string_content ") , identifier ))) ;) })) (expression_statement "__dest = (void *)FUN_002465f0(param_5);" (assignment_expression "__dest = (void *)FUN_002465f0(param_5)" identifier = (cast_expression "(void *)FUN_002465f0(param_5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002465f0(param_5)" identifier (argument_list "(param_5)" ( identifier ))))) ;) (expression_statement "memcpy(__dest,param_6,__n);" (call_expression "memcpy(__dest,param_6,__n)" identifier (argument_list "(__dest,param_6,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = param_2 + 0x270;" (assignment_expression "iVar5 = param_2 + 0x270" identifier = (binary_expression "param_2 + 0x270" identifier + number_literal)) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x274);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x274)" identifier = (pointer_expression "*(int *)(param_2 + 0x274)" * (cast_expression "(int *)(param_2 + 0x274)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x274)" ( (binary_expression "param_2 + 0x274" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x274) != 0)" ( (binary_expression "*(int *)(param_2 + 0x274) != 0" (pointer_expression "*(int *)(param_2 + 0x274)" * (cast_expression "(int *)(param_2 + 0x274)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x274)" ( (binary_expression "param_2 + 0x274" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }" { (do_statement "do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);" do (compound_statement "{\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    }" { (while_statement "while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }" while (parenthesized_expression "(iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10))" ( (comma_expression "iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)" (assignment_expression "iVar4 = iVar2" identifier = identifier) , (binary_expression "param_4 <= *(uint *)(iVar4 + 0x10)" identifier <= (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))))) )) (compound_statement "{\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }" { (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (if_statement "if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;" if (parenthesized_expression "(*(int *)(iVar4 + 8) == 0)" ( (binary_expression "*(int *)(iVar4 + 8) == 0" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0010fb95;" goto statement_identifier ;)) })) (expression_statement "piVar1 = (int *)(iVar4 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar4 + 0xc)" identifier = (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) ;) (labeled_statement "LAB_0010fb95:\n    bVar6 = iVar5 != iVar4;" statement_identifier : (expression_statement "bVar6 = iVar5 != iVar4;" (assignment_expression "bVar6 = iVar5 != iVar4" identifier = (binary_expression "iVar5 != iVar4" identifier != identifier)) ;)) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;" if (parenthesized_expression "((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4))" ( (binary_expression "(bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)" (parenthesized_expression "(bVar6)" ( identifier )) && (parenthesized_expression "(*(uint *)(iVar4 + 0x10) <= param_4)" ( (binary_expression "*(uint *)(iVar4 + 0x10) <= param_4" (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) <= identifier) ))) )) (goto_statement "goto LAB_0010fbd6;" goto statement_identifier ;)) })) (expression_statement "local_20[0] = &param_4;" (assignment_expression "local_20[0] = &param_4" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "&param_4" & identifier)) ;) (expression_statement "FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);" (call_expression "FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21)" identifier (argument_list "(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21)" ( identifier , (binary_expression "param_2 + 0x26c" identifier + number_literal) , identifier , (pointer_expression "&DAT_002fe8d4" & identifier) , identifier , (pointer_expression "&local_21" & identifier) ))) ;) (expression_statement "iVar4 = local_34;" (assignment_expression "iVar4 = local_34" identifier = identifier) ;) (labeled_statement "LAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;" statement_identifier : (expression_statement "*(size_t *)(iVar4 + 0x14) = __n;" (assignment_expression "*(size_t *)(iVar4 + 0x14) = __n" (pointer_expression "*(size_t *)(iVar4 + 0x14)" * (cast_expression "(size_t *)(iVar4 + 0x14)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(void **)(iVar4 + 0x18) = __dest;" (assignment_expression "*(void **)(iVar4 + 0x18) = __dest" (pointer_expression "*(void **)(iVar4 + 0x18)" * (cast_expression "(void **)(iVar4 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression 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) )))) != LIT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT != IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm1\nFUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)\n\n{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}" (primitive_type "void") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_0010fb20(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)" (identifier "FUN_0010fb20") (parameter_list "(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "size_t param_5" (primitive_type "size_t") (identifier "param_5")) (, ",") (parameter_declaration "void *param_6" (primitive_type "void") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  size_t __n;\n  int iVar2;\n  void *__dest;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  int local_34;\n  undefined1 local_30 [15];\n  undefined1 local_21;\n  undefined4 *local_20 [3];\n  undefined4 uStack_14;\n  \n  __n = param_5;\n  uStack_14 = 0x10fb29;\n  if (param_3 != 5) {\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }\n  __dest = (void *)FUN_002465f0(param_5);\n  memcpy(__dest,param_6,__n);\n  iVar5 = param_2 + 0x270;\n  iVar2 = *(int *)(param_2 + 0x274);\n  iVar3 = iVar5;\n  if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }\n  local_20[0] = &param_4;\n  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);\n  iVar4 = local_34;\nLAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;\n  *(void **)(iVar4 + 0x18) = __dest;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "undefined1 local_30 [15];" (type_identifier "undefined1") (array_declarator "local_30 [15]" (identifier "local_30") ([ "[") (number_literal "15") (] "]")) (; ";")) (declaration "undefined1 local_21;" (type_identifier "undefined1") (identifier "local_21") (; ";")) (declaration "undefined4 *local_20 [3];" (type_identifier "undefined4") (pointer_declarator "*local_20 [3]" (* "*") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]"))) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "__n = param_5;" (assignment_expression "__n = param_5" (identifier "__n") (= "=") (identifier "param_5")) (; ";")) (expression_statement "uStack_14 = 0x10fb29;" (assignment_expression "uStack_14 = 0x10fb29" (identifier "uStack_14") (= "=") (number_literal "0x10fb29")) (; ";")) (if_statement "if (param_3 != 5) {\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }" (if "if") (parenthesized_expression "(param_3 != 5)" (( "(") (binary_expression "param_3 != 5" (identifier "param_3") (!= "!=") (number_literal "5")) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);" (call_expression "FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1)" (identifier "FUN_000da200") (argument_list "("../../gold/layout.cc",0x973,"add_gnu_property",param_1)" (( "(") (string_literal ""../../gold/layout.cc"" (" """) (string_content "../../gold/layout.cc") (" """)) (, ",") (number_literal "0x973") (, ",") (string_literal ""add_gnu_property"" (" """) (string_content "add_gnu_property") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "__dest = (void *)FUN_002465f0(param_5);" (assignment_expression "__dest = (void *)FUN_002465f0(param_5)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_002465f0(param_5)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002465f0(param_5)" (identifier "FUN_002465f0") (argument_list "(param_5)" (( "(") (identifier "param_5") () ")"))))) (; ";")) (expression_statement "memcpy(__dest,param_6,__n);" (call_expression "memcpy(__dest,param_6,__n)" (identifier "memcpy") (argument_list "(__dest,param_6,__n)" (( "(") (identifier "__dest") (, ",") (identifier "param_6") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "iVar5 = param_2 + 0x270;" (assignment_expression "iVar5 = param_2 + 0x270" (identifier "iVar5") (= "=") (binary_expression "param_2 + 0x270" (identifier "param_2") (+ "+") (number_literal "0x270"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x274);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x274)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x274)" (* "*") (cast_expression "(int *)(param_2 + 0x274)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x274)" (( "(") (binary_expression "param_2 + 0x274" (identifier "param_2") (+ "+") (number_literal "0x274")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" (identifier "iVar3") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (*(int *)(param_2 + 0x274) != 0) {\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x274) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x274) != 0" (pointer_expression "*(int *)(param_2 + 0x274)" (* "*") (cast_expression "(int *)(param_2 + 0x274)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x274)" (( "(") (binary_expression "param_2 + 0x274" (identifier "param_2") (+ "+") (number_literal "0x274")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0010fb95:\n    bVar6 = iVar5 != iVar4;\n    iVar5 = iVar4;\n    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;\n  }" ({ "{") (do_statement "do {\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    } while (*piVar1 != 0);" (do "do") (compound_statement "{\n      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }\n      piVar1 = (int *)(iVar4 + 0xc);\n      iVar2 = *piVar1;\n      iVar4 = iVar3;\n    }" ({ "{") (while_statement "while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }" (while "while") (parenthesized_expression "(iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10))" (( "(") (comma_expression "iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)" (assignment_expression "iVar4 = iVar2" (identifier "iVar4") (= "=") (identifier "iVar2")) (, ",") (binary_expression "param_4 <= *(uint *)(iVar4 + 0x10)" (identifier "param_4") (<= "<=") (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))))) () ")")) (compound_statement "{\n        iVar2 = *(int *)(iVar4 + 8);\n        iVar3 = iVar4;\n        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" (identifier "iVar3") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 8) == 0" (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010fb95;" (goto "goto") (statement_identifier "LAB_0010fb95") (; ";"))) (} "}"))) (expression_statement "piVar1 = (int *)(iVar4 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar4 + 0xc)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_0010fb95:\n    bVar6 = iVar5 != iVar4;" (statement_identifier "LAB_0010fb95") (: ":") (expression_statement "bVar6 = iVar5 != iVar4;" (assignment_expression "bVar6 = iVar5 != iVar4" (identifier "bVar6") (= "=") (binary_expression "iVar5 != iVar4" (identifier "iVar5") (!= "!=") (identifier "iVar4"))) (; ";"))) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;" (if "if") (parenthesized_expression "((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4))" (( "(") (binary_expression "(bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)" (parenthesized_expression "(bVar6)" (( "(") (identifier "bVar6") () ")")) (&& "&&") (parenthesized_expression "(*(uint *)(iVar4 + 0x10) <= param_4)" (( "(") (binary_expression "*(uint *)(iVar4 + 0x10) <= param_4" (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (<= "<=") (identifier "param_4")) () ")"))) () ")")) (goto_statement "goto LAB_0010fbd6;" (goto "goto") (statement_identifier "LAB_0010fbd6") (; ";"))) (} "}"))) (expression_statement "local_20[0] = &param_4;" (assignment_expression "local_20[0] = &param_4" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "&param_4" (& "&") (identifier "param_4"))) (; ";")) (expression_statement "FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);" (call_expression "FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21)" (identifier "FUN_00119a90") (argument_list "(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21)" (( "(") (identifier "local_30") (, ",") (binary_expression "param_2 + 0x26c" (identifier "param_2") (+ "+") (number_literal "0x26c")) (, ",") (identifier "iVar5") (, ",") (pointer_expression "&DAT_002fe8d4" (& "&") (identifier "DAT_002fe8d4")) (, ",") (identifier "local_20") (, ",") (pointer_expression "&local_21" (& "&") (identifier "local_21")) () ")"))) (; ";")) (expression_statement "iVar4 = local_34;" (assignment_expression "iVar4 = local_34" (identifier "iVar4") (= "=") (identifier "local_34")) (; ";")) (labeled_statement "LAB_0010fbd6:\n  *(size_t *)(iVar4 + 0x14) = __n;" (statement_identifier "LAB_0010fbd6") (: ":") (expression_statement "*(size_t *)(iVar4 + 0x14) = __n;" (assignment_expression "*(size_t *)(iVar4 + 0x14) = __n" (pointer_expression "*(size_t *)(iVar4 + 0x14)" (* "*") (cast_expression "(size_t *)(iVar4 + 0x14)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "__n")) (; ";"))) (expression_statement "*(void **)(iVar4 + 0x18) = __dest;" (assignment_expression "*(void **)(iVar4 + 0x18) = __dest" (pointer_expression "*(void **)(iVar4 + 0x18)" (* "*") (cast_expression "(void **)(iVar4 + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "__dest")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void add_gnu_property(Layout * this, uint note_type, uint pr_type,
   size_t pr_datasz, uchar * pr_data) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 note_type,type_2 pr_type,size_t pr_datasz,type_3 *pr_data)

{
}


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

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

void __regparm1
MASKED(undefined4 param_1,int param_2,int param_3,uint param_4,size_t param_5,void *param_6)

{
  int *piVar1;
  size_t __n;
  int iVar2;
  void *__dest;
  int iVar3;
  int iVar4;
  int iVar5;
  bool bVar6;
  int local_34;
  undefined1 local_30 [15];
  undefined1 local_21;
  undefined4 *local_20 [3];
  undefined4 uStack_14;
  
  __n = param_5;
  uStack_14 = 0x10fb29;
  if (param_3 != 5) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/layout.cc",0x973,"add_gnu_property",param_1);
  }
  __dest = (void *)FUN_002465f0(param_5);
  memcpy(__dest,param_6,__n);
  iVar5 = param_2 + 0x270;
  iVar2 = *(int *)(param_2 + 0x274);
  iVar3 = iVar5;
  if (*(int *)(param_2 + 0x274) != 0) {
    do {
      while (iVar4 = iVar2, param_4 <= *(uint *)(iVar4 + 0x10)) {
        iVar2 = *(int *)(iVar4 + 8);
        iVar3 = iVar4;
        if (*(int *)(iVar4 + 8) == 0) goto LAB_0010fb95;
      }
      piVar1 = (int *)(iVar4 + 0xc);
      iVar2 = *piVar1;
      iVar4 = iVar3;
    } while (*piVar1 != 0);
LAB_0010fb95:
    bVar6 = iVar5 != iVar4;
    iVar5 = iVar4;
    if ((bVar6) && (*(uint *)(iVar4 + 0x10) <= param_4)) goto LAB_0010fbd6;
  }
  local_20[0] = &param_4;
  FUN_00119a90(local_30,param_2 + 0x26c,iVar5,&DAT_002fe8d4,local_20,&local_21);
  iVar4 = local_34;
LAB_0010fbd6:
  *(size_t *)(iVar4 + 0x14) = __n;
  *(void **)(iVar4 + 0x18) = __dest;
  return;
}

