ok thx you . i will make simple bot first

---------- Post added 2011-06-07 at 02:49 AM ---------- Previous post was 2011-06-06 at 09:17 AM ----------

Hi Dwar , i got this function from internet . i wonder you can convert it to assemly ?


Code:
int actionStruct = MemFunctions.MemReadInt(processHandle, getPlayerAddress() + off_player_actStruct);
                int actionList = MemFunctions.MemReadInt(processHandle, actionStruct + off_player_actStruct_list);
                int interactWithAction = MemFunctions.MemReadInt(processHandle, actionList + off_player_actStruct_list_interact);


                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_finished, 0);  //action finished = 0
                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_started, 1); //Action start = 1
                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_notStarted, 0); // Action not start = 0
                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_objectId, objectId); // Set object id to interact with
                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_type, interactionType); // Set the type of interaction, 0 = regAtk, 1 = pick item, 2 = talk to NPC,3 = useSkill, 4 = gatherResources
                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_error1, 0); // Set error = 0
                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_error2, 0); // Set error = 0

                MemFunctions.MemWriteInt(processHandle, interactWithAction + off_player_actStruct_list_interact_skillPtr, skillPointer); // Set skillPointer
                MemFunctions.MemWriteInt(processHandle, actionStruct + off_player_actStruct_newAction, interactWithAction); // Set new actionType
                MemFunctions.MemWriteInt(processHandle, actionStruct + off_player_actStruct_startNext, 1); // Set next action position to 1
                MemFunctions.MemWriteInt(processHandle, actionStruct + off_player_actStruct_nextAction, interactWithAction); // Set new actionType
            }
do you know anyway to make it become assembly code like :

Code:
	_asm{
		push value
		push 0x00000000
		mov ecx, GAME_BASE_ADDRESS
		mov ecx, [ecx]
		mov ecx, [ecx+0x1c]
		mov ecx, [ecx+0x20]
		//add ecx, 0xEC
		mov edx, 0x00606820 //0x0045d280
		call edx
	}
is it possible?