Decompile 10 functions in Source/Contents/Items/RuneSystem.cpp, Source/UI/RuneSystem/UIRuneSystemWnd.cpp, ...

Batch #13115 by KWDev: 10 byte-identical, 0 confirmed by peer review.

- fn_08116 RuneSetData::FindLastReward: byte-identical
- fn_08125 CRuneSystemMgr::GetDecomItem: byte-identical
- fn_08126 CRuneSystemMgr::GetOwnedDecomItem: byte-identical
- fn_10198 UIRuneSetList::Slot25: byte-identical
- fn_10201 UIRuneSystem_tagListWnd::Slot25: byte-identical
- fn_16003 GameSettingsUI::CUIGroupEmblem::OnSelect: byte-identical
- fn_16005 GameSettingsUI::CUIGroupLogInOut::OnSelect: byte-identical
- fn_22066 CGameMode::ReceiveLapineUpgradeResult: byte-identical
- fn_22117 CGameMode::ReceiveUnknown7FBC: byte-identical
- fn_02114 CRendererDX7::SetLighting: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 05:23:24 +00:00
commit 3fb8648cbf
5 changed files with 12 additions and 12 deletions

View file

@ -164,9 +164,9 @@ void CRuneSystemMgr::Destroy() {
// OFFSET: 0x00766A30
// FUNCTION: fn_08116
int RuneSetData::FindLastReward(int count) const {
if (count < 8) {
if (count <= 7) {
for (int step = count - 1; step > 0; --step) {
if (this->m_reward.values[step] != 0) {
if (0 != this->m_reward.values[step]) {
return step;
}
}
@ -256,7 +256,7 @@ const char* RuneData::GetName() const {
// OFFSET: 0x00766CB0
// FUNCTION: fn_08125
int CRuneSystemMgr::GetDecomItem(unsigned int index) const {
if (index >= this->m_decomItems.size()) {
if (this->m_decomItems.size() <= index) {
return 0;
}
@ -266,7 +266,7 @@ int CRuneSystemMgr::GetDecomItem(unsigned int index) const {
// OFFSET: 0x00766CE0
// FUNCTION: fn_08126
int CRuneSystemMgr::GetOwnedDecomItem(unsigned int index) const {
if (index >= this->m_ownedDecomItems.size()) {
if (this->m_ownedDecomItems.size() <= index) {
return 0;
}