
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bfd_vma __regparm3 parse_number(char **pp,bfd_boolean *poverflow,char *p_end)

{
  ushort uVar1;
  ulong uVar2;
  int *piVar3;
  int iVar4;
  byte bVar5;
  int iVar6;
  byte *__nptr;
  
  if (poverflow != (bfd_boolean *)0x0) {
    *poverflow = 0;
  }
  __nptr = (byte *)*pp;
  if ((__nptr < p_end) && (*__nptr != 0)) {
    piVar3 = __errno_location();
    *piVar3 = 0;
    uVar2 = strtoul((char *)__nptr,pp,0);
    bVar5 = *__nptr;
    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {
      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {
        bVar5 = __nptr[1];
        __nptr = __nptr + 1;
      }
      iVar6 = 10;
      if (bVar5 == 0x30) {
        bVar5 = __nptr[1];
        if ((bVar5 & 0xdf) == 0x58) {
          bVar5 = __nptr[2];
          iVar6 = 0x10;
          __nptr = __nptr + 2;
        }
        else {
          __nptr = __nptr + 1;
          iVar6 = 8;
        }
      }
      do {
        __nptr = __nptr + 1;
        iVar4 = (int)(char)bVar5;
        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);
        if ((uVar1 & 4) == 0) {
          if ((uVar1 & 0x80) == 0) {
            if ((uVar1 & 8) == 0) goto LAB_00020a47;
            iVar4 = iVar4 + -0x61;
          }
          else {
            iVar4 = iVar4 + -0x41;
          }
        }
        else {
          iVar4 = iVar4 + -0x30;
        }
        if (iVar6 <= iVar4) goto LAB_00020a47;
        bVar5 = *__nptr;
      } while( true );
    }
    iVar6 = 0;
    if (bVar5 == 0x2d) {
      iVar6 = (int)uVar2 >> 0x1f;
    }
  }
  else {
LAB_00020a47:
    uVar2 = 0;
    iVar6 = 0;
  }
  return CONCAT44(iVar6,uVar2);
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined8 __regparm3 FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)

{
  ushort uVar1;
  ulong uVar2;
  int *piVar3;
  int iVar4;
  byte bVar5;
  int iVar6;
  byte *__nptr;
  
  if (param_2 != (undefined4 *)0x0) {
    *param_2 = 0;
  }
  __nptr = (byte *)*param_1;
  if ((__nptr < param_3) && (*__nptr != 0)) {
    piVar3 = __errno_location();
    *piVar3 = 0;
    uVar2 = strtoul((char *)__nptr,param_1,0);
    bVar5 = *__nptr;
    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {
      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {
        bVar5 = __nptr[1];
        __nptr = __nptr + 1;
      }
      iVar6 = 10;
      if (bVar5 == 0x30) {
        bVar5 = __nptr[1];
        if ((bVar5 & 0xdf) == 0x58) {
          bVar5 = __nptr[2];
          iVar6 = 0x10;
          __nptr = __nptr + 2;
        }
        else {
          __nptr = __nptr + 1;
          iVar6 = 8;
        }
      }
      do {
        __nptr = __nptr + 1;
        iVar4 = (int)(char)bVar5;
        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);
        if ((uVar1 & 4) == 0) {
          if ((uVar1 & 0x80) == 0) {
            if ((uVar1 & 8) == 0) goto LAB_00020a47;
            iVar4 = iVar4 + -0x61;
          }
          else {
            iVar4 = iVar4 + -0x41;
          }
        }
        else {
          iVar4 = iVar4 + -0x30;
        }
        if (iVar6 <= iVar4) goto LAB_00020a47;
        bVar5 = *__nptr;
      } while( true );
    }
    iVar6 = 0;
    if (bVar5 == 0x2d) {
      iVar6 = (int)uVar2 >> 0x1f;
    }
  }
  else {
LAB_00020a47:
    uVar2 = 0;
    iVar6 = 0;
  }
  return CONCAT44(iVar6,uVar2);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x1f5d7
SUB ESP,0xc
TEST EDX,EDX
JZ 0x00020a3c
MOV dword ptr [EDX],0x0
MOV ESI,dword ptr [EAX]
CMP ESI,ECX
JNC 0x00020a47
CMP byte ptr [ESI],0x0
JNZ 0x00020a58
XOR EAX,EAX
XOR EDX,EDX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,EAX
CALL 0x000135f0
SUB ESP,0x4
MOV dword ptr [EAX],0x0
MOV EBP,EAX
PUSH 0x0
PUSH EDI
PUSH ESI
CALL 0x000134b0
ADD ESP,0x10
MOVZX ECX,byte ptr [ESI]
MOV EDI,EAX
CMP EAX,-0x1
JZ 0x00020a90
MOV EAX,EDI
XOR EDX,EDX
CMP CL,0x2d
JNZ 0x00020a4b
CDQ
JMP 0x00020a4b
MOV EAX,dword ptr [EBP]
TEST EAX,EAX
JZ 0x00020a80
CMP CL,0x2b
JZ 0x00020af0
CMP CL,0x2d
JZ 0x00020af0
MOV EDI,0xa
CMP CL,0x30
JZ 0x00020b00
MOV EBX,dword ptr [EBX + 0xffffffb4]
JMP 0x00020ac2
SUB EAX,0x30
CMP EDI,EAX
JLE 0x00020a47
MOVZX ECX,byte ptr [ESI]
MOVZX EDX,CL
ADD ESI,0x1
MOVSX EAX,CL
MOVZX EDX,word ptr [EBX + EDX*0x2]
TEST DL,0x4
JNZ 0x00020ab8
TEST DL,0x80
JZ 0x00020ae0
SUB EAX,0x41
JMP 0x00020abb
AND EDX,0x8
JZ 0x00020a47
SUB EAX,0x61
JMP 0x00020abb
MOVZX ECX,byte ptr [ESI + 0x1]
ADD ESI,0x1
JMP 0x00020aa1
MOVZX ECX,byte ptr [ESI + 0x1]
MOV EAX,ECX
AND EAX,0xffffffdf
CMP AL,0x58
JNZ 0x00020b1b
MOVZX ECX,byte ptr [ESI + 0x2]
MOV EDI,0x10
ADD ESI,0x2
JMP 0x00020aab
ADD ESI,0x1
MOV EDI,0x8
JMP 0x00020aab
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 __regparm3 FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)\n\n{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}\n\n" comment (function_definition "undefined8 __regparm3 FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)\n\n{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)" identifier (parameter_list "(char **param_1,undefined4 *param_2,byte *param_3)" ( (parameter_declaration "char **param_1" primitive_type (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier))) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *__nptr;" type_identifier (pointer_declarator "*__nptr" * identifier) ;) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = 0;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (expression_statement "__nptr = (byte *)*param_1;" (assignment_expression "__nptr = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" if (parenthesized_expression "((__nptr < param_3) && (*__nptr != 0))" ( (binary_expression "(__nptr < param_3) && (*__nptr != 0)" (parenthesized_expression "(__nptr < param_3)" ( (binary_expression "__nptr < param_3" identifier < identifier) )) && (parenthesized_expression "(*__nptr != 0)" ( (binary_expression "*__nptr != 0" (pointer_expression "*__nptr" * identifier) != number_literal) ))) )) (compound_statement "{\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }" { (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = strtoul((char *)__nptr,param_1,0);" (assignment_expression "uVar2 = strtoul((char *)__nptr,param_1,0)" identifier = (call_expression "strtoul((char *)__nptr,param_1,0)" identifier (argument_list "((char *)__nptr,param_1,0)" ( (cast_expression "(char *)__nptr" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal )))) ;) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" identifier = (pointer_expression "*__nptr" * identifier)) ;) (if_statement "if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" if (parenthesized_expression "((uVar2 == 0xffffffff) && (*piVar3 != 0))" ( (binary_expression "(uVar2 == 0xffffffff) && (*piVar3 != 0)" (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) ))) )) (compound_statement "{\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" { (if_statement "if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" if (parenthesized_expression "((bVar5 == 0x2b) || (bVar5 == 0x2d))" ( (binary_expression "(bVar5 == 0x2b) || (bVar5 == 0x2d)" (parenthesized_expression "(bVar5 == 0x2b)" ( (binary_expression "bVar5 == 0x2b" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x2d)" ( (binary_expression "bVar5 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" { (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" identifier = (subscript_expression "__nptr[1]" identifier [ number_literal ])) ;) (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) })) (expression_statement "iVar6 = 10;" (assignment_expression "iVar6 = 10" identifier = number_literal) ;) (if_statement "if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" if (parenthesized_expression "(bVar5 == 0x30)" ( (binary_expression "bVar5 == 0x30" identifier == number_literal) )) (compound_statement "{\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" { (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" identifier = (subscript_expression "__nptr[1]" identifier [ number_literal ])) ;) (if_statement "if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" if (parenthesized_expression "((bVar5 & 0xdf) == 0x58)" ( (binary_expression "(bVar5 & 0xdf) == 0x58" (parenthesized_expression "(bVar5 & 0xdf)" ( (binary_expression "bVar5 & 0xdf" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }" { (expression_statement "bVar5 = __nptr[2];" (assignment_expression "bVar5 = __nptr[2]" identifier = (subscript_expression "__nptr[2]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (expression_statement "__nptr = __nptr + 2;" (assignment_expression "__nptr = __nptr + 2" identifier = (binary_expression "__nptr + 2" identifier + number_literal)) ;) }) (else_clause "else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" else (compound_statement "{\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" { (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) }))) })) (do_statement "do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );" do (compound_statement "{\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      }" { (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (int)(char)bVar5;" (assignment_expression "iVar4 = (int)(char)bVar5" identifier = (cast_expression "(int)(char)bVar5" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar5" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);" (assignment_expression "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" identifier = (pointer_expression "*(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" ( (binary_expression "PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2" identifier + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }" if (parenthesized_expression "((uVar1 & 4) == 0)" ( (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }" { (if_statement "if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }" if (parenthesized_expression "((uVar1 & 0x80) == 0)" ( (binary_expression "(uVar1 & 0x80) == 0" (parenthesized_expression "(uVar1 & 0x80)" ( (binary_expression "uVar1 & 0x80" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }" { (if_statement "if ((uVar1 & 8) == 0) goto LAB_00020a47;" if (parenthesized_expression "((uVar1 & 8) == 0)" ( (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" ( (binary_expression "uVar1 & 8" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00020a47;" goto statement_identifier ;)) (expression_statement "iVar4 = iVar4 + -0x61;" (assignment_expression "iVar4 = iVar4 + -0x61" identifier = (binary_expression "iVar4 + -0x61" identifier + number_literal)) ;) }) (else_clause "else {\n            iVar4 = iVar4 + -0x41;\n          }" else (compound_statement "{\n            iVar4 = iVar4 + -0x41;\n          }" { (expression_statement "iVar4 = iVar4 + -0x41;" (assignment_expression "iVar4 = iVar4 + -0x41" identifier = (binary_expression "iVar4 + -0x41" identifier + number_literal)) ;) }))) }) (else_clause "else {\n          iVar4 = iVar4 + -0x30;\n        }" else (compound_statement "{\n          iVar4 = iVar4 + -0x30;\n        }" { (expression_statement "iVar4 = iVar4 + -0x30;" (assignment_expression "iVar4 = iVar4 + -0x30" identifier = (binary_expression "iVar4 + -0x30" identifier + number_literal)) ;) }))) (if_statement "if (iVar6 <= iVar4) goto LAB_00020a47;" if (parenthesized_expression "(iVar6 <= iVar4)" ( (binary_expression "iVar6 <= iVar4" identifier <= identifier) )) (goto_statement "goto LAB_00020a47;" goto statement_identifier ;)) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" identifier = (pointer_expression "*__nptr" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" if (parenthesized_expression "(bVar5 == 0x2d)" ( (binary_expression "bVar5 == 0x2d" identifier == number_literal) )) (compound_statement "{\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" { (expression_statement "iVar6 = (int)uVar2 >> 0x1f;" (assignment_expression "iVar6 = (int)uVar2 >> 0x1f" identifier = (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) })) }) (else_clause "else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" else (compound_statement "{\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" { (labeled_statement "LAB_00020a47:\n    uVar2 = 0;" statement_identifier : (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;)) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (return_statement "return CONCAT44(iVar6,uVar2);" return (call_expression "CONCAT44(iVar6,uVar2)" identifier (argument_list "(iVar6,uVar2)" ( identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_vma __regparm3 parse_number(char **pp,bfd_boolean *poverflow,char *p_end)\n\n{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = (byte *)*pp;\n  if ((__nptr < p_end) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,pp,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}\n\n" comment (function_definition "bfd_vma __regparm3 parse_number(char **pp,bfd_boolean *poverflow,char *p_end)\n\n{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = (byte *)*pp;\n  if ((__nptr < p_end) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,pp,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "parse_number(char **pp,bfd_boolean *poverflow,char *p_end)" identifier (parameter_list "(char **pp,bfd_boolean *poverflow,char *p_end)" ( (parameter_declaration "char **pp" primitive_type (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "bfd_boolean *poverflow" type_identifier (pointer_declarator "*poverflow" * identifier)) , (parameter_declaration "char *p_end" primitive_type (pointer_declarator "*p_end" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }\n  __nptr = (byte *)*pp;\n  if ((__nptr < p_end) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,pp,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *__nptr;" type_identifier (pointer_declarator "*__nptr" * identifier) ;) (if_statement "if (poverflow != (bfd_boolean *)0x0) {\n    *poverflow = 0;\n  }" if (parenthesized_expression "(poverflow != (bfd_boolean *)0x0)" ( (binary_expression "poverflow != (bfd_boolean *)0x0" identifier != (cast_expression "(bfd_boolean *)0x0" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *poverflow = 0;\n  }" { (expression_statement "*poverflow = 0;" (assignment_expression "*poverflow = 0" (pointer_expression "*poverflow" * identifier) = number_literal) ;) })) (expression_statement "__nptr = (byte *)*pp;" (assignment_expression "__nptr = (byte *)*pp" identifier = (cast_expression "(byte *)*pp" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*pp" * identifier))) ;) (if_statement "if ((__nptr < p_end) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,pp,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" if (parenthesized_expression "((__nptr < p_end) && (*__nptr != 0))" ( (binary_expression "(__nptr < p_end) && (*__nptr != 0)" (parenthesized_expression "(__nptr < p_end)" ( (binary_expression "__nptr < p_end" identifier < identifier) )) && (parenthesized_expression "(*__nptr != 0)" ( (binary_expression "*__nptr != 0" (pointer_expression "*__nptr" * identifier) != number_literal) ))) )) (compound_statement "{\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,pp,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }" { (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = strtoul((char *)__nptr,pp,0);" (assignment_expression "uVar2 = strtoul((char *)__nptr,pp,0)" identifier = (call_expression "strtoul((char *)__nptr,pp,0)" identifier (argument_list "((char *)__nptr,pp,0)" ( (cast_expression "(char *)__nptr" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal )))) ;) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" identifier = (pointer_expression "*__nptr" * identifier)) ;) (if_statement "if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" if (parenthesized_expression "((uVar2 == 0xffffffff) && (*piVar3 != 0))" ( (binary_expression "(uVar2 == 0xffffffff) && (*piVar3 != 0)" (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) ))) )) (compound_statement "{\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" { (if_statement "if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" if (parenthesized_expression "((bVar5 == 0x2b) || (bVar5 == 0x2d))" ( (binary_expression "(bVar5 == 0x2b) || (bVar5 == 0x2d)" (parenthesized_expression "(bVar5 == 0x2b)" ( (binary_expression "bVar5 == 0x2b" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x2d)" ( (binary_expression "bVar5 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" { (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" identifier = (subscript_expression "__nptr[1]" identifier [ number_literal ])) ;) (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) })) (expression_statement "iVar6 = 10;" (assignment_expression "iVar6 = 10" identifier = number_literal) ;) (if_statement "if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" if (parenthesized_expression "(bVar5 == 0x30)" ( (binary_expression "bVar5 == 0x30" identifier == number_literal) )) (compound_statement "{\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" { (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" identifier = (subscript_expression "__nptr[1]" identifier [ number_literal ])) ;) (if_statement "if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" if (parenthesized_expression "((bVar5 & 0xdf) == 0x58)" ( (binary_expression "(bVar5 & 0xdf) == 0x58" (parenthesized_expression "(bVar5 & 0xdf)" ( (binary_expression "bVar5 & 0xdf" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }" { (expression_statement "bVar5 = __nptr[2];" (assignment_expression "bVar5 = __nptr[2]" identifier = (subscript_expression "__nptr[2]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (expression_statement "__nptr = __nptr + 2;" (assignment_expression "__nptr = __nptr + 2" identifier = (binary_expression "__nptr + 2" identifier + number_literal)) ;) }) (else_clause "else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" else (compound_statement "{\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" { (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) }))) })) (do_statement "do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );" do (compound_statement "{\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      }" { (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (int)(char)bVar5;" (assignment_expression "iVar4 = (int)(char)bVar5" identifier = (cast_expression "(int)(char)bVar5" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar5" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);" (assignment_expression "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" identifier = (pointer_expression "*(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" ( (binary_expression "PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2" identifier + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }" if (parenthesized_expression "((uVar1 & 4) == 0)" ( (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }" { (if_statement "if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }" if (parenthesized_expression "((uVar1 & 0x80) == 0)" ( (binary_expression "(uVar1 & 0x80) == 0" (parenthesized_expression "(uVar1 & 0x80)" ( (binary_expression "uVar1 & 0x80" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }" { (if_statement "if ((uVar1 & 8) == 0) goto LAB_00020a47;" if (parenthesized_expression "((uVar1 & 8) == 0)" ( (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" ( (binary_expression "uVar1 & 8" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00020a47;" goto statement_identifier ;)) (expression_statement "iVar4 = iVar4 + -0x61;" (assignment_expression "iVar4 = iVar4 + -0x61" identifier = (binary_expression "iVar4 + -0x61" identifier + number_literal)) ;) }) (else_clause "else {\n            iVar4 = iVar4 + -0x41;\n          }" else (compound_statement "{\n            iVar4 = iVar4 + -0x41;\n          }" { (expression_statement "iVar4 = iVar4 + -0x41;" (assignment_expression "iVar4 = iVar4 + -0x41" identifier = (binary_expression "iVar4 + -0x41" identifier + number_literal)) ;) }))) }) (else_clause "else {\n          iVar4 = iVar4 + -0x30;\n        }" else (compound_statement "{\n          iVar4 = iVar4 + -0x30;\n        }" { (expression_statement "iVar4 = iVar4 + -0x30;" (assignment_expression "iVar4 = iVar4 + -0x30" identifier = (binary_expression "iVar4 + -0x30" identifier + number_literal)) ;) }))) (if_statement "if (iVar6 <= iVar4) goto LAB_00020a47;" if (parenthesized_expression "(iVar6 <= iVar4)" ( (binary_expression "iVar6 <= iVar4" identifier <= identifier) )) (goto_statement "goto LAB_00020a47;" goto statement_identifier ;)) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" identifier = (pointer_expression "*__nptr" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" if (parenthesized_expression "(bVar5 == 0x2d)" ( (binary_expression "bVar5 == 0x2d" identifier == number_literal) )) (compound_statement "{\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" { (expression_statement "iVar6 = (int)uVar2 >> 0x1f;" (assignment_expression "iVar6 = (int)uVar2 >> 0x1f" identifier = (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) })) }) (else_clause "else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" else (compound_statement "{\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" { (labeled_statement "LAB_00020a47:\n    uVar2 = 0;" statement_identifier : (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;)) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (return_statement "return CONCAT44(iVar6,uVar2);" return (call_expression "CONCAT44(iVar6,uVar2)" identifier (argument_list "(iVar6,uVar2)" ( identifier , identifier ))) ;) })))
(translation_unit "undefined8 __regparm3 FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)\n\n{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}\n\n" (function_definition "undefined8 __regparm3 FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)\n\n{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)" identifier (parameter_list "(char **param_1,undefined4 *param_2,byte *param_3)" ( (parameter_declaration "char **param_1" primitive_type (pointer_declarator "**param_1" * (pointer_declarator "*param_1" * identifier))) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *__nptr;" type_identifier (pointer_declarator "*__nptr" * identifier) ;) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" if (parenthesized_expression "(param_2 != (undefined4 *)0x0)" ( (binary_expression "param_2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = 0;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (expression_statement "__nptr = (byte *)*param_1;" (assignment_expression "__nptr = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" if (parenthesized_expression "((__nptr < param_3) && (*__nptr != 0))" ( (binary_expression "(__nptr < param_3) && (*__nptr != 0)" (parenthesized_expression "(__nptr < param_3)" ( (binary_expression "__nptr < param_3" identifier < identifier) )) && (parenthesized_expression "(*__nptr != 0)" ( (binary_expression "*__nptr != 0" (pointer_expression "*__nptr" * identifier) != number_literal) ))) )) (compound_statement "{\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }" { (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = strtoul((char *)__nptr,param_1,0);" (assignment_expression "uVar2 = strtoul((char *)__nptr,param_1,0)" identifier = (call_expression "strtoul((char *)__nptr,param_1,0)" identifier (argument_list "((char *)__nptr,param_1,0)" ( (cast_expression "(char *)__nptr" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal )))) ;) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" identifier = (pointer_expression "*__nptr" * identifier)) ;) (if_statement "if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" if (parenthesized_expression "((uVar2 == 0xffffffff) && (*piVar3 != 0))" ( (binary_expression "(uVar2 == 0xffffffff) && (*piVar3 != 0)" (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) && (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) ))) )) (compound_statement "{\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" { (if_statement "if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" if (parenthesized_expression "((bVar5 == 0x2b) || (bVar5 == 0x2d))" ( (binary_expression "(bVar5 == 0x2b) || (bVar5 == 0x2d)" (parenthesized_expression "(bVar5 == 0x2b)" ( (binary_expression "bVar5 == 0x2b" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x2d)" ( (binary_expression "bVar5 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" { (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" identifier = (subscript_expression "__nptr[1]" identifier [ number_literal ])) ;) (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) })) (expression_statement "iVar6 = 10;" (assignment_expression "iVar6 = 10" identifier = number_literal) ;) (if_statement "if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" if (parenthesized_expression "(bVar5 == 0x30)" ( (binary_expression "bVar5 == 0x30" identifier == number_literal) )) (compound_statement "{\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" { (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" identifier = (subscript_expression "__nptr[1]" identifier [ number_literal ])) ;) (if_statement "if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" if (parenthesized_expression "((bVar5 & 0xdf) == 0x58)" ( (binary_expression "(bVar5 & 0xdf) == 0x58" (parenthesized_expression "(bVar5 & 0xdf)" ( (binary_expression "bVar5 & 0xdf" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }" { (expression_statement "bVar5 = __nptr[2];" (assignment_expression "bVar5 = __nptr[2]" identifier = (subscript_expression "__nptr[2]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (expression_statement "__nptr = __nptr + 2;" (assignment_expression "__nptr = __nptr + 2" identifier = (binary_expression "__nptr + 2" identifier + number_literal)) ;) }) (else_clause "else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" else (compound_statement "{\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" { (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) }))) })) (do_statement "do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );" do (compound_statement "{\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      }" { (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" identifier = (binary_expression "__nptr + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (int)(char)bVar5;" (assignment_expression "iVar4 = (int)(char)bVar5" identifier = (cast_expression "(int)(char)bVar5" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar5" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);" (assignment_expression "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" identifier = (pointer_expression "*(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" ( (binary_expression "PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2" identifier + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }" if (parenthesized_expression "((uVar1 & 4) == 0)" ( (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }" { (if_statement "if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }" if (parenthesized_expression "((uVar1 & 0x80) == 0)" ( (binary_expression "(uVar1 & 0x80) == 0" (parenthesized_expression "(uVar1 & 0x80)" ( (binary_expression "uVar1 & 0x80" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }" { (if_statement "if ((uVar1 & 8) == 0) goto LAB_00020a47;" if (parenthesized_expression "((uVar1 & 8) == 0)" ( (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" ( (binary_expression "uVar1 & 8" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00020a47;" goto statement_identifier ;)) (expression_statement "iVar4 = iVar4 + -0x61;" (assignment_expression "iVar4 = iVar4 + -0x61" identifier = (binary_expression "iVar4 + -0x61" identifier + number_literal)) ;) }) (else_clause "else {\n            iVar4 = iVar4 + -0x41;\n          }" else (compound_statement "{\n            iVar4 = iVar4 + -0x41;\n          }" { (expression_statement "iVar4 = iVar4 + -0x41;" (assignment_expression "iVar4 = iVar4 + -0x41" identifier = (binary_expression "iVar4 + -0x41" identifier + number_literal)) ;) }))) }) (else_clause "else {\n          iVar4 = iVar4 + -0x30;\n        }" else (compound_statement "{\n          iVar4 = iVar4 + -0x30;\n        }" { (expression_statement "iVar4 = iVar4 + -0x30;" (assignment_expression "iVar4 = iVar4 + -0x30" identifier = (binary_expression "iVar4 + -0x30" identifier + number_literal)) ;) }))) (if_statement "if (iVar6 <= iVar4) goto LAB_00020a47;" if (parenthesized_expression "(iVar6 <= iVar4)" ( (binary_expression "iVar6 <= iVar4" identifier <= identifier) )) (goto_statement "goto LAB_00020a47;" goto statement_identifier ;)) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" identifier = (pointer_expression "*__nptr" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" if (parenthesized_expression "(bVar5 == 0x2d)" ( (binary_expression "bVar5 == 0x2d" identifier == number_literal) )) (compound_statement "{\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" { (expression_statement "iVar6 = (int)uVar2 >> 0x1f;" (assignment_expression "iVar6 = (int)uVar2 >> 0x1f" identifier = (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) })) }) (else_clause "else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" else (compound_statement "{\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" { (labeled_statement "LAB_00020a47:\n    uVar2 = 0;" statement_identifier : (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;)) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (return_statement "return CONCAT44(iVar6,uVar2);" return (call_expression "CONCAT44(iVar6,uVar2)" identifier (argument_list "(iVar6,uVar2)" ( identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * IDENT))) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })))
(function_definition "undefined8 __regparm3 FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)\n\n{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" (type_identifier "undefined8") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00020a20(char **param_1,undefined4 *param_2,byte *param_3)" (identifier "FUN_00020a20") (parameter_list "(char **param_1,undefined4 *param_2,byte *param_3)" (( "(") (parameter_declaration "char **param_1" (primitive_type "char") (pointer_declarator "**param_1" (* "*") (pointer_declarator "*param_1" (* "*") (identifier "param_1")))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  ushort uVar1;\n  ulong uVar2;\n  int *piVar3;\n  int iVar4;\n  byte bVar5;\n  int iVar6;\n  byte *__nptr;\n  \n  if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }\n  __nptr = (byte *)*param_1;\n  if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }\n  return CONCAT44(iVar6,uVar2);\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *__nptr;" (type_identifier "byte") (pointer_declarator "*__nptr" (* "*") (identifier "__nptr")) (; ";")) (if_statement "if (param_2 != (undefined4 *)0x0) {\n    *param_2 = 0;\n  }" (if "if") (parenthesized_expression "(param_2 != (undefined4 *)0x0)" (( "(") (binary_expression "param_2 != (undefined4 *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_2 = 0;\n  }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "__nptr = (byte *)*param_1;" (assignment_expression "__nptr = (byte *)*param_1" (identifier "__nptr") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if ((__nptr < param_3) && (*__nptr != 0)) {\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }\n  else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "((__nptr < param_3) && (*__nptr != 0))" (( "(") (binary_expression "(__nptr < param_3) && (*__nptr != 0)" (parenthesized_expression "(__nptr < param_3)" (( "(") (binary_expression "__nptr < param_3" (identifier "__nptr") (< "<") (identifier "param_3")) () ")")) (&& "&&") (parenthesized_expression "(*__nptr != 0)" (( "(") (binary_expression "*__nptr != 0" (pointer_expression "*__nptr" (* "*") (identifier "__nptr")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    piVar3 = __errno_location();\n    *piVar3 = 0;\n    uVar2 = strtoul((char *)__nptr,param_1,0);\n    bVar5 = *__nptr;\n    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }\n    iVar6 = 0;\n    if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }\n  }" ({ "{") (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" (identifier "piVar3") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar3 = 0;" (assignment_expression "*piVar3 = 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = strtoul((char *)__nptr,param_1,0);" (assignment_expression "uVar2 = strtoul((char *)__nptr,param_1,0)" (identifier "uVar2") (= "=") (call_expression "strtoul((char *)__nptr,param_1,0)" (identifier "strtoul") (argument_list "((char *)__nptr,param_1,0)" (( "(") (cast_expression "(char *)__nptr" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__nptr")) (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" (identifier "bVar5") (= "=") (pointer_expression "*__nptr" (* "*") (identifier "__nptr"))) (; ";")) (if_statement "if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" (if "if") (parenthesized_expression "((uVar2 == 0xffffffff) && (*piVar3 != 0))" (( "(") (binary_expression "(uVar2 == 0xffffffff) && (*piVar3 != 0)" (parenthesized_expression "(uVar2 == 0xffffffff)" (( "(") (binary_expression "uVar2 == 0xffffffff" (identifier "uVar2") (== "==") (number_literal "0xffffffff")) () ")")) (&& "&&") (parenthesized_expression "(*piVar3 != 0)" (( "(") (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }\n      iVar6 = 10;\n      if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }\n      do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );\n    }" ({ "{") (if_statement "if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" (if "if") (parenthesized_expression "((bVar5 == 0x2b) || (bVar5 == 0x2d))" (( "(") (binary_expression "(bVar5 == 0x2b) || (bVar5 == 0x2d)" (parenthesized_expression "(bVar5 == 0x2b)" (( "(") (binary_expression "bVar5 == 0x2b" (identifier "bVar5") (== "==") (number_literal "0x2b")) () ")")) (|| "||") (parenthesized_expression "(bVar5 == 0x2d)" (( "(") (binary_expression "bVar5 == 0x2d" (identifier "bVar5") (== "==") (number_literal "0x2d")) () ")"))) () ")")) (compound_statement "{\n        bVar5 = __nptr[1];\n        __nptr = __nptr + 1;\n      }" ({ "{") (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" (identifier "bVar5") (= "=") (subscript_expression "__nptr[1]" (identifier "__nptr") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" (identifier "__nptr") (= "=") (binary_expression "__nptr + 1" (identifier "__nptr") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar6 = 10;" (assignment_expression "iVar6 = 10" (identifier "iVar6") (= "=") (number_literal "10")) (; ";")) (if_statement "if (bVar5 == 0x30) {\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" (if "if") (parenthesized_expression "(bVar5 == 0x30)" (( "(") (binary_expression "bVar5 == 0x30" (identifier "bVar5") (== "==") (number_literal "0x30")) () ")")) (compound_statement "{\n        bVar5 = __nptr[1];\n        if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }\n      }" ({ "{") (expression_statement "bVar5 = __nptr[1];" (assignment_expression "bVar5 = __nptr[1]" (identifier "bVar5") (= "=") (subscript_expression "__nptr[1]" (identifier "__nptr") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((bVar5 & 0xdf) == 0x58) {\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }\n        else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" (if "if") (parenthesized_expression "((bVar5 & 0xdf) == 0x58)" (( "(") (binary_expression "(bVar5 & 0xdf) == 0x58" (parenthesized_expression "(bVar5 & 0xdf)" (( "(") (binary_expression "bVar5 & 0xdf" (identifier "bVar5") (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0x58")) () ")")) (compound_statement "{\n          bVar5 = __nptr[2];\n          iVar6 = 0x10;\n          __nptr = __nptr + 2;\n        }" ({ "{") (expression_statement "bVar5 = __nptr[2];" (assignment_expression "bVar5 = __nptr[2]" (identifier "bVar5") (= "=") (subscript_expression "__nptr[2]" (identifier "__nptr") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" (identifier "iVar6") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "__nptr = __nptr + 2;" (assignment_expression "__nptr = __nptr + 2" (identifier "__nptr") (= "=") (binary_expression "__nptr + 2" (identifier "__nptr") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" (else "else") (compound_statement "{\n          __nptr = __nptr + 1;\n          iVar6 = 8;\n        }" ({ "{") (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" (identifier "__nptr") (= "=") (binary_expression "__nptr + 1" (identifier "__nptr") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" (identifier "iVar6") (= "=") (number_literal "8")) (; ";")) (} "}")))) (} "}"))) (do_statement "do {\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      } while( true );" (do "do") (compound_statement "{\n        __nptr = __nptr + 1;\n        iVar4 = (int)(char)bVar5;\n        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);\n        if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }\n        if (iVar6 <= iVar4) goto LAB_00020a47;\n        bVar5 = *__nptr;\n      }" ({ "{") (expression_statement "__nptr = __nptr + 1;" (assignment_expression "__nptr = __nptr + 1" (identifier "__nptr") (= "=") (binary_expression "__nptr + 1" (identifier "__nptr") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = (int)(char)bVar5;" (assignment_expression "iVar4 = (int)(char)bVar5" (identifier "iVar4") (= "=") (cast_expression "(int)(char)bVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar5" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar5")))) (; ";")) (expression_statement "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);" (assignment_expression "uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" (* "*") (cast_expression "(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2)" (( "(") (binary_expression "PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2" (identifier "PTR__sch_istable_0003ffb4") (+ "+") (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "2"))) () ")"))))) (; ";")) (if_statement "if ((uVar1 & 4) == 0) {\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }\n        else {\n          iVar4 = iVar4 + -0x30;\n        }" (if "if") (parenthesized_expression "((uVar1 & 4) == 0)" (( "(") (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" (( "(") (binary_expression "uVar1 & 4" (identifier "uVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }\n        }" ({ "{") (if_statement "if ((uVar1 & 0x80) == 0) {\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }\n          else {\n            iVar4 = iVar4 + -0x41;\n          }" (if "if") (parenthesized_expression "((uVar1 & 0x80) == 0)" (( "(") (binary_expression "(uVar1 & 0x80) == 0" (parenthesized_expression "(uVar1 & 0x80)" (( "(") (binary_expression "uVar1 & 0x80" (identifier "uVar1") (& "&") (number_literal "0x80")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if ((uVar1 & 8) == 0) goto LAB_00020a47;\n            iVar4 = iVar4 + -0x61;\n          }" ({ "{") (if_statement "if ((uVar1 & 8) == 0) goto LAB_00020a47;" (if "if") (parenthesized_expression "((uVar1 & 8) == 0)" (( "(") (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" (( "(") (binary_expression "uVar1 & 8" (identifier "uVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00020a47;" (goto "goto") (statement_identifier "LAB_00020a47") (; ";"))) (expression_statement "iVar4 = iVar4 + -0x61;" (assignment_expression "iVar4 = iVar4 + -0x61" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -0x61" (identifier "iVar4") (+ "+") (number_literal "-0x61"))) (; ";")) (} "}")) (else_clause "else {\n            iVar4 = iVar4 + -0x41;\n          }" (else "else") (compound_statement "{\n            iVar4 = iVar4 + -0x41;\n          }" ({ "{") (expression_statement "iVar4 = iVar4 + -0x41;" (assignment_expression "iVar4 = iVar4 + -0x41" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -0x41" (identifier "iVar4") (+ "+") (number_literal "-0x41"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          iVar4 = iVar4 + -0x30;\n        }" (else "else") (compound_statement "{\n          iVar4 = iVar4 + -0x30;\n        }" ({ "{") (expression_statement "iVar4 = iVar4 + -0x30;" (assignment_expression "iVar4 = iVar4 + -0x30" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -0x30" (identifier "iVar4") (+ "+") (number_literal "-0x30"))) (; ";")) (} "}")))) (if_statement "if (iVar6 <= iVar4) goto LAB_00020a47;" (if "if") (parenthesized_expression "(iVar6 <= iVar4)" (( "(") (binary_expression "iVar6 <= iVar4" (identifier "iVar6") (<= "<=") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_00020a47;" (goto "goto") (statement_identifier "LAB_00020a47") (; ";"))) (expression_statement "bVar5 = *__nptr;" (assignment_expression "bVar5 = *__nptr" (identifier "bVar5") (= "=") (pointer_expression "*__nptr" (* "*") (identifier "__nptr"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (bVar5 == 0x2d) {\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" (if "if") (parenthesized_expression "(bVar5 == 0x2d)" (( "(") (binary_expression "bVar5 == 0x2d" (identifier "bVar5") (== "==") (number_literal "0x2d")) () ")")) (compound_statement "{\n      iVar6 = (int)uVar2 >> 0x1f;\n    }" ({ "{") (expression_statement "iVar6 = (int)uVar2 >> 0x1f;" (assignment_expression "iVar6 = (int)uVar2 >> 0x1f" (identifier "iVar6") (= "=") (binary_expression "(int)uVar2 >> 0x1f" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x1f"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" (else "else") (compound_statement "{\nLAB_00020a47:\n    uVar2 = 0;\n    iVar6 = 0;\n  }" ({ "{") (labeled_statement "LAB_00020a47:\n    uVar2 = 0;" (statement_identifier "LAB_00020a47") (: ":") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return CONCAT44(iVar6,uVar2);" (return "return") (call_expression "CONCAT44(iVar6,uVar2)" (identifier "CONCAT44") (argument_list "(iVar6,uVar2)" (( "(") (identifier "iVar6") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

type_1 __regparm3 function_1(char **pp,type_2 *var_1,char *var_3)

{
  type_3 var_9;
  type_4 var_6;
  int *piVar3;
  int var_10;
  type_5 var_7;
  int var_11;
  type_5 *var_2;
  
  if (var_1 != (type_2 *)0x0) {
    *var_1 = 0;
  }
  var_2 = (type_5 *)*pp;
  if ((var_2 < var_3) && (*var_2 != 0)) {
    piVar3 = var_4();
    *piVar3 = 0;
    var_6 = var_5((char *)var_2,pp,0);
    var_7 = *var_2;
    if ((var_6 == 0xffffffff) && (*piVar3 != 0)) {
      if ((var_7 == 0x2b) || (var_7 == 0x2d)) {
        var_7 = var_2[1];
        var_2 = var_2 + 1;
      }
      var_11 = 10;
      if (var_7 == 0x30) {
        var_7 = var_2[1];
        if ((var_7 & 0xdf) == 0x58) {
          var_7 = var_2[2];
          var_11 = 0x10;
          var_2 = var_2 + 2;
        }
        else {
          var_2 = var_2 + 1;
          var_11 = 8;
        }
      }
      do {
        var_2 = var_2 + 1;
        var_10 = (int)(char)var_7;
        var_9 = *(type_3 *)(var_8 + (type_6)var_7 * 2);
        if ((var_9 & 4) == 0) {
          if ((var_9 & 0x80) == 0) {
            if ((var_9 & 8) == 0) goto LAB_00020a47;
            var_10 = var_10 + -0x61;
          }
          else {
            var_10 = var_10 + -0x41;
          }
        }
        else {
          var_10 = var_10 + -0x30;
        }
        if (var_11 <= var_10) goto LAB_00020a47;
        var_7 = *var_2;
      } while( true );
    }
    var_11 = 0;
    if (var_7 == 0x2d) {
      var_11 = (int)var_6 >> 0x1f;
    }
  }
  else {
LAB_00020a47:
    var_6 = 0;
    var_11 = 0;
  }
  return var_12(var_11,var_6);
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined8 __regparm3 MASKED(char **param_1,undefined4 *param_2,byte *param_3)

{
  ushort uVar1;
  ulong uVar2;
  int *piVar3;
  int iVar4;
  byte bVar5;
  int iVar6;
  byte *__nptr;
  
  if (param_2 != (undefined4 *)0x0) {
    *param_2 = 0;
  }
  __nptr = (byte *)*param_1;
  if ((__nptr < param_3) && (*__nptr != 0)) {
    piVar3 = __errno_location();
    *piVar3 = 0;
    uVar2 = strtoul((char *)__nptr,param_1,0);
    bVar5 = *__nptr;
    if ((uVar2 == 0xffffffff) && (*piVar3 != 0)) {
      if ((bVar5 == 0x2b) || (bVar5 == 0x2d)) {
        bVar5 = __nptr[1];
        __nptr = __nptr + 1;
      }
      iVar6 = 10;
      if (bVar5 == 0x30) {
        bVar5 = __nptr[1];
        if ((bVar5 & 0xdf) == 0x58) {
          bVar5 = __nptr[2];
          iVar6 = 0x10;
          __nptr = __nptr + 2;
        }
        else {
          __nptr = __nptr + 1;
          iVar6 = 8;
        }
      }
      do {
        __nptr = __nptr + 1;
        iVar4 = (int)(char)bVar5;
        uVar1 = *(ushort *)(PTR__sch_istable_0003ffb4 + (uint)bVar5 * 2);
        if ((uVar1 & 4) == 0) {
          if ((uVar1 & 0x80) == 0) {
            if ((uVar1 & 8) == 0) goto LAB_00020a47;
            iVar4 = iVar4 + -0x61;
          }
          else {
            iVar4 = iVar4 + -0x41;
          }
        }
        else {
          iVar4 = iVar4 + -0x30;
        }
        if (iVar6 <= iVar4) goto LAB_00020a47;
        bVar5 = *__nptr;
      } while( true );
    }
    iVar6 = 0;
    if (bVar5 == 0x2d) {
      iVar6 = (int)uVar2 >> 0x1f;
    }
  }
  else {
LAB_00020a47:
    uVar2 = 0;
    iVar6 = 0;
  }
  return CONCAT44(iVar6,uVar2);
}

