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

Batch #6361 by eAthena: 2 byte-identical, 0 confirmed by peer review.

- fn_21032 CRenderObject::GetActName: byte-identical
- fn_18178 CRes::GetName: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-31 00:43:55 +00:00
commit b294205b87
4 changed files with 18 additions and 0 deletions

View file

@ -2123,6 +2123,16 @@ void CGameActor::ClearUnknown037C(int value) {
}
}
// OFFSET: 0x00CAB990
// FUNCTION: fn_21032
const char* CRenderObject::GetActName() {
if (!this->render.action) {
return nullptr;
}
return this->render.action->GetName();
}
// OFFSET: 0x00CAB9B0
// FUNCTION: fn_21033
CActRes* CRenderObject::GetActRes() {

View file

@ -80,6 +80,7 @@ public:
void ApplySwing(int mode, int& x, int& y, int& outX, int& outY) const;
void SetInstantValue(int key, std::int64_t value);
std::int64_t GetInstant(int key) const;
const char* GetActName();
CActRes* GetActRes();
void SetFrameSequence(
unsigned char animation, unsigned char firstFrame, unsigned char lastFrame, unsigned char finishAnimation,

View file

@ -68,3 +68,9 @@ void CRes::Unlock() {
this->lastUse = timeGetTime();
--this->references;
}
// OFFSET: 0x00AEF390
// FUNCTION: fn_18178
const char* CRes::GetName() {
return this->name.text;
}

View file

@ -29,6 +29,7 @@ public:
virtual void MissingFile(CRenderSystemBase* system, const char* name);
std::uint32_t Lock();
void Unlock();
const char* GetName();
/* 0004 */ std::uint32_t references;
/* 0008 */ std::uint32_t lastUse;