rodecomp/Source/Contents/Effects/PokJukEffect.h
ragnarok-clanker 4fb8c3fec0 Decompile 3 functions in Source/Contents/Effects/PokJukEffect.cpp, Source/Contents/Effects/PokJukEffect.h
Batch #4732 by eAthena: 2 byte-identical, 1 confirmed by peer review.

- fn_19120 CPokJukEffect::SpawnParticles: logic confirmed by peer review
- fn_19121 CPokJukEffect::Close: byte-identical
- fn_19122 CPokJukEffect::Slot01: byte-identical

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

38 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_POKJUKEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_POKJUKEFFECT_H
#include "Contents/Effects/Effect.h"
#include "Utility/Math/Vector3d.h"
#include <cstddef>
#include <vector>
class CParticle;
class CPokJukEffect : public CEffect {
public:
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void SpawnParticles();
__declspec(noinline) void FaceCamera(vector3d* corners);
/* 00CC */ vector3d trails[640][4];
/* 78CC */ int states[640];
/* 82CC */ int beats[640];
/* 8CCC */ int delays[640];
/* 96CC */ std::vector<CParticle*> particles;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CPokJukEffect, trails) == 0xCC);
static_assert(offsetof(CPokJukEffect, states) == 0x78CC);
static_assert(offsetof(CPokJukEffect, beats) == 0x82CC);
static_assert(offsetof(CPokJukEffect, delays) == 0x8CCC);
static_assert(offsetof(CPokJukEffect, particles) == 0x96CC);
static_assert(sizeof(CPokJukEffect) == 0x96D8);
#endif
#endif