
bfd_boolean stab_demangle_class(stab_demangle_info *minfo,char **pp,char **pstart)

{
  byte *s;
  ulong uVar1;
  size_t sVar2;
  byte *pbVar3;
  ulong uVar4;
  
  s = (byte *)minfo->dhandle;
  uVar1 = (ulong)*s;
  pbVar3 = s;
  if ((_sch_istable[uVar1 * 2] & 4) == 0) {
    uVar4 = 0;
  }
  else {
    uVar4 = 0;
    do {
      pbVar3 = pbVar3 + 1;
      minfo->dhandle = pbVar3;
      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);
      uVar1 = (ulong)*pbVar3;
    } while ((_sch_istable[uVar1 * 2] & 4) != 0);
    sVar2 = strlen((char *)pbVar3);
    if (sVar2 < uVar4) {
      stab_bad_demangle((char *)s);
      return 0;
    }
  }
  if (pp != (char **)0x0) {
    *pp = (char *)pbVar3;
  }
  minfo->dhandle = (void *)((long)minfo->dhandle + uVar4);
  return 1;
}



undefined8 FUN_00110de0(long *param_1,long *param_2)

{
  byte *pbVar1;
  ulong uVar2;
  size_t sVar3;
  byte *pbVar4;
  ulong uVar5;
  
  pbVar1 = (byte *)*param_1;
  uVar2 = (ulong)*pbVar1;
  pbVar4 = pbVar1;
  if ((_sch_istable[uVar2 * 2] & 4) == 0) {
    uVar5 = 0;
  }
  else {
    uVar5 = 0;
    do {
      pbVar4 = pbVar4 + 1;
      *param_1 = (long)pbVar4;
      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);
      uVar2 = (ulong)*pbVar4;
    } while ((_sch_istable[uVar2 * 2] & 4) != 0);
    sVar3 = strlen((char *)pbVar4);
    if (sVar3 < uVar5) {
      FUN_00110480(pbVar1);
      return 0;
    }
  }
  if (param_2 != (long *)0x0) {
    *param_2 = (long)pbVar4;
  }
  *param_1 = *param_1 + uVar5;
  return 1;
}


