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.
이부분 어떻게 바뀐지 아시는 형님….
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 2199 | 07-02 | 1742 | ||
| 2198 | 07-02 | 770 | ||
| 2197 | 64비트 몸+2 | 07-01 | 657 | |
| 2196 | 길로틴차단+6 | 07-01 | 1246 | |
| 2195 | 바@+1 | 07-01 | 569 | |
| 2194 | 에@ 무@+4 | 07-01 | 954 | |
| 2193 | 07-01 | 2653 | ||
| 2192 | 07-01 | 1386 | ||
| 2191 | 07-01 | 720 | ||
| 2190 | 07-01 | 1001 | ||
| 2189 | 07-01 | 476 | ||
| 2188 | 07-01 | 857 | ||
| 2187 | 찐빼이+1 | 07-01 | 755 | |
| 2186 | 07-01 | 731 | ||
| 2185 | 07-01 | 535 | ||
| 2184 | 07-01 | 428 | ||
| 2183 | hello+3 | 07-01 | 728 | |
| 2182 | 64비트 전환+3 | 07-01 | 624 | |
| 2181 | 06-30 | 977 | ||
| 2180 | 06-30 | 736 |
댓글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로 대체 정수