
int mk_wcwidth_cjk(uint ucs)

{
  int iVar1;
  
  iVar1 = bisearch(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2);
  if (iVar1 == 0) {
    iVar1 = mk_wcwidth(ucs);
  }
  else {
    iVar1 = 2;
  }
  return iVar1;
}



undefined4 mk_wcwidth_cjk(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);
  if (iVar1 == 0) {
    uVar2 = mk_wcwidth(param_1);
  }
  else {
    uVar2 = 2;
  }
  return uVar2;
}


lui gp,0x5
addiu gp,gp,-0x1394
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a0,zero
li a2,0xb2
lw a1,-0x7dd0(gp)
addiu a1,a1,-0x2b90
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x5bf0
bal 0x000da410
_nop
lw gp,0x10(sp)
bne v0,zero,0x000da6ac
_or a0,s0,zero
lw t9,-0x7750(gp)
bal 0x000da4b8
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
b 0x000da69c
_li v0,0x2
(translation_unit "undefined4 mk_wcwidth_cjk(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 mk_wcwidth_cjk(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "mk_wcwidth_cjk(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);" (assignment_expression "iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" identifier = (call_expression "FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" identifier (argument_list "(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" ( identifier , (binary_expression "PTR_DAT_001214e0 + -0x2b90" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = mk_wcwidth(param_1);\n  }" { (expression_statement "uVar2 = mk_wcwidth(param_1);" (assignment_expression "uVar2 = mk_wcwidth(param_1)" identifier = (call_expression "mk_wcwidth(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    uVar2 = 2;\n  }" else (compound_statement "{\n    uVar2 = 2;\n  }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int mk_wcwidth_cjk(uint ucs)\n\n{\n  int iVar1;\n  \n  iVar1 = bisearch(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2);\n  if (iVar1 == 0) {\n    iVar1 = mk_wcwidth(ucs);\n  }\n  else {\n    iVar1 = 2;\n  }\n  return iVar1;\n}\n\n" (function_definition "int mk_wcwidth_cjk(uint ucs)\n\n{\n  int iVar1;\n  \n  iVar1 = bisearch(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2);\n  if (iVar1 == 0) {\n    iVar1 = mk_wcwidth(ucs);\n  }\n  else {\n    iVar1 = 2;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "mk_wcwidth_cjk(uint ucs)" identifier (parameter_list "(uint ucs)" ( (parameter_declaration "uint ucs" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = bisearch(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2);\n  if (iVar1 == 0) {\n    iVar1 = mk_wcwidth(ucs);\n  }\n  else {\n    iVar1 = 2;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = bisearch(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2);" (assignment_expression "iVar1 = bisearch(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2)" identifier = (call_expression "bisearch(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2)" identifier (argument_list "(ucs,(interval *)(PTR_DAT_001214e0 + -0x2b90),0xb2)" ( identifier , (cast_expression "(interval *)(PTR_DAT_001214e0 + -0x2b90)" ( (type_descriptor "interval *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001214e0 + -0x2b90)" ( (binary_expression "PTR_DAT_001214e0 + -0x2b90" identifier + number_literal) ))) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = mk_wcwidth(ucs);\n  }\n  else {\n    iVar1 = 2;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = mk_wcwidth(ucs);\n  }" { (expression_statement "iVar1 = mk_wcwidth(ucs);" (assignment_expression "iVar1 = mk_wcwidth(ucs)" identifier = (call_expression "mk_wcwidth(ucs)" identifier (argument_list "(ucs)" ( identifier )))) ;) }) (else_clause "else {\n    iVar1 = 2;\n  }" else (compound_statement "{\n    iVar1 = 2;\n  }" { (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 mk_wcwidth_cjk(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 mk_wcwidth_cjk(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "mk_wcwidth_cjk(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);" (assignment_expression "iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" identifier = (call_expression "FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" identifier (argument_list "(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" ( identifier , (binary_expression "PTR_DAT_001214e0 + -0x2b90" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = mk_wcwidth(param_1);\n  }" { (expression_statement "uVar2 = mk_wcwidth(param_1);" (assignment_expression "uVar2 = mk_wcwidth(param_1)" identifier = (call_expression "mk_wcwidth(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    uVar2 = 2;\n  }" else (compound_statement "{\n    uVar2 = 2;\n  }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 mk_wcwidth_cjk(undefined4 param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "mk_wcwidth_cjk(undefined4 param_1)" (identifier "mk_wcwidth_cjk") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);\n  if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);" (assignment_expression "iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" (identifier "iVar1") (= "=") (call_expression "FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" (identifier "FUN_000da410") (argument_list "(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_001214e0 + -0x2b90" (identifier "PTR_DAT_001214e0") (+ "+") (number_literal "-0x2b90")) (, ",") (number_literal "0xb2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar2 = mk_wcwidth(param_1);\n  }\n  else {\n    uVar2 = 2;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = mk_wcwidth(param_1);\n  }" ({ "{") (expression_statement "uVar2 = mk_wcwidth(param_1);" (assignment_expression "uVar2 = mk_wcwidth(param_1)" (identifier "uVar2") (= "=") (call_expression "mk_wcwidth(param_1)" (identifier "mk_wcwidth") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = 2;\n  }" (else "else") (compound_statement "{\n    uVar2 = 2;\n  }" ({ "{") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_000da410(param_1,PTR_DAT_001214e0 + -0x2b90,0xb2);
  if (iVar1 == 0) {
    uVar2 = mk_wcwidth(param_1);
  }
  else {
    uVar2 = 2;
  }
  return uVar2;
}

