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

char * expand_irp(int irpc,size_t idx,sb *in,sb *out,_func_size_t_sb_ptr *get_line)

{
  sb *ptr;
  sb *ptr_00;
  bool bVar1;
  size_t sVar2;
  int iVar3;
  hash_control *table;
  char *pcVar4;
  uint uVar5;
  size_t idx_00;
  size_t sVar6;
  char *local_78;
  sb sub;
  formal_entry f;
  
  sVar2 = sb_skip_white(idx,in);
  sb_new(&sub);
  iVar3 = buffer_and_nest((char *)0x0,"ENDR",&sub,get_line);
  if (iVar3 == 0) {
    pcVar4 = "unexpected end of file in irp or irpc";
  }
  else {
    ptr = &f.name;
    sb_new(ptr);
    sb_new(&f.def);
    ptr_00 = &f.actual;
    sb_new(ptr_00);
    sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);
    if (f.name.len != 0) {
      table = hash_new();
      pcVar4 = sb_terminate(ptr);
      pcVar4 = hash_jam(table,pcVar4,&f);
      if (pcVar4 != (char *)0x0) {
        return pcVar4;
      }
      f.index = 1;
      f.next = (formal_struct *)0x0;
      f.type = FORMAL_OPTIONAL;
      sb_reset(out);
      sVar2 = sb_skip_comma(sVar2,in);
      uVar5 = in->len;
      if (sVar2 < uVar5) {
        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {
          bVar1 = false;
        }
        else {
          sVar2 = sVar2 + 1;
          bVar1 = true;
        }
        while (sVar2 < uVar5) {
          if (irpc == 0) {
            sVar2 = get_any_string(sVar2,in,ptr_00);
            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);
            if (local_78 != (char *)0x0) goto LAB_0002d0f4;
            idx_00 = sb_skip_comma(sVar2,in);
          }
          else {
            idx_00 = sVar2 + 1;
            if (in->ptr[sVar2] == '\"') {
              bVar1 = (bool)(bVar1 ^ 1);
              sVar6 = sb_skip_white(idx_00,in);
              if (in->len <= sVar6) break;
            }
            sb_reset(ptr_00);
            sb_add_char(ptr_00,(int)in->ptr[sVar2]);
            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);
            if (local_78 != (char *)0x0) goto LAB_0002d0f4;
            if (!bVar1) {
              idx_00 = sb_skip_white(idx_00,in);
            }
          }
          sVar2 = idx_00;
          uVar5 = in->len;
        }
        local_78 = (char *)0x0;
      }
      else {
        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);
      }
LAB_0002d0f4:
      hash_die(table);
      sb_kill(ptr_00);
      sb_kill(&f.def);
      sb_kill(ptr);
      sb_kill(&sub);
      return local_78;
    }
    pcVar4 = "missing model parameter";
  }
  pcVar4 = (char *)dcgettext(0,pcVar4,5);
  return pcVar4;
}



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

int FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)

{
  bool bVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  int local_78;
  undefined1 local_58 [12];
  undefined4 local_4c;
  undefined1 local_48 [4];
  int local_44;
  undefined1 local_3c [12];
  undefined1 local_30 [12];
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x2ce79;
  FUN_00036520(param_2,param_3);
  FUN_00036330(local_58);
  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);
  if (iVar2 == 0) {
    pcVar6 = "unexpected end of file in irp or irpc";
  }
  else {
    FUN_00036330(local_48);
    FUN_00036330(local_3c);
    FUN_00036330(local_30);
    uVar3 = FUN_0002a580(local_48);
    if (local_44 != 0) {
      uVar4 = FUN_00026bd0();
      uVar5 = FUN_00036510(local_48);
      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);
      if (iVar2 != 0) {
        return iVar2;
      }
      local_24 = 1;
      local_4c = 0;
      local_20 = 0;
      FUN_00036440(param_4);
      uVar7 = FUN_00036560(uVar3,param_3);
      uVar9 = param_3[1];
      if (uVar7 < uVar9) {
        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {
          bVar1 = false;
        }
        else {
          uVar7 = uVar7 + 1;
          bVar1 = true;
        }
        while (uVar7 < uVar9) {
          if (param_1 == 0) {
            uVar3 = FUN_0002b300();
            local_78 = FUN_0002a830(uVar4,0);
            if (local_78 != 0) goto LAB_0002d0f4;
            uVar8 = FUN_00036560(uVar3,param_3);
          }
          else {
            uVar8 = uVar7 + 1;
            if (*(char *)(*param_3 + uVar7) == '\"') {
              bVar1 = (bool)(bVar1 ^ 1);
              uVar9 = FUN_00036520(uVar8,param_3);
              if ((uint)param_3[1] <= uVar9) break;
            }
            FUN_00036440(local_30);
            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));
            local_78 = FUN_0002a830(uVar4,0);
            if (local_78 != 0) goto LAB_0002d0f4;
            if (!bVar1) {
              uVar8 = FUN_00036520(uVar8,param_3);
            }
          }
          uVar7 = uVar8;
          uVar9 = param_3[1];
        }
        local_78 = 0;
      }
      else {
        local_78 = FUN_0002a830(uVar4,0);
      }
LAB_0002d0f4:
      FUN_00026bf0(uVar4);
      FUN_00036370(local_30);
      FUN_00036370(local_3c);
      FUN_00036370(local_48);
      FUN_00036370(local_58);
      return local_78;
    }
    pcVar6 = "missing model parameter";
  }
  iVar2 = dcgettext(0,pcVar6,5);
  return iVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019010
