
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

char * __regparm3 dlang_number(char *mangled,long *ret)

{
  byte *pbVar1;
  int iVar2;
  
  if (mangled == (char *)0x0) {
    return (char *)0x0;
  }
  if ((_sch_istable[(byte)*mangled] & 4) == 0) {
    return (char *)0x0;
  }
  *ret = 0;
  if ((_sch_istable[(byte)*mangled] & 4) == 0) {
    if (*mangled == 0) {
      return (char *)0x0;
    }
  }
  else {
    iVar2 = 0;
    pbVar1 = (byte *)mangled;
    do {
      mangled = (char *)(pbVar1 + 1);
      *ret = iVar2 * 10;
      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;
      *ret = iVar2;
      pbVar1 = (byte *)mangled;
    } while ((_sch_istable[(byte)*mangled] & 4) != 0);
    if (*mangled == 0) {
      return (char *)0x0;
    }
    if (iVar2 < 0) {
      return (char *)0x0;
    }
  }
  return mangled;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)

{
  byte *pbVar1;
  int iVar2;
  
  if (param_1 == (byte *)0x0) {
    return (byte *)0x0;
  }
  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {
    return (byte *)0x0;
  }
  *param_2 = 0;
  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {
    if (*param_1 == 0) {
      return (byte *)0x0;
    }
  }
  else {
    iVar2 = 0;
    pbVar1 = param_1;
    do {
      param_1 = pbVar1 + 1;
      *param_2 = iVar2 * 10;
      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;
      *param_2 = iVar2;
      pbVar1 = param_1;
    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);
    if (*param_1 == 0) {
      return (byte *)0x0;
    }
    if (iVar2 < 0) {
      return (byte *)0x0;
    }
  }
  return param_1;
}


CALL 0x000650b8
ADD ECX,0x1ad2ab
TEST EAX,EAX
JZ 0x001e1dc8
PUSH EDI
PUSH ESI
LEA ESI,[ECX + 0xfff14600]
PUSH EBX
MOVZX ECX,byte ptr [EAX]
TEST byte ptr [ESI + ECX*0x2],0x4
JZ 0x001e1dbc
MOV dword ptr [EDX],0x0
MOVZX EBX,byte ptr [EAX]
TEST byte ptr [ESI + EBX*0x2],0x4
JZ 0x001e1db8
XOR ECX,ECX
LEA ESI,[ESI]
LEA ECX,[ECX + ECX*0x4]
ADD EAX,0x1
ADD ECX,ECX
MOV dword ptr [EDX],ECX
MOVSX EBX,byte ptr [EAX + -0x1]
LEA ECX,[ECX + EBX*0x1 + -0x30]
MOV dword ptr [EDX],ECX
MOVZX EDI,byte ptr [EAX]
MOV EBX,EDI
TEST byte ptr [ESI + EDI*0x2],0x4
JNZ 0x001e1d88
TEST BL,BL
JZ 0x001e1dbc
TEST ECX,ECX
JS 0x001e1dbc
POP EBX
POP ESI
POP EDI
RET
TEST BL,BL
JNZ 0x001e1daf
POP EBX
XOR EAX,EAX
POP ESI
POP EDI
RET
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nbyte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }\n  *param_2 = 0;\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }\n  return param_1;\n}\n\n" comment (ERROR "byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)" (binary_expression "byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_001e1d50(byte *param_1,int *param_2)" identifier (argument_list "(byte *param_1,int *param_2)" ( (binary_expression "byte *param_1" identifier * identifier) , (binary_expression "int *param_2" identifier * identifier) ))))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }\n  *param_2 = 0;\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }\n  return param_1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0)" ( (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" ( (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" ( (pointer_expression "&DAT_002a3600" & identifier) )) [ (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (if_statement "if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" if (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0)" ( (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" ( (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" ( (pointer_expression "&DAT_002a3600" & identifier) )) [ (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }" { (if_statement "if (*param_1 == 0) {\n      return (byte *)0x0;\n    }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n      return (byte *)0x0;\n    }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }) (else_clause "else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" else (compound_statement "{\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "pbVar1 = param_1;" (assignment_expression "pbVar1 = param_1" identifier = identifier) ;) (do_statement "do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);" do (compound_statement "{\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    }" { (expression_statement "param_1 = pbVar1 + 1;" (assignment_expression "param_1 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar2 * 10;" (assignment_expression "*param_2 = iVar2 * 10" (pointer_expression "*param_2" * identifier) = (binary_expression "iVar2 * 10" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;" (assignment_expression "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1" identifier = (binary_expression "iVar2 * 10 + -0x30 + (int)(char)*pbVar1" (binary_expression "iVar2 * 10 + -0x30" (binary_expression "iVar2 * 10" identifier * number_literal) + number_literal) + (cast_expression "(int)(char)*pbVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*pbVar1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar1" * identifier))))) ;) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "pbVar1 = param_1;" (assignment_expression "pbVar1 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0)" ( (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" ( (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" ( (pointer_expression "&DAT_002a3600" & identifier) )) [ (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) ;) (if_statement "if (*param_1 == 0) {\n      return (byte *)0x0;\n    }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n      return (byte *)0x0;\n    }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (iVar2 < 0) {\n      return (byte *)0x0;\n    }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n      return (byte *)0x0;\n    }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }))) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nchar * __regparm3 dlang_number(char *mangled,long *ret)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (mangled == (char *)0x0) {\n    return (char *)0x0;\n  }\n  if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    return (char *)0x0;\n  }\n  *ret = 0;\n  if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = (byte *)mangled;\n    do {\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    } while ((_sch_istable[(byte)*mangled] & 4) != 0);\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (char *)0x0;\n    }\n  }\n  return mangled;\n}\n\n" comment (function_definition "char * __regparm3 dlang_number(char *mangled,long *ret)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (mangled == (char *)0x0) {\n    return (char *)0x0;\n  }\n  if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    return (char *)0x0;\n  }\n  *ret = 0;\n  if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = (byte *)mangled;\n    do {\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    } while ((_sch_istable[(byte)*mangled] & 4) != 0);\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (char *)0x0;\n    }\n  }\n  return mangled;\n}" primitive_type (pointer_declarator "* __regparm3 dlang_number(char *mangled,long *ret)" * (ERROR "__regparm3" identifier) (function_declarator "dlang_number(char *mangled,long *ret)" identifier (parameter_list "(char *mangled,long *ret)" ( (parameter_declaration "char *mangled" primitive_type (pointer_declarator "*mangled" * identifier)) , (parameter_declaration "long *ret" (sized_type_specifier "long" long) (pointer_declarator "*ret" * identifier)) )))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (mangled == (char *)0x0) {\n    return (char *)0x0;\n  }\n  if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    return (char *)0x0;\n  }\n  *ret = 0;\n  if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = (byte *)mangled;\n    do {\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    } while ((_sch_istable[(byte)*mangled] & 4) != 0);\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (char *)0x0;\n    }\n  }\n  return mangled;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (mangled == (char *)0x0) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "(mangled == (char *)0x0)" ( (binary_expression "mangled == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "((_sch_istable[(byte)*mangled] & 4) == 0)" ( (binary_expression "(_sch_istable[(byte)*mangled] & 4) == 0" (parenthesized_expression "(_sch_istable[(byte)*mangled] & 4)" ( (binary_expression "_sch_istable[(byte)*mangled] & 4" (subscript_expression "_sch_istable[(byte)*mangled]" identifier [ (binary_expression "(byte)*mangled" (parenthesized_expression "(byte)" ( identifier )) * identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "*ret = 0;" (assignment_expression "*ret = 0" (pointer_expression "*ret" * identifier) = number_literal) ;) (if_statement "if ((_sch_istable[(byte)*mangled] & 4) == 0) {\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = (byte *)mangled;\n    do {\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    } while ((_sch_istable[(byte)*mangled] & 4) != 0);\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (char *)0x0;\n    }\n  }" if (parenthesized_expression "((_sch_istable[(byte)*mangled] & 4) == 0)" ( (binary_expression "(_sch_istable[(byte)*mangled] & 4) == 0" (parenthesized_expression "(_sch_istable[(byte)*mangled] & 4)" ( (binary_expression "_sch_istable[(byte)*mangled] & 4" (subscript_expression "_sch_istable[(byte)*mangled]" identifier [ (binary_expression "(byte)*mangled" (parenthesized_expression "(byte)" ( identifier )) * identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n  }" { (if_statement "if (*mangled == 0) {\n      return (char *)0x0;\n    }" if (parenthesized_expression "(*mangled == 0)" ( (binary_expression "*mangled == 0" (pointer_expression "*mangled" * identifier) == number_literal) )) (compound_statement "{\n      return (char *)0x0;\n    }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }) (else_clause "else {\n    iVar2 = 0;\n    pbVar1 = (byte *)mangled;\n    do {\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    } while ((_sch_istable[(byte)*mangled] & 4) != 0);\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (char *)0x0;\n    }\n  }" else (compound_statement "{\n    iVar2 = 0;\n    pbVar1 = (byte *)mangled;\n    do {\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    } while ((_sch_istable[(byte)*mangled] & 4) != 0);\n    if (*mangled == 0) {\n      return (char *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (char *)0x0;\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "pbVar1 = (byte *)mangled;" (assignment_expression "pbVar1 = (byte *)mangled" identifier = (cast_expression "(byte *)mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    } while ((_sch_istable[(byte)*mangled] & 4) != 0);" do (compound_statement "{\n      mangled = (char *)(pbVar1 + 1);\n      *ret = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *ret = iVar2;\n      pbVar1 = (byte *)mangled;\n    }" { (expression_statement "mangled = (char *)(pbVar1 + 1);" (assignment_expression "mangled = (char *)(pbVar1 + 1)" identifier = (cast_expression "(char *)(pbVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar1 + 1)" ( (binary_expression "pbVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "*ret = iVar2 * 10;" (assignment_expression "*ret = iVar2 * 10" (pointer_expression "*ret" * identifier) = (binary_expression "iVar2 * 10" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;" (assignment_expression "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1" identifier = (binary_expression "iVar2 * 10 + -0x30 + (int)(char)*pbVar1" (binary_expression "iVar2 * 10 + -0x30" (binary_expression "iVar2 * 10" identifier * number_literal) + number_literal) + (cast_expression "(int)(char)*pbVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*pbVar1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar1" * identifier))))) ;) (expression_statement "*ret = iVar2;" (assignment_expression "*ret = iVar2" (pointer_expression "*ret" * identifier) = identifier) ;) (expression_statement "pbVar1 = (byte *)mangled;" (assignment_expression "pbVar1 = (byte *)mangled" identifier = (cast_expression "(byte *)mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "((_sch_istable[(byte)*mangled] & 4) != 0)" ( (binary_expression "(_sch_istable[(byte)*mangled] & 4) != 0" (parenthesized_expression "(_sch_istable[(byte)*mangled] & 4)" ( (binary_expression "_sch_istable[(byte)*mangled] & 4" (subscript_expression "_sch_istable[(byte)*mangled]" identifier [ (binary_expression "(byte)*mangled" (parenthesized_expression "(byte)" ( identifier )) * identifier) ]) & number_literal) )) != number_literal) )) ;) (if_statement "if (*mangled == 0) {\n      return (char *)0x0;\n    }" if (parenthesized_expression "(*mangled == 0)" ( (binary_expression "*mangled == 0" (pointer_expression "*mangled" * identifier) == number_literal) )) (compound_statement "{\n      return (char *)0x0;\n    }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (iVar2 < 0) {\n      return (char *)0x0;\n    }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n      return (char *)0x0;\n    }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }))) (return_statement "return mangled;" return identifier ;) })))
(translation_unit "byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }\n  *param_2 = 0;\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }\n  return param_1;\n}\n\n" (ERROR "byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)" (binary_expression "byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_001e1d50(byte *param_1,int *param_2)" identifier (argument_list "(byte *param_1,int *param_2)" ( (binary_expression "byte *param_1" identifier * identifier) , (binary_expression "int *param_2" identifier * identifier) ))))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }\n  *param_2 = 0;\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }\n  return param_1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0)" ( (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" ( (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" ( (pointer_expression "&DAT_002a3600" & identifier) )) [ (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (if_statement "if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" if (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0)" ( (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" ( (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" ( (pointer_expression "&DAT_002a3600" & identifier) )) [ (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }" { (if_statement "if (*param_1 == 0) {\n      return (byte *)0x0;\n    }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n      return (byte *)0x0;\n    }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }) (else_clause "else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" else (compound_statement "{\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "pbVar1 = param_1;" (assignment_expression "pbVar1 = param_1" identifier = identifier) ;) (do_statement "do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);" do (compound_statement "{\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    }" { (expression_statement "param_1 = pbVar1 + 1;" (assignment_expression "param_1 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar2 * 10;" (assignment_expression "*param_2 = iVar2 * 10" (pointer_expression "*param_2" * identifier) = (binary_expression "iVar2 * 10" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;" (assignment_expression "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1" identifier = (binary_expression "iVar2 * 10 + -0x30 + (int)(char)*pbVar1" (binary_expression "iVar2 * 10 + -0x30" (binary_expression "iVar2 * 10" identifier * number_literal) + number_literal) + (cast_expression "(int)(char)*pbVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*pbVar1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar1" * identifier))))) ;) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "pbVar1 = param_1;" (assignment_expression "pbVar1 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0)" ( (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" ( (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" ( (pointer_expression "&DAT_002a3600" & identifier) )) [ (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ]) & number_literal) )) != number_literal) )) ;) (if_statement "if (*param_1 == 0) {\n      return (byte *)0x0;\n    }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n      return (byte *)0x0;\n    }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (iVar2 < 0) {\n      return (byte *)0x0;\n    }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n      return (byte *)0x0;\n    }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }))) (return_statement "return param_1;" return identifier ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , (binary_expression IDENT * IDENT) ))))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ]) & LIT) )) == LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ]) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT * LIT) + LIT) + (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ]) & LIT) )) != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) }))) (return_statement return IDENT ;) }))
(ERROR "byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)" (binary_expression "byte * __regparm3 FUN_001e1d50(byte *param_1,int *param_2)" (identifier "byte") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_001e1d50(byte *param_1,int *param_2)" (identifier "FUN_001e1d50") (argument_list "(byte *param_1,int *param_2)" (( "(") (binary_expression "byte *param_1" (identifier "byte") (* "*") (identifier "param_1")) (, ",") (binary_expression "int *param_2" (identifier "int") (* "*") (identifier "param_2")) () ")"))))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  \n  if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }\n  *param_2 = 0;\n  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }\n  return param_1;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 == (byte *)0x0) {\n    return (byte *)0x0;\n  }" (if "if") (parenthesized_expression "(param_1 == (byte *)0x0)" (( "(") (binary_expression "param_1 == (byte *)0x0" (identifier "param_1") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return (byte *)0x0;\n  }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (if_statement "if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    return (byte *)0x0;\n  }" (if "if") (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0)" (( "(") (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" (( "(") (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" (( "(") (pointer_expression "&DAT_002a3600" (& "&") (identifier "DAT_002a3600")) () ")")) ([ "[") (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return (byte *)0x0;\n  }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }\n  else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" (if "if") (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0)" (( "(") (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" (( "(") (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" (( "(") (pointer_expression "&DAT_002a3600" (& "&") (identifier "DAT_002a3600")) () ")")) ([ "[") (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n  }" ({ "{") (if_statement "if (*param_1 == 0) {\n      return (byte *)0x0;\n    }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return (byte *)0x0;\n    }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = 0;\n    pbVar1 = param_1;\n    do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);\n    if (*param_1 == 0) {\n      return (byte *)0x0;\n    }\n    if (iVar2 < 0) {\n      return (byte *)0x0;\n    }\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar1 = param_1;" (assignment_expression "pbVar1 = param_1" (identifier "pbVar1") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);" (do "do") (compound_statement "{\n      param_1 = pbVar1 + 1;\n      *param_2 = iVar2 * 10;\n      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;\n      *param_2 = iVar2;\n      pbVar1 = param_1;\n    }" ({ "{") (expression_statement "param_1 = pbVar1 + 1;" (assignment_expression "param_1 = pbVar1 + 1" (identifier "param_1") (= "=") (binary_expression "pbVar1 + 1" (identifier "pbVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_2 = iVar2 * 10;" (assignment_expression "*param_2 = iVar2 * 10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "iVar2 * 10" (identifier "iVar2") (* "*") (number_literal "10"))) (; ";")) (expression_statement "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;" (assignment_expression "iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1" (identifier "iVar2") (= "=") (binary_expression "iVar2 * 10 + -0x30 + (int)(char)*pbVar1" (binary_expression "iVar2 * 10 + -0x30" (binary_expression "iVar2 * 10" (identifier "iVar2") (* "*") (number_literal "10")) (+ "+") (number_literal "-0x30")) (+ "+") (cast_expression "(int)(char)*pbVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)*pbVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")))))) (; ";")) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "pbVar1 = param_1;" (assignment_expression "pbVar1 = param_1" (identifier "pbVar1") (= "=") (identifier "param_1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0)" (( "(") (binary_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0" (parenthesized_expression "((&DAT_002a3600)[(uint)*param_1 * 2] & 4)" (( "(") (binary_expression "(&DAT_002a3600)[(uint)*param_1 * 2] & 4" (subscript_expression "(&DAT_002a3600)[(uint)*param_1 * 2]" (parenthesized_expression "(&DAT_002a3600)" (( "(") (pointer_expression "&DAT_002a3600" (& "&") (identifier "DAT_002a3600")) () ")")) ([ "[") (binary_expression "(uint)*param_1 * 2" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if (*param_1 == 0) {\n      return (byte *)0x0;\n    }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return (byte *)0x0;\n    }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (if_statement "if (iVar2 < 0) {\n      return (byte *)0x0;\n    }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      return (byte *)0x0;\n    }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (} "}")))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

char * __regparm3 function_1(char *var_1,long *ret)

{
  type_1 *var_2;
  int var_3;
  
  if (var_1 == (char *)0x0) {
    return (char *)0x0;
  }
  if ((_sch_istable[(type_1)*var_1] & 4) == 0) {
    return (char *)0x0;
  }
  *ret = 0;
  if ((_sch_istable[(type_1)*var_1] & 4) == 0) {
    if (*var_1 == 0) {
      return (char *)0x0;
    }
  }
  else {
    var_3 = 0;
    var_2 = (type_1 *)var_1;
    do {
      var_1 = (char *)(var_2 + 1);
      *ret = var_3 * 10;
      var_3 = var_3 * 10 + -0x30 + (int)(char)*var_2;
      *ret = var_3;
      var_2 = (type_1 *)var_1;
    } while ((_sch_istable[(type_1)*var_1] & 4) != 0);
    if (*var_1 == 0) {
      return (char *)0x0;
    }
    if (var_3 < 0) {
      return (char *)0x0;
    }
  }
  return var_1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

byte * __regparm3 MASKED(byte *param_1,int *param_2)

{
  byte *pbVar1;
  int iVar2;
  
  if (param_1 == (byte *)0x0) {
    return (byte *)0x0;
  }
  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {
    return (byte *)0x0;
  }
  *param_2 = 0;
  if (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) == 0) {
    if (*param_1 == 0) {
      return (byte *)0x0;
    }
  }
  else {
    iVar2 = 0;
    pbVar1 = param_1;
    do {
      param_1 = pbVar1 + 1;
      *param_2 = iVar2 * 10;
      iVar2 = iVar2 * 10 + -0x30 + (int)(char)*pbVar1;
      *param_2 = iVar2;
      pbVar1 = param_1;
    } while (((&DAT_002a3600)[(uint)*param_1 * 2] & 4) != 0);
    if (*param_1 == 0) {
      return (byte *)0x0;
    }
    if (iVar2 < 0) {
      return (byte *)0x0;
    }
  }
  return param_1;
}

