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

char * GetLocaleExceptionMessage(ExceptionType severity,char *tag)

{
  undefined4 *puVar1;
  char *pcVar2;
  undefined4 uVar3;
  ExceptionInfo *exception;
  undefined *puVar4;
  code *pcVar5;
  char message [4096];
  
  puVar4 = PTR___stack_chk_guard_003a9230;
  puVar1 = *(undefined4 **)PTR___stack_chk_guard_003a9230;
  if (tag == (char *)0x0) {
    puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);
    (*(code *)PTR___assert_fail_003a9608)
              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,
               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);
  }
  else {
    if (severity - ResourceLimitWarning < 500) {
                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */
                    /* WARNING: Treating indirect jump as call */
      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()
      ;
      return pcVar2;
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)
              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,
               PTR_s_t_to_left_003a88e4 + -0x3688,tag);
    pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);
    if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {
      pcVar2 = tag;
    }
    if (puVar1 == *(undefined4 **)puVar4) {
      return pcVar2;
    }
  }
  puVar4 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  if (puVar1 != (undefined4 *)0x0) {
    (**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c);
    pcVar5 = *(code **)(puVar4 + 0x2d8e44);
    *puVar1 = 0;
    uVar3 = (*pcVar5)(0);
    pcVar5 = *(code **)(puVar4 + 0x2d96a8);
    puVar1[4] = uVar3;
    uVar3 = (*pcVar5)();
    puVar1[6] = uVar3;
    puVar1[7] = 0xabacadab;
    return (char *)0xabacadab;
  }
  pcVar5 = *(code **)(puVar4 + 0x2d9684);
  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,
            *(int *)(puVar4 + 0x2d8964) + 0x643c);
  exception = (ExceptionInfo *)(**(code **)(pcVar5 + 0x2d9330))(0x20);
  InitializeExceptionInfo(exception);
  exception->relinquish = MagickTrue;
  return (char *)exception;
}



undefined1 * GetLocaleExceptionMessage(int param_1,undefined1 *param_2)

{
  undefined1 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined1 auStack_1014 [4096];
  undefined4 *local_14;
  
  puVar4 = PTR___stack_chk_guard_003a9230;
  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;
  if (param_2 == (undefined1 *)0x0) {
    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);
    (*(code *)PTR___assert_fail_003a9608)
              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,
               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);
  }
  else {
    if (param_1 - 300U < 500) {
                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */
                    /* WARNING: Treating indirect jump as call */
      puVar1 = (undefined1 *)
               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                           (param_1 - 300U) * 4 + 0x5c30)))();
      return puVar1;
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)
              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,
               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);
    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);
    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {
      puVar1 = param_2;
    }
    puVar3 = local_14;
    if (local_14 == *(undefined4 **)puVar4) {
      return puVar1;
    }
  }
  puVar4 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  if (puVar3 != (undefined4 *)0x0) {
    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);
    pcVar5 = *(code **)(puVar4 + 0x2d8e44);
    *puVar3 = 0;
    uVar2 = (*pcVar5)(0);
    pcVar5 = *(code **)(puVar4 + 0x2d96a8);
    puVar3[4] = uVar2;
    uVar2 = (*pcVar5)();
    puVar3[6] = uVar2;
    puVar3[7] = 0xabacadab;
    return (undefined1 *)0xabacadab;
  }
  pcVar5 = *(code **)(puVar4 + 0x2d9684);
  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,
            *(int *)(puVar4 + 0x2d8964) + 0x643c);
  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);
  FUN_000cff84(puVar1);
  *(undefined4 *)(puVar1 + 0x14) = 1;
  return puVar1;
}


lui gp,0x2e
addiu gp,gp,0xd28
addu gp,gp,t9
addiu sp,sp,-0x1038
sw s1,0x102c(sp)
lw s1,-0x7680(gp)
sw gp,0x18(sp)
sw ra,0x1034(sp)
sw s2,0x1030(sp)
sw s0,0x1028(sp)
lw v0,0x0(s1)
sw v0,0x1024(sp)
beq a1,zero,0x000cff58
_lw a3,-0x7fc8(gp)
addiu a0,a0,-0x12c
sltiu v0,a0,0x1f4
beq v0,zero,0x000cff44
_or s0,a1,zero
lw v0,-0x7fc8(gp)
sll a0,a0,0x2
addiu v0,v0,0x5c30
addu a0,v0,a0
lw v0,0x0(a0)
addu v0,v0,gp
jr v0
_nop
lw a3,-0x7fc8(gp)
addiu a3,a3,0x56ec
lw a2,-0x7fc8(gp)
addiu s2,sp,0x24
lw t9,-0x7b34(gp)
li a1,0x1000
or a0,s2,zero
sw s0,0x10(sp)
jalr t9
_addiu a2,a2,0x5b4c
lw gp,0x18(sp)
lw t9,-0x7304(gp)
jalr t9
_or a0,s2,zero
beq v0,zero,0x000cff50
_lw gp,0x18(sp)
beq v0,s2,0x000cff50
_nop
lw a0,0x1024(sp)
lw v1,0x0(s1)
bne a0,v1,0x000cff78
_lw ra,0x1034(sp)
lw s2,0x1030(sp)
lw s1,0x102c(sp)
lw s0,0x1028(sp)
jr ra
_addiu sp,sp,0x1038
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5b1c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5b04
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5900
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x58f0
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x58e0
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x58d0
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x58c4
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x58b0
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5898
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5880
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5888
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5870
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5864
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x584c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x583c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5828
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5814
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5800
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x57ec
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x57dc
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5748
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x57cc
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x57bc
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x57ac
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x579c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x578c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x577c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x576c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5758
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5740
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5724
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x572c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5714
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5704
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a0c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x59f0
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x59d0
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x59d8
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x59bc
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x59a8
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x598c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x597c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5968
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5958
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5948
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5938
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x592c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x58a0
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5920
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5910
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x59f8
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a9c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a88
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a74
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a60
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a4c
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a38
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5a24
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5aec
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5ad8
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5ac4
lw a3,-0x7fc8(gp)
b 0x000cfbf8
_addiu a3,a3,0x5ab0
lw a3,-0x7fcc(gp)
b 0x000cfbf8
_addiu a3,a3,-0x3688
b 0x000cfc38
_or v0,s0,zero
li a2,0x28c
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x6468
addiu a1,a1,0x56d4
jalr t9
_addiu a0,a0,0x5b30
lw t9,-0x784c(gp)
jalr t9
_nop
(translation_unit "undefined1 * GetLocaleExceptionMessage(int param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}\n\n" (function_definition "undefined1 * GetLocaleExceptionMessage(int param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}" type_identifier (pointer_declarator "* GetLocaleExceptionMessage(int param_1,undefined1 *param_2)" * (function_declarator "GetLocaleExceptionMessage(int param_1,undefined1 *param_2)" identifier (parameter_list "(int param_1,undefined1 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 auStack_1014 [4096];" type_identifier (array_declarator "auStack_1014 [4096]" identifier [ number_literal ]) ;) (declaration "undefined4 *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" if (parenthesized_expression "(param_2 == (undefined1 *)0x0)" ( (binary_expression "param_2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }" { (expression_statement "puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);" (assignment_expression "puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" identifier = (cast_expression "(undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468" identifier + number_literal) ))) ;) }) (else_clause "else {\n    if (param_1 - 300U < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" else (compound_statement "{\n    if (param_1 - 300U < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" { (if_statement "if (param_1 - 300U < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }" if (parenthesized_expression "(param_1 - 300U < 500)" ( (binary_expression "param_1 - 300U < 500" (binary_expression "param_1 - 300U" identifier - number_literal) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }" { comment comment (expression_statement "puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();" (assignment_expression "puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" identifier = (cast_expression "(undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" ( (binary_expression "&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" * (cast_expression "(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30" (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4" identifier + (binary_expression "(param_1 - 300U) * 4" (parenthesized_expression "(param_1 - 300U)" ( (binary_expression "param_1 - 300U" identifier - number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2)" ( identifier , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);" (assignment_expression "puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" (parenthesized_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)" ( (pointer_expression "*(code *)PTR_GetLocaleMessage_003a95ac" * (cast_expression "(code *)PTR_GetLocaleMessage_003a95ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014)" ( identifier ))))) ;) (if_statement "if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }" if (parenthesized_expression "((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014))" ( (binary_expression "(puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)" (parenthesized_expression "(puVar1 == (undefined1 *)0x0)" ( (binary_expression "puVar1 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar1 == auStack_1014)" ( (binary_expression "puVar1 == auStack_1014" identifier == identifier) ))) )) (compound_statement "{\n      puVar1 = param_2;\n    }" { (expression_statement "puVar1 = param_2;" (assignment_expression "puVar1 = param_2" identifier = identifier) ;) })) (expression_statement "puVar3 = local_14;" (assignment_expression "puVar3 = local_14" identifier = identifier) ;) (if_statement "if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }" if (parenthesized_expression "(local_14 == *(undefined4 **)puVar4)" ( (binary_expression "local_14 == *(undefined4 **)puVar4" identifier == (pointer_expression "*(undefined4 **)puVar4" * (cast_expression "(undefined4 **)puVar4" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n      return puVar1;\n    }" { (return_statement "return puVar1;" return identifier ;) })) }))) (expression_statement "puVar4 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar4 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }" { (expression_statement "(**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);" (call_expression "(**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c)" (parenthesized_expression "(**(code **)(puVar4 + 0x2d9750))" ( (pointer_expression "**(code **)(puVar4 + 0x2d9750)" * (pointer_expression "*(code **)(puVar4 + 0x2d9750)" * (cast_expression "(code **)(puVar4 + 0x2d9750)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d9750)" ( (binary_expression "puVar4 + 0x2d9750" identifier + number_literal) ))))) )) (argument_list "(puVar3 + 1,0,0x1c)" ( (binary_expression "puVar3 + 1" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d8e44);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d8e44)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d8e44)" * (cast_expression "(code **)(puVar4 + 0x2d8e44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d8e44)" ( (binary_expression "puVar4 + 0x2d8e44" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = (*pcVar5)(0);" (assignment_expression "uVar2 = (*pcVar5)(0)" identifier = (call_expression "(*pcVar5)(0)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d96a8);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d96a8)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d96a8)" * (cast_expression "(code **)(puVar4 + 0x2d96a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d96a8)" ( (binary_expression "puVar4 + 0x2d96a8" identifier + number_literal) ))))) ;) (expression_statement "puVar3[4] = uVar2;" (assignment_expression "puVar3[4] = uVar2" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*pcVar5)();" (assignment_expression "uVar2 = (*pcVar5)()" identifier = (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "puVar3[6] = uVar2;" (assignment_expression "puVar3[6] = uVar2" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[7] = 0xabacadab;" (assignment_expression "puVar3[7] = 0xabacadab" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return (undefined1 *)0xabacadab;" return (cast_expression "(undefined1 *)0xabacadab" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d9684);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d9684)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d9684)" * (cast_expression "(code **)(puVar4 + 0x2d9684)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d9684)" ( (binary_expression "puVar4 + 0x2d9684" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);" (call_expression "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" ( (binary_expression "*(int *)(puVar4 + 0x2d895c) + 0x1cac" (pointer_expression "*(int *)(puVar4 + 0x2d895c)" * (cast_expression "(int *)(puVar4 + 0x2d895c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d895c)" ( (binary_expression "puVar4 + 0x2d895c" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x56d4" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" * (cast_expression "(int *)(puVar4 + 0x2d8964)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d8964)" ( (binary_expression "puVar4 + 0x2d8964" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x643c" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" * (cast_expression "(int *)(puVar4 + 0x2d8964)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d8964)" ( (binary_expression "puVar4 + 0x2d8964" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);" (assignment_expression "puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" identifier = (cast_expression "(undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x2d9330))(0x20)" (parenthesized_expression "(**(code **)(pcVar5 + 0x2d9330))" ( (pointer_expression "**(code **)(pcVar5 + 0x2d9330)" * (pointer_expression "*(code **)(pcVar5 + 0x2d9330)" * (cast_expression "(code **)(pcVar5 + 0x2d9330)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x2d9330)" ( (binary_expression "pcVar5 + 0x2d9330" identifier + number_literal) ))))) )) (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "FUN_000cff84(puVar1);" (call_expression "FUN_000cff84(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 0x14)" * (cast_expression "(undefined4 *)(puVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x14)" ( (binary_expression "puVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nchar * GetLocaleExceptionMessage(ExceptionType severity,char *tag)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  ExceptionInfo *exception;\n  undefined *puVar4;\n  code *pcVar5;\n  char message [4096];\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (tag == (char *)0x0) {\n    puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (severity - ResourceLimitWarning < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag);\n    pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);\n    if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {\n      pcVar2 = tag;\n    }\n    if (puVar1 == *(undefined4 **)puVar4) {\n      return pcVar2;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar1 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar1 = 0;\n    uVar3 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar1[4] = uVar3;\n    uVar3 = (*pcVar5)();\n    puVar1[6] = uVar3;\n    puVar1[7] = 0xabacadab;\n    return (char *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  exception = (ExceptionInfo *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  InitializeExceptionInfo(exception);\n  exception->relinquish = MagickTrue;\n  return (char *)exception;\n}\n\n" comment (function_definition "char * GetLocaleExceptionMessage(ExceptionType severity,char *tag)\n\n{\n  undefined4 *puVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  ExceptionInfo *exception;\n  undefined *puVar4;\n  code *pcVar5;\n  char message [4096];\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (tag == (char *)0x0) {\n    puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (severity - ResourceLimitWarning < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag);\n    pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);\n    if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {\n      pcVar2 = tag;\n    }\n    if (puVar1 == *(undefined4 **)puVar4) {\n      return pcVar2;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar1 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar1 = 0;\n    uVar3 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar1[4] = uVar3;\n    uVar3 = (*pcVar5)();\n    puVar1[6] = uVar3;\n    puVar1[7] = 0xabacadab;\n    return (char *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  exception = (ExceptionInfo *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  InitializeExceptionInfo(exception);\n  exception->relinquish = MagickTrue;\n  return (char *)exception;\n}" primitive_type (pointer_declarator "* GetLocaleExceptionMessage(ExceptionType severity,char *tag)" * (function_declarator "GetLocaleExceptionMessage(ExceptionType severity,char *tag)" identifier (parameter_list "(ExceptionType severity,char *tag)" ( (parameter_declaration "ExceptionType severity" type_identifier identifier) , (parameter_declaration "char *tag" primitive_type (pointer_declarator "*tag" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  char *pcVar2;\n  undefined4 uVar3;\n  ExceptionInfo *exception;\n  undefined *puVar4;\n  code *pcVar5;\n  char message [4096];\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  puVar1 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (tag == (char *)0x0) {\n    puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (severity - ResourceLimitWarning < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag);\n    pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);\n    if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {\n      pcVar2 = tag;\n    }\n    if (puVar1 == *(undefined4 **)puVar4) {\n      return pcVar2;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar1 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar1 = 0;\n    uVar3 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar1[4] = uVar3;\n    uVar3 = (*pcVar5)();\n    puVar1[6] = uVar3;\n    puVar1[7] = 0xabacadab;\n    return (char *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  exception = (ExceptionInfo *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  InitializeExceptionInfo(exception);\n  exception->relinquish = MagickTrue;\n  return (char *)exception;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char message [4096];" primitive_type (array_declarator "message [4096]" identifier [ number_literal ]) ;) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "puVar1 = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar1 = *(undefined4 **)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (tag == (char *)0x0) {\n    puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (severity - ResourceLimitWarning < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag);\n    pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);\n    if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {\n      pcVar2 = tag;\n    }\n    if (puVar1 == *(undefined4 **)puVar4) {\n      return pcVar2;\n    }\n  }" if (parenthesized_expression "(tag == (char *)0x0)" ( (binary_expression "tag == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }" { (expression_statement "puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);" (assignment_expression "puVar1 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" identifier = (cast_expression "(undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468" identifier + number_literal) ))) ;) }) (else_clause "else {\n    if (severity - ResourceLimitWarning < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag);\n    pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);\n    if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {\n      pcVar2 = tag;\n    }\n    if (puVar1 == *(undefined4 **)puVar4) {\n      return pcVar2;\n    }\n  }" else (compound_statement "{\n    if (severity - ResourceLimitWarning < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag);\n    pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);\n    if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {\n      pcVar2 = tag;\n    }\n    if (puVar1 == *(undefined4 **)puVar4) {\n      return pcVar2;\n    }\n  }" { (if_statement "if (severity - ResourceLimitWarning < 500) {\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }" if (parenthesized_expression "(severity - ResourceLimitWarning < 500)" ( (binary_expression "severity - ResourceLimitWarning < 500" (binary_expression "severity - ResourceLimitWarning" identifier - identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;\n      return pcVar2;\n    }" { comment comment (expression_statement "pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()\n      ;" (assignment_expression "pcVar2 = (char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()" identifier = (cast_expression "(char *)(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30))" ( (binary_expression "&_gp + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)" * (cast_expression "(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4 + 0x5c30" (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                 (severity - ResourceLimitWarning) * 4" identifier + (binary_expression "(severity - ResourceLimitWarning) * 4" (parenthesized_expression "(severity - ResourceLimitWarning)" ( (binary_expression "severity - ResourceLimitWarning" identifier - identifier) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return pcVar2;" return identifier ;) })) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(message,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,tag)" ( identifier , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" identifier + number_literal) , identifier ))) ;) (expression_statement "pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message);" (assignment_expression "pcVar2 = (char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message)" identifier = (cast_expression "(char *)(*(code *)PTR_GetLocaleMessage_003a95ac)(message)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)(message)" (parenthesized_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)" ( (pointer_expression "*(code *)PTR_GetLocaleMessage_003a95ac" * (cast_expression "(code *)PTR_GetLocaleMessage_003a95ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(message)" ( identifier ))))) ;) (if_statement "if ((pcVar2 == (char *)0x0) || (pcVar2 == message)) {\n      pcVar2 = tag;\n    }" if (parenthesized_expression "((pcVar2 == (char *)0x0) || (pcVar2 == message))" ( (binary_expression "(pcVar2 == (char *)0x0) || (pcVar2 == message)" (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pcVar2 == message)" ( (binary_expression "pcVar2 == message" identifier == identifier) ))) )) (compound_statement "{\n      pcVar2 = tag;\n    }" { (expression_statement "pcVar2 = tag;" (assignment_expression "pcVar2 = tag" identifier = identifier) ;) })) (if_statement "if (puVar1 == *(undefined4 **)puVar4) {\n      return pcVar2;\n    }" if (parenthesized_expression "(puVar1 == *(undefined4 **)puVar4)" ( (binary_expression "puVar1 == *(undefined4 **)puVar4" identifier == (pointer_expression "*(undefined4 **)puVar4" * (cast_expression "(undefined4 **)puVar4" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n      return pcVar2;\n    }" { (return_statement "return pcVar2;" return identifier ;) })) }))) (expression_statement "puVar4 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar4 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar1 = 0;\n    uVar3 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar1[4] = uVar3;\n    uVar3 = (*pcVar5)();\n    puVar1[6] = uVar3;\n    puVar1[7] = 0xabacadab;\n    return (char *)0xabacadab;\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar1 = 0;\n    uVar3 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar1[4] = uVar3;\n    uVar3 = (*pcVar5)();\n    puVar1[6] = uVar3;\n    puVar1[7] = 0xabacadab;\n    return (char *)0xabacadab;\n  }" { (expression_statement "(**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c);" (call_expression "(**(code **)(puVar4 + 0x2d9750))(puVar1 + 1,0,0x1c)" (parenthesized_expression "(**(code **)(puVar4 + 0x2d9750))" ( (pointer_expression "**(code **)(puVar4 + 0x2d9750)" * (pointer_expression "*(code **)(puVar4 + 0x2d9750)" * (cast_expression "(code **)(puVar4 + 0x2d9750)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d9750)" ( (binary_expression "puVar4 + 0x2d9750" identifier + number_literal) ))))) )) (argument_list "(puVar1 + 1,0,0x1c)" ( (binary_expression "puVar1 + 1" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d8e44);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d8e44)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d8e44)" * (cast_expression "(code **)(puVar4 + 0x2d8e44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d8e44)" ( (binary_expression "puVar4 + 0x2d8e44" identifier + number_literal) ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "uVar3 = (*pcVar5)(0);" (assignment_expression "uVar3 = (*pcVar5)(0)" identifier = (call_expression "(*pcVar5)(0)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d96a8);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d96a8)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d96a8)" * (cast_expression "(code **)(puVar4 + 0x2d96a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d96a8)" ( (binary_expression "puVar4 + 0x2d96a8" identifier + number_literal) ))))) ;) (expression_statement "puVar1[4] = uVar3;" (assignment_expression "puVar1[4] = uVar3" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = (*pcVar5)();" (assignment_expression "uVar3 = (*pcVar5)()" identifier = (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "puVar1[6] = uVar3;" (assignment_expression "puVar1[6] = uVar3" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[7] = 0xabacadab;" (assignment_expression "puVar1[7] = 0xabacadab" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return (char *)0xabacadab;" return (cast_expression "(char *)0xabacadab" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d9684);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d9684)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d9684)" * (cast_expression "(code **)(puVar4 + 0x2d9684)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d9684)" ( (binary_expression "puVar4 + 0x2d9684" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);" (call_expression "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" ( (binary_expression "*(int *)(puVar4 + 0x2d895c) + 0x1cac" (pointer_expression "*(int *)(puVar4 + 0x2d895c)" * (cast_expression "(int *)(puVar4 + 0x2d895c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d895c)" ( (binary_expression "puVar4 + 0x2d895c" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x56d4" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" * (cast_expression "(int *)(puVar4 + 0x2d8964)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d8964)" ( (binary_expression "puVar4 + 0x2d8964" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x643c" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" * (cast_expression "(int *)(puVar4 + 0x2d8964)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d8964)" ( (binary_expression "puVar4 + 0x2d8964" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "exception = (ExceptionInfo *)(**(code **)(pcVar5 + 0x2d9330))(0x20);" (assignment_expression "exception = (ExceptionInfo *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" identifier = (cast_expression "(ExceptionInfo *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x2d9330))(0x20)" (parenthesized_expression "(**(code **)(pcVar5 + 0x2d9330))" ( (pointer_expression "**(code **)(pcVar5 + 0x2d9330)" * (pointer_expression "*(code **)(pcVar5 + 0x2d9330)" * (cast_expression "(code **)(pcVar5 + 0x2d9330)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x2d9330)" ( (binary_expression "pcVar5 + 0x2d9330" identifier + number_literal) ))))) )) (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "InitializeExceptionInfo(exception);" (call_expression "InitializeExceptionInfo(exception)" identifier (argument_list "(exception)" ( identifier ))) ;) (expression_statement "exception->relinquish = MagickTrue;" (assignment_expression "exception->relinquish = MagickTrue" (field_expression "exception->relinquish" identifier -> field_identifier) = identifier) ;) (return_statement "return (char *)exception;" return (cast_expression "(char *)exception" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "undefined1 * GetLocaleExceptionMessage(int param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}\n\n" (function_definition "undefined1 * GetLocaleExceptionMessage(int param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}" type_identifier (pointer_declarator "* GetLocaleExceptionMessage(int param_1,undefined1 *param_2)" * (function_declarator "GetLocaleExceptionMessage(int param_1,undefined1 *param_2)" identifier (parameter_list "(int param_1,undefined1 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 auStack_1014 [4096];" type_identifier (array_declarator "auStack_1014 [4096]" identifier [ number_literal ]) ;) (declaration "undefined4 *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" if (parenthesized_expression "(param_2 == (undefined1 *)0x0)" ( (binary_expression "param_2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }" { (expression_statement "puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);" (assignment_expression "puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" identifier = (cast_expression "(undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468" identifier + number_literal) ))) ;) }) (else_clause "else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" else (compound_statement "{\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" { (if_statement "if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }" if (parenthesized_expression "(param_1 - 300U < 500)" ( (binary_expression "param_1 - 300U < 500" (binary_expression "param_1 - 300U" identifier - number_literal) < number_literal) )) (compound_statement "{\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }" { (expression_statement "puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();" (assignment_expression "puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" identifier = (cast_expression "(undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" ( (binary_expression "&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" * (cast_expression "(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30" (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4" identifier + (binary_expression "(param_1 - 300U) * 4" (parenthesized_expression "(param_1 - 300U)" ( (binary_expression "param_1 - 300U" identifier - number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2)" ( identifier , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c" identifier + number_literal) , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);" (assignment_expression "puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" (parenthesized_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)" ( (pointer_expression "*(code *)PTR_GetLocaleMessage_003a95ac" * (cast_expression "(code *)PTR_GetLocaleMessage_003a95ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1014)" ( identifier ))))) ;) (if_statement "if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }" if (parenthesized_expression "((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014))" ( (binary_expression "(puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)" (parenthesized_expression "(puVar1 == (undefined1 *)0x0)" ( (binary_expression "puVar1 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar1 == auStack_1014)" ( (binary_expression "puVar1 == auStack_1014" identifier == identifier) ))) )) (compound_statement "{\n      puVar1 = param_2;\n    }" { (expression_statement "puVar1 = param_2;" (assignment_expression "puVar1 = param_2" identifier = identifier) ;) })) (expression_statement "puVar3 = local_14;" (assignment_expression "puVar3 = local_14" identifier = identifier) ;) (if_statement "if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }" if (parenthesized_expression "(local_14 == *(undefined4 **)puVar4)" ( (binary_expression "local_14 == *(undefined4 **)puVar4" identifier == (pointer_expression "*(undefined4 **)puVar4" * (cast_expression "(undefined4 **)puVar4" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n      return puVar1;\n    }" { (return_statement "return puVar1;" return identifier ;) })) }))) (expression_statement "puVar4 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar4 = PTR___stack_chk_fail_003a9064" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }" { (expression_statement "(**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);" (call_expression "(**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c)" (parenthesized_expression "(**(code **)(puVar4 + 0x2d9750))" ( (pointer_expression "**(code **)(puVar4 + 0x2d9750)" * (pointer_expression "*(code **)(puVar4 + 0x2d9750)" * (cast_expression "(code **)(puVar4 + 0x2d9750)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d9750)" ( (binary_expression "puVar4 + 0x2d9750" identifier + number_literal) ))))) )) (argument_list "(puVar3 + 1,0,0x1c)" ( (binary_expression "puVar3 + 1" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d8e44);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d8e44)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d8e44)" * (cast_expression "(code **)(puVar4 + 0x2d8e44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d8e44)" ( (binary_expression "puVar4 + 0x2d8e44" identifier + number_literal) ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = (*pcVar5)(0);" (assignment_expression "uVar2 = (*pcVar5)(0)" identifier = (call_expression "(*pcVar5)(0)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d96a8);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d96a8)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d96a8)" * (cast_expression "(code **)(puVar4 + 0x2d96a8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d96a8)" ( (binary_expression "puVar4 + 0x2d96a8" identifier + number_literal) ))))) ;) (expression_statement "puVar3[4] = uVar2;" (assignment_expression "puVar3[4] = uVar2" (subscript_expression "puVar3[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (*pcVar5)();" (assignment_expression "uVar2 = (*pcVar5)()" identifier = (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "puVar3[6] = uVar2;" (assignment_expression "puVar3[6] = uVar2" (subscript_expression "puVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3[7] = 0xabacadab;" (assignment_expression "puVar3[7] = 0xabacadab" (subscript_expression "puVar3[7]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return (undefined1 *)0xabacadab;" return (cast_expression "(undefined1 *)0xabacadab" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d9684);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d9684)" identifier = (pointer_expression "*(code **)(puVar4 + 0x2d9684)" * (cast_expression "(code **)(puVar4 + 0x2d9684)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x2d9684)" ( (binary_expression "puVar4 + 0x2d9684" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);" (call_expression "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" ( (binary_expression "*(int *)(puVar4 + 0x2d895c) + 0x1cac" (pointer_expression "*(int *)(puVar4 + 0x2d895c)" * (cast_expression "(int *)(puVar4 + 0x2d895c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d895c)" ( (binary_expression "puVar4 + 0x2d895c" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x56d4" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" * (cast_expression "(int *)(puVar4 + 0x2d8964)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d8964)" ( (binary_expression "puVar4 + 0x2d8964" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x643c" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" * (cast_expression "(int *)(puVar4 + 0x2d8964)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x2d8964)" ( (binary_expression "puVar4 + 0x2d8964" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);" (assignment_expression "puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" identifier = (cast_expression "(undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x2d9330))(0x20)" (parenthesized_expression "(**(code **)(pcVar5 + 0x2d9330))" ( (pointer_expression "**(code **)(pcVar5 + 0x2d9330)" * (pointer_expression "*(code **)(pcVar5 + 0x2d9330)" * (cast_expression "(code **)(pcVar5 + 0x2d9330)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x2d9330)" ( (binary_expression "pcVar5 + 0x2d9330" identifier + number_literal) ))))) )) (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "FUN_000cff84(puVar1);" (call_expression "FUN_000cff84(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 0x14)" * (cast_expression "(undefined4 *)(puVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x14)" ( (binary_expression "puVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) * LIT)) + LIT) ))))) )))) )) (argument_list ( ))))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined1 * GetLocaleExceptionMessage(int param_1,undefined1 *param_2)\n\n{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}" (type_identifier "undefined1") (pointer_declarator "* GetLocaleExceptionMessage(int param_1,undefined1 *param_2)" (* "*") (function_declarator "GetLocaleExceptionMessage(int param_1,undefined1 *param_2)" (identifier "GetLocaleExceptionMessage") (parameter_list "(int param_1,undefined1 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  undefined1 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined1 auStack_1014 [4096];\n  undefined4 *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;\n  if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }\n  puVar4 = PTR___stack_chk_fail_003a9064;\n  (*(code *)PTR___stack_chk_fail_003a9064)();\n  if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }\n  pcVar5 = *(code **)(puVar4 + 0x2d9684);\n  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);\n  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);\n  FUN_000cff84(puVar1);\n  *(undefined4 *)(puVar1 + 0x14) = 1;\n  return puVar1;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined1 auStack_1014 [4096];" (type_identifier "undefined1") (array_declarator "auStack_1014 [4096]" (identifier "auStack_1014") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "undefined4 *local_14;" (type_identifier "undefined4") (pointer_declarator "*local_14" (* "*") (identifier "local_14")) (; ";")) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230" (identifier "local_14") (= "=") (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_003a9230" (* "*") (cast_expression "(undefined4 **)PTR___stack_chk_guard_003a9230" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_003a9230")))) (; ";")) (if_statement "if (param_2 == (undefined1 *)0x0) {\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }\n  else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined1 *)0x0)" (( "(") (binary_expression "param_2 == (undefined1 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);\n    (*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);" (assignment_expression "puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "0x5b30")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,\n               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468)" (( "(") (identifier "puVar3") (, ",") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "0x56d4")) (, ",") (number_literal "0x28c") (, ",") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "0x6468")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" (else "else") (compound_statement "{\n    if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }\n    (*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);\n    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);\n    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }\n    puVar3 = local_14;\n    if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }\n  }" ({ "{") (if_statement "if (param_1 - 300U < 500) {\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }" (if "if") (parenthesized_expression "(param_1 - 300U < 500)" (( "(") (binary_expression "param_1 - 300U < 500" (binary_expression "param_1 - 300U" (identifier "param_1") (- "-") (number_literal "300U")) (< "<") (number_literal "500")) () ")")) (compound_statement "{\n                    \n                    \n      puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();\n      return puVar1;\n    }" ({ "{") (expression_statement "puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))();" (assignment_expression "puVar1 = (undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" (identifier "puVar1") (= "=") (cast_expression "(undefined1 *)\n               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" (* "*") (cast_expression "(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4 + 0x5c30" (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                           (param_1 - 300U) * 4" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (binary_expression "(param_1 - 300U) * 4" (parenthesized_expression "(param_1 - 300U)" (( "(") (binary_expression "param_1 - 300U" (identifier "param_1") (- "-") (number_literal "300U")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x5c30")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_003a8d7c"))) () ")")) (argument_list "(auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,\n               PTR_s_t_to_left_003a88e4 + -0x3688,param_2)" (( "(") (identifier "auStack_1014") (, ",") (number_literal "0x1000") (, ",") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "0x5b4c")) (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x3688" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x3688")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);" (assignment_expression "puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" (identifier "puVar1") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014)" (parenthesized_expression "(*(code *)PTR_GetLocaleMessage_003a95ac)" (( "(") (pointer_expression "*(code *)PTR_GetLocaleMessage_003a95ac" (* "*") (cast_expression "(code *)PTR_GetLocaleMessage_003a95ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetLocaleMessage_003a95ac"))) () ")")) (argument_list "(auStack_1014)" (( "(") (identifier "auStack_1014") () ")"))))) (; ";")) (if_statement "if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {\n      puVar1 = param_2;\n    }" (if "if") (parenthesized_expression "((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014))" (( "(") (binary_expression "(puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)" (parenthesized_expression "(puVar1 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar1 == (undefined1 *)0x0" (identifier "puVar1") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(puVar1 == auStack_1014)" (( "(") (binary_expression "puVar1 == auStack_1014" (identifier "puVar1") (== "==") (identifier "auStack_1014")) () ")"))) () ")")) (compound_statement "{\n      puVar1 = param_2;\n    }" ({ "{") (expression_statement "puVar1 = param_2;" (assignment_expression "puVar1 = param_2" (identifier "puVar1") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "puVar3 = local_14;" (assignment_expression "puVar3 = local_14" (identifier "puVar3") (= "=") (identifier "local_14")) (; ";")) (if_statement "if (local_14 == *(undefined4 **)puVar4) {\n      return puVar1;\n    }" (if "if") (parenthesized_expression "(local_14 == *(undefined4 **)puVar4)" (( "(") (binary_expression "local_14 == *(undefined4 **)puVar4" (identifier "local_14") (== "==") (pointer_expression "*(undefined4 **)puVar4" (* "*") (cast_expression "(undefined4 **)puVar4" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar4")))) () ")")) (compound_statement "{\n      return puVar1;\n    }" ({ "{") (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar4 = PTR___stack_chk_fail_003a9064;" (assignment_expression "puVar4 = PTR___stack_chk_fail_003a9064" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_fail_003a9064")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_003a9064" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_003a9064"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }" (if "if") (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);\n    pcVar5 = *(code **)(puVar4 + 0x2d8e44);\n    *puVar3 = 0;\n    uVar2 = (*pcVar5)(0);\n    pcVar5 = *(code **)(puVar4 + 0x2d96a8);\n    puVar3[4] = uVar2;\n    uVar2 = (*pcVar5)();\n    puVar3[6] = uVar2;\n    puVar3[7] = 0xabacadab;\n    return (undefined1 *)0xabacadab;\n  }" ({ "{") (expression_statement "(**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);" (call_expression "(**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c)" (parenthesized_expression "(**(code **)(puVar4 + 0x2d9750))" (( "(") (pointer_expression "**(code **)(puVar4 + 0x2d9750)" (* "*") (pointer_expression "*(code **)(puVar4 + 0x2d9750)" (* "*") (cast_expression "(code **)(puVar4 + 0x2d9750)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x2d9750)" (( "(") (binary_expression "puVar4 + 0x2d9750" (identifier "puVar4") (+ "+") (number_literal "0x2d9750")) () ")"))))) () ")")) (argument_list "(puVar3 + 1,0,0x1c)" (( "(") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1")) (, ",") (number_literal "0") (, ",") (number_literal "0x1c") () ")"))) (; ";")) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d8e44);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d8e44)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar4 + 0x2d8e44)" (* "*") (cast_expression "(code **)(puVar4 + 0x2d8e44)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x2d8e44)" (( "(") (binary_expression "puVar4 + 0x2d8e44" (identifier "puVar4") (+ "+") (number_literal "0x2d8e44")) () ")"))))) (; ";")) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = (*pcVar5)(0);" (assignment_expression "uVar2 = (*pcVar5)(0)" (identifier "uVar2") (= "=") (call_expression "(*pcVar5)(0)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d96a8);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d96a8)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar4 + 0x2d96a8)" (* "*") (cast_expression "(code **)(puVar4 + 0x2d96a8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x2d96a8)" (( "(") (binary_expression "puVar4 + 0x2d96a8" (identifier "puVar4") (+ "+") (number_literal "0x2d96a8")) () ")"))))) (; ";")) (expression_statement "puVar3[4] = uVar2;" (assignment_expression "puVar3[4] = uVar2" (subscript_expression "puVar3[4]" (identifier "puVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = (*pcVar5)();" (assignment_expression "uVar2 = (*pcVar5)()" (identifier "uVar2") (= "=") (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar3[6] = uVar2;" (assignment_expression "puVar3[6] = uVar2" (subscript_expression "puVar3[6]" (identifier "puVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar3[7] = 0xabacadab;" (assignment_expression "puVar3[7] = 0xabacadab" (subscript_expression "puVar3[7]" (identifier "puVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0xabacadab")) (; ";")) (return_statement "return (undefined1 *)0xabacadab;" (return "return") (cast_expression "(undefined1 *)0xabacadab" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xabacadab")) (; ";")) (} "}"))) (expression_statement "pcVar5 = *(code **)(puVar4 + 0x2d9684);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x2d9684)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar4 + 0x2d9684)" (* "*") (cast_expression "(code **)(puVar4 + 0x2d9684)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x2d9684)" (( "(") (binary_expression "puVar4 + 0x2d9684" (identifier "puVar4") (+ "+") (number_literal "0x2d9684")) () ")"))))) (; ";")) (expression_statement "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c);" (call_expression "(*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,\n            *(int *)(puVar4 + 0x2d8964) + 0x643c)" (( "(") (binary_expression "*(int *)(puVar4 + 0x2d895c) + 0x1cac" (pointer_expression "*(int *)(puVar4 + 0x2d895c)" (* "*") (cast_expression "(int *)(puVar4 + 0x2d895c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x2d895c)" (( "(") (binary_expression "puVar4 + 0x2d895c" (identifier "puVar4") (+ "+") (number_literal "0x2d895c")) () ")")))) (+ "+") (number_literal "0x1cac")) (, ",") (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x56d4" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" (* "*") (cast_expression "(int *)(puVar4 + 0x2d8964)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x2d8964)" (( "(") (binary_expression "puVar4 + 0x2d8964" (identifier "puVar4") (+ "+") (number_literal "0x2d8964")) () ")")))) (+ "+") (number_literal "0x56d4")) (, ",") (number_literal "0x2e1") (, ",") (binary_expression "*(int *)(puVar4 + 0x2d8964) + 0x643c" (pointer_expression "*(int *)(puVar4 + 0x2d8964)" (* "*") (cast_expression "(int *)(puVar4 + 0x2d8964)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x2d8964)" (( "(") (binary_expression "puVar4 + 0x2d8964" (identifier "puVar4") (+ "+") (number_literal "0x2d8964")) () ")")))) (+ "+") (number_literal "0x643c")) () ")"))) (; ";")) (expression_statement "puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);" (assignment_expression "puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" (identifier "puVar1") (= "=") (cast_expression "(undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar5 + 0x2d9330))(0x20)" (parenthesized_expression "(**(code **)(pcVar5 + 0x2d9330))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x2d9330)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x2d9330)" (* "*") (cast_expression "(code **)(pcVar5 + 0x2d9330)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x2d9330)" (( "(") (binary_expression "pcVar5 + 0x2d9330" (identifier "pcVar5") (+ "+") (number_literal "0x2d9330")) () ")"))))) () ")")) (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")"))))) (; ";")) (expression_statement "FUN_000cff84(puVar1);" (call_expression "FUN_000cff84(puVar1)" (identifier "FUN_000cff84") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(puVar1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x14)" (( "(") (binary_expression "puVar1 + 0x14" (identifier "puVar1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

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

char * function_1(type_1 var_3,char *var_1)

{
  type_2 *var_8;
  char *var_6;
  type_2 uVar3;
  type_3 *exception;
  type_4 *var_9;
  type_5 *var_10;
  char var_7 [4096];
  
  var_9 = PTR___stack_chk_guard_003a9230;
  var_8 = *(type_2 **)PTR___stack_chk_guard_003a9230;
  if (var_1 == (char *)0x0) {
    var_8 = (type_2 *)(var_2 + 0x5b30);
    (*(type_5 *)PTR___assert_fail_003a9608)
              (var_8,var_2 + 0x56d4,0x28c,
               var_2 + 0x6468);
  }
  else {
    if (var_3 - var_4 < 500) {
                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */
                    /* WARNING: Treating indirect jump as call */
      var_6 = (char *)(*(type_5 *)(&_gp + *(int *)(var_2 +
                                                 (var_3 - var_4) * 4 + 0x5c30)))()
      ;
      return var_6;
    }
    (*(type_5 *)PTR_FormatLocaleString_003a8d7c)
              (var_7,0x1000,var_2 + 0x5b4c,
               var_5 + -0x3688,var_1);
    var_6 = (char *)(*(type_5 *)PTR_GetLocaleMessage_003a95ac)(var_7);
    if ((var_6 == (char *)0x0) || (var_6 == var_7)) {
      var_6 = var_1;
    }
    if (var_8 == *(type_2 **)var_9) {
      return var_6;
    }
  }
  var_9 = PTR___stack_chk_fail_003a9064;
  (*(type_5 *)PTR___stack_chk_fail_003a9064)();
  if (var_8 != (type_2 *)0x0) {
    (**(type_5 **)(var_9 + 0x2d9750))(var_8 + 1,0,0x1c);
    var_10 = *(type_5 **)(var_9 + 0x2d8e44);
    *var_8 = 0;
    uVar3 = (*var_10)(0);
    var_10 = *(type_5 **)(var_9 + 0x2d96a8);
    var_8[4] = uVar3;
    uVar3 = (*var_10)();
    var_8[6] = uVar3;
    var_8[7] = 0xabacadab;
    return (char *)0xabacadab;
  }
  var_10 = *(type_5 **)(var_9 + 0x2d9684);
  (*var_10)(*(int *)(var_9 + 0x2d895c) + 0x1cac,*(int *)(var_9 + 0x2d8964) + 0x56d4,0x2e1,
            *(int *)(var_9 + 0x2d8964) + 0x643c);
  exception = (type_3 *)(**(type_5 **)(var_10 + 0x2d9330))(0x20);
  var_11(exception);
  exception->relinquish = MagickTrue;
  return (char *)exception;
}


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

undefined1 * MASKED(int param_1,undefined1 *param_2)

{
  undefined1 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined1 auStack_1014 [4096];
  undefined4 *local_14;
  
  puVar4 = PTR___stack_chk_guard_003a9230;
  local_14 = *(undefined4 **)PTR___stack_chk_guard_003a9230;
  if (param_2 == (undefined1 *)0x0) {
    puVar3 = (undefined4 *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b30);
    (*(code *)PTR___assert_fail_003a9608)
              (puVar3,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x56d4,0x28c,
               PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x6468);
  }
  else {
    if (param_1 - 300U < 500) {
                    /* WARNING: Could not emulate address calculation at 0x000cfbdc */
                    /* WARNING: Treating indirect jump as call */
      puVar1 = (undefined1 *)
               (*(code *)(&_gp_1 + *(int *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                           (param_1 - 300U) * 4 + 0x5c30)))();
      return puVar1;
    }
    (*(code *)PTR_FormatLocaleString_003a8d7c)
              (auStack_1014,0x1000,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x5b4c,
               PTR_s_t_to_left_003a88e4 + -0x3688,param_2);
    puVar1 = (undefined1 *)(*(code *)PTR_GetLocaleMessage_003a95ac)(auStack_1014);
    if ((puVar1 == (undefined1 *)0x0) || (puVar1 == auStack_1014)) {
      puVar1 = param_2;
    }
    puVar3 = local_14;
    if (local_14 == *(undefined4 **)puVar4) {
      return puVar1;
    }
  }
  puVar4 = PTR___stack_chk_fail_003a9064;
  (*(code *)PTR___stack_chk_fail_003a9064)();
  if (puVar3 != (undefined4 *)0x0) {
    (**(code **)(puVar4 + 0x2d9750))(puVar3 + 1,0,0x1c);
    pcVar5 = *(code **)(puVar4 + 0x2d8e44);
    *puVar3 = 0;
    uVar2 = (*pcVar5)(0);
    pcVar5 = *(code **)(puVar4 + 0x2d96a8);
    puVar3[4] = uVar2;
    uVar2 = (*pcVar5)();
    puVar3[6] = uVar2;
    puVar3[7] = 0xabacadab;
    return (undefined1 *)0xabacadab;
  }
  pcVar5 = *(code **)(puVar4 + 0x2d9684);
  (*pcVar5)(*(int *)(puVar4 + 0x2d895c) + 0x1cac,*(int *)(puVar4 + 0x2d8964) + 0x56d4,0x2e1,
            *(int *)(puVar4 + 0x2d8964) + 0x643c);
  puVar1 = (undefined1 *)(**(code **)(pcVar5 + 0x2d9330))(0x20);
  FUN_000cff84(puVar1);
  *(undefined4 *)(puVar1 + 0x14) = 1;
  return puVar1;
}

