[*] Binary protection state of libwsmedia-plugin-video.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function system tear down of libwsmedia-plugin-video.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libwsmedia-plugins/libwsmedia-plugin-video.so @ 0x3e74 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00003e74 lui gp, 3 |
0x00003e78 addiu gp, gp, -0x3d84 |
0x00003e7c addu gp, gp, t9 | gp += t9;
0x00003e80 addiu sp, sp, -0x20 |
0x00003e84 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00003e88 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00003e8c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00003e90 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00003e94 lbu v0, -0x7aa0(s0) | v0 = *((s0 - 31392));
0x00003e98 lw v0, -0x7bc0(gp) | v0 = *((gp - 7920));
| if (v0 == 0) {
0x00003e9c bnez v0, 0x3ed0 |
0x00003ea0 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00003ea4 beqz v0, 0x3eb8 |
0x00003ea8 lw t9, -0x7bc0(gp) | t9 = *((gp - 7920));
0x00003eac lw a0, (v0) | a0 = *(v0);
0x00003eb0 jalr t9 | t9 ();
0x00003eb4 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00003eb8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00003ebc addiu t9, t9, 0x3df0 | t9 += entry0;
0x00003ec0 bal 0x3df0 | entry0 ();
0x00003ec4 nop |
0x00003ec8 addiu v0, zero, 1 | v0 = 1;
0x00003ecc sb v0, -0x7aa0(s0) | *((s0 - 31392)) = v0;
| }
0x00003ed0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00003ed4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00003ed8 addiu sp, sp, 0x20 |
0x00003edc jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libwsmedia-plugins/libwsmedia-plugin-video.so @ 0xa690 */
| #include <stdint.h>
|
; (fcn) sym.set_video_encoder_configuration () | void set_video_encoder_configuration () {
0x0000a690 lui gp, 2 |
0x0000a694 addiu gp, gp, 0x5a60 |
0x0000a698 addu gp, gp, t9 | gp += t9;
0x0000a69c addiu sp, sp, -0x80 |
0x0000a6a0 sw s1, 0x68(sp) | *(var_68h) = s1;
0x0000a6a4 lw s1, -0x7c48(gp) | s1 = *((gp - 7954));
0x0000a6a8 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000a6ac sw ra, 0x7c(sp) | *(var_7ch) = ra;
0x0000a6b0 sw s5, 0x78(sp) | *(var_78h) = s5;
0x0000a6b4 sw s4, 0x74(sp) | *(var_74h) = s4;
0x0000a6b8 sw s3, 0x70(sp) | *(var_70h) = s3;
0x0000a6bc sw s2, 0x6c(sp) | *(var_6ch) = s2;
0x0000a6c0 sw s0, 0x64(sp) | *(var_64h) = s0;
0x0000a6c4 lw v1, (s1) | v1 = *(s1);
0x0000a6c8 lw v0, 0x1c(a1) | v0 = *((a1 + 7));
0x0000a6cc sw v1, 0x5c(sp) | *(var_5ch) = v1;
0x0000a6d0 addiu v1, zero, -1 | v1 = -1;
0x0000a6d4 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000a6d8 sw zero, 0x20(sp) | *(var_20h) = 0;
| if (v0 != 0) {
0x0000a6dc bnez v0, 0xa80c | goto label_1;
| }
0x0000a6e0 lw v0, 0x20(a1) | v0 = *((a1 + 8));
0x0000a6e4 move s0, a1 | s0 = a1;
0x0000a6e8 move s3, a0 | s3 = a0;
| if (v0 != 0) {
0x0000a6ec beqz v0, 0xa710 |
0x0000a6f0 lw t9, -0x7ddc(gp) | t9 = *((gp - 8055));
0x0000a6f4 move a3, zero | a3 = 0;
0x0000a6f8 addiu a2, sp, 0x20 | a2 = sp + 0x20;
0x0000a6fc addiu a1, sp, 0x1c | a1 = sp + 0x1c;
0x0000a700 move a0, s0 | a0 = s0;
0x0000a704 jalr t9 | t9 ();
0x0000a708 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000a70c bnez v0, 0xa82c | goto label_2;
| }
| }
0x0000a710 lw s2, 0x18(s0) | s2 = *((s0 + 6));
0x0000a714 lw t9, -0x7f9c(gp) | t9 = *((gp - 8167));
| if (s2 == 0) {
0x0000a718 beqz s2, 0xa7fc | goto label_3;
| }
0x0000a71c lw a0, (s2) | a0 = *(s2);
0x0000a720 bal 0x14d30 | fcn_00014d30 ();
0x0000a724 lw s4, 8(s2) | s4 = *((s2 + 2));
0x0000a728 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000a72c lw s2, 4(s2) | s2 = *((s2 + 1));
0x0000a730 move s5, v0 | s5 = v0;
| do {
0x0000a734 lw a1, 0x24(s0) | a1 = *((s0 + 9));
0x0000a738 lw v1, 8(s0) | v1 = *((s0 + 2));
0x0000a73c lw v0, (s0) | v0 = *(s0);
0x0000a740 lw t9, -0x7db0(gp) | t9 = *((gp - 8044));
0x0000a744 lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x0000a748 sw a1, 0x24(sp) | *(var_24h_6) = a1;
0x0000a74c sw v1, 0x28(sp) | *(var_28h_5) = v1;
0x0000a750 sw v0, 0x2c(sp) | *(var_2ch_6) = v0;
0x0000a754 jalr t9 | t9 ();
0x0000a758 sw v0, 0x30(sp) | *(var_30h_5) = v0;
0x0000a75c lw v0, 0x20(sp) | v0 = *(var_20h);
0x0000a760 lw v1, 0x10(s0) | v1 = *((s0 + 4));
0x0000a764 sw v0, 0x38(sp) | *(var_38h_3) = v0;
0x0000a768 lw a0, 0x28(s0) | a0 = *((s0 + 10));
0x0000a76c lw v0, 0x1c(sp) | v0 = *(var_1ch);
0x0000a770 sw a0, 0x34(sp) | *(var_34h_5) = a0;
0x0000a774 sw v0, 0x3c(sp) | *(var_3ch_5) = v0;
0x0000a778 lw v0, (v1) | v0 = *(v1);
0x0000a77c lw gp, 0x10(sp) | gp = *(var_10h);
0x0000a780 sw v0, 0x40(sp) | *(var_40h_4) = v0;
0x0000a784 lw v0, 4(v1) | v0 = *((v1 + 1));
0x0000a788 lw a0, 0x14(s0) | a0 = *((s0 + 5));
0x0000a78c lw t9, -0x7f98(gp) | t9 = *((gp - 8166));
0x0000a790 sw v0, 0x44(sp) | *(var_44h_5) = v0;
0x0000a794 bal 0x14cd0 | fcn_00014cd0 ();
0x0000a798 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000a79c lw v1, 0x18(s0) | v1 = *((s0 + 6));
0x0000a7a0 addiu a1, sp, 0x24 | a1 = sp + 0x24;
0x0000a7a4 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x0000a7a8 sltu v1, zero, v1 | v1 = (0 < v1) ? 1 : 0;
0x0000a7ac move a0, s3 | a0 = s3;
0x0000a7b0 sw v0, 0x48(sp) | *(var_48h_4) = v0;
0x0000a7b4 sw v1, 0x4c(sp) | *(var_4ch_4) = v1;
0x0000a7b8 sw s5, 0x50(sp) | *(var_50h_4) = s5;
0x0000a7bc sw s4, 0x54(sp) | *(var_54h_4) = s4;
0x0000a7c0 sw s2, 0x58(sp) | *(var_58h_3) = s2;
0x0000a7c4 jalr t9 | t9 ();
0x0000a7c8 lw gp, 0x10(sp) | gp = *(var_10h);
| label_0:
0x0000a7cc lw a0, 0x5c(sp) | a0 = *(var_5ch);
0x0000a7d0 lw v1, (s1) | v1 = *(s1);
0x0000a7d4 lw ra, 0x7c(sp) | ra = *(var_7ch);
| if (a0 != v1) {
0x0000a7d8 bne a0, v1, 0xa85c | goto label_4;
| }
0x0000a7dc lw s5, 0x78(sp) | s5 = *(var_78h);
0x0000a7e0 lw s4, 0x74(sp) | s4 = *(var_74h);
0x0000a7e4 lw s3, 0x70(sp) | s3 = *(var_70h);
0x0000a7e8 lw s2, 0x6c(sp) | s2 = *(var_6ch);
0x0000a7ec lw s1, 0x68(sp) | s1 = *(var_68h);
0x0000a7f0 lw s0, 0x64(sp) | s0 = *(var_64h);
0x0000a7f4 addiu sp, sp, 0x80 |
0x0000a7f8 jr ra | return v0;
| label_3:
0x0000a7fc move s2, zero | s2 = 0;
0x0000a800 move s4, zero | s4 = 0;
0x0000a804 move s5, zero | s5 = 0;
0x0000a808 b 0xa734 |
| } while (1);
| label_1:
0x0000a80c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000a810 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000a814 addiu a2, a2, 0x7178 | a2 += 0x7178;
0x0000a818 addiu a1, zero, 0xb | a1 = 0xb;
0x0000a81c jalr t9 | t9 ();
0x0000a820 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000a824 addiu v0, zero, 0xc | v0 = 0xc;
0x0000a828 b 0xa7cc | goto label_0;
| label_2:
0x0000a82c lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000a830 move a2, zero | a2 = 0;
0x0000a834 addiu a1, zero, 0xb | a1 = 0xb;
0x0000a838 move a0, s3 | a0 = s3;
0x0000a83c jalr t9 | t9 ();
0x0000a840 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000a844 lw t9, -0x7c10(gp) | t9 = *((gp - 7940));
0x0000a848 move a0, zero | a0 = 0;
0x0000a84c jalr t9 | t9 ();
0x0000a850 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000a854 addiu v0, zero, 0xc | v0 = 0xc;
0x0000a858 b 0xa7cc | goto label_0;
| label_4:
0x0000a85c lw t9, -0x7c88(gp) | t9 = *((gp - 7970));
0x0000a860 jalr t9 | t9 ();
0x0000a864 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libwsmedia-plugins/libwsmedia-plugin-video.so @ 0xba04 */
| #include <stdint.h>
|
; (fcn) sym.set_video_encoder_configuration_common () | void set_video_encoder_configuration_common () {
0x0000ba04 lui gp, 2 |
0x0000ba08 addiu gp, gp, 0x46ec |
0x0000ba0c addu gp, gp, t9 | gp += t9;
0x0000ba10 addiu sp, sp, -0x48 |
0x0000ba14 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x0000ba18 sw s3, 0x2c(sp) | *(var_2ch) = s3;
0x0000ba1c lw s3, -0x7c48(gp) | s3 = *((gp - 7954));
0x0000ba20 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000ba24 sw ra, 0x44(sp) | *(var_44h) = ra;
0x0000ba28 sw s6, 0x38(sp) | *(var_38h) = s6;
0x0000ba2c sw s2, 0x28(sp) | *(var_28h) = s2;
0x0000ba30 sw s1, 0x24(sp) | *(var_24h) = s1;
0x0000ba34 sw s0, 0x20(sp) | *(var_20h) = s0;
0x0000ba38 sw fp, 0x40(sp) | *(var_40h) = fp;
0x0000ba3c sw s7, 0x3c(sp) | *(var_3ch) = s7;
0x0000ba40 sw s5, 0x34(sp) | *(var_34h) = s5;
0x0000ba44 sw s4, 0x30(sp) | *(var_30h) = s4;
0x0000ba48 lw v0, (s3) | v0 = *(s3);
0x0000ba4c move s6, a0 | s6 = a0;
0x0000ba50 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x0000ba54 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x0000ba58 addiu a0, a0, 0x65dc | a0 += 0x65dc;
0x0000ba5c move s0, a1 | s0 = a1;
0x0000ba60 jalr t9 | t9 ();
0x0000ba64 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ba68 lw a2, 4(s0) | a2 = *((s0 + 1));
0x0000ba6c move a0, v0 | a0 = v0;
0x0000ba70 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x0000ba74 lw t9, -0x7f04(gp) | t9 = *((gp - 8129));
0x0000ba78 addiu a1, a1, 0x621c | a1 += 0x621c;
0x0000ba7c move s2, v0 | s2 = v0;
0x0000ba80 jalr t9 | t9 ();
0x0000ba84 move s1, v0 | s1 = v0;
0x0000ba88 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000ba8c beqz v0, 0xbfd0 | goto label_9;
| }
0x0000ba90 lw a0, (s0) | a0 = *(s0);
0x0000ba94 lw t9, -0x7e0c(gp) | t9 = *((gp - 8067));
| if (a0 != 0) {
0x0000ba98 beqz a0, 0xbaac |
0x0000ba9c jalr t9 | t9 ();
0x0000baa0 nop |
0x0000baa4 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000baa8 beqz v0, 0xbe58 | goto label_10;
| }
| }
0x0000baac lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x0000bab0 lw t9, -0x7e8c(gp) | t9 = *((gp - 8099));
| if (a0 != 0) {
0x0000bab4 beqz a0, 0xbaec |
0x0000bab8 jalr t9 | t9 ();
0x0000babc nop |
0x0000bac0 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000bac4 beqz v0, 0xbd9c | goto label_11;
| }
0x0000bac8 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bacc lw t9, -0x7ba8(gp) | t9 = *((gp - 7914));
0x0000bad0 lw a3, 0x10(s0) | a3 = *((s0 + 4));
0x0000bad4 addiu a2, a2, 0x72ac | a2 += 0x72ac;
0x0000bad8 move a1, s1 | a1 = s1;
0x0000badc move a0, s2 | a0 = s2;
0x0000bae0 jalr t9 | t9 ();
0x0000bae4 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bae8 bnez v0, 0xbe68 | goto label_12;
| }
| }
0x0000baec lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000baf0 lw t9, -0x7ba8(gp) | t9 = *((gp - 7914));
0x0000baf4 lw a3, 8(s0) | a3 = *((s0 + 2));
0x0000baf8 addiu a2, a2, 0x72e8 | a2 += 0x72e8;
0x0000bafc move a1, s1 | a1 = s1;
0x0000bb00 move a0, s2 | a0 = s2;
0x0000bb04 jalr t9 | t9 ();
0x0000bb08 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bb0c bnez v0, 0xbea8 | goto label_13;
| }
0x0000bb10 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bb14 lw t9, -0x7ba8(gp) | t9 = *((gp - 7914));
0x0000bb18 lw a3, 0xc(s0) | a3 = *((s0 + 3));
0x0000bb1c addiu a2, a2, 0x6258 | a2 += 0x6258;
0x0000bb20 move a1, s1 | a1 = s1;
0x0000bb24 move a0, s2 | a0 = s2;
0x0000bb28 jalr t9 | t9 ();
0x0000bb2c lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bb30 bnez v0, 0xbe48 | goto label_14;
| }
0x0000bb34 lw a3, 0x14(s0) | a3 = *((s0 + 5));
0x0000bb38 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
| if (a3 != 0) {
0x0000bb3c beqz a3, 0xbb5c |
0x0000bb40 lw t9, -0x7ba8(gp) | t9 = *((gp - 7914));
0x0000bb44 addiu a2, a2, 0x7258 | a2 += 0x7258;
0x0000bb48 move a1, s1 | a1 = s1;
0x0000bb4c move a0, s2 | a0 = s2;
0x0000bb50 jalr t9 | t9 ();
0x0000bb54 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bb58 bnez v0, 0xc014 | goto label_15;
| }
| }
0x0000bb5c lw t9, -0x7f10(gp) | t9 = *((gp - 8132));
0x0000bb60 jalr t9 | t9 ();
0x0000bb64 nop |
0x0000bb68 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000bb6c beqz v0, 0xbeb8 | goto label_16;
| }
0x0000bb70 addiu s5, zero, 1 | s5 = 1;
| label_3:
0x0000bb74 lw t9, -0x7e5c(gp) | t9 = *((gp - 8087));
| if (v0 == s5) {
0x0000bb78 beq v0, s5, 0xbe78 | goto label_17;
| }
0x0000bb7c lw a1, 4(s0) | a1 = *((s0 + 1));
0x0000bb80 addiu a2, sp, 0x18 | a2 = sp + 0x18;
0x0000bb84 move a0, s6 | a0 = s6;
0x0000bb88 jalr t9 | t9 ();
0x0000bb8c lw v1, 0x18(sp) | v1 = *(var_18h_2);
0x0000bb90 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bb94 move s4, v0 | s4 = v0;
| if (v1 == s5) {
0x0000bb98 beq v1, s5, 0xbfb8 | goto label_18;
| }
0x0000bb9c lw t9, -0x7cd4(gp) | t9 = *((gp - 7989));
| if (v1 == 0) {
0x0000bba0 beqz v1, 0xbe34 | goto label_19;
| }
0x0000bba4 lw t9, -0x7d24(gp) | t9 = *((gp - 8009));
0x0000bba8 addiu a1, zero, 1 | a1 = 1;
0x0000bbac move a0, v0 | a0 = v0;
0x0000bbb0 jalr t9 | t9 ();
0x0000bbb4 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bbb8 move s5, v0 | s5 = v0;
| label_0:
0x0000bbbc lw t9, -0x7e3c(gp) | t9 = *((gp - 8079));
| if (s4 == 0) {
0x0000bbc0 beqz s4, 0xbe90 | goto label_20;
| }
| label_2:
0x0000bbc4 lw t9, -0x7c14(gp) | t9 = *((gp - 7941));
0x0000bbc8 lw a1, 0x20(s0) | a1 = *((s0 + 8));
0x0000bbcc lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0000bbd0 move a2, s5 | a2 = s5;
0x0000bbd4 jalr t9 | t9 ();
0x0000bbd8 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000bbdc beqz v0, 0xbf0c | goto label_21;
| }
0x0000bbe0 lw t9, -0x7da4(gp) | t9 = *((gp - 8041));
0x0000bbe4 jalr t9 | t9 ();
0x0000bbe8 nop |
0x0000bbec lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bbf0 bnez v0, 0xbef0 | goto label_22;
| }
| label_5:
0x0000bbf4 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bbf8 lw t9, -0x7c0c(gp) | t9 = *((gp - 7939));
0x0000bbfc lw a3, 0x1c(s0) | a3 = *((s0 + 7));
0x0000bc00 addiu a2, a2, 0x6238 | a2 += 0x6238;
0x0000bc04 move a1, s1 | a1 = s1;
0x0000bc08 move a0, s2 | a0 = s2;
0x0000bc0c jalr t9 | t9 ();
0x0000bc10 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bc14 bnez v0, 0xbecc | goto label_23;
| }
0x0000bc18 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bc1c lw t9, -0x7c0c(gp) | t9 = *((gp - 7939));
0x0000bc20 lw a3, 0x20(s0) | a3 = *((s0 + 8));
0x0000bc24 addiu a2, a2, 0x6240 | a2 += 0x6240;
0x0000bc28 move a1, s1 | a1 = s1;
0x0000bc2c move a0, s2 | a0 = s2;
0x0000bc30 jalr t9 | t9 ();
0x0000bc34 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bc38 bnez v0, 0xbecc | goto label_23;
| }
0x0000bc3c lw a3, 0x24(s0) | a3 = *((s0 + 9));
0x0000bc40 sltiu v0, a3, 0x65 | v0 = (a3 < 0x65) ? 1 : 0;
0x0000bc44 move a1, s1 | a1 = s1;
| if (v0 == 0) {
0x0000bc48 beqz v0, 0xbf64 | goto label_24;
| }
0x0000bc4c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bc50 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000bc54 addiu a2, a2, 0x738c | a2 += 0x738c;
0x0000bc58 move a0, s2 | a0 = s2;
0x0000bc5c jalr t9 | t9 ();
0x0000bc60 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bc64 bnez v0, 0xbf64 | goto label_24;
| }
0x0000bc68 lw v0, 0x28(s0) | v0 = *((s0 + 10));
| if (v0 == 0) {
0x0000bc6c beql v0, zero, 0xbf20 | goto label_25;
| }
0x0000bc70 lw a3, 0x18(s0) | a3 = *((s0 + 6));
0x0000bc74 move s7, s4 | s7 = s4;
| if (s4 == 0) {
0x0000bc78 beqz s4, 0xc024 | goto label_26;
| }
0x0000bc7c move fp, zero | fp = 0;
| do {
0x0000bc80 lw t9, -0x7bac(gp) | t9 = *((gp - 7915));
0x0000bc84 lw a0, (s7) | a0 = *(s7);
0x0000bc88 move a1, zero | a1 = 0;
0x0000bc8c jalr t9 | t9 ();
0x0000bc90 lw s7, 4(s7) | s7 = *((s7 + 1));
0x0000bc94 slt v1, fp, v0 | v1 = (fp < v0) ? 1 : 0;
0x0000bc98 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v1 == 0) {
0x0000bc9c movn fp, v0, v1 | fp = v0;
| }
0x0000bca0 bnez s7, 0xbc80 |
| } while (s7 != 0);
| label_8:
0x0000bca4 lw t9, -0x7f48(gp) | t9 = *((gp - 8146));
0x0000bca8 jalr t9 | t9 ();
0x0000bcac nop |
0x0000bcb0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bcb4 move a0, fp | a0 = fp;
0x0000bcb8 lw s7, 0x2c(s0) | s7 = *((s0 + 11));
0x0000bcbc lw t9, -0x7f9c(gp) | t9 = *((gp - 8167));
0x0000bcc0 move fp, v0 | fp = v0;
0x0000bcc4 bal 0x14d30 | fcn_00014d30 ();
0x0000bcc8 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bccc move a1, v0 | a1 = v0;
0x0000bcd0 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x0000bcd4 move a0, s7 | a0 = s7;
0x0000bcd8 bal 0x14a10 | fcn_00014a10 ();
0x0000bcdc lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 > 0) {
0x0000bce0 bgtz v0, 0xbfe4 | goto label_27;
| }
0x0000bce4 lw t9, -0x7f9c(gp) | t9 = *((gp - 8167));
0x0000bce8 move a0, fp | a0 = fp;
0x0000bcec bal 0x14d30 | fcn_00014d30 ();
0x0000bcf0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bcf4 move a1, v0 | a1 = v0;
0x0000bcf8 lw t9, -0x7fc8(gp) | t9 = *((gp - 8178));
0x0000bcfc move a0, s7 | a0 = s7;
0x0000bd00 bal 0x14b30 | fcn_00014b30 ();
0x0000bd04 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 < 0) {
0x0000bd08 bltz v0, 0xbfe4 | goto label_27;
| }
0x0000bd0c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bd10 lw t9, -0x7d80(gp) | t9 = *((gp - 8032));
0x0000bd14 move a3, s7 | a3 = s7;
0x0000bd18 addiu a2, a2, 0x6248 | a2 += 0x6248;
0x0000bd1c move a1, s1 | a1 = s1;
0x0000bd20 move a0, s2 | a0 = s2;
0x0000bd24 jalr t9 | t9 ();
0x0000bd28 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bd2c bnez v0, 0xbfe4 | goto label_27;
| }
0x0000bd30 lw a3, 0x30(s0) | a3 = *((s0 + 12));
0x0000bd34 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
| if (a3 == 0) {
0x0000bd38 bnez a3, 0xbd44 |
0x0000bd3c lui a3, 0x7fff | a3 = 0x7fffffff;
0x0000bd40 ori a3, a3, 0xffff |
| }
0x0000bd44 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000bd48 addiu a2, a2, 0x73ac | a2 += 0x73ac;
0x0000bd4c move a1, s1 | a1 = s1;
0x0000bd50 move a0, s2 | a0 = s2;
0x0000bd54 jalr t9 | t9 ();
0x0000bd58 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bd5c bnez v0, 0xc02c | goto label_28;
| }
0x0000bd60 lw a3, 0x34(s0) | a3 = *((s0 + 13));
| if (a3 == 0) {
0x0000bd64 beql a3, zero, 0xbf20 | goto label_25;
| }
0x0000bd68 lw a3, 0x18(s0) | a3 = *((s0 + 6));
0x0000bd6c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bd70 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000bd74 addiu a2, a2, 0x73bc | a2 += 0x73bc;
0x0000bd78 move a1, s1 | a1 = s1;
0x0000bd7c move a0, s2 | a0 = s2;
0x0000bd80 jalr t9 | t9 ();
0x0000bd84 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000bd88 beqz v0, 0xbf1c | goto label_29;
| }
0x0000bd8c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bd90 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bd94 addiu a2, a2, 0x73d0 | a2 += 0x73d0;
0x0000bd98 b 0xbed8 | goto label_6;
| label_11:
0x0000bd9c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bda0 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bda4 addiu a2, a2, 0x7298 | a2 += 0x7298;
| do {
| label_1:
0x0000bda8 addiu a1, zero, 0xb | a1 = 0xb;
| label_7:
0x0000bdac move a0, s6 | a0 = s6;
0x0000bdb0 jalr t9 | t9 ();
0x0000bdb4 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bdb8 move s4, zero | s4 = 0;
0x0000bdbc move s5, zero | s5 = 0;
0x0000bdc0 addiu s0, zero, 0xc | s0 = 0xc;
| label_4:
0x0000bdc4 lw t9, -0x7c58(gp) | t9 = *((gp - 7958));
0x0000bdc8 move a0, s5 | a0 = s5;
0x0000bdcc jalr t9 | t9 ();
0x0000bdd0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bdd4 lw t9, -0x7c58(gp) | t9 = *((gp - 7958));
0x0000bdd8 move a0, s4 | a0 = s4;
0x0000bddc jalr t9 | t9 ();
0x0000bde0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bde4 lw t9, -0x7c10(gp) | t9 = *((gp - 7940));
0x0000bde8 move a0, s1 | a0 = s1;
0x0000bdec jalr t9 | t9 ();
0x0000bdf0 lw a0, 0x1c(sp) | a0 = *(var_1ch);
0x0000bdf4 lw v1, (s3) | v1 = *(s3);
0x0000bdf8 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bdfc move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x0000be00 bne a0, v1, 0xc03c | goto label_30;
| }
0x0000be04 lw ra, 0x44(sp) | ra = *(var_44h);
0x0000be08 lw fp, 0x40(sp) | fp = *(var_40h);
0x0000be0c lw s7, 0x3c(sp) | s7 = *(var_3ch);
0x0000be10 lw s6, 0x38(sp) | s6 = *(var_38h);
0x0000be14 lw s5, 0x34(sp) | s5 = *(var_34h);
0x0000be18 lw s4, 0x30(sp) | s4 = *(var_30h);
0x0000be1c lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x0000be20 lw s2, 0x28(sp) | s2 = *(var_28h);
0x0000be24 lw s1, 0x24(sp) | s1 = *(var_24h);
0x0000be28 lw s0, 0x20(sp) | s0 = *(var_20h);
0x0000be2c addiu sp, sp, 0x48 |
0x0000be30 jr ra | return v0;
| label_19:
0x0000be34 jalr t9 | t9 ();
0x0000be38 nop |
0x0000be3c move s5, v0 | s5 = v0;
0x0000be40 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000be44 b 0xbbbc | goto label_0;
| label_14:
0x0000be48 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000be4c lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000be50 addiu a2, a2, 0x7310 | a2 += 0x7310;
0x0000be54 b 0xbda8 |
| } while (1);
| label_10:
0x0000be58 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000be5c lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000be60 addiu a2, a2, 0x7280 | a2 += 0x7280;
0x0000be64 b 0xbda8 | goto label_1;
| label_12:
0x0000be68 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000be6c lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000be70 addiu a2, a2, 0x72bc | a2 += 0x72bc;
0x0000be74 b 0xbda8 | goto label_1;
| label_17:
0x0000be78 lw t9, -0x7ea8(gp) | t9 = *((gp - 8106));
0x0000be7c addiu a0, zero, 1 | a0 = 1;
0x0000be80 jalr t9 | t9 ();
0x0000be84 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000be88 move s5, v0 | s5 = v0;
0x0000be8c lw t9, -0x7e3c(gp) | t9 = *((gp - 8079));
| label_20:
0x0000be90 addiu a1, zero, 1 | a1 = 1;
0x0000be94 move a0, zero | a0 = 0;
0x0000be98 jalr t9 | t9 ();
0x0000be9c move s4, v0 | s4 = v0;
0x0000bea0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bea4 b 0xbbc4 | goto label_2;
| label_13:
0x0000bea8 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000beac lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000beb0 addiu a2, a2, 0x72f0 | a2 += 0x72f0;
0x0000beb4 b 0xbda8 | goto label_1;
| label_16:
0x0000beb8 lw t9, -0x7e54(gp) | t9 = *((gp - 8085));
0x0000bebc addiu s5, zero, 1 | s5 = 1;
0x0000bec0 jalr t9 | t9 ();
0x0000bec4 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bec8 b 0xbb74 | goto label_3;
| label_23:
0x0000becc lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bed0 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bed4 addiu a2, a2, 0x7368 | a2 += 0x7368;
| do {
| label_6:
0x0000bed8 addiu a1, zero, 0xb | a1 = 0xb;
0x0000bedc move a0, s6 | a0 = s6;
0x0000bee0 jalr t9 | t9 ();
0x0000bee4 addiu s0, zero, 0xc | s0 = 0xc;
0x0000bee8 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000beec b 0xbdc4 | goto label_4;
| label_22:
0x0000bef0 lw t9, -0x7d5c(gp) | t9 = *((gp - 8023));
0x0000bef4 addiu a2, s0, 0x20 | a2 = s0 + 0x20;
0x0000bef8 addiu a1, s0, 0x1c | a1 = s0 + 0x1c;
0x0000befc move a0, s5 | a0 = s5;
0x0000bf00 jalr t9 | t9 ();
0x0000bf04 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bf08 b 0xbbf4 | goto label_5;
| label_21:
0x0000bf0c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bf10 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bf14 addiu a2, a2, 0x7358 | a2 += 0x7358;
0x0000bf18 b 0xbed8 |
| } while (1);
| label_29:
0x0000bf1c lw a3, 0x18(s0) | a3 = *((s0 + 6));
| label_25:
0x0000bf20 addiu v0, zero, -1 | v0 = -1;
0x0000bf24 addiu v0, a3, -1 | v0 = a3 + -1;
| if (a3 != v0) {
0x0000bf28 beq a3, v0, 0xbf74 |
0x0000bf2c sltiu v0, v0, 0x7fff | v0 = (v0 < 0x7fff) ? 1 : 0;
0x0000bf30 move a1, s1 | a1 = s1;
| if (v0 != 0) {
0x0000bf34 beqz v0, 0xbf54 |
0x0000bf38 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bf3c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000bf40 addiu a2, a2, 0x73fc | a2 += 0x73fc;
0x0000bf44 move a0, s2 | a0 = s2;
0x0000bf48 jalr t9 | t9 ();
0x0000bf4c lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000bf50 beqz v0, 0xbf74 | goto label_31;
| }
| }
0x0000bf54 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bf58 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bf5c addiu a2, a2, 0x73f8 | a2 += 0x73f8;
0x0000bf60 b 0xbed8 | goto label_6;
| label_24:
0x0000bf64 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bf68 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bf6c addiu a2, a2, 0x7388 | a2 += 0x7388;
0x0000bf70 b 0xbed8 | goto label_6;
| }
| label_31:
0x0000bf74 lw a2, (s0) | a2 = *(s0);
0x0000bf78 lw t9, -0x7e50(gp) | t9 = *((gp - 8084));
| if (a2 != 0) {
0x0000bf7c beqz a2, 0xbf9c |
0x0000bf80 move a1, s1 | a1 = s1;
0x0000bf84 move a0, s6 | a0 = s6;
0x0000bf88 jalr t9 | t9 ();
0x0000bf8c lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000bf90 bnez v0, 0xbf9c | goto label_32;
| }
0x0000bf94 addiu s0, zero, 0xc | s0 = 0xc;
0x0000bf98 b 0xbdc4 | goto label_4;
| }
| label_32:
0x0000bf9c lw t9, -0x7c54(gp) | t9 = *((gp - 7957));
0x0000bfa0 move a0, s2 | a0 = s2;
0x0000bfa4 jalr t9 | t9 ();
0x0000bfa8 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000bfac bnez v0, 0xbff4 |
0x0000bfb0 move s0, zero | s0 = 0;
0x0000bfb4 b 0xbdc4 | goto label_4;
| label_18:
0x0000bfb8 lw t9, -0x7ea8(gp) | t9 = *((gp - 8106));
0x0000bfbc lw a0, (v0) | a0 = *(v0);
0x0000bfc0 jalr t9 | t9 ();
0x0000bfc4 move s5, v0 | s5 = v0;
0x0000bfc8 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000bfcc b 0xbbc4 | goto label_2;
| label_9:
0x0000bfd0 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bfd4 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bfd8 addiu a2, a2, 0x7274 | a2 += 0x7274;
0x0000bfdc addiu a1, zero, 8 | a1 = 8;
0x0000bfe0 b 0xbdac | goto label_7;
| label_27:
0x0000bfe4 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000bfe8 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000bfec addiu a2, a2, 0x7394 | a2 += 0x7394;
0x0000bff0 b 0xbed8 | goto label_6;
| }
0x0000bff4 lw t9, -0x7ed0(gp) | t9 = *((gp - 8116));
0x0000bff8 move a2, zero | a2 = 0;
0x0000bffc addiu a1, zero, 0xf | a1 = 0xf;
0x0000c000 move a0, s6 | a0 = s6;
0x0000c004 jalr t9 | t9 ();
0x0000c008 addiu s0, zero, 0xc | s0 = 0xc;
0x0000c00c lw gp, 0x10(sp) | gp = *(var_10h);
0x0000c010 b 0xbdc4 | goto label_4;
| label_15:
0x0000c014 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000c018 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000c01c addiu a2, a2, 0x7334 | a2 += 0x7334;
0x0000c020 b 0xbda8 | goto label_1;
| label_26:
0x0000c024 move fp, zero | fp = 0;
0x0000c028 b 0xbca4 | goto label_8;
| label_28:
0x0000c02c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000c030 lw t9, -0x7c70(gp) | t9 = *((gp - 7964));
0x0000c034 addiu a2, a2, 0x73a8 | a2 += 0x73a8;
0x0000c038 b 0xbed8 | goto label_6;
| label_30:
0x0000c03c lw t9, -0x7c88(gp) | t9 = *((gp - 7970));
0x0000c040 jalr t9 | t9 ();
0x0000c044 nop |
| }
[*] Function system used 1 times libwsmedia-plugin-video.so