
int snarf_numeric_literal(char **args,string *arg)

{
  byte bVar1;
  byte *pbVar2;
  char *pcVar3;
  int iVar4;
  ulong uVar5;
  
  pbVar2 = (byte *)*args;
  bVar1 = *pbVar2;
  uVar5 = (ulong)bVar1;
  if (bVar1 == 0x2d) {
    char_str[0] = '-';
    string_append(arg,char_str);
    pcVar3 = *args;
    *args = pcVar3 + 1;
    uVar5 = (ulong)(byte)pcVar3[1];
  }
  else if (bVar1 == 0x2b) {
    *args = (char *)(pbVar2 + 1);
    uVar5 = (ulong)pbVar2[1];
  }
  iVar4 = 0;
  if ((_sch_istable[uVar5] & 4) != 0) {
    do {
      char_str[0] = (char)uVar5;
      if (char_str[0] != '\0') {
        string_append(arg,char_str);
      }
      pcVar3 = *args;
      *args = pcVar3 + 1;
      uVar5 = (ulong)(byte)pcVar3[1];
    } while ((_sch_istable[uVar5] & 4) != 0);
    iVar4 = 1;
  }
  return iVar4;
}



undefined8 FUN_002d81f0(long *param_1,undefined8 param_2)

{
  byte bVar1;
  byte *pbVar2;
  long lVar3;
  ulong uVar4;
  undefined8 uVar5;
  
  pbVar2 = (byte *)*param_1;
  bVar1 = *pbVar2;
  uVar4 = (ulong)bVar1;
  if (bVar1 == 0x2d) {
    DAT_0046332c = '-';
    FUN_002d8170(param_2,&DAT_0046332c);
    lVar3 = *param_1;
    *param_1 = lVar3 + 1;
    uVar4 = (ulong)*(byte *)(lVar3 + 1);
  }
  else if (bVar1 == 0x2b) {
    *param_1 = (long)(pbVar2 + 1);
    uVar4 = (ulong)pbVar2[1];
  }
  uVar5 = 0;
  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {
    do {
      DAT_0046332c = (char)uVar4;
      if (DAT_0046332c != '\0') {
        FUN_002d8170(param_2,&DAT_0046332c);
      }
      lVar3 = *param_1;
      *param_1 = lVar3 + 1;
      uVar4 = (ulong)*(byte *)(lVar3 + 1);
    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);
    uVar5 = 1;
  }
  return uVar5;
}


