Skip to content

Commit

Permalink
Update patch_usa_852.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Acrisio-Filho authored and jchv committed Dec 24, 2023
1 parent e7706cd commit 8c51084
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/patch_usa_852.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,18 @@ void __thiscall OnUnderBar_RankingUp(void* _this) {
CALLTHISFUNCTION(pDestructorWSendPacket, (void*)WSendPacketObject);
}

void* FormWndObject = *GETTHISPOINTERMEMBER(void*, 0x160u, _this);
void** FormWndObject = GETTHISPOINTERMEMBER(void*, 0x160u, _this);

if (FormWndObject == NULL) {
if (*FormWndObject == NULL) {

FormWndObject = CreateFormFrLoginRsDlg(*GETTHISPOINTERMEMBER(void*, 0x40u, gFresh), (void*)GETTHISPOINTERMEMBER(void*, 0x18, _this), "login_gs", NULL);
*FormWndObject = CreateFormFrLoginRsDlg(*GETTHISPOINTERMEMBER(void*, 0x40u, gFresh), (void*)GETTHISPOINTERMEMBER(void*, 0x18, _this), "login_gs", NULL);

pSetState(1u);

CALLTHISVIRTUALCALL(PFNFRFORMOPENPROC, 0x64u, FormWndObject, OnLoginRsDlgResult, 0xFFFFFFE8u, 0, 0, 0x41);
CALLTHISVIRTUALCALL(PFNFRFORMOPENPROC, 0x64u, *FormWndObject, OnLoginRsDlgResult, 0xFFFFFFE8u, 0, 0, 0x41);
}

CALLTHISFUNCTION(pClearToolTip, _this, NULL);

return;
}
}

0 comments on commit 8c51084

Please sign in to comment.