
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_final_data_size(Eh_frame_hdr * this) */

void __thiscall gold::Eh_frame_hdr::set_final_data_size(Eh_frame_hdr *this)

{
}



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

void FUN_0021a910(int param_1)

{
  byte bVar1;
  undefined1 uVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  uint uVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  int iVar8;
  int iVar9;
  
  iVar9 = 8;
  if ((*(char *)(param_1 + 0x40) == '\0') &&
     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {
    iVar9 = uVar5 * 8 + 0xc;
    if (0x1fffffff < uVar5) {
                    /* WARNING: Subroutine does not return */
      FUN_0028dc10("vector::reserve");
    }
    puVar7 = *(undefined4 **)(param_1 + 0x34);
    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {
      puVar3 = *(undefined4 **)(param_1 + 0x38);
      iVar8 = (int)puVar3 - (int)puVar7;
      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);
      puVar4 = puVar6;
      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {
        uVar2 = *(undefined1 *)(puVar7 + 1);
        *puVar4 = *puVar7;
        *(undefined1 *)(puVar4 + 1) = uVar2;
        puVar4 = puVar4 + 2;
      }
      if (*(int *)(param_1 + 0x34) != 0) {
        FUN_00248220(*(int *)(param_1 + 0x34));
      }
      *(undefined4 **)(param_1 + 0x34) = puVar6;
      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;
      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;
    }
  }
  bVar1 = *(byte *)(param_1 + 0x1c);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(int *)(param_1 + 0xc) = iVar9;
    *(undefined4 *)(param_1 + 0x10) = 0;
    *(byte *)(param_1 + 0x1c) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);
}


