Decompile 2 functions in Source/Contents/Actors/GameActor.h, Source/Contents/Actors/Pc.h, ...

Batch #9043 by youko: 0 byte-identical, 2 confirmed by peer review.

- fn_22586 CGrannyPc::OnProcess: logic confirmed by peer review
- fn_22587 CPc::OnProcess: logic confirmed by peer review

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-01 00:00:02 +00:00
commit 4deff9e985
6 changed files with 140 additions and 38 deletions

View file

@ -4798,12 +4798,7 @@ bool C3dGrannyGameActor::OnProcess() {
this->ProcessActorEffects();
this->UpdateHpGauge();
union {
void (CGameActor::*asVoid)();
bool (CGameActor::*asBool)();
} slot14;
slot14.asVoid = &CGameActor::Slot14;
const bool result = (this->*slot14.asBool)();
const bool result = this->Slot14();
float facing = this->render.angle;
if (facing > 360.0f) {