
void equals(char *sym_name,int reassign)

{
  int *piVar1;
  int iVar2;
  byte *pbVar3;
  char cVar4;
  byte bVar5;
  byte *stop;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  piVar1 = (int *)(unaff_EDI + 0x4adb9);
  iVar2 = *piVar1;
  stop = (byte *)(iVar2 + 1);
  *piVar1 = (int)stop;
  cVar4 = *(char *)(iVar2 + 1);
  if (cVar4 == '=') {
    stop = (byte *)(iVar2 + 2);
    *piVar1 = (int)stop;
    cVar4 = *(char *)(iVar2 + 2);
    if ((reassign < 0) && (cVar4 == '=')) {
      stop = (byte *)(iVar2 + 3);
      *piVar1 = (int)stop;
      cVar4 = *(char *)(iVar2 + 3);
    }
  }
  if ((cVar4 == ' ') || (cVar4 == '\t')) {
    pbVar3 = stop + 1;
    do {
      do {
        stop = pbVar3;
        *piVar1 = (int)stop;
        pbVar3 = stop + 1;
      } while (*stop == 0x20);
    } while (*stop == 9);
  }
  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {
    bVar5 = 0;
    stop = (byte *)0x0;
  }
  else {
    bVar5 = *stop;
    if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {
      do {
        stop = stop + 1;
        bVar5 = *stop;
      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');
    }
    *stop = 0;
  }
  if (-1 < reassign) {
    reassign = (uint)(reassign == 0);
  }
  assign_symbol(sym_name,reassign);
  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {
    return;
  }
  demand_empty_rest_of_line();
  mri_comment_end((char *)stop,(int)(char)bVar5);
  return;
}



void FUN_00032170(undefined4 param_1,int param_2)

{
  int *piVar1;
  int iVar2;
  byte *pbVar3;
  char cVar4;
  byte *pbVar5;
  int unaff_EDI;
  
  FUN_000332af();
  piVar1 = (int *)(unaff_EDI + 0x4adb9);
  iVar2 = *piVar1;
  pbVar5 = (byte *)(iVar2 + 1);
  *piVar1 = (int)pbVar5;
  cVar4 = *(char *)(iVar2 + 1);
  if (cVar4 == '=') {
    pbVar5 = (byte *)(iVar2 + 2);
    *piVar1 = (int)pbVar5;
    cVar4 = *(char *)(iVar2 + 2);
    if ((param_2 < 0) && (cVar4 == '=')) {
      pbVar5 = (byte *)(iVar2 + 3);
      *piVar1 = (int)pbVar5;
      cVar4 = *(char *)(iVar2 + 3);
    }
  }
  if ((cVar4 == ' ') || (cVar4 == '\t')) {
    pbVar3 = pbVar5 + 1;
    do {
      do {
        pbVar5 = pbVar3;
        *piVar1 = (int)pbVar5;
        pbVar3 = pbVar5 + 1;
      } while (*pbVar5 == 0x20);
    } while (*pbVar5 == 9);
  }
  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {
    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {
      do {
        pbVar5 = pbVar5 + 1;
      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');
    }
    *pbVar5 = 0;
  }
  FUN_0002eb60();
  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {
    return;
  }
  FUN_0002cab0();
  FUN_0002c2b0();
  return;
}


PUSH EBP
PUSH EDI
CALL 0x000332af
ADD EDI,0x41e89
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [ESP + 0x34]
LEA EBP,[EDI + 0x8f30]
MOV dword ptr [ESP + 0x8],EAX
MOV ESI,dword ptr [EBP]
LEA EBX,[ESI + 0x1]
MOV dword ptr [EBP],EBX
MOVZX ECX,byte ptr [ESI + 0x1]
CMP CL,0x3d
JZ 0x00032240
CMP CL,0x20
JZ 0x000321b4
CMP CL,0x9
JNZ 0x000321d3
LEA ECX,[EBX + 0x1]
LEA ESI,[ESI]
NOP
MOV dword ptr [EBP],ECX
MOVZX EAX,byte ptr [ECX]
MOV EBX,ECX
ADD ECX,0x1
CMP AL,0x20
JZ 0x000321c0
CMP AL,0x9
JZ 0x000321c0
LEA ESI,[EDI + 0x8e74]
MOV ECX,dword ptr [ESI]
TEST ECX,ECX
JZ 0x00032210
MOVZX EBP,byte ptr [EBX]
CMP byte ptr [EDI + EBP*0x1 + 0x2c0],0x0
MOV ECX,EBP
JNZ 0x00032207
LEA EBP,[EDI + 0x2c0]
LEA ESI,[ESI]
ADD EBX,0x1
MOVZX EDI,byte ptr [EBX]
CMP byte ptr [EBP + EDI*0x1],0x0
MOV ECX,EDI
JZ 0x000321f8
MOV byte ptr [EBX],0x0
JMP 0x00032214
XOR ECX,ECX
XOR EBX,EBX
TEST EDX,EDX
MOV byte ptr [ESP + 0xf],CL
SETZ AL
MOVZX EAX,AL
CMOVNS EDX,EAX
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x0002eb60
MOV EAX,dword ptr [ESI]
MOVZX ECX,byte ptr [ESP + 0xf]
TEST EAX,EAX
JNZ 0x00032270
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBX,[ESI + 0x2]
MOV dword ptr [EBP],EBX
MOVZX ECX,byte ptr [ESI + 0x2]
TEST EDX,EDX
JNS 0x000321aa
CMP CL,0x3d
JNZ 0x000321aa
LEA EBX,[ESI + 0x3]
MOV dword ptr [EBP],EBX
MOVZX ECX,byte ptr [ESI + 0x3]
JMP 0x000321aa
MOV byte ptr [ESP + 0x8],CL
CALL 0x0002cab0
MOVSX ECX,byte ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x30],EBX
MOV dword ptr [ESP + 0x34],ECX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0002c2b0
(translation_unit "void FUN_00032170(undefined4 param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}\n\n" (function_definition "void FUN_00032170(undefined4 param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}" primitive_type (function_declarator "FUN_00032170(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000332af();" (call_expression "FUN_000332af()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)(unaff_EDI + 0x4adb9);" (assignment_expression "piVar1 = (int *)(unaff_EDI + 0x4adb9)" identifier = (cast_expression "(int *)(unaff_EDI + 0x4adb9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4adb9)" ( (binary_expression "unaff_EDI + 0x4adb9" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "pbVar5 = (byte *)(iVar2 + 1);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 1)" identifier = (cast_expression "(byte *)(iVar2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 1);" (assignment_expression "cVar4 = *(char *)(iVar2 + 1)" identifier = (pointer_expression "*(char *)(iVar2 + 1)" * (cast_expression "(char *)(iVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) ))))) ;) (if_statement "if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" if (parenthesized_expression "(cVar4 == '=')" ( (binary_expression "cVar4 == '='" identifier == (char_literal "'='" ' character ')) )) (compound_statement "{\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" { (expression_statement "pbVar5 = (byte *)(iVar2 + 2);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 2)" identifier = (cast_expression "(byte *)(iVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2)" ( (binary_expression "iVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 2);" (assignment_expression "cVar4 = *(char *)(iVar2 + 2)" identifier = (pointer_expression "*(char *)(iVar2 + 2)" * (cast_expression "(char *)(iVar2 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2)" ( (binary_expression "iVar2 + 2" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" if (parenthesized_expression "((param_2 < 0) && (cVar4 == '='))" ( (binary_expression "(param_2 < 0) && (cVar4 == '=')" (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) && (parenthesized_expression "(cVar4 == '=')" ( (binary_expression "cVar4 == '='" identifier == (char_literal "'='" ' character ')) ))) )) (compound_statement "{\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" { (expression_statement "pbVar5 = (byte *)(iVar2 + 3);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 3)" identifier = (cast_expression "(byte *)(iVar2 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 3)" ( (binary_expression "iVar2 + 3" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 3);" (assignment_expression "cVar4 = *(char *)(iVar2 + 3)" identifier = (pointer_expression "*(char *)(iVar2 + 3)" * (cast_expression "(char *)(iVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 3)" ( (binary_expression "iVar2 + 3" identifier + number_literal) ))))) ;) })) })) (if_statement "if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }" if (parenthesized_expression "((cVar4 == ' ') || (cVar4 == '\t'))" ( (binary_expression "(cVar4 == ' ') || (cVar4 == '\t')" (parenthesized_expression "(cVar4 == ' ')" ( (binary_expression "cVar4 == ' '" identifier == (char_literal "' '" ' character ')) )) || (parenthesized_expression "(cVar4 == '\t')" ( (binary_expression "cVar4 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }" { (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (do_statement "do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);" do (compound_statement "{\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    }" { (do_statement "do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);" do (compound_statement "{\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      }" { (expression_statement "pbVar5 = pbVar3;" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pbVar5 == 0x20)" ( (binary_expression "*pbVar5 == 0x20" (pointer_expression "*pbVar5" * identifier) == number_literal) )) ;) }) while (parenthesized_expression "(*pbVar5 == 9)" ( (binary_expression "*pbVar5 == 9" (pointer_expression "*pbVar5" * identifier) == number_literal) )) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x4acfd) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" * (cast_expression "(int *)(unaff_EDI + 0x4acfd)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4acfd)" ( (binary_expression "unaff_EDI + 0x4acfd" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }" { (if_statement "if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }" if (parenthesized_expression "((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0')" ( (binary_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0'" (subscript_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI]" (parenthesized_expression "(&UNK_00042149)" ( (pointer_expression "&UNK_00042149" & identifier) )) [ (binary_expression "(uint)*pbVar5 + unaff_EDI" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier) + identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }" { (do_statement "do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');" do (compound_statement "{\n        pbVar5 = pbVar5 + 1;\n      }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0')" ( (binary_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0'" (subscript_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI]" (parenthesized_expression "(&UNK_00042149)" ( (pointer_expression "&UNK_00042149" & identifier) )) [ (binary_expression "(uint)*pbVar5 + unaff_EDI" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier) + identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "*pbVar5 = 0;" (assignment_expression "*pbVar5 = 0" (pointer_expression "*pbVar5" * identifier) = number_literal) ;) })) (expression_statement "FUN_0002eb60();" (call_expression "FUN_0002eb60()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) == 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x4acfd) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" * (cast_expression "(int *)(unaff_EDI + 0x4acfd)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4acfd)" ( (binary_expression "unaff_EDI + 0x4acfd" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0002cab0();" (call_expression "FUN_0002cab0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0002c2b0();" (call_expression "FUN_0002c2b0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void equals(char *sym_name,int reassign)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte bVar5;\n  byte *stop;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  stop = (byte *)(iVar2 + 1);\n  *piVar1 = (int)stop;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    stop = (byte *)(iVar2 + 2);\n    *piVar1 = (int)stop;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((reassign < 0) && (cVar4 == '=')) {\n      stop = (byte *)(iVar2 + 3);\n      *piVar1 = (int)stop;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = stop + 1;\n    do {\n      do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);\n    } while (*stop == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    bVar5 = 0;\n    stop = (byte *)0x0;\n  }\n  else {\n    bVar5 = *stop;\n    if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }\n    *stop = 0;\n  }\n  if (-1 < reassign) {\n    reassign = (uint)(reassign == 0);\n  }\n  assign_symbol(sym_name,reassign);\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  demand_empty_rest_of_line();\n  mri_comment_end((char *)stop,(int)(char)bVar5);\n  return;\n}\n\n" (function_definition "void equals(char *sym_name,int reassign)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte bVar5;\n  byte *stop;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  stop = (byte *)(iVar2 + 1);\n  *piVar1 = (int)stop;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    stop = (byte *)(iVar2 + 2);\n    *piVar1 = (int)stop;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((reassign < 0) && (cVar4 == '=')) {\n      stop = (byte *)(iVar2 + 3);\n      *piVar1 = (int)stop;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = stop + 1;\n    do {\n      do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);\n    } while (*stop == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    bVar5 = 0;\n    stop = (byte *)0x0;\n  }\n  else {\n    bVar5 = *stop;\n    if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }\n    *stop = 0;\n  }\n  if (-1 < reassign) {\n    reassign = (uint)(reassign == 0);\n  }\n  assign_symbol(sym_name,reassign);\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  demand_empty_rest_of_line();\n  mri_comment_end((char *)stop,(int)(char)bVar5);\n  return;\n}" primitive_type (function_declarator "equals(char *sym_name,int reassign)" identifier (parameter_list "(char *sym_name,int reassign)" ( (parameter_declaration "char *sym_name" primitive_type (pointer_declarator "*sym_name" * identifier)) , (parameter_declaration "int reassign" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte bVar5;\n  byte *stop;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  stop = (byte *)(iVar2 + 1);\n  *piVar1 = (int)stop;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    stop = (byte *)(iVar2 + 2);\n    *piVar1 = (int)stop;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((reassign < 0) && (cVar4 == '=')) {\n      stop = (byte *)(iVar2 + 3);\n      *piVar1 = (int)stop;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = stop + 1;\n    do {\n      do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);\n    } while (*stop == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    bVar5 = 0;\n    stop = (byte *)0x0;\n  }\n  else {\n    bVar5 = *stop;\n    if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }\n    *stop = 0;\n  }\n  if (-1 < reassign) {\n    reassign = (uint)(reassign == 0);\n  }\n  assign_symbol(sym_name,reassign);\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  demand_empty_rest_of_line();\n  mri_comment_end((char *)stop,(int)(char)bVar5);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *stop;" type_identifier (pointer_declarator "*stop" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)(unaff_EDI + 0x4adb9);" (assignment_expression "piVar1 = (int *)(unaff_EDI + 0x4adb9)" identifier = (cast_expression "(int *)(unaff_EDI + 0x4adb9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4adb9)" ( (binary_expression "unaff_EDI + 0x4adb9" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "stop = (byte *)(iVar2 + 1);" (assignment_expression "stop = (byte *)(iVar2 + 1)" identifier = (cast_expression "(byte *)(iVar2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)stop;" (assignment_expression "*piVar1 = (int)stop" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)stop" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 1);" (assignment_expression "cVar4 = *(char *)(iVar2 + 1)" identifier = (pointer_expression "*(char *)(iVar2 + 1)" * (cast_expression "(char *)(iVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) ))))) ;) (if_statement "if (cVar4 == '=') {\n    stop = (byte *)(iVar2 + 2);\n    *piVar1 = (int)stop;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((reassign < 0) && (cVar4 == '=')) {\n      stop = (byte *)(iVar2 + 3);\n      *piVar1 = (int)stop;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" if (parenthesized_expression "(cVar4 == '=')" ( (binary_expression "cVar4 == '='" identifier == (char_literal "'='" ' character ')) )) (compound_statement "{\n    stop = (byte *)(iVar2 + 2);\n    *piVar1 = (int)stop;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((reassign < 0) && (cVar4 == '=')) {\n      stop = (byte *)(iVar2 + 3);\n      *piVar1 = (int)stop;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" { (expression_statement "stop = (byte *)(iVar2 + 2);" (assignment_expression "stop = (byte *)(iVar2 + 2)" identifier = (cast_expression "(byte *)(iVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2)" ( (binary_expression "iVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)stop;" (assignment_expression "*piVar1 = (int)stop" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)stop" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 2);" (assignment_expression "cVar4 = *(char *)(iVar2 + 2)" identifier = (pointer_expression "*(char *)(iVar2 + 2)" * (cast_expression "(char *)(iVar2 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2)" ( (binary_expression "iVar2 + 2" identifier + number_literal) ))))) ;) (if_statement "if ((reassign < 0) && (cVar4 == '=')) {\n      stop = (byte *)(iVar2 + 3);\n      *piVar1 = (int)stop;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" if (parenthesized_expression "((reassign < 0) && (cVar4 == '='))" ( (binary_expression "(reassign < 0) && (cVar4 == '=')" (parenthesized_expression "(reassign < 0)" ( (binary_expression "reassign < 0" identifier < number_literal) )) && (parenthesized_expression "(cVar4 == '=')" ( (binary_expression "cVar4 == '='" identifier == (char_literal "'='" ' character ')) ))) )) (compound_statement "{\n      stop = (byte *)(iVar2 + 3);\n      *piVar1 = (int)stop;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" { (expression_statement "stop = (byte *)(iVar2 + 3);" (assignment_expression "stop = (byte *)(iVar2 + 3)" identifier = (cast_expression "(byte *)(iVar2 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 3)" ( (binary_expression "iVar2 + 3" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)stop;" (assignment_expression "*piVar1 = (int)stop" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)stop" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 3);" (assignment_expression "cVar4 = *(char *)(iVar2 + 3)" identifier = (pointer_expression "*(char *)(iVar2 + 3)" * (cast_expression "(char *)(iVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 3)" ( (binary_expression "iVar2 + 3" identifier + number_literal) ))))) ;) })) })) (if_statement "if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = stop + 1;\n    do {\n      do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);\n    } while (*stop == 9);\n  }" if (parenthesized_expression "((cVar4 == ' ') || (cVar4 == '\t'))" ( (binary_expression "(cVar4 == ' ') || (cVar4 == '\t')" (parenthesized_expression "(cVar4 == ' ')" ( (binary_expression "cVar4 == ' '" identifier == (char_literal "' '" ' character ')) )) || (parenthesized_expression "(cVar4 == '\t')" ( (binary_expression "cVar4 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pbVar3 = stop + 1;\n    do {\n      do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);\n    } while (*stop == 9);\n  }" { (expression_statement "pbVar3 = stop + 1;" (assignment_expression "pbVar3 = stop + 1" identifier = (binary_expression "stop + 1" identifier + number_literal)) ;) (do_statement "do {\n      do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);\n    } while (*stop == 9);" do (compound_statement "{\n      do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);\n    }" { (do_statement "do {\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      } while (*stop == 0x20);" do (compound_statement "{\n        stop = pbVar3;\n        *piVar1 = (int)stop;\n        pbVar3 = stop + 1;\n      }" { (expression_statement "stop = pbVar3;" (assignment_expression "stop = pbVar3" identifier = identifier) ;) (expression_statement "*piVar1 = (int)stop;" (assignment_expression "*piVar1 = (int)stop" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)stop" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pbVar3 = stop + 1;" (assignment_expression "pbVar3 = stop + 1" identifier = (binary_expression "stop + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*stop == 0x20)" ( (binary_expression "*stop == 0x20" (pointer_expression "*stop" * identifier) == number_literal) )) ;) }) while (parenthesized_expression "(*stop == 9)" ( (binary_expression "*stop == 9" (pointer_expression "*stop" * identifier) == number_literal) )) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    bVar5 = 0;\n    stop = (byte *)0x0;\n  }\n  else {\n    bVar5 = *stop;\n    if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }\n    *stop = 0;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) == 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x4acfd) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" * (cast_expression "(int *)(unaff_EDI + 0x4acfd)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4acfd)" ( (binary_expression "unaff_EDI + 0x4acfd" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    bVar5 = 0;\n    stop = (byte *)0x0;\n  }" { (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (expression_statement "stop = (byte *)0x0;" (assignment_expression "stop = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    bVar5 = *stop;\n    if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }\n    *stop = 0;\n  }" else (compound_statement "{\n    bVar5 = *stop;\n    if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }\n    *stop = 0;\n  }" { (expression_statement "bVar5 = *stop;" (assignment_expression "bVar5 = *stop" identifier = (pointer_expression "*stop" * identifier)) ;) (if_statement "if (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0') {\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x42149 + (uint)bVar5)" * (cast_expression "(char *)(unaff_EDI + 0x42149 + (uint)bVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x42149 + (uint)bVar5)" ( (binary_expression "unaff_EDI + 0x42149 + (uint)bVar5" (binary_expression "unaff_EDI + 0x42149" identifier + number_literal) + (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');\n    }" { (do_statement "do {\n        stop = stop + 1;\n        bVar5 = *stop;\n      } while (*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0');" do (compound_statement "{\n        stop = stop + 1;\n        bVar5 = *stop;\n      }" { (expression_statement "stop = stop + 1;" (assignment_expression "stop = stop + 1" identifier = (binary_expression "stop + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *stop;" (assignment_expression "bVar5 = *stop" identifier = (pointer_expression "*stop" * identifier)) ;) }) while (parenthesized_expression "(*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x42149 + (uint)bVar5) == '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x42149 + (uint)bVar5)" * (cast_expression "(char *)(unaff_EDI + 0x42149 + (uint)bVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x42149 + (uint)bVar5)" ( (binary_expression "unaff_EDI + 0x42149 + (uint)bVar5" (binary_expression "unaff_EDI + 0x42149" identifier + number_literal) + (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) == (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "*stop = 0;" (assignment_expression "*stop = 0" (pointer_expression "*stop" * identifier) = number_literal) ;) }))) (if_statement "if (-1 < reassign) {\n    reassign = (uint)(reassign == 0);\n  }" if (parenthesized_expression "(-1 < reassign)" ( (binary_expression "-1 < reassign" number_literal < identifier) )) (compound_statement "{\n    reassign = (uint)(reassign == 0);\n  }" { (expression_statement "reassign = (uint)(reassign == 0);" (assignment_expression "reassign = (uint)(reassign == 0)" identifier = (call_expression "(uint)(reassign == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(reassign == 0)" ( (binary_expression "reassign == 0" identifier == number_literal) )))) ;) })) (expression_statement "assign_symbol(sym_name,reassign);" (call_expression "assign_symbol(sym_name,reassign)" identifier (argument_list "(sym_name,reassign)" ( identifier , identifier ))) ;) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) == 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x4acfd) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" * (cast_expression "(int *)(unaff_EDI + 0x4acfd)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4acfd)" ( (binary_expression "unaff_EDI + 0x4acfd" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (expression_statement "mri_comment_end((char *)stop,(int)(char)bVar5);" (call_expression "mri_comment_end((char *)stop,(int)(char)bVar5)" identifier (argument_list "((char *)stop,(int)(char)bVar5)" ( (cast_expression "(char *)stop" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(int)(char)bVar5" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar5" ( (type_descriptor "char" primitive_type) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00032170(undefined4 param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}\n\n" (function_definition "void FUN_00032170(undefined4 param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}" primitive_type (function_declarator "FUN_00032170(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000332af();" (call_expression "FUN_000332af()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = (int *)(unaff_EDI + 0x4adb9);" (assignment_expression "piVar1 = (int *)(unaff_EDI + 0x4adb9)" identifier = (cast_expression "(int *)(unaff_EDI + 0x4adb9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4adb9)" ( (binary_expression "unaff_EDI + 0x4adb9" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "pbVar5 = (byte *)(iVar2 + 1);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 1)" identifier = (cast_expression "(byte *)(iVar2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 1);" (assignment_expression "cVar4 = *(char *)(iVar2 + 1)" identifier = (pointer_expression "*(char *)(iVar2 + 1)" * (cast_expression "(char *)(iVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) ))))) ;) (if_statement "if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" if (parenthesized_expression "(cVar4 == '=')" ( (binary_expression "cVar4 == '='" identifier == (char_literal "'='" ' character ')) )) (compound_statement "{\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" { (expression_statement "pbVar5 = (byte *)(iVar2 + 2);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 2)" identifier = (cast_expression "(byte *)(iVar2 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2)" ( (binary_expression "iVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 2);" (assignment_expression "cVar4 = *(char *)(iVar2 + 2)" identifier = (pointer_expression "*(char *)(iVar2 + 2)" * (cast_expression "(char *)(iVar2 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2)" ( (binary_expression "iVar2 + 2" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" if (parenthesized_expression "((param_2 < 0) && (cVar4 == '='))" ( (binary_expression "(param_2 < 0) && (cVar4 == '=')" (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) && (parenthesized_expression "(cVar4 == '=')" ( (binary_expression "cVar4 == '='" identifier == (char_literal "'='" ' character ')) ))) )) (compound_statement "{\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" { (expression_statement "pbVar5 = (byte *)(iVar2 + 3);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 3)" identifier = (cast_expression "(byte *)(iVar2 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 3)" ( (binary_expression "iVar2 + 3" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4 = *(char *)(iVar2 + 3);" (assignment_expression "cVar4 = *(char *)(iVar2 + 3)" identifier = (pointer_expression "*(char *)(iVar2 + 3)" * (cast_expression "(char *)(iVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 3)" ( (binary_expression "iVar2 + 3" identifier + number_literal) ))))) ;) })) })) (if_statement "if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }" if (parenthesized_expression "((cVar4 == ' ') || (cVar4 == '\t'))" ( (binary_expression "(cVar4 == ' ') || (cVar4 == '\t')" (parenthesized_expression "(cVar4 == ' ')" ( (binary_expression "cVar4 == ' '" identifier == (char_literal "' '" ' character ')) )) || (parenthesized_expression "(cVar4 == '\t')" ( (binary_expression "cVar4 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }" { (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (do_statement "do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);" do (compound_statement "{\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    }" { (do_statement "do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);" do (compound_statement "{\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      }" { (expression_statement "pbVar5 = pbVar3;" (assignment_expression "pbVar5 = pbVar3" identifier = identifier) ;) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pbVar5 == 0x20)" ( (binary_expression "*pbVar5 == 0x20" (pointer_expression "*pbVar5" * identifier) == number_literal) )) ;) }) while (parenthesized_expression "(*pbVar5 == 9)" ( (binary_expression "*pbVar5 == 9" (pointer_expression "*pbVar5" * identifier) == number_literal) )) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x4acfd) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" * (cast_expression "(int *)(unaff_EDI + 0x4acfd)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4acfd)" ( (binary_expression "unaff_EDI + 0x4acfd" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }" { (if_statement "if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }" if (parenthesized_expression "((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0')" ( (binary_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0'" (subscript_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI]" (parenthesized_expression "(&UNK_00042149)" ( (pointer_expression "&UNK_00042149" & identifier) )) [ (binary_expression "(uint)*pbVar5 + unaff_EDI" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier) + identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }" { (do_statement "do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');" do (compound_statement "{\n        pbVar5 = pbVar5 + 1;\n      }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0')" ( (binary_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0'" (subscript_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI]" (parenthesized_expression "(&UNK_00042149)" ( (pointer_expression "&UNK_00042149" & identifier) )) [ (binary_expression "(uint)*pbVar5 + unaff_EDI" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier) + identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "*pbVar5 = 0;" (assignment_expression "*pbVar5 = 0" (pointer_expression "*pbVar5" * identifier) = number_literal) ;) })) (expression_statement "FUN_0002eb60();" (call_expression "FUN_0002eb60()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) == 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x4acfd) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" * (cast_expression "(int *)(unaff_EDI + 0x4acfd)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4acfd)" ( (binary_expression "unaff_EDI + 0x4acfd" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0002cab0();" (call_expression "FUN_0002cab0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0002c2b0();" (call_expression "FUN_0002c2b0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) + IDENT) ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) + IDENT) ]) == (char_literal ' escape_sequence ')) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00032170(undefined4 param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00032170(undefined4 param_1,int param_2)" (identifier "FUN_00032170") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  byte *pbVar3;\n  char cVar4;\n  byte *pbVar5;\n  int unaff_EDI;\n  \n  FUN_000332af();\n  piVar1 = (int *)(unaff_EDI + 0x4adb9);\n  iVar2 = *piVar1;\n  pbVar5 = (byte *)(iVar2 + 1);\n  *piVar1 = (int)pbVar5;\n  cVar4 = *(char *)(iVar2 + 1);\n  if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }\n  if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }\n  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }\n  FUN_0002eb60();\n  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }\n  FUN_0002cab0();\n  FUN_0002c2b0();\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_000332af();" (call_expression "FUN_000332af()" (identifier "FUN_000332af") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = (int *)(unaff_EDI + 0x4adb9);" (assignment_expression "piVar1 = (int *)(unaff_EDI + 0x4adb9)" (identifier "piVar1") (= "=") (cast_expression "(int *)(unaff_EDI + 0x4adb9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x4adb9)" (( "(") (binary_expression "unaff_EDI + 0x4adb9" (identifier "unaff_EDI") (+ "+") (number_literal "0x4adb9")) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "pbVar5 = (byte *)(iVar2 + 1);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 1)" (identifier "pbVar5") (= "=") (cast_expression "(byte *)(iVar2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 1)" (( "(") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)pbVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar5"))) (; ";")) (expression_statement "cVar4 = *(char *)(iVar2 + 1);" (assignment_expression "cVar4 = *(char *)(iVar2 + 1)" (identifier "cVar4") (= "=") (pointer_expression "*(char *)(iVar2 + 1)" (* "*") (cast_expression "(char *)(iVar2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 1)" (( "(") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (if_statement "if (cVar4 == '=') {\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" (if "if") (parenthesized_expression "(cVar4 == '=')" (( "(") (binary_expression "cVar4 == '='" (identifier "cVar4") (== "==") (char_literal "'='" (' "'") (character "=") (' "'"))) () ")")) (compound_statement "{\n    pbVar5 = (byte *)(iVar2 + 2);\n    *piVar1 = (int)pbVar5;\n    cVar4 = *(char *)(iVar2 + 2);\n    if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }\n  }" ({ "{") (expression_statement "pbVar5 = (byte *)(iVar2 + 2);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 2)" (identifier "pbVar5") (= "=") (cast_expression "(byte *)(iVar2 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 2)" (( "(") (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)pbVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar5"))) (; ";")) (expression_statement "cVar4 = *(char *)(iVar2 + 2);" (assignment_expression "cVar4 = *(char *)(iVar2 + 2)" (identifier "cVar4") (= "=") (pointer_expression "*(char *)(iVar2 + 2)" (* "*") (cast_expression "(char *)(iVar2 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 2)" (( "(") (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if ((param_2 < 0) && (cVar4 == '=')) {\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" (if "if") (parenthesized_expression "((param_2 < 0) && (cVar4 == '='))" (( "(") (binary_expression "(param_2 < 0) && (cVar4 == '=')" (parenthesized_expression "(param_2 < 0)" (( "(") (binary_expression "param_2 < 0" (identifier "param_2") (< "<") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(cVar4 == '=')" (( "(") (binary_expression "cVar4 == '='" (identifier "cVar4") (== "==") (char_literal "'='" (' "'") (character "=") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      pbVar5 = (byte *)(iVar2 + 3);\n      *piVar1 = (int)pbVar5;\n      cVar4 = *(char *)(iVar2 + 3);\n    }" ({ "{") (expression_statement "pbVar5 = (byte *)(iVar2 + 3);" (assignment_expression "pbVar5 = (byte *)(iVar2 + 3)" (identifier "pbVar5") (= "=") (cast_expression "(byte *)(iVar2 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 3)" (( "(") (binary_expression "iVar2 + 3" (identifier "iVar2") (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)pbVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar5"))) (; ";")) (expression_statement "cVar4 = *(char *)(iVar2 + 3);" (assignment_expression "cVar4 = *(char *)(iVar2 + 3)" (identifier "cVar4") (= "=") (pointer_expression "*(char *)(iVar2 + 3)" (* "*") (cast_expression "(char *)(iVar2 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 3)" (( "(") (binary_expression "iVar2 + 3" (identifier "iVar2") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((cVar4 == ' ') || (cVar4 == '\t')) {\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }" (if "if") (parenthesized_expression "((cVar4 == ' ') || (cVar4 == '\t'))" (( "(") (binary_expression "(cVar4 == ' ') || (cVar4 == '\t')" (parenthesized_expression "(cVar4 == ' ')" (( "(") (binary_expression "cVar4 == ' '" (identifier "cVar4") (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar4 == '\t')" (( "(") (binary_expression "cVar4 == '\t'" (identifier "cVar4") (== "==") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    pbVar3 = pbVar5 + 1;\n    do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);\n  }" ({ "{") (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    } while (*pbVar5 == 9);" (do "do") (compound_statement "{\n      do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);\n    }" ({ "{") (do_statement "do {\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      } while (*pbVar5 == 0x20);" (do "do") (compound_statement "{\n        pbVar5 = pbVar3;\n        *piVar1 = (int)pbVar5;\n        pbVar3 = pbVar5 + 1;\n      }" ({ "{") (expression_statement "pbVar5 = pbVar3;" (assignment_expression "pbVar5 = pbVar3" (identifier "pbVar5") (= "=") (identifier "pbVar3")) (; ";")) (expression_statement "*piVar1 = (int)pbVar5;" (assignment_expression "*piVar1 = (int)pbVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)pbVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar5"))) (; ";")) (expression_statement "pbVar3 = pbVar5 + 1;" (assignment_expression "pbVar3 = pbVar5 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pbVar5 == 0x20)" (( "(") (binary_expression "*pbVar5 == 0x20" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (== "==") (number_literal "0x20")) () ")")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pbVar5 == 9)" (( "(") (binary_expression "*pbVar5 == 9" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (== "==") (number_literal "9")) () ")")) (; ";")) (} "}"))) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) != 0) {\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) != 0)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x4acfd) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x4acfd)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x4acfd)" (( "(") (binary_expression "unaff_EDI + 0x4acfd" (identifier "unaff_EDI") (+ "+") (number_literal "0x4acfd")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }\n    *pbVar5 = 0;\n  }" ({ "{") (if_statement "if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }" (if "if") (parenthesized_expression "((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0')" (( "(") (binary_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0'" (subscript_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI]" (parenthesized_expression "(&UNK_00042149)" (( "(") (pointer_expression "&UNK_00042149" (& "&") (identifier "UNK_00042149")) () ")")) ([ "[") (binary_expression "(uint)*pbVar5 + unaff_EDI" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar5")) (+ "+") (identifier "unaff_EDI")) (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');\n    }" ({ "{") (do_statement "do {\n        pbVar5 = pbVar5 + 1;\n      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');" (do "do") (compound_statement "{\n        pbVar5 = pbVar5 + 1;\n      }" ({ "{") (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0')" (( "(") (binary_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0'" (subscript_expression "(&UNK_00042149)[(uint)*pbVar5 + unaff_EDI]" (parenthesized_expression "(&UNK_00042149)" (( "(") (pointer_expression "&UNK_00042149" (& "&") (identifier "UNK_00042149")) () ")")) ([ "[") (binary_expression "(uint)*pbVar5 + unaff_EDI" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar5")) (+ "+") (identifier "unaff_EDI")) (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}"))) (expression_statement "*pbVar5 = 0;" (assignment_expression "*pbVar5 = 0" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "FUN_0002eb60();" (call_expression "FUN_0002eb60()" (identifier "FUN_0002eb60") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(unaff_EDI + 0x4acfd) == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(unaff_EDI + 0x4acfd) == 0)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x4acfd) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x4acfd)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x4acfd)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x4acfd)" (( "(") (binary_expression "unaff_EDI + 0x4acfd" (identifier "unaff_EDI") (+ "+") (number_literal "0x4acfd")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0002cab0();" (call_expression "FUN_0002cab0()" (identifier "FUN_0002cab0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0002c2b0();" (call_expression "FUN_0002c2b0()" (identifier "FUN_0002c2b0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *sym_name,int var_5)

{
  int *piVar1;
  int var_3;
  type_1 *pbVar3;
  char var_4;
  type_1 bVar5;
  type_1 *var_6;
  int var_2;
  
  var_1();
  piVar1 = (int *)(var_2 + 0x4adb9);
  var_3 = *piVar1;
  var_6 = (type_1 *)(var_3 + 1);
  *piVar1 = (int)var_6;
  var_4 = *(char *)(var_3 + 1);
  if (var_4 == '=') {
    var_6 = (type_1 *)(var_3 + 2);
    *piVar1 = (int)var_6;
    var_4 = *(char *)(var_3 + 2);
    if ((var_5 < 0) && (var_4 == '=')) {
      var_6 = (type_1 *)(var_3 + 3);
      *piVar1 = (int)var_6;
      var_4 = *(char *)(var_3 + 3);
    }
  }
  if ((var_4 == ' ') || (var_4 == '\t')) {
    pbVar3 = var_6 + 1;
    do {
      do {
        var_6 = pbVar3;
        *piVar1 = (int)var_6;
        pbVar3 = var_6 + 1;
      } while (*var_6 == 0x20);
    } while (*var_6 == 9);
  }
  if (*(int *)(var_2 + 0x4acfd) == 0) {
    bVar5 = 0;
    var_6 = (type_1 *)0x0;
  }
  else {
    bVar5 = *var_6;
    if (*(char *)(var_2 + 0x42149 + (type_2)bVar5) == '\0') {
      do {
        var_6 = var_6 + 1;
        bVar5 = *var_6;
      } while (*(char *)(var_2 + 0x42149 + (type_2)bVar5) == '\0');
    }
    *var_6 = 0;
  }
  if (-1 < var_5) {
    var_5 = (type_2)(var_5 == 0);
  }
  var_7(sym_name,var_5);
  if (*(int *)(var_2 + 0x4acfd) == 0) {
    return;
  }
  var_8();
  var_9((char *)var_6,(int)(char)bVar5);
  return;
}


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

void MASKED(undefined4 param_1,int param_2)

{
  int *piVar1;
  int iVar2;
  byte *pbVar3;
  char cVar4;
  byte *pbVar5;
  int unaff_EDI;
  
  FUN_000332af();
  piVar1 = (int *)(unaff_EDI + 0x4adb9);
  iVar2 = *piVar1;
  pbVar5 = (byte *)(iVar2 + 1);
  *piVar1 = (int)pbVar5;
  cVar4 = *(char *)(iVar2 + 1);
  if (cVar4 == '=') {
    pbVar5 = (byte *)(iVar2 + 2);
    *piVar1 = (int)pbVar5;
    cVar4 = *(char *)(iVar2 + 2);
    if ((param_2 < 0) && (cVar4 == '=')) {
      pbVar5 = (byte *)(iVar2 + 3);
      *piVar1 = (int)pbVar5;
      cVar4 = *(char *)(iVar2 + 3);
    }
  }
  if ((cVar4 == ' ') || (cVar4 == '\t')) {
    pbVar3 = pbVar5 + 1;
    do {
      do {
        pbVar5 = pbVar3;
        *piVar1 = (int)pbVar5;
        pbVar3 = pbVar5 + 1;
      } while (*pbVar5 == 0x20);
    } while (*pbVar5 == 9);
  }
  if (*(int *)(unaff_EDI + 0x4acfd) != 0) {
    if ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0') {
      do {
        pbVar5 = pbVar5 + 1;
      } while ((&UNK_00042149)[(uint)*pbVar5 + unaff_EDI] == '\0');
    }
    *pbVar5 = 0;
  }
  FUN_0002eb60();
  if (*(int *)(unaff_EDI + 0x4acfd) == 0) {
    return;
  }
  FUN_0002cab0();
  FUN_0002c2b0();
  return;
}

