Find out budget parameters for the game process
I suspect it get called by SceSysCore.
@red-prig do you have any idea?
@ultimaweapon Tried checking, he just returns Enosys.
571 = int sys_budget_set (int key)
function sys_budget_set(key:Integer):Integer;
begin
Exit(ENOSYS); //sceSblACMgrIsSystemUcred
end;
If you have system rights, this function sets the budget identifier for this process.
If running via SceSysCore, save the value and return 0.
If running via SceSysCore, save the value and return 0.
Yeah this is what I'm looking for. Do you know how this syscall get called before the game binary got exec?
First, rfork_thread is called to create a new process, then parameters are loaded in the entry procedure, and only after that execve is called, switching the execution point to another file.
Thanks!
Our new target is syscall 568, which is used to create a budget. We need to find what budget it is created for a game process.