Migration services: Difference between revisions

No edit summary
Line 500: Line 500:
** A func is called which copies 0x10-bytes from entryptr+0x10+0x26C into state.
** A func is called which copies 0x10-bytes from entryptr+0x10+0x26C into state.
* Clears stack. Calls a func.
* Clears stack. Calls a func.
* Calls a func. This sends [[#SendClientProfile|SendClientProfile]], then receives network data.
* Calls a func. This uses network message [[#SendClientProfile|SendClientProfile]].
* Calls a vfunc.
* Calls a vfunc.
* When ret is true:
* When ret is true:
** Calls a func. This essentially handles sending/receiving network data, etc.
** Calls a func. This uses network message [[#RequestServerProfile|RequestServerProfile]].
** Sets a state flag, then returns 0.
** Sets a state flag, then returns 0.
* Otherwise when the vfunc ret is false:
* Otherwise when the vfunc ret is false:
** Calls a func. This is very similar to the func used in the above block.
** Calls a func. This is very similar to the func for RequestServerProfile used above.
** Calls a func.
** Calls a func.
*** Clears stack, and calls a func.
*** Clears stack, and calls a func.
*** Calls a func which handles sending/receiving network data.
*** Uses network message [[#Data|DataMessageId]] 0x12.
*** Calls a func.
*** Calls a func.
** Calls a func. (fs related?)
** Calls a func. (fs related?)
** Calls a func. This sends [[#RequestServerProfile|RequestServerProfile]], then receives network data. Then the socket is closed. Lastly, a func is called which handles closing [[LDN_services|ldn]] (CloseStation, Finalize) and [[Sockets_services|sockets]].
** Calls a func. This uses network message [[#Leave|Leave]]. Then the socket is closed. Lastly, a func is called which handles closing [[LDN_services|ldn]] (CloseStation, Finalize) and [[Sockets_services|sockets]].
** Calls a func.
** Calls a func.
** Clears stack. Enters a block which uses nifm.
** Clears stack. Enters a block which uses nifm.