•int
main(int argc, char* argv[])
•{
• // …
• __asm nop;
•
• indexedAccess(g_array, 1);
• indexedAccess(array, 2);
•
• return 0;
•}
•
•nop
•push 0x1
•push 0x428500 ; g_array
•call Arrays!ILT+165(?indexedAccessYAHPAHHZ)
(004110aa)
•add esp,0x8
•push 0x2 ; array
•lea eax,[ebp-0x19c]
•push eax
•call Arrays!ILT+165(?indexedAccessYAHPAHHZ)
(004110aa)
•add esp,0x8
•
•nop
•push 0x1
•push 0x4072c0 ; g_array
•call Arrays!indexedAccess (004010d0)
•lea edx,[esp+0x10] ; array
•push 0x2
•push edx
•call Arrays!indexedAccess (004010d0)
•add esp,0x10