[*] Binary protection state of lightd

  
  	Full RELRO     Canary found      NX disabled  PIE enabled  No RPATH     No RUNPATH   No Symbols


[*] Function printf tear down of lightd

lw gp, 0x18(sp)
lw t9, -sym.imp.__stack_chk_fail(gp)
jalr t9
nop
lui gp, 4
addiu gp, gp, -0x57a0
addu gp, gp, t9
addiu sp, sp, -0x40
lw v0, 0xe8(a0)
sw gp, 0x20(sp)
sw s0, 0x28(sp)
sw ra, 0x3c(sp)
sw s4, 0x38(sp)
sw s3, 0x34(sp)
sw s2, 0x30(sp)
sw s1, 0x2c(sp)
beqz v0, 0x69b0
move s0, a0
lw t9, -sym.imp.g_dbus_proxy_get_name_owner(gp)
jalr t9
move a0, v0
move s1, v0
beqz v0, 0x697c
lw gp, 0x20(sp)
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
lw a1, 0x10(s0)
jalr t9
addiu a0, a0, 0x418c
lw gp, 0x20(sp)
lw a1, 0x10(s0)
move s3, v0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x4a1c
lw gp, 0x20(sp)
move s2, v0
sw s2, 0x10(sp)
lw v0, -0x7fc4(gp)
lw a3, -0x7fc4(gp)
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_variant_new(gp)
addiu v0, v0, 0x4a48
move a1, s3
sw v0, 0x14(sp)
addiu a3, a3, 0x43b0
move a2, zero
addiu a0, a0, 0x4a40
jalr t9
lw s4, 0xe8(s0)
lw gp, 0x20(sp)
move a2, v0
addiu v0, zero, -1
--
addiu s4, sp, 0x5c
addiu s2, s2, 0x4dd0
addiu s3, s3, 0x4dc0
b 0x7cbc
addiu s1, v1, 0x4de4
addiu a3, s0, 1
move a2, s2
addiu a1, zero, 0x1f
jalr t9
move a0, s6
lw gp, 0x20(sp)
lw t9, -sym.imp.g_key_file_get_string(gp)
move a3, s4
move a2, s6
move a1, s1
jalr t9
move a0, s5
beqz v0, 0x7ce0
lw gp, 0x20(sp)
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, v0
lw gp, 0x20(sp)
addiu s0, s0, 1
bnez s0, 0x7c70
lw t9, -sym.imp.g_snprintf(gp)
lw t9, -sym.imp.g_strlcpy(gp)
addiu a2, zero, 0x1f
move a1, s3
jalr t9
move a0, s6
b 0x7c88
lw gp, 0x20(sp)
lw t9, -sym.imp.g_clear_error(gp)
jalr t9
move a0, s4
beqz s0, 0x7fd4
lw gp, 0x20(sp)
lw t9, -sym.imp.g_malloc_n(gp)
addiu a1, zero, 4
jalr t9
move a0, s0
lw gp, 0x20(sp)
addiu a1, zero, 8
move a0, s0
lw t9, -sym.imp.g_malloc_n(gp)
--
sw v0, 0x120(s7)
lw gp, 0x20(sp)
sw v0, 0x124(s7)
sw s0, 0x128(s7)
lw v1, -0x7fc4(gp)
lw v0, -0x7fc4(gp)
lw a0, -0x7fc4(gp)
addiu v0, v0, 0x4e48
sw v1, 0x38(sp)
lw v1, -0x7fc4(gp)
sw v0, 0x3c(sp)
lw v0, -0x7fc4(gp)
lw a1, 0x636c(a0)
sw v1, 0x44(sp)
lw a0, 0x6368(a0)
lw v1, -0x7fc4(gp)
addiu v0, v0, 0x4e68
lw fp, -obj.LIGHTD_DEBUG_FLAG(gp)
sw v1, 0x50(sp)
sw a0, 0x48(sp)
sw a1, 0x4c(sp)
move s1, zero
b 0x7f48
sw v0, 0x40(sp)
lw v0, 0x44(sp)
lw t9, -sym.imp.g_snprintf(gp)
addiu a3, s1, 1
addiu a2, v0, 0x4dd0
addiu a1, zero, 0x1f
jalr t9
move a0, s6
lw gp, 0x20(sp)
lw v0, 0x34(sp)
lw t9, -sym.imp.g_key_file_get_string(gp)
move a3, s4
move a2, s6
addiu a1, v0, 0x4de4
jalr t9
move a0, s5
lw gp, 0x20(sp)
lw v1, 0x38(sp)
sw zero, 0x60(sp)
lw t9, -sym.imp.bootblock_get(gp)
addiu a0, v1, 0x4df0
jalr t9
move s2, v0
--
move s3, a3
move s2, a2
sw gp, 0x20(sp)
sw s1, 0x30(sp)
sw ra, 0x44(sp)
sw s5, 0x40(sp)
sw s4, 0x3c(sp)
sw s0, 0x2c(sp)
move s1, a0
move a2, zero
move a3, zero
move a0, s2
bal 0x21c80
move a1, s3
blez v0, 0xb540
lw gp, 0x20(sp)
lw t9, -sym.imp.g_dbus_proxy_get_name_owner(gp)
lw s0, -0x7fc4(gp)
jalr t9
lw a0, 0xe8(s1)
addiu s0, s0, 0x55e4
lw gp, 0x20(sp)
beqz v0, 0xb560
move s4, v0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
lw a1, 0x10(s1)
jalr t9
addiu a0, a0, 0x418c
lw gp, 0x20(sp)
move a2, s0
move a1, v0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_variant_new(gp)
addiu a0, a0, 0x561c
sw s2, 0x10(sp)
sw s3, 0x14(sp)
move s5, v0
jalr t9
lw s0, 0xe8(s1)
lw gp, 0x20(sp)
move a2, v0
addiu v0, zero, -1
lw a1, -0x7fc4(gp)
lw t9, -sym.imp.g_dbus_proxy_call(gp)
sw v0, 0x10(sp)
--
sw v0, 0x70(s0)
lw gp, 0x10(sp)
lw ra, 0x1c(sp)
move a0, s0
lw t9, -sym.led_base_send_power_request(gp)
lw s0, 0x18(sp)
move a2, v0
move a3, v1
b sym.led_base_send_power_request
addiu sp, sp, 0x20
lui gp, 3
addiu gp, gp, 0x5160
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0xc064
lw a2, -0x7fc4(gp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0xc078
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
lw t9, -sym.imp.__syslog_chk(gp)
b 0xdb28
addiu a2, a2, 0x66b8
lw a2, -0x7fc4(gp)
lw t9, -sym.imp.__syslog_chk(gp)
b 0xdd20
addiu a2, a2, 0x66e4
lw t9, -sym.imp.__stack_chk_fail(gp)
jalr t9
nop
lui gp, 3
addiu gp, gp, 0x332c
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0xde98
lw a2, -0x7fc4(gp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0xdeac
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
lw v0, 0x20(sp)
lw a2, -0x7fc4(gp)
lw t9, -sym.imp.__syslog_chk(gp)
lw v0, 8(v0)
addiu a3, s4, 0x48ac
addiu a2, a2, 0x48cc
addiu a1, zero, 1
addiu a0, zero, 3
jalr t9
sw v0, 0x10(sp)
lw gp, 0x18(sp)
move a0, s0
lw t9, -sym.imp.g_clear_error(gp)
jalr t9
move s4, zero
b 0xf4e0
lw gp, 0x18(sp)
lw t9, -sym.imp.__stack_chk_fail(gp)
jalr t9
nop
lui gp, 3
addiu gp, gp, 0x19c4
addu gp, gp, t9
lw v0, -0x7d08(gp)
addiu sp, sp, -0x80
lw t9, -sym.imp.g_strdup_printf(gp)
sw s3, 0x64(sp)
sw v0, 0x40(sp)
lw s3, -0x7fc4(gp)
lw v0, (v0)
sw gp, 0x20(sp)
sw a0, 0x38(sp)
sw a1, 0x84(sp)
sw ra, 0x7c(sp)
sw fp, 0x78(sp)
sw s7, 0x74(sp)
sw s6, 0x70(sp)
sw s5, 0x6c(sp)
sw s4, 0x68(sp)
sw s2, 0x60(sp)
sw s1, 0x5c(sp)
sw s0, 0x58(sp)
addiu a0, s3, 0x67a4
addiu a1, zero, 1
sw v0, 0x54(sp)
sw zero, 0x4c(sp)
--
lw gp, 0x20(sp)
xori v0, v0, 3
sltiu s1, v0, 1
lw t9, -sym.imp.g_object_unref(gp)
jalr t9
move a0, fp
lw gp, 0x20(sp)
lw a0, 0x50(sp)
beqz a0, 0xf848
lw t9, -sym.imp.g_error_free(gp)
jalr t9
nop
lw gp, 0x20(sp)
beqz s0, 0xf85c
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, s0
lw gp, 0x20(sp)
bnez s1, 0xf8d8
addiu s2, s2, -1
beqz s2, 0xfac0
lw t9, -sym.imp.g_usleep(gp)
jalr t9
move a0, s6
lw gp, 0x20(sp)
lw t9, -sym.imp.g_strdup_printf(gp)
addiu a1, zero, 1
move a0, s3
jalr t9
sw zero, 0x50(sp)
lw gp, 0x20(sp)
sw s7, 0x1c(sp)
sw zero, 0x18(sp)
lw t9, -sym.imp.g_dbus_proxy_new_for_bus_sync(gp)
sw s4, 0x14(sp)
sw v0, 0x10(sp)
addiu a3, s5, 0x67e4
move a2, zero
move a1, zero
addiu a0, zero, 1
jalr t9
move s0, v0
move fp, v0
bnez v0, 0xf7d4
lw gp, 0x20(sp)
b 0xf830
--
sw gp, 0x10(sp)
jalr t9
addiu a1, zero, 0x50
lw t9, 0x14(v0)
lw gp, 0x10(sp)
lw ra, 0x1c(sp)
move a0, s0
lw s0, 0x18(sp)
jr t9
addiu sp, sp, 0x20
lui gp, 3
addiu gp, gp, 0x12cc
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0xfef8
lw a2, -0x7fc4(gp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0xff0c
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
addiu a0, zero, 3
lw gp, 0x28(sp)
b 0x12870
addiu v1, zero, -1
lw a2, -0x7fc4(gp)
lw t9, -sym.imp.__syslog_chk(gp)
b 0x128b0
addiu a2, a2, 0x6b04
lw a2, -0x7fc4(gp)
lw t9, -sym.imp.__syslog_chk(gp)
move a3, s3
addiu a2, a2, 0x6b90
addiu a1, zero, 1
jalr t9
addiu a0, zero, 3
lw gp, 0x28(sp)
b 0x12870
addiu v1, zero, -1
lw t9, -sym.imp.__stack_chk_fail(gp)
jalr t9
nop
lui gp, 3
addiu gp, gp, -0x1894
addu gp, gp, t9
addiu sp, sp, -0x50
lw t9, -sym.imp.g_sprintf(gp)
sw s3, 0x40(sp)
lw s3, -0x7d08(gp)
sw s5, 0x48(sp)
move s5, a2
lw v0, (s3)
move a2, a1
lw a1, -0x7fc4(gp)
sw s1, 0x38(sp)
addiu s1, sp, 0x24
sw ra, 0x4c(sp)
sw gp, 0x18(sp)
sw s4, 0x44(sp)
sw s2, 0x3c(sp)
sw s0, 0x34(sp)
addiu a1, a1, 0x7f64
move s0, a0
sw v0, 0x2c(sp)
jalr t9
move a0, s1
lw gp, 0x18(sp)
lw a0, 0x98(s0)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
move a1, s5
lw gp, 0x18(sp)
move a2, zero
move a0, v0
lw a1, -0x7fc4(gp)
lw t9, -sym.imp.g_strconcat(gp)
addiu a1, a1, 0x6bc0
jalr t9
move s4, v0
lw gp, 0x18(sp)
addiu a1, zero, 1
move a0, v0
lw t9, -sym.imp.open(gp)
jalr t9
move s2, v0
bltz v0, 0x12a80
lw gp, 0x18(sp)
lw t9, -sym.imp.g_free(gp)
move a0, s2
--
move a3, s5
addiu a2, a2, 0x6bf0
addiu a1, zero, 1
jalr t9
addiu a0, zero, 3
lw gp, 0x18(sp)
b 0x12a50
addiu v0, zero, -1
lw t9, -sym.imp.__stack_chk_fail(gp)
jalr t9
nop
lui gp, 3
addiu gp, gp, -0x1a60
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0x12c20
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0x12c50
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
addiu a1, zero, -1
lw t9, -sym.imp.chown(gp)
move a0, v0
jalr t9
move s1, v0
beq v0, s0, 0x13090
lw gp, 0x20(sp)
lw t9, -sym.imp.chmod(gp)
addiu a1, zero, 0x1b4
jalr t9
move a0, s1
beq v0, s0, 0x13090
lw gp, 0x20(sp)
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, s1
lw gp, 0x20(sp)
move a0, s2
lw t9, -sym.imp.g_free(gp)
jalr t9
addiu s4, s4, 1
lw v0, 0x108(s3)
slt v0, s4, v0
beqz v0, 0x130e4
lw gp, 0x20(sp)
lw t9, -sym.imp.g_strdup_printf(gp)
lw a0, 0x98(s3)
jalr t9
move a1, s4
lw gp, 0x20(sp)
move a2, zero
move a1, s6
lw t9, -sym.imp.g_strconcat(gp)
move a0, v0
jalr t9
move s2, v0
lw gp, 0x20(sp)
lw a2, 0xc(s5)
addiu a1, zero, -1
lw t9, -sym.imp.chown(gp)
move a0, v0
move s1, v0
jalr t9
addiu s0, zero, -1
bne v0, s0, 0x12e50
lw gp, 0x20(sp)
--
sw gp, 0x10(sp)
jalr t9
addiu a1, zero, 0x50
lw t9, 0x14(v0)
lw gp, 0x10(sp)
lw ra, 0x1c(sp)
move a0, s0
lw s0, 0x18(sp)
jr t9
addiu sp, sp, 0x20
lui gp, 3
addiu gp, gp, -0x367c
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0x14840
lw a2, -0x7fc4(gp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0x14854
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
move a0, s1
lw t9, -sym.led_base_send_power_request(gp)
lw s1, 0x30(sp)
move a2, v0
move a3, v1
b sym.led_base_send_power_request
addiu sp, sp, 0x40
move v0, zero
b 0x1638c
move v1, zero
lui gp, 3
addiu gp, gp, -sym.light_controller_setup
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0x1652c
lw a2, -0x7fc4(gp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0x16540
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
lw t9, -sym.imp.__errno_location(gp)
jalr t9
move s0, v0
lw gp, 0x18(sp)
lw t9, -sym.imp.strerror(gp)
jalr t9
lw a0, (v0)
lw gp, 0x18(sp)
sw v0, 0x10(sp)
move a3, s0
lw a2, -0x7fc4(gp)
lw t9, -sym.imp.__syslog_chk(gp)
addiu a2, a2, 0x76b4
addiu a1, zero, 1
jalr t9
addiu a0, zero, 3
b 0x17fa0
lw gp, 0x18(sp)
lw t9, -sym.imp.__stack_chk_fail(gp)
jalr t9
nop
lui gp, 3
addiu gp, gp, -0x6f78
addu gp, gp, t9
addiu sp, sp, -0x38
lw t9, -sym.imp.g_strdup_printf(gp)
sw s3, 0x2c(sp)
lw s3, -0x7d08(gp)
sw s4, 0x30(sp)
move s4, a1
lw v0, (s3)
move a1, a0
lw a0, -0x7fc4(gp)
sw gp, 0x10(sp)
sw ra, 0x34(sp)
sw s2, 0x28(sp)
sw s1, 0x24(sp)
addiu a0, a0, 0x76d4
sw s0, 0x20(sp)
sw v0, 0x1c(sp)
sw zero, 0x18(sp)
jalr t9
move s1, a2
lw gp, 0x10(sp)
addiu a1, zero, 2
move a0, v0
--
addiu gp, gp, -0x76b8
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
lw v0, -0x7fc4(gp)
sw zero, 0x30(sp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
bltz a0, 0x18874
sw v0, 0x2c(sp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0x188a4
lw gp, 0x10(sp)
lw t9, -sym.imp.sc_get_group(gp)
move a0, v0
move a2, zero
jalr t9
addiu a1, sp, 0x2c
lw gp, 0x10(sp)
addiu v1, zero, 1
move a0, s1
bne v0, v1, 0x1883c
lw t9, -sym.imp.g_free(gp)
jalr t9
nop
lw gp, 0x10(sp)
lw t9, -0x7f5c(gp)
bal 0x22f30
--
sw ra, 0x54(sp)
sw gp, 0x18(sp)
lw v0, (s2)
sw s5, 0x44(sp)
sw s4, 0x40(sp)
sw s3, 0x3c(sp)
sw s1, 0x34(sp)
sw s0, 0x30(sp)
sw fp, 0x50(sp)
sw s7, 0x4c(sp)
sw s6, 0x48(sp)
sw v0, 0x2c(sp)
sw zero, 0x24(sp)
sw zero, 0x28(sp)
move s0, a0
bal sym.led_fisheye_i2c_get_type
move s1, a1
lw gp, 0x18(sp)
move a1, v0
lw t9, -sym.imp.g_type_check_instance_cast(gp)
jalr t9
move a0, s0
lw gp, 0x18(sp)
lw a0, 0x98(s0)
move a1, zero
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
move s5, v0
lw gp, 0x18(sp)
move a1, zero
move a0, v0
lw t9, -sym.imp.open(gp)
jalr t9
move s3, v0
lw gp, 0x18(sp)
move s4, v0
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, s3
bgez s4, 0x18b9c
lw gp, 0x18(sp)
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_quark_from_static_string(gp)
jalr t9
addiu a0, a0, 0x414c
lw gp, 0x18(sp)
--
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.getpwnam(gp)
addiu a0, a0, sym._init
lw s7, 0x98(s0)
jalr t9
lw fp, 0x108(s0)
move s6, v0
beqz v0, 0x19164
lw gp, 0x18(sp)
bgtz fp, 0x19074
move s4, zero
b 0x18d94
addiu s0, zero, 1
lw t9, -sym.imp.chmod(gp)
addiu a1, zero, 0x1b4
jalr t9
move a0, s0
bltz v0, 0x19134
lw gp, 0x18(sp)
lw t9, -sym.imp.g_free(gp)
move a0, s0
jalr t9
addiu s4, s4, 1
beq fp, s4, 0x1912c
lw gp, 0x18(sp)
lw t9, -sym.imp.g_strdup_printf(gp)
move a1, s4
jalr t9
move a0, s7
lw gp, 0x18(sp)
lw a2, 0xc(s6)
addiu a1, zero, -1
lw t9, -sym.imp.chown(gp)
move a0, v0
jalr t9
move s0, v0
bgez v0, 0x19044
lw gp, 0x18(sp)
lw a2, -0x7fc4(gp)
lw v0, 0xc(s6)
lw t9, -sym.imp.__syslog_chk(gp)
move a3, s0
addiu a2, a2, 0x64bc
addiu a1, zero, 1
addiu a0, zero, 3
jalr t9
--
lw t9, -0x7f68(gp)
lw a0, 0x30(sp)
bal 0x22dd0
lw a1, 0x34(sp)
bgtz v0, 0x194e8
lw gp, 0x20(sp)
move s4, zero
move s5, zero
move v0, zero
lw v1, 0x150(s7)
sll a0, s0, 2
addu v1, v1, a0
lw t9, -sym.imp.__snprintf_chk(gp)
sw v0, (v1)
sw v0, 0x14(sp)
lw v0, 0x2c(sp)
addiu a3, zero, 0x10
sw v0, 0x10(sp)
addiu a2, zero, 1
addiu a1, zero, 0x10
jalr t9
move a0, fp
lw v0, (s6)
bnez v0, 0x19484
lw gp, 0x20(sp)
lw t9, -sym.imp.g_strdup_printf(gp)
lw a0, 0x98(s2)
jalr t9
move a1, s0
move s4, v0
beqz v0, 0x194c8
lw gp, 0x20(sp)
lw t9, -sym.imp.open(gp)
addiu a1, zero, 1
jalr t9
move a0, v0
move s1, v0
bltz v0, 0x1943c
lw gp, 0x20(sp)
b 0x1939c
addiu s5, zero, 4
lw t9, -sym.imp.__errno_location(gp)
jalr t9
nop
lw v0, (v0)
bne v0, s5, 0x195f0
--
lw t9, -sym.imp.strerror(gp)
jalr t9
lw a0, (v0)
lw gp, 0x20(sp)
sw v0, 0x10(sp)
lw v0, 0x3c(sp)
lw t9, -sym.imp.__syslog_chk(gp)
move a3, s4
addiu a2, v0, 0x7934
addiu a1, zero, 1
jalr t9
addiu a0, zero, 3
b 0x193d8
lw gp, 0x20(sp)
lw t9, -sym.imp.__syslog_chk(gp)
lw a2, 0x40(sp)
sw s4, 0x18(sp)
move a3, s0
addiu a1, zero, 1
addiu a0, zero, 6
sw s5, 0x1c(sp)
jalr t9
sw fp, 0x10(sp)
lw gp, 0x20(sp)
lw a0, 0x98(s2)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
move a1, s0
move s4, v0
bnez v0, 0x19360
lw gp, 0x20(sp)
lw t9, -sym.imp.__syslog_chk(gp)
lw a2, 0x44(sp)
addiu a1, zero, 1
jalr t9
addiu a0, zero, 3
lw gp, 0x20(sp)
b 0x193d8
sw zero, 0x38(sp)
blez s1, 0x19588
move s4, zero
move s3, zero
move s5, zero
move s1, zero
lw t9, -sym.led_base_get_requested_intensity(gp)
move a1, s1
--
sw gp, 0x10(sp)
jalr t9
addiu a1, zero, 0x50
lw t9, 0x14(v0)
lw gp, 0x10(sp)
lw ra, 0x1c(sp)
move a0, s0
lw s0, 0x18(sp)
jr t9
addiu sp, sp, 0x20
lui gp, 2
addiu gp, gp, 0x7054
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0x1a170
lw a2, -0x7fc4(gp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0x1a184
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
lw gp, 0x18(sp)
move a1, v1
lw t9, -0x7f68(gp)
bal 0x22dd0
move a0, v0
lw v1, 0x2c(s0)
lw gp, 0x18(sp)
bne v1, s6, 0x1abc0
sw v0, (s1)
lw v1, (s7)
beql v1, zero, 0x1abc4
lw v0, 0x108(s0)
lw t9, -sym.imp.__syslog_chk(gp)
lw a2, 0x24(sp)
move a3, fp
sw v0, 0x10(sp)
addiu a1, zero, 1
jalr t9
addiu a0, zero, 6
b 0x1abc0
lw gp, 0x18(sp)
lui gp, 2
addiu gp, gp, 0x6434
addu gp, gp, t9
addiu sp, sp, -0x38
lw t9, -sym.imp.g_strdup_printf(gp)
sw gp, 0x18(sp)
sw s3, 0x2c(sp)
sw s2, 0x28(sp)
sw s0, 0x20(sp)
sw ra, 0x34(sp)
sw s4, 0x30(sp)
sw s1, 0x24(sp)
move s3, a1
jalr t9
move s2, a2
move s0, v0
beqz v0, 0x1ada4
lw gp, 0x18(sp)
lw t9, -sym.imp.open(gp)
addiu a1, zero, 1
jalr t9
move a0, v0
move s1, v0
addiu v0, zero, -1
beq s1, v0, 0x1ade0
lw gp, 0x18(sp)
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, s0
lw gp, 0x18(sp)
move a1, s2
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x7f64
move s0, v0
beqz v0, 0x1ae34
lw gp, 0x18(sp)
lw t9, -sym.imp.strlen(gp)
jalr t9
move a0, v0
lw gp, 0x18(sp)
move a2, v0
move a1, s0
lw t9, -sym.imp.write(gp)
jalr t9
move a0, s1
lw gp, 0x18(sp)
move s4, v0
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, s0
bltz s4, 0x1ad78
--
lw v0, (v0)
sw ra, 0xb4(sp)
sw gp, 0x20(sp)
sw s4, 0xa0(sp)
sw s3, 0x9c(sp)
sw s2, 0x98(sp)
sw s1, 0x94(sp)
sw s0, 0x90(sp)
sw t9, 0x44(sp)
sw fp, 0xb0(sp)
sw s7, 0xac(sp)
sw s6, 0xa8(sp)
sw s5, 0xa4(sp)
sw v0, 0x8c(sp)
move s0, a0
bal sym.led_sysfs_get_type
move s1, a1
lw gp, 0x20(sp)
move a1, v0
lw t9, -sym.imp.g_type_check_instance_cast(gp)
jalr t9
move a0, s0
lw gp, 0x20(sp)
lw a0, 0x98(s0)
move a1, zero
lw t9, -sym.imp.g_strdup_printf(gp)
sw zero, 0x5c(sp)
sw zero, 0x6c(sp)
jalr t9
move s2, v0
lw gp, 0x20(sp)
move a1, zero
move a0, v0
lw t9, -sym.imp.open(gp)
jalr t9
move s3, v0
lw gp, 0x20(sp)
move s4, v0
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, s3
bgez s4, 0x1afc4
lw gp, 0x20(sp)
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_quark_from_static_string(gp)
jalr t9
--
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.getpwnam(gp)
jalr t9
addiu a0, a0, sym._init
beqz v0, 0x1b884
lw gp, 0x20(sp)
lw v1, 0x108(s0)
blez v1, 0x1b71c
lw s3, 0xc(v0)
b 0x1b5fc
move s2, zero
lw t9, -sym.imp.chmod(gp)
addiu a1, zero, 0x1b4
jalr t9
move a0, s1
beq v0, s4, 0x1b860
lw gp, 0x20(sp)
lw t9, -sym.imp.g_free(gp)
jalr t9
move a0, s1
lw v0, 0x108(s0)
addiu s2, s2, 1
slt v0, s2, v0
beqz v0, 0x1b71c
lw gp, 0x20(sp)
lw t9, -sym.imp.g_strdup_printf(gp)
lw a0, 0x98(s0)
jalr t9
move a1, s2
lw gp, 0x20(sp)
move a2, s3
addiu a1, zero, -1
lw t9, -sym.imp.chown(gp)
move a0, v0
move s1, v0
jalr t9
addiu s4, zero, -1
bne v0, s4, 0x1b5c4
lw gp, 0x20(sp)
lw a2, -0x7fc4(gp)
lw t9, -sym.imp.__syslog_chk(gp)
move a3, s1
addiu a2, a2, 0x64bc
addiu a1, zero, 1
addiu a0, zero, 3
jalr t9
--
addiu a2, a2, 0x6b90
addiu a1, zero, 1
jalr t9
addiu a0, zero, 3
lw gp, 0x28(sp)
b 0x1d154
addiu v1, zero, -1
lw t9, -sym.imp.__stack_chk_fail(gp)
jalr t9
nop
lui gp, 2
addiu gp, gp, 0x3e88
addu gp, gp, t9
addiu sp, sp, -0x48
sw s0, 0x3c(sp)
lw s0, -0x7d08(gp)
sw gp, 0x10(sp)
sw ra, 0x44(sp)
lw v0, (s0)
sw s1, 0x40(sp)
sw v0, 0x34(sp)
bltz a0, 0x1d33c
lw a2, -0x7fc4(gp)
move a1, a0
lw a0, -0x7fc4(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
jalr t9
addiu a0, a0, 0x63d4
move s1, v0
beqz v0, 0x1d350
lw gp, 0x10(sp)
move a0, v0
lw v0, -0x7fc4(gp)
lw t9, -sym.imp.sc_get_group(gp)
addiu v0, v0, 0x6408
sw v0, 0x1c(sp)
addiu v0, zero, 4
sw v0, 0x20(sp)
addiu v0, sp, 0x18
sw v0, 0x24(sp)
addiu v0, zero, 2
sw v0, 0x28(sp)
addiu v0, sp, 0x1c
move a2, zero
addiu a1, sp, 0x2c
sw v0, 0x2c(sp)
--
sw s4, 0x4c(sp)
sw s1, 0x40(sp)
sw s0, 0x3c(sp)
sw s5, 0x50(sp)
sw s2, 0x44(sp)
sw v0, 0x34(sp)
move s1, a0
bal sym.led_1_pwm_get_type
move s0, a1
lw gp, 0x18(sp)
move a1, v0
lw t9, -sym.imp.g_type_check_instance_cast(gp)
jalr t9
move a0, s1
lw gp, 0x18(sp)
move s4, v0
sw zero, 0x2c(sp)
lw v0, -obj.LIGHTD_DEBUG_FLAG(gp)
sw zero, 0x30(sp)
sw zero, 0x24(sp)
lw v0, (v0)
sh zero, 0x28(sp)
bnez v0, 0x1e3fc
sb zero, 0x2a(sp)
lw s5, -0x7fc4(gp)
lw t9, -sym.imp.g_sprintf(gp)
lw a2, 0x154(s4)
addiu s2, sp, 0x2c
addiu a1, s5, 0x7f64
jalr t9
move a0, s2
lw v1, 0x158(s4)
lui v0, 0x51eb
mul a1, v1, s0
ori v0, v0, 0x851f
lw gp, 0x18(sp)
lw a2, 0x15c(s4)
addiu s0, sp, 0x24
mult a1, v0
mfhi v0
sra a1, a1, 0x1f
lw t9, -sym.imp.g_sprintf(gp)
move a0, s0
sra v0, v0, 5
subu a1, a1, v0
addu a1, a1, v1
addu a2, a1, a2
jalr t9
addiu a1, s5, 0x7f64
lw gp, 0x18(sp)
lw a0, 0x98(s1)
move a2, zero
lw a1, -0x7e54(gp)
lw t9, -sym.imp.g_strconcat(gp)
jalr t9
addiu a1, a1, -0x7d94
lw gp, 0x18(sp)
addiu a1, zero, 1
move a0, v0
lw t9, -sym.imp.open(gp)
jalr t9
move s5, v0
--
sw s1, 0x138(sp)
addiu s1, sp, 0x2c
lw v0, (s2)
sw gp, 0x18(sp)
sw s5, 0x148(sp)
sw s3, 0x140(sp)
sw ra, 0x14c(sp)
sw s4, 0x144(sp)
sw s0, 0x134(sp)
move s5, a1
addiu a2, zero, 0xff
move a1, s1
sw v0, 0x12c(sp)
sw zero, 0x20(sp)
jalr t9
move s3, a0
bltz v0, 0x1f364
lw gp, 0x18(sp)
move s0, v0
slti v0, s0, 0xff
beqz v0, 0x1f298
lw v0, -0x7e54(gp)
addiu v0, sp, 0x130
addu s0, v0, s0
lw a0, -0x7e54(gp)
lw t9, -sym.imp.g_strdup_printf(gp)
move a1, s1
addiu a0, a0, -0x7bbc
jalr t9
sb zero, -0x104(s0)
lw gp, 0x18(sp)
addiu a2, zero, 0x180
addiu a1, zero, 0x301
lw t9, -sym.imp.open(gp)
move a0, v0
jalr t9
move s4, v0
move s0, v0
bltz v0, 0x1f3d4
lw gp, 0x18(sp)
lw t9, -sym.imp.g_io_channel_unix_new(gp)
jalr t9
move a0, v0
move s3, v0
beqz v0, 0x1f30c
lw gp, 0x18(sp)

[*] Function printf used 32 times lightd