Seems to be 100% Matching (#661)

This commit is contained in:
Majora12 2024-06-25 17:17:17 -07:00 committed by GitHub
parent ca4ecc5a41
commit c3fac15b9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 3 deletions

View File

@ -1598,7 +1598,7 @@ public:
void setExtraCutAtParam(u8);
void setExtraFinishCutAtParam(u8);
void setJumpCutAtParam();
void getCutDirection();
int getCutDirection();
void changeCutProc();
void changeCutReverseProc(daPy_ANM);
BOOL procCutA_init(s16);

View File

@ -243,8 +243,24 @@ void daPy_lk_c::setJumpCutAtParam() {
}
/* 80155970-801559F0 .text getCutDirection__9daPy_lk_cFv */
void daPy_lk_c::getCutDirection() {
/* Nonmatching */
int daPy_lk_c::getCutDirection(){
int iVar1;
s16 sVar2;
if (m35B0 <= 0.05f) {
iVar1 = 4;
}
else {
if (mpAttnActorLockOn != NULL) {
sVar2 = fopAcM_searchActorAngleY(this, mpAttnActorLockOn);
sVar2 = m34E8 - sVar2;
}
else {
sVar2 = m34E8 - m34DE;
}
iVar1 = getDirectionFromAngle(sVar2);
}
return iVar1 + 1;
}
/* 801559F0-80155C3C .text changeCutProc__9daPy_lk_cFv */