rodecomp/Source/Contents/Effects/LightSphereEffect.h
ragnarok-clanker 2db71c55ba Decompile 3 functions in Source/Contents/Effects/LightSphereEffect.cpp, Source/Contents/Effects/LightSphereEffect.h
Batch #4892 by Millenium: 1 byte-identical, 2 confirmed by peer review.

- fn_19105 CLightSphereEffect::sub_B6CB90: logic confirmed by peer review
- fn_19106 CLightSphereEffect::Close: byte-identical
- fn_19107 CLightSphereEffect::Slot01: logic confirmed by peer review

Peer-reviewed-by: alisonrag, youko, KWDev
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 05:53:15 +00:00

32 lines
774 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_LIGHTSPHEREEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_LIGHTSPHEREEFFECT_H
#include "Contents/Effects/Effect.h"
#include <cstddef>
#include <vector>
class CParticle;
class CLightSphereEffect : public CEffect {
public:
CLightSphereEffect();
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void sub_B6CB90(int param);
/* 00CC */ std::vector<CParticle*> spheres;
/* 00D8 */ std::vector<CParticle*> rays;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CLightSphereEffect, spheres) == 0xCC);
static_assert(offsetof(CLightSphereEffect, rays) == 0xD8);
static_assert(sizeof(CLightSphereEffect) == 0xE4);
#endif
#endif