pvp
Reconstructed91.4% of control flow structuredAnchor ◇A8eZ1qbbSJvw9UiBKY76PtCJNM9P18SbtTBWDCDYTzX3decompiled 13 Oct 2026
- Loader
- ■v3 · upgradeable
- sBPF
- ■v3
- Size
- ■1,069,976 bytes
- Instructions
- ●119,369
- Functions
- ●746
- SHA-256
- ●a3d96e72…8288d17d
- Upgrade authority
- ■BmeF…7ZYs
- Last deploy slot
- ■456,472,960
❝ Published by the authors · nothing, so everything here is revrsly outputVerified build · noneIDL · none publishedsecurity.txt · none
Loading the reconstruction…
pseudocode.cfn fn_cc498 · .text+0xcc498 · 560 ins · 136 blocks · 592 lines · structured where the control flow allows↓ .c download pseudocode.c 1// fn_cc498 · 560 instructions · 1 caller · 11 gotos
2// panic locations in this function: src/instruction.rs:201, src/instruction.rs:205, src/instruction.rs:209
3u64 fn_cc498(u64 r1, u64 r2) {
4 u64
local_1000;
19 r1 = sar64(r1, 0x3f) & r1 + -0x7fffffffffffffff;
24 r0 = fn_cb9c0(&local_fe8, 0, 8);
27 *(u64 *)(r8 + r6) = 0x7b566454e4a6e4d7;
32 if ((local_fe8 - r6) < 0x20) {
33 r0 = fn_cb9c0(&local_fe8, r6, 0x20);
38 *(u64 *)(r8 + 0x18) = *(u64 *)(r7 + 0x18);
39 *(u64 *)(r8 + 0x10) = *(u64 *)(r7 + 0x10);
40 *(u64 *)(r8 + 8) = *(u64 *)(r7 + 8);
41 *(u64 *)(r8) = *(u64 *)(r7);
42 local_fd8 = r6 + 0x20;
44 *(u64 *)(r2 + 0x10) = local_fd8;
45 *(u64 *)(r2 + 8) = local_fe0;
46 *(u64 *)(r2) = local_fe8;
49 r0 = fn_cb9c0(&local_fe8, 0, 8);
53 *(u64 *)(r1 + r6) = 0x46b80c0dfab4a6fa;
58 r0 = fn_2d178(0x400, 1);
61 r0 = fn_e2de8(1, 0x400, r3, r4, r5);
64 if (*(u64 *)(r7 + 8) == 1) {
65 *(u64 *)(r8 + 1) = *(u64 *)(r7 + 0x10);
70 if (*(u64 *)(r7 + 0x18) != 1) {
75 *(u64 *)(r1 + 1) = *(u64 *)(r7 + 0x20);
80 if (r7 > (local_fe8 - r6)) {
81 r0 = fn_cb9c0(&local_fe8, r6, r7);
87 r0 = fn_f4c90(r1 + r6, r8, r7);
94 *(u64 *)(r2 + 0x10) = local_fd8;
95 *(u64 *)(r2 + 8) = local_fe0;
96 *(u64 *)(r2) = local_fe8;
99 r0 = fn_cb9c0(&local_fe8, 0, 8);
103 *(u64 *)(r1 + r6) = -0x4ada72a6c7dfed16;
107 r0 = fn_2d178(0x400, 1);
110 r0 = fn_e2de8(1, 0x400, r3, r4, r5);
114 *(u8 *)(r8) = *(u8 *)(r7 + 0x20);
115 r9 = *(u64 *)(r7 + 0x18);
116 if (r9 > 0xffffffff) {
123 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:209:53")); // .rodata+0xcad8■ string · 43 B
125 r7 = *(u64 *)(r7 + 0x10);
126 *(u32 *)(r8 + 1) = r9;
129 r0 = fn_cb9c0(&local_1000, 5, r9);
137 r0 = fn_f4c90(r1, r2, r9);
138 if (r7 == -0x8000000000000000) {
140 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:209:53")); // .rodata+0xcad8■ string · 43 B
143 if (r9 <= (local_fe8 - r6)) {
147 r0 = fn_cb9c0(&local_fe8, r6, r9);
151 r0 = fn_f4c90(r1 + r6, r8, r9);
159 *(u64 *)(r2 + 0x10) = local_fd8;
160 *(u64 *)(r2 + 8) = local_fe0;
161 *(u64 *)(r2) = local_fe8;
165 *(u64 *)(r2 + 0x10) = local_fd8;
166 *(u64 *)(r2 + 8) = local_fe0;
167 *(u64 *)(r2) = local_fe8;
173 r0 = fn_f4c90(r8 + 5, r7, r9);
177 if (r9 > (local_fe8 - r6)) {
178 goto L_cd218;● kept as goto
181 r0 = fn_f4c90(r1 + r6, r8, r9);
185 *(u64 *)(r2 + 0x10) = local_fd8;
186 *(u64 *)(r2 + 8) = local_fe0;
187 *(u64 *)(r2) = local_fe8;
195 *(u64 *)(r2 + 0x10) = local_fd8;
196 *(u64 *)(r2 + 8) = local_fe0;
197 *(u64 *)(r2) = local_fe8;
201 r0 = fn_f4c90(r1 + r6, r8, r9);
205 *(u64 *)(r2 + 0x10) = local_fd8;
206 *(u64 *)(r2 + 8) = local_fe0;
207 *(u64 *)(r2) = local_fe8;
215 *(u64 *)(r2 + 0x10) = local_fd8;
216 *(u64 *)(r2 + 8) = local_fe0;
217 *(u64 *)(r2) = local_fe8;
222 r0 = fn_cb9c0(&local_fe8, 0, 8);
224 *(u64 *)(local_fe0 + r1) = -0x3723354ad2ce1623;
227 r0 = fn_2d178(0x400, 1);
229 r0 = fn_e2de8(1, 0x400, r3, r4, r5);
233 r1 = *(u64 *)(r7 + 0x20);
235 r1 ^= -0x8000000000000000;
242 r6 = *(u64 *)(r7 + 0x18);
243 if (r6 > 0xffffffff) {
250 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:205:53")); // .rodata+0xcad8■ string · 43 B
253 r2 = *(u64 *)(r7 + 0x10);
254 if ((r9 - r8) <= 3) {
257 r0 = fn_cb9c0(&local_1000, r8, 4);
264 *(u32 *)(r0 + r8) = r6;
267 if (r6 > (r9 - r8)) {
269 r0 = fn_cb9c0(&local_1000, r8, r6);
274 r0 = fn_f4c90(r0 + r8, r2, r6);
277 goto L_ccd30;● kept as goto
282 if (r9 == -0x8000000000000000) {
284 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:205:53")); // .rodata+0xcad8■ string · 43 B
288 if (r8 > (local_fe8 - r6)) {
289 r0 = fn_cb9c0(&local_fe8, r6, r8);
291 r0 = fn_f4c90(local_fe0 + r6, r7, r8);
294 r0 = fn_f4c90(local_fe0 + r6, r7, r8);
298 *(u64 *)(r2 + 0x10) = local_fd8;
299 *(u64 *)(r2 + 8) = local_fe0;
300 *(u64 *)(r2) = local_fe8;
308 *(u64 *)(r2 + 0x10) = local_fd8;
309 *(u64 *)(r2 + 8) = local_fe0;
310 *(u64 *)(r2) = local_fe8;
322 *(u64 *)(r2 + 0x10) = local_fd8;
323 *(u64 *)(r2 + 8) = local_fe0;
324 *(u64 *)(r2) = local_fe8;
328 *(u64 *)(r2 + 0x10) = local_fd8;
329 *(u64 *)(r2 + 8) = local_fe0;
330 *(u64 *)(r2) = local_fe8;
334 r6 = *(u64 *)(r7 + 0x30);
344 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:205:53")); // .rodata+0xcad8■ string · 43 B
346 r2 = *(u64 *)(r7 + 0x28);
347 *(u32 *)(r0 + 1) = r6;
351 r0 = fn_cb9c0(&local_1000, 5, r6);
358 r0 = fn_f4c90(r0 + r8, r2, r6);
361 r6 = *(u64 *)(r7 + 0x18);
362 if (r6 > 0xffffffff) {
371 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:205:53")); // .rodata+0xcad8■ string · 43 B
375 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:205:53")); // .rodata+0xcad8■ string · 43 B
378 r2 = *(u64 *)(r7 + 0x10);
379 if ((r9 - r8) <= 3) {
380 goto L_ccf98;● kept as goto
382 goto L_cccf0;● kept as goto
388 r6 = *(u64 *)(r7 + 0x18);
396 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:205:53")); // .rodata+0xcad8■ string · 43 B
398 goto L_cccd0;● kept as goto
400 goto L_ccf18;● kept as goto
406 goto L_ccca0;● kept as goto
408 goto L_ccec0;● kept as goto
410 r0 = fn_cb9c0(&local_fe8, 0, 8);
412 *(u64 *)(local_fe0 + r1) = -0x72b247a75de11e2e;
416 r0 = fn_2d178(0x400, 1);
418 r0 = fn_e2de8(1, 0x400, r3, r4, r5);
422 r9 = *(u64 *)(r7 + 0x10);
423 if (r9 > 0xffffffff) {
430 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:201:53")); // .rodata+0xcad8■ string · 43 B
432 r2 = *(u64 *)(r7 + 8);
437 r0 = fn_cb9c0(&local_1000, 4, r9);
444 r0 = fn_f4c90(r0 + r8, r2, r9);
449 goto L_cc710;● kept as goto
454 r9 = *(u64 *)(r7 + 0x28);
455 if (r9 <= 0xffffffff) {
456 r2 = *(u64 *)(r7 + 0x20);
457 if ((r6 - r8) <= 3) {
459 r0 = fn_cb9c0(&local_1000, r8, 4);
465 *(u32 *)(r0 + r8) = r9;
468 if (r9 > (r6 - r8)) {
470 r0 = fn_cb9c0(&local_1000, r8, r9);
476 r0 = fn_f4c90(r0 + r8, r2, r9);
480 goto L_cc7d0;● kept as goto
486 r9 = *(u64 *)(r7 + 0x40);
487 if (r9 > 0xffffffff) {
495 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:201:53")); // .rodata+0xcad8■ string · 43 B
499 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:201:53")); // .rodata+0xcad8■ string · 43 B
501 r2 = *(u64 *)(r7 + 0x38);
502 if ((r6 - r8) <= 3) {
504 r0 = fn_cb9c0(&local_1000, r8, 4);
510 *(u32 *)(r0 + r8) = r9;
513 if (r9 > (r6 - r8)) {
515 r0 = fn_cb9c0(&local_1000, r8, r9);
520 r0 = fn_f4c90(r0 + r8, r2, r9);
523 goto L_cc898;● kept as goto
528 if (r7 == -0x8000000000000000) {
530 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:201:53")); // .rodata+0xcad8■ string · 43 B
534 if (r8 > (local_fe8 - r9)) {
535 r0 = fn_cb9c0(&local_fe8, r9, r8);
537 r0 = fn_f4c90(local_fe0 + r9, r6, r8);
540 r0 = fn_f4c90(local_fe0 + r9, r6, r8);
544 *(u64 *)(r2 + 0x10) = local_fd8;
545 *(u64 *)(r2 + 8) = local_fe0;
546 *(u64 *)(r2) = local_fe8;
554 *(u64 *)(r2 + 0x10) = local_fd8;
555 *(u64 *)(r2 + 8) = local_fe0;
556 *(u64 *)(r2) = local_fe8;
568 *(u64 *)(r2 + 0x10) = local_fd8;
569 *(u64 *)(r2 + 8) = local_fe0;
570 *(u64 *)(r2) = local_fe8;
574 *(u64 *)(r2 + 0x10) = local_fd8;
575 *(u64 *)(r2 + 8) = local_fe0;
576 *(u64 *)(r2) = local_fe8;
582 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:201:53")); // .rodata+0xcad8■ string · 43 B
590 r0 = fn_e8b10("called `Result::unwrap()` on an `Err` value", 0x2b, &local_1000, 0xcad8, &Location("src/instruction.rs:201:53")); // .rodata+0xcad8■ string · 43 B