[*] Binary protection state of vdo-input-ctrl
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of vdo-input-ctrl
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/vdo-input-ctrl @ 0x1a80 */
| #include <stdint.h>
|
; (fcn) fcn.00001a80 () | void fcn_00001a80 () {
| label_1:
0x00001a80 lui gp, 2 |
0x00001a84 addiu gp, gp, -0x6a70 |
0x00001a88 addu gp, gp, t9 | gp += t9;
0x00001a8c lw v0, -0x7f4c(gp) | v0 = *((gp - 8147));
0x00001a90 addiu sp, sp, -0x20 |
0x00001a94 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001a98 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001a9c lw t9, -0x7f38(gp) | t9 = sym.imp.g_fprintf
0x00001aa0 lw a3, 8(a0) | a3 = *((a0 + 2));
0x00001aa4 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001aa8 move s0, a0 | s0 = a0;
0x00001aac lw a0, (v0) | a0 = *(v0);
0x00001ab0 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001ab4 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001ab8 addiu a2, a2, 0x2838 | a2 += str.vdo_input_ctrl;
0x00001abc addiu a1, a1, 0x2848 | a1 += str._s:__s_n;
0x00001ac0 jalr t9 | t9 ();
0x00001ac4 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001ac8 lw t9, -0x7f9c(gp) | t9 = sym.imp.g_error_free;
0x00001acc move a0, s0 | a0 = s0;
0x00001ad0 jalr t9 | t9 ();
0x00001ad4 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001ad8 lw t9, -0x7fac(gp) | t9 = sym.imp.exit;
0x00001adc addiu a0, zero, 1 | a0 = 1;
0x00001ae0 jalr t9 | t9 ();
0x00001ae4 lui gp, 2 |
0x00001ae8 addiu gp, gp, -0x6ad4 |
0x00001aec addu gp, gp, t9 | gp += t9;
0x00001af0 addiu sp, sp, -0x40 |
0x00001af4 lw t9, -0x7f70(gp) | t9 = sym.imp.vdo_input_new;
0x00001af8 sw s0, 0x20(sp) | *(var_20h) = s0;
0x00001afc move s0, a3 | s0 = a3;
0x00001b00 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x00001b04 sw s5, 0x34(sp) | *(var_34h) = s5;
0x00001b08 sw s3, 0x2c(sp) | *(var_2ch) = s3;
0x00001b0c sw s2, 0x28(sp) | *(var_28h) = s2;
0x00001b10 sw ra, 0x3c(sp) | *(var_3ch) = ra;
0x00001b14 sw s6, 0x38(sp) | *(var_38h) = s6;
0x00001b18 sw s4, 0x30(sp) | *(var_30h) = s4;
0x00001b1c sw s1, 0x24(sp) | *(var_24h) = s1;
0x00001b20 move s3, a0 | s3 = a0;
0x00001b24 move s2, a1 | s2 = a1;
0x00001b28 move a0, zero | a0 = 0;
0x00001b2c move a1, a3 | a1 = a3;
0x00001b30 move s5, a2 | s5 = a2;
0x00001b34 jalr t9 | t9 ();
0x00001b38 lw a0, (s0) | a0 = *(s0);
0x00001b3c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (a0 != 0) {
0x00001b40 bnez a0, 0x1e90 | goto label_2;
| }
0x00001b44 lw t9, -0x7f58(gp) | t9 = sym.imp.vdo_input_get_info;
0x00001b48 move a0, v0 | a0 = v0;
0x00001b4c move a1, s0 | a1 = s0;
0x00001b50 move s1, v0 | s1 = v0;
0x00001b54 jalr t9 | t9 ();
0x00001b58 lw a0, (s0) | a0 = *(s0);
0x00001b5c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001b60 move s4, v0 | s4 = v0;
| if (a0 != 0) {
0x00001b64 bnez a0, 0x1e90 | goto label_2;
| }
0x00001b68 lw t9, -0x7fa4(gp) | t9 = sym.imp.vdo_map_get_type;
0x00001b6c jalr t9 | t9 ();
0x00001b70 nop |
0x00001b74 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001b78 move a0, s5 | a0 = s5;
0x00001b7c lw t9, -0x7f7c(gp) | t9 = sym.imp.g_type_check_instance_cast;
0x00001b80 move a1, v0 | a1 = v0;
0x00001b84 jalr t9 | t9 ();
0x00001b88 move s5, v0 | s5 = v0;
0x00001b8c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (s2 == 0) {
0x00001b90 beqz s2, 0x1cc8 | goto label_3;
| }
0x00001b94 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001b98 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001b9c addiu a1, a1, 0x286c | a1 += 0x286c;
0x00001ba0 move a0, s3 | a0 = s3;
0x00001ba4 jalr t9 | t9 ();
0x00001ba8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001bac bnez v0, 0x1c38 |
| while (v0 == 0) {
0x00001bb0 lw t9, -0x7f08(gp) | t9 = sym.imp.strtod;
0x00001bb4 move a1, zero | a1 = 0;
0x00001bb8 move a0, s2 | a0 = s2;
0x00001bbc jalr t9 | t9 ();
0x00001bc0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001bc4 move a0, s5 | a0 = s5;
0x00001bc8 move a2, v0 | a2 = v0;
0x00001bcc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001bd0 lw t9, -0x7f88(gp) | t9 = sym.imp.vdo_map_set_double;
0x00001bd4 move a3, v1 | a3 = v1;
0x00001bd8 addiu a1, a1, 0x2bfc | a1 += 0x2bfc;
0x00001bdc jalr t9 | t9 ();
0x00001be0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001be4 addiu s5, zero, 1 | s5 = 1;
| label_0:
0x00001be8 lw t9, -0x7efc(gp) | t9 = sym.imp.g_object_unref;
| if (s4 != 0) {
0x00001bec beqz s4, 0x1bfc |
0x00001bf0 move a0, s4 | a0 = s4;
0x00001bf4 jalr t9 | t9 ();
0x00001bf8 lw gp, 0x18(sp) | gp = *(var_18h_2);
| }
0x00001bfc lw t9, -0x7efc(gp) | t9 = sym.imp.g_object_unref;
| if (s1 != 0) {
0x00001c00 beqz s1, 0x1c0c |
0x00001c04 move a0, s1 | a0 = s1;
0x00001c08 jalr t9 | t9 ();
| }
0x00001c0c lw ra, 0x3c(sp) | ra = *(var_3ch);
0x00001c10 move v0, s5 | v0 = s5;
0x00001c14 lw s6, 0x38(sp) | s6 = *(var_38h);
0x00001c18 lw s5, 0x34(sp) | s5 = *(var_34h);
0x00001c1c lw s4, 0x30(sp) | s4 = *(var_30h);
0x00001c20 lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x00001c24 lw s2, 0x28(sp) | s2 = *(var_28h);
0x00001c28 lw s1, 0x24(sp) | s1 = *(var_24h);
0x00001c2c lw s0, 0x20(sp) | s0 = *(var_20h);
0x00001c30 addiu sp, sp, 0x40 |
0x00001c34 jr ra | return v0;
0x00001c38 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001c3c lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001c40 addiu a1, a1, 0x2870 | a1 += str.__framerate;
0x00001c44 move a0, s3 | a0 = s3;
0x00001c48 jalr t9 | t9 ();
0x00001c4c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001c50 beqz v0, 0x1bb0 |
| }
0x00001c54 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001c58 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001c5c addiu a1, a1, 0x287c | a1 += 0x287c;
0x00001c60 move a0, s3 | a0 = s3;
0x00001c64 jalr t9 | t9 ();
0x00001c68 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001c6c beqz v0, 0x1c8c |
0x00001c70 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001c74 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001c78 addiu a1, a1, 0x2894 | a1 += str.__default_framerate;
0x00001c7c move a0, s3 | a0 = s3;
0x00001c80 jalr t9 | t9 ();
0x00001c84 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001c88 bnez v0, 0x1d00 | goto label_4;
| }
| }
0x00001c8c lw t9, -0x7f08(gp) | t9 = sym.imp.strtod;
0x00001c90 move a1, zero | a1 = 0;
0x00001c94 move a0, s2 | a0 = s2;
0x00001c98 jalr t9 | t9 ();
0x00001c9c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001ca0 move a0, s5 | a0 = s5;
0x00001ca4 move a2, v0 | a2 = v0;
0x00001ca8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001cac lw t9, -0x7f88(gp) | t9 = sym.imp.vdo_map_set_double;
0x00001cb0 move a3, v1 | a3 = v1;
0x00001cb4 addiu a1, a1, 0x2880 | a1 += str.framerate.default;
0x00001cb8 jalr t9 | t9 ();
0x00001cbc addiu s5, zero, 1 | s5 = 1;
0x00001cc0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001cc4 b 0x1be8 | goto label_0;
| label_3:
0x00001cc8 lw t9, -0x7f3c(gp) | t9 = sym.imp.vdo_error_quark;
0x00001ccc move s5, zero | s5 = 0;
0x00001cd0 jalr t9 | t9 ();
0x00001cd4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001cd8 sw s3, 0x10(sp) | *(var_10h_2) = s3;
0x00001cdc lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001ce0 lw t9, -0x7f68(gp) | t9 = sym.imp.g_set_error;
0x00001ce4 addiu a3, a3, 0x2850 | a3 += str.failed_to_parse_option__s;
| do {
0x00001ce8 addiu a2, zero, 3 | a2 = 3;
0x00001cec move a1, v0 | a1 = v0;
0x00001cf0 move a0, s0 | a0 = s0;
0x00001cf4 jalr t9 | t9 ();
0x00001cf8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001cfc b 0x1be8 | goto label_0;
| label_4:
0x00001d00 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001d04 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001d08 addiu a1, a1, 0x28a8 | a1 += 0x28a8;
0x00001d0c move a0, s3 | a0 = s3;
0x00001d10 jalr t9 | t9 ();
0x00001d14 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001d18 beqz v0, 0x1d38 |
0x00001d1c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001d20 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001d24 addiu a1, a1, 0x28ac | a1 += str.__wdr_mode;
0x00001d28 move a0, s3 | a0 = s3;
0x00001d2c jalr t9 | t9 ();
0x00001d30 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001d34 bnez v0, 0x1dac | goto label_5;
| }
| }
0x00001d38 lw t9, -0x7f50(gp) | t9 = sym.imp.vdo_wdr_mode_get_type;
0x00001d3c jalr t9 | t9 ();
0x00001d40 nop |
0x00001d44 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001d48 lw t9, -0x7f98(gp) | t9 = sym.imp.g_type_class_ref;
0x00001d4c move a0, v0 | a0 = v0;
0x00001d50 jalr t9 | t9 ();
0x00001d54 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001d58 move a1, s2 | a1 = s2;
0x00001d5c move a0, v0 | a0 = v0;
0x00001d60 lw t9, -0x7f84(gp) | t9 = sym.imp.g_enum_get_value_by_nick;
0x00001d64 move s3, v0 | s3 = v0;
0x00001d68 jalr t9 | t9 ();
0x00001d6c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001d70 move s6, v0 | s6 = v0;
0x00001d74 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_type_class_unref;
0x00001d78 move a0, s3 | a0 = s3;
0x00001d7c jalr t9 | t9 ();
0x00001d80 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (s6 != 0) {
0x00001d84 beqz s6, 0x1e50 |
0x00001d88 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001d8c lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x00001d90 lw a2, (s6) | a2 = *(s6);
0x00001d94 move a0, s5 | a0 = s5;
0x00001d98 addiu a1, a1, 0x28cc | a1 += 0x28cc;
0x00001d9c jalr t9 | t9 ();
0x00001da0 addiu s5, zero, 1 | s5 = 1;
0x00001da4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001da8 b 0x1be8 | goto label_0;
| label_5:
0x00001dac lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001db0 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001db4 addiu a1, a1, 0x28d8 | a1 += 0x28d8;
0x00001db8 move a0, s3 | a0 = s3;
0x00001dbc jalr t9 | t9 ();
0x00001dc0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001dc4 beqz v0, 0x1de4 |
0x00001dc8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001dcc lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001dd0 addiu a1, a1, 0x28f0 | a1 += str.__eis_enable;
0x00001dd4 move a0, s3 | a0 = s3;
0x00001dd8 jalr t9 | t9 ();
0x00001ddc lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001de0 bnez v0, 0x1ea0 | goto label_6;
| }
| }
0x00001de4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001de8 lw t9, -0x7f5c(gp) | t9 = sym.imp.vdo_map_get_boolean;
0x00001dec move a2, zero | a2 = 0;
0x00001df0 addiu a1, a1, 0x28dc | a1 += str.eis.possible.input1;
0x00001df4 move a0, s4 | a0 = s4;
0x00001df8 jalr t9 | t9 ();
0x00001dfc lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00001e00 beqz v0, 0x1e74 | goto label_7;
| }
0x00001e04 lw t9, -0x7f08(gp) | t9 = sym.imp.strtod;
0x00001e08 move a1, zero | a1 = 0;
0x00001e0c move a0, s2 | a0 = s2;
0x00001e10 jalr t9 | t9 ();
0x00001e14 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001e18 move a1, v1 | a1 = v1;
0x00001e1c lw t9, -0x7fd8(gp) | t9 = *(gp);
0x00001e20 move a0, v0 | a0 = v0;
0x00001e24 bal 0x23e0 | fcn_000023e0 ();
0x00001e28 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001e2c move a0, s5 | a0 = s5;
0x00001e30 move a2, v0 | a2 = v0;
0x00001e34 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001e38 lw t9, -0x7f34(gp) | t9 = sym.imp.vdo_map_set_boolean;
0x00001e3c addiu a1, a1, 0x2900 | a1 += str.eis_enable_input1;
0x00001e40 jalr t9 | t9 ();
0x00001e44 addiu s5, zero, 1 | s5 = 1;
0x00001e48 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001e4c b 0x1be8 | goto label_0;
| }
0x00001e50 lw t9, -0x7f3c(gp) | t9 = sym.imp.vdo_error_quark;
0x00001e54 move s5, zero | s5 = 0;
0x00001e58 jalr t9 | t9 ();
0x00001e5c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001e60 sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x00001e64 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001e68 lw t9, -0x7f68(gp) | t9 = sym.imp.g_set_error;
0x00001e6c addiu a3, a3, 0x28b8 | a3 += str.invalid_WDR_mode__s;
0x00001e70 b 0x1ce8 |
| } while (1);
| label_7:
0x00001e74 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001e78 lw t9, -0x7ef0(gp) | t9 = sym.imp.g_print;
0x00001e7c addiu a0, a0, 0x2914 | a0 += str.EIS_is_not_possible_for_VIN_1_n;
0x00001e80 jalr t9 | t9 ();
0x00001e84 addiu s5, zero, 1 | s5 = 1;
0x00001e88 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001e8c b 0x1be8 | goto label_0;
| label_2:
0x00001e90 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00001e94 addiu t9, t9, 0x1a80 | t9 += fcn.00001a80;
0x00001e98 bal 0x1a80 | fcn_00001a80 ();
| goto label_1;
0x00001e9c nop |
| label_6:
0x00001ea0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001ea4 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001ea8 addiu a1, a1, 0x2934 | a1 += 0x2934;
0x00001eac move a0, s3 | a0 = s3;
0x00001eb0 jalr t9 | t9 ();
0x00001eb4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001eb8 beqz v0, 0x1ed8 |
0x00001ebc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001ec0 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001ec4 addiu a1, a1, 0x2948 | a1 += str.__sensor_rotation;
0x00001ec8 move a0, s3 | a0 = s3;
0x00001ecc jalr t9 | t9 ();
0x00001ed0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001ed4 bnez v0, 0x1f14 | goto label_8;
| }
| }
0x00001ed8 lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x00001edc addiu a2, zero, 0xa | a2 = 0xa;
0x00001ee0 move a1, zero | a1 = 0;
0x00001ee4 move a0, s2 | a0 = s2;
0x00001ee8 jalr t9 | t9 ();
0x00001eec lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001ef0 move a0, s5 | a0 = s5;
0x00001ef4 move a2, v0 | a2 = v0;
0x00001ef8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001efc lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x00001f00 addiu a1, a1, 0x2938 | a1 += 0x2938;
0x00001f04 jalr t9 | t9 ();
0x00001f08 addiu s5, zero, 1 | s5 = 1;
0x00001f0c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001f10 b 0x1be8 | goto label_0;
| label_8:
0x00001f14 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001f18 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001f1c addiu a1, a1, 0x295c | a1 += 0x295c;
0x00001f20 move a0, s3 | a0 = s3;
0x00001f24 jalr t9 | t9 ();
0x00001f28 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001f2c beqz v0, 0x1f4c |
0x00001f30 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001f34 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001f38 addiu a1, a1, 0x2970 | a1 += str.__input_rotation;
0x00001f3c move a0, s3 | a0 = s3;
0x00001f40 jalr t9 | t9 ();
0x00001f44 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001f48 bnez v0, 0x1f88 | goto label_9;
| }
| }
0x00001f4c lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x00001f50 addiu a2, zero, 0xa | a2 = 0xa;
0x00001f54 move a1, zero | a1 = 0;
0x00001f58 move a0, s2 | a0 = s2;
0x00001f5c jalr t9 | t9 ();
0x00001f60 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001f64 move a0, s5 | a0 = s5;
0x00001f68 move a2, v0 | a2 = v0;
0x00001f6c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001f70 lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x00001f74 addiu a1, a1, 0x2960 | a1 += str.rotation_input0;
0x00001f78 jalr t9 | t9 ();
0x00001f7c addiu s5, zero, 1 | s5 = 1;
0x00001f80 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001f84 b 0x1be8 | goto label_0;
| label_9:
0x00001f88 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001f8c lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001f90 addiu a1, a1, 0x2984 | a1 += str.__current_vin;
0x00001f94 move a0, s3 | a0 = s3;
0x00001f98 jalr t9 | t9 ();
0x00001f9c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00001fa0 bnez v0, 0x1fe0 |
0x00001fa4 lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x00001fa8 addiu a2, zero, 0xa | a2 = 0xa;
0x00001fac move a1, zero | a1 = 0;
0x00001fb0 move a0, s2 | a0 = s2;
0x00001fb4 jalr t9 | t9 ();
0x00001fb8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001fbc move a0, s5 | a0 = s5;
0x00001fc0 move a2, v0 | a2 = v0;
0x00001fc4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001fc8 lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x00001fcc addiu a1, a1, 0x2994 | a1 += 0x2994;
0x00001fd0 jalr t9 | t9 ();
0x00001fd4 addiu s5, zero, 1 | s5 = 1;
0x00001fd8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00001fdc b 0x1be8 | goto label_0;
| }
0x00001fe0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001fe4 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00001fe8 addiu a1, a1, 0x29a0 | a1 += 0x29a0;
0x00001fec move a0, s3 | a0 = s3;
0x00001ff0 jalr t9 | t9 ();
0x00001ff4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00001ff8 beqz v0, 0x2018 |
0x00001ffc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002000 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00002004 addiu a1, a1, 0x29bc | a1 += str.__sensor_offset_x;
0x00002008 move a0, s3 | a0 = s3;
0x0000200c jalr t9 | t9 ();
0x00002010 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00002014 bnez v0, 0x2074 | goto label_10;
| }
| }
0x00002018 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000201c lw t9, -0x7f5c(gp) | t9 = sym.imp.vdo_map_get_boolean;
0x00002020 move a2, zero | a2 = 0;
0x00002024 addiu a1, a1, 0x29a4 | a1 += str.sensor_offset.possible;
0x00002028 move a0, s4 | a0 = s4;
0x0000202c jalr t9 | t9 ();
0x00002030 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00002034 beqz v0, 0x2108 |
0x00002038 lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x0000203c addiu a2, zero, 0xa | a2 = 0xa;
0x00002040 move a1, zero | a1 = 0;
0x00002044 move a0, s2 | a0 = s2;
0x00002048 jalr t9 | t9 ();
0x0000204c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002050 move a0, s5 | a0 = s5;
0x00002054 move a2, v0 | a2 = v0;
0x00002058 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000205c lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x00002060 addiu a1, a1, 0x29d0 | a1 += str.sensor_offset.x;
0x00002064 jalr t9 | t9 ();
0x00002068 addiu s5, zero, 1 | s5 = 1;
0x0000206c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002070 b 0x1be8 | goto label_0;
| label_10:
0x00002074 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002078 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x0000207c addiu a1, a1, 0x2a00 | a1 += 0x2a00;
0x00002080 move a0, s3 | a0 = s3;
0x00002084 jalr t9 | t9 ();
0x00002088 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0000208c beqz v0, 0x20ac |
0x00002090 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002094 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00002098 addiu a1, a1, 0x2a04 | a1 += str.__sensor_offset_y;
0x0000209c move a0, s3 | a0 = s3;
0x000020a0 jalr t9 | t9 ();
0x000020a4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x000020a8 bnez v0, 0x2124 | goto label_11;
| }
| }
0x000020ac lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000020b0 lw t9, -0x7f5c(gp) | t9 = sym.imp.vdo_map_get_boolean;
0x000020b4 move a2, zero | a2 = 0;
0x000020b8 addiu a1, a1, 0x29a4 | a1 += str.sensor_offset.possible;
0x000020bc move a0, s4 | a0 = s4;
0x000020c0 jalr t9 | t9 ();
0x000020c4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000020c8 beqz v0, 0x2108 | goto label_12;
| }
0x000020cc lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x000020d0 addiu a2, zero, 0xa | a2 = 0xa;
0x000020d4 move a1, zero | a1 = 0;
0x000020d8 move a0, s2 | a0 = s2;
0x000020dc jalr t9 | t9 ();
0x000020e0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000020e4 move a0, s5 | a0 = s5;
0x000020e8 move a2, v0 | a2 = v0;
0x000020ec lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000020f0 lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x000020f4 addiu a1, a1, 0x2a18 | a1 += str.sensor_offset.y;
0x000020f8 jalr t9 | t9 ();
0x000020fc addiu s5, zero, 1 | s5 = 1;
0x00002100 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002104 b 0x1be8 | goto label_0;
| }
| label_12:
0x00002108 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000210c lw t9, -0x7ef0(gp) | t9 = sym.imp.g_print;
0x00002110 addiu a0, a0, 0x29e0 | a0 += str.Sensor_offset_is_not_possible_n;
0x00002114 jalr t9 | t9 ();
0x00002118 addiu s5, zero, 1 | s5 = 1;
0x0000211c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002120 b 0x1be8 | goto label_0;
| label_11:
0x00002124 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002128 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x0000212c addiu a1, a1, 0x2a28 | a1 += 0x2a28;
0x00002130 move a0, s3 | a0 = s3;
0x00002134 jalr t9 | t9 ();
0x00002138 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0000213c beqz v0, 0x215c |
0x00002140 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002144 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00002148 addiu a1, a1, 0x2a3c | a1 += str.__warp_enabled;
0x0000214c move a0, s3 | a0 = s3;
0x00002150 jalr t9 | t9 ();
0x00002154 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00002158 bnez v0, 0x21b8 | goto label_13;
| }
| }
0x0000215c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002160 lw t9, -0x7f5c(gp) | t9 = sym.imp.vdo_map_get_boolean;
0x00002164 move a2, zero | a2 = 0;
0x00002168 addiu a1, a1, 0x2a2c | a1 += str.warp.possible;
0x0000216c move a0, s4 | a0 = s4;
0x00002170 jalr t9 | t9 ();
0x00002174 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00002178 beqz v0, 0x224c |
0x0000217c lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x00002180 addiu a2, zero, 0xa | a2 = 0xa;
0x00002184 move a1, zero | a1 = 0;
0x00002188 move a0, s2 | a0 = s2;
0x0000218c jalr t9 | t9 ();
0x00002190 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002194 move a0, s5 | a0 = s5;
0x00002198 sltu a2, zero, v0 | a2 = (0 < v0) ? 1 : 0;
0x0000219c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000021a0 lw t9, -0x7f34(gp) | t9 = sym.imp.vdo_map_set_boolean;
0x000021a4 addiu a1, a1, 0x2a4c | a1 += str.debug.warp.enabled;
0x000021a8 jalr t9 | t9 ();
0x000021ac addiu s5, zero, 1 | s5 = 1;
0x000021b0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000021b4 b 0x1be8 | goto label_0;
| label_13:
0x000021b8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000021bc lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x000021c0 addiu a1, a1, 0x2a80 | a1 += 0x2a80;
0x000021c4 move a0, s3 | a0 = s3;
0x000021c8 jalr t9 | t9 ();
0x000021cc lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x000021d0 beqz v0, 0x21f0 |
0x000021d4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000021d8 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x000021dc addiu a1, a1, 0x2a9c | a1 += str.__user_encode_enabled;
0x000021e0 move a0, s3 | a0 = s3;
0x000021e4 jalr t9 | t9 ();
0x000021e8 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x000021ec bnez v0, 0x2268 | goto label_14;
| }
| }
0x000021f0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000021f4 lw t9, -0x7f5c(gp) | t9 = sym.imp.vdo_map_get_boolean;
0x000021f8 move a2, zero | a2 = 0;
0x000021fc addiu a1, a1, 0x2a84 | a1 += str.user_encode.possible;
0x00002200 move a0, s4 | a0 = s4;
0x00002204 jalr t9 | t9 ();
0x00002208 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0000220c beqz v0, 0x22c0 | goto label_15;
| }
0x00002210 lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x00002214 addiu a2, zero, 0xa | a2 = 0xa;
0x00002218 move a1, zero | a1 = 0;
0x0000221c move a0, s2 | a0 = s2;
0x00002220 jalr t9 | t9 ();
0x00002224 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002228 move a0, s5 | a0 = s5;
0x0000222c sltu a2, zero, v0 | a2 = (0 < v0) ? 1 : 0;
0x00002230 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002234 lw t9, -0x7f34(gp) | t9 = sym.imp.vdo_map_set_boolean;
0x00002238 addiu a1, a1, 0x2ab4 | a1 += str.debug.user_encode.enabled;
0x0000223c jalr t9 | t9 ();
0x00002240 addiu s5, zero, 1 | s5 = 1;
0x00002244 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002248 b 0x1be8 | goto label_0;
| }
0x0000224c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00002250 lw t9, -0x7ef0(gp) | t9 = sym.imp.g_print;
0x00002254 addiu a0, a0, 0x2a60 | a0 += str.Warp_enable_is_not_possible_n;
0x00002258 jalr t9 | t9 ();
0x0000225c addiu s5, zero, 1 | s5 = 1;
0x00002260 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002264 b 0x1be8 | goto label_0;
| label_14:
0x00002268 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000226c lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x00002270 addiu a1, a1, 0x2af4 | a1 += str.__user_encode_width;
0x00002274 move a0, s3 | a0 = s3;
0x00002278 jalr t9 | t9 ();
0x0000227c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00002280 bnez v0, 0x22dc |
0x00002284 lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x00002288 addiu a2, zero, 0xa | a2 = 0xa;
0x0000228c move a1, zero | a1 = 0;
0x00002290 move a0, s2 | a0 = s2;
0x00002294 jalr t9 | t9 ();
0x00002298 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000229c move a0, s5 | a0 = s5;
0x000022a0 move a2, v0 | a2 = v0;
0x000022a4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000022a8 lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x000022ac addiu a1, a1, 0x2b08 | a1 += str.debug.user_encode.width;
0x000022b0 jalr t9 | t9 ();
0x000022b4 addiu s5, zero, 1 | s5 = 1;
0x000022b8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000022bc b 0x1be8 | goto label_0;
| label_15:
0x000022c0 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000022c4 lw t9, -0x7ef0(gp) | t9 = sym.imp.g_print;
0x000022c8 addiu a0, a0, 0x2ad0 | a0 += str.User_encode_enable_is_not_possible_n;
0x000022cc jalr t9 | t9 ();
0x000022d0 addiu s5, zero, 1 | s5 = 1;
0x000022d4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000022d8 b 0x1be8 | goto label_0;
| }
0x000022dc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000022e0 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x000022e4 addiu a1, a1, 0x2b20 | a1 += str.__user_encode_height;
0x000022e8 move a0, s3 | a0 = s3;
0x000022ec jalr t9 | t9 ();
0x000022f0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000022f4 bnez v0, 0x2334 |
0x000022f8 lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x000022fc addiu a2, zero, 0xa | a2 = 0xa;
0x00002300 move a1, zero | a1 = 0;
0x00002304 move a0, s2 | a0 = s2;
0x00002308 jalr t9 | t9 ();
0x0000230c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002310 move a0, s5 | a0 = s5;
0x00002314 move a2, v0 | a2 = v0;
0x00002318 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000231c lw t9, -0x7f2c(gp) | t9 = sym.imp.vdo_map_set_uint32;
0x00002320 addiu a1, a1, 0x2b38 | a1 += str.debug.user_encode.height;
0x00002324 jalr t9 | t9 ();
0x00002328 addiu s5, zero, 1 | s5 = 1;
0x0000232c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00002330 b 0x1be8 | goto label_0;
| }
0x00002334 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002338 lw t9, -0x7f00(gp) | t9 = sym.imp.g_strcmp0;
0x0000233c addiu a1, a1, 0x2b54 | a1 += str.__raw_capture;
0x00002340 move a0, s3 | a0 = s3;
0x00002344 jalr t9 | t9 ();
0x00002348 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0000234c bnez v0, 0x2378 |
0x00002350 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002354 lw t9, -0x7f5c(gp) | t9 = sym.imp.vdo_map_get_boolean;
0x00002358 move a2, zero | a2 = 0;
0x0000235c addiu a1, a1, 0x2b64 | a1 += str.raw_capture.possible;
0x00002360 move a0, s4 | a0 = s4;
0x00002364 jalr t9 | t9 ();
0x00002368 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0000236c bnez v0, 0x239c | goto label_16;
| }
0x00002370 addiu s5, zero, 1 | s5 = 1;
0x00002374 b 0x1be8 | goto label_0;
| }
0x00002378 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000237c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002380 lw t9, -0x7f28(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00002384 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x00002388 addiu a3, a3, 0x2f30 | a3 += str.set_setting;
0x0000238c addiu a2, zero, 0x9b | a2 = 0x9b;
0x00002390 addiu a1, a1, 0x2b90 | a1 += str.vdo_input_ctrl.c;
0x00002394 move a0, zero | a0 = 0;
0x00002398 jalr t9 | t9 ();
| label_16:
0x0000239c lw t9, -0x7f24(gp) | t9 = sym.imp.strtol;
0x000023a0 addiu a2, zero, 0xa | a2 = 0xa;
0x000023a4 move a1, zero | a1 = 0;
0x000023a8 move a0, s2 | a0 = s2;
0x000023ac jalr t9 | t9 ();
0x000023b0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000023b4 move a0, s5 | a0 = s5;
0x000023b8 move a2, v0 | a2 = v0;
0x000023bc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000023c0 lw t9, -0x7f34(gp) | t9 = sym.imp.vdo_map_set_boolean;
0x000023c4 addiu a1, a1, 0x2b7c | a1 += str.raw_capture.enabled;
0x000023c8 jalr t9 | t9 ();
0x000023cc addiu s5, zero, 1 | s5 = 1;
0x000023d0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000023d4 b 0x1be8 | goto label_0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/vdo-input-ctrl @ 0x1000 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 5392 named .text */
0x00001000 lui gp, 2 |
0x00001004 addiu gp, gp, -0x5ff0 |
0x00001008 addu gp, gp, t9 | gp += t9;
0x0000100c addiu sp, sp, -0x300 |
0x00001010 lw t9, -0x7f0c(gp) | t9 = sym.imp.memset;
0x00001014 sw s3, 0x2e4(sp) | *(var_2e4h) = s3;
0x00001018 lw s3, -0x7f74(gp) | s3 = *((gp - 8157));
0x0000101c sw s4, 0x2e8(sp) | *(var_2e8h) = s4;
0x00001020 addiu s4, sp, 0x114 | s4 = sp + 0x114;
0x00001024 lw v0, (s3) | v0 = *(s3);
0x00001028 sw ra, 0x2fc(sp) | *(var_2fch) = ra;
0x0000102c addiu a2, zero, 0x1c0 | a2 = segment.REGINFO;
0x00001030 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00001034 sw s2, 0x2e0(sp) | *(var_2e0h) = s2;
0x00001038 sw s1, 0x2dc(sp) | *(var_2dch) = s1;
0x0000103c sw s0, 0x2d8(sp) | *(var_2d8h) = s0;
0x00001040 sw a0, 0x300(sp) | *(arg_300h) = a0;
0x00001044 sw a1, 0x24(sp) | *(var_24h) = a1;
0x00001048 move a0, s4 | a0 = s4;
0x0000104c move a1, zero | a1 = 0;
0x00001050 sw fp, 0x2f8(sp) | *(var_2f8h) = fp;
0x00001054 sw s7, 0x2f4(sp) | *(var_2f4h) = s7;
0x00001058 sw s6, 0x2f0(sp) | *(var_2f0h) = s6;
0x0000105c sw s5, 0x2ec(sp) | *(var_2ech) = s5;
0x00001060 sw v0, 0x2d4(sp) | *(var_2d4h) = v0;
0x00001064 sw zero, 0x28(sp) | *(var_28h) = 0;
0x00001068 sw zero, 0x2c(sp) | *(var_2ch) = 0;
0x0000106c sw zero, 0x30(sp) | *(var_30h) = 0;
0x00001070 sw zero, 0x34(sp) | *(var_34h) = 0;
0x00001074 sw zero, 0x38(sp) | *(var_38h) = 0;
0x00001078 sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x0000107c sw zero, 0x40(sp) | *(var_40h) = 0;
0x00001080 sw zero, 0x44(sp) | *(var_44h) = 0;
0x00001084 jalr t9 | t9 ();
0x00001088 nop |
0x0000108c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001090 addiu v0, zero, 2 | v0 = 2;
0x00001094 sw v0, 0x11c(sp) | *(var_11ch) = v0;
0x00001098 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000109c lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x000010a0 addiu a0, a0, 0x2ba8 | a0 += str.start;
0x000010a4 sw a0, 0x114(sp) | *(var_114h) = a0;
0x000010a8 addiu a0, zero, 0x73 | a0 = 0x73;
0x000010ac sb a0, 0x118(sp) | *(var_118h) = a0;
0x000010b0 addiu a0, sp, 0x2c | a0 = sp + 0x2c;
0x000010b4 sw a0, 0x124(sp) | *(var_124h) = a0;
0x000010b8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000010bc sw v0, 0x138(sp) | *(var_138h) = v0;
0x000010c0 addiu a0, a0, 0x2bb0 | a0 += str.Start_Input;
0x000010c4 sw a0, 0x128(sp) | *(var_128h) = a0;
0x000010c8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000010cc sw v0, 0x154(sp) | *(var_154h) = v0;
0x000010d0 addiu a0, a0, 0x2bbc | a0 += str.stop;
0x000010d4 sw a0, 0x130(sp) | *(var_130h) = a0;
0x000010d8 addiu a0, zero, 0x70 | a0 = 0x70;
0x000010dc sb a0, 0x134(sp) | *(var_134h) = a0;
0x000010e0 addiu a0, sp, 0x30 | a0 = sp + 0x30;
0x000010e4 sw a0, 0x140(sp) | *(var_140h) = a0;
0x000010e8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000010ec sw v0, 0x170(sp) | *(var_170h) = v0;
0x000010f0 addiu a0, a0, 0x2bc4 | a0 += str.Stop_Input;
0x000010f4 sw a0, 0x144(sp) | *(var_144h) = a0;
0x000010f8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000010fc sw v0, 0x18c(sp) | *(var_18ch) = v0;
0x00001100 addiu a0, a0, 0x2bfc | a0 += 0x2bfc;
0x00001104 sw a0, 0x14c(sp) | *(var_14ch) = a0;
0x00001108 addiu a0, zero, 0x66 | a0 = 0x66;
0x0000110c sb a0, 0x150(sp) | *(var_150h) = a0;
0x00001110 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001114 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001118 addiu a0, a0, 0x2bd0 | a0 += str.Input_framerate;
0x0000111c sw a0, 0x160(sp) | *(var_160h) = a0;
0x00001120 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001124 addiu v1, zero, 3 | v1 = 3;
0x00001128 addiu a0, a0, 0x2be0 | a0 += str.default_framerate;
0x0000112c sw a0, 0x168(sp) | *(var_168h) = a0;
0x00001130 addiu a0, zero, 0x64 | a0 = 0x64;
0x00001134 sb a0, 0x16c(sp) | *(var_16ch) = a0;
0x00001138 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000113c addiu s0, s0, 0x1ae4 | s0 += 0x1ae4;
0x00001140 addiu a0, a0, 0x2bf4 | a0 += str.Default_framerate;
0x00001144 sw a0, 0x17c(sp) | *(var_17ch) = a0;
0x00001148 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000114c addiu v0, v0, 0x2c14 | v0 += str.Input_WDR_mode;
0x00001150 addiu a0, a0, 0x2c08 | a0 += str.wdr_mode;
0x00001154 lw t9, -0x7f50(gp) | t9 = sym.imp.vdo_wdr_mode_get_type;
0x00001158 sw a0, 0x184(sp) | *(var_184h) = a0;
0x0000115c addiu a0, zero, 0x77 | a0 = 0x77;
0x00001160 sw v1, 0x158(sp) | *(var_158h) = v1;
0x00001164 sw v1, 0x174(sp) | *(var_174h) = v1;
0x00001168 sw v1, 0x190(sp) | *(var_190h) = v1;
0x0000116c sb a0, 0x188(sp) | *(var_188h) = a0;
0x00001170 sw s0, 0x15c(sp) | *(var_15ch) = s0;
0x00001174 sw s0, 0x178(sp) | *(var_178h) = s0;
0x00001178 sw s0, 0x194(sp) | *(var_194h) = s0;
0x0000117c sw v0, 0x198(sp) | *(var_198h) = v0;
0x00001180 jalr t9 | t9 ();
0x00001184 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001188 addiu a1, sp, 0x4c | a1 = sp + 0x4c;
0x0000118c addiu a0, sp, 0x48 | a0 = sp + 0x48;
0x00001190 lw t9, -0x7f18(gp) | t9 = sym.imp.open_memstream;
0x00001194 sw zero, 0x48(sp) | *(var_48h) = 0;
0x00001198 sw zero, 0x4c(sp) | *(var_4ch) = 0;
0x0000119c move s1, v0 | s1 = v0;
0x000011a0 jalr t9 | t9 ();
0x000011a4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000011a8 move a0, s1 | a0 = s1;
0x000011ac lw t9, -0x7f98(gp) | t9 = sym.imp.g_type_class_ref;
0x000011b0 move s2, v0 | s2 = v0;
0x000011b4 jalr t9 | t9 ();
0x000011b8 move s1, v0 | s1 = v0;
0x000011bc lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x000011c0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000011c4 beqz v0, 0x1220 | goto label_10;
| }
0x000011c8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000011cc lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x000011d0 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x000011d4 move fp, zero | fp = 0;
0x000011d8 addiu a2, a2, 0x2ba4 | a2 += 0x2ba4;
0x000011dc move s7, zero | s7 = 0;
0x000011e0 addiu s6, s6, 0x2c2c | s6 += 0x2c2c;
0x000011e4 addiu s5, s5, 0x2c24 | s5 += str._s_s;
| do {
0x000011e8 lw v0, 0x10(s1) | v0 = *((s1 + 4));
0x000011ec lw t9, -0x7f38(gp) | t9 = sym.imp.g_fprintf
0x000011f0 addu v0, v0, fp | v0 += fp;
0x000011f4 move a1, s5 | a1 = s5;
0x000011f8 lw a3, 8(v0) | a3 = *((v0 + 2));
0x000011fc move a0, s2 | a0 = s2;
0x00001200 jalr t9 | t9 ();
0x00001204 lw v0, 0xc(s1) | v0 = *((s1 + 3));
0x00001208 addiu s7, s7, 1 | s7++;
0x0000120c sltu v0, s7, v0 | v0 = (s7 < v0) ? 1 : 0;
0x00001210 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001214 addiu fp, fp, 0xc | fp += 0xc;
0x00001218 move a2, s6 | a2 = s6;
0x0000121c bnez v0, 0x11e8 |
| } while (v0 != 0);
| label_10:
0x00001220 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001224 lw t9, -0x7f38(gp) | t9 = sym.imp.g_fprintf
0x00001228 addiu a1, a1, 0x2c30 | a1 += 0x2c30;
0x0000122c move a0, s2 | a0 = s2;
0x00001230 jalr t9 | t9 ();
0x00001234 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001238 move a0, s2 | a0 = s2;
0x0000123c lw t9, -0x7f44(gp) | t9 = sym.imp.fclose;
0x00001240 addiu s2, zero, 3 | s2 = 3;
0x00001244 jalr t9 | t9 ();
0x00001248 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000124c move a0, s1 | a0 = s1;
0x00001250 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_type_class_unref;
0x00001254 addiu s1, zero, 2 | s1 = 2;
0x00001258 jalr t9 | t9 ();
0x0000125c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001260 lw v0, 0x48(sp) | v0 = *(var_48h);
0x00001264 sw s1, 0x1a8(sp) | *(var_1a8h) = s1;
0x00001268 sw v0, 0x19c(sp) | *(var_19ch) = v0;
0x0000126c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001270 sw s1, 0x1c4(sp) | *(var_1c4h) = s1;
0x00001274 addiu v0, v0, 0x2c34 | v0 += 0x2c34;
0x00001278 sw v0, 0x1a0(sp) | *(var_1a0h) = v0;
0x0000127c addiu v0, zero, 0x65 | v0 = 0x65;
0x00001280 sb v0, 0x1a4(sp) | *(var_1a4h) = v0;
0x00001284 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001288 sw s1, 0x1e0(sp) | *(var_1e0h) = s1;
0x0000128c addiu v0, v0, 0x2c38 | v0 += str.Enable_EIS__BWC_;
0x00001290 sw v0, 0x1b4(sp) | *(var_1b4h) = v0;
0x00001294 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001298 sw s1, 0x1e4(sp) | *(var_1e4h) = s1;
0x0000129c addiu v0, v0, 0x2c4c | v0 += str.warp_file;
0x000012a0 sw v0, 0x1bc(sp) | *(var_1bch) = v0;
0x000012a4 addiu v0, zero, 0x69 | v0 = 0x69;
0x000012a8 sb v0, 0x1c0(sp) | *(var_1c0h) = v0;
0x000012ac addiu v0, zero, 1 | v0 = 1;
0x000012b0 sw v0, 0x1c8(sp) | *(var_1c8h) = v0;
0x000012b4 addiu v0, sp, 0x38 | v0 = sp + 0x38;
0x000012b8 sw v0, 0x1cc(sp) | *(var_1cch) = v0;
0x000012bc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000012c0 sw s1, 0x1fc(sp) | *(var_1fch) = s1;
0x000012c4 addiu v0, v0, 0x2c58 | v0 += str.Warp_table_file_path;
0x000012c8 sw v0, 0x1d0(sp) | *(var_1d0h) = v0;
0x000012cc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000012d0 sw s1, 0x218(sp) | *(var_218h) = s1;
0x000012d4 addiu v0, v0, 0x2c70 | v0 += str.warp_vin;
0x000012d8 sw v0, 0x1d8(sp) | *(var_1d8h) = v0;
0x000012dc addiu v0, zero, 0x76 | v0 = 0x76;
0x000012e0 sb v0, 0x1dc(sp) | *(var_1dch) = v0;
0x000012e4 addiu v0, sp, 0x3c | v0 = sp + 0x3c;
0x000012e8 sw v0, 0x1e8(sp) | *(var_1e8h) = v0;
0x000012ec lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000012f0 sw s2, 0x1ac(sp) | *(var_1ach) = s2;
0x000012f4 addiu v0, v0, 0x2c7c | v0 += str.VIN_number_to_apply_warp_file_to__default_0_;
0x000012f8 sw v0, 0x1ec(sp) | *(var_1ech) = v0;
0x000012fc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001300 sw s0, 0x1b0(sp) | *(var_1b0h) = s0;
0x00001304 addiu v0, v0, 0x2cac | v0 += str.warp_clear;
0x00001308 sw v0, 0x1f4(sp) | *(var_1f4h) = v0;
0x0000130c addiu v0, zero, 0x63 | v0 = 0x63;
0x00001310 sb v0, 0x1f8(sp) | *(var_1f8h) = v0;
0x00001314 addiu v0, sp, 0x34 | v0 = sp + 0x34;
0x00001318 sw v0, 0x204(sp) | *(var_204h) = v0;
0x0000131c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001320 sw s2, 0x21c(sp) | *(var_21ch) = s2;
0x00001324 addiu v0, v0, 0x2cb8 | v0 += str.Clear_warp_table;
0x00001328 sw v0, 0x208(sp) | *(var_208h) = v0;
0x0000132c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001330 lw t9, -0x7f0c(gp) | t9 = sym.imp.memset;
0x00001334 addiu v0, v0, 0x2ccc | v0 += str.sensor_rotation;
0x00001338 sw v0, 0x210(sp) | *(var_210h) = v0;
0x0000133c addiu v0, zero, 0x72 | v0 = 0x72;
0x00001340 sb v0, 0x214(sp) | *(var_214h) = v0;
0x00001344 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001348 addiu a2, zero, 0xc0 | a2 = 0xc0;
0x0000134c addiu v0, v0, 0x2cdc | v0 += str.Sensor_Rotation_0__180;
0x00001350 sw v0, 0x224(sp) | *(var_224h) = v0;
0x00001354 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001358 move a1, zero | a1 = 0;
0x0000135c addiu v0, v0, 0x2cf4 | v0 += str.input_rotation;
0x00001360 sw v0, 0x22c(sp) | *(var_22ch) = v0;
0x00001364 addiu v0, zero, 0x74 | v0 = 0x74;
0x00001368 sw s0, 0x220(sp) | *(var_220h) = s0;
0x0000136c sb v0, 0x230(sp) | *(var_230h) = v0;
0x00001370 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001374 addiu a0, sp, 0x54 | a0 = sp + 0x54;
0x00001378 addiu v0, v0, 0x2d04 | v0 += str.Input_Rotation_0__90__180__270;
0x0000137c sw v0, 0x240(sp) | *(var_240h) = v0;
0x00001380 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001384 sw s1, 0x234(sp) | *(var_234h) = s1;
0x00001388 addiu v0, v0, 0x2d24 | v0 += str.current_vin;
0x0000138c sw v0, 0x248(sp) | *(var_248h) = v0;
0x00001390 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001394 sw s1, 0x250(sp) | *(var_250h) = s1;
0x00001398 addiu v0, v0, 0x2d30 | v0 += str.Current_vin_id;
0x0000139c sw v0, 0x25c(sp) | *(var_25ch) = v0;
0x000013a0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000013a4 sw s1, 0x26c(sp) | *(var_26ch) = s1;
0x000013a8 addiu v0, v0, 0x2d40 | v0 += str.sensor_offset_x;
0x000013ac sw v0, 0x264(sp) | *(var_264h) = v0;
0x000013b0 addiu v0, zero, 0x78 | v0 = 0x78;
0x000013b4 sb v0, 0x268(sp) | *(var_268h) = v0;
0x000013b8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000013bc sw s1, 0x288(sp) | *(var_288h) = s1;
0x000013c0 addiu v0, v0, 0x2d50 | v0 += str.Sensor_offset_x;
0x000013c4 sw v0, 0x278(sp) | *(var_278h) = v0;
0x000013c8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000013cc sw s1, 0x2a4(sp) | *(var_2a4h) = s1;
0x000013d0 addiu v0, v0, 0x2d60 | v0 += str.sensor_offset_y;
0x000013d4 sw v0, 0x280(sp) | *(var_280h) = v0;
0x000013d8 addiu v0, zero, 0x79 | v0 = 0x79;
0x000013dc sb v0, 0x284(sp) | *(var_284h) = v0;
0x000013e0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000013e4 sw s2, 0x238(sp) | *(var_238h) = s2;
0x000013e8 addiu v0, v0, 0x2d70 | v0 += str.Sensor_offset_y;
0x000013ec sw v0, 0x294(sp) | *(var_294h) = v0;
0x000013f0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000013f4 sw s0, 0x23c(sp) | *(var_23ch) = s0;
0x000013f8 addiu v0, v0, 0x2d80 | v0 += str.raw_capture;
0x000013fc sw v0, 0x29c(sp) | *(var_29ch) = v0;
0x00001400 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001404 sw s2, 0x254(sp) | *(var_254h) = s2;
0x00001408 addiu v0, v0, 0x2d8c | v0 += str.Enable_raw_capture;
0x0000140c sw s0, 0x258(sp) | *(var_258h) = s0;
0x00001410 sw s2, 0x270(sp) | *(var_270h) = s2;
0x00001414 sw s0, 0x274(sp) | *(var_274h) = s0;
0x00001418 sw s2, 0x28c(sp) | *(var_28ch) = s2;
0x0000141c sw s0, 0x290(sp) | *(var_290h) = s0;
0x00001420 sw s2, 0x2a8(sp) | *(var_2a8h) = s2;
0x00001424 sw s0, 0x2ac(sp) | *(var_2ach) = s0;
0x00001428 sw v0, 0x2b0(sp) | *(var_2b0h) = v0;
0x0000142c jalr t9 | t9 ();
0x00001430 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001434 sw s1, 0x90(sp) | *(var_90h) = s1;
0x00001438 sw s1, 0xac(sp) | *(var_ach) = s1;
0x0000143c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001440 lw t9, -0x7f94(gp) | t9 = sym.imp.g_option_context_new;
0x00001444 addiu v0, v0, 0x2da0 | v0 += str.dump_settings;
0x00001448 sw v0, 0x50(sp) | *(var_50h) = v0;
0x0000144c addiu v0, sp, 0x40 | v0 = sp + 0x40;
0x00001450 sw v0, 0x60(sp) | *(var_60h) = v0;
0x00001454 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001458 sw s1, 0xc8(sp) | *(var_c8h) = s1;
0x0000145c addiu v0, v0, 0x2db0 | v0 += str.Dump_settings_map;
0x00001460 sw v0, 0x64(sp) | *(var_64h) = v0;
0x00001464 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001468 sw s1, 0xe4(sp) | *(var_e4h) = s1;
0x0000146c addiu v0, v0, 0x2dc4 | v0 += str.dump_info;
0x00001470 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00001474 addiu v0, sp, 0x44 | v0 = sp + 0x44;
0x00001478 sw v0, 0x7c(sp) | *(var_7ch) = v0;
0x0000147c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001480 sw s2, 0x94(sp) | *(var_94h) = s2;
0x00001484 addiu v0, v0, 0x2dd0 | v0 += str.Dump_info_map;
0x00001488 sw v0, 0x80(sp) | *(var_80h) = v0;
0x0000148c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001490 sw s0, 0x98(sp) | *(var_98h) = s0;
0x00001494 addiu v0, v0, 0x2de0 | v0 += str.warp_enabled;
0x00001498 sw v0, 0x88(sp) | *(var_88h) = v0;
0x0000149c addiu v0, zero, 0x61 | v0 = 0x61;
0x000014a0 sb v0, 0x8c(sp) | *(var_8ch) = v0;
0x000014a4 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000014a8 sw s2, 0xb0(sp) | *(var_b0h) = s2;
0x000014ac addiu v0, v0, 0x2df0 | v0 += str.Set_warp_enabled;
0x000014b0 sw v0, 0x9c(sp) | *(var_9ch) = v0;
0x000014b4 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000014b8 sw s0, 0xb4(sp) | *(var_b4h) = s0;
0x000014bc addiu v0, v0, 0x2e04 | v0 += str.user_encode_enabled;
0x000014c0 sw v0, 0xa4(sp) | *(var_a4h) = v0;
0x000014c4 addiu v0, zero, 0x75 | v0 = 0x75;
0x000014c8 sb v0, 0xa8(sp) | *(var_a8h) = v0;
0x000014cc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000014d0 sw s2, 0xcc(sp) | *(var_cch) = s2;
0x000014d4 addiu v0, v0, 0x2e18 | v0 += str.Set_user_encode_enabled;
0x000014d8 sw v0, 0xb8(sp) | *(var_b8h) = v0;
0x000014dc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000014e0 sw s0, 0xd0(sp) | *(var_d0h) = s0;
0x000014e4 addiu v0, v0, 0x2e30 | v0 += str.user_encode_width;
0x000014e8 sw v0, 0xc0(sp) | *(var_c0h) = v0;
0x000014ec lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000014f0 sw s2, 0xe8(sp) | *(var_e8h) = s2;
0x000014f4 addiu v0, v0, 0x2e44 | v0 += str.Set_user_encode_width;
0x000014f8 sw v0, 0xd4(sp) | *(var_d4h) = v0;
0x000014fc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001500 sw s0, 0xec(sp) | *(var_ech) = s0;
0x00001504 addiu v0, v0, 0x2e5c | v0 += str.user_encode_height;
0x00001508 sw v0, 0xdc(sp) | *(var_dch) = v0;
0x0000150c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001510 move a0, zero | a0 = 0;
0x00001514 addiu v0, v0, 0x2e70 | v0 += str.Set_user_encode_height;
0x00001518 sw v0, 0xf0(sp) | *(var_f0h) = v0;
0x0000151c jalr t9 | t9 ();
0x00001520 move s1, v0 | s1 = v0;
0x00001524 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001528 beqz v0, 0x18fc | goto label_11;
| }
0x0000152c lw t9, -0x7f14(gp) | t9 = sym.imp.vdo_map_new;
0x00001530 addiu s0, sp, 0x28 | s0 = sp + 0x28;
0x00001534 jalr t9 | t9 ();
0x00001538 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000153c move a3, v0 | a3 = v0;
0x00001540 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x00001544 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001548 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000154c lw t9, -0x7f90(gp) | t9 = sym.imp.g_option_group_new;
0x00001550 addiu a2, a2, 0x2a7c | a2 += 0x2a7c;
0x00001554 move a1, a2 | a1 = a2;
0x00001558 addiu a0, a0, 0x2e88 | a0 += str.main;
0x0000155c move s2, v0 | s2 = v0;
0x00001560 jalr t9 | t9 ();
0x00001564 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001568 move a3, s2 | a3 = s2;
0x0000156c sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x00001570 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001574 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001578 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000157c lw t9, -0x7f90(gp) | t9 = sym.imp.g_option_group_new;
0x00001580 addiu a2, a2, 0x2e90 | a2 += str.Options_for_dumping_settings_and_info_map;
0x00001584 addiu a1, a1, 0x2ebc | a1 += str.Debug_options;
0x00001588 addiu a0, a0, 0x2ecc | a0 += str.debug;
0x0000158c move s5, v0 | s5 = v0;
0x00001590 jalr t9 | t9 ();
0x00001594 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001598 move a0, v0 | a0 = v0;
0x0000159c addiu a1, sp, 0x50 | a1 = sp + 0x50;
0x000015a0 lw t9, -0x7fa0(gp) | t9 = sym.imp.g_option_group_add_entries;
0x000015a4 move s6, v0 | s6 = v0;
0x000015a8 jalr t9 | t9 ();
0x000015ac lw gp, 0x18(sp) | gp = *(var_18h);
0x000015b0 move a1, s6 | a1 = s6;
0x000015b4 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_option_context_add_group;
0x000015b8 move a0, s1 | a0 = s1;
0x000015bc jalr t9 | t9 ();
0x000015c0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000015c4 move a1, s4 | a1 = s4;
0x000015c8 lw t9, -0x7fa0(gp) | t9 = sym.imp.g_option_group_add_entries;
0x000015cc move a0, s5 | a0 = s5;
0x000015d0 jalr t9 | t9 ();
0x000015d4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000015d8 move a1, s5 | a1 = s5;
0x000015dc lw t9, -0x7f6c(gp) | t9 = sym.imp.g_option_context_add_group;
0x000015e0 move a0, s1 | a0 = s1;
0x000015e4 jalr t9 | t9 ();
0x000015e8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000015ec move a3, s0 | a3 = s0;
0x000015f0 addiu a2, sp, 0x24 | a2 = sp + 0x24;
0x000015f4 lw t9, -0x7f54(gp) | t9 = sym.imp.g_option_context_parse;
0x000015f8 addiu a1, sp, 0x300 | a1 = sp + 0x300;
0x000015fc move a0, s1 | a0 = s1;
0x00001600 jalr t9 | t9 ();
0x00001604 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001608 lw t9, -0x7ef4(gp) | t9 = sym.imp.g_option_context_free;
0x0000160c move a0, s1 | a0 = s1;
0x00001610 jalr t9 | t9 ();
0x00001614 lw a0, 0x28(sp) | a0 = *(var_28h);
0x00001618 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 != 0) {
0x0000161c bnez a0, 0x1788 | goto label_12;
| }
0x00001620 lw t9, -0x7f70(gp) | t9 = sym.imp.vdo_input_new;
0x00001624 move a0, zero | a0 = 0;
0x00001628 move a1, s0 | a1 = s0;
0x0000162c jalr t9 | t9 ();
0x00001630 lw a0, 0x28(sp) | a0 = *(var_28h);
0x00001634 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001638 move s1, v0 | s1 = v0;
| if (a0 != 0) {
0x0000163c bnez a0, 0x1788 | goto label_12;
| }
0x00001640 lw t9, -0x7fa8(gp) | t9 = sym.imp.vdo_map_empty;
0x00001644 move a0, s2 | a0 = s2;
0x00001648 jalr t9 | t9 ();
0x0000164c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001650 beqz v0, 0x17b8 | goto label_13;
| }
| label_2:
0x00001654 lw v0, 0x30(sp) | v0 = *(var_30h);
0x00001658 lw t9, -0x7ee8(gp) | t9 = sym.imp.vdo_input_stop;
| if (v0 == 0) {
0x0000165c bnel v0, zero, 0x1798 | goto label_14;
| }
| label_0:
0x00001660 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00001664 lw t9, -0x7ee0(gp) | t9 = sym.imp.vdo_input_start;
| if (v0 == 0) {
0x00001668 bnel v0, zero, 0x17e0 | goto label_15;
| }
| label_3:
0x0000166c lw a0, 0x38(sp) | a0 = *(var_38h);
0x00001670 lw v0, 0x34(sp) | v0 = *(var_34h);
| if (a0 == 0) {
0x00001674 beqz a0, 0x16c8 | goto label_16;
| }
0x00001678 lw t9, -0x7ee4(gp) | t9 = sym.imp.open;
0x0000167c move a1, zero | a1 = 0;
0x00001680 jalr t9 | t9 ();
0x00001684 move s4, v0 | s4 = v0;
0x00001688 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000168c bltz v0, 0x1748 |
| while (a0 == 0) {
0x00001690 lw t9, -0x7f40(gp) | t9 = sym.imp.vdo_input_apply_warp;
0x00001694 lw a2, 0x3c(sp) | a2 = *(var_3ch);
0x00001698 move a3, s0 | a3 = s0;
0x0000169c move a1, s4 | a1 = s4;
0x000016a0 move a0, s1 | a0 = s1;
0x000016a4 jalr t9 | t9 ();
0x000016a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000016ac lw t9, -0x7f78(gp) | t9 = sym.imp.close;
0x000016b0 move a0, s4 | a0 = s4;
0x000016b4 jalr t9 | t9 ();
0x000016b8 lw a0, 0x28(sp) | a0 = *(var_28h);
0x000016bc lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 != 0) {
0x000016c0 bnez a0, 0x1788 | goto label_12;
| }
0x000016c4 lw v0, 0x34(sp) | v0 = *(var_34h);
| label_16:
0x000016c8 lw t9, -0x7f60(gp) | t9 = sym.imp.vdo_input_clear_warp;
| if (v0 == 0) {
0x000016cc bnel v0, zero, 0x1898 | goto label_17;
| }
| label_6:
0x000016d0 lw v0, 0x40(sp) | v0 = *(var_40h);
0x000016d4 lw t9, -0x7f1c(gp) | t9 = sym.imp.vdo_input_get_settings;
| if (v0 != 0) {
0x000016d8 bnez v0, 0x184c | goto label_18;
| }
| label_5:
0x000016dc lw v0, 0x44(sp) | v0 = *(var_44h);
0x000016e0 lw t9, -0x7f58(gp) | t9 = sym.imp.vdo_input_get_info;
| if (v0 != 0) {
0x000016e4 bnez v0, 0x1800 | goto label_19;
| }
| label_4:
0x000016e8 lw t9, -0x7efc(gp) | t9 = sym.imp.g_object_unref;
0x000016ec move a0, s1 | a0 = s1;
0x000016f0 jalr t9 | t9 ();
0x000016f4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000016f8 lw t9, -0x7efc(gp) | t9 = sym.imp.g_object_unref;
0x000016fc move a0, s2 | a0 = s2;
0x00001700 jalr t9 | t9 ();
0x00001704 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001708 move v0, zero | v0 = 0;
| label_9:
0x0000170c lw a0, 0x2d4(sp) | a0 = *(var_2d4h);
0x00001710 lw v1, (s3) | v1 = *(s3);
0x00001714 lw ra, 0x2fc(sp) | ra = *(var_2fch);
| if (a0 != v1) {
0x00001718 bne a0, v1, 0x1904 | goto label_20;
| }
0x0000171c lw fp, 0x2f8(sp) | fp = *(var_2f8h);
0x00001720 lw s7, 0x2f4(sp) | s7 = *(var_2f4h);
0x00001724 lw s6, 0x2f0(sp) | s6 = *(var_2f0h);
0x00001728 lw s5, 0x2ec(sp) | s5 = *(var_2ech);
0x0000172c lw s4, 0x2e8(sp) | s4 = *(var_2e8h);
0x00001730 lw s3, 0x2e4(sp) | s3 = *(var_2e4h);
0x00001734 lw s2, 0x2e0(sp) | s2 = *(var_2e0h);
0x00001738 lw s1, 0x2dc(sp) | s1 = *(var_2dch);
0x0000173c lw s0, 0x2d8(sp) | s0 = *(var_2d8h);
0x00001740 addiu sp, sp, 0x300 |
0x00001744 jr ra | return v0;
0x00001748 lw t9, -0x7f3c(gp) | t9 = sym.imp.vdo_error_quark;
0x0000174c jalr t9 | t9 ();
0x00001750 nop |
0x00001754 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001758 lw v1, 0x38(sp) | v1 = *(var_38h);
0x0000175c move a0, s0 | a0 = s0;
0x00001760 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001764 lw t9, -0x7f68(gp) | t9 = sym.imp.g_set_error;
0x00001768 sw v1, 0x10(sp) | *(var_10h_2) = v1;
0x0000176c addiu a3, a3, 0x2ed4 | a3 += str.Failed_to_open_warp_file__s;
0x00001770 addiu a2, zero, 8 | a2 = 8;
0x00001774 move a1, v0 | a1 = v0;
0x00001778 jalr t9 | t9 ();
0x0000177c lw a0, 0x28(sp) | a0 = *(var_28h);
0x00001780 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001784 beqz a0, 0x1690 |
| }
| label_12:
0x00001788 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
| label_1:
0x0000178c addiu t9, t9, 0x1a80 | t9 += fcn.00001a80;
0x00001790 bal 0x1a80 | fcn_00001a80 ();
0x00001794 nop |
| label_14:
0x00001798 move a0, s1 | a0 = s1;
0x0000179c move a1, s0 | a1 = s0;
0x000017a0 jalr t9 | t9 ();
0x000017a4 lw a0, 0x28(sp) | a0 = *(var_28h);
0x000017a8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == 0) {
0x000017ac beqz a0, 0x1660 | goto label_0;
| }
0x000017b0 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000017b4 b 0x178c | goto label_1;
| label_13:
0x000017b8 lw t9, -0x7f64(gp) | t9 = sym.imp.vdo_input_set_settings;
0x000017bc move a0, s1 | a0 = s1;
0x000017c0 move a2, s0 | a2 = s0;
0x000017c4 move a1, s2 | a1 = s2;
0x000017c8 jalr t9 | t9 ();
0x000017cc lw a0, 0x28(sp) | a0 = *(var_28h);
0x000017d0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == 0) {
0x000017d4 beqz a0, 0x1654 | goto label_2;
| }
0x000017d8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000017dc b 0x178c | goto label_1;
| label_15:
0x000017e0 move a0, s1 | a0 = s1;
0x000017e4 move a1, s0 | a1 = s0;
0x000017e8 jalr t9 | t9 ();
0x000017ec lw a0, 0x28(sp) | a0 = *(var_28h);
0x000017f0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == 0) {
0x000017f4 beqz a0, 0x166c | goto label_3;
| }
0x000017f8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000017fc b 0x178c | goto label_1;
| label_19:
0x00001800 move a1, s0 | a1 = s0;
0x00001804 move a0, s1 | a0 = s1;
0x00001808 jalr t9 | t9 ();
0x0000180c move s4, v0 | s4 = v0;
0x00001810 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001814 beqz v0, 0x18dc | goto label_21;
| }
0x00001818 lw t9, -0x7eec(gp) | t9 = sym.imp.vdo_map_dump;
0x0000181c move a0, v0 | a0 = v0;
0x00001820 jalr t9 | t9 ();
0x00001824 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001828 lw t9, -0x7efc(gp) | t9 = sym.imp.g_object_unref;
0x0000182c move a0, s4 | a0 = s4;
0x00001830 jalr t9 | t9 ();
0x00001834 lw gp, 0x18(sp) | gp = *(var_18h);
| label_8:
0x00001838 lw t9, -0x7f04(gp) | t9 = sym.imp.g_clear_error;
0x0000183c move a0, s0 | a0 = s0;
0x00001840 jalr t9 | t9 ();
0x00001844 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001848 b 0x16e8 | goto label_4;
| label_18:
0x0000184c move a1, s0 | a1 = s0;
0x00001850 move a0, s1 | a0 = s1;
0x00001854 jalr t9 | t9 ();
0x00001858 move s4, v0 | s4 = v0;
0x0000185c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001860 beqz v0, 0x18bc | goto label_22;
| }
0x00001864 lw t9, -0x7eec(gp) | t9 = sym.imp.vdo_map_dump;
0x00001868 move a0, v0 | a0 = v0;
0x0000186c jalr t9 | t9 ();
0x00001870 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001874 lw t9, -0x7efc(gp) | t9 = sym.imp.g_object_unref;
0x00001878 move a0, s4 | a0 = s4;
0x0000187c jalr t9 | t9 ();
0x00001880 lw gp, 0x18(sp) | gp = *(var_18h);
| label_7:
0x00001884 lw t9, -0x7f04(gp) | t9 = sym.imp.g_clear_error;
0x00001888 move a0, s0 | a0 = s0;
0x0000188c jalr t9 | t9 ();
0x00001890 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001894 b 0x16dc | goto label_5;
| label_17:
0x00001898 lw a1, 0x3c(sp) | a1 = *(var_3ch);
0x0000189c move a0, s1 | a0 = s1;
0x000018a0 move a2, s0 | a2 = s0;
0x000018a4 jalr t9 | t9 ();
0x000018a8 lw a0, 0x28(sp) | a0 = *(var_28h);
0x000018ac lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == 0) {
0x000018b0 beqz a0, 0x16d0 | goto label_6;
| }
0x000018b4 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000018b8 b 0x178c | goto label_1;
| label_22:
0x000018bc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000018c0 lw t9, -0x7fb0(gp) | t9 = sym.imp.g_log;
0x000018c4 addiu a2, a2, 0x2ef4 | a2 += str.Failed_to_get_input_settings:_;
0x000018c8 addiu a1, zero, 0x10 | a1 = 0x10;
0x000018cc move a0, zero | a0 = 0;
0x000018d0 jalr t9 | t9 ();
0x000018d4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000018d8 b 0x1884 | goto label_7;
| label_21:
0x000018dc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000018e0 lw t9, -0x7fb0(gp) | t9 = sym.imp.g_log;
0x000018e4 addiu a2, a2, 0x2f14 | a2 += str.Failed_to_get_input_info:_;
0x000018e8 addiu a1, zero, 0x10 | a1 = 0x10;
0x000018ec move a0, zero | a0 = 0;
0x000018f0 jalr t9 | t9 ();
0x000018f4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000018f8 b 0x1838 | goto label_8;
| label_11:
0x000018fc addiu v0, zero, -1 | v0 = -1;
0x00001900 b 0x170c | goto label_9;
| label_20:
0x00001904 lw t9, -0x7f80(gp) | t9 = sym.imp.__stack_chk_fail;
0x00001908 jalr t9 | t9 ();
0x0000190c nop |
| }
[*] Function fprintf used 4 times vdo-input-ctrl