
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

void __regparm3 SetPixelViaPixelInfo(Image *image,PixelInfo *pixel_info,Quantum *pixel)

{
  PixelChannelMap *pPVar1;
  float fVar2;
  
  pPVar1 = image->channel_map;
  pixel[pPVar1->offset] = pixel_info->red;
  pixel[pPVar1[1].offset] = pixel_info->green;
  pixel[pPVar1[2].offset] = pixel_info->blue;
  if (pPVar1[3].traits != UndefinedPixelTrait) {
    pixel[pPVar1[3].offset] = pixel_info->black;
  }
  if (pPVar1[4].traits != UndefinedPixelTrait) {
    fVar2 = DAT_002df8a8;
    if (pixel_info->alpha_trait != UndefinedPixelTrait) {
      fVar2 = (float)pixel_info->alpha;
    }
    pixel[pPVar1[4].offset] = (double)fVar2;
  }
  return;
}



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

void __regparm3 FUN_00176e50(int param_1,int param_2,int param_3)

{
  int iVar1;
  float fVar2;
  
  iVar1 = *(int *)(param_1 + 0x2a8);
  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);
  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);
  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);
  if (*(int *)(iVar1 + 0x28) != 0) {
    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);
  }
  if (*(int *)(iVar1 + 0x34) != 0) {
    fVar2 = DAT_002df8a8;
    if (*(int *)(param_2 + 8) != 0) {
      fVar2 = (float)*(double *)(param_2 + 0x40);
    }
    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;
  }
  return;
}


PUSH ESI
FLD qword ptr [EDX + 0x20]
PUSH EBX
MOV EAX,dword ptr [EAX + 0x2a8]
CALL 0x00039d70
ADD EBX,0x2a71a0
MOV ESI,dword ptr [EAX + 0x8]
FSTP qword ptr [ECX + ESI*0x8]
MOV ESI,dword ptr [EAX + 0x14]
FLD qword ptr [EDX + 0x28]
FSTP qword ptr [ECX + ESI*0x8]
MOV ESI,dword ptr [EAX + 0x20]
FLD qword ptr [EDX + 0x30]
FSTP qword ptr [ECX + ESI*0x8]
MOV ESI,dword ptr [EAX + 0x28]
TEST ESI,ESI
JZ 0x00176e8e
MOV ESI,dword ptr [EAX + 0x2c]
FLD qword ptr [EDX + 0x38]
FSTP qword ptr [ECX + ESI*0x8]
MOV ESI,dword ptr [EAX + 0x34]
TEST ESI,ESI
JZ 0x00176ea8
MOV ESI,dword ptr [EDX + 0x8]
TEST ESI,ESI
JNZ 0x00176eb0
FLD dword ptr [EBX + 0xffec18a8]
MOV EAX,dword ptr [EAX + 0x38]
FSTP qword ptr [ECX + EAX*0x8]
POP EBX
POP ESI
RET
FLD qword ptr [EDX + 0x40]
JMP 0x00176ea2
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00176e50(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00176e50(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00176e50(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x2a8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x2a8)" identifier = (pointer_expression "*(int *)(param_1 + 0x2a8)" * (cast_expression "(int *)(param_1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a8)" ( (binary_expression "param_1 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 8) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 8) * 8" identifier + (binary_expression "*(int *)(iVar1 + 8) * 8" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x20)" * (cast_expression "(undefined8 *)(param_2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x14) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x14) * 8" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x28)" * (cast_expression "(undefined8 *)(param_2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x20) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x20) * 8" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x30)" * (cast_expression "(undefined8 *)(param_2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x28) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x28) != 0" (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }" { (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x2c) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x2c) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x2c) * 8" (pointer_expression "*(int *)(iVar1 + 0x2c)" * (cast_expression "(int *)(iVar1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x38)" * (cast_expression "(undefined8 *)(param_2 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x34) != 0" (pointer_expression "*(int *)(iVar1 + 0x34)" * (cast_expression "(int *)(iVar1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }" { (expression_statement "fVar2 = DAT_002df8a8;" (assignment_expression "fVar2 = DAT_002df8a8" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }" if (parenthesized_expression "(*(int *)(param_2 + 8) != 0)" ( (binary_expression "*(int *)(param_2 + 8) != 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }" { (expression_statement "fVar2 = (float)*(double *)(param_2 + 0x40);" (assignment_expression "fVar2 = (float)*(double *)(param_2 + 0x40)" identifier = (cast_expression "(float)*(double *)(param_2 + 0x40)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 0x40)" * (cast_expression "(double *)(param_2 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x40)" ( (binary_expression "param_2 + 0x40" identifier + number_literal) )))))) ;) })) (expression_statement "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;" (assignment_expression "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2" (pointer_expression "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8)" * (cast_expression "(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x38) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x38) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x38) * 8" (pointer_expression "*(int *)(iVar1 + 0x38)" * (cast_expression "(int *)(iVar1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(double)fVar2" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nvoid __regparm3 SetPixelViaPixelInfo(Image *image,PixelInfo *pixel_info,Quantum *pixel)\n\n{\n  PixelChannelMap *pPVar1;\n  float fVar2;\n  \n  pPVar1 = image->channel_map;\n  pixel[pPVar1->offset] = pixel_info->red;\n  pixel[pPVar1[1].offset] = pixel_info->green;\n  pixel[pPVar1[2].offset] = pixel_info->blue;\n  if (pPVar1[3].traits != UndefinedPixelTrait) {\n    pixel[pPVar1[3].offset] = pixel_info->black;\n  }\n  if (pPVar1[4].traits != UndefinedPixelTrait) {\n    fVar2 = DAT_002df8a8;\n    if (pixel_info->alpha_trait != UndefinedPixelTrait) {\n      fVar2 = (float)pixel_info->alpha;\n    }\n    pixel[pPVar1[4].offset] = (double)fVar2;\n  }\n  return;\n}\n\n" comment comment comment comment comment (function_definition "void __regparm3 SetPixelViaPixelInfo(Image *image,PixelInfo *pixel_info,Quantum *pixel)\n\n{\n  PixelChannelMap *pPVar1;\n  float fVar2;\n  \n  pPVar1 = image->channel_map;\n  pixel[pPVar1->offset] = pixel_info->red;\n  pixel[pPVar1[1].offset] = pixel_info->green;\n  pixel[pPVar1[2].offset] = pixel_info->blue;\n  if (pPVar1[3].traits != UndefinedPixelTrait) {\n    pixel[pPVar1[3].offset] = pixel_info->black;\n  }\n  if (pPVar1[4].traits != UndefinedPixelTrait) {\n    fVar2 = DAT_002df8a8;\n    if (pixel_info->alpha_trait != UndefinedPixelTrait) {\n      fVar2 = (float)pixel_info->alpha;\n    }\n    pixel[pPVar1[4].offset] = (double)fVar2;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "SetPixelViaPixelInfo(Image *image,PixelInfo *pixel_info,Quantum *pixel)" identifier (parameter_list "(Image *image,PixelInfo *pixel_info,Quantum *pixel)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "PixelInfo *pixel_info" type_identifier (pointer_declarator "*pixel_info" * identifier)) , (parameter_declaration "Quantum *pixel" type_identifier (pointer_declarator "*pixel" * identifier)) ))) (compound_statement "{\n  PixelChannelMap *pPVar1;\n  float fVar2;\n  \n  pPVar1 = image->channel_map;\n  pixel[pPVar1->offset] = pixel_info->red;\n  pixel[pPVar1[1].offset] = pixel_info->green;\n  pixel[pPVar1[2].offset] = pixel_info->blue;\n  if (pPVar1[3].traits != UndefinedPixelTrait) {\n    pixel[pPVar1[3].offset] = pixel_info->black;\n  }\n  if (pPVar1[4].traits != UndefinedPixelTrait) {\n    fVar2 = DAT_002df8a8;\n    if (pixel_info->alpha_trait != UndefinedPixelTrait) {\n      fVar2 = (float)pixel_info->alpha;\n    }\n    pixel[pPVar1[4].offset] = (double)fVar2;\n  }\n  return;\n}" { (declaration "PixelChannelMap *pPVar1;" type_identifier (pointer_declarator "*pPVar1" * identifier) ;) (declaration "float fVar2;" primitive_type identifier ;) (expression_statement "pPVar1 = image->channel_map;" (assignment_expression "pPVar1 = image->channel_map" identifier = (field_expression "image->channel_map" identifier -> field_identifier)) ;) (expression_statement "pixel[pPVar1->offset] = pixel_info->red;" (assignment_expression "pixel[pPVar1->offset] = pixel_info->red" (subscript_expression "pixel[pPVar1->offset]" identifier [ (field_expression "pPVar1->offset" identifier -> field_identifier) ]) = (field_expression "pixel_info->red" identifier -> field_identifier)) ;) (expression_statement "pixel[pPVar1[1].offset] = pixel_info->green;" (assignment_expression "pixel[pPVar1[1].offset] = pixel_info->green" (subscript_expression "pixel[pPVar1[1].offset]" identifier [ (field_expression "pPVar1[1].offset" (subscript_expression "pPVar1[1]" identifier [ number_literal ]) . field_identifier) ]) = (field_expression "pixel_info->green" identifier -> field_identifier)) ;) (expression_statement "pixel[pPVar1[2].offset] = pixel_info->blue;" (assignment_expression "pixel[pPVar1[2].offset] = pixel_info->blue" (subscript_expression "pixel[pPVar1[2].offset]" identifier [ (field_expression "pPVar1[2].offset" (subscript_expression "pPVar1[2]" identifier [ number_literal ]) . field_identifier) ]) = (field_expression "pixel_info->blue" identifier -> field_identifier)) ;) (if_statement "if (pPVar1[3].traits != UndefinedPixelTrait) {\n    pixel[pPVar1[3].offset] = pixel_info->black;\n  }" if (parenthesized_expression "(pPVar1[3].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar1[3].traits != UndefinedPixelTrait" (field_expression "pPVar1[3].traits" (subscript_expression "pPVar1[3]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n    pixel[pPVar1[3].offset] = pixel_info->black;\n  }" { (expression_statement "pixel[pPVar1[3].offset] = pixel_info->black;" (assignment_expression "pixel[pPVar1[3].offset] = pixel_info->black" (subscript_expression "pixel[pPVar1[3].offset]" identifier [ (field_expression "pPVar1[3].offset" (subscript_expression "pPVar1[3]" identifier [ number_literal ]) . field_identifier) ]) = (field_expression "pixel_info->black" identifier -> field_identifier)) ;) })) (if_statement "if (pPVar1[4].traits != UndefinedPixelTrait) {\n    fVar2 = DAT_002df8a8;\n    if (pixel_info->alpha_trait != UndefinedPixelTrait) {\n      fVar2 = (float)pixel_info->alpha;\n    }\n    pixel[pPVar1[4].offset] = (double)fVar2;\n  }" if (parenthesized_expression "(pPVar1[4].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar1[4].traits != UndefinedPixelTrait" (field_expression "pPVar1[4].traits" (subscript_expression "pPVar1[4]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n    fVar2 = DAT_002df8a8;\n    if (pixel_info->alpha_trait != UndefinedPixelTrait) {\n      fVar2 = (float)pixel_info->alpha;\n    }\n    pixel[pPVar1[4].offset] = (double)fVar2;\n  }" { (expression_statement "fVar2 = DAT_002df8a8;" (assignment_expression "fVar2 = DAT_002df8a8" identifier = identifier) ;) (if_statement "if (pixel_info->alpha_trait != UndefinedPixelTrait) {\n      fVar2 = (float)pixel_info->alpha;\n    }" if (parenthesized_expression "(pixel_info->alpha_trait != UndefinedPixelTrait)" ( (binary_expression "pixel_info->alpha_trait != UndefinedPixelTrait" (field_expression "pixel_info->alpha_trait" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      fVar2 = (float)pixel_info->alpha;\n    }" { (expression_statement "fVar2 = (float)pixel_info->alpha;" (assignment_expression "fVar2 = (float)pixel_info->alpha" identifier = (cast_expression "(float)pixel_info->alpha" ( (type_descriptor "float" primitive_type) ) (field_expression "pixel_info->alpha" identifier -> field_identifier))) ;) })) (expression_statement "pixel[pPVar1[4].offset] = (double)fVar2;" (assignment_expression "pixel[pPVar1[4].offset] = (double)fVar2" (subscript_expression "pixel[pPVar1[4].offset]" identifier [ (field_expression "pPVar1[4].offset" (subscript_expression "pPVar1[4]" identifier [ number_literal ]) . field_identifier) ]) = (cast_expression "(double)fVar2" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00176e50(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00176e50(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00176e50(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x2a8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x2a8)" identifier = (pointer_expression "*(int *)(param_1 + 0x2a8)" * (cast_expression "(int *)(param_1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2a8)" ( (binary_expression "param_1 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 8) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 8) * 8" identifier + (binary_expression "*(int *)(iVar1 + 8) * 8" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x20)" * (cast_expression "(undefined8 *)(param_2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x14) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x14) * 8" (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x28)" * (cast_expression "(undefined8 *)(param_2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x20) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x20) * 8" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x30)" * (cast_expression "(undefined8 *)(param_2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x28) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x28) != 0" (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }" { (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8)" * (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x2c) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x2c) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x2c) * 8" (pointer_expression "*(int *)(iVar1 + 0x2c)" * (cast_expression "(int *)(iVar1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*(undefined8 *)(param_2 + 0x38)" * (cast_expression "(undefined8 *)(param_2 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x34) != 0" (pointer_expression "*(int *)(iVar1 + 0x34)" * (cast_expression "(int *)(iVar1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }" { (expression_statement "fVar2 = DAT_002df8a8;" (assignment_expression "fVar2 = DAT_002df8a8" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }" if (parenthesized_expression "(*(int *)(param_2 + 8) != 0)" ( (binary_expression "*(int *)(param_2 + 8) != 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }" { (expression_statement "fVar2 = (float)*(double *)(param_2 + 0x40);" (assignment_expression "fVar2 = (float)*(double *)(param_2 + 0x40)" identifier = (cast_expression "(float)*(double *)(param_2 + 0x40)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 0x40)" * (cast_expression "(double *)(param_2 + 0x40)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x40)" ( (binary_expression "param_2 + 0x40" identifier + number_literal) )))))) ;) })) (expression_statement "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;" (assignment_expression "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2" (pointer_expression "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8)" * (cast_expression "(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x38) * 8)" ( (binary_expression "param_3 + *(int *)(iVar1 + 0x38) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x38) * 8" (pointer_expression "*(int *)(iVar1 + 0x38)" * (cast_expression "(int *)(iVar1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(double)fVar2" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 { (expression_statement (assignment_expression IDENT = IDENT) ;) (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 { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00176e50(int param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00176e50(int param_1,int param_2,int param_3)" (identifier "FUN_00176e50") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  float fVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x2a8);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);\n  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);\n  if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }\n  if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "float fVar2;" (primitive_type "float") (identifier "fVar2") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x2a8);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x2a8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x2a8)" (* "*") (cast_expression "(int *)(param_1 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2a8)" (( "(") (binary_expression "param_1 + 0x2a8" (identifier "param_1") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8)" (* "*") (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + *(int *)(iVar1 + 8) * 8)" (( "(") (binary_expression "param_3 + *(int *)(iVar1 + 8) * 8" (identifier "param_3") (+ "+") (binary_expression "*(int *)(iVar1 + 8) * 8" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8)" (* "*") (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x14) * 8)" (( "(") (binary_expression "param_3 + *(int *)(iVar1 + 0x14) * 8" (identifier "param_3") (+ "+") (binary_expression "*(int *)(iVar1 + 0x14) * 8" (pointer_expression "*(int *)(iVar1 + 0x14)" (* "*") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x28)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8)" (* "*") (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x20) * 8)" (( "(") (binary_expression "param_3 + *(int *)(iVar1 + 0x20) * 8" (identifier "param_3") (+ "+") (binary_expression "*(int *)(iVar1 + 0x20) * 8" (pointer_expression "*(int *)(iVar1 + 0x20)" (* "*") (cast_expression "(int *)(iVar1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x28) != 0) {\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x28) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x28) != 0" (pointer_expression "*(int *)(iVar1 + 0x28)" (* "*") (cast_expression "(int *)(iVar1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);\n  }" ({ "{") (expression_statement "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);" (assignment_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38)" (pointer_expression "*(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8)" (* "*") (cast_expression "(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x2c) * 8)" (( "(") (binary_expression "param_3 + *(int *)(iVar1 + 0x2c) * 8" (identifier "param_3") (+ "+") (binary_expression "*(int *)(iVar1 + 0x2c) * 8" (pointer_expression "*(int *)(iVar1 + 0x2c)" (* "*") (cast_expression "(int *)(iVar1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2c)" (( "(") (binary_expression "iVar1 + 0x2c" (identifier "iVar1") (+ "+") (number_literal "0x2c")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x38)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x38)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x34) != 0) {\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x34) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x34) != 0" (pointer_expression "*(int *)(iVar1 + 0x34)" (* "*") (cast_expression "(int *)(iVar1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x34)" (( "(") (binary_expression "iVar1 + 0x34" (identifier "iVar1") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fVar2 = DAT_002df8a8;\n    if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }\n    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;\n  }" ({ "{") (expression_statement "fVar2 = DAT_002df8a8;" (assignment_expression "fVar2 = DAT_002df8a8" (identifier "fVar2") (= "=") (identifier "DAT_002df8a8")) (; ";")) (if_statement "if (*(int *)(param_2 + 8) != 0) {\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 8) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 8) != 0" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      fVar2 = (float)*(double *)(param_2 + 0x40);\n    }" ({ "{") (expression_statement "fVar2 = (float)*(double *)(param_2 + 0x40);" (assignment_expression "fVar2 = (float)*(double *)(param_2 + 0x40)" (identifier "fVar2") (= "=") (cast_expression "(float)*(double *)(param_2 + 0x40)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(param_2 + 0x40)" (* "*") (cast_expression "(double *)(param_2 + 0x40)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x40)" (( "(") (binary_expression "param_2 + 0x40" (identifier "param_2") (+ "+") (number_literal "0x40")) () ")")))))) (; ";")) (} "}"))) (expression_statement "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;" (assignment_expression "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2" (pointer_expression "*(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8)" (* "*") (cast_expression "(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + *(int *)(iVar1 + 0x38) * 8)" (( "(") (binary_expression "param_3 + *(int *)(iVar1 + 0x38) * 8" (identifier "param_3") (+ "+") (binary_expression "*(int *)(iVar1 + 0x38) * 8" (pointer_expression "*(int *)(iVar1 + 0x38)" (* "*") (cast_expression "(int *)(iVar1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x38)" (( "(") (binary_expression "iVar1 + 0x38" (identifier "iVar1") (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (cast_expression "(double)fVar2" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar2"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

void __regparm3 function_1(type_1 *image,type_2 *pixel_info,type_3 *pixel)

{
  type_4 *pPVar1;
  float fVar2;
  
  pPVar1 = image->channel_map;
  pixel[pPVar1->offset] = pixel_info->red;
  pixel[pPVar1[1].offset] = pixel_info->green;
  pixel[pPVar1[2].offset] = pixel_info->blue;
  if (pPVar1[3].traits != var_1) {
    pixel[pPVar1[3].offset] = pixel_info->black;
  }
  if (pPVar1[4].traits != var_1) {
    fVar2 = DAT_002df8a8;
    if (pixel_info->alpha_trait != var_1) {
      fVar2 = (float)pixel_info->alpha;
    }
    pixel[pPVar1[4].offset] = (double)fVar2;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (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)))))) right: (pointer_expression argument: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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)))))) right: (pointer_expression argument: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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 (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (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)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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 (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (return_statement))))

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

void __regparm3 MASKED(int param_1,int param_2,int param_3)

{
  int iVar1;
  float fVar2;
  
  iVar1 = *(int *)(param_1 + 0x2a8);
  *(undefined8 *)(param_3 + *(int *)(iVar1 + 8) * 8) = *(undefined8 *)(param_2 + 0x20);
  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x14) * 8) = *(undefined8 *)(param_2 + 0x28);
  *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x20) * 8) = *(undefined8 *)(param_2 + 0x30);
  if (*(int *)(iVar1 + 0x28) != 0) {
    *(undefined8 *)(param_3 + *(int *)(iVar1 + 0x2c) * 8) = *(undefined8 *)(param_2 + 0x38);
  }
  if (*(int *)(iVar1 + 0x34) != 0) {
    fVar2 = DAT_002df8a8;
    if (*(int *)(param_2 + 8) != 0) {
      fVar2 = (float)*(double *)(param_2 + 0x40);
    }
    *(double *)(param_3 + *(int *)(iVar1 + 0x38) * 8) = (double)fVar2;
  }
  return;
}

