rodecomp/Source/UI/Items/UIMakeTargetProcessWnd.cpp
ragnarok-clanker 1222fcd194 Decompile 3 functions in Source/UI/Items/UIMakeTargetProcessWnd.cpp, Source/UI/Items/UIMakeTargetProcessWnd.h, ...
Batch #4071 by eAthena: 0 byte-identical, 3 confirmed by peer review.

- fn_13603 UIMakeTargetProcessWnd::GetItemAt: logic confirmed by peer review
- fn_13604 UIItemRepairWnd::Slot15: logic confirmed by peer review
- fn_13578 UIMerchantItemLogWnd::Slot19: logic confirmed by peer review

Peer-reviewed-by: youko, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Items/UIMakeTargetProcessWnd.cpp, Source/UI/Item/UIMerchantItemLogWnd.cpp
2026-10-30 00:46:15 +00:00

30 lines
603 B
C++

#include "UI/Items/UIMakeTargetProcessWnd.h"
// OFFSET: 0x009A09E0
// FUNCTION: fn_13603
ITEM_INFO UIMakeTargetProcessWnd::GetItemAt(int x, int y) {
switch (this->makeType) {
case 994:
case 995:
case 996:
case 997:
case 998:
case 999:
case 1000:
return ITEM_INFO(0);
}
if (y > this->geometry.height - 56 && y < this->geometry.height - 32) {
if (x >= 4 && x <= 34) {
return this->materials[0];
}
if (x >= 36 && x <= 66) {
return this->materials[1];
}
if (x >= 68 && x <= 98) {
return this->materials[2];
}
}
return ITEM_INFO(0);
}