[*] Binary protection state of addon-registry
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of addon-registry
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-registry @ 0x1970 */
| #include <stdint.h>
|
; (fcn) fcn.00001970 () | void fcn_00001970 () {
0x00001970 lui gp, 2 |
0x00001974 addiu gp, gp, -0x4940 |
0x00001978 addu gp, gp, t9 | gp += t9;
0x0000197c addiu sp, sp, -0x68 |
0x00001980 lw t9, -0x7f08(gp) | t9 = sym.imp.g_strdup_printf
0x00001984 sw s0, 0x40(sp) | *(var_40h) = s0;
0x00001988 move s0, a1 | s0 = a1;
0x0000198c move a1, a0 | a1 = a0;
0x00001990 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00001994 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00001998 sw ra, 0x64(sp) | *(var_64h) = ra;
0x0000199c sw s1, 0x44(sp) | *(var_44h) = s1;
0x000019a0 move a2, s0 | a2 = s0;
0x000019a4 sw fp, 0x60(sp) | *(var_60h) = fp;
0x000019a8 sw s7, 0x5c(sp) | *(var_5ch) = s7;
0x000019ac sw s6, 0x58(sp) | *(var_58h) = s6;
0x000019b0 sw s5, 0x54(sp) | *(var_54h) = s5;
0x000019b4 sw s4, 0x50(sp) | *(var_50h) = s4;
0x000019b8 sw s3, 0x4c(sp) | *(var_4ch) = s3;
0x000019bc sw s2, 0x48(sp) | *(var_48h) = s2;
0x000019c0 addiu a0, a0, 0x3d50 | a0 += str._s__s;
0x000019c4 jalr t9 | t9 ();
0x000019c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000019cc addiu a1, zero, 4 | a1 = 4;
0x000019d0 move a0, v0 | a0 = v0;
0x000019d4 lw t9, -0x7f84(gp) | t9 = sym.imp.g_file_test;
0x000019d8 move s1, v0 | s1 = v0;
0x000019dc jalr t9 | t9 ();
0x000019e0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000019e4 bnez v0, 0x1e8c | goto label_3;
| }
0x000019e8 lw t9, -0x7ee8(gp) | t9 = sym.imp.xmlnode_load_file;
0x000019ec move a0, s1 | a0 = s1;
0x000019f0 jalr t9 | t9 ();
0x000019f4 move s2, v0 | s2 = v0;
0x000019f8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000019fc beqz v0, 0x1e6c | goto label_4;
| }
0x00001a00 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00001a04 lw t9, -0x7eb8(gp) | t9 = *((gp - 8110));
0x00001a08 lw a0, 4(v0) | a0 = *((v0 + 1));
0x00001a0c addiu a1, a1, 0x3d84 | a1 += str.service;
0x00001a10 jalr t9 | t9 ();
0x00001a14 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00001a18 bnez v0, 0x1ed0 | goto label_5;
| }
0x00001a1c lw t9, -0x7f54(gp) | t9 = sym.imp.g_malloc0;
0x00001a20 addiu a0, zero, 0x18 | a0 = 0x18;
0x00001a24 jalr t9 | t9 ();
0x00001a28 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001a2c move s0, v0 | s0 = v0;
0x00001a30 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00001a34 addiu v0, zero, 1 | v0 = 1;
0x00001a38 lw t9, -0x7f34(gp) | t9 = sym.imp.g_list_append;
0x00001a3c move a1, s1 | a1 = s1;
0x00001a40 sw v0, 0x14(s0) | *((s0 + 5)) = v0;
0x00001a44 lw fp, -0x7fd8(gp) | fp = *((gp - 8182));
0x00001a48 sw s2, 0x10(s0) | *((s0 + 4)) = s2;
0x00001a4c jalr t9 | t9 ();
0x00001a50 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001a54 addiu a1, fp, 0x3d8c | a1 = fp + str.name;
0x00001a58 move a0, s2 | a0 = s2;
0x00001a5c lw t9, -0x7f74(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001a60 sw v0, 8(s0) | *((s0 + 2)) = v0;
0x00001a64 jalr t9 | t9 ();
0x00001a68 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001a6c lw t9, -0x7ebc(gp) | t9 = sym.imp.g_strdup;
0x00001a70 move a0, v0 | a0 = v0;
0x00001a74 jalr t9 | t9 ();
0x00001a78 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001a7c move a0, s2 | a0 = s2;
0x00001a80 sw v0, (s0) | *(s0) = v0;
0x00001a84 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00001a88 lw t9, -0x7f74(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001a8c addiu a1, a1, 0x3d94 | a1 += str.user;
0x00001a90 jalr t9 | t9 ();
0x00001a94 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001a98 lw t9, -0x7ebc(gp) | t9 = sym.imp.g_strdup;
0x00001a9c move a0, v0 | a0 = v0;
0x00001aa0 jalr t9 | t9 ();
0x00001aa4 lw v1, (s0) | v1 = *(s0);
0x00001aa8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001aac sw v0, 4(s0) | *((s0 + 1)) = v0;
| if (v1 == 0) {
0x00001ab0 beqz v1, 0x1d00 | goto label_6;
| }
0x00001ab4 lw s3, 0x10(s2) | s3 = *((s2 + 4));
0x00001ab8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (s3 == 0) {
0x00001abc beqz s3, 0x1d00 | goto label_6;
| }
0x00001ac0 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00001ac4 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00001ac8 addiu v0, v0, 0x3db8 | v0 += str.interface;
0x00001acc sw v0, 0x34(sp) | *(var_34h) = v0;
0x00001ad0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00001ad4 addiu v0, v0, 0x3dc4 | v0 += str.major;
0x00001ad8 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00001adc lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00001ae0 addiu v0, v0, 0x3dcc | v0 += str.minor;
0x00001ae4 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00001ae8 lw s2, (s3) | s2 = *(s3);
| label_2:
0x00001aec lw v0, 0x20(sp) | v0 = *(var_20h);
0x00001af0 lw t9, -0x7eb8(gp) | t9 = *((gp - 8110));
0x00001af4 lw a0, 4(s2) | a0 = *((s2 + 1));
0x00001af8 addiu a1, v0, 0x3d9c | a1 = v0 + str.objects;
0x00001afc jalr t9 | t9 ();
0x00001b00 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00001b04 bnez v0, 0x1d00 | goto label_6;
| }
0x00001b08 lw s4, 0x10(s2) | s4 = *((s2 + 4));
0x00001b0c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (s4 == 0) {
0x00001b10 beqz s4, 0x1ef4 | goto label_7;
| }
0x00001b14 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00001b18 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00001b1c sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00001b20 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00001b24 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00001b28 lw s5, (s4) | s5 = *(s4);
| label_0:
0x00001b2c lw v0, 0x24(sp) | v0 = *(var_24h);
0x00001b30 lw t9, -0x7eb8(gp) | t9 = *((gp - 8110));
0x00001b34 lw a0, 4(s5) | a0 = *((s5 + 1));
0x00001b38 addiu a1, v0, 0x3da4 | a1 = v0 + str.object;
0x00001b3c lw s2, 0x10(s5) | s2 = *((s5 + 4));
0x00001b40 jalr t9 | t9 ();
0x00001b44 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00001b48 bnez v0, 0x1d00 | goto label_6;
| }
0x00001b4c lw t9, -0x7f54(gp) | t9 = sym.imp.g_malloc0;
0x00001b50 addiu a0, zero, 8 | a0 = 8;
0x00001b54 jalr t9 | t9 ();
0x00001b58 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001b5c addiu a1, fp, 0x3d8c | a1 = fp + str.name;
0x00001b60 move a0, s5 | a0 = s5;
0x00001b64 lw t9, -0x7f74(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001b68 move s7, v0 | s7 = v0;
0x00001b6c jalr t9 | t9 ();
0x00001b70 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001b74 lw t9, -0x7ebc(gp) | t9 = sym.imp.g_strdup;
0x00001b78 move a0, v0 | a0 = v0;
0x00001b7c jalr t9 | t9 ();
0x00001b80 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001b84 lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00001b88 sw v0, (s7) | *(s7) = v0;
0x00001b8c lw t9, -0x7f58(gp) | t9 = sym.imp.g_list_prepend;
0x00001b90 move a1, s7 | a1 = s7;
0x00001b94 jalr t9 | t9 ();
0x00001b98 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001b9c sw v0, 0xc(s0) | *((s0 + 3)) = v0;
| if (s2 == 0) {
0x00001ba0 beqz s2, 0x1d00 | goto label_6;
| }
0x00001ba4 lw t9, -0x7f00(gp) | t9 = sym.imp.g_list_length;
0x00001ba8 move a0, s2 | a0 = s2;
0x00001bac jalr t9 | t9 ();
0x00001bb0 addiu v1, zero, 1 | v1 = 1;
0x00001bb4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != v1) {
0x00001bb8 bne v0, v1, 0x1d00 | goto label_6;
| }
0x00001bbc lw s2, (s2) | s2 = *(s2);
0x00001bc0 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00001bc4 lw t9, -0x7eb8(gp) | t9 = *((gp - 8110));
0x00001bc8 lw a0, 4(s2) | a0 = *((s2 + 1));
0x00001bcc addiu a1, v0, 0x3dac | a1 = v0 + str.interfaces;
0x00001bd0 jalr t9 | t9 ();
0x00001bd4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00001bd8 bnez v0, 0x1d00 | goto label_6;
| }
0x00001bdc lw s5, 0x10(s2) | s5 = *((s2 + 4));
0x00001be0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (s5 == 0) {
0x00001be4 beqz s5, 0x1ee8 | goto label_8;
| }
0x00001be8 addiu v0, v0, 0x3dec | v0 += str.true;
0x00001bec sw v0, 0x28(sp) | *(var_28h) = v0;
0x00001bf0 b 0x1cdc |
| while (v0 == 0) {
0x00001bf4 jalr t9 | t9 ();
0x00001bf8 nop |
0x00001bfc lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c00 addiu a1, fp, 0x3d8c | a1 = fp + str.name;
0x00001c04 move a0, s6 | a0 = s6;
0x00001c08 lw t9, -0x7f74(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001c0c move s2, v0 | s2 = v0;
0x00001c10 jalr t9 | t9 ();
0x00001c14 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c18 lw t9, -0x7ebc(gp) | t9 = sym.imp.g_strdup;
0x00001c1c move a0, v0 | a0 = v0;
0x00001c20 jalr t9 | t9 ();
0x00001c24 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c28 lw a1, 0x38(sp) | a1 = *(var_38h);
0x00001c2c move a0, s6 | a0 = s6;
0x00001c30 lw t9, -0x7f74(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001c34 sw v0, (s2) | *(s2) = v0;
0x00001c38 jalr t9 | t9 ();
0x00001c3c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c40 lw t9, -0x7ebc(gp) | t9 = sym.imp.g_strdup;
0x00001c44 move a0, v0 | a0 = v0;
0x00001c48 jalr t9 | t9 ();
0x00001c4c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c50 lw a1, 0x3c(sp) | a1 = *(var_3ch);
0x00001c54 move a0, s6 | a0 = s6;
0x00001c58 lw t9, -0x7f74(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001c5c sw v0, 4(s2) | *((s2 + 1)) = v0;
0x00001c60 jalr t9 | t9 ();
0x00001c64 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c68 lw t9, -0x7ebc(gp) | t9 = sym.imp.g_strdup;
0x00001c6c move a0, v0 | a0 = v0;
0x00001c70 jalr t9 | t9 ();
0x00001c74 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c78 lw v1, 0x30(sp) | v1 = *(var_30h);
0x00001c7c move a0, s6 | a0 = s6;
0x00001c80 lw t9, -0x7f74(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001c84 addiu a1, v1, 0x3dd4 | a1 = v1 + str.emitspropertieschanged;
0x00001c88 sw v0, 8(s2) | *((s2 + 2)) = v0;
0x00001c8c sw s1, 0xc(s2) | *((s2 + 3)) = s1;
0x00001c90 jalr t9 | t9 ();
0x00001c94 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001c98 lw a1, 0x28(sp) | a1 = *(var_28h);
0x00001c9c move a0, v0 | a0 = v0;
0x00001ca0 lw t9, -0x7f88(gp) | t9 = sym.imp.g_ascii_strcasecmp;
| if (v0 != 0) {
0x00001ca4 beqz v0, 0x1cbc |
0x00001ca8 jalr t9 | t9 ();
0x00001cac nop |
0x00001cb0 sltiu v0, v0, 1 | v0 = (v0 < 1) ? 1 : 0;
0x00001cb4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001cb8 sw v0, 0x10(s2) | *((s2 + 4)) = v0;
| }
0x00001cbc lw t9, -0x7f58(gp) | t9 = sym.imp.g_list_prepend;
0x00001cc0 lw a0, 4(s7) | a0 = *((s7 + 1));
0x00001cc4 move a1, s2 | a1 = s2;
0x00001cc8 jalr t9 | t9 ();
0x00001ccc lw s5, 4(s5) | s5 = *((s5 + 1));
0x00001cd0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001cd4 sw v0, 4(s7) | *((s7 + 1)) = v0;
| if (s5 == 0) {
0x00001cd8 beqz s5, 0x1ee8 | goto label_8;
| }
0x00001cdc lw s6, (s5) | s6 = *(s5);
0x00001ce0 lw t9, -0x7eb8(gp) | t9 = *((gp - 8110));
0x00001ce4 lw a1, 0x34(sp) | a1 = *(var_34h);
0x00001ce8 lw a0, 4(s6) | a0 = *((s6 + 1));
0x00001cec jalr t9 | t9 ();
0x00001cf0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001cf4 addiu a0, zero, 0x14 | a0 = 0x14;
0x00001cf8 lw t9, -0x7f54(gp) | t9 = sym.imp.g_malloc0;
0x00001cfc beqz v0, 0x1bf4 |
| }
| do {
| label_6:
0x00001d00 lw t9, -0x7e88(gp) | t9 = sym.imp.open;
0x00001d04 move a1, zero | a1 = 0;
0x00001d08 move a0, s1 | a0 = s1;
0x00001d0c jalr t9 | t9 ();
0x00001d10 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001d14 addiu a2, zero, 2 | a2 = 2;
0x00001d18 move a1, zero | a1 = 0;
0x00001d1c lw t9, -0x7f64(gp) | t9 = sym.imp.lseek;
0x00001d20 move a0, v0 | a0 = v0;
0x00001d24 move s4, v0 | s4 = v0;
0x00001d28 jalr t9 | t9 ();
0x00001d2c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001d30 addiu a0, v0, 1 | a0 = v0 + 1;
0x00001d34 lw t9, -0x7ee0(gp) | t9 = sym.imp.g_malloc;
0x00001d38 move s2, v0 | s2 = v0;
0x00001d3c jalr t9 | t9 ();
0x00001d40 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001d44 move a2, zero | a2 = 0;
0x00001d48 move a1, zero | a1 = 0;
0x00001d4c lw t9, -0x7f64(gp) | t9 = sym.imp.lseek;
0x00001d50 move a0, s4 | a0 = s4;
0x00001d54 move s3, v0 | s3 = v0;
0x00001d58 jalr t9 | t9 ();
0x00001d5c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001d60 move a2, s2 | a2 = s2;
0x00001d64 move a1, s3 | a1 = s3;
0x00001d68 lw t9, -0x7eec(gp) | t9 = sym.imp.read;
0x00001d6c move a0, s4 | a0 = s4;
0x00001d70 jalr t9 | t9 ();
0x00001d74 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x00001d78 bltz v0, 0x1f08 | goto label_9;
| }
0x00001d7c lw t9, -0x7f38(gp) | t9 = sym.imp.close;
0x00001d80 move a0, s4 | a0 = s4;
0x00001d84 jalr t9 | t9 ();
0x00001d88 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001d8c addu s2, s3, s2 | s2 = s3 + s2;
0x00001d90 move a3, s1 | a3 = s1;
0x00001d94 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001d98 lw t9, -0x7f78(gp) | t9 = sym.imp.g_log;
0x00001d9c addiu a2, a2, 0x3e24 | a2 += str.Service_registry_conf_file_is_badly_formatted_unsupported:__s_n_s;
0x00001da0 addiu a1, zero, 0x10 | a1 = 0x10;
0x00001da4 move a0, zero | a0 = 0;
0x00001da8 sb zero, (s2) | *(s2) = 0;
0x00001dac sw s3, 0x10(sp) | *(var_10h) = s3;
0x00001db0 jalr t9 | t9 ();
0x00001db4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001db8 lw t9, -0x7e84(gp) | t9 = *((gp - 8097));
0x00001dbc move a0, s3 | a0 = s3;
0x00001dc0 jalr t9 | t9 ();
0x00001dc4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s0 != 0) {
0x00001dc8 beqz s0, 0x1e8c |
0x00001dcc lw a1, -0x7e84(gp) | a1 = *((gp - 8097));
0x00001dd0 lw t9, -0x7ed8(gp) | t9 = sym.imp.g_list_free_full;
0x00001dd4 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00001dd8 jalr t9 | t9 ();
0x00001ddc lw gp, 0x18(sp) | gp = *(var_18h);
0x00001de0 lw t9, -0x7e84(gp) | t9 = *((gp - 8097));
0x00001de4 lw a0, (s0) | a0 = *(s0);
0x00001de8 jalr t9 | t9 ();
0x00001dec lw gp, 0x18(sp) | gp = *(var_18h);
0x00001df0 lw t9, -0x7e84(gp) | t9 = *((gp - 8097));
0x00001df4 lw a0, 4(s0) | a0 = *((s0 + 1));
0x00001df8 jalr t9 | t9 ();
0x00001dfc lw gp, 0x18(sp) | gp = *(var_18h);
0x00001e00 lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00001e04 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00001e08 lw t9, -0x7ed8(gp) | t9 = sym.imp.g_list_free_full;
0x00001e0c addiu a1, a1, 0x1fcc | a1 += 0x1fcc;
0x00001e10 jalr t9 | t9 ();
0x00001e14 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001e18 lw t9, -0x7ec4(gp) | t9 = sym.imp.xmlnode_free_tree;
0x00001e1c lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00001e20 jalr t9 | t9 ();
0x00001e24 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001e28 move a0, s0 | a0 = s0;
0x00001e2c lw t9, -0x7e84(gp) | t9 = *((gp - 8097));
0x00001e30 move s0, zero | s0 = 0;
0x00001e34 jalr t9 | t9 ();
0x00001e38 lw ra, 0x64(sp) | ra = *(var_64h);
0x00001e3c move v0, s0 | v0 = s0;
0x00001e40 lw fp, 0x60(sp) | fp = *(var_60h);
0x00001e44 lw s7, 0x5c(sp) | s7 = *(var_5ch);
0x00001e48 lw s6, 0x58(sp) | s6 = *(var_58h);
0x00001e4c lw s5, 0x54(sp) | s5 = *(var_54h);
0x00001e50 lw s4, 0x50(sp) | s4 = *(var_50h);
0x00001e54 lw s3, 0x4c(sp) | s3 = *(var_4ch);
0x00001e58 lw s2, 0x48(sp) | s2 = *(var_48h);
0x00001e5c lw s1, 0x44(sp) | s1 = *(var_44h);
0x00001e60 lw s0, 0x40(sp) | s0 = *(var_40h);
0x00001e64 addiu sp, sp, 0x68 |
0x00001e68 jr ra | return v0;
| label_4:
0x00001e6c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001e70 lw t9, -0x7f78(gp) | t9 = sym.imp.g_log;
0x00001e74 move a3, s0 | a3 = s0;
0x00001e78 addiu a2, a2, 0x3d58 | a2 += str.Could_not_load_service_registry_conf:__s;
0x00001e7c addiu a1, zero, 0x10 | a1 = 0x10;
0x00001e80 move a0, zero | a0 = 0;
0x00001e84 jalr t9 | t9 ();
0x00001e88 lw gp, 0x18(sp) | gp = *(var_18h);
| }
| label_3:
0x00001e8c lw t9, -0x7e84(gp) | t9 = *((gp - 8097));
0x00001e90 move a0, s1 | a0 = s1;
0x00001e94 move s0, zero | s0 = 0;
0x00001e98 jalr t9 | t9 ();
0x00001e9c lw ra, 0x64(sp) | ra = *(var_64h);
| label_1:
0x00001ea0 move v0, s0 | v0 = s0;
0x00001ea4 lw fp, 0x60(sp) | fp = *(var_60h);
0x00001ea8 lw s7, 0x5c(sp) | s7 = *(var_5ch);
0x00001eac lw s6, 0x58(sp) | s6 = *(var_58h);
0x00001eb0 lw s5, 0x54(sp) | s5 = *(var_54h);
0x00001eb4 lw s4, 0x50(sp) | s4 = *(var_50h);
0x00001eb8 lw s3, 0x4c(sp) | s3 = *(var_4ch);
0x00001ebc lw s2, 0x48(sp) | s2 = *(var_48h);
0x00001ec0 lw s1, 0x44(sp) | s1 = *(var_44h);
0x00001ec4 lw s0, 0x40(sp) | s0 = *(var_40h);
0x00001ec8 addiu sp, sp, 0x68 |
0x00001ecc jr ra | return v0;
| label_5:
0x00001ed0 lw t9, -0x7ec4(gp) | t9 = sym.imp.xmlnode_free_tree;
0x00001ed4 move a0, s2 | a0 = s2;
0x00001ed8 jalr t9 | t9 ();
0x00001edc move s0, zero | s0 = 0;
0x00001ee0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001ee4 b 0x1d00 |
| } while (1);
| label_8:
0x00001ee8 lw s4, 4(s4) | s4 = *((s4 + 1));
0x00001eec lw s5, (s4) | s5 = *(s4);
| if (s4 == 0) {
0x00001ef0 bnel s4, zero, 0x1b2c | goto label_0;
| }
| label_7:
0x00001ef4 lw s3, 4(s3) | s3 = *((s3 + 1));
0x00001ef8 lw ra, 0x64(sp) | ra = *(var_64h);
| if (s3 == 0) {
0x00001efc beqz s3, 0x1ea0 | goto label_1;
| }
0x00001f00 lw s2, (s3) | s2 = *(s3);
0x00001f04 b 0x1aec | goto label_2;
| label_9:
0x00001f08 lw t9, -0x7e80(gp) | t9 = sym.imp.__errno_location;
0x00001f0c jalr t9 | t9 ();
0x00001f10 nop |
0x00001f14 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001f18 lw t9, -0x7e8c(gp) | t9 = sym.imp.strerror;
0x00001f1c lw a0, (v0) | a0 = *(v0);
0x00001f20 jalr t9 | t9 ();
0x00001f24 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001f28 move a3, v0 | a3 = v0;
0x00001f2c addiu a1, zero, 4 | a1 = 4;
0x00001f30 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001f34 lw t9, -0x7f78(gp) | t9 = sym.imp.g_log;
0x00001f38 addiu a2, a2, 0x3df4 | a2 += str.Error_reading_service_registry_conf_file:__s;
0x00001f3c move a0, zero | a0 = 0;
0x00001f40 jalr t9 | t9 ();
0x00001f44 b 0x1f44 |
0x00001f48 nop |
| }
[*] Function printf used 2 times addon-registry