Author Topic: Attempting to get Custom text on the Information dialogue  (Read 4959 times)

Offline dots_tb

  • Refugee
  • **
  • Posts: 93
    • View Profile
Attempting to get Custom text on the Information dialogue
« on: September 20, 2019, 10:26:52 AM »
I got this request a while back (by MarioMasta on the SilicaServer), and I thought it'd be fun to make this the first goal of the cLiveArea Project.

The goal is to place the title id (on retail) in the dialog you get by pressing "Information" from the pop up menu that appears when hitting the three dots when rearranging icons on Live Area.

sub_833daad4 - seems to handle the opening of the info dialog.
ScePafWidget_82515E71(ctx, 0x00000000, 0x00000000, number of lines?) - within the span of this syscall, the text seems to be set.

sub_83709114(shell_string_thing  *r1 , char *str, int length) - generates the following structure, it seems these structures are used within paf widget stuff. It also seems this sub is unhookable.
Code: [Select]
typedef struct shell_string_thing {
char *string;
uint32_t length;
} shell_string_thing;

ScePafWidget Syscalls starting with ScePafWidget_82515E71:

Code: [Select]
ScePafWidget_417201D9(0x819F9C10, 0x00000000, 0x819FAA50, 0x819DE2A0)
ScePafWidget_417201D9(0x819F9C10, 0x00000000, 0x819FAA50, 0x819DE2A0): 0x819F9C10
ScePafWidget_1316E7E8(0x819F9C10, 0x819DD210, 0xAE5A2D39, 0xAE5A2D39)
ScePafWidget_1316E7E8(0x819F9C10, 0x819DD210, 0xAE5A2D39, 0xAE5A2D39): 0xAE5A2D39
ScePafWidget_6381B5FA(0x819F9C10, 0x00000000, 0x00000001, 0x00000032)
ScePafWidget_6381B5FA(0x819F9C10, 0x00000000, 0x00000001, 0x00000032): 0x819E3448
ScePafWidget_A2061BF4(0x819F9C10, 0x00000000, 0x815A6EB0, 0x815A6EB0)
ScePafWidget_A2061BF4(0x819F9C10, 0x00000000, 0x815A6EB0, 0x815A6EB0): 0x00000000
ScePafWidget_B3FA381F(0x819F9C10, 0x00000000, 0x00000002, 0xAE5A2D39)
ScePafWidget_B3FA381F(0x819F9C10, 0x00000000, 0x00000002, 0xAE5A2D39): 0xAE5A2D39
ScePafWidget_82515E71(0x819F9C10, 0x00000000, 0x00000000, 0x00000001)


ScePafWidget_7DFC7EE6(0x819FBD20, 0x819FA340, 0x00000000, 0x00000000)
ScePafWidget_7DFC7EE6(0x819FBD20, 0x819FA340, 0x00000000, 0x00000000): 0x819FBD20 //step 1 on text chain, r1 0x2d0 size,  3 args -> ScePafWidget_F49CC5B3
strlen PlayStation®Store @819dd2c0 12

ScePafWidget_DBB6B37A(0x819FBD20, 0x819FDAB0, 0x00000000, 0x81479BF0)
ScePafWidget_DBB6B37A(0x819FBD20, 0x819FDAB0, 0x00000000, 0x81479BF0): 0xAE5A2D39 //no args?
ScePafWidget_5B742AD2(0x815A6930, 0x819FBD20, 0x819FBD68, 0x819FDBB8)
ScePafWidget_5B742AD2(0x815A6930, 0x819FBD20, 0x819FBD68, 0x819FDBB8): 0x00000004 //7 args?
ScePafWidget_7EA5A99F(0x819FDAB0, 0xAE5A2D39, 0xAE5A2D39, 0x00000032)
ScePafWidget_7EA5A99F(0x819FDAB0, 0xAE5A2D39, 0xAE5A2D39, 0x00000032): 0xE04ADF30 //final on the text chain (it repeats starting at step 1 when adding another item), return list_item, 0 args


ScePafWidget_93057A6C(0x819DD210, 0x815A6D64, 0x8154B86C, 0x814796F0)//executed after all text is added  0 args?
ScePafWidget_93057A6C(0x819DD210, 0x815A6D64, 0x8154B86C, 0x814796F0): 0x819DD210


ScePafWidget_82515E71(0x819F9C10, 0x00000000, 0x00000000, 0x00000001): 0x00000000

ScePafWidget_7DFC7EE6 - r2[0][1] seems to be destruct or callback?

So far the issue is that the section of code relating to this dialog does not get decompiled.
« Last Edit: October 27, 2019, 11:13:09 AM by dots_tb »