war3 1.24单机游戏 守卫剑阁分析
6F342D20 56 push esi
6F342D21 8BF1 mov esi,ecx ecx=19A100B8
6F342D23 8B86 90010000 mov eax,dword ptr ds:[esi+0x190] ; 获取第一个物品栏物品内容,esi=19A000B8,eax=19A100B8,这里的esi很有可能就是玩家对象
6F342D29 85C0 test eax,eax
6F342D2B 74 3D je XGame.6F342D6A
6F342D2D 57 push edi
6F342D2E 8B7C24 0C mov edi,dword ptr ss:[esp+0xC] ;物品数量给edi
6F342D32 89B8 C0050000 mov dword ptr ds:[eax+0x5C0],edi ; 物品数量写入背包
6F342D38 83BE 94010000 0>cmp dword ptr ds:[esi+0x194],0x0 ; 可能是物品对象,esi=19A000B8
6F36A65C 8B74C2 04 mov esi,dword ptr ds:[edx+eax*8+0x4] ; esi来源,eax可能是背包索引
6F36A653 8B91 30010000 mov edx,dword ptr ds:[ecx+0x130] edx来源,ecx=199E00B0
6F35F869 8B8D 48010000 mov ecx,dword ptr ss:[ebp+0x148] ecx=199E00B0,ebp=194D0088
6F2F90CE 8B8E C4030000 mov ecx,dword ptr ds:[esi+0x3C4] esi=18660088,ecx&