
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_setup(AArch64_relobj<32,_false> * this) */

void __thiscall
anon_unknown.dwarf_109b185::AArch64_relobj<32,_false>::do_setup(AArch64_relobj<32,_false> *this)

{
}



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

void FUN_00209750(int param_1)

{
  uint uVar1;
  void *__src;
  undefined4 *puVar2;
  uint uVar3;
  void *__dest;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  int iVar8;
  undefined4 *puVar9;
  
  FUN_002945e0(param_1);
  puVar2 = *(undefined4 **)(param_1 + 0x140);
  uVar1 = *(uint *)(param_1 + 0x28);
  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);
  uVar5 = iVar8 >> 2;
  if (uVar1 <= uVar5) {
    if (uVar5 <= uVar1) {
      return;
    }
    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);
    if (puVar2 == puVar9) {
      return;
    }
    *(undefined4 **)(param_1 + 0x140) = puVar9;
    return;
  }
  uVar4 = uVar1 - uVar5;
  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {
    puVar9 = puVar2 + uVar4;
    do {
      *puVar2 = 0;
      puVar2 = puVar2 + 1;
    } while (puVar2 != puVar9);
    *(undefined4 **)(param_1 + 0x140) = puVar2;
    return;
  }
  if (0x3fffffff - uVar5 < uVar4) {
                    /* WARNING: Subroutine does not return */
    FUN_003f3a70("vector::_M_default_append");
  }
  uVar3 = uVar4;
  if (uVar4 <= uVar5) {
    uVar3 = uVar5;
  }
  uVar6 = uVar5 + uVar3;
  if (CARRY4(uVar5,uVar3)) {
    iVar7 = -4;
  }
  else {
    if (0x3fffffff < uVar6) {
      uVar6 = 0x3fffffff;
    }
    iVar7 = uVar6 << 2;
  }
  __dest = (void *)FUN_003ac4d0(iVar7);
  puVar9 = (undefined4 *)(iVar8 + (int)__dest);
  puVar2 = puVar9 + uVar4;
  do {
    *puVar9 = 0;
    puVar9 = puVar9 + 1;
  } while (puVar2 != puVar9);
  __src = *(void **)(param_1 + 0x13c);
  if (*(void **)(param_1 + 0x140) == __src) {
    if (__src == (void *)0x0) goto LAB_002098a9;
  }
  else {
    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);
  }
  FUN_003ae080(__src);
LAB_002098a9:
  *(void **)(param_1 + 0x13c) = __dest;
  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);
  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x3e08a7
