when opcodes from [bg3_dx11.exe+20C031C] are nop'ed, game don't use movement/action/spell slot while turn-mode active
Code: Select all
bg3_dx11.exe+20C0280 - 40 56 - push rsi
bg3_dx11.exe+20C0282 - 57 - push rdi
bg3_dx11.exe+20C0283 - 48 83 EC 68 - sub rsp,68
bg3_dx11.exe+20C0287 - 0F29 74 24 50 - movaps [rsp+50],xmm6
bg3_dx11.exe+20C028C - 0F29 7C 24 40 - movaps [rsp+40],xmm7
bg3_dx11.exe+20C0291 - 48 8B 05 F044A103 - mov rax,[bg3_dx11.tinyxml2::XMLDocument::_errorNames+2CD8]
bg3_dx11.exe+20C0298 - 48 33 C4 - xor rax,rsp
bg3_dx11.exe+20C029B - 48 89 44 24 38 - mov [rsp+38],rax
bg3_dx11.exe+20C02A0 - 80 BC 24 A0000000 00 - cmp byte ptr [rsp+000000A0],00
bg3_dx11.exe+20C02A8 - 49 8B F9 - mov rdi,r9
bg3_dx11.exe+20C02AB - 0F28 F2 - movaps xmm6,xmm2
bg3_dx11.exe+20C02AE - 48 8B F2 - mov rsi,rdx
bg3_dx11.exe+20C02B1 - 0F57 FF - xorps xmm7,xmm7
bg3_dx11.exe+20C02B4 - 74 43 - je bg3_dx11.exe+20C02F9
bg3_dx11.exe+20C02B6 - F2 0F10 05 DA74CC02 - movsd xmm0,[bg3_dx11.exe+4D87798]
bg3_dx11.exe+20C02BE - 66 0F2F C2 - comisd xmm0,xmm2
bg3_dx11.exe+20C02C2 - 76 05 - jna bg3_dx11.exe+20C02C9
bg3_dx11.exe+20C02C4 - 0F57 F6 - xorps xmm6,xmm6
bg3_dx11.exe+20C02C7 - EB 30 - jmp bg3_dx11.exe+20C02F9
bg3_dx11.exe+20C02C9 - F2 0F10 42 20 - movsd xmm0,[rdx+20]
bg3_dx11.exe+20C02CE - 48 8D 44 24 20 - lea rax,[rsp+20]
bg3_dx11.exe+20C02D3 - 66 0F2F FA - comisd xmm7,xmm2
bg3_dx11.exe+20C02D7 - 48 8D 54 24 28 - lea rdx,[rsp+28]
bg3_dx11.exe+20C02DC - F2 0F11 7C 24 20 - movsd [rsp+20],xmm7
bg3_dx11.exe+20C02E2 - F2 0F11 54 24 28 - movsd [rsp+28],xmm2
bg3_dx11.exe+20C02E8 - 48 0F46 C2 - cmovbe rax,rdx
bg3_dx11.exe+20C02EC - F2 0F10 30 - movsd xmm6,[rax]
bg3_dx11.exe+20C02F0 - 66 0F2F F0 - comisd xmm6,xmm0
bg3_dx11.exe+20C02F4 - 76 03 - jna bg3_dx11.exe+20C02F9
bg3_dx11.exe+20C02F6 - 0F28 F0 - movaps xmm6,xmm0
bg3_dx11.exe+20C02F9 - 66 0F2E 76 18 - ucomisd xmm6,[rsi+18]
bg3_dx11.exe+20C02FE - 7A 09 - jp bg3_dx11.exe+20C0309
bg3_dx11.exe+20C0300 - 75 07 - jne bg3_dx11.exe+20C0309
bg3_dx11.exe+20C0302 - 32 C0 - xor al,al
bg3_dx11.exe+20C0304 - E9 99010000 - jmp bg3_dx11.exe+20C04A2
bg3_dx11.exe+20C0309 - 48 89 9C 24 90000000 - mov [rsp+00000090],rbx
bg3_dx11.exe+20C0311 - 33 DB - xor ebx,ebx
bg3_dx11.exe+20C0313 - 48 89 6C 24 60 - mov [rsp+60],rbp
bg3_dx11.exe+20C0318 - 48 8B 69 10 - mov rbp,[rcx+10]
bg3_dx11.exe+20C031C - F2 0F11 76 18 - movsd [rsi+18],xmm6
bg3_dx11.exe+20C0321 - 39 5D 78 - cmp [rbp+78],ebx
bg3_dx11.exe+20C0324 - 74 3E - je bg3_dx11.exe+20C0364
bg3_dx11.exe+20C0326 - 48 8B CE - mov rcx,rsi
bg3_dx11.exe+20C0329 - E8 9259C701 - call bg3_dx11.exe+3D35CC0
bg3_dx11.exe+20C032E - 48 63 4D 78 - movsxd rcx,dword ptr [rbp+78]
bg3_dx11.exe+20C0332 - 33 D2 - xor edx,edx
bg3_dx11.exe+20C0334 - 48 F7 F1 - div rcx
bg3_dx11.exe+20C0337 - 4C 8B C6 - mov r8,rsi
bg3_dx11.exe+20C033A - 48 8D 4D 68 - lea rcx,[rbp+68]
bg3_dx11.exe+20C033E - E8 3D2410FF - call bg3_dx11.exe+11C2780
bg3_dx11.exe+20C0343 - 83 F8 FF - cmp eax,-01
bg3_dx11.exe+20C0346 - 74 1C - je bg3_dx11.exe+20C0364
bg3_dx11.exe+20C0348 - 48 98 - cdqe
bg3_dx11.exe+20C034A - 0F57 C0 - xorps xmm0,xmm0
bg3_dx11.exe+20C034D - 4C 6B D0 38 - imul r10,rax,38
bg3_dx11.exe+20C0351 - 0F11 44 24 28 - movups [rsp+28],xmm0
bg3_dx11.exe+20C0356 - 4C 03 95 B0000000 - add r10,[rbp+000000B0]
bg3_dx11.exe+20C035D - 4C 89 54 24 28 - mov [rsp+28],r10
bg3_dx11.exe+20C0362 - EB 17 - jmp bg3_dx11.exe+20C037B
bg3_dx11.exe+20C0364 - 0F57 C0 - xorps xmm0,xmm0
bg3_dx11.exe+20C0367 - 33 C0 - xor eax,eax
bg3_dx11.exe+20C0369 - 0F11 44 24 28 - movups [rsp+28],xmm0
bg3_dx11.exe+20C036E - C6 44 24 30 01 - mov byte ptr [rsp+30],01
bg3_dx11.exe+20C0373 - 4C 8B D3 - mov r10,rbx
bg3_dx11.exe+20C0376 - 66 89 44 24 28 - mov [rsp+28],ax
bg3_dx11.exe+20C037B - 41 80 7A 2C 08 - cmp byte ptr [r10+2C],08
bg3_dx11.exe+20C0380 - 48 8B 6C 24 60 - mov rbp,[rsp+60]
bg3_dx11.exe+20C0385 - 0F84 0D010000 - je bg3_dx11.exe+20C0498
bg3_dx11.exe+20C038B - 4C 8D 46 28 - lea r8,[rsi+28]
bg3_dx11.exe+20C038F - 38 5F 70 - cmp [rdi+70],bl
bg3_dx11.exe+20C0392 - 74 3D - je bg3_dx11.exe+20C03D1
bg3_dx11.exe+20C0394 - 0F10 07 - movups xmm0,[rdi]
bg3_dx11.exe+20C0397 - 41 0F11 00 - movups [r8],xmm0
bg3_dx11.exe+20C039B - 0F10 4F 10 - movups xmm1,[rdi+10]
bg3_dx11.exe+20C039F - 41 0F11 48 10 - movups [r8+10],xmm1
bg3_dx11.exe+20C03A4 - 0F10 47 20 - movups xmm0,[rdi+20]
bg3_dx11.exe+20C03A8 - 41 0F11 40 20 - movups [r8+20],xmm0
bg3_dx11.exe+20C03AD - 0F10 4F 30 - movups xmm1,[rdi+30]
bg3_dx11.exe+20C03B1 - 41 0F11 48 30 - movups [r8+30],xmm1
bg3_dx11.exe+20C03B6 - 0F10 47 40 - movups xmm0,[rdi+40]
bg3_dx11.exe+20C03BA - 41 0F11 40 40 - movups [r8+40],xmm0
bg3_dx11.exe+20C03BF - 0F10 4F 50 - movups xmm1,[rdi+50]
bg3_dx11.exe+20C03C3 - 41 0F11 48 50 - movups [r8+50],xmm1
bg3_dx11.exe+20C03C8 - 0F10 47 60 - movups xmm0,[rdi+60]
bg3_dx11.exe+20C03CC - 41 0F11 40 60 - movups [r8+60],xmm0
bg3_dx11.exe+20C03D1 - 8B D3 - mov edx,ebx
bg3_dx11.exe+20C03D3 - 48 8B C3 - mov rax,rbx
bg3_dx11.exe+20C03D6 - 49 8B C8 - mov rcx,r8
bg3_dx11.exe+20C03D9 - 0F1F 80 00000000 - nop dword ptr [rax+00000000]
bg3_dx11.exe+20C03E0 - F2 0F5C 31 - subsd xmm6,[rcx]
bg3_dx11.exe+20C03E4 - 44 8B CA - mov r9d,edx
bg3_dx11.exe+20C03E7 - FF C2 - inc edx
bg3_dx11.exe+20C03E9 - 66 0F2F FE - comisd xmm7,xmm6
bg3_dx11.exe+20C03ED - 77 0F - ja bg3_dx11.exe+20C03FE
bg3_dx11.exe+20C03EF - 48 FF C0 - inc rax
bg3_dx11.exe+20C03F2 - 48 83 C1 10 - add rcx,10
bg3_dx11.exe+20C03F6 - 48 83 F8 07 - cmp rax,07
bg3_dx11.exe+20C03FA - 7C E4 - jl bg3_dx11.exe+20C03E0
bg3_dx11.exe+20C03FC - EB 15 - jmp bg3_dx11.exe+20C0413
bg3_dx11.exe+20C03FE - 49 8B C1 - mov rax,r9
bg3_dx11.exe+20C0401 - 0F28 C6 - movaps xmm0,xmm6
bg3_dx11.exe+20C0404 - 48 03 C0 - add rax,rax
bg3_dx11.exe+20C0407 - F2 41 0F58 04 C0 - addsd xmm0,[r8+rax*8]
bg3_dx11.exe+20C040D - F2 41 0F11 04 C0 - movsd [r8+rax*8],xmm0
bg3_dx11.exe+20C0413 - 4C 63 CA - movsxd r9,edx
bg3_dx11.exe+20C0416 - 49 83 F9 07 - cmp r9,07
bg3_dx11.exe+20C041A - 7D 21 - jnl bg3_dx11.exe+20C043D
bg3_dx11.exe+20C041C - 49 8B C1 - mov rax,r9
bg3_dx11.exe+20C041F - B9 07000000 - mov ecx,00000007
bg3_dx11.exe+20C0424 - 48 C1 E0 04 - shl rax,04
bg3_dx11.exe+20C0428 - 49 03 C0 - add rax,r8
bg3_dx11.exe+20C042B - 49 2B C9 - sub rcx,r9
bg3_dx11.exe+20C042E - 66 90 - nop 2
bg3_dx11.exe+20C0430 - 48 89 18 - mov [rax],rbx
bg3_dx11.exe+20C0433 - 48 8D 40 10 - lea rax,[rax+10]
bg3_dx11.exe+20C0437 - 48 83 E9 01 - sub rcx,01
bg3_dx11.exe+20C043B - 75 F3 - jne bg3_dx11.exe+20C0430
bg3_dx11.exe+20C043D - 66 0F2F F7 - comisd xmm6,xmm7
bg3_dx11.exe+20C0441 - 76 55 - jna bg3_dx11.exe+20C0498
bg3_dx11.exe+20C0443 - 41 0FB6 52 2C - movzx edx,byte ptr [r10+2C]
bg3_dx11.exe+20C0448 - 49 8B C8 - mov rcx,r8
bg3_dx11.exe+20C044B - 0F1F 44 00 00 - nop dword ptr [rax+rax+00]
bg3_dx11.exe+20C0450 - F2 0F10 09 - movsd xmm1,[rcx]
bg3_dx11.exe+20C0454 - F2 0F10 41 08 - movsd xmm0,[rcx+08]
bg3_dx11.exe+20C0459 - F2 0F5C C1 - subsd xmm0,xmm1
bg3_dx11.exe+20C045D - F2 0F5D C6 - minsd xmm0,xmm6
bg3_dx11.exe+20C0461 - 66 0F2F C7 - comisd xmm0,xmm7
bg3_dx11.exe+20C0465 - 76 12 - jna bg3_dx11.exe+20C0479
bg3_dx11.exe+20C0467 - F2 0F5C F0 - subsd xmm6,xmm0
bg3_dx11.exe+20C046B - F2 0F58 C8 - addsd xmm1,xmm0
bg3_dx11.exe+20C046F - 66 0F2F FE - comisd xmm7,xmm6
bg3_dx11.exe+20C0473 - F2 0F11 09 - movsd [rcx],xmm1
bg3_dx11.exe+20C0477 - 73 0D - jae bg3_dx11.exe+20C0486
bg3_dx11.exe+20C0479 - 48 FF C3 - inc rbx
bg3_dx11.exe+20C047C - 48 83 C1 10 - add rcx,10
bg3_dx11.exe+20C0480 - 48 83 FB 07 - cmp rbx,07
bg3_dx11.exe+20C0484 - 7C CA - jl bg3_dx11.exe+20C0450
bg3_dx11.exe+20C0486 - 48 8B CA - mov rcx,rdx
bg3_dx11.exe+20C0489 - 48 03 C9 - add rcx,rcx
bg3_dx11.exe+20C048C - F2 41 0F58 34 C8 - addsd xmm6,[r8+rcx*8]
bg3_dx11.exe+20C0492 - F2 41 0F11 34 C8 - movsd [r8+rcx*8],xmm6
bg3_dx11.exe+20C0498 - 48 8B 9C 24 90000000 - mov rbx,[rsp+00000090]
bg3_dx11.exe+20C04A0 - B0 01 - mov al,01
bg3_dx11.exe+20C04A2 - 48 8B 4C 24 38 - mov rcx,[rsp+38]
bg3_dx11.exe+20C04A7 - 48 33 CC - xor rcx,rsp
bg3_dx11.exe+20C04AA - E8 D1A96702 - call bg3_dx11.exe+473AE80
bg3_dx11.exe+20C04AF - 0F28 74 24 50 - movaps xmm6,[rsp+50]
bg3_dx11.exe+20C04B4 - 0F28 7C 24 40 - movaps xmm7,[rsp+40]
bg3_dx11.exe+20C04B9 - 48 83 C4 68 - add rsp,68
bg3_dx11.exe+20C04BD - 5F - pop rdi
bg3_dx11.exe+20C04BE - 5E - pop rsi
bg3_dx11.exe+20C04BF - C3 - ret