|
11精币
下面奉上代码,代码截图也是,希望有大佬帮写个例子,用大漠写最好,毕竟大漠不挑语言
00FB7CE1 | 8B35 08F04B01 | mov esi,dword ptr ds:[0x14BF008] | 二叉树遍历周围基质[0x013EF008]
00FB7CE7 | 8B01 | mov eax,dword ptr ds:[ecx] |
00FB7CE9 | 8B3E | mov edi,dword ptr ds:[esi] |
00FB7CEB | FF50 14 | call dword ptr ds:[eax+0x14] |
00FB7CEE | 50 | push eax |
00FB7CEF | 8BCE | mov ecx,esi |
00FB7CF1 | FF57 44 | call dword ptr ds:[edi+0x44] | [[eax+0x148]+0x10]+2C 周围遍历 eax call的返回值,call里面是个二叉树
00FB7CF4 | 8BF0 | mov esi,eax |
//---下面十call的内容
00FB70A0 <game.sub_FB70A0> | 55 | push ebp |
00FB70A1 | 8BEC | mov ebp,esp |
00FB70A3 | 8B55 08 | mov edx,dword ptr ss:[ebp+0x8] |
00FB70A6 | 56 | push esi |
00FB70A7 | 8B71 4C | mov esi,dword ptr ds:[ecx+0x4C] |
00FB70AA | 8BCE | mov ecx,esi |
00FB70AC | 8B46 04 | mov eax,dword ptr ds:[esi+0x4] |
00FB70AF | 8078 0D 00 | cmp byte ptr ds:[eax+0xD],0x0 |
00FB70B3 | 75 14 | jne game.FB70C9 |
00FB70B5 | 3950 10 | cmp dword ptr ds:[eax+0x10],edx |
00FB70B8 | 7D 05 | jge game.FB70BF |
00FB70BA | 8B40 08 | mov eax,dword ptr ds:[eax+0x8] |
00FB70BD | EB 04 | jmp game.FB70C3 |
00FB70BF | 8BC8 | mov ecx,eax |
00FB70C1 | 8B00 | mov eax,dword ptr ds:[eax] |
00FB70C3 | 8078 0D 00 | cmp byte ptr ds:[eax+0xD],0x0 |
00FB70C7 | 74 EC | je game.FB70B5 |
00FB70C9 | 3BCE | cmp ecx,esi |
00FB70CB | 74 08 | je game.FB70D5 |
00FB70CD | 894D 08 | mov dword ptr ss:[ebp+0x8],ecx |
00FB70D0 | 3B51 10 | cmp edx,dword ptr ds:[ecx+0x10] |
00FB70D3 | 7D 03 | jge game.FB70D8 |
00FB70D5 | 8975 08 | mov dword ptr ss:[ebp+0x8],esi |
00FB70D8 | 8D45 08 | lea eax,dword ptr ss:[ebp+0x8] |
00FB70DB | 8B00 | mov eax,dword ptr ds:[eax] |
00FB70DD | 3BC6 | cmp eax,esi |
00FB70DF | 5E | pop esi |
00FB70E0 | 75 06 | jne game.FB70E8 |
00FB70E2 | 33C0 | xor eax,eax |
00FB70E4 | 5D | pop ebp |
00FB70E5 | C2 0400 | ret 0x4 |
00FB70E8 | 8B40 14 | mov eax,dword ptr ds:[eax+0x14] |
00FB70EB | 5D | pop ebp |
00FB70EC | C2 0400 | ret 0x4 |
00FB70EF | CC | int3 |
|
|