
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void emit_copy_reloc(Copy_relocs<4,_32,_true> * this, Symbol_table *
   symtab, Sized_symbol<32> * sym, Output_data * posd, off_t offset,
   Output_data_reloc<4,_true,_32,_true> * reloc_section) */

void __thiscall
gold::Copy_relocs<4,_32,_true>::emit_copy_reloc
          (Copy_relocs<4,_32,_true> *this,Symbol_table *symtab,Sized_symbol<32> *sym,
          Output_data *posd,off_t offset,Output_data_reloc<4,_true,_32,_true> *reloc_section)

{
}



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

void FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,
                 int param_6,int *param_7)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int iVar4;
  undefined4 local_38;
  int local_34;
  undefined4 local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xbfa29;
  FUN_001f8b10(param_2,param_3,param_4,param_5);
  if (*(code **)(*param_7 + 100) != FUN_000ac580) {
    (**(code **)(*param_7 + 100))
              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);
    return;
  }
  if (param_6 == 0) {
    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);
    local_20 = 0;
    puVar1 = (undefined4 *)param_7[0xe];
    if (puVar1 == (undefined4 *)param_7[0xf]) {
      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);
      puVar2 = (undefined4 *)param_7[0xe];
    }
    else {
      puVar2 = puVar1 + 7;
      *puVar1 = local_38;
      puVar1[1] = local_34;
      puVar1[2] = local_30;
      puVar1[3] = local_2c;
      puVar1[4] = local_28;
      puVar1[5] = local_24;
      puVar1[6] = 0;
      param_7[0xe] = (int)puVar2;
    }
    iVar3 = (int)puVar2 - param_7[0xd] >> 2;
    iVar4 = iVar3 * -0x6db6db6c;
    if ((*(byte *)(param_7 + 7) & 2) == 0) {
      param_7[3] = iVar4;
      param_7[4] = 0;
      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;
      if ((local_28 & 0x10000000) != 0) {
        param_7[0xb] = param_7[0xb] + 1;
      }
      if ((local_24 != -4) && (local_34 != 0)) {
        if (*(int *)(local_34 + 100) == 0) {
          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;
        }
        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;
      }
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x3545d7
SUB ESP,0x3c
MOV EBP,dword ptr [ESP + 0x60]
MOV ESI,dword ptr [ESP + 0x64]
MOV EDI,dword ptr [ESP + 0x68]
PUSH EBP
PUSH dword ptr [ESP + 0x60]
PUSH dword ptr [ESP + 0x60]
PUSH dword ptr [ESP + 0x60]
CALL 0x001f8b10
MOV EDX,dword ptr [EDI]
MOV dword ptr [ESP + 0x18],EBP
MOV dword ptr [ESP + 0x1c],ESI
MOV EAX,dword ptr [EDX + 0x64]
MOV EDX,dword ptr [ESP + 0x60]
ADD ESP,0x10
MOV ECX,dword ptr [EDX + 0xc]
LEA EDX,[EBX + 0xffc98580]
CMP EAX,EDX
JNZ 0x000bfb60
TEST ESI,ESI
JNZ 0x000bfba1
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH EBP
PUSH dword ptr [ESP + 0x6c]
PUSH ECX
PUSH dword ptr [ESP + 0x70]
LEA EBP,[ESP + 0x30]
PUSH EBP
CALL 0x0016d7b0
MOV dword ptr [ESP + 0x4c],0x0
MOV EAX,dword ptr [EDI + 0x38]
ADD ESP,0x20
CMP EAX,dword ptr [EDI + 0x3c]
JZ 0x000bfb88
MOV EDX,dword ptr [ESP + 0x14]
ADD EAX,0x1c
MOV dword ptr [EAX + -0x1c],EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + -0x18],EDX
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX + -0x14],EDX
MOV EDX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX + -0x10],EDX
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + -0xc],EDX
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [EAX + -0x8],EDX
MOV EDX,dword ptr [ESP + 0x2c]
MOV dword ptr [EAX + -0x4],EDX
MOV dword ptr [EDI + 0x38],EAX
SUB EAX,dword ptr [EDI + 0x34]
XOR EDX,EDX
SAR EAX,0x2
IMUL ECX,EAX,-0x49249249
LEA EAX,[ECX + ECX*0x2]
SHL EAX,0x2
TEST byte ptr [EDI + 0x1c],0x2
JNZ 0x000bfbba
MOV dword ptr [EDI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [EDI + 0x10],EDX
OR byte ptr [EAX + 0x1c],0x10
TEST byte ptr [ESP + 0x27],0x10
JNZ 0x000bfb40
CMP dword ptr [ESP + 0x28],-0x4
MOV EAX,dword ptr [ESP + 0x18]
JZ 0x000bfb34
TEST EAX,EAX
JZ 0x000bfb34
MOV EDX,dword ptr [EAX + 0x64]
TEST EDX,EDX
JZ 0x000bfb50
ADD EDX,0x1
MOV dword ptr [EAX + 0x64],EDX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD dword ptr [EDI + 0x2c],0x1
JMP 0x000bfb18
SUB ECX,0x1
MOV dword ptr [EAX + 0x60],ECX
JMP 0x000bfb2e
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x6c]
PUSH ECX
PUSH dword ptr [ESP + 0x70]
PUSH EDI
CALL EAX
ADD ESP,0x20
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH EBP
PUSH EAX
LEA EAX,[EDI + 0x34]
PUSH EAX
CALL 0x000abfc0
MOV EAX,dword ptr [EDI + 0x38]
ADD ESP,0x10
JMP 0x000bfae5
LEA EAX,[EBX + 0xffee5020]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffee33bc]
PUSH 0xc0
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffee5000]
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0x231
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}\n\n" comment (function_definition "void FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}" primitive_type (function_declarator "FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xbfa29;" (assignment_expression "uStack_14 = 0xbfa29" identifier = number_literal) ;) (expression_statement "FUN_001f8b10(param_2,param_3,param_4,param_5);" (call_expression "FUN_001f8b10(param_2,param_3,param_4,param_5)" identifier (argument_list "(param_2,param_3,param_4,param_5)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_7 + 100) != FUN_000ac580)" ( (binary_expression "*(code **)(*param_7 + 100) != FUN_000ac580" (pointer_expression "*(code **)(*param_7 + 100)" * (cast_expression "(code **)(*param_7 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_7 + 100)" ( (binary_expression "*param_7 + 100" (pointer_expression "*param_7" * identifier) + number_literal) )))) != identifier) )) (compound_statement "{\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }" { (expression_statement "(**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);" (call_expression "(**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0)" (parenthesized_expression "(**(code **)(*param_7 + 100))" ( (pointer_expression "**(code **)(*param_7 + 100)" * (pointer_expression "*(code **)(*param_7 + 100)" * (cast_expression "(code **)(*param_7 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_7 + 100)" ( (binary_expression "*param_7 + 100" (pointer_expression "*param_7" * identifier) + number_literal) ))))) )) (argument_list "(param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }" { (expression_statement "FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);" (call_expression "FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0)" identifier (argument_list "(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0)" ( (pointer_expression "&local_38" & identifier) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined4 *)param_7[0xe];" (assignment_expression "puVar1 = (undefined4 *)param_7[0xe]" identifier = (cast_expression "(undefined4 *)param_7[0xe]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[0xe]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" if (parenthesized_expression "(puVar1 == (undefined4 *)param_7[0xf])" ( (binary_expression "puVar1 == (undefined4 *)param_7[0xf]" identifier == (cast_expression "(undefined4 *)param_7[0xf]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[0xf]" identifier [ number_literal ]))) )) (compound_statement "{\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }" { (expression_statement "FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);" (call_expression "FUN_000abfc0(param_7 + 0xd,puVar1,&local_38)" identifier (argument_list "(param_7 + 0xd,puVar1,&local_38)" ( (binary_expression "param_7 + 0xd" identifier + number_literal) , identifier , (pointer_expression "&local_38" & identifier) ))) ;) (expression_statement "puVar2 = (undefined4 *)param_7[0xe];" (assignment_expression "puVar2 = (undefined4 *)param_7[0xe]" identifier = (cast_expression "(undefined4 *)param_7[0xe]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[0xe]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" else (compound_statement "{\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" { (expression_statement "puVar2 = puVar1 + 7;" (assignment_expression "puVar2 = puVar1 + 7" identifier = (binary_expression "puVar1 + 7" identifier + number_literal)) ;) (expression_statement "*puVar1 = local_38;" (assignment_expression "*puVar1 = local_38" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = local_34;" (assignment_expression "puVar1[1] = local_34" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = local_30;" (assignment_expression "puVar1[2] = local_30" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = local_2c;" (assignment_expression "puVar1[3] = local_2c" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = local_28;" (assignment_expression "puVar1[4] = local_28" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = local_24;" (assignment_expression "puVar1[5] = local_24" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_7[0xe] = (int)puVar2;" (assignment_expression "param_7[0xe] = (int)puVar2" (subscript_expression "param_7[0xe]" identifier [ number_literal ]) = (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "iVar3 = (int)puVar2 - param_7[0xd] >> 2;" (assignment_expression "iVar3 = (int)puVar2 - param_7[0xd] >> 2" identifier = (binary_expression "(int)puVar2 - param_7[0xd] >> 2" (binary_expression "(int)puVar2 - param_7[0xd]" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (subscript_expression "param_7[0xd]" identifier [ number_literal ])) >> number_literal)) ;) (expression_statement "iVar4 = iVar3 * -0x6db6db6c;" (assignment_expression "iVar4 = iVar3 * -0x6db6db6c" identifier = (binary_expression "iVar3 * -0x6db6db6c" identifier * number_literal)) ;) (if_statement "if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }" if (parenthesized_expression "((*(byte *)(param_7 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(param_7 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(param_7 + 7) & 2)" ( (binary_expression "*(byte *)(param_7 + 7) & 2" (pointer_expression "*(byte *)(param_7 + 7)" * (cast_expression "(byte *)(param_7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + 7)" ( (binary_expression "param_7 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }" { (expression_statement "param_7[3] = iVar4;" (assignment_expression "param_7[3] = iVar4" (subscript_expression "param_7[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_7[4] = 0;" (assignment_expression "param_7[4] = 0" (subscript_expression "param_7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;" (assignment_expression "*(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_4 + 0x1c) | 0x10" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }" if (parenthesized_expression "((local_28 & 0x10000000) != 0)" ( (binary_expression "(local_28 & 0x10000000) != 0" (parenthesized_expression "(local_28 & 0x10000000)" ( (binary_expression "local_28 & 0x10000000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        param_7[0xb] = param_7[0xb] + 1;\n      }" { (expression_statement "param_7[0xb] = param_7[0xb] + 1;" (assignment_expression "param_7[0xb] = param_7[0xb] + 1" (subscript_expression "param_7[0xb]" identifier [ number_literal ]) = (binary_expression "param_7[0xb] + 1" (subscript_expression "param_7[0xb]" identifier [ number_literal ]) + number_literal)) ;) })) (if_statement "if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }" if (parenthesized_expression "((local_24 != -4) && (local_34 != 0))" ( (binary_expression "(local_24 != -4) && (local_34 != 0)" (parenthesized_expression "(local_24 != -4)" ( (binary_expression "local_24 != -4" identifier != number_literal) )) && (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }" { (if_statement "if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }" if (parenthesized_expression "(*(int *)(local_34 + 100) == 0)" ( (binary_expression "*(int *)(local_34 + 100) == 0" (pointer_expression "*(int *)(local_34 + 100)" * (cast_expression "(int *)(local_34 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 100)" ( (binary_expression "local_34 + 100" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }" { (expression_statement "*(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;" (assignment_expression "*(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1" (pointer_expression "*(int *)(local_34 + 0x60)" * (cast_expression "(int *)(local_34 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 0x60)" ( (binary_expression "local_34 + 0x60" identifier + number_literal) )))) = (binary_expression "iVar3 * -0x49249249 + -1" (binary_expression "iVar3 * -0x49249249" identifier * number_literal) + number_literal)) ;) })) (expression_statement "*(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;" (assignment_expression "*(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1" (pointer_expression "*(int *)(local_34 + 100)" * (cast_expression "(int *)(local_34 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 100)" ( (binary_expression "local_34 + 100" identifier + number_literal) )))) = (binary_expression "*(int *)(local_34 + 100) + 1" (pointer_expression "*(int *)(local_34 + 100)" * (cast_expression "(int *)(local_34 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 100)" ( (binary_expression "local_34 + 100" identifier + number_literal) )))) + number_literal)) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);" (call_expression "FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4)" identifier (argument_list "("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_current_data_size_for_child"" " string_content ") , identifier ))) ;) })) comment (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void emit_copy_reloc(Copy_relocs<4,_32,_true> * this, Symbol_table *\n   symtab, Sized_symbol<32> * sym, Output_data * posd, off_t offset,\n   Output_data_reloc<4,_true,_32,_true> * reloc_section) */\n\nvoid __thiscall\ngold::Copy_relocs<4,_32,_true>::emit_copy_reloc\n          (Copy_relocs<4,_32,_true> *this,Symbol_table *symtab,Sized_symbol<32> *sym,\n          Output_data *posd,off_t offset,Output_data_reloc<4,_true,_32,_true> *reloc_section)\n\n{\n}\n\n" comment comment (ERROR "void __thiscall\ngold::Copy_relocs<4,_32,_true>::emit_copy_reloc\n          (Copy_relocs<4,_32,_true> *this,Symbol_table *symtab,Sized_symbol<32> *sym,\n          Output_data *posd,off_t offset,Output_data_reloc<4,_true,_32,_true> *reloc_section)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<4" < number_literal) , identifier , (ERROR "_true>::" identifier > : :) (function_declarator "emit_copy_reloc\n          (Copy_relocs<4,_32,_true> *this,Symbol_table *symtab,Sized_symbol<32> *sym,\n          Output_data *posd,off_t offset,Output_data_reloc<4,_true,_32,_true> *reloc_section)" identifier (parameter_list "(Copy_relocs<4,_32,_true> *this,Symbol_table *symtab,Sized_symbol<32> *sym,\n          Output_data *posd,off_t offset,Output_data_reloc<4,_true,_32,_true> *reloc_section)" ( (parameter_declaration "Copy_relocs" type_identifier) (ERROR "<4" < number_literal) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Sized_symbol<32> *sym" type_identifier (ERROR "<32>" < number_literal >) (pointer_declarator "*sym" * identifier)) , (parameter_declaration "Output_data *posd" type_identifier (pointer_declarator "*posd" * identifier)) , (parameter_declaration "off_t offset" type_identifier identifier) , (parameter_declaration "Output_data_reloc" type_identifier) (ERROR "<4" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_true> *reloc_section" type_identifier (ERROR ">" >) (pointer_declarator "*reloc_section" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    \n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}\n\n" (function_definition "void FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    \n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}" primitive_type (function_declarator "FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    \n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xbfa29;" (assignment_expression "uStack_14 = 0xbfa29" identifier = number_literal) ;) (expression_statement "FUN_001f8b10(param_2,param_3,param_4,param_5);" (call_expression "FUN_001f8b10(param_2,param_3,param_4,param_5)" identifier (argument_list "(param_2,param_3,param_4,param_5)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_7 + 100) != FUN_000ac580)" ( (binary_expression "*(code **)(*param_7 + 100) != FUN_000ac580" (pointer_expression "*(code **)(*param_7 + 100)" * (cast_expression "(code **)(*param_7 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_7 + 100)" ( (binary_expression "*param_7 + 100" (pointer_expression "*param_7" * identifier) + number_literal) )))) != identifier) )) (compound_statement "{\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }" { (expression_statement "(**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);" (call_expression "(**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0)" (parenthesized_expression "(**(code **)(*param_7 + 100))" ( (pointer_expression "**(code **)(*param_7 + 100)" * (pointer_expression "*(code **)(*param_7 + 100)" * (cast_expression "(code **)(*param_7 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_7 + 100)" ( (binary_expression "*param_7 + 100" (pointer_expression "*param_7" * identifier) + number_literal) ))))) )) (argument_list "(param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }" { (expression_statement "FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);" (call_expression "FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0)" identifier (argument_list "(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0)" ( (pointer_expression "&local_38" & identifier) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined4 *)param_7[0xe];" (assignment_expression "puVar1 = (undefined4 *)param_7[0xe]" identifier = (cast_expression "(undefined4 *)param_7[0xe]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[0xe]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" if (parenthesized_expression "(puVar1 == (undefined4 *)param_7[0xf])" ( (binary_expression "puVar1 == (undefined4 *)param_7[0xf]" identifier == (cast_expression "(undefined4 *)param_7[0xf]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[0xf]" identifier [ number_literal ]))) )) (compound_statement "{\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }" { (expression_statement "FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);" (call_expression "FUN_000abfc0(param_7 + 0xd,puVar1,&local_38)" identifier (argument_list "(param_7 + 0xd,puVar1,&local_38)" ( (binary_expression "param_7 + 0xd" identifier + number_literal) , identifier , (pointer_expression "&local_38" & identifier) ))) ;) (expression_statement "puVar2 = (undefined4 *)param_7[0xe];" (assignment_expression "puVar2 = (undefined4 *)param_7[0xe]" identifier = (cast_expression "(undefined4 *)param_7[0xe]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[0xe]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" else (compound_statement "{\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" { (expression_statement "puVar2 = puVar1 + 7;" (assignment_expression "puVar2 = puVar1 + 7" identifier = (binary_expression "puVar1 + 7" identifier + number_literal)) ;) (expression_statement "*puVar1 = local_38;" (assignment_expression "*puVar1 = local_38" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = local_34;" (assignment_expression "puVar1[1] = local_34" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = local_30;" (assignment_expression "puVar1[2] = local_30" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = local_2c;" (assignment_expression "puVar1[3] = local_2c" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = local_28;" (assignment_expression "puVar1[4] = local_28" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = local_24;" (assignment_expression "puVar1[5] = local_24" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_7[0xe] = (int)puVar2;" (assignment_expression "param_7[0xe] = (int)puVar2" (subscript_expression "param_7[0xe]" identifier [ number_literal ]) = (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "iVar3 = (int)puVar2 - param_7[0xd] >> 2;" (assignment_expression "iVar3 = (int)puVar2 - param_7[0xd] >> 2" identifier = (binary_expression "(int)puVar2 - param_7[0xd] >> 2" (binary_expression "(int)puVar2 - param_7[0xd]" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (subscript_expression "param_7[0xd]" identifier [ number_literal ])) >> number_literal)) ;) (expression_statement "iVar4 = iVar3 * -0x6db6db6c;" (assignment_expression "iVar4 = iVar3 * -0x6db6db6c" identifier = (binary_expression "iVar3 * -0x6db6db6c" identifier * number_literal)) ;) (if_statement "if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }" if (parenthesized_expression "((*(byte *)(param_7 + 7) & 2) == 0)" ( (binary_expression "(*(byte *)(param_7 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(param_7 + 7) & 2)" ( (binary_expression "*(byte *)(param_7 + 7) & 2" (pointer_expression "*(byte *)(param_7 + 7)" * (cast_expression "(byte *)(param_7 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_7 + 7)" ( (binary_expression "param_7 + 7" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }" { (expression_statement "param_7[3] = iVar4;" (assignment_expression "param_7[3] = iVar4" (subscript_expression "param_7[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_7[4] = 0;" (assignment_expression "param_7[4] = 0" (subscript_expression "param_7[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;" (assignment_expression "*(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_4 + 0x1c) | 0x10" (pointer_expression "*(byte *)(param_4 + 0x1c)" * (cast_expression "(byte *)(param_4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x1c)" ( (binary_expression "param_4 + 0x1c" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }" if (parenthesized_expression "((local_28 & 0x10000000) != 0)" ( (binary_expression "(local_28 & 0x10000000) != 0" (parenthesized_expression "(local_28 & 0x10000000)" ( (binary_expression "local_28 & 0x10000000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        param_7[0xb] = param_7[0xb] + 1;\n      }" { (expression_statement "param_7[0xb] = param_7[0xb] + 1;" (assignment_expression "param_7[0xb] = param_7[0xb] + 1" (subscript_expression "param_7[0xb]" identifier [ number_literal ]) = (binary_expression "param_7[0xb] + 1" (subscript_expression "param_7[0xb]" identifier [ number_literal ]) + number_literal)) ;) })) (if_statement "if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }" if (parenthesized_expression "((local_24 != -4) && (local_34 != 0))" ( (binary_expression "(local_24 != -4) && (local_34 != 0)" (parenthesized_expression "(local_24 != -4)" ( (binary_expression "local_24 != -4" identifier != number_literal) )) && (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }" { (if_statement "if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }" if (parenthesized_expression "(*(int *)(local_34 + 100) == 0)" ( (binary_expression "*(int *)(local_34 + 100) == 0" (pointer_expression "*(int *)(local_34 + 100)" * (cast_expression "(int *)(local_34 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 100)" ( (binary_expression "local_34 + 100" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }" { (expression_statement "*(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;" (assignment_expression "*(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1" (pointer_expression "*(int *)(local_34 + 0x60)" * (cast_expression "(int *)(local_34 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 0x60)" ( (binary_expression "local_34 + 0x60" identifier + number_literal) )))) = (binary_expression "iVar3 * -0x49249249 + -1" (binary_expression "iVar3 * -0x49249249" identifier * number_literal) + number_literal)) ;) })) (expression_statement "*(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;" (assignment_expression "*(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1" (pointer_expression "*(int *)(local_34 + 100)" * (cast_expression "(int *)(local_34 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 100)" ( (binary_expression "local_34 + 100" identifier + number_literal) )))) = (binary_expression "*(int *)(local_34 + 100) + 1" (pointer_expression "*(int *)(local_34 + 100)" * (cast_expression "(int *)(local_34 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 100)" ( (binary_expression "local_34 + 100" identifier + number_literal) )))) + number_literal)) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);" (call_expression "FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4)" identifier (argument_list "("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_current_data_size_for_child"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " 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 IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT , LIT , LIT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , LIT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (subscript_expression IDENT [ LIT ])) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    \n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}" (primitive_type "void") (function_declarator "FUN_000bfa20(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)" (identifier "FUN_000bfa20") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined4 param_5,\n                 int param_6,int *param_7)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int *param_7" (primitive_type "int") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 local_38;\n  int local_34;\n  undefined4 local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xbfa29;\n  FUN_001f8b10(param_2,param_3,param_4,param_5);\n  if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }\n  if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }\n                    \n  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xbfa29;" (assignment_expression "uStack_14 = 0xbfa29" (identifier "uStack_14") (= "=") (number_literal "0xbfa29")) (; ";")) (expression_statement "FUN_001f8b10(param_2,param_3,param_4,param_5);" (call_expression "FUN_001f8b10(param_2,param_3,param_4,param_5)" (identifier "FUN_001f8b10") (argument_list "(param_2,param_3,param_4,param_5)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")"))) (; ";")) (if_statement "if (*(code **)(*param_7 + 100) != FUN_000ac580) {\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_7 + 100) != FUN_000ac580)" (( "(") (binary_expression "*(code **)(*param_7 + 100) != FUN_000ac580" (pointer_expression "*(code **)(*param_7 + 100)" (* "*") (cast_expression "(code **)(*param_7 + 100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_7 + 100)" (( "(") (binary_expression "*param_7 + 100" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (+ "+") (number_literal "100")) () ")")))) (!= "!=") (identifier "FUN_000ac580")) () ")")) (compound_statement "{\n    (**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);" (call_expression "(**(code **)(*param_7 + 100))\n              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0)" (parenthesized_expression "(**(code **)(*param_7 + 100))" (( "(") (pointer_expression "**(code **)(*param_7 + 100)" (* "*") (pointer_expression "*(code **)(*param_7 + 100)" (* "*") (cast_expression "(code **)(*param_7 + 100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_7 + 100)" (( "(") (binary_expression "*param_7 + 100" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (+ "+") (number_literal "100")) () ")"))))) () ")")) (argument_list "(param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0)" (( "(") (identifier "param_7") (, ",") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_6 == 0) {\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }" (if "if") (parenthesized_expression "(param_6 == 0)" (( "(") (binary_expression "param_6 == 0" (identifier "param_6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);\n    local_20 = 0;\n    puVar1 = (undefined4 *)param_7[0xe];\n    if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }\n    iVar3 = (int)puVar2 - param_7[0xd] >> 2;\n    iVar4 = iVar3 * -0x6db6db6c;\n    if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }\n                    \n    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);\n  }" ({ "{") (expression_statement "FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);" (call_expression "FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0)" (identifier "FUN_0016d7b0") (argument_list "(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = (undefined4 *)param_7[0xe];" (assignment_expression "puVar1 = (undefined4 *)param_7[0xe]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)param_7[0xe]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[0xe]" (identifier "param_7") ([ "[") (number_literal "0xe") (] "]")))) (; ";")) (if_statement "if (puVar1 == (undefined4 *)param_7[0xf]) {\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }\n    else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" (if "if") (parenthesized_expression "(puVar1 == (undefined4 *)param_7[0xf])" (( "(") (binary_expression "puVar1 == (undefined4 *)param_7[0xf]" (identifier "puVar1") (== "==") (cast_expression "(undefined4 *)param_7[0xf]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[0xf]" (identifier "param_7") ([ "[") (number_literal "0xf") (] "]")))) () ")")) (compound_statement "{\n      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);\n      puVar2 = (undefined4 *)param_7[0xe];\n    }" ({ "{") (expression_statement "FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);" (call_expression "FUN_000abfc0(param_7 + 0xd,puVar1,&local_38)" (identifier "FUN_000abfc0") (argument_list "(param_7 + 0xd,puVar1,&local_38)" (( "(") (binary_expression "param_7 + 0xd" (identifier "param_7") (+ "+") (number_literal "0xd")) (, ",") (identifier "puVar1") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)param_7[0xe];" (assignment_expression "puVar2 = (undefined4 *)param_7[0xe]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)param_7[0xe]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[0xe]" (identifier "param_7") ([ "[") (number_literal "0xe") (] "]")))) (; ";")) (} "}")) (else_clause "else {\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" (else "else") (compound_statement "{\n      puVar2 = puVar1 + 7;\n      *puVar1 = local_38;\n      puVar1[1] = local_34;\n      puVar1[2] = local_30;\n      puVar1[3] = local_2c;\n      puVar1[4] = local_28;\n      puVar1[5] = local_24;\n      puVar1[6] = 0;\n      param_7[0xe] = (int)puVar2;\n    }" ({ "{") (expression_statement "puVar2 = puVar1 + 7;" (assignment_expression "puVar2 = puVar1 + 7" (identifier "puVar2") (= "=") (binary_expression "puVar1 + 7" (identifier "puVar1") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "*puVar1 = local_38;" (assignment_expression "*puVar1 = local_38" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "puVar1[1] = local_34;" (assignment_expression "puVar1[1] = local_34" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar1[2] = local_30;" (assignment_expression "puVar1[2] = local_30" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "puVar1[3] = local_2c;" (assignment_expression "puVar1[3] = local_2c" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar1[4] = local_28;" (assignment_expression "puVar1[4] = local_28" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "puVar1[5] = local_24;" (assignment_expression "puVar1[5] = local_24" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_7[0xe] = (int)puVar2;" (assignment_expression "param_7[0xe] = (int)puVar2" (subscript_expression "param_7[0xe]" (identifier "param_7") ([ "[") (number_literal "0xe") (] "]")) (= "=") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) (; ";")) (} "}")))) (expression_statement "iVar3 = (int)puVar2 - param_7[0xd] >> 2;" (assignment_expression "iVar3 = (int)puVar2 - param_7[0xd] >> 2" (identifier "iVar3") (= "=") (binary_expression "(int)puVar2 - param_7[0xd] >> 2" (binary_expression "(int)puVar2 - param_7[0xd]" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (- "-") (subscript_expression "param_7[0xd]" (identifier "param_7") ([ "[") (number_literal "0xd") (] "]"))) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "iVar4 = iVar3 * -0x6db6db6c;" (assignment_expression "iVar4 = iVar3 * -0x6db6db6c" (identifier "iVar4") (= "=") (binary_expression "iVar3 * -0x6db6db6c" (identifier "iVar3") (* "*") (number_literal "-0x6db6db6c"))) (; ";")) (if_statement "if ((*(byte *)(param_7 + 7) & 2) == 0) {\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }" (if "if") (parenthesized_expression "((*(byte *)(param_7 + 7) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(param_7 + 7) & 2) == 0" (parenthesized_expression "(*(byte *)(param_7 + 7) & 2)" (( "(") (binary_expression "*(byte *)(param_7 + 7) & 2" (pointer_expression "*(byte *)(param_7 + 7)" (* "*") (cast_expression "(byte *)(param_7 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_7 + 7)" (( "(") (binary_expression "param_7 + 7" (identifier "param_7") (+ "+") (number_literal "7")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_7[3] = iVar4;\n      param_7[4] = 0;\n      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;\n      if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }\n      if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }\n      return;\n    }" ({ "{") (expression_statement "param_7[3] = iVar4;" (assignment_expression "param_7[3] = iVar4" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "param_7[4] = 0;" (assignment_expression "param_7[4] = 0" (subscript_expression "param_7[4]" (identifier "param_7") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;" (assignment_expression "*(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10" (pointer_expression "*(byte *)(param_4 + 0x1c)" (* "*") (cast_expression "(byte *)(param_4 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x1c)" (( "(") (binary_expression "param_4 + 0x1c" (identifier "param_4") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "*(byte *)(param_4 + 0x1c) | 0x10" (pointer_expression "*(byte *)(param_4 + 0x1c)" (* "*") (cast_expression "(byte *)(param_4 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x1c)" (( "(") (binary_expression "param_4 + 0x1c" (identifier "param_4") (+ "+") (number_literal "0x1c")) () ")")))) (| "|") (number_literal "0x10"))) (; ";")) (if_statement "if ((local_28 & 0x10000000) != 0) {\n        param_7[0xb] = param_7[0xb] + 1;\n      }" (if "if") (parenthesized_expression "((local_28 & 0x10000000) != 0)" (( "(") (binary_expression "(local_28 & 0x10000000) != 0" (parenthesized_expression "(local_28 & 0x10000000)" (( "(") (binary_expression "local_28 & 0x10000000" (identifier "local_28") (& "&") (number_literal "0x10000000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        param_7[0xb] = param_7[0xb] + 1;\n      }" ({ "{") (expression_statement "param_7[0xb] = param_7[0xb] + 1;" (assignment_expression "param_7[0xb] = param_7[0xb] + 1" (subscript_expression "param_7[0xb]" (identifier "param_7") ([ "[") (number_literal "0xb") (] "]")) (= "=") (binary_expression "param_7[0xb] + 1" (subscript_expression "param_7[0xb]" (identifier "param_7") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if ((local_24 != -4) && (local_34 != 0)) {\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }" (if "if") (parenthesized_expression "((local_24 != -4) && (local_34 != 0))" (( "(") (binary_expression "(local_24 != -4) && (local_34 != 0)" (parenthesized_expression "(local_24 != -4)" (( "(") (binary_expression "local_24 != -4" (identifier "local_24") (!= "!=") (number_literal "-4")) () ")")) (&& "&&") (parenthesized_expression "(local_34 != 0)" (( "(") (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }\n        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;\n      }" ({ "{") (if_statement "if (*(int *)(local_34 + 100) == 0) {\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }" (if "if") (parenthesized_expression "(*(int *)(local_34 + 100) == 0)" (( "(") (binary_expression "*(int *)(local_34 + 100) == 0" (pointer_expression "*(int *)(local_34 + 100)" (* "*") (cast_expression "(int *)(local_34 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_34 + 100)" (( "(") (binary_expression "local_34 + 100" (identifier "local_34") (+ "+") (number_literal "100")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;\n        }" ({ "{") (expression_statement "*(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;" (assignment_expression "*(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1" (pointer_expression "*(int *)(local_34 + 0x60)" (* "*") (cast_expression "(int *)(local_34 + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_34 + 0x60)" (( "(") (binary_expression "local_34 + 0x60" (identifier "local_34") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (binary_expression "iVar3 * -0x49249249 + -1" (binary_expression "iVar3 * -0x49249249" (identifier "iVar3") (* "*") (number_literal "-0x49249249")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;" (assignment_expression "*(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1" (pointer_expression "*(int *)(local_34 + 100)" (* "*") (cast_expression "(int *)(local_34 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_34 + 100)" (( "(") (binary_expression "local_34 + 100" (identifier "local_34") (+ "+") (number_literal "100")) () ")")))) (= "=") (binary_expression "*(int *)(local_34 + 100) + 1" (pointer_expression "*(int *)(local_34 + 100)" (* "*") (cast_expression "(int *)(local_34 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_34 + 100)" (( "(") (binary_expression "local_34 + 100" (identifier "local_34") (+ "+") (number_literal "100")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);" (call_expression "FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4)" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x231") (, ",") (string_literal ""set_current_data_size_for_child"" (" """) (string_content "set_current_data_size_for_child") (" """)) (, ",") (identifier "iVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580)" (identifier "FUN_000da200") (argument_list "("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580)" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) (, ",") (identifier "FUN_000ac580") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void emit_copy_reloc(Copy_relocs<4,_32,_true> * this, Symbol_table *
   symtab, Sized_symbol<32> * sym, Output_data * posd, off_t offset,
   Output_data_reloc<4,_true,_32,_true> * reloc_section) */

void __thiscall
gold::Copy_relocs<4,_32,_true>::emit_copy_reloc
          (Copy_relocs<4,_32,_true> *this,Symbol_table *symtab,Sized_symbol<32> *sym,
          Output_data *posd,off_t offset,Output_data_reloc<4,_true,_32,_true> *reloc_section)

{
}


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

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

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

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int iVar4;
  undefined4 local_38;
  int local_34;
  undefined4 local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xbfa29;
  FUN_001f8b10(param_2,param_3,param_4,param_5);
  if (*(code **)(*param_7 + 100) != FUN_000ac580) {
    (**(code **)(*param_7 + 100))
              (param_7,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,param_6,0,0);
    return;
  }
  if (param_6 == 0) {
    FUN_0016d7b0(&local_38,param_3,*(undefined4 *)(param_1 + 0xc),param_4,param_5,0,0,0);
    local_20 = 0;
    puVar1 = (undefined4 *)param_7[0xe];
    if (puVar1 == (undefined4 *)param_7[0xf]) {
      FUN_000abfc0(param_7 + 0xd,puVar1,&local_38);
      puVar2 = (undefined4 *)param_7[0xe];
    }
    else {
      puVar2 = puVar1 + 7;
      *puVar1 = local_38;
      puVar1[1] = local_34;
      puVar1[2] = local_30;
      puVar1[3] = local_2c;
      puVar1[4] = local_28;
      puVar1[5] = local_24;
      puVar1[6] = 0;
      param_7[0xe] = (int)puVar2;
    }
    iVar3 = (int)puVar2 - param_7[0xd] >> 2;
    iVar4 = iVar3 * -0x6db6db6c;
    if ((*(byte *)(param_7 + 7) & 2) == 0) {
      param_7[3] = iVar4;
      param_7[4] = 0;
      *(byte *)(param_4 + 0x1c) = *(byte *)(param_4 + 0x1c) | 0x10;
      if ((local_28 & 0x10000000) != 0) {
        param_7[0xb] = param_7[0xb] + 1;
      }
      if ((local_24 != -4) && (local_34 != 0)) {
        if (*(int *)(local_34 + 100) == 0) {
          *(int *)(local_34 + 0x60) = iVar3 * -0x49249249 + -1;
        }
        *(int *)(local_34 + 100) = *(int *)(local_34 + 100) + 1;
      }
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0x231,"set_current_data_size_for_child",iVar4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/gold.h",0xc0,"convert_types",FUN_000ac580);
}

