rodecomp/Source/UI/UICaptchaPreviewWnd.h
ragnarok-clanker ace9830686 Decompile 2 functions in Source/UI/UIMacroDetectorWnd.cpp, Source/UI/UIMacroDetectorWnd.h, ...
Batch #5375 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_09820 UICaptchaPreviewWnd::SendMsg: logic confirmed by peer review
- fn_09821 UIMacroDetectorWnd::SendMsg: logic confirmed by peer review

Peer-reviewed-by: bigodeira, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 11:49:16 +00:00

24 lines
669 B
C++

#ifndef RAGNAROK_SOURCE_UI_UICAPTCHAPREVIEWWND_H
#define RAGNAROK_SOURCE_UI_UICAPTCHAPREVIEWWND_H
#include "UI/Window/UIFrameWnd.h"
class UICaptchaImage;
class UICaptchaPreviewWnd : public UIFrameWnd {
public:
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
void AddImageData(const void* data, int size);
void ClearImageData();
void InitImageData(unsigned short size);
/* 00B4 */ UICaptchaImage* m_image;
/* 00B8 */ char m_captchaKey[4];
/* 00BC */ unsigned char* m_imageData;
/* 00C0 */ int m_imageSize;
/* 00C4 */ int m_imageReceived;
};
#endif