A-Dream 发表于 2015-5-3 19:28:15

幻想神域喊话CALL 写法


0082F46E    6A FF         push -0x1
0082F470    6A FF         push -0x1
0082F472    51            push ecx
0082F473    52            push edx
0082F474    8D45 C8         lea eax,dword ptr ss:
0082F477    50            push eax                              //这里是喊话内容以及内容长度.....信息
0082F478    8D8D 58FFFFFF   lea ecx,dword ptr ss:
0082F47E    51            push ecx                              // 这个地址 +20的位置是人物数据指针(其它暂时还没发现有哪些小东西)
0082F47F    33F6            xor esi,esi
0082F481    56            push esi
0082F482    C645 FC 0F      mov byte ptr ss:,0xF
0082F486    E8 D548EAFF   call game.006D3D60

调用一直不成功 应该还有些小细节没考虑到

T1mess 发表于 2015-5-3 19:30:05

txtbuff := $f;
          txtbuff := 0;
          txtbuff := 0;
          txtbuff := 0;
          txtbuff := 0;

          xxx :=Length(txte) div $10;
          xxx := xxx * $10 + $f;

          if Length(txte) <= 15 then
          begin
            CopyMemory(@txtbuff,Pointer(txte),Length(txte));
          end
          else
          begin
               CopyMemory(@txtbuff,@txte,Length(txte));

          end;

             txtbuff := Length(txte);
             txtbuff := xxx;
             txtbuff := xxx;

         CopyMemory(@namebuff,Pointer(UesName),Length(UesName));

          namebuff := $1f;
          namebuff := $F;
          namebuff := Length(UesName);
          namebuff := $F;


   try



         asm

            pushad

            leaebx, txtbuff
            leaedx, namebuff

            push -1
            push -1
            push 0
            push 0

            push ebx
            push edx
            push 1
            moveax, dwSendYjcall      
            call eax    //
            add esp, $1c
            popad

         end;
页: [1]
查看完整版本: 幻想神域喊话CALL 写法