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

ExceptionInfo * AcquireExceptionInfo(void)

{
  ExceptionInfo *exception;
  
  exception = (ExceptionInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);
  InitializeExceptionInfo(exception);
  exception->relinquish = MagickTrue;
  return exception;
}



int AcquireExceptionInfo(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);
  FUN_000cff84(iVar1);
  *(undefined4 *)(iVar1 + 0x14) = 1;
  return iVar1;
}


lui gp,0x2e
addiu gp,gp,0x88c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x755c(gp)
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
jalr t9
_li a0,0x20
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x7e44(gp)
bal 0x000cff84
_or s0,v0,zero
li v1,0x1
lw ra,0x1c(sp)
or v0,s0,zero
sw v1,0x14(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "int AcquireExceptionInfo(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}\n\n" (function_definition "int AcquireExceptionInfo(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}" primitive_type (function_declarator "AcquireExceptionInfo(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);" (assignment_expression "iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" identifier = (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" ( (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" * (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "FUN_000cff84(iVar1);" (call_expression "FUN_000cff84(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nExceptionInfo * AcquireExceptionInfo(void)\n\n{\n  ExceptionInfo *exception;\n  \n  exception = (ExceptionInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  InitializeExceptionInfo(exception);\n  exception->relinquish = MagickTrue;\n  return exception;\n}\n\n" comment comment (function_definition "ExceptionInfo * AcquireExceptionInfo(void)\n\n{\n  ExceptionInfo *exception;\n  \n  exception = (ExceptionInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  InitializeExceptionInfo(exception);\n  exception->relinquish = MagickTrue;\n  return exception;\n}" type_identifier (pointer_declarator "* AcquireExceptionInfo(void)" * (function_declarator "AcquireExceptionInfo(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  ExceptionInfo *exception;\n  \n  exception = (ExceptionInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  InitializeExceptionInfo(exception);\n  exception->relinquish = MagickTrue;\n  return exception;\n}" { (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (expression_statement "exception = (ExceptionInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);" (assignment_expression "exception = (ExceptionInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" identifier = (cast_expression "(ExceptionInfo *)(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" ( (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" * (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (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 exception;" return identifier ;) })))
(translation_unit "int AcquireExceptionInfo(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}\n\n" (function_definition "int AcquireExceptionInfo(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}" primitive_type (function_declarator "AcquireExceptionInfo(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);" (assignment_expression "iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" identifier = (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" ( (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" * (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "FUN_000cff84(iVar1);" (call_expression "FUN_000cff84(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 "int AcquireExceptionInfo(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}" (primitive_type "int") (function_declarator "AcquireExceptionInfo(void)" (identifier "AcquireExceptionInfo") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);\n  FUN_000cff84(iVar1);\n  *(undefined4 *)(iVar1 + 0x14) = 1;\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);" (assignment_expression "iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20)" (parenthesized_expression "(*(code *)PTR_AcquireCriticalMemory_003a9354)" (( "(") (pointer_expression "*(code *)PTR_AcquireCriticalMemory_003a9354" (* "*") (cast_expression "(code *)PTR_AcquireCriticalMemory_003a9354" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireCriticalMemory_003a9354"))) () ")")) (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "FUN_000cff84(iVar1);" (call_expression "FUN_000cff84(iVar1)" (identifier "FUN_000cff84") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

type_1 * function_1(void)

{
  type_1 *exception;
  
  exception = (type_1 *)(*(type_2 *)PTR_AcquireCriticalMemory_003a9354)(0x20);
  var_1(exception);
  exception->relinquish = MagickTrue;
  return exception;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) 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)))))

int MASKED(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_AcquireCriticalMemory_003a9354)(0x20);
  FUN_000cff84(iVar1);
  *(undefined4 *)(iVar1 + 0x14) = 1;
  return iVar1;
}

