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

bfd_boolean __regparm3
debug_write_name(debug_handle *info,debug_write_fns *fns,void *fhandle,debug_name *n)

{
  debug_function *pdVar1;
  debug_object_linkage dVar2;
  char *pcVar3;
  debug_parameter *pdVar4;
  debug_block *block;
  bfd_boolean bVar5;
  uint uVar6;
  
  switch(n->kind) {
  case DEBUG_OBJECT_TYPE:
    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);
    if (bVar5 == 0) {
      return 0;
    }
    bVar5 = (*fns->typdef)(fhandle,n->name);
    uVar6 = (uint)(bVar5 != 0);
    break;
  case DEBUG_OBJECT_TAG:
    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);
    if (bVar5 == 0) {
      return 0;
    }
    uVar6 = (*fns->tag)(fhandle,n->name);
    break;
  case DEBUG_OBJECT_VARIABLE:
    bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);
    if (bVar5 == 0) {
      return 0;
    }
    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);
    break;
  case DEBUG_OBJECT_FUNCTION:
    pdVar1 = (n->u).function;
    dVar2 = n->linkage;
    pcVar3 = n->name;
    bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,
                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,
                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);
    if (((bVar5 != 0) &&
        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),
        bVar5 != 0)) &&
       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),
       bVar5 != 0)) {
      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {
        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);
        if (bVar5 == 0) {
          return 0;
        }
        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);
        if (bVar5 == 0) {
          return 0;
        }
      }
      block = pdVar1->blocks;
      while( true ) {
        if (block == (debug_block *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          bVar5 = (*fns->end_function)(fhandle);
          return bVar5;
        }
        bVar5 = debug_write_block(info,fns,fhandle,block);
        if (bVar5 == 0) break;
        block = block->next;
      }
    }
    return 0;
  case DEBUG_OBJECT_INT_CONSTANT:
    bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);
    return bVar5;
  case DEBUG_OBJECT_FLOAT_CONSTANT:
    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);
    break;
  case DEBUG_OBJECT_TYPED_CONSTANT:
    bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);
    if (bVar5 == 0) {
      return 0;
    }
    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);
    break;
  default:
                    /* WARNING: Subroutine does not return */
    abort();
  }
  return uVar6;
}



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

uint __regparm3 FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  
  switch(*(undefined4 *)(param_4 + 0xc)) {
  case 0:
    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);
    if (iVar4 == 0) {
      return 0;
    }
    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));
    uVar5 = (uint)(iVar4 != 0);
    break;
  case 1:
    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);
    if (iVar4 == 0) {
      return 0;
    }
    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));
    break;
  case 2:
    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);
    if (iVar4 == 0) {
      return 0;
    }
    uVar5 = (**(code **)(param_2 + 0x94))
                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),
                       (*(undefined4 **)(param_4 + 0x14))[2]);
    break;
  case 3:
    puVar1 = *(undefined4 **)(param_4 + 0x14);
    iVar4 = *(int *)(param_4 + 0x10);
    uVar2 = *(undefined4 *)(param_4 + 4);
    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));
    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&
       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {
      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;
          puVar3 = (undefined4 *)*puVar3) {
        iVar4 = FUN_0003a190(puVar3[2],0);
        if (iVar4 == 0) {
          return 0;
        }
        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);
        if (iVar4 == 0) {
          return 0;
        }
      }
      puVar1 = (undefined4 *)puVar1[2];
      while( true ) {
        if (puVar1 == (undefined4 *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          uVar5 = (**(code **)(param_2 + 0xa8))();
          return uVar5;
        }
        iVar4 = FUN_0003afb0(puVar1);
        if (iVar4 == 0) break;
        puVar1 = (undefined4 *)*puVar1;
      }
    }
    return 0;
  case 4:
    uVar5 = (**(code **)(param_2 + 0x88))
                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));
    return uVar5;
  case 5:
    uVar5 = (**(code **)(param_2 + 0x8c))
                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),
                       *(undefined4 *)(param_4 + 0x18));
    break;
  case 6:
    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);
    if (iVar4 == 0) {
      return 0;
    }
    uVar5 = (**(code **)(param_2 + 0x90))
                      (param_3,*(undefined4 *)(param_4 + 4),
                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));
    break;
  default:
                    /* WARNING: Subroutine does not return */
    abort();
  }
  return uVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000143a0
ADD EBX,0x352d7
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x4],EAX
CMP dword ptr [ESI + 0xc],0x6
JA 0x0001389d
MOV EAX,dword ptr [ESI + 0xc]
MOV EDI,EDX
MOV EBP,ECX
ADD EBX,dword ptr [EBX + EAX*0x4 + 0xfffe4fac]
JMP EBX
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint __regparm3 FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }\n  return uVar5;\n}\n\n" comment (function_definition "uint __regparm3 FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }\n  return uVar5;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }\n  return uVar5;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (switch_statement "switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }" switch (parenthesized_expression "(*(undefined4 *)(param_4 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_4 + 0xc)" * (cast_expression "(undefined4 *)(param_4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) )) (compound_statement "{\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }" { (case_statement "case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier = (call_expression "FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier (argument_list "(*(undefined4 *)(param_4 + 0x14),param_4)" ( (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4))" identifier = (call_expression "(**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x80))" ( (pointer_expression "**(code **)(param_2 + 0x80)" * (pointer_expression "*(code **)(param_2 + 0x80)" * (cast_expression "(code **)(param_2 + 0x80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = (uint)(iVar4 != 0);" (assignment_expression "uVar5 = (uint)(iVar4 != 0)" identifier = (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )))) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier = (call_expression "FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier (argument_list "(*(undefined4 *)(param_4 + 0x14),param_4)" ( (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4))" identifier = (call_expression "(**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x84))" ( (pointer_expression "**(code **)(param_2 + 0x84)" * (pointer_expression "*(code **)(param_2 + 0x84)" * (cast_expression "(code **)(param_2 + 0x84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x84)" ( (binary_expression "param_2 + 0x84" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) )))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" identifier = (call_expression "FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x14) + 4)" ( (binary_expression "*(int *)(param_4 + 0x14) + 4" (pointer_expression "*(int *)(param_4 + 0x14)" * (cast_expression "(int *)(param_4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" identifier = (call_expression "(**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" (parenthesized_expression "(**(code **)(param_2 + 0x94))" ( (pointer_expression "**(code **)(param_2 + 0x94)" * (pointer_expression "*(code **)(param_2 + 0x94)" * (cast_expression "(code **)(param_2 + 0x94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x94)" ( (binary_expression "param_2 + 0x94" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "**(undefined4 **)(param_4 + 0x14)" * (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) , (subscript_expression "(*(undefined4 **)(param_4 + 0x14))[2]" (parenthesized_expression "(*(undefined4 **)(param_4 + 0x14))" ( (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) )) [ number_literal ]) )))) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;" case number_literal : (expression_statement "puVar1 = *(undefined4 **)(param_4 + 0x14);" (assignment_expression "puVar1 = *(undefined4 **)(param_4 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(param_4 + 0x10);" (assignment_expression "iVar4 = *(int *)(param_4 + 0x10)" identifier = (pointer_expression "*(int *)(param_4 + 0x10)" * (cast_expression "(int *)(param_4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_4 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(param_4 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));" (assignment_expression "iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc))" identifier = (call_expression "FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc))" identifier (argument_list "(param_3,*(undefined4 *)(puVar1[2] + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(puVar1[2] + 0xc)" * (cast_expression "(undefined4 *)(puVar1[2] + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1[2] + 0xc)" ( (binary_expression "puVar1[2] + 0xc" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + number_literal) )))) )))) ;) (if_statement "if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }" if (parenthesized_expression "(((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0))" ( (binary_expression "((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)" (parenthesized_expression "((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0))" ( (binary_expression "(iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0" (assignment_expression "iVar6 = FUN_0003a190(*puVar1,0)" identifier = (call_expression "FUN_0003a190(*puVar1,0)" identifier (argument_list "(*puVar1,0)" ( (pointer_expression "*puVar1" * identifier) , number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)" ( (comma_expression "iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2)" identifier = (call_expression "(**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2)" (parenthesized_expression "(**(code **)(param_2 + 0x98))" ( (pointer_expression "**(code **)(param_2 + 0x98)" * (pointer_expression "*(code **)(param_2 + 0x98)" * (cast_expression "(code **)(param_2 + 0x98)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x98)" ( (binary_expression "param_2 + 0x98" identifier + number_literal) ))))) )) (argument_list "(param_3,uVar2,iVar4 == 2)" ( identifier , identifier , (binary_expression "iVar4 == 2" identifier == number_literal) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }" { (for_statement "for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }" for ( (assignment_expression "puVar3 = (undefined4 *)puVar1[1]" identifier = (cast_expression "(undefined4 *)puVar1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ; (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar3 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ) (compound_statement "{\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar4 = FUN_0003a190(puVar3[2],0);" (assignment_expression "iVar4 = FUN_0003a190(puVar3[2],0)" identifier = (call_expression "FUN_0003a190(puVar3[2],0)" identifier (argument_list "(puVar3[2],0)" ( (subscript_expression "puVar3[2]" identifier [ number_literal ]) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4])" identifier = (call_expression "(**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4])" (parenthesized_expression "(**(code **)(param_2 + 0x9c))" ( (pointer_expression "**(code **)(param_2 + 0x9c)" * (pointer_expression "*(code **)(param_2 + 0x9c)" * (cast_expression "(code **)(param_2 + 0x9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x9c)" ( (binary_expression "param_2 + 0x9c" identifier + number_literal) ))))) )) (argument_list "(param_3,puVar3[1],puVar3[3],puVar3[4])" ( identifier , (subscript_expression "puVar3[1]" identifier [ number_literal ]) , (subscript_expression "puVar3[3]" identifier [ number_literal ]) , (subscript_expression "puVar3[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar4 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "puVar1 = (undefined4 *)puVar1[2];" (assignment_expression "puVar1 = (undefined4 *)puVar1[2]" identifier = (cast_expression "(undefined4 *)puVar1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ]))) ;) (while_statement "while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }" { (if_statement "if (puVar1 == (undefined4 *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }" if (parenthesized_expression "(puVar1 == (undefined4 *)0x0)" ( (binary_expression "puVar1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }" { comment comment (expression_statement "uVar5 = (**(code **)(param_2 + 0xa8))();" (assignment_expression "uVar5 = (**(code **)(param_2 + 0xa8))()" identifier = (call_expression "(**(code **)(param_2 + 0xa8))()" (parenthesized_expression "(**(code **)(param_2 + 0xa8))" ( (pointer_expression "**(code **)(param_2 + 0xa8)" * (pointer_expression "*(code **)(param_2 + 0xa8)" * (cast_expression "(code **)(param_2 + 0xa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xa8)" ( (binary_expression "param_2 + 0xa8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar5;" return identifier ;) })) (expression_statement "iVar4 = FUN_0003afb0(puVar1);" (assignment_expression "iVar4 = FUN_0003afb0(puVar1)" identifier = (call_expression "FUN_0003afb0(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) })) (return_statement "return 0;" return number_literal ;)) (case_statement "case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;" case number_literal : (expression_statement "uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" identifier = (call_expression "(**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" (parenthesized_expression "(**(code **)(param_2 + 0x88))" ( (pointer_expression "**(code **)(param_2 + 0x88)" * (pointer_expression "*(code **)(param_2 + 0x88)" * (cast_expression "(code **)(param_2 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x88)" ( (binary_expression "param_2 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) )))) ;) (return_statement "return uVar5;" return identifier ;)) (case_statement "case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;" case number_literal : (expression_statement "uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" identifier = (call_expression "(**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" (parenthesized_expression "(**(code **)(param_2 + 0x8c))" ( (pointer_expression "**(code **)(param_2 + 0x8c)" * (pointer_expression "*(code **)(param_2 + 0x8c)" * (cast_expression "(code **)(param_2 + 0x8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x8c)" ( (binary_expression "param_2 + 0x8c" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_4 + 0x18)" * (cast_expression "(undefined4 *)(param_4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x18)" ( (binary_expression "param_4 + 0x18" identifier + number_literal) )))) )))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);" (assignment_expression "iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0)" identifier = (call_expression "FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0)" identifier (argument_list "(**(undefined4 **)(param_4 + 0x14),0)" ( (pointer_expression "**(undefined4 **)(param_4 + 0x14)" * (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" identifier = (call_expression "(**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x90))" ( (pointer_expression "**(code **)(param_2 + 0x90)" * (pointer_expression "*(code **)(param_2 + 0x90)" * (cast_expression "(code **)(param_2 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x90)" ( (binary_expression "param_2 + 0x90" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x14) + 4)" ( (binary_expression "*(int *)(param_4 + 0x14) + 4" (pointer_expression "*(int *)(param_4 + 0x14)" * (cast_expression "(int *)(param_4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) + number_literal) )))) )))) ;) (break_statement "break;" break ;)) (case_statement "default:\n                    /* WARNING: Subroutine does not return */\n    abort();" default : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean __regparm3\ndebug_write_name(debug_handle *info,debug_write_fns *fns,void *fhandle,debug_name *n)\n\n{\n  debug_function *pdVar1;\n  debug_object_linkage dVar2;\n  char *pcVar3;\n  debug_parameter *pdVar4;\n  debug_block *block;\n  bfd_boolean bVar5;\n  uint uVar6;\n  \n  switch(n->kind) {\n  case DEBUG_OBJECT_TYPE:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    bVar5 = (*fns->typdef)(fhandle,n->name);\n    uVar6 = (uint)(bVar5 != 0);\n    break;\n  case DEBUG_OBJECT_TAG:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->tag)(fhandle,n->name);\n    break;\n  case DEBUG_OBJECT_VARIABLE:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);\n    break;\n  case DEBUG_OBJECT_FUNCTION:\n    pdVar1 = (n->u).function;\n    dVar2 = n->linkage;\n    pcVar3 = n->name;\n    bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);\n    if (((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)) {\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }\n    return 0;\n  case DEBUG_OBJECT_INT_CONSTANT:\n    bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);\n    return bVar5;\n  case DEBUG_OBJECT_FLOAT_CONSTANT:\n    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);\n    break;\n  case DEBUG_OBJECT_TYPED_CONSTANT:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }\n  return uVar6;\n}\n\n" comment (function_definition "bfd_boolean __regparm3\ndebug_write_name(debug_handle *info,debug_write_fns *fns,void *fhandle,debug_name *n)\n\n{\n  debug_function *pdVar1;\n  debug_object_linkage dVar2;\n  char *pcVar3;\n  debug_parameter *pdVar4;\n  debug_block *block;\n  bfd_boolean bVar5;\n  uint uVar6;\n  \n  switch(n->kind) {\n  case DEBUG_OBJECT_TYPE:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    bVar5 = (*fns->typdef)(fhandle,n->name);\n    uVar6 = (uint)(bVar5 != 0);\n    break;\n  case DEBUG_OBJECT_TAG:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->tag)(fhandle,n->name);\n    break;\n  case DEBUG_OBJECT_VARIABLE:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);\n    break;\n  case DEBUG_OBJECT_FUNCTION:\n    pdVar1 = (n->u).function;\n    dVar2 = n->linkage;\n    pcVar3 = n->name;\n    bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);\n    if (((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)) {\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }\n    return 0;\n  case DEBUG_OBJECT_INT_CONSTANT:\n    bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);\n    return bVar5;\n  case DEBUG_OBJECT_FLOAT_CONSTANT:\n    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);\n    break;\n  case DEBUG_OBJECT_TYPED_CONSTANT:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }\n  return uVar6;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "debug_write_name(debug_handle *info,debug_write_fns *fns,void *fhandle,debug_name *n)" identifier (parameter_list "(debug_handle *info,debug_write_fns *fns,void *fhandle,debug_name *n)" ( (parameter_declaration "debug_handle *info" type_identifier (pointer_declarator "*info" * identifier)) , (parameter_declaration "debug_write_fns *fns" type_identifier (pointer_declarator "*fns" * identifier)) , (parameter_declaration "void *fhandle" primitive_type (pointer_declarator "*fhandle" * identifier)) , (parameter_declaration "debug_name *n" type_identifier (pointer_declarator "*n" * identifier)) ))) (compound_statement "{\n  debug_function *pdVar1;\n  debug_object_linkage dVar2;\n  char *pcVar3;\n  debug_parameter *pdVar4;\n  debug_block *block;\n  bfd_boolean bVar5;\n  uint uVar6;\n  \n  switch(n->kind) {\n  case DEBUG_OBJECT_TYPE:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    bVar5 = (*fns->typdef)(fhandle,n->name);\n    uVar6 = (uint)(bVar5 != 0);\n    break;\n  case DEBUG_OBJECT_TAG:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->tag)(fhandle,n->name);\n    break;\n  case DEBUG_OBJECT_VARIABLE:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);\n    break;\n  case DEBUG_OBJECT_FUNCTION:\n    pdVar1 = (n->u).function;\n    dVar2 = n->linkage;\n    pcVar3 = n->name;\n    bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);\n    if (((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)) {\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }\n    return 0;\n  case DEBUG_OBJECT_INT_CONSTANT:\n    bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);\n    return bVar5;\n  case DEBUG_OBJECT_FLOAT_CONSTANT:\n    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);\n    break;\n  case DEBUG_OBJECT_TYPED_CONSTANT:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }\n  return uVar6;\n}" { (declaration "debug_function *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "debug_object_linkage dVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "debug_parameter *pdVar4;" type_identifier (pointer_declarator "*pdVar4" * identifier) ;) (declaration "debug_block *block;" type_identifier (pointer_declarator "*block" * identifier) ;) (declaration "bfd_boolean bVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (switch_statement "switch(n->kind) {\n  case DEBUG_OBJECT_TYPE:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    bVar5 = (*fns->typdef)(fhandle,n->name);\n    uVar6 = (uint)(bVar5 != 0);\n    break;\n  case DEBUG_OBJECT_TAG:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->tag)(fhandle,n->name);\n    break;\n  case DEBUG_OBJECT_VARIABLE:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);\n    break;\n  case DEBUG_OBJECT_FUNCTION:\n    pdVar1 = (n->u).function;\n    dVar2 = n->linkage;\n    pcVar3 = n->name;\n    bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);\n    if (((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)) {\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }\n    return 0;\n  case DEBUG_OBJECT_INT_CONSTANT:\n    bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);\n    return bVar5;\n  case DEBUG_OBJECT_FLOAT_CONSTANT:\n    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);\n    break;\n  case DEBUG_OBJECT_TYPED_CONSTANT:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }" switch (parenthesized_expression "(n->kind)" ( (field_expression "n->kind" identifier -> field_identifier) )) (compound_statement "{\n  case DEBUG_OBJECT_TYPE:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    bVar5 = (*fns->typdef)(fhandle,n->name);\n    uVar6 = (uint)(bVar5 != 0);\n    break;\n  case DEBUG_OBJECT_TAG:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->tag)(fhandle,n->name);\n    break;\n  case DEBUG_OBJECT_VARIABLE:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);\n    break;\n  case DEBUG_OBJECT_FUNCTION:\n    pdVar1 = (n->u).function;\n    dVar2 = n->linkage;\n    pcVar3 = n->name;\n    bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);\n    if (((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)) {\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }\n    return 0;\n  case DEBUG_OBJECT_INT_CONSTANT:\n    bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);\n    return bVar5;\n  case DEBUG_OBJECT_FLOAT_CONSTANT:\n    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);\n    break;\n  case DEBUG_OBJECT_TYPED_CONSTANT:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);\n    break;\n  default:\n                    /* WARNING: Subroutine does not return */\n    abort();\n  }" { (case_statement "case DEBUG_OBJECT_TYPE:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    bVar5 = (*fns->typdef)(fhandle,n->name);\n    uVar6 = (uint)(bVar5 != 0);\n    break;" case identifier : (expression_statement "bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);" (assignment_expression "bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n)" identifier = (call_expression "debug_write_type(info,fns,fhandle,(n->u).type,n)" identifier (argument_list "(info,fns,fhandle,(n->u).type,n)" ( identifier , identifier , identifier , (field_expression "(n->u).type" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) , identifier )))) ;) (if_statement "if (bVar5 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar5 = (*fns->typdef)(fhandle,n->name);" (assignment_expression "bVar5 = (*fns->typdef)(fhandle,n->name)" identifier = (call_expression "(*fns->typdef)(fhandle,n->name)" (parenthesized_expression "(*fns->typdef)" ( (pointer_expression "*fns->typdef" * (field_expression "fns->typdef" identifier -> field_identifier)) )) (argument_list "(fhandle,n->name)" ( identifier , (field_expression "n->name" identifier -> field_identifier) )))) ;) (expression_statement "uVar6 = (uint)(bVar5 != 0);" (assignment_expression "uVar6 = (uint)(bVar5 != 0)" identifier = (call_expression "(uint)(bVar5 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )))) ;) (break_statement "break;" break ;)) (case_statement "case DEBUG_OBJECT_TAG:\n    bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->tag)(fhandle,n->name);\n    break;" case identifier : (expression_statement "bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n);" (assignment_expression "bVar5 = debug_write_type(info,fns,fhandle,(n->u).type,n)" identifier = (call_expression "debug_write_type(info,fns,fhandle,(n->u).type,n)" identifier (argument_list "(info,fns,fhandle,(n->u).type,n)" ( identifier , identifier , identifier , (field_expression "(n->u).type" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) , identifier )))) ;) (if_statement "if (bVar5 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar6 = (*fns->tag)(fhandle,n->name);" (assignment_expression "uVar6 = (*fns->tag)(fhandle,n->name)" identifier = (call_expression "(*fns->tag)(fhandle,n->name)" (parenthesized_expression "(*fns->tag)" ( (pointer_expression "*fns->tag" * (field_expression "fns->tag" identifier -> field_identifier)) )) (argument_list "(fhandle,n->name)" ( identifier , (field_expression "n->name" identifier -> field_identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case DEBUG_OBJECT_VARIABLE:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);\n    break;" case identifier : (expression_statement "bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0);" (assignment_expression "bVar5 = debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0)" identifier = (call_expression "debug_write_type(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0)" identifier (argument_list "(info,fns,fhandle,((n->u).variable)->type,(debug_name *)0x0)" ( identifier , identifier , identifier , (field_expression "((n->u).variable)->type" (parenthesized_expression "((n->u).variable)" ( (field_expression "(n->u).variable" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) , (cast_expression "(debug_name *)0x0" ( (type_descriptor "debug_name *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (bVar5 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);" (assignment_expression "uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val)" identifier = (call_expression "(*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val)" (parenthesized_expression "(*fns->variable)" ( (pointer_expression "*fns->variable" * (field_expression "fns->variable" identifier -> field_identifier)) )) (argument_list "(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val)" ( identifier , (field_expression "n->name" identifier -> field_identifier) , (field_expression "((n->u).variable)->kind" (parenthesized_expression "((n->u).variable)" ( (field_expression "(n->u).variable" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) , (field_expression "((n->u).variable)->val" (parenthesized_expression "((n->u).variable)" ( (field_expression "(n->u).variable" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case DEBUG_OBJECT_FUNCTION:\n    pdVar1 = (n->u).function;\n    dVar2 = n->linkage;\n    pcVar3 = n->name;\n    bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);\n    if (((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)) {\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }\n    return 0;" case identifier : (expression_statement "pdVar1 = (n->u).function;" (assignment_expression "pdVar1 = (n->u).function" identifier = (field_expression "(n->u).function" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "dVar2 = n->linkage;" (assignment_expression "dVar2 = n->linkage" identifier = (field_expression "n->linkage" identifier -> field_identifier)) ;) (expression_statement "pcVar3 = n->name;" (assignment_expression "pcVar3 = n->name" identifier = (field_expression "n->name" identifier -> field_identifier)) ;) (expression_statement "bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start);" (assignment_expression "bVar5 = debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start)" identifier = (call_expression "debug_write_linenos((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start)" identifier (argument_list "((debug_handle *)&info->current_write_lineno,\n                                (debug_write_fns *)&info->current_write_lineno_index,&fns->lineno,\n                                (bfd_vma)fhandle,(debug_handle *)pdVar1->blocks->start)" ( (cast_expression "(debug_handle *)&info->current_write_lineno" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&info->current_write_lineno" & (field_expression "info->current_write_lineno" identifier -> field_identifier))) , (cast_expression "(debug_write_fns *)&info->current_write_lineno_index" ( (type_descriptor "debug_write_fns *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&info->current_write_lineno_index" & (field_expression "info->current_write_lineno_index" identifier -> field_identifier))) , (pointer_expression "&fns->lineno" & (field_expression "fns->lineno" identifier -> field_identifier)) , (cast_expression "(bfd_vma)fhandle" ( (type_descriptor "bfd_vma" type_identifier) ) identifier) , (cast_expression "(debug_handle *)pdVar1->blocks->start" ( (type_descriptor "debug_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pdVar1->blocks->start" (field_expression "pdVar1->blocks" identifier -> field_identifier) -> field_identifier)) )))) ;) (if_statement "if (((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)) {\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }" if (parenthesized_expression "(((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0))" ( (binary_expression "((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)) &&\n       (bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)" (parenthesized_expression "((bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0))" ( (binary_expression "(bVar5 != 0) &&\n        (bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)" (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0)" ( (comma_expression "bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0),\n        bVar5 != 0" (assignment_expression "bVar5 = debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0)" identifier = (call_expression "debug_write_type(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0)" identifier (argument_list "(info,fns,fhandle,pdVar1->return_type,(debug_name *)0x0)" ( identifier , identifier , identifier , (field_expression "pdVar1->return_type" identifier -> field_identifier) , (cast_expression "(debug_name *)0x0" ( (type_descriptor "debug_name *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) , (binary_expression "bVar5 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0)" ( (comma_expression "bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)),\n       bVar5 != 0" (assignment_expression "bVar5 = (*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL))" identifier = (call_expression "(*fns->start_function)(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL))" (parenthesized_expression "(*fns->start_function)" ( (pointer_expression "*fns->start_function" * (field_expression "fns->start_function" identifier -> field_identifier)) )) (argument_list "(fhandle,pcVar3,(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL))" ( identifier , identifier , (call_expression "(uint)(dVar2 == DEBUG_LINKAGE_GLOBAL)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(dVar2 == DEBUG_LINKAGE_GLOBAL)" ( (binary_expression "dVar2 == DEBUG_LINKAGE_GLOBAL" identifier == identifier) ))) )))) , (binary_expression "bVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }\n      block = pdVar1->blocks;\n      while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }\n    }" { (for_statement "for (pdVar4 = pdVar1->parameters; pdVar4 != (debug_parameter *)0x0; pdVar4 = pdVar4->next) {\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }" for ( (assignment_expression "pdVar4 = pdVar1->parameters" identifier = (field_expression "pdVar1->parameters" identifier -> field_identifier)) ; (binary_expression "pdVar4 != (debug_parameter *)0x0" identifier != (cast_expression "(debug_parameter *)0x0" ( (type_descriptor "debug_parameter *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pdVar4 = pdVar4->next" identifier = (field_expression "pdVar4->next" identifier -> field_identifier)) ) (compound_statement "{\n        bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);\n        if (bVar5 == 0) {\n          return 0;\n        }\n        bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);\n        if (bVar5 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0);" (assignment_expression "bVar5 = debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0)" identifier = (call_expression "debug_write_type(info,fns,fhandle,pdVar4->type,(debug_name *)0x0)" identifier (argument_list "(info,fns,fhandle,pdVar4->type,(debug_name *)0x0)" ( identifier , identifier , identifier , (field_expression "pdVar4->type" identifier -> field_identifier) , (cast_expression "(debug_name *)0x0" ( (type_descriptor "debug_name *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (bVar5 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val);" (assignment_expression "bVar5 = (*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val)" identifier = (call_expression "(*fns->function_parameter)(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val)" (parenthesized_expression "(*fns->function_parameter)" ( (pointer_expression "*fns->function_parameter" * (field_expression "fns->function_parameter" identifier -> field_identifier)) )) (argument_list "(fhandle,pdVar4->name,pdVar4->kind,pdVar4->val)" ( identifier , (field_expression "pdVar4->name" identifier -> field_identifier) , (field_expression "pdVar4->kind" identifier -> field_identifier) , (field_expression "pdVar4->val" identifier -> field_identifier) )))) ;) (if_statement "if (bVar5 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "block = pdVar1->blocks;" (assignment_expression "block = pdVar1->blocks" identifier = (field_expression "pdVar1->blocks" identifier -> field_identifier)) ;) (while_statement "while( true ) {\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }\n        bVar5 = debug_write_block(info,fns,fhandle,block);\n        if (bVar5 == 0) break;\n        block = block->next;\n      }" { (if_statement "if (block == (debug_block *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }" if (parenthesized_expression "(block == (debug_block *)0x0)" ( (binary_expression "block == (debug_block *)0x0" identifier == (cast_expression "(debug_block *)0x0" ( (type_descriptor "debug_block *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          bVar5 = (*fns->end_function)(fhandle);\n          return bVar5;\n        }" { comment comment (expression_statement "bVar5 = (*fns->end_function)(fhandle);" (assignment_expression "bVar5 = (*fns->end_function)(fhandle)" identifier = (call_expression "(*fns->end_function)(fhandle)" (parenthesized_expression "(*fns->end_function)" ( (pointer_expression "*fns->end_function" * (field_expression "fns->end_function" identifier -> field_identifier)) )) (argument_list "(fhandle)" ( identifier )))) ;) (return_statement "return bVar5;" return identifier ;) })) (expression_statement "bVar5 = debug_write_block(info,fns,fhandle,block);" (assignment_expression "bVar5 = debug_write_block(info,fns,fhandle,block)" identifier = (call_expression "debug_write_block(info,fns,fhandle,block)" identifier (argument_list "(info,fns,fhandle,block)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (bVar5 == 0) break;" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "block = block->next;" (assignment_expression "block = block->next" identifier = (field_expression "block->next" identifier -> field_identifier)) ;) })) })) (return_statement "return 0;" return number_literal ;)) (case_statement "case DEBUG_OBJECT_INT_CONSTANT:\n    bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);\n    return bVar5;" case identifier : (expression_statement "bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);" (assignment_expression "bVar5 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant)" identifier = (call_expression "(*fns->int_constant)(fhandle,n->name,(n->u).int_constant)" (parenthesized_expression "(*fns->int_constant)" ( (pointer_expression "*fns->int_constant" * (field_expression "fns->int_constant" identifier -> field_identifier)) )) (argument_list "(fhandle,n->name,(n->u).int_constant)" ( identifier , (field_expression "n->name" identifier -> field_identifier) , (field_expression "(n->u).int_constant" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) )))) ;) (return_statement "return bVar5;" return identifier ;)) (case_statement "case DEBUG_OBJECT_FLOAT_CONSTANT:\n    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);\n    break;" case identifier : (expression_statement "uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);" (assignment_expression "uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant)" identifier = (call_expression "(*fns->float_constant)(fhandle,n->name,(n->u).float_constant)" (parenthesized_expression "(*fns->float_constant)" ( (pointer_expression "*fns->float_constant" * (field_expression "fns->float_constant" identifier -> field_identifier)) )) (argument_list "(fhandle,n->name,(n->u).float_constant)" ( identifier , (field_expression "n->name" identifier -> field_identifier) , (field_expression "(n->u).float_constant" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "case DEBUG_OBJECT_TYPED_CONSTANT:\n    bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);\n    if (bVar5 == 0) {\n      return 0;\n    }\n    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);\n    break;" case identifier : (expression_statement "bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0);" (assignment_expression "bVar5 = debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0)" identifier = (call_expression "debug_write_type(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0)" identifier (argument_list "(info,fns,fhandle,((n->u).function)->return_type,(debug_name *)0x0)" ( identifier , identifier , identifier , (field_expression "((n->u).function)->return_type" (parenthesized_expression "((n->u).function)" ( (field_expression "(n->u).function" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) , (cast_expression "(debug_name *)0x0" ( (type_descriptor "debug_name *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (bVar5 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);" (assignment_expression "uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val)" identifier = (call_expression "(*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val)" (parenthesized_expression "(*fns->typed_constant)" ( (pointer_expression "*fns->typed_constant" * (field_expression "fns->typed_constant" identifier -> field_identifier)) )) (argument_list "(fhandle,n->name,((n->u).typed_constant)->val)" ( identifier , (field_expression "n->name" identifier -> field_identifier) , (field_expression "((n->u).typed_constant)->val" (parenthesized_expression "((n->u).typed_constant)" ( (field_expression "(n->u).typed_constant" (parenthesized_expression "(n->u)" ( (field_expression "n->u" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )))) ;) (break_statement "break;" break ;)) (case_statement "default:\n                    /* WARNING: Subroutine does not return */\n    abort();" default : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit "uint __regparm3 FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }\n  return uVar5;\n}\n\n" (function_definition "uint __regparm3 FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }\n  return uVar5;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }\n  return uVar5;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (switch_statement "switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }" switch (parenthesized_expression "(*(undefined4 *)(param_4 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_4 + 0xc)" * (cast_expression "(undefined4 *)(param_4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) )) (compound_statement "{\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }" { (case_statement "case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier = (call_expression "FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier (argument_list "(*(undefined4 *)(param_4 + 0x14),param_4)" ( (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4))" identifier = (call_expression "(**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x80))" ( (pointer_expression "**(code **)(param_2 + 0x80)" * (pointer_expression "*(code **)(param_2 + 0x80)" * (cast_expression "(code **)(param_2 + 0x80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "uVar5 = (uint)(iVar4 != 0);" (assignment_expression "uVar5 = (uint)(iVar4 != 0)" identifier = (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )))) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier = (call_expression "FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" identifier (argument_list "(*(undefined4 *)(param_4 + 0x14),param_4)" ( (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4))" identifier = (call_expression "(**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x84))" ( (pointer_expression "**(code **)(param_2 + 0x84)" * (pointer_expression "*(code **)(param_2 + 0x84)" * (cast_expression "(code **)(param_2 + 0x84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x84)" ( (binary_expression "param_2 + 0x84" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) )))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" identifier = (call_expression "FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" identifier (argument_list "(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" ( (pointer_expression "*(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x14) + 4)" ( (binary_expression "*(int *)(param_4 + 0x14) + 4" (pointer_expression "*(int *)(param_4 + 0x14)" * (cast_expression "(int *)(param_4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" identifier = (call_expression "(**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" (parenthesized_expression "(**(code **)(param_2 + 0x94))" ( (pointer_expression "**(code **)(param_2 + 0x94)" * (pointer_expression "*(code **)(param_2 + 0x94)" * (cast_expression "(code **)(param_2 + 0x94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x94)" ( (binary_expression "param_2 + 0x94" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "**(undefined4 **)(param_4 + 0x14)" * (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) , (subscript_expression "(*(undefined4 **)(param_4 + 0x14))[2]" (parenthesized_expression "(*(undefined4 **)(param_4 + 0x14))" ( (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) )) [ number_literal ]) )))) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;" case number_literal : (expression_statement "puVar1 = *(undefined4 **)(param_4 + 0x14);" (assignment_expression "puVar1 = *(undefined4 **)(param_4 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(param_4 + 0x10);" (assignment_expression "iVar4 = *(int *)(param_4 + 0x10)" identifier = (pointer_expression "*(int *)(param_4 + 0x10)" * (cast_expression "(int *)(param_4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_4 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(param_4 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));" (assignment_expression "iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc))" identifier = (call_expression "FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc))" identifier (argument_list "(param_3,*(undefined4 *)(puVar1[2] + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(puVar1[2] + 0xc)" * (cast_expression "(undefined4 *)(puVar1[2] + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1[2] + 0xc)" ( (binary_expression "puVar1[2] + 0xc" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + number_literal) )))) )))) ;) (if_statement "if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }" if (parenthesized_expression "(((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0))" ( (binary_expression "((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)" (parenthesized_expression "((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0))" ( (binary_expression "(iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0" (assignment_expression "iVar6 = FUN_0003a190(*puVar1,0)" identifier = (call_expression "FUN_0003a190(*puVar1,0)" identifier (argument_list "(*puVar1,0)" ( (pointer_expression "*puVar1" * identifier) , number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)" ( (comma_expression "iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2)" identifier = (call_expression "(**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2)" (parenthesized_expression "(**(code **)(param_2 + 0x98))" ( (pointer_expression "**(code **)(param_2 + 0x98)" * (pointer_expression "*(code **)(param_2 + 0x98)" * (cast_expression "(code **)(param_2 + 0x98)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x98)" ( (binary_expression "param_2 + 0x98" identifier + number_literal) ))))) )) (argument_list "(param_3,uVar2,iVar4 == 2)" ( identifier , identifier , (binary_expression "iVar4 == 2" identifier == number_literal) )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }" { (for_statement "for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }" for ( (assignment_expression "puVar3 = (undefined4 *)puVar1[1]" identifier = (cast_expression "(undefined4 *)puVar1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ; (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar3 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ) (compound_statement "{\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar4 = FUN_0003a190(puVar3[2],0);" (assignment_expression "iVar4 = FUN_0003a190(puVar3[2],0)" identifier = (call_expression "FUN_0003a190(puVar3[2],0)" identifier (argument_list "(puVar3[2],0)" ( (subscript_expression "puVar3[2]" identifier [ number_literal ]) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4])" identifier = (call_expression "(**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4])" (parenthesized_expression "(**(code **)(param_2 + 0x9c))" ( (pointer_expression "**(code **)(param_2 + 0x9c)" * (pointer_expression "*(code **)(param_2 + 0x9c)" * (cast_expression "(code **)(param_2 + 0x9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x9c)" ( (binary_expression "param_2 + 0x9c" identifier + number_literal) ))))) )) (argument_list "(param_3,puVar3[1],puVar3[3],puVar3[4])" ( identifier , (subscript_expression "puVar3[1]" identifier [ number_literal ]) , (subscript_expression "puVar3[3]" identifier [ number_literal ]) , (subscript_expression "puVar3[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar4 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "puVar1 = (undefined4 *)puVar1[2];" (assignment_expression "puVar1 = (undefined4 *)puVar1[2]" identifier = (cast_expression "(undefined4 *)puVar1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ]))) ;) (while_statement "while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }" { (if_statement "if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }" if (parenthesized_expression "(puVar1 == (undefined4 *)0x0)" ( (binary_expression "puVar1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }" { (expression_statement "uVar5 = (**(code **)(param_2 + 0xa8))();" (assignment_expression "uVar5 = (**(code **)(param_2 + 0xa8))()" identifier = (call_expression "(**(code **)(param_2 + 0xa8))()" (parenthesized_expression "(**(code **)(param_2 + 0xa8))" ( (pointer_expression "**(code **)(param_2 + 0xa8)" * (pointer_expression "*(code **)(param_2 + 0xa8)" * (cast_expression "(code **)(param_2 + 0xa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xa8)" ( (binary_expression "param_2 + 0xa8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar5;" return identifier ;) })) (expression_statement "iVar4 = FUN_0003afb0(puVar1);" (assignment_expression "iVar4 = FUN_0003afb0(puVar1)" identifier = (call_expression "FUN_0003afb0(puVar1)" identifier (argument_list "(puVar1)" ( identifier )))) ;) (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) })) })) (return_statement "return 0;" return number_literal ;)) (case_statement "case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;" case number_literal : (expression_statement "uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" identifier = (call_expression "(**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" (parenthesized_expression "(**(code **)(param_2 + 0x88))" ( (pointer_expression "**(code **)(param_2 + 0x88)" * (pointer_expression "*(code **)(param_2 + 0x88)" * (cast_expression "(code **)(param_2 + 0x88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x88)" ( (binary_expression "param_2 + 0x88" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) )))) ;) (return_statement "return uVar5;" return identifier ;)) (case_statement "case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;" case number_literal : (expression_statement "uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" identifier = (call_expression "(**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" (parenthesized_expression "(**(code **)(param_2 + 0x8c))" ( (pointer_expression "**(code **)(param_2 + 0x8c)" * (pointer_expression "*(code **)(param_2 + 0x8c)" * (cast_expression "(code **)(param_2 + 0x8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x8c)" ( (binary_expression "param_2 + 0x8c" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_4 + 0x14)" * (cast_expression "(undefined4 *)(param_4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_4 + 0x18)" * (cast_expression "(undefined4 *)(param_4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x18)" ( (binary_expression "param_4 + 0x18" identifier + number_literal) )))) )))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;" case number_literal : (expression_statement "iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);" (assignment_expression "iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0)" identifier = (call_expression "FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0)" identifier (argument_list "(**(undefined4 **)(param_4 + 0x14),0)" ( (pointer_expression "**(undefined4 **)(param_4 + 0x14)" * (pointer_expression "*(undefined4 **)(param_4 + 0x14)" * (cast_expression "(undefined4 **)(param_4 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" identifier = (call_expression "(**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x90))" ( (pointer_expression "**(code **)(param_2 + 0x90)" * (pointer_expression "*(code **)(param_2 + 0x90)" * (cast_expression "(code **)(param_2 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x90)" ( (binary_expression "param_2 + 0x90" identifier + number_literal) ))))) )) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" ( identifier , (pointer_expression "*(undefined4 *)(param_4 + 4)" * (cast_expression "(undefined4 *)(param_4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 4)" ( (binary_expression "param_4 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x14) + 4)" ( (binary_expression "*(int *)(param_4 + 0x14) + 4" (pointer_expression "*(int *)(param_4 + 0x14)" * (cast_expression "(int *)(param_4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) )))) + number_literal) )))) )))) ;) (break_statement "break;" break ;)) (case_statement "default:\n                    \n    abort();" default : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (switch_statement switch (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (subscript_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) [ LIT ]) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT == LIT) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) })) (return_statement return LIT ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return IDENT ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )))) ;) (break_statement break ;)) (case_statement default : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })) (return_statement return IDENT ;) })))
(function_definition "uint __regparm3 FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }\n  return uVar5;\n}" (type_identifier "uint") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0003ad20(undefined4 param_1,int param_2,undefined4 param_3,int param_4)" (identifier "FUN_0003ad20") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (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")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  \n  switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }\n  return uVar5;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (switch_statement "switch(*(undefined4 *)(param_4 + 0xc)) {\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }" (switch "switch") (parenthesized_expression "(*(undefined4 *)(param_4 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(param_4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xc)" (( "(") (binary_expression "param_4 + 0xc" (identifier "param_4") (+ "+") (number_literal "0xc")) () ")")))) () ")")) (compound_statement "{\n  case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;\n  case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;\n  case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;\n  case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;\n  case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;\n  case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;\n  case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;\n  default:\n                    \n    abort();\n  }" ({ "{") (case_statement "case 0:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));\n    uVar5 = (uint)(iVar4 != 0);\n    break;" (case "case") (number_literal "0") (: ":") (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" (identifier "iVar4") (= "=") (call_expression "FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" (identifier "FUN_0003a190") (argument_list "(*(undefined4 *)(param_4 + 0x14),param_4)" (( "(") (pointer_expression "*(undefined4 *)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4))" (identifier "iVar4") (= "=") (call_expression "(**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x80))" (( "(") (pointer_expression "**(code **)(param_2 + 0x80)" (* "*") (pointer_expression "*(code **)(param_2 + 0x80)" (* "*") (cast_expression "(code **)(param_2 + 0x80)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x80)" (( "(") (binary_expression "param_2 + 0x80" (identifier "param_2") (+ "+") (number_literal "0x80")) () ")"))))) () ")")) (argument_list "(param_3,*(undefined4 *)(param_4 + 4))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar5 = (uint)(iVar4 != 0);" (assignment_expression "uVar5 = (uint)(iVar4 != 0)" (identifier "uVar5") (= "=") (call_expression "(uint)(iVar4 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 1:\n    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));\n    break;" (case "case") (number_literal "1") (: ":") (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" (identifier "iVar4") (= "=") (call_expression "FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4)" (identifier "FUN_0003a190") (argument_list "(*(undefined4 *)(param_4 + 0x14),param_4)" (( "(") (pointer_expression "*(undefined4 *)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4))" (identifier "uVar5") (= "=") (call_expression "(**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x84))" (( "(") (pointer_expression "**(code **)(param_2 + 0x84)" (* "*") (pointer_expression "*(code **)(param_2 + 0x84)" (* "*") (cast_expression "(code **)(param_2 + 0x84)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x84)" (( "(") (binary_expression "param_2 + 0x84" (identifier "param_2") (+ "+") (number_literal "0x84")) () ")"))))) () ")")) (argument_list "(param_3,*(undefined4 *)(param_4 + 4))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);\n    break;" (case "case") (number_literal "2") (: ":") (expression_statement "iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);" (assignment_expression "iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" (identifier "iVar4") (= "=") (call_expression "FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" (identifier "FUN_0003a190") (argument_list "(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0)" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_4 + 0x14) + 4)" (( "(") (binary_expression "*(int *)(param_4 + 0x14) + 4" (pointer_expression "*(int *)(param_4 + 0x14)" (* "*") (cast_expression "(int *)(param_4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2]);" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" (identifier "uVar5") (= "=") (call_expression "(**(code **)(param_2 + 0x94))\n                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" (parenthesized_expression "(**(code **)(param_2 + 0x94))" (( "(") (pointer_expression "**(code **)(param_2 + 0x94)" (* "*") (pointer_expression "*(code **)(param_2 + 0x94)" (* "*") (cast_expression "(code **)(param_2 + 0x94)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x94)" (( "(") (binary_expression "param_2 + 0x94" (identifier "param_2") (+ "+") (number_literal "0x94")) () ")"))))) () ")")) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),\n                       (*(undefined4 **)(param_4 + 0x14))[2])" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "**(undefined4 **)(param_4 + 0x14)" (* "*") (pointer_expression "*(undefined4 **)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")"))))) (, ",") (subscript_expression "(*(undefined4 **)(param_4 + 0x14))[2]" (parenthesized_expression "(*(undefined4 **)(param_4 + 0x14))" (( "(") (pointer_expression "*(undefined4 **)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")")))) () ")")) ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 3:\n    puVar1 = *(undefined4 **)(param_4 + 0x14);\n    iVar4 = *(int *)(param_4 + 0x10);\n    uVar2 = *(undefined4 *)(param_4 + 4);\n    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));\n    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }\n    return 0;" (case "case") (number_literal "3") (: ":") (expression_statement "puVar1 = *(undefined4 **)(param_4 + 0x14);" (assignment_expression "puVar1 = *(undefined4 **)(param_4 + 0x14)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(param_4 + 0x10);" (assignment_expression "iVar4 = *(int *)(param_4 + 0x10)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_4 + 0x10)" (* "*") (cast_expression "(int *)(param_4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x10)" (( "(") (binary_expression "param_4 + 0x10" (identifier "param_4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_4 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(param_4 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));" (assignment_expression "iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc))" (identifier "iVar6") (= "=") (call_expression "FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc))" (identifier "FUN_000397e0") (argument_list "(param_3,*(undefined4 *)(puVar1[2] + 0xc))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(puVar1[2] + 0xc)" (* "*") (cast_expression "(undefined4 *)(puVar1[2] + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1[2] + 0xc)" (( "(") (binary_expression "puVar1[2] + 0xc" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (if_statement "if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }" (if "if") (parenthesized_expression "(((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0))" (( "(") (binary_expression "((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&\n       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)" (parenthesized_expression "((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0))" (( "(") (binary_expression "(iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)" (( "(") (comma_expression "iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0" (assignment_expression "iVar6 = FUN_0003a190(*puVar1,0)" (identifier "iVar6") (= "=") (call_expression "FUN_0003a190(*puVar1,0)" (identifier "FUN_0003a190") (argument_list "(*puVar1,0)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)" (( "(") (comma_expression "iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2)" (parenthesized_expression "(**(code **)(param_2 + 0x98))" (( "(") (pointer_expression "**(code **)(param_2 + 0x98)" (* "*") (pointer_expression "*(code **)(param_2 + 0x98)" (* "*") (cast_expression "(code **)(param_2 + 0x98)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x98)" (( "(") (binary_expression "param_2 + 0x98" (identifier "param_2") (+ "+") (number_literal "0x98")) () ")"))))) () ")")) (argument_list "(param_3,uVar2,iVar4 == 2)" (( "(") (identifier "param_3") (, ",") (identifier "uVar2") (, ",") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }\n      puVar1 = (undefined4 *)puVar1[2];\n      while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }\n    }" ({ "{") (for_statement "for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;\n          puVar3 = (undefined4 *)*puVar3) {\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }" (for "for") (( "(") (assignment_expression "puVar3 = (undefined4 *)puVar1[1]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)puVar1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")))) (; ";") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar3 = (undefined4 *)*puVar3" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) () ")") (compound_statement "{\n        iVar4 = FUN_0003a190(puVar3[2],0);\n        if (iVar4 == 0) {\n          return 0;\n        }\n        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);\n        if (iVar4 == 0) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "iVar4 = FUN_0003a190(puVar3[2],0);" (assignment_expression "iVar4 = FUN_0003a190(puVar3[2],0)" (identifier "iVar4") (= "=") (call_expression "FUN_0003a190(puVar3[2],0)" (identifier "FUN_0003a190") (argument_list "(puVar3[2],0)" (( "(") (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);" (assignment_expression "iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4])" (identifier "iVar4") (= "=") (call_expression "(**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4])" (parenthesized_expression "(**(code **)(param_2 + 0x9c))" (( "(") (pointer_expression "**(code **)(param_2 + 0x9c)" (* "*") (pointer_expression "*(code **)(param_2 + 0x9c)" (* "*") (cast_expression "(code **)(param_2 + 0x9c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x9c)" (( "(") (binary_expression "param_2 + 0x9c" (identifier "param_2") (+ "+") (number_literal "0x9c")) () ")"))))) () ")")) (argument_list "(param_3,puVar3[1],puVar3[3],puVar3[4])" (( "(") (identifier "param_3") (, ",") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar1 = (undefined4 *)puVar1[2];" (assignment_expression "puVar1 = (undefined4 *)puVar1[2]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)puVar1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (while_statement "while( true ) {\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }\n        iVar4 = FUN_0003afb0(puVar1);\n        if (iVar4 == 0) break;\n        puVar1 = (undefined4 *)*puVar1;\n      }" ({ "{") (if_statement "if (puVar1 == (undefined4 *)0x0) {\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }" (if "if") (parenthesized_expression "(puVar1 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 == (undefined4 *)0x0" (identifier "puVar1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n          uVar5 = (**(code **)(param_2 + 0xa8))();\n          return uVar5;\n        }" ({ "{") (expression_statement "uVar5 = (**(code **)(param_2 + 0xa8))();" (assignment_expression "uVar5 = (**(code **)(param_2 + 0xa8))()" (identifier "uVar5") (= "=") (call_expression "(**(code **)(param_2 + 0xa8))()" (parenthesized_expression "(**(code **)(param_2 + 0xa8))" (( "(") (pointer_expression "**(code **)(param_2 + 0xa8)" (* "*") (pointer_expression "*(code **)(param_2 + 0xa8)" (* "*") (cast_expression "(code **)(param_2 + 0xa8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0xa8)" (( "(") (binary_expression "param_2 + 0xa8" (identifier "param_2") (+ "+") (number_literal "0xa8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_0003afb0(puVar1);" (assignment_expression "iVar4 = FUN_0003afb0(puVar1)" (identifier "iVar4") (= "=") (call_expression "FUN_0003afb0(puVar1)" (identifier "FUN_0003afb0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) break;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";"))) (case_statement "case 4:\n    uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));\n    return uVar5;" (case "case") (number_literal "4") (: ":") (expression_statement "uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" (identifier "uVar5") (= "=") (call_expression "(**(code **)(param_2 + 0x88))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" (parenthesized_expression "(**(code **)(param_2 + 0x88))" (( "(") (pointer_expression "**(code **)(param_2 + 0x88)" (* "*") (pointer_expression "*(code **)(param_2 + 0x88)" (* "*") (cast_expression "(code **)(param_2 + 0x88)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x88)" (( "(") (binary_expression "param_2 + 0x88" (identifier "param_2") (+ "+") (number_literal "0x88")) () ")"))))) () ")")) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")")))) () ")")))) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";"))) (case_statement "case 5:\n    uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));\n    break;" (case "case") (number_literal "5") (: ":") (expression_statement "uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" (identifier "uVar5") (= "=") (call_expression "(**(code **)(param_2 + 0x8c))\n                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" (parenthesized_expression "(**(code **)(param_2 + 0x8c))" (( "(") (pointer_expression "**(code **)(param_2 + 0x8c)" (* "*") (pointer_expression "*(code **)(param_2 + 0x8c)" (* "*") (cast_expression "(code **)(param_2 + 0x8c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x8c)" (( "(") (binary_expression "param_2 + 0x8c" (identifier "param_2") (+ "+") (number_literal "0x8c")) () ")"))))) () ")")) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),\n                       *(undefined4 *)(param_4 + 0x18))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_4 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x18)" (( "(") (binary_expression "param_4 + 0x18" (identifier "param_4") (+ "+") (number_literal "0x18")) () ")")))) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 6:\n    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);\n    if (iVar4 == 0) {\n      return 0;\n    }\n    uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));\n    break;" (case "case") (number_literal "6") (: ":") (expression_statement "iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);" (assignment_expression "iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0)" (identifier "iVar4") (= "=") (call_expression "FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0)" (identifier "FUN_0003a190") (argument_list "(**(undefined4 **)(param_4 + 0x14),0)" (( "(") (pointer_expression "**(undefined4 **)(param_4 + 0x14)" (* "*") (pointer_expression "*(undefined4 **)(param_4 + 0x14)" (* "*") (cast_expression "(undefined4 **)(param_4 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")"))))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));" (assignment_expression "uVar5 = (**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" (identifier "uVar5") (= "=") (call_expression "(**(code **)(param_2 + 0x90))\n                      (param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" (parenthesized_expression "(**(code **)(param_2 + 0x90))" (( "(") (pointer_expression "**(code **)(param_2 + 0x90)" (* "*") (pointer_expression "*(code **)(param_2 + 0x90)" (* "*") (cast_expression "(code **)(param_2 + 0x90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x90)" (( "(") (binary_expression "param_2 + 0x90" (identifier "param_2") (+ "+") (number_literal "0x90")) () ")"))))) () ")")) (argument_list "(param_3,*(undefined4 *)(param_4 + 4),\n                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(undefined4 *)(param_4 + 4)" (* "*") (cast_expression "(undefined4 *)(param_4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 4)" (( "(") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_4 + 0x14) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_4 + 0x14) + 4)" (( "(") (binary_expression "*(int *)(param_4 + 0x14) + 4" (pointer_expression "*(int *)(param_4 + 0x14)" (* "*") (cast_expression "(int *)(param_4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "default:\n                    \n    abort();" (default "default") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

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

type_1 __regparm3
function_1(type_2 *info,type_3 *fns,void *fhandle,type_4 *n)

{
  type_5 *pdVar1;
  type_6 var_4;
  char *pcVar3;
  type_7 *var_6;
  type_8 *var_7;
  type_1 var_2;
  type_9 uVar6;
  
  switch(n->kind) {
  case DEBUG_OBJECT_TYPE:
    var_2 = var_1(info,fns,fhandle,(n->u).type,n);
    if (var_2 == 0) {
      return 0;
    }
    var_2 = (*fns->typdef)(fhandle,n->name);
    uVar6 = (type_9)(var_2 != 0);
    break;
  case DEBUG_OBJECT_TAG:
    var_2 = var_1(info,fns,fhandle,(n->u).type,n);
    if (var_2 == 0) {
      return 0;
    }
    uVar6 = (*fns->tag)(fhandle,n->name);
    break;
  case DEBUG_OBJECT_VARIABLE:
    var_2 = var_1(info,fns,fhandle,((n->u).variable)->type,(type_4 *)0x0);
    if (var_2 == 0) {
      return 0;
    }
    uVar6 = (*fns->variable)(fhandle,n->name,((n->u).variable)->kind,((n->u).variable)->val);
    break;
  case DEBUG_OBJECT_FUNCTION:
    pdVar1 = (n->u).function;
    var_4 = n->linkage;
    pcVar3 = n->name;
    var_2 = var_3((type_2 *)&info->current_write_lineno,
                                (type_3 *)&info->current_write_lineno_index,&fns->lineno,
                                (type_10)fhandle,(type_2 *)pdVar1->blocks->start);
    if (((var_2 != 0) &&
        (var_2 = var_1(info,fns,fhandle,pdVar1->return_type,(type_4 *)0x0),
        var_2 != 0)) &&
       (var_2 = (*fns->start_function)(fhandle,pcVar3,(type_9)(var_4 == var_5)),
       var_2 != 0)) {
      for (var_6 = pdVar1->parameters; var_6 != (type_7 *)0x0; var_6 = var_6->next) {
        var_2 = var_1(info,fns,fhandle,var_6->type,(type_4 *)0x0);
        if (var_2 == 0) {
          return 0;
        }
        var_2 = (*fns->function_parameter)(fhandle,var_6->name,var_6->kind,var_6->val);
        if (var_2 == 0) {
          return 0;
        }
      }
      var_7 = pdVar1->blocks;
      while( true ) {
        if (var_7 == (type_8 *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          var_2 = (*fns->end_function)(fhandle);
          return var_2;
        }
        var_2 = var_8(info,fns,fhandle,var_7);
        if (var_2 == 0) break;
        var_7 = var_7->next;
      }
    }
    return 0;
  case DEBUG_OBJECT_INT_CONSTANT:
    var_2 = (*fns->int_constant)(fhandle,n->name,(n->u).int_constant);
    return var_2;
  case DEBUG_OBJECT_FLOAT_CONSTANT:
    uVar6 = (*fns->float_constant)(fhandle,n->name,(n->u).float_constant);
    break;
  case DEBUG_OBJECT_TYPED_CONSTANT:
    var_2 = var_1(info,fns,fhandle,((n->u).function)->return_type,(type_4 *)0x0);
    if (var_2 == 0) {
      return 0;
    }
    uVar6 = (*fns->typed_constant)(fhandle,n->name,((n->u).typed_constant)->val);
    break;
  default:
                    /* WARNING: Subroutine does not return */
    var_9();
  }
  return uVar6;
}


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

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

uint __regparm3 MASKED(undefined4 param_1,int param_2,undefined4 param_3,int param_4)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  
  switch(*(undefined4 *)(param_4 + 0xc)) {
  case 0:
    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);
    if (iVar4 == 0) {
      return 0;
    }
    iVar4 = (**(code **)(param_2 + 0x80))(param_3,*(undefined4 *)(param_4 + 4));
    uVar5 = (uint)(iVar4 != 0);
    break;
  case 1:
    iVar4 = FUN_0003a190(*(undefined4 *)(param_4 + 0x14),param_4);
    if (iVar4 == 0) {
      return 0;
    }
    uVar5 = (**(code **)(param_2 + 0x84))(param_3,*(undefined4 *)(param_4 + 4));
    break;
  case 2:
    iVar4 = FUN_0003a190(*(undefined4 *)(*(int *)(param_4 + 0x14) + 4),0);
    if (iVar4 == 0) {
      return 0;
    }
    uVar5 = (**(code **)(param_2 + 0x94))
                      (param_3,*(undefined4 *)(param_4 + 4),**(undefined4 **)(param_4 + 0x14),
                       (*(undefined4 **)(param_4 + 0x14))[2]);
    break;
  case 3:
    puVar1 = *(undefined4 **)(param_4 + 0x14);
    iVar4 = *(int *)(param_4 + 0x10);
    uVar2 = *(undefined4 *)(param_4 + 4);
    iVar6 = FUN_000397e0(param_3,*(undefined4 *)(puVar1[2] + 0xc));
    if (((iVar6 != 0) && (iVar6 = FUN_0003a190(*puVar1,0), iVar6 != 0)) &&
       (iVar4 = (**(code **)(param_2 + 0x98))(param_3,uVar2,iVar4 == 2), iVar4 != 0)) {
      for (puVar3 = (undefined4 *)puVar1[1]; puVar3 != (undefined4 *)0x0;
          puVar3 = (undefined4 *)*puVar3) {
        iVar4 = FUN_0003a190(puVar3[2],0);
        if (iVar4 == 0) {
          return 0;
        }
        iVar4 = (**(code **)(param_2 + 0x9c))(param_3,puVar3[1],puVar3[3],puVar3[4]);
        if (iVar4 == 0) {
          return 0;
        }
      }
      puVar1 = (undefined4 *)puVar1[2];
      while( true ) {
        if (puVar1 == (undefined4 *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0003afa9. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          uVar5 = (**(code **)(param_2 + 0xa8))();
          return uVar5;
        }
        iVar4 = FUN_0003afb0(puVar1);
        if (iVar4 == 0) break;
        puVar1 = (undefined4 *)*puVar1;
      }
    }
    return 0;
  case 4:
    uVar5 = (**(code **)(param_2 + 0x88))
                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14));
    return uVar5;
  case 5:
    uVar5 = (**(code **)(param_2 + 0x8c))
                      (param_3,*(undefined4 *)(param_4 + 4),*(undefined4 *)(param_4 + 0x14),
                       *(undefined4 *)(param_4 + 0x18));
    break;
  case 6:
    iVar4 = FUN_0003a190(**(undefined4 **)(param_4 + 0x14),0);
    if (iVar4 == 0) {
      return 0;
    }
    uVar5 = (**(code **)(param_2 + 0x90))
                      (param_3,*(undefined4 *)(param_4 + 4),
                       *(undefined4 *)(*(int *)(param_4 + 0x14) + 4));
    break;
  default:
                    /* WARNING: Subroutine does not return */
    abort();
  }
  return uVar5;
}

