Files
isaac-port/generated-src/projectile_params.cpp
T
shweetandClaude Opus 5.5 9d4d4f5c64 Build 29: zero-length placeholder structs, generated-src with standard types
--check: 938/3256 method bodies compile for x86_64 (28.8%), 32-bit layout asserts hold; boot path 3/626 curated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:41:34 -05:00

55 lines
1.9 KiB
C++

#include "classes.h"
// 0043ef30
ProjectileParams::ProjectileParams()
{
uint32_t rngValue;
*GHIDRA_CAST<uint8_t *>(this) = 1;
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))) = 0;
this->FallingSpeedModifier = 0.0;
this->FallingAccelModifier = 0.0;
this->VelocityMulti = 1.0;
this->Scale = 1.0;
rngValue = Random();
this->HomingStrength = 1.0;
this->CurvingStrength = 0.005;
this->Acceleration = 1.01;
this->Spread = 1.0;
this->CircleAngle =
(float)((double)GHIDRA_INT(rngValue) + __uint_to_double_fixup[-(GHIDRA_INT(rngValue) >> 0x1f)]) *
2.3283064e-10 * 3.1415927;
(this->Color)._tint[0] = 1.0;
(this->Color)._tint[1] = 1.0;
(this->Color)._tint[2] = 1.0;
(this->Color)._tint[3] = 1.0;
(this->Color)._colorize[0] = 0.0;
(this->Color)._colorize[1] = 0.0;
(this->Color)._colorize[2] = 0.0;
(this->Color)._colorize[3] = 0.0;
(this->Color)._offset[0] = 0.0;
(this->Color)._offset[1] = 0.0;
(this->Color)._offset[2] = 0.0;
*GHIDRA_CAST<uint32_t *>(&this->BulletFlags) = 0;
*GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&this->BulletFlags) + 4)) = 0;
(this->PositionOffset).x = g_vectorZero.x;
(this->PositionOffset).y = g_vectorZero.y;
(this->TargetPosition).x = g_vectorZero.x;
(this->TargetPosition).y = g_vectorZero.y;
(this->FireDirectionLimit).x = g_vectorZero.x;
(this->FireDirectionLimit).y = g_vectorZero.y;
this->DotProductLimit = -1000.0;
this->WiggleFrameOffset = 0;
*GHIDRA_CAST<uint32_t *>(&this->ChangeFlags) = 0;
*GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&this->ChangeFlags) + 4)) = 0;
this->ChangeVelocity = 0.0;
this->ChangeTimeout = 0x1e;
this->DepthOffset = 0.0;
this->Variant = 0;
*GHIDRA_CAST<uint8_t *>((this + 1)) = 0;
*GHIDRA_CAST<uint8_t **>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[1])) + 0x4)))) = &DAT_bf800000;
this[1].FallingSpeedModifier = 0.0;
*GHIDRA_CAST<uint8_t *>(&this[1].FallingAccelModifier) = 0;
return this;
}