// POWERPLAY TA command surface, decompiled with restored names, prototypes and types. // Source: psp_out/versions_win/ta_34-0-0-20_e391bdbb.bin // Handlers resolved from fw/cmdmaps/powerplay.json; loc_* labels mapped to their // containing function. Generated by fw/ta_surface.py. // ================ cmd 0x6 @ 0x4028b8 ================ int __fastcall powerplay_cmd06(void *ctx, struct ta_params *params) { int (__fastcall *v2)(void *, struct ta_params *); // r2 v2 = (int (__fastcall *)(void *, struct ta_params *))off_4028E8[9]; if ( v2 != nullptr ) return v2(a1: ctx, a2: params); else return dword_4028EC; } // ================ cmd 0x0, 0x1 @ 0x4028c4 ================ int __fastcall powerplay_cmd00(void *ctx, struct ta_params *params) { int (__fastcall *v2)(void *, struct ta_params *); // r3 v2 = (int (__fastcall *)(void *, struct ta_params *))off_4028E8[3]; if ( v2 != nullptr ) return v2(a1: ctx, a2: params); else return 2; } // ================ cmd 0x5 @ 0x4028d0 ================ int __fastcall powerplay_cmd05(void *ctx, struct ta_params *params) { int (__fastcall *v2)(void *, struct ta_params *); // r2 v2 = (int (__fastcall *)(void *, struct ta_params *))off_4028E8[8]; if ( v2 != nullptr ) return v2(a1: ctx, a2: params); else return dword_4028EC; } // ================ cmd 0x2 @ 0x4028dc ================ int __fastcall powerplay_cmd02(void *ctx, struct ta_params *params) { int (__fastcall *v2)(void *, struct ta_params *); // r2 v2 = (int (__fastcall *)(void *, struct ta_params *))off_4028E8[5]; if ( v2 != nullptr ) return v2(a1: ctx, a2: params); else return dword_4028EC; } // ================ cmd 0x4 @ 0x4063d0 ================ int __fastcall powerplay_cmd04(void *ctx, struct ta_params *params) { int (__fastcall *v2)(void *, struct ta_params *); // r2 v2 = (int (__fastcall *)(void *, struct ta_params *))off_4063E8[7]; if ( v2 != nullptr ) return v2(a1: ctx, a2: params); else return dword_4063EC; } // ================ cmd 0x3 @ 0x4063dc ================ int __fastcall powerplay_cmd03(void *ctx, struct ta_params *params) { int (__fastcall *v2)(void *, struct ta_params *); // r2 v2 = (int (__fastcall *)(void *, struct ta_params *))off_4063E8[6]; if ( v2 != nullptr ) return v2(a1: ctx, a2: params); else return dword_4063EC; }