
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3
x11font_really_draw_text
          (x11font_drawfuncs *dfns,unifont_drawctx *ctx,x11font_individual *xfi,int x,int y,
          void *string,int nchars,int shadowoffset,int fontvariable,int cellwidth)

{
  bool bVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int local_2c;
  
  local_2c = x;
  if (fontvariable == 0) {
    (*dfns->setup)(ctx,xfi);
    if (shadowoffset != 0) {
      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);
                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);
    return;
  }
  (*dfns->setup)(ctx,xfi);
  if (0 < nchars) {
    if (shadowoffset != 0) {
      iVar3 = nchars + -1;
      iVar4 = 0;
      do {
        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);
        iVar2 = (cellwidth - iVar2) / 2 + local_2c;
        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);
        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);
        local_2c = local_2c + cellwidth;
        bVar1 = 0 < iVar3;
        iVar3 = iVar3 + -1;
        iVar4 = iVar4 + 1;
      } while (bVar1);
      return;
    }
    iVar3 = nchars + -1;
    iVar4 = 0;
    do {
      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);
      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);
      x = x + cellwidth;
      bVar1 = 0 < iVar3;
      iVar3 = iVar3 + -1;
      iVar4 = iVar4 + 1;
    } while (bVar1);
  }
  return;
}



void __regparm3
FUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,
            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)

{
  bool bVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int local_2c;
  
  local_2c = param_4;
  if (param_9 == 0) {
    (*(code *)param_1[1])(param_2,param_3);
    if (param_8 != 0) {
      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);
                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)param_1[2])();
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)param_1[2])();
    return;
  }
  (*(code *)param_1[1])(param_2,param_3);
  if (0 < param_7) {
    if (param_8 != 0) {
      iVar3 = param_7 + -1;
      iVar4 = 0;
      do {
        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);
        iVar2 = (param_10 - iVar2) / 2 + local_2c;
        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);
        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);
        local_2c = local_2c + param_10;
        bVar1 = 0 < iVar3;
        iVar3 = iVar3 + -1;
        iVar4 = iVar4 + 1;
      } while (bVar1);
      return;
    }
    iVar3 = param_7 + -1;
    iVar4 = 0;
    do {
      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);
      (*(code *)param_1[2])
                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);
      param_4 = param_4 + param_10;
      bVar1 = 0 < iVar3;
      iVar3 = iVar3 + -1;
      iVar4 = iVar4 + 1;
    } while (bVar1);
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,ECX
PUSH ESI
MOV ESI,EDX
PUSH EBX
MOV EBX,EAX
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [ESP + 0x44]
MOV EDX,dword ptr [ESP + 0x58]
MOV EBP,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [EBX + 0x4]
MOV dword ptr [ESP + 0x4],ECX
TEST EDX,EDX
JZ 0x0005ebe0
SUB ESP,0x8
PUSH EDI
PUSH ESI
CALL EAX
LEA EDX,[EBP + -0x1]
ADD ESP,0x10
TEST EBP,EBP
JLE 0x0005ebd8
MOV EBP,dword ptr [ESP + 0x14]
TEST EBP,EBP
JNZ 0x0005ec30
MOV dword ptr [ESP + 0x14],EBX
MOV EBX,dword ptr [ESP + 0x10]
JMP 0x0005eb82
MOV EDX,EAX
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0xc
PUSH 0x1
PUSH EBP
PUSH dword ptr [ESP + 0x18]
PUSH EDI
PUSH ESI
MOV EAX,dword ptr [ESP + 0x34]
CALL dword ptr [EAX]
ADD ESP,0x1c
PUSH 0x1
PUSH EBP
ADD EBP,0x1
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x1c]
SUB ECX,EAX
MOV EDX,ECX
SHR EDX,0x1f
MOV EAX,EDX
ADD EAX,ECX
SAR EAX,0x1
ADD EAX,EBX
PUSH EAX
PUSH EDI
PUSH ESI
MOV EAX,dword ptr [ESP + 0x34]
CALL dword ptr [EAX + 0x8]
MOV EDX,dword ptr [ESP + 0x30]
ADD EBX,dword ptr [ESP + 0x28]
ADD ESP,0x20
LEA EAX,[EDX + -0x1]
TEST EDX,EDX
JG 0x0005eb80
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH EDI
PUSH ESI
CALL EAX
MOV EAX,dword ptr [ESP + 0x24]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0005ecb8
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x58],EBP
MOV dword ptr [ESP + 0x44],EDI
MOV dword ptr [ESP + 0x50],EAX
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x40],ESI
MOV dword ptr [ESP + 0x4c],EAX
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x54],0x0
MOV dword ptr [ESP + 0x48],EAX
MOV EAX,dword ptr [EBX + 0x8]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
XOR EBP,EBP
JMP 0x0005ec3a
MOV EDX,EAX
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0xc
PUSH 0x1
PUSH EBP
PUSH dword ptr [ESP + 0x18]
PUSH EDI
PUSH ESI
CALL dword ptr [EBX]
MOV ECX,dword ptr [ESP + 0x28]
SUB ECX,EAX
MOV EAX,ECX
SHR EAX,0x1f
ADD EAX,ECX
SAR EAX,0x1
ADD EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
PUSH 0x1
PUSH EBP
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
MOV dword ptr [ESP + 0x30],EAX
PUSH EDI
PUSH ESI
CALL dword ptr [EBX + 0x8]
ADD ESP,0x1c
PUSH 0x1
PUSH EBP
ADD EBP,0x1
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x2c]
ADD EAX,dword ptr [ESP + 0x28]
PUSH EAX
PUSH EDI
PUSH ESI
CALL dword ptr [EBX + 0x8]
MOV EDX,dword ptr [ESP + 0x3c]
MOV ECX,dword ptr [ESP + 0x28]
ADD dword ptr [ESP + 0x30],ECX
LEA EAX,[EDX + -0x1]
ADD ESP,0x20
TEST EDX,EDX
JG 0x0005ec38
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH EBP
PUSH 0x0
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x24]
PUSH EDI
PUSH ESI
CALL dword ptr [EBX + 0x8]
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x70],EAX
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0x78],EBP
MOV dword ptr [ESP + 0x6c],EAX
MOV EAX,dword ptr [ESP + 0x34]
ADD EAX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x64],EDI
MOV dword ptr [ESP + 0x60],ESI
MOV dword ptr [ESP + 0x74],0x0
MOV dword ptr [ESP + 0x68],EAX
MOV EAX,dword ptr [EBX + 0x8]
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
(translation_unit "void __regparm3\nFUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)param_1[2])();\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)param_1[2])();\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "int param_10" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)param_1[2])();\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = param_4;" (assignment_expression "local_2c = param_4" identifier = identifier) ;) (if_statement "if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)param_1[2])();\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)param_1[2])();\n    return;\n  }" if (parenthesized_expression "(param_9 == 0)" ( (binary_expression "param_9 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)param_1[2])();\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)param_1[2])();\n    return;\n  }" { (expression_statement "(*(code *)param_1[1])(param_2,param_3);" (call_expression "(*(code *)param_1[1])(param_2,param_3)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (if_statement "if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)param_1[2])();\n      return;\n    }" if (parenthesized_expression "(param_8 != 0)" ( (binary_expression "param_8 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*(code *)param_1[2])();\n      return;\n    }" { (expression_statement "(*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);" (call_expression "(*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,param_4,param_5,param_6,0,param_7)" ( identifier , identifier , identifier , identifier , identifier , number_literal , identifier ))) ;) comment comment (expression_statement "(*(code *)param_1[2])();" (call_expression "(*(code *)param_1[2])()" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)param_1[2])();" (call_expression "(*(code *)param_1[2])()" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)param_1[1])(param_2,param_3);" (call_expression "(*(code *)param_1[1])(param_2,param_3)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (if_statement "if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" if (parenthesized_expression "(0 < param_7)" ( (binary_expression "0 < param_7" number_literal < identifier) )) (compound_statement "{\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" { (if_statement "if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" if (parenthesized_expression "(param_8 != 0)" ( (binary_expression "param_8 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" { (expression_statement "iVar3 = param_7 + -1;" (assignment_expression "iVar3 = param_7 + -1" identifier = (binary_expression "param_7 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);" do (compound_statement "{\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      }" { (expression_statement "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);" (assignment_expression "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" identifier = (call_expression "(*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2,param_3,param_6,iVar4,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar2 = (param_10 - iVar2) / 2 + local_2c;" (assignment_expression "iVar2 = (param_10 - iVar2) / 2 + local_2c" identifier = (binary_expression "(param_10 - iVar2) / 2 + local_2c" (binary_expression "(param_10 - iVar2) / 2" (parenthesized_expression "(param_10 - iVar2)" ( (binary_expression "param_10 - iVar2" identifier - identifier) )) / number_literal) + identifier)) ;) (expression_statement "(*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,iVar2,param_5,param_6,iVar4,1)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1)" ( identifier , identifier , (binary_expression "iVar2 + param_8" identifier + identifier) , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "local_2c = local_2c + param_10;" (assignment_expression "local_2c = local_2c + param_10" identifier = (binary_expression "local_2c + param_10" identifier + identifier)) ;) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" identifier = (binary_expression "0 < iVar3" number_literal < identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = param_7 + -1;" (assignment_expression "iVar3 = param_7 + -1" identifier = (binary_expression "param_7 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);" do (compound_statement "{\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);" (assignment_expression "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" identifier = (call_expression "(*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2,param_3,param_6,iVar4,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "(*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1)" ( identifier , identifier , (binary_expression "(param_10 - iVar2) / 2 + param_4" (binary_expression "(param_10 - iVar2) / 2" (parenthesized_expression "(param_10 - iVar2)" ( (binary_expression "param_10 - iVar2" identifier - identifier) )) / number_literal) + identifier) , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "param_4 = param_4 + param_10;" (assignment_expression "param_4 = param_4 + param_10" identifier = (binary_expression "param_4 + param_10" identifier + identifier)) ;) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" identifier = (binary_expression "0 < iVar3" number_literal < identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid __regparm3\nx11font_really_draw_text\n          (x11font_drawfuncs *dfns,unifont_drawctx *ctx,x11font_individual *xfi,int x,int y,\n          void *string,int nchars,int shadowoffset,int fontvariable,int cellwidth)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = x;\n  if (fontvariable == 0) {\n    (*dfns->setup)(ctx,xfi);\n    if (shadowoffset != 0) {\n      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n    return;\n  }\n  (*dfns->setup)(ctx,xfi);\n  if (0 < nchars) {\n    if (shadowoffset != 0) {\n      iVar3 = nchars + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = nchars + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);\n      x = x + cellwidth;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3\nx11font_really_draw_text\n          (x11font_drawfuncs *dfns,unifont_drawctx *ctx,x11font_individual *xfi,int x,int y,\n          void *string,int nchars,int shadowoffset,int fontvariable,int cellwidth)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = x;\n  if (fontvariable == 0) {\n    (*dfns->setup)(ctx,xfi);\n    if (shadowoffset != 0) {\n      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n    return;\n  }\n  (*dfns->setup)(ctx,xfi);\n  if (0 < nchars) {\n    if (shadowoffset != 0) {\n      iVar3 = nchars + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = nchars + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);\n      x = x + cellwidth;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "x11font_really_draw_text\n          (x11font_drawfuncs *dfns,unifont_drawctx *ctx,x11font_individual *xfi,int x,int y,\n          void *string,int nchars,int shadowoffset,int fontvariable,int cellwidth)" identifier (parameter_list "(x11font_drawfuncs *dfns,unifont_drawctx *ctx,x11font_individual *xfi,int x,int y,\n          void *string,int nchars,int shadowoffset,int fontvariable,int cellwidth)" ( (parameter_declaration "x11font_drawfuncs *dfns" type_identifier (pointer_declarator "*dfns" * identifier)) , (parameter_declaration "unifont_drawctx *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "x11font_individual *xfi" type_identifier (pointer_declarator "*xfi" * identifier)) , (parameter_declaration "int x" primitive_type identifier) , (parameter_declaration "int y" primitive_type identifier) , (parameter_declaration "void *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "int nchars" primitive_type identifier) , (parameter_declaration "int shadowoffset" primitive_type identifier) , (parameter_declaration "int fontvariable" primitive_type identifier) , (parameter_declaration "int cellwidth" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = x;\n  if (fontvariable == 0) {\n    (*dfns->setup)(ctx,xfi);\n    if (shadowoffset != 0) {\n      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n    return;\n  }\n  (*dfns->setup)(ctx,xfi);\n  if (0 < nchars) {\n    if (shadowoffset != 0) {\n      iVar3 = nchars + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = nchars + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);\n      x = x + cellwidth;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = x;" (assignment_expression "local_2c = x" identifier = identifier) ;) (if_statement "if (fontvariable == 0) {\n    (*dfns->setup)(ctx,xfi);\n    if (shadowoffset != 0) {\n      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n    return;\n  }" if (parenthesized_expression "(fontvariable == 0)" ( (binary_expression "fontvariable == 0" identifier == number_literal) )) (compound_statement "{\n    (*dfns->setup)(ctx,xfi);\n    if (shadowoffset != 0) {\n      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n    return;\n  }" { (expression_statement "(*dfns->setup)(ctx,xfi);" (call_expression "(*dfns->setup)(ctx,xfi)" (parenthesized_expression "(*dfns->setup)" ( (pointer_expression "*dfns->setup" * (field_expression "dfns->setup" identifier -> field_identifier)) )) (argument_list "(ctx,xfi)" ( identifier , identifier ))) ;) (if_statement "if (shadowoffset != 0) {\n      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);\n      return;\n    }" if (parenthesized_expression "(shadowoffset != 0)" ( (binary_expression "shadowoffset != 0" identifier != number_literal) )) (compound_statement "{\n      (*dfns->draw)(ctx,xfi,x,y,string,0,nchars);\n                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);\n      return;\n    }" { (expression_statement "(*dfns->draw)(ctx,xfi,x,y,string,0,nchars);" (call_expression "(*dfns->draw)(ctx,xfi,x,y,string,0,nchars)" (parenthesized_expression "(*dfns->draw)" ( (pointer_expression "*dfns->draw" * (field_expression "dfns->draw" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,x,y,string,0,nchars)" ( identifier , identifier , identifier , identifier , identifier , number_literal , identifier ))) ;) comment comment (expression_statement "(*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars);" (call_expression "(*dfns->draw)(ctx,xfi,shadowoffset + x,y,string,0,nchars)" (parenthesized_expression "(*dfns->draw)" ( (pointer_expression "*dfns->draw" * (field_expression "dfns->draw" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,shadowoffset + x,y,string,0,nchars)" ( identifier , identifier , (binary_expression "shadowoffset + x" identifier + identifier) , identifier , identifier , number_literal , identifier ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*dfns->draw)(ctx,xfi,x,y,string,0,nchars);" (call_expression "(*dfns->draw)(ctx,xfi,x,y,string,0,nchars)" (parenthesized_expression "(*dfns->draw)" ( (pointer_expression "*dfns->draw" * (field_expression "dfns->draw" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,x,y,string,0,nchars)" ( identifier , identifier , identifier , identifier , identifier , number_literal , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*dfns->setup)(ctx,xfi);" (call_expression "(*dfns->setup)(ctx,xfi)" (parenthesized_expression "(*dfns->setup)" ( (pointer_expression "*dfns->setup" * (field_expression "dfns->setup" identifier -> field_identifier)) )) (argument_list "(ctx,xfi)" ( identifier , identifier ))) ;) (if_statement "if (0 < nchars) {\n    if (shadowoffset != 0) {\n      iVar3 = nchars + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = nchars + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);\n      x = x + cellwidth;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" if (parenthesized_expression "(0 < nchars)" ( (binary_expression "0 < nchars" number_literal < identifier) )) (compound_statement "{\n    if (shadowoffset != 0) {\n      iVar3 = nchars + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = nchars + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);\n      x = x + cellwidth;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" { (if_statement "if (shadowoffset != 0) {\n      iVar3 = nchars + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" if (parenthesized_expression "(shadowoffset != 0)" ( (binary_expression "shadowoffset != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = nchars + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" { (expression_statement "iVar3 = nchars + -1;" (assignment_expression "iVar3 = nchars + -1" identifier = (binary_expression "nchars + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);" do (compound_statement "{\n        iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n        iVar2 = (cellwidth - iVar2) / 2 + local_2c;\n        (*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);\n        (*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);\n        local_2c = local_2c + cellwidth;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      }" { (expression_statement "iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);" (assignment_expression "iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1)" identifier = (call_expression "(*dfns->width)(ctx,xfi,string,iVar4,1)" (parenthesized_expression "(*dfns->width)" ( (pointer_expression "*dfns->width" * (field_expression "dfns->width" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,string,iVar4,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar2 = (cellwidth - iVar2) / 2 + local_2c;" (assignment_expression "iVar2 = (cellwidth - iVar2) / 2 + local_2c" identifier = (binary_expression "(cellwidth - iVar2) / 2 + local_2c" (binary_expression "(cellwidth - iVar2) / 2" (parenthesized_expression "(cellwidth - iVar2)" ( (binary_expression "cellwidth - iVar2" identifier - identifier) )) / number_literal) + identifier)) ;) (expression_statement "(*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1);" (call_expression "(*dfns->draw)(ctx,xfi,iVar2,y,string,iVar4,1)" (parenthesized_expression "(*dfns->draw)" ( (pointer_expression "*dfns->draw" * (field_expression "dfns->draw" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,iVar2,y,string,iVar4,1)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "(*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1);" (call_expression "(*dfns->draw)(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1)" (parenthesized_expression "(*dfns->draw)" ( (pointer_expression "*dfns->draw" * (field_expression "dfns->draw" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,iVar2 + shadowoffset,y,string,iVar4,1)" ( identifier , identifier , (binary_expression "iVar2 + shadowoffset" identifier + identifier) , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "local_2c = local_2c + cellwidth;" (assignment_expression "local_2c = local_2c + cellwidth" identifier = (binary_expression "local_2c + cellwidth" identifier + identifier)) ;) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" identifier = (binary_expression "0 < iVar3" number_literal < identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = nchars + -1;" (assignment_expression "iVar3 = nchars + -1" identifier = (binary_expression "nchars + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);\n      x = x + cellwidth;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);" do (compound_statement "{\n      iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);\n      (*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);\n      x = x + cellwidth;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1);" (assignment_expression "iVar2 = (*dfns->width)(ctx,xfi,string,iVar4,1)" identifier = (call_expression "(*dfns->width)(ctx,xfi,string,iVar4,1)" (parenthesized_expression "(*dfns->width)" ( (pointer_expression "*dfns->width" * (field_expression "dfns->width" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,string,iVar4,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "(*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1);" (call_expression "(*dfns->draw)(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1)" (parenthesized_expression "(*dfns->draw)" ( (pointer_expression "*dfns->draw" * (field_expression "dfns->draw" identifier -> field_identifier)) )) (argument_list "(ctx,xfi,(cellwidth - iVar2) / 2 + x,y,string,iVar4,1)" ( identifier , identifier , (binary_expression "(cellwidth - iVar2) / 2 + x" (binary_expression "(cellwidth - iVar2) / 2" (parenthesized_expression "(cellwidth - iVar2)" ( (binary_expression "cellwidth - iVar2" identifier - identifier) )) / number_literal) + identifier) , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "x = x + cellwidth;" (assignment_expression "x = x + cellwidth" identifier = (binary_expression "x + cellwidth" identifier + identifier)) ;) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" identifier = (binary_expression "0 < iVar3" number_literal < identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3\nFUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "int param_10" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = param_4;" (assignment_expression "local_2c = param_4" identifier = identifier) ;) (if_statement "if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }" if (parenthesized_expression "(param_9 == 0)" ( (binary_expression "param_9 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }" { (expression_statement "(*(code *)param_1[1])(param_2,param_3);" (call_expression "(*(code *)param_1[1])(param_2,param_3)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (if_statement "if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }" if (parenthesized_expression "(param_8 != 0)" ( (binary_expression "param_8 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }" { (expression_statement "(*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);" (call_expression "(*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,param_4,param_5,param_6,0,param_7)" ( identifier , identifier , identifier , identifier , identifier , number_literal , identifier ))) ;) (expression_statement "(*(code *)param_1[2])();" (call_expression "(*(code *)param_1[2])()" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)param_1[2])();" (call_expression "(*(code *)param_1[2])()" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)param_1[1])(param_2,param_3);" (call_expression "(*(code *)param_1[1])(param_2,param_3)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (if_statement "if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" if (parenthesized_expression "(0 < param_7)" ( (binary_expression "0 < param_7" number_literal < identifier) )) (compound_statement "{\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" { (if_statement "if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" if (parenthesized_expression "(param_8 != 0)" ( (binary_expression "param_8 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" { (expression_statement "iVar3 = param_7 + -1;" (assignment_expression "iVar3 = param_7 + -1" identifier = (binary_expression "param_7 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);" do (compound_statement "{\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      }" { (expression_statement "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);" (assignment_expression "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" identifier = (call_expression "(*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2,param_3,param_6,iVar4,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar2 = (param_10 - iVar2) / 2 + local_2c;" (assignment_expression "iVar2 = (param_10 - iVar2) / 2 + local_2c" identifier = (binary_expression "(param_10 - iVar2) / 2 + local_2c" (binary_expression "(param_10 - iVar2) / 2" (parenthesized_expression "(param_10 - iVar2)" ( (binary_expression "param_10 - iVar2" identifier - identifier) )) / number_literal) + identifier)) ;) (expression_statement "(*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,iVar2,param_5,param_6,iVar4,1)" ( identifier , identifier , identifier , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1)" ( identifier , identifier , (binary_expression "iVar2 + param_8" identifier + identifier) , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "local_2c = local_2c + param_10;" (assignment_expression "local_2c = local_2c + param_10" identifier = (binary_expression "local_2c + param_10" identifier + identifier)) ;) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" identifier = (binary_expression "0 < iVar3" number_literal < identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar3 = param_7 + -1;" (assignment_expression "iVar3 = param_7 + -1" identifier = (binary_expression "param_7 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);" do (compound_statement "{\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);" (assignment_expression "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" identifier = (call_expression "(*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2,param_3,param_6,iVar4,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "(*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1)" ( identifier , identifier , (binary_expression "(param_10 - iVar2) / 2 + param_4" (binary_expression "(param_10 - iVar2) / 2" (parenthesized_expression "(param_10 - iVar2)" ( (binary_expression "param_10 - iVar2" identifier - identifier) )) / number_literal) + identifier) , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "param_4 = param_4 + param_10;" (assignment_expression "param_4 = param_4 + param_10" identifier = (binary_expression "param_4 + param_10" identifier + identifier)) ;) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" identifier = (binary_expression "0 < iVar3" number_literal < identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1)" ( identifier )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE 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 ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / LIT) + IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + IDENT) , IDENT , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT , (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / LIT) + IDENT) , IDENT , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3\nFUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)\n\n{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0005eb10(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)" (identifier "FUN_0005eb10") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,\n            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) (, ",") (parameter_declaration "int param_9" (primitive_type "int") (identifier "param_9")) (, ",") (parameter_declaration "int param_10" (primitive_type "int") (identifier "param_10")) () ")"))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int local_2c;\n  \n  local_2c = param_4;\n  if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }\n  (*(code *)param_1[1])(param_2,param_3);\n  if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "local_2c = param_4;" (assignment_expression "local_2c = param_4" (identifier "local_2c") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (param_9 == 0) {\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }" (if "if") (parenthesized_expression "(param_9 == 0)" (( "(") (binary_expression "param_9 == 0" (identifier "param_9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)param_1[1])(param_2,param_3);\n    if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }\n                    \n                    \n    (*(code *)param_1[2])();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)param_1[1])(param_2,param_3);" (call_expression "(*(code *)param_1[1])(param_2,param_3)" (parenthesized_expression "(*(code *)param_1[1])" (( "(") (pointer_expression "*(code *)param_1[1]" (* "*") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (if_statement "if (param_8 != 0) {\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }" (if "if") (parenthesized_expression "(param_8 != 0)" (( "(") (binary_expression "param_8 != 0" (identifier "param_8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);\n                    \n                    \n      (*(code *)param_1[2])();\n      return;\n    }" ({ "{") (expression_statement "(*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);" (call_expression "(*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7)" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "(param_2,param_3,param_4,param_5,param_6,0,param_7)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (number_literal "0") (, ",") (identifier "param_7") () ")"))) (; ";")) (expression_statement "(*(code *)param_1[2])();" (call_expression "(*(code *)param_1[2])()" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)param_1[2])();" (call_expression "(*(code *)param_1[2])()" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)param_1[1])(param_2,param_3);" (call_expression "(*(code *)param_1[1])(param_2,param_3)" (parenthesized_expression "(*(code *)param_1[1])" (( "(") (pointer_expression "*(code *)param_1[1]" (* "*") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (if_statement "if (0 < param_7) {\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" (if "if") (parenthesized_expression "(0 < param_7)" (( "(") (binary_expression "0 < param_7" (number_literal "0") (< "<") (identifier "param_7")) () ")")) (compound_statement "{\n    if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }\n    iVar3 = param_7 + -1;\n    iVar4 = 0;\n    do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);\n  }" ({ "{") (if_statement "if (param_8 != 0) {\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" (if "if") (parenthesized_expression "(param_8 != 0)" (( "(") (binary_expression "param_8 != 0" (identifier "param_8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = param_7 + -1;\n      iVar4 = 0;\n      do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);\n      return;\n    }" ({ "{") (expression_statement "iVar3 = param_7 + -1;" (assignment_expression "iVar3 = param_7 + -1" (identifier "iVar3") (= "=") (binary_expression "param_7 + -1" (identifier "param_7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      } while (bVar1);" (do "do") (compound_statement "{\n        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n        iVar2 = (param_10 - iVar2) / 2 + local_2c;\n        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);\n        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);\n        local_2c = local_2c + param_10;\n        bVar1 = 0 < iVar3;\n        iVar3 = iVar3 + -1;\n        iVar4 = iVar4 + 1;\n      }" ({ "{") (expression_statement "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);" (assignment_expression "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "(param_2,param_3,param_6,iVar4,1)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_6") (, ",") (identifier "iVar4") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "iVar2 = (param_10 - iVar2) / 2 + local_2c;" (assignment_expression "iVar2 = (param_10 - iVar2) / 2 + local_2c" (identifier "iVar2") (= "=") (binary_expression "(param_10 - iVar2) / 2 + local_2c" (binary_expression "(param_10 - iVar2) / 2" (parenthesized_expression "(param_10 - iVar2)" (( "(") (binary_expression "param_10 - iVar2" (identifier "param_10") (- "-") (identifier "iVar2")) () ")")) (/ "/") (number_literal "2")) (+ "+") (identifier "local_2c"))) (; ";")) (expression_statement "(*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "(param_2,param_3,iVar2,param_5,param_6,iVar4,1)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "iVar2") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "iVar4") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "(*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (binary_expression "iVar2 + param_8" (identifier "iVar2") (+ "+") (identifier "param_8")) (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "iVar4") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "local_2c = local_2c + param_10;" (assignment_expression "local_2c = local_2c + param_10" (identifier "local_2c") (= "=") (binary_expression "local_2c + param_10" (identifier "local_2c") (+ "+") (identifier "param_10"))) (; ";")) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" (identifier "bVar1") (= "=") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3"))) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar3 = param_7 + -1;" (assignment_expression "iVar3 = param_7 + -1" (identifier "iVar3") (= "=") (binary_expression "param_7 + -1" (identifier "param_7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    } while (bVar1);" (do "do") (compound_statement "{\n      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);\n      (*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);\n      param_4 = param_4 + param_10;\n      bVar1 = 0 < iVar3;\n      iVar3 = iVar3 + -1;\n      iVar4 = iVar4 + 1;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);" (assignment_expression "iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)*param_1)(param_2,param_3,param_6,iVar4,1)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "(param_2,param_3,param_6,iVar4,1)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_6") (, ",") (identifier "iVar4") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "(*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);" (call_expression "(*(code *)param_1[2])\n                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1)" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "(param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (binary_expression "(param_10 - iVar2) / 2 + param_4" (binary_expression "(param_10 - iVar2) / 2" (parenthesized_expression "(param_10 - iVar2)" (( "(") (binary_expression "param_10 - iVar2" (identifier "param_10") (- "-") (identifier "iVar2")) () ")")) (/ "/") (number_literal "2")) (+ "+") (identifier "param_4")) (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "iVar4") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "param_4 = param_4 + param_10;" (assignment_expression "param_4 = param_4 + param_10" (identifier "param_4") (= "=") (binary_expression "param_4 + param_10" (identifier "param_4") (+ "+") (identifier "param_10"))) (; ";")) (expression_statement "bVar1 = 0 < iVar3;" (assignment_expression "bVar1 = 0 < iVar3" (identifier "bVar1") (= "=") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3"))) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3
function_1
          (type_1 *dfns,type_2 *ctx,type_3 *xfi,int var_3,int y,
          void *string,int var_4,int var_2,int var_1,int var_5)

{
  bool bVar1;
  int var_6;
  int var_8;
  int var_9;
  int var_7;
  
  var_7 = var_3;
  if (var_1 == 0) {
    (*dfns->setup)(ctx,xfi);
    if (var_2 != 0) {
      (*dfns->draw)(ctx,xfi,var_3,y,string,0,var_4);
                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*dfns->draw)(ctx,xfi,var_2 + var_3,y,string,0,var_4);
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*dfns->draw)(ctx,xfi,var_3,y,string,0,var_4);
    return;
  }
  (*dfns->setup)(ctx,xfi);
  if (0 < var_4) {
    if (var_2 != 0) {
      var_8 = var_4 + -1;
      var_9 = 0;
      do {
        var_6 = (*dfns->width)(ctx,xfi,string,var_9,1);
        var_6 = (var_5 - var_6) / 2 + var_7;
        (*dfns->draw)(ctx,xfi,var_6,y,string,var_9,1);
        (*dfns->draw)(ctx,xfi,var_6 + var_2,y,string,var_9,1);
        var_7 = var_7 + var_5;
        bVar1 = 0 < var_8;
        var_8 = var_8 + -1;
        var_9 = var_9 + 1;
      } while (bVar1);
      return;
    }
    var_8 = var_4 + -1;
    var_9 = 0;
    do {
      var_6 = (*dfns->width)(ctx,xfi,string,var_9,1);
      (*dfns->draw)(ctx,xfi,(var_5 - var_6) / 2 + var_3,y,string,var_9,1);
      var_3 = var_3 + var_5;
      bVar1 = 0 < var_8;
      var_8 = var_8 + -1;
      var_9 = var_9 + 1;
    } while (bVar1);
  }
  return;
}


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

void __regparm3
MASKED(undefined4 *param_1,undefined4 param_2,undefined4 param_3,int param_4,
            undefined4 param_5,undefined4 param_6,int param_7,int param_8,int param_9,int param_10)

{
  bool bVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int local_2c;
  
  local_2c = param_4;
  if (param_9 == 0) {
    (*(code *)param_1[1])(param_2,param_3);
    if (param_8 != 0) {
      (*(code *)param_1[2])(param_2,param_3,param_4,param_5,param_6,0,param_7);
                    /* WARNING: Could not recover jumptable at 0x0005ed09. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*(code *)param_1[2])();
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x0005ec2c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)param_1[2])();
    return;
  }
  (*(code *)param_1[1])(param_2,param_3);
  if (0 < param_7) {
    if (param_8 != 0) {
      iVar3 = param_7 + -1;
      iVar4 = 0;
      do {
        iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);
        iVar2 = (param_10 - iVar2) / 2 + local_2c;
        (*(code *)param_1[2])(param_2,param_3,iVar2,param_5,param_6,iVar4,1);
        (*(code *)param_1[2])(param_2,param_3,iVar2 + param_8,param_5,param_6,iVar4,1);
        local_2c = local_2c + param_10;
        bVar1 = 0 < iVar3;
        iVar3 = iVar3 + -1;
        iVar4 = iVar4 + 1;
      } while (bVar1);
      return;
    }
    iVar3 = param_7 + -1;
    iVar4 = 0;
    do {
      iVar2 = (*(code *)*param_1)(param_2,param_3,param_6,iVar4,1);
      (*(code *)param_1[2])
                (param_2,param_3,(param_10 - iVar2) / 2 + param_4,param_5,param_6,iVar4,1);
      param_4 = param_4 + param_10;
      bVar1 = 0 < iVar3;
      iVar3 = iVar3 + -1;
      iVar4 = iVar4 + 1;
    } while (bVar1);
  }
  return;
}

