Friendim plugin: Difference between revisions
Jump to navigation
Jump to search
m (→1 Interface) |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
6: PluginUpdateCommentLaunch, 0 Parameter: - mod_page | 6: PluginUpdateCommentLaunch, 0 Parameter: - mod_page | ||
7: PluginSentEdtiLaunch, 1 Parameter: int - select_page, friendlist_page, send_page | 7: PluginSentEdtiLaunch, 1 Parameter: int - select_page, friendlist_page, send_page | ||
8: 3 Parameter: int, int, int - select_page, friendlist_page, send_page | 8: Send Invitation?, 3 Parameter: int, int, int - select_page, friendlist_page, send_page | ||
9: 3 Parameter: uint8_t [ len * 0xD8], int len, int - select_page, friendlist_page, send_page | 9: 3 Parameter: uint8_t [ len * 0xD8], int len, int - select_page, friendlist_page, send_page | ||
10: 7 Parameter: int, int, int, int, int, int, int - recv_page, friendlist_page | 10: Recv Invitation?, 7 Parameter: int, int, int, int, int, int, int - recv_page, friendlist_page | ||
11: 4 Parameter: uint8_t [0x24], char * [0x600] ,int ,int - mod_page, send_page | 11: 4 Parameter: uint8_t [0x24], char * [0x600] ,int ,int - mod_page, send_page | ||
12: 5 Parameter: uint8_t [0x24], char * [0x600], int, int, int - mod_page, send_page | 12: 5 Parameter: uint8_t [0x24], char * [0x600], int, int, int - mod_page, send_page | ||
Line 37: | Line 37: | ||
24: 8 Parameter: - mod_page, select_page, friendlist_page, send_page | 24: 8 Parameter: - mod_page, select_page, friendlist_page, send_page | ||
25: 5 Parameter: - recv_page, friendlist_page, optionmenu_page | 25: 5 Parameter: - recv_page, friendlist_page, optionmenu_page | ||
26: 0 Parameter: - set 1 | 26: Abort Gui, 0 Parameter: - set 1 | ||
27: 2 Parameter: int, int - animation for cross/circle show / hide | 27: 2 Parameter: int, int - animation for cross/circle show / hide | ||
28: 0 Parameter: return 0 | 28: 0 Parameter: return 0 | ||
29: 1 Parameter: uint8_t [0x30] | 29: 1 Parameter: uint8_t [0x30] | ||
30: 3 Parameter: char * product, char * | 30: Recommend Game, 3 Parameter: char * product (CONTENT ID), char * game_title, int | ||
31: sendBrowserWakeup, 2 Parameter: char * desc, char * url - Wakeup Browser | 31: sendBrowserWakeup, 2 Parameter: char * desc, char * url - Wakeup Browser | ||
32: 1 Parameter: uint8_t [0x30] - mod_page, select_page, friendlist_page, send_page | 32: 1 Parameter: uint8_t [0x30] - mod_page, select_page, friendlist_page, send_page | ||
Line 65: | Line 65: | ||
Command = | Command = | ||
'''PluginNewMessageLaunch''' | '''PluginNewMessageLaunch''' | ||
'''sendBrowserWakeup''' - Parameters: desc | '''sendBrowserWakeup''' - Parameters: ?desc=&url= | ||
'''sendEtcLaunch''' - Parameters: helperstr | '''sendEtcLaunch''' - Parameters: ?helperstr=&title=&body=&desc= | ||
Line 81: | Line 81: | ||
2: return | 2: return | ||
3: 1 Parameter: int (0-0x2C) | 3: 1 Parameter: int (0-0x2C) | ||
=Initialization= | |||
Load up parameters: | |||
container_id = (ID #3 foreground) | |||
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> | {{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> |
Latest revision as of 00:38, 31 January 2015
3 Identifier:
- 1
- 0x41435430 ("ACT0")
- 0x4D4F4430 ("MOD0")
1 Interface[edit | edit source]
contains 41 subs:
0: Set Friendim Exit Callback, 2 Parameter: void * callback, int view (friendim_plugin?) 1: PluginRecvLaunch, 1 Parameter: int - recv_page, optionmenu_page 2: PluginSendLaunch, 2 Parameter: int, int - select_page, friendlist_page, send_page 3: PluginNewMessageLaunch, 0 Parameter: - select_page, friendlist_page, send_page, optionmenu_page 4: PluginFriendAddNormalLaunch, 0 Parameter: - mod_page, send_page 5: PluginFriendAddIdLaunch, 2 Parameter: int, int - send_page 6: PluginUpdateCommentLaunch, 0 Parameter: - mod_page 7: PluginSentEdtiLaunch, 1 Parameter: int - select_page, friendlist_page, send_page 8: Send Invitation?, 3 Parameter: int, int, int - select_page, friendlist_page, send_page 9: 3 Parameter: uint8_t [ len * 0xD8], int len, int - select_page, friendlist_page, send_page 10: Recv Invitation?, 7 Parameter: int, int, int, int, int, int, int - recv_page, friendlist_page 11: 4 Parameter: uint8_t [0x24], char * [0x600] ,int ,int - mod_page, send_page 12: 5 Parameter: uint8_t [0x24], char * [0x600], int, int, int - mod_page, send_page 13: 6 Parameter: - mod_page, select_page, friendlist_page, send_page 14: 8 Parameter: - mod_page, select_page, friendlist_page, send_page 15: 6 Parameter: - recv_page, friendlist_page 16: 8 Parameter: - friendlist_page, send_page 17: sendFriendAddRequestBySceNpUserInfoLaunch, 1 Parameter: uint8_t [0xD8] - mod_page, select_page, friendlist_page, send_page, optionmenu_page 18: 3 Parameter: uint8_t [len * 0xD8], int len, int - mod_page, select_page, friendlist_page, send_page, optionmenu_page 19: sendMessageBySceNpUserInfoNoCallbackLaunch, 2 Parameter: uint8_t [len * 0xD8], int len - mod_page, select_page, friendlist_page, send_page, optionmenu_page 20: 7 Parameter: - mod_page, select_page, friendlist_page, send_page 21: 8 Parameter: - mod_page, select_page, friendlist_page, send_page 22: 8 Parameter: - mod_page, select_page, friendlist_page, send_page 23: 5 Parameter: - recv_page, friendlist_page 24: 8 Parameter: - mod_page, select_page, friendlist_page, send_page 25: 5 Parameter: - recv_page, friendlist_page, optionmenu_page 26: Abort Gui, 0 Parameter: - set 1 27: 2 Parameter: int, int - animation for cross/circle show / hide 28: 0 Parameter: return 0 29: 1 Parameter: uint8_t [0x30] 30: Recommend Game, 3 Parameter: char * product (CONTENT ID), char * game_title, int 31: sendBrowserWakeup, 2 Parameter: char * desc, char * url - Wakeup Browser 32: 1 Parameter: uint8_t [0x30] - mod_page, select_page, friendlist_page, send_page 33: 1 Parameter: uint8_t [ > 0xA04] 34: 1 Parameter: uint8_t [ > 0xA04] 35: 5 Parameter: - recv_page, friendlist_page 36: 5 Parameter: - recv_page, friendlist_page, optionmenu_page 37: sendEtcLaunch, 4 Parameter: helperstr, title, body, desc 38: 1 Parameter: uint8_t [] - grief_top_page, grief_select_page, legal_page, scroll_page 39: 7 Parameter: - goto psstore 40: TellFriend, 1 Parameter: uint8_t [] { }
ACT0 Interface[edit | edit source]
contains 1 sub:
0: 1 Parameter: char * action
Action Commands[edit | edit source]
new_message or psim: <command> Command = PluginNewMessageLaunch sendBrowserWakeup - Parameters: ?desc=&url= sendEtcLaunch - Parameters: ?helperstr=&title=&body=&desc=
PluginNewMessageLaunch - (Executes friendim_plugin interface 1 function 3)
sendBrowserWakeup - (Executes friendim_plugin interface 1 function 31)
sendEtcLaunch - (Executes friendim_plugin interface 1 function 37)
MOD0 Interface[edit | edit source]
contains 4 subs:
0: 0 Parameter: 1: 0 Parameter: 2: return 3: 1 Parameter: int (0-0x2C)
Initialization[edit | edit source]
Load up parameters:
container_id = (ID #3 foreground)