Decompile fn_07017 (CChargingPierceEffect::CChargingPierceEffect)

Batch #18322 by eAthena: 1 byte-identical, 0 confirmed by peer review.

- fn_07017 CChargingPierceEffect::CChargingPierceEffect: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-12 13:11:04 +00:00
commit 3bd996fee1
2 changed files with 17 additions and 6 deletions

View file

@ -29,11 +29,6 @@ static __forceinline bool IsParticleActive(const CEZ2STRParticle* particle) {
// OFFSET: 0x00703060
// FUNCTION: fn_07017
CChargingPierceEffect::CChargingPierceEffect() : CEffect(-1) {
for (vector3d& offset : this->offsets) {
offset.x = 0.0f;
offset.y = 0.0f;
offset.z = 0.0f;
}
}
// OFFSET: 0x007030F0

View file

@ -10,6 +10,22 @@
class CParticle;
class CEZ2STRParticle;
struct ChargingPierceOffset : vector3d {
// INLINED
ChargingPierceOffset() {
this->x = 0.0f;
this->y = 0.0f;
this->z = 0.0f;
}
// INLINED
ChargingPierceOffset(float offsetX, float offsetY, float offsetZ) {
this->x = offsetX;
this->y = offsetY;
this->z = offsetZ;
}
};
class CChargingPierceEffect : public CEffect {
public:
CChargingPierceEffect();
@ -22,7 +38,7 @@ public:
int ActiveCount();
/* 00CC */ vector3d offsets[10];
/* 00CC */ ChargingPierceOffset offsets[10];
/* 0144 */ CParticle* sparks[10];
/* 016C */ CEZ2STRParticle* emitters[10];
};