Skip to content

Commit

Permalink
Update version to 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasaav-dsv committed Apr 3, 2023
1 parent 699334a commit aa5f2e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
Binary file modified resource/erfps.aps
Binary file not shown.
Binary file modified resource/erfps.rc
Binary file not shown.
2 changes: 1 addition & 1 deletion src/asm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ extern void InjectAsm()
a.test(x86::byte_ptr(x86::rcx, 0x24), -1);
a.jne(RdC_retjmp);
a.mov(x86::rcx, x86::ptr(x86::rax, 0x178));
a.mov(x86::edx, 0x7A5BC); // 501180
a.mov(x86::edx, 0x81651); // 530001
a.call(CheckSpEffect);
a.shl(x86::al, 1);
a.movzx(x86::edx, x86::al);
Expand Down
15 changes: 4 additions & 11 deletions src/camera/InitializeCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,21 @@ extern void InitializeCamera(uint8_t* PlayerIns)

if (pIniSet->pIniBool->isDMMMKicks)
{
GetSpEffectParamEntry(paramDataBuf0, 501180);
*reinterpret_cast<int*>(paramDataBuf0[0]) = -1;
GetSpEffectParamEntry(paramDataBuf0, 530001);
*reinterpret_cast<float*>(paramDataBuf0[0] + 0x8) = 2.0f;
*reinterpret_cast<short*>(paramDataBuf0[0] + 0x13E) = 0;
*(paramDataBuf0[0] + 0x16C) |= 33;
*reinterpret_cast<int*>(paramDataBuf0[0] + 0x170) = -1;
*reinterpret_cast<int*>(paramDataBuf0[0] + 0x18C) = -1;
*reinterpret_cast<float*>(paramDataBuf0[0] + 0x270) = 1.0f;
*reinterpret_cast<float*>(paramDataBuf0[0] + 0x284) = 1.0f;

GetSpEffectParamEntry(paramDataBuf0, 501220);
*reinterpret_cast<int*>(paramDataBuf0[0]) = -1;
GetSpEffectParamEntry(paramDataBuf0, 530002);
*reinterpret_cast<float*>(paramDataBuf0[0] + 0x8) = 0.125f;
*reinterpret_cast<int*>(paramDataBuf0[0] + 0x124) = 501180;
*reinterpret_cast<short*>(paramDataBuf0[0] + 0x13E) = 0;
*reinterpret_cast<int*>(paramDataBuf0[0] + 0x124) = 530001;
*(paramDataBuf0[0] + 0x16C) |= 33;
*reinterpret_cast<int*>(paramDataBuf0[0] + 0x170) = -1;
*reinterpret_cast<int*>(paramDataBuf0[0] + 0x18C) = -1;
*reinterpret_cast<int*>(paramDataBuf0[0] + 0x208) = 0;

GetAttackParamEntry(paramDataBuf1, 1, 301100800);
*reinterpret_cast<uint32_t*>(paramDataBuf1[2] + 0x18) = 501220;
*reinterpret_cast<uint32_t*>(paramDataBuf1[2] + 0x18) = 530002;
*(paramDataBuf1[2] + 0x72) = 10;
}

Expand Down

0 comments on commit aa5f2e6

Please sign in to comment.