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

int __regparm3
is_ctor_or_dtor(char *mangled,gnu_v3_ctor_kinds *ctor_kind,gnu_v3_dtor_kinds *dtor_kind)

{
  demangle_component_type dVar1;
  int iVar2;
  int iVar3;
  size_t sVar4;
  demangle_component *pdVar5;
  int iStackY_80;
  demangle_component dStack_6c;
  d_info di;
  
  *ctor_kind = 0;
  *dtor_kind = 0;
  iStackY_80 = 0x177e9d;
  dStack_6c.u.s_extended_operator.name = (demangle_component *)dtor_kind;
  sVar4 = strlen(mangled);
  di.s = mangled;
  di.num_subs = sVar4;
  di.send = mangled + sVar4;
  di.num_comps = sVar4 * 2;
  di.n = mangled;
  iVar2 = sVar4 * -0x20;
  di.options = 0x4000;
  iVar3 = -(sVar4 * 4 + 0xf & 0xfffffff0);
  di.next_comp = 0;
  di.subs = (demangle_component **)((int)&dStack_6c + iVar3 + iVar2);
  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;
  *(d_info **)(&stack0xffffff84 + iVar3 + iVar2) = &di;
  di.next_sub = 0;
  di.last_name = (demangle_component *)0x0;
  di.expansion = 0;
  di.is_expression = 0;
  di.is_conversion = 0;
  di.comps = &dStack_6c + sVar4 * -2;
  *(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2) = 0x177f0f;
  pdVar5 = cplus_demangle_mangled_name
                     (*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),
                      *(int *)(&stack0xffffff88 + iVar3 + iVar2));
  if (pdVar5 != (demangle_component *)0x0) {
    dVar1 = pdVar5->type;
    while (dVar1 < DEMANGLE_COMPONENT_VTABLE) {
      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])
      {
      case 0x177f30:
        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s
        ;
        return 1;
      case 0x177f48:
        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;
        return 1;
      case 0x177f60:
        pdVar5 = (pdVar5->u).s_fixed.length;
        break;
      case 0x177f6c:
        goto _L2219;
      case 0x177f80:
        pdVar5 = (pdVar5->u).s_extended_operator.name;
      }
      if (pdVar5 == (demangle_component *)0x0) {
        return 0;
      }
      dVar1 = pdVar5->type;
    }
  }
_L2219:
  return 0;
}



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

undefined4 __regparm3 FUN_00177e70(char *param_1,uint *param_2,uint *param_3)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  uint *puVar4;
  undefined4 uStackY_80;
  undefined1 auStack_6c [12];
  uint *local_60;
  char *local_54;
  char *local_50;
  undefined4 local_4c;
  char *local_48;
  undefined1 *local_44;
  undefined4 local_40;
  int local_3c;
  undefined1 *local_38;
  undefined4 local_34;
  size_t local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x177e7f;
  *param_2 = 0;
  *param_3 = 0;
  uStackY_80 = 0x177e9d;
  local_60 = param_3;
  local_30 = strlen(param_1);
  local_50 = param_1 + local_30;
  local_3c = local_30 * 2;
  iVar2 = local_30 * -0x20;
  local_4c = 0x4000;
  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);
  local_38 = auStack_6c + iVar3 + iVar2;
  local_40 = 0;
  local_54 = param_1;
  local_48 = param_1;
  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;
  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;
  local_34 = 0;
  local_2c = 0;
  local_28 = 0;
  local_24 = 0;
  local_20 = 0;
  local_44 = auStack_6c + iVar2;
  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;
  puVar4 = (uint *)FUN_00177070();
  if (puVar4 != (uint *)0x0) {
    uVar1 = *puVar4;
    while (uVar1 < 9) {
      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {
      case 0x177f30:
        *local_60 = puVar4[2];
        return 1;
      case 0x177f48:
        *param_2 = puVar4[2];
        return 1;
      case 0x177f60:
        puVar4 = (uint *)puVar4[2];
        break;
      case 0x177f6c:
        goto LAB_00177f6c;
      case 0x177f80:
        puVar4 = (uint *)puVar4[3];
      }
      if (puVar4 == (uint *)0x0) {
        return 0;
      }
      uVar1 = *puVar4;
    }
  }
LAB_00177f6c:
  return 0;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00032730
