Decompile 2 functions in Source/UI/UILapineBoxWnd.cpp

Batch #12731 by cremane: 2 byte-identical, 0 confirmed by peer review.

- fn_04165 UIIngredientInfoWnd::Slot28: byte-identical
- fn_04168 UIIngredientInfoWnd::Slot32: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 00:19:35 +00:00
commit 42e9ca461b

View file

@ -89,7 +89,7 @@ void UIIngredientInfoWnd::Slot31(int, int) {
void UIIngredientInfoWnd::Slot28(int x, int y) {
this->Slot27(x, y);
if (this->tooltip.size() != 0) {
if (this->tooltip.size() > 0) {
int tipX = 0;
int tipY = -20;
this->ToScreen(tipX, tipY);
@ -187,7 +187,7 @@ void UILapineBoxWnd::Slot19() {
// OFFSET: 0x00600C00
// FUNCTION: fn_04168
void UIIngredientInfoWnd::Slot32(int, int) {
if (this->item.unknown_0000[1] != 0) {
if (this->item.unknown_0000[1] > 0) {
UIWindow* window = g_windowMgr.EnsureWindow(12);
window->SendMsg(this, 0x18, reinterpret_cast<std::intptr_t>(&this->item), 0, 0, 0);
}