
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void script_register_vers_node
               (void *param_1,char *tag,int taglen,Version_tree *tree,Version_dependency_list *deps)

{
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *__src;
  size_type sVar1;
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *__dest;
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;
  undefined4 uStack_14;
  
  uStack_14 = 0x16bde9;
  if (tree != (Version_tree *)0x0) {
    tree->dependencies = deps;
    if (tag != (char *)0x0) {
      __src = &local_34.field_2;
      local_34._M_dataplus._M_p = (pointer)__src;
      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);
      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                *)(tree->tag)._M_dataplus._M_p;
      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
           *)local_34._M_dataplus._M_p == __src) {
        if (local_34._M_string_length != 0) {
          if (local_34._M_string_length == 1) {
            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];
            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                      *)(tree->tag)._M_dataplus._M_p;
          }
          else {
            memcpy(__dest,__src,local_34._M_string_length);
            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                      *)(tree->tag)._M_dataplus._M_p;
          }
        }
        (tree->tag)._M_string_length = local_34._M_string_length;
        __dest->_M_local_buf[local_34._M_string_length] = '\0';
      }
      else if (__dest == &(tree->tag).field_2) {
        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;
        (tree->tag)._M_string_length = local_34._M_string_length;
        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;
        local_34._M_dataplus._M_p = (pointer)__src;
      }
      else {
        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;
        sVar1 = (tree->tag).field_2._M_allocated_capacity;
        (tree->tag)._M_string_length = local_34._M_string_length;
        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;
        local_34._M_dataplus._M_p = (pointer)__src;
        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                       *)0x0) {
          local_34._M_dataplus._M_p = (pointer)__dest;
          local_34.field_2._M_allocated_capacity = sVar1;
        }
      }
      local_34._M_string_length = 0;
      *local_34._M_dataplus._M_p = '\0';
      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
           *)local_34._M_dataplus._M_p != &local_34.field_2) {
        operator_delete(local_34._M_dataplus._M_p);
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable("../../gold/script.cc",0xba4,"script_register_vers_node");
}



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

void FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)

{
  undefined4 uVar1;
  undefined4 *__dest;
  undefined4 *local_34;
  size_t local_30;
  undefined4 local_2c [6];
  undefined4 uStack_14;
  
  uStack_14 = 0x16bde9;
  if (param_4 != (undefined4 *)0x0) {
    param_4[8] = param_5;
    if (param_2 != 0) {
      local_34 = local_2c;
      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);
      __dest = (undefined4 *)*param_4;
      if (local_34 == local_2c) {
        if (local_30 != 0) {
          if (local_30 == 1) {
            *(undefined1 *)__dest = (undefined1)local_2c[0];
            __dest = (undefined4 *)*param_4;
          }
          else {
            memcpy(__dest,local_2c,local_30);
            __dest = (undefined4 *)*param_4;
          }
        }
        param_4[1] = local_30;
        *(undefined1 *)((int)__dest + local_30) = 0;
      }
      else if (__dest == param_4 + 2) {
        *param_4 = local_34;
        param_4[1] = local_30;
        param_4[2] = local_2c[0];
        local_34 = local_2c;
      }
      else {
        *param_4 = local_34;
        uVar1 = param_4[2];
        param_4[1] = local_30;
        param_4[2] = local_2c[0];
        local_34 = local_2c;
        if (__dest != (undefined4 *)0x0) {
          local_34 = __dest;
          local_2c[0] = uVar1;
        }
      }
      local_30 = 0;
      *(undefined1 *)local_34 = 0;
      if (local_34 != local_2c) {
        FUN_001e6db0(local_34);
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x223217
SUB ESP,0x3c
MOV ESI,dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [ESP + 0x54]
TEST ESI,ESI
JZ 0x0016beef
MOV EDX,dword ptr [ESP + 0x60]
MOV dword ptr [ESI + 0x20],EDX
TEST EAX,EAX
JZ 0x0016be83
LEA EDI,[ESP + 0x20]
LEA EDX,[ESP + 0x18]
MOV dword ptr [ESP + 0x18],EDI
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x5c]
ADD ECX,EAX
PUSH ECX
PUSH EAX
PUSH EDX
CALL 0x00050e40
MOV EDX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
CMP EDX,EDI
JZ 0x0016be90
MOV ECX,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0xc],ECX
LEA ECX,[ESI + 0x8]
CMP EAX,ECX
JZ 0x0016bec8
MOV dword ptr [ESI],EDX
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESI + 0x8]
MOV dword ptr [ESI + 0x4],EBP
MOV dword ptr [ESI + 0x8],EDX
TEST EAX,EAX
JZ 0x0016bed4
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x20],ECX
MOV dword ptr [ESP + 0x1c],0x0
MOV byte ptr [EAX],0x0
MOV EAX,dword ptr [ESP + 0x18]
CMP EAX,EDI
JZ 0x0016be83
SUB ESP,0xc
PUSH EAX
CALL 0x001e6db0
ADD ESP,0x10
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESP + 0x1c]
TEST EDX,EDX
JZ 0x0016beb8
CMP EDX,0x1
JZ 0x0016bee0
SUB ESP,0x4
PUSH EDX
PUSH EDI
PUSH EAX
CALL 0x000295c0
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
LEA ESI,[ESI]
MOV dword ptr [ESI + 0x4],EDX
MOV byte ptr [EAX + EDX*0x1],0x0
MOV EAX,dword ptr [ESP + 0x18]
JMP 0x0016be64
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESI],EDX
MOV dword ptr [ESI + 0x4],EBP
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESP + 0x18],EDI
LEA EDI,[ESP + 0x20]
MOV EAX,EDI
JMP 0x0016be64
MOVZX EDX,byte ptr [ESP + 0x20]
MOV byte ptr [EAX],DL
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI]
JMP 0x0016beb8
PUSH EAX
LEA EAX,[EBX + 0xfff0a0a4]
PUSH EAX
LEA EAX,[EBX + 0xfff0910c]
PUSH 0xba4
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}\n\n" comment (function_definition "void FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}" primitive_type (function_declarator "FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c [6];" type_identifier (array_declarator "local_2c [6]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16bde9;" (assignment_expression "uStack_14 = 0x16bde9" identifier = number_literal) ;) (if_statement "if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(param_4 != (undefined4 *)0x0)" ( (binary_expression "param_4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }" { (expression_statement "param_4[8] = param_5;" (assignment_expression "param_4[8] = param_5" (subscript_expression "param_4[8]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }" { (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "FUN_00050e40(&local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_00050e40(&local_34,param_2,param_3 + param_2,0)" identifier (argument_list "(&local_34,param_2,param_3 + param_2,0)" ( (pointer_expression "&local_34" & identifier) , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) (if_statement "if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }" { (if_statement "if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }" { (if_statement "if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_2c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_2c[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_2c[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_2c[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }) (else_clause "else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" else (compound_statement "{\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" { (expression_statement "memcpy(__dest,local_2c,local_30);" (call_expression "memcpy(__dest,local_2c,local_30)" identifier (argument_list "(__dest,local_2c,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }))) })) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_30)" * (cast_expression "(undefined1 *)((int)__dest + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + local_30)" ( (binary_expression "(int)__dest + local_30" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" else (if_statement "if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" if (parenthesized_expression "(__dest == param_4 + 2)" ( (binary_expression "__dest == param_4 + 2" identifier == (binary_expression "param_4 + 2" identifier + number_literal)) )) (compound_statement "{\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }" { (expression_statement "*param_4 = local_34;" (assignment_expression "*param_4 = local_34" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = local_2c[0];" (assignment_expression "param_4[2] = local_2c[0]" (subscript_expression "param_4[2]" identifier [ number_literal ]) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) }) (else_clause "else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" else (compound_statement "{\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" { (expression_statement "*param_4 = local_34;" (assignment_expression "*param_4 = local_34" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "uVar1 = param_4[2];" (assignment_expression "uVar1 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = local_2c[0];" (assignment_expression "param_4[2] = local_2c[0]" (subscript_expression "param_4[2]" identifier [ number_literal ]) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }" { (expression_statement "local_34 = __dest;" (assignment_expression "local_34 = __dest" identifier = identifier) ;) (expression_statement "local_2c[0] = uVar1;" (assignment_expression "local_2c[0] = uVar1" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = identifier) ;) })) }))))) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" * (cast_expression "(undefined1 *)local_34" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n        FUN_001e6db0(local_34);\n      }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);" (call_expression "FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2)" identifier (argument_list "("../../gold/script.cc",0xba4,"script_register_vers_node",param_2)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""script_register_vers_node"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid script_register_vers_node\n               (void *param_1,char *tag,int taglen,Version_tree *tree,Version_dependency_list *deps)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__src;\n  size_type sVar1;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (tree != (Version_tree *)0x0) {\n    tree->dependencies = deps;\n    if (tag != (char *)0x0) {\n      __src = &local_34.field_2;\n      local_34._M_dataplus._M_p = (pointer)__src;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);\n      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }\n      local_34._M_string_length = 0;\n      *local_34._M_dataplus._M_p = '\0';\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/script.cc",0xba4,"script_register_vers_node");\n}\n\n" comment comment (function_definition "void script_register_vers_node\n               (void *param_1,char *tag,int taglen,Version_tree *tree,Version_dependency_list *deps)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__src;\n  size_type sVar1;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (tree != (Version_tree *)0x0) {\n    tree->dependencies = deps;\n    if (tag != (char *)0x0) {\n      __src = &local_34.field_2;\n      local_34._M_dataplus._M_p = (pointer)__src;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);\n      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }\n      local_34._M_string_length = 0;\n      *local_34._M_dataplus._M_p = '\0';\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/script.cc",0xba4,"script_register_vers_node");\n}" primitive_type (function_declarator "script_register_vers_node\n               (void *param_1,char *tag,int taglen,Version_tree *tree,Version_dependency_list *deps)" identifier (parameter_list "(void *param_1,char *tag,int taglen,Version_tree *tree,Version_dependency_list *deps)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *tag" primitive_type (pointer_declarator "*tag" * identifier)) , (parameter_declaration "int taglen" primitive_type identifier) , (parameter_declaration "Version_tree *tree" type_identifier (pointer_declarator "*tree" * identifier)) , (parameter_declaration "Version_dependency_list *deps" type_identifier (pointer_declarator "*deps" * identifier)) ))) (compound_statement "{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__src;\n  size_type sVar1;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (tree != (Version_tree *)0x0) {\n    tree->dependencies = deps;\n    if (tag != (char *)0x0) {\n      __src = &local_34.field_2;\n      local_34._M_dataplus._M_p = (pointer)__src;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);\n      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }\n      local_34._M_string_length = 0;\n      *local_34._M_dataplus._M_p = '\0';\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/script.cc",0xba4,"script_register_vers_node");\n}" { (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_>_9\n  *__src;" (binary_expression "allocator<char>_>_9\n  *__src" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *__src" identifier * identifier)) ;) (declaration "size_type sVar1;" type_identifier identifier ;) (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_>_9\n  *__dest;" (binary_expression "allocator<char>_>_9\n  *__dest" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *__dest" identifier * identifier)) ;) (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_> local_34;" (binary_expression "allocator<char>_> local_34" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16bde9;" (assignment_expression "uStack_14 = 0x16bde9" identifier = number_literal) ;) (if_statement "if (tree != (Version_tree *)0x0) {\n    tree->dependencies = deps;\n    if (tag != (char *)0x0) {\n      __src = &local_34.field_2;\n      local_34._M_dataplus._M_p = (pointer)__src;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);\n      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }\n      local_34._M_string_length = 0;\n      *local_34._M_dataplus._M_p = '\0';\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(tree != (Version_tree *)0x0)" ( (binary_expression "tree != (Version_tree *)0x0" identifier != (cast_expression "(Version_tree *)0x0" ( (type_descriptor "Version_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    tree->dependencies = deps;\n    if (tag != (char *)0x0) {\n      __src = &local_34.field_2;\n      local_34._M_dataplus._M_p = (pointer)__src;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);\n      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }\n      local_34._M_string_length = 0;\n      *local_34._M_dataplus._M_p = '\0';\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }\n    }\n    return;\n  }" { (expression_statement "tree->dependencies = deps;" (assignment_expression "tree->dependencies = deps" (field_expression "tree->dependencies" identifier -> field_identifier) = identifier) ;) (if_statement "if (tag != (char *)0x0) {\n      __src = &local_34.field_2;\n      local_34._M_dataplus._M_p = (pointer)__src;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);\n      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }\n      local_34._M_string_length = 0;\n      *local_34._M_dataplus._M_p = '\0';\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }\n    }" if (parenthesized_expression "(tag != (char *)0x0)" ( (binary_expression "tag != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __src = &local_34.field_2;\n      local_34._M_dataplus._M_p = (pointer)__src;\n      std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);\n      __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }\n      local_34._M_string_length = 0;\n      *local_34._M_dataplus._M_p = '\0';\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }\n    }" { (expression_statement "__src = &local_34.field_2;" (assignment_expression "__src = &local_34.field_2" identifier = (pointer_expression "&local_34.field_2" & (field_expression "local_34.field_2" identifier . field_identifier))) ;) (expression_statement "local_34._M_dataplus._M_p = (pointer)__src;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__src" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__src" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n      _M_construct<char_const*>(&local_34,tag,tag + taglen,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(&local_34,tag,tag + taglen,0);" (binary_expression "_M_construct<char_const*>(&local_34,tag,tag + taglen,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_34,tag,tag + taglen,0)" ( (comma_expression "&local_34,tag,tag + taglen,0" (pointer_expression "&local_34" & identifier) , (comma_expression "tag,tag + taglen,0" identifier , (comma_expression "tag + taglen,0" (binary_expression "tag + taglen" identifier + identifier) , number_literal))) ))) ;)) (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p;" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p" identifier = (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus._M_p" (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)._M_dataplus" (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)(tree->tag)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src) {\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }\n      else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n           *)local_34._M_dataplus._M_p == __src" (binary_expression "allocator<char>_>_9\n           *)local_34._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n           *)local_34._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier))) == identifier) )) )) (compound_statement "{\n        if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        __dest->_M_local_buf[local_34._M_string_length] = '\0';\n      }" { (if_statement "if (local_34._M_string_length != 0) {\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }" if (parenthesized_expression "(local_34._M_string_length != 0)" ( (binary_expression "local_34._M_string_length != 0" (field_expression "local_34._M_string_length" identifier . field_identifier) != number_literal) )) (compound_statement "{\n          if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n        }" { (if_statement "if (local_34._M_string_length == 1) {\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }\n          else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }" if (parenthesized_expression "(local_34._M_string_length == 1)" ( (binary_expression "local_34._M_string_length == 1" (field_expression "local_34._M_string_length" identifier . field_identifier) == number_literal) )) (compound_statement "{\n            __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }" { (expression_statement "__dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];" (assignment_expression "__dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0]" (subscript_expression "__dest->_M_local_buf[0]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "local_34.field_2._M_local_buf[0]" (field_expression "local_34.field_2._M_local_buf" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier) [ number_literal ])) ;) (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p" identifier = (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p" (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus" (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) }) (else_clause "else {\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }" else (compound_statement "{\n            memcpy(__dest,__src,local_34._M_string_length);\n            __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;\n          }" { (expression_statement "memcpy(__dest,__src,local_34._M_string_length);" (call_expression "memcpy(__dest,__src,local_34._M_string_length)" identifier (argument_list "(__dest,__src,local_34._M_string_length)" ( identifier , identifier , (field_expression "local_34._M_string_length" identifier . field_identifier) ))) ;) (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p;" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p" identifier = (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus._M_p" (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)._M_dataplus" (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)(tree->tag)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                      *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) }))) })) (expression_statement "(tree->tag)._M_string_length = local_34._M_string_length;" (assignment_expression "(tree->tag)._M_string_length = local_34._M_string_length" (field_expression "(tree->tag)._M_string_length" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) = (field_expression "local_34._M_string_length" identifier . field_identifier)) ;) (expression_statement "__dest->_M_local_buf[local_34._M_string_length] = '\0';" (assignment_expression "__dest->_M_local_buf[local_34._M_string_length] = '\0'" (subscript_expression "__dest->_M_local_buf[local_34._M_string_length]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ (field_expression "local_34._M_string_length" identifier . field_identifier) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }" else (if_statement "if (__dest == &(tree->tag).field_2) {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }\n      else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }" if (parenthesized_expression "(__dest == &(tree->tag).field_2)" ( (binary_expression "__dest == &(tree->tag).field_2" identifier == (pointer_expression "&(tree->tag).field_2" & (field_expression "(tree->tag).field_2" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier))) )) (compound_statement "{\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n      }" { (expression_statement "(tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;" (assignment_expression "(tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p" (field_expression "(tree->tag)._M_dataplus._M_p" (field_expression "(tree->tag)._M_dataplus" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "(tree->tag)._M_string_length = local_34._M_string_length;" (assignment_expression "(tree->tag)._M_string_length = local_34._M_string_length" (field_expression "(tree->tag)._M_string_length" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) = (field_expression "local_34._M_string_length" identifier . field_identifier)) ;) (expression_statement "(tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;" (assignment_expression "(tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity" (field_expression "(tree->tag).field_2._M_allocated_capacity" (field_expression "(tree->tag).field_2" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34.field_2._M_allocated_capacity" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "local_34._M_dataplus._M_p = (pointer)__src;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__src" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__src" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) }) (else_clause "else {\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }" else (compound_statement "{\n        (tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n        sVar1 = (tree->tag).field_2._M_allocated_capacity;\n        (tree->tag)._M_string_length = local_34._M_string_length;\n        (tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;\n        local_34._M_dataplus._M_p = (pointer)__src;\n        if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }\n      }" { (expression_statement "(tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p;" (assignment_expression "(tree->tag)._M_dataplus._M_p = local_34._M_dataplus._M_p" (field_expression "(tree->tag)._M_dataplus._M_p" (field_expression "(tree->tag)._M_dataplus" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "sVar1 = (tree->tag).field_2._M_allocated_capacity;" (assignment_expression "sVar1 = (tree->tag).field_2._M_allocated_capacity" identifier = (field_expression "(tree->tag).field_2._M_allocated_capacity" (field_expression "(tree->tag).field_2" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "(tree->tag)._M_string_length = local_34._M_string_length;" (assignment_expression "(tree->tag)._M_string_length = local_34._M_string_length" (field_expression "(tree->tag)._M_string_length" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) = (field_expression "local_34._M_string_length" identifier . field_identifier)) ;) (expression_statement "(tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity;" (assignment_expression "(tree->tag).field_2._M_allocated_capacity = local_34.field_2._M_allocated_capacity" (field_expression "(tree->tag).field_2._M_allocated_capacity" (field_expression "(tree->tag).field_2" (parenthesized_expression "(tree->tag)" ( (field_expression "tree->tag" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34.field_2._M_allocated_capacity" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "local_34._M_dataplus._M_p = (pointer)__src;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__src" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__src" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (if_statement "if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0) {\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }" if (parenthesized_expression "(__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0)" ( (binary_expression "__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0)" identifier != (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                       *)0x0)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                       *)0x0" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                       *)0x0" identifier * (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n          local_34._M_dataplus._M_p = (pointer)__dest;\n          local_34.field_2._M_allocated_capacity = sVar1;\n        }" { (expression_statement "local_34._M_dataplus._M_p = (pointer)__dest;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__dest" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__dest" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (expression_statement "local_34.field_2._M_allocated_capacity = sVar1;" (assignment_expression "local_34.field_2._M_allocated_capacity = sVar1" (field_expression "local_34.field_2._M_allocated_capacity" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier) = identifier) ;) })) }))))) (expression_statement "local_34._M_string_length = 0;" (assignment_expression "local_34._M_string_length = 0" (field_expression "local_34._M_string_length" identifier . field_identifier) = number_literal) ;) (expression_statement "*local_34._M_dataplus._M_p = '\0';" (assignment_expression "*local_34._M_dataplus._M_p = '\0'" (pointer_expression "*local_34._M_dataplus._M_p" * (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier)) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2) {\n        operator_delete(local_34._M_dataplus._M_p);\n      }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n           *)local_34._M_dataplus._M_p != &local_34.field_2" (binary_expression "allocator<char>_>_9\n           *)local_34._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n           *)local_34._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&local_34.field_2" & (field_expression "local_34.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n        operator_delete(local_34._M_dataplus._M_p);\n      }" { (expression_statement "operator_delete(local_34._M_dataplus._M_p);" (call_expression "operator_delete(local_34._M_dataplus._M_p)" identifier (argument_list "(local_34._M_dataplus._M_p)" ( (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) })) (return_statement "return;" return ;) })) comment (labeled_statement "gold::do_gold_unreachable("../../gold/script.cc",0xba4,"script_register_vers_node");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/script.cc",0xba4,"script_register_vers_node");" (call_expression "do_gold_unreachable("../../gold/script.cc",0xba4,"script_register_vers_node")" identifier (argument_list "("../../gold/script.cc",0xba4,"script_register_vers_node")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""script_register_vers_node"" " string_content ") ))) ;)) })))
(translation_unit "void FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}\n\n" (function_definition "void FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}" primitive_type (function_declarator "FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c [6];" type_identifier (array_declarator "local_2c [6]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16bde9;" (assignment_expression "uStack_14 = 0x16bde9" identifier = number_literal) ;) (if_statement "if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(param_4 != (undefined4 *)0x0)" ( (binary_expression "param_4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }" { (expression_statement "param_4[8] = param_5;" (assignment_expression "param_4[8] = param_5" (subscript_expression "param_4[8]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }" { (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "FUN_00050e40(&local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_00050e40(&local_34,param_2,param_3 + param_2,0)" identifier (argument_list "(&local_34,param_2,param_3 + param_2,0)" ( (pointer_expression "&local_34" & identifier) , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) (if_statement "if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }" { (if_statement "if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }" { (if_statement "if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_2c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_2c[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_2c[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_2c[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }) (else_clause "else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" else (compound_statement "{\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" { (expression_statement "memcpy(__dest,local_2c,local_30);" (call_expression "memcpy(__dest,local_2c,local_30)" identifier (argument_list "(__dest,local_2c,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" identifier = (cast_expression "(undefined4 *)*param_4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) }))) })) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_30)" * (cast_expression "(undefined1 *)((int)__dest + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + local_30)" ( (binary_expression "(int)__dest + local_30" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" else (if_statement "if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" if (parenthesized_expression "(__dest == param_4 + 2)" ( (binary_expression "__dest == param_4 + 2" identifier == (binary_expression "param_4 + 2" identifier + number_literal)) )) (compound_statement "{\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }" { (expression_statement "*param_4 = local_34;" (assignment_expression "*param_4 = local_34" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = local_2c[0];" (assignment_expression "param_4[2] = local_2c[0]" (subscript_expression "param_4[2]" identifier [ number_literal ]) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) }) (else_clause "else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" else (compound_statement "{\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" { (expression_statement "*param_4 = local_34;" (assignment_expression "*param_4 = local_34" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "uVar1 = param_4[2];" (assignment_expression "uVar1 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = local_2c[0];" (assignment_expression "param_4[2] = local_2c[0]" (subscript_expression "param_4[2]" identifier [ number_literal ]) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }" { (expression_statement "local_34 = __dest;" (assignment_expression "local_34 = __dest" identifier = identifier) ;) (expression_statement "local_2c[0] = uVar1;" (assignment_expression "local_2c[0] = uVar1" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = identifier) ;) })) }))))) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" * (cast_expression "(undefined1 *)local_34" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n        FUN_001e6db0(local_34);\n      }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) })) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);" (call_expression "FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2)" identifier (argument_list "("../../gold/script.cc",0xba4,"script_register_vers_node",param_2)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""script_register_vers_node"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }))) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) }))))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}" (primitive_type "void") (function_declarator "FUN_0016bde0(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)" (identifier "FUN_0016bde0") (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 *param_4,undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16bde9;\n  if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 *__dest;" (type_identifier "undefined4") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "undefined4 *local_34;" (type_identifier "undefined4") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "size_t local_30;" (primitive_type "size_t") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c [6];" (type_identifier "undefined4") (array_declarator "local_2c [6]" (identifier "local_2c") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x16bde9;" (assignment_expression "uStack_14 = 0x16bde9" (identifier "uStack_14") (= "=") (number_literal "0x16bde9")) (; ";")) (if_statement "if (param_4 != (undefined4 *)0x0) {\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(param_4 != (undefined4 *)0x0)" (( "(") (binary_expression "param_4 != (undefined4 *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_4[8] = param_5;\n    if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }\n    return;\n  }" ({ "{") (expression_statement "param_4[8] = param_5;" (assignment_expression "param_4[8] = param_5" (subscript_expression "param_4[8]" (identifier "param_4") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "param_5")) (; ";")) (if_statement "if (param_2 != 0) {\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_34 = local_2c;\n      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);\n      __dest = (undefined4 *)*param_4;\n      if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }\n      local_30 = 0;\n      *(undefined1 *)local_34 = 0;\n      if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }\n    }" ({ "{") (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "FUN_00050e40(&local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_00050e40(&local_34,param_2,param_3 + param_2,0)" (identifier "FUN_00050e40") (argument_list "(&local_34,param_2,param_3 + param_2,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + param_2" (identifier "param_3") (+ "+") (identifier "param_2")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (if_statement "if (local_34 == local_2c) {\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }\n      else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" (if "if") (parenthesized_expression "(local_34 == local_2c)" (( "(") (binary_expression "local_34 == local_2c" (identifier "local_34") (== "==") (identifier "local_2c")) () ")")) (compound_statement "{\n        if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }\n        param_4[1] = local_30;\n        *(undefined1 *)((int)__dest + local_30) = 0;\n      }" ({ "{") (if_statement "if (local_30 != 0) {\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }\n        }" ({ "{") (if_statement "if (local_30 == 1) {\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }\n          else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" (if "if") (parenthesized_expression "(local_30 == 1)" (( "(") (binary_expression "local_30 == 1" (identifier "local_30") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            *(undefined1 *)__dest = (undefined1)local_2c[0];\n            __dest = (undefined4 *)*param_4;\n          }" ({ "{") (expression_statement "*(undefined1 *)__dest = (undefined1)local_2c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_2c[0]" (pointer_expression "*(undefined1 *)__dest" (* "*") (cast_expression "(undefined1 *)__dest" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest"))) (= "=") (cast_expression "(undefined1)local_2c[0]" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (} "}")) (else_clause "else {\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" (else "else") (compound_statement "{\n            memcpy(__dest,local_2c,local_30);\n            __dest = (undefined4 *)*param_4;\n          }" ({ "{") (expression_statement "memcpy(__dest,local_2c,local_30);" (call_expression "memcpy(__dest,local_2c,local_30)" (identifier "memcpy") (argument_list "(__dest,local_2c,local_30)" (( "(") (identifier "__dest") (, ",") (identifier "local_2c") (, ",") (identifier "local_30") () ")"))) (; ";")) (expression_statement "__dest = (undefined4 *)*param_4;" (assignment_expression "__dest = (undefined4 *)*param_4" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)*param_4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (} "}")))) (} "}"))) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined1 *)((int)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_30)" (* "*") (cast_expression "(undefined1 *)((int)__dest + local_30)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + local_30)" (( "(") (binary_expression "(int)__dest + local_30" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "local_30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" (else "else") (if_statement "if (__dest == param_4 + 2) {\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }\n      else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" (if "if") (parenthesized_expression "(__dest == param_4 + 2)" (( "(") (binary_expression "__dest == param_4 + 2" (identifier "__dest") (== "==") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n        *param_4 = local_34;\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n      }" ({ "{") (expression_statement "*param_4 = local_34;" (assignment_expression "*param_4 = local_34" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "param_4[2] = local_2c[0];" (assignment_expression "param_4[2] = local_2c[0]" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" (else "else") (compound_statement "{\n        *param_4 = local_34;\n        uVar1 = param_4[2];\n        param_4[1] = local_30;\n        param_4[2] = local_2c[0];\n        local_34 = local_2c;\n        if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }\n      }" ({ "{") (expression_statement "*param_4 = local_34;" (assignment_expression "*param_4 = local_34" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "uVar1 = param_4[2];" (assignment_expression "uVar1 = param_4[2]" (identifier "uVar1") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_4[1] = local_30;" (assignment_expression "param_4[1] = local_30" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "param_4[2] = local_2c[0];" (assignment_expression "param_4[2] = local_2c[0]" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (if_statement "if (__dest != (undefined4 *)0x0) {\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }" (if "if") (parenthesized_expression "(__dest != (undefined4 *)0x0)" (( "(") (binary_expression "__dest != (undefined4 *)0x0" (identifier "__dest") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          local_34 = __dest;\n          local_2c[0] = uVar1;\n        }" ({ "{") (expression_statement "local_34 = __dest;" (assignment_expression "local_34 = __dest" (identifier "local_34") (= "=") (identifier "__dest")) (; ";")) (expression_statement "local_2c[0] = uVar1;" (assignment_expression "local_2c[0] = uVar1" (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (} "}")))))) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" (* "*") (cast_expression "(undefined1 *)local_34" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_34"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_34 != local_2c) {\n        FUN_001e6db0(local_34);\n      }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n        FUN_001e6db0(local_34);\n      }" ({ "{") (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" (identifier "FUN_001e6db0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);" (call_expression "FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/script.cc",0xba4,"script_register_vers_node",param_2)" (( "(") (string_literal ""../../gold/script.cc"" (" """) (string_content "../../gold/script.cc") (" """)) (, ",") (number_literal "0xba4") (, ",") (string_literal ""script_register_vers_node"" (" """) (string_content "script_register_vers_node") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1
               (void *param_1,char *var_9,int var_12,type_1 *var_8,type_2 *deps)

{
  anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
  *var_5;
  type_3 sVar1;
  anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
  *var_6;
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> var_7;
  type_4 uStack_14;
  
  uStack_14 = 0x16bde9;
  if (var_8 != (type_1 *)0x0) {
    var_8->dependencies = deps;
    if (var_9 != (char *)0x0) {
      var_5 = &var_7.field_2;
      var_7._M_dataplus._M_p = (type_5)var_5;
      std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
      var_10<var_11*>(&var_7,var_9,var_9 + var_12,0);
      var_6 = (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                *)(var_8->var_9)._M_dataplus._M_p;
      if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
           *)var_7._M_dataplus._M_p == var_5) {
        if (var_7._M_string_length != 0) {
          if (var_7._M_string_length == 1) {
            var_6->_M_local_buf[0] = var_7.field_2._M_local_buf[0];
            var_6 = (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                      *)(var_8->var_9)._M_dataplus._M_p;
          }
          else {
            var_13(var_6,var_5,var_7._M_string_length);
            var_6 = (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                      *)(var_8->var_9)._M_dataplus._M_p;
          }
        }
        (var_8->var_9)._M_string_length = var_7._M_string_length;
        var_6->_M_local_buf[var_7._M_string_length] = '\0';
      }
      else if (var_6 == &(var_8->var_9).field_2) {
        (var_8->var_9)._M_dataplus._M_p = var_7._M_dataplus._M_p;
        (var_8->var_9)._M_string_length = var_7._M_string_length;
        (var_8->var_9).field_2._M_allocated_capacity = var_7.field_2._M_allocated_capacity;
        var_7._M_dataplus._M_p = (type_5)var_5;
      }
      else {
        (var_8->var_9)._M_dataplus._M_p = var_7._M_dataplus._M_p;
        sVar1 = (var_8->var_9).field_2._M_allocated_capacity;
        (var_8->var_9)._M_string_length = var_7._M_string_length;
        (var_8->var_9).field_2._M_allocated_capacity = var_7.field_2._M_allocated_capacity;
        var_7._M_dataplus._M_p = (type_5)var_5;
        if (var_6 != (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                       *)0x0) {
          var_7._M_dataplus._M_p = (type_5)var_6;
          var_7.field_2._M_allocated_capacity = sVar1;
        }
      }
      var_7._M_string_length = 0;
      *var_7._M_dataplus._M_p = '\0';
      if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
           *)var_7._M_dataplus._M_p != &var_7.field_2) {
        var_14(var_7._M_dataplus._M_p);
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::var_15("../../gold/script.cc",0xba4,"script_register_vers_node");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (binary_expression left: (identifier) right: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

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

{
  undefined4 uVar1;
  undefined4 *__dest;
  undefined4 *local_34;
  size_t local_30;
  undefined4 local_2c [6];
  undefined4 uStack_14;
  
  uStack_14 = 0x16bde9;
  if (param_4 != (undefined4 *)0x0) {
    param_4[8] = param_5;
    if (param_2 != 0) {
      local_34 = local_2c;
      FUN_00050e40(&local_34,param_2,param_3 + param_2,0);
      __dest = (undefined4 *)*param_4;
      if (local_34 == local_2c) {
        if (local_30 != 0) {
          if (local_30 == 1) {
            *(undefined1 *)__dest = (undefined1)local_2c[0];
            __dest = (undefined4 *)*param_4;
          }
          else {
            memcpy(__dest,local_2c,local_30);
            __dest = (undefined4 *)*param_4;
          }
        }
        param_4[1] = local_30;
        *(undefined1 *)((int)__dest + local_30) = 0;
      }
      else if (__dest == param_4 + 2) {
        *param_4 = local_34;
        param_4[1] = local_30;
        param_4[2] = local_2c[0];
        local_34 = local_2c;
      }
      else {
        *param_4 = local_34;
        uVar1 = param_4[2];
        param_4[1] = local_30;
        param_4[2] = local_2c[0];
        local_34 = local_2c;
        if (__dest != (undefined4 *)0x0) {
          local_34 = __dest;
          local_2c[0] = uVar1;
        }
      }
      local_30 = 0;
      *(undefined1 *)local_34 = 0;
      if (local_34 != local_2c) {
        FUN_001e6db0(local_34);
      }
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/script.cc",0xba4,"script_register_vers_node",param_2);
}

