I am developing a game mod for solo single player game. 
I found a method named CanPlayerAccess of Class Door Controller. It checks the enum EDoorAccess and returns if the door can be opened by the player. The pointer [rbx+0000011C] contains the variable EDoorAccess. These are state of EDooorAccess
1  - Locked
2 - ExitOnly
0 - Open
3 - EnterOnly
I previously manually set the state EDoorAccess to 3 and I could enter every previously locked door. I don't know why it worked. I want you to modify the method so that the player can open every door.

```
ScheduleOne.Doors.DoorController.CanPlayerAccess - 48 89 5C 24 08        - mov [rsp+08],rbx
GameAssembly.dll+7629A5                          - 57                    - push rdi
GameAssembly.dll+7629A6                          - 48 83 EC 20           - sub rsp,20 { 32 }
GameAssembly.dll+7629AA                          - 8B FA                 - mov edi,edx
GameAssembly.dll+7629AC                          - 48 8B D9              - mov rbx,rcx
GameAssembly.dll+7629AF                          - 48 8B 91 80010000     - mov rdx,[rcx+00000180]
GameAssembly.dll+7629B6                          - 49 8B C8              - mov rcx,r8
GameAssembly.dll+7629B9                          - 49 89 10              - mov [r8],rdx
GameAssembly.dll+7629BC                          - E8 9F15C1FF           - call GameAssembly.il2cpp_value_box+20
GameAssembly.dll+7629C1                          - 85 FF                 - test edi,edi
GameAssembly.dll+7629C3                          - 75 2A                 - jne GameAssembly.dll+7629EF
GameAssembly.dll+7629C5                          - 39 BB 1C010000        - cmp [rbx+0000011C],edi
GameAssembly.dll+7629CB                          - 75 0D                 - jne GameAssembly.dll+7629DA
GameAssembly.dll+7629CD                          - B0 01                 - mov al,01 { 1 }
GameAssembly.dll+7629CF                          - 48 8B 5C 24 30        - mov rbx,[rsp+30]
GameAssembly.dll+7629D4                          - 48 83 C4 20           - add rsp,20 { 32 }
GameAssembly.dll+7629D8                          - 5F                    - pop rdi
GameAssembly.dll+7629D9                          - C3                    - ret 
GameAssembly.dll+7629DA                          - 83 BB 1C010000 02     - cmp dword ptr [rbx+0000011C],02 { 2 }
GameAssembly.dll+7629E1                          - 0F94 C0               - sete al
GameAssembly.dll+7629E4                          - 48 8B 5C 24 30        - mov rbx,[rsp+30]
GameAssembly.dll+7629E9                          - 48 83 C4 20           - add rsp,20 { 32 }
GameAssembly.dll+7629ED                          - 5F                    - pop rdi
GameAssembly.dll+7629EE                          - C3                    - ret 
GameAssembly.dll+7629EF                          - 83 FF 01              - cmp edi,01 { 1 }
GameAssembly.dll+7629F2                          - 75 1E                 - jne GameAssembly.dll+762A12
GameAssembly.dll+7629F4                          - 83 BB 1C010000 00     - cmp dword ptr [rbx+0000011C],00 { 0 }
GameAssembly.dll+7629FB                          - 74 D0                 - je GameAssembly.dll+7629CD
GameAssembly.dll+7629FD                          - 83 BB 1C010000 03     - cmp dword ptr [rbx+0000011C],03 { 3 }
GameAssembly.dll+762A04                          - 0F94 C0               - sete al
GameAssembly.dll+762A07                          - 48 8B 5C 24 30        - mov rbx,[rsp+30]
GameAssembly.dll+762A0C                          - 48 83 C4 20           - add rsp,20 { 32 }
GameAssembly.dll+762A10                          - 5F                    - pop rdi
GameAssembly.dll+762A11                          - C3                    - ret 
GameAssembly.dll+762A12                          - 48 8B 5C 24 30        - mov rbx,[rsp+30]
GameAssembly.dll+762A17                          - 32 C0                 - xor al,al
GameAssembly.dll+762A19                          - 48 83 C4 20           - add rsp,20 { 32 }
GameAssembly.dll+762A1D                          - 5F                    - pop rdi
GameAssembly.dll+762A1E                          - C3                    - ret 
GameAssembly.dll+762A1F                          - CC                    - int 3 

```
Could I just use ret to always return the correct value?