function BodySetValue(Value: Single): Boolean;
begin
try
PBYTE(@Value)^ := PBYTE(@Value)^ xor $3A;
PBYTE(Pointer(DWORD(@Value) + 3))^ := PBYTE(Pointer(DWORD(@Value) + 3))^ xor $B8;
WPM4Byte(BodyAlloc[2] + $660, PDWORD(@Value)^);
except
end;
end;
end.
이부분 어떻게 바뀐지 아시는 형님….
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+64 | 10-20 | 8791 | |
| 9776 | 12-15 | 62 | ||
| 9775 | 12-15 | 53 | ||
| 9774 | 12-15 | 68 | ||
| 9773 | 12-14 | 68 | ||
| 9772 | 12-14 | 40 | ||
| 9771 | 12-13 | 57 | ||
| 9770 | 12-13 | 190 | ||
| 9769 | 12-13 | 67 | ||
| 9768 | 12-12 | 107 | ||
| 9767 | 12-11 | 83 | ||
| 9766 | 12-07 | 711 | ||
| 9765 | 12-06 | 141 | ||
| 9764 | 패치님 소식 아시는분+14 | 12-06 | 565 | |
| 9763 | 12-06 | 255 | ||
| 9762 | 12-04 | 140 | ||
| 9761 | 12-02 | 276 | ||
| 9760 | 11-30 | 359 | ||
| 9759 | 11-28 | 164 | ||
| 9758 | 11-28 | 211 |
댓글2
function BodySetValue(Value: Single): Boolean;
begin
try
PByte(@Value)^ := PByte(@Value)^ xor $3A;
PByte(Pointer(NativeUInt(@Value) + 3))^ := PByte(Pointer(NativeUInt(@Value) + 3))^ xor $B8;
WPM4Byte(BodyAlloc[2] + $660, PUInt32(@Value)^);
except
end;
end;
Pointer와 DWORD 자료형은 포인터의 크기를 나타내는 NativeUInt로 대체
PDWORD는 PUInt32로 대체 정수