
undefined4 * __regparm3 d_number_component(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  
  iVar1 = *(int *)(param_1 + 0x14);
  if (iVar1 < *(int *)(param_1 + 0x18)) {
    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));
    puVar3[1] = 0;
    *(int *)(param_1 + 0x14) = iVar1 + 1;
    *puVar3 = 0x41;
    uVar2 = d_number_isra_0();
    puVar3[2] = uVar2;
    return puVar3;
  }
  return (undefined4 *)0x0;
}



undefined4 * __regparm3 FUN_0026fec0(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  
  iVar1 = *(int *)(param_1 + 0x14);
  if (iVar1 < *(int *)(param_1 + 0x18)) {
    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));
    puVar3[1] = 0;
    *(int *)(param_1 + 0x14) = iVar1 + 1;
    *puVar3 = 0x41;
    uVar2 = FUN_0026fdf0();
    puVar3[2] = uVar2;
    return puVar3;
  }
  return (undefined4 *)0x0;
}


PUSH EBX
MOV EDX,dword ptr [EAX + 0x14]
CMP EDX,dword ptr [EAX + 0x18]
JGE 0x0026fef8
MOV EBX,EDX
ADD EDX,0x1
ADD EAX,0xc
SHL EBX,0x4
ADD EBX,dword ptr [EAX + 0x4]
MOV dword ptr [EBX + 0x4],0x0
MOV dword ptr [EAX + 0x8],EDX
MOV dword ptr [EBX],0x41
CALL 0x0026fdf0
MOV dword ptr [EBX + 0x8],EAX
MOV EAX,EBX
POP EBX
RET
XOR EBX,EBX
MOV EAX,EBX
POP EBX
RET
(translation_unit "undefined4 * __regparm3 FUN_0026fec0(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x14);\n  if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }\n  return (undefined4 *)0x0;\n}\n\n" (ERROR "undefined4 * __regparm3 FUN_0026fec0(int param_1)" (binary_expression "undefined4 * __regparm3 FUN_0026fec0(int param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_0026fec0(int param_1)" identifier (argument_list "(int param_1)" ( (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x14);\n  if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" if (parenthesized_expression "(iVar1 < *(int *)(param_1 + 0x18))" ( (binary_expression "iVar1 < *(int *)(param_1 + 0x18)" identifier < (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" { (expression_statement "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar1 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar1 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = 0x41;" (assignment_expression "*puVar3 = 0x41" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = FUN_0026fdf0();" (assignment_expression "uVar2 = FUN_0026fdf0()" identifier = (call_expression "FUN_0026fdf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar3[2] = uVar2;" (assignment_expression "puVar3[2] = uVar2" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar3;" return identifier ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "undefined4 * __regparm3 d_number_component(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x14);\n  if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = d_number_isra_0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }\n  return (undefined4 *)0x0;\n}\n\n" (ERROR "undefined4 * __regparm3 d_number_component(int param_1)" (binary_expression "undefined4 * __regparm3 d_number_component(int param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "d_number_component(int param_1)" identifier (argument_list "(int param_1)" ( (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x14);\n  if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = d_number_isra_0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = d_number_isra_0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" if (parenthesized_expression "(iVar1 < *(int *)(param_1 + 0x18))" ( (binary_expression "iVar1 < *(int *)(param_1 + 0x18)" identifier < (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = d_number_isra_0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" { (expression_statement "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar1 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar1 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = 0x41;" (assignment_expression "*puVar3 = 0x41" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = d_number_isra_0();" (assignment_expression "uVar2 = d_number_isra_0()" identifier = (call_expression "d_number_isra_0()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar3[2] = uVar2;" (assignment_expression "puVar3[2] = uVar2" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar3;" return identifier ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "undefined4 * __regparm3 FUN_0026fec0(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x14);\n  if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }\n  return (undefined4 *)0x0;\n}\n\n" (ERROR "undefined4 * __regparm3 FUN_0026fec0(int param_1)" (binary_expression "undefined4 * __regparm3 FUN_0026fec0(int param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_0026fec0(int param_1)" identifier (argument_list "(int param_1)" ( (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x14);\n  if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" if (parenthesized_expression "(iVar1 < *(int *)(param_1 + 0x18))" ( (binary_expression "iVar1 < *(int *)(param_1 + 0x18)" identifier < (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" { (expression_statement "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" ( (binary_expression "iVar1 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar1 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x14) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = 0x41;" (assignment_expression "*puVar3 = 0x41" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = FUN_0026fdf0();" (assignment_expression "uVar2 = FUN_0026fdf0()" identifier = (call_expression "FUN_0026fdf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar3[2] = uVar2;" (assignment_expression "puVar3[2] = uVar2" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar3;" return identifier ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) }))
(ERROR "undefined4 * __regparm3 FUN_0026fec0(int param_1)" (binary_expression "undefined4 * __regparm3 FUN_0026fec0(int param_1)" (identifier "undefined4") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_0026fec0(int param_1)" (identifier "FUN_0026fec0") (argument_list "(int param_1)" (( "(") (ERROR "int" (identifier "int")) (identifier "param_1") () ")"))))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = *(int *)(param_1 + 0x14);\n  if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }\n  return (undefined4 *)0x0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar1 < *(int *)(param_1 + 0x18)) {\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" (if "if") (parenthesized_expression "(iVar1 < *(int *)(param_1 + 0x18))" (( "(") (binary_expression "iVar1 < *(int *)(param_1 + 0x18)" (identifier "iVar1") (< "<") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));\n    puVar3[1] = 0;\n    *(int *)(param_1 + 0x14) = iVar1 + 1;\n    *puVar3 = 0x41;\n    uVar2 = FUN_0026fdf0();\n    puVar3[2] = uVar2;\n    return puVar3;\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));" (assignment_expression "puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 * 0x10 + *(int *)(param_1 + 0x10))" (( "(") (binary_expression "iVar1 * 0x10 + *(int *)(param_1 + 0x10)" (binary_expression "iVar1 * 0x10" (identifier "iVar1") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_1 + 0x14) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = 0x41;" (assignment_expression "*puVar3 = 0x41" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0x41")) (; ";")) (expression_statement "uVar2 = FUN_0026fdf0();" (assignment_expression "uVar2 = FUN_0026fdf0()" (identifier "uVar2") (= "=") (call_expression "FUN_0026fdf0()" (identifier "FUN_0026fdf0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar3[2] = uVar2;" (assignment_expression "puVar3[2] = uVar2" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return puVar3;" (return "return") (identifier "puVar3") (; ";")) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))

type_1 * __regparm3 d_number_component(int var_1)

{
  int var_2;
  type_1 uVar2;
  type_1 *puVar3;
  
  var_2 = *(int *)(var_1 + 0x14);
  if (var_2 < *(int *)(var_1 + 0x18)) {
    puVar3 = (type_1 *)(var_2 * 0x10 + *(int *)(var_1 + 0x10));
    puVar3[1] = 0;
    *(int *)(var_1 + 0x14) = var_2 + 1;
    *puVar3 = 0x41;
    uVar2 = var_3();
    puVar3[2] = uVar2;
    return puVar3;
  }
  return (type_1 *)0x0;
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (ERROR (identifier)) (identifier))))) (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (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: (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))))))) 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: (binary_expression left: (identifier) right: (number_literal)) 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)))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))) (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))

undefined4 * __regparm3 MASKED(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  
  iVar1 = *(int *)(param_1 + 0x14);
  if (iVar1 < *(int *)(param_1 + 0x18)) {
    puVar3 = (undefined4 *)(iVar1 * 0x10 + *(int *)(param_1 + 0x10));
    puVar3[1] = 0;
    *(int *)(param_1 + 0x14) = iVar1 + 1;
    *puVar3 = 0x41;
    uVar2 = FUN_0026fdf0();
    puVar3[2] = uVar2;
    return puVar3;
  }
  return (undefined4 *)0x0;
}