SUB ESP,0x28
MOV ESI,dword ptr [ESP + 0x3c]
PUSH ESI
CALL 0x002945e0
MOV EAX,dword ptr [ESI + 0x140]
MOV EDX,dword ptr [ESI + 0x28]
ADD ESP,0x10
MOV ECX,dword ptr [ESI + 0x13c]
MOV EDI,EAX
SUB EDI,ECX
MOV EBP,EDI
SAR EBP,0x2
CMP EDX,EBP
JA 0x002097a8
JNC 0x0020979a
LEA EDX,[ECX + EDX*0x4]
CMP EAX,EDX
JZ 0x0020979a
MOV dword ptr [ESI + 0x140],EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,0x3fffffff
SUB ECX,EBP
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,EDX
SUB ECX,EBP
MOV dword ptr [ESP + 0x8],ECX
MOV ECX,dword ptr [ESI + 0x144]
SUB ECX,EAX
SAR ECX,0x2
CMP dword ptr [ESP + 0x8],ECX
JA 0x002097f8
MOV ECX,dword ptr [ESP + 0x8]
LEA EDX,[EAX + ECX*0x4]
LEA ESI,[ESI]
NOP
MOV dword ptr [EAX],0x0
ADD EAX,0x4
CMP EAX,EDX
JNZ 0x002097d8
MOV dword ptr [ESI + 0x140],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0xc]
CMP dword ptr [ESP + 0x8],ECX
JA 0x002098d8
MOV EAX,dword ptr [ESP + 0x8]
CMP EBP,EAX
CMOVNC EAX,EBP
ADD EBP,EAX
JC 0x002098ce
CMP EBP,0x3fffffff
MOV EAX,0x3fffffff
CMOVA EBP,EAX
SHL EBP,0x2
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
PUSH EBP
CALL 0x003ac4d0
ADD EDI,EAX
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EDI + EAX*0x4]
LEA ESI,[ESI]
NOP
MOV dword ptr [EDI],0x0
ADD EDI,0x4
CMP EAX,EDI
JNZ 0x00209850
MOV EAX,dword ptr [ESI + 0x140]
MOV EDI,dword ptr [ESI + 0x13c]
CMP EAX,EDI
JZ 0x002098c8
MOV dword ptr [ESP + 0xc],EDX
SUB EAX,EDI
SUB ESP,0x4
PUSH EAX
PUSH EDI
PUSH ECX
MOV dword ptr [ESP + 0x18],ECX
CALL 0x00039a50
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0xc
MOV dword ptr [ESP + 0x14],EDX
PUSH EDI
CALL 0x003ae080
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x8]
LEA EAX,[ECX + EDX*0x4]
ADD EBP,ECX
MOV dword ptr [ESI + 0x13c],ECX
MOV dword ptr [ESI + 0x140],EAX
MOV dword ptr [ESI + 0x144],EBP
JMP 0x0020979a
TEST EDI,EDI
JZ 0x002098a9
JMP 0x0020988d
MOV EBP,0xfffffffc
JMP 0x00209828
SUB ESP,0xc
LEA EAX,[EBX + 0xffe69c18]
PUSH EAX
CALL 0x003f3a70
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00209750(int param_1)\n\n{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}\n\n" comment (function_definition "void FUN_00209750(int param_1)\n\n{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}" primitive_type (function_declarator "FUN_00209750(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "FUN_002945e0(param_1);" (call_expression "FUN_002945e0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x140);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x140)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" identifier = (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);" (assignment_expression "iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c)" identifier = (binary_expression "(int)puVar2 - *(int *)(param_1 + 0x13c)" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))))) ;) (expression_statement "uVar5 = iVar8 >> 2;" (assignment_expression "uVar5 = iVar8 >> 2" identifier = (binary_expression "iVar8 >> 2" identifier >> number_literal)) ;) (if_statement "if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }" if (parenthesized_expression "(uVar1 <= uVar5)" ( (binary_expression "uVar1 <= uVar5" identifier <= identifier) )) (compound_statement "{\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }" { (if_statement "if (uVar5 <= uVar1) {\n      return;\n    }" if (parenthesized_expression "(uVar5 <= uVar1)" ( (binary_expression "uVar5 <= uVar1" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);" (assignment_expression "puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x13c) + uVar1 * 4)" ( (binary_expression "*(int *)(param_1 + 0x13c) + uVar1 * 4" (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) (if_statement "if (puVar2 == puVar9) {\n      return;\n    }" if (parenthesized_expression "(puVar2 == puVar9)" ( (binary_expression "puVar2 == puVar9" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar9;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar9" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "uVar4 = uVar1 - uVar5;" (assignment_expression "uVar4 = uVar1 - uVar5" identifier = (binary_expression "uVar1 - uVar5" identifier - identifier)) ;) (if_statement "if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }" if (parenthesized_expression "(uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2))" ( (binary_expression "uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" identifier <= (call_expression "(uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" ( (binary_expression "*(int *)(param_1 + 0x144) - (int)puVar2 >> 2" (binary_expression "*(int *)(param_1 + 0x144) - (int)puVar2" (pointer_expression "*(int *)(param_1 + 0x144)" * (cast_expression "(int *)(param_1 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x144)" ( (binary_expression "param_1 + 0x144" identifier + number_literal) )))) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }" { (expression_statement "puVar9 = puVar2 + uVar4;" (assignment_expression "puVar9 = puVar2 + uVar4" identifier = (binary_expression "puVar2 + uVar4" identifier + identifier)) ;) (do_statement "do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);" do (compound_statement "{\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != puVar9)" ( (binary_expression "puVar2 != puVar9" identifier != identifier) )) ;) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (0x3fffffff - uVar5 < uVar4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_default_append");\n  }" if (parenthesized_expression "(0x3fffffff - uVar5 < uVar4)" ( (binary_expression "0x3fffffff - uVar5 < uVar4" (binary_expression "0x3fffffff - uVar5" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_003f3a70("vector::_M_default_append");\n  }" { comment (expression_statement "FUN_003f3a70("vector::_M_default_append");" (call_expression "FUN_003f3a70("vector::_M_default_append")" identifier (argument_list "("vector::_M_default_append")" ( (string_literal ""vector::_M_default_append"" " string_content ") ))) ;) })) (expression_statement "uVar3 = uVar4;" (assignment_expression "uVar3 = uVar4" identifier = identifier) ;) (if_statement "if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }" if (parenthesized_expression "(uVar4 <= uVar5)" ( (binary_expression "uVar4 <= uVar5" identifier <= identifier) )) (compound_statement "{\n    uVar3 = uVar5;\n  }" { (expression_statement "uVar3 = uVar5;" (assignment_expression "uVar3 = uVar5" identifier = identifier) ;) })) (expression_statement "uVar6 = uVar5 + uVar3;" (assignment_expression "uVar6 = uVar5 + uVar3" identifier = (binary_expression "uVar5 + uVar3" identifier + identifier)) ;) (if_statement "if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" if (parenthesized_expression "(CARRY4(uVar5,uVar3))" ( (call_expression "CARRY4(uVar5,uVar3)" identifier (argument_list "(uVar5,uVar3)" ( identifier , identifier ))) )) (compound_statement "{\n    iVar7 = -4;\n  }" { (expression_statement "iVar7 = -4;" (assignment_expression "iVar7 = -4" identifier = number_literal) ;) }) (else_clause "else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" else (compound_statement "{\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" { (if_statement "if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }" if (parenthesized_expression "(0x3fffffff < uVar6)" ( (binary_expression "0x3fffffff < uVar6" number_literal < identifier) )) (compound_statement "{\n      uVar6 = 0x3fffffff;\n    }" { (expression_statement "uVar6 = 0x3fffffff;" (assignment_expression "uVar6 = 0x3fffffff" identifier = number_literal) ;) })) (expression_statement "iVar7 = uVar6 << 2;" (assignment_expression "iVar7 = uVar6 << 2" identifier = (binary_expression "uVar6 << 2" identifier << number_literal)) ;) }))) (expression_statement "__dest = (void *)FUN_003ac4d0(iVar7);" (assignment_expression "__dest = (void *)FUN_003ac4d0(iVar7)" identifier = (cast_expression "(void *)FUN_003ac4d0(iVar7)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))))) ;) (expression_statement "puVar9 = (undefined4 *)(iVar8 + (int)__dest);" (assignment_expression "puVar9 = (undefined4 *)(iVar8 + (int)__dest)" identifier = (cast_expression "(undefined4 *)(iVar8 + (int)__dest)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (int)__dest)" ( (binary_expression "iVar8 + (int)__dest" identifier + (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "puVar2 = puVar9 + uVar4;" (assignment_expression "puVar2 = puVar9 + uVar4" identifier = (binary_expression "puVar9 + uVar4" identifier + identifier)) ;) (do_statement "do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);" do (compound_statement "{\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != puVar9)" ( (binary_expression "puVar2 != puVar9" identifier != identifier) )) ;) (expression_statement "__src = *(void **)(param_1 + 0x13c);" (assignment_expression "__src = *(void **)(param_1 + 0x13c)" identifier = (pointer_expression "*(void **)(param_1 + 0x13c)" * (cast_expression "(void **)(param_1 + 0x13c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (if_statement "if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" if (parenthesized_expression "(*(void **)(param_1 + 0x140) == __src)" ( (binary_expression "*(void **)(param_1 + 0x140) == __src" (pointer_expression "*(void **)(param_1 + 0x140)" * (cast_expression "(void **)(param_1 + 0x140)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }" { (if_statement "if (__src == (void *)0x0) goto LAB_002098a9;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002098a9;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" else (compound_statement "{\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" { (expression_statement "memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);" (call_expression "memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src)" identifier (argument_list "(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src)" ( identifier , identifier , (binary_expression "(int)*(void **)(param_1 + 0x140) - (int)__src" (cast_expression "(int)*(void **)(param_1 + 0x140)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(void **)(param_1 + 0x140)" * (cast_expression "(void **)(param_1 + 0x140)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) }))) (expression_statement "FUN_003ae080(__src);" (call_expression "FUN_003ae080(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;" statement_identifier : (expression_statement "*(void **)(param_1 + 0x13c) = __dest;" (assignment_expression "*(void **)(param_1 + 0x13c) = __dest" (pointer_expression "*(void **)(param_1 + 0x13c)" * (cast_expression "(void **)(param_1 + 0x13c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);" (assignment_expression "*(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4)" (pointer_expression "*(void **)(param_1 + 0x140)" * (cast_expression "(void **)(param_1 + 0x140)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = (cast_expression "(void *)((int)__dest + uVar1 * 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + uVar1 * 4)" ( (binary_expression "(int)__dest + uVar1 * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) (expression_statement "*(int *)(param_1 + 0x144) = iVar7 + (int)__dest;" (assignment_expression "*(int *)(param_1 + 0x144) = iVar7 + (int)__dest" (pointer_expression "*(int *)(param_1 + 0x144)" * (cast_expression "(int *)(param_1 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x144)" ( (binary_expression "param_1 + 0x144" identifier + number_literal) )))) = (binary_expression "iVar7 + (int)__dest" identifier + (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void do_setup(AArch64_relobj<32,_false> * this) */\n\nvoid __thiscall\nanon_unknown.dwarf_109b185::AArch64_relobj<32,_false>::do_setup(AArch64_relobj<32,_false> *this)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\nanon_unknown.dwarf_109b185::AArch64_relobj<32,_false>::do_setup(AArch64_relobj<32,_false> *this)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_109b185::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "do_setup(AArch64_relobj<32,_false> *this)" identifier (parameter_list "(AArch64_relobj<32,_false> *this)" ( (parameter_declaration "AArch64_relobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00209750(int param_1)\n\n{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}\n\n" (function_definition "void FUN_00209750(int param_1)\n\n{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}" primitive_type (function_declarator "FUN_00209750(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "FUN_002945e0(param_1);" (call_expression "FUN_002945e0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x140);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x140)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" identifier = (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);" (assignment_expression "iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c)" identifier = (binary_expression "(int)puVar2 - *(int *)(param_1 + 0x13c)" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))))) ;) (expression_statement "uVar5 = iVar8 >> 2;" (assignment_expression "uVar5 = iVar8 >> 2" identifier = (binary_expression "iVar8 >> 2" identifier >> number_literal)) ;) (if_statement "if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }" if (parenthesized_expression "(uVar1 <= uVar5)" ( (binary_expression "uVar1 <= uVar5" identifier <= identifier) )) (compound_statement "{\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }" { (if_statement "if (uVar5 <= uVar1) {\n      return;\n    }" if (parenthesized_expression "(uVar5 <= uVar1)" ( (binary_expression "uVar5 <= uVar1" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);" (assignment_expression "puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x13c) + uVar1 * 4)" ( (binary_expression "*(int *)(param_1 + 0x13c) + uVar1 * 4" (pointer_expression "*(int *)(param_1 + 0x13c)" * (cast_expression "(int *)(param_1 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) (if_statement "if (puVar2 == puVar9) {\n      return;\n    }" if (parenthesized_expression "(puVar2 == puVar9)" ( (binary_expression "puVar2 == puVar9" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar9;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar9" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "uVar4 = uVar1 - uVar5;" (assignment_expression "uVar4 = uVar1 - uVar5" identifier = (binary_expression "uVar1 - uVar5" identifier - identifier)) ;) (if_statement "if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }" if (parenthesized_expression "(uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2))" ( (binary_expression "uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" identifier <= (call_expression "(uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" ( (binary_expression "*(int *)(param_1 + 0x144) - (int)puVar2 >> 2" (binary_expression "*(int *)(param_1 + 0x144) - (int)puVar2" (pointer_expression "*(int *)(param_1 + 0x144)" * (cast_expression "(int *)(param_1 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x144)" ( (binary_expression "param_1 + 0x144" identifier + number_literal) )))) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }" { (expression_statement "puVar9 = puVar2 + uVar4;" (assignment_expression "puVar9 = puVar2 + uVar4" identifier = (binary_expression "puVar2 + uVar4" identifier + identifier)) ;) (do_statement "do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);" do (compound_statement "{\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != puVar9)" ( (binary_expression "puVar2 != puVar9" identifier != identifier) )) ;) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (0x3fffffff - uVar5 < uVar4) {\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }" if (parenthesized_expression "(0x3fffffff - uVar5 < uVar4)" ( (binary_expression "0x3fffffff - uVar5 < uVar4" (binary_expression "0x3fffffff - uVar5" number_literal - identifier) < identifier) )) (compound_statement "{\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }" { (expression_statement "FUN_003f3a70("vector::_M_default_append");" (call_expression "FUN_003f3a70("vector::_M_default_append")" identifier (argument_list "("vector::_M_default_append")" ( (string_literal ""vector::_M_default_append"" " string_content ") ))) ;) })) (expression_statement "uVar3 = uVar4;" (assignment_expression "uVar3 = uVar4" identifier = identifier) ;) (if_statement "if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }" if (parenthesized_expression "(uVar4 <= uVar5)" ( (binary_expression "uVar4 <= uVar5" identifier <= identifier) )) (compound_statement "{\n    uVar3 = uVar5;\n  }" { (expression_statement "uVar3 = uVar5;" (assignment_expression "uVar3 = uVar5" identifier = identifier) ;) })) (expression_statement "uVar6 = uVar5 + uVar3;" (assignment_expression "uVar6 = uVar5 + uVar3" identifier = (binary_expression "uVar5 + uVar3" identifier + identifier)) ;) (if_statement "if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" if (parenthesized_expression "(CARRY4(uVar5,uVar3))" ( (call_expression "CARRY4(uVar5,uVar3)" identifier (argument_list "(uVar5,uVar3)" ( identifier , identifier ))) )) (compound_statement "{\n    iVar7 = -4;\n  }" { (expression_statement "iVar7 = -4;" (assignment_expression "iVar7 = -4" identifier = number_literal) ;) }) (else_clause "else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" else (compound_statement "{\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" { (if_statement "if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }" if (parenthesized_expression "(0x3fffffff < uVar6)" ( (binary_expression "0x3fffffff < uVar6" number_literal < identifier) )) (compound_statement "{\n      uVar6 = 0x3fffffff;\n    }" { (expression_statement "uVar6 = 0x3fffffff;" (assignment_expression "uVar6 = 0x3fffffff" identifier = number_literal) ;) })) (expression_statement "iVar7 = uVar6 << 2;" (assignment_expression "iVar7 = uVar6 << 2" identifier = (binary_expression "uVar6 << 2" identifier << number_literal)) ;) }))) (expression_statement "__dest = (void *)FUN_003ac4d0(iVar7);" (assignment_expression "__dest = (void *)FUN_003ac4d0(iVar7)" identifier = (cast_expression "(void *)FUN_003ac4d0(iVar7)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))))) ;) (expression_statement "puVar9 = (undefined4 *)(iVar8 + (int)__dest);" (assignment_expression "puVar9 = (undefined4 *)(iVar8 + (int)__dest)" identifier = (cast_expression "(undefined4 *)(iVar8 + (int)__dest)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (int)__dest)" ( (binary_expression "iVar8 + (int)__dest" identifier + (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "puVar2 = puVar9 + uVar4;" (assignment_expression "puVar2 = puVar9 + uVar4" identifier = (binary_expression "puVar9 + uVar4" identifier + identifier)) ;) (do_statement "do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);" do (compound_statement "{\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar2 != puVar9)" ( (binary_expression "puVar2 != puVar9" identifier != identifier) )) ;) (expression_statement "__src = *(void **)(param_1 + 0x13c);" (assignment_expression "__src = *(void **)(param_1 + 0x13c)" identifier = (pointer_expression "*(void **)(param_1 + 0x13c)" * (cast_expression "(void **)(param_1 + 0x13c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (if_statement "if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" if (parenthesized_expression "(*(void **)(param_1 + 0x140) == __src)" ( (binary_expression "*(void **)(param_1 + 0x140) == __src" (pointer_expression "*(void **)(param_1 + 0x140)" * (cast_expression "(void **)(param_1 + 0x140)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }" { (if_statement "if (__src == (void *)0x0) goto LAB_002098a9;" if (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002098a9;" goto statement_identifier ;)) }) (else_clause "else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" else (compound_statement "{\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" { (expression_statement "memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);" (call_expression "memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src)" identifier (argument_list "(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src)" ( identifier , identifier , (binary_expression "(int)*(void **)(param_1 + 0x140) - (int)__src" (cast_expression "(int)*(void **)(param_1 + 0x140)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(void **)(param_1 + 0x140)" * (cast_expression "(void **)(param_1 + 0x140)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) ))))) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) }))) (expression_statement "FUN_003ae080(__src);" (call_expression "FUN_003ae080(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (labeled_statement "LAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;" statement_identifier : (expression_statement "*(void **)(param_1 + 0x13c) = __dest;" (assignment_expression "*(void **)(param_1 + 0x13c) = __dest" (pointer_expression "*(void **)(param_1 + 0x13c)" * (cast_expression "(void **)(param_1 + 0x13c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);" (assignment_expression "*(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4)" (pointer_expression "*(void **)(param_1 + 0x140)" * (cast_expression "(void **)(param_1 + 0x140)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) = (cast_expression "(void *)((int)__dest + uVar1 * 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + uVar1 * 4)" ( (binary_expression "(int)__dest + uVar1 * 4" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar1 * 4" identifier * number_literal)) )))) ;) (expression_statement "*(int *)(param_1 + 0x144) = iVar7 + (int)__dest;" (assignment_expression "*(int *)(param_1 + 0x144) = iVar7 + (int)__dest" (pointer_expression "*(int *)(param_1 + 0x144)" * (cast_expression "(int *)(param_1 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x144)" ( (binary_expression "param_1 + 0x144" identifier + number_literal) )))) = (binary_expression "iVar7 + (int)__dest" identifier + (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (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 ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (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) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != 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 ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT , IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) )))) ;) (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))) ;) (return_statement return ;) })))
(function_definition "void FUN_00209750(int param_1)\n\n{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00209750(int param_1)" (identifier "FUN_00209750") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  void *__src;\n  undefined4 *puVar2;\n  uint uVar3;\n  void *__dest;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  \n  FUN_002945e0(param_1);\n  puVar2 = *(undefined4 **)(param_1 + 0x140);\n  uVar1 = *(uint *)(param_1 + 0x28);\n  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);\n  uVar5 = iVar8 >> 2;\n  if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }\n  uVar4 = uVar1 - uVar5;\n  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }\n  if (0x3fffffff - uVar5 < uVar4) {\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }\n  uVar3 = uVar4;\n  if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }\n  uVar6 = uVar5 + uVar3;\n  if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }\n  __dest = (void *)FUN_003ac4d0(iVar7);\n  puVar9 = (undefined4 *)(iVar8 + (int)__dest);\n  puVar2 = puVar9 + uVar4;\n  do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);\n  __src = *(void **)(param_1 + 0x13c);\n  if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }\n  FUN_003ae080(__src);\nLAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;\n  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);\n  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (expression_statement "FUN_002945e0(param_1);" (call_expression "FUN_002945e0(param_1)" (identifier "FUN_002945e0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x140);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x140)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0x28);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x28)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x28)" (* "*") (cast_expression "(uint *)(param_1 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);" (assignment_expression "iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c)" (identifier "iVar8") (= "=") (binary_expression "(int)puVar2 - *(int *)(param_1 + 0x13c)" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (- "-") (pointer_expression "*(int *)(param_1 + 0x13c)" (* "*") (cast_expression "(int *)(param_1 + 0x13c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))))) (; ";")) (expression_statement "uVar5 = iVar8 >> 2;" (assignment_expression "uVar5 = iVar8 >> 2" (identifier "uVar5") (= "=") (binary_expression "iVar8 >> 2" (identifier "iVar8") (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar1 <= uVar5) {\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar1 <= uVar5)" (( "(") (binary_expression "uVar1 <= uVar5" (identifier "uVar1") (<= "<=") (identifier "uVar5")) () ")")) (compound_statement "{\n    if (uVar5 <= uVar1) {\n      return;\n    }\n    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);\n    if (puVar2 == puVar9) {\n      return;\n    }\n    *(undefined4 **)(param_1 + 0x140) = puVar9;\n    return;\n  }" ({ "{") (if_statement "if (uVar5 <= uVar1) {\n      return;\n    }" (if "if") (parenthesized_expression "(uVar5 <= uVar1)" (( "(") (binary_expression "uVar5 <= uVar1" (identifier "uVar5") (<= "<=") (identifier "uVar1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);" (assignment_expression "puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x13c) + uVar1 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x13c) + uVar1 * 4" (pointer_expression "*(int *)(param_1 + 0x13c)" (* "*") (cast_expression "(int *)(param_1 + 0x13c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))) (+ "+") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (puVar2 == puVar9) {\n      return;\n    }" (if "if") (parenthesized_expression "(puVar2 == puVar9)" (( "(") (binary_expression "puVar2 == puVar9" (identifier "puVar2") (== "==") (identifier "puVar9")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar9;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar9" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (= "=") (identifier "puVar9")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar4 = uVar1 - uVar5;" (assignment_expression "uVar4 = uVar1 - uVar5" (identifier "uVar4") (= "=") (binary_expression "uVar1 - uVar5" (identifier "uVar1") (- "-") (identifier "uVar5"))) (; ";")) (if_statement "if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2))" (( "(") (binary_expression "uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" (identifier "uVar4") (<= "<=") (call_expression "(uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x144) - (int)puVar2 >> 2" (binary_expression "*(int *)(param_1 + 0x144) - (int)puVar2" (pointer_expression "*(int *)(param_1 + 0x144)" (* "*") (cast_expression "(int *)(param_1 + 0x144)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x144)" (( "(") (binary_expression "param_1 + 0x144" (identifier "param_1") (+ "+") (number_literal "0x144")) () ")")))) (- "-") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) (>> ">>") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n    puVar9 = puVar2 + uVar4;\n    do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);\n    *(undefined4 **)(param_1 + 0x140) = puVar2;\n    return;\n  }" ({ "{") (expression_statement "puVar9 = puVar2 + uVar4;" (assignment_expression "puVar9 = puVar2 + uVar4" (identifier "puVar9") (= "=") (binary_expression "puVar2 + uVar4" (identifier "puVar2") (+ "+") (identifier "uVar4"))) (; ";")) (do_statement "do {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    } while (puVar2 != puVar9);" (do "do") (compound_statement "{\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" ({ "{") (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != puVar9)" (( "(") (binary_expression "puVar2 != puVar9" (identifier "puVar2") (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x140) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 0x140) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (0x3fffffff - uVar5 < uVar4) {\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }" (if "if") (parenthesized_expression "(0x3fffffff - uVar5 < uVar4)" (( "(") (binary_expression "0x3fffffff - uVar5 < uVar4" (binary_expression "0x3fffffff - uVar5" (number_literal "0x3fffffff") (- "-") (identifier "uVar5")) (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n                    \n    FUN_003f3a70("vector::_M_default_append");\n  }" ({ "{") (expression_statement "FUN_003f3a70("vector::_M_default_append");" (call_expression "FUN_003f3a70("vector::_M_default_append")" (identifier "FUN_003f3a70") (argument_list "("vector::_M_default_append")" (( "(") (string_literal ""vector::_M_default_append"" (" """) (string_content "vector::_M_default_append") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = uVar4;" (assignment_expression "uVar3 = uVar4" (identifier "uVar3") (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (uVar4 <= uVar5) {\n    uVar3 = uVar5;\n  }" (if "if") (parenthesized_expression "(uVar4 <= uVar5)" (( "(") (binary_expression "uVar4 <= uVar5" (identifier "uVar4") (<= "<=") (identifier "uVar5")) () ")")) (compound_statement "{\n    uVar3 = uVar5;\n  }" ({ "{") (expression_statement "uVar3 = uVar5;" (assignment_expression "uVar3 = uVar5" (identifier "uVar3") (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (expression_statement "uVar6 = uVar5 + uVar3;" (assignment_expression "uVar6 = uVar5 + uVar3" (identifier "uVar6") (= "=") (binary_expression "uVar5 + uVar3" (identifier "uVar5") (+ "+") (identifier "uVar3"))) (; ";")) (if_statement "if (CARRY4(uVar5,uVar3)) {\n    iVar7 = -4;\n  }\n  else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" (if "if") (parenthesized_expression "(CARRY4(uVar5,uVar3))" (( "(") (call_expression "CARRY4(uVar5,uVar3)" (identifier "CARRY4") (argument_list "(uVar5,uVar3)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar3") () ")"))) () ")")) (compound_statement "{\n    iVar7 = -4;\n  }" ({ "{") (expression_statement "iVar7 = -4;" (assignment_expression "iVar7 = -4" (identifier "iVar7") (= "=") (number_literal "-4")) (; ";")) (} "}")) (else_clause "else {\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" (else "else") (compound_statement "{\n    if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }\n    iVar7 = uVar6 << 2;\n  }" ({ "{") (if_statement "if (0x3fffffff < uVar6) {\n      uVar6 = 0x3fffffff;\n    }" (if "if") (parenthesized_expression "(0x3fffffff < uVar6)" (( "(") (binary_expression "0x3fffffff < uVar6" (number_literal "0x3fffffff") (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n      uVar6 = 0x3fffffff;\n    }" ({ "{") (expression_statement "uVar6 = 0x3fffffff;" (assignment_expression "uVar6 = 0x3fffffff" (identifier "uVar6") (= "=") (number_literal "0x3fffffff")) (; ";")) (} "}"))) (expression_statement "iVar7 = uVar6 << 2;" (assignment_expression "iVar7 = uVar6 << 2" (identifier "iVar7") (= "=") (binary_expression "uVar6 << 2" (identifier "uVar6") (<< "<<") (number_literal "2"))) (; ";")) (} "}")))) (expression_statement "__dest = (void *)FUN_003ac4d0(iVar7);" (assignment_expression "__dest = (void *)FUN_003ac4d0(iVar7)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_003ac4d0(iVar7)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(iVar7)" (identifier "FUN_003ac4d0") (argument_list "(iVar7)" (( "(") (identifier "iVar7") () ")"))))) (; ";")) (expression_statement "puVar9 = (undefined4 *)(iVar8 + (int)__dest);" (assignment_expression "puVar9 = (undefined4 *)(iVar8 + (int)__dest)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)(iVar8 + (int)__dest)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + (int)__dest)" (( "(") (binary_expression "iVar8 + (int)__dest" (identifier "iVar8") (+ "+") (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest"))) () ")")))) (; ";")) (expression_statement "puVar2 = puVar9 + uVar4;" (assignment_expression "puVar2 = puVar9 + uVar4" (identifier "puVar2") (= "=") (binary_expression "puVar9 + uVar4" (identifier "puVar9") (+ "+") (identifier "uVar4"))) (; ";")) (do_statement "do {\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  } while (puVar2 != puVar9);" (do "do") (compound_statement "{\n    *puVar9 = 0;\n    puVar9 = puVar9 + 1;\n  }" ({ "{") (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar2 != puVar9)" (( "(") (binary_expression "puVar2 != puVar9" (identifier "puVar2") (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (expression_statement "__src = *(void **)(param_1 + 0x13c);" (assignment_expression "__src = *(void **)(param_1 + 0x13c)" (identifier "__src") (= "=") (pointer_expression "*(void **)(param_1 + 0x13c)" (* "*") (cast_expression "(void **)(param_1 + 0x13c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")"))))) (; ";")) (if_statement "if (*(void **)(param_1 + 0x140) == __src) {\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }\n  else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" (if "if") (parenthesized_expression "(*(void **)(param_1 + 0x140) == __src)" (( "(") (binary_expression "*(void **)(param_1 + 0x140) == __src" (pointer_expression "*(void **)(param_1 + 0x140)" (* "*") (cast_expression "(void **)(param_1 + 0x140)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (== "==") (identifier "__src")) () ")")) (compound_statement "{\n    if (__src == (void *)0x0) goto LAB_002098a9;\n  }" ({ "{") (if_statement "if (__src == (void *)0x0) goto LAB_002098a9;" (if "if") (parenthesized_expression "(__src == (void *)0x0)" (( "(") (binary_expression "__src == (void *)0x0" (identifier "__src") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_002098a9;" (goto "goto") (statement_identifier "LAB_002098a9") (; ";"))) (} "}")) (else_clause "else {\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" (else "else") (compound_statement "{\n    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);\n  }" ({ "{") (expression_statement "memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);" (call_expression "memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src)" (identifier "memmove") (argument_list "(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (binary_expression "(int)*(void **)(param_1 + 0x140) - (int)__src" (cast_expression "(int)*(void **)(param_1 + 0x140)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(void **)(param_1 + 0x140)" (* "*") (cast_expression "(void **)(param_1 + 0x140)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_003ae080(__src);" (call_expression "FUN_003ae080(__src)" (identifier "FUN_003ae080") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (labeled_statement "LAB_002098a9:\n  *(void **)(param_1 + 0x13c) = __dest;" (statement_identifier "LAB_002098a9") (: ":") (expression_statement "*(void **)(param_1 + 0x13c) = __dest;" (assignment_expression "*(void **)(param_1 + 0x13c) = __dest" (pointer_expression "*(void **)(param_1 + 0x13c)" (* "*") (cast_expression "(void **)(param_1 + 0x13c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")")))) (= "=") (identifier "__dest")) (; ";"))) (expression_statement "*(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);" (assignment_expression "*(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4)" (pointer_expression "*(void **)(param_1 + 0x140)" (* "*") (cast_expression "(void **)(param_1 + 0x140)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (= "=") (cast_expression "(void *)((int)__dest + uVar1 * 4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + uVar1 * 4)" (( "(") (binary_expression "(int)__dest + uVar1 * 4" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x144) = iVar7 + (int)__dest;" (assignment_expression "*(int *)(param_1 + 0x144) = iVar7 + (int)__dest" (pointer_expression "*(int *)(param_1 + 0x144)" (* "*") (cast_expression "(int *)(param_1 + 0x144)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x144)" (( "(") (binary_expression "param_1 + 0x144" (identifier "param_1") (+ "+") (number_literal "0x144")) () ")")))) (= "=") (binary_expression "iVar7 + (int)__dest" (identifier "iVar7") (+ "+") (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_setup(AArch64_relobj<32,_false> * this) */

void __thiscall
anon_unknown.dwarf_109b185::AArch64_relobj<32,_false>::do_setup(AArch64_relobj<32,_false> *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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (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))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) 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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_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))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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 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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (return_statement))))

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

void MASKED(int param_1)

{
  uint uVar1;
  void *__src;
  undefined4 *puVar2;
  uint uVar3;
  void *__dest;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  int iVar8;
  undefined4 *puVar9;
  
  FUN_002945e0(param_1);
  puVar2 = *(undefined4 **)(param_1 + 0x140);
  uVar1 = *(uint *)(param_1 + 0x28);
  iVar8 = (int)puVar2 - *(int *)(param_1 + 0x13c);
  uVar5 = iVar8 >> 2;
  if (uVar1 <= uVar5) {
    if (uVar5 <= uVar1) {
      return;
    }
    puVar9 = (undefined4 *)(*(int *)(param_1 + 0x13c) + uVar1 * 4);
    if (puVar2 == puVar9) {
      return;
    }
    *(undefined4 **)(param_1 + 0x140) = puVar9;
    return;
  }
  uVar4 = uVar1 - uVar5;
  if (uVar4 <= (uint)(*(int *)(param_1 + 0x144) - (int)puVar2 >> 2)) {
    puVar9 = puVar2 + uVar4;
    do {
      *puVar2 = 0;
      puVar2 = puVar2 + 1;
    } while (puVar2 != puVar9);
    *(undefined4 **)(param_1 + 0x140) = puVar2;
    return;
  }
  if (0x3fffffff - uVar5 < uVar4) {
                    /* WARNING: Subroutine does not return */
    FUN_003f3a70("vector::_M_default_append");
  }
  uVar3 = uVar4;
  if (uVar4 <= uVar5) {
    uVar3 = uVar5;
  }
  uVar6 = uVar5 + uVar3;
  if (CARRY4(uVar5,uVar3)) {
    iVar7 = -4;
  }
  else {
    if (0x3fffffff < uVar6) {
      uVar6 = 0x3fffffff;
    }
    iVar7 = uVar6 << 2;
  }
  __dest = (void *)FUN_003ac4d0(iVar7);
  puVar9 = (undefined4 *)(iVar8 + (int)__dest);
  puVar2 = puVar9 + uVar4;
  do {
    *puVar9 = 0;
    puVar9 = puVar9 + 1;
  } while (puVar2 != puVar9);
  __src = *(void **)(param_1 + 0x13c);
  if (*(void **)(param_1 + 0x140) == __src) {
    if (__src == (void *)0x0) goto LAB_002098a9;
  }
  else {
    memmove(__dest,__src,(int)*(void **)(param_1 + 0x140) - (int)__src);
  }
  FUN_003ae080(__src);
LAB_002098a9:
  *(void **)(param_1 + 0x13c) = __dest;
  *(void **)(param_1 + 0x140) = (void *)((int)__dest + uVar1 * 4);
  *(int *)(param_1 + 0x144) = iVar7 + (int)__dest;
  return;
}