ADD EBX,0x4e187
SUB ESP,0x84
MOV ESI,dword ptr [ESP + 0xa0]
PUSH ESI
PUSH dword ptr [ESP + 0xa0]
CALL 0x00036520
MOV EDI,EAX
POP EAX
LEA EBP,[ESP + 0x40]
PUSH EBP
CALL 0x00036330
LEA EAX,[EBX + 0xfffdceca]
PUSH dword ptr [ESP + 0xb0]
PUSH EBP
PUSH EAX
PUSH 0x0
CALL 0x0002bce0
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0002cf90
SUB ESP,0xc
LEA EAX,[ESP + 0x4c]
MOV dword ptr [ESP + 0x1c],EAX
LEA EAX,[ESP + 0x50]
MOV dword ptr [ESP + 0x18],EAX
PUSH EAX
CALL 0x00036330
POP EAX
LEA EDX,[ESP + 0x5c]
MOV dword ptr [ESP + 0x38],EDX
PUSH EDX
CALL 0x00036330
POP EAX
LEA ECX,[ESP + 0x68]
MOV dword ptr [ESP + 0x34],ECX
PUSH ECX
CALL 0x00036330
POP EAX
PUSH dword ptr [ESP + 0x18]
MOV EAX,EDI
LEA ECX,[ESI + 0x4]
MOV EDX,ESI
CALL 0x0002a580
ADD ESP,0x10
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x48]
TEST EAX,EAX
JZ 0x0002cf60
CALL 0x00026bd0
SUB ESP,0xc
MOV dword ptr [ESP + 0x24],EAX
PUSH dword ptr [ESP + 0x18]
CALL 0x00036510
ADD ESP,0xc
PUSH dword ptr [ESP + 0x14]
PUSH EAX
PUSH dword ptr [ESP + 0x24]
CALL 0x00026d20
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0002cfa0
MOV EAX,dword ptr [ESP + 0x14]
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdcf2d]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000171a0
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdd29c]
PUSH 0x5
JMP 0x0002cf6b
MOV dword ptr [ESP + 0x68],0x1
SUB ESP,0xc
MOV dword ptr [ESP + 0x4c],0x0
MOV dword ptr [ESP + 0x78],0x0
PUSH dword ptr [ESP + 0xa8]
CALL 0x00036440
POP ECX
POP EAX
PUSH ESI
PUSH EDI
CALL 0x00036560
ADD ESP,0x10
MOV EDI,EAX
MOV EAX,dword ptr [ESI + 0x4]
CMP EAX,EDI
JBE 0x0002d180
MOV EDX,dword ptr [ESP + 0x90]
MOV dword ptr [ESP + 0x24],0x0
TEST EDX,EDX
JNZ 0x0002d150
MOV dword ptr [ESP + 0x20],EBP
MOV EBP,dword ptr [ESP + 0x28]
JMP 0x0002d06d
LEA EAX,[EDI + 0x1]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESI]
CMP byte ptr [EAX + EDI*0x1],0x22
JZ 0x0002d0c8
SUB ESP,0xc
PUSH EBP
CALL 0x00036440
POP EAX
MOV EAX,dword ptr [ESI]
POP EDX
MOVSX EAX,byte ptr [EAX + EDI*0x1]
PUSH EAX
PUSH EBP
CALL 0x00036450
POP ECX
POP EDI
PUSH 0x0
PUSH dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0xac]
MOV EAX,dword ptr [ESP + 0x30]
CALL 0x0002a830
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0002d1b0
MOV EAX,dword ptr [ESP + 0x24]
MOV EDI,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JZ 0x0002d138
MOV EAX,dword ptr [ESI + 0x4]
CMP EDI,EAX
JNC 0x0002d0f0
MOV EAX,dword ptr [ESP + 0x90]
TEST EAX,EAX
JNZ 0x0002d008
MOV ECX,EBP
MOV EDX,ESI
MOV EAX,EDI
CALL 0x0002b300
SUB ESP,0x8
PUSH 0x0
MOV EDI,EAX
PUSH dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0xac]
MOV EAX,dword ptr [ESP + 0x30]
CALL 0x0002a830
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0002d1b0
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00036560
ADD ESP,0x10
MOV EDI,EAX
JMP 0x0002d06a
XOR dword ptr [ESP + 0x24],0x1
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESP + 0x28]
CALL 0x00036520
ADD ESP,0x10
CMP dword ptr [ESI + 0x4],EAX
JA 0x0002d01b
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV EBP,dword ptr [ESP + 0x20]
SUB ESP,0xc
PUSH dword ptr [ESP + 0x24]
CALL 0x00026bf0
POP EAX
PUSH dword ptr [ESP + 0x34]
CALL 0x00036370
POP EDX
PUSH dword ptr [ESP + 0x38]
CALL 0x00036370
POP ECX
PUSH dword ptr [ESP + 0x18]
CALL 0x00036370
MOV dword ptr [ESP],EBP
CALL 0x00036370
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
ADD ESP,0x7c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00036520
ADD ESP,0x10
MOV EDI,EAX
JMP 0x0002d06a
MOV EDX,dword ptr [ESI]
MOV ECX,dword ptr [ESP + 0x14]
CMP byte ptr [EDX + EDI*0x1],0x22
MOV dword ptr [ESP + 0x24],ECX
JNZ 0x0002cff7
MOV dword ptr [ESP + 0x20],EBP
ADD EDI,0x1
MOV EBP,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x24],0x1
JMP 0x0002d06d
SUB ESP,0x8
MOV EAX,EBP
PUSH 0x0
PUSH dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0xac]
CALL 0x0002a830
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
JMP 0x0002d0f4
MOV EBP,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x14],EAX
JMP 0x0002d0f4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}\n\n" comment (function_definition "int FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "undefined1 local_58 [12];" type_identifier (array_declarator "local_58 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined1 local_48 [4];" type_identifier (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined1 local_3c [12];" type_identifier (array_declarator "local_3c [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_30 [12];" type_identifier (array_declarator "local_30 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2ce79;" (assignment_expression "uStack_14 = 0x2ce79" identifier = number_literal) ;) (expression_statement "FUN_00036520(param_2,param_3);" (call_expression "FUN_00036520(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (expression_statement "FUN_00036330(local_58);" (call_expression "FUN_00036330(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);" (assignment_expression "iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5)" identifier = (call_expression "FUN_0002bce0(0,&DAT_00057eca,local_58,param_5)" identifier (argument_list "(0,&DAT_00057eca,local_58,param_5)" ( number_literal , (pointer_expression "&DAT_00057eca" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }" { (expression_statement "pcVar6 = "unexpected end of file in irp or irpc";" (assignment_expression "pcVar6 = "unexpected end of file in irp or irpc"" identifier = (string_literal ""unexpected end of file in irp or irpc"" " string_content ")) ;) }) (else_clause "else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" else (compound_statement "{\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" { (expression_statement "FUN_00036330(local_48);" (call_expression "FUN_00036330(local_48)" identifier (argument_list "(local_48)" ( identifier ))) ;) (expression_statement "FUN_00036330(local_3c);" (call_expression "FUN_00036330(local_3c)" identifier (argument_list "(local_3c)" ( identifier ))) ;) (expression_statement "FUN_00036330(local_30);" (call_expression "FUN_00036330(local_30)" identifier (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "uVar3 = FUN_0002a580(local_48);" (assignment_expression "uVar3 = FUN_0002a580(local_48)" identifier = (call_expression "FUN_0002a580(local_48)" identifier (argument_list "(local_48)" ( identifier )))) ;) (if_statement "if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }" { (expression_statement "uVar4 = FUN_00026bd0();" (assignment_expression "uVar4 = FUN_00026bd0()" identifier = (call_expression "FUN_00026bd0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_00036510(local_48);" (assignment_expression "uVar5 = FUN_00036510(local_48)" identifier = (call_expression "FUN_00036510(local_48)" identifier (argument_list "(local_48)" ( identifier )))) ;) (expression_statement "iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);" (assignment_expression "iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c)" identifier = (call_expression "FUN_00026d20(uVar4,uVar5,&local_4c)" identifier (argument_list "(uVar4,uVar5,&local_4c)" ( identifier , identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "FUN_00036440(param_4);" (call_expression "FUN_00036440(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (expression_statement "uVar7 = FUN_00036560(uVar3,param_3);" (assignment_expression "uVar7 = FUN_00036560(uVar3,param_3)" identifier = (call_expression "FUN_00036560(uVar3,param_3)" identifier (argument_list "(uVar3,param_3)" ( identifier , identifier )))) ;) (expression_statement "uVar9 = param_3[1];" (assignment_expression "uVar9 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }" if (parenthesized_expression "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )) (compound_statement "{\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }" { (if_statement "if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" if (parenthesized_expression "((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"'))" ( (binary_expression "(param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(*param_3 + uVar7) != '\"')" ( (binary_expression "*(char *)(*param_3 + uVar7) != '\"'" (pointer_expression "*(char *)(*param_3 + uVar7)" * (cast_expression "(char *)(*param_3 + uVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + uVar7)" ( (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" * identifier) + identifier) )))) != (char_literal "'\"'" ' escape_sequence ')) ))) )) (compound_statement "{\n          bVar1 = false;\n        }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }) (else_clause "else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" else (compound_statement "{\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" { (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) (while_statement "while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }" while (parenthesized_expression "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )) (compound_statement "{\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }" { (if_statement "if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }" { (expression_statement "uVar3 = FUN_0002b300();" (assignment_expression "uVar3 = FUN_0002b300()" identifier = (call_expression "FUN_0002b300()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" identifier = (call_expression "FUN_0002a830(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal )))) ;) (if_statement "if (local_78 != 0) goto LAB_0002d0f4;" if (parenthesized_expression "(local_78 != 0)" ( (binary_expression "local_78 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002d0f4;" goto statement_identifier ;)) (expression_statement "uVar8 = FUN_00036560(uVar3,param_3);" (assignment_expression "uVar8 = FUN_00036560(uVar3,param_3)" identifier = (call_expression "FUN_00036560(uVar3,param_3)" identifier (argument_list "(uVar3,param_3)" ( identifier , identifier )))) ;) }) (else_clause "else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" else (compound_statement "{\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" { (expression_statement "uVar8 = uVar7 + 1;" (assignment_expression "uVar8 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }" if (parenthesized_expression "(*(char *)(*param_3 + uVar7) == '\"')" ( (binary_expression "*(char *)(*param_3 + uVar7) == '\"'" (pointer_expression "*(char *)(*param_3 + uVar7)" * (cast_expression "(char *)(*param_3 + uVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + uVar7)" ( (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" * identifier) + identifier) )))) == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }" { (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" identifier = (cast_expression "(bool)(bVar1 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 ^ 1)" ( (binary_expression "bVar1 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "uVar9 = FUN_00036520(uVar8,param_3);" (assignment_expression "uVar9 = FUN_00036520(uVar8,param_3)" identifier = (call_expression "FUN_00036520(uVar8,param_3)" identifier (argument_list "(uVar8,param_3)" ( identifier , identifier )))) ;) (if_statement "if ((uint)param_3[1] <= uVar9) break;" if (parenthesized_expression "((uint)param_3[1] <= uVar9)" ( (binary_expression "(uint)param_3[1] <= uVar9" (cast_expression "(uint)param_3[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) <= identifier) )) (break_statement "break;" break ;)) })) (expression_statement "FUN_00036440(local_30);" (call_expression "FUN_00036440(local_30)" identifier (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));" (call_expression "FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7))" identifier (argument_list "(local_30,(int)*(char *)(*param_3 + uVar7))" ( identifier , (cast_expression "(int)*(char *)(*param_3 + uVar7)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(*param_3 + uVar7)" * (cast_expression "(char *)(*param_3 + uVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + uVar7)" ( (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" * identifier) + identifier) ))))) ))) ;) (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" identifier = (call_expression "FUN_0002a830(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal )))) ;) (if_statement "if (local_78 != 0) goto LAB_0002d0f4;" if (parenthesized_expression "(local_78 != 0)" ( (binary_expression "local_78 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002d0f4;" goto statement_identifier ;)) (if_statement "if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }" { (expression_statement "uVar8 = FUN_00036520(uVar8,param_3);" (assignment_expression "uVar8 = FUN_00036520(uVar8,param_3)" identifier = (call_expression "FUN_00036520(uVar8,param_3)" identifier (argument_list "(uVar8,param_3)" ( identifier , identifier )))) ;) })) }))) (expression_statement "uVar7 = uVar8;" (assignment_expression "uVar7 = uVar8" identifier = identifier) ;) (expression_statement "uVar9 = param_3[1];" (assignment_expression "uVar9 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) })) (expression_statement "local_78 = 0;" (assignment_expression "local_78 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }" else (compound_statement "{\n        local_78 = FUN_0002a830(uVar4,0);\n      }" { (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" identifier = (call_expression "FUN_0002a830(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal )))) ;) }))) (labeled_statement "LAB_0002d0f4:\n      FUN_00026bf0(uVar4);" statement_identifier : (expression_statement "FUN_00026bf0(uVar4);" (call_expression "FUN_00026bf0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;)) (expression_statement "FUN_00036370(local_30);" (call_expression "FUN_00036370(local_30)" identifier (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "FUN_00036370(local_3c);" (call_expression "FUN_00036370(local_3c)" identifier (argument_list "(local_3c)" ( identifier ))) ;) (expression_statement "FUN_00036370(local_48);" (call_expression "FUN_00036370(local_48)" identifier (argument_list "(local_48)" ( identifier ))) ;) (expression_statement "FUN_00036370(local_58);" (call_expression "FUN_00036370(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) (return_statement "return local_78;" return identifier ;) })) (expression_statement "pcVar6 = "missing model parameter";" (assignment_expression "pcVar6 = "missing model parameter"" identifier = (string_literal ""missing model parameter"" " string_content ")) ;) }))) (expression_statement "iVar2 = dcgettext(0,pcVar6,5);" (assignment_expression "iVar2 = dcgettext(0,pcVar6,5)" identifier = (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * expand_irp(int irpc,size_t idx,sb *in,sb *out,_func_size_t_sb_ptr *get_line)\n\n{\n  sb *ptr;\n  sb *ptr_00;\n  bool bVar1;\n  size_t sVar2;\n  int iVar3;\n  hash_control *table;\n  char *pcVar4;\n  uint uVar5;\n  size_t idx_00;\n  size_t sVar6;\n  char *local_78;\n  sb sub;\n  formal_entry f;\n  \n  sVar2 = sb_skip_white(idx,in);\n  sb_new(&sub);\n  iVar3 = buffer_and_nest((char *)0x0,"ENDR",&sub,get_line);\n  if (iVar3 == 0) {\n    pcVar4 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    ptr = &f.name;\n    sb_new(ptr);\n    sb_new(&f.def);\n    ptr_00 = &f.actual;\n    sb_new(ptr_00);\n    sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);\n    if (f.name.len != 0) {\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }\n    pcVar4 = "missing model parameter";\n  }\n  pcVar4 = (char *)dcgettext(0,pcVar4,5);\n  return pcVar4;\n}\n\n" comment (function_definition "char * expand_irp(int irpc,size_t idx,sb *in,sb *out,_func_size_t_sb_ptr *get_line)\n\n{\n  sb *ptr;\n  sb *ptr_00;\n  bool bVar1;\n  size_t sVar2;\n  int iVar3;\n  hash_control *table;\n  char *pcVar4;\n  uint uVar5;\n  size_t idx_00;\n  size_t sVar6;\n  char *local_78;\n  sb sub;\n  formal_entry f;\n  \n  sVar2 = sb_skip_white(idx,in);\n  sb_new(&sub);\n  iVar3 = buffer_and_nest((char *)0x0,"ENDR",&sub,get_line);\n  if (iVar3 == 0) {\n    pcVar4 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    ptr = &f.name;\n    sb_new(ptr);\n    sb_new(&f.def);\n    ptr_00 = &f.actual;\n    sb_new(ptr_00);\n    sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);\n    if (f.name.len != 0) {\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }\n    pcVar4 = "missing model parameter";\n  }\n  pcVar4 = (char *)dcgettext(0,pcVar4,5);\n  return pcVar4;\n}" primitive_type (pointer_declarator "* expand_irp(int irpc,size_t idx,sb *in,sb *out,_func_size_t_sb_ptr *get_line)" * (function_declarator "expand_irp(int irpc,size_t idx,sb *in,sb *out,_func_size_t_sb_ptr *get_line)" identifier (parameter_list "(int irpc,size_t idx,sb *in,sb *out,_func_size_t_sb_ptr *get_line)" ( (parameter_declaration "int irpc" primitive_type identifier) , (parameter_declaration "size_t idx" primitive_type identifier) , (parameter_declaration "sb *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "sb *out" type_identifier (pointer_declarator "*out" * identifier)) , (parameter_declaration "_func_size_t_sb_ptr *get_line" type_identifier (pointer_declarator "*get_line" * identifier)) )))) (compound_statement "{\n  sb *ptr;\n  sb *ptr_00;\n  bool bVar1;\n  size_t sVar2;\n  int iVar3;\n  hash_control *table;\n  char *pcVar4;\n  uint uVar5;\n  size_t idx_00;\n  size_t sVar6;\n  char *local_78;\n  sb sub;\n  formal_entry f;\n  \n  sVar2 = sb_skip_white(idx,in);\n  sb_new(&sub);\n  iVar3 = buffer_and_nest((char *)0x0,"ENDR",&sub,get_line);\n  if (iVar3 == 0) {\n    pcVar4 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    ptr = &f.name;\n    sb_new(ptr);\n    sb_new(&f.def);\n    ptr_00 = &f.actual;\n    sb_new(ptr_00);\n    sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);\n    if (f.name.len != 0) {\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }\n    pcVar4 = "missing model parameter";\n  }\n  pcVar4 = (char *)dcgettext(0,pcVar4,5);\n  return pcVar4;\n}" { (declaration "sb *ptr;" type_identifier (pointer_declarator "*ptr" * identifier) ;) (declaration "sb *ptr_00;" type_identifier (pointer_declarator "*ptr_00" * identifier) ;) (declaration "bool bVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "hash_control *table;" type_identifier (pointer_declarator "*table" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "size_t idx_00;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "char *local_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "sb sub;" type_identifier identifier ;) (declaration "formal_entry f;" type_identifier identifier ;) (expression_statement "sVar2 = sb_skip_white(idx,in);" (assignment_expression "sVar2 = sb_skip_white(idx,in)" identifier = (call_expression "sb_skip_white(idx,in)" identifier (argument_list "(idx,in)" ( identifier , identifier )))) ;) (expression_statement "sb_new(&sub);" (call_expression "sb_new(&sub)" identifier (argument_list "(&sub)" ( (pointer_expression "&sub" & identifier) ))) ;) (expression_statement "iVar3 = buffer_and_nest((char *)0x0,"ENDR",&sub,get_line);" (assignment_expression "iVar3 = buffer_and_nest((char *)0x0,"ENDR",&sub,get_line)" identifier = (call_expression "buffer_and_nest((char *)0x0,"ENDR",&sub,get_line)" identifier (argument_list "((char *)0x0,"ENDR",&sub,get_line)" ( (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (string_literal ""ENDR"" " string_content ") , (pointer_expression "&sub" & identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    pcVar4 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    ptr = &f.name;\n    sb_new(ptr);\n    sb_new(&f.def);\n    ptr_00 = &f.actual;\n    sb_new(ptr_00);\n    sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);\n    if (f.name.len != 0) {\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }\n    pcVar4 = "missing model parameter";\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = "unexpected end of file in irp or irpc";\n  }" { (expression_statement "pcVar4 = "unexpected end of file in irp or irpc";" (assignment_expression "pcVar4 = "unexpected end of file in irp or irpc"" identifier = (string_literal ""unexpected end of file in irp or irpc"" " string_content ")) ;) }) (else_clause "else {\n    ptr = &f.name;\n    sb_new(ptr);\n    sb_new(&f.def);\n    ptr_00 = &f.actual;\n    sb_new(ptr_00);\n    sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);\n    if (f.name.len != 0) {\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }\n    pcVar4 = "missing model parameter";\n  }" else (compound_statement "{\n    ptr = &f.name;\n    sb_new(ptr);\n    sb_new(&f.def);\n    ptr_00 = &f.actual;\n    sb_new(ptr_00);\n    sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);\n    if (f.name.len != 0) {\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }\n    pcVar4 = "missing model parameter";\n  }" { (expression_statement "ptr = &f.name;" (assignment_expression "ptr = &f.name" identifier = (pointer_expression "&f.name" & (field_expression "f.name" identifier . field_identifier))) ;) (expression_statement "sb_new(ptr);" (call_expression "sb_new(ptr)" identifier (argument_list "(ptr)" ( identifier ))) ;) (expression_statement "sb_new(&f.def);" (call_expression "sb_new(&f.def)" identifier (argument_list "(&f.def)" ( (pointer_expression "&f.def" & (field_expression "f.def" identifier . field_identifier)) ))) ;) (expression_statement "ptr_00 = &f.actual;" (assignment_expression "ptr_00 = &f.actual" identifier = (pointer_expression "&f.actual" & (field_expression "f.actual" identifier . field_identifier))) ;) (expression_statement "sb_new(ptr_00);" (call_expression "sb_new(ptr_00)" identifier (argument_list "(ptr_00)" ( identifier ))) ;) (expression_statement "sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr);" (assignment_expression "sVar2 = get_token(sVar2,in,(sb *)&in->len,ptr)" identifier = (call_expression "get_token(sVar2,in,(sb *)&in->len,ptr)" identifier (argument_list "(sVar2,in,(sb *)&in->len,ptr)" ( identifier , identifier , (cast_expression "(sb *)&in->len" ( (type_descriptor "sb *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&in->len" & (field_expression "in->len" identifier -> field_identifier))) , identifier )))) ;) (if_statement "if (f.name.len != 0) {\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }" if (parenthesized_expression "(f.name.len != 0)" ( (binary_expression "f.name.len != 0" (field_expression "f.name.len" (field_expression "f.name" identifier . field_identifier) . field_identifier) != number_literal) )) (compound_statement "{\n      table = hash_new();\n      pcVar4 = sb_terminate(ptr);\n      pcVar4 = hash_jam(table,pcVar4,&f);\n      if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }\n      f.index = 1;\n      f.next = (formal_struct *)0x0;\n      f.type = FORMAL_OPTIONAL;\n      sb_reset(out);\n      sVar2 = sb_skip_comma(sVar2,in);\n      uVar5 = in->len;\n      if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }\nLAB_0002d0f4:\n      hash_die(table);\n      sb_kill(ptr_00);\n      sb_kill(&f.def);\n      sb_kill(ptr);\n      sb_kill(&sub);\n      return local_78;\n    }" { (expression_statement "table = hash_new();" (assignment_expression "table = hash_new()" identifier = (call_expression "hash_new()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = sb_terminate(ptr);" (assignment_expression "pcVar4 = sb_terminate(ptr)" identifier = (call_expression "sb_terminate(ptr)" identifier (argument_list "(ptr)" ( identifier )))) ;) (expression_statement "pcVar4 = hash_jam(table,pcVar4,&f);" (assignment_expression "pcVar4 = hash_jam(table,pcVar4,&f)" identifier = (call_expression "hash_jam(table,pcVar4,&f)" identifier (argument_list "(table,pcVar4,&f)" ( identifier , identifier , (pointer_expression "&f" & identifier) )))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n        return pcVar4;\n      }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return pcVar4;\n      }" { (return_statement "return pcVar4;" return identifier ;) })) (expression_statement "f.index = 1;" (assignment_expression "f.index = 1" (field_expression "f.index" identifier . field_identifier) = number_literal) ;) (expression_statement "f.next = (formal_struct *)0x0;" (assignment_expression "f.next = (formal_struct *)0x0" (field_expression "f.next" identifier . field_identifier) = (cast_expression "(formal_struct *)0x0" ( (type_descriptor "formal_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "f.type = FORMAL_OPTIONAL;" (assignment_expression "f.type = FORMAL_OPTIONAL" (field_expression "f.type" identifier . field_identifier) = identifier) ;) (expression_statement "sb_reset(out);" (call_expression "sb_reset(out)" identifier (argument_list "(out)" ( identifier ))) ;) (expression_statement "sVar2 = sb_skip_comma(sVar2,in);" (assignment_expression "sVar2 = sb_skip_comma(sVar2,in)" identifier = (call_expression "sb_skip_comma(sVar2,in)" identifier (argument_list "(sVar2,in)" ( identifier , identifier )))) ;) (expression_statement "uVar5 = in->len;" (assignment_expression "uVar5 = in->len" identifier = (field_expression "in->len" identifier -> field_identifier)) ;) (if_statement "if (sVar2 < uVar5) {\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }\n      else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }" if (parenthesized_expression "(sVar2 < uVar5)" ( (binary_expression "sVar2 < uVar5" identifier < identifier) )) (compound_statement "{\n        if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }\n        while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }\n        local_78 = (char *)0x0;\n      }" { (if_statement "if ((irpc == 0) || (in->ptr[sVar2] != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }" if (parenthesized_expression "((irpc == 0) || (in->ptr[sVar2] != '\"'))" ( (binary_expression "(irpc == 0) || (in->ptr[sVar2] != '\"')" (parenthesized_expression "(irpc == 0)" ( (binary_expression "irpc == 0" identifier == number_literal) )) || (parenthesized_expression "(in->ptr[sVar2] != '\"')" ( (binary_expression "in->ptr[sVar2] != '\"'" (subscript_expression "in->ptr[sVar2]" (field_expression "in->ptr" identifier -> field_identifier) [ identifier ]) != (char_literal "'\"'" ' escape_sequence ')) ))) )) (compound_statement "{\n          bVar1 = false;\n        }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }) (else_clause "else {\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }" else (compound_statement "{\n          sVar2 = sVar2 + 1;\n          bVar1 = true;\n        }" { (expression_statement "sVar2 = sVar2 + 1;" (assignment_expression "sVar2 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) (while_statement "while (sVar2 < uVar5) {\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }" while (parenthesized_expression "(sVar2 < uVar5)" ( (binary_expression "sVar2 < uVar5" identifier < identifier) )) (compound_statement "{\n          if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }\n          sVar2 = idx_00;\n          uVar5 = in->len;\n        }" { (if_statement "if (irpc == 0) {\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }\n          else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }" if (parenthesized_expression "(irpc == 0)" ( (binary_expression "irpc == 0" identifier == number_literal) )) (compound_statement "{\n            sVar2 = get_any_string(sVar2,in,ptr_00);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            idx_00 = sb_skip_comma(sVar2,in);\n          }" { (expression_statement "sVar2 = get_any_string(sVar2,in,ptr_00);" (assignment_expression "sVar2 = get_any_string(sVar2,in,ptr_00)" identifier = (call_expression "get_any_string(sVar2,in,ptr_00)" identifier (argument_list "(sVar2,in,ptr_00)" ( identifier , identifier , identifier )))) ;) (expression_statement "local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);" (assignment_expression "local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0)" identifier = (call_expression "macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0)" identifier (argument_list "(&sub,out,&f,table,(macro_entry *)0x0)" ( (pointer_expression "&sub" & identifier) , identifier , (pointer_expression "&f" & identifier) , identifier , (cast_expression "(macro_entry *)0x0" ( (type_descriptor "macro_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (local_78 != (char *)0x0) goto LAB_0002d0f4;" if (parenthesized_expression "(local_78 != (char *)0x0)" ( (binary_expression "local_78 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002d0f4;" goto statement_identifier ;)) (expression_statement "idx_00 = sb_skip_comma(sVar2,in);" (assignment_expression "idx_00 = sb_skip_comma(sVar2,in)" identifier = (call_expression "sb_skip_comma(sVar2,in)" identifier (argument_list "(sVar2,in)" ( identifier , identifier )))) ;) }) (else_clause "else {\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }" else (compound_statement "{\n            idx_00 = sVar2 + 1;\n            if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }\n            sb_reset(ptr_00);\n            sb_add_char(ptr_00,(int)in->ptr[sVar2]);\n            local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n            if (local_78 != (char *)0x0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }\n          }" { (expression_statement "idx_00 = sVar2 + 1;" (assignment_expression "idx_00 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) (if_statement "if (in->ptr[sVar2] == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }" if (parenthesized_expression "(in->ptr[sVar2] == '\"')" ( (binary_expression "in->ptr[sVar2] == '\"'" (subscript_expression "in->ptr[sVar2]" (field_expression "in->ptr" identifier -> field_identifier) [ identifier ]) == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n              bVar1 = (bool)(bVar1 ^ 1);\n              sVar6 = sb_skip_white(idx_00,in);\n              if (in->len <= sVar6) break;\n            }" { (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" identifier = (cast_expression "(bool)(bVar1 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 ^ 1)" ( (binary_expression "bVar1 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "sVar6 = sb_skip_white(idx_00,in);" (assignment_expression "sVar6 = sb_skip_white(idx_00,in)" identifier = (call_expression "sb_skip_white(idx_00,in)" identifier (argument_list "(idx_00,in)" ( identifier , identifier )))) ;) (if_statement "if (in->len <= sVar6) break;" if (parenthesized_expression "(in->len <= sVar6)" ( (binary_expression "in->len <= sVar6" (field_expression "in->len" identifier -> field_identifier) <= identifier) )) (break_statement "break;" break ;)) })) (expression_statement "sb_reset(ptr_00);" (call_expression "sb_reset(ptr_00)" identifier (argument_list "(ptr_00)" ( identifier ))) ;) (expression_statement "sb_add_char(ptr_00,(int)in->ptr[sVar2]);" (call_expression "sb_add_char(ptr_00,(int)in->ptr[sVar2])" identifier (argument_list "(ptr_00,(int)in->ptr[sVar2])" ( identifier , (cast_expression "(int)in->ptr[sVar2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "in->ptr[sVar2]" (field_expression "in->ptr" identifier -> field_identifier) [ identifier ])) ))) ;) (expression_statement "local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);" (assignment_expression "local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0)" identifier = (call_expression "macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0)" identifier (argument_list "(&sub,out,&f,table,(macro_entry *)0x0)" ( (pointer_expression "&sub" & identifier) , identifier , (pointer_expression "&f" & identifier) , identifier , (cast_expression "(macro_entry *)0x0" ( (type_descriptor "macro_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (local_78 != (char *)0x0) goto LAB_0002d0f4;" if (parenthesized_expression "(local_78 != (char *)0x0)" ( (binary_expression "local_78 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002d0f4;" goto statement_identifier ;)) (if_statement "if (!bVar1) {\n              idx_00 = sb_skip_white(idx_00,in);\n            }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n              idx_00 = sb_skip_white(idx_00,in);\n            }" { (expression_statement "idx_00 = sb_skip_white(idx_00,in);" (assignment_expression "idx_00 = sb_skip_white(idx_00,in)" identifier = (call_expression "sb_skip_white(idx_00,in)" identifier (argument_list "(idx_00,in)" ( identifier , identifier )))) ;) })) }))) (expression_statement "sVar2 = idx_00;" (assignment_expression "sVar2 = idx_00" identifier = identifier) ;) (expression_statement "uVar5 = in->len;" (assignment_expression "uVar5 = in->len" identifier = (field_expression "in->len" identifier -> field_identifier)) ;) })) (expression_statement "local_78 = (char *)0x0;" (assignment_expression "local_78 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }" else (compound_statement "{\n        local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);\n      }" { (expression_statement "local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0);" (assignment_expression "local_78 = macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0)" identifier = (call_expression "macro_expand_body(&sub,out,&f,table,(macro_entry *)0x0)" identifier (argument_list "(&sub,out,&f,table,(macro_entry *)0x0)" ( (pointer_expression "&sub" & identifier) , identifier , (pointer_expression "&f" & identifier) , identifier , (cast_expression "(macro_entry *)0x0" ( (type_descriptor "macro_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) }))) (labeled_statement "LAB_0002d0f4:\n      hash_die(table);" statement_identifier : (expression_statement "hash_die(table);" (call_expression "hash_die(table)" identifier (argument_list "(table)" ( identifier ))) ;)) (expression_statement "sb_kill(ptr_00);" (call_expression "sb_kill(ptr_00)" identifier (argument_list "(ptr_00)" ( identifier ))) ;) (expression_statement "sb_kill(&f.def);" (call_expression "sb_kill(&f.def)" identifier (argument_list "(&f.def)" ( (pointer_expression "&f.def" & (field_expression "f.def" identifier . field_identifier)) ))) ;) (expression_statement "sb_kill(ptr);" (call_expression "sb_kill(ptr)" identifier (argument_list "(ptr)" ( identifier ))) ;) (expression_statement "sb_kill(&sub);" (call_expression "sb_kill(&sub)" identifier (argument_list "(&sub)" ( (pointer_expression "&sub" & identifier) ))) ;) (return_statement "return local_78;" return identifier ;) })) (expression_statement "pcVar4 = "missing model parameter";" (assignment_expression "pcVar4 = "missing model parameter"" identifier = (string_literal ""missing model parameter"" " string_content ")) ;) }))) (expression_statement "pcVar4 = (char *)dcgettext(0,pcVar4,5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,pcVar4,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar4,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar4,5)" identifier (argument_list "(0,pcVar4,5)" ( number_literal , identifier , number_literal ))))) ;) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit "int FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}\n\n" (function_definition "int FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "undefined1 local_58 [12];" type_identifier (array_declarator "local_58 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "undefined1 local_48 [4];" type_identifier (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined1 local_3c [12];" type_identifier (array_declarator "local_3c [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_30 [12];" type_identifier (array_declarator "local_30 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2ce79;" (assignment_expression "uStack_14 = 0x2ce79" identifier = number_literal) ;) (expression_statement "FUN_00036520(param_2,param_3);" (call_expression "FUN_00036520(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (expression_statement "FUN_00036330(local_58);" (call_expression "FUN_00036330(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);" (assignment_expression "iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5)" identifier = (call_expression "FUN_0002bce0(0,&DAT_00057eca,local_58,param_5)" identifier (argument_list "(0,&DAT_00057eca,local_58,param_5)" ( number_literal , (pointer_expression "&DAT_00057eca" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }" { (expression_statement "pcVar6 = "unexpected end of file in irp or irpc";" (assignment_expression "pcVar6 = "unexpected end of file in irp or irpc"" identifier = (string_literal ""unexpected end of file in irp or irpc"" " string_content ")) ;) }) (else_clause "else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" else (compound_statement "{\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" { (expression_statement "FUN_00036330(local_48);" (call_expression "FUN_00036330(local_48)" identifier (argument_list "(local_48)" ( identifier ))) ;) (expression_statement "FUN_00036330(local_3c);" (call_expression "FUN_00036330(local_3c)" identifier (argument_list "(local_3c)" ( identifier ))) ;) (expression_statement "FUN_00036330(local_30);" (call_expression "FUN_00036330(local_30)" identifier (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "uVar3 = FUN_0002a580(local_48);" (assignment_expression "uVar3 = FUN_0002a580(local_48)" identifier = (call_expression "FUN_0002a580(local_48)" identifier (argument_list "(local_48)" ( identifier )))) ;) (if_statement "if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }" { (expression_statement "uVar4 = FUN_00026bd0();" (assignment_expression "uVar4 = FUN_00026bd0()" identifier = (call_expression "FUN_00026bd0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_00036510(local_48);" (assignment_expression "uVar5 = FUN_00036510(local_48)" identifier = (call_expression "FUN_00036510(local_48)" identifier (argument_list "(local_48)" ( identifier )))) ;) (expression_statement "iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);" (assignment_expression "iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c)" identifier = (call_expression "FUN_00026d20(uVar4,uVar5,&local_4c)" identifier (argument_list "(uVar4,uVar5,&local_4c)" ( identifier , identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "FUN_00036440(param_4);" (call_expression "FUN_00036440(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) (expression_statement "uVar7 = FUN_00036560(uVar3,param_3);" (assignment_expression "uVar7 = FUN_00036560(uVar3,param_3)" identifier = (call_expression "FUN_00036560(uVar3,param_3)" identifier (argument_list "(uVar3,param_3)" ( identifier , identifier )))) ;) (expression_statement "uVar9 = param_3[1];" (assignment_expression "uVar9 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }" if (parenthesized_expression "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )) (compound_statement "{\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }" { (if_statement "if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" if (parenthesized_expression "((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"'))" ( (binary_expression "(param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(*param_3 + uVar7) != '\"')" ( (binary_expression "*(char *)(*param_3 + uVar7) != '\"'" (pointer_expression "*(char *)(*param_3 + uVar7)" * (cast_expression "(char *)(*param_3 + uVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + uVar7)" ( (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" * identifier) + identifier) )))) != (char_literal "'\"'" ' escape_sequence ')) ))) )) (compound_statement "{\n          bVar1 = false;\n        }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }) (else_clause "else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" else (compound_statement "{\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" { (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }))) (while_statement "while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }" while (parenthesized_expression "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )) (compound_statement "{\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }" { (if_statement "if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }" { (expression_statement "uVar3 = FUN_0002b300();" (assignment_expression "uVar3 = FUN_0002b300()" identifier = (call_expression "FUN_0002b300()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" identifier = (call_expression "FUN_0002a830(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal )))) ;) (if_statement "if (local_78 != 0) goto LAB_0002d0f4;" if (parenthesized_expression "(local_78 != 0)" ( (binary_expression "local_78 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002d0f4;" goto statement_identifier ;)) (expression_statement "uVar8 = FUN_00036560(uVar3,param_3);" (assignment_expression "uVar8 = FUN_00036560(uVar3,param_3)" identifier = (call_expression "FUN_00036560(uVar3,param_3)" identifier (argument_list "(uVar3,param_3)" ( identifier , identifier )))) ;) }) (else_clause "else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" else (compound_statement "{\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" { (expression_statement "uVar8 = uVar7 + 1;" (assignment_expression "uVar8 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }" if (parenthesized_expression "(*(char *)(*param_3 + uVar7) == '\"')" ( (binary_expression "*(char *)(*param_3 + uVar7) == '\"'" (pointer_expression "*(char *)(*param_3 + uVar7)" * (cast_expression "(char *)(*param_3 + uVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + uVar7)" ( (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" * identifier) + identifier) )))) == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }" { (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" identifier = (cast_expression "(bool)(bVar1 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 ^ 1)" ( (binary_expression "bVar1 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "uVar9 = FUN_00036520(uVar8,param_3);" (assignment_expression "uVar9 = FUN_00036520(uVar8,param_3)" identifier = (call_expression "FUN_00036520(uVar8,param_3)" identifier (argument_list "(uVar8,param_3)" ( identifier , identifier )))) ;) (if_statement "if ((uint)param_3[1] <= uVar9) break;" if (parenthesized_expression "((uint)param_3[1] <= uVar9)" ( (binary_expression "(uint)param_3[1] <= uVar9" (cast_expression "(uint)param_3[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) <= identifier) )) (break_statement "break;" break ;)) })) (expression_statement "FUN_00036440(local_30);" (call_expression "FUN_00036440(local_30)" identifier (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));" (call_expression "FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7))" identifier (argument_list "(local_30,(int)*(char *)(*param_3 + uVar7))" ( identifier , (cast_expression "(int)*(char *)(*param_3 + uVar7)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(*param_3 + uVar7)" * (cast_expression "(char *)(*param_3 + uVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + uVar7)" ( (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" * identifier) + identifier) ))))) ))) ;) (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" identifier = (call_expression "FUN_0002a830(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal )))) ;) (if_statement "if (local_78 != 0) goto LAB_0002d0f4;" if (parenthesized_expression "(local_78 != 0)" ( (binary_expression "local_78 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002d0f4;" goto statement_identifier ;)) (if_statement "if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }" { (expression_statement "uVar8 = FUN_00036520(uVar8,param_3);" (assignment_expression "uVar8 = FUN_00036520(uVar8,param_3)" identifier = (call_expression "FUN_00036520(uVar8,param_3)" identifier (argument_list "(uVar8,param_3)" ( identifier , identifier )))) ;) })) }))) (expression_statement "uVar7 = uVar8;" (assignment_expression "uVar7 = uVar8" identifier = identifier) ;) (expression_statement "uVar9 = param_3[1];" (assignment_expression "uVar9 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) })) (expression_statement "local_78 = 0;" (assignment_expression "local_78 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }" else (compound_statement "{\n        local_78 = FUN_0002a830(uVar4,0);\n      }" { (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" identifier = (call_expression "FUN_0002a830(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal )))) ;) }))) (labeled_statement "LAB_0002d0f4:\n      FUN_00026bf0(uVar4);" statement_identifier : (expression_statement "FUN_00026bf0(uVar4);" (call_expression "FUN_00026bf0(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;)) (expression_statement "FUN_00036370(local_30);" (call_expression "FUN_00036370(local_30)" identifier (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "FUN_00036370(local_3c);" (call_expression "FUN_00036370(local_3c)" identifier (argument_list "(local_3c)" ( identifier ))) ;) (expression_statement "FUN_00036370(local_48);" (call_expression "FUN_00036370(local_48)" identifier (argument_list "(local_48)" ( identifier ))) ;) (expression_statement "FUN_00036370(local_58);" (call_expression "FUN_00036370(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) (return_statement "return local_78;" return identifier ;) })) (expression_statement "pcVar6 = "missing model parameter";" (assignment_expression "pcVar6 = "missing model parameter"" identifier = (string_literal ""missing model parameter"" " string_content ")) ;) }))) (expression_statement "iVar2 = dcgettext(0,pcVar6,5);" (assignment_expression "iVar2 = dcgettext(0,pcVar6,5)" identifier = (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (while_statement while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT ^ LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (break_statement break ;)) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_0002ce70(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)" (identifier "FUN_0002ce70") (parameter_list "(int param_1,undefined4 param_2,int *param_3,undefined4 param_4,undefined4 param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  int local_78;\n  undefined1 local_58 [12];\n  undefined4 local_4c;\n  undefined1 local_48 [4];\n  int local_44;\n  undefined1 local_3c [12];\n  undefined1 local_30 [12];\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2ce79;\n  FUN_00036520(param_2,param_3);\n  FUN_00036330(local_58);\n  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);\n  if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }\n  iVar2 = dcgettext(0,pcVar6,5);\n  return iVar2;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int local_78;" (primitive_type "int") (identifier "local_78") (; ";")) (declaration "undefined1 local_58 [12];" (type_identifier "undefined1") (array_declarator "local_58 [12]" (identifier "local_58") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined4 local_4c;" (type_identifier "undefined4") (identifier "local_4c") (; ";")) (declaration "undefined1 local_48 [4];" (type_identifier "undefined1") (array_declarator "local_48 [4]" (identifier "local_48") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "undefined1 local_3c [12];" (type_identifier "undefined1") (array_declarator "local_3c [12]" (identifier "local_3c") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined1 local_30 [12];" (type_identifier "undefined1") (array_declarator "local_30 [12]" (identifier "local_30") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x2ce79;" (assignment_expression "uStack_14 = 0x2ce79" (identifier "uStack_14") (= "=") (number_literal "0x2ce79")) (; ";")) (expression_statement "FUN_00036520(param_2,param_3);" (call_expression "FUN_00036520(param_2,param_3)" (identifier "FUN_00036520") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "FUN_00036330(local_58);" (call_expression "FUN_00036330(local_58)" (identifier "FUN_00036330") (argument_list "(local_58)" (( "(") (identifier "local_58") () ")"))) (; ";")) (expression_statement "iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);" (assignment_expression "iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5)" (identifier "iVar2") (= "=") (call_expression "FUN_0002bce0(0,&DAT_00057eca,local_58,param_5)" (identifier "FUN_0002bce0") (argument_list "(0,&DAT_00057eca,local_58,param_5)" (( "(") (number_literal "0") (, ",") (pointer_expression "&DAT_00057eca" (& "&") (identifier "DAT_00057eca")) (, ",") (identifier "local_58") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }\n  else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar6 = "unexpected end of file in irp or irpc";\n  }" ({ "{") (expression_statement "pcVar6 = "unexpected end of file in irp or irpc";" (assignment_expression "pcVar6 = "unexpected end of file in irp or irpc"" (identifier "pcVar6") (= "=") (string_literal ""unexpected end of file in irp or irpc"" (" """) (string_content "unexpected end of file in irp or irpc") (" """))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" (else "else") (compound_statement "{\n    FUN_00036330(local_48);\n    FUN_00036330(local_3c);\n    FUN_00036330(local_30);\n    uVar3 = FUN_0002a580(local_48);\n    if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }\n    pcVar6 = "missing model parameter";\n  }" ({ "{") (expression_statement "FUN_00036330(local_48);" (call_expression "FUN_00036330(local_48)" (identifier "FUN_00036330") (argument_list "(local_48)" (( "(") (identifier "local_48") () ")"))) (; ";")) (expression_statement "FUN_00036330(local_3c);" (call_expression "FUN_00036330(local_3c)" (identifier "FUN_00036330") (argument_list "(local_3c)" (( "(") (identifier "local_3c") () ")"))) (; ";")) (expression_statement "FUN_00036330(local_30);" (call_expression "FUN_00036330(local_30)" (identifier "FUN_00036330") (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (expression_statement "uVar3 = FUN_0002a580(local_48);" (assignment_expression "uVar3 = FUN_0002a580(local_48)" (identifier "uVar3") (= "=") (call_expression "FUN_0002a580(local_48)" (identifier "FUN_0002a580") (argument_list "(local_48)" (( "(") (identifier "local_48") () ")")))) (; ";")) (if_statement "if (local_44 != 0) {\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }" (if "if") (parenthesized_expression "(local_44 != 0)" (( "(") (binary_expression "local_44 != 0" (identifier "local_44") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = FUN_00026bd0();\n      uVar5 = FUN_00036510(local_48);\n      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);\n      if (iVar2 != 0) {\n        return iVar2;\n      }\n      local_24 = 1;\n      local_4c = 0;\n      local_20 = 0;\n      FUN_00036440(param_4);\n      uVar7 = FUN_00036560(uVar3,param_3);\n      uVar9 = param_3[1];\n      if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }\nLAB_0002d0f4:\n      FUN_00026bf0(uVar4);\n      FUN_00036370(local_30);\n      FUN_00036370(local_3c);\n      FUN_00036370(local_48);\n      FUN_00036370(local_58);\n      return local_78;\n    }" ({ "{") (expression_statement "uVar4 = FUN_00026bd0();" (assignment_expression "uVar4 = FUN_00026bd0()" (identifier "uVar4") (= "=") (call_expression "FUN_00026bd0()" (identifier "FUN_00026bd0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_00036510(local_48);" (assignment_expression "uVar5 = FUN_00036510(local_48)" (identifier "uVar5") (= "=") (call_expression "FUN_00036510(local_48)" (identifier "FUN_00036510") (argument_list "(local_48)" (( "(") (identifier "local_48") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);" (assignment_expression "iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c)" (identifier "iVar2") (= "=") (call_expression "FUN_00026d20(uVar4,uVar5,&local_4c)" (identifier "FUN_00026d20") (argument_list "(uVar4,uVar5,&local_4c)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar5") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        return iVar2;\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar2;\n      }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00036440(param_4);" (call_expression "FUN_00036440(param_4)" (identifier "FUN_00036440") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))) (; ";")) (expression_statement "uVar7 = FUN_00036560(uVar3,param_3);" (assignment_expression "uVar7 = FUN_00036560(uVar3,param_3)" (identifier "uVar7") (= "=") (call_expression "FUN_00036560(uVar3,param_3)" (identifier "FUN_00036560") (argument_list "(uVar3,param_3)" (( "(") (identifier "uVar3") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "uVar9 = param_3[1];" (assignment_expression "uVar9 = param_3[1]" (identifier "uVar9") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (uVar7 < uVar9) {\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }\n      else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }" (if "if") (parenthesized_expression "(uVar7 < uVar9)" (( "(") (binary_expression "uVar7 < uVar9" (identifier "uVar7") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }\n        while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }\n        local_78 = 0;\n      }" ({ "{") (if_statement "if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {\n          bVar1 = false;\n        }\n        else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" (if "if") (parenthesized_expression "((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"'))" (( "(") (binary_expression "(param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')" (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(*param_3 + uVar7) != '\"')" (( "(") (binary_expression "*(char *)(*param_3 + uVar7) != '\"'" (pointer_expression "*(char *)(*param_3 + uVar7)" (* "*") (cast_expression "(char *)(*param_3 + uVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + uVar7)" (( "(") (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (identifier "uVar7")) () ")")))) (!= "!=") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          bVar1 = false;\n        }" ({ "{") (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" (else "else") (compound_statement "{\n          uVar7 = uVar7 + 1;\n          bVar1 = true;\n        }" ({ "{") (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")))) (while_statement "while (uVar7 < uVar9) {\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }" (while "while") (parenthesized_expression "(uVar7 < uVar9)" (( "(") (binary_expression "uVar7 < uVar9" (identifier "uVar7") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n          if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }\n          uVar7 = uVar8;\n          uVar9 = param_3[1];\n        }" ({ "{") (if_statement "if (param_1 == 0) {\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }\n          else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar3 = FUN_0002b300();\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            uVar8 = FUN_00036560(uVar3,param_3);\n          }" ({ "{") (expression_statement "uVar3 = FUN_0002b300();" (assignment_expression "uVar3 = FUN_0002b300()" (identifier "uVar3") (= "=") (call_expression "FUN_0002b300()" (identifier "FUN_0002b300") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" (identifier "local_78") (= "=") (call_expression "FUN_0002a830(uVar4,0)" (identifier "FUN_0002a830") (argument_list "(uVar4,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (local_78 != 0) goto LAB_0002d0f4;" (if "if") (parenthesized_expression "(local_78 != 0)" (( "(") (binary_expression "local_78 != 0" (identifier "local_78") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002d0f4;" (goto "goto") (statement_identifier "LAB_0002d0f4") (; ";"))) (expression_statement "uVar8 = FUN_00036560(uVar3,param_3);" (assignment_expression "uVar8 = FUN_00036560(uVar3,param_3)" (identifier "uVar8") (= "=") (call_expression "FUN_00036560(uVar3,param_3)" (identifier "FUN_00036560") (argument_list "(uVar3,param_3)" (( "(") (identifier "uVar3") (, ",") (identifier "param_3") () ")")))) (; ";")) (} "}")) (else_clause "else {\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" (else "else") (compound_statement "{\n            uVar8 = uVar7 + 1;\n            if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }\n            FUN_00036440(local_30);\n            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));\n            local_78 = FUN_0002a830(uVar4,0);\n            if (local_78 != 0) goto LAB_0002d0f4;\n            if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }\n          }" ({ "{") (expression_statement "uVar8 = uVar7 + 1;" (assignment_expression "uVar8 = uVar7 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(char *)(*param_3 + uVar7) == '\"') {\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }" (if "if") (parenthesized_expression "(*(char *)(*param_3 + uVar7) == '\"')" (( "(") (binary_expression "*(char *)(*param_3 + uVar7) == '\"'" (pointer_expression "*(char *)(*param_3 + uVar7)" (* "*") (cast_expression "(char *)(*param_3 + uVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + uVar7)" (( "(") (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (identifier "uVar7")) () ")")))) (== "==") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")")) (compound_statement "{\n              bVar1 = (bool)(bVar1 ^ 1);\n              uVar9 = FUN_00036520(uVar8,param_3);\n              if ((uint)param_3[1] <= uVar9) break;\n            }" ({ "{") (expression_statement "bVar1 = (bool)(bVar1 ^ 1);" (assignment_expression "bVar1 = (bool)(bVar1 ^ 1)" (identifier "bVar1") (= "=") (cast_expression "(bool)(bVar1 ^ 1)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(bVar1 ^ 1)" (( "(") (binary_expression "bVar1 ^ 1" (identifier "bVar1") (^ "^") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar9 = FUN_00036520(uVar8,param_3);" (assignment_expression "uVar9 = FUN_00036520(uVar8,param_3)" (identifier "uVar9") (= "=") (call_expression "FUN_00036520(uVar8,param_3)" (identifier "FUN_00036520") (argument_list "(uVar8,param_3)" (( "(") (identifier "uVar8") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if ((uint)param_3[1] <= uVar9) break;" (if "if") (parenthesized_expression "((uint)param_3[1] <= uVar9)" (( "(") (binary_expression "(uint)param_3[1] <= uVar9" (cast_expression "(uint)param_3[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (<= "<=") (identifier "uVar9")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (expression_statement "FUN_00036440(local_30);" (call_expression "FUN_00036440(local_30)" (identifier "FUN_00036440") (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (expression_statement "FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));" (call_expression "FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7))" (identifier "FUN_00036450") (argument_list "(local_30,(int)*(char *)(*param_3 + uVar7))" (( "(") (identifier "local_30") (, ",") (cast_expression "(int)*(char *)(*param_3 + uVar7)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(*param_3 + uVar7)" (* "*") (cast_expression "(char *)(*param_3 + uVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + uVar7)" (( "(") (binary_expression "*param_3 + uVar7" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (identifier "uVar7")) () ")"))))) () ")"))) (; ";")) (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" (identifier "local_78") (= "=") (call_expression "FUN_0002a830(uVar4,0)" (identifier "FUN_0002a830") (argument_list "(uVar4,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (local_78 != 0) goto LAB_0002d0f4;" (if "if") (parenthesized_expression "(local_78 != 0)" (( "(") (binary_expression "local_78 != 0" (identifier "local_78") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002d0f4;" (goto "goto") (statement_identifier "LAB_0002d0f4") (; ";"))) (if_statement "if (!bVar1) {\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }" (if "if") (parenthesized_expression "(!bVar1)" (( "(") (unary_expression "!bVar1" (! "!") (identifier "bVar1")) () ")")) (compound_statement "{\n              uVar8 = FUN_00036520(uVar8,param_3);\n            }" ({ "{") (expression_statement "uVar8 = FUN_00036520(uVar8,param_3);" (assignment_expression "uVar8 = FUN_00036520(uVar8,param_3)" (identifier "uVar8") (= "=") (call_expression "FUN_00036520(uVar8,param_3)" (identifier "FUN_00036520") (argument_list "(uVar8,param_3)" (( "(") (identifier "uVar8") (, ",") (identifier "param_3") () ")")))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar7 = uVar8;" (assignment_expression "uVar7 = uVar8" (identifier "uVar7") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar9 = param_3[1];" (assignment_expression "uVar9 = param_3[1]" (identifier "uVar9") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "local_78 = 0;" (assignment_expression "local_78 = 0" (identifier "local_78") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        local_78 = FUN_0002a830(uVar4,0);\n      }" (else "else") (compound_statement "{\n        local_78 = FUN_0002a830(uVar4,0);\n      }" ({ "{") (expression_statement "local_78 = FUN_0002a830(uVar4,0);" (assignment_expression "local_78 = FUN_0002a830(uVar4,0)" (identifier "local_78") (= "=") (call_expression "FUN_0002a830(uVar4,0)" (identifier "FUN_0002a830") (argument_list "(uVar4,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (labeled_statement "LAB_0002d0f4:\n      FUN_00026bf0(uVar4);" (statement_identifier "LAB_0002d0f4") (: ":") (expression_statement "FUN_00026bf0(uVar4);" (call_expression "FUN_00026bf0(uVar4)" (identifier "FUN_00026bf0") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";"))) (expression_statement "FUN_00036370(local_30);" (call_expression "FUN_00036370(local_30)" (identifier "FUN_00036370") (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (expression_statement "FUN_00036370(local_3c);" (call_expression "FUN_00036370(local_3c)" (identifier "FUN_00036370") (argument_list "(local_3c)" (( "(") (identifier "local_3c") () ")"))) (; ";")) (expression_statement "FUN_00036370(local_48);" (call_expression "FUN_00036370(local_48)" (identifier "FUN_00036370") (argument_list "(local_48)" (( "(") (identifier "local_48") () ")"))) (; ";")) (expression_statement "FUN_00036370(local_58);" (call_expression "FUN_00036370(local_58)" (identifier "FUN_00036370") (argument_list "(local_58)" (( "(") (identifier "local_58") () ")"))) (; ";")) (return_statement "return local_78;" (return "return") (identifier "local_78") (; ";")) (} "}"))) (expression_statement "pcVar6 = "missing model parameter";" (assignment_expression "pcVar6 = "missing model parameter"" (identifier "pcVar6") (= "=") (string_literal ""missing model parameter"" (" """) (string_content "missing model parameter") (" """))) (; ";")) (} "}")))) (expression_statement "iVar2 = dcgettext(0,pcVar6,5);" (assignment_expression "iVar2 = dcgettext(0,pcVar6,5)" (identifier "iVar2") (= "=") (call_expression "dcgettext(0,pcVar6,5)" (identifier "dcgettext") (argument_list "(0,pcVar6,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar6") (, ",") (number_literal "5") () ")")))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

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

char * function_1(int var_14,size_t idx,type_1 *in,type_1 *out,type_2 *get_line)

{
  type_1 *ptr;
  type_1 *ptr_00;
  bool var_18;
  size_t var_12;
  int var_4;
  type_3 *table;
  char *var_9;
  type_4 var_13;
  size_t idx_00;
  size_t var_19;
  char *var_17;
  type_1 sub;
  type_5 f;
  
  var_12 = var_1(idx,in);
  var_2(&sub);
  var_4 = var_3((char *)0x0,"ENDR",&sub,get_line);
  if (var_4 == 0) {
    var_9 = "unexpected end of file in irp or irpc";
  }
  else {
    ptr = &f.name;
    var_2(ptr);
    var_2(&f.def);
    ptr_00 = &f.actual;
    var_2(ptr_00);
    var_12 = var_5(var_12,in,(type_1 *)&in->len,ptr);
    if (f.name.len != 0) {
      table = var_6();
      var_9 = var_7(ptr);
      var_9 = var_8(table,var_9,&f);
      if (var_9 != (char *)0x0) {
        return var_9;
      }
      f.index = 1;
      f.next = (type_6 *)0x0;
      f.type = FORMAL_OPTIONAL;
      var_10(out);
      var_12 = var_11(var_12,in);
      var_13 = in->len;
      if (var_12 < var_13) {
        if ((var_14 == 0) || (in->ptr[var_12] != '\"')) {
          var_18 = false;
        }
        else {
          var_12 = var_12 + 1;
          var_18 = true;
        }
        while (var_12 < var_13) {
          if (var_14 == 0) {
            var_12 = var_15(var_12,in,ptr_00);
            var_17 = var_16(&sub,out,&f,table,(type_7 *)0x0);
            if (var_17 != (char *)0x0) goto LAB_0002d0f4;
            idx_00 = var_11(var_12,in);
          }
          else {
            idx_00 = var_12 + 1;
            if (in->ptr[var_12] == '\"') {
              var_18 = (bool)(var_18 ^ 1);
              var_19 = var_1(idx_00,in);
              if (in->len <= var_19) break;
            }
            var_10(ptr_00);
            var_20(ptr_00,(int)in->ptr[var_12]);
            var_17 = var_16(&sub,out,&f,table,(type_7 *)0x0);
            if (var_17 != (char *)0x0) goto LAB_0002d0f4;
            if (!var_18) {
              idx_00 = var_1(idx_00,in);
            }
          }
          var_12 = idx_00;
          var_13 = in->len;
        }
        var_17 = (char *)0x0;
      }
      else {
        var_17 = var_16(&sub,out,&f,table,(type_7 *)0x0);
      }
LAB_0002d0f4:
      var_21(table);
      var_22(ptr_00);
      var_22(&f.def);
      var_22(ptr);
      var_22(&sub);
      return var_17;
    }
    var_9 = "missing model parameter";
  }
  var_9 = (char *)var_23(0,var_9,5);
  return var_9;
}


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

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

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

{
  bool bVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  int local_78;
  undefined1 local_58 [12];
  undefined4 local_4c;
  undefined1 local_48 [4];
  int local_44;
  undefined1 local_3c [12];
  undefined1 local_30 [12];
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x2ce79;
  FUN_00036520(param_2,param_3);
  FUN_00036330(local_58);
  iVar2 = FUN_0002bce0(0,&DAT_00057eca,local_58,param_5);
  if (iVar2 == 0) {
    pcVar6 = "unexpected end of file in irp or irpc";
  }
  else {
    FUN_00036330(local_48);
    FUN_00036330(local_3c);
    FUN_00036330(local_30);
    uVar3 = FUN_0002a580(local_48);
    if (local_44 != 0) {
      uVar4 = FUN_00026bd0();
      uVar5 = FUN_00036510(local_48);
      iVar2 = FUN_00026d20(uVar4,uVar5,&local_4c);
      if (iVar2 != 0) {
        return iVar2;
      }
      local_24 = 1;
      local_4c = 0;
      local_20 = 0;
      FUN_00036440(param_4);
      uVar7 = FUN_00036560(uVar3,param_3);
      uVar9 = param_3[1];
      if (uVar7 < uVar9) {
        if ((param_1 == 0) || (*(char *)(*param_3 + uVar7) != '\"')) {
          bVar1 = false;
        }
        else {
          uVar7 = uVar7 + 1;
          bVar1 = true;
        }
        while (uVar7 < uVar9) {
          if (param_1 == 0) {
            uVar3 = FUN_0002b300();
            local_78 = FUN_0002a830(uVar4,0);
            if (local_78 != 0) goto LAB_0002d0f4;
            uVar8 = FUN_00036560(uVar3,param_3);
          }
          else {
            uVar8 = uVar7 + 1;
            if (*(char *)(*param_3 + uVar7) == '\"') {
              bVar1 = (bool)(bVar1 ^ 1);
              uVar9 = FUN_00036520(uVar8,param_3);
              if ((uint)param_3[1] <= uVar9) break;
            }
            FUN_00036440(local_30);
            FUN_00036450(local_30,(int)*(char *)(*param_3 + uVar7));
            local_78 = FUN_0002a830(uVar4,0);
            if (local_78 != 0) goto LAB_0002d0f4;
            if (!bVar1) {
              uVar8 = FUN_00036520(uVar8,param_3);
            }
          }
          uVar7 = uVar8;
          uVar9 = param_3[1];
        }
        local_78 = 0;
      }
      else {
        local_78 = FUN_0002a830(uVar4,0);
      }
LAB_0002d0f4:
      FUN_00026bf0(uVar4);
      FUN_00036370(local_30);
      FUN_00036370(local_3c);
      FUN_00036370(local_48);
      FUN_00036370(local_58);
      return local_78;
    }
    pcVar6 = "missing model parameter";
  }
  iVar2 = dcgettext(0,pcVar6,5);
  return iVar2;
}

