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

void __regparm3 parse_spec(char *spec,Sym *sym)

{
  byte bVar1;
  char *pcVar2;
  Source_File *pSVar3;
  long lVar4;
  Source_File *pSVar5;
  
  sym_init(sym);
  pcVar2 = strrchr(spec,0x3a);
  if (pcVar2 == (char *)0x0) {
    bVar1 = *spec;
    if (bVar1 != 0) {
      pcVar2 = strchr(spec,0x2e);
      if (pcVar2 == (char *)0x0) {
        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {
          sym->name = spec;
        }
        else {
          lVar4 = strtol(spec,(char **)0x0,10);
          sym->line_num = lVar4;
        }
      }
      else {
        pSVar3 = source_file_lookup_name(spec);
        pSVar5 = &non_existent_file;
        if (pSVar3 != (Source_File *)0x0) {
          pSVar5 = pSVar3;
        }
        sym->file = pSVar5;
      }
    }
  }
  else {
    *pcVar2 = '\0';
    if (spec < pcVar2) {
      pSVar3 = source_file_lookup_name(spec);
      pSVar5 = &non_existent_file;
      if (pSVar3 != (Source_File *)0x0) {
        pSVar5 = pSVar3;
      }
      sym->file = pSVar5;
      bVar1 = pcVar2[1];
    }
    else {
      bVar1 = pcVar2[1];
    }
    if (bVar1 != 0) {
      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {
        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);
        sym->line_num = lVar4;
        return;
      }
      sym->name = pcVar2 + 1;
    }
  }
  return;
}



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

void __regparm3 FUN_0001d600(byte *param_1,int param_2)

{
  byte bVar1;
  byte *pbVar2;
  undefined *puVar3;
  char *pcVar4;
  long lVar5;
  undefined *puVar6;
  
  FUN_0001ce40(param_2);
  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);
  if (pbVar2 == (byte *)0x0) {
    bVar1 = *param_1;
    if (bVar1 != 0) {
      pcVar4 = strchr((char *)param_1,0x2e);
      if (pcVar4 == (char *)0x0) {
        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {
          *(byte **)(param_2 + 0x10) = param_1;
        }
        else {
          lVar5 = strtol((char *)param_1,(char **)0x0,10);
          *(long *)(param_2 + 0x18) = lVar5;
        }
      }
      else {
        puVar3 = (undefined *)FUN_0001c8d0(param_1);
        puVar6 = &DAT_0002d4bc;
        if (puVar3 != (undefined *)0x0) {
          puVar6 = puVar3;
        }
        *(undefined **)(param_2 + 0x14) = puVar6;
      }
    }
  }
  else {
    *pbVar2 = 0;
    if (param_1 < pbVar2) {
      puVar3 = (undefined *)FUN_0001c8d0(param_1);
      puVar6 = &DAT_0002d4bc;
      if (puVar3 != (undefined *)0x0) {
        puVar6 = puVar3;
      }
      *(undefined **)(param_2 + 0x14) = puVar6;
      bVar1 = pbVar2[1];
    }
    else {
      bVar1 = pbVar2[1];
    }
    if (bVar1 != 0) {
      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {
        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);
        *(long *)(param_2 + 0x18) = lVar5;
        return;
      }
      *(byte **)(param_2 + 0x10) = pbVar2 + 1;
    }
  }
  return;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0xf9f3
SUB ESP,0x18
PUSH EDX
CALL 0x0001ce40
POP EAX
POP EDX
PUSH 0x3a
PUSH EDI
CALL 0x000123a0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001d688
MOV ESI,EAX
MOV byte ptr [EAX],0x0
CMP EDI,EAX
JC 0x0001d660
MOVZX EAX,byte ptr [ESI + 0x1]
TEST AL,AL
JZ 0x0001d650
MOV EDX,dword ptr [EBX + 0xffffffdc]
ADD ESI,0x1
TEST byte ptr [EDX + EAX*0x2],0x4
JNZ 0x0001d6c0
MOV dword ptr [EBP + 0x10],ESI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDI
CALL 0x0001c8d0
ADD ESP,0x10
LEA EDX,[EBX + 0x4bc]
TEST EAX,EAX
CMOVNZ EDX,EAX
MOV dword ptr [EBP + 0x14],EDX
MOVZX EAX,byte ptr [ESI + 0x1]
TEST AL,AL
JZ 0x0001d650
JMP 0x0001d63e
MOVZX ESI,byte ptr [EDI]
MOV EAX,ESI
TEST AL,AL
JZ 0x0001d650
SUB ESP,0x8
PUSH 0x2e
PUSH EDI
CALL 0x000122c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001d6e0
SUB ESP,0xc
PUSH EDI
CALL 0x0001c8d0
ADD ESP,0x10
LEA EDX,[EBX + 0x4bc]
TEST EAX,EAX
CMOVNZ EDX,EAX
MOV dword ptr [EBP + 0x14],EDX
JMP 0x0001d650
SUB ESP,0x4
PUSH 0xa
PUSH 0x0
PUSH ESI
CALL 0x00012480
ADD ESP,0x10
MOV dword ptr [EBP + 0x18],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
MOVZX ESI,AL
MOV EAX,dword ptr [EBX + 0xffffffdc]
TEST byte ptr [EAX + ESI*0x2],0x4
JNZ 0x0001d700
MOV dword ptr [EBP + 0x10],EDI
JMP 0x0001d650
SUB ESP,0x4
PUSH 0xa
PUSH 0x0
PUSH EDI
CALL 0x00012480
ADD ESP,0x10
MOV dword ptr [EBP + 0x18],EAX
JMP 0x0001d650
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001d600(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0001d600(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001d600(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (expression_statement "FUN_0001ce40(param_2);" (call_expression "FUN_0001ce40(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "pbVar2 = (byte *)strrchr((char *)param_1,0x3a);" (assignment_expression "pbVar2 = (byte *)strrchr((char *)param_1,0x3a)" identifier = (cast_expression "(byte *)strrchr((char *)param_1,0x3a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "strrchr((char *)param_1,0x3a)" identifier (argument_list "((char *)param_1,0x3a)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))))) ;) (if_statement "if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" if (parenthesized_expression "(pbVar2 == (byte *)0x0)" ( (binary_expression "pbVar2 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }" { (expression_statement "pcVar4 = strchr((char *)param_1,0x2e);" (assignment_expression "pcVar4 = strchr((char *)param_1,0x2e)" identifier = (call_expression "strchr((char *)param_1,0x2e)" identifier (argument_list "((char *)param_1,0x2e)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }" { (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" if (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0)" ( (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" ( (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n          *(byte **)(param_2 + 0x10) = param_1;\n        }" { (expression_statement "*(byte **)(param_2 + 0x10) = param_1;" (assignment_expression "*(byte **)(param_2 + 0x10) = param_1" (pointer_expression "*(byte **)(param_2 + 0x10)" * (cast_expression "(byte **)(param_2 + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" else (compound_statement "{\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" { (expression_statement "lVar5 = strtol((char *)param_1,(char **)0x0,10);" (assignment_expression "lVar5 = strtol((char *)param_1,(char **)0x0,10)" identifier = (call_expression "strtol((char *)param_1,(char **)0x0,10)" identifier (argument_list "((char *)param_1,(char **)0x0,10)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(long *)(param_2 + 0x18) = lVar5;" (assignment_expression "*(long *)(param_2 + 0x18) = lVar5" (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) }))) }) (else_clause "else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" else (compound_statement "{\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" { (expression_statement "puVar3 = (undefined *)FUN_0001c8d0(param_1);" (assignment_expression "puVar3 = (undefined *)FUN_0001c8d0(param_1)" identifier = (cast_expression "(undefined *)FUN_0001c8d0(param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c8d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "puVar6 = &DAT_0002d4bc;" (assignment_expression "puVar6 = &DAT_0002d4bc" identifier = (pointer_expression "&DAT_0002d4bc" & identifier)) ;) (if_statement "if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }" if (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar6 = puVar3;\n        }" { (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) })) (expression_statement "*(undefined **)(param_2 + 0x14) = puVar6;" (assignment_expression "*(undefined **)(param_2 + 0x14) = puVar6" (pointer_expression "*(undefined **)(param_2 + 0x14)" * (cast_expression "(undefined **)(param_2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) }))) })) }) (else_clause "else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" else (compound_statement "{\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" { (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" * identifier) = number_literal) ;) (if_statement "if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }" if (parenthesized_expression "(param_1 < pbVar2)" ( (binary_expression "param_1 < pbVar2" identifier < identifier) )) (compound_statement "{\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }" { (expression_statement "puVar3 = (undefined *)FUN_0001c8d0(param_1);" (assignment_expression "puVar3 = (undefined *)FUN_0001c8d0(param_1)" identifier = (cast_expression "(undefined *)FUN_0001c8d0(param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c8d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "puVar6 = &DAT_0002d4bc;" (assignment_expression "puVar6 = &DAT_0002d4bc" identifier = (pointer_expression "&DAT_0002d4bc" & identifier)) ;) (if_statement "if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }" if (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar6 = puVar3;\n      }" { (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) })) (expression_statement "*(undefined **)(param_2 + 0x14) = puVar6;" (assignment_expression "*(undefined **)(param_2 + 0x14) = puVar6" (pointer_expression "*(undefined **)(param_2 + 0x14)" * (cast_expression "(undefined **)(param_2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar1 = pbVar2[1];" (assignment_expression "bVar1 = pbVar2[1]" identifier = (subscript_expression "pbVar2[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      bVar1 = pbVar2[1];\n    }" else (compound_statement "{\n      bVar1 = pbVar2[1];\n    }" { (expression_statement "bVar1 = pbVar2[1];" (assignment_expression "bVar1 = pbVar2[1]" identifier = (subscript_expression "pbVar2[1]" identifier [ number_literal ])) ;) }))) (if_statement "if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }" { (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }" if (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0)" ( (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" ( (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }" { (expression_statement "lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);" (assignment_expression "lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10)" identifier = (call_expression "strtol((char *)(pbVar2 + 1),(char **)0x0,10)" identifier (argument_list "((char *)(pbVar2 + 1),(char **)0x0,10)" ( (cast_expression "(char *)(pbVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar2 + 1)" ( (binary_expression "pbVar2 + 1" identifier + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(long *)(param_2 + 0x18) = lVar5;" (assignment_expression "*(long *)(param_2 + 0x18) = lVar5" (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*(byte **)(param_2 + 0x10) = pbVar2 + 1;" (assignment_expression "*(byte **)(param_2 + 0x10) = pbVar2 + 1" (pointer_expression "*(byte **)(param_2 + 0x10)" * (cast_expression "(byte **)(param_2 + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 parse_spec(char *spec,Sym *sym)\n\n{\n  byte bVar1;\n  char *pcVar2;\n  Source_File *pSVar3;\n  long lVar4;\n  Source_File *pSVar5;\n  \n  sym_init(sym);\n  pcVar2 = strrchr(spec,0x3a);\n  if (pcVar2 == (char *)0x0) {\n    bVar1 = *spec;\n    if (bVar1 != 0) {\n      pcVar2 = strchr(spec,0x2e);\n      if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }\n    }\n  }\n  else {\n    *pcVar2 = '\0';\n    if (spec < pcVar2) {\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }\n    else {\n      bVar1 = pcVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 parse_spec(char *spec,Sym *sym)\n\n{\n  byte bVar1;\n  char *pcVar2;\n  Source_File *pSVar3;\n  long lVar4;\n  Source_File *pSVar5;\n  \n  sym_init(sym);\n  pcVar2 = strrchr(spec,0x3a);\n  if (pcVar2 == (char *)0x0) {\n    bVar1 = *spec;\n    if (bVar1 != 0) {\n      pcVar2 = strchr(spec,0x2e);\n      if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }\n    }\n  }\n  else {\n    *pcVar2 = '\0';\n    if (spec < pcVar2) {\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }\n    else {\n      bVar1 = pcVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "parse_spec(char *spec,Sym *sym)" identifier (parameter_list "(char *spec,Sym *sym)" ( (parameter_declaration "char *spec" primitive_type (pointer_declarator "*spec" * identifier)) , (parameter_declaration "Sym *sym" type_identifier (pointer_declarator "*sym" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char *pcVar2;\n  Source_File *pSVar3;\n  long lVar4;\n  Source_File *pSVar5;\n  \n  sym_init(sym);\n  pcVar2 = strrchr(spec,0x3a);\n  if (pcVar2 == (char *)0x0) {\n    bVar1 = *spec;\n    if (bVar1 != 0) {\n      pcVar2 = strchr(spec,0x2e);\n      if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }\n    }\n  }\n  else {\n    *pcVar2 = '\0';\n    if (spec < pcVar2) {\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }\n    else {\n      bVar1 = pcVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "Source_File *pSVar3;" type_identifier (pointer_declarator "*pSVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "Source_File *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (expression_statement "sym_init(sym);" (call_expression "sym_init(sym)" identifier (argument_list "(sym)" ( identifier ))) ;) (expression_statement "pcVar2 = strrchr(spec,0x3a);" (assignment_expression "pcVar2 = strrchr(spec,0x3a)" identifier = (call_expression "strrchr(spec,0x3a)" identifier (argument_list "(spec,0x3a)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    bVar1 = *spec;\n    if (bVar1 != 0) {\n      pcVar2 = strchr(spec,0x2e);\n      if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }\n    }\n  }\n  else {\n    *pcVar2 = '\0';\n    if (spec < pcVar2) {\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }\n    else {\n      bVar1 = pcVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }\n  }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = *spec;\n    if (bVar1 != 0) {\n      pcVar2 = strchr(spec,0x2e);\n      if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }\n    }\n  }" { (expression_statement "bVar1 = *spec;" (assignment_expression "bVar1 = *spec" identifier = (pointer_expression "*spec" * identifier)) ;) (if_statement "if (bVar1 != 0) {\n      pcVar2 = strchr(spec,0x2e);\n      if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }\n    }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar2 = strchr(spec,0x2e);\n      if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }\n    }" { (expression_statement "pcVar2 = strchr(spec,0x2e);" (assignment_expression "pcVar2 = strchr(spec,0x2e)" identifier = (call_expression "strchr(spec,0x2e)" identifier (argument_list "(spec,0x2e)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }\n      else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }\n      }" { (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          sym->name = spec;\n        }\n        else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }" if (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0)" ( (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" ( (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n          sym->name = spec;\n        }" { (expression_statement "sym->name = spec;" (assignment_expression "sym->name = spec" (field_expression "sym->name" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }" else (compound_statement "{\n          lVar4 = strtol(spec,(char **)0x0,10);\n          sym->line_num = lVar4;\n        }" { (expression_statement "lVar4 = strtol(spec,(char **)0x0,10);" (assignment_expression "lVar4 = strtol(spec,(char **)0x0,10)" identifier = (call_expression "strtol(spec,(char **)0x0,10)" identifier (argument_list "(spec,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "sym->line_num = lVar4;" (assignment_expression "sym->line_num = lVar4" (field_expression "sym->line_num" identifier -> field_identifier) = identifier) ;) }))) }) (else_clause "else {\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }" else (compound_statement "{\n        pSVar3 = source_file_lookup_name(spec);\n        pSVar5 = &non_existent_file;\n        if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }\n        sym->file = pSVar5;\n      }" { (expression_statement "pSVar3 = source_file_lookup_name(spec);" (assignment_expression "pSVar3 = source_file_lookup_name(spec)" identifier = (call_expression "source_file_lookup_name(spec)" identifier (argument_list "(spec)" ( identifier )))) ;) (expression_statement "pSVar5 = &non_existent_file;" (assignment_expression "pSVar5 = &non_existent_file" identifier = (pointer_expression "&non_existent_file" & identifier)) ;) (if_statement "if (pSVar3 != (Source_File *)0x0) {\n          pSVar5 = pSVar3;\n        }" if (parenthesized_expression "(pSVar3 != (Source_File *)0x0)" ( (binary_expression "pSVar3 != (Source_File *)0x0" identifier != (cast_expression "(Source_File *)0x0" ( (type_descriptor "Source_File *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pSVar5 = pSVar3;\n        }" { (expression_statement "pSVar5 = pSVar3;" (assignment_expression "pSVar5 = pSVar3" identifier = identifier) ;) })) (expression_statement "sym->file = pSVar5;" (assignment_expression "sym->file = pSVar5" (field_expression "sym->file" identifier -> field_identifier) = identifier) ;) }))) })) }) (else_clause "else {\n    *pcVar2 = '\0';\n    if (spec < pcVar2) {\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }\n    else {\n      bVar1 = pcVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }\n  }" else (compound_statement "{\n    *pcVar2 = '\0';\n    if (spec < pcVar2) {\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }\n    else {\n      bVar1 = pcVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }\n  }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (spec < pcVar2) {\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }\n    else {\n      bVar1 = pcVar2[1];\n    }" if (parenthesized_expression "(spec < pcVar2)" ( (binary_expression "spec < pcVar2" identifier < identifier) )) (compound_statement "{\n      pSVar3 = source_file_lookup_name(spec);\n      pSVar5 = &non_existent_file;\n      if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }\n      sym->file = pSVar5;\n      bVar1 = pcVar2[1];\n    }" { (expression_statement "pSVar3 = source_file_lookup_name(spec);" (assignment_expression "pSVar3 = source_file_lookup_name(spec)" identifier = (call_expression "source_file_lookup_name(spec)" identifier (argument_list "(spec)" ( identifier )))) ;) (expression_statement "pSVar5 = &non_existent_file;" (assignment_expression "pSVar5 = &non_existent_file" identifier = (pointer_expression "&non_existent_file" & identifier)) ;) (if_statement "if (pSVar3 != (Source_File *)0x0) {\n        pSVar5 = pSVar3;\n      }" if (parenthesized_expression "(pSVar3 != (Source_File *)0x0)" ( (binary_expression "pSVar3 != (Source_File *)0x0" identifier != (cast_expression "(Source_File *)0x0" ( (type_descriptor "Source_File *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pSVar5 = pSVar3;\n      }" { (expression_statement "pSVar5 = pSVar3;" (assignment_expression "pSVar5 = pSVar3" identifier = identifier) ;) })) (expression_statement "sym->file = pSVar5;" (assignment_expression "sym->file = pSVar5" (field_expression "sym->file" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar1 = pcVar2[1];" (assignment_expression "bVar1 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      bVar1 = pcVar2[1];\n    }" else (compound_statement "{\n      bVar1 = pcVar2[1];\n    }" { (expression_statement "bVar1 = pcVar2[1];" (assignment_expression "bVar1 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) }))) (if_statement "if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }\n      sym->name = pcVar2 + 1;\n    }" { (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }" if (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0)" ( (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" ( (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);\n        sym->line_num = lVar4;\n        return;\n      }" { (expression_statement "lVar4 = strtol(pcVar2 + 1,(char **)0x0,10);" (assignment_expression "lVar4 = strtol(pcVar2 + 1,(char **)0x0,10)" identifier = (call_expression "strtol(pcVar2 + 1,(char **)0x0,10)" identifier (argument_list "(pcVar2 + 1,(char **)0x0,10)" ( (binary_expression "pcVar2 + 1" identifier + number_literal) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "sym->line_num = lVar4;" (assignment_expression "sym->line_num = lVar4" (field_expression "sym->line_num" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "sym->name = pcVar2 + 1;" (assignment_expression "sym->name = pcVar2 + 1" (field_expression "sym->name" identifier -> field_identifier) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001d600(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001d600(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001d600(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (expression_statement "FUN_0001ce40(param_2);" (call_expression "FUN_0001ce40(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "pbVar2 = (byte *)strrchr((char *)param_1,0x3a);" (assignment_expression "pbVar2 = (byte *)strrchr((char *)param_1,0x3a)" identifier = (cast_expression "(byte *)strrchr((char *)param_1,0x3a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "strrchr((char *)param_1,0x3a)" identifier (argument_list "((char *)param_1,0x3a)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))))) ;) (if_statement "if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" if (parenthesized_expression "(pbVar2 == (byte *)0x0)" ( (binary_expression "pbVar2 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }" { (expression_statement "pcVar4 = strchr((char *)param_1,0x2e);" (assignment_expression "pcVar4 = strchr((char *)param_1,0x2e)" identifier = (call_expression "strchr((char *)param_1,0x2e)" identifier (argument_list "((char *)param_1,0x2e)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }" { (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" if (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0)" ( (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" ( (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n          *(byte **)(param_2 + 0x10) = param_1;\n        }" { (expression_statement "*(byte **)(param_2 + 0x10) = param_1;" (assignment_expression "*(byte **)(param_2 + 0x10) = param_1" (pointer_expression "*(byte **)(param_2 + 0x10)" * (cast_expression "(byte **)(param_2 + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" else (compound_statement "{\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" { (expression_statement "lVar5 = strtol((char *)param_1,(char **)0x0,10);" (assignment_expression "lVar5 = strtol((char *)param_1,(char **)0x0,10)" identifier = (call_expression "strtol((char *)param_1,(char **)0x0,10)" identifier (argument_list "((char *)param_1,(char **)0x0,10)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(long *)(param_2 + 0x18) = lVar5;" (assignment_expression "*(long *)(param_2 + 0x18) = lVar5" (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) }))) }) (else_clause "else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" else (compound_statement "{\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" { (expression_statement "puVar3 = (undefined *)FUN_0001c8d0(param_1);" (assignment_expression "puVar3 = (undefined *)FUN_0001c8d0(param_1)" identifier = (cast_expression "(undefined *)FUN_0001c8d0(param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c8d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "puVar6 = &DAT_0002d4bc;" (assignment_expression "puVar6 = &DAT_0002d4bc" identifier = (pointer_expression "&DAT_0002d4bc" & identifier)) ;) (if_statement "if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }" if (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar6 = puVar3;\n        }" { (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) })) (expression_statement "*(undefined **)(param_2 + 0x14) = puVar6;" (assignment_expression "*(undefined **)(param_2 + 0x14) = puVar6" (pointer_expression "*(undefined **)(param_2 + 0x14)" * (cast_expression "(undefined **)(param_2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) }))) })) }) (else_clause "else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" else (compound_statement "{\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" { (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" * identifier) = number_literal) ;) (if_statement "if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }" if (parenthesized_expression "(param_1 < pbVar2)" ( (binary_expression "param_1 < pbVar2" identifier < identifier) )) (compound_statement "{\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }" { (expression_statement "puVar3 = (undefined *)FUN_0001c8d0(param_1);" (assignment_expression "puVar3 = (undefined *)FUN_0001c8d0(param_1)" identifier = (cast_expression "(undefined *)FUN_0001c8d0(param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c8d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "puVar6 = &DAT_0002d4bc;" (assignment_expression "puVar6 = &DAT_0002d4bc" identifier = (pointer_expression "&DAT_0002d4bc" & identifier)) ;) (if_statement "if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }" if (parenthesized_expression "(puVar3 != (undefined *)0x0)" ( (binary_expression "puVar3 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar6 = puVar3;\n      }" { (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) })) (expression_statement "*(undefined **)(param_2 + 0x14) = puVar6;" (assignment_expression "*(undefined **)(param_2 + 0x14) = puVar6" (pointer_expression "*(undefined **)(param_2 + 0x14)" * (cast_expression "(undefined **)(param_2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "bVar1 = pbVar2[1];" (assignment_expression "bVar1 = pbVar2[1]" identifier = (subscript_expression "pbVar2[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      bVar1 = pbVar2[1];\n    }" else (compound_statement "{\n      bVar1 = pbVar2[1];\n    }" { (expression_statement "bVar1 = pbVar2[1];" (assignment_expression "bVar1 = pbVar2[1]" identifier = (subscript_expression "pbVar2[1]" identifier [ number_literal ])) ;) }))) (if_statement "if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }" { (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }" if (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0)" ( (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" ( (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" identifier [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }" { (expression_statement "lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);" (assignment_expression "lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10)" identifier = (call_expression "strtol((char *)(pbVar2 + 1),(char **)0x0,10)" identifier (argument_list "((char *)(pbVar2 + 1),(char **)0x0,10)" ( (cast_expression "(char *)(pbVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar2 + 1)" ( (binary_expression "pbVar2 + 1" identifier + number_literal) ))) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(long *)(param_2 + 0x18) = lVar5;" (assignment_expression "*(long *)(param_2 + 0x18) = lVar5" (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*(byte **)(param_2 + 0x10) = pbVar2 + 1;" (assignment_expression "*(byte **)(param_2 + 0x10) = pbVar2 + 1" (pointer_expression "*(byte **)(param_2 + 0x10)" * (cast_expression "(byte **)(param_2 + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) })) }))) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001d600(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001d600(byte *param_1,int param_2)" (identifier "FUN_0001d600") (parameter_list "(byte *param_1,int param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte *pbVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  long lVar5;\n  undefined *puVar6;\n  \n  FUN_0001ce40(param_2);\n  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);\n  if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (expression_statement "FUN_0001ce40(param_2);" (call_expression "FUN_0001ce40(param_2)" (identifier "FUN_0001ce40") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "pbVar2 = (byte *)strrchr((char *)param_1,0x3a);" (assignment_expression "pbVar2 = (byte *)strrchr((char *)param_1,0x3a)" (identifier "pbVar2") (= "=") (cast_expression "(byte *)strrchr((char *)param_1,0x3a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "strrchr((char *)param_1,0x3a)" (identifier "strrchr") (argument_list "((char *)param_1,0x3a)" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) (, ",") (number_literal "0x3a") () ")"))))) (; ";")) (if_statement "if (pbVar2 == (byte *)0x0) {\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }\n  else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" (if "if") (parenthesized_expression "(pbVar2 == (byte *)0x0)" (( "(") (binary_expression "pbVar2 == (byte *)0x0" (identifier "pbVar2") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    bVar1 = *param_1;\n    if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }\n  }" ({ "{") (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (bVar1 != 0) {\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }" (if "if") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar4 = strchr((char *)param_1,0x2e);\n      if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }\n    }" ({ "{") (expression_statement "pcVar4 = strchr((char *)param_1,0x2e);" (assignment_expression "pcVar4 = strchr((char *)param_1,0x2e)" (identifier "pcVar4") (= "=") (call_expression "strchr((char *)param_1,0x2e)" (identifier "strchr") (argument_list "((char *)param_1,0x2e)" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) (, ",") (number_literal "0x2e") () ")")))) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) {\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }\n      else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }\n      }" ({ "{") (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {\n          *(byte **)(param_2 + 0x10) = param_1;\n        }\n        else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" (if "if") (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0)" (( "(") (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" (( "(") (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" (identifier "PTR__sch_istable_0002cfdc") ([ "[") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(byte **)(param_2 + 0x10) = param_1;\n        }" ({ "{") (expression_statement "*(byte **)(param_2 + 0x10) = param_1;" (assignment_expression "*(byte **)(param_2 + 0x10) = param_1" (pointer_expression "*(byte **)(param_2 + 0x10)" (* "*") (cast_expression "(byte **)(param_2 + 0x10)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}")) (else_clause "else {\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" (else "else") (compound_statement "{\n          lVar5 = strtol((char *)param_1,(char **)0x0,10);\n          *(long *)(param_2 + 0x18) = lVar5;\n        }" ({ "{") (expression_statement "lVar5 = strtol((char *)param_1,(char **)0x0,10);" (assignment_expression "lVar5 = strtol((char *)param_1,(char **)0x0,10)" (identifier "lVar5") (= "=") (call_expression "strtol((char *)param_1,(char **)0x0,10)" (identifier "strtol") (argument_list "((char *)param_1,(char **)0x0,10)" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "*(long *)(param_2 + 0x18) = lVar5;" (assignment_expression "*(long *)(param_2 + 0x18) = lVar5" (pointer_expression "*(long *)(param_2 + 0x18)" (* "*") (cast_expression "(long *)(param_2 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "lVar5")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" (else "else") (compound_statement "{\n        puVar3 = (undefined *)FUN_0001c8d0(param_1);\n        puVar6 = &DAT_0002d4bc;\n        if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }\n        *(undefined **)(param_2 + 0x14) = puVar6;\n      }" ({ "{") (expression_statement "puVar3 = (undefined *)FUN_0001c8d0(param_1);" (assignment_expression "puVar3 = (undefined *)FUN_0001c8d0(param_1)" (identifier "puVar3") (= "=") (cast_expression "(undefined *)FUN_0001c8d0(param_1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001c8d0(param_1)" (identifier "FUN_0001c8d0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "puVar6 = &DAT_0002d4bc;" (assignment_expression "puVar6 = &DAT_0002d4bc" (identifier "puVar6") (= "=") (pointer_expression "&DAT_0002d4bc" (& "&") (identifier "DAT_0002d4bc"))) (; ";")) (if_statement "if (puVar3 != (undefined *)0x0) {\n          puVar6 = puVar3;\n        }" (if "if") (parenthesized_expression "(puVar3 != (undefined *)0x0)" (( "(") (binary_expression "puVar3 != (undefined *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          puVar6 = puVar3;\n        }" ({ "{") (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" (identifier "puVar6") (= "=") (identifier "puVar3")) (; ";")) (} "}"))) (expression_statement "*(undefined **)(param_2 + 0x14) = puVar6;" (assignment_expression "*(undefined **)(param_2 + 0x14) = puVar6" (pointer_expression "*(undefined **)(param_2 + 0x14)" (* "*") (cast_expression "(undefined **)(param_2 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (} "}")))) (} "}"))) (} "}")) (else_clause "else {\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" (else "else") (compound_statement "{\n    *pbVar2 = 0;\n    if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }\n    if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }\n  }" ({ "{") (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 < pbVar2) {\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }\n    else {\n      bVar1 = pbVar2[1];\n    }" (if "if") (parenthesized_expression "(param_1 < pbVar2)" (( "(") (binary_expression "param_1 < pbVar2" (identifier "param_1") (< "<") (identifier "pbVar2")) () ")")) (compound_statement "{\n      puVar3 = (undefined *)FUN_0001c8d0(param_1);\n      puVar6 = &DAT_0002d4bc;\n      if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }\n      *(undefined **)(param_2 + 0x14) = puVar6;\n      bVar1 = pbVar2[1];\n    }" ({ "{") (expression_statement "puVar3 = (undefined *)FUN_0001c8d0(param_1);" (assignment_expression "puVar3 = (undefined *)FUN_0001c8d0(param_1)" (identifier "puVar3") (= "=") (cast_expression "(undefined *)FUN_0001c8d0(param_1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001c8d0(param_1)" (identifier "FUN_0001c8d0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "puVar6 = &DAT_0002d4bc;" (assignment_expression "puVar6 = &DAT_0002d4bc" (identifier "puVar6") (= "=") (pointer_expression "&DAT_0002d4bc" (& "&") (identifier "DAT_0002d4bc"))) (; ";")) (if_statement "if (puVar3 != (undefined *)0x0) {\n        puVar6 = puVar3;\n      }" (if "if") (parenthesized_expression "(puVar3 != (undefined *)0x0)" (( "(") (binary_expression "puVar3 != (undefined *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        puVar6 = puVar3;\n      }" ({ "{") (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" (identifier "puVar6") (= "=") (identifier "puVar3")) (; ";")) (} "}"))) (expression_statement "*(undefined **)(param_2 + 0x14) = puVar6;" (assignment_expression "*(undefined **)(param_2 + 0x14) = puVar6" (pointer_expression "*(undefined **)(param_2 + 0x14)" (* "*") (cast_expression "(undefined **)(param_2 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "bVar1 = pbVar2[1];" (assignment_expression "bVar1 = pbVar2[1]" (identifier "bVar1") (= "=") (subscript_expression "pbVar2[1]" (identifier "pbVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n      bVar1 = pbVar2[1];\n    }" (else "else") (compound_statement "{\n      bVar1 = pbVar2[1];\n    }" ({ "{") (expression_statement "bVar1 = pbVar2[1];" (assignment_expression "bVar1 = pbVar2[1]" (identifier "bVar1") (= "=") (subscript_expression "pbVar2[1]" (identifier "pbVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))) (if_statement "if (bVar1 != 0) {\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }" (if "if") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }\n      *(byte **)(param_2 + 0x10) = pbVar2 + 1;\n    }" ({ "{") (if_statement "if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }" (if "if") (parenthesized_expression "((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0)" (( "(") (binary_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0" (parenthesized_expression "(PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4)" (( "(") (binary_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4" (subscript_expression "PTR__sch_istable_0002cfdc[(uint)bVar1 * 2]" (identifier "PTR__sch_istable_0002cfdc") ([ "[") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);\n        *(long *)(param_2 + 0x18) = lVar5;\n        return;\n      }" ({ "{") (expression_statement "lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);" (assignment_expression "lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10)" (identifier "lVar5") (= "=") (call_expression "strtol((char *)(pbVar2 + 1),(char **)0x0,10)" (identifier "strtol") (argument_list "((char *)(pbVar2 + 1),(char **)0x0,10)" (( "(") (cast_expression "(char *)(pbVar2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar2 + 1)" (( "(") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1")) () ")"))) (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "*(long *)(param_2 + 0x18) = lVar5;" (assignment_expression "*(long *)(param_2 + 0x18) = lVar5" (pointer_expression "*(long *)(param_2 + 0x18)" (* "*") (cast_expression "(long *)(param_2 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "lVar5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(byte **)(param_2 + 0x10) = pbVar2 + 1;" (assignment_expression "*(byte **)(param_2 + 0x10) = pbVar2 + 1" (pointer_expression "*(byte **)(param_2 + 0x10)" (* "*") (cast_expression "(byte **)(param_2 + 0x10)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(char *var_9,type_1 *sym)

{
  type_2 var_4;
  char *var_3;
  type_3 *var_8;
  long lVar4;
  type_3 *pSVar5;
  
  var_1(sym);
  var_3 = var_2(var_9,0x3a);
  if (var_3 == (char *)0x0) {
    var_4 = *var_9;
    if (var_4 != 0) {
      var_3 = var_5(var_9,0x2e);
      if (var_3 == (char *)0x0) {
        if ((PTR__sch_istable_0002cfdc[(type_4)var_4 * 2] & 4) == 0) {
          sym->name = var_9;
        }
        else {
          lVar4 = var_6(var_9,(char **)0x0,10);
          sym->line_num = lVar4;
        }
      }
      else {
        var_8 = var_7(var_9);
        pSVar5 = &non_existent_file;
        if (var_8 != (type_3 *)0x0) {
          pSVar5 = var_8;
        }
        sym->file = pSVar5;
      }
    }
  }
  else {
    *var_3 = '\0';
    if (var_9 < var_3) {
      var_8 = var_7(var_9);
      pSVar5 = &non_existent_file;
      if (var_8 != (type_3 *)0x0) {
        pSVar5 = var_8;
      }
      sym->file = pSVar5;
      var_4 = var_3[1];
    }
    else {
      var_4 = var_3[1];
    }
    if (var_4 != 0) {
      if ((PTR__sch_istable_0002cfdc[(type_4)var_4 * 2] & 4) != 0) {
        lVar4 = var_6(var_3 + 1,(char **)0x0,10);
        sym->line_num = lVar4;
        return;
      }
      sym->name = var_3 + 1;
    }
  }
  return;
}


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

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

void __regparm3 MASKED(byte *param_1,int param_2)

{
  byte bVar1;
  byte *pbVar2;
  undefined *puVar3;
  char *pcVar4;
  long lVar5;
  undefined *puVar6;
  
  FUN_0001ce40(param_2);
  pbVar2 = (byte *)strrchr((char *)param_1,0x3a);
  if (pbVar2 == (byte *)0x0) {
    bVar1 = *param_1;
    if (bVar1 != 0) {
      pcVar4 = strchr((char *)param_1,0x2e);
      if (pcVar4 == (char *)0x0) {
        if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) == 0) {
          *(byte **)(param_2 + 0x10) = param_1;
        }
        else {
          lVar5 = strtol((char *)param_1,(char **)0x0,10);
          *(long *)(param_2 + 0x18) = lVar5;
        }
      }
      else {
        puVar3 = (undefined *)FUN_0001c8d0(param_1);
        puVar6 = &DAT_0002d4bc;
        if (puVar3 != (undefined *)0x0) {
          puVar6 = puVar3;
        }
        *(undefined **)(param_2 + 0x14) = puVar6;
      }
    }
  }
  else {
    *pbVar2 = 0;
    if (param_1 < pbVar2) {
      puVar3 = (undefined *)FUN_0001c8d0(param_1);
      puVar6 = &DAT_0002d4bc;
      if (puVar3 != (undefined *)0x0) {
        puVar6 = puVar3;
      }
      *(undefined **)(param_2 + 0x14) = puVar6;
      bVar1 = pbVar2[1];
    }
    else {
      bVar1 = pbVar2[1];
    }
    if (bVar1 != 0) {
      if ((PTR__sch_istable_0002cfdc[(uint)bVar1 * 2] & 4) != 0) {
        lVar5 = strtol((char *)(pbVar2 + 1),(char **)0x0,10);
        *(long *)(param_2 + 0x18) = lVar5;
        return;
      }
      *(byte **)(param_2 + 0x10) = pbVar2 + 1;
    }
  }
  return;
}

