[*] Binary protection state of capturemode.cgi
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of capturemode.cgi
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/capturemode.cgi @ 0x1140 */
| #include <stdint.h>
|
; (fcn) fcn.00001140 () | void fcn_00001140 () {
| label_1:
0x00001140 lui gp, 2 |
0x00001144 addiu gp, gp, -0x5130 |
0x00001148 addu gp, gp, t9 | gp += t9;
0x0000114c addiu sp, sp, -0x38 |
0x00001150 lw t9, -0x7fac(gp) | t9 = sym.imp.g_variant_lookup_value;
0x00001154 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00001158 sw s3, 0x30(sp) | *(var_30h) = s3;
0x0000115c sw s2, 0x2c(sp) | *(var_2ch) = s2;
0x00001160 sw s1, 0x28(sp) | *(var_28h) = s1;
0x00001164 sw ra, 0x34(sp) | *(var_34h) = ra;
0x00001168 sw s0, 0x24(sp) | *(var_24h) = s0;
0x0000116c move s1, a0 | s1 = a0;
0x00001170 move s2, a1 | s2 = a1;
0x00001174 move s3, a3 | s3 = a3;
0x00001178 jalr t9 | t9 ();
0x0000117c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001180 beqz v0, 0x1384 | goto label_6;
| }
0x00001184 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001188 lw t9, -0x7ef8(gp) | t9 = sym.imp.strcmp;
0x0000118c addiu a1, a1, 0x2d4c | a1 += str.current;
0x00001190 move a0, s2 | a0 = s2;
0x00001194 move s0, v0 | s0 = v0;
0x00001198 jalr t9 | t9 ();
0x0000119c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000011a0 beqz v0, 0x1280 | goto label_7;
| }
| label_0:
0x000011a4 lw t9, -0x7f80(gp) | t9 = sym.imp.g_variant_classify;
0x000011a8 move a0, s0 | a0 = s0;
0x000011ac jalr t9 | t9 ();
0x000011b0 addiu v1, zero, 0x64 | v1 = 0x64;
0x000011b4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == v1) {
0x000011b8 beq v0, v1, 0x12f8 | goto label_8;
| }
0x000011bc sltiu v1, v0, 0x65 | v1 = (v0 < 0x65) ? 1 : 0;
0x000011c0 addiu v1, zero, 0x73 | v1 = 0x73;
| if (v1 != 0) {
0x000011c4 bnez v1, 0x1248 | goto label_9;
| }
0x000011c8 addiu v1, zero, 0x75 | v1 = 0x75;
| if (v0 == v1) {
0x000011cc beq v0, v1, 0x1328 | goto label_10;
| }
0x000011d0 lw v0, 0x48(sp) | v0 = *(arg_48h);
| if (v0 != v1) {
0x000011d4 bne v0, v1, 0x1358 | goto label_11;
| }
0x000011d8 lw t9, -0x7f24(gp) | t9 = sym.imp.g_variant_get_uint32;
0x000011dc move a0, s0 | a0 = s0;
0x000011e0 lw s1, (v0) | s1 = *(v0);
0x000011e4 jalr t9 | t9 ();
0x000011e8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000011ec move a0, v0 | a0 = v0;
0x000011f0 lw t9, -0x7f1c(gp) | t9 = sym.imp.json_integer;
0x000011f4 move a1, zero | a1 = 0;
0x000011f8 jalr t9 | t9 ();
0x000011fc lw gp, 0x18(sp) | gp = *(var_18h);
| do {
| label_3:
0x00001200 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x00001204 move a2, v0 | a2 = v0;
0x00001208 move a1, s3 | a1 = s3;
0x0000120c move a0, s1 | a0 = s1;
0x00001210 jalr t9 | t9 ();
0x00001214 lw gp, 0x18(sp) | gp = *(var_18h);
| label_4:
0x00001218 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
0x0000121c move a0, s0 | a0 = s0;
0x00001220 addiu s1, zero, 1 | s1 = 1;
0x00001224 jalr t9 | t9 ();
| label_5:
0x00001228 lw ra, 0x34(sp) | ra = *(var_34h);
| label_2:
0x0000122c move v0, s1 | v0 = s1;
0x00001230 lw s3, 0x30(sp) | s3 = *(var_30h);
0x00001234 lw s2, 0x2c(sp) | s2 = *(var_2ch);
0x00001238 lw s1, 0x28(sp) | s1 = *(var_28h);
0x0000123c lw s0, 0x24(sp) | s0 = *(var_24h);
0x00001240 addiu sp, sp, 0x38 |
0x00001244 jr ra | return v0;
| label_9:
0x00001248 addiu v1, zero, 0x62 | v1 = 0x62;
0x0000124c lw v0, 0x48(sp) | v0 = *(arg_48h);
| if (v0 != v1) {
0x00001250 bne v0, v1, 0x1358 | goto label_11;
| }
0x00001254 lw t9, -0x7f60(gp) | t9 = sym.imp.g_variant_get_boolean;
0x00001258 move a0, s0 | a0 = s0;
0x0000125c lw s1, (v0) | s1 = *(v0);
0x00001260 jalr t9 | t9 ();
0x00001264 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001268 beqz v0, 0x12e4 | goto label_12;
| }
0x0000126c lw t9, -0x7f38(gp) | t9 = sym.imp.json_true;
0x00001270 jalr t9 | t9 ();
0x00001274 nop |
0x00001278 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000127c b 0x1200 |
| } while (1);
| label_7:
0x00001280 lw t9, -0x7f60(gp) | t9 = sym.imp.g_variant_get_boolean;
0x00001284 move a0, s0 | a0 = s0;
0x00001288 jalr t9 | t9 ();
0x0000128c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001290 beqz v0, 0x11a4 | goto label_0;
| }
0x00001294 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001298 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000129c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000012a0 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000012a4 lw v0, 0x48(sp) | v0 = *(arg_48h);
0x000012a8 move a0, s1 | a0 = s1;
0x000012ac sw v0, 0x10(sp) | *(var_10h) = v0;
0x000012b0 addiu a3, a3, 0x2d54 | a3 += str.maxFPS;
0x000012b4 addiu a2, a2, 0x323c | a2 += 0x323c;
0x000012b8 addiu t9, t9, 0x1140 | t9 += fcn.00001140;
0x000012bc addiu a1, a1, 0x2d5c | a1 += str.max_fps;
0x000012c0 bal 0x1140 | fcn_00001140 ();
| goto label_1;
0x000012c4 move s1, v0 | s1 = v0;
0x000012c8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000012cc bnez v0, 0x11a4 | goto label_0;
| }
0x000012d0 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
0x000012d4 move a0, s0 | a0 = s0;
0x000012d8 jalr t9 | t9 ();
0x000012dc lw ra, 0x34(sp) | ra = *(var_34h);
0x000012e0 b 0x122c | goto label_2;
| label_12:
0x000012e4 lw t9, -0x7f98(gp) | t9 = sym.imp.json_false;
0x000012e8 jalr t9 | t9 ();
0x000012ec nop |
0x000012f0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000012f4 b 0x1200 | goto label_3;
| label_8:
0x000012f8 lw v0, 0x48(sp) | v0 = *(arg_48h);
0x000012fc lw t9, -0x7f4c(gp) | t9 = sym.imp.g_variant_get_double;
0x00001300 move a0, s0 | a0 = s0;
0x00001304 lw s1, (v0) | s1 = *(v0);
0x00001308 jalr t9 | t9 ();
0x0000130c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001310 move a0, v0 | a0 = v0;
0x00001314 lw t9, -0x7f40(gp) | t9 = sym.imp.json_real;
0x00001318 move a1, v1 | a1 = v1;
0x0000131c jalr t9 | t9 ();
0x00001320 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001324 b 0x1200 | goto label_3;
| label_10:
0x00001328 lw v0, 0x48(sp) | v0 = *(arg_48h);
0x0000132c lw t9, -0x7fa0(gp) | t9 = sym.imp.g_variant_get_string;
0x00001330 move a1, zero | a1 = 0;
0x00001334 move a0, s0 | a0 = s0;
0x00001338 lw s1, (v0) | s1 = *(v0);
0x0000133c jalr t9 | t9 ();
0x00001340 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001344 lw t9, -0x7f58(gp) | t9 = sym.imp.json_string;
0x00001348 move a0, v0 | a0 = v0;
0x0000134c jalr t9 | t9 ();
0x00001350 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001354 b 0x1200 | goto label_3;
| label_11:
0x00001358 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000135c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001360 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00001364 sw s2, 0x10(sp) | *(var_10h) = s2;
0x00001368 addiu a3, a3, 0x3410 | a3 += 0x3410;
0x0000136c addiu a2, a2, 0x2d64 | a2 += str._sType_of__s_in_dictionary_is_not_expected;
0x00001370 addiu a1, zero, 0x40 | a1 = 0x40;
0x00001374 move a0, zero | a0 = 0;
0x00001378 jalr t9 | t9 ();
0x0000137c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001380 b 0x1218 | goto label_4;
| label_6:
0x00001384 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001388 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x0000138c lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x00001390 addiu v0, v0, 0x2d14 | v0 += str.Failed_to_move_data:_cannot_find_item__s__in_dictionary;
0x00001394 sw s2, 0x14(sp) | *(var_14h) = s2;
0x00001398 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000139c addiu a3, zero, 0xc8 | a3 = 0xc8;
0x000013a0 addiu a2, zero, 1 | a2 = 1;
0x000013a4 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x000013a8 addiu a0, a0, 0x4140 | a0 += 0x4140;
0x000013ac jalr t9 | t9 ();
0x000013b0 move s1, zero | s1 = 0;
0x000013b4 b 0x1228 | goto label_5;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/capturemode.cgi @ 0x13b8 */
| #include <stdint.h>
|
; (fcn) fcn.000013b8 () | void fcn_000013b8 () {
0x000013b8 lui gp, 2 |
0x000013bc addiu gp, gp, -0x53a8 |
0x000013c0 addu gp, gp, t9 | gp += t9;
0x000013c4 addiu sp, sp, -0x58 |
0x000013c8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000013cc sw s0, 0x44(sp) | *(var_44h) = s0;
0x000013d0 lw s0, -0x7f20(gp) | s0 = *((gp - 8136));
0x000013d4 lw v0, 0x4208(v0) | v0 = *((v0 + 4226));
0x000013d8 sw gp, 0x30(sp) | *(var_30h) = gp;
0x000013dc lw v1, (s0) | v1 = *(s0);
0x000013e0 sw s3, 0x50(sp) | *(var_50h) = s3;
0x000013e4 sw ra, 0x54(sp) | *(var_54h) = ra;
0x000013e8 sw s2, 0x4c(sp) | *(var_4ch) = s2;
0x000013ec sw s1, 0x48(sp) | *(var_48h) = s1;
0x000013f0 lw s3, 0x6c(sp) | s3 = *(arg_6ch);
0x000013f4 sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x000013f8 sw zero, 0x38(sp) | *(var_38h) = 0;
| if (v0 == 0) {
0x000013fc beqz v0, 0x14f8 | goto label_3;
| }
0x00001400 addiu v1, sp, 0x38 | v1 = sp + 0x38;
0x00001404 sw a3, 0x14(sp) | *(var_14h_2) = a3;
0x00001408 move a3, a1 | a3 = a1;
0x0000140c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001410 lw t9, -0x7f74(gp) | t9 = sym.imp.g_dbus_connection_call_sync;
0x00001414 sw v1, 0x28(sp) | *(var_28h_2) = v1;
0x00001418 addiu v1, zero, -1 | v1 = -1;
0x0000141c sw v1, 0x20(sp) | *(var_20h_3) = v1;
0x00001420 sw a2, 0x10(sp) | *(var_10h_3) = a2;
0x00001424 move s1, a2 | s1 = a2;
0x00001428 sw zero, 0x24(sp) | *(var_24h) = 0;
0x0000142c move a2, a0 | a2 = a0;
0x00001430 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x00001434 sw zero, 0x18(sp) | *(var_18h_2) = 0;
0x00001438 addiu a1, a1, 0x2dc4 | a1 += str.com.axis.CaptureMode1;
0x0000143c move a0, v0 | a0 = v0;
0x00001440 jalr t9 | t9 ();
0x00001444 lw v1, 0x38(sp) | v1 = *(var_38h);
0x00001448 lw gp, 0x30(sp) | gp = *(var_30h);
0x0000144c move s2, v0 | s2 = v0;
| if (v1 == 0) {
0x00001450 beqz v1, 0x14e4 | goto label_4;
| }
0x00001454 lw v0, 8(v1) | v0 = *((v1 + 2));
0x00001458 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x0000145c sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x00001460 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001464 lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x00001468 addiu v0, v0, 0x2ddc | v0 += str.Failed_to_call_method__s_:___s_;
0x0000146c addiu a3, zero, 0xc8 | a3 = 0xc8;
0x00001470 addiu a2, zero, 1 | a2 = 1;
0x00001474 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x00001478 addiu a0, a0, 0x4140 | a0 += 0x4140;
0x0000147c sw s1, 0x14(sp) | *(var_14h_2) = s1;
0x00001480 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00001484 jalr t9 | t9 ();
0x00001488 lw gp, 0x30(sp) | gp = *(var_30h);
0x0000148c lw a0, 0x38(sp) | a0 = *(var_38h);
0x00001490 lw t9, -0x7fa8(gp) | t9 = sym.imp.g_error_free;
0x00001494 addiu s1, zero, 7 | s1 = 7;
0x00001498 jalr t9 | t9 ();
0x0000149c lw gp, 0x30(sp) | gp = *(var_30h);
0x000014a0 sw zero, 0x38(sp) | *(var_38h) = 0;
| do {
| label_2:
0x000014a4 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
| if (s2 != 0) {
0x000014a8 beqz s2, 0x14b8 |
0x000014ac move a0, s2 | a0 = s2;
0x000014b0 jalr t9 | t9 ();
0x000014b4 lw gp, 0x30(sp) | gp = *(var_30h);
| }
| label_0:
0x000014b8 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x000014bc lw v1, (s0) | v1 = *(s0);
0x000014c0 move v0, s1 | v0 = s1;
| if (a0 != v1) {
0x000014c4 bne a0, v1, 0x1598 | goto label_5;
| }
0x000014c8 lw ra, 0x54(sp) | ra = *(var_54h);
0x000014cc lw s3, 0x50(sp) | s3 = *(var_50h);
0x000014d0 lw s2, 0x4c(sp) | s2 = *(var_4ch);
0x000014d4 lw s1, 0x48(sp) | s1 = *(var_48h);
0x000014d8 lw s0, 0x44(sp) | s0 = *(var_44h);
0x000014dc addiu sp, sp, 0x58 |
0x000014e0 jr ra | return v0;
| label_4:
0x000014e4 lw v0, 0x68(sp) | v0 = *(arg_68h);
0x000014e8 lw t9, -0x7f00(gp) | t9 = sym.imp.g_variant_get_child_value;
| if (v0 != 0) {
0x000014ec bnez v0, 0x1548 | goto label_6;
| }
| label_1:
0x000014f0 move s1, zero | s1 = 0;
0x000014f4 b 0x14a4 |
| } while (1);
| label_3:
0x000014f8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000014fc lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00001500 addiu v0, v0, 0x2d90 | v0 += str.Failed_to_call_method:_connection_method_is_missing;
0x00001504 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x00001508 addiu t0, v0, 0x30 | t0 = v0 + 0x30;
| do {
0x0000150c lw a3, (v0) | a3 = *(v0);
0x00001510 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00001514 lw a1, 8(v0) | a1 = *((v0 + 2));
0x00001518 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x0000151c addiu v0, v0, 0x10 | v0 += 0x10;
0x00001520 sw a3, (v1) | *(v1) = a3;
0x00001524 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x00001528 sw a1, 8(v1) | *((v1 + 2)) = a1;
0x0000152c sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00001530 addiu v1, v1, 0x10 | v1 += 0x10;
0x00001534 bne v0, t0, 0x150c |
| } while (v0 != t0);
0x00001538 lw v0, (v0) | v0 = *(v0);
0x0000153c addiu s1, zero, 6 | s1 = 6;
0x00001540 sw v0, (v1) | *(v1) = v0;
0x00001544 b 0x14b8 | goto label_0;
| label_6:
0x00001548 move a1, zero | a1 = 0;
0x0000154c move a0, s2 | a0 = s2;
0x00001550 jalr t9 | t9 ();
0x00001554 lw gp, 0x30(sp) | gp = *(var_30h);
0x00001558 sw v0, (s3) | *(s3) = v0;
| if (v0 != 0) {
0x0000155c bnez v0, 0x14f0 | goto label_1;
| }
0x00001560 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001564 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00001568 lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x0000156c addiu v0, v0, 0x2dfc | v0 += str.Failed_to_call_method__s_:_dbus_result_value_is_null;
0x00001570 sw s1, 0x14(sp) | *(var_14h_2) = s1;
0x00001574 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00001578 addiu a3, zero, 0xc8 | a3 = 0xc8;
0x0000157c addiu a2, zero, 1 | a2 = 1;
0x00001580 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x00001584 addiu a0, a0, 0x4140 | a0 += 0x4140;
0x00001588 jalr t9 | t9 ();
0x0000158c addiu s1, zero, 8 | s1 = 8;
0x00001590 lw gp, 0x30(sp) | gp = *(var_30h);
0x00001594 b 0x14a4 | goto label_2;
| label_5:
0x00001598 lw t9, -0x7f30(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000159c jalr t9 | t9 ();
0x000015a0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/capturemode.cgi @ 0x15a4 */
| #include <stdint.h>
|
; (fcn) fcn.000015a4 () | void fcn_000015a4 () {
0x000015a4 lui gp, 2 |
0x000015a8 addiu gp, gp, -0x5594 |
0x000015ac addu gp, gp, t9 | gp += t9;
0x000015b0 addiu sp, sp, -0x50 |
0x000015b4 lw t9, -0x7f88(gp) | t9 = sym.imp.g_variant_new;
0x000015b8 sw s5, 0x48(sp) | *(var_48h_2) = s5;
0x000015bc lw s5, -0x7f20(gp) | s5 = *((gp - 8136));
0x000015c0 sw s3, 0x40(sp) | *(var_40h) = s3;
0x000015c4 move s3, a0 | s3 = a0;
0x000015c8 lw v0, (s5) | v0 = *(s5);
0x000015cc lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000015d0 sw gp, 0x20(sp) | *(var_20h) = gp;
0x000015d4 sw ra, 0x4c(sp) | *(var_4ch_2) = ra;
0x000015d8 sw s4, 0x44(sp) | *(var_44h_2) = s4;
0x000015dc sw s2, 0x3c(sp) | *(var_3ch_2) = s2;
0x000015e0 sw s1, 0x38(sp) | *(var_38h_2) = s1;
0x000015e4 sw s0, 0x34(sp) | *(var_34h) = s0;
0x000015e8 addiu a0, a0, 0x2e34 | a0 += 0x2e34;
0x000015ec sw zero, (a1) | *(a1) = 0;
0x000015f0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x000015f4 sw zero, 0x28(sp) | *(var_28h) = 0;
0x000015f8 move s2, a1 | s2 = a1;
0x000015fc jalr t9 | t9 ();
0x00001600 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001604 addiu v1, sp, 0x28 | v1 = sp + 0x28;
0x00001608 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000160c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001610 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001614 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001618 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x0000161c addiu v1, zero, 1 | v1 = 1;
0x00001620 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00001624 move a3, v0 | a3 = v0;
0x00001628 addiu a2, a2, 0x2e38 | a2 += str.GetChannelObjects;
0x0000162c addiu a1, a1, 0x2dc4 | a1 += str.com.axis.CaptureMode1;
0x00001630 addiu t9, t9, 0x13b8 | t9 += fcn.000013b8;
0x00001634 addiu a0, a0, 0x2e4c | a0 += str._com_axis_CaptureMode1;
0x00001638 bal 0x13b8 | fcn_000013b8 ();
0x0000163c move s4, v0 | s4 = v0;
0x00001640 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001644 beqz v0, 0x16bc | goto label_3;
| }
0x00001648 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000164c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001650 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00001654 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001658 addiu a3, a3, 0x3410 | a3 += 0x3410;
0x0000165c addiu a2, a2, 0x2e64 | a2 += str._scall_dbus_method_failed:_ret__d_;
0x00001660 addiu a1, zero, 0x100 | a1 = 0x100;
0x00001664 move a0, zero | a0 = 0;
0x00001668 jalr t9 | t9 ();
0x0000166c lw gp, 0x20(sp) | gp = *(var_20h);
| label_1:
0x00001670 lw a0, 0x28(sp) | a0 = *(var_28h);
| do {
0x00001674 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
| if (a0 != 0) {
0x00001678 beqz a0, 0x1688 |
0x0000167c jalr t9 | t9 ();
0x00001680 nop |
0x00001684 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00001688 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x0000168c lw v1, (s5) | v1 = *(s5);
0x00001690 move v0, s4 | v0 = s4;
| if (a0 != v1) {
0x00001694 bne a0, v1, 0x17b4 | goto label_4;
| }
0x00001698 lw ra, 0x4c(sp) | ra = *(var_4ch_2);
0x0000169c lw s5, 0x48(sp) | s5 = *(var_48h_2);
0x000016a0 lw s4, 0x44(sp) | s4 = *(var_44h_2);
0x000016a4 lw s3, 0x40(sp) | s3 = *(var_40h);
0x000016a8 lw s2, 0x3c(sp) | s2 = *(var_3ch_2);
0x000016ac lw s1, 0x38(sp) | s1 = *(var_38h_2);
0x000016b0 lw s0, 0x34(sp) | s0 = *(var_34h);
0x000016b4 addiu sp, sp, 0x50 |
0x000016b8 jr ra | return v0;
| label_3:
0x000016bc lw t9, -0x7f68(gp) | t9 = sym.imp.g_variant_dup_objv;
0x000016c0 lw a0, 0x28(sp) | a0 = *(var_28h);
0x000016c4 move a1, s2 | a1 = s2;
0x000016c8 jalr t9 | t9 ();
0x000016cc lw v1, (s2) | v1 = *(s2);
0x000016d0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000016d4 sw v0, (s3) | *(s3) = v0;
| if (v1 == 0) {
0x000016d8 beqz v1, 0x1758 | goto label_5;
| }
| label_2:
0x000016dc move s0, zero | s0 = 0;
0x000016e0 b 0x16fc | goto label_6;
| label_0:
0x000016e4 lw v0, (s2) | v0 = *(s2);
0x000016e8 addiu s0, s0, 1 | s0++;
0x000016ec sltu v0, s0, v0 | v0 = (s0 < v0) ? 1 : 0;
0x000016f0 lw a0, 0x28(sp) | a0 = *(var_28h);
0x000016f4 beqz v0, 0x1674 |
| } while (v0 == 0);
0x000016f8 lw v0, (s3) | v0 = *(s3);
| label_6:
0x000016fc sll s1, s0, 2 | s1 = s0 << 2;
0x00001700 lw t9, -0x7f34(gp) | t9 = sym.imp.g_variant_is_object_path;
0x00001704 lwx a0, s1(v0) | __asm ("lwx a0, s1(v0)");
0x00001708 jalr t9 | t9 ();
0x0000170c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001710 bnez v0, 0x16e4 | goto label_0;
| }
0x00001714 lw v0, (s3) | v0 = *(s3);
0x00001718 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x0000171c lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x00001720 lwx s1, s1(v0) | __asm ("lwx s1, s1(v0)");
0x00001724 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001728 sw s1, 0x18(sp) | *(var_18h) = s1;
0x0000172c addiu v0, v0, 0x2ebc | v0 += str.Failed_to_get_object__d:___s__is_not_object_path;
0x00001730 sw s0, 0x14(sp) | *(var_14h) = s0;
0x00001734 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001738 addiu a3, zero, 0xc8 | a3 = 0xc8;
0x0000173c addiu a2, zero, 1 | a2 = 1;
0x00001740 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x00001744 addiu a0, a0, 0x4140 | a0 += 0x4140;
0x00001748 jalr t9 | t9 ();
0x0000174c addiu s4, zero, 8 | s4 = 8;
0x00001750 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001754 b 0x1670 | goto label_1;
| label_5:
0x00001758 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000175c lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00001760 addiu v0, v0, 0x2e88 | v0 += str.Failed_to_get_channel_objects:_no_channel_objects;
0x00001764 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x00001768 addiu t0, v0, 0x30 | t0 = v0 + 0x30;
| do {
0x0000176c lw a3, (v0) | a3 = *(v0);
0x00001770 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00001774 lw a1, 8(v0) | a1 = *((v0 + 2));
0x00001778 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x0000177c addiu v0, v0, 0x10 | v0 += 0x10;
0x00001780 sw a3, (v1) | *(v1) = a3;
0x00001784 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x00001788 sw a1, 8(v1) | *((v1 + 2)) = a1;
0x0000178c sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00001790 addiu v1, v1, 0x10 | v1 += 0x10;
0x00001794 bne v0, t0, 0x176c |
| } while (v0 != t0);
0x00001798 lhu v0, (v0) | v0 = *(v0);
0x0000179c sh v0, (v1) | *(v1) = v0;
0x000017a0 lw v0, (s2) | v0 = *(s2);
0x000017a4 addiu s4, zero, 8 | s4 = 8;
| if (v0 == 0) {
0x000017a8 beqz v0, 0x1670 | goto label_1;
| }
0x000017ac lw v0, (s3) | v0 = *(s3);
0x000017b0 b 0x16dc | goto label_2;
| label_4:
0x000017b4 lw t9, -0x7f30(gp) | t9 = sym.imp.__stack_chk_fail;
0x000017b8 jalr t9 | t9 ();
0x000017bc nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/capturemode.cgi @ 0x17c0 */
| #include <stdint.h>
|
; (fcn) sym.handle_request () | void handle_request () {
0x000017c0 lui gp, 2 |
0x000017c4 addiu gp, gp, -0x57b0 |
0x000017c8 addu gp, gp, t9 | gp += t9;
0x000017cc lw v0, -0x7f20(gp) | v0 = *((gp - 8136));
0x000017d0 addiu sp, sp, -0x1e0 |
0x000017d4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000017d8 sw s6, 0x1d0(sp) | *(var_1d0h) = s6;
0x000017dc sw v0, 0x30(sp) | *(var_30h) = v0;
0x000017e0 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x000017e4 lw v0, (v0) | v0 = *(v0);
0x000017e8 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x000017ec sw s1, 0x1bc(sp) | *(var_1bch) = s1;
0x000017f0 move s1, a0 | s1 = a0;
0x000017f4 sw gp, 0x20(sp) | *(var_20h) = gp;
0x000017f8 sw ra, 0x1dc(sp) | *(var_1dch) = ra;
0x000017fc addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x00001800 addiu a2, a2, 0x2ef0 | a2 += str._sQuery_string:__s;
0x00001804 addiu a1, zero, 0x40 | a1 = 0x40;
0x00001808 move a0, zero | a0 = 0;
0x0000180c sw v0, 0x1b4(sp) | *(var_1b4h) = v0;
0x00001810 sw fp, 0x1d8(sp) | *(var_1d8h) = fp;
0x00001814 sw s7, 0x1d4(sp) | *(var_1d4h) = s7;
0x00001818 sw s5, 0x1cc(sp) | *(var_1cch) = s5;
0x0000181c sw s4, 0x1c8(sp) | *(var_1c8h) = s4;
0x00001820 sw s3, 0x1c4(sp) | *(var_1c4h) = s3;
0x00001824 sw s2, 0x1c0(sp) | *(var_1c0h) = s2;
0x00001828 sw s0, 0x1b8(sp) | *(var_1b8h) = s0;
0x0000182c sw s1, 0x10(sp) | *(var_10h) = s1;
0x00001830 jalr t9 | t9 ();
0x00001834 nop |
0x00001838 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000183c lw t9, -0x7f28(gp) | t9 = sym.imp.json_object;
0x00001840 jalr t9 | t9 ();
0x00001844 nop |
0x00001848 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0000184c beqz v0, 0x2910 | goto label_22;
| }
0x00001850 lw t9, -0x7f94(gp) | t9 = sym.imp.json_loads;
0x00001854 addiu a2, sp, 0xb8 | a2 = sp + 0xb8;
0x00001858 move a1, zero | a1 = 0;
0x0000185c move a0, s1 | a0 = s1;
0x00001860 move s0, v0 | s0 = v0;
0x00001864 jalr t9 | t9 ();
0x00001868 move s2, v0 | s2 = v0;
0x0000186c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001870 beqz v0, 0x1bcc | goto label_23;
| }
0x00001874 lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x00001878 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x0000187c addiu v0, sp, 0x70 | v0 = sp + 0x70;
0x00001880 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001884 lw t9, -0x7fb0(gp) | t9 = sym.imp.json_unpack;
0x00001888 move a3, v0 | a3 = v0;
0x0000188c sw v0, 0x34(sp) | *(var_34h_2) = v0;
0x00001890 addiu s1, sp, 0x74 | s1 = sp + 0x74;
0x00001894 addiu v0, s4, 0x2f30 | v0 = s4 + str.method;
0x00001898 sw s1, 0x14(sp) | *(var_14h) = s1;
0x0000189c sw v0, 0x10(sp) | *(var_10h) = v0;
0x000018a0 addiu a2, s5, 0x2f1c | a2 = s5 + str.context;
0x000018a4 addiu a1, a1, 0x2f24 | a1 += str.s_s_s:s;
0x000018a8 move a0, s2 | a0 = s2;
0x000018ac sw zero, 0x70(sp) | *(var_70h) = 0;
0x000018b0 sw zero, 0x74(sp) | *(var_74h) = 0;
0x000018b4 jalr t9 | t9 ();
0x000018b8 move s3, v0 | s3 = v0;
0x000018bc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000018c0 bnez v0, 0x2114 | goto label_24;
| }
0x000018c4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000018c8 lw t9, -0x7f58(gp) | t9 = sym.imp.json_string;
0x000018cc addiu a0, a0, 0x2f60 | a0 += 0x2f60;
0x000018d0 jalr t9 | t9 ();
0x000018d4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000018d8 move a0, s0 | a0 = s0;
0x000018dc move a2, v0 | a2 = v0;
0x000018e0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000018e4 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x000018e8 addiu a1, a1, 0x2f64 | a1 += str.apiVersion;
0x000018ec jalr t9 | t9 ();
0x000018f0 lw a0, 0x70(sp) | a0 = *(var_70h);
0x000018f4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 == 0) {
0x000018f8 beqz a0, 0x1d48 | goto label_25;
| }
| label_0:
0x000018fc lw t9, -0x7f58(gp) | t9 = sym.imp.json_string;
0x00001900 jalr t9 | t9 ();
0x00001904 nop |
0x00001908 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000190c move a2, v0 | a2 = v0;
0x00001910 addiu a1, s5, 0x2f1c | a1 = s5 + str.context;
0x00001914 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x00001918 move a0, s0 | a0 = s0;
0x0000191c jalr t9 | t9 ();
0x00001920 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001924 lw t9, -0x7f58(gp) | t9 = sym.imp.json_string;
0x00001928 lw a0, 0x74(sp) | a0 = *(var_74h);
0x0000192c jalr t9 | t9 ();
0x00001930 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001934 move a2, v0 | a2 = v0;
0x00001938 addiu a1, s4, 0x2f30 | a1 = s4 + str.method;
0x0000193c lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x00001940 move a0, s0 | a0 = s0;
0x00001944 jalr t9 | t9 ();
0x00001948 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000194c move a3, s1 | a3 = s1;
0x00001950 addiu a2, s4, 0x2f30 | a2 = s4 + str.method;
0x00001954 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001958 lw t9, -0x7fb0(gp) | t9 = sym.imp.json_unpack;
0x0000195c addiu a1, a1, 0x2f70 | a1 += str.s_s;
0x00001960 move a0, s2 | a0 = s2;
0x00001964 sw zero, 0x74(sp) | *(var_74h) = 0;
0x00001968 jalr t9 | t9 ();
0x0000196c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001970 bnez v0, 0x24d8 | goto label_26;
| }
0x00001974 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001978 lw s4, 0x74(sp) | s4 = *(var_74h);
0x0000197c lw t9, -0x7ef8(gp) | t9 = sym.imp.strcmp;
0x00001980 addiu a1, a1, 0x2fec | a1 += str.setCaptureMode;
0x00001984 move a0, s4 | a0 = s4;
0x00001988 jalr t9 | t9 ();
0x0000198c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001990 beqz v0, 0x1d50 | goto label_27;
| }
0x00001994 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001998 lw t9, -0x7ef8(gp) | t9 = sym.imp.strcmp;
0x0000199c addiu a1, a1, 0x2ffc | a1 += str.getCaptureModes;
0x000019a0 move a0, s4 | a0 = s4;
0x000019a4 jalr t9 | t9 ();
0x000019a8 move s3, v0 | s3 = v0;
0x000019ac lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000019b0 bnez v0, 0x28b8 | goto label_28;
| }
0x000019b4 lw s4, -0x7fd8(gp) | s4 = *((gp - 8182));
0x000019b8 lw t9, -0x7f44(gp) | t9 = sym.imp.g_bus_get_sync;
0x000019bc move a2, s1 | a2 = s1;
0x000019c0 move a1, zero | a1 = 0;
0x000019c4 addiu a0, zero, 1 | a0 = 1;
0x000019c8 sw s4, 0x4c(sp) | *(var_4ch) = s4;
0x000019cc sw zero, 0x74(sp) | *(var_74h) = 0;
0x000019d0 jalr t9 | t9 ();
0x000019d4 lw v1, 0x74(sp) | v1 = *(var_74h);
0x000019d8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000019dc sw v0, 0x4208(s4) | *((s4 + 4226)) = v0;
| if (v1 != 0) {
0x000019e0 bnez v1, 0x232c | goto label_29;
| }
0x000019e4 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000019e8 addiu a1, sp, 0x68 | a1 = sp + 0x68;
0x000019ec addiu a0, sp, 0x64 | a0 = sp + 0x64;
0x000019f0 sw zero, 0x64(sp) | *(var_64h) = 0;
0x000019f4 addiu t9, t9, 0x15a4 | t9 += fcn.000015a4;
0x000019f8 sw zero, 0x68(sp) | *(var_68h) = 0;
0x000019fc bal 0x15a4 | fcn_000015a4 ();
0x00001a00 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00001a04 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001a08 bnez v0, 0x22e8 | goto label_30;
| }
0x00001a0c lw t9, -0x7f0c(gp) | t9 = sym.imp.json_array;
0x00001a10 jalr t9 | t9 ();
0x00001a14 nop |
0x00001a18 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00001a1c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001a20 beqz v0, 0x2840 | goto label_31;
| }
0x00001a24 lw v0, 0x68(sp) | v0 = *(var_68h);
0x00001a28 lw a0, 0x64(sp) | a0 = *(var_64h);
0x00001a2c sw v0, 0x50(sp) | *(var_50h) = v0;
| if (v0 <= 0) {
0x00001a30 blez v0, 0x2224 | goto label_32;
| }
0x00001a34 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001a38 move s7, a0 | s7 = a0;
0x00001a3c sw v0, 0x54(sp) | *(var_54h) = v0;
0x00001a40 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001a44 move s3, zero | s3 = 0;
0x00001a48 addiu v0, v0, 0x13b8 | v0 += fcn.000013b8;
0x00001a4c sw v0, 0x58(sp) | *(var_58h) = v0;
0x00001a50 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001a54 move fp, zero | fp = 0;
0x00001a58 addiu v0, v0, 0x3230 | v0 += str.captureModeId;
0x00001a5c sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00001a60 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001a64 addiu v0, v0, 0x1140 | v0 += fcn.00001140;
0x00001a68 sw v0, 0x28(sp) | *(var_28h_2) = v0;
| label_8:
0x00001a6c lw t9, -0x7f0c(gp) | t9 = sym.imp.json_array;
0x00001a70 jalr t9 | t9 ();
0x00001a74 nop |
0x00001a78 move s5, v0 | s5 = v0;
0x00001a7c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001a80 beqz v0, 0x25cc | goto label_33;
| }
0x00001a84 lw v0, 0x54(sp) | v0 = *(var_54h);
0x00001a88 lw t9, -0x7f88(gp) | t9 = sym.imp.g_variant_new;
0x00001a8c lw s4, (s7) | s4 = *(s7);
0x00001a90 addiu a0, v0, 0x2e34 | a0 = v0 + 0x2e34;
0x00001a94 sw zero, 0x6c(sp) | *(var_6ch) = 0;
0x00001a98 jalr t9 | t9 ();
0x00001a9c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001aa0 addiu v1, sp, 0x6c | v1 = sp + 0x6c;
0x00001aa4 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00001aa8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001aac lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001ab0 addiu v1, zero, 1 | v1 = 1;
0x00001ab4 lw t9, 0x58(sp) | t9 = *(var_58h);
0x00001ab8 move a0, s4 | a0 = s4;
0x00001abc sw v1, 0x10(sp) | *(var_10h) = v1;
0x00001ac0 move a3, v0 | a3 = v0;
0x00001ac4 addiu a2, a2, 0x31e4 | a2 += str.GetCaptureModes;
0x00001ac8 addiu a1, a1, 0x3144 | a1 += str.com.axis.CaptureMode1.Channel;
0x00001acc jalr t9 | t9 ();
0x00001ad0 move s4, v0 | s4 = v0;
0x00001ad4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001ad8 beqz v0, 0x1f2c | goto label_34;
| }
0x00001adc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001ae0 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00001ae4 move a0, zero | a0 = 0;
0x00001ae8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001aec addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x00001af0 addiu a2, a2, 0x2e64 | a2 += str._scall_dbus_method_failed:_ret__d_;
0x00001af4 addiu a1, zero, 0x100 | a1 = 0x100;
0x00001af8 jalr t9 | t9 ();
0x00001afc lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00001b00 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x00001b04 beqz a0, 0x1b18 |
0x00001b08 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
| label_9:
0x00001b0c jalr t9 | t9 ();
0x00001b10 nop |
0x00001b14 lw gp, 0x20(sp) | gp = *(var_20h);
| }
| label_5:
0x00001b18 lw v1, 4(s5) | v1 = *((s5 + 1));
0x00001b1c addiu v0, zero, -1 | v0 = -1;
| if (v1 != v0) {
0x00001b20 bne v1, v0, 0x254c | goto label_35;
| }
0x00001b24 nop |
| label_13:
0x00001b28 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| label_12:
0x00001b2c lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00001b30 sw s4, 0x14(sp) | *(var_14h) = s4;
0x00001b34 sw s3, 0x10(sp) | *(var_10h) = s3;
0x00001b38 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x00001b3c addiu a2, a2, 0x329c | a2 += str._sfailed_to_get_capture_mode_of_channel__d:_ret__d_;
0x00001b40 addiu a1, zero, 0x100 | a1 = 0x100;
0x00001b44 move a0, zero | a0 = 0;
0x00001b48 jalr t9 | t9 ();
0x00001b4c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001b50 sw s4, 0x2c(sp) | *(var_2ch_2) = s4;
| label_15:
0x00001b54 lw v0, 0x2c(sp) | v0 = *(var_2ch_2);
0x00001b58 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001b5c lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00001b60 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001b64 move a0, zero | a0 = 0;
0x00001b68 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x00001b6c addiu a2, a2, 0x3310 | a2 += str._sget_cm_for_channels_failed:_ret__d_;
0x00001b70 addiu a1, zero, 0x100 | a1 = 0x100;
0x00001b74 jalr t9 | t9 ();
0x00001b78 lw a0, 0x48(sp) | a0 = *(var_48h);
0x00001b7c addiu v0, zero, -1 | v0 = -1;
0x00001b80 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001b84 lw v1, 4(a0) | v1 = *((a0 + 1));
0x00001b88 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
| if (v1 == v0) {
0x00001b8c beq v1, v0, 0x1bb8 | goto label_36;
| }
0x00001b90 sync | __asm ("sync");
| do {
0x00001b94 ll v0, 4(a0) | __asm ("ll v0, 4(a0)");
0x00001b98 addiu at, v0, -1 | at = v0 + -1;
0x00001b9c sc at, 4(a0) | __asm ("sc at, 4(a0)");
0x00001ba0 addiu v0, v0, -1 | v0 += -1;
0x00001ba4 beqz at, 0x1b94 |
| } while (at == 0);
0x00001ba8 sync | __asm ("sync");
0x00001bac lw t9, -0x7f2c(gp) | t9 = sym.imp.json_delete;
| if (v0 == 0) {
0x00001bb0 beqz v0, 0x2938 | goto label_37;
| }
| label_20:
0x00001bb4 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
| label_36:
0x00001bb8 lw a0, 0x64(sp) | a0 = *(var_64h);
0x00001bbc move s3, zero | s3 = 0;
0x00001bc0 jalr t9 | t9 ();
0x00001bc4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001bc8 b 0x1e90 | goto label_7;
| label_23:
0x00001bcc addiu v0, sp, 0x114 | v0 = sp + 0x114;
0x00001bd0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001bd4 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001bd8 lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
0x00001bdc lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
0x00001be0 lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x00001be4 addiu v0, v0, 0x2f78 | v0 += str.Failed_to_parse_JSON_request:__s;
0x00001be8 addiu a0, s3, 0x4140 | a0 = s3 + 0x4140;
0x00001bec sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001bf0 addiu a3, zero, 0xc8 | a3 = 0xc8;
0x00001bf4 addiu a2, zero, 1 | a2 = 1;
0x00001bf8 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x00001bfc jalr t9 | t9 ();
0x00001c00 lw a0, 0x4208(s1) | a0 = *((s1 + 4226));
0x00001c04 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x00001c08 beqz a0, 0x1c20 |
0x00001c0c lw t9, -0x7f08(gp) | t9 = sym.imp.g_object_unref;
0x00001c10 jalr t9 | t9 ();
0x00001c14 nop |
0x00001c18 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001c1c sw zero, 0x4208(s1) | *((s1 + 4226)) = 0;
| }
0x00001c20 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001c24 addiu v0, s3, 0x4140 | v0 = s3 + 0x4140;
0x00001c28 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00001c2c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001c30 addiu v0, zero, 2 | v0 = 2;
0x00001c34 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x00001c38 addiu a2, a2, 0x3338 | a2 += str._scgi_failed:_ret__d__msg__s_;
0x00001c3c addiu a1, zero, 0x100 | a1 = 0x100;
0x00001c40 move a0, zero | a0 = 0;
0x00001c44 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001c48 jalr t9 | t9 ();
0x00001c4c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001c50 lw t9, -0x7f28(gp) | t9 = sym.imp.json_object;
0x00001c54 jalr t9 | t9 ();
0x00001c58 nop |
0x00001c5c move s2, v0 | s2 = v0;
0x00001c60 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001c64 bnez v0, 0x23d4 | goto label_38;
| }
| label_2:
0x00001c68 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001c6c lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00001c70 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x00001c74 addiu a2, a2, 0x2f04 | a2 += str._sjson_object_failed;
0x00001c78 addiu a1, zero, 0x100 | a1 = 0x100;
0x00001c7c move a0, zero | a0 = 0;
0x00001c80 jalr t9 | t9 ();
0x00001c84 lw gp, 0x20(sp) | gp = *(var_20h);
| label_3:
0x00001c88 lw t9, -0x7f90(gp) | t9 = sym.imp.json_dumps;
| label_1:
0x00001c8c addiu a1, zero, 2 | a1 = 2;
0x00001c90 move a0, s0 | a0 = s0;
0x00001c94 jalr t9 | t9 ();
0x00001c98 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001c9c move s1, v0 | s1 = v0;
0x00001ca0 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001ca4 lw t9, -0x7f48(gp) | t9 = sym.imp.puts;
0x00001ca8 addiu a0, a0, 0x33e4 | a0 += str.Content_Type:_application_json_charsetutf8_n;
0x00001cac jalr t9 | t9 ();
0x00001cb0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001cb4 lw t9, -0x7f48(gp) | t9 = sym.imp.puts;
0x00001cb8 move a0, s1 | a0 = s1;
0x00001cbc jalr t9 | t9 ();
0x00001cc0 lw v1, 4(s0) | v1 = *((s0 + 1));
0x00001cc4 addiu v0, zero, -1 | v0 = -1;
0x00001cc8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v1 == v0) {
0x00001ccc beq v1, v0, 0x1cf4 | goto label_6;
| }
0x00001cd0 sync | __asm ("sync");
| do {
0x00001cd4 ll v0, 4(s0) | __asm ("ll v0, 4(s0)");
0x00001cd8 addiu at, v0, -1 | at = v0 + -1;
0x00001cdc sc at, 4(s0) | __asm ("sc at, 4(s0)");
0x00001ce0 addiu v0, v0, -1 | v0 += -1;
0x00001ce4 beqz at, 0x1cd4 |
| } while (at == 0);
0x00001ce8 sync | __asm ("sync");
0x00001cec lw t9, -0x7f2c(gp) | t9 = sym.imp.json_delete;
| if (v0 == 0) {
0x00001cf0 beqz v0, 0x2104 | goto label_39;
| }
| label_6:
0x00001cf4 lw t9, -0x7f14(gp) | t9 = sym.imp.free;
0x00001cf8 move a0, s1 | a0 = s1;
0x00001cfc jalr t9 | t9 ();
0x00001d00 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001d04 move v0, zero | v0 = 0;
| label_19:
0x00001d08 lw v1, 0x30(sp) | v1 = *(var_30h);
0x00001d0c lw a0, 0x1b4(sp) | a0 = *(var_1b4h);
0x00001d10 lw v1, (v1) | v1 = *(v1);
0x00001d14 lw ra, 0x1dc(sp) | ra = *(var_1dch);
| if (a0 != v1) {
0x00001d18 bne a0, v1, 0x2958 | goto label_40;
| }
0x00001d1c lw fp, 0x1d8(sp) | fp = *(var_1d8h);
0x00001d20 lw s7, 0x1d4(sp) | s7 = *(var_1d4h);
0x00001d24 lw s6, 0x1d0(sp) | s6 = *(var_1d0h);
0x00001d28 lw s5, 0x1cc(sp) | s5 = *(var_1cch);
0x00001d2c lw s4, 0x1c8(sp) | s4 = *(var_1c8h);
0x00001d30 lw s3, 0x1c4(sp) | s3 = *(var_1c4h);
0x00001d34 lw s2, 0x1c0(sp) | s2 = *(var_1c0h);
0x00001d38 lw s1, 0x1bc(sp) | s1 = *(var_1bch);
0x00001d3c lw s0, 0x1b8(sp) | s0 = *(var_1b8h);
0x00001d40 addiu sp, sp, 0x1e0 |
0x00001d44 jr ra | return v0;
| label_25:
0x00001d48 addiu a0, s6, 0x3410 | a0 = s6 + 0x3410;
0x00001d4c b 0x18fc | goto label_0;
| label_27:
0x00001d50 lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
0x00001d54 lw t9, -0x7f44(gp) | t9 = sym.imp.g_bus_get_sync;
0x00001d58 move a2, s1 | a2 = s1;
0x00001d5c move a1, zero | a1 = 0;
0x00001d60 addiu a0, zero, 1 | a0 = 1;
0x00001d64 sw s3, 0x4c(sp) | *(var_4ch) = s3;
0x00001d68 sw zero, 0x74(sp) | *(var_74h) = 0;
0x00001d6c jalr t9 | t9 ();
0x00001d70 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00001d74 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001d78 sw v0, 0x4208(s3) | *((s3 + 4226)) = v0;
| if (v1 != 0) {
0x00001d7c bnez v1, 0x2328 | goto label_41;
| }
0x00001d80 addiu v0, sp, 0x68 | v0 = sp + 0x68;
0x00001d84 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001d88 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001d8c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001d90 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001d94 lw t9, -0x7fb0(gp) | t9 = sym.imp.json_unpack;
0x00001d98 addiu v1, zero, -1 | v1 = -1;
0x00001d9c addiu v0, v0, 0x3230 | v0 += str.captureModeId;
0x00001da0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001da4 addiu a3, sp, 0x64 | a3 = sp + 0x64;
0x00001da8 addiu a2, a2, 0x31dc | a2 += 0x31dc;
0x00001dac addiu a1, a1, 0x3414 | a1 += str.sisi;
0x00001db0 move a0, s2 | a0 = s2;
0x00001db4 sw v1, 0x64(sp) | *(var_64h) = v1;
0x00001db8 sw v1, 0x68(sp) | *(var_68h) = v1;
0x00001dbc sw zero, 0x6c(sp) | *(var_6ch) = 0;
0x00001dc0 sw zero, 0x70(sp) | *(var_70h) = 0;
0x00001dc4 jalr t9 | t9 ();
0x00001dc8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001dcc bnez v0, 0x246c | goto label_42;
| }
0x00001dd0 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00001dd4 lw a1, 0x34(sp) | a1 = *(var_34h_2);
0x00001dd8 addiu t9, t9, 0x15a4 | t9 += fcn.000015a4;
0x00001ddc addiu a0, sp, 0x6c | a0 = sp + 0x6c;
0x00001de0 bal 0x15a4 | fcn_000015a4 ();
0x00001de4 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00001de8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001dec bnez v0, 0x2594 | goto label_43;
| }
0x00001df0 lw v0, 0x64(sp) | v0 = *(var_64h);
0x00001df4 lw v1, 0x70(sp) | v1 = *(var_70h);
| if (v0 < 0) {
0x00001df8 bltz v0, 0x237c | goto label_44;
| }
0x00001dfc sltu a0, v0, v1 | a0 = (v0 < v1) ? 1 : 0;
0x00001e00 lw s3, 0x6c(sp) | s3 = *(var_6ch);
| if (a0 == 0) {
0x00001e04 beqz a0, 0x237c | goto label_44;
| }
0x00001e08 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001e0c sll v0, v0, 2 | v0 <<= 2;
0x00001e10 lw t9, -0x7f88(gp) | t9 = sym.imp.g_variant_new;
0x00001e14 lw a1, 0x68(sp) | a1 = *(var_68h);
0x00001e18 lwx s3, v0(s3) | __asm ("lwx s3, v0(s3)");
0x00001e1c addiu a0, a0, 0x3130 | a0 += 0x3130;
0x00001e20 sw zero, 0x74(sp) | *(var_74h) = 0;
0x00001e24 jalr t9 | t9 ();
0x00001e28 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001e2c sw s1, 0x14(sp) | *(var_14h) = s1;
0x00001e30 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00001e34 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001e38 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001e3c lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00001e40 move a3, v0 | a3 = v0;
0x00001e44 addiu a2, a2, 0x3134 | a2 += str.SetCaptureMode;
0x00001e48 addiu a1, a1, 0x3144 | a1 += str.com.axis.CaptureMode1.Channel;
0x00001e4c addiu t9, t9, 0x13b8 | t9 += fcn.000013b8;
0x00001e50 move a0, s3 | a0 = s3;
0x00001e54 bal 0x13b8 | fcn_000013b8 ();
0x00001e58 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00001e5c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001e60 bnez v0, 0x26b0 | goto label_45;
| }
0x00001e64 lw a0, 0x74(sp) | a0 = *(var_74h);
0x00001e68 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
| if (a0 != 0) {
0x00001e6c beqz a0, 0x1e7c |
0x00001e70 jalr t9 | t9 ();
0x00001e74 nop |
0x00001e78 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00001e7c lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
0x00001e80 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00001e84 jalr t9 | t9 ();
0x00001e88 lw gp, 0x20(sp) | gp = *(var_20h);
| label_11:
0x00001e8c addiu s3, zero, 1 | s3 = 1;
| label_7:
0x00001e90 lw v1, 4(s2) | v1 = *((s2 + 1));
0x00001e94 addiu v0, zero, -1 | v0 = -1;
0x00001e98 lw s1, 0x4c(sp) | s1 = *(var_4ch);
| if (v1 == v0) {
0x00001e9c beq v1, v0, 0x1ec8 | goto label_46;
| }
0x00001ea0 sync | __asm ("sync");
| do {
0x00001ea4 ll v0, 4(s2) | __asm ("ll v0, 4(s2)");
0x00001ea8 addiu at, v0, -1 | at = v0 + -1;
0x00001eac sc at, 4(s2) | __asm ("sc at, 4(s2)");
0x00001eb0 addiu v0, v0, -1 | v0 += -1;
0x00001eb4 beqz at, 0x1ea4 |
| } while (at == 0);
0x00001eb8 sync | __asm ("sync");
0x00001ebc lw t9, -0x7f2c(gp) | t9 = sym.imp.json_delete;
| if (v0 == 0) {
0x00001ec0 beqz v0, 0x22d8 | goto label_47;
| }
| label_10:
0x00001ec4 lw s1, 0x4c(sp) | s1 = *(var_4ch);
| label_46:
0x00001ec8 lw a0, 0x4208(s1) | a0 = *((s1 + 4226));
0x00001ecc lw t9, -0x7f08(gp) | t9 = sym.imp.g_object_unref;
| if (a0 != 0) {
0x00001ed0 beqz a0, 0x1ee4 |
0x00001ed4 jalr t9 | t9 ();
0x00001ed8 nop |
0x00001edc lw gp, 0x20(sp) | gp = *(var_20h);
0x00001ee0 sw zero, 0x4208(s1) | *((s1 + 4226)) = 0;
| }
0x00001ee4 lw v0, 0x2c(sp) | v0 = *(var_2ch_2);
0x00001ee8 lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
| if (v0 == 0) {
0x00001eec bnel v0, zero, 0x270c | goto label_48;
| }
0x00001ef0 lw t9, -0x7f90(gp) | t9 = sym.imp.json_dumps;
| if (s3 == 0) {
0x00001ef4 beqz s3, 0x1c8c | goto label_1;
| }
0x00001ef8 lw t9, -0x7f28(gp) | t9 = sym.imp.json_object;
0x00001efc jalr t9 | t9 ();
0x00001f00 nop |
0x00001f04 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001f08 beqz v0, 0x1c68 | goto label_2;
| }
0x00001f0c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001f10 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x00001f14 move a2, v0 | a2 = v0;
0x00001f18 addiu a1, a1, 0x33dc | a1 += str.data;
0x00001f1c move a0, s0 | a0 = s0;
0x00001f20 jalr t9 | t9 ();
0x00001f24 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001f28 b 0x1c88 | goto label_3;
| label_34:
0x00001f2c lw t9, -0x7fa4(gp) | t9 = sym.imp.g_variant_iter_init;
0x00001f30 addiu s4, sp, 0x78 | s4 = sp + 0x78;
0x00001f34 lw a1, 0x6c(sp) | a1 = *(var_6ch);
0x00001f38 move a0, s4 | a0 = s4;
0x00001f3c jalr t9 | t9 ();
0x00001f40 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001f44 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001f48 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00001f4c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001f50 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00001f54 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001f58 addiu v0, v0, 0x3244 | v0 += str.index;
0x00001f5c sw v0, 0x40(sp) | *(var_40h) = v0;
0x00001f60 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001f64 sw v0, 0x44(sp) | *(var_44h) = v0;
| do {
| label_4:
0x00001f68 lw v0, 0x38(sp) | v0 = *(var_38h);
0x00001f6c lw t9, -0x7f5c(gp) | t9 = sym.imp.g_variant_iter_next;
0x00001f70 lw a2, 0x34(sp) | a2 = *(var_34h_2);
0x00001f74 addiu a1, v0, 0x3294 | a1 = v0 + str._asv;
0x00001f78 move a0, s4 | a0 = s4;
0x00001f7c jalr t9 | t9 ();
0x00001f80 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001f84 beqz v0, 0x217c | goto label_49;
| }
0x00001f88 lw t9, -0x7f28(gp) | t9 = sym.imp.json_object;
0x00001f8c jalr t9 | t9 ();
0x00001f90 nop |
0x00001f94 sw v0, 0x74(sp) | *(var_74h) = v0;
0x00001f98 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001f9c lw a0, 0x70(sp) | a0 = *(var_70h);
| if (v0 == 0) {
0x00001fa0 beqz v0, 0x2258 | goto label_50;
| }
0x00001fa4 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00001fa8 lw a3, 0x5c(sp) | a3 = *(var_5ch);
0x00001fac lw a1, 0x40(sp) | a1 = *(var_40h);
0x00001fb0 lw t9, 0x28(sp) | t9 = *(var_28h_2);
0x00001fb4 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00001fb8 addiu a2, v0, 0x3240 | a2 = v0 + 0x3240;
0x00001fbc jalr t9 | t9 ();
0x00001fc0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001fc4 beqz v0, 0x205c | goto label_51;
| }
0x00001fc8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001fcc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001fd0 lw v0, 0x44(sp) | v0 = *(var_44h);
0x00001fd4 lw a0, 0x70(sp) | a0 = *(var_70h);
0x00001fd8 lw t9, 0x28(sp) | t9 = *(var_28h_2);
0x00001fdc sw s1, 0x10(sp) | *(var_10h) = s1;
0x00001fe0 addiu a3, v0, 0x324c | a3 = v0 + str.enabled;
0x00001fe4 addiu a2, a2, 0x3254 | a2 += 0x3254;
0x00001fe8 addiu a1, a1, 0x2d4c | a1 += str.current;
0x00001fec jalr t9 | t9 ();
0x00001ff0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001ff4 beqz v0, 0x205c | goto label_51;
| }
0x00001ff8 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001ffc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002000 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002004 lw a0, 0x70(sp) | a0 = *(var_70h);
0x00002008 lw t9, 0x28(sp) | t9 = *(var_28h_2);
0x0000200c sw s1, 0x10(sp) | *(var_10h) = s1;
0x00002010 addiu a3, a3, 0x3258 | a3 += str.description;
0x00002014 addiu a2, a2, 0x2f5c | a2 += 0x2f5c;
0x00002018 addiu a1, a1, 0x3264 | a1 += str.friendly_name;
0x0000201c jalr t9 | t9 ();
0x00002020 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002024 beqz v0, 0x205c | goto label_51;
| }
0x00002028 lw t9, -0x7f10(gp) | t9 = sym.imp.json_array_append_new;
0x0000202c lw a1, 0x74(sp) | a1 = *(var_74h);
0x00002030 move a0, s5 | a0 = s5;
0x00002034 jalr t9 | t9 ();
0x00002038 lw a0, 0x70(sp) | a0 = *(var_70h);
0x0000203c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002040 beqz a0, 0x1f68 |
| } while (a0 == 0);
0x00002044 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
0x00002048 jalr t9 | t9 ();
0x0000204c nop |
0x00002050 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002054 sw zero, 0x70(sp) | *(var_70h) = 0;
0x00002058 b 0x1f68 | goto label_4;
| label_51:
0x0000205c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002060 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00002064 move a0, zero | a0 = 0;
0x00002068 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x0000206c addiu a2, a2, 0x3274 | a2 += str._smove_dict_item_to_json_failed;
0x00002070 addiu a1, zero, 0x100 | a1 = 0x100;
0x00002074 jalr t9 | t9 ();
0x00002078 lw a0, 0x74(sp) | a0 = *(var_74h);
0x0000207c lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 == 0) {
0x00002080 beqz a0, 0x20b8 | goto label_14;
| }
0x00002084 lw v1, 4(a0) | v1 = *((a0 + 1));
0x00002088 addiu v0, zero, -1 | v0 = -1;
| if (v1 == v0) {
0x0000208c beql v1, v0, 0x20bc | goto label_52;
| }
0x00002090 lw a0, 0x70(sp) | a0 = *(var_70h);
0x00002094 sync | __asm ("sync");
| do {
0x00002098 ll v0, 4(a0) | __asm ("ll v0, 4(a0)");
0x0000209c addiu at, v0, -1 | at = v0 + -1;
0x000020a0 sc at, 4(a0) | __asm ("sc at, 4(a0)");
0x000020a4 addiu v0, v0, -1 | v0 += -1;
0x000020a8 beqz at, 0x2098 |
| } while (at == 0);
0x000020ac sync | __asm ("sync");
0x000020b0 lw t9, -0x7f2c(gp) | t9 = sym.imp.json_delete;
| if (v0 == 0) {
0x000020b4 beqz v0, 0x2584 | goto label_53;
| }
| label_14:
0x000020b8 lw a0, 0x70(sp) | a0 = *(var_70h);
| label_52:
0x000020bc sw zero, 0x74(sp) | *(var_74h) = 0;
| if (a0 != 0) {
0x000020c0 beqz a0, 0x20e4 |
0x000020c4 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
0x000020c8 jalr t9 | t9 ();
0x000020cc nop |
0x000020d0 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x000020d4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x000020d8 bnez a0, 0x20f0 | goto label_54;
| }
0x000020dc addiu s4, zero, 8 | s4 = 8;
0x000020e0 b 0x1b18 | goto label_5;
| }
0x000020e4 lw a0, 0x6c(sp) | a0 = *(var_6ch);
| if (a0 == 0) {
0x000020e8 beql a0, zero, 0x1b18 | goto label_5;
| }
0x000020ec addiu s4, zero, 8 | s4 = 8;
| label_54:
0x000020f0 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
0x000020f4 addiu s4, zero, 8 | s4 = 8;
0x000020f8 jalr t9 | t9 ();
0x000020fc lw gp, 0x20(sp) | gp = *(var_20h);
0x00002100 b 0x1b18 | goto label_5;
| label_39:
0x00002104 move a0, s0 | a0 = s0;
0x00002108 jalr t9 | t9 ();
0x0000210c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002110 b 0x1cf4 | goto label_6;
| label_24:
0x00002114 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002118 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x0000211c addiu v0, v0, 0x2f38 | v0 += str.Failed_to_parse_context_method_fields;
0x00002120 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x00002124 addiu t0, v0, 0x20 | t0 = v0 + 0x20;
| do {
0x00002128 lw a3, (v0) | a3 = *(v0);
0x0000212c lw a2, 4(v0) | a2 = *((v0 + 1));
0x00002130 lw a1, 8(v0) | a1 = *((v0 + 2));
0x00002134 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00002138 addiu v0, v0, 0x10 | v0 += 0x10;
0x0000213c sw a3, (v1) | *(v1) = a3;
0x00002140 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x00002144 sw a1, 8(v1) | *((v1 + 2)) = a1;
0x00002148 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x0000214c addiu v1, v1, 0x10 | v1 += 0x10;
0x00002150 bne v0, t0, 0x2128 |
| } while (v0 != t0);
0x00002154 lw a0, (v0) | a0 = *(v0);
0x00002158 lhu v0, 4(v0) | v0 = *((v0 + 2));
0x0000215c sw a0, (v1) | *(v1) = a0;
0x00002160 sh v0, 4(v1) | *((v1 + 2)) = v0;
0x00002164 addiu v0, zero, 3 | v0 = 3;
0x00002168 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x0000216c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00002170 move s3, zero | s3 = 0;
0x00002174 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00002178 b 0x1e90 | goto label_7;
| label_49:
0x0000217c lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00002180 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
| if (a0 != 0) {
0x00002184 bnez a0, 0x2900 | goto label_55;
| }
| label_18:
0x00002188 lw t9, -0x7f28(gp) | t9 = sym.imp.json_object;
0x0000218c jalr t9 | t9 ();
0x00002190 nop |
0x00002194 move s4, v0 | s4 = v0;
0x00002198 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0000219c beqz v0, 0x2628 | goto label_56;
| }
0x000021a0 lw t9, -0x7f1c(gp) | t9 = sym.imp.json_integer;
0x000021a4 move a0, s3 | a0 = s3;
0x000021a8 move a1, fp | a1 = fp;
0x000021ac jalr t9 | t9 ();
0x000021b0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000021b4 move a2, v0 | a2 = v0;
0x000021b8 move a0, s4 | a0 = s4;
0x000021bc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000021c0 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x000021c4 addiu a1, a1, 0x31dc | a1 += 0x31dc;
0x000021c8 jalr t9 | t9 ();
0x000021cc lw gp, 0x20(sp) | gp = *(var_20h);
0x000021d0 move a2, s5 | a2 = s5;
0x000021d4 move a0, s4 | a0 = s4;
0x000021d8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000021dc lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x000021e0 addiu a1, a1, 0x3304 | a1 += str.captureMode;
0x000021e4 jalr t9 | t9 ();
0x000021e8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000021ec lw a0, 0x48(sp) | a0 = *(var_48h);
0x000021f0 move a1, s4 | a1 = s4;
0x000021f4 lw t9, -0x7f10(gp) | t9 = sym.imp.json_array_append_new;
0x000021f8 addiu s7, s7, 4 | s7 += 4;
0x000021fc jalr t9 | t9 ();
0x00002200 addiu v0, s3, 1 | v0 = s3 + 1;
0x00002204 sltu v1, v0, s3 | v1 = (v0 < s3) ? 1 : 0;
0x00002208 move s3, v0 | s3 = v0;
0x0000220c lw v0, 0x50(sp) | v0 = *(var_50h);
0x00002210 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002214 slt v0, s3, v0 | v0 = (s3 < v0) ? 1 : 0;
0x00002218 addu fp, v1, fp | fp = v1 + fp;
| if (v0 != 0) {
0x0000221c bnez v0, 0x1a6c | goto label_8;
| }
0x00002220 lw a0, 0x64(sp) | a0 = *(var_64h);
| label_32:
0x00002224 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
0x00002228 move s3, zero | s3 = 0;
0x0000222c jalr t9 | t9 ();
0x00002230 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002234 lw a2, 0x48(sp) | a2 = *(var_48h);
0x00002238 move a0, s0 | a0 = s0;
0x0000223c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002240 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x00002244 addiu a1, a1, 0x33dc | a1 += str.data;
0x00002248 sw zero, 0x64(sp) | *(var_64h) = 0;
0x0000224c jalr t9 | t9 ();
0x00002250 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002254 b 0x1e90 | goto label_7;
| label_50:
0x00002258 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
| if (a0 != 0) {
0x0000225c beqz a0, 0x226c |
0x00002260 jalr t9 | t9 ();
0x00002264 nop |
0x00002268 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x0000226c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002270 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00002274 addiu v0, v0, 0x31f4 | v0 += str.Failed_to_create_json_object_for_capture_mode_of_channel;
0x00002278 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x0000227c addiu t0, v0, 0x30 | t0 = v0 + 0x30;
| do {
0x00002280 lw a3, (v0) | a3 = *(v0);
0x00002284 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00002288 lw a1, 8(v0) | a1 = *((v0 + 2));
0x0000228c lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00002290 addiu v0, v0, 0x10 | v0 += 0x10;
0x00002294 sw a3, (v1) | *(v1) = a3;
0x00002298 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x0000229c sw a1, 8(v1) | *((v1 + 2)) = a1;
0x000022a0 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x000022a4 addiu v1, v1, 0x10 | v1 += 0x10;
0x000022a8 bne v0, t0, 0x2280 |
| } while (v0 != t0);
0x000022ac lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x000022b0 lw a2, (v0) | a2 = *(v0);
0x000022b4 lw a1, 4(v0) | a1 = *((v0 + 1));
0x000022b8 lbu v0, 8(v0) | v0 = *((v0 + 8));
0x000022bc sw a2, (v1) | *(v1) = a2;
0x000022c0 sw a1, 4(v1) | *((v1 + 1)) = a1;
0x000022c4 sb v0, 8(v1) | *((v1 + 8)) = v0;
0x000022c8 addiu s4, zero, 1 | s4 = 1;
| if (a0 == 0) {
0x000022cc beqz a0, 0x1b18 | goto label_5;
| }
0x000022d0 lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
0x000022d4 b 0x1b0c | goto label_9;
| label_47:
0x000022d8 move a0, s2 | a0 = s2;
0x000022dc jalr t9 | t9 ();
0x000022e0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000022e4 b 0x1ec4 | goto label_10;
| label_30:
0x000022e8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000022ec lw v0, 0x2c(sp) | v0 = *(var_2ch_2);
0x000022f0 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x000022f4 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x000022f8 addiu a2, a2, 0x30c0 | a2 += str._sget_channel_objects_failed:_ret__d_;
0x000022fc addiu a1, zero, 0x100 | a1 = 0x100;
0x00002300 move a0, zero | a0 = 0;
0x00002304 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002308 jalr t9 | t9 ();
0x0000230c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002310 lw a0, 0x64(sp) | a0 = *(var_64h);
0x00002314 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
0x00002318 move s3, zero | s3 = 0;
0x0000231c jalr t9 | t9 ();
0x00002320 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002324 b 0x1e90 | goto label_7;
| label_41:
0x00002328 addiu s3, zero, 1 | s3 = 1;
| label_29:
0x0000232c lw v0, 8(v1) | v0 = *((v1 + 2));
0x00002330 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00002334 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002338 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000233c lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x00002340 addiu v0, v0, 0x3068 | v0 += str.Failed_to_create_dbus_connection__s_;
0x00002344 addiu a3, zero, 0xc8 | a3 = 0xc8;
0x00002348 addiu a2, zero, 1 | a2 = 1;
0x0000234c addiu a1, zero, 0xc8 | a1 = 0xc8;
0x00002350 addiu a0, a0, 0x4140 | a0 += 0x4140;
0x00002354 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002358 jalr t9 | t9 ();
0x0000235c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002360 addiu v0, zero, 5 | v0 = 5;
0x00002364 lw a0, 0x74(sp) | a0 = *(var_74h);
0x00002368 lw t9, -0x7fa8(gp) | t9 = sym.imp.g_error_free;
0x0000236c sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00002370 jalr t9 | t9 ();
0x00002374 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002378 b 0x1e90 | goto label_7;
| label_44:
0x0000237c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002380 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002384 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00002388 lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x0000238c sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x00002390 addiu v0, v0, 0x30e8 | v0 += str.Failed_to_set_capture_mode:_unavailable_channel_id__d__not_in___d__d_;
0x00002394 addiu v1, zero, -1 | v1 = -1;
0x00002398 addiu a3, zero, 0xc8 | a3 = 0xc8;
0x0000239c addiu a2, zero, 1 | a2 = 1;
0x000023a0 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x000023a4 addiu a0, a0, 0x4140 | a0 += 0x4140;
0x000023a8 sw v1, 0x18(sp) | *(var_18h) = v1;
0x000023ac sw v0, 0x10(sp) | *(var_10h) = v0;
0x000023b0 jalr t9 | t9 ();
0x000023b4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000023b8 addiu v0, zero, 4 | v0 = 4;
0x000023bc lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x000023c0 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
0x000023c4 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x000023c8 jalr t9 | t9 ();
0x000023cc lw gp, 0x20(sp) | gp = *(var_20h);
0x000023d0 b 0x1e8c | goto label_11;
| label_38:
0x000023d4 addiu a0, zero, 0xfa0 | a0 = 0xfa0;
0x000023d8 move a1, zero | a1 = 0;
| label_17:
0x000023dc lw t9, -0x7f1c(gp) | t9 = sym.imp.json_integer;
0x000023e0 jalr t9 | t9 ();
0x000023e4 nop |
0x000023e8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000023ec move a2, v0 | a2 = v0;
0x000023f0 move a0, s2 | a0 = s2;
0x000023f4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000023f8 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x000023fc addiu a1, a1, 0x33c4 | a1 += str.code;
0x00002400 jalr t9 | t9 ();
0x00002404 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002408 lw t9, -0x7f58(gp) | t9 = sym.imp.json_string;
0x0000240c addiu a0, s3, 0x4140 | a0 = s3 + 0x4140;
0x00002410 jalr t9 | t9 ();
0x00002414 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002418 move a2, v0 | a2 = v0;
0x0000241c move a0, s2 | a0 = s2;
0x00002420 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002424 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x00002428 addiu a1, a1, 0x33cc | a1 += str.message;
0x0000242c jalr t9 | t9 ();
0x00002430 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002434 move a2, s2 | a2 = s2;
0x00002438 move a0, s0 | a0 = s0;
0x0000243c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002440 lw t9, -0x7f54(gp) | t9 = sym.imp.json_object_set_new;
0x00002444 addiu a1, a1, 0x33d4 | a1 += str.error;
0x00002448 jalr t9 | t9 ();
0x0000244c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002450 move a0, s0 | a0 = s0;
0x00002454 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002458 lw t9, -0x7f7c(gp) | t9 = sym.imp.json_object_del;
0x0000245c addiu a1, a1, 0x33dc | a1 += str.data;
0x00002460 jalr t9 | t9 ();
0x00002464 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002468 b 0x1c88 | goto label_3;
| label_42:
0x0000246c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002470 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00002474 addiu v0, v0, 0x3090 | v0 += str.Failed_to_parse_channel_captureModeId_fields;
0x00002478 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x0000247c addiu t0, v0, 0x20 | t0 = v0 + 0x20;
| do {
0x00002480 lw a3, (v0) | a3 = *(v0);
0x00002484 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00002488 lw a1, 8(v0) | a1 = *((v0 + 2));
0x0000248c lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00002490 addiu v0, v0, 0x10 | v0 += 0x10;
0x00002494 sw a3, (v1) | *(v1) = a3;
0x00002498 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x0000249c sw a1, 8(v1) | *((v1 + 2)) = a1;
0x000024a0 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x000024a4 addiu v1, v1, 0x10 | v1 += 0x10;
0x000024a8 bne v0, t0, 0x2480 |
| } while (v0 != t0);
0x000024ac lw a2, (v0) | a2 = *(v0);
0x000024b0 lw a1, 4(v0) | a1 = *((v0 + 1));
0x000024b4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000024b8 lbu v0, 0xc(v0) | v0 = *((v0 + 12));
0x000024bc sw a2, (v1) | *(v1) = a2;
0x000024c0 sb v0, 0xc(v1) | *((v1 + 12)) = v0;
0x000024c4 addiu v0, zero, 3 | v0 = 3;
0x000024c8 sw a1, 4(v1) | *((v1 + 1)) = a1;
0x000024cc sw a0, 8(v1) | *((v1 + 2)) = a0;
0x000024d0 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x000024d4 b 0x1e8c | goto label_11;
| label_26:
0x000024d8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000024dc lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x000024e0 addiu v0, v0, 0x2f9c | v0 += str.Failed_to_parse_method_field._Field_does_not_exist_or_has_invalid_______value;
0x000024e4 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x000024e8 addiu t0, v0, 0x40 | t0 = v0 + 0x40;
| do {
0x000024ec lw a3, (v0) | a3 = *(v0);
0x000024f0 lw a2, 4(v0) | a2 = *((v0 + 1));
0x000024f4 lw a1, 8(v0) | a1 = *((v0 + 2));
0x000024f8 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x000024fc addiu v0, v0, 0x10 | v0 += 0x10;
0x00002500 sw a3, (v1) | *(v1) = a3;
0x00002504 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x00002508 sw a1, 8(v1) | *((v1 + 2)) = a1;
0x0000250c sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00002510 addiu v1, v1, 0x10 | v1 += 0x10;
0x00002514 bne v0, t0, 0x24ec |
| } while (v0 != t0);
0x00002518 lw a2, (v0) | a2 = *(v0);
0x0000251c lw a1, 4(v0) | a1 = *((v0 + 1));
0x00002520 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00002524 lhu v0, 0xc(v0) | v0 = *((v0 + 6));
0x00002528 sw a2, (v1) | *(v1) = a2;
0x0000252c sh v0, 0xc(v1) | *((v1 + 6)) = v0;
0x00002530 addiu v0, zero, 3 | v0 = 3;
0x00002534 sw a1, 4(v1) | *((v1 + 1)) = a1;
0x00002538 sw a0, 8(v1) | *((v1 + 2)) = a0;
0x0000253c sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00002540 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00002544 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00002548 b 0x1e90 | goto label_7;
| label_35:
0x0000254c sync | __asm ("sync");
| do {
0x00002550 ll v0, 4(s5) | __asm ("ll v0, 4(s5)");
0x00002554 addiu at, v0, -1 | at = v0 + -1;
0x00002558 sc at, 4(s5) | __asm ("sc at, 4(s5)");
0x0000255c addiu v0, v0, -1 | v0 += -1;
0x00002560 beqz at, 0x2550 |
| } while (at == 0);
0x00002564 sync | __asm ("sync");
0x00002568 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| if (v0 != 0) {
0x0000256c bnez v0, 0x1b2c | goto label_12;
| }
0x00002570 lw t9, -0x7f2c(gp) | t9 = sym.imp.json_delete;
0x00002574 move a0, s5 | a0 = s5;
0x00002578 jalr t9 | t9 ();
0x0000257c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002580 b 0x1b28 | goto label_13;
| label_53:
0x00002584 jalr t9 | t9 ();
0x00002588 nop |
0x0000258c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002590 b 0x20b8 | goto label_14;
| label_43:
0x00002594 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002598 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x0000259c addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x000025a0 addiu a2, a2, 0x30c0 | a2 += str._sget_channel_objects_failed:_ret__d_;
0x000025a4 addiu a1, zero, 0x100 | a1 = 0x100;
0x000025a8 move a0, zero | a0 = 0;
| label_16:
0x000025ac sw v0, 0x10(sp) | *(var_10h) = v0;
0x000025b0 jalr t9 | t9 ();
0x000025b4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000025b8 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
0x000025bc lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x000025c0 jalr t9 | t9 ();
0x000025c4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000025c8 b 0x1e8c | goto label_11;
| label_33:
0x000025cc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000025d0 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x000025d4 addiu v0, v0, 0x31bc | v0 += str.Failed_to_create_json_array_for_channel;
0x000025d8 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x000025dc addiu t0, v0, 0x20 | t0 = v0 + 0x20;
| do {
0x000025e0 lw a3, (v0) | a3 = *(v0);
0x000025e4 lw a2, 4(v0) | a2 = *((v0 + 1));
0x000025e8 lw a1, 8(v0) | a1 = *((v0 + 2));
0x000025ec lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x000025f0 addiu v0, v0, 0x10 | v0 += 0x10;
0x000025f4 sw a3, (v1) | *(v1) = a3;
0x000025f8 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x000025fc sw a1, 8(v1) | *((v1 + 2)) = a1;
0x00002600 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00002604 addiu v1, v1, 0x10 | v1 += 0x10;
0x00002608 bne v0, t0, 0x25e0 |
| } while (v0 != t0);
0x0000260c lw a0, (v0) | a0 = *(v0);
0x00002610 lw v0, 4(v0) | v0 = *((v0 + 1));
0x00002614 sw a0, (v1) | *(v1) = a0;
0x00002618 sw v0, 4(v1) | *((v1 + 1)) = v0;
0x0000261c addiu v0, zero, 1 | v0 = 1;
0x00002620 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00002624 b 0x1b54 | goto label_15;
| label_56:
0x00002628 lw v1, 4(s5) | v1 = *((s5 + 1));
0x0000262c addiu v0, zero, -1 | v0 = -1;
0x00002630 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (v1 == v0) {
0x00002634 beq v1, v0, 0x2660 | goto label_57;
| }
0x00002638 sync | __asm ("sync");
| do {
0x0000263c ll v0, 4(s5) | __asm ("ll v0, 4(s5)");
0x00002640 addiu at, v0, -1 | at = v0 + -1;
0x00002644 sc at, 4(s5) | __asm ("sc at, 4(s5)");
0x00002648 addiu v0, v0, -1 | v0 += -1;
0x0000264c beqz at, 0x263c |
| } while (at == 0);
0x00002650 sync | __asm ("sync");
0x00002654 lw t9, -0x7f2c(gp) | t9 = sym.imp.json_delete;
| if (v0 == 0) {
0x00002658 beqz v0, 0x2948 | goto label_58;
| }
| label_21:
0x0000265c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| label_57:
0x00002660 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00002664 addiu v0, v0, 0x32d0 | v0 += str.Failed_to_create_json_object_for_data_of_channel;
0x00002668 addiu v1, v1, 0x4140 | v1 += 0x4140;
0x0000266c addiu t0, v0, 0x30 | t0 = v0 + 0x30;
| do {
0x00002670 lw a3, (v0) | a3 = *(v0);
0x00002674 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00002678 lw a1, 8(v0) | a1 = *((v0 + 2));
0x0000267c lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00002680 addiu v0, v0, 0x10 | v0 += 0x10;
0x00002684 sw a3, (v1) | *(v1) = a3;
0x00002688 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x0000268c sw a1, 8(v1) | *((v1 + 2)) = a1;
0x00002690 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00002694 addiu v1, v1, 0x10 | v1 += 0x10;
0x00002698 bne v0, t0, 0x2670 |
| } while (v0 != t0);
0x0000269c lbu v0, (v0) | v0 = *(v0);
0x000026a0 addiu a0, zero, 1 | a0 = 1;
0x000026a4 sw a0, 0x2c(sp) | *(var_2ch_2) = a0;
0x000026a8 sb v0, (v1) | *(v1) = v0;
0x000026ac b 0x1b54 | goto label_15;
| label_45:
0x000026b0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000026b4 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x000026b8 move a0, zero | a0 = 0;
0x000026bc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000026c0 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x000026c4 addiu a2, a2, 0x2e64 | a2 += str._scall_dbus_method_failed:_ret__d_;
0x000026c8 addiu a1, zero, 0x100 | a1 = 0x100;
0x000026cc jalr t9 | t9 ();
0x000026d0 lw a0, 0x74(sp) | a0 = *(var_74h);
0x000026d4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x000026d8 beqz a0, 0x26ec |
0x000026dc lw t9, -0x7f18(gp) | t9 = sym.imp.g_variant_unref;
0x000026e0 jalr t9 | t9 ();
0x000026e4 nop |
0x000026e8 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x000026ec lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000026f0 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x000026f4 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x000026f8 addiu a2, a2, 0x3164 | a2 += str._sset_cm_for_single_channel_failed:_ret__d_;
0x000026fc addiu a1, zero, 0x100 | a1 = 0x100;
0x00002700 move a0, zero | a0 = 0;
0x00002704 lw v0, 0x2c(sp) | v0 = *(var_2ch_2);
0x00002708 b 0x25ac | goto label_16;
| label_48:
0x0000270c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002710 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00002714 addiu s1, s3, 0x4140 | s1 = s3 + 0x4140;
0x00002718 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x0000271c addiu a2, a2, 0x3338 | a2 += str._scgi_failed:_ret__d__msg__s_;
0x00002720 addiu a1, zero, 0x100 | a1 = 0x100;
0x00002724 move a0, zero | a0 = 0;
0x00002728 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000272c sw s1, 0x14(sp) | *(var_14h) = s1;
0x00002730 jalr t9 | t9 ();
0x00002734 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002738 lw t9, -0x7f28(gp) | t9 = sym.imp.json_object;
0x0000273c jalr t9 | t9 ();
0x00002740 nop |
0x00002744 move s2, v0 | s2 = v0;
0x00002748 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0000274c beqz v0, 0x1c68 | goto label_2;
| }
0x00002750 lw v1, 0x2c(sp) | v1 = *(var_2ch_2);
0x00002754 sltiu v0, v1, 9 | v0 = (v1 < 9) ? 1 : 0;
0x00002758 lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
| if (v0 != 0) {
0x0000275c beqz v0, 0x2834 |
0x00002760 sll v0, v1, 2 | v0 = v1 << 2;
0x00002764 addiu fp, fp, 0x3420 | fp += 0x3420;
0x00002768 lwx fp, v0(fp) | __asm ("lwx fp, v0(fp)");
0x0000276c addu fp, fp, gp | fp += gp;
0x00002770 jr fp | fp ();
0x00002774 nop |
| }
0x00002834 move a0, zero | a0 = 0;
0x00002838 move a1, zero | a1 = 0;
0x0000283c b 0x23dc | goto label_17;
| label_31:
0x00002840 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_strfreev;
0x00002844 lw a0, 0x64(sp) | a0 = *(var_64h);
0x00002848 jalr t9 | t9 ();
0x0000284c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002850 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002854 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00002858 addiu v0, v0, 0x3190 | v0 += str.Failed_to_create_json_array_for_channels;
0x0000285c addiu v1, v1, 0x4140 | v1 += 0x4140;
0x00002860 addiu t0, v0, 0x20 | t0 = v0 + 0x20;
| do {
0x00002864 lw a3, (v0) | a3 = *(v0);
0x00002868 lw a2, 4(v0) | a2 = *((v0 + 1));
0x0000286c lw a1, 8(v0) | a1 = *((v0 + 2));
0x00002870 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00002874 addiu v0, v0, 0x10 | v0 += 0x10;
0x00002878 sw a3, (v1) | *(v1) = a3;
0x0000287c sw a2, 4(v1) | *((v1 + 1)) = a2;
0x00002880 sw a1, 8(v1) | *((v1 + 2)) = a1;
0x00002884 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00002888 addiu v1, v1, 0x10 | v1 += 0x10;
0x0000288c bne v0, t0, 0x2864 |
| } while (v0 != t0);
0x00002890 lw a1, (v0) | a1 = *(v0);
0x00002894 lw a0, 4(v0) | a0 = *((v0 + 1));
0x00002898 lbu v0, 8(v0) | v0 = *((v0 + 8));
0x0000289c sw a1, (v1) | *(v1) = a1;
0x000028a0 sb v0, 8(v1) | *((v1 + 8)) = v0;
0x000028a4 addiu v0, zero, 1 | v0 = 1;
0x000028a8 sw a0, 4(v1) | *((v1 + 1)) = a0;
0x000028ac move s3, zero | s3 = 0;
0x000028b0 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x000028b4 b 0x1e90 | goto label_7;
| label_28:
0x000028b8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000028bc lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x000028c0 lw t9, -0x7ef4(gp) | t9 = sym.imp.__snprintf_chk
0x000028c4 addiu v0, v0, 0x300c | v0 += str.Method_field_has_invalid_value___s_._Valid_values:_setCaptureMode________getCaptureModes;
0x000028c8 sw s4, 0x14(sp) | *(var_14h) = s4;
0x000028cc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000028d0 addiu a3, zero, 0xc8 | a3 = 0xc8;
0x000028d4 addiu a2, zero, 1 | a2 = 1;
0x000028d8 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x000028dc addiu a0, a0, 0x4140 | a0 += 0x4140;
0x000028e0 jalr t9 | t9 ();
0x000028e4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000028e8 addiu v0, zero, 4 | v0 = 4;
0x000028ec sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x000028f0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000028f4 move s3, zero | s3 = 0;
0x000028f8 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x000028fc b 0x1e90 | goto label_7;
| label_55:
0x00002900 jalr t9 | t9 ();
0x00002904 nop |
0x00002908 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000290c b 0x2188 | goto label_18;
| label_22:
0x00002910 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002914 lw t9, -0x7f70(gp) | t9 = sym.imp.g_log;
0x00002918 addiu a3, s6, 0x3410 | a3 = s6 + 0x3410;
0x0000291c addiu a2, a2, 0x2f04 | a2 += str._sjson_object_failed;
0x00002920 addiu a1, zero, 0x100 | a1 = 0x100;
0x00002924 move a0, zero | a0 = 0;
0x00002928 jalr t9 | t9 ();
0x0000292c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002930 addiu v0, zero, -1 | v0 = -1;
0x00002934 b 0x1d08 | goto label_19;
| label_37:
0x00002938 lw a0, 0x48(sp) | a0 = *(var_48h);
0x0000293c jalr t9 | t9 ();
0x00002940 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002944 b 0x1bb4 | goto label_20;
| label_58:
0x00002948 move a0, s5 | a0 = s5;
0x0000294c jalr t9 | t9 ();
0x00002950 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002954 b 0x265c | goto label_21;
| label_40:
0x00002958 lw t9, -0x7f30(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000295c jalr t9 | t9 ();
0x00002960 nop |
0x00002964 nop |
0x00002968 nop |
0x0000296c nop |
| }
[*] Function printf used 9 times capturemode.cgi