Decompile 6 functions in Source/Contents/Actors/RenderObject.cpp, Source/Contents/Actors/GameActor.h

Batch #1393 by ragnarok-clanker: 6 byte-identical, 0 confirmed by peer review.

- fn_21136 CGameActor::Slot30: byte-identical
- fn_21147 CGameActor::Slot25: byte-identical
- fn_21148 CGameActor::Slot18: byte-identical
- fn_21149 CGameActor::Slot22: byte-identical
- fn_21150 CGameActor::Slot21: byte-identical
- fn_21152 CGameActor::Slot23: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-28 12:13:36 +00:00
commit c05b411b4d
2 changed files with 54 additions and 2 deletions

View file

@ -21,14 +21,27 @@ public:
/* 0308 */ int unknown_0308;
/* 030C */ unsigned char unknown_030C[8];
/* 0314 */ unsigned char unknown_0314;
/* 0315 */ unsigned char unknown_0315[0x63];
/* 0315 */ unsigned char unknown_0315[3];
/* 0318 */ float unknown_0318[6];
/* 0330 */ float unknown_0330[6];
/* 0348 */ float unknown_0348[6];
/* 0360 */ float unknown_0360[6];
/* 0378 */ float unknown_0378;
/* 037C */ unsigned char unknown_037C[0x4C];
/* 03C8 */ int unknown_03C8;
void SetAnimation(unsigned animation, int motion, int repeat) override;
virtual void Slot18(int first, int second, int third);
virtual void Slot21(int value);
virtual void Slot22(int value);
virtual void Slot23(int first, int second);
virtual void Slot25(int value);
virtual void Slot30();
void SetUnknown0305(unsigned char value, int extra);
void SetUnknown0318(const float* value, int index);
void SetUnknown0330(const float* value, int index);
void RaiseUnknown03C8(int value);
void SetUnknown02E4(int value);
void SetUnknown02C8(int value);
@ -43,6 +56,10 @@ static_assert(offsetof(CGameActor, unknown_02E4) == 0x2E4);
static_assert(offsetof(CGameActor, unknown_0305) == 0x305);
static_assert(offsetof(CGameActor, unknown_0308) == 0x308);
static_assert(offsetof(CGameActor, unknown_0314) == 0x314);
static_assert(offsetof(CGameActor, unknown_0318) == 0x318);
static_assert(offsetof(CGameActor, unknown_0330) == 0x330);
static_assert(offsetof(CGameActor, unknown_0348) == 0x348);
static_assert(offsetof(CGameActor, unknown_0360) == 0x360);
static_assert(offsetof(CGameActor, unknown_0378) == 0x378);
static_assert(offsetof(CGameActor, unknown_03C8) == 0x3C8);
#endif

View file

@ -12,7 +12,7 @@
#include "Utility/Math/ScalarConversion.h"
#include <algorithm>
#include <cstring>
#include <windows.h>
#include <timeapi.h>
@ -236,6 +236,7 @@ void CRenderObject::SetAnimationSpeed(float speed) {
}
}
// OFFSET: 0x00CC2810
// FUNCTION: fn_21142
void CGameActor::SetUnknown02C8(int value) {
@ -339,3 +340,37 @@ void CRenderObject::ApplySwing(int mode, int& x, int& y, int& outX, int& outY) c
void CRenderObject::SetInstantValue(int key, std::int64_t value) {
this->render.instant.Set(key, value);
}
// OFFSET: 0x00CC21F0
// FUNCTION: fn_21136
void CGameActor::Slot30() {
}
// OFFSET: 0x00CC27C0
// OFFSET: 0x00CC2D50
// OFFSET: 0x00CC2DC0
// FUNCTION: fn_21147
void CGameActor::Slot25(int) {
}
// OFFSET: 0x00CC2DD0
// FUNCTION: fn_21148
void CGameActor::Slot18(int, int, int) {
}
// OFFSET: 0x00CC2DE0
// FUNCTION: fn_21149
void CGameActor::Slot22(int) {
}
// OFFSET: 0x00CC2DF0
// FUNCTION: fn_21150
void CGameActor::Slot21(int) {
}
// OFFSET: 0x00CC2E40
// FUNCTION: fn_21152
void CGameActor::Slot23(int, int) {
}