At the beginning of the KAWAI function:
0062013D |. 33C0 XOR EAX,EAX
0062013F |. A0 6409CC00 MOV AL,BYTE PTR DS:[CC0964] ; current entity
00620144 |. 33C9 XOR ECX,ECX
00620146 |. 66:8B0C45 F80CCC00 MOV CX,WORD PTR DS:[EAX*2+CC0CF8] ; current offset for that entity
0062014E |. 8B15 E8F5CB00 MOV EDX,DWORD PTR DS:[CBF5E8]
00620154 |. 66:0FB6440A 01 MOVZX AX,BYTE PTR DS:[EDX+ECX+1] ; read the 2nd byte (first one is 0x28)
0062015A |. 66:8945 F8 MOV WORD PTR SS:[EBP-8],AX ; here we store it
And, at the end of the function:
00620431 |> 33C0 XOR EAX,EAX
00620433 |. A0 6409CC00 MOV AL,BYTE PTR DS:[CC0964]
00620438 |. 66:8B0C45 F80CCC00 MOV CX,WORD PTR DS:[EAX*2+CC0CF8] ; get the offset for current entity
00620440 |. 66:034D F8 ADD CX,WORD PTR SS:[EBP-8] ; add to it previously extracted byte
00620444 |. 33D2 XOR EDX,EDX
00620446 |. 8A15 6409CC00 MOV DL,BYTE PTR DS:[CC0964]
0062044C |. 66:890C55 F80CCC00 MOV WORD PTR DS:[EDX*2+CC0CF8],CX ; and store it