PUSH R14
PUSH R13
PUSH R12
PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RAX,qword ptr [RDI]
MOV RBX,RDI
MOVZX EDX,byte ptr [RAX]
CMP DL,0x2d
JZ 0x002d8280
CMP DL,0x2b
JNZ 0x002d8219
LEA RDX,[RAX + 0x1]
MOV qword ptr [RDI],RDX
MOVZX EDX,byte ptr [RAX + 0x1]
LEA R13,[0x3a7ea0]
MOVZX ECX,DL
XOR EAX,EAX
TEST byte ptr [R13 + RCX*0x2],0x4
JZ 0x002d8270
LEA R14,[0x46332c]
MOV R12,R14
NOP word ptr [RAX + RAX*0x1]
MOV byte ptr [R14],DL
TEST DL,DL
JZ 0x002d8252
MOV RSI,R12
MOV RDI,RBP
CALL 0x002d8170
MOV RAX,qword ptr [RBX]
LEA RDX,[RAX + 0x1]
MOV qword ptr [RBX],RDX
MOVZX EAX,byte ptr [RAX + 0x1]
MOV RDX,RAX
TEST byte ptr [R13 + RAX*0x2],0x4
JNZ 0x002d8240
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
LEA RSI,[0x46332c]
MOV RDI,RBP
MOV byte ptr [0x0046332c],0x2d
CALL 0x002d8170
MOV RAX,qword ptr [RBX]
LEA RDX,[RAX + 0x1]
MOV qword ptr [RBX],RDX
MOVZX EDX,byte ptr [RAX + 0x1]
JMP 0x002d8219
(translation_unit "undefined8 FUN_002d81f0(long *param_1,undefined8 param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined8 FUN_002d81f0(long *param_1,undefined8 param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_002d81f0(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "pbVar2 = (byte *)*param_1;" (assignment_expression "pbVar2 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "bVar1 = *pbVar2;" (assignment_expression "bVar1 = *pbVar2" identifier = (pointer_expression "*pbVar2" * identifier)) ;) (expression_statement "uVar4 = (ulong)bVar1;" (assignment_expression "uVar4 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }" { (expression_statement "DAT_0046332c = '-';" (assignment_expression "DAT_0046332c = '-'" identifier = (char_literal "'-'" ' character ')) ;) (expression_statement "FUN_002d8170(param_2,&DAT_0046332c);" (call_expression "FUN_002d8170(param_2,&DAT_0046332c)" identifier (argument_list "(param_2,&DAT_0046332c)" ( identifier , (pointer_expression "&DAT_0046332c" & identifier) ))) ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = lVar3 + 1;" (assignment_expression "*param_1 = lVar3 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (ulong)*(byte *)(lVar3 + 1);" (assignment_expression "uVar4 = (ulong)*(byte *)(lVar3 + 1)" identifier = (binary_expression "(ulong)*(byte *)(lVar3 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(lVar3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 1)" ( (binary_expression "lVar3 + 1" identifier + number_literal) ))))) ;) }) (else_clause "else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" else (if_statement "if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" if (parenthesized_expression "(bVar1 == 0x2b)" ( (binary_expression "bVar1 == 0x2b" identifier == number_literal) )) (compound_statement "{\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" { (expression_statement "*param_1 = (long)(pbVar2 + 1);" (assignment_expression "*param_1 = (long)(pbVar2 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(pbVar2 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pbVar2 + 1)" ( (binary_expression "pbVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar4 = (ulong)pbVar2[1];" (assignment_expression "uVar4 = (ulong)pbVar2[1]" identifier = (cast_expression "(ulong)pbVar2[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "pbVar2[1]" identifier [ number_literal ]))) ;) })))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }" if (parenthesized_expression "(((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0)" ( (binary_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0" (parenthesized_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4)" ( (binary_expression "(&DAT_003a7ea0)[uVar4 * 2] & 4" (subscript_expression "(&DAT_003a7ea0)[uVar4 * 2]" (parenthesized_expression "(&DAT_003a7ea0)" ( (pointer_expression "&DAT_003a7ea0" & identifier) )) [ (binary_expression "uVar4 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }" { (do_statement "do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);" do (compound_statement "{\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    }" { (expression_statement "DAT_0046332c = (char)uVar4;" (assignment_expression "DAT_0046332c = (char)uVar4" identifier = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }" if (parenthesized_expression "(DAT_0046332c != '\0')" ( (binary_expression "DAT_0046332c != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }" { (expression_statement "FUN_002d8170(param_2,&DAT_0046332c);" (call_expression "FUN_002d8170(param_2,&DAT_0046332c)" identifier (argument_list "(param_2,&DAT_0046332c)" ( identifier , (pointer_expression "&DAT_0046332c" & identifier) ))) ;) })) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = lVar3 + 1;" (assignment_expression "*param_1 = lVar3 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (ulong)*(byte *)(lVar3 + 1);" (assignment_expression "uVar4 = (ulong)*(byte *)(lVar3 + 1)" identifier = (binary_expression "(ulong)*(byte *)(lVar3 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(lVar3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 1)" ( (binary_expression "lVar3 + 1" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0)" ( (binary_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0" (parenthesized_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4)" ( (binary_expression "(&DAT_003a7ea0)[uVar4 * 2] & 4" (subscript_expression "(&DAT_003a7ea0)[uVar4 * 2]" (parenthesized_expression "(&DAT_003a7ea0)" ( (pointer_expression "&DAT_003a7ea0" & identifier) )) [ (binary_expression "uVar4 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "int snarf_numeric_literal(char **args,string *arg)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  char *pcVar3;\n  int iVar4;\n  ulong uVar5;\n  \n  pbVar2 = (byte *)*args;\n  bVar1 = *pbVar2;\n  uVar5 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    char_str[0] = '-';\n    string_append(arg,char_str);\n    pcVar3 = *args;\n    *args = pcVar3 + 1;\n    uVar5 = (ulong)(byte)pcVar3[1];\n  }\n  else if (bVar1 == 0x2b) {\n    *args = (char *)(pbVar2 + 1);\n    uVar5 = (ulong)pbVar2[1];\n  }\n  iVar4 = 0;\n  if ((_sch_istable[uVar5] & 4) != 0) {\n    do {\n      char_str[0] = (char)uVar5;\n      if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }\n      pcVar3 = *args;\n      *args = pcVar3 + 1;\n      uVar5 = (ulong)(byte)pcVar3[1];\n    } while ((_sch_istable[uVar5] & 4) != 0);\n    iVar4 = 1;\n  }\n  return iVar4;\n}\n\n" (function_definition "int snarf_numeric_literal(char **args,string *arg)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  char *pcVar3;\n  int iVar4;\n  ulong uVar5;\n  \n  pbVar2 = (byte *)*args;\n  bVar1 = *pbVar2;\n  uVar5 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    char_str[0] = '-';\n    string_append(arg,char_str);\n    pcVar3 = *args;\n    *args = pcVar3 + 1;\n    uVar5 = (ulong)(byte)pcVar3[1];\n  }\n  else if (bVar1 == 0x2b) {\n    *args = (char *)(pbVar2 + 1);\n    uVar5 = (ulong)pbVar2[1];\n  }\n  iVar4 = 0;\n  if ((_sch_istable[uVar5] & 4) != 0) {\n    do {\n      char_str[0] = (char)uVar5;\n      if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }\n      pcVar3 = *args;\n      *args = pcVar3 + 1;\n      uVar5 = (ulong)(byte)pcVar3[1];\n    } while ((_sch_istable[uVar5] & 4) != 0);\n    iVar4 = 1;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "snarf_numeric_literal(char **args,string *arg)" identifier (parameter_list "(char **args,string *arg)" ( (parameter_declaration "char **args" primitive_type (pointer_declarator "**args" * (pointer_declarator "*args" * identifier))) , (parameter_declaration "string *arg" type_identifier (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  char *pcVar3;\n  int iVar4;\n  ulong uVar5;\n  \n  pbVar2 = (byte *)*args;\n  bVar1 = *pbVar2;\n  uVar5 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    char_str[0] = '-';\n    string_append(arg,char_str);\n    pcVar3 = *args;\n    *args = pcVar3 + 1;\n    uVar5 = (ulong)(byte)pcVar3[1];\n  }\n  else if (bVar1 == 0x2b) {\n    *args = (char *)(pbVar2 + 1);\n    uVar5 = (ulong)pbVar2[1];\n  }\n  iVar4 = 0;\n  if ((_sch_istable[uVar5] & 4) != 0) {\n    do {\n      char_str[0] = (char)uVar5;\n      if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }\n      pcVar3 = *args;\n      *args = pcVar3 + 1;\n      uVar5 = (ulong)(byte)pcVar3[1];\n    } while ((_sch_istable[uVar5] & 4) != 0);\n    iVar4 = 1;\n  }\n  return iVar4;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "pbVar2 = (byte *)*args;" (assignment_expression "pbVar2 = (byte *)*args" identifier = (cast_expression "(byte *)*args" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*args" * identifier))) ;) (expression_statement "bVar1 = *pbVar2;" (assignment_expression "bVar1 = *pbVar2" identifier = (pointer_expression "*pbVar2" * identifier)) ;) (expression_statement "uVar5 = (ulong)bVar1;" (assignment_expression "uVar5 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (bVar1 == 0x2d) {\n    char_str[0] = '-';\n    string_append(arg,char_str);\n    pcVar3 = *args;\n    *args = pcVar3 + 1;\n    uVar5 = (ulong)(byte)pcVar3[1];\n  }\n  else if (bVar1 == 0x2b) {\n    *args = (char *)(pbVar2 + 1);\n    uVar5 = (ulong)pbVar2[1];\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n    char_str[0] = '-';\n    string_append(arg,char_str);\n    pcVar3 = *args;\n    *args = pcVar3 + 1;\n    uVar5 = (ulong)(byte)pcVar3[1];\n  }" { (expression_statement "char_str[0] = '-';" (assignment_expression "char_str[0] = '-'" (subscript_expression "char_str[0]" identifier [ number_literal ]) = (char_literal "'-'" ' character ')) ;) (expression_statement "string_append(arg,char_str);" (call_expression "string_append(arg,char_str)" identifier (argument_list "(arg,char_str)" ( identifier , identifier ))) ;) (expression_statement "pcVar3 = *args;" (assignment_expression "pcVar3 = *args" identifier = (pointer_expression "*args" * identifier)) ;) (expression_statement "*args = pcVar3 + 1;" (assignment_expression "*args = pcVar3 + 1" (pointer_expression "*args" * identifier) = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (ulong)(byte)pcVar3[1];" (assignment_expression "uVar5 = (ulong)(byte)pcVar3[1]" identifier = (cast_expression "(ulong)(byte)pcVar3[1]" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(byte)pcVar3[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])))) ;) }) (else_clause "else if (bVar1 == 0x2b) {\n    *args = (char *)(pbVar2 + 1);\n    uVar5 = (ulong)pbVar2[1];\n  }" else (if_statement "if (bVar1 == 0x2b) {\n    *args = (char *)(pbVar2 + 1);\n    uVar5 = (ulong)pbVar2[1];\n  }" if (parenthesized_expression "(bVar1 == 0x2b)" ( (binary_expression "bVar1 == 0x2b" identifier == number_literal) )) (compound_statement "{\n    *args = (char *)(pbVar2 + 1);\n    uVar5 = (ulong)pbVar2[1];\n  }" { (expression_statement "*args = (char *)(pbVar2 + 1);" (assignment_expression "*args = (char *)(pbVar2 + 1)" (pointer_expression "*args" * identifier) = (cast_expression "(char *)(pbVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar2 + 1)" ( (binary_expression "pbVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar5 = (ulong)pbVar2[1];" (assignment_expression "uVar5 = (ulong)pbVar2[1]" identifier = (cast_expression "(ulong)pbVar2[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "pbVar2[1]" identifier [ number_literal ]))) ;) })))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if ((_sch_istable[uVar5] & 4) != 0) {\n    do {\n      char_str[0] = (char)uVar5;\n      if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }\n      pcVar3 = *args;\n      *args = pcVar3 + 1;\n      uVar5 = (ulong)(byte)pcVar3[1];\n    } while ((_sch_istable[uVar5] & 4) != 0);\n    iVar4 = 1;\n  }" if (parenthesized_expression "((_sch_istable[uVar5] & 4) != 0)" ( (binary_expression "(_sch_istable[uVar5] & 4) != 0" (parenthesized_expression "(_sch_istable[uVar5] & 4)" ( (binary_expression "_sch_istable[uVar5] & 4" (subscript_expression "_sch_istable[uVar5]" identifier [ identifier ]) & number_literal) )) != number_literal) )) (compound_statement "{\n    do {\n      char_str[0] = (char)uVar5;\n      if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }\n      pcVar3 = *args;\n      *args = pcVar3 + 1;\n      uVar5 = (ulong)(byte)pcVar3[1];\n    } while ((_sch_istable[uVar5] & 4) != 0);\n    iVar4 = 1;\n  }" { (do_statement "do {\n      char_str[0] = (char)uVar5;\n      if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }\n      pcVar3 = *args;\n      *args = pcVar3 + 1;\n      uVar5 = (ulong)(byte)pcVar3[1];\n    } while ((_sch_istable[uVar5] & 4) != 0);" do (compound_statement "{\n      char_str[0] = (char)uVar5;\n      if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }\n      pcVar3 = *args;\n      *args = pcVar3 + 1;\n      uVar5 = (ulong)(byte)pcVar3[1];\n    }" { (expression_statement "char_str[0] = (char)uVar5;" (assignment_expression "char_str[0] = (char)uVar5" (subscript_expression "char_str[0]" identifier [ number_literal ]) = (cast_expression "(char)uVar5" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (char_str[0] != '\0') {\n        string_append(arg,char_str);\n      }" if (parenthesized_expression "(char_str[0] != '\0')" ( (binary_expression "char_str[0] != '\0'" (subscript_expression "char_str[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        string_append(arg,char_str);\n      }" { (expression_statement "string_append(arg,char_str);" (call_expression "string_append(arg,char_str)" identifier (argument_list "(arg,char_str)" ( identifier , identifier ))) ;) })) (expression_statement "pcVar3 = *args;" (assignment_expression "pcVar3 = *args" identifier = (pointer_expression "*args" * identifier)) ;) (expression_statement "*args = pcVar3 + 1;" (assignment_expression "*args = pcVar3 + 1" (pointer_expression "*args" * identifier) = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = (ulong)(byte)pcVar3[1];" (assignment_expression "uVar5 = (ulong)(byte)pcVar3[1]" identifier = (cast_expression "(ulong)(byte)pcVar3[1]" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(byte)pcVar3[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])))) ;) }) while (parenthesized_expression "((_sch_istable[uVar5] & 4) != 0)" ( (binary_expression "(_sch_istable[uVar5] & 4) != 0" (parenthesized_expression "(_sch_istable[uVar5] & 4)" ( (binary_expression "_sch_istable[uVar5] & 4" (subscript_expression "_sch_istable[uVar5]" identifier [ identifier ]) & number_literal) )) != number_literal) )) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "undefined8 FUN_002d81f0(long *param_1,undefined8 param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined8 FUN_002d81f0(long *param_1,undefined8 param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_002d81f0(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "pbVar2 = (byte *)*param_1;" (assignment_expression "pbVar2 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "bVar1 = *pbVar2;" (assignment_expression "bVar1 = *pbVar2" identifier = (pointer_expression "*pbVar2" * identifier)) ;) (expression_statement "uVar4 = (ulong)bVar1;" (assignment_expression "uVar4 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" if (parenthesized_expression "(bVar1 == 0x2d)" ( (binary_expression "bVar1 == 0x2d" identifier == number_literal) )) (compound_statement "{\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }" { (expression_statement "DAT_0046332c = '-';" (assignment_expression "DAT_0046332c = '-'" identifier = (char_literal "'-'" ' character ')) ;) (expression_statement "FUN_002d8170(param_2,&DAT_0046332c);" (call_expression "FUN_002d8170(param_2,&DAT_0046332c)" identifier (argument_list "(param_2,&DAT_0046332c)" ( identifier , (pointer_expression "&DAT_0046332c" & identifier) ))) ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = lVar3 + 1;" (assignment_expression "*param_1 = lVar3 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (ulong)*(byte *)(lVar3 + 1);" (assignment_expression "uVar4 = (ulong)*(byte *)(lVar3 + 1)" identifier = (binary_expression "(ulong)*(byte *)(lVar3 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(lVar3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 1)" ( (binary_expression "lVar3 + 1" identifier + number_literal) ))))) ;) }) (else_clause "else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" else (if_statement "if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" if (parenthesized_expression "(bVar1 == 0x2b)" ( (binary_expression "bVar1 == 0x2b" identifier == number_literal) )) (compound_statement "{\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" { (expression_statement "*param_1 = (long)(pbVar2 + 1);" (assignment_expression "*param_1 = (long)(pbVar2 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(pbVar2 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pbVar2 + 1)" ( (binary_expression "pbVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar4 = (ulong)pbVar2[1];" (assignment_expression "uVar4 = (ulong)pbVar2[1]" identifier = (cast_expression "(ulong)pbVar2[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "pbVar2[1]" identifier [ number_literal ]))) ;) })))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }" if (parenthesized_expression "(((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0)" ( (binary_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0" (parenthesized_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4)" ( (binary_expression "(&DAT_003a7ea0)[uVar4 * 2] & 4" (subscript_expression "(&DAT_003a7ea0)[uVar4 * 2]" (parenthesized_expression "(&DAT_003a7ea0)" ( (pointer_expression "&DAT_003a7ea0" & identifier) )) [ (binary_expression "uVar4 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }" { (do_statement "do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);" do (compound_statement "{\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    }" { (expression_statement "DAT_0046332c = (char)uVar4;" (assignment_expression "DAT_0046332c = (char)uVar4" identifier = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }" if (parenthesized_expression "(DAT_0046332c != '\0')" ( (binary_expression "DAT_0046332c != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }" { (expression_statement "FUN_002d8170(param_2,&DAT_0046332c);" (call_expression "FUN_002d8170(param_2,&DAT_0046332c)" identifier (argument_list "(param_2,&DAT_0046332c)" ( identifier , (pointer_expression "&DAT_0046332c" & identifier) ))) ;) })) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_1 = lVar3 + 1;" (assignment_expression "*param_1 = lVar3 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (ulong)*(byte *)(lVar3 + 1);" (assignment_expression "uVar4 = (ulong)*(byte *)(lVar3 + 1)" identifier = (binary_expression "(ulong)*(byte *)(lVar3 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(lVar3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 1)" ( (binary_expression "lVar3 + 1" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0)" ( (binary_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0" (parenthesized_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4)" ( (binary_expression "(&DAT_003a7ea0)[uVar4 * 2] & 4" (subscript_expression "(&DAT_003a7ea0)[uVar4 * 2]" (parenthesized_expression "(&DAT_003a7ea0)" ( (pointer_expression "&DAT_003a7ea0" & identifier) )) [ (binary_expression "uVar4 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) })))) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) & LIT) )) != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) & LIT) )) != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_002d81f0(long *param_1,undefined8 param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" (type_identifier "undefined8") (function_declarator "FUN_002d81f0(long *param_1,undefined8 param_2)" (identifier "FUN_002d81f0") (parameter_list "(long *param_1,undefined8 param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  \n  pbVar2 = (byte *)*param_1;\n  bVar1 = *pbVar2;\n  uVar4 = (ulong)bVar1;\n  if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }\n  uVar5 = 0;\n  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (expression_statement "pbVar2 = (byte *)*param_1;" (assignment_expression "pbVar2 = (byte *)*param_1" (identifier "pbVar2") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "bVar1 = *pbVar2;" (assignment_expression "bVar1 = *pbVar2" (identifier "bVar1") (= "=") (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2"))) (; ";")) (expression_statement "uVar4 = (ulong)bVar1;" (assignment_expression "uVar4 = (ulong)bVar1" (identifier "uVar4") (= "=") (cast_expression "(ulong)bVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar1"))) (; ";")) (if_statement "if (bVar1 == 0x2d) {\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }\n  else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x2d)" (( "(") (binary_expression "bVar1 == 0x2d" (identifier "bVar1") (== "==") (number_literal "0x2d")) () ")")) (compound_statement "{\n    DAT_0046332c = '-';\n    FUN_002d8170(param_2,&DAT_0046332c);\n    lVar3 = *param_1;\n    *param_1 = lVar3 + 1;\n    uVar4 = (ulong)*(byte *)(lVar3 + 1);\n  }" ({ "{") (expression_statement "DAT_0046332c = '-';" (assignment_expression "DAT_0046332c = '-'" (identifier "DAT_0046332c") (= "=") (char_literal "'-'" (' "'") (character "-") (' "'"))) (; ";")) (expression_statement "FUN_002d8170(param_2,&DAT_0046332c);" (call_expression "FUN_002d8170(param_2,&DAT_0046332c)" (identifier "FUN_002d8170") (argument_list "(param_2,&DAT_0046332c)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_0046332c" (& "&") (identifier "DAT_0046332c")) () ")"))) (; ";")) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" (identifier "lVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*param_1 = lVar3 + 1;" (assignment_expression "*param_1 = lVar3 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = (ulong)*(byte *)(lVar3 + 1);" (assignment_expression "uVar4 = (ulong)*(byte *)(lVar3 + 1)" (identifier "uVar4") (= "=") (binary_expression "(ulong)*(byte *)(lVar3 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)(lVar3 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 1)" (( "(") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (} "}")) (else_clause "else if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" (else "else") (if_statement "if (bVar1 == 0x2b) {\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x2b)" (( "(") (binary_expression "bVar1 == 0x2b" (identifier "bVar1") (== "==") (number_literal "0x2b")) () ")")) (compound_statement "{\n    *param_1 = (long)(pbVar2 + 1);\n    uVar4 = (ulong)pbVar2[1];\n  }" ({ "{") (expression_statement "*param_1 = (long)(pbVar2 + 1);" (assignment_expression "*param_1 = (long)(pbVar2 + 1)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)(pbVar2 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(pbVar2 + 1)" (( "(") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar4 = (ulong)pbVar2[1];" (assignment_expression "uVar4 = (ulong)pbVar2[1]" (identifier "uVar4") (= "=") (cast_expression "(ulong)pbVar2[1]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "pbVar2[1]" (identifier "pbVar2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }" (if "if") (parenthesized_expression "(((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0)" (( "(") (binary_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0" (parenthesized_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4)" (( "(") (binary_expression "(&DAT_003a7ea0)[uVar4 * 2] & 4" (subscript_expression "(&DAT_003a7ea0)[uVar4 * 2]" (parenthesized_expression "(&DAT_003a7ea0)" (( "(") (pointer_expression "&DAT_003a7ea0" (& "&") (identifier "DAT_003a7ea0")) () ")")) ([ "[") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);\n    uVar5 = 1;\n  }" ({ "{") (do_statement "do {\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);" (do "do") (compound_statement "{\n      DAT_0046332c = (char)uVar4;\n      if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }\n      lVar3 = *param_1;\n      *param_1 = lVar3 + 1;\n      uVar4 = (ulong)*(byte *)(lVar3 + 1);\n    }" ({ "{") (expression_statement "DAT_0046332c = (char)uVar4;" (assignment_expression "DAT_0046332c = (char)uVar4" (identifier "DAT_0046332c") (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (if_statement "if (DAT_0046332c != '\0') {\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }" (if "if") (parenthesized_expression "(DAT_0046332c != '\0')" (( "(") (binary_expression "DAT_0046332c != '\0'" (identifier "DAT_0046332c") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        FUN_002d8170(param_2,&DAT_0046332c);\n      }" ({ "{") (expression_statement "FUN_002d8170(param_2,&DAT_0046332c);" (call_expression "FUN_002d8170(param_2,&DAT_0046332c)" (identifier "FUN_002d8170") (argument_list "(param_2,&DAT_0046332c)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_0046332c" (& "&") (identifier "DAT_0046332c")) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" (identifier "lVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*param_1 = lVar3 + 1;" (assignment_expression "*param_1 = lVar3 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = (ulong)*(byte *)(lVar3 + 1);" (assignment_expression "uVar4 = (ulong)*(byte *)(lVar3 + 1)" (identifier "uVar4") (= "=") (binary_expression "(ulong)*(byte *)(lVar3 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)(lVar3 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 1)" (( "(") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0)" (( "(") (binary_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0" (parenthesized_expression "((&DAT_003a7ea0)[uVar4 * 2] & 4)" (( "(") (binary_expression "(&DAT_003a7ea0)[uVar4 * 2] & 4" (subscript_expression "(&DAT_003a7ea0)[uVar4 * 2]" (parenthesized_expression "(&DAT_003a7ea0)" (( "(") (pointer_expression "&DAT_003a7ea0" (& "&") (identifier "DAT_003a7ea0")) () ")")) ([ "[") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

int function_1(char **args,type_1 *arg)

{
  type_2 var_1;
  type_2 *var_4;
  char *var_3;
  int iVar4;
  type_3 uVar5;
  
  var_4 = (type_2 *)*args;
  var_1 = *var_4;
  uVar5 = (type_3)var_1;
  if (var_1 == 0x2d) {
    char_str[0] = '-';
    var_2(arg,char_str);
    var_3 = *args;
    *args = var_3 + 1;
    uVar5 = (type_3)(type_2)var_3[1];
  }
  else if (var_1 == 0x2b) {
    *args = (char *)(var_4 + 1);
    uVar5 = (type_3)var_4[1];
  }
  iVar4 = 0;
  if ((_sch_istable[uVar5] & 4) != 0) {
    do {
      char_str[0] = (char)uVar5;
      if (char_str[0] != '\0') {
        var_2(arg,char_str);
      }
      var_3 = *args;
      *args = var_3 + 1;
      uVar5 = (type_3)(type_2)var_3[1];
    } while ((_sch_istable[uVar5] & 4) != 0);
    iVar4 = 1;
  }
  return iVar4;
}


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

undefined8 MASKED(long *param_1,undefined8 param_2)

{
  byte bVar1;
  byte *pbVar2;
  long lVar3;
  ulong uVar4;
  undefined8 uVar5;
  
  pbVar2 = (byte *)*param_1;
  bVar1 = *pbVar2;
  uVar4 = (ulong)bVar1;
  if (bVar1 == 0x2d) {
    DAT_0046332c = '-';
    FUN_002d8170(param_2,&DAT_0046332c);
    lVar3 = *param_1;
    *param_1 = lVar3 + 1;
    uVar4 = (ulong)*(byte *)(lVar3 + 1);
  }
  else if (bVar1 == 0x2b) {
    *param_1 = (long)(pbVar2 + 1);
    uVar4 = (ulong)pbVar2[1];
  }
  uVar5 = 0;
  if (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0) {
    do {
      DAT_0046332c = (char)uVar4;
      if (DAT_0046332c != '\0') {
        FUN_002d8170(param_2,&DAT_0046332c);
      }
      lVar3 = *param_1;
      *param_1 = lVar3 + 1;
      uVar4 = (ulong)*(byte *)(lVar3 + 1);
    } while (((&DAT_003a7ea0)[uVar4 * 2] & 4) != 0);
    uVar5 = 1;
  }
  return uVar5;
}

