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

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

{
  d_info di;
  
}



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

undefined4 __regparm3 FUN_003a5750(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 = 0x3a575f;
  *param_2 = 0;
  *param_3 = 0;
  uStackY_80 = 0x3a577d;
  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) = 0x3a57ef;
  puVar4 = (uint *)FUN_003a4950();
  if (puVar4 != (uint *)0x0) {
    uVar1 = *puVar4;
    while (uVar1 < 9) {
      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {
      case 0x3a5810:
        *local_60 = puVar4[2];
        return 1;
      case 0x3a5828:
        *param_2 = puVar4[2];
        return 1;
      case 0x3a5840:
        puVar4 = (uint *)puVar4[2];
        break;
      case 0x3a584c:
        goto LAB_003a584c;
      case 0x3a5860:
        puVar4 = (uint *)puVar4[3];
      }
      if (puVar4 == (uint *)0x0) {
        return 0;
      }
      uVar1 = *puVar4;
    }
  }
LAB_003a584c:
  return 0;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00050b50
ADD EBX,0x2448a1
SUB ESP,0x68
MOV dword ptr [EDX],0x0
MOV dword ptr [ECX],0x0
PUSH EAX
MOV dword ptr [EBP + -0x5c],ECX
CALL 0x00039330
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 0x003a4950
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x5c]
TEST EAX,EAX
JZ 0x003a584c
CMP dword ptr [EAX],0x8
JA 0x003a584c
MOV EDX,dword ptr [EAX]
MOV ESI,dword ptr [EBX + EDX*0x4 + 0xffeb6a04]
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_003a5750(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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_003a5750(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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_003a5750(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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\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 = 0x3a575f;" (assignment_expression "uStack_14 = 0x3a575f" 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 = 0x3a577d;" (assignment_expression "uStackY_80 = 0x3a577d" 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) = 0x3a57ef;" (assignment_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x3a57ef" (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_003a4950();" (assignment_expression "puVar4 = (uint *)FUN_003a4950()" identifier = (cast_expression "(uint *)FUN_003a4950()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003a4950()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }" switch (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4))" ( (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)" (cast_expression "(int)&__DT_PLTGOT" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__DT_PLTGOT" & identifier)) + (pointer_expression "*(int *)(&DAT_004a0a04 + *puVar4 * 4)" * (cast_expression "(int *)(&DAT_004a0a04 + *puVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_004a0a04 + *puVar4 * 4)" ( (binary_expression "&DAT_004a0a04 + *puVar4 * 4" (pointer_expression "&DAT_004a0a04" & identifier) + (binary_expression "*puVar4 * 4" (pointer_expression "*puVar4" * identifier) * number_literal)) ))))) )) (compound_statement "{\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }" { (case_statement "case 0x3a5810:\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 0x3a5828:\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 0x3a5840:\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 0x3a584c:\n        goto LAB_003a584c;" case number_literal : (goto_statement "goto LAB_003a584c;" goto statement_identifier ;)) (case_statement "case 0x3a5860:\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_003a584c:\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 is_ctor_or_dtor(char *mangled,gnu_v3_ctor_kinds *ctor_kind,gnu_v3_dtor_kinds *dtor_kind)\n\n{\n  d_info di;\n  \n}\n\n" comment (function_definition "int is_ctor_or_dtor(char *mangled,gnu_v3_ctor_kinds *ctor_kind,gnu_v3_dtor_kinds *dtor_kind)\n\n{\n  d_info di;\n  \n}" primitive_type (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  d_info di;\n  \n}" { (declaration "d_info di;" type_identifier identifier ;) })))
(translation_unit "undefined4 __regparm3 FUN_003a5750(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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_003a5750(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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_003a5750(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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\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 = 0x3a575f;" (assignment_expression "uStack_14 = 0x3a575f" 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 = 0x3a577d;" (assignment_expression "uStackY_80 = 0x3a577d" 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) = 0x3a57ef;" (assignment_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x3a57ef" (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_003a4950();" (assignment_expression "puVar4 = (uint *)FUN_003a4950()" identifier = (cast_expression "(uint *)FUN_003a4950()" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003a4950()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }" switch (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4))" ( (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)" (cast_expression "(int)&__DT_PLTGOT" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__DT_PLTGOT" & identifier)) + (pointer_expression "*(int *)(&DAT_004a0a04 + *puVar4 * 4)" * (cast_expression "(int *)(&DAT_004a0a04 + *puVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_004a0a04 + *puVar4 * 4)" ( (binary_expression "&DAT_004a0a04 + *puVar4 * 4" (pointer_expression "&DAT_004a0a04" & identifier) + (binary_expression "*puVar4 * 4" (pointer_expression "*puVar4" * identifier) * number_literal)) ))))) )) (compound_statement "{\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }" { (case_statement "case 0x3a5810:\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 0x3a5828:\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 0x3a5840:\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 0x3a584c:\n        goto LAB_003a584c;" case number_literal : (goto_statement "goto LAB_003a584c;" goto statement_identifier ;)) (case_statement "case 0x3a5860:\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_003a584c:\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_003a5750(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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_003a5750(char *param_1,uint *param_2,uint *param_3)" (identifier "FUN_003a5750") (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 = 0x3a575f;\n  *param_2 = 0;\n  *param_3 = 0;\n  uStackY_80 = 0x3a577d;\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) = 0x3a57ef;\n  puVar4 = (uint *)FUN_003a4950();\n  if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }\n      if (puVar4 == (uint *)0x0) {\n        return 0;\n      }\n      uVar1 = *puVar4;\n    }\n  }\nLAB_003a584c:\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 = 0x3a575f;" (assignment_expression "uStack_14 = 0x3a575f" (identifier "uStack_14") (= "=") (number_literal "0x3a575f")) (; ";")) (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 = 0x3a577d;" (assignment_expression "uStackY_80 = 0x3a577d" (identifier "uStackY_80") (= "=") (number_literal "0x3a577d")) (; ";")) (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) = 0x3a57ef;" (assignment_expression "*(undefined4 *)((int)&uStackY_80 + iVar3 + iVar2) = 0x3a57ef" (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 "0x3a57ef")) (; ";")) (expression_statement "puVar4 = (uint *)FUN_003a4950();" (assignment_expression "puVar4 = (uint *)FUN_003a4950()" (identifier "puVar4") (= "=") (cast_expression "(uint *)FUN_003a4950()" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003a4950()" (identifier "FUN_003a4950") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (puVar4 != (uint *)0x0) {\n    uVar1 = *puVar4;\n    while (uVar1 < 9) {\n      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\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_004a0a04 + *puVar4 * 4)) {\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }" (switch "switch") (parenthesized_expression "((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4))" (( "(") (binary_expression "(int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)" (cast_expression "(int)&__DT_PLTGOT" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (+ "+") (pointer_expression "*(int *)(&DAT_004a0a04 + *puVar4 * 4)" (* "*") (cast_expression "(int *)(&DAT_004a0a04 + *puVar4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_004a0a04 + *puVar4 * 4)" (( "(") (binary_expression "&DAT_004a0a04 + *puVar4 * 4" (pointer_expression "&DAT_004a0a04" (& "&") (identifier "DAT_004a0a04")) (+ "+") (binary_expression "*puVar4 * 4" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (* "*") (number_literal "4"))) () ")"))))) () ")")) (compound_statement "{\n      case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;\n      case 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;\n      case 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;\n      case 0x3a584c:\n        goto LAB_003a584c;\n      case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];\n      }" ({ "{") (case_statement "case 0x3a5810:\n        *local_60 = puVar4[2];\n        return 1;" (case "case") (number_literal "0x3a5810") (: ":") (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 0x3a5828:\n        *param_2 = puVar4[2];\n        return 1;" (case "case") (number_literal "0x3a5828") (: ":") (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 0x3a5840:\n        puVar4 = (uint *)puVar4[2];\n        break;" (case "case") (number_literal "0x3a5840") (: ":") (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 0x3a584c:\n        goto LAB_003a584c;" (case "case") (number_literal "0x3a584c") (: ":") (goto_statement "goto LAB_003a584c;" (goto "goto") (statement_identifier "LAB_003a584c") (; ";"))) (case_statement "case 0x3a5860:\n        puVar4 = (uint *)puVar4[3];" (case "case") (number_literal "0x3a5860") (: ":") (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_003a584c:\n  return 0;" (statement_identifier "LAB_003a584c") (: ":") (return_statement "return 0;" (return "return") (number_literal "0") (; ";"))) (} "}")))

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

int function_1(char *mangled,type_1 *ctor_kind,type_2 *dtor_kind)

{
  type_3 di;
  
}


(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 = 0x3a575f;
  *param_2 = 0;
  *param_3 = 0;
  uStackY_80 = 0x3a577d;
  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) = 0x3a57ef;
  puVar4 = (uint *)FUN_003a4950();
  if (puVar4 != (uint *)0x0) {
    uVar1 = *puVar4;
    while (uVar1 < 9) {
      switch((int)&__DT_PLTGOT + *(int *)(&DAT_004a0a04 + *puVar4 * 4)) {
      case 0x3a5810:
        *local_60 = puVar4[2];
        return 1;
      case 0x3a5828:
        *param_2 = puVar4[2];
        return 1;
      case 0x3a5840:
        puVar4 = (uint *)puVar4[2];
        break;
      case 0x3a584c:
        goto LAB_003a584c;
      case 0x3a5860:
        puVar4 = (uint *)puVar4[3];
      }
      if (puVar4 == (uint *)0x0) {
        return 0;
      }
      uVar1 = *puVar4;
    }
  }
LAB_003a584c:
  return 0;
}