PUSH EBP
XOR EBP,EBP
PUSH EDI
MOV EDI,0x8
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x1f96e0
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x40]
CMP byte ptr [ESI + 0x40],0x0
JZ 0x0021a960
MOVZX EAX,byte ptr [ESI + 0x1c]
TEST AL,0x2
JNZ 0x0021aa3f
TEST AL,0x8
JNZ 0x0021aa3f
OR EAX,0x2
MOV dword ptr [ESI + 0xc],EDI
MOV dword ptr [ESI + 0x10],EBP
MOV byte ptr [ESI + 0x1c],AL
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [ESI + 0x30]
CALL 0x0021a890
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0021a933
LEA EDI,[EAX*0x8 + 0x8]
MOV dword ptr [ESP + 0x14],EDI
LEA EDX,[EDI + 0x4]
CMP EAX,0x1fffffff
JA 0x0021aa58
MOV EDI,dword ptr [ESI + 0x34]
MOV ECX,dword ptr [ESI + 0x3c]
XOR EBP,EBP
MOV dword ptr [ESP + 0x8],EDI
SUB ECX,dword ptr [ESP + 0x8]
MOV EDI,EDX
MOV EDX,ECX
SAR EDX,0x3
CMP EAX,EDX
JBE 0x0021a933
MOV EDX,dword ptr [ESI + 0x38]
SUB ESP,0xc
MOV dword ptr [ESP + 0x1c],EDX
SUB EDX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x28],EDX
MOV EDX,dword ptr [ESP + 0x20]
SUB EDX,0x8
MOV dword ptr [ESP + 0x20],EDX
PUSH EDX
CALL 0x00246670
MOV ECX,EAX
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,ECX
CMP EAX,dword ptr [ESP + 0x10]
JZ 0x0021aa10
MOV dword ptr [ESP + 0x8],EDI
MOV dword ptr [ESP + 0xc],EBP
MOV EBP,ESI
MOV ESI,dword ptr [ESP + 0x10]
LEA ESI,[ESI]
MOVZX ECX,byte ptr [EAX + 0x4]
MOV EDI,dword ptr [EAX]
ADD EAX,0x8
ADD EDX,0x8
MOV dword ptr [EDX + -0x8],EDI
MOV byte ptr [EDX + -0x4],CL
CMP ESI,EAX
JNZ 0x0021a9f0
MOV ESI,EBP
MOV EDI,dword ptr [ESP + 0x8]
MOV EBP,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESI + 0x34]
TEST EAX,EAX
JZ 0x0021aa23
SUB ESP,0xc
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI + 0x34],ECX
ADD EAX,ECX
ADD ECX,dword ptr [ESP + 0x14]
MOV dword ptr [ESI + 0x38],EAX
MOV dword ptr [ESI + 0x3c],ECX
JMP 0x0021a933
PUSH EAX
LEA EAX,[EBX + 0xffefdbd8]
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0x218
PUSH EAX
CALL 0x000da200
SUB ESP,0xc
LEA EAX,[EBX + 0xffee519a]
PUSH EAX
CALL 0x0028dc10
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0021a910(int param_1)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}\n\n" comment (function_definition "void FUN_0021a910(int param_1)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}" primitive_type (function_declarator "FUN_0021a910(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "iVar9 = 8;" (assignment_expression "iVar9 = 8" identifier = number_literal) ;) (if_statement "if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }" if (parenthesized_expression "((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0))" ( (binary_expression "(*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)" (parenthesized_expression "(*(char *)(param_1 + 0x40) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x40) == '\0'" (pointer_expression "*(char *)(param_1 + 0x40)" * (cast_expression "(char *)(param_1 + 0x40)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)" ( (comma_expression "uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0" (assignment_expression "uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30))" identifier = (call_expression "FUN_0021a890(*(undefined4 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) , (binary_expression "uVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }" { (expression_statement "iVar9 = uVar5 * 8 + 0xc;" (assignment_expression "iVar9 = uVar5 * 8 + 0xc" identifier = (binary_expression "uVar5 * 8 + 0xc" (binary_expression "uVar5 * 8" identifier * number_literal) + number_literal)) ;) (if_statement "if (0x1fffffff < uVar5) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0028dc10("vector::reserve");\n    }" if (parenthesized_expression "(0x1fffffff < uVar5)" ( (binary_expression "0x1fffffff < uVar5" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0028dc10("vector::reserve");\n    }" { comment (expression_statement "FUN_0028dc10("vector::reserve");" (call_expression "FUN_0028dc10("vector::reserve")" identifier (argument_list "("vector::reserve")" ( (string_literal ""vector::reserve"" " string_content ") ))) ;) })) (expression_statement "puVar7 = *(undefined4 **)(param_1 + 0x34);" (assignment_expression "puVar7 = *(undefined4 **)(param_1 + 0x34)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }" if (parenthesized_expression "((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5)" ( (binary_expression "(uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5" (call_expression "(uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3)" ( (binary_expression "*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3" (binary_expression "*(int *)(param_1 + 0x3c) - (int)puVar7" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) ))) < identifier) )) (compound_statement "{\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }" { (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x38);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x38)" * (cast_expression "(undefined4 **)(param_1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = (int)puVar3 - (int)puVar7;" (assignment_expression "iVar8 = (int)puVar3 - (int)puVar7" identifier = (binary_expression "(int)puVar3 - (int)puVar7" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);" (assignment_expression "puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8)" identifier = (cast_expression "(undefined4 *)FUN_00246670(uVar5 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(uVar5 * 8)" identifier (argument_list "(uVar5 * 8)" ( (binary_expression "uVar5 * 8" identifier * number_literal) ))))) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) (for_statement "for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }" for ( ; (binary_expression "puVar7 != puVar3" identifier != identifier) ; (assignment_expression "puVar7 = puVar7 + 2" identifier = (binary_expression "puVar7 + 2" identifier + number_literal)) ) (compound_statement "{\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }" { (expression_statement "uVar2 = *(undefined1 *)(puVar7 + 1);" (assignment_expression "uVar2 = *(undefined1 *)(puVar7 + 1)" identifier = (pointer_expression "*(undefined1 *)(puVar7 + 1)" * (cast_expression "(undefined1 *)(puVar7 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))))) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*(undefined1 *)(puVar4 + 1) = uVar2;" (assignment_expression "*(undefined1 *)(puVar4 + 1) = uVar2" (pointer_expression "*(undefined1 *)(puVar4 + 1)" * (cast_expression "(undefined1 *)(puVar4 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) })) (if_statement "if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) != 0)" ( (binary_expression "*(int *)(param_1 + 0x34) != 0" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }" { (expression_statement "FUN_00248220(*(int *)(param_1 + 0x34));" (call_expression "FUN_00248220(*(int *)(param_1 + 0x34))" identifier (argument_list "(*(int *)(param_1 + 0x34))" ( (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 **)(param_1 + 0x34) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 0x34) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;" (assignment_expression "*(int *)(param_1 + 0x38) = iVar8 + (int)puVar6" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = (binary_expression "iVar8 + (int)puVar6" identifier + (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "puVar6 + uVar5 * 2" identifier + (binary_expression "uVar5 * 2" identifier * number_literal))) ;) })) })) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar9;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar9" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);" (call_expression "FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void set_final_data_size(Eh_frame_hdr * this) */\n\nvoid __thiscall gold::Eh_frame_hdr::set_final_data_size(Eh_frame_hdr *this)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall gold::Eh_frame_hdr::set_final_data_size(Eh_frame_hdr *this)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Eh_frame_hdr::" identifier : : identifier : :) (function_declarator "set_final_data_size(Eh_frame_hdr *this)" identifier (parameter_list "(Eh_frame_hdr *this)" ( (parameter_declaration "Eh_frame_hdr *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0021a910(int param_1)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}\n\n" (function_definition "void FUN_0021a910(int param_1)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}" primitive_type (function_declarator "FUN_0021a910(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "iVar9 = 8;" (assignment_expression "iVar9 = 8" identifier = number_literal) ;) (if_statement "if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }" if (parenthesized_expression "((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0))" ( (binary_expression "(*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)" (parenthesized_expression "(*(char *)(param_1 + 0x40) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x40) == '\0'" (pointer_expression "*(char *)(param_1 + 0x40)" * (cast_expression "(char *)(param_1 + 0x40)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)" ( (comma_expression "uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0" (assignment_expression "uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30))" identifier = (call_expression "FUN_0021a890(*(undefined4 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) , (binary_expression "uVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }" { (expression_statement "iVar9 = uVar5 * 8 + 0xc;" (assignment_expression "iVar9 = uVar5 * 8 + 0xc" identifier = (binary_expression "uVar5 * 8 + 0xc" (binary_expression "uVar5 * 8" identifier * number_literal) + number_literal)) ;) (if_statement "if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }" if (parenthesized_expression "(0x1fffffff < uVar5)" ( (binary_expression "0x1fffffff < uVar5" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_0028dc10("vector::reserve");\n    }" { (expression_statement "FUN_0028dc10("vector::reserve");" (call_expression "FUN_0028dc10("vector::reserve")" identifier (argument_list "("vector::reserve")" ( (string_literal ""vector::reserve"" " string_content ") ))) ;) })) (expression_statement "puVar7 = *(undefined4 **)(param_1 + 0x34);" (assignment_expression "puVar7 = *(undefined4 **)(param_1 + 0x34)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }" if (parenthesized_expression "((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5)" ( (binary_expression "(uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5" (call_expression "(uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3)" ( (binary_expression "*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3" (binary_expression "*(int *)(param_1 + 0x3c) - (int)puVar7" (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) ))) < identifier) )) (compound_statement "{\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }" { (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x38);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x38)" * (cast_expression "(undefined4 **)(param_1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = (int)puVar3 - (int)puVar7;" (assignment_expression "iVar8 = (int)puVar3 - (int)puVar7" identifier = (binary_expression "(int)puVar3 - (int)puVar7" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);" (assignment_expression "puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8)" identifier = (cast_expression "(undefined4 *)FUN_00246670(uVar5 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00246670(uVar5 * 8)" identifier (argument_list "(uVar5 * 8)" ( (binary_expression "uVar5 * 8" identifier * number_literal) ))))) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) (for_statement "for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }" for ( ; (binary_expression "puVar7 != puVar3" identifier != identifier) ; (assignment_expression "puVar7 = puVar7 + 2" identifier = (binary_expression "puVar7 + 2" identifier + number_literal)) ) (compound_statement "{\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }" { (expression_statement "uVar2 = *(undefined1 *)(puVar7 + 1);" (assignment_expression "uVar2 = *(undefined1 *)(puVar7 + 1)" identifier = (pointer_expression "*(undefined1 *)(puVar7 + 1)" * (cast_expression "(undefined1 *)(puVar7 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))))) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "*(undefined1 *)(puVar4 + 1) = uVar2;" (assignment_expression "*(undefined1 *)(puVar4 + 1) = uVar2" (pointer_expression "*(undefined1 *)(puVar4 + 1)" * (cast_expression "(undefined1 *)(puVar4 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) })) (if_statement "if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x34) != 0)" ( (binary_expression "*(int *)(param_1 + 0x34) != 0" (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }" { (expression_statement "FUN_00248220(*(int *)(param_1 + 0x34));" (call_expression "FUN_00248220(*(int *)(param_1 + 0x34))" identifier (argument_list "(*(int *)(param_1 + 0x34))" ( (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 **)(param_1 + 0x34) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 0x34) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" * (cast_expression "(undefined4 **)(param_1 + 0x34)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;" (assignment_expression "*(int *)(param_1 + 0x38) = iVar8 + (int)puVar6" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = (binary_expression "iVar8 + (int)puVar6" identifier + (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "puVar6 + uVar5 * 2" identifier + (binary_expression "uVar5 * 2" identifier * number_literal))) ;) })) })) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar9;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar9" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);" (call_expression "FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) ))) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (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 (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (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 IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (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 *)) ) (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)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0021a910(int param_1)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}" (primitive_type "void") (function_declarator "FUN_0021a910(int param_1)" (identifier "FUN_0021a910") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined1 uVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  \n  iVar9 = 8;\n  if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "iVar9 = 8;" (assignment_expression "iVar9 = 8" (identifier "iVar9") (= "=") (number_literal "8")) (; ";")) (if_statement "if ((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }" (if "if") (parenthesized_expression "((*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0))" (( "(") (binary_expression "(*(char *)(param_1 + 0x40) == '\0') &&\n     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)" (parenthesized_expression "(*(char *)(param_1 + 0x40) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x40) == '\0'" (pointer_expression "*(char *)(param_1 + 0x40)" (* "*") (cast_expression "(char *)(param_1 + 0x40)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)" (( "(") (comma_expression "uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0" (assignment_expression "uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30))" (identifier "uVar5") (= "=") (call_expression "FUN_0021a890(*(undefined4 *)(param_1 + 0x30))" (identifier "FUN_0021a890") (argument_list "(*(undefined4 *)(param_1 + 0x30))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) () ")")))) (, ",") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar9 = uVar5 * 8 + 0xc;\n    if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }\n    puVar7 = *(undefined4 **)(param_1 + 0x34);\n    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }\n  }" ({ "{") (expression_statement "iVar9 = uVar5 * 8 + 0xc;" (assignment_expression "iVar9 = uVar5 * 8 + 0xc" (identifier "iVar9") (= "=") (binary_expression "uVar5 * 8 + 0xc" (binary_expression "uVar5 * 8" (identifier "uVar5") (* "*") (number_literal "8")) (+ "+") (number_literal "0xc"))) (; ";")) (if_statement "if (0x1fffffff < uVar5) {\n                    \n      FUN_0028dc10("vector::reserve");\n    }" (if "if") (parenthesized_expression "(0x1fffffff < uVar5)" (( "(") (binary_expression "0x1fffffff < uVar5" (number_literal "0x1fffffff") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n                    \n      FUN_0028dc10("vector::reserve");\n    }" ({ "{") (expression_statement "FUN_0028dc10("vector::reserve");" (call_expression "FUN_0028dc10("vector::reserve")" (identifier "FUN_0028dc10") (argument_list "("vector::reserve")" (( "(") (string_literal ""vector::reserve"" (" """) (string_content "vector::reserve") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar7 = *(undefined4 **)(param_1 + 0x34);" (assignment_expression "puVar7 = *(undefined4 **)(param_1 + 0x34)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }" (if "if") (parenthesized_expression "((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5)" (( "(") (binary_expression "(uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5" (call_expression "(uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3)" (( "(") (binary_expression "*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3" (binary_expression "*(int *)(param_1 + 0x3c) - (int)puVar7" (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (- "-") (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7"))) (>> ">>") (number_literal "3")) () ")"))) (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n      puVar3 = *(undefined4 **)(param_1 + 0x38);\n      iVar8 = (int)puVar3 - (int)puVar7;\n      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);\n      puVar4 = puVar6;\n      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }\n      if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }\n      *(undefined4 **)(param_1 + 0x34) = puVar6;\n      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;\n      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;\n    }" ({ "{") (expression_statement "puVar3 = *(undefined4 **)(param_1 + 0x38);" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x38)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "iVar8 = (int)puVar3 - (int)puVar7;" (assignment_expression "iVar8 = (int)puVar3 - (int)puVar7" (identifier "iVar8") (= "=") (binary_expression "(int)puVar3 - (int)puVar7" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (- "-") (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")))) (; ";")) (expression_statement "puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);" (assignment_expression "puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)FUN_00246670(uVar5 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00246670(uVar5 * 8)" (identifier "FUN_00246670") (argument_list "(uVar5 * 8)" (( "(") (binary_expression "uVar5 * 8" (identifier "uVar5") (* "*") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" (identifier "puVar4") (= "=") (identifier "puVar6")) (; ";")) (for_statement "for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }" (for "for") (( "(") (; ";") (binary_expression "puVar7 != puVar3" (identifier "puVar7") (!= "!=") (identifier "puVar3")) (; ";") (assignment_expression "puVar7 = puVar7 + 2" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 2" (identifier "puVar7") (+ "+") (number_literal "2"))) () ")") (compound_statement "{\n        uVar2 = *(undefined1 *)(puVar7 + 1);\n        *puVar4 = *puVar7;\n        *(undefined1 *)(puVar4 + 1) = uVar2;\n        puVar4 = puVar4 + 2;\n      }" ({ "{") (expression_statement "uVar2 = *(undefined1 *)(puVar7 + 1);" (assignment_expression "uVar2 = *(undefined1 *)(puVar7 + 1)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)(puVar7 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar7 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 1)" (( "(") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "*(undefined1 *)(puVar4 + 1) = uVar2;" (assignment_expression "*(undefined1 *)(puVar4 + 1) = uVar2" (pointer_expression "*(undefined1 *)(puVar4 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar4 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 1)" (( "(") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x34) != 0) {\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x34) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x34) != 0" (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00248220(*(int *)(param_1 + 0x34));\n      }" ({ "{") (expression_statement "FUN_00248220(*(int *)(param_1 + 0x34));" (call_expression "FUN_00248220(*(int *)(param_1 + 0x34))" (identifier "FUN_00248220") (argument_list "(*(int *)(param_1 + 0x34))" (( "(") (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 **)(param_1 + 0x34) = puVar6;" (assignment_expression "*(undefined4 **)(param_1 + 0x34) = puVar6" (pointer_expression "*(undefined4 **)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "*(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;" (assignment_expression "*(int *)(param_1 + 0x38) = iVar8 + (int)puVar6" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (binary_expression "iVar8 + (int)puVar6" (identifier "iVar8") (+ "+") (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")))) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (binary_expression "puVar6 + uVar5 * 2" (identifier "puVar6") (+ "+") (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" (if "if") (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" (( "(") (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 & 8) == 0)" (( "(") (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar9;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc) = iVar9;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar9" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "bVar1 | 2" (identifier "bVar1") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);" (call_expression "FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1)" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0x218,"set_data_size",bVar1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x218") (, ",") (string_literal ""set_data_size"" (" """) (string_content "set_data_size") (" """)) (, ",") (identifier "bVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_final_data_size(Eh_frame_hdr * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
}


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

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

void MASKED(int param_1)

{
  byte bVar1;
  undefined1 uVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  uint uVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  int iVar8;
  int iVar9;
  
  iVar9 = 8;
  if ((*(char *)(param_1 + 0x40) == '\0') &&
     (uVar5 = FUN_0021a890(*(undefined4 *)(param_1 + 0x30)), uVar5 != 0)) {
    iVar9 = uVar5 * 8 + 0xc;
    if (0x1fffffff < uVar5) {
                    /* WARNING: Subroutine does not return */
      FUN_0028dc10("vector::reserve");
    }
    puVar7 = *(undefined4 **)(param_1 + 0x34);
    if ((uint)(*(int *)(param_1 + 0x3c) - (int)puVar7 >> 3) < uVar5) {
      puVar3 = *(undefined4 **)(param_1 + 0x38);
      iVar8 = (int)puVar3 - (int)puVar7;
      puVar6 = (undefined4 *)FUN_00246670(uVar5 * 8);
      puVar4 = puVar6;
      for (; puVar7 != puVar3; puVar7 = puVar7 + 2) {
        uVar2 = *(undefined1 *)(puVar7 + 1);
        *puVar4 = *puVar7;
        *(undefined1 *)(puVar4 + 1) = uVar2;
        puVar4 = puVar4 + 2;
      }
      if (*(int *)(param_1 + 0x34) != 0) {
        FUN_00248220(*(int *)(param_1 + 0x34));
      }
      *(undefined4 **)(param_1 + 0x34) = puVar6;
      *(int *)(param_1 + 0x38) = iVar8 + (int)puVar6;
      *(undefined4 **)(param_1 + 0x3c) = puVar6 + uVar5 * 2;
    }
  }
  bVar1 = *(byte *)(param_1 + 0x1c);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(int *)(param_1 + 0xc) = iVar9;
    *(undefined4 *)(param_1 + 0x10) = 0;
    *(byte *)(param_1 + 0x1c) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/output.h",0x218,"set_data_size",bVar1);
}

