Decompile fn_19997 (CEffectPrim::RenderLaunchEffects)

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

- fn_19997 CEffectPrim::RenderLaunchEffects: logic confirmed by peer review

Peer-reviewed-by: Yommy, secret, codeplay
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-07 07:22:00 +00:00
commit 7af846ba23

View file

@ -21,11 +21,23 @@
// OFFSET: 0x00BF58F0
// FUNCTION: fn_19997
void CEffectPrim::RenderLaunchEffects(matrix&) {
vector3d vec1{};
vector3d vec2{};
vector3d vec3{};
vector3d vec4{};
__declspec(safebuffers) void CEffectPrim::RenderLaunchEffects(matrix&) {
vector3d vec1;
vector3d vec2;
vector3d vec3;
vector3d vec4;
vec1.x = 0.0f;
vec1.y = 0.0f;
vec1.z = 0.0f;
vec2.x = 0.0f;
vec2.y = 0.0f;
vec2.z = 0.0f;
vec3.x = 0.0f;
vec3.y = 0.0f;
vec3.z = 0.0f;
vec4.x = 0.0f;
vec4.y = 0.0f;
vec4.z = 0.0f;
for (int ec = 0; ec < 4; ++ec) {
const EffectPrimitiveSlot& slot = this->state.slots[ec];