
char * atof_ieee(char *str,int what_kind,LITTLENUM_TYPE *words)

{
  LITTLENUM_TYPE *pLVar1;
  LITTLENUM_TYPE *pLVar2;
  LITTLENUM_TYPE *pLVar3;
  long lVar4;
  char cVar5;
  int iVar6;
  long lVar7;
  int local_54;
  long local_50;
  char *return_value;
  
  cVar5 = generic_floating_point_number.sign;
  lVar4 = generic_floating_point_number.exponent;
  pLVar3 = generic_floating_point_number.leader;
  pLVar2 = generic_floating_point_number.high;
  pLVar1 = generic_floating_point_number.low;
  atof_ieee::bits[4] = 0;
  generic_floating_point_number.low = atof_ieee::bits + 5;
  generic_floating_point_number.high = (LITTLENUM_TYPE *)0x0;
  generic_floating_point_number.leader = (LITTLENUM_TYPE *)0x0;
  generic_floating_point_number.exponent = 0;
  generic_floating_point_number.sign = '\0';
  atof_ieee::bits[0] = 0;
  atof_ieee::bits[1] = 0;
  atof_ieee::bits[2] = 0;
  atof_ieee::bits[3] = 0;
  return_value = str;
  switch(what_kind) {
  case 0x44:
  case 0x52:
  case 100:
  case 0x72:
    lVar7 = 10;
    local_54 = 4;
    local_50 = 0xb;
    break;
  case 0x45:
  case 0x58:
  case 0x65:
  case 0x78:
    local_50 = 0xf;
    lVar7 = 0xc;
    local_54 = 5;
    break;
  case 0x46:
  case 0x53:
  case 0x66:
  case 0x73:
    lVar7 = 6;
    local_54 = 2;
    local_50 = 8;
    break;
  default:
    goto switchD_00146fbd_caseD_47;
  case 0x50:
  case 0x70:
    lVar7 = 0xc;
    local_54 = 5;
    local_50 = -1;
  }
  generic_floating_point_number.high = (LITTLENUM_TYPE *)((long)atof_ieee::bits + lVar7 + 10);
  iVar6 = atof_generic(&return_value,".","eE",&generic_floating_point_number);
  if (iVar6 == 0) {
    gen_to_words(words,local_54,local_50);
    generic_floating_point_number.low = pLVar1;
    generic_floating_point_number.high = pLVar2;
    generic_floating_point_number.leader = pLVar3;
    generic_floating_point_number.exponent = lVar4;
    generic_floating_point_number.sign = cVar5;
    return return_value;
  }
switchD_00146fbd_caseD_47:
  make_invalid_floating_point_number(words);
  return (char *)0x0;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined8 FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  undefined1 uVar5;
  int iVar6;
  long lVar7;
  undefined4 local_54;
  undefined8 local_50;
  undefined8 local_40 [2];
  
  uVar5 = DAT_00164480;
  uVar4 = DAT_00164478;
  uVar3 = DAT_00164470;
  puVar2 = PTR_DAT_00164468;
  puVar1 = PTR_DAT_00164460;
  _DAT_0016eca8 = 0;
  PTR_DAT_00164460 = &DAT_0016ecaa;
  PTR_DAT_00164468 = (undefined *)0x0;
  DAT_00164470 = 0;
  DAT_00164478 = 0;
  DAT_00164480 = 0;
  _DAT_0016eca0 = 0;
  local_40[0] = param_1;
  switch(param_2) {
  case 0x44:
  case 0x52:
  case 100:
  case 0x72:
    lVar7 = 10;
    local_54 = 4;
    local_50 = 0xb;
    break;
  case 0x45:
  case 0x58:
  case 0x65:
  case 0x78:
    local_50 = 0xf;
    lVar7 = 0xc;
    local_54 = 5;
    break;
  case 0x46:
  case 0x53:
  case 0x66:
  case 0x73:
    lVar7 = 6;
    local_54 = 2;
    local_50 = 8;
    break;
  default:
    goto switchD_00146fbd_caseD_47;
  case 0x50:
  case 0x70:
    lVar7 = 0xc;
    local_54 = 5;
    local_50 = 0xffffffffffffffff;
  }
  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;
  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);
  if (iVar6 == 0) {
    FUN_00146960(param_3,local_54,local_50);
    PTR_DAT_00164460 = puVar1;
    PTR_DAT_00164468 = puVar2;
    DAT_00164470 = uVar3;
    DAT_00164478 = uVar4;
    DAT_00164480 = uVar5;
    return local_40[0];
  }
switchD_00146fbd_caseD_47:
  FUN_00146920(param_3);
  return 0;
}


PUSH R15
LEA RAX,[0x16ecaa]
MOV R15,RDX
SUB ESI,0x44
PUSH R14
XOR EDX,EDX
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x28
MOV word ptr [0x0016eca8],DX
MOV R14,qword ptr [0x00164460]
MOV R13,qword ptr [0x00164468]
MOV R12,qword ptr [0x00164470]
MOV qword ptr [RSP + 0x18],RDI
MOV RBP,qword ptr [0x00164478]
MOVZX EBX,byte ptr [0x00164480]
MOV qword ptr [0x00164460],RAX
MOV qword ptr [0x00164468],0x0
MOV qword ptr [0x00164470],0x0
MOV qword ptr [0x00164478],0x0
MOV byte ptr [0x00164480],0x0
MOV qword ptr [0x0016eca0],0x0
CMP ESI,0x34
JA 0x001470b0
LEA RCX,[0x153200]
MOVSXD RDX,dword ptr [RCX + RSI*0x4]
ADD RDX,RCX
JMP RDX
MOV qword ptr [RSP + 0x8],0xf
MOV EDX,0xc
MOV dword ptr [RSP + 0x4],0x5
ADD RAX,RDX
LEA RDI,[RSP + 0x18]
LEA RCX,[0x164460]
LEA RDX,[0x14f725]
LEA RSI,[0x14a82b]
MOV qword ptr [0x00164468],RAX
CALL 0x0010cb50
TEST EAX,EAX
JNZ 0x001470b0
MOV RDX,qword ptr [RSP + 0x8]
MOV ESI,dword ptr [RSP + 0x4]
MOV RDI,R15
CALL 0x00146960
MOV qword ptr [0x00164460],R14
MOV RAX,qword ptr [RSP + 0x18]
MOV qword ptr [0x00164468],R13
MOV qword ptr [0x00164470],R12
MOV qword ptr [0x00164478],RBP
MOV byte ptr [0x00164480],BL
ADD RSP,0x28
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV EDX,0xa
MOV dword ptr [RSP + 0x4],0x4
MOV qword ptr [RSP + 0x8],0xb
JMP 0x00146fd6
MOV EDX,0xc
MOV dword ptr [RSP + 0x4],0x5
MOV qword ptr [RSP + 0x8],-0x1
JMP 0x00146fd6
MOV EDX,0x6
MOV dword ptr [RSP + 0x4],0x2
MOV qword ptr [RSP + 0x8],0x8
JMP 0x00146fd6
MOV RDI,R15
CALL 0x00146920
ADD RSP,0x28
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined8 FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}\n\n" comment (function_definition "undefined8 FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}" type_identifier (function_declarator "FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined4 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined1 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 local_54;" type_identifier identifier ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_40 [2];" type_identifier (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "uVar5 = DAT_00164480;" (assignment_expression "uVar5 = DAT_00164480" identifier = identifier) ;) (expression_statement "uVar4 = DAT_00164478;" (assignment_expression "uVar4 = DAT_00164478" identifier = identifier) ;) (expression_statement "uVar3 = DAT_00164470;" (assignment_expression "uVar3 = DAT_00164470" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_00164468;" (assignment_expression "puVar2 = PTR_DAT_00164468" identifier = identifier) ;) (expression_statement "puVar1 = PTR_DAT_00164460;" (assignment_expression "puVar1 = PTR_DAT_00164460" identifier = identifier) ;) (expression_statement "_DAT_0016eca8 = 0;" (assignment_expression "_DAT_0016eca8 = 0" identifier = number_literal) ;) (expression_statement "PTR_DAT_00164460 = &DAT_0016ecaa;" (assignment_expression "PTR_DAT_00164460 = &DAT_0016ecaa" identifier = (pointer_expression "&DAT_0016ecaa" & identifier)) ;) (expression_statement "PTR_DAT_00164468 = (undefined *)0x0;" (assignment_expression "PTR_DAT_00164468 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00164470 = 0;" (assignment_expression "DAT_00164470 = 0" identifier = number_literal) ;) (expression_statement "DAT_00164478 = 0;" (assignment_expression "DAT_00164478 = 0" identifier = number_literal) ;) (expression_statement "DAT_00164480 = 0;" (assignment_expression "DAT_00164480 = 0" identifier = number_literal) ;) (expression_statement "_DAT_0016eca0 = 0;" (assignment_expression "_DAT_0016eca0 = 0" identifier = number_literal) ;) (expression_statement "local_40[0] = param_1;" (assignment_expression "local_40[0] = param_1" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (switch_statement "switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }" switch (parenthesized_expression "(param_2)" ( identifier )) (compound_statement "{\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }" { (case_statement "case 0x44:" case number_literal :) (case_statement "case 0x52:" case number_literal :) (case_statement "case 100:" case number_literal :) (case_statement "case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;" case number_literal : (expression_statement "lVar7 = 10;" (assignment_expression "lVar7 = 10" identifier = number_literal) ;) (expression_statement "local_54 = 4;" (assignment_expression "local_54 = 4" identifier = number_literal) ;) (expression_statement "local_50 = 0xb;" (assignment_expression "local_50 = 0xb" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "case 0x45:" case number_literal :) (case_statement "case 0x58:" case number_literal :) (case_statement "case 0x65:" case number_literal :) (case_statement "case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;" case number_literal : (expression_statement "local_50 = 0xf;" (assignment_expression "local_50 = 0xf" identifier = number_literal) ;) (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" identifier = number_literal) ;) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "case 0x46:" case number_literal :) (case_statement "case 0x53:" case number_literal :) (case_statement "case 0x66:" case number_literal :) (case_statement "case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;" case number_literal : (expression_statement "lVar7 = 6;" (assignment_expression "lVar7 = 6" identifier = number_literal) ;) (expression_statement "local_54 = 2;" (assignment_expression "local_54 = 2" identifier = number_literal) ;) (expression_statement "local_50 = 8;" (assignment_expression "local_50 = 8" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "default:\n    goto switchD_00146fbd_caseD_47;" default : (goto_statement "goto switchD_00146fbd_caseD_47;" goto statement_identifier ;)) (case_statement "case 0x50:" case number_literal :) (case_statement "case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;" case number_literal : (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" identifier = number_literal) ;) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" identifier = number_literal) ;) (expression_statement "local_50 = 0xffffffffffffffff;" (assignment_expression "local_50 = 0xffffffffffffffff" identifier = number_literal) ;)) })) (expression_statement "PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;" (assignment_expression "PTR_DAT_00164468 = &DAT_0016ecaa + lVar7" identifier = (binary_expression "&DAT_0016ecaa + lVar7" (pointer_expression "&DAT_0016ecaa" & identifier) + identifier)) ;) (expression_statement "iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);" (assignment_expression "iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" identifier = (call_expression "FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" identifier (argument_list "(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" ( identifier , (string_literal ""."" " string_content ") , (pointer_expression "&DAT_0014f725" & identifier) , (pointer_expression "&PTR_DAT_00164460" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }" { (expression_statement "FUN_00146960(param_3,local_54,local_50);" (call_expression "FUN_00146960(param_3,local_54,local_50)" identifier (argument_list "(param_3,local_54,local_50)" ( identifier , identifier , identifier ))) ;) (expression_statement "PTR_DAT_00164460 = puVar1;" (assignment_expression "PTR_DAT_00164460 = puVar1" identifier = identifier) ;) (expression_statement "PTR_DAT_00164468 = puVar2;" (assignment_expression "PTR_DAT_00164468 = puVar2" identifier = identifier) ;) (expression_statement "DAT_00164470 = uVar3;" (assignment_expression "DAT_00164470 = uVar3" identifier = identifier) ;) (expression_statement "DAT_00164478 = uVar4;" (assignment_expression "DAT_00164478 = uVar4" identifier = identifier) ;) (expression_statement "DAT_00164480 = uVar5;" (assignment_expression "DAT_00164480 = uVar5" identifier = identifier) ;) (return_statement "return local_40[0];" return (subscript_expression "local_40[0]" identifier [ number_literal ]) ;) })) (labeled_statement "switchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);" statement_identifier : (expression_statement "FUN_00146920(param_3);" (call_expression "FUN_00146920(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "char * atof_ieee(char *str,int what_kind,LITTLENUM_TYPE *words)\n\n{\n  LITTLENUM_TYPE *pLVar1;\n  LITTLENUM_TYPE *pLVar2;\n  LITTLENUM_TYPE *pLVar3;\n  long lVar4;\n  char cVar5;\n  int iVar6;\n  long lVar7;\n  int local_54;\n  long local_50;\n  char *return_value;\n  \n  cVar5 = generic_floating_point_number.sign;\n  lVar4 = generic_floating_point_number.exponent;\n  pLVar3 = generic_floating_point_number.leader;\n  pLVar2 = generic_floating_point_number.high;\n  pLVar1 = generic_floating_point_number.low;\n  atof_ieee::bits[4] = 0;\n  generic_floating_point_number.low = atof_ieee::bits + 5;\n  generic_floating_point_number.high = (LITTLENUM_TYPE *)0x0;\n  generic_floating_point_number.leader = (LITTLENUM_TYPE *)0x0;\n  generic_floating_point_number.exponent = 0;\n  generic_floating_point_number.sign = '\0';\n  atof_ieee::bits[0] = 0;\n  atof_ieee::bits[1] = 0;\n  atof_ieee::bits[2] = 0;\n  atof_ieee::bits[3] = 0;\n  return_value = str;\n  switch(what_kind) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = -1;\n  }\n  generic_floating_point_number.high = (LITTLENUM_TYPE *)((long)atof_ieee::bits + lVar7 + 10);\n  iVar6 = atof_generic(&return_value,".","eE",&generic_floating_point_number);\n  if (iVar6 == 0) {\n    gen_to_words(words,local_54,local_50);\n    generic_floating_point_number.low = pLVar1;\n    generic_floating_point_number.high = pLVar2;\n    generic_floating_point_number.leader = pLVar3;\n    generic_floating_point_number.exponent = lVar4;\n    generic_floating_point_number.sign = cVar5;\n    return return_value;\n  }\nswitchD_00146fbd_caseD_47:\n  make_invalid_floating_point_number(words);\n  return (char *)0x0;\n}\n\n" (function_definition "char * atof_ieee(char *str,int what_kind,LITTLENUM_TYPE *words)\n\n{\n  LITTLENUM_TYPE *pLVar1;\n  LITTLENUM_TYPE *pLVar2;\n  LITTLENUM_TYPE *pLVar3;\n  long lVar4;\n  char cVar5;\n  int iVar6;\n  long lVar7;\n  int local_54;\n  long local_50;\n  char *return_value;\n  \n  cVar5 = generic_floating_point_number.sign;\n  lVar4 = generic_floating_point_number.exponent;\n  pLVar3 = generic_floating_point_number.leader;\n  pLVar2 = generic_floating_point_number.high;\n  pLVar1 = generic_floating_point_number.low;\n  atof_ieee::bits[4] = 0;\n  generic_floating_point_number.low = atof_ieee::bits + 5;\n  generic_floating_point_number.high = (LITTLENUM_TYPE *)0x0;\n  generic_floating_point_number.leader = (LITTLENUM_TYPE *)0x0;\n  generic_floating_point_number.exponent = 0;\n  generic_floating_point_number.sign = '\0';\n  atof_ieee::bits[0] = 0;\n  atof_ieee::bits[1] = 0;\n  atof_ieee::bits[2] = 0;\n  atof_ieee::bits[3] = 0;\n  return_value = str;\n  switch(what_kind) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = -1;\n  }\n  generic_floating_point_number.high = (LITTLENUM_TYPE *)((long)atof_ieee::bits + lVar7 + 10);\n  iVar6 = atof_generic(&return_value,".","eE",&generic_floating_point_number);\n  if (iVar6 == 0) {\n    gen_to_words(words,local_54,local_50);\n    generic_floating_point_number.low = pLVar1;\n    generic_floating_point_number.high = pLVar2;\n    generic_floating_point_number.leader = pLVar3;\n    generic_floating_point_number.exponent = lVar4;\n    generic_floating_point_number.sign = cVar5;\n    return return_value;\n  }\nswitchD_00146fbd_caseD_47:\n  make_invalid_floating_point_number(words);\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* atof_ieee(char *str,int what_kind,LITTLENUM_TYPE *words)" * (function_declarator "atof_ieee(char *str,int what_kind,LITTLENUM_TYPE *words)" identifier (parameter_list "(char *str,int what_kind,LITTLENUM_TYPE *words)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "int what_kind" primitive_type identifier) , (parameter_declaration "LITTLENUM_TYPE *words" type_identifier (pointer_declarator "*words" * identifier)) )))) (compound_statement "{\n  LITTLENUM_TYPE *pLVar1;\n  LITTLENUM_TYPE *pLVar2;\n  LITTLENUM_TYPE *pLVar3;\n  long lVar4;\n  char cVar5;\n  int iVar6;\n  long lVar7;\n  int local_54;\n  long local_50;\n  char *return_value;\n  \n  cVar5 = generic_floating_point_number.sign;\n  lVar4 = generic_floating_point_number.exponent;\n  pLVar3 = generic_floating_point_number.leader;\n  pLVar2 = generic_floating_point_number.high;\n  pLVar1 = generic_floating_point_number.low;\n  atof_ieee::bits[4] = 0;\n  generic_floating_point_number.low = atof_ieee::bits + 5;\n  generic_floating_point_number.high = (LITTLENUM_TYPE *)0x0;\n  generic_floating_point_number.leader = (LITTLENUM_TYPE *)0x0;\n  generic_floating_point_number.exponent = 0;\n  generic_floating_point_number.sign = '\0';\n  atof_ieee::bits[0] = 0;\n  atof_ieee::bits[1] = 0;\n  atof_ieee::bits[2] = 0;\n  atof_ieee::bits[3] = 0;\n  return_value = str;\n  switch(what_kind) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = -1;\n  }\n  generic_floating_point_number.high = (LITTLENUM_TYPE *)((long)atof_ieee::bits + lVar7 + 10);\n  iVar6 = atof_generic(&return_value,".","eE",&generic_floating_point_number);\n  if (iVar6 == 0) {\n    gen_to_words(words,local_54,local_50);\n    generic_floating_point_number.low = pLVar1;\n    generic_floating_point_number.high = pLVar2;\n    generic_floating_point_number.leader = pLVar3;\n    generic_floating_point_number.exponent = lVar4;\n    generic_floating_point_number.sign = cVar5;\n    return return_value;\n  }\nswitchD_00146fbd_caseD_47:\n  make_invalid_floating_point_number(words);\n  return (char *)0x0;\n}" { (declaration "LITTLENUM_TYPE *pLVar1;" type_identifier (pointer_declarator "*pLVar1" * identifier) ;) (declaration "LITTLENUM_TYPE *pLVar2;" type_identifier (pointer_declarator "*pLVar2" * identifier) ;) (declaration "LITTLENUM_TYPE *pLVar3;" type_identifier (pointer_declarator "*pLVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "long local_50;" (sized_type_specifier "long" long) identifier ;) (declaration "char *return_value;" primitive_type (pointer_declarator "*return_value" * identifier) ;) (expression_statement "cVar5 = generic_floating_point_number.sign;" (assignment_expression "cVar5 = generic_floating_point_number.sign" identifier = (field_expression "generic_floating_point_number.sign" identifier . field_identifier)) ;) (expression_statement "lVar4 = generic_floating_point_number.exponent;" (assignment_expression "lVar4 = generic_floating_point_number.exponent" identifier = (field_expression "generic_floating_point_number.exponent" identifier . field_identifier)) ;) (expression_statement "pLVar3 = generic_floating_point_number.leader;" (assignment_expression "pLVar3 = generic_floating_point_number.leader" identifier = (field_expression "generic_floating_point_number.leader" identifier . field_identifier)) ;) (expression_statement "pLVar2 = generic_floating_point_number.high;" (assignment_expression "pLVar2 = generic_floating_point_number.high" identifier = (field_expression "generic_floating_point_number.high" identifier . field_identifier)) ;) (expression_statement "pLVar1 = generic_floating_point_number.low;" (assignment_expression "pLVar1 = generic_floating_point_number.low" identifier = (field_expression "generic_floating_point_number.low" identifier . field_identifier)) ;) (labeled_statement "atof_ieee::bits[4] = 0;" statement_identifier : (ERROR ":" :) (expression_statement "bits[4] = 0;" (assignment_expression "bits[4] = 0" (subscript_expression "bits[4]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "generic_floating_point_number.low = atof_ieee::bits + 5;" (binary_expression "generic_floating_point_number.low = atof_ieee::bits + 5" (assignment_expression "generic_floating_point_number.low = atof_ieee" (field_expression "generic_floating_point_number.low" identifier . field_identifier) = identifier) (ERROR "::bits" : : identifier) + number_literal) ;) (expression_statement "generic_floating_point_number.high = (LITTLENUM_TYPE *)0x0;" (assignment_expression "generic_floating_point_number.high = (LITTLENUM_TYPE *)0x0" (field_expression "generic_floating_point_number.high" identifier . field_identifier) = (cast_expression "(LITTLENUM_TYPE *)0x0" ( (type_descriptor "LITTLENUM_TYPE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "generic_floating_point_number.leader = (LITTLENUM_TYPE *)0x0;" (assignment_expression "generic_floating_point_number.leader = (LITTLENUM_TYPE *)0x0" (field_expression "generic_floating_point_number.leader" identifier . field_identifier) = (cast_expression "(LITTLENUM_TYPE *)0x0" ( (type_descriptor "LITTLENUM_TYPE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "generic_floating_point_number.exponent = 0;" (assignment_expression "generic_floating_point_number.exponent = 0" (field_expression "generic_floating_point_number.exponent" identifier . field_identifier) = number_literal) ;) (expression_statement "generic_floating_point_number.sign = '\0';" (assignment_expression "generic_floating_point_number.sign = '\0'" (field_expression "generic_floating_point_number.sign" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (labeled_statement "atof_ieee::bits[0] = 0;" statement_identifier : (ERROR ":" :) (expression_statement "bits[0] = 0;" (assignment_expression "bits[0] = 0" (subscript_expression "bits[0]" identifier [ number_literal ]) = number_literal) ;)) (labeled_statement "atof_ieee::bits[1] = 0;" statement_identifier : (ERROR ":" :) (expression_statement "bits[1] = 0;" (assignment_expression "bits[1] = 0" (subscript_expression "bits[1]" identifier [ number_literal ]) = number_literal) ;)) (labeled_statement "atof_ieee::bits[2] = 0;" statement_identifier : (ERROR ":" :) (expression_statement "bits[2] = 0;" (assignment_expression "bits[2] = 0" (subscript_expression "bits[2]" identifier [ number_literal ]) = number_literal) ;)) (labeled_statement "atof_ieee::bits[3] = 0;" statement_identifier : (ERROR ":" :) (expression_statement "bits[3] = 0;" (assignment_expression "bits[3] = 0" (subscript_expression "bits[3]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "return_value = str;" (assignment_expression "return_value = str" identifier = identifier) ;) (switch_statement "switch(what_kind) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = -1;\n  }" switch (parenthesized_expression "(what_kind)" ( identifier )) (compound_statement "{\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = -1;\n  }" { (case_statement "case 0x44:" case number_literal :) (case_statement "case 0x52:" case number_literal :) (case_statement "case 100:" case number_literal :) (case_statement "case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;" case number_literal : (expression_statement "lVar7 = 10;" (assignment_expression "lVar7 = 10" identifier = number_literal) ;) (expression_statement "local_54 = 4;" (assignment_expression "local_54 = 4" identifier = number_literal) ;) (expression_statement "local_50 = 0xb;" (assignment_expression "local_50 = 0xb" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "case 0x45:" case number_literal :) (case_statement "case 0x58:" case number_literal :) (case_statement "case 0x65:" case number_literal :) (case_statement "case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;" case number_literal : (expression_statement "local_50 = 0xf;" (assignment_expression "local_50 = 0xf" identifier = number_literal) ;) (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" identifier = number_literal) ;) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "case 0x46:" case number_literal :) (case_statement "case 0x53:" case number_literal :) (case_statement "case 0x66:" case number_literal :) (case_statement "case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;" case number_literal : (expression_statement "lVar7 = 6;" (assignment_expression "lVar7 = 6" identifier = number_literal) ;) (expression_statement "local_54 = 2;" (assignment_expression "local_54 = 2" identifier = number_literal) ;) (expression_statement "local_50 = 8;" (assignment_expression "local_50 = 8" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "default:\n    goto switchD_00146fbd_caseD_47;" default : (goto_statement "goto switchD_00146fbd_caseD_47;" goto statement_identifier ;)) (case_statement "case 0x50:" case number_literal :) (case_statement "case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = -1;" case number_literal : (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" identifier = number_literal) ;) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" identifier = number_literal) ;) (expression_statement "local_50 = -1;" (assignment_expression "local_50 = -1" identifier = number_literal) ;)) })) (expression_statement "generic_floating_point_number.high = (LITTLENUM_TYPE *)((long)atof_ieee::bits + lVar7 + 10);" (assignment_expression "generic_floating_point_number.high = (LITTLENUM_TYPE *)((long)atof_ieee::bits + lVar7 + 10)" (field_expression "generic_floating_point_number.high" identifier . field_identifier) = (cast_expression "(LITTLENUM_TYPE *)((long)atof_ieee::bits + lVar7 + 10)" ( (type_descriptor "LITTLENUM_TYPE *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)atof_ieee::bits + lVar7 + 10)" ( (binary_expression "(long)atof_ieee::bits + lVar7 + 10" (binary_expression "(long)atof_ieee::bits + lVar7" (cast_expression "(long)atof_ieee" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) (ERROR "::bits" : : identifier) + identifier) + number_literal) )))) ;) (expression_statement "iVar6 = atof_generic(&return_value,".","eE",&generic_floating_point_number);" (assignment_expression "iVar6 = atof_generic(&return_value,".","eE",&generic_floating_point_number)" identifier = (call_expression "atof_generic(&return_value,".","eE",&generic_floating_point_number)" identifier (argument_list "(&return_value,".","eE",&generic_floating_point_number)" ( (pointer_expression "&return_value" & identifier) , (string_literal ""."" " string_content ") , (string_literal ""eE"" " string_content ") , (pointer_expression "&generic_floating_point_number" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n    gen_to_words(words,local_54,local_50);\n    generic_floating_point_number.low = pLVar1;\n    generic_floating_point_number.high = pLVar2;\n    generic_floating_point_number.leader = pLVar3;\n    generic_floating_point_number.exponent = lVar4;\n    generic_floating_point_number.sign = cVar5;\n    return return_value;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    gen_to_words(words,local_54,local_50);\n    generic_floating_point_number.low = pLVar1;\n    generic_floating_point_number.high = pLVar2;\n    generic_floating_point_number.leader = pLVar3;\n    generic_floating_point_number.exponent = lVar4;\n    generic_floating_point_number.sign = cVar5;\n    return return_value;\n  }" { (expression_statement "gen_to_words(words,local_54,local_50);" (call_expression "gen_to_words(words,local_54,local_50)" identifier (argument_list "(words,local_54,local_50)" ( identifier , identifier , identifier ))) ;) (expression_statement "generic_floating_point_number.low = pLVar1;" (assignment_expression "generic_floating_point_number.low = pLVar1" (field_expression "generic_floating_point_number.low" identifier . field_identifier) = identifier) ;) (expression_statement "generic_floating_point_number.high = pLVar2;" (assignment_expression "generic_floating_point_number.high = pLVar2" (field_expression "generic_floating_point_number.high" identifier . field_identifier) = identifier) ;) (expression_statement "generic_floating_point_number.leader = pLVar3;" (assignment_expression "generic_floating_point_number.leader = pLVar3" (field_expression "generic_floating_point_number.leader" identifier . field_identifier) = identifier) ;) (expression_statement "generic_floating_point_number.exponent = lVar4;" (assignment_expression "generic_floating_point_number.exponent = lVar4" (field_expression "generic_floating_point_number.exponent" identifier . field_identifier) = identifier) ;) (expression_statement "generic_floating_point_number.sign = cVar5;" (assignment_expression "generic_floating_point_number.sign = cVar5" (field_expression "generic_floating_point_number.sign" identifier . field_identifier) = identifier) ;) (return_statement "return return_value;" return identifier ;) })) (labeled_statement "switchD_00146fbd_caseD_47:\n  make_invalid_floating_point_number(words);" statement_identifier : (expression_statement "make_invalid_floating_point_number(words);" (call_expression "make_invalid_floating_point_number(words)" identifier (argument_list "(words)" ( identifier ))) ;)) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined8 FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}" type_identifier (function_declarator "FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)" identifier (parameter_list "(undefined8 param_1,undefined4 param_2,undefined8 param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined1 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 local_54;" type_identifier identifier ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_40 [2];" type_identifier (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "uVar5 = DAT_00164480;" (assignment_expression "uVar5 = DAT_00164480" identifier = identifier) ;) (expression_statement "uVar4 = DAT_00164478;" (assignment_expression "uVar4 = DAT_00164478" identifier = identifier) ;) (expression_statement "uVar3 = DAT_00164470;" (assignment_expression "uVar3 = DAT_00164470" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_00164468;" (assignment_expression "puVar2 = PTR_DAT_00164468" identifier = identifier) ;) (expression_statement "puVar1 = PTR_DAT_00164460;" (assignment_expression "puVar1 = PTR_DAT_00164460" identifier = identifier) ;) (expression_statement "_DAT_0016eca8 = 0;" (assignment_expression "_DAT_0016eca8 = 0" identifier = number_literal) ;) (expression_statement "PTR_DAT_00164460 = &DAT_0016ecaa;" (assignment_expression "PTR_DAT_00164460 = &DAT_0016ecaa" identifier = (pointer_expression "&DAT_0016ecaa" & identifier)) ;) (expression_statement "PTR_DAT_00164468 = (undefined *)0x0;" (assignment_expression "PTR_DAT_00164468 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00164470 = 0;" (assignment_expression "DAT_00164470 = 0" identifier = number_literal) ;) (expression_statement "DAT_00164478 = 0;" (assignment_expression "DAT_00164478 = 0" identifier = number_literal) ;) (expression_statement "DAT_00164480 = 0;" (assignment_expression "DAT_00164480 = 0" identifier = number_literal) ;) (expression_statement "_DAT_0016eca0 = 0;" (assignment_expression "_DAT_0016eca0 = 0" identifier = number_literal) ;) (expression_statement "local_40[0] = param_1;" (assignment_expression "local_40[0] = param_1" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (switch_statement "switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }" switch (parenthesized_expression "(param_2)" ( identifier )) (compound_statement "{\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }" { (case_statement "case 0x44:" case number_literal :) (case_statement "case 0x52:" case number_literal :) (case_statement "case 100:" case number_literal :) (case_statement "case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;" case number_literal : (expression_statement "lVar7 = 10;" (assignment_expression "lVar7 = 10" identifier = number_literal) ;) (expression_statement "local_54 = 4;" (assignment_expression "local_54 = 4" identifier = number_literal) ;) (expression_statement "local_50 = 0xb;" (assignment_expression "local_50 = 0xb" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "case 0x45:" case number_literal :) (case_statement "case 0x58:" case number_literal :) (case_statement "case 0x65:" case number_literal :) (case_statement "case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;" case number_literal : (expression_statement "local_50 = 0xf;" (assignment_expression "local_50 = 0xf" identifier = number_literal) ;) (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" identifier = number_literal) ;) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "case 0x46:" case number_literal :) (case_statement "case 0x53:" case number_literal :) (case_statement "case 0x66:" case number_literal :) (case_statement "case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;" case number_literal : (expression_statement "lVar7 = 6;" (assignment_expression "lVar7 = 6" identifier = number_literal) ;) (expression_statement "local_54 = 2;" (assignment_expression "local_54 = 2" identifier = number_literal) ;) (expression_statement "local_50 = 8;" (assignment_expression "local_50 = 8" identifier = number_literal) ;) (break_statement "break;" break ;)) (case_statement "default:\n    goto switchD_00146fbd_caseD_47;" default : (goto_statement "goto switchD_00146fbd_caseD_47;" goto statement_identifier ;)) (case_statement "case 0x50:" case number_literal :) (case_statement "case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;" case number_literal : (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" identifier = number_literal) ;) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" identifier = number_literal) ;) (expression_statement "local_50 = 0xffffffffffffffff;" (assignment_expression "local_50 = 0xffffffffffffffff" identifier = number_literal) ;)) })) (expression_statement "PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;" (assignment_expression "PTR_DAT_00164468 = &DAT_0016ecaa + lVar7" identifier = (binary_expression "&DAT_0016ecaa + lVar7" (pointer_expression "&DAT_0016ecaa" & identifier) + identifier)) ;) (expression_statement "iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);" (assignment_expression "iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" identifier = (call_expression "FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" identifier (argument_list "(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" ( identifier , (string_literal ""."" " string_content ") , (pointer_expression "&DAT_0014f725" & identifier) , (pointer_expression "&PTR_DAT_00164460" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }" { (expression_statement "FUN_00146960(param_3,local_54,local_50);" (call_expression "FUN_00146960(param_3,local_54,local_50)" identifier (argument_list "(param_3,local_54,local_50)" ( identifier , identifier , identifier ))) ;) (expression_statement "PTR_DAT_00164460 = puVar1;" (assignment_expression "PTR_DAT_00164460 = puVar1" identifier = identifier) ;) (expression_statement "PTR_DAT_00164468 = puVar2;" (assignment_expression "PTR_DAT_00164468 = puVar2" identifier = identifier) ;) (expression_statement "DAT_00164470 = uVar3;" (assignment_expression "DAT_00164470 = uVar3" identifier = identifier) ;) (expression_statement "DAT_00164478 = uVar4;" (assignment_expression "DAT_00164478 = uVar4" identifier = identifier) ;) (expression_statement "DAT_00164480 = uVar5;" (assignment_expression "DAT_00164480 = uVar5" identifier = identifier) ;) (return_statement "return local_40[0];" return (subscript_expression "local_40[0]" identifier [ number_literal ]) ;) })) (labeled_statement "switchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);" statement_identifier : (expression_statement "FUN_00146920(param_3);" (call_expression "FUN_00146920(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (break_statement break ;)) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (break_statement break ;)) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (break_statement break ;)) (case_statement default : (goto_statement goto statement_identifier ;)) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00146f20(undefined8 param_1,undefined4 param_2,undefined8 param_3)" (identifier "FUN_00146f20") (parameter_list "(undefined8 param_1,undefined4 param_2,undefined8 param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined1 uVar5;\n  int iVar6;\n  long lVar7;\n  undefined4 local_54;\n  undefined8 local_50;\n  undefined8 local_40 [2];\n  \n  uVar5 = DAT_00164480;\n  uVar4 = DAT_00164478;\n  uVar3 = DAT_00164470;\n  puVar2 = PTR_DAT_00164468;\n  puVar1 = PTR_DAT_00164460;\n  _DAT_0016eca8 = 0;\n  PTR_DAT_00164460 = &DAT_0016ecaa;\n  PTR_DAT_00164468 = (undefined *)0x0;\n  DAT_00164470 = 0;\n  DAT_00164478 = 0;\n  DAT_00164480 = 0;\n  _DAT_0016eca0 = 0;\n  local_40[0] = param_1;\n  switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }\n  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;\n  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);\n  if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }\nswitchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "undefined1 uVar5;" (type_identifier "undefined1") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "undefined4 local_54;" (type_identifier "undefined4") (identifier "local_54") (; ";")) (declaration "undefined8 local_50;" (type_identifier "undefined8") (identifier "local_50") (; ";")) (declaration "undefined8 local_40 [2];" (type_identifier "undefined8") (array_declarator "local_40 [2]" (identifier "local_40") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "uVar5 = DAT_00164480;" (assignment_expression "uVar5 = DAT_00164480" (identifier "uVar5") (= "=") (identifier "DAT_00164480")) (; ";")) (expression_statement "uVar4 = DAT_00164478;" (assignment_expression "uVar4 = DAT_00164478" (identifier "uVar4") (= "=") (identifier "DAT_00164478")) (; ";")) (expression_statement "uVar3 = DAT_00164470;" (assignment_expression "uVar3 = DAT_00164470" (identifier "uVar3") (= "=") (identifier "DAT_00164470")) (; ";")) (expression_statement "puVar2 = PTR_DAT_00164468;" (assignment_expression "puVar2 = PTR_DAT_00164468" (identifier "puVar2") (= "=") (identifier "PTR_DAT_00164468")) (; ";")) (expression_statement "puVar1 = PTR_DAT_00164460;" (assignment_expression "puVar1 = PTR_DAT_00164460" (identifier "puVar1") (= "=") (identifier "PTR_DAT_00164460")) (; ";")) (expression_statement "_DAT_0016eca8 = 0;" (assignment_expression "_DAT_0016eca8 = 0" (identifier "_DAT_0016eca8") (= "=") (number_literal "0")) (; ";")) (expression_statement "PTR_DAT_00164460 = &DAT_0016ecaa;" (assignment_expression "PTR_DAT_00164460 = &DAT_0016ecaa" (identifier "PTR_DAT_00164460") (= "=") (pointer_expression "&DAT_0016ecaa" (& "&") (identifier "DAT_0016ecaa"))) (; ";")) (expression_statement "PTR_DAT_00164468 = (undefined *)0x0;" (assignment_expression "PTR_DAT_00164468 = (undefined *)0x0" (identifier "PTR_DAT_00164468") (= "=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "DAT_00164470 = 0;" (assignment_expression "DAT_00164470 = 0" (identifier "DAT_00164470") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00164478 = 0;" (assignment_expression "DAT_00164478 = 0" (identifier "DAT_00164478") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00164480 = 0;" (assignment_expression "DAT_00164480 = 0" (identifier "DAT_00164480") (= "=") (number_literal "0")) (; ";")) (expression_statement "_DAT_0016eca0 = 0;" (assignment_expression "_DAT_0016eca0 = 0" (identifier "_DAT_0016eca0") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_40[0] = param_1;" (assignment_expression "local_40[0] = param_1" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_1")) (; ";")) (switch_statement "switch(param_2) {\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }" (switch "switch") (parenthesized_expression "(param_2)" (( "(") (identifier "param_2") () ")")) (compound_statement "{\n  case 0x44:\n  case 0x52:\n  case 100:\n  case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;\n  case 0x45:\n  case 0x58:\n  case 0x65:\n  case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;\n  case 0x46:\n  case 0x53:\n  case 0x66:\n  case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;\n  default:\n    goto switchD_00146fbd_caseD_47;\n  case 0x50:\n  case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;\n  }" ({ "{") (case_statement "case 0x44:" (case "case") (number_literal "0x44") (: ":")) (case_statement "case 0x52:" (case "case") (number_literal "0x52") (: ":")) (case_statement "case 100:" (case "case") (number_literal "100") (: ":")) (case_statement "case 0x72:\n    lVar7 = 10;\n    local_54 = 4;\n    local_50 = 0xb;\n    break;" (case "case") (number_literal "0x72") (: ":") (expression_statement "lVar7 = 10;" (assignment_expression "lVar7 = 10" (identifier "lVar7") (= "=") (number_literal "10")) (; ";")) (expression_statement "local_54 = 4;" (assignment_expression "local_54 = 4" (identifier "local_54") (= "=") (number_literal "4")) (; ";")) (expression_statement "local_50 = 0xb;" (assignment_expression "local_50 = 0xb" (identifier "local_50") (= "=") (number_literal "0xb")) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x45:" (case "case") (number_literal "0x45") (: ":")) (case_statement "case 0x58:" (case "case") (number_literal "0x58") (: ":")) (case_statement "case 0x65:" (case "case") (number_literal "0x65") (: ":")) (case_statement "case 0x78:\n    local_50 = 0xf;\n    lVar7 = 0xc;\n    local_54 = 5;\n    break;" (case "case") (number_literal "0x78") (: ":") (expression_statement "local_50 = 0xf;" (assignment_expression "local_50 = 0xf" (identifier "local_50") (= "=") (number_literal "0xf")) (; ";")) (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" (identifier "lVar7") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" (identifier "local_54") (= "=") (number_literal "5")) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x46:" (case "case") (number_literal "0x46") (: ":")) (case_statement "case 0x53:" (case "case") (number_literal "0x53") (: ":")) (case_statement "case 0x66:" (case "case") (number_literal "0x66") (: ":")) (case_statement "case 0x73:\n    lVar7 = 6;\n    local_54 = 2;\n    local_50 = 8;\n    break;" (case "case") (number_literal "0x73") (: ":") (expression_statement "lVar7 = 6;" (assignment_expression "lVar7 = 6" (identifier "lVar7") (= "=") (number_literal "6")) (; ";")) (expression_statement "local_54 = 2;" (assignment_expression "local_54 = 2" (identifier "local_54") (= "=") (number_literal "2")) (; ";")) (expression_statement "local_50 = 8;" (assignment_expression "local_50 = 8" (identifier "local_50") (= "=") (number_literal "8")) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "default:\n    goto switchD_00146fbd_caseD_47;" (default "default") (: ":") (goto_statement "goto switchD_00146fbd_caseD_47;" (goto "goto") (statement_identifier "switchD_00146fbd_caseD_47") (; ";"))) (case_statement "case 0x50:" (case "case") (number_literal "0x50") (: ":")) (case_statement "case 0x70:\n    lVar7 = 0xc;\n    local_54 = 5;\n    local_50 = 0xffffffffffffffff;" (case "case") (number_literal "0x70") (: ":") (expression_statement "lVar7 = 0xc;" (assignment_expression "lVar7 = 0xc" (identifier "lVar7") (= "=") (number_literal "0xc")) (; ";")) (expression_statement "local_54 = 5;" (assignment_expression "local_54 = 5" (identifier "local_54") (= "=") (number_literal "5")) (; ";")) (expression_statement "local_50 = 0xffffffffffffffff;" (assignment_expression "local_50 = 0xffffffffffffffff" (identifier "local_50") (= "=") (number_literal "0xffffffffffffffff")) (; ";"))) (} "}"))) (expression_statement "PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;" (assignment_expression "PTR_DAT_00164468 = &DAT_0016ecaa + lVar7" (identifier "PTR_DAT_00164468") (= "=") (binary_expression "&DAT_0016ecaa + lVar7" (pointer_expression "&DAT_0016ecaa" (& "&") (identifier "DAT_0016ecaa")) (+ "+") (identifier "lVar7"))) (; ";")) (expression_statement "iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);" (assignment_expression "iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" (identifier "iVar6") (= "=") (call_expression "FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" (identifier "FUN_0010cb50") (argument_list "(local_40,".",&DAT_0014f725,&PTR_DAT_00164460)" (( "(") (identifier "local_40") (, ",") (string_literal ""."" (" """) (string_content ".") (" """)) (, ",") (pointer_expression "&DAT_0014f725" (& "&") (identifier "DAT_0014f725")) (, ",") (pointer_expression "&PTR_DAT_00164460" (& "&") (identifier "PTR_DAT_00164460")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00146960(param_3,local_54,local_50);\n    PTR_DAT_00164460 = puVar1;\n    PTR_DAT_00164468 = puVar2;\n    DAT_00164470 = uVar3;\n    DAT_00164478 = uVar4;\n    DAT_00164480 = uVar5;\n    return local_40[0];\n  }" ({ "{") (expression_statement "FUN_00146960(param_3,local_54,local_50);" (call_expression "FUN_00146960(param_3,local_54,local_50)" (identifier "FUN_00146960") (argument_list "(param_3,local_54,local_50)" (( "(") (identifier "param_3") (, ",") (identifier "local_54") (, ",") (identifier "local_50") () ")"))) (; ";")) (expression_statement "PTR_DAT_00164460 = puVar1;" (assignment_expression "PTR_DAT_00164460 = puVar1" (identifier "PTR_DAT_00164460") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "PTR_DAT_00164468 = puVar2;" (assignment_expression "PTR_DAT_00164468 = puVar2" (identifier "PTR_DAT_00164468") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "DAT_00164470 = uVar3;" (assignment_expression "DAT_00164470 = uVar3" (identifier "DAT_00164470") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "DAT_00164478 = uVar4;" (assignment_expression "DAT_00164478 = uVar4" (identifier "DAT_00164478") (= "=") (identifier "uVar4")) (; ";")) (expression_statement "DAT_00164480 = uVar5;" (assignment_expression "DAT_00164480 = uVar5" (identifier "DAT_00164480") (= "=") (identifier "uVar5")) (; ";")) (return_statement "return local_40[0];" (return "return") (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (; ";")) (} "}"))) (labeled_statement "switchD_00146fbd_caseD_47:\n  FUN_00146920(param_3);" (statement_identifier "switchD_00146fbd_caseD_47") (: ":") (expression_statement "FUN_00146920(param_3);" (call_expression "FUN_00146920(param_3)" (identifier "FUN_00146920") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

char * function_1(char *str,int what_kind,type_1 *words)

{
  type_1 *pLVar1;
  type_1 *pLVar2;
  type_1 *pLVar3;
  long lVar4;
  char cVar5;
  int var_3;
  long var_1;
  int local_54;
  long local_50;
  char *return_value;
  
  cVar5 = generic_floating_point_number.sign;
  lVar4 = generic_floating_point_number.exponent;
  pLVar3 = generic_floating_point_number.leader;
  pLVar2 = generic_floating_point_number.high;
  pLVar1 = generic_floating_point_number.low;
  atof_ieee::bits[4] = 0;
  generic_floating_point_number.low = function_1::bits + 5;
  generic_floating_point_number.high = (type_1 *)0x0;
  generic_floating_point_number.leader = (type_1 *)0x0;
  generic_floating_point_number.exponent = 0;
  generic_floating_point_number.sign = '\0';
  atof_ieee::bits[0] = 0;
  atof_ieee::bits[1] = 0;
  atof_ieee::bits[2] = 0;
  atof_ieee::bits[3] = 0;
  return_value = str;
  switch(what_kind) {
  case 0x44:
  case 0x52:
  case 100:
  case 0x72:
    var_1 = 10;
    local_54 = 4;
    local_50 = 0xb;
    break;
  case 0x45:
  case 0x58:
  case 0x65:
  case 0x78:
    local_50 = 0xf;
    var_1 = 0xc;
    local_54 = 5;
    break;
  case 0x46:
  case 0x53:
  case 0x66:
  case 0x73:
    var_1 = 6;
    local_54 = 2;
    local_50 = 8;
    break;
  default:
    goto switchD_00146fbd_caseD_47;
  case 0x50:
  case 0x70:
    var_1 = 0xc;
    local_54 = 5;
    local_50 = -1;
  }
  generic_floating_point_number.high = (type_1 *)((long)function_1::bits + var_1 + 10);
  var_3 = var_2(&return_value,".","eE",&generic_floating_point_number);
  if (var_3 == 0) {
    var_4(words,local_54,local_50);
    generic_floating_point_number.low = pLVar1;
    generic_floating_point_number.high = pLVar2;
    generic_floating_point_number.leader = pLVar3;
    generic_floating_point_number.exponent = lVar4;
    generic_floating_point_number.sign = cVar5;
    return return_value;
  }
switchD_00146fbd_caseD_47:
  var_5(words);
  return (char *)0x0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (break_statement)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (break_statement)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (break_statement)) (case_statement (goto_statement label: (statement_identifier))) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement (subscript_expression argument: (identifier) index: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (return_statement (number_literal)))))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined8 MASKED(undefined8 param_1,undefined4 param_2,undefined8 param_3)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  undefined1 uVar5;
  int iVar6;
  long lVar7;
  undefined4 local_54;
  undefined8 local_50;
  undefined8 local_40 [2];
  
  uVar5 = DAT_00164480;
  uVar4 = DAT_00164478;
  uVar3 = DAT_00164470;
  puVar2 = PTR_DAT_00164468;
  puVar1 = PTR_DAT_00164460;
  _DAT_0016eca8 = 0;
  PTR_DAT_00164460 = &DAT_0016ecaa;
  PTR_DAT_00164468 = (undefined *)0x0;
  DAT_00164470 = 0;
  DAT_00164478 = 0;
  DAT_00164480 = 0;
  _DAT_0016eca0 = 0;
  local_40[0] = param_1;
  switch(param_2) {
  case 0x44:
  case 0x52:
  case 100:
  case 0x72:
    lVar7 = 10;
    local_54 = 4;
    local_50 = 0xb;
    break;
  case 0x45:
  case 0x58:
  case 0x65:
  case 0x78:
    local_50 = 0xf;
    lVar7 = 0xc;
    local_54 = 5;
    break;
  case 0x46:
  case 0x53:
  case 0x66:
  case 0x73:
    lVar7 = 6;
    local_54 = 2;
    local_50 = 8;
    break;
  default:
    goto switchD_00146fbd_caseD_47;
  case 0x50:
  case 0x70:
    lVar7 = 0xc;
    local_54 = 5;
    local_50 = 0xffffffffffffffff;
  }
  PTR_DAT_00164468 = &DAT_0016ecaa + lVar7;
  iVar6 = FUN_0010cb50(local_40,".",&DAT_0014f725,&PTR_DAT_00164460);
  if (iVar6 == 0) {
    FUN_00146960(param_3,local_54,local_50);
    PTR_DAT_00164460 = puVar1;
    PTR_DAT_00164468 = puVar2;
    DAT_00164470 = uVar3;
    DAT_00164478 = uVar4;
    DAT_00164480 = uVar5;
    return local_40[0];
  }
switchD_00146fbd_caseD_47:
  FUN_00146920(param_3);
  return 0;
}

