- UID
- 60310
- 帖子
- 157
- 主題
- 70
- 精華
- 0
- 積分
- 183
- 楓幣
- 2702
- 威望
- 103
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 85
- 閱讀權限
- 20
- 性別
- 保密
- 在線時間
- 1592 小時
- 註冊時間
- 2014-5-13
- 最後登入
- 2023-2-3
|
//g1582寵吸
[enable]
registersymbol(PetGetItem)
alloc(PetGetItem,1024)
alloc(r0c,4)
alloc(r10,4)
label(x001)
label(x009)
label(x016)
label(x017)
PetGetItem:
cmp [esp],006DC64E
jne PtInRect
push eax
mov eax,[01d97328] //紅點
cmp [eax+2c],0
pop eax
jne PtInRect
x001:
push edi
push ebx
mov edi,[ebp+0c] //ebp+0c= item X
mov ebx,[edi]
mov [r0c],ebx
mov ebx,[edi+04]
mov [r10],ebx
mov [edi],eax //ebx=pet x, eax=pet y
mov [edi+04],edx //= item Y
pop ebx
pop edi
add esp,10
cmp dword ptr [esi+40],00
mov eax,7fffffff
jne x009
mov eax,[esi+44]
x009:
mov ecx,[01d92c74]
push eax
call 0142ad00
test eax,eax
jne 006dc681
cmp dword ptr [esi+40],00
jne x016
mov ecx,[esi+44]
push ecx
mov ecx,[01d92b40]
call 00976540
mov edi,eax
jmp x017
x016:
xor edi,edi
x017:
push 00
push 00
push 00
push 00
push 00
lea edx,[ebp-38]
push 10
push edx
call 0062a080
mov ecx,[ebp+0c]
add esp,1c
push eax
mov eax,[esi+30]
push edi
push eax
push ecx
mov ecx,[ebp+08]
call 00b971c0
push edi
push ebx
mov edi,[ebp+0c] //ebp+0c= item X
mov ebx,[r0c]
mov [edi],ebx
mov ebx,[r10]
mov [edi+04],ebx
pop ebx
pop edi
jmp 006dc70c
01da6bec:
dd PetGetItem
[disable]
01da6bec:
dd PtInRect
unregistersymbol(PetGetItem)
dealloc(PetGetItem)
|
-
總評分: GP + 1
查看全部評分
|