
FontSpec * fontspec_deserialise(void *vdata,int maxsize,int *used)

{
  int iVar1;
  FontSpec *pFVar2;
  
  iVar1 = (*(code *)PTR_memchr_000b5f48)(vdata,0,maxsize);
  if (iVar1 != 0) {
    *used = (iVar1 - (int)vdata) + 1;
    pFVar2 = fontspec_new((char *)vdata);
    return pFVar2;
  }
  return (FontSpec *)0x0;
}



void fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);
  if (iVar1 != 0) {
    *param_3 = (iVar1 - param_1) + 1;
    fontspec_new(param_1);
    return;
  }
  return;
}


lui gp,0x5
addiu gp,gp,-0x78e0
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7288(gp)
sw s1,0x20(sp)
or s1,a2,zero
or a2,a1,zero
sw gp,0x10(sp)
or a1,zero,zero
sw s0,0x1c(sp)
sw ra,0x24(sp)
jalr t9
_or s0,a0,zero
beq v0,zero,0x00074b18
_lw gp,0x10(sp)
subu v1,v0,s0
lw ra,0x24(sp)
or a0,s0,zero
lw t9,-0x7f88(gp)
addiu v1,v1,0x1
lw s0,0x1c(sp)
sw v1,0x0(s1)
lw s1,0x20(sp)
b 0x00074980
_addiu sp,sp,0x28
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);" (assignment_expression "iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2)" identifier = (call_expression "(*(code *)PTR_memchr_000b5f48)(param_1,0,param_2)" (parenthesized_expression "(*(code *)PTR_memchr_000b5f48)" ( (pointer_expression "*(code *)PTR_memchr_000b5f48" * (cast_expression "(code *)PTR_memchr_000b5f48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,param_2)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }" { (expression_statement "*param_3 = (iVar1 - param_1) + 1;" (assignment_expression "*param_3 = (iVar1 - param_1) + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "(iVar1 - param_1) + 1" (parenthesized_expression "(iVar1 - param_1)" ( (binary_expression "iVar1 - param_1" identifier - identifier) )) + number_literal)) ;) (expression_statement "fontspec_new(param_1);" (call_expression "fontspec_new(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "FontSpec * fontspec_deserialise(void *vdata,int maxsize,int *used)\n\n{\n  int iVar1;\n  FontSpec *pFVar2;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(vdata,0,maxsize);\n  if (iVar1 != 0) {\n    *used = (iVar1 - (int)vdata) + 1;\n    pFVar2 = fontspec_new((char *)vdata);\n    return pFVar2;\n  }\n  return (FontSpec *)0x0;\n}\n\n" (function_definition "FontSpec * fontspec_deserialise(void *vdata,int maxsize,int *used)\n\n{\n  int iVar1;\n  FontSpec *pFVar2;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(vdata,0,maxsize);\n  if (iVar1 != 0) {\n    *used = (iVar1 - (int)vdata) + 1;\n    pFVar2 = fontspec_new((char *)vdata);\n    return pFVar2;\n  }\n  return (FontSpec *)0x0;\n}" type_identifier (pointer_declarator "* fontspec_deserialise(void *vdata,int maxsize,int *used)" * (function_declarator "fontspec_deserialise(void *vdata,int maxsize,int *used)" identifier (parameter_list "(void *vdata,int maxsize,int *used)" ( (parameter_declaration "void *vdata" primitive_type (pointer_declarator "*vdata" * identifier)) , (parameter_declaration "int maxsize" primitive_type identifier) , (parameter_declaration "int *used" primitive_type (pointer_declarator "*used" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  FontSpec *pFVar2;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(vdata,0,maxsize);\n  if (iVar1 != 0) {\n    *used = (iVar1 - (int)vdata) + 1;\n    pFVar2 = fontspec_new((char *)vdata);\n    return pFVar2;\n  }\n  return (FontSpec *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "FontSpec *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_memchr_000b5f48)(vdata,0,maxsize);" (assignment_expression "iVar1 = (*(code *)PTR_memchr_000b5f48)(vdata,0,maxsize)" identifier = (call_expression "(*(code *)PTR_memchr_000b5f48)(vdata,0,maxsize)" (parenthesized_expression "(*(code *)PTR_memchr_000b5f48)" ( (pointer_expression "*(code *)PTR_memchr_000b5f48" * (cast_expression "(code *)PTR_memchr_000b5f48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(vdata,0,maxsize)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    *used = (iVar1 - (int)vdata) + 1;\n    pFVar2 = fontspec_new((char *)vdata);\n    return pFVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *used = (iVar1 - (int)vdata) + 1;\n    pFVar2 = fontspec_new((char *)vdata);\n    return pFVar2;\n  }" { (expression_statement "*used = (iVar1 - (int)vdata) + 1;" (assignment_expression "*used = (iVar1 - (int)vdata) + 1" (pointer_expression "*used" * identifier) = (binary_expression "(iVar1 - (int)vdata) + 1" (parenthesized_expression "(iVar1 - (int)vdata)" ( (binary_expression "iVar1 - (int)vdata" identifier - (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal)) ;) (expression_statement "pFVar2 = fontspec_new((char *)vdata);" (assignment_expression "pFVar2 = fontspec_new((char *)vdata)" identifier = (call_expression "fontspec_new((char *)vdata)" identifier (argument_list "((char *)vdata)" ( (cast_expression "(char *)vdata" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (return_statement "return pFVar2;" return identifier ;) })) (return_statement "return (FontSpec *)0x0;" return (cast_expression "(FontSpec *)0x0" ( (type_descriptor "FontSpec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "void fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);" (assignment_expression "iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2)" identifier = (call_expression "(*(code *)PTR_memchr_000b5f48)(param_1,0,param_2)" (parenthesized_expression "(*(code *)PTR_memchr_000b5f48)" ( (pointer_expression "*(code *)PTR_memchr_000b5f48" * (cast_expression "(code *)PTR_memchr_000b5f48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,param_2)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }" { (expression_statement "*param_3 = (iVar1 - param_1) + 1;" (assignment_expression "*param_3 = (iVar1 - param_1) + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "(iVar1 - param_1) + 1" (parenthesized_expression "(iVar1 - param_1)" ( (binary_expression "iVar1 - param_1" identifier - identifier) )) + number_literal)) ;) (expression_statement "fontspec_new(param_1);" (call_expression "fontspec_new(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (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 ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "fontspec_deserialise(int param_1,undefined4 param_2,int *param_3)" (identifier "fontspec_deserialise") (parameter_list "(int param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);\n  if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);" (assignment_expression "iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_memchr_000b5f48)(param_1,0,param_2)" (parenthesized_expression "(*(code *)PTR_memchr_000b5f48)" (( "(") (pointer_expression "*(code *)PTR_memchr_000b5f48" (* "*") (cast_expression "(code *)PTR_memchr_000b5f48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memchr_000b5f48"))) () ")")) (argument_list "(param_1,0,param_2)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *param_3 = (iVar1 - param_1) + 1;\n    fontspec_new(param_1);\n    return;\n  }" ({ "{") (expression_statement "*param_3 = (iVar1 - param_1) + 1;" (assignment_expression "*param_3 = (iVar1 - param_1) + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "(iVar1 - param_1) + 1" (parenthesized_expression "(iVar1 - param_1)" (( "(") (binary_expression "iVar1 - param_1" (identifier "iVar1") (- "-") (identifier "param_1")) () ")")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "fontspec_new(param_1);" (call_expression "fontspec_new(param_1)" (identifier "fontspec_new") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) 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 (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (return_statement))))

void MASKED(int param_1,undefined4 param_2,int *param_3)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_memchr_000b5f48)(param_1,0,param_2);
  if (iVar1 != 0) {
    *param_3 = (iVar1 - param_1) + 1;
    fontspec_new(param_1);
    return;
  }
  return;
}

