switch the order of payload and prelude
This commit is contained in:
parent
054ea5282e
commit
7e919d0789
@ -528,6 +528,15 @@
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x26e0c928,
|
||||
+ 0x6713e24e, 0x3ea13ccf, &position, &size)
|
||||
+ ) {
|
||||
@ -535,15 +544,6 @@
|
||||
+ setenv("PKG_PRELUDE_POSITION", env, 1);
|
||||
+ sprintf(env, "%d", size);
|
||||
+ setenv("PKG_PRELUDE_SIZE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+ }
|
||||
+
|
||||
+ fclose(file);
|
||||
|
||||
@ -589,6 +589,15 @@
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x26e0c928,
|
||||
+ 0x6713e24e, 0x3ea13ccf, &position, &size)
|
||||
+ ) {
|
||||
@ -596,15 +605,6 @@
|
||||
+ setenv("PKG_PRELUDE_POSITION", env, 1);
|
||||
+ sprintf(env, "%d", size);
|
||||
+ setenv("PKG_PRELUDE_SIZE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+ }
|
||||
+
|
||||
+ fclose(file);
|
||||
|
||||
@ -598,6 +598,15 @@
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x26e0c928,
|
||||
+ 0x6713e24e, 0x3ea13ccf, &position, &size)
|
||||
+ ) {
|
||||
@ -605,15 +614,6 @@
|
||||
+ setenv("PKG_PRELUDE_POSITION", env, 1);
|
||||
+ sprintf(env, "%d", size);
|
||||
+ setenv("PKG_PRELUDE_SIZE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+ }
|
||||
+
|
||||
+ fclose(file);
|
||||
|
||||
@ -614,6 +614,15 @@
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x26e0c928,
|
||||
+ 0x6713e24e, 0x3ea13ccf, &position, &size)
|
||||
+ ) {
|
||||
@ -621,15 +630,6 @@
|
||||
+ setenv("PKG_PRELUDE_POSITION", env, 1);
|
||||
+ sprintf(env, "%d", size);
|
||||
+ setenv("PKG_PRELUDE_SIZE", env, 1);
|
||||
+
|
||||
+ position -= 16; // align back to boundary
|
||||
+ }
|
||||
+
|
||||
+ if (GetSentryPosition(file, position, 0x75148eba,
|
||||
+ 0x1aa9270e, 0x2e20c08d, &position, &size)
|
||||
+ ) {
|
||||
+ sprintf(env, "%d", position);
|
||||
+ setenv("PKG_PAYLOAD_BASE", env, 1);
|
||||
+ }
|
||||
+
|
||||
+ fclose(file);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user