Mac CHATDLG_LadderPageUp: BOOL __cdecl OnPress (D2ControlStrc* pControl)
Its only code reference is from 0x003ce0d4, which is gaPredefinedForms[126].fpOnPressCallback (FORMS_PredefinedFormStrc array at 0x003cc914, field +0x20), typed OnPress = BOOL __cdecl (D2ControlStrc* pControl). The body ignores the control arg, moves the ladder scroll offset back one page (clamped at 0), returns MOV EAX,1 and does a plain RET, which fits the OnPress BOOL contract.
Changes 1, applied together
Set prototype
mac 0x002ce85bsignatureundefined CHATDLG_LadderPageUp(void)→BOOL CHATDLG_LadderPageUp(D2ControlStrc* pControl)conventionunknown→__cdecl