
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_write(Output_data_brlt_powerpc<64,_false> * this, Output_file *
   of) */

void __thiscall
anon_unknown.dwarf_2af53c::Output_data_brlt_powerpc<64,_false>::do_write
          (Output_data_brlt_powerpc<64,_false> *this,Output_file *of)

{
}



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

void FUN_00054750(int param_1,int param_2)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  int *piVar7;
  undefined4 in_ECX;
  int *piVar8;
  
  iVar2 = *(int *)(DAT_004144e8 + 8);
  if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/parameters.h",0x5c,"options");
  }
  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {
    bVar1 = *(byte *)(param_1 + 0x1c);
    if ((bVar1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/output.h",0xe3,"offset");
    }
    uVar3 = *(uint *)(param_1 + 0x14);
    if ((bVar1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);
    }
    if (*(int *)(param_1 + 0x10) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);
    }
    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);
    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);
    iVar2 = *(int *)(param_2 + 0xc) - uVar5;
    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=
        (int)(iVar2 - uVar6) < 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);
    }
    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);
    iVar2 = *(int *)(param_2 + 0x10);
    if (piVar7 != (int *)0x0) {
      do {
        iVar4 = piVar7[2];
        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);
        *piVar8 = piVar7[1];
        piVar8[1] = iVar4;
        piVar7 = (int *)*piVar7;
      } while (piVar7 != (int *)0x0);
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x3bf8a7
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
LEA EDX,[EBX + 0x4e8]
MOV EDX,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0x8]
TEST EDX,EDX
JZ 0x00054816
CMP byte ptr [EDX + 0x1a25],0x0
JNZ 0x0005480e
CMP byte ptr [EDX + 0x2931],0x0
JNZ 0x0005480e
MOVZX EDX,byte ptr [EAX + 0x1c]
TEST DL,0x4
JZ 0x0005482c
MOV EDI,dword ptr [EAX + 0x14]
AND EDX,0x2
MOV dword ptr [ESP + 0xc],EDI
JZ 0x00054845
MOV EBP,dword ptr [EAX + 0xc]
XOR EDI,EDI
MOV ESI,EBP
XOR EBP,EBP
OR EBP,dword ptr [EAX + 0x10]
JNZ 0x0005485e
MOV EDX,dword ptr [ESP + 0xc]
XOR ECX,ECX
ADD ESI,EDX
ADC EDI,ECX
MOV ECX,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ECX + 0xc]
CMP dword ptr [ECX + 0x8],ESI
SBB EBP,EDI
JL 0x00054877
MOV EAX,dword ptr [EAX + 0x30]
MOV EDI,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [EAX + 0x60]
MOV ECX,dword ptr [EDI + 0x10]
TEST EAX,EAX
JZ 0x0005480e
MOV EDI,dword ptr [ESP + 0xc]
LEA ESI,[ECX + EDI*0x1]
LEA ESI,[ESI]
MOV EDX,dword ptr [EAX + 0xc]
MOV ECX,dword ptr [EAX + 0x4]
MOV EBX,dword ptr [EAX + 0x8]
ADD EDX,ESI
MOV dword ptr [EDX],ECX
MOV dword ptr [EDX + 0x4],EBX
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x000547f8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xffee23a8]
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xffece26d]
PUSH 0x5c
PUSH EAX
CALL 0x000da200
LEA EAX,[EBX + 0xffee1ec8]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0xe3
PUSH EAX
CALL 0x000da200
LEA EAX,[EBX + 0xffee23fc]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0xcf
PUSH EAX
CALL 0x000da200
LEA EAX,[EBX + 0xffee1eb8]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffee33bc]
PUSH 0xc0
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffee1ea8]
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0x6f
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00054750(int param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00054750(int param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00054750(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (expression_statement "iVar2 = *(int *)(DAT_004144e8 + 8);" (assignment_expression "iVar2 = *(int *)(DAT_004144e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "FUN_000da200("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_000da200("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }" if (parenthesized_expression "((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0'))" ( (binary_expression "(*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')" (parenthesized_expression "(*(char *)(iVar2 + 0x1a25) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x1a25) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x1a25)" * (cast_expression "(char *)(iVar2 + 0x1a25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1a25)" ( (binary_expression "iVar2 + 0x1a25" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x2931) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x2931) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x2931)" * (cast_expression "(char *)(iVar2 + 0x2931)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2931)" ( (binary_expression "iVar2 + 0x2931" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }" { (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }" { comment (expression_statement "FUN_000da200("../../gold/output.h",0xe3,"offset");" (call_expression "FUN_000da200("../../gold/output.h",0xe3,"offset")" identifier (argument_list "("../../gold/output.h",0xe3,"offset")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") ))) ;) })) (expression_statement "uVar3 = *(uint *)(param_1 + 0x14);" (assignment_expression "uVar3 = *(uint *)(param_1 + 0x14)" identifier = (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }" if (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }" { comment (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);" (call_expression "FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",in_ECX)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }" { comment (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , (binary_expression "bVar1 & 2" identifier & number_literal) ))) ;) })) (expression_statement "uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);" (assignment_expression "uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3)" identifier = (cast_expression "(uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(*(uint *)(param_1 + 0xc),uVar3)" identifier (argument_list "(*(uint *)(param_1 + 0xc),uVar3)" ( (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier ))))) ;) (expression_statement "uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);" (assignment_expression "uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" identifier = (call_expression "(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" ( (binary_expression "*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) < (binary_expression "*(uint *)(param_1 + 0xc) + uVar3" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + identifier)) )))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0xc) - uVar5;" (assignment_expression "iVar2 = *(int *)(param_2 + 0xc) - uVar5" identifier = (binary_expression "*(int *)(param_2 + 0xc) - uVar5" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) - identifier)) ;) (if_statement "if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }" if (parenthesized_expression "((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0)" ( (binary_expression "(SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6))" ( (binary_expression "SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)" (call_expression "SBORROW4(*(int *)(param_2 + 0xc),uVar5)" identifier (argument_list "(*(int *)(param_2 + 0xc),uVar5)" ( (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar2,uVar6)" identifier (argument_list "(iVar2,uVar6)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar2 - uVar6) < 0" (cast_expression "(int)(iVar2 - uVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - uVar6)" ( (binary_expression "iVar2 - uVar6" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }" { comment (expression_statement "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);" (call_expression "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);" (assignment_expression "piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60)" identifier = (pointer_expression "*(int **)(*(int *)(param_1 + 0x30) + 0x60)" * (cast_expression "(int **)(*(int *)(param_1 + 0x30) + 0x60)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x60)" ( (binary_expression "*(int *)(param_1 + 0x30) + 0x60" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x10);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x10)" identifier = (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }" { (do_statement "do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);" do (compound_statement "{\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      }" { (expression_statement "iVar4 = piVar7[2];" (assignment_expression "iVar4 = piVar7[2]" identifier = (subscript_expression "piVar7[2]" identifier [ number_literal ])) ;) (expression_statement "piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);" (assignment_expression "piVar8 = (int *)(piVar7[3] + iVar2 + uVar3)" identifier = (cast_expression "(int *)(piVar7[3] + iVar2 + uVar3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[3] + iVar2 + uVar3)" ( (binary_expression "piVar7[3] + iVar2 + uVar3" (binary_expression "piVar7[3] + iVar2" (subscript_expression "piVar7[3]" identifier [ number_literal ]) + identifier) + identifier) )))) ;) (expression_statement "*piVar8 = piVar7[1];" (assignment_expression "*piVar8 = piVar7[1]" (pointer_expression "*piVar8" * identifier) = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) }) while (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void do_write(Output_data_brlt_powerpc<64,_false> * this, Output_file *\n   of) */\n\nvoid __thiscall\nanon_unknown.dwarf_2af53c::Output_data_brlt_powerpc<64,_false>::do_write\n          (Output_data_brlt_powerpc<64,_false> *this,Output_file *of)\n\n{\n}\n\n" comment comment comment (ERROR "void __thiscall\nanon_unknown.dwarf_2af53c::Output_data_brlt_powerpc<64,_false>::do_write\n          (Output_data_brlt_powerpc<64,_false> *this,Output_file *of)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_2af53c::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "do_write\n          (Output_data_brlt_powerpc<64,_false> *this,Output_file *of)" identifier (parameter_list "(Output_data_brlt_powerpc<64,_false> *this,Output_file *of)" ( (parameter_declaration "Output_data_brlt_powerpc" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_file *of" type_identifier (pointer_declarator "*of" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00054750(int param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00054750(int param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00054750(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (expression_statement "iVar2 = *(int *)(DAT_004144e8 + 8);" (assignment_expression "iVar2 = *(int *)(DAT_004144e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }" { (expression_statement "FUN_000da200("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_000da200("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }" if (parenthesized_expression "((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0'))" ( (binary_expression "(*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')" (parenthesized_expression "(*(char *)(iVar2 + 0x1a25) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x1a25) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x1a25)" * (cast_expression "(char *)(iVar2 + 0x1a25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1a25)" ( (binary_expression "iVar2 + 0x1a25" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x2931) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x2931) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x2931)" * (cast_expression "(char *)(iVar2 + 0x2931)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2931)" ( (binary_expression "iVar2 + 0x2931" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }" { (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }" { (expression_statement "FUN_000da200("../../gold/output.h",0xe3,"offset");" (call_expression "FUN_000da200("../../gold/output.h",0xe3,"offset")" identifier (argument_list "("../../gold/output.h",0xe3,"offset")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") ))) ;) })) (expression_statement "uVar3 = *(uint *)(param_1 + 0x14);" (assignment_expression "uVar3 = *(uint *)(param_1 + 0x14)" identifier = (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }" if (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }" { (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);" (call_expression "FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",in_ECX)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }" { (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , (binary_expression "bVar1 & 2" identifier & number_literal) ))) ;) })) (expression_statement "uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);" (assignment_expression "uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3)" identifier = (cast_expression "(uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(*(uint *)(param_1 + 0xc),uVar3)" identifier (argument_list "(*(uint *)(param_1 + 0xc),uVar3)" ( (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier ))))) ;) (expression_statement "uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);" (assignment_expression "uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" identifier = (call_expression "(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" ( (binary_expression "*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) < (binary_expression "*(uint *)(param_1 + 0xc) + uVar3" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + identifier)) )))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0xc) - uVar5;" (assignment_expression "iVar2 = *(int *)(param_2 + 0xc) - uVar5" identifier = (binary_expression "*(int *)(param_2 + 0xc) - uVar5" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) - identifier)) ;) (if_statement "if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }" if (parenthesized_expression "((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0)" ( (binary_expression "(SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6))" ( (binary_expression "SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)" (call_expression "SBORROW4(*(int *)(param_2 + 0xc),uVar5)" identifier (argument_list "(*(int *)(param_2 + 0xc),uVar5)" ( (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar2,uVar6)" identifier (argument_list "(iVar2,uVar6)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar2 - uVar6) < 0" (cast_expression "(int)(iVar2 - uVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - uVar6)" ( (binary_expression "iVar2 - uVar6" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }" { (expression_statement "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);" (call_expression "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);" (assignment_expression "piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60)" identifier = (pointer_expression "*(int **)(*(int *)(param_1 + 0x30) + 0x60)" * (cast_expression "(int **)(*(int *)(param_1 + 0x30) + 0x60)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x60)" ( (binary_expression "*(int *)(param_1 + 0x30) + 0x60" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x10);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x10)" identifier = (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }" { (do_statement "do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);" do (compound_statement "{\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      }" { (expression_statement "iVar4 = piVar7[2];" (assignment_expression "iVar4 = piVar7[2]" identifier = (subscript_expression "piVar7[2]" identifier [ number_literal ])) ;) (expression_statement "piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);" (assignment_expression "piVar8 = (int *)(piVar7[3] + iVar2 + uVar3)" identifier = (cast_expression "(int *)(piVar7[3] + iVar2 + uVar3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[3] + iVar2 + uVar3)" ( (binary_expression "piVar7[3] + iVar2 + uVar3" (binary_expression "piVar7[3] + iVar2" (subscript_expression "piVar7[3]" identifier [ number_literal ]) + identifier) + identifier) )))) ;) (expression_statement "*piVar8 = piVar7[1];" (assignment_expression "*piVar8 = piVar7[1]" (pointer_expression "*piVar8" * identifier) = (subscript_expression "piVar7[1]" identifier [ number_literal ])) ;) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) }) while (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT & LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_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) )))) + IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00054750(int param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00054750(int param_1,int param_2)" (identifier "FUN_00054750") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  int *piVar7;\n  undefined4 in_ECX;\n  int *piVar8;\n  \n  iVar2 = *(int *)(DAT_004144e8 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }\n  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 in_ECX;" (type_identifier "undefined4") (identifier "in_ECX") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (expression_statement "iVar2 = *(int *)(DAT_004144e8 + 8);" (assignment_expression "iVar2 = *(int *)(DAT_004144e8 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(DAT_004144e8 + 8)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 8)" (( "(") (binary_expression "DAT_004144e8 + 8" (identifier "DAT_004144e8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) {\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/parameters.h",0x5c,"options");\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_000da200("../../gold/parameters.h",0x5c,"options")" (identifier "FUN_000da200") (argument_list "("../../gold/parameters.h",0x5c,"options")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }" (if "if") (parenthesized_expression "((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0'))" (( "(") (binary_expression "(*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')" (parenthesized_expression "(*(char *)(iVar2 + 0x1a25) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x1a25) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x1a25)" (* "*") (cast_expression "(char *)(iVar2 + 0x1a25)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1a25)" (( "(") (binary_expression "iVar2 + 0x1a25" (identifier "iVar2") (+ "+") (number_literal "0x1a25")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar2 + 0x2931) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x2931) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x2931)" (* "*") (cast_expression "(char *)(iVar2 + 0x2931)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2931)" (( "(") (binary_expression "iVar2 + 0x2931" (identifier "iVar2") (+ "+") (number_literal "0x2931")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    bVar1 = *(byte *)(param_1 + 0x1c);\n    if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }\n    uVar3 = *(uint *)(param_1 + 0x14);\n    if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }\n    if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }\n    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);\n    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);\n    iVar2 = *(int *)(param_2 + 0xc) - uVar5;\n    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }\n    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);\n    iVar2 = *(int *)(param_2 + 0x10);\n    if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }\n  }" ({ "{") (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((bVar1 & 4) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }" (if "if") (parenthesized_expression "((bVar1 & 4) == 0)" (( "(") (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_000da200("../../gold/output.h",0xe3,"offset");\n    }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.h",0xe3,"offset");" (call_expression "FUN_000da200("../../gold/output.h",0xe3,"offset")" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0xe3,"offset")" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xe3") (, ",") (string_literal ""offset"" (" """) (string_content "offset") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = *(uint *)(param_1 + 0x14);" (assignment_expression "uVar3 = *(uint *)(param_1 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((bVar1 & 2) == 0) {\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }" (if "if") (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);\n    }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);" (call_expression "FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX)" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0xcf,"data_size",in_ECX)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xcf") (, ",") (string_literal ""data_size"" (" """) (string_content "data_size") (" """)) (, ",") (identifier "in_ECX") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);\n    }" ({ "{") (expression_statement "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);" (call_expression "FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2)" (identifier "FUN_000da200") (argument_list "("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2)" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) (, ",") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);" (assignment_expression "uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3)" (identifier "uVar5") (= "=") (cast_expression "(uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(*(uint *)(param_1 + 0xc),uVar3)" (identifier "CARRY4") (argument_list "(*(uint *)(param_1 + 0xc),uVar3)" (( "(") (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "uVar3") () ")"))))) (; ";")) (expression_statement "uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);" (assignment_expression "uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" (identifier "uVar6") (= "=") (call_expression "(uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3)" (( "(") (binary_expression "*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3" (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (< "<") (binary_expression "*(uint *)(param_1 + 0xc) + uVar3" (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (identifier "uVar3"))) () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0xc) - uVar5;" (assignment_expression "iVar2 = *(int *)(param_2 + 0xc) - uVar5" (identifier "iVar2") (= "=") (binary_expression "*(int *)(param_2 + 0xc) - uVar5" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (identifier "uVar5"))) (; ";")) (if_statement "if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0) {\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }" (if "if") (parenthesized_expression "((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0)" (( "(") (binary_expression "(SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=\n        (int)(iVar2 - uVar6) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6))" (( "(") (binary_expression "SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)" (call_expression "SBORROW4(*(int *)(param_2 + 0xc),uVar5)" (identifier "SBORROW4") (argument_list "(*(int *)(param_2 + 0xc),uVar5)" (( "(") (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "uVar5") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar2,uVar6)" (identifier "SBORROW4") (argument_list "(iVar2,uVar6)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar6") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar2 - uVar6) < 0" (cast_expression "(int)(iVar2 - uVar6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar2 - uVar6)" (( "(") (binary_expression "iVar2 - uVar6" (identifier "iVar2") (- "-") (identifier "uVar6")) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n                    \n      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);\n    }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);" (call_expression "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1)" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x6f") (, ",") (string_literal ""get_output_view"" (" """) (string_content "get_output_view") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);" (assignment_expression "piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60)" (identifier "piVar7") (= "=") (pointer_expression "*(int **)(*(int *)(param_1 + 0x30) + 0x60)" (* "*") (cast_expression "(int **)(*(int *)(param_1 + 0x30) + 0x60)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x30) + 0x60)" (( "(") (binary_expression "*(int *)(param_1 + 0x30) + 0x60" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x10);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (piVar7 != (int *)0x0) {\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }" (if "if") (parenthesized_expression "(piVar7 != (int *)0x0)" (( "(") (binary_expression "piVar7 != (int *)0x0" (identifier "piVar7") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);\n    }" ({ "{") (do_statement "do {\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      } while (piVar7 != (int *)0x0);" (do "do") (compound_statement "{\n        iVar4 = piVar7[2];\n        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);\n        *piVar8 = piVar7[1];\n        piVar8[1] = iVar4;\n        piVar7 = (int *)*piVar7;\n      }" ({ "{") (expression_statement "iVar4 = piVar7[2];" (assignment_expression "iVar4 = piVar7[2]" (identifier "iVar4") (= "=") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);" (assignment_expression "piVar8 = (int *)(piVar7[3] + iVar2 + uVar3)" (identifier "piVar8") (= "=") (cast_expression "(int *)(piVar7[3] + iVar2 + uVar3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7[3] + iVar2 + uVar3)" (( "(") (binary_expression "piVar7[3] + iVar2 + uVar3" (binary_expression "piVar7[3] + iVar2" (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (+ "+") (identifier "iVar2")) (+ "+") (identifier "uVar3")) () ")")))) (; ";")) (expression_statement "*piVar8 = piVar7[1];" (assignment_expression "*piVar8 = piVar7[1]" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" (identifier "piVar7") (= "=") (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar7 != (int *)0x0)" (( "(") (binary_expression "piVar7 != (int *)0x0" (identifier "piVar7") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_write(Output_data_brlt_powerpc<64,_false> * this, Output_file *
   of) */

void __thiscall
anon_unknown.dwarf_2af53c::Output_data_brlt_powerpc<64,_false>::do_write
          (Output_data_brlt_powerpc<64,_false> *this,Output_file *of)

{
}


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

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

void MASKED(int param_1,int param_2)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  int *piVar7;
  undefined4 in_ECX;
  int *piVar8;
  
  iVar2 = *(int *)(DAT_004144e8 + 8);
  if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/parameters.h",0x5c,"options");
  }
  if ((*(char *)(iVar2 + 0x1a25) == '\0') && (*(char *)(iVar2 + 0x2931) == '\0')) {
    bVar1 = *(byte *)(param_1 + 0x1c);
    if ((bVar1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/output.h",0xe3,"offset");
    }
    uVar3 = *(uint *)(param_1 + 0x14);
    if ((bVar1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/output.h",0xcf,"data_size",in_ECX);
    }
    if (*(int *)(param_1 + 0x10) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/gold.h",0xc0,"convert_types",bVar1 & 2);
    }
    uVar5 = (uint)CARRY4(*(uint *)(param_1 + 0xc),uVar3);
    uVar6 = (uint)(*(uint *)(param_2 + 8) < *(uint *)(param_1 + 0xc) + uVar3);
    iVar2 = *(int *)(param_2 + 0xc) - uVar5;
    if ((SBORROW4(*(int *)(param_2 + 0xc),uVar5) != SBORROW4(iVar2,uVar6)) !=
        (int)(iVar2 - uVar6) < 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_1);
    }
    piVar7 = *(int **)(*(int *)(param_1 + 0x30) + 0x60);
    iVar2 = *(int *)(param_2 + 0x10);
    if (piVar7 != (int *)0x0) {
      do {
        iVar4 = piVar7[2];
        piVar8 = (int *)(piVar7[3] + iVar2 + uVar3);
        *piVar8 = piVar7[1];
        piVar8[1] = iVar4;
        piVar7 = (int *)*piVar7;
      } while (piVar7 != (int *)0x0);
    }
  }
  return;
}