PUSH R14
MOV R14,RSI
PUSH R13
PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOV R13,qword ptr [RDI]
LEA RDI,[0x12ab80]
MOVZX EDX,byte ptr [R13]
TEST byte ptr [RDI + RDX*0x2],0x4
JZ 0x00110e78
MOV RAX,RDX
XOR EBX,EBX
LEA RDX,[R13 + 0x1]
NOP dword ptr [RAX]
LEA ECX,[RBX + RBX*0x4]
MOVSX EAX,AL
MOV qword ptr [RBP],RDX
MOV R12,RDX
LEA EBX,[RAX + RCX*0x2 + -0x30]
MOVZX ECX,byte ptr [RDX]
ADD RDX,0x1
MOV RAX,RCX
TEST byte ptr [RDI + RCX*0x2],0x4
JNZ 0x00110e10
MOV RDI,R12
CALL 0x00104260
CMP RAX,RBX
JC 0x00110e60
TEST R14,R14
JZ 0x00110e46
MOV qword ptr [R14],R12
ADD qword ptr [RBP],RBX
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV RDI,R13
CALL 0x00110480
POP RBX
XOR EAX,EAX
POP RBP
POP R12
POP R13
POP R14
RET
MOV R12,R13
XOR EBX,EBX
JMP 0x00110e3e
(translation_unit "undefined8 FUN_00110de0(long *param_1,long *param_2)\n\n{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00110de0(long *param_1,long *param_2)\n\n{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}" type_identifier (function_declarator "FUN_00110de0(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "pbVar1 = (byte *)*param_1;" (assignment_expression "pbVar1 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar2 = (ulong)*pbVar1;" (assignment_expression "uVar2 = (ulong)*pbVar1" identifier = (binary_expression "(ulong)*pbVar1" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "pbVar4 = pbVar1;" (assignment_expression "pbVar4 = pbVar1" identifier = identifier) ;) (if_statement "if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" if (parenthesized_expression "((_sch_istable[uVar2 * 2] & 4) == 0)" ( (binary_expression "(_sch_istable[uVar2 * 2] & 4) == 0" (parenthesized_expression "(_sch_istable[uVar2 * 2] & 4)" ( (binary_expression "_sch_istable[uVar2 * 2] & 4" (subscript_expression "_sch_istable[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar5 = 0;\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" else (compound_statement "{\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);" do (compound_statement "{\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    }" { (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = (long)pbVar4;" (assignment_expression "*param_1 = (long)pbVar4" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)pbVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);" (assignment_expression "uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10)" identifier = (call_expression "(ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "((char)uVar2 + -0x30 + (int)uVar5 * 10)" ( (binary_expression "(char)uVar2 + -0x30 + (int)uVar5 * 10" (binary_expression "(char)uVar2 + -0x30" (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) + (binary_expression "(int)uVar5 * 10" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (expression_statement "uVar2 = (ulong)*pbVar4;" (assignment_expression "uVar2 = (ulong)*pbVar4" identifier = (binary_expression "(ulong)*pbVar4" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "((_sch_istable[uVar2 * 2] & 4) != 0)" ( (binary_expression "(_sch_istable[uVar2 * 2] & 4) != 0" (parenthesized_expression "(_sch_istable[uVar2 * 2] & 4)" ( (binary_expression "_sch_istable[uVar2 * 2] & 4" (subscript_expression "_sch_istable[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) ;) (expression_statement "sVar3 = strlen((char *)pbVar4);" (assignment_expression "sVar3 = strlen((char *)pbVar4)" identifier = (call_expression "strlen((char *)pbVar4)" identifier (argument_list "((char *)pbVar4)" ( (cast_expression "(char *)pbVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }" if (parenthesized_expression "(sVar3 < uVar5)" ( (binary_expression "sVar3 < uVar5" identifier < identifier) )) (compound_statement "{\n      FUN_00110480(pbVar1);\n      return 0;\n    }" { (expression_statement "FUN_00110480(pbVar1);" (call_expression "FUN_00110480(pbVar1)" identifier (argument_list "(pbVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }" if (parenthesized_expression "(param_2 != (long *)0x0)" ( (binary_expression "param_2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = (long)pbVar4;\n  }" { (expression_statement "*param_2 = (long)pbVar4;" (assignment_expression "*param_2 = (long)pbVar4" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)pbVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) })) (expression_statement "*param_1 = *param_1 + uVar5;" (assignment_expression "*param_1 = *param_1 + uVar5" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + uVar5" (pointer_expression "*param_1" * identifier) + identifier)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "bfd_boolean stab_demangle_class(stab_demangle_info *minfo,char **pp,char **pstart)\n\n{\n  byte *s;\n  ulong uVar1;\n  size_t sVar2;\n  byte *pbVar3;\n  ulong uVar4;\n  \n  s = (byte *)minfo->dhandle;\n  uVar1 = (ulong)*s;\n  pbVar3 = s;\n  if ((_sch_istable[uVar1 * 2] & 4) == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    do {\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    } while ((_sch_istable[uVar1 * 2] & 4) != 0);\n    sVar2 = strlen((char *)pbVar3);\n    if (sVar2 < uVar4) {\n      stab_bad_demangle((char *)s);\n      return 0;\n    }\n  }\n  if (pp != (char **)0x0) {\n    *pp = (char *)pbVar3;\n  }\n  minfo->dhandle = (void *)((long)minfo->dhandle + uVar4);\n  return 1;\n}\n\n" (function_definition "bfd_boolean stab_demangle_class(stab_demangle_info *minfo,char **pp,char **pstart)\n\n{\n  byte *s;\n  ulong uVar1;\n  size_t sVar2;\n  byte *pbVar3;\n  ulong uVar4;\n  \n  s = (byte *)minfo->dhandle;\n  uVar1 = (ulong)*s;\n  pbVar3 = s;\n  if ((_sch_istable[uVar1 * 2] & 4) == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    do {\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    } while ((_sch_istable[uVar1 * 2] & 4) != 0);\n    sVar2 = strlen((char *)pbVar3);\n    if (sVar2 < uVar4) {\n      stab_bad_demangle((char *)s);\n      return 0;\n    }\n  }\n  if (pp != (char **)0x0) {\n    *pp = (char *)pbVar3;\n  }\n  minfo->dhandle = (void *)((long)minfo->dhandle + uVar4);\n  return 1;\n}" type_identifier (function_declarator "stab_demangle_class(stab_demangle_info *minfo,char **pp,char **pstart)" identifier (parameter_list "(stab_demangle_info *minfo,char **pp,char **pstart)" ( (parameter_declaration "stab_demangle_info *minfo" type_identifier (pointer_declarator "*minfo" * identifier)) , (parameter_declaration "char **pp" primitive_type (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "char **pstart" primitive_type (pointer_declarator "**pstart" * (pointer_declarator "*pstart" * identifier))) ))) (compound_statement "{\n  byte *s;\n  ulong uVar1;\n  size_t sVar2;\n  byte *pbVar3;\n  ulong uVar4;\n  \n  s = (byte *)minfo->dhandle;\n  uVar1 = (ulong)*s;\n  pbVar3 = s;\n  if ((_sch_istable[uVar1 * 2] & 4) == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    do {\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    } while ((_sch_istable[uVar1 * 2] & 4) != 0);\n    sVar2 = strlen((char *)pbVar3);\n    if (sVar2 < uVar4) {\n      stab_bad_demangle((char *)s);\n      return 0;\n    }\n  }\n  if (pp != (char **)0x0) {\n    *pp = (char *)pbVar3;\n  }\n  minfo->dhandle = (void *)((long)minfo->dhandle + uVar4);\n  return 1;\n}" { (declaration "byte *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (expression_statement "s = (byte *)minfo->dhandle;" (assignment_expression "s = (byte *)minfo->dhandle" identifier = (cast_expression "(byte *)minfo->dhandle" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "minfo->dhandle" identifier -> field_identifier))) ;) (expression_statement "uVar1 = (ulong)*s;" (assignment_expression "uVar1 = (ulong)*s" identifier = (binary_expression "(ulong)*s" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "pbVar3 = s;" (assignment_expression "pbVar3 = s" identifier = identifier) ;) (if_statement "if ((_sch_istable[uVar1 * 2] & 4) == 0) {\n    uVar4 = 0;\n  }\n  else {\n    uVar4 = 0;\n    do {\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    } while ((_sch_istable[uVar1 * 2] & 4) != 0);\n    sVar2 = strlen((char *)pbVar3);\n    if (sVar2 < uVar4) {\n      stab_bad_demangle((char *)s);\n      return 0;\n    }\n  }" if (parenthesized_expression "((_sch_istable[uVar1 * 2] & 4) == 0)" ( (binary_expression "(_sch_istable[uVar1 * 2] & 4) == 0" (parenthesized_expression "(_sch_istable[uVar1 * 2] & 4)" ( (binary_expression "_sch_istable[uVar1 * 2] & 4" (subscript_expression "_sch_istable[uVar1 * 2]" identifier [ (binary_expression "uVar1 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar4 = 0;\n    do {\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    } while ((_sch_istable[uVar1 * 2] & 4) != 0);\n    sVar2 = strlen((char *)pbVar3);\n    if (sVar2 < uVar4) {\n      stab_bad_demangle((char *)s);\n      return 0;\n    }\n  }" else (compound_statement "{\n    uVar4 = 0;\n    do {\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    } while ((_sch_istable[uVar1 * 2] & 4) != 0);\n    sVar2 = strlen((char *)pbVar3);\n    if (sVar2 < uVar4) {\n      stab_bad_demangle((char *)s);\n      return 0;\n    }\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    } while ((_sch_istable[uVar1 * 2] & 4) != 0);" do (compound_statement "{\n      pbVar3 = pbVar3 + 1;\n      minfo->dhandle = pbVar3;\n      uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);\n      uVar1 = (ulong)*pbVar3;\n    }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "minfo->dhandle = pbVar3;" (assignment_expression "minfo->dhandle = pbVar3" (field_expression "minfo->dhandle" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10);" (assignment_expression "uVar4 = (ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10)" identifier = (call_expression "(ulong)(uint)((char)uVar1 + -0x30 + (int)uVar4 * 10)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "((char)uVar1 + -0x30 + (int)uVar4 * 10)" ( (binary_expression "(char)uVar1 + -0x30 + (int)uVar4 * 10" (binary_expression "(char)uVar1 + -0x30" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) + (binary_expression "(int)uVar4 * 10" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (expression_statement "uVar1 = (ulong)*pbVar3;" (assignment_expression "uVar1 = (ulong)*pbVar3" identifier = (binary_expression "(ulong)*pbVar3" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "((_sch_istable[uVar1 * 2] & 4) != 0)" ( (binary_expression "(_sch_istable[uVar1 * 2] & 4) != 0" (parenthesized_expression "(_sch_istable[uVar1 * 2] & 4)" ( (binary_expression "_sch_istable[uVar1 * 2] & 4" (subscript_expression "_sch_istable[uVar1 * 2]" identifier [ (binary_expression "uVar1 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) ;) (expression_statement "sVar2 = strlen((char *)pbVar3);" (assignment_expression "sVar2 = strlen((char *)pbVar3)" identifier = (call_expression "strlen((char *)pbVar3)" identifier (argument_list "((char *)pbVar3)" ( (cast_expression "(char *)pbVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar2 < uVar4) {\n      stab_bad_demangle((char *)s);\n      return 0;\n    }" if (parenthesized_expression "(sVar2 < uVar4)" ( (binary_expression "sVar2 < uVar4" identifier < identifier) )) (compound_statement "{\n      stab_bad_demangle((char *)s);\n      return 0;\n    }" { (expression_statement "stab_bad_demangle((char *)s);" (call_expression "stab_bad_demangle((char *)s)" identifier (argument_list "((char *)s)" ( (cast_expression "(char *)s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if (pp != (char **)0x0) {\n    *pp = (char *)pbVar3;\n  }" if (parenthesized_expression "(pp != (char **)0x0)" ( (binary_expression "pp != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *pp = (char *)pbVar3;\n  }" { (expression_statement "*pp = (char *)pbVar3;" (assignment_expression "*pp = (char *)pbVar3" (pointer_expression "*pp" * identifier) = (cast_expression "(char *)pbVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "minfo->dhandle = (void *)((long)minfo->dhandle + uVar4);" (assignment_expression "minfo->dhandle = (void *)((long)minfo->dhandle + uVar4)" (field_expression "minfo->dhandle" identifier -> field_identifier) = (cast_expression "(void *)((long)minfo->dhandle + uVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)minfo->dhandle + uVar4)" ( (binary_expression "(long)minfo->dhandle + uVar4" (cast_expression "(long)minfo->dhandle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "minfo->dhandle" identifier -> field_identifier)) + identifier) )))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00110de0(long *param_1,long *param_2)\n\n{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00110de0(long *param_1,long *param_2)\n\n{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}" type_identifier (function_declarator "FUN_00110de0(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "pbVar1 = (byte *)*param_1;" (assignment_expression "pbVar1 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar2 = (ulong)*pbVar1;" (assignment_expression "uVar2 = (ulong)*pbVar1" identifier = (binary_expression "(ulong)*pbVar1" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "pbVar4 = pbVar1;" (assignment_expression "pbVar4 = pbVar1" identifier = identifier) ;) (if_statement "if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" if (parenthesized_expression "((_sch_istable[uVar2 * 2] & 4) == 0)" ( (binary_expression "(_sch_istable[uVar2 * 2] & 4) == 0" (parenthesized_expression "(_sch_istable[uVar2 * 2] & 4)" ( (binary_expression "_sch_istable[uVar2 * 2] & 4" (subscript_expression "_sch_istable[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar5 = 0;\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" else (compound_statement "{\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);" do (compound_statement "{\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    }" { (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = (long)pbVar4;" (assignment_expression "*param_1 = (long)pbVar4" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)pbVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);" (assignment_expression "uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10)" identifier = (call_expression "(ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "((char)uVar2 + -0x30 + (int)uVar5 * 10)" ( (binary_expression "(char)uVar2 + -0x30 + (int)uVar5 * 10" (binary_expression "(char)uVar2 + -0x30" (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) + (binary_expression "(int)uVar5 * 10" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (expression_statement "uVar2 = (ulong)*pbVar4;" (assignment_expression "uVar2 = (ulong)*pbVar4" identifier = (binary_expression "(ulong)*pbVar4" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "((_sch_istable[uVar2 * 2] & 4) != 0)" ( (binary_expression "(_sch_istable[uVar2 * 2] & 4) != 0" (parenthesized_expression "(_sch_istable[uVar2 * 2] & 4)" ( (binary_expression "_sch_istable[uVar2 * 2] & 4" (subscript_expression "_sch_istable[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) ;) (expression_statement "sVar3 = strlen((char *)pbVar4);" (assignment_expression "sVar3 = strlen((char *)pbVar4)" identifier = (call_expression "strlen((char *)pbVar4)" identifier (argument_list "((char *)pbVar4)" ( (cast_expression "(char *)pbVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }" if (parenthesized_expression "(sVar3 < uVar5)" ( (binary_expression "sVar3 < uVar5" identifier < identifier) )) (compound_statement "{\n      FUN_00110480(pbVar1);\n      return 0;\n    }" { (expression_statement "FUN_00110480(pbVar1);" (call_expression "FUN_00110480(pbVar1)" identifier (argument_list "(pbVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }" if (parenthesized_expression "(param_2 != (long *)0x0)" ( (binary_expression "param_2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = (long)pbVar4;\n  }" { (expression_statement "*param_2 = (long)pbVar4;" (assignment_expression "*param_2 = (long)pbVar4" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)pbVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) })) (expression_statement "*param_1 = *param_1 + uVar5;" (assignment_expression "*param_1 = *param_1 + uVar5" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + uVar5" (pointer_expression "*param_1" * identifier) + identifier)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) & LIT) )) != LIT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00110de0(long *param_1,long *param_2)\n\n{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}" (type_identifier "undefined8") (function_declarator "FUN_00110de0(long *param_1,long *param_2)" (identifier "FUN_00110de0") (parameter_list "(long *param_1,long *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  ulong uVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ulong uVar5;\n  \n  pbVar1 = (byte *)*param_1;\n  uVar2 = (ulong)*pbVar1;\n  pbVar4 = pbVar1;\n  if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }\n  if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }\n  *param_1 = *param_1 + uVar5;\n  return 1;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (expression_statement "pbVar1 = (byte *)*param_1;" (assignment_expression "pbVar1 = (byte *)*param_1" (identifier "pbVar1") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar2 = (ulong)*pbVar1;" (assignment_expression "uVar2 = (ulong)*pbVar1" (identifier "uVar2") (= "=") (binary_expression "(ulong)*pbVar1" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar1"))) (; ";")) (expression_statement "pbVar4 = pbVar1;" (assignment_expression "pbVar4 = pbVar1" (identifier "pbVar4") (= "=") (identifier "pbVar1")) (; ";")) (if_statement "if ((_sch_istable[uVar2 * 2] & 4) == 0) {\n    uVar5 = 0;\n  }\n  else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "((_sch_istable[uVar2 * 2] & 4) == 0)" (( "(") (binary_expression "(_sch_istable[uVar2 * 2] & 4) == 0" (parenthesized_expression "(_sch_istable[uVar2 * 2] & 4)" (( "(") (binary_expression "_sch_istable[uVar2 * 2] & 4" (subscript_expression "_sch_istable[uVar2 * 2]" (identifier "_sch_istable") ([ "[") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = 0;\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" (else "else") (compound_statement "{\n    uVar5 = 0;\n    do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);\n    sVar3 = strlen((char *)pbVar4);\n    if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    } while ((_sch_istable[uVar2 * 2] & 4) != 0);" (do "do") (compound_statement "{\n      pbVar4 = pbVar4 + 1;\n      *param_1 = (long)pbVar4;\n      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);\n      uVar2 = (ulong)*pbVar4;\n    }" ({ "{") (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = (long)pbVar4;" (assignment_expression "*param_1 = (long)pbVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)pbVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar4"))) (; ";")) (expression_statement "uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);" (assignment_expression "uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10)" (identifier "uVar5") (= "=") (call_expression "(ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uint)" (( "(") (identifier "uint") () ")"))) (argument_list "((char)uVar2 + -0x30 + (int)uVar5 * 10)" (( "(") (binary_expression "(char)uVar2 + -0x30 + (int)uVar5 * 10" (binary_expression "(char)uVar2 + -0x30" (cast_expression "(char)uVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar2")) (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "(int)uVar5 * 10" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (* "*") (number_literal "10"))) () ")")))) (; ";")) (expression_statement "uVar2 = (ulong)*pbVar4;" (assignment_expression "uVar2 = (ulong)*pbVar4" (identifier "uVar2") (= "=") (binary_expression "(ulong)*pbVar4" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((_sch_istable[uVar2 * 2] & 4) != 0)" (( "(") (binary_expression "(_sch_istable[uVar2 * 2] & 4) != 0" (parenthesized_expression "(_sch_istable[uVar2 * 2] & 4)" (( "(") (binary_expression "_sch_istable[uVar2 * 2] & 4" (subscript_expression "_sch_istable[uVar2 * 2]" (identifier "_sch_istable") ([ "[") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "sVar3 = strlen((char *)pbVar4);" (assignment_expression "sVar3 = strlen((char *)pbVar4)" (identifier "sVar3") (= "=") (call_expression "strlen((char *)pbVar4)" (identifier "strlen") (argument_list "((char *)pbVar4)" (( "(") (cast_expression "(char *)pbVar4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar4")) () ")")))) (; ";")) (if_statement "if (sVar3 < uVar5) {\n      FUN_00110480(pbVar1);\n      return 0;\n    }" (if "if") (parenthesized_expression "(sVar3 < uVar5)" (( "(") (binary_expression "sVar3 < uVar5" (identifier "sVar3") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n      FUN_00110480(pbVar1);\n      return 0;\n    }" ({ "{") (expression_statement "FUN_00110480(pbVar1);" (call_expression "FUN_00110480(pbVar1)" (identifier "FUN_00110480") (argument_list "(pbVar1)" (( "(") (identifier "pbVar1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (if_statement "if (param_2 != (long *)0x0) {\n    *param_2 = (long)pbVar4;\n  }" (if "if") (parenthesized_expression "(param_2 != (long *)0x0)" (( "(") (binary_expression "param_2 != (long *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_2 = (long)pbVar4;\n  }" ({ "{") (expression_statement "*param_2 = (long)pbVar4;" (assignment_expression "*param_2 = (long)pbVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(long)pbVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar4"))) (; ";")) (} "}"))) (expression_statement "*param_1 = *param_1 + uVar5;" (assignment_expression "*param_1 = *param_1 + uVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + uVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "uVar5"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

type_1 function_1(type_2 *minfo,char **var_8,char **pstart)

{
  type_3 *var_1;
  type_4 var_2;
  size_t var_5;
  type_3 *var_3;
  type_4 var_6;
  
  var_1 = (type_3 *)minfo->dhandle;
  var_2 = (type_4)*var_1;
  var_3 = var_1;
  if ((_sch_istable[var_2 * 2] & 4) == 0) {
    var_6 = 0;
  }
  else {
    var_6 = 0;
    do {
      var_3 = var_3 + 1;
      minfo->dhandle = var_3;
      var_6 = (type_4)(uint)((char)var_2 + -0x30 + (int)var_6 * 10);
      var_2 = (type_4)*var_3;
    } while ((_sch_istable[var_2 * 2] & 4) != 0);
    var_5 = var_4((char *)var_3);
    if (var_5 < var_6) {
      var_7((char *)var_1);
      return 0;
    }
  }
  if (var_8 != (char **)0x0) {
    *var_8 = (char *)var_3;
  }
  minfo->dhandle = (void *)((long)minfo->dhandle + var_6);
  return 1;
}


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

undefined8 MASKED(long *param_1,long *param_2)

{
  byte *pbVar1;
  ulong uVar2;
  size_t sVar3;
  byte *pbVar4;
  ulong uVar5;
  
  pbVar1 = (byte *)*param_1;
  uVar2 = (ulong)*pbVar1;
  pbVar4 = pbVar1;
  if ((_sch_istable[uVar2 * 2] & 4) == 0) {
    uVar5 = 0;
  }
  else {
    uVar5 = 0;
    do {
      pbVar4 = pbVar4 + 1;
      *param_1 = (long)pbVar4;
      uVar5 = (ulong)(uint)((char)uVar2 + -0x30 + (int)uVar5 * 10);
      uVar2 = (ulong)*pbVar4;
    } while ((_sch_istable[uVar2 * 2] & 4) != 0);
    sVar3 = strlen((char *)pbVar4);
    if (sVar3 < uVar5) {
      FUN_00110480(pbVar1);
      return 0;
    }
  }
  if (param_2 != (long *)0x0) {
    *param_2 = (long)pbVar4;
  }
  *param_1 = *param_1 + uVar5;
  return 1;
}

