[*] Binary protection state of confcached
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of confcached
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x41fc */
| #include <stdint.h>
|
; (fcn) fcn.000041fc () | void fcn_000041fc () {
0x000041fc lui gp, 2 |
0x00004200 addiu gp, gp, -0x21ec |
0x00004204 addu gp, gp, t9 | gp += t9;
0x00004208 addiu sp, sp, -0x28 |
0x0000420c lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00004210 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x00004214 move s0, a0 | s0 = a0;
0x00004218 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000421c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00004220 sw ra, 0x24(sp) | *(var_24h) = ra;
0x00004224 sw s1, 0x20(sp) | *(var_20h) = s1;
0x00004228 addiu a0, a0, -0x71a4 | a0 += -0x71a4;
0x0000422c jalr t9 | t9 ();
0x00004230 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004234 lw a0, (s0) | a0 = *(s0);
0x00004238 lw t9, -0x7f10(gp) | t9 = sym.imp.g_list_first;
0x0000423c move s1, v0 | s1 = v0;
0x00004240 jalr t9 | t9 ();
0x00004244 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x00004248 beqz v0, 0x4280 | goto label_0;
| }
0x0000424c move s0, v0 | s0 = v0;
0x00004250 b 0x4260 |
| while (v0 != 0) {
0x00004254 lw s0, 4(s0) | s0 = *((s0 + 1));
| if (s0 == 0) {
0x00004258 beql s0, zero, 0x4284 | goto label_1;
| }
0x0000425c move s0, zero | s0 = 0;
0x00004260 lw t9, -0x7dc8(gp) | t9 = *((gp - 8050));
0x00004264 lw a0, (s0) | a0 = *(s0);
0x00004268 move a1, s1 | a1 = s1;
0x0000426c jalr t9 | t9 ();
0x00004270 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004274 bnez v0, 0x4254 |
| }
0x00004278 addiu s0, zero, 1 | s0 = 1;
0x0000427c b 0x4284 | goto label_1;
| label_0:
0x00004280 move s0, zero | s0 = 0;
| label_1:
0x00004284 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00004288 move a0, s1 | a0 = s1;
0x0000428c jalr t9 | t9 ();
0x00004290 lw ra, 0x24(sp) | ra = *(var_24h);
0x00004294 move v0, s0 | v0 = s0;
0x00004298 lw s1, 0x20(sp) | s1 = *(var_20h);
0x0000429c lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x000042a0 addiu sp, sp, 0x28 |
0x000042a4 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x451c */
| #include <stdint.h>
|
; (fcn) fcn.0000451c () | void fcn_0000451c () {
0x0000451c lui gp, 2 |
0x00004520 addiu gp, gp, -0x250c |
0x00004524 addu gp, gp, t9 | gp += t9;
0x00004528 addiu sp, sp, -0x60 |
0x0000452c sw gp, 0x20(sp) | *(var_20h) = gp;
0x00004530 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x00004534 sw fp, 0x58(sp) | *(var_58h) = fp;
0x00004538 sw s7, 0x54(sp) | *(var_54h) = s7;
0x0000453c sw s6, 0x50(sp) | *(var_50h) = s6;
0x00004540 sw s5, 0x4c(sp) | *(var_4ch) = s5;
0x00004544 sw s4, 0x48(sp) | *(var_48h) = s4;
0x00004548 sw s3, 0x44(sp) | *(var_44h) = s3;
0x0000454c sw s2, 0x40(sp) | *(var_40h) = s2;
0x00004550 sw s1, 0x3c(sp) | *(var_3ch) = s1;
0x00004554 sw s0, 0x38(sp) | *(var_38h) = s0;
0x00004558 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a0 == 0) {
0x0000455c beqz a0, 0x45f8 | goto label_2;
| }
0x00004560 move s1, a1 | s1 = a1;
| if (a1 == 0) {
0x00004564 beqz a1, 0x461c | goto label_3;
| }
0x00004568 move fp, a2 | fp = a2;
| if (a2 == 0) {
0x0000456c beqz a2, 0x4648 | goto label_4;
| }
0x00004570 move s7, a3 | s7 = a3;
| if (a3 == 0) {
0x00004574 beqz a3, 0x4674 | goto label_5;
| }
0x00004578 move s3, a0 | s3 = a0;
0x0000457c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004580 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00004584 move a3, a2 | a3 = a2;
0x00004588 addiu a0, a0, -0x7140 | a0 += -0x7140;
0x0000458c move a2, s7 | a2 = s7;
0x00004590 jalr t9 | t9 ();
0x00004594 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004598 lw a0, (s3) | a0 = *(s3);
0x0000459c move a1, v0 | a1 = v0;
0x000045a0 lw t9, -0x7ee0(gp) | t9 = sym.imp.g_hash_table_lookup;
0x000045a4 move s2, v0 | s2 = v0;
0x000045a8 jalr t9 | t9 ();
0x000045ac move s0, v0 | s0 = v0;
0x000045b0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000045b4 beqz v0, 0x46a0 |
| while (1) {
| label_0:
0x000045b8 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x000045bc move a0, s2 | a0 = s2;
0x000045c0 jalr t9 | t9 ();
0x000045c4 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x000045c8 move v0, s0 | v0 = s0;
0x000045cc lw fp, 0x58(sp) | fp = *(var_58h);
0x000045d0 lw s7, 0x54(sp) | s7 = *(var_54h);
0x000045d4 lw s6, 0x50(sp) | s6 = *(var_50h);
0x000045d8 lw s5, 0x4c(sp) | s5 = *(var_4ch);
0x000045dc lw s4, 0x48(sp) | s4 = *(var_48h);
0x000045e0 lw s3, 0x44(sp) | s3 = *(var_44h);
0x000045e4 lw s2, 0x40(sp) | s2 = *(var_40h);
0x000045e8 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x000045ec lw s0, 0x38(sp) | s0 = *(var_38h);
0x000045f0 addiu sp, sp, 0x60 |
0x000045f4 jr ra | return v0;
| label_2:
0x000045f8 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x000045fc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004600 addiu v0, v0, -0x75dc | v0 += -0x75dc;
0x00004604 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004608 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000460c addiu a3, a3, -0x6da4 | a3 += -0x6da4;
0x00004610 addiu a2, zero, 0x145 | a2 = 0x145;
0x00004614 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004618 jalr t9 | t9 ();
| label_3:
0x0000461c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004620 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004624 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004628 addiu v0, v0, -0x7178 | v0 += -0x7178;
0x0000462c lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004630 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004634 addiu a3, a3, -0x6da4 | a3 += -0x6da4;
0x00004638 addiu a2, zero, 0x146 | a2 = 0x146;
0x0000463c addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004640 move a0, zero | a0 = 0;
0x00004644 jalr t9 | t9 ();
| label_4:
0x00004648 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000464c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004650 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004654 addiu v0, v0, -0x7164 | v0 += -0x7164;
0x00004658 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x0000465c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004660 addiu a3, a3, -0x6da4 | a3 += -0x6da4;
0x00004664 addiu a2, zero, 0x147 | a2 = 0x147;
0x00004668 addiu a1, a1, -0x719c | a1 += -0x719c;
0x0000466c move a0, zero | a0 = 0;
0x00004670 jalr t9 | t9 ();
| label_5:
0x00004674 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004678 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000467c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004680 addiu v0, v0, -0x7154 | v0 += -0x7154;
0x00004684 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004688 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000468c addiu a3, a3, -0x6da4 | a3 += -0x6da4;
0x00004690 addiu a2, zero, 0x148 | a2 = 0x148;
0x00004694 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004698 move a0, zero | a0 = 0;
0x0000469c jalr t9 | t9 ();
0x000046a0 lw v0, 0x70(sp) | v0 = *(arg_70h);
0x000046a4 lw t9, -0x7f20(gp) | t9 = sym.imp.g_dbus_proxy_new_for_bus_sync;
0x000046a8 addiu a0, zero, 1 | a0 = 1;
0x000046ac sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x000046b0 sw zero, 0x18(sp) | *(var_18h) = 0;
0x000046b4 sw s7, 0x14(sp) | *(var_14h) = s7;
0x000046b8 sw fp, 0x10(sp) | *(var_10h) = fp;
0x000046bc move a3, s1 | a3 = s1;
0x000046c0 move a2, zero | a2 = 0;
0x000046c4 move a1, zero | a1 = 0;
0x000046c8 jalr t9 | t9 ();
0x000046cc lw v1, 0x70(sp) | v1 = *(arg_70h);
0x000046d0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000046d4 lw a0, (v1) | a0 = *(v1);
0x000046d8 move s0, v0 | s0 = v0;
| if (a0 == 0) {
0x000046dc beqz a0, 0x471c | goto label_6;
| }
0x000046e0 lw v0, 8(a0) | v0 = *((a0 + 2));
0x000046e4 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x000046e8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000046ec lw t9, -0x7f3c(gp) | t9 = sym.imp.g_log;
0x000046f0 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x000046f4 sw s7, 0x18(sp) | *(var_18h) = s7;
0x000046f8 sw fp, 0x14(sp) | *(var_14h) = fp;
0x000046fc sw s1, 0x10(sp) | *(var_10h) = s1;
0x00004700 addiu a3, a3, -0x702c | a3 += -0x702c;
0x00004704 addiu a2, a2, -0x7138 | a2 += -0x7138;
0x00004708 addiu a1, zero, 0x10 | a1 = 0x10;
0x0000470c move a0, zero | a0 = 0;
0x00004710 jalr t9 | t9 ();
0x00004714 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004718 b 0x45b8 |
| }
| label_6:
0x0000471c lw t9, -0x7dcc(gp) | t9 = sym.imp.g_strdup;
0x00004720 move a0, s2 | a0 = s2;
0x00004724 lw s4, (s3) | s4 = *(s3);
0x00004728 jalr t9 | t9 ();
0x0000472c lw gp, 0x20(sp) | gp = *(var_20h);
0x00004730 move a2, s0 | a2 = s0;
0x00004734 move a1, v0 | a1 = v0;
0x00004738 lw t9, -0x7eb8(gp) | t9 = sym.imp.g_hash_table_replace;
0x0000473c move a0, s4 | a0 = s4;
0x00004740 jalr t9 | t9 ();
0x00004744 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004748 move a0, s0 | a0 = s0;
0x0000474c lw t9, -0x7d88(gp) | t9 = sym.imp.g_dbus_proxy_get_cached_property_names;
0x00004750 lw s5, 4(s3) | s5 = *((s3 + 1));
0x00004754 jalr t9 | t9 ();
0x00004758 move s6, v0 | s6 = v0;
0x0000475c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00004760 beqz v0, 0x45b8 | goto label_0;
| }
0x00004764 lw a1, (v0) | a1 = *(v0);
0x00004768 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a1 == 0) {
0x0000476c beqz a1, 0x4838 | goto label_7;
| }
0x00004770 lw s4, -0x7fc4(gp) | s4 = *((gp - 8177));
0x00004774 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00004778 addiu v0, s4, 0x42a8 | v0 = s4 + fcn.000042a8;
0x0000477c sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00004780 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004784 move s3, s6 | s3 = s6;
0x00004788 addiu v0, v0, -0x702c | v0 += -0x702c;
0x0000478c sw v0, 0x30(sp) | *(var_30h) = v0;
0x00004790 b 0x47e8 |
| while (v0 != 0) {
0x00004794 lw t9, 0x2c(sp) | t9 = *(var_2ch);
0x00004798 move a0, v0 | a0 = v0;
0x0000479c jalr t9 | t9 ();
0x000047a0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000047a4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000047a8 lw v0, (s3) | v0 = *(s3);
0x000047ac lw t9, -0x7fb4(gp) | t9 = sym.dbus_insert_property_into_cache;
0x000047b0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000047b4 move a3, s7 | a3 = s7;
0x000047b8 move a2, fp | a2 = fp;
0x000047bc move a1, s1 | a1 = s1;
0x000047c0 move a0, s5 | a0 = s5;
0x000047c4 bal 0x4474 | sym_dbus_insert_property_into_cache ();
0x000047c8 lw gp, 0x20(sp) | gp = *(var_20h);
| label_1:
0x000047cc lw t9, -0x7ed0(gp) | t9 = sym.imp.g_variant_unref;
0x000047d0 addiu s3, s3, 4 | s3 += 4;
0x000047d4 move a0, s4 | a0 = s4;
0x000047d8 jalr t9 | t9 ();
0x000047dc lw a1, (s3) | a1 = *(s3);
0x000047e0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a1 == 0) {
0x000047e4 beqz a1, 0x4838 | goto label_7;
| }
0x000047e8 lw t9, -0x7f04(gp) | t9 = sym.imp.g_dbus_proxy_get_cached_property;
0x000047ec move a0, s0 | a0 = s0;
0x000047f0 jalr t9 | t9 ();
0x000047f4 move s4, v0 | s4 = v0;
0x000047f8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000047fc bnez v0, 0x4794 |
| }
0x00004800 lw v0, (s3) | v0 = *(s3);
0x00004804 lw t9, -0x7f3c(gp) | t9 = sym.imp.g_log;
0x00004808 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x0000480c lw v0, 0x34(sp) | v0 = *(var_34h);
0x00004810 lw a3, 0x30(sp) | a3 = *(var_30h);
0x00004814 sw s7, 0x18(sp) | *(var_18h) = s7;
0x00004818 sw fp, 0x14(sp) | *(var_14h) = fp;
0x0000481c sw s1, 0x10(sp) | *(var_10h) = s1;
0x00004820 addiu a2, v0, -0x710c | a2 = v0 + -0x710c;
0x00004824 addiu a1, zero, 0x10 | a1 = 0x10;
0x00004828 move a0, zero | a0 = 0;
0x0000482c jalr t9 | t9 ();
0x00004830 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004834 b 0x47cc | goto label_1;
| label_7:
0x00004838 lw t9, -0x7f18(gp) | t9 = sym.imp.g_strfreev;
0x0000483c move a0, s6 | a0 = s6;
0x00004840 jalr t9 | t9 ();
0x00004844 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004848 b 0x45b8 | goto label_0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x484c */
| #include <stdint.h>
|
; (fcn) fcn.0000484c () | void fcn_0000484c () {
0x0000484c lui gp, 2 |
0x00004850 addiu gp, gp, -0x283c |
0x00004854 addu gp, gp, t9 | gp += t9;
0x00004858 addiu sp, sp, -0x38 |
0x0000485c sw gp, 0x20(sp) | *(var_20h) = gp;
0x00004860 sw s0, 0x28(sp) | *(var_28h) = s0;
0x00004864 sw ra, 0x34(sp) | *(var_34h) = ra;
0x00004868 sw s2, 0x30(sp) | *(var_30h) = s2;
0x0000486c sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00004870 lw s0, 0x50(sp) | s0 = *(arg_50h);
| if (a0 == 0) {
0x00004874 beqz a0, 0x493c | goto label_0;
| }
0x00004878 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a1 == 0) {
0x0000487c beqz a1, 0x4964 | goto label_1;
| }
0x00004880 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a2 == 0) {
0x00004884 beqz a2, 0x498c | goto label_2;
| }
0x00004888 move s1, a3 | s1 = a3;
| if (a3 == 0) {
0x0000488c beqz a3, 0x49b4 | goto label_3;
| }
0x00004890 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00004894 addiu t9, t9, 0x451c | t9 += fcn.0000451c;
0x00004898 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0000489c bal 0x451c | fcn_0000451c ();
0x000048a0 move s2, v0 | s2 = v0;
0x000048a4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000048a8 beqz v0, 0x4930 | goto label_4;
| }
0x000048ac lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000048b0 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x000048b4 lw a2, 0x48(sp) | a2 = *(arg_48h);
0x000048b8 move a1, s1 | a1 = s1;
0x000048bc addiu a0, a0, -0x70cc | a0 += -0x70cc;
0x000048c0 jalr t9 | t9 ();
0x000048c4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000048c8 move s1, v0 | s1 = v0;
0x000048cc addiu v0, zero, 0x2710 | v0 = 0x2710;
0x000048d0 lw t9, -0x7df8(gp) | t9 = sym.imp.g_dbus_proxy_call_sync;
0x000048d4 sw s0, 0x18(sp) | *(var_18h_2) = s0;
0x000048d8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000048dc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000048e0 move a3, zero | a3 = 0;
0x000048e4 move a2, zero | a2 = 0;
0x000048e8 move a1, s1 | a1 = s1;
0x000048ec move a0, s2 | a0 = s2;
0x000048f0 jalr t9 | t9 ();
0x000048f4 lw v1, 0x4c(sp) | v1 = *(arg_4ch);
0x000048f8 lw s0, (s0) | s0 = *(s0);
0x000048fc lw gp, 0x20(sp) | gp = *(var_20h);
0x00004900 sltiu s0, s0, 1 | s0 = (s0 < 1) ? 1 : 0;
0x00004904 sw v0, (v1) | *(v1) = v0;
| do {
0x00004908 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x0000490c move a0, s1 | a0 = s1;
0x00004910 jalr t9 | t9 ();
0x00004914 lw ra, 0x34(sp) | ra = *(var_34h);
0x00004918 move v0, s0 | v0 = s0;
0x0000491c lw s2, 0x30(sp) | s2 = *(var_30h);
0x00004920 lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x00004924 lw s0, 0x28(sp) | s0 = *(var_28h);
0x00004928 addiu sp, sp, 0x38 |
0x0000492c jr ra | return v0;
| label_4:
0x00004930 move s1, zero | s1 = 0;
0x00004934 move s0, zero | s0 = 0;
0x00004938 b 0x4908 |
| } while (1);
| label_0:
0x0000493c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004940 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004944 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004948 addiu v0, v0, -0x75dc | v0 += -0x75dc;
0x0000494c lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004950 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004954 addiu a3, a3, -0x6d94 | a3 += -0x6d94;
0x00004958 addiu a2, zero, 0x165 | a2 = 0x165;
0x0000495c addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004960 jalr t9 | t9 ();
| label_1:
0x00004964 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004968 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000496c addiu v0, v0, -0x70dc | v0 += -0x70dc;
0x00004970 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004974 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004978 addiu a3, a3, -0x6d94 | a3 += -0x6d94;
0x0000497c addiu a2, zero, 0x166 | a2 = 0x166;
0x00004980 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004984 move a0, zero | a0 = 0;
0x00004988 jalr t9 | t9 ();
| label_2:
0x0000498c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004990 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004994 addiu v0, v0, -0x7164 | v0 += -0x7164;
0x00004998 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x0000499c sw v0, 0x10(sp) | *(var_10h) = v0;
0x000049a0 addiu a3, a3, -0x6d94 | a3 += -0x6d94;
0x000049a4 addiu a2, zero, 0x167 | a2 = 0x167;
0x000049a8 addiu a1, a1, -0x719c | a1 += -0x719c;
0x000049ac move a0, zero | a0 = 0;
0x000049b0 jalr t9 | t9 ();
| label_3:
0x000049b4 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000049b8 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x000049bc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000049c0 addiu v0, v0, -0x7154 | v0 += -0x7154;
0x000049c4 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x000049c8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000049cc addiu a3, a3, -0x6d94 | a3 += -0x6d94;
0x000049d0 addiu a2, zero, 0x168 | a2 = 0x168;
0x000049d4 addiu a1, a1, -0x719c | a1 += -0x719c;
0x000049d8 move a0, zero | a0 = 0;
0x000049dc jalr t9 | return t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x4b9c */
| #include <stdint.h>
|
; (fcn) fcn.00004b9c () | void fcn_00004b9c () {
0x00004b9c lui gp, 2 |
0x00004ba0 addiu gp, gp, -0x2b8c |
0x00004ba4 addu gp, gp, t9 | gp += t9;
0x00004ba8 addiu sp, sp, -0xc8 |
0x00004bac sw s3, 0xac(sp) | *(var_ach) = s3;
0x00004bb0 lw s3, -0x7e8c(gp) | s3 = *((gp - 8099));
0x00004bb4 sw gp, 0x20(sp) | *(var_20h) = gp;
0x00004bb8 sw fp, 0xc0(sp) | *(var_c0h) = fp;
0x00004bbc lw v0, (s3) | v0 = *(s3);
0x00004bc0 sw s7, 0xbc(sp) | *(var_bch) = s7;
0x00004bc4 sw ra, 0xc4(sp) | *(var_c4h) = ra;
0x00004bc8 sw s6, 0xb8(sp) | *(var_b8h) = s6;
0x00004bcc sw s5, 0xb4(sp) | *(var_b4h) = s5;
0x00004bd0 sw s4, 0xb0(sp) | *(var_b0h) = s4;
0x00004bd4 sw s2, 0xa8(sp) | *(var_a8h) = s2;
0x00004bd8 sw s1, 0xa4(sp) | *(var_a4h) = s1;
0x00004bdc sw s0, 0xa0(sp) | *(var_a0h) = s0;
0x00004be0 lw fp, 0xd8(sp) | fp = *(arg_d8h);
0x00004be4 lw s7, 0xdc(sp) | s7 = *(arg_dch);
0x00004be8 sw v0, 0x9c(sp) | *(var_9ch) = v0;
| if (a0 == 0) {
0x00004bec beql a0, zero, 0x4c9c | goto label_3;
| }
0x00004bf0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004bf4 move s4, a1 | s4 = a1;
| if (a1 == 0) {
0x00004bf8 beqz a1, 0x4cc0 | goto label_4;
| }
0x00004bfc move s2, a2 | s2 = a2;
| if (a2 == 0) {
0x00004c00 beqz a2, 0x4cec | goto label_5;
| }
0x00004c04 move s1, a3 | s1 = a3;
| if (a3 == 0) {
0x00004c08 beqz a3, 0x4d18 | goto label_6;
| }
0x00004c0c move s0, a0 | s0 = a0;
0x00004c10 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004c14 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00004c18 move a3, a2 | a3 = a2;
0x00004c1c addiu a0, a0, -0x7140 | a0 += -0x7140;
0x00004c20 move a2, s1 | a2 = s1;
0x00004c24 jalr t9 | t9 ();
0x00004c28 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004c2c lw a0, (s0) | a0 = *(s0);
0x00004c30 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00004c34 lw t9, -0x7ee0(gp) | t9 = sym.imp.g_hash_table_lookup;
0x00004c38 move a1, v0 | a1 = v0;
0x00004c3c jalr t9 | t9 ();
0x00004c40 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00004c44 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004c48 beqz v0, 0x4d44 |
| while (1) {
| label_1:
0x00004c4c lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00004c50 lw a0, 0x30(sp) | a0 = *(var_30h);
0x00004c54 jalr t9 | t9 ();
0x00004c58 lw a0, 0x9c(sp) | a0 = *(var_9ch);
0x00004c5c lw v1, (s3) | v1 = *(s3);
0x00004c60 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004c64 lw v0, 0x2c(sp) | v0 = *(var_2ch);
| if (a0 != v1) {
0x00004c68 bne a0, v1, 0x5098 | goto label_7;
| }
0x00004c6c lw ra, 0xc4(sp) | ra = *(var_c4h);
0x00004c70 lw fp, 0xc0(sp) | fp = *(var_c0h);
0x00004c74 lw s7, 0xbc(sp) | s7 = *(var_bch);
0x00004c78 lw s6, 0xb8(sp) | s6 = *(var_b8h);
0x00004c7c lw s5, 0xb4(sp) | s5 = *(var_b4h);
0x00004c80 lw s4, 0xb0(sp) | s4 = *(var_b0h);
0x00004c84 lw s3, 0xac(sp) | s3 = *(var_ach);
0x00004c88 lw s2, 0xa8(sp) | s2 = *(var_a8h);
0x00004c8c lw s1, 0xa4(sp) | s1 = *(var_a4h);
0x00004c90 lw s0, 0xa0(sp) | s0 = *(var_a0h);
0x00004c94 addiu sp, sp, 0xc8 |
0x00004c98 jr ra | return v0;
| label_3:
0x00004c9c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004ca0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004ca4 addiu v0, v0, -0x75dc | v0 += -0x75dc;
0x00004ca8 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004cac sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004cb0 addiu a3, a3, -0x6d80 | a3 += -0x6d80;
0x00004cb4 addiu a2, zero, 0x1f1 | a2 = 0x1f1;
0x00004cb8 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004cbc jalr t9 | t9 ();
| label_4:
0x00004cc0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004cc4 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004cc8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004ccc addiu v0, v0, -0x7178 | v0 += -0x7178;
0x00004cd0 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004cd4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004cd8 addiu a3, a3, -0x6d80 | a3 += -0x6d80;
0x00004cdc addiu a2, zero, 0x1f2 | a2 = 0x1f2;
0x00004ce0 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004ce4 move a0, zero | a0 = 0;
0x00004ce8 jalr t9 | t9 ();
| label_5:
0x00004cec lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004cf0 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004cf4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004cf8 addiu v0, v0, -0x7164 | v0 += -0x7164;
0x00004cfc lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004d00 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004d04 addiu a3, a3, -0x6d80 | a3 += -0x6d80;
0x00004d08 addiu a2, zero, 0x1f3 | a2 = 0x1f3;
0x00004d0c addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004d10 move a0, zero | a0 = 0;
0x00004d14 jalr t9 | t9 ();
| label_6:
0x00004d18 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004d1c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004d20 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004d24 addiu v0, v0, -0x7154 | v0 += -0x7154;
0x00004d28 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00004d2c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004d30 addiu a3, a3, -0x6d80 | a3 += -0x6d80;
0x00004d34 addiu a2, zero, 0x1f4 | a2 = 0x1f4;
0x00004d38 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00004d3c move a0, zero | a0 = 0;
0x00004d40 jalr t9 | t9 ();
0x00004d44 lw t9, -0x7f20(gp) | t9 = sym.imp.g_dbus_proxy_new_for_bus_sync;
0x00004d48 sw s7, 0x1c(sp) | *(var_1ch) = s7;
0x00004d4c sw zero, 0x18(sp) | *(var_18h) = 0;
0x00004d50 sw s1, 0x14(sp) | *(var_14h) = s1;
0x00004d54 sw s2, 0x10(sp) | *(var_10h) = s2;
0x00004d58 move a3, s4 | a3 = s4;
0x00004d5c move a2, zero | a2 = 0;
0x00004d60 move a1, zero | a1 = 0;
0x00004d64 addiu a0, zero, 1 | a0 = 1;
0x00004d68 jalr t9 | t9 ();
0x00004d6c lw v1, (s7) | v1 = *(s7);
0x00004d70 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004d74 sw v0, 0x2c(sp) | *(var_2ch) = v0;
| if (v1 == 0) {
0x00004d78 beqz v1, 0x4db8 | goto label_8;
| }
0x00004d7c lw v0, 8(v1) | v0 = *((v1 + 2));
0x00004d80 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00004d84 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00004d88 lw t9, -0x7f3c(gp) | t9 = sym.imp.g_log;
0x00004d8c sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00004d90 sw s1, 0x18(sp) | *(var_18h) = s1;
0x00004d94 sw s2, 0x14(sp) | *(var_14h) = s2;
0x00004d98 sw s4, 0x10(sp) | *(var_10h) = s4;
0x00004d9c addiu a3, a3, -0x702c | a3 += -0x702c;
0x00004da0 addiu a2, a2, -0x7138 | a2 += -0x7138;
0x00004da4 addiu a1, zero, 0x10 | a1 = 0x10;
0x00004da8 move a0, zero | a0 = 0;
0x00004dac jalr t9 | t9 ();
0x00004db0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004db4 b 0x4c4c |
| }
| label_8:
0x00004db8 lw t9, -0x7dcc(gp) | t9 = sym.imp.g_strdup;
0x00004dbc lw a0, 0x30(sp) | a0 = *(var_30h);
0x00004dc0 lw s6, (s0) | s6 = *(s0);
0x00004dc4 jalr t9 | t9 ();
0x00004dc8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004dcc lw a2, 0x2c(sp) | a2 = *(var_2ch);
0x00004dd0 move a1, v0 | a1 = v0;
0x00004dd4 lw t9, -0x7eb8(gp) | t9 = sym.imp.g_hash_table_replace;
0x00004dd8 move a0, s6 | a0 = s6;
0x00004ddc jalr t9 | t9 ();
0x00004de0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004de4 sw zero, 0x64(sp) | *(var_64h) = 0;
0x00004de8 sw zero, 0x68(sp) | *(var_68h) = 0;
0x00004dec lw a3, -0x7fc4(gp) | a3 = *((gp - 8177));
0x00004df0 lw t9, -0x7e48(gp) | t9 = sym.imp.g_hash_table_new_full;
0x00004df4 lw a2, -0x7d78(gp) | a2 = *((gp - 8030));
0x00004df8 lw a1, -0x7f40(gp) | a1 = *((gp - 8144));
0x00004dfc lw a0, -0x7d94(gp) | a0 = *((gp - 8037));
0x00004e00 addiu a3, a3, 0x419c | a3 += 0x419c;
0x00004e04 jalr t9 | t9 ();
0x00004e08 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004e0c addiu v1, sp, 0x64 | v1 = sp + 0x64;
0x00004e10 sw s7, 0x18(sp) | *(var_18h) = s7;
0x00004e14 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00004e18 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00004e1c sw fp, 0x10(sp) | *(var_10h) = fp;
0x00004e20 move a3, s1 | a3 = s1;
0x00004e24 move a2, s2 | a2 = s2;
0x00004e28 move a1, s4 | a1 = s4;
0x00004e2c move a0, s0 | a0 = s0;
0x00004e30 addiu t9, t9, 0x484c | t9 += fcn.0000484c;
0x00004e34 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00004e38 bal 0x484c | fcn_0000484c ();
0x00004e3c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00004e40 beqz v0, 0x5008 | goto label_9;
| }
0x00004e44 lw a0, 0x64(sp) | a0 = *(var_64h);
0x00004e48 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
| if (a0 == 0) {
0x00004e4c beqz a0, 0x5048 | goto label_10;
| }
0x00004e50 lw t9, -0x7e80(gp) | t9 = sym.imp.g_variant_get;
0x00004e54 addiu a2, sp, 0x6c | a2 = sp + 0x6c;
0x00004e58 addiu a1, a1, -0x706c | a1 += -0x706c;
0x00004e5c jalr t9 | t9 ();
0x00004e60 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004e64 addiu s6, sp, 0x70 | s6 = sp + 0x70;
0x00004e68 addiu s7, sp, 0x74 | s7 = sp + 0x74;
0x00004e6c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004e70 addiu fp, sp, 0x68 | fp = sp + 0x68;
0x00004e74 sw v0, 0x58(sp) | *(var_58h) = v0;
0x00004e78 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004e7c addiu v0, v0, -0x71a4 | v0 += -0x71a4;
0x00004e80 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00004e84 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004e88 addiu v0, v0, -0x7060 | v0 += -0x7060;
0x00004e8c sw v0, 0x50(sp) | *(var_50h) = v0;
0x00004e90 lw v0, -0x7fc4(gp) | v0 = *((gp - 8177));
0x00004e94 addiu v0, v0, 0x42a8 | v0 += fcn.000042a8;
0x00004e98 sw v0, 0x38(sp) | *(var_38h) = v0;
| label_0:
0x00004e9c lw v0, 0x58(sp) | v0 = *(var_58h);
0x00004ea0 lw t9, -0x7e60(gp) | t9 = sym.imp.g_variant_iter_loop;
0x00004ea4 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00004ea8 move a3, s6 | a3 = s6;
0x00004eac move a2, s7 | a2 = s7;
0x00004eb0 addiu a1, v0, -0x7058 | a1 = v0 + -0x7058;
0x00004eb4 jalr t9 | t9 ();
0x00004eb8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00004ebc beqz v0, 0x506c | goto label_11;
| }
0x00004ec0 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00004ec4 lw a2, 0x74(sp) | a2 = *(var_74h);
0x00004ec8 lw a0, 0x5c(sp) | a0 = *(var_5ch);
0x00004ecc move a1, s2 | a1 = s2;
0x00004ed0 jalr t9 | t9 ();
0x00004ed4 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00004ed8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004edc addiu s5, sp, 0x78 | s5 = sp + 0x78;
0x00004ee0 b 0x4f1c |
| while (v0 != 0) {
0x00004ee4 lw t9, -0x7dcc(gp) | t9 = sym.imp.g_strdup;
0x00004ee8 lw a0, 0x78(sp) | a0 = *(var_78h);
0x00004eec jalr t9 | t9 ();
0x00004ef0 lw a0, 0x68(sp) | a0 = *(var_68h);
0x00004ef4 lw t9, 0x38(sp) | t9 = *(var_38h);
0x00004ef8 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00004efc jalr t9 | t9 ();
0x00004f00 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004f04 lw a1, 0x34(sp) | a1 = *(var_34h);
0x00004f08 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00004f0c lw t9, -0x7eb8(gp) | t9 = sym.imp.g_hash_table_replace;
0x00004f10 move a2, v0 | a2 = v0;
0x00004f14 jalr t9 | t9 ();
0x00004f18 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004f1c lw t9, -0x7e60(gp) | t9 = sym.imp.g_variant_iter_loop;
0x00004f20 lw a0, 0x70(sp) | a0 = *(var_70h);
0x00004f24 lw a1, 0x50(sp) | a1 = *(var_50h);
0x00004f28 move a3, fp | a3 = fp;
0x00004f2c move a2, s5 | a2 = s5;
0x00004f30 jalr t9 | t9 ();
0x00004f34 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004f38 bnez v0, 0x4ee4 |
| }
0x00004f3c lw t9, -0x7fb0(gp) | t9 = sym.dbus_add_active_group_to_list;
0x00004f40 lw a1, 0x44(sp) | a1 = *(var_44h);
0x00004f44 move a0, s0 | a0 = s0;
0x00004f48 bal 0x4b00 | sym_dbus_add_active_group_to_list ();
0x00004f4c lw gp, 0x20(sp) | gp = *(var_20h);
0x00004f50 addiu v0, sp, 0x84 | v0 = sp + 0x84;
0x00004f54 lw a1, 0x4c(sp) | a1 = *(var_4ch);
0x00004f58 lw t9, -0x7e44(gp) | t9 = sym.imp.g_hash_table_iter_init;
0x00004f5c sw v0, 0x48(sp) | *(var_48h) = v0;
0x00004f60 move a0, v0 | a0 = v0;
0x00004f64 jalr t9 | t9 ();
0x00004f68 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004f6c addiu t4, sp, 0x80 | t4 = sp + 0x80;
0x00004f70 addiu s5, sp, 0x7c | s5 = sp + 0x7c;
0x00004f74 lw v0, -0x7fb4(gp) | v0 = sym.dbus_insert_property_into_cache;
0x00004f78 sw v0, 0x54(sp) | *(var_54h) = v0;
0x00004f7c b 0x4fd0 |
| while (v0 != 0) {
0x00004f80 lw v1, 4(s0) | v1 = *((s0 + 1));
0x00004f84 lw a1, 0x7c(sp) | a1 = *(var_7ch);
0x00004f88 lw a0, 0x80(sp) | a0 = *(var_80h);
0x00004f8c lw t9, 0x38(sp) | t9 = *(var_38h);
0x00004f90 sw t4, 0x40(sp) | *(var_40h) = t4;
0x00004f94 sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x00004f98 sw a1, 0x34(sp) | *(var_34h) = a1;
0x00004f9c jalr t9 | t9 ();
0x00004fa0 lw a1, 0x34(sp) | a1 = *(var_34h);
0x00004fa4 lw v1, 0x3c(sp) | v1 = *(var_3ch);
0x00004fa8 lw a2, 0x44(sp) | a2 = *(var_44h);
0x00004fac lw t9, 0x54(sp) | t9 = *(var_54h);
0x00004fb0 sw a1, 0x10(sp) | *(var_10h) = a1;
0x00004fb4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00004fb8 move a3, s1 | a3 = s1;
0x00004fbc move a1, s4 | a1 = s4;
0x00004fc0 move a0, v1 | a0 = v1;
0x00004fc4 jalr t9 | t9 ();
0x00004fc8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004fcc lw t4, 0x40(sp) | t4 = *(var_40h);
0x00004fd0 lw t9, -0x7e40(gp) | t9 = sym.imp.g_hash_table_iter_next;
0x00004fd4 lw a0, 0x48(sp) | a0 = *(var_48h);
0x00004fd8 move a2, t4 | a2 = t4;
0x00004fdc sw t4, 0x34(sp) | *(var_34h) = t4;
0x00004fe0 move a1, s5 | a1 = s5;
0x00004fe4 jalr t9 | t9 ();
0x00004fe8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00004fec lw t4, 0x34(sp) | t4 = *(var_34h);
0x00004ff0 bnez v0, 0x4f80 |
| }
0x00004ff4 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00004ff8 lw a0, 0x44(sp) | a0 = *(var_44h);
0x00004ffc jalr t9 | t9 ();
0x00005000 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005004 b 0x4e9c | goto label_0;
| label_9:
0x00005008 lw v0, (s7) | v0 = *(s7);
| if (v0 == 0) {
0x0000500c beql v0, zero, 0x5090 | goto label_12;
| }
0x00005010 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005014 lw v0, 8(v0) | v0 = *((v0 + 2));
| label_2:
0x00005018 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000501c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00005020 lw t9, -0x7f3c(gp) | t9 = sym.imp.g_log;
0x00005024 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00005028 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000502c sw s4, 0x10(sp) | *(var_10h) = s4;
0x00005030 addiu a3, a3, -0x702c | a3 += -0x702c;
0x00005034 addiu a2, a2, -0x70b0 | a2 += -0x70b0;
0x00005038 addiu a1, zero, 0x10 | a1 = 0x10;
0x0000503c move a0, zero | a0 = 0;
0x00005040 jalr t9 | t9 ();
0x00005044 lw gp, 0x20(sp) | gp = *(var_20h);
| do {
| label_10:
0x00005048 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x0000504c move a0, zero | a0 = 0;
0x00005050 jalr t9 | t9 ();
0x00005054 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005058 lw t9, -0x7d90(gp) | t9 = sym.imp.g_hash_table_destroy;
0x0000505c lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00005060 jalr t9 | t9 ();
0x00005064 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005068 b 0x4c4c | goto label_1;
| label_11:
0x0000506c lw t9, -0x7ed0(gp) | t9 = sym.imp.g_variant_unref;
0x00005070 lw a0, 0x64(sp) | a0 = *(var_64h);
0x00005074 jalr t9 | t9 ();
0x00005078 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000507c lw t9, -0x7e68(gp) | t9 = sym.imp.g_variant_iter_free;
0x00005080 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00005084 jalr t9 | t9 ();
0x00005088 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000508c b 0x5048 |
| } while (1);
| label_12:
0x00005090 addiu v0, v0, -0x70c4 | v0 += -0x70c4;
0x00005094 b 0x5018 | goto label_2;
| label_7:
0x00005098 lw t9, -0x7ecc(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000509c jalr t9 | t9 ();
0x000050a0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x5698 */
| #include <stdint.h>
|
; (fcn) sym.dbus_create_dyn_group () | void dbus_create_dyn_group () {
0x00005698 lui gp, 2 |
0x0000569c addiu gp, gp, -0x3688 |
0x000056a0 addu gp, gp, t9 | gp += t9;
0x000056a4 addiu sp, sp, -0x58 |
0x000056a8 sw s0, 0x30(sp) | *(var_30h) = s0;
0x000056ac lw s0, -0x7e8c(gp) | s0 = *((gp - 8099));
0x000056b0 sw gp, 0x20(sp) | *(var_20h) = gp;
0x000056b4 sw s6, 0x48(sp) | *(var_48h) = s6;
0x000056b8 lw v0, (s0) | v0 = *(s0);
0x000056bc sw s5, 0x44(sp) | *(var_44h) = s5;
0x000056c0 sw s4, 0x40(sp) | *(var_40h) = s4;
0x000056c4 sw s2, 0x38(sp) | *(var_38h) = s2;
0x000056c8 sw ra, 0x54(sp) | *(var_54h) = ra;
0x000056cc sw fp, 0x50(sp) | *(var_50h) = fp;
0x000056d0 sw s7, 0x4c(sp) | *(var_4ch) = s7;
0x000056d4 sw s3, 0x3c(sp) | *(var_3ch) = s3;
0x000056d8 sw s1, 0x34(sp) | *(var_34h) = s1;
0x000056dc lw s5, 0x6c(sp) | s5 = *(arg_6ch);
0x000056e0 lw t1, 0x70(sp) | t1 = *(arg_70h);
0x000056e4 lw s6, 0x74(sp) | s6 = *(arg_74h);
0x000056e8 lw s4, 0x78(sp) | s4 = *(arg_78h);
0x000056ec lw s2, 0x7c(sp) | s2 = *(arg_7ch);
0x000056f0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
| if (a0 == 0) {
0x000056f4 beql a0, zero, 0x5824 | goto label_2;
| }
0x000056f8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a1 == 0) {
0x000056fc beql a1, zero, 0x5848 | goto label_3;
| }
0x00005700 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005704 move s3, a2 | s3 = a2;
| if (a2 == 0) {
0x00005708 beqz a2, 0x5870 | goto label_4;
| }
0x0000570c lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
| if (a3 == 0) {
0x00005710 beqz a3, 0x589c | goto label_5;
| }
0x00005714 sw s2, 0x14(sp) | *(var_7ch) = s2;
0x00005718 sw t1, 0x10(sp) | *(var_10h) = t1;
0x0000571c addiu t9, t9, 0x4b9c | t9 += fcn.00004b9c;
0x00005720 move s1, a0 | s1 = a0;
0x00005724 bal 0x4b9c | fcn_00004b9c ();
0x00005728 move s7, v0 | s7 = v0;
0x0000572c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00005730 beqz v0, 0x57e4 |
0x00005734 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00005738 lw a2, 0x68(sp) | a2 = *(arg_68h);
0x0000573c move a1, s3 | a1 = s3;
0x00005740 addiu t9, t9, 0x41fc | t9 += fcn.000041fc;
0x00005744 addiu a0, s1, 8 | a0 = s1 + 8;
0x00005748 bal 0x41fc | fcn_000041fc ();
0x0000574c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00005750 bnez v0, 0x595c | goto label_6;
| }
0x00005754 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00005758 lw t9, -0x7eb0(gp) | t9 = sym.imp.g_variant_builder_new;
0x0000575c addiu a0, a0, -0x7000 | a0 += -0x7000;
0x00005760 jalr t9 | t9 ();
0x00005764 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005768 lw a2, 0x68(sp) | a2 = *(arg_68h);
0x0000576c move a0, v0 | a0 = v0;
0x00005770 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005774 lw t9, -0x7da4(gp) | t9 = sym.imp.g_variant_builder_add;
0x00005778 addiu a1, a1, -0x71cc | a1 += -0x71cc;
0x0000577c move fp, v0 | fp = v0;
0x00005780 jalr t9 | t9 ();
0x00005784 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005788 lw t9, -0x7e7c(gp) | t9 = sym.socket_api_unpack_data;
0x0000578c move a0, fp | a0 = fp;
0x00005790 jalr t9 | t9 ();
0x00005794 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005798 move a0, fp | a0 = fp;
0x0000579c lw t9, -0x7f28(gp) | t9 = sym.imp.g_variant_builder_unref;
0x000057a0 move fp, v0 | fp = v0;
0x000057a4 jalr t9 | t9 ();
0x000057a8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000057ac addiu v0, zero, 0x2710 | v0 = 0x2710;
0x000057b0 sw s2, 0x18(sp) | *(var_80h) = s2;
0x000057b4 lw t9, -0x7df8(gp) | t9 = sym.imp.g_dbus_proxy_call_sync;
0x000057b8 sw zero, 0x14(sp) | *(var_7ch) = 0;
0x000057bc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000057c0 move a3, zero | a3 = 0;
0x000057c4 move a2, fp | a2 = fp;
0x000057c8 move a1, s5 | a1 = s5;
0x000057cc move a0, s7 | a0 = s7;
0x000057d0 jalr t9 | t9 ();
0x000057d4 lw v1, (s2) | v1 = *(s2);
0x000057d8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000057dc sw v0, (s4) | *(s4) = v0;
| if (v1 == 0) {
0x000057e0 beqz v1, 0x58c8 | goto label_7;
| }
| }
| label_0:
0x000057e4 move v0, zero | v0 = 0;
| do {
| label_1:
0x000057e8 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x000057ec lw v1, (s0) | v1 = *(s0);
0x000057f0 lw ra, 0x54(sp) | ra = *(var_54h);
| if (a0 != v1) {
0x000057f4 bne a0, v1, 0x5998 | goto label_8;
| }
0x000057f8 lw fp, 0x50(sp) | fp = *(var_50h);
0x000057fc lw s7, 0x4c(sp) | s7 = *(var_4ch);
0x00005800 lw s6, 0x48(sp) | s6 = *(var_48h);
0x00005804 lw s5, 0x44(sp) | s5 = *(var_44h);
0x00005808 lw s4, 0x40(sp) | s4 = *(var_40h);
0x0000580c lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x00005810 lw s2, 0x38(sp) | s2 = *(var_38h);
0x00005814 lw s1, 0x34(sp) | s1 = *(var_34h);
0x00005818 lw s0, 0x30(sp) | s0 = *(var_30h);
0x0000581c addiu sp, sp, 0x58 |
0x00005820 jr ra | return v0;
| label_2:
0x00005824 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005828 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000582c addiu v0, v0, -0x75dc | v0 += -0x75dc;
0x00005830 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005834 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00005838 addiu a3, a3, -0x6df8 | a3 += -0x6df8;
0x0000583c addiu a2, zero, 0x2dd | a2 = 0x2dd;
0x00005840 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005844 jalr t9 | t9 ();
| label_3:
0x00005848 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000584c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005850 addiu v0, v0, -0x70dc | v0 += -0x70dc;
0x00005854 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005858 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000585c addiu a3, a3, -0x6df8 | a3 += -0x6df8;
0x00005860 addiu a2, zero, 0x2de | a2 = 0x2de;
0x00005864 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005868 move a0, zero | a0 = 0;
0x0000586c jalr t9 | t9 ();
| label_4:
0x00005870 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005874 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005878 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000587c addiu v0, v0, -0x7164 | v0 += -0x7164;
0x00005880 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005884 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00005888 addiu a3, a3, -0x6df8 | a3 += -0x6df8;
0x0000588c addiu a2, zero, 0x2df | a2 = 0x2df;
0x00005890 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005894 move a0, zero | a0 = 0;
0x00005898 jalr t9 | t9 ();
| label_5:
0x0000589c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000058a0 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x000058a4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000058a8 addiu v0, v0, -0x7154 | v0 += -0x7154;
0x000058ac lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x000058b0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000058b4 addiu a3, a3, -0x6df8 | a3 += -0x6df8;
0x000058b8 addiu a2, zero, 0x2e0 | a2 = 0x2e0;
0x000058bc addiu a1, a1, -0x719c | a1 += -0x719c;
0x000058c0 move a0, zero | a0 = 0;
0x000058c4 jalr t9 | t9 ();
| label_7:
0x000058c8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000058cc lw t9, -0x7e80(gp) | t9 = sym.imp.g_variant_get;
0x000058d0 move a0, v0 | a0 = v0;
0x000058d4 addiu a2, sp, 0x28 | a2 = sp + 0x28;
0x000058d8 addiu a1, a1, -0x7024 | a1 += -0x7024;
0x000058dc jalr t9 | t9 ();
0x000058e0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000058e4 lw a2, 0x28(sp) | a2 = *(var_28h);
0x000058e8 move a1, s3 | a1 = s3;
0x000058ec lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000058f0 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x000058f4 addiu a0, a0, -0x71a4 | a0 += -0x71a4;
0x000058f8 jalr t9 | t9 ();
0x000058fc lw gp, 0x20(sp) | gp = *(var_20h);
0x00005900 move a1, v0 | a1 = v0;
0x00005904 move a0, s1 | a0 = s1;
0x00005908 lw t9, -0x7fb0(gp) | t9 = sym.dbus_add_active_group_to_list;
0x0000590c move s2, v0 | s2 = v0;
0x00005910 bal 0x4b00 | sym_dbus_add_active_group_to_list ();
0x00005914 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005918 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x0000591c move a0, s2 | a0 = s2;
0x00005920 jalr t9 | t9 ();
0x00005924 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s6 == 0) {
0x00005928 beqz s6, 0x5990 | goto label_9;
| }
0x0000592c lw v0, 0xc(s6) | v0 = *((s6 + 3));
0x00005930 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00005934 lw a3, 8(s6) | a3 = *((s6 + 2));
0x00005938 lw a2, 4(s6) | a2 = *((s6 + 1));
0x0000593c lw a1, (s6) | a1 = *(s6);
0x00005940 move a0, s1 | a0 = s1;
0x00005944 addiu t9, t9, 0x4350 | t9 += fcn.00004350;
0x00005948 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000594c bal 0x4350 | fcn_00004350 ();
0x00005950 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005954 addiu v0, zero, 1 | v0 = 1;
0x00005958 b 0x57e8 |
| } while (1);
| label_6:
0x0000595c lw t9, -0x7fbc(gp) | t9 = sym.confcache_error_quark;
0x00005960 bal 0x6dd0 | sym_confcache_error_quark ();
0x00005964 nop |
0x00005968 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000596c addiu a1, zero, 0x65 | a1 = 0x65;
0x00005970 move a0, v0 | a0 = v0;
0x00005974 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00005978 lw t9, -0x7db0(gp) | t9 = sym.imp.g_error_new;
0x0000597c addiu a2, a2, -0x6ffc | a2 += -0x6ffc;
0x00005980 jalr t9 | t9 ();
0x00005984 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005988 sw v0, (s2) | *(s2) = v0;
0x0000598c b 0x57e4 | goto label_0;
| label_9:
0x00005990 addiu v0, zero, 1 | v0 = 1;
0x00005994 b 0x57e8 | goto label_1;
| label_8:
0x00005998 lw t9, -0x7ecc(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000599c jalr t9 | t9 ();
0x000059a0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x53fc */
| #include <stdint.h>
|
; (fcn) sym.dbus_delete_dyn_group () | void dbus_delete_dyn_group () {
0x000053fc lui gp, 2 |
0x00005400 addiu gp, gp, -0x33ec |
0x00005404 addu gp, gp, t9 | gp += t9;
0x00005408 addiu sp, sp, -0x40 |
0x0000540c sw gp, 0x20(sp) | *(var_20h) = gp;
0x00005410 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00005414 sw ra, 0x3c(sp) | *(var_3ch) = ra;
0x00005418 sw s4, 0x38(sp) | *(var_38h) = s4;
0x0000541c sw s3, 0x34(sp) | *(var_34h) = s3;
0x00005420 sw s2, 0x30(sp) | *(var_30h) = s2;
0x00005424 sw s0, 0x28(sp) | *(var_28h) = s0;
0x00005428 lw s1, 0x60(sp) | s1 = *(arg_60h);
| if (a0 == 0) {
0x0000542c beqz a0, 0x553c | goto label_2;
| }
0x00005430 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a1 == 0) {
0x00005434 beqz a1, 0x5564 | goto label_3;
| }
0x00005438 move s2, a2 | s2 = a2;
| if (a2 == 0) {
0x0000543c beqz a2, 0x558c | goto label_4;
| }
0x00005440 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
| if (a3 == 0) {
0x00005444 beqz a3, 0x55b8 | goto label_5;
| }
0x00005448 lw v0, 0x58(sp) | v0 = *(arg_58h);
0x0000544c sw s1, 0x14(sp) | *(var_14h) = s1;
0x00005450 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00005454 addiu t9, t9, 0x4b9c | t9 += fcn.00004b9c;
0x00005458 move s0, a0 | s0 = a0;
0x0000545c bal 0x4b9c | fcn_00004b9c ();
0x00005460 move s3, v0 | s3 = v0;
0x00005464 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00005468 beqz v0, 0x5518 |
0x0000546c lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00005470 lw a2, 0x50(sp) | a2 = *(arg_50h);
0x00005474 move a1, s2 | a1 = s2;
0x00005478 addiu t9, t9, 0x41fc | t9 += fcn.000041fc;
0x0000547c addiu a0, s0, 8 | a0 = s0 + 8;
0x00005480 bal 0x41fc | fcn_000041fc ();
0x00005484 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00005488 beqz v0, 0x5660 | goto label_6;
| }
0x0000548c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00005490 lw t9, -0x7eb0(gp) | t9 = sym.imp.g_variant_builder_new;
0x00005494 addiu a0, a0, -0x7000 | a0 += -0x7000;
0x00005498 jalr t9 | t9 ();
0x0000549c lw gp, 0x20(sp) | gp = *(var_20h);
0x000054a0 lw a2, 0x50(sp) | a2 = *(arg_50h);
0x000054a4 move a0, v0 | a0 = v0;
0x000054a8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000054ac lw t9, -0x7da4(gp) | t9 = sym.imp.g_variant_builder_add;
0x000054b0 addiu a1, a1, -0x71cc | a1 += -0x71cc;
0x000054b4 move s4, v0 | s4 = v0;
0x000054b8 jalr t9 | t9 ();
0x000054bc lw gp, 0x20(sp) | gp = *(var_20h);
0x000054c0 lw t9, -0x7e7c(gp) | t9 = sym.socket_api_unpack_data;
0x000054c4 move a0, s4 | a0 = s4;
0x000054c8 jalr t9 | t9 ();
0x000054cc lw gp, 0x20(sp) | gp = *(var_20h);
0x000054d0 move a0, s4 | a0 = s4;
0x000054d4 lw t9, -0x7f28(gp) | t9 = sym.imp.g_variant_builder_unref;
0x000054d8 move s4, v0 | s4 = v0;
0x000054dc jalr t9 | t9 ();
0x000054e0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000054e4 addiu v0, zero, 0x2710 | v0 = 0x2710;
0x000054e8 lw a1, 0x54(sp) | a1 = *(arg_54h);
0x000054ec lw t9, -0x7df8(gp) | t9 = sym.imp.g_dbus_proxy_call_sync;
0x000054f0 sw s1, 0x18(sp) | *(var_18h) = s1;
0x000054f4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000054f8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000054fc move a3, zero | a3 = 0;
0x00005500 move a2, s4 | a2 = s4;
0x00005504 move a0, s3 | a0 = s3;
0x00005508 jalr t9 | t9 ();
0x0000550c lw v0, (s1) | v0 = *(s1);
0x00005510 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00005514 beqz v0, 0x55e4 | goto label_7;
| }
| }
| label_0:
0x00005518 move v0, zero | v0 = 0;
| do {
| label_1:
0x0000551c lw ra, 0x3c(sp) | ra = *(var_3ch);
0x00005520 lw s4, 0x38(sp) | s4 = *(var_38h);
0x00005524 lw s3, 0x34(sp) | s3 = *(var_34h);
0x00005528 lw s2, 0x30(sp) | s2 = *(var_30h);
0x0000552c lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x00005530 lw s0, 0x28(sp) | s0 = *(var_28h);
0x00005534 addiu sp, sp, 0x40 |
0x00005538 jr ra | return v0;
| label_2:
0x0000553c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005540 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005544 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005548 addiu v0, v0, -0x75dc | v0 += -0x75dc;
0x0000554c lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005550 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00005554 addiu a3, a3, -0x6dd0 | a3 += -sym.confcache_error_quark;
0x00005558 addiu a2, zero, 0x29a | a2 = 0x29a;
0x0000555c addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005560 jalr t9 | t9 ();
| label_3:
0x00005564 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005568 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000556c addiu v0, v0, -0x70dc | v0 += -0x70dc;
0x00005570 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005574 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00005578 addiu a3, a3, -0x6dd0 | a3 += -sym.confcache_error_quark;
0x0000557c addiu a2, zero, 0x29b | a2 = 0x29b;
0x00005580 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005584 move a0, zero | a0 = 0;
0x00005588 jalr t9 | t9 ();
| label_4:
0x0000558c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005590 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005594 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005598 addiu v0, v0, -0x7164 | v0 += -0x7164;
0x0000559c lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x000055a0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000055a4 addiu a3, a3, -0x6dd0 | a3 += -sym.confcache_error_quark;
0x000055a8 addiu a2, zero, 0x29c | a2 = aav.0x0000029c;
0x000055ac addiu a1, a1, -0x719c | a1 += -0x719c;
0x000055b0 move a0, zero | a0 = 0;
0x000055b4 jalr t9 | t9 ();
| label_5:
0x000055b8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000055bc lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x000055c0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000055c4 addiu v0, v0, -0x7154 | v0 += -0x7154;
0x000055c8 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x000055cc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000055d0 addiu a3, a3, -0x6dd0 | a3 += -sym.confcache_error_quark;
0x000055d4 addiu a2, zero, 0x29d | a2 = 0x29d;
0x000055d8 addiu a1, a1, -0x719c | a1 += -0x719c;
0x000055dc move a0, zero | a0 = 0;
0x000055e0 jalr t9 | t9 ();
| label_7:
0x000055e4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000055e8 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x000055ec lw a2, 0x50(sp) | a2 = *(arg_50h);
0x000055f0 move a1, s2 | a1 = s2;
0x000055f4 addiu a0, a0, -0x71a4 | a0 += -0x71a4;
0x000055f8 jalr t9 | t9 ();
0x000055fc lw gp, 0x20(sp) | gp = *(var_20h);
0x00005600 move a1, v0 | a1 = v0;
0x00005604 move a0, s0 | a0 = s0;
0x00005608 lw t9, -0x7fac(gp) | t9 = sym.socket_api_chunk_from_list;
0x0000560c move s1, v0 | s1 = v0;
0x00005610 bal 0x50a4 | sym_dbus_remove_active_group_from_list ();
0x00005614 lw gp, 0x20(sp) | gp = *(var_20h);
0x00005618 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x0000561c move a0, s1 | a0 = s1;
0x00005620 jalr t9 | t9 ();
0x00005624 lw v0, 0x5c(sp) | v0 = *(arg_5ch);
0x00005628 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0000562c beqz v0, 0x5690 | goto label_8;
| }
0x00005630 lw v1, 0x5c(sp) | v1 = *(arg_5ch);
0x00005634 lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x00005638 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x0000563c lw a3, 8(v1) | a3 = *((v1 + 2));
0x00005640 lw a2, 4(v1) | a2 = *((v1 + 1));
0x00005644 lw a1, (v1) | a1 = *(v1);
0x00005648 move a0, s0 | a0 = s0;
0x0000564c addiu t9, t9, 0x4350 | t9 += fcn.00004350;
0x00005650 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00005654 bal 0x4350 | fcn_00004350 ();
0x00005658 addiu v0, zero, 1 | v0 = 1;
0x0000565c b 0x551c |
| } while (1);
| label_6:
0x00005660 lw t9, -0x7fbc(gp) | t9 = sym.confcache_error_quark;
0x00005664 bal 0x6dd0 | sym_confcache_error_quark ();
0x00005668 nop |
0x0000566c lw gp, 0x20(sp) | gp = *(var_20h);
0x00005670 addiu a1, zero, 0x66 | a1 = 0x66;
0x00005674 move a0, v0 | a0 = v0;
0x00005678 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000567c lw t9, -0x7db0(gp) | t9 = sym.imp.g_error_new;
0x00005680 addiu a2, a2, -0x7018 | a2 += -0x7018;
0x00005684 jalr t9 | t9 ();
0x00005688 sw v0, (s1) | *(s1) = v0;
0x0000568c b 0x5518 | goto label_0;
| label_8:
0x00005690 addiu v0, zero, 1 | v0 = 1;
0x00005694 b 0x551c | goto label_1;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x59a4 */
| #include <stdint.h>
|
; (fcn) sym.dbus_get_dyn_param () | void dbus_get_dyn_param () {
0x000059a4 lui gp, 2 |
0x000059a8 addiu gp, gp, -0x3994 |
0x000059ac addu gp, gp, t9 | gp += t9;
0x000059b0 addiu sp, sp, -0x68 |
0x000059b4 sw s1, 0x44(sp) | *(var_44h_2) = s1;
0x000059b8 lw s1, -0x7e8c(gp) | s1 = *((gp - 8099));
0x000059bc lw v1, 0x7c(sp) | v1 = *(var_7ch);
0x000059c0 sw gp, 0x20(sp) | *(var_20h_2) = gp;
0x000059c4 lw v0, (s1) | v0 = *(s1);
0x000059c8 sw fp, 0x60(sp) | *(var_60h) = fp;
0x000059cc sw s6, 0x58(sp) | *(var_58h) = s6;
0x000059d0 sw s4, 0x50(sp) | *(var_50h_2) = s4;
0x000059d4 sw v1, 0x28(sp) | *(var_28h_2) = v1;
0x000059d8 sw ra, 0x64(sp) | *(var_64h) = ra;
0x000059dc sw s7, 0x5c(sp) | *(var_5ch) = s7;
0x000059e0 sw s5, 0x54(sp) | *(var_54h_2) = s5;
0x000059e4 sw s3, 0x4c(sp) | *(var_4ch_2) = s3;
0x000059e8 sw s2, 0x48(sp) | *(var_48h_2) = s2;
0x000059ec sw s0, 0x40(sp) | *(var_40h_2) = s0;
0x000059f0 lw v1, 0x80(sp) | v1 = *(var_80h);
0x000059f4 lw s4, 0x84(sp) | s4 = *(var_84h);
0x000059f8 lw fp, 0x88(sp) | fp = *(var_20h);
0x000059fc lw s6, 0x8c(sp) | s6 = *(var_8ch);
0x00005a00 sw v0, 0x3c(sp) | *(var_3ch_2) = v0;
| if (a0 == 0) {
0x00005a04 beql a0, zero, 0x5bf4 | goto label_1;
| }
0x00005a08 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005a0c move s3, a1 | s3 = a1;
| if (a1 == 0) {
0x00005a10 beqz a1, 0x5c18 | goto label_2;
| }
0x00005a14 move s2, a2 | s2 = a2;
| if (a2 == 0) {
0x00005a18 beqz a2, 0x5c44 | goto label_3;
| }
0x00005a1c move s5, a3 | s5 = a3;
| if (a3 == 0) {
0x00005a20 beqz a3, 0x5c70 | goto label_4;
| }
0x00005a24 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
| if (s4 == 0) {
0x00005a28 beqz s4, 0x5c9c | goto label_5;
| }
0x00005a2c sw s6, 0x14(sp) | *(var_5ch_2) = s6;
0x00005a30 sw v1, 0x10(sp) | *(var_10h_2) = v1;
0x00005a34 addiu t9, t9, 0x4b9c | t9 += fcn.00004b9c;
0x00005a38 move s0, a0 | s0 = a0;
0x00005a3c bal 0x4b9c | fcn_00004b9c ();
0x00005a40 move s7, v0 | s7 = v0;
0x00005a44 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 != 0) {
0x00005a48 beqz v0, 0x5bb4 |
0x00005a4c lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00005a50 lw a2, 0x78(sp) | a2 = *(var_10h);
0x00005a54 move a1, s2 | a1 = s2;
0x00005a58 addiu t9, t9, 0x41fc | t9 += fcn.000041fc;
0x00005a5c addiu a0, s0, 8 | a0 = s0 + 8;
0x00005a60 bal 0x41fc | fcn_000041fc ();
0x00005a64 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00005a68 beqz v0, 0x5cc8 | goto label_6;
| }
0x00005a6c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005a70 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00005a74 addiu a0, v0, -0x6fa4 | a0 = v0 + -0x6fa4;
0x00005a78 sw v0, 0x34(sp) | *(var_34h_3) = v0;
0x00005a7c lw v0, 0x78(sp) | v0 = *(var_10h);
0x00005a80 move a3, s2 | a3 = s2;
0x00005a84 move a2, s5 | a2 = s5;
0x00005a88 move a1, s3 | a1 = s3;
0x00005a8c sw s4, 0x14(sp) | *(var_5ch_2) = s4;
0x00005a90 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00005a94 jalr t9 | t9 ();
0x00005a98 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005a9c lw a0, 4(s0) | a0 = *((s0 + 1));
0x00005aa0 move a1, v0 | a1 = v0;
0x00005aa4 lw t9, -0x7ee0(gp) | t9 = sym.imp.g_hash_table_lookup;
0x00005aa8 sw v0, 0x2c(sp) | *(var_2ch_3) = v0;
0x00005aac jalr t9 | t9 ();
0x00005ab0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005ab4 lw v1, 0x2c(sp) | v1 = *(var_2ch_3);
0x00005ab8 sw v0, 0x30(sp) | *(var_30h_3) = v0;
0x00005abc lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00005ac0 move a0, v1 | a0 = v1;
| if (v0 != 0) {
0x00005ac4 beqz v0, 0x5af8 |
0x00005ac8 jalr t9 | t9 ();
0x00005acc nop |
0x00005ad0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005ad4 lw v0, 0x30(sp) | v0 = *(var_30h_3);
0x00005ad8 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00005adc addiu t9, t9, 0x42a8 | t9 += fcn.000042a8;
0x00005ae0 move a0, v0 | a0 = v0;
0x00005ae4 bal 0x42a8 | fcn_000042a8 ();
0x00005ae8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005aec sw v0, (fp) | *(fp) = v0;
0x00005af0 addiu v0, zero, 1 | v0 = 1;
0x00005af4 b 0x5bb8 | goto label_0;
| }
0x00005af8 jalr t9 | t9 ();
0x00005afc nop |
0x00005b00 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005b04 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00005b08 lw t9, -0x7eb0(gp) | t9 = sym.imp.g_variant_builder_new;
0x00005b0c addiu a0, a0, -0x7000 | a0 += -0x7000;
0x00005b10 jalr t9 | t9 ();
0x00005b14 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005b18 lw a2, 0x78(sp) | a2 = *(var_10h);
0x00005b1c move a0, v0 | a0 = v0;
0x00005b20 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005b24 lw t9, -0x7da4(gp) | t9 = sym.imp.g_variant_builder_add;
0x00005b28 sw v0, 0x2c(sp) | *(var_2ch_3) = v0;
0x00005b2c addiu a1, a1, -0x71cc | a1 += -0x71cc;
0x00005b30 jalr t9 | t9 ();
0x00005b34 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005b38 lw a0, 0x2c(sp) | a0 = *(var_2ch_3);
0x00005b3c move a2, s4 | a2 = s4;
0x00005b40 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005b44 lw t9, -0x7da4(gp) | t9 = sym.imp.g_variant_builder_add;
0x00005b48 addiu a1, a1, -0x6f14 | a1 += -0x6f14;
0x00005b4c jalr t9 | t9 ();
0x00005b50 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005b54 lw t9, -0x7e7c(gp) | t9 = sym.socket_api_unpack_data;
0x00005b58 lw a0, 0x2c(sp) | a0 = *(var_2ch_3);
0x00005b5c jalr t9 | t9 ();
0x00005b60 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005b64 lw a0, 0x2c(sp) | a0 = *(var_2ch_3);
0x00005b68 lw t9, -0x7f28(gp) | t9 = sym.imp.g_variant_builder_unref;
0x00005b6c sw v0, 0x2c(sp) | *(var_2ch_3) = v0;
0x00005b70 jalr t9 | t9 ();
0x00005b74 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005b78 lw v0, 0x2c(sp) | v0 = *(var_2ch_3);
0x00005b7c addiu v1, zero, 0x2710 | v1 = 0x2710;
0x00005b80 lw t9, -0x7df8(gp) | t9 = sym.imp.g_dbus_proxy_call_sync;
0x00005b84 lw a1, 0x28(sp) | a1 = *(var_28h_2);
0x00005b88 sw s6, 0x18(sp) | *(var_60h_2) = s6;
0x00005b8c sw v1, 0x10(sp) | *(var_10h_2) = v1;
0x00005b90 sw zero, 0x14(sp) | *(var_5ch_2) = 0;
0x00005b94 move a3, zero | a3 = 0;
0x00005b98 move a2, v0 | a2 = v0;
0x00005b9c move a0, s7 | a0 = s7;
0x00005ba0 jalr t9 | t9 ();
0x00005ba4 lw v1, (s6) | v1 = *(s6);
0x00005ba8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005bac move s6, v0 | s6 = v0;
| if (v1 == 0) {
0x00005bb0 beqz v1, 0x5d00 | goto label_7;
| }
| }
0x00005bb4 move v0, zero | v0 = 0;
| do {
| label_0:
0x00005bb8 lw a0, 0x3c(sp) | a0 = *(var_3ch_2);
0x00005bbc lw v1, (s1) | v1 = *(s1);
0x00005bc0 lw ra, 0x64(sp) | ra = *(var_64h);
| if (a0 != v1) {
0x00005bc4 bne a0, v1, 0x5dec | goto label_8;
| }
0x00005bc8 lw fp, 0x60(sp) | fp = *(var_60h);
0x00005bcc lw s7, 0x5c(sp) | s7 = *(var_5ch);
0x00005bd0 lw s6, 0x58(sp) | s6 = *(var_58h);
0x00005bd4 lw s5, 0x54(sp) | s5 = *(var_54h_2);
0x00005bd8 lw s4, 0x50(sp) | s4 = *(var_50h_2);
0x00005bdc lw s3, 0x4c(sp) | s3 = *(var_4ch_2);
0x00005be0 lw s2, 0x48(sp) | s2 = *(var_48h_2);
0x00005be4 lw s1, 0x44(sp) | s1 = *(var_44h_2);
0x00005be8 lw s0, 0x40(sp) | s0 = *(var_40h_2);
0x00005bec addiu sp, sp, 0x68 |
0x00005bf0 jr ra | return v0;
| label_1:
0x00005bf4 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005bf8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005bfc addiu v0, v0, -0x75dc | v0 += -0x75dc;
0x00005c00 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005c04 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00005c08 addiu a3, a3, -0x6e0c | a3 += -0x6e0c;
0x00005c0c addiu a2, zero, 0x321 | a2 = 0x321;
0x00005c10 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005c14 jalr t9 | t9 ();
| label_2:
0x00005c18 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005c1c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005c20 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005c24 addiu v0, v0, -0x70dc | v0 += -0x70dc;
0x00005c28 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005c2c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00005c30 addiu a3, a3, -0x6e0c | a3 += -0x6e0c;
0x00005c34 addiu a2, zero, 0x322 | a2 = 0x322;
0x00005c38 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005c3c move a0, zero | a0 = 0;
0x00005c40 jalr t9 | t9 ();
| label_3:
0x00005c44 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005c48 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005c4c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005c50 addiu v0, v0, -0x7164 | v0 += -0x7164;
0x00005c54 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005c58 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00005c5c addiu a3, a3, -0x6e0c | a3 += -0x6e0c;
0x00005c60 addiu a2, zero, 0x323 | a2 = 0x323;
0x00005c64 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005c68 move a0, zero | a0 = 0;
0x00005c6c jalr t9 | t9 ();
| label_4:
0x00005c70 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005c74 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005c78 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005c7c addiu v0, v0, -0x7154 | v0 += -0x7154;
0x00005c80 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005c84 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00005c88 addiu a3, a3, -0x6e0c | a3 += -0x6e0c;
0x00005c8c addiu a2, zero, 0x324 | a2 = 0x324;
0x00005c90 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005c94 move a0, zero | a0 = 0;
0x00005c98 jalr t9 | t9 ();
| label_5:
0x00005c9c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005ca0 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005ca4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005ca8 addiu v0, v0, -0x6fe4 | v0 += -0x6fe4;
0x00005cac lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005cb0 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00005cb4 addiu a3, a3, -0x6e0c | a3 += -0x6e0c;
0x00005cb8 addiu a2, zero, 0x325 | a2 = 0x325;
0x00005cbc addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005cc0 move a0, zero | a0 = 0;
0x00005cc4 jalr t9 | t9 ();
| label_6:
0x00005cc8 lw t9, -0x7fbc(gp) | t9 = sym.confcache_error_quark;
0x00005ccc bal 0x6dd0 | sym_confcache_error_quark ();
0x00005cd0 nop |
0x00005cd4 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005cd8 addiu a1, zero, 0x66 | a1 = 0x66;
0x00005cdc move a0, v0 | a0 = v0;
0x00005ce0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00005ce4 lw t9, -0x7db0(gp) | t9 = sym.imp.g_error_new;
0x00005ce8 addiu a2, a2, -0x6fd0 | a2 += -0x6fd0;
0x00005cec jalr t9 | t9 ();
0x00005cf0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005cf4 sw v0, (s6) | *(s6) = v0;
0x00005cf8 move v0, zero | v0 = 0;
0x00005cfc b 0x5bb8 |
| } while (1);
| label_7:
0x00005d00 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005d04 lw t9, -0x7e80(gp) | t9 = sym.imp.g_variant_get;
0x00005d08 addiu a2, sp, 0x38 | a2 = sp + 0x38;
0x00005d0c addiu a1, a1, -0x6f94 | a1 += -0x6f94;
0x00005d10 move a0, v0 | a0 = v0;
0x00005d14 jalr t9 | t9 ();
0x00005d18 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005d1c lw v1, 4(s0) | v1 = *((s0 + 1));
0x00005d20 lw a0, 0x38(sp) | a0 = *(var_38h_3);
0x00005d24 lw s7, -0x7fc4(gp) | s7 = *((gp - 8177));
0x00005d28 addiu s7, s7, 0x42a8 | s7 += fcn.000042a8;
0x00005d2c move t9, s7 | t9 = s7;
0x00005d30 sw v1, 0x28(sp) | *(var_28h_2) = v1;
0x00005d34 bal 0x42a8 | fcn_000042a8 ();
0x00005d38 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005d3c lw v1, 0x34(sp) | v1 = *(var_34h_3);
0x00005d40 move a3, s2 | a3 = s2;
0x00005d44 addiu a0, v1, -0x6fa4 | a0 = v1 + -0x6fa4;
0x00005d48 lw v1, 0x78(sp) | v1 = *(var_10h);
0x00005d4c lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00005d50 move a2, s5 | a2 = s5;
0x00005d54 move a1, s3 | a1 = s3;
0x00005d58 sw v1, 0x10(sp) | *(var_10h_2) = v1;
0x00005d5c sw s4, 0x14(sp) | *(var_5ch_2) = s4;
0x00005d60 move s0, v0 | s0 = v0;
0x00005d64 jalr t9 | t9 ();
0x00005d68 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005d6c move a0, s0 | a0 = s0;
0x00005d70 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00005d74 addiu t9, t9, 0x3f60 | t9 += fcn.00003f60;
0x00005d78 move s2, v0 | s2 = v0;
0x00005d7c bal 0x3f60 | fcn_00003f60 ();
0x00005d80 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005d84 lw v1, 0x28(sp) | v1 = *(var_28h_2);
0x00005d88 move a2, s0 | a2 = s0;
0x00005d8c lw t9, -0x7eb8(gp) | t9 = sym.imp.g_hash_table_replace;
0x00005d90 move a0, v1 | a0 = v1;
0x00005d94 move a1, s2 | a1 = s2;
0x00005d98 move s0, v0 | s0 = v0;
0x00005d9c jalr t9 | t9 ();
0x00005da0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005da4 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00005da8 move a0, s0 | a0 = s0;
0x00005dac jalr t9 | t9 ();
0x00005db0 move t9, s7 | t9 = s7;
0x00005db4 lw a0, 0x38(sp) | a0 = *(var_38h_3);
0x00005db8 bal 0x42a8 | fcn_000042a8 ();
0x00005dbc lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005dc0 sw v0, (fp) | *(fp) = v0;
0x00005dc4 lw t9, -0x7ed0(gp) | t9 = sym.imp.g_variant_unref;
0x00005dc8 move a0, s6 | a0 = s6;
0x00005dcc jalr t9 | t9 ();
0x00005dd0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005dd4 lw t9, -0x7ed0(gp) | t9 = sym.imp.g_variant_unref;
0x00005dd8 lw a0, 0x38(sp) | a0 = *(var_38h_3);
0x00005ddc jalr t9 | t9 ();
0x00005de0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005de4 addiu v0, zero, 1 | v0 = 1;
0x00005de8 b 0x5bb8 | goto label_0;
| label_8:
0x00005dec lw t9, -0x7ecc(gp) | t9 = sym.imp.__stack_chk_fail;
0x00005df0 jalr t9 | t9 ();
0x00005df4 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x4a60 */
| #include <stdint.h>
|
; (fcn) sym.dbus_get_property_from_cache () | void dbus_get_property_from_cache () {
0x00004a60 lui gp, 2 |
0x00004a64 addiu gp, gp, -0x2a50 |
0x00004a68 addu gp, gp, t9 | gp += t9;
0x00004a6c addiu sp, sp, -0x30 |
0x00004a70 move v0, a3 | v0 = a3;
0x00004a74 move a3, a2 | a3 = a2;
0x00004a78 sw s1, 0x28(sp) | *(var_28h) = s1;
0x00004a7c move a2, v0 | a2 = v0;
0x00004a80 move s1, a0 | s1 = a0;
0x00004a84 lw v0, 0x40(sp) | v0 = *(arg_40h);
0x00004a88 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004a8c lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00004a90 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00004a94 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x00004a98 sw s0, 0x24(sp) | *(var_24h) = s0;
0x00004a9c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004aa0 addiu a0, a0, -0x7184 | a0 += -0x7184;
0x00004aa4 jalr t9 | t9 ();
0x00004aa8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00004aac lw a0, 4(s1) | a0 = *((s1 + 1));
0x00004ab0 move a1, v0 | a1 = v0;
0x00004ab4 lw t9, -0x7ee0(gp) | t9 = sym.imp.g_hash_table_lookup;
0x00004ab8 move s0, v0 | s0 = v0;
0x00004abc jalr t9 | t9 ();
0x00004ac0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00004ac4 beqz v0, 0x4af8 | goto label_0;
| }
0x00004ac8 lw v1, 0x44(sp) | v1 = *(arg_44h);
0x00004acc addiu s1, zero, 1 | s1 = 1;
0x00004ad0 sw v0, (v1) | *(v1) = v0;
| do {
0x00004ad4 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00004ad8 move a0, s0 | a0 = s0;
0x00004adc jalr t9 | t9 ();
0x00004ae0 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x00004ae4 move v0, s1 | v0 = s1;
0x00004ae8 lw s0, 0x24(sp) | s0 = *(var_24h);
0x00004aec lw s1, 0x28(sp) | s1 = *(var_28h);
0x00004af0 addiu sp, sp, 0x30 |
0x00004af4 jr ra | return v0;
| label_0:
0x00004af8 move s1, zero | s1 = 0;
0x00004afc b 0x4ad4 |
| } while (1);
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x4474 */
| #include <stdint.h>
|
; (fcn) sym.dbus_insert_property_into_cache () | void dbus_insert_property_into_cache () {
0x00004474 lui gp, 2 |
0x00004478 addiu gp, gp, -0x2464 |
0x0000447c addu gp, gp, t9 | gp += t9;
0x00004480 addiu sp, sp, -0x30 |
0x00004484 move v0, a3 | v0 = a3;
0x00004488 move a3, a2 | a3 = a2;
0x0000448c sw s2, 0x28(sp) | *(var_28h) = s2;
0x00004490 move a2, v0 | a2 = v0;
0x00004494 move s2, a0 | s2 = a0;
0x00004498 lw v0, 0x40(sp) | v0 = *(arg_40h);
0x0000449c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000044a0 lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x000044a4 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x000044a8 sw s1, 0x24(sp) | *(var_24h) = s1;
0x000044ac sw s0, 0x20(sp) | *(var_20h) = s0;
0x000044b0 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000044b4 addiu a0, a0, -0x7184 | a0 += -0x7184;
0x000044b8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000044bc lw s0, 0x44(sp) | s0 = *(arg_44h);
0x000044c0 jalr t9 | t9 ();
0x000044c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000044c8 move a0, s0 | a0 = s0;
0x000044cc lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x000044d0 addiu t9, t9, 0x3f60 | t9 += fcn.00003f60;
0x000044d4 move s1, v0 | s1 = v0;
0x000044d8 bal 0x3f60 | fcn_00003f60 ();
0x000044dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000044e0 move a0, s2 | a0 = s2;
0x000044e4 move a2, s0 | a2 = s0;
0x000044e8 lw t9, -0x7eb8(gp) | t9 = sym.imp.g_hash_table_replace;
0x000044ec move a1, s1 | a1 = s1;
0x000044f0 move s0, v0 | s0 = v0;
0x000044f4 jalr t9 | t9 ();
0x000044f8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000044fc lw ra, 0x2c(sp) | ra = *(var_2ch);
0x00004500 lw s2, 0x28(sp) | s2 = *(var_28h);
0x00004504 lw s1, 0x24(sp) | s1 = *(var_24h);
0x00004508 move a0, s0 | a0 = s0;
0x0000450c lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00004510 lw s0, 0x20(sp) | s0 = *(var_20h);
0x00004514 addiu sp, sp, 0x30 |
0x00004518 jr t9 | return t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x49e0 */
| #include <stdint.h>
|
; (fcn) sym.dbus_remove_property_from_cache () | void dbus_remove_property_from_cache () {
0x000049e0 lui gp, 2 |
0x000049e4 addiu gp, gp, -0x29d0 |
0x000049e8 addu gp, gp, t9 | gp += t9;
0x000049ec addiu sp, sp, -0x30 |
0x000049f0 move v0, a3 | v0 = a3;
0x000049f4 move a3, a2 | a3 = a2;
0x000049f8 sw s1, 0x28(sp) | *(var_28h) = s1;
0x000049fc move a2, v0 | a2 = v0;
0x00004a00 move s1, a0 | s1 = a0;
0x00004a04 lw v0, 0x40(sp) | v0 = *(arg_40h);
0x00004a08 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004a0c lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00004a10 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x00004a14 sw s0, 0x24(sp) | *(var_24h) = s0;
0x00004a18 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00004a1c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004a20 addiu a0, a0, -0x7184 | a0 += -0x7184;
0x00004a24 jalr t9 | t9 ();
0x00004a28 lw gp, 0x18(sp) | gp = *(var_18h);
0x00004a2c move a0, s1 | a0 = s1;
0x00004a30 move a1, v0 | a1 = v0;
0x00004a34 lw t9, -0x7e0c(gp) | t9 = sym.imp.g_hash_table_remove;
0x00004a38 move s0, v0 | s0 = v0;
0x00004a3c jalr t9 | t9 ();
0x00004a40 lw gp, 0x18(sp) | gp = *(var_18h);
0x00004a44 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x00004a48 lw s1, 0x28(sp) | s1 = *(var_28h);
0x00004a4c move a0, s0 | a0 = s0;
0x00004a50 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00004a54 lw s0, 0x24(sp) | s0 = *(var_24h);
0x00004a58 addiu sp, sp, 0x30 |
0x00004a5c jr t9 | return t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/confcached @ 0x5df8 */
| #include <stdint.h>
|
; (fcn) sym.dbus_set_dyn_param () | void dbus_set_dyn_param () {
0x00005df8 lui gp, 2 |
0x00005dfc addiu gp, gp, -0x3de8 |
0x00005e00 addu gp, gp, t9 | gp += t9;
0x00005e04 addiu sp, sp, -0x48 |
0x00005e08 sw gp, 0x20(sp) | *(var_20h_3) = gp;
0x00005e0c sw s2, 0x30(sp) | *(var_30h_2) = s2;
0x00005e10 sw ra, 0x44(sp) | *(var_44h_3) = ra;
0x00005e14 sw s6, 0x40(sp) | *(var_40h_3) = s6;
0x00005e18 sw s5, 0x3c(sp) | *(var_3ch_3) = s5;
0x00005e1c sw s4, 0x38(sp) | *(var_38h_2) = s4;
0x00005e20 sw s3, 0x34(sp) | *(var_34h_2) = s3;
0x00005e24 sw s1, 0x2c(sp) | *(var_2ch_2) = s1;
0x00005e28 sw s0, 0x28(sp) | *(var_28h_3) = s0;
0x00005e2c lw s2, 0x70(sp) | s2 = *(var_28h_2);
| if (a0 == 0) {
0x00005e30 beqz a0, 0x5fbc | goto label_1;
| }
0x00005e34 move s3, a1 | s3 = a1;
| if (a1 == 0) {
0x00005e38 beqz a1, 0x5fe4 | goto label_2;
| }
0x00005e3c move s1, a2 | s1 = a2;
| if (a2 == 0) {
0x00005e40 beqz a2, 0x6010 | goto label_3;
| }
0x00005e44 move s4, a3 | s4 = a3;
| if (a3 == 0) {
0x00005e48 beqz a3, 0x603c | goto label_4;
| }
0x00005e4c lw v0, 0x68(sp) | v0 = *(var_20h_2);
0x00005e50 lw v0, 0x6c(sp) | v0 = *(var_6ch);
| if (v0 == 0) {
0x00005e54 beqz v0, 0x6068 | goto label_5;
| }
0x00005e58 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
| if (v0 == 0) {
0x00005e5c beqz v0, 0x6094 | goto label_6;
| }
0x00005e60 lw v0, 0x60(sp) | v0 = *(var_60h_2);
0x00005e64 sw s2, 0x14(sp) | *(var_14h) = s2;
0x00005e68 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00005e6c addiu t9, t9, 0x4b9c | t9 += fcn.00004b9c;
0x00005e70 move s0, a0 | s0 = a0;
0x00005e74 bal 0x4b9c | fcn_00004b9c ();
0x00005e78 move s6, v0 | s6 = v0;
0x00005e7c lw gp, 0x20(sp) | gp = *(var_20h_3);
| if (v0 == 0) {
0x00005e80 beqz v0, 0x60c0 | goto label_7;
| }
0x00005e84 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00005e88 lw a2, 0x58(sp) | a2 = *(var_10h_2);
0x00005e8c move a1, s1 | a1 = s1;
0x00005e90 addiu t9, t9, 0x41fc | t9 += fcn.000041fc;
0x00005e94 addiu a0, s0, 8 | a0 = s0 + 8;
0x00005e98 bal 0x41fc | fcn_000041fc ();
0x00005e9c lw gp, 0x20(sp) | gp = *(var_20h_3);
| if (v0 == 0) {
0x00005ea0 beqz v0, 0x61cc | goto label_8;
| }
0x00005ea4 lw t9, -0x7e70(gp) | t9 = sym.imp.g_variant_ref;
0x00005ea8 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00005eac jalr t9 | t9 ();
0x00005eb0 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005eb4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00005eb8 lw t9, -0x7eb0(gp) | t9 = sym.imp.g_variant_builder_new;
0x00005ebc addiu a0, a0, -0x7000 | a0 += -0x7000;
0x00005ec0 jalr t9 | t9 ();
0x00005ec4 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005ec8 lw a2, 0x58(sp) | a2 = *(var_10h_2);
0x00005ecc move a0, v0 | a0 = v0;
0x00005ed0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005ed4 lw t9, -0x7da4(gp) | t9 = sym.imp.g_variant_builder_add;
0x00005ed8 addiu a1, a1, -0x71cc | a1 += -0x71cc;
0x00005edc move s5, v0 | s5 = v0;
0x00005ee0 jalr t9 | t9 ();
0x00005ee4 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005ee8 lw a2, 0x68(sp) | a2 = *(var_20h_2);
0x00005eec move a0, s5 | a0 = s5;
0x00005ef0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005ef4 lw t9, -0x7da4(gp) | t9 = sym.imp.g_variant_builder_add;
0x00005ef8 addiu a1, a1, -0x6f14 | a1 += -0x6f14;
0x00005efc jalr t9 | t9 ();
0x00005f00 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005f04 lw a2, 0x6c(sp) | a2 = *(var_6ch);
0x00005f08 move a0, s5 | a0 = s5;
0x00005f0c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005f10 lw t9, -0x7da4(gp) | t9 = sym.imp.g_variant_builder_add;
0x00005f14 addiu a1, a1, -0x6f80 | a1 += -0x6f80;
0x00005f18 jalr t9 | t9 ();
0x00005f1c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005f20 lw t9, -0x7e7c(gp) | t9 = sym.socket_api_unpack_data;
0x00005f24 move a0, s5 | a0 = s5;
0x00005f28 jalr t9 | t9 ();
0x00005f2c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005f30 move a0, s5 | a0 = s5;
0x00005f34 lw t9, -0x7f28(gp) | t9 = sym.imp.g_variant_builder_unref;
0x00005f38 move s5, v0 | s5 = v0;
0x00005f3c jalr t9 | t9 ();
0x00005f40 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005f44 addiu v0, zero, 0x2710 | v0 = 0x2710;
0x00005f48 lw a1, 0x5c(sp) | a1 = *(var_5ch_2);
0x00005f4c lw t9, -0x7df8(gp) | t9 = sym.imp.g_dbus_proxy_call_sync;
0x00005f50 sw s2, 0x18(sp) | *(var_18h) = s2;
0x00005f54 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00005f58 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00005f5c move a3, zero | a3 = 0;
0x00005f60 move a2, s5 | a2 = s5;
0x00005f64 move a0, s6 | a0 = s6;
0x00005f68 jalr t9 | t9 ();
0x00005f6c lw v1, (s2) | v1 = *(s2);
0x00005f70 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00005f74 move s2, v0 | s2 = v0;
| if (v1 == 0) {
0x00005f78 beqz v1, 0x60f0 | goto label_9;
| }
0x00005f7c move s0, zero | s0 = 0;
| do {
| label_0:
0x00005f80 lw t9, -0x7ed0(gp) | t9 = sym.imp.g_variant_unref;
| if (s2 != 0) {
0x00005f84 beqz s2, 0x5f90 |
0x00005f88 move a0, s2 | a0 = s2;
0x00005f8c jalr t9 | t9 ();
| }
0x00005f90 lw ra, 0x44(sp) | ra = *(var_44h_3);
0x00005f94 move v0, s0 | v0 = s0;
0x00005f98 lw s6, 0x40(sp) | s6 = *(var_40h_3);
0x00005f9c lw s5, 0x3c(sp) | s5 = *(var_3ch_3);
0x00005fa0 lw s4, 0x38(sp) | s4 = *(var_38h_2);
0x00005fa4 lw s3, 0x34(sp) | s3 = *(var_34h_2);
0x00005fa8 lw s2, 0x30(sp) | s2 = *(var_30h_2);
0x00005fac lw s1, 0x2c(sp) | s1 = *(var_2ch_2);
0x00005fb0 lw s0, 0x28(sp) | s0 = *(var_28h_3);
0x00005fb4 addiu sp, sp, 0x48 |
0x00005fb8 jr ra | return v0;
| label_1:
0x00005fbc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005fc0 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005fc4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005fc8 addiu v0, v0, -0x75dc | v0 += -0x75dc;
0x00005fcc lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005fd0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00005fd4 addiu a3, a3, -0x6e20 | a3 += -0x6e20;
0x00005fd8 addiu a2, zero, 0x373 | a2 = 0x373;
0x00005fdc addiu a1, a1, -0x719c | a1 += -0x719c;
0x00005fe0 jalr t9 | t9 ();
| label_2:
0x00005fe4 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00005fe8 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00005fec lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00005ff0 addiu v0, v0, -0x70dc | v0 += -0x70dc;
0x00005ff4 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005ff8 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00005ffc addiu a3, a3, -0x6e20 | a3 += -0x6e20;
0x00006000 addiu a2, zero, 0x374 | a2 = 0x374;
0x00006004 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00006008 move a0, zero | a0 = 0;
0x0000600c jalr t9 | t9 ();
| label_3:
0x00006010 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00006014 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00006018 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000601c addiu v0, v0, -0x7164 | v0 += -0x7164;
0x00006020 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00006024 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00006028 addiu a3, a3, -0x6e20 | a3 += -0x6e20;
0x0000602c addiu a2, zero, 0x375 | a2 = 0x375;
0x00006030 addiu a1, a1, -0x719c | a1 += -0x719c;
0x00006034 move a0, zero | a0 = 0;
0x00006038 jalr t9 | t9 ();
| label_4:
0x0000603c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00006040 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00006044 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00006048 addiu v0, v0, -0x7154 | v0 += -0x7154;
0x0000604c lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00006050 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00006054 addiu a3, a3, -0x6e20 | a3 += -0x6e20;
0x00006058 addiu a2, zero, 0x376 | a2 = 0x376;
0x0000605c addiu a1, a1, -0x719c | a1 += -0x719c;
0x00006060 move a0, zero | a0 = 0;
0x00006064 jalr t9 | t9 ();
| label_5:
0x00006068 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000606c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00006070 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00006074 addiu v0, v0, -0x6fe4 | v0 += -0x6fe4;
0x00006078 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x0000607c sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00006080 addiu a3, a3, -0x6e20 | a3 += -0x6e20;
0x00006084 addiu a2, zero, 0x377 | a2 = 0x377;
0x00006088 addiu a1, a1, -0x719c | a1 += -0x719c;
0x0000608c move a0, zero | a0 = 0;
0x00006090 jalr t9 | t9 ();
| label_6:
0x00006094 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00006098 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000609c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000060a0 addiu v0, v0, -0x6f90 | v0 += -0x6f90;
0x000060a4 lw t9, -0x7e28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x000060a8 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000060ac addiu a3, a3, -0x6e20 | a3 += -0x6e20;
0x000060b0 addiu a2, zero, 0x378 | a2 = 0x378;
0x000060b4 addiu a1, a1, -0x719c | a1 += -0x719c;
0x000060b8 move a0, zero | a0 = 0;
0x000060bc jalr t9 | t9 ();
| label_7:
0x000060c0 lw ra, 0x44(sp) | ra = *(var_44h_3);
0x000060c4 move s0, zero | s0 = 0;
0x000060c8 move v0, s0 | v0 = s0;
0x000060cc lw s6, 0x40(sp) | s6 = *(var_40h_3);
0x000060d0 lw s5, 0x3c(sp) | s5 = *(var_3ch_3);
0x000060d4 lw s4, 0x38(sp) | s4 = *(var_38h_2);
0x000060d8 lw s3, 0x34(sp) | s3 = *(var_34h_2);
0x000060dc lw s2, 0x30(sp) | s2 = *(var_30h_2);
0x000060e0 lw s1, 0x2c(sp) | s1 = *(var_2ch_2);
0x000060e4 lw s0, 0x28(sp) | s0 = *(var_28h_3);
0x000060e8 addiu sp, sp, 0x48 |
0x000060ec jr ra | return v0;
| label_9:
0x000060f0 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x000060f4 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x000060f8 addiu t9, t9, 0x42a8 | t9 += fcn.000042a8;
0x000060fc lw s5, 4(s0) | s5 = *((s0 + 1));
0x00006100 bal 0x42a8 | fcn_000042a8 ();
0x00006104 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00006108 lw v1, 0x68(sp) | v1 = *(var_20h_2);
0x0000610c move a3, s1 | a3 = s1;
0x00006110 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006114 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00006118 lw v1, 0x58(sp) | v1 = *(var_10h_2);
0x0000611c lw t9, -0x7e34(gp) | t9 = sym.imp.g_strdup_printf
0x00006120 sw v1, 0x10(sp) | *(var_10h_3) = v1;
0x00006124 move a1, s3 | a1 = s3;
0x00006128 move a2, s4 | a2 = s4;
0x0000612c addiu a0, a0, -0x6fa4 | a0 += -0x6fa4;
0x00006130 move s1, v0 | s1 = v0;
0x00006134 jalr t9 | t9 ();
0x00006138 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x0000613c move a0, s1 | a0 = s1;
0x00006140 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x00006144 addiu t9, t9, 0x3f60 | t9 += fcn.00003f60;
0x00006148 move s3, v0 | s3 = v0;
0x0000614c bal 0x3f60 | fcn_00003f60 ();
0x00006150 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00006154 move a2, s1 | a2 = s1;
0x00006158 move a1, s3 | a1 = s3;
0x0000615c lw t9, -0x7eb8(gp) | t9 = sym.imp.g_hash_table_replace;
0x00006160 move a0, s5 | a0 = s5;
0x00006164 move s1, v0 | s1 = v0;
0x00006168 jalr t9 | t9 ();
0x0000616c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00006170 lw t9, -0x7d78(gp) | t9 = *((gp - 8030));
0x00006174 move a0, s1 | a0 = s1;
0x00006178 jalr t9 | t9 ();
0x0000617c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00006180 lw t9, -0x7ed0(gp) | t9 = sym.imp.g_variant_unref;
0x00006184 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00006188 jalr t9 | t9 ();
0x0000618c lw v0, 0x64(sp) | v0 = *(var_64h_2);
0x00006190 lw gp, 0x20(sp) | gp = *(var_20h_3);
| if (v0 == 0) {
0x00006194 beqz v0, 0x6224 | goto label_10;
| }
0x00006198 lw v1, 0x64(sp) | v1 = *(var_64h_2);
0x0000619c lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x000061a0 lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x000061a4 lw a3, 8(v1) | a3 = *((v1 + 2));
0x000061a8 lw a2, 4(v1) | a2 = *((v1 + 1));
0x000061ac lw a1, (v1) | a1 = *(v1);
0x000061b0 move a0, s0 | a0 = s0;
0x000061b4 addiu t9, t9, 0x4350 | t9 += fcn.00004350;
0x000061b8 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000061bc bal 0x4350 | fcn_00004350 ();
0x000061c0 addiu s0, zero, 1 | s0 = 1;
0x000061c4 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x000061c8 b 0x5f80 |
| } while (1);
| label_8:
0x000061cc lw t9, -0x7fbc(gp) | t9 = sym.confcache_error_quark;
0x000061d0 move s0, zero | s0 = 0;
0x000061d4 bal 0x6dd0 | sym_confcache_error_quark ();
0x000061d8 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x000061dc addiu a1, zero, 0x66 | a1 = 0x66;
0x000061e0 move a0, v0 | a0 = v0;
0x000061e4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000061e8 lw t9, -0x7db0(gp) | t9 = sym.imp.g_error_new;
0x000061ec addiu a2, a2, -0x7018 | a2 += -0x7018;
0x000061f0 jalr t9 | t9 ();
0x000061f4 lw ra, 0x44(sp) | ra = *(var_44h_3);
0x000061f8 sw v0, (s2) | *(s2) = v0;
0x000061fc lw s6, 0x40(sp) | s6 = *(var_40h_3);
0x00006200 move v0, s0 | v0 = s0;
0x00006204 lw s5, 0x3c(sp) | s5 = *(var_3ch_3);
0x00006208 lw s4, 0x38(sp) | s4 = *(var_38h_2);
0x0000620c lw s3, 0x34(sp) | s3 = *(var_34h_2);
0x00006210 lw s2, 0x30(sp) | s2 = *(var_30h_2);
0x00006214 lw s1, 0x2c(sp) | s1 = *(var_2ch_2);
0x00006218 lw s0, 0x28(sp) | s0 = *(var_28h_3);
0x0000621c addiu sp, sp, 0x48 |
0x00006220 jr ra | return v0;
| label_10:
0x00006224 addiu s0, zero, 1 | s0 = 1;
0x00006228 b 0x5f80 | goto label_0;
| }
[*] Function printf used 14 times confcached