Decompile fn_18955 (CMappillarEffect::Close)

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

- fn_18955 CMappillarEffect::Close: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-30 02:24:52 +00:00
commit 675d3bbc0f
2 changed files with 18 additions and 1 deletions

View file

@ -1,11 +1,24 @@
#include "Contents/Effects/MappillarEffect.h"
#include "Contents/Effects/EffectMemoryMgr.h"
#include "Contents/Effects/Particle.h"
#include "Utility/Math/AffineMatrix.h"
#include <algorithm>
#include <cstring>
// OFFSET: 0x00B4BBB0
// FUNCTION: fn_18955
void CMappillarEffect::Close() {
for (auto it = this->particles.begin(); it != this->particles.end(); ++it) {
FreeParticle(*it);
}
this->particles.clear();
}
// OFFSET: 0x00B4BBF0
// OFFSET: 0x00B4C0B0
// FUNCTION: fn_18957
bool CMappillarEffect::Slot06() {

View file

@ -2,6 +2,7 @@
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_MAPPILLAREFFECT_H
#include "Contents/Effects/Effect.h"
#include "Utility/Math/Vector3d.h"
#include <cstddef>
#include <vector>
@ -10,11 +11,14 @@ class CParticle;
class CMappillarEffect : public CEffect {
public:
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
/* 00CC */ unsigned char unknown_00CC[0x18];
/* 00CC */ vector3d lastInner;
/* 00D8 */ vector3d lastOuter;
/* 00E4 */ std::vector<CParticle*> particles;
};