
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00012150 */
/* WARNING: Unknown calling convention */

char * MHD_get_reason_phrase_for(uint code)

{
  char *pcVar1;
  
  pcVar1 = "Unknown";
  if (code - 100 < 500) {
    if (code % 100 < reasons[code / 100].max) {
      pcVar1 = reasons[code / 100].data[code % 100];
    }
  }
  return pcVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00012150 */

char * MHD_get_reason_phrase_for(uint param_1)

{
  char *pcVar1;
  
  pcVar1 = "Unknown";
  if (param_1 - 100 < 500) {
    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {
      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);
    }
  }
  return pcVar1;
}


JMP dword ptr [EBX + 0xd4]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x00012150 */\n\nchar * MHD_get_reason_phrase_for(uint param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}\n\n" comment comment (function_definition "char * MHD_get_reason_phrase_for(uint param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* MHD_get_reason_phrase_for(uint param_1)" * (function_declarator "MHD_get_reason_phrase_for(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = "Unknown";" (assignment_expression "pcVar1 = "Unknown"" identifier = (string_literal ""Unknown"" " string_content ")) ;) (if_statement "if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }" if (parenthesized_expression "(param_1 - 100 < 500)" ( (binary_expression "param_1 - 100 < 500" (binary_expression "param_1 - 100" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }" { (if_statement "if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }" if (parenthesized_expression "(param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8))" ( (binary_expression "param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" (binary_expression "param_1 % 100" identifier % number_literal) < (pointer_expression "*(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" * (cast_expression "(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00032cc0 + (param_1 / 100) * 8)" ( (binary_expression "&DAT_00032cc0 + (param_1 / 100) * 8" (pointer_expression "&DAT_00032cc0" & identifier) + (binary_expression "(param_1 / 100) * 8" (parenthesized_expression "(param_1 / 100)" ( (binary_expression "param_1 / 100" identifier / number_literal) )) * number_literal)) ))))) )) (compound_statement "{\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }" { (expression_statement "pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);" (assignment_expression "pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" identifier = (pointer_expression "*(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" * (cast_expression "(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" ( (binary_expression "(&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4" (subscript_expression "(&PTR_DAT_00032cc4)[(param_1 / 100) * 2]" (parenthesized_expression "(&PTR_DAT_00032cc4)" ( (pointer_expression "&PTR_DAT_00032cc4" & identifier) )) [ (binary_expression "(param_1 / 100) * 2" (parenthesized_expression "(param_1 / 100)" ( (binary_expression "param_1 / 100" identifier / number_literal) )) * number_literal) ]) + (binary_expression "(param_1 % 100) * 4" (parenthesized_expression "(param_1 % 100)" ( (binary_expression "param_1 % 100" identifier % number_literal) )) * number_literal)) ))))) ;) })) })) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x00012150 */\n/* WARNING: Unknown calling convention */\n\nchar * MHD_get_reason_phrase_for(uint code)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (code - 100 < 500) {\n    if (code % 100 < reasons[code / 100].max) {\n      pcVar1 = reasons[code / 100].data[code % 100];\n    }\n  }\n  return pcVar1;\n}\n\n" comment comment comment (function_definition "char * MHD_get_reason_phrase_for(uint code)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (code - 100 < 500) {\n    if (code % 100 < reasons[code / 100].max) {\n      pcVar1 = reasons[code / 100].data[code % 100];\n    }\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* MHD_get_reason_phrase_for(uint code)" * (function_declarator "MHD_get_reason_phrase_for(uint code)" identifier (parameter_list "(uint code)" ( (parameter_declaration "uint code" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (code - 100 < 500) {\n    if (code % 100 < reasons[code / 100].max) {\n      pcVar1 = reasons[code / 100].data[code % 100];\n    }\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = "Unknown";" (assignment_expression "pcVar1 = "Unknown"" identifier = (string_literal ""Unknown"" " string_content ")) ;) (if_statement "if (code - 100 < 500) {\n    if (code % 100 < reasons[code / 100].max) {\n      pcVar1 = reasons[code / 100].data[code % 100];\n    }\n  }" if (parenthesized_expression "(code - 100 < 500)" ( (binary_expression "code - 100 < 500" (binary_expression "code - 100" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if (code % 100 < reasons[code / 100].max) {\n      pcVar1 = reasons[code / 100].data[code % 100];\n    }\n  }" { (if_statement "if (code % 100 < reasons[code / 100].max) {\n      pcVar1 = reasons[code / 100].data[code % 100];\n    }" if (parenthesized_expression "(code % 100 < reasons[code / 100].max)" ( (binary_expression "code % 100 < reasons[code / 100].max" (binary_expression "code % 100" identifier % number_literal) < (field_expression "reasons[code / 100].max" (subscript_expression "reasons[code / 100]" identifier [ (binary_expression "code / 100" identifier / number_literal) ]) . field_identifier)) )) (compound_statement "{\n      pcVar1 = reasons[code / 100].data[code % 100];\n    }" { (expression_statement "pcVar1 = reasons[code / 100].data[code % 100];" (assignment_expression "pcVar1 = reasons[code / 100].data[code % 100]" identifier = (subscript_expression "reasons[code / 100].data[code % 100]" (field_expression "reasons[code / 100].data" (subscript_expression "reasons[code / 100]" identifier [ (binary_expression "code / 100" identifier / number_literal) ]) . field_identifier) [ (binary_expression "code % 100" identifier % number_literal) ])) ;) })) })) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "char * MHD_get_reason_phrase_for(uint param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}\n\n" (function_definition "char * MHD_get_reason_phrase_for(uint param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* MHD_get_reason_phrase_for(uint param_1)" * (function_declarator "MHD_get_reason_phrase_for(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = "Unknown";" (assignment_expression "pcVar1 = "Unknown"" identifier = (string_literal ""Unknown"" " string_content ")) ;) (if_statement "if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }" if (parenthesized_expression "(param_1 - 100 < 500)" ( (binary_expression "param_1 - 100 < 500" (binary_expression "param_1 - 100" identifier - number_literal) < number_literal) )) (compound_statement "{\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }" { (if_statement "if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }" if (parenthesized_expression "(param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8))" ( (binary_expression "param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" (binary_expression "param_1 % 100" identifier % number_literal) < (pointer_expression "*(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" * (cast_expression "(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00032cc0 + (param_1 / 100) * 8)" ( (binary_expression "&DAT_00032cc0 + (param_1 / 100) * 8" (pointer_expression "&DAT_00032cc0" & identifier) + (binary_expression "(param_1 / 100) * 8" (parenthesized_expression "(param_1 / 100)" ( (binary_expression "param_1 / 100" identifier / number_literal) )) * number_literal)) ))))) )) (compound_statement "{\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }" { (expression_statement "pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);" (assignment_expression "pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" identifier = (pointer_expression "*(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" * (cast_expression "(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" ( (binary_expression "(&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4" (subscript_expression "(&PTR_DAT_00032cc4)[(param_1 / 100) * 2]" (parenthesized_expression "(&PTR_DAT_00032cc4)" ( (pointer_expression "&PTR_DAT_00032cc4" & identifier) )) [ (binary_expression "(param_1 / 100) * 2" (parenthesized_expression "(param_1 / 100)" ( (binary_expression "param_1 / 100" identifier / number_literal) )) * number_literal) ]) + (binary_expression "(param_1 % 100) * 4" (parenthesized_expression "(param_1 % 100)" ( (binary_expression "param_1 % 100" identifier % number_literal) )) * number_literal)) ))))) ;) })) })) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT % LIT) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT / LIT) )) * LIT)) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (parenthesized_expression ( (binary_expression IDENT / LIT) )) * LIT) ]) + (binary_expression (parenthesized_expression ( (binary_expression IDENT % LIT) )) * LIT)) ))))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "char * MHD_get_reason_phrase_for(uint param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}" (primitive_type "char") (pointer_declarator "* MHD_get_reason_phrase_for(uint param_1)" (* "*") (function_declarator "MHD_get_reason_phrase_for(uint param_1)" (identifier "MHD_get_reason_phrase_for") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = "Unknown";\n  if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }\n  return pcVar1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = "Unknown";" (assignment_expression "pcVar1 = "Unknown"" (identifier "pcVar1") (= "=") (string_literal ""Unknown"" (" """) (string_content "Unknown") (" """))) (; ";")) (if_statement "if (param_1 - 100 < 500) {\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }" (if "if") (parenthesized_expression "(param_1 - 100 < 500)" (( "(") (binary_expression "param_1 - 100 < 500" (binary_expression "param_1 - 100" (identifier "param_1") (- "-") (number_literal "100")) (< "<") (number_literal "500")) () ")")) (compound_statement "{\n    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }\n  }" ({ "{") (if_statement "if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }" (if "if") (parenthesized_expression "(param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8))" (( "(") (binary_expression "param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" (binary_expression "param_1 % 100" (identifier "param_1") (% "%") (number_literal "100")) (< "<") (pointer_expression "*(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" (* "*") (cast_expression "(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00032cc0 + (param_1 / 100) * 8)" (( "(") (binary_expression "&DAT_00032cc0 + (param_1 / 100) * 8" (pointer_expression "&DAT_00032cc0" (& "&") (identifier "DAT_00032cc0")) (+ "+") (binary_expression "(param_1 / 100) * 8" (parenthesized_expression "(param_1 / 100)" (( "(") (binary_expression "param_1 / 100" (identifier "param_1") (/ "/") (number_literal "100")) () ")")) (* "*") (number_literal "8"))) () ")"))))) () ")")) (compound_statement "{\n      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);\n    }" ({ "{") (expression_statement "pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);" (assignment_expression "pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" (* "*") (cast_expression "(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4)" (( "(") (binary_expression "(&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4" (subscript_expression "(&PTR_DAT_00032cc4)[(param_1 / 100) * 2]" (parenthesized_expression "(&PTR_DAT_00032cc4)" (( "(") (pointer_expression "&PTR_DAT_00032cc4" (& "&") (identifier "PTR_DAT_00032cc4")) () ")")) ([ "[") (binary_expression "(param_1 / 100) * 2" (parenthesized_expression "(param_1 / 100)" (( "(") (binary_expression "param_1 / 100" (identifier "param_1") (/ "/") (number_literal "100")) () ")")) (* "*") (number_literal "2")) (] "]")) (+ "+") (binary_expression "(param_1 % 100) * 4" (parenthesized_expression "(param_1 % 100)" (( "(") (binary_expression "param_1 % 100" (identifier "param_1") (% "%") (number_literal "100")) () ")")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (} "}"))) (return_statement "return pcVar1;" (return "return") (identifier "pcVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00012150 */
/* WARNING: Unknown calling convention */

char * function_1(type_1 var_1)

{
  char *pcVar1;
  
  pcVar1 = "Unknown";
  if (var_1 - 100 < 500) {
    if (var_1 % 100 < reasons[var_1 / 100].max) {
      pcVar1 = reasons[var_1 / 100].data[var_1 % 100];
    }
  }
  return pcVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00012150 */

char * MASKED(uint param_1)

{
  char *pcVar1;
  
  pcVar1 = "Unknown";
  if (param_1 - 100 < 500) {
    if (param_1 % 100 < *(uint *)(&DAT_00032cc0 + (param_1 / 100) * 8)) {
      pcVar1 = *(char **)((&PTR_DAT_00032cc4)[(param_1 / 100) * 2] + (param_1 % 100) * 4);
    }
  }
  return pcVar1;
}