ADD EBX,0x18a181
SUB ESP,0x68
MOV dword ptr [EDX],0x0
MOV dword ptr [ECX],0x0
PUSH EAX
MOV dword ptr [EBP + -0x5c],ECX
CALL 0x000265f0
ADD ESP,0x10
MOV dword ptr [EBP + -0x50],ESI
LEA EDX,[ESI + EAX*0x1]
MOV dword ptr [EBP + -0x2c],EAX
MOV dword ptr [EBP + -0x4c],EDX
LEA EDX,[EAX + EAX*0x1]
MOV dword ptr [EBP + -0x38],EDX
MOV EDX,EAX
LEA EAX,[EAX*0x4 + 0xf]
SHL EDX,0x5
AND EAX,0xfffffff0
MOV dword ptr [EBP + -0x44],ESI
SUB ESP,EDX
MOV dword ptr [EBP + -0x48],0x4000
MOV EDX,ESP
SUB ESP,EAX
LEA EAX,[EBP + -0x50]
MOV dword ptr [EBP + -0x3c],0x0
MOV dword ptr [EBP + -0x34],ESP
SUB ESP,0x8
PUSH 0x1
PUSH EAX
MOV dword ptr [EBP + -0x30],0x0
MOV dword ptr [EBP + -0x28],0x0
MOV dword ptr [EBP + -0x24],0x0
MOV dword ptr [EBP + -0x20],0x0
MOV dword ptr [EBP + -0x1c],0x0
MOV dword ptr [EBP + -0x40],EDX
CALL 0x00177070
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x5c]
TEST EAX,EAX
JZ 0x00177f6c
CMP dword ptr [EAX],0x8
JA 0x00177f6c
MOV EDX,dword ptr [EAX]
MOV ESI,dword ptr [EBX + EDX*0x4 + 0xfff36aac]
ADD ESI,EBX
JMP ESI
LEA ESP,[EBP + -0xc]
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00177e70(char *param_1,uint *param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00177e70(char *param_1,uint *param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00177e70(char *param_1,uint *param_2,uint *param_3)" identifier (parameter_list "(char *param_1,uint *param_2,uint *param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uStackY_80;" type_identifier identifier ;) (declaration "undefined1 auStack_6c [12];" type_identifier (array_declarator "auStack_6c [12]" identifier [ number_literal ]) ;) (declaration "uint *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "char *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (declaration "undefined1 *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "undefined1 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x177e7f;" (assignment_expression "uStack_14 = 0x177e7f" identifier = number_literal) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "uStackY_80 = 0x177e9d;" (assignment_expression "uStackY_80 = 0x177e9d" identifier = number_literal) ;) (expression_statement "local_60 = param_3;" (assignment_expression "local_60 = param_3" identifier = identifier) ;) (expression_statement "local_30 = strlen(param_1);" (assignment_expression "local_30 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_50 = param_1 + local_30;" (assignment_expression "local_50 = param_1 + local_30" identifier = (binary_expression "param_1 + local_30" identifier + identifier)) ;) (expression_statement "local_3c = local_30 * 2;" (assignment_expression "local_3c = local_30 * 2" identifier = (binary_expression "local_30 * 2" identifier * number_literal)) ;) (expression_statement "iVar2 = local_30 * -0x20;" (assignment_expression "iVar2 = local_30 * -0x20" identifier = (binary_expression "local_30 * -0x20" identifier * number_literal)) ;) (expression_statement "local_4c = 0x4000;" (assignment_expression "local_4c = 0x4000" identifier = number_literal) ;) (expression_statement "iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);" (assignment_expression "iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0)" identifier = (unary_expression "-(local_30 * 4 + 0xf & 0xfffffff0)" - (parenthesized_expression "(local_30 * 4 + 0xf & 0xfffffff0)" ( (binary_expression "local_30 * 4 + 0xf & 0xfffffff0" (binary_expression "local_30 * 4 + 0xf" (binary_expression "local_30 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "local_38 = auStack_6c + iVar3 + iVar2;" (assignment_expression "local_38 = auStack_6c + iVar3 + iVar2" identifier = (binary_expression "auStack_6c + iVar3 + iVar2" (binary_expression "auStack_6c + iVar3" identifier + identifier) + identifier)) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_54 = param_1;" (assignment_expression "local_54 = param_1" identifier = identifier) ;) (expression_statement "local_48 = param_1;" (assignment_expression "local_48 = param_1" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;" (assignment_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1" (pointer_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" * (cast_expression "(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffff88 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff88 + iVar3 + iVar2" (binary_expression "&stack0xffffff88 + iVar3" (pointer_expression "&stack0xffffff88" & identifier) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;" (assignment_expression "*(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54" (pointer_expression "*(char ***)(&stack0xffffff84 + iVar3 + iVar2)" * (cast_expression "(char ***)(&stack0xffffff84 + iVar3 + iVar2)" ( (type_descriptor "char ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(&stack0xffffff84 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff84 + iVar3 + iVar2" (binary_expression "&stack0xffffff84 + iVar3" (pointer_expression "&stack0xffffff84" & identifier) + identifier) + identifier) )))) = (pointer_expression "&local_54" & identifier)) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_44 = auStack_6c + iVar2;" (assignment_expression "local_44 = auStack_6c + iVar2" identifier = (binary_expression "auStack_6c + iVar2" identifier + identifier)) ;) (expression_statement "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;" (assignment_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f" (pointer_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2)" * (cast_expression "(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&uStackY_80 + iVar3 + iVar2)" ( (binary_expression "(int)&uStackY_80 + iVar3 + iVar2" (binary_expression "(int)&uStackY_80 + iVar3" (cast_expression "(int)&uStackY_80" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStackY_80" & identifier)) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar4 = (uint *)FUN_00177070();" (assignment_expression "puVar4 = (uint *)FUN_00177070()" identifier = (cast_expression "(uint *)FUN_00177070()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00177070()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }" if (parenthesized_expression "(puVar4 != (uint *)0x0)" ( (binary_expression "puVar4 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (while_statement "while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }" while (parenthesized_expression "(uVar1 < 9)" ( (binary_expression "uVar1 < 9" identifier < number_literal) )) (compound_statement "{\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }" { (switch_statement "switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }" switch (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4))" ( (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)" (cast_expression "(int)&__DT_PLTGOT" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__DT_PLTGOT" & identifier)) + (pointer_expression "*(int *)(&DAT_00238aac + *puVar4 * 4)" * (cast_expression "(int *)(&DAT_00238aac + *puVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00238aac + *puVar4 * 4)" ( (binary_expression "&DAT_00238aac + *puVar4 * 4" (pointer_expression "&DAT_00238aac" & identifier) + (binary_expression "*puVar4 * 4" (pointer_expression "*puVar4" * identifier) * number_literal)) ))))) )) (compound_statement "{\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }" { (case_statement "case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;" case number_literal : (expression_statement "*local_60 = puVar4[2];" (assignment_expression "*local_60 = puVar4[2]" (pointer_expression "*local_60" * identifier) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (return_statement "return 1;" return number_literal ;)) (case_statement "case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;" case number_literal : (expression_statement "*param_2 = puVar4[2];" (assignment_expression "*param_2 = puVar4[2]" (pointer_expression "*param_2" * identifier) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (return_statement "return 1;" return number_literal ;)) (case_statement "case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;" case number_literal : (expression_statement "puVar4 = (uint *)puVar4[2];" (assignment_expression "puVar4 = (uint *)puVar4[2]" identifier = (cast_expression "(uint *)puVar4[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[2]" identifier [ number_literal ]))) ;) (break_statement "break;" break ;)) (case_statement "case 0x177f6c:\n        goto LAB_00177f6c;" case number_literal : (goto_statement "goto LAB_00177f6c;" goto statement_identifier ;)) (case_statement "case 0x177f80:\n        puVar4 = (uint *)puVar4[3];" case number_literal : (expression_statement "puVar4 = (uint *)puVar4[3];" (assignment_expression "puVar4 = (uint *)puVar4[3]" identifier = (cast_expression "(uint *)puVar4[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;)) })) (if_statement "if (puVar4 == (uint *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(puVar4 == (uint *)0x0)" ( (binary_expression "puVar4 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) })) })) (labeled_statement "LAB_00177f6c:\n  return 0;" statement_identifier : (return_statement "return 0;" return number_literal ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3\nis_ctor_or_dtor(char *mangled,gnu_v3_ctor_kinds *ctor_kind,gnu_v3_dtor_kinds *dtor_kind)\n\n{\n  demangle_component_type dVar1;\n  int iVar2;\n  int iVar3;\n  size_t sVar4;\n  demangle_component *pdVar5;\n  int iStackY_80;\n  demangle_component dStack_6c;\n  d_info di;\n  \n  *ctor_kind = 0;\n  *dtor_kind = 0;\n  iStackY_80 = 0x177e9d;\n  dStack_6c.u.s_extended_operator.name = (demangle_component *)dtor_kind;\n  sVar4 = strlen(mangled);\n  di.s = mangled;\n  di.num_subs = sVar4;\n  di.send = mangled + sVar4;\n  di.num_comps = sVar4 * 2;\n  di.n = mangled;\n  iVar2 = sVar4 * -0x20;\n  di.options = 0x4000;\n  iVar3 = -(sVar4 * 4 + 0xf & 0xfffffff0);\n  di.next_comp = 0;\n  di.subs = (demangle_component **)((int)&dStack_6c + iVar3 + iVar2);\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(d_info **)(&stack0xffffff84 + iVar3 + iVar2) = &di;\n  di.next_sub = 0;\n  di.last_name = (demangle_component *)0x0;\n  di.expansion = 0;\n  di.is_expression = 0;\n  di.is_conversion = 0;\n  di.comps = &dStack_6c + sVar4 * -2;\n  *(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  pdVar5 = cplus_demangle_mangled_name\n                     (*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),\n                      *(int *)(&stack0xffffff88 + iVar3 + iVar2));\n  if (pdVar5 != (demangle_component *)0x0) {\n    dVar1 = pdVar5->type;\n    while (dVar1 < DEMANGLE_COMPONENT_VTABLE) {\n      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }\n      if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }\n      dVar1 = pdVar5->type;\n    }\n  }\n_L2219:\n  return 0;\n}\n\n" comment (function_definition "int __regparm3\nis_ctor_or_dtor(char *mangled,gnu_v3_ctor_kinds *ctor_kind,gnu_v3_dtor_kinds *dtor_kind)\n\n{\n  demangle_component_type dVar1;\n  int iVar2;\n  int iVar3;\n  size_t sVar4;\n  demangle_component *pdVar5;\n  int iStackY_80;\n  demangle_component dStack_6c;\n  d_info di;\n  \n  *ctor_kind = 0;\n  *dtor_kind = 0;\n  iStackY_80 = 0x177e9d;\n  dStack_6c.u.s_extended_operator.name = (demangle_component *)dtor_kind;\n  sVar4 = strlen(mangled);\n  di.s = mangled;\n  di.num_subs = sVar4;\n  di.send = mangled + sVar4;\n  di.num_comps = sVar4 * 2;\n  di.n = mangled;\n  iVar2 = sVar4 * -0x20;\n  di.options = 0x4000;\n  iVar3 = -(sVar4 * 4 + 0xf & 0xfffffff0);\n  di.next_comp = 0;\n  di.subs = (demangle_component **)((int)&dStack_6c + iVar3 + iVar2);\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(d_info **)(&stack0xffffff84 + iVar3 + iVar2) = &di;\n  di.next_sub = 0;\n  di.last_name = (demangle_component *)0x0;\n  di.expansion = 0;\n  di.is_expression = 0;\n  di.is_conversion = 0;\n  di.comps = &dStack_6c + sVar4 * -2;\n  *(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  pdVar5 = cplus_demangle_mangled_name\n                     (*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),\n                      *(int *)(&stack0xffffff88 + iVar3 + iVar2));\n  if (pdVar5 != (demangle_component *)0x0) {\n    dVar1 = pdVar5->type;\n    while (dVar1 < DEMANGLE_COMPONENT_VTABLE) {\n      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }\n      if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }\n      dVar1 = pdVar5->type;\n    }\n  }\n_L2219:\n  return 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "is_ctor_or_dtor(char *mangled,gnu_v3_ctor_kinds *ctor_kind,gnu_v3_dtor_kinds *dtor_kind)" identifier (parameter_list "(char *mangled,gnu_v3_ctor_kinds *ctor_kind,gnu_v3_dtor_kinds *dtor_kind)" ( (parameter_declaration "char *mangled" primitive_type (pointer_declarator "*mangled" * identifier)) , (parameter_declaration "gnu_v3_ctor_kinds *ctor_kind" type_identifier (pointer_declarator "*ctor_kind" * identifier)) , (parameter_declaration "gnu_v3_dtor_kinds *dtor_kind" type_identifier (pointer_declarator "*dtor_kind" * identifier)) ))) (compound_statement "{\n  demangle_component_type dVar1;\n  int iVar2;\n  int iVar3;\n  size_t sVar4;\n  demangle_component *pdVar5;\n  int iStackY_80;\n  demangle_component dStack_6c;\n  d_info di;\n  \n  *ctor_kind = 0;\n  *dtor_kind = 0;\n  iStackY_80 = 0x177e9d;\n  dStack_6c.u.s_extended_operator.name = (demangle_component *)dtor_kind;\n  sVar4 = strlen(mangled);\n  di.s = mangled;\n  di.num_subs = sVar4;\n  di.send = mangled + sVar4;\n  di.num_comps = sVar4 * 2;\n  di.n = mangled;\n  iVar2 = sVar4 * -0x20;\n  di.options = 0x4000;\n  iVar3 = -(sVar4 * 4 + 0xf & 0xfffffff0);\n  di.next_comp = 0;\n  di.subs = (demangle_component **)((int)&dStack_6c + iVar3 + iVar2);\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(d_info **)(&stack0xffffff84 + iVar3 + iVar2) = &di;\n  di.next_sub = 0;\n  di.last_name = (demangle_component *)0x0;\n  di.expansion = 0;\n  di.is_expression = 0;\n  di.is_conversion = 0;\n  di.comps = &dStack_6c + sVar4 * -2;\n  *(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  pdVar5 = cplus_demangle_mangled_name\n                     (*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),\n                      *(int *)(&stack0xffffff88 + iVar3 + iVar2));\n  if (pdVar5 != (demangle_component *)0x0) {\n    dVar1 = pdVar5->type;\n    while (dVar1 < DEMANGLE_COMPONENT_VTABLE) {\n      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }\n      if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }\n      dVar1 = pdVar5->type;\n    }\n  }\n_L2219:\n  return 0;\n}" { (declaration "demangle_component_type dVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "demangle_component *pdVar5;" type_identifier (pointer_declarator "*pdVar5" * identifier) ;) (declaration "int iStackY_80;" primitive_type identifier ;) (declaration "demangle_component dStack_6c;" type_identifier identifier ;) (declaration "d_info di;" type_identifier identifier ;) (expression_statement "*ctor_kind = 0;" (assignment_expression "*ctor_kind = 0" (pointer_expression "*ctor_kind" * identifier) = number_literal) ;) (expression_statement "*dtor_kind = 0;" (assignment_expression "*dtor_kind = 0" (pointer_expression "*dtor_kind" * identifier) = number_literal) ;) (expression_statement "iStackY_80 = 0x177e9d;" (assignment_expression "iStackY_80 = 0x177e9d" identifier = number_literal) ;) (expression_statement "dStack_6c.u.s_extended_operator.name = (demangle_component *)dtor_kind;" (assignment_expression "dStack_6c.u.s_extended_operator.name = (demangle_component *)dtor_kind" (field_expression "dStack_6c.u.s_extended_operator.name" (field_expression "dStack_6c.u.s_extended_operator" (field_expression "dStack_6c.u" identifier . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(demangle_component *)dtor_kind" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "sVar4 = strlen(mangled);" (assignment_expression "sVar4 = strlen(mangled)" identifier = (call_expression "strlen(mangled)" identifier (argument_list "(mangled)" ( identifier )))) ;) (expression_statement "di.s = mangled;" (assignment_expression "di.s = mangled" (field_expression "di.s" identifier . field_identifier) = identifier) ;) (expression_statement "di.num_subs = sVar4;" (assignment_expression "di.num_subs = sVar4" (field_expression "di.num_subs" identifier . field_identifier) = identifier) ;) (expression_statement "di.send = mangled + sVar4;" (assignment_expression "di.send = mangled + sVar4" (field_expression "di.send" identifier . field_identifier) = (binary_expression "mangled + sVar4" identifier + identifier)) ;) (expression_statement "di.num_comps = sVar4 * 2;" (assignment_expression "di.num_comps = sVar4 * 2" (field_expression "di.num_comps" identifier . field_identifier) = (binary_expression "sVar4 * 2" identifier * number_literal)) ;) (expression_statement "di.n = mangled;" (assignment_expression "di.n = mangled" (field_expression "di.n" identifier . field_identifier) = identifier) ;) (expression_statement "iVar2 = sVar4 * -0x20;" (assignment_expression "iVar2 = sVar4 * -0x20" identifier = (binary_expression "sVar4 * -0x20" identifier * number_literal)) ;) (expression_statement "di.options = 0x4000;" (assignment_expression "di.options = 0x4000" (field_expression "di.options" identifier . field_identifier) = number_literal) ;) (expression_statement "iVar3 = -(sVar4 * 4 + 0xf & 0xfffffff0);" (assignment_expression "iVar3 = -(sVar4 * 4 + 0xf & 0xfffffff0)" identifier = (unary_expression "-(sVar4 * 4 + 0xf & 0xfffffff0)" - (parenthesized_expression "(sVar4 * 4 + 0xf & 0xfffffff0)" ( (binary_expression "sVar4 * 4 + 0xf & 0xfffffff0" (binary_expression "sVar4 * 4 + 0xf" (binary_expression "sVar4 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "di.next_comp = 0;" (assignment_expression "di.next_comp = 0" (field_expression "di.next_comp" identifier . field_identifier) = number_literal) ;) (expression_statement "di.subs = (demangle_component **)((int)&dStack_6c + iVar3 + iVar2);" (assignment_expression "di.subs = (demangle_component **)((int)&dStack_6c + iVar3 + iVar2)" (field_expression "di.subs" identifier . field_identifier) = (cast_expression "(demangle_component **)((int)&dStack_6c + iVar3 + iVar2)" ( (type_descriptor "demangle_component **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&dStack_6c + iVar3 + iVar2)" ( (binary_expression "(int)&dStack_6c + iVar3 + iVar2" (binary_expression "(int)&dStack_6c + iVar3" (cast_expression "(int)&dStack_6c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dStack_6c" & identifier)) + identifier) + identifier) )))) ;) (expression_statement "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;" (assignment_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1" (pointer_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" * (cast_expression "(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffff88 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff88 + iVar3 + iVar2" (binary_expression "&stack0xffffff88 + iVar3" (pointer_expression "&stack0xffffff88" & identifier) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(d_info **)(&stack0xffffff84 + iVar3 + iVar2) = &di;" (assignment_expression "*(d_info **)(&stack0xffffff84 + iVar3 + iVar2) = &di" (pointer_expression "*(d_info **)(&stack0xffffff84 + iVar3 + iVar2)" * (cast_expression "(d_info **)(&stack0xffffff84 + iVar3 + iVar2)" ( (type_descriptor "d_info **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&stack0xffffff84 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff84 + iVar3 + iVar2" (binary_expression "&stack0xffffff84 + iVar3" (pointer_expression "&stack0xffffff84" & identifier) + identifier) + identifier) )))) = (pointer_expression "&di" & identifier)) ;) (expression_statement "di.next_sub = 0;" (assignment_expression "di.next_sub = 0" (field_expression "di.next_sub" identifier . field_identifier) = number_literal) ;) (expression_statement "di.last_name = (demangle_component *)0x0;" (assignment_expression "di.last_name = (demangle_component *)0x0" (field_expression "di.last_name" identifier . field_identifier) = (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "di.expansion = 0;" (assignment_expression "di.expansion = 0" (field_expression "di.expansion" identifier . field_identifier) = number_literal) ;) (expression_statement "di.is_expression = 0;" (assignment_expression "di.is_expression = 0" (field_expression "di.is_expression" identifier . field_identifier) = number_literal) ;) (expression_statement "di.is_conversion = 0;" (assignment_expression "di.is_conversion = 0" (field_expression "di.is_conversion" identifier . field_identifier) = number_literal) ;) (expression_statement "di.comps = &dStack_6c + sVar4 * -2;" (assignment_expression "di.comps = &dStack_6c + sVar4 * -2" (field_expression "di.comps" identifier . field_identifier) = (binary_expression "&dStack_6c + sVar4 * -2" (pointer_expression "&dStack_6c" & identifier) + (binary_expression "sVar4 * -2" identifier * number_literal))) ;) (expression_statement "*(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2) = 0x177f0f;" (assignment_expression "*(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2) = 0x177f0f" (pointer_expression "*(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2)" * (cast_expression "(undefined4 *)((int)&iStackY_80 + iVar3 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&iStackY_80 + iVar3 + iVar2)" ( (binary_expression "(int)&iStackY_80 + iVar3 + iVar2" (binary_expression "(int)&iStackY_80 + iVar3" (cast_expression "(int)&iStackY_80" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&iStackY_80" & identifier)) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "pdVar5 = cplus_demangle_mangled_name\n                     (*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),\n                      *(int *)(&stack0xffffff88 + iVar3 + iVar2));" (assignment_expression "pdVar5 = cplus_demangle_mangled_name\n                     (*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),\n                      *(int *)(&stack0xffffff88 + iVar3 + iVar2))" identifier = (call_expression "cplus_demangle_mangled_name\n                     (*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),\n                      *(int *)(&stack0xffffff88 + iVar3 + iVar2))" identifier (argument_list "(*(d_info **)(&stack0xffffff84 + iVar3 + iVar2),\n                      *(int *)(&stack0xffffff88 + iVar3 + iVar2))" ( (pointer_expression "*(d_info **)(&stack0xffffff84 + iVar3 + iVar2)" * (cast_expression "(d_info **)(&stack0xffffff84 + iVar3 + iVar2)" ( (type_descriptor "d_info **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&stack0xffffff84 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff84 + iVar3 + iVar2" (binary_expression "&stack0xffffff84 + iVar3" (pointer_expression "&stack0xffffff84" & identifier) + identifier) + identifier) )))) , (pointer_expression "*(int *)(&stack0xffffff88 + iVar3 + iVar2)" * (cast_expression "(int *)(&stack0xffffff88 + iVar3 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffff88 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff88 + iVar3 + iVar2" (binary_expression "&stack0xffffff88 + iVar3" (pointer_expression "&stack0xffffff88" & identifier) + identifier) + identifier) )))) )))) ;) (if_statement "if (pdVar5 != (demangle_component *)0x0) {\n    dVar1 = pdVar5->type;\n    while (dVar1 < DEMANGLE_COMPONENT_VTABLE) {\n      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }\n      if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }\n      dVar1 = pdVar5->type;\n    }\n  }" if (parenthesized_expression "(pdVar5 != (demangle_component *)0x0)" ( (binary_expression "pdVar5 != (demangle_component *)0x0" identifier != (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dVar1 = pdVar5->type;\n    while (dVar1 < DEMANGLE_COMPONENT_VTABLE) {\n      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }\n      if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }\n      dVar1 = pdVar5->type;\n    }\n  }" { (expression_statement "dVar1 = pdVar5->type;" (assignment_expression "dVar1 = pdVar5->type" identifier = (field_expression "pdVar5->type" identifier -> field_identifier)) ;) (while_statement "while (dVar1 < DEMANGLE_COMPONENT_VTABLE) {\n      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }\n      if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }\n      dVar1 = pdVar5->type;\n    }" while (parenthesized_expression "(dVar1 < DEMANGLE_COMPONENT_VTABLE)" ( (binary_expression "dVar1 < DEMANGLE_COMPONENT_VTABLE" identifier < identifier) )) (compound_statement "{\n      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }\n      if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }\n      dVar1 = pdVar5->type;\n    }" { (switch_statement "switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])\n      {\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }" switch (parenthesized_expression "((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type])" ( (binary_expression "(int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[pdVar5->type]" (cast_expression "(int)&_GLOBAL_OFFSET_TABLE_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) + (subscript_expression "(&switchD_00177f29::switchdataD_00238aac)[pdVar5->type]" (parenthesized_expression "(&switchD_00177f29::switchdataD_00238aac)" ( (ERROR "&switchD_00177f29::" (pointer_expression "&switchD_00177f29" & identifier) : :) identifier )) [ (field_expression "pdVar5->type" identifier -> field_identifier) ])) )) (compound_statement "{\n      case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;\n      case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;\n      case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;\n      case 0x177f6c:\n        goto _L2219;\n      case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;\n      }" { (case_statement "case 0x177f30:\n        (dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;\n        return 1;" case number_literal : (expression_statement "(dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s\n        ;" (assignment_expression "(dStack_6c.u.s_extended_operator.name)->type = (demangle_component_type)(pdVar5->u).s_name.s" (field_expression "(dStack_6c.u.s_extended_operator.name)->type" (parenthesized_expression "(dStack_6c.u.s_extended_operator.name)" ( (field_expression "dStack_6c.u.s_extended_operator.name" (field_expression "dStack_6c.u.s_extended_operator" (field_expression "dStack_6c.u" identifier . field_identifier) . field_identifier) . field_identifier) )) -> field_identifier) = (field_expression "(demangle_component_type)(pdVar5->u).s_name.s" (field_expression "(demangle_component_type)(pdVar5->u).s_name" (call_expression "(demangle_component_type)(pdVar5->u)" (parenthesized_expression "(demangle_component_type)" ( identifier )) (argument_list "(pdVar5->u)" ( (field_expression "pdVar5->u" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (return_statement "return 1;" return number_literal ;)) (case_statement "case 0x177f48:\n        *ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;\n        return 1;" case number_literal : (expression_statement "*ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s;" (assignment_expression "*ctor_kind = (gnu_v3_ctor_kinds)(pdVar5->u).s_name.s" (pointer_expression "*ctor_kind" * identifier) = (field_expression "(gnu_v3_ctor_kinds)(pdVar5->u).s_name.s" (field_expression "(gnu_v3_ctor_kinds)(pdVar5->u).s_name" (call_expression "(gnu_v3_ctor_kinds)(pdVar5->u)" (parenthesized_expression "(gnu_v3_ctor_kinds)" ( identifier )) (argument_list "(pdVar5->u)" ( (field_expression "pdVar5->u" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (return_statement "return 1;" return number_literal ;)) (case_statement "case 0x177f60:\n        pdVar5 = (pdVar5->u).s_fixed.length;\n        break;" case number_literal : (expression_statement "pdVar5 = (pdVar5->u).s_fixed.length;" (assignment_expression "pdVar5 = (pdVar5->u).s_fixed.length" identifier = (field_expression "(pdVar5->u).s_fixed.length" (field_expression "(pdVar5->u).s_fixed" (parenthesized_expression "(pdVar5->u)" ( (field_expression "pdVar5->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (break_statement "break;" break ;)) (case_statement "case 0x177f6c:\n        goto _L2219;" case number_literal : (goto_statement "goto _L2219;" goto statement_identifier ;)) (case_statement "case 0x177f80:\n        pdVar5 = (pdVar5->u).s_extended_operator.name;" case number_literal : (expression_statement "pdVar5 = (pdVar5->u).s_extended_operator.name;" (assignment_expression "pdVar5 = (pdVar5->u).s_extended_operator.name" identifier = (field_expression "(pdVar5->u).s_extended_operator.name" (field_expression "(pdVar5->u).s_extended_operator" (parenthesized_expression "(pdVar5->u)" ( (field_expression "pdVar5->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;)) })) (if_statement "if (pdVar5 == (demangle_component *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(pdVar5 == (demangle_component *)0x0)" ( (binary_expression "pdVar5 == (demangle_component *)0x0" identifier == (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "dVar1 = pdVar5->type;" (assignment_expression "dVar1 = pdVar5->type" identifier = (field_expression "pdVar5->type" identifier -> field_identifier)) ;) })) })) (labeled_statement "_L2219:\n  return 0;" statement_identifier : (return_statement "return 0;" return number_literal ;)) })))
(translation_unit "undefined4 __regparm3 FUN_00177e70(char *param_1,uint *param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00177e70(char *param_1,uint *param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00177e70(char *param_1,uint *param_2,uint *param_3)" identifier (parameter_list "(char *param_1,uint *param_2,uint *param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uStackY_80;" type_identifier identifier ;) (declaration "undefined1 auStack_6c [12];" type_identifier (array_declarator "auStack_6c [12]" identifier [ number_literal ]) ;) (declaration "uint *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "char *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (declaration "undefined1 *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "undefined1 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x177e7f;" (assignment_expression "uStack_14 = 0x177e7f" identifier = number_literal) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "uStackY_80 = 0x177e9d;" (assignment_expression "uStackY_80 = 0x177e9d" identifier = number_literal) ;) (expression_statement "local_60 = param_3;" (assignment_expression "local_60 = param_3" identifier = identifier) ;) (expression_statement "local_30 = strlen(param_1);" (assignment_expression "local_30 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_50 = param_1 + local_30;" (assignment_expression "local_50 = param_1 + local_30" identifier = (binary_expression "param_1 + local_30" identifier + identifier)) ;) (expression_statement "local_3c = local_30 * 2;" (assignment_expression "local_3c = local_30 * 2" identifier = (binary_expression "local_30 * 2" identifier * number_literal)) ;) (expression_statement "iVar2 = local_30 * -0x20;" (assignment_expression "iVar2 = local_30 * -0x20" identifier = (binary_expression "local_30 * -0x20" identifier * number_literal)) ;) (expression_statement "local_4c = 0x4000;" (assignment_expression "local_4c = 0x4000" identifier = number_literal) ;) (expression_statement "iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);" (assignment_expression "iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0)" identifier = (unary_expression "-(local_30 * 4 + 0xf & 0xfffffff0)" - (parenthesized_expression "(local_30 * 4 + 0xf & 0xfffffff0)" ( (binary_expression "local_30 * 4 + 0xf & 0xfffffff0" (binary_expression "local_30 * 4 + 0xf" (binary_expression "local_30 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "local_38 = auStack_6c + iVar3 + iVar2;" (assignment_expression "local_38 = auStack_6c + iVar3 + iVar2" identifier = (binary_expression "auStack_6c + iVar3 + iVar2" (binary_expression "auStack_6c + iVar3" identifier + identifier) + identifier)) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_54 = param_1;" (assignment_expression "local_54 = param_1" identifier = identifier) ;) (expression_statement "local_48 = param_1;" (assignment_expression "local_48 = param_1" identifier = identifier) ;) (expression_statement "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;" (assignment_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1" (pointer_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" * (cast_expression "(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffff88 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff88 + iVar3 + iVar2" (binary_expression "&stack0xffffff88 + iVar3" (pointer_expression "&stack0xffffff88" & identifier) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;" (assignment_expression "*(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54" (pointer_expression "*(char ***)(&stack0xffffff84 + iVar3 + iVar2)" * (cast_expression "(char ***)(&stack0xffffff84 + iVar3 + iVar2)" ( (type_descriptor "char ***" primitive_type (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(&stack0xffffff84 + iVar3 + iVar2)" ( (binary_expression "&stack0xffffff84 + iVar3 + iVar2" (binary_expression "&stack0xffffff84 + iVar3" (pointer_expression "&stack0xffffff84" & identifier) + identifier) + identifier) )))) = (pointer_expression "&local_54" & identifier)) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_44 = auStack_6c + iVar2;" (assignment_expression "local_44 = auStack_6c + iVar2" identifier = (binary_expression "auStack_6c + iVar2" identifier + identifier)) ;) (expression_statement "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;" (assignment_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f" (pointer_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2)" * (cast_expression "(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&uStackY_80 + iVar3 + iVar2)" ( (binary_expression "(int)&uStackY_80 + iVar3 + iVar2" (binary_expression "(int)&uStackY_80 + iVar3" (cast_expression "(int)&uStackY_80" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStackY_80" & identifier)) + identifier) + identifier) )))) = number_literal) ;) (expression_statement "puVar4 = (uint *)FUN_00177070();" (assignment_expression "puVar4 = (uint *)FUN_00177070()" identifier = (cast_expression "(uint *)FUN_00177070()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00177070()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }" if (parenthesized_expression "(puVar4 != (uint *)0x0)" ( (binary_expression "puVar4 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (while_statement "while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }" while (parenthesized_expression "(uVar1 < 9)" ( (binary_expression "uVar1 < 9" identifier < number_literal) )) (compound_statement "{\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }" { (switch_statement "switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }" switch (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4))" ( (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)" (cast_expression "(int)&__DT_PLTGOT" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__DT_PLTGOT" & identifier)) + (pointer_expression "*(int *)(&DAT_00238aac + *puVar4 * 4)" * (cast_expression "(int *)(&DAT_00238aac + *puVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00238aac + *puVar4 * 4)" ( (binary_expression "&DAT_00238aac + *puVar4 * 4" (pointer_expression "&DAT_00238aac" & identifier) + (binary_expression "*puVar4 * 4" (pointer_expression "*puVar4" * identifier) * number_literal)) ))))) )) (compound_statement "{\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }" { (case_statement "case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;" case number_literal : (expression_statement "*local_60 = puVar4[2];" (assignment_expression "*local_60 = puVar4[2]" (pointer_expression "*local_60" * identifier) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (return_statement "return 1;" return number_literal ;)) (case_statement "case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;" case number_literal : (expression_statement "*param_2 = puVar4[2];" (assignment_expression "*param_2 = puVar4[2]" (pointer_expression "*param_2" * identifier) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (return_statement "return 1;" return number_literal ;)) (case_statement "case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;" case number_literal : (expression_statement "puVar4 = (uint *)puVar4[2];" (assignment_expression "puVar4 = (uint *)puVar4[2]" identifier = (cast_expression "(uint *)puVar4[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[2]" identifier [ number_literal ]))) ;) (break_statement "break;" break ;)) (case_statement "case 0x177f6c:\n        goto LAB_00177f6c;" case number_literal : (goto_statement "goto LAB_00177f6c;" goto statement_identifier ;)) (case_statement "case 0x177f80:\n        puVar4 = (uint *)puVar4[3];" case number_literal : (expression_statement "puVar4 = (uint *)puVar4[3];" (assignment_expression "puVar4 = (uint *)puVar4[3]" identifier = (cast_expression "(uint *)puVar4[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[3]" identifier [ number_literal ]))) ;)) })) (if_statement "if (puVar4 == (uint *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(puVar4 == (uint *)0x0)" ( (binary_expression "puVar4 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) })) })) (labeled_statement "LAB_00177f6c:\n  return 0;" statement_identifier : (return_statement "return 0;" return number_literal ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression & IDENT) + IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression & IDENT) + IDENT) + IDENT) )))) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (switch_statement switch (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression (pointer_expression * IDENT) * LIT)) ))))) )) (compound_statement { (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return LIT ;)) (case_statement case LIT : (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return LIT ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (break_statement break ;)) (case_statement case LIT : (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (labeled_statement statement_identifier : (return_statement return LIT ;)) })))
(function_definition "undefined4 __regparm3 FUN_00177e70(char *param_1,uint *param_2,uint *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00177e70(char *param_1,uint *param_2,uint *param_3)" (identifier "FUN_00177e70") (parameter_list "(char *param_1,uint *param_2,uint *param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  undefined4 uStackY_80;\n  undefined1 auStack_6c [12];\n  uint *local_60;\n  char *local_54;\n  char *local_50;\n  undefined4 local_4c;\n  char *local_48;\n  undefined1 *local_44;\n  undefined4 local_40;\n  int local_3c;\n  undefined1 *local_38;\n  undefined4 local_34;\n  size_t local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x177e7f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x177e9d;\n  local_60 = param_3;\n  local_30 = strlen(param_1);\n  local_50 = param_1 + local_30;\n  local_3c = local_30 * 2;\n  iVar2 = local_30 * -0x20;\n  local_4c = 0x4000;\n  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);\n  local_38 = auStack_6c + iVar3 + iVar2;\n  local_40 = 0;\n  local_54 = param_1;\n  local_48 = param_1;\n  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;\n  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;\n  local_34 = 0;\n  local_2c = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_44 = auStack_6c + iVar2;\n  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;\n  puVar4 = (uint *)FUN_00177070();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_00177f6c:\n  return 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uStackY_80;" (type_identifier "undefined4") (identifier "uStackY_80") (; ";")) (declaration "undefined1 auStack_6c [12];" (type_identifier "undefined1") (array_declarator "auStack_6c [12]" (identifier "auStack_6c") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "uint *local_60;" (type_identifier "uint") (pointer_declarator "*local_60" (* "*") (identifier "local_60")) (; ";")) (declaration "char *local_54;" (primitive_type "char") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (declaration "char *local_50;" (primitive_type "char") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "undefined4 local_4c;" (type_identifier "undefined4") (identifier "local_4c") (; ";")) (declaration "char *local_48;" (primitive_type "char") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "undefined1 *local_44;" (type_identifier "undefined1") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "undefined4 local_40;" (type_identifier "undefined4") (identifier "local_40") (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (declaration "undefined1 *local_38;" (type_identifier "undefined1") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "size_t local_30;" (primitive_type "size_t") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x177e7f;" (assignment_expression "uStack_14 = 0x177e7f" (identifier "uStack_14") (= "=") (number_literal "0x177e7f")) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uStackY_80 = 0x177e9d;" (assignment_expression "uStackY_80 = 0x177e9d" (identifier "uStackY_80") (= "=") (number_literal "0x177e9d")) (; ";")) (expression_statement "local_60 = param_3;" (assignment_expression "local_60 = param_3" (identifier "local_60") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_30 = strlen(param_1);" (assignment_expression "local_30 = strlen(param_1)" (identifier "local_30") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "local_50 = param_1 + local_30;" (assignment_expression "local_50 = param_1 + local_30" (identifier "local_50") (= "=") (binary_expression "param_1 + local_30" (identifier "param_1") (+ "+") (identifier "local_30"))) (; ";")) (expression_statement "local_3c = local_30 * 2;" (assignment_expression "local_3c = local_30 * 2" (identifier "local_3c") (= "=") (binary_expression "local_30 * 2" (identifier "local_30") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar2 = local_30 * -0x20;" (assignment_expression "iVar2 = local_30 * -0x20" (identifier "iVar2") (= "=") (binary_expression "local_30 * -0x20" (identifier "local_30") (* "*") (number_literal "-0x20"))) (; ";")) (expression_statement "local_4c = 0x4000;" (assignment_expression "local_4c = 0x4000" (identifier "local_4c") (= "=") (number_literal "0x4000")) (; ";")) (expression_statement "iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);" (assignment_expression "iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0)" (identifier "iVar3") (= "=") (unary_expression "-(local_30 * 4 + 0xf & 0xfffffff0)" (- "-") (parenthesized_expression "(local_30 * 4 + 0xf & 0xfffffff0)" (( "(") (binary_expression "local_30 * 4 + 0xf & 0xfffffff0" (binary_expression "local_30 * 4 + 0xf" (binary_expression "local_30 * 4" (identifier "local_30") (* "*") (number_literal "4")) (+ "+") (number_literal "0xf")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "local_38 = auStack_6c + iVar3 + iVar2;" (assignment_expression "local_38 = auStack_6c + iVar3 + iVar2" (identifier "local_38") (= "=") (binary_expression "auStack_6c + iVar3 + iVar2" (binary_expression "auStack_6c + iVar3" (identifier "auStack_6c") (+ "+") (identifier "iVar3")) (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_54 = param_1;" (assignment_expression "local_54 = param_1" (identifier "local_54") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_48 = param_1;" (assignment_expression "local_48 = param_1" (identifier "local_48") (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;" (assignment_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1" (pointer_expression "*(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" (* "*") (cast_expression "(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&stack0xffffff88 + iVar3 + iVar2)" (( "(") (binary_expression "&stack0xffffff88 + iVar3 + iVar2" (binary_expression "&stack0xffffff88 + iVar3" (pointer_expression "&stack0xffffff88" (& "&") (identifier "stack0xffffff88")) (+ "+") (identifier "iVar3")) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;" (assignment_expression "*(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54" (pointer_expression "*(char ***)(&stack0xffffff84 + iVar3 + iVar2)" (* "*") (cast_expression "(char ***)(&stack0xffffff84 + iVar3 + iVar2)" (( "(") (type_descriptor "char ***" (primitive_type "char") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (parenthesized_expression "(&stack0xffffff84 + iVar3 + iVar2)" (( "(") (binary_expression "&stack0xffffff84 + iVar3 + iVar2" (binary_expression "&stack0xffffff84 + iVar3" (pointer_expression "&stack0xffffff84" (& "&") (identifier "stack0xffffff84")) (+ "+") (identifier "iVar3")) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (pointer_expression "&local_54" (& "&") (identifier "local_54"))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44 = auStack_6c + iVar2;" (assignment_expression "local_44 = auStack_6c + iVar2" (identifier "local_44") (= "=") (binary_expression "auStack_6c + iVar2" (identifier "auStack_6c") (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;" (assignment_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f" (pointer_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2)" (* "*") (cast_expression "(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&uStackY_80 + iVar3 + iVar2)" (( "(") (binary_expression "(int)&uStackY_80 + iVar3 + iVar2" (binary_expression "(int)&uStackY_80 + iVar3" (cast_expression "(int)&uStackY_80" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&uStackY_80" (& "&") (identifier "uStackY_80"))) (+ "+") (identifier "iVar3")) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "0x177f0f")) (; ";")) (expression_statement "puVar4 = (uint *)FUN_00177070();" (assignment_expression "puVar4 = (uint *)FUN_00177070()" (identifier "puVar4") (= "=") (cast_expression "(uint *)FUN_00177070()" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00177070()" (identifier "FUN_00177070") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }" (if "if") (parenthesized_expression "(puVar4 != (uint *)0x0)" (( "(") (binary_expression "puVar4 != (uint *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }" ({ "{") (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" (identifier "uVar1") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (while_statement "while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }" (while "while") (parenthesized_expression "(uVar1 < 9)" (( "(") (binary_expression "uVar1 < 9" (identifier "uVar1") (< "<") (number_literal "9")) () ")")) (compound_statement "{\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }" ({ "{") (switch_statement "switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }" (switch "switch") (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4))" (( "(") (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)" (cast_expression "(int)&__DT_PLTGOT" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (+ "+") (pointer_expression "*(int *)(&DAT_00238aac + *puVar4 * 4)" (* "*") (cast_expression "(int *)(&DAT_00238aac + *puVar4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00238aac + *puVar4 * 4)" (( "(") (binary_expression "&DAT_00238aac + *puVar4 * 4" (pointer_expression "&DAT_00238aac" (& "&") (identifier "DAT_00238aac")) (+ "+") (binary_expression "*puVar4 * 4" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (* "*") (number_literal "4"))) () ")"))))) () ")")) (compound_statement "{\n      case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x177f6c:\n        goto LAB_00177f6c;\n      case 0x177f80:\n        puVar4 = (uint *)puVar4[3];\n      }" ({ "{") (case_statement "case 0x177f30:\n        *local_60 = puVar4[2];\n        return 1;" (case "case") (number_literal "0x177f30") (: ":") (expression_statement "*local_60 = puVar4[2];" (assignment_expression "*local_60 = puVar4[2]" (pointer_expression "*local_60" (* "*") (identifier "local_60")) (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";"))) (case_statement "case 0x177f48:\n        *param_2 = puVar4[2];\n        return 1;" (case "case") (number_literal "0x177f48") (: ":") (expression_statement "*param_2 = puVar4[2];" (assignment_expression "*param_2 = puVar4[2]" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";"))) (case_statement "case 0x177f60:\n        puVar4 = (uint *)puVar4[2];\n        break;" (case "case") (number_literal "0x177f60") (: ":") (expression_statement "puVar4 = (uint *)puVar4[2];" (assignment_expression "puVar4 = (uint *)puVar4[2]" (identifier "puVar4") (= "=") (cast_expression "(uint *)puVar4[2]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x177f6c:\n        goto LAB_00177f6c;" (case "case") (number_literal "0x177f6c") (: ":") (goto_statement "goto LAB_00177f6c;" (goto "goto") (statement_identifier "LAB_00177f6c") (; ";"))) (case_statement "case 0x177f80:\n        puVar4 = (uint *)puVar4[3];" (case "case") (number_literal "0x177f80") (: ":") (expression_statement "puVar4 = (uint *)puVar4[3];" (assignment_expression "puVar4 = (uint *)puVar4[3]" (identifier "puVar4") (= "=") (cast_expression "(uint *)puVar4[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")))) (; ";"))) (} "}"))) (if_statement "if (puVar4 == (uint *)0x0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(puVar4 == (uint *)0x0)" (( "(") (binary_expression "puVar4 == (uint *)0x0" (identifier "puVar4") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" (identifier "uVar1") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00177f6c:\n  return 0;" (statement_identifier "LAB_00177f6c") (: ":") (return_statement "return 0;" (return "return") (number_literal "0") (; ";"))) (} "}")))

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

int __regparm3
function_1(char *var_2,type_1 *ctor_kind,type_2 *dtor_kind)

{
  type_3 var_8;
  int var_5;
  int var_4;
  size_t var_3;
  type_4 *var_7;
  int iStackY_80;
  type_4 dStack_6c;
  type_5 di;
  
  *ctor_kind = 0;
  *dtor_kind = 0;
  iStackY_80 = 0x177e9d;
  dStack_6c.u.s_extended_operator.name = (type_4 *)dtor_kind;
  var_3 = var_1(var_2);
  di.s = var_2;
  di.num_subs = var_3;
  di.send = var_2 + var_3;
  di.num_comps = var_3 * 2;
  di.n = var_2;
  var_5 = var_3 * -0x20;
  di.options = 0x4000;
  var_4 = -(var_3 * 4 + 0xf & 0xfffffff0);
  di.next_comp = 0;
  di.subs = (type_4 **)((int)&dStack_6c + var_4 + var_5);
  *(type_6 *)(&stack0xffffff88 + var_4 + var_5) = 1;
  *(type_5 **)(&stack0xffffff84 + var_4 + var_5) = &di;
  di.next_sub = 0;
  di.last_name = (type_4 *)0x0;
  di.expansion = 0;
  di.is_expression = 0;
  di.is_conversion = 0;
  di.comps = &dStack_6c + var_3 * -2;
  *(type_6 *)((int)&iStackY_80 + var_4 + var_5) = 0x177f0f;
  var_7 = var_6
                     (*(type_5 **)(&stack0xffffff84 + var_4 + var_5),
                      *(int *)(&stack0xffffff88 + var_4 + var_5));
  if (var_7 != (type_4 *)0x0) {
    var_8 = var_7->type;
    while (var_8 < var_9) {
      switch((int)&_GLOBAL_OFFSET_TABLE_ + (&switchD_00177f29::switchdataD_00238aac)[var_7->type])
      {
      case 0x177f30:
        (dStack_6c.u.s_extended_operator.name)->type = (type_3)(var_7->u).s_name.s
        ;
        return 1;
      case 0x177f48:
        *ctor_kind = (type_1)(var_7->u).s_name.s;
        return 1;
      case 0x177f60:
        var_7 = (var_7->u).s_fixed.length;
        break;
      case 0x177f6c:
        goto _L2219;
      case 0x177f80:
        var_7 = (var_7->u).s_extended_operator.name;
      }
      if (var_7 == (type_4 *)0x0) {
        return 0;
      }
      var_8 = var_7->type;
    }
  }
_L2219:
  return 0;
}


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

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

undefined4 __regparm3 MASKED(char *param_1,uint *param_2,uint *param_3)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  uint *puVar4;
  undefined4 uStackY_80;
  undefined1 auStack_6c [12];
  uint *local_60;
  char *local_54;
  char *local_50;
  undefined4 local_4c;
  char *local_48;
  undefined1 *local_44;
  undefined4 local_40;
  int local_3c;
  undefined1 *local_38;
  undefined4 local_34;
  size_t local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x177e7f;
  *param_2 = 0;
  *param_3 = 0;
  uStackY_80 = 0x177e9d;
  local_60 = param_3;
  local_30 = strlen(param_1);
  local_50 = param_1 + local_30;
  local_3c = local_30 * 2;
  iVar2 = local_30 * -0x20;
  local_4c = 0x4000;
  iVar3 = -(local_30 * 4 + 0xf & 0xfffffff0);
  local_38 = auStack_6c + iVar3 + iVar2;
  local_40 = 0;
  local_54 = param_1;
  local_48 = param_1;
  *(undefined4 *)(&stack0xffffff88 + iVar3 + iVar2) = 1;
  *(char ***)(&stack0xffffff84 + iVar3 + iVar2) = &local_54;
  local_34 = 0;
  local_2c = 0;
  local_28 = 0;
  local_24 = 0;
  local_20 = 0;
  local_44 = auStack_6c + iVar2;
  *(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x177f0f;
  puVar4 = (uint *)FUN_00177070();
  if (puVar4 != (uint *)0x0) {
    uVar1 = *puVar4;
    while (uVar1 < 9) {
      switch((int)&__DT_PLTGOT + *(int *)(&DAT_00238aac + *puVar4 * 4)) {
      case 0x177f30:
        *local_60 = puVar4[2];
        return 1;
      case 0x177f48:
        *param_2 = puVar4[2];
        return 1;
      case 0x177f60:
        puVar4 = (uint *)puVar4[2];
        break;
      case 0x177f6c:
        goto LAB_00177f6c;
      case 0x177f80:
        puVar4 = (uint *)puVar4[3];
      }
      if (puVar4 == (uint *)0x0) {
        return 0;
      }
      uVar1 = *puVar4;
    }
  }
LAB_00177f6c:
  return 0;
}

