[*] Binary protection state of libcproducer.so
No RELRO No Canary found NX disabled DSO RPATH No RUNPATH Symbols
[*] Function strcpy tear down of libcproducer.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x3b650 */
| #include <stdint.h>
|
; (fcn) sym.appendValidatedMetadata () | void appendValidatedMetadata () {
0x0003b650 lui gp, 5 |
0x0003b654 addiu gp, gp, 0x5a80 |
0x0003b658 addu gp, gp, t9 | gp += t9;
0x0003b65c addiu sp, sp, -0x40 |
0x0003b660 sw ra, 0x3c(sp) | *(var_3ch) = ra;
0x0003b664 sw fp, 0x38(sp) | *(var_38h) = fp;
0x0003b668 sw s1, 0x34(sp) | *(var_34h) = s1;
0x0003b66c sw s0, 0x30(sp) | *(var_30h) = s0;
0x0003b670 move fp, sp | fp = sp;
0x0003b674 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0003b678 sw a0, 0x40(fp) | *(arg_40h) = a0;
0x0003b67c sw a1, 0x44(fp) | *(arg_44h) = a1;
0x0003b680 sw a2, 0x48(fp) | *(arg_48h) = a2;
0x0003b684 sw a3, 0x4c(fp) | *(arg_4ch) = a3;
0x0003b688 sw zero, 0x18(fp) | *(var_18h) = 0;
0x0003b68c sw zero, 0x1c(fp) | *(var_1ch) = 0;
0x0003b690 lw a0, 0x44(fp) | a0 = *(arg_44h);
0x0003b694 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x0003b698 move t9, v0 | t9 = v0;
0x0003b69c jalr t9 | t9 ();
0x0003b6a0 nop |
0x0003b6a4 lw gp, 0x10(fp) | gp = *(var_10h);
0x0003b6a8 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0003b6ac lw a0, 0x48(fp) | a0 = *(arg_48h);
0x0003b6b0 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x0003b6b4 move t9, v0 | t9 = v0;
0x0003b6b8 jalr t9 | t9 ();
0x0003b6bc nop |
0x0003b6c0 lw gp, 0x10(fp) | gp = *(var_10h);
0x0003b6c4 sw v0, 0x24(fp) | *(var_24h) = v0;
0x0003b6c8 lw v0, -0x7e9c(gp) | v0 = *(gp);
0x0003b6cc lw v0, (v0) | v0 = *(v0);
0x0003b6d0 lw a0, 0x20(fp) | a0 = *(var_20h);
0x0003b6d4 lw v1, 0x24(fp) | v1 = *(var_24h);
0x0003b6d8 addu v1, a0, v1 | v1 = a0 + v1;
0x0003b6dc addiu v1, v1, 0x16 | v1 += 0x16;
0x0003b6e0 move a0, v1 | a0 = v1;
0x0003b6e4 move t9, v0 | t9 = v0;
0x0003b6e8 jalr t9 | t9 ();
0x0003b6ec nop |
0x0003b6f0 lw gp, 0x10(fp) | gp = *(var_10h);
0x0003b6f4 sw v0, 0x1c(fp) | *(var_1ch) = v0;
0x0003b6f8 lw v0, 0x1c(fp) | v0 = *(var_1ch);
| if (v0 == 0) {
0x0003b6fc bnez v0, 0x3b714 |
0x0003b700 nop |
0x0003b704 addiu v0, zero, 4 | v0 = 4;
0x0003b708 sw v0, 0x18(fp) | *(var_18h) = v0;
0x0003b70c b 0x3b820 | goto label_0;
0x0003b710 nop |
| }
0x0003b714 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b718 lw v1, 0x50(fp) | v1 = *(arg_50h);
0x0003b71c sw v1, (v0) | *(v0) = v1;
0x0003b720 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b724 sw zero, 0x10(v0) | *((v0 + 4)) = 0;
0x0003b728 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b72c addiu v1, v0, 0x14 | v1 = v0 + 0x14;
0x0003b730 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b734 sw v1, 4(v0) | *((v0 + 1)) = v1;
0x0003b738 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b73c lw v0, 4(v0) | v0 = *((v0 + 1));
0x0003b740 move a0, v0 | a0 = v0;
0x0003b744 lw a1, 0x44(fp) | a1 = *(arg_44h);
0x0003b748 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x0003b74c move t9, v0 | t9 = v0;
0x0003b750 jalr t9 | t9 ();
0x0003b754 nop |
0x0003b758 lw gp, 0x10(fp) | gp = *(var_10h);
0x0003b75c lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b760 lw v1, 4(v0) | v1 = *((v0 + 1));
0x0003b764 lw v0, 0x20(fp) | v0 = *(var_20h);
0x0003b768 addu v0, v1, v0 | v0 = v1 + v0;
0x0003b76c sb zero, (v0) | *(v0) = 0;
0x0003b770 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b774 lw v1, 4(v0) | v1 = *((v0 + 1));
0x0003b778 lw v0, 0x20(fp) | v0 = *(var_20h);
0x0003b77c addiu v0, v0, 1 | v0++;
0x0003b780 addu v1, v1, v0 | v1 += v0;
0x0003b784 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b788 sw v1, 8(v0) | *((v0 + 2)) = v1;
0x0003b78c lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b790 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0003b794 move a0, v0 | a0 = v0;
0x0003b798 lw a1, 0x48(fp) | a1 = *(arg_48h);
0x0003b79c lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x0003b7a0 move t9, v0 | t9 = v0;
0x0003b7a4 jalr t9 | t9 ();
0x0003b7a8 nop |
0x0003b7ac lw gp, 0x10(fp) | gp = *(var_10h);
0x0003b7b0 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b7b4 lw v1, 8(v0) | v1 = *((v0 + 2));
0x0003b7b8 lw v0, 0x24(fp) | v0 = *(var_24h);
0x0003b7bc addu v0, v1, v0 | v0 = v1 + v0;
0x0003b7c0 sb zero, (v0) | *(v0) = 0;
0x0003b7c4 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b7c8 lw v1, 0x4c(fp) | v1 = *(arg_4ch);
0x0003b7cc sw v1, 0xc(v0) | *((v0 + 3)) = v1;
0x0003b7d0 lw v0, 0x40(fp) | v0 = *(arg_40h);
0x0003b7d4 lw v1, 0x86c(v0) | v1 = *((v0 + 539));
0x0003b7d8 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0003b7dc move s0, v0 | s0 = v0;
0x0003b7e0 sra v0, v0, 0x1f | v0 >>= 0x1f;
0x0003b7e4 move s1, v0 | s1 = v0;
0x0003b7e8 move a0, v1 | a0 = v1;
0x0003b7ec move a2, s0 | a2 = s0;
0x0003b7f0 move a3, s1 | a3 = s1;
0x0003b7f4 lw v0, -0x7388(gp) | v0 = sym.stackQueueEnqueue;
0x0003b7f8 move t9, v0 | t9 = v0;
0x0003b7fc jalr t9 | t9 ();
0x0003b800 nop |
0x0003b804 lw gp, 0x10(fp) | gp = *(var_10h);
0x0003b808 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0003b80c lw v0, 0x28(fp) | v0 = *(var_28h);
| if (v0 != 0) {
0x0003b810 beqz v0, 0x3b820 |
0x0003b814 nop |
0x0003b818 lw v0, 0x28(fp) | v0 = *(var_28h);
0x0003b81c sw v0, 0x18(fp) | *(var_18h) = v0;
| }
| label_0:
0x0003b820 lw v0, 0x18(fp) | v0 = *(var_18h);
| if (v0 != 0) {
0x0003b824 beqz v0, 0x3b854 |
0x0003b828 nop |
0x0003b82c lw v0, 0x1c(fp) | v0 = *(var_1ch);
| if (v0 == 0) {
0x0003b830 beqz v0, 0x3b854 | goto label_1;
| }
0x0003b834 nop |
0x0003b838 lw v0, -0x7d50(gp) | v0 = *(gp);
0x0003b83c lw v0, (v0) | v0 = *(v0);
0x0003b840 lw a0, 0x1c(fp) | a0 = *(var_1ch);
0x0003b844 move t9, v0 | t9 = v0;
0x0003b848 jalr t9 | t9 ();
0x0003b84c nop |
0x0003b850 lw gp, 0x10(fp) | gp = *(var_10h);
| }
| label_1:
0x0003b854 lw v0, 0x18(fp) | v0 = *(var_18h);
0x0003b858 move sp, fp |
0x0003b85c lw ra, 0x3c(sp) | ra = *(var_3ch);
0x0003b860 lw fp, 0x38(sp) | fp = *(var_38h);
0x0003b864 lw s1, 0x34(sp) | s1 = *(var_34h);
0x0003b868 lw s0, 0x30(sp) | s0 = *(var_30h);
0x0003b86c addiu sp, sp, 0x40 |
0x0003b870 jr ra | return v0;
0x0003b874 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x2599c */
| #include <stdint.h>
|
; (fcn) sym.createAudioVideoStreamInfo () | void createAudioVideoStreamInfo () {
0x0002599c lui gp, 7 |
0x000259a0 addiu gp, gp, -0x48cc |
0x000259a4 addu gp, gp, t9 | gp += t9;
0x000259a8 addiu sp, sp, -0x50 |
0x000259ac sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x000259b0 sw fp, 0x48(sp) | *(var_48h) = fp;
0x000259b4 move fp, sp | fp = sp;
0x000259b8 sw gp, 0x28(sp) | *(var_28h) = gp;
0x000259bc sw a0, 0x50(fp) | *(arg_50h) = a0;
0x000259c0 sw a1, 0x54(fp) | *(arg_54h) = a1;
0x000259c4 sw a2, 0x58(fp) | *(arg_58h) = a2;
0x000259c8 sw a3, 0x5c(fp) | *(arg_5ch) = a3;
0x000259cc sw zero, 0x30(fp) | *(var_30h) = 0;
0x000259d0 sw zero, 0x44(fp) | *(var_44h) = 0;
0x000259d4 sw zero, 0x34(fp) | *(var_34h) = 0;
0x000259d8 lw v0, 0x68(fp) | v0 = *(arg_68h);
| if (v0 != 0) {
0x000259dc beqz v0, 0x259f0 |
0x000259e0 nop |
0x000259e4 lw v0, 0x54(fp) | v0 = *(arg_54h);
| if (v0 != 0) {
0x000259e8 bnez v0, 0x25a00 | goto label_0;
| }
0x000259ec nop |
| }
0x000259f0 addiu v0, zero, 1 | v0 = 1;
0x000259f4 sw v0, 0x30(fp) | *(var_30h) = v0;
0x000259f8 b 0x25c2c | goto label_1;
0x000259fc nop |
| label_0:
0x00025a00 lw v0, 0x60(fp) | v0 = *(arg_60h);
0x00025a04 lw v1, 0x64(fp) | v1 = *(arg_64h);
0x00025a08 or v0, v0, v1 | v0 |= v1;
| if (v0 == 0) {
0x00025a0c bnez v0, 0x25a24 |
0x00025a10 nop |
0x00025a14 addiu v0, zero, 2 | v0 = 2;
0x00025a18 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00025a1c b 0x25c2c | goto label_1;
0x00025a20 nop |
| }
0x00025a24 lw v1, 0x50(fp) | v1 = *(arg_50h);
0x00025a28 addiu v0, zero, 2 | v0 = 2;
| if (v1 == v0) {
0x00025a2c bne v1, v0, 0x25a58 |
0x00025a30 nop |
0x00025a34 lw v0, 0x58(fp) | v0 = *(arg_58h);
0x00025a38 lw v1, 0x5c(fp) | v1 = *(arg_5ch);
0x00025a3c or v0, v0, v1 | v0 |= v1;
| if (v0 != 0) {
0x00025a40 bnez v0, 0x25a58 | goto label_2;
| }
0x00025a44 nop |
0x00025a48 addiu v0, zero, 2 | v0 = 2;
0x00025a4c sw v0, 0x30(fp) | *(var_30h) = v0;
0x00025a50 b 0x25c2c | goto label_1;
0x00025a54 nop |
| }
| label_2:
0x00025a58 lw v0, -0x7620(gp) | v0 = *(gp);
0x00025a5c lw v0, (v0) | v0 = *(v0);
0x00025a60 addiu a0, zero, 1 | a0 = 1;
0x00025a64 addiu a1, zero, 0xb00 | a1 = 0xb00;
0x00025a68 move t9, v0 | t9 = v0;
0x00025a6c jalr t9 | t9 ();
0x00025a70 nop |
0x00025a74 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025a78 sw v0, 0x44(fp) | *(var_44h) = v0;
0x00025a7c lw v0, 0x44(fp) | v0 = *(var_44h);
| if (v0 == 0) {
0x00025a80 bnez v0, 0x25a98 |
0x00025a84 nop |
0x00025a88 addiu v0, zero, 4 | v0 = 4;
0x00025a8c sw v0, 0x30(fp) | *(var_30h) = v0;
0x00025a90 b 0x25c2c | goto label_1;
0x00025a94 nop |
| }
0x00025a98 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00025a9c addiu v0, v0, 0xa20 | v0 += 0xa20;
0x00025aa0 sw v0, 0x34(fp) | *(var_34h) = v0;
0x00025aa4 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00025aa8 lw v0, -0x7e10(gp) | v0 = sym.createH264VideoTrackInfo;
0x00025aac move t9, v0 | t9 = v0;
0x00025ab0 jalr t9 | t9 ();
0x00025ab4 nop |
0x00025ab8 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025abc sw v0, 0x38(fp) | *(var_38h) = v0;
0x00025ac0 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x00025ac4 beqz v0, 0x25adc |
0x00025ac8 nop |
0x00025acc lw v0, 0x38(fp) | v0 = *(var_38h);
0x00025ad0 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00025ad4 b 0x25c2c | goto label_1;
0x00025ad8 nop |
| }
0x00025adc lw v0, 0x34(fp) | v0 = *(var_34h);
0x00025ae0 addiu v0, v0, 0x70 | v0 += 0x70;
0x00025ae4 move a0, v0 | a0 = v0;
0x00025ae8 lw v0, -0x7e90(gp) | v0 = sym.createAacAudioTrackInfo;
0x00025aec move t9, v0 | t9 = v0;
0x00025af0 jalr t9 | t9 ();
0x00025af4 nop |
0x00025af8 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025afc sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x00025b00 lw v0, 0x3c(fp) | v0 = *(var_3ch);
| if (v0 != 0) {
0x00025b04 beqz v0, 0x25b1c |
0x00025b08 nop |
0x00025b0c lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x00025b10 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00025b14 b 0x25c2c | goto label_1;
0x00025b18 nop |
| }
0x00025b1c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._s:_d_runs_here_n */
0x00025b20 addiu a0, v0, 0x4ccc | a0 = v0 + 0x4ccc;
0x00025b24 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__func__.8974 */
0x00025b28 addiu a1, v0, 0x4d5c | a1 = v0 + 0x4d5c;
0x00025b2c addiu a2, zero, 0xcd | a2 = 0xcd;
0x00025b30 lw v0, -0x72a8(gp) | v0 = sym.imp.printf;
0x00025b34 move t9, v0 | t9 = v0;
0x00025b38 jalr t9 | t9 ();
0x00025b3c nop |
0x00025b40 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025b44 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00025b48 addiu v0, v0, 4 | v0 += 4;
0x00025b4c move a0, v0 | a0 = v0;
0x00025b50 lw a1, 0x54(fp) | a1 = *(arg_54h);
0x00025b54 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x00025b58 move t9, v0 | t9 = v0;
0x00025b5c jalr t9 | t9 ();
0x00025b60 nop |
0x00025b64 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025b68 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00025b6c addiu v0, v0, 0x924 | v0 += 0x924;
0x00025b70 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x00025b74 lw t0, 0x4ce0(v1) | t0 = *((v1 + 4920));
| /* str.video_h264_audio_aac */
0x00025b78 addiu a0, v1, 0x4ce0 | a0 = v1 + 0x4ce0;
0x00025b7c lw a3, 4(a0) | a3 = *((a0 + 1));
| /* str.video_h264_audio_aac */
0x00025b80 addiu a0, v1, 0x4ce0 | a0 = v1 + 0x4ce0;
0x00025b84 lw a2, 8(a0) | a2 = *((a0 + 2));
| /* str.video_h264_audio_aac */
0x00025b88 addiu a0, v1, 0x4ce0 | a0 = v1 + 0x4ce0;
0x00025b8c lw a1, 0xc(a0) | a1 = *((a0 + 3));
| /* str.video_h264_audio_aac */
0x00025b90 addiu a0, v1, 0x4ce0 | a0 = v1 + 0x4ce0;
0x00025b94 lw a0, 0x10(a0) | a0 = *((a0 + 4));
0x00025b98 swl t0, 3(v0) | __asm ("swl t0, 3(v0)");
0x00025b9c swr t0, (v0) | __asm ("swr t0, (v0)");
0x00025ba0 swl a3, 7(v0) | __asm ("swl a3, 7(v0)");
0x00025ba4 swr a3, 4(v0) | __asm ("swr a3, 4(v0)");
0x00025ba8 swl a2, 0xb(v0) | __asm ("swl a2, 0xb(v0)");
0x00025bac swr a2, 8(v0) | __asm ("swr a2, 8(v0)");
0x00025bb0 swl a1, 0xf(v0) | __asm ("swl a1, 0xf(v0)");
0x00025bb4 swr a1, 0xc(v0) | __asm ("swr a1, 0xc(v0)");
0x00025bb8 swl a0, 0x13(v0) | __asm ("swl a0, 0x13(v0)");
0x00025bbc swr a0, 0x10(v0) | __asm ("swr a0, 0x10(v0)");
| /* str.video_h264_audio_aac */
0x00025bc0 addiu v1, v1, 0x4ce0 | v1 += 0x4ce0;
0x00025bc4 lbu v1, 0x14(v1) | v1 = *((v1 + 20));
0x00025bc8 sb v1, 0x14(v0) | *((v0 + 20)) = v1;
0x00025bcc lw a0, 0x44(fp) | a0 = *(var_44h);
0x00025bd0 lw v0, 0x60(fp) | v0 = *(arg_60h);
0x00025bd4 lw v1, 0x64(fp) | v1 = *(arg_64h);
0x00025bd8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00025bdc sw v1, 0x14(sp) | *(var_14h) = v1;
0x00025be0 addiu v0, zero, 2 | v0 = 2;
0x00025be4 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00025be8 sw a0, 0x1c(sp) | *(var_1ch) = a0;
0x00025bec lw v0, 0x34(fp) | v0 = *(var_34h);
0x00025bf0 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00025bf4 lw a0, 0x50(fp) | a0 = *(arg_50h);
0x00025bf8 lw a2, 0x58(fp) | a2 = *(arg_58h);
0x00025bfc lw a3, 0x5c(fp) | a3 = *(arg_5ch);
0x00025c00 lw v0, -0x7e28(gp) | v0 = sym.setStreamInfoDefaults;
0x00025c04 move t9, v0 | t9 = v0;
0x00025c08 jalr t9 | t9 ();
0x00025c0c nop |
0x00025c10 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025c14 sw v0, 0x40(fp) | *(var_40h) = v0;
0x00025c18 lw v0, 0x40(fp) | v0 = *(var_40h);
| if (v0 != 0) {
0x00025c1c beqz v0, 0x25c2c |
0x00025c20 nop |
0x00025c24 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00025c28 sw v0, 0x30(fp) | *(var_30h) = v0;
| }
| label_1:
0x00025c2c lw v0, 0x30(fp) | v0 = *(var_30h);
| if (v0 != 0) {
0x00025c30 beqz v0, 0x25c80 |
0x00025c34 nop |
0x00025c38 addiu v0, fp, 0x44 | v0 = fp + 0x44;
0x00025c3c move a0, v0 | a0 = v0;
0x00025c40 lw v0, -0x74cc(gp) | v0 = sym.freeStreamInfoProvider;
0x00025c44 move t9, v0 | t9 = v0;
0x00025c48 jalr t9 | t9 ();
0x00025c4c nop |
0x00025c50 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025c54 sw zero, 0x44(fp) | *(var_44h) = 0;
0x00025c58 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._s:_d_runs_here_n */
0x00025c5c addiu a0, v0, 0x4ccc | a0 = v0 + 0x4ccc;
0x00025c60 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__func__.8974 */
0x00025c64 addiu a1, v0, 0x4d5c | a1 = v0 + 0x4d5c;
0x00025c68 addiu a2, zero, 0xd8 | a2 = 0xd8;
0x00025c6c lw v0, -0x72a8(gp) | v0 = sym.imp.printf;
0x00025c70 move t9, v0 | t9 = v0;
0x00025c74 jalr t9 | t9 ();
0x00025c78 nop |
0x00025c7c lw gp, 0x28(fp) | gp = *(var_28h);
| }
0x00025c80 lw v0, 0x44(fp) | v0 = *(var_44h);
| if (v0 != 0) {
0x00025c84 beqz v0, 0x25cc0 |
0x00025c88 nop |
0x00025c8c lw v1, 0x44(fp) | v1 = *(var_44h);
0x00025c90 lw v0, 0x68(fp) | v0 = *(arg_68h);
0x00025c94 sw v1, (v0) | *(v0) = v1;
0x00025c98 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._s:_d_runs_here_n */
0x00025c9c addiu a0, v0, 0x4ccc | a0 = v0 + 0x4ccc;
0x00025ca0 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__func__.8974 */
0x00025ca4 addiu a1, v0, 0x4d5c | a1 = v0 + 0x4d5c;
0x00025ca8 addiu a2, zero, 0xdd | a2 = 0xdd;
0x00025cac lw v0, -0x72a8(gp) | v0 = sym.imp.printf;
0x00025cb0 move t9, v0 | t9 = v0;
0x00025cb4 jalr t9 | t9 ();
0x00025cb8 nop |
0x00025cbc lw gp, 0x28(fp) | gp = *(var_28h);
| }
0x00025cc0 lw v0, 0x30(fp) | v0 = *(var_30h);
0x00025cc4 move sp, fp |
0x00025cc8 lw ra, 0x4c(sp) | ra = *(var_4ch);
0x00025ccc lw fp, 0x48(sp) | fp = *(var_48h);
0x00025cd0 addiu sp, sp, 0x50 |
0x00025cd4 jr ra | return v0;
0x00025cd8 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x6af8c */
| #include <stdint.h>
|
; (fcn) sym.createFileCredentialProviderWithTime () | void createFileCredentialProviderWithTime () {
0x0006af8c lui gp, 2 |
0x0006af90 addiu gp, gp, 0x6144 |
0x0006af94 addu gp, gp, t9 | gp += t9;
0x0006af98 addiu sp, sp, -0x30 |
0x0006af9c sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x0006afa0 sw fp, 0x28(sp) | *(var_28h) = fp;
0x0006afa4 move fp, sp | fp = sp;
0x0006afa8 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0006afac sw a0, 0x30(fp) | *(arg_30h) = a0;
0x0006afb0 sw a1, 0x34(fp) | *(arg_34h) = a1;
0x0006afb4 sw a2, 0x38(fp) | *(arg_38h) = a2;
0x0006afb8 sw a3, 0x3c(fp) | *(arg_3ch) = a3;
0x0006afbc sw zero, 0x18(fp) | *(var_18h) = 0;
0x0006afc0 sw zero, 0x20(fp) | *(var_20h) = 0;
0x0006afc4 lw v0, 0x40(fp) | v0 = *(arg_40h);
| if (v0 == 0) {
0x0006afc8 bnez v0, 0x6afe0 |
0x0006afcc nop |
0x0006afd0 addiu v0, zero, 1 | v0 = 1;
0x0006afd4 sw v0, 0x18(fp) | *(var_18h) = v0;
0x0006afd8 b 0x6b11c | goto label_0;
0x0006afdc nop |
| }
0x0006afe0 lw v0, 0x30(fp) | v0 = *(arg_30h);
| if (v0 != 0) {
0x0006afe4 beqz v0, 0x6affc |
0x0006afe8 nop |
0x0006afec lw v0, 0x30(fp) | v0 = *(arg_30h);
0x0006aff0 lb v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x0006aff4 bnez v0, 0x6b00c | goto label_1;
| }
0x0006aff8 nop |
| }
0x0006affc addiu v0, zero, 2 | v0 = 2;
0x0006b000 sw v0, 0x18(fp) | *(var_18h) = v0;
0x0006b004 b 0x6b11c | goto label_0;
0x0006b008 nop |
| label_1:
0x0006b00c lw a0, 0x30(fp) | a0 = *(arg_30h);
0x0006b010 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x0006b014 move t9, v0 | t9 = v0;
0x0006b018 jalr t9 | t9 ();
0x0006b01c nop |
0x0006b020 lw gp, 0x10(fp) | gp = *(var_10h);
0x0006b024 sltiu v0, v0, 0x1001 | v0 = (v0 < 0x1001) ? 1 : 0;
| if (v0 == 0) {
0x0006b028 bnez v0, 0x6b040 |
0x0006b02c nop |
0x0006b030 addiu v0, zero, 2 | v0 = 2;
0x0006b034 sw v0, 0x18(fp) | *(var_18h) = v0;
0x0006b038 b 0x6b11c | goto label_0;
0x0006b03c nop |
| }
0x0006b040 lw v0, -0x7620(gp) | v0 = *(gp);
0x0006b044 lw v0, (v0) | v0 = *(v0);
0x0006b048 addiu a0, zero, 1 | a0 = 1;
0x0006b04c addiu a1, zero, 0x4018 | a1 = 0x4018;
0x0006b050 move t9, v0 | t9 = v0;
0x0006b054 jalr t9 | t9 ();
0x0006b058 nop |
0x0006b05c lw gp, 0x10(fp) | gp = *(var_10h);
0x0006b060 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0006b064 lw v0, 0x20(fp) | v0 = *(var_20h);
| if (v0 == 0) {
0x0006b068 bnez v0, 0x6b080 |
0x0006b06c nop |
0x0006b070 addiu v0, zero, 4 | v0 = 4;
0x0006b074 sw v0, 0x18(fp) | *(var_18h) = v0;
0x0006b078 b 0x6b11c | goto label_0;
0x0006b07c nop |
| }
0x0006b080 lw v0, 0x20(fp) | v0 = *(var_20h);
0x0006b084 lw v1, -0x74a4(gp) | v1 = sym.getFileCredentials;
0x0006b088 sw v1, (v0) | *(v0) = v1;
0x0006b08c lw v0, 0x20(fp) | v0 = *(var_20h);
0x0006b090 addiu v0, v0, 0x14 | v0 += 0x14;
0x0006b094 move a0, v0 | a0 = v0;
0x0006b098 lw a1, 0x30(fp) | a1 = *(arg_30h);
0x0006b09c lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x0006b0a0 move t9, v0 | t9 = v0;
0x0006b0a4 jalr t9 | t9 ();
0x0006b0a8 nop |
0x0006b0ac lw gp, 0x10(fp) | gp = *(var_10h);
0x0006b0b0 lw v1, 0x20(fp) | v1 = *(var_20h);
0x0006b0b4 lw v0, 0x34(fp) | v0 = *(arg_34h);
| if (v0 != 0) {
0x0006b0b8 beqz v0, 0x6b0cc |
0x0006b0bc nop |
0x0006b0c0 lw v0, 0x34(fp) | v0 = *(arg_34h);
0x0006b0c4 b 0x6b0d0 | goto label_2;
0x0006b0c8 nop |
| }
0x0006b0cc lw v0, -0x7350(gp) | v0 = sym.kinesisVideoStreamDefaultGetCurrentTime;
| label_2:
0x0006b0d0 sw v0, 4(v1) | *((v1 + 1)) = v0;
0x0006b0d4 lw a0, 0x20(fp) | a0 = *(var_20h);
0x0006b0d8 lw v0, 0x38(fp) | v0 = *(arg_38h);
0x0006b0dc lw v1, 0x3c(fp) | v1 = *(arg_3ch);
0x0006b0e0 sw v0, 8(a0) | *((a0 + 2)) = v0;
0x0006b0e4 sw v1, 0xc(a0) | *((a0 + 3)) = v1;
0x0006b0e8 lw v0, 0x20(fp) | v0 = *(var_20h);
0x0006b0ec move a0, v0 | a0 = v0;
0x0006b0f0 lw v0, -0x7d58(gp) | v0 = sym.readFileCredentials;
0x0006b0f4 move t9, v0 | t9 = v0;
0x0006b0f8 jalr t9 | t9 ();
0x0006b0fc nop |
0x0006b100 lw gp, 0x10(fp) | gp = *(var_10h);
0x0006b104 sw v0, 0x1c(fp) | *(var_1ch) = v0;
0x0006b108 lw v0, 0x1c(fp) | v0 = *(var_1ch);
| if (v0 != 0) {
0x0006b10c beqz v0, 0x6b11c |
0x0006b110 nop |
0x0006b114 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x0006b118 sw v0, 0x18(fp) | *(var_18h) = v0;
| }
| label_0:
0x0006b11c lw v0, 0x18(fp) | v0 = *(var_18h);
| if (v0 != 0) {
0x0006b120 beqz v0, 0x6b148 |
0x0006b124 nop |
0x0006b128 addiu v0, fp, 0x20 | v0 = fp + 0x20;
0x0006b12c move a0, v0 | a0 = v0;
0x0006b130 lw v0, -0x752c(gp) | v0 = sym.freeFileCredentialProvider;
0x0006b134 move t9, v0 | t9 = v0;
0x0006b138 jalr t9 | t9 ();
0x0006b13c nop |
0x0006b140 lw gp, 0x10(fp) | gp = *(var_10h);
0x0006b144 sw zero, 0x20(fp) | *(var_20h) = 0;
| }
0x0006b148 lw v0, 0x40(fp) | v0 = *(arg_40h);
| if (v0 != 0) {
0x0006b14c beqz v0, 0x6b160 |
0x0006b150 nop |
0x0006b154 lw v1, 0x20(fp) | v1 = *(var_20h);
0x0006b158 lw v0, 0x40(fp) | v0 = *(arg_40h);
0x0006b15c sw v1, (v0) | *(v0) = v1;
| }
0x0006b160 lw v0, 0x18(fp) | v0 = *(var_18h);
0x0006b164 move sp, fp |
0x0006b168 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x0006b16c lw fp, 0x28(sp) | fp = *(var_28h);
0x0006b170 addiu sp, sp, 0x30 |
0x0006b174 jr ra | return v0;
0x0006b178 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0xe05c */
| #include <stdint.h>
|
; (fcn) sym.createStreamAggregate () | void createStreamAggregate () {
0x0000e05c addiu sp, sp, -0x48 |
0x0000e060 sw ra, 0x44(sp) | *(var_44h) = ra;
0x0000e064 sw fp, 0x40(sp) | *(var_40h) = fp;
0x0000e068 move fp, sp | fp = sp;
0x0000e06c sw a0, 0x48(fp) | *(arg_48h) = a0;
0x0000e070 sw a1, 0x4c(fp) | *(arg_4ch) = a1;
0x0000e074 sw a2, 0x50(fp) | *(arg_50h) = a2;
0x0000e078 sw a3, 0x54(fp) | *(arg_54h) = a3;
0x0000e07c sw zero, 0x30(fp) | *(var_30h) = 0;
0x0000e080 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0000e084 sw v0, 0x38(fp) | *(var_38h) = v0;
0x0000e088 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 == 0) {
0x0000e08c bnez v0, 0xe0a4 |
0x0000e090 nop |
0x0000e094 addiu v0, zero, 2 | v0 = 2;
0x0000e098 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0000e09c b 0xe1cc | goto label_0;
0x0000e0a0 nop |
| }
0x0000e0a4 sw zero, 0x34(fp) | *(var_34h) = 0;
0x0000e0a8 b 0xe1b4 | goto label_1;
0x0000e0ac nop |
| do {
0x0000e0b0 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0000e0b4 lw v1, 0x118(v0) | v1 = *(v0);
0x0000e0b8 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0000e0bc sll v0, v0, 4 | v0 <<= 4;
0x0000e0c0 sll a0, v0, 2 | a0 = v0 << 2;
0x0000e0c4 subu v0, a0, v0 | __asm ("subu v0, a0, v0");
0x0000e0c8 addu v0, v1, v0 | v0 = v1 + v0;
0x0000e0cc lw v0, 0x10(v0) | v0 = *((v0 + 4));
| if (v0 != 0) {
0x0000e0d0 beqz v0, 0xe1a8 |
0x0000e0d4 nop |
0x0000e0d8 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0000e0dc lw v1, 0x118(v0) | v1 = *(v0);
0x0000e0e0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0000e0e4 sll v0, v0, 4 | v0 <<= 4;
0x0000e0e8 sll a0, v0, 2 | a0 = v0 << 2;
0x0000e0ec subu v0, a0, v0 | __asm ("subu v0, a0, v0");
0x0000e0f0 addu v0, v1, v0 | v0 = v1 + v0;
0x0000e0f4 lw t0, 0x10(v0) | t0 = *((v0 + 4));
0x0000e0f8 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0000e0fc lw v1, 0x118(v0) | v1 = *(v0);
0x0000e100 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0000e104 sll v0, v0, 4 | v0 <<= 4;
0x0000e108 sll a0, v0, 2 | a0 = v0 << 2;
0x0000e10c subu v0, a0, v0 | __asm ("subu v0, a0, v0");
0x0000e110 addu v0, v1, v0 | v0 = v1 + v0;
0x0000e114 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x0000e118 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0000e11c lw a0, 0x58(fp) | a0 = *(arg_58h);
0x0000e120 sw a0, 0x10(sp) | *(var_10h) = a0;
0x0000e124 lw a0, 0x5c(fp) | a0 = *(arg_5ch);
0x0000e128 sw a0, 0x14(sp) | *(var_14h) = a0;
0x0000e12c lw a0, 0x60(fp) | a0 = *(arg_60h);
0x0000e130 lw a1, 0x64(fp) | a1 = *(arg_64h);
0x0000e134 sw a0, 0x18(sp) | *(var_18h) = a0;
0x0000e138 sw a1, 0x1c(sp) | *(var_1ch) = a1;
0x0000e13c lw a0, 0x68(fp) | a0 = *(arg_68h);
0x0000e140 sw a0, 0x20(sp) | *(var_20h) = a0;
0x0000e144 move a0, v0 | a0 = v0;
0x0000e148 move a1, v1 | a1 = v1;
0x0000e14c lw a2, 0x50(fp) | a2 = *(arg_50h);
0x0000e150 lw a3, 0x54(fp) | a3 = *(arg_54h);
0x0000e154 move t9, t0 | t9 = t0;
0x0000e158 jalr t9 | t9 ();
0x0000e15c nop |
0x0000e160 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0000e164 lw v1, 0x30(fp) | v1 = *(var_30h);
0x0000e168 lui v0, 0x1500 | v0 = 0x15000001;
0x0000e16c ori v0, v0, 1 |
| if (v1 == v0) {
0x0000e170 bne v1, v0, 0xe184 |
0x0000e174 nop |
0x0000e178 sw zero, 0x30(fp) | *(var_30h) = 0;
0x0000e17c b 0xe1cc | goto label_0;
0x0000e180 nop |
| }
0x0000e184 lw v0, 0x30(fp) | v0 = *(var_30h);
0x0000e188 sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x0000e18c lw v0, 0x3c(fp) | v0 = *(var_3ch);
| if (v0 == 0) {
0x0000e190 beqz v0, 0xe1a8 | goto label_2;
| }
0x0000e194 nop |
0x0000e198 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0000e19c sw v0, 0x30(fp) | *(var_30h) = v0;
0x0000e1a0 b 0xe1cc | goto label_0;
0x0000e1a4 nop |
| }
| label_2:
0x0000e1a8 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0000e1ac addiu v0, v0, 1 | v0++;
0x0000e1b0 sw v0, 0x34(fp) | *(var_34h) = v0;
| label_1:
0x0000e1b4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0000e1b8 lw v1, 0x11c(v0) | v1 = *(v0);
0x0000e1bc lw v0, 0x34(fp) | v0 = *(var_34h);
0x0000e1c0 sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x0000e1c4 bnez v0, 0xe0b0 |
| } while (v0 != 0);
0x0000e1c8 nop |
| label_0:
0x0000e1cc lw v0, 0x30(fp) | v0 = *(var_30h);
0x0000e1d0 move sp, fp |
0x0000e1d4 lw ra, 0x44(sp) | ra = *(var_44h);
0x0000e1d8 lw fp, 0x40(sp) | fp = *(var_40h);
0x0000e1dc addiu sp, sp, 0x48 |
0x0000e1e0 jr ra | return v0;
0x0000e1e4 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x15e6c */
| #include <stdint.h>
|
; (fcn) sym.createStreamCurl () | void createStreamCurl () {
0x00015e6c lui gp, 8 |
0x00015e70 addiu gp, gp, -0x4d9c |
0x00015e74 addu gp, gp, t9 | gp += t9;
0x00015e78 addiu sp, sp, -0x4138 |
0x00015e7c sw ra, 0x4134(sp) | *(arg_4134h) = ra;
0x00015e80 sw fp, 0x4130(sp) | *(arg_4130h) = fp;
0x00015e84 sw s1, 0x412c(sp) | *(arg_412ch) = s1;
0x00015e88 sw s0, 0x4128(sp) | *(arg_4128h) = s0;
0x00015e8c move fp, sp | fp = sp;
0x00015e90 sw gp, 0x50(sp) | *(arg_50h) = gp;
0x00015e94 sw a0, 0x4138(fp) | *(arg_4138h) = a0;
0x00015e98 sw a1, 0x413c(fp) | *(arg_413ch) = a1;
0x00015e9c sw a2, 0x4140(fp) | *(arg_4140h) = a2;
0x00015ea0 sw a3, 0x4144(fp) | *(arg_4144h) = a3;
0x00015ea4 sw zero, 0x58(fp) | *(arg_58h) = 0;
0x00015ea8 sw zero, 0x6c(fp) | *(arg_6ch) = 0;
0x00015eac move v0, zero | v0 = 0;
0x00015eb0 move v1, zero | v1 = 0;
0x00015eb4 sw v0, 0x4118(fp) | *(arg_4118h) = v0;
0x00015eb8 sw v1, 0x411c(fp) | *(arg_411ch) = v1;
0x00015ebc lw v0, 0x4138(fp) | v0 = *(arg_4138h);
0x00015ec0 sw v0, 0x70(fp) | *(arg_70h) = v0;
0x00015ec4 sw zero, 0x5c(fp) | *(arg_5ch) = 0;
0x00015ec8 sw zero, 0x4120(fp) | *(arg_4120h) = 0;
0x00015ecc sw zero, 0x60(fp) | *(arg_60h) = 0;
0x00015ed0 sw zero, 0x64(fp) | *(arg_64h) = 0;
0x00015ed4 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x00015ed8 sw zero, 0x4124(fp) | *(arg_4124h) = 0;
0x00015edc move v0, zero | v0 = 0;
0x00015ee0 move v1, zero | v1 = 0;
0x00015ee4 sw v0, 0x78(fp) | *(arg_78h) = v0;
0x00015ee8 sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x00015eec lw v0, 0x70(fp) | v0 = *(arg_70h);
| if (v0 != 0) {
0x00015ef0 beqz v0, 0x15f14 |
0x00015ef4 nop |
0x00015ef8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00015efc lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00015f00 beqz v0, 0x15f14 | goto label_0;
| }
0x00015f04 nop |
0x00015f08 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
| if (v0 != 0) {
0x00015f0c bnez v0, 0x15f24 | goto label_1;
| }
0x00015f10 nop |
| }
| label_0:
0x00015f14 addiu v0, zero, 2 | v0 = 2;
0x00015f18 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00015f1c b 0x16530 | goto label_2;
0x00015f20 nop |
| label_1:
0x00015f24 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00015f28 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00015f2c sw v0, 0x5c(fp) | *(arg_5ch) = v0;
0x00015f30 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00015f34 lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x00015f38 lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x00015f3c sw v0, 0x78(fp) | *(arg_78h) = v0;
0x00015f40 sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x00015f44 lw v0, 0x414c(fp) | v0 = *(arg_414ch);
| if (v0 != 0) {
0x00015f48 beqz v0, 0x15f94 |
0x00015f4c nop |
0x00015f50 lw v0, 0x414c(fp) | v0 = *(arg_414ch);
0x00015f54 lb v0, (v0) | v0 = *(v0);
| if (v0 == 0) {
0x00015f58 beqz v0, 0x15f94 | goto label_3;
| }
0x00015f5c nop |
0x00015f60 addiu v0, fp, 0xb0 | v0 = fp + 0xb0;
0x00015f64 move a0, v0 | a0 = v0;
0x00015f68 addiu a1, zero, 0x864 | a1 = 0x864;
0x00015f6c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._KmsKeyId_:___s___n_t */
0x00015f70 addiu a2, v0, 0x346c | a2 = v0 + 0x346c;
0x00015f74 lw a3, 0x414c(fp) | a3 = *(arg_414ch);
0x00015f78 lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x00015f7c move t9, v0 | t9 = v0;
0x00015f80 jalr t9 | t9 ();
0x00015f84 nop |
0x00015f88 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00015f8c b 0x15f98 | goto label_4;
0x00015f90 nop |
| }
| label_3:
0x00015f94 sb zero, 0xb0(fp) | *(arg_b0h) = 0;
| label_4:
0x00015f98 lw v0, 0x4150(fp) | v0 = *(arg_4150h);
0x00015f9c lw v1, 0x4154(fp) | v1 = *(arg_4154h);
0x00015fa0 lw t0, -0x7fc8(gp) | t0 = sym.__udivdi3;
0x00015fa4 move a0, v0 | a0 = v0;
0x00015fa8 move a1, v1 | a1 = v1;
0x00015fac lui a2, 0x61c4 | a2 = 0x61c46800;
0x00015fb0 ori a2, a2, 0x6800 |
0x00015fb4 addiu a3, zero, 8 | a3 = 8;
0x00015fb8 move t9, t0 | t9 = t0;
0x00015fbc jalr t9 | t9 ();
0x00015fc0 nop |
0x00015fc4 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00015fc8 sw v0, 0x80(fp) | *(arg_80h) = v0;
0x00015fcc sw v1, 0x84(fp) | *(arg_84h) = v1;
0x00015fd0 addiu a0, fp, 0x914 | a0 = fp + 0x914;
0x00015fd4 lw v0, 0x4144(fp) | v0 = *(arg_4144h);
0x00015fd8 sw v0, 0x10(sp) | *(arg_10h) = v0;
0x00015fdc lw v0, 0x4148(fp) | v0 = *(arg_4148h);
0x00015fe0 sw v0, 0x14(sp) | *(arg_14h) = v0;
0x00015fe4 addiu v0, fp, 0xb0 | v0 = fp + 0xb0;
0x00015fe8 sw v0, 0x18(sp) | *(arg_18h) = v0;
0x00015fec lw v0, 0x80(fp) | v0 = *(arg_80h);
0x00015ff0 lw v1, 0x84(fp) | v1 = *(arg_84h);
0x00015ff4 sw v0, 0x20(sp) | *(arg_20h) = v0;
0x00015ff8 sw v1, 0x24(sp) | *(arg_24h) = v1;
0x00015ffc addiu a1, zero, 0x2800 | a1 = 0x2800;
0x00016000 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._n_t_DeviceName_:___s___n_t_StreamName_:___s___n_t_MediaType_:___s___n_t_s_DataRetentionInHours_:__llu_n */
0x00016004 addiu a2, v0, 0x3480 | a2 = v0 + 0x3480;
0x00016008 lw a3, 0x4140(fp) | a3 = *(arg_4140h);
0x0001600c lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x00016010 move t9, v0 | t9 = v0;
0x00016014 jalr t9 | t9 ();
0x00016018 nop |
0x0001601c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016020 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00016024 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00016028 addiu v0, v0, 8 | v0 += 8;
0x0001602c move a0, v0 | a0 = v0;
0x00016030 lw v0, -0x7950(gp) | v0 = sym.deserializeAwsCredentials;
0x00016034 move t9, v0 | t9 = v0;
0x00016038 jalr t9 | t9 ();
0x0001603c nop |
0x00016040 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016044 sw v0, 0x88(fp) | *(arg_88h) = v0;
0x00016048 lw v0, 0x88(fp) | v0 = *(arg_88h);
| if (v0 != 0) {
0x0001604c beqz v0, 0x16064 |
0x00016050 nop |
0x00016054 lw v0, 0x88(fp) | v0 = *(arg_88h);
0x00016058 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x0001605c b 0x16530 | goto label_2;
0x00016060 nop |
| }
0x00016064 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00016068 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x0001606c addiu v0, v0, 8 | v0 += 8;
0x00016070 sw v0, 0x6c(fp) | *(arg_6ch) = v0;
0x00016074 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00016078 lw v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x0001607c beqz v0, 0x16098 |
0x00016080 nop |
0x00016084 lui v0, 0x1500 | v0 = 0x15000008;
0x00016088 ori v0, v0, 8 |
0x0001608c sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016090 b 0x16530 | goto label_2;
0x00016094 nop |
| }
0x00016098 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x0001609c lw v1, 4(v0) | v1 = *((v0 + 1));
0x000160a0 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x000160a4 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x000160a8 lw v0, 0x2718(v0) | v0 = *((v0 + 2502));
| if (v1 != v0) {
0x000160ac beq v1, v0, 0x160c4 |
0x000160b0 nop |
0x000160b4 addiu v0, zero, 0xc | v0 = 0xc;
0x000160b8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000160bc b 0x16530 | goto label_2;
0x000160c0 nop |
| }
0x000160c4 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000160c8 addiu v0, v0, 0x21e | v0 += 0x21e;
0x000160cc addiu v1, fp, 0x3114 | v1 = fp + 0x3114;
0x000160d0 move a0, v1 | a0 = v1;
0x000160d4 move a1, v0 | a1 = v0;
0x000160d8 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x000160dc move t9, v0 | t9 = v0;
0x000160e0 jalr t9 | t9 ();
0x000160e4 nop |
0x000160e8 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000160ec addiu v0, fp, 0x3114 | v0 = fp + 0x3114;
0x000160f0 move a0, v0 | a0 = v0;
0x000160f4 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x000160f8 move t9, v0 | t9 = v0;
0x000160fc jalr t9 | t9 ();
0x00016100 nop |
0x00016104 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016108 addiu v1, fp, 0x3114 | v1 = fp + 0x3114;
0x0001610c addu v0, v1, v0 | v0 = v1 + v0;
0x00016110 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x00016114 lw a2, 0x34e4(v1) | a2 = *((v1 + 3385));
| /* str._createStream */
0x00016118 addiu a0, v1, 0x34e4 | a0 = v1 + 0x34e4;
0x0001611c lw a1, 4(a0) | a1 = *((a0 + 1));
| /* str._createStream */
0x00016120 addiu a0, v1, 0x34e4 | a0 = v1 + 0x34e4;
0x00016124 lw a0, 8(a0) | a0 = *((a0 + 2));
0x00016128 swl a2, 3(v0) | __asm ("swl a2, 3(v0)");
0x0001612c swr a2, (v0) | __asm ("swr a2, (v0)");
0x00016130 swl a1, 7(v0) | __asm ("swl a1, 7(v0)");
0x00016134 swr a1, 4(v0) | __asm ("swr a1, 4(v0)");
0x00016138 swl a0, 0xb(v0) | __asm ("swl a0, 0xb(v0)");
0x0001613c swr a0, 8(v0) | __asm ("swr a0, 8(v0)");
| /* str._createStream */
0x00016140 addiu v1, v1, 0x34e4 | v1 += 0x34e4;
0x00016144 lbu a0, 0xc(v1) | a0 = *((v1 + 12));
0x00016148 sb a0, 0xc(v0) | *((v0 + 12)) = a0;
0x0001614c lbu v1, 0xd(v1) | v1 = *((v1 + 13));
0x00016150 sb v1, 0xd(v0) | *((v0 + 13)) = v1;
0x00016154 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016158 lw a2, 0x10(v0) | a2 = *((v0 + 4));
0x0001615c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016160 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x00016164 lw v0, 8(v0) | v0 = *((v0 + 2));
0x00016168 move a0, v0 | a0 = v0;
0x0001616c move a1, v1 | a1 = v1;
0x00016170 move t9, a2 | t9 = a2;
0x00016174 jalr t9 | t9 ();
0x00016178 nop |
0x0001617c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016180 sw v0, 0x90(fp) | *(arg_90h) = v0;
0x00016184 sw v1, 0x94(fp) | *(arg_94h) = v1;
0x00016188 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001618c addiu t3, v0, 0x9c | t3 = v0 + 0x9c;
0x00016190 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00016194 lw a0, 0x10(v0) | a0 = *((v0 + 4));
0x00016198 lw a1, 0x14(v0) | a1 = *((v0 + 5));
0x0001619c lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x000161a0 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x000161a4 lw v0, 8(v0) | v0 = *((v0 + 2));
0x000161a8 lw a2, 0x70(fp) | a2 = *(arg_70h);
0x000161ac addiu t2, a2, 0x292f | t2 = a2 + 0x292f;
0x000161b0 addiu t1, fp, 0x3114 | t1 = fp + 0x3114;
0x000161b4 addiu t0, fp, 0x914 | t0 = fp + 0x914;
0x000161b8 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x000161bc lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x000161c0 sw a2, 0x10(sp) | *(arg_10h) = a2;
0x000161c4 sw a3, 0x14(sp) | *(arg_14h) = a3;
0x000161c8 sw t3, 0x18(sp) | *(arg_18h) = t3;
0x000161cc lw a2, 0x90(fp) | a2 = *(arg_90h);
0x000161d0 lw a3, 0x94(fp) | a3 = *(arg_94h);
0x000161d4 sw a2, 0x20(sp) | *(arg_20h) = a2;
0x000161d8 sw a3, 0x24(sp) | *(arg_24h) = a3;
0x000161dc lui a2, 0x2fa | a2 = 0x2faf080;
0x000161e0 ori a2, a2, 0xf080 |
0x000161e4 move a3, zero | a3 = 0;
0x000161e8 sw a2, 0x28(sp) | *(arg_28h) = a2;
0x000161ec sw a3, 0x2c(sp) | *(arg_2ch) = a3;
0x000161f0 sw a0, 0x30(sp) | *(arg_30h) = a0;
0x000161f4 sw a1, 0x34(sp) | *(arg_34h) = a1;
0x000161f8 sw v0, 0x38(sp) | *(arg_38h) = v0;
0x000161fc sw v1, 0x3c(sp) | *(arg_3ch) = v1;
0x00016200 sw t2, 0x40(sp) | *(arg_40h) = t2;
0x00016204 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00016208 sw v0, 0x44(sp) | *(arg_44h) = v0;
0x0001620c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016210 sw v0, 0x48(sp) | *(arg_48h) = v0;
0x00016214 addiu v0, fp, 0x4120 | v0 = fp + 0x4120;
0x00016218 sw v0, 0x4c(sp) | *(arg_4ch) = v0;
0x0001621c addiu a0, zero, 1 | a0 = 1;
0x00016220 move a1, t1 | a1 = t1;
0x00016224 move a2, t0 | a2 = t0;
0x00016228 lw v0, -0x7f24(gp) | v0 = sym.createCurlRequest;
0x0001622c move t9, v0 | t9 = v0;
0x00016230 jalr t9 | t9 ();
0x00016234 nop |
0x00016238 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001623c sw v0, 0x98(fp) | *(arg_98h) = v0;
0x00016240 lw v0, 0x98(fp) | v0 = *(arg_98h);
| if (v0 != 0) {
0x00016244 beqz v0, 0x1625c |
0x00016248 nop |
0x0001624c lw v0, 0x98(fp) | v0 = *(arg_98h);
0x00016250 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016254 b 0x16530 | goto label_2;
0x00016258 nop |
| }
0x0001625c lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x00016260 addiu v1, v0, 8 | v1 = v0 + 8;
0x00016264 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016268 addiu v0, v0, 0x11d | v0 += 0x11d;
0x0001626c sw zero, 0x10(sp) | *(arg_10h) = 0;
0x00016270 move a0, v1 | a0 = v1;
0x00016274 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: 'user-agent' */
0x00016278 addiu a1, v1, 0x34f4 | a1 = v1 + 0x34f4;
0x0001627c move a2, zero | a2 = 0;
0x00016280 move a3, v0 | a3 = v0;
0x00016284 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x00016288 move t9, v0 | t9 = v0;
0x0001628c jalr t9 | t9 ();
0x00016290 nop |
0x00016294 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016298 sw v0, 0x9c(fp) | *(arg_9ch) = v0;
0x0001629c lw v0, 0x9c(fp) | v0 = *(arg_9ch);
| if (v0 != 0) {
0x000162a0 beqz v0, 0x162b8 |
0x000162a4 nop |
0x000162a8 lw v0, 0x9c(fp) | v0 = *(arg_9ch);
0x000162ac sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000162b0 b 0x16530 | goto label_2;
0x000162b4 nop |
| }
0x000162b8 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000162bc lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x000162c0 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000162c4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000162c8 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000162cc lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000162d0 lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x000162d4 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x000162d8 move a2, v0 | a2 = v0;
0x000162dc move a3, v1 | a3 = v1;
0x000162e0 move t9, t0 | t9 = t0;
0x000162e4 jalr t9 | t9 ();
0x000162e8 nop |
0x000162ec lw gp, 0x50(fp) | gp = *(arg_50h);
0x000162f0 addiu v0, zero, 1 | v0 = 1;
0x000162f4 sw v0, 0x64(fp) | *(arg_64h) = v0;
0x000162f8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000162fc lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00016300 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00016304 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016308 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001630c lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016310 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016314 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016318 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001631c lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00016320 move a2, v0 | a2 = v0;
0x00016324 move a3, v1 | a3 = v1;
0x00016328 move t9, t0 | t9 = t0;
0x0001632c jalr t9 | t9 ();
0x00016330 nop |
0x00016334 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016338 addiu v0, zero, 1 | v0 = 1;
0x0001633c sw v0, 0x68(fp) | *(arg_68h) = v0;
0x00016340 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016344 lw v0, 0x3984(v0) | v0 = *((v0 + 3681));
0x00016348 addiu v1, fp, 0x4124 | v1 = fp + 0x4124;
0x0001634c sw v1, 0x10(sp) | *(arg_10h) = v1;
0x00016350 move a0, v0 | a0 = v0;
0x00016354 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00016358 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x0001635c lw v0, -0x7c88(gp) | v0 = sym.hashTableContains;
0x00016360 move t9, v0 | t9 = v0;
0x00016364 jalr t9 | t9 ();
0x00016368 nop |
0x0001636c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016370 sw v0, 0xa0(fp) | *(arg_a0h) = v0;
0x00016374 lw v0, 0xa0(fp) | v0 = *(arg_a0h);
| if (v0 != 0) {
0x00016378 beqz v0, 0x16390 |
0x0001637c nop |
0x00016380 lw v0, 0xa0(fp) | v0 = *(arg_a0h);
0x00016384 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016388 b 0x16530 | goto label_2;
0x0001638c nop |
| }
0x00016390 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016394 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00016398 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001639c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000163a0 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x000163a4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000163a8 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000163ac lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000163b0 lw v1, 0x398c(v0) | v1 = *(v0);
0x000163b4 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x000163b8 move a2, v0 | a2 = v0;
0x000163bc move a3, v1 | a3 = v1;
0x000163c0 move t9, t0 | t9 = t0;
0x000163c4 jalr t9 | t9 ();
0x000163c8 nop |
0x000163cc lw gp, 0x50(fp) | gp = *(arg_50h);
0x000163d0 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x000163d4 lw v0, 0x4124(fp) | v0 = *(arg_4124h);
| if (v0 != 0) {
0x000163d8 beqz v0, 0x163f4 |
0x000163dc nop |
0x000163e0 lui v0, 0x1500 | v0 = 0x1500001e;
0x000163e4 ori v0, v0, 0x1e |
0x000163e8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000163ec b 0x16530 | goto label_2;
0x000163f0 nop |
| }
0x000163f4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000163f8 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x000163fc lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016400 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016404 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016408 lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x0001640c lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00016410 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00016414 move a2, v0 | a2 = v0;
0x00016418 move a3, v1 | a3 = v1;
0x0001641c move t9, t0 | t9 = t0;
0x00016420 jalr t9 | t9 ();
0x00016424 nop |
0x00016428 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001642c addiu v0, zero, 1 | v0 = 1;
0x00016430 sw v0, 0x60(fp) | *(arg_60h) = v0;
0x00016434 lw v0, -0x7dc0(gp) | v0 = *(gp);
0x00016438 lw v0, (v0) | v0 = *(v0);
0x0001643c lw v1, 0x4120(fp) | v1 = *(arg_4120h);
0x00016440 addiu a0, fp, 0x4118 | a0 = fp + 0x4118;
0x00016444 lw a1, -0x7c50(gp) | a1 = sym.createStreamCurlHandler;
0x00016448 move a2, v1 | a2 = v1;
0x0001644c move t9, v0 | t9 = v0;
0x00016450 jalr t9 | t9 ();
0x00016454 nop |
0x00016458 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001645c sw v0, 0xa4(fp) | *(arg_a4h) = v0;
0x00016460 lw v0, 0xa4(fp) | v0 = *(arg_a4h);
| if (v0 != 0) {
0x00016464 beqz v0, 0x1647c |
0x00016468 nop |
0x0001646c lw v0, 0xa4(fp) | v0 = *(arg_a4h);
0x00016470 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016474 b 0x16530 | goto label_2;
0x00016478 nop |
| }
0x0001647c lw v0, -0x7e60(gp) | v0 = *(gp);
0x00016480 lw a2, (v0) | a2 = *(v0);
0x00016484 lw v0, 0x4118(fp) | v0 = *(arg_4118h);
0x00016488 lw v1, 0x411c(fp) | v1 = *(arg_411ch);
0x0001648c move a0, v0 | a0 = v0;
0x00016490 move a1, v1 | a1 = v1;
0x00016494 move t9, a2 | t9 = a2;
0x00016498 jalr t9 | t9 ();
0x0001649c nop |
0x000164a0 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000164a4 sw v0, 0xa8(fp) | *(arg_a8h) = v0;
0x000164a8 lw v0, 0xa8(fp) | v0 = *(arg_a8h);
| if (v0 != 0) {
0x000164ac beqz v0, 0x164c4 |
0x000164b0 nop |
0x000164b4 lw v0, 0xa8(fp) | v0 = *(arg_a8h);
0x000164b8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000164bc b 0x16530 | goto label_2;
0x000164c0 nop |
| }
0x000164c4 lw a0, 0x4120(fp) | a0 = *(arg_4120h);
0x000164c8 lw v0, 0x4118(fp) | v0 = *(arg_4118h);
0x000164cc lw v1, 0x411c(fp) | v1 = *(arg_411ch);
0x000164d0 sw v0, 0x5910(a0) | *((a0 + 5700)) = v0;
0x000164d4 sw v1, 0x5914(a0) | *((a0 + 5701)) = v1;
0x000164d8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000164dc lw v1, 0x3950(v0) | v1 = *((v0 + 3668));
0x000164e0 lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x000164e4 move s0, v0 | s0 = v0;
0x000164e8 sra v0, v0, 0x1f | v0 >>= 0x1f;
0x000164ec move s1, v0 | s1 = v0;
0x000164f0 sw s0, 0x10(sp) | *(arg_10h) = s0;
0x000164f4 sw s1, 0x14(sp) | *(arg_14h) = s1;
0x000164f8 move a0, v1 | a0 = v1;
0x000164fc lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00016500 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x00016504 lw v0, -0x790c(gp) | v0 = sym.hashTablePut;
0x00016508 move t9, v0 | t9 = v0;
0x0001650c jalr t9 | t9 ();
0x00016510 nop |
0x00016514 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016518 sw v0, 0xac(fp) | *(arg_ach) = v0;
0x0001651c lw v0, 0xac(fp) | v0 = *(arg_ach);
| if (v0 != 0) {
0x00016520 beqz v0, 0x16530 |
0x00016524 nop |
0x00016528 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x0001652c sw v0, 0x58(fp) | *(arg_58h) = v0;
| }
| label_2:
0x00016530 lw v0, 0x58(fp) | v0 = *(arg_58h);
| if (v0 != 0) {
0x00016534 beqz v0, 0x165a0 |
0x00016538 nop |
0x0001653c lw a0, 0x4118(fp) | a0 = *(arg_4118h);
0x00016540 lw a1, 0x411c(fp) | a1 = *(arg_411ch);
0x00016544 move v0, a0 | v0 = a0;
0x00016548 or v0, v0, a1 | v0 |= a1;
| if (v0 != 0) {
0x0001654c beqz v0, 0x1657c |
0x00016550 nop |
0x00016554 lw v0, -0x7e48(gp) | v0 = *(gp);
0x00016558 lw a2, (v0) | a2 = *(v0);
0x0001655c lw v0, 0x4118(fp) | v0 = *(arg_4118h);
0x00016560 lw v1, 0x411c(fp) | v1 = *(arg_411ch);
0x00016564 move a0, v0 | a0 = v0;
0x00016568 move a1, v1 | a1 = v1;
0x0001656c move t9, a2 | t9 = a2;
0x00016570 jalr t9 | t9 ();
0x00016574 nop |
0x00016578 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x0001657c addiu v0, fp, 0x4120 | v0 = fp + 0x4120;
0x00016580 move a0, v0 | a0 = v0;
0x00016584 lw v0, -0x7858(gp) | v0 = sym.freeCurlRequest;
0x00016588 move t9, v0 | t9 = v0;
0x0001658c jalr t9 | t9 ();
0x00016590 nop |
0x00016594 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016598 b 0x165e4 | goto label_5;
0x0001659c nop |
| }
0x000165a0 lw v0, 0x60(fp) | v0 = *(arg_60h);
| if (v0 != 0) {
0x000165a4 beqz v0, 0x165e4 |
0x000165a8 nop |
0x000165ac lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165b0 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x000165b4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165b8 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000165bc lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000165c0 lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x000165c4 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x000165c8 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x000165cc move a2, v0 | a2 = v0;
0x000165d0 move a3, v1 | a3 = v1;
0x000165d4 move t9, t0 | t9 = t0;
0x000165d8 jalr t9 | t9 ();
0x000165dc nop |
0x000165e0 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
| label_5:
0x000165e4 lw v0, 0x68(fp) | v0 = *(arg_68h);
| if (v0 != 0) {
0x000165e8 beqz v0, 0x16628 |
0x000165ec nop |
0x000165f0 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165f4 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x000165f8 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165fc lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016600 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016604 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016608 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001660c lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00016610 move a2, v0 | a2 = v0;
0x00016614 move a3, v1 | a3 = v1;
0x00016618 move t9, t0 | t9 = t0;
0x0001661c jalr t9 | t9 ();
0x00016620 nop |
0x00016624 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x00016628 lw v0, 0x64(fp) | v0 = *(arg_64h);
| if (v0 != 0) {
0x0001662c beqz v0, 0x1666c |
0x00016630 nop |
0x00016634 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016638 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001663c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016640 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016644 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016648 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001664c lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x00016650 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x00016654 move a2, v0 | a2 = v0;
0x00016658 move a3, v1 | a3 = v1;
0x0001665c move t9, t0 | t9 = t0;
0x00016660 jalr t9 | t9 ();
0x00016664 nop |
0x00016668 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x0001666c lw v0, 0x58(fp) | v0 = *(arg_58h);
0x00016670 move sp, fp |
0x00016674 lw ra, 0x4134(sp) | ra = *(arg_4134h);
0x00016678 lw fp, 0x4130(sp) | fp = *(arg_4130h);
0x0001667c lw s1, 0x412c(sp) | s1 = *(arg_412ch);
0x00016680 lw s0, 0x4128(sp) | s0 = *(arg_4128h);
0x00016684 addiu sp, sp, 0x4138 |
0x00016688 jr ra | return v0;
0x0001668c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x16690 */
| #include <stdint.h>
|
; (fcn) sym.createStreamCachingCurl () | void createStreamCachingCurl () {
0x00016690 lui gp, 8 |
0x00016694 addiu gp, gp, -0x55c0 |
0x00016698 addu gp, gp, t9 | gp += t9;
0x0001669c addiu sp, sp, -0x60 |
0x000166a0 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x000166a4 sw fp, 0x58(sp) | *(var_58h) = fp;
0x000166a8 move fp, sp | fp = sp;
0x000166ac sw gp, 0x28(sp) | *(var_28h) = gp;
0x000166b0 sw a0, 0x60(fp) | *(arg_60h) = a0;
0x000166b4 sw a1, 0x64(fp) | *(arg_64h) = a1;
0x000166b8 sw a2, 0x68(fp) | *(arg_68h) = a2;
0x000166bc sw a3, 0x6c(fp) | *(arg_6ch) = a3;
0x000166c0 sw zero, 0x30(fp) | *(var_30h) = 0;
0x000166c4 lw v0, 0x60(fp) | v0 = *(arg_60h);
0x000166c8 sw v0, 0x34(fp) | *(var_34h) = v0;
0x000166cc sw zero, 0x38(fp) | *(var_38h) = 0;
0x000166d0 addiu v0, zero, 1 | v0 = 1;
0x000166d4 sw v0, 0x50(fp) | *(var_50h) = v0;
0x000166d8 lw v0, 0x34(fp) | v0 = *(var_34h);
| if (v0 != 0) {
0x000166dc beqz v0, 0x16700 |
0x000166e0 nop |
0x000166e4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000166e8 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x000166ec beqz v0, 0x16700 | goto label_0;
| }
0x000166f0 nop |
0x000166f4 lw v0, 0x80(fp) | v0 = *(arg_80h);
| if (v0 != 0) {
0x000166f8 bnez v0, 0x16710 | goto label_1;
| }
0x000166fc nop |
| }
| label_0:
0x00016700 addiu v0, zero, 2 | v0 = 2;
0x00016704 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00016708 b 0x1687c | goto label_2;
0x0001670c nop |
| label_1:
0x00016710 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00016714 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00016718 sw v0, 0x38(fp) | *(var_38h) = v0;
0x0001671c lw v0, 0x80(fp) | v0 = *(arg_80h);
0x00016720 lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x00016724 lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x00016728 sw v0, 0x40(fp) | *(var_40h) = v0;
0x0001672c sw v1, 0x44(fp) | *(var_44h) = v1;
0x00016730 addiu v0, fp, 0x50 | v0 = fp + 0x50;
0x00016734 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016738 lw a0, 0x34(fp) | a0 = *(var_34h);
0x0001673c lw a2, 0x40(fp) | a2 = *(var_40h);
0x00016740 lw a3, 0x44(fp) | a3 = *(var_44h);
0x00016744 lw v0, -0x7dc4(gp) | v0 = sym.checkApiCallEmulation;
0x00016748 move t9, v0 | t9 = v0;
0x0001674c jalr t9 | t9 ();
0x00016750 nop |
0x00016754 lw gp, 0x28(fp) | gp = *(var_28h);
0x00016758 sw v0, 0x48(fp) | *(var_48h) = v0;
0x0001675c lw v0, 0x48(fp) | v0 = *(var_48h);
| if (v0 != 0) {
0x00016760 beqz v0, 0x16778 |
0x00016764 nop |
0x00016768 lw v0, 0x48(fp) | v0 = *(var_48h);
0x0001676c sw v0, 0x30(fp) | *(var_30h) = v0;
0x00016770 b 0x1687c | goto label_2;
0x00016774 nop |
| }
0x00016778 lw v0, 0x50(fp) | v0 = *(var_50h);
| if (v0 == 0) {
0x0001677c bnez v0, 0x167f0 |
0x00016780 nop |
0x00016784 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016788 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001678c lw v0, 0x74(fp) | v0 = *(arg_74h);
0x00016790 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00016794 lw v0, 0x78(fp) | v0 = *(arg_78h);
0x00016798 lw v1, 0x7c(fp) | v1 = *(arg_7ch);
0x0001679c sw v0, 0x18(sp) | *(var_18h) = v0;
0x000167a0 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x000167a4 lw v0, 0x80(fp) | v0 = *(arg_80h);
0x000167a8 sw v0, 0x20(sp) | *(var_20h) = v0;
0x000167ac lw a0, 0x60(fp) | a0 = *(arg_60h);
0x000167b0 lw a1, 0x64(fp) | a1 = *(arg_64h);
0x000167b4 lw a2, 0x68(fp) | a2 = *(arg_68h);
0x000167b8 lw a3, 0x6c(fp) | a3 = *(arg_6ch);
0x000167bc lw v0, -0x7f8c(gp) | v0 = sym.createStreamCurl;
0x000167c0 move t9, v0 | t9 = v0;
0x000167c4 jalr t9 | t9 ();
0x000167c8 nop |
0x000167cc lw gp, 0x28(fp) | gp = *(var_28h);
0x000167d0 sw v0, 0x4c(fp) | *(var_4ch) = v0;
0x000167d4 lw v0, 0x4c(fp) | v0 = *(var_4ch);
| if (v0 == 0) {
0x000167d8 beqz v0, 0x16878 | goto label_3;
| }
0x000167dc nop |
0x000167e0 lw v0, 0x4c(fp) | v0 = *(var_4ch);
0x000167e4 sw v0, 0x30(fp) | *(var_30h) = v0;
0x000167e8 b 0x1687c | goto label_2;
0x000167ec nop |
| }
0x000167f0 lw v0, -0x7f44(gp) | v0 = *(gp);
0x000167f4 lw v0, (v0) | v0 = *(v0);
0x000167f8 addiu a0, zero, 1 | a0 = 1;
0x000167fc lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x00016800 addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x00016804 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_No_op_CreateStream_API_call */
0x00016808 addiu a2, v1, 0x3500 | a2 = v1 + 0x3500;
0x0001680c lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9208 */
0x00016810 addiu a3, v1, 0x3b58 | a3 = v1 + 0x3b58;
0x00016814 move t9, v0 | t9 = v0;
0x00016818 jalr t9 | t9 ();
0x0001681c nop |
0x00016820 lw gp, 0x28(fp) | gp = *(var_28h);
0x00016824 lw a0, 0x40(fp) | a0 = *(var_40h);
0x00016828 lw a1, 0x44(fp) | a1 = *(var_44h);
0x0001682c addiu a2, zero, 0xc8 | a2 = 0xc8;
0x00016830 lw a3, 0x6c(fp) | a3 = *(arg_6ch);
0x00016834 lw v0, -0x7728(gp) | v0 = sym.createStreamResultEvent;
0x00016838 move t9, v0 | t9 = v0;
0x0001683c jalr t9 | t9 ();
0x00016840 nop |
0x00016844 lw gp, 0x28(fp) | gp = *(var_28h);
0x00016848 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0001684c lw a0, 0x38(fp) | a0 = *(var_38h);
0x00016850 lw a1, 0x30(fp) | a1 = *(var_30h);
0x00016854 lw a2, 0x40(fp) | a2 = *(var_40h);
0x00016858 lw a3, 0x44(fp) | a3 = *(var_44h);
0x0001685c lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x00016860 move t9, v0 | t9 = v0;
0x00016864 jalr t9 | t9 ();
0x00016868 nop |
0x0001686c lw gp, 0x28(fp) | gp = *(var_28h);
0x00016870 b 0x1687c | goto label_2;
0x00016874 nop |
| label_3:
0x00016878 nop |
| label_2:
0x0001687c lw v0, 0x30(fp) | v0 = *(var_30h);
0x00016880 move sp, fp |
0x00016884 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x00016888 lw fp, 0x58(sp) | fp = *(var_58h);
0x0001688c addiu sp, sp, 0x60 |
0x00016890 jr ra | return v0;
0x00016894 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x16898 */
| #include <stdint.h>
|
; (fcn) sym.createStreamCurlHandler () | void createStreamCurlHandler () {
0x00016898 lui gp, 8 |
0x0001689c addiu gp, gp, -0x57c8 |
0x000168a0 addu gp, gp, t9 | gp += t9;
0x000168a4 addiu sp, sp, -0xec8 |
0x000168a8 sw ra, 0xec4(sp) | *(var_ec4h) = ra;
0x000168ac sw fp, 0xec0(sp) | *(var_ec0h) = fp;
0x000168b0 move fp, sp | fp = sp;
0x000168b4 sw gp, 0x20(sp) | *(var_20h) = gp;
0x000168b8 sw a0, 0xec8(fp) | *(arg_ec8h) = a0;
0x000168bc sw zero, 0x28(fp) | *(var_28h) = 0;
0x000168c0 lw v0, 0xec8(fp) | v0 = *(arg_ec8h);
0x000168c4 sw v0, 0x38(fp) | *(var_38h) = v0;
0x000168c8 sw zero, 0x3c(fp) | *(var_3ch) = 0;
0x000168cc sw zero, 0x40(fp) | *(var_40h) = 0;
0x000168d0 sw zero, 0x44(fp) | *(var_44h) = 0;
0x000168d4 move v0, zero | v0 = 0;
0x000168d8 move v1, zero | v1 = 0;
0x000168dc sw v0, 0x48(fp) | *(var_48h) = v0;
0x000168e0 sw v1, 0x4c(fp) | *(var_4ch) = v1;
0x000168e4 sw zero, 0x34(fp) | *(var_34h) = 0;
0x000168e8 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x000168ec beqz v0, 0x16928 |
0x000168f0 nop |
0x000168f4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x000168f8 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
| if (v0 == 0) {
0x000168fc beqz v0, 0x16928 | goto label_0;
| }
0x00016900 nop |
0x00016904 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016908 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001690c lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00016910 beqz v0, 0x16928 | goto label_0;
| }
0x00016914 nop |
0x00016918 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0001691c lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x00016920 bnez v0, 0x16934 | goto label_1;
| }
0x00016924 nop |
| }
| label_0:
0x00016928 addiu v0, zero, 1 | v0 = 1;
0x0001692c b 0x16938 | goto label_2;
0x00016930 nop |
| label_1:
0x00016934 move v0, zero | v0 = 0;
| label_2:
0x00016938 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x0001693c andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 != 0) {
0x00016940 beqz v0, 0x16974 |
0x00016944 nop |
0x00016948 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x0001694c addiu a0, v0, 0x3524 | a0 = v0 + 0x3524;
0x00016950 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._home_derek_kvs_3.0.0_amazon_kinesis_video_streams_producer_sdk_cpp_open_source_amazon_kinesis_video_streams_producer_c_src_source_CurlApiCallbacks.c */
0x00016954 addiu a1, v0, 0x3528 | a1 = v0 + 0x3528;
0x00016958 addiu a2, zero, 0x447 | a2 = 0x447;
0x0001695c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__PRETTY_FUNCTION__.9229 */
0x00016960 addiu a3, v0, 0x3b28 | a3 = v0 + 0x3b28;
0x00016964 lw v0, -0x77c0(gp) | v0 = sym.imp.__assert;
0x00016968 move t9, v0 | t9 = v0;
0x0001696c jalr t9 | t9 ();
0x00016970 nop |
| }
0x00016974 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016978 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001697c sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x00016980 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x00016984 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00016988 sw v0, 0x40(fp) | *(var_40h) = v0;
0x0001698c sb zero, 0x70(fp) | *(var_70h) = 0;
0x00016990 lw v0, -0x7f44(gp) | v0 = *(gp);
0x00016994 lw v0, (v0) | v0 = *(v0);
0x00016998 lw v1, 0x38(fp) | v1 = *(var_38h);
0x0001699c lw v1, 0x5904(v1) | v1 = *((v1 + 5697));
0x000169a0 sw v1, 0x10(sp) | *(var_10h) = v1;
0x000169a4 addiu a0, zero, 2 | a0 = 2;
0x000169a8 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x000169ac addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x000169b0 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_createStreamCurlHandler_response__p */
0x000169b4 addiu a2, v1, 0x35c0 | a2 = v1 + 0x35c0;
0x000169b8 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9230 */
0x000169bc addiu a3, v1, 0x3b40 | a3 = v1 + 0x3b40;
0x000169c0 move t9, v0 | t9 = v0;
0x000169c4 jalr t9 | t9 ();
0x000169c8 nop |
0x000169cc lw gp, 0x20(fp) | gp = *(var_20h);
0x000169d0 lw v0, 0x40(fp) | v0 = *(var_40h);
0x000169d4 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x000169d8 lw v0, 0x40(fp) | v0 = *(var_40h);
0x000169dc lw a0, 8(v0) | a0 = *((v0 + 2));
0x000169e0 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000169e4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x000169e8 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x000169ec lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x000169f0 move a2, v0 | a2 = v0;
0x000169f4 move a3, v1 | a3 = v1;
0x000169f8 move t9, t0 | t9 = t0;
0x000169fc jalr t9 | t9 ();
0x00016a00 nop |
0x00016a04 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016a08 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00016a0c lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00016a10 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00016a14 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016a18 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016a1c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016a20 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00016a24 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00016a28 move a2, v0 | a2 = v0;
0x00016a2c move a3, v1 | a3 = v1;
0x00016a30 move t9, t0 | t9 = t0;
0x00016a34 jalr t9 | t9 ();
0x00016a38 nop |
0x00016a3c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016a40 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016a44 addiu v0, v0, 8 | v0 += 8;
0x00016a48 move a0, v0 | a0 = v0;
0x00016a4c lw v0, -0x78a4(gp) | v0 = sym.signAwsRequestInfo;
0x00016a50 move t9, v0 | t9 = v0;
0x00016a54 jalr t9 | t9 ();
0x00016a58 nop |
0x00016a5c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016a60 sw v0, 0x50(fp) | *(var_50h) = v0;
0x00016a64 lw v0, 0x50(fp) | v0 = *(var_50h);
| if (v0 != 0) {
0x00016a68 beqz v0, 0x16a80 |
0x00016a6c nop |
0x00016a70 lw v0, 0x50(fp) | v0 = *(var_50h);
0x00016a74 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016a78 b 0x16dd4 | goto label_3;
0x00016a7c nop |
| }
0x00016a80 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016a84 lw v1, 0x57bc(v0) | v1 = *((v0 + 5615));
0x00016a88 lw v0, 0x57b8(v0) | v0 = *((v0 + 5614));
0x00016a8c lw a0, 0x38(fp) | a0 = *(var_38h);
0x00016a90 lw a1, 0x57d4(a0) | a1 = *((a0 + 5621));
0x00016a94 lw a0, 0x57d0(a0) | a0 = *((a0 + 5620));
0x00016a98 sltu a2, v1, a1 | a2 = (v1 < a1) ? 1 : 0;
| if (a2 == 0) {
0x00016a9c bnez a2, 0x16abc |
0x00016aa0 nop |
0x00016aa4 move a2, v1 | a2 = v1;
| if (a1 != a2) {
0x00016aa8 bne a1, a2, 0x16b08 | goto label_4;
| }
0x00016aac nop |
0x00016ab0 sltu v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
| if (v0 == 0) {
0x00016ab4 beqz v0, 0x16b08 | goto label_4;
| }
0x00016ab8 nop |
| }
0x00016abc lw v0, -0x799c(gp) | v0 = *(gp);
0x00016ac0 lw t0, (v0) | t0 = *(v0);
0x00016ac4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016ac8 lw a0, 0x57d0(v0) | a0 = *((v0 + 5620));
0x00016acc lw a1, 0x57d4(v0) | a1 = *((v0 + 5621));
0x00016ad0 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016ad4 lw a2, 0x57b8(v0) | a2 = *((v0 + 5614));
0x00016ad8 lw a3, 0x57bc(v0) | a3 = *((v0 + 5615));
0x00016adc subu v0, a0, a2 | __asm ("subu v0, a0, a2");
0x00016ae0 sltu t1, a0, v0 | t1 = (a0 < v0) ? 1 : 0;
0x00016ae4 subu v1, a1, a3 | __asm ("subu v1, a1, a3");
0x00016ae8 subu a0, v1, t1 | __asm ("subu a0, v1, t1");
0x00016aec move v1, a0 | v1 = a0;
0x00016af0 move a0, v0 | a0 = v0;
0x00016af4 move a1, v1 | a1 = v1;
0x00016af8 move t9, t0 | t9 = t0;
0x00016afc jalr t9 | t9 ();
0x00016b00 nop |
0x00016b04 lw gp, 0x20(fp) | gp = *(var_20h);
| label_4:
0x00016b08 lw a0, 0x38(fp) | a0 = *(var_38h);
0x00016b0c lw v0, -0x7450(gp) | v0 = sym.curlCallApi;
0x00016b10 move t9, v0 | t9 = v0;
0x00016b14 jalr t9 | t9 ();
0x00016b18 nop |
0x00016b1c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016b20 sw v0, 0x54(fp) | *(var_54h) = v0;
0x00016b24 lw v0, 0x54(fp) | v0 = *(var_54h);
| if (v0 != 0) {
0x00016b28 beqz v0, 0x16b40 |
0x00016b2c nop |
0x00016b30 lw v0, 0x54(fp) | v0 = *(var_54h);
0x00016b34 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016b38 b 0x16dd4 | goto label_3;
0x00016b3c nop |
| }
0x00016b40 lw v0, -0x7eb4(gp) | v0 = *(gp);
0x00016b44 lw v0, (v0) | v0 = *(v0);
0x00016b48 lw v1, 0x38(fp) | v1 = *(var_38h);
0x00016b4c addiu v1, v1, 8 | v1 += 8;
0x00016b50 move a0, v1 | a0 = v1;
0x00016b54 move t9, v0 | t9 = v0;
0x00016b58 jalr t9 | t9 ();
0x00016b5c nop |
0x00016b60 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00016b64 bnez v0, 0x16dd4 | goto label_3;
| }
0x00016b68 nop |
0x00016b6c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016b70 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x00016b74 sw v0, 0x44(fp) | *(var_44h) = v0;
0x00016b78 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00016b7c lw v0, 0x14(v0) | v0 = *((v0 + 5));
| if (v0 == 0) {
0x00016b80 bnez v0, 0x16b98 |
0x00016b84 nop |
0x00016b88 addiu v0, zero, 0xd | v0 = 0xd;
0x00016b8c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016b90 b 0x16dd4 | goto label_3;
0x00016b94 nop |
| }
0x00016b98 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00016b9c lw v0, 0x124(v0) | v0 = *(v0);
0x00016ba0 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00016ba4 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00016ba8 lw v0, 0x128(v0) | v0 = *(v0);
0x00016bac sw v0, 0x5c(fp) | *(var_5ch) = v0;
0x00016bb0 lw v0, -0x7f44(gp) | v0 = *(gp);
0x00016bb4 lw v0, (v0) | v0 = *(v0);
0x00016bb8 lw v1, 0x5c(fp) | v1 = *(var_5ch);
0x00016bbc sw v1, 0x10(sp) | *(var_10h) = v1;
0x00016bc0 lw v1, 0x58(fp) | v1 = *(var_58h);
0x00016bc4 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00016bc8 addiu a0, zero, 2 | a0 = 2;
0x00016bcc lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x00016bd0 addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x00016bd4 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_CreateStream_API_response:__.s */
0x00016bd8 addiu a2, v1, 0x35ec | a2 = v1 + 0x35ec;
0x00016bdc lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9230 */
0x00016be0 addiu a3, v1, 0x3b40 | a3 = v1 + 0x3b40;
0x00016be4 move t9, v0 | t9 = v0;
0x00016be8 jalr t9 | t9 ();
0x00016bec nop |
0x00016bf0 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016bf4 addiu v0, fp, 0x874 | v0 = fp + 0x874;
0x00016bf8 move a0, v0 | a0 = v0;
0x00016bfc lw v0, -0x7ab0(gp) | v0 = sym.jsmn_init;
0x00016c00 move t9, v0 | t9 = v0;
0x00016c04 jalr t9 | t9 ();
0x00016c08 nop |
0x00016c0c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016c10 addiu v1, fp, 0x874 | v1 = fp + 0x874;
0x00016c14 addiu v0, fp, 0x880 | v0 = fp + 0x880;
0x00016c18 addiu a0, zero, 0x64 | a0 = 0x64;
0x00016c1c sw a0, 0x10(sp) | *(var_10h) = a0;
0x00016c20 move a0, v1 | a0 = v1;
0x00016c24 lw a1, 0x58(fp) | a1 = *(var_58h);
0x00016c28 lw a2, 0x5c(fp) | a2 = *(var_5ch);
0x00016c2c move a3, v0 | a3 = v0;
0x00016c30 lw v0, -0x77e0(gp) | v0 = sym.jsmn_parse;
0x00016c34 move t9, v0 | t9 = v0;
0x00016c38 jalr t9 | t9 ();
0x00016c3c nop |
0x00016c40 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016c44 sw v0, 0x60(fp) | *(var_60h) = v0;
0x00016c48 lw v0, 0x60(fp) | v0 = *(var_60h);
0x00016c4c slti v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
| if (v0 != 0) {
0x00016c50 beqz v0, 0x16c6c |
0x00016c54 nop |
0x00016c58 lui v0, 0x1500 | v0 = 0x1500000c;
0x00016c5c ori v0, v0, 0xc |
0x00016c60 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016c64 b 0x16dd4 | goto label_3;
0x00016c68 nop |
| }
0x00016c6c lw v1, 0x880(fp) | v1 = *(var_880h);
0x00016c70 addiu v0, zero, 1 | v0 = 1;
| if (v1 != v0) {
0x00016c74 beq v1, v0, 0x16c90 |
0x00016c78 nop |
0x00016c7c lui v0, 0x1500 | v0 = 0x1500000c;
0x00016c80 ori v0, v0, 0xc |
0x00016c84 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016c88 b 0x16dd4 | goto label_3;
0x00016c8c nop |
| }
0x00016c90 addiu v0, zero, 1 | v0 = 1;
0x00016c94 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x00016c98 sw zero, 0x30(fp) | *(var_30h) = 0;
0x00016c9c b 0x16db4 | goto label_5;
0x00016ca0 nop |
| do {
0x00016ca4 addiu v1, fp, 0x880 | v1 = fp + 0x880;
0x00016ca8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016cac sll v0, v0, 4 | v0 <<= 4;
0x00016cb0 addu v0, v1, v0 | v0 = v1 + v0;
0x00016cb4 lw a0, 0x58(fp) | a0 = *(var_58h);
0x00016cb8 move a1, v0 | a1 = v0;
0x00016cbc addiu a2, zero, 3 | a2 = 3;
0x00016cc0 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.StreamARN */
0x00016cc4 addiu a3, v0, 0x3614 | a3 = v0 + 0x3614;
0x00016cc8 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00016ccc move t9, v0 | t9 = v0;
0x00016cd0 jalr t9 | t9 ();
0x00016cd4 nop |
0x00016cd8 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00016cdc beqz v0, 0x16da8 |
0x00016ce0 nop |
0x00016ce4 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016ce8 addiu v0, v0, 1 | v0++;
0x00016cec sll v0, v0, 4 | v0 <<= 4;
0x00016cf0 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00016cf4 addu v0, v1, v0 | v0 = v1 + v0;
0x00016cf8 lw v1, 0x860(v0) | v1 = *(var_860h);
0x00016cfc lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016d00 addiu v0, v0, 1 | v0++;
0x00016d04 sll v0, v0, 4 | v0 <<= 4;
0x00016d08 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00016d0c addu v0, a0, v0 | v0 = a0 + v0;
0x00016d10 lw v0, 0x85c(v0) | v0 = *(var_85ch);
0x00016d14 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00016d18 sw v0, 0x64(fp) | *(var_64h) = v0;
0x00016d1c lw v0, 0x64(fp) | v0 = *(var_64h);
0x00016d20 sltiu v0, v0, 0x801 | v0 = (v0 < 0x801) ? 1 : 0;
| if (v0 == 0) {
0x00016d24 bnez v0, 0x16d40 |
0x00016d28 nop |
0x00016d2c lui v0, 0x1500 | v0 = 0x1500000c;
0x00016d30 ori v0, v0, 0xc |
0x00016d34 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016d38 b 0x16dd4 | goto label_3;
0x00016d3c nop |
| }
0x00016d40 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016d44 addiu v0, v0, 1 | v0++;
0x00016d48 sll v0, v0, 4 | v0 <<= 4;
0x00016d4c addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00016d50 addu v0, v1, v0 | v0 = v1 + v0;
0x00016d54 lw v0, 0x85c(v0) | v0 = *(var_85ch);
0x00016d58 lw v1, 0x58(fp) | v1 = *(var_58h);
0x00016d5c addu v0, v1, v0 | v0 = v1 + v0;
0x00016d60 addiu v1, fp, 0x70 | v1 = fp + 0x70;
0x00016d64 move a0, v1 | a0 = v1;
0x00016d68 move a1, v0 | a1 = v0;
0x00016d6c lw a2, 0x64(fp) | a2 = *(var_64h);
0x00016d70 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x00016d74 move t9, v0 | t9 = v0;
0x00016d78 jalr t9 | t9 ();
0x00016d7c nop |
0x00016d80 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016d84 lw v0, 0x64(fp) | v0 = *(var_64h);
0x00016d88 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00016d8c addu v0, v1, v0 | v0 = v1 + v0;
0x00016d90 sb zero, 0x48(v0) | *(var_70h) = 0;
0x00016d94 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016d98 addiu v0, v0, 1 | v0++;
0x00016d9c sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x00016da0 addiu v0, zero, 1 | v0 = 1;
0x00016da4 sw v0, 0x30(fp) | *(var_30h) = v0;
| }
0x00016da8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016dac addiu v0, v0, 1 | v0++;
0x00016db0 sw v0, 0x2c(fp) | *(var_2ch) = v0;
| label_5:
0x00016db4 lw v1, 0x60(fp) | v1 = *(var_60h);
0x00016db8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016dbc sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
| if (v0 == 0) {
0x00016dc0 beqz v0, 0x16dd4 | goto label_3;
| }
0x00016dc4 nop |
0x00016dc8 lw v0, 0x30(fp) | v0 = *(var_30h);
0x00016dcc beqz v0, 0x16ca4 |
| } while (v0 == 0);
0x00016dd0 nop |
| label_3:
0x00016dd4 lw v0, 0x28(fp) | v0 = *(var_28h);
0x00016dd8 sw v0, 0x68(fp) | *(var_68h) = v0;
0x00016ddc lw v0, 0x68(fp) | v0 = *(var_68h);
| if (v0 != 0) {
0x00016de0 beqz v0, 0x16e24 |
0x00016de4 nop |
0x00016de8 lw v0, -0x7f44(gp) | v0 = *(gp);
0x00016dec lw v0, (v0) | v0 = *(v0);
0x00016df0 lw v1, 0x68(fp) | v1 = *(var_68h);
0x00016df4 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00016df8 addiu a0, zero, 5 | a0 = 5;
0x00016dfc lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x00016e00 addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x00016e04 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: '&s(): operation returned status code: 0x&x' */
0x00016e08 addiu a2, v1, 0x3308 | a2 = v1 + 0x3308;
0x00016e0c lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9230 */
0x00016e10 addiu a3, v1, 0x3b40 | a3 = v1 + 0x3b40;
0x00016e14 move t9, v0 | t9 = v0;
0x00016e18 jalr t9 | t9 ();
0x00016e1c nop |
0x00016e20 lw gp, 0x20(fp) | gp = *(var_20h);
| }
0x00016e24 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e28 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x00016e2c beqz v0, 0x16e44 |
0x00016e30 nop |
0x00016e34 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e38 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x00016e3c lw v0, 0x14(v0) | v0 = *((v0 + 5));
0x00016e40 sw v0, 0x34(fp) | *(var_34h) = v0;
| }
0x00016e44 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e48 move a0, zero | a0 = 0;
0x00016e4c move a1, zero | a1 = 0;
0x00016e50 sw a0, 0x5910(v0) | *((v0 + 5700)) = a0;
0x00016e54 sw a1, 0x5914(v0) | *((v0 + 5701)) = a1;
0x00016e58 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e5c lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x00016e60 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x00016e64 sw v0, 0x48(fp) | *(var_48h) = v0;
0x00016e68 sw v1, 0x4c(fp) | *(var_4ch) = v1;
0x00016e6c lw v0, -0x7eb4(gp) | v0 = *(gp);
0x00016e70 lw v0, (v0) | v0 = *(v0);
0x00016e74 lw v1, 0x38(fp) | v1 = *(var_38h);
0x00016e78 addiu v1, v1, 8 | v1 += 8;
0x00016e7c move a0, v1 | a0 = v1;
0x00016e80 move t9, v0 | t9 = v0;
0x00016e84 jalr t9 | t9 ();
0x00016e88 nop |
0x00016e8c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016e90 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00016e94 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e98 lw a2, 0x5900(v0) | a2 = *((v0 + 5696));
0x00016e9c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016ea0 lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x00016ea4 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x00016ea8 lui a0, 7 | a0 = 0x7a120;
0x00016eac ori a0, a0, 0xa120 |
0x00016eb0 move a1, zero | a1 = 0;
0x00016eb4 sw a0, 0x10(sp) | *(var_10h) = a0;
0x00016eb8 sw a1, 0x14(sp) | *(var_14h) = a1;
0x00016ebc addiu a0, zero, 1 | a0 = 1;
0x00016ec0 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00016ec4 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x00016ec8 move a0, a2 | a0 = a2;
0x00016ecc move a2, v0 | a2 = v0;
0x00016ed0 move a3, v1 | a3 = v1;
0x00016ed4 lw v0, -0x7870(gp) | v0 = sym.curlApiCallbacksShutdownActiveRequests;
0x00016ed8 move t9, v0 | t9 = v0;
0x00016edc jalr t9 | t9 ();
0x00016ee0 nop |
0x00016ee4 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016ee8 lw v0, 0x6c(fp) | v0 = *(var_6ch);
| if (v0 == 0) {
0x00016eec bnez v0, 0x16f44 |
0x00016ef0 nop |
0x00016ef4 addiu v0, fp, 0x70 | v0 = fp + 0x70;
0x00016ef8 lw a0, 0x48(fp) | a0 = *(var_48h);
0x00016efc lw a1, 0x4c(fp) | a1 = *(var_4ch);
0x00016f00 lw a2, 0x34(fp) | a2 = *(var_34h);
0x00016f04 move a3, v0 | a3 = v0;
0x00016f08 lw v0, -0x7728(gp) | v0 = sym.createStreamResultEvent;
0x00016f0c move t9, v0 | t9 = v0;
0x00016f10 jalr t9 | t9 ();
0x00016f14 nop |
0x00016f18 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016f1c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016f20 lw a0, 0x40(fp) | a0 = *(var_40h);
0x00016f24 lw a1, 0x28(fp) | a1 = *(var_28h);
0x00016f28 lw a2, 0x48(fp) | a2 = *(var_48h);
0x00016f2c lw a3, 0x4c(fp) | a3 = *(var_4ch);
0x00016f30 lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x00016f34 move t9, v0 | t9 = v0;
0x00016f38 jalr t9 | t9 ();
0x00016f3c nop |
0x00016f40 lw gp, 0x20(fp) | gp = *(var_20h);
| }
0x00016f44 lw v0, 0x28(fp) | v0 = *(var_28h);
0x00016f48 move sp, fp |
0x00016f4c lw ra, 0xec4(sp) | ra = *(var_ec4h);
0x00016f50 lw fp, 0xec0(sp) | fp = *(var_ec0h);
0x00016f54 addiu sp, sp, 0xec8 |
0x00016f58 jr ra | return v0;
0x00016f5c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x24950 */
| #include <stdint.h>
|
; (fcn) sym.createStreamCallbacks () | void createStreamCallbacks () {
0x00024950 lui gp, 7 |
0x00024954 addiu gp, gp, -0x3880 |
0x00024958 addu gp, gp, t9 | gp += t9;
0x0002495c addiu sp, sp, -0x30 |
0x00024960 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x00024964 sw fp, 0x28(sp) | *(var_28h) = fp;
0x00024968 sw s1, 0x24(sp) | *(var_24h) = s1;
0x0002496c sw s0, 0x20(sp) | *(var_20h) = s0;
0x00024970 move fp, sp | fp = sp;
0x00024974 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00024978 sw a0, 0x30(fp) | *(arg_30h) = a0;
0x0002497c sw zero, 0x18(fp) | *(var_18h) = 0;
0x00024980 sw zero, 0x1c(fp) | *(var_1ch) = 0;
0x00024984 lw v0, 0x30(fp) | v0 = *(arg_30h);
| if (v0 == 0) {
0x00024988 bnez v0, 0x249a0 |
0x0002498c nop |
0x00024990 addiu v0, zero, 1 | v0 = 1;
0x00024994 sw v0, 0x18(fp) | *(var_18h) = v0;
0x00024998 b 0x24aa0 | goto label_0;
0x0002499c nop |
| }
0x000249a0 lw v0, -0x7620(gp) | v0 = *(gp);
0x000249a4 lw v0, (v0) | v0 = *(v0);
0x000249a8 addiu a0, zero, 1 | a0 = 1;
0x000249ac addiu a1, zero, 0x48 | a1 = 0x48;
0x000249b0 move t9, v0 | t9 = v0;
0x000249b4 jalr t9 | t9 ();
0x000249b8 nop |
0x000249bc lw gp, 0x10(fp) | gp = *(var_10h);
0x000249c0 sw v0, 0x1c(fp) | *(var_1ch) = v0;
0x000249c4 lw v0, 0x1c(fp) | v0 = *(var_1ch);
| if (v0 == 0) {
0x000249c8 bnez v0, 0x249e0 |
0x000249cc nop |
0x000249d0 addiu v0, zero, 4 | v0 = 4;
0x000249d4 sw v0, 0x18(fp) | *(var_18h) = v0;
0x000249d8 b 0x24aa0 | goto label_0;
0x000249dc nop |
| }
0x000249e0 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x000249e4 sw zero, (v0) | *(v0) = 0;
0x000249e8 lw v1, 0x1c(fp) | v1 = *(var_1ch);
0x000249ec lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x000249f0 move s0, v0 | s0 = v0;
0x000249f4 sra v0, v0, 0x1f | v0 >>= 0x1f;
0x000249f8 move s1, v0 | s1 = v0;
0x000249fc sw s0, 8(v1) | *((v1 + 2)) = s0;
0x00024a00 sw s1, 0xc(v1) | *((v1 + 3)) = s1;
0x00024a04 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a08 lw v1, -0x7f14(gp) | v1 = sym.defaultStreamUnderflowCallback;
0x00024a0c sw v1, 0x10(v0) | *((v0 + 4)) = v1;
0x00024a10 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a14 lw v1, -0x7cd0(gp) | v1 = sym.defaultBufferDurationOverflowCallback;
0x00024a18 sw v1, 0x14(v0) | *((v0 + 5)) = v1;
0x00024a1c lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a20 lw v1, -0x7a44(gp) | v1 = sym.defaultStreamLatencyPressureCallback;
0x00024a24 sw v1, 0x18(v0) | *((v0 + 6)) = v1;
0x00024a28 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a2c lw v1, -0x7374(gp) | v1 = *(gp);
0x00024a30 sw v1, 0x1c(v0) | *((v0 + 7)) = v1;
0x00024a34 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a38 lw v1, -0x7760(gp) | v1 = sym.defaultDroppedFrameReportCallback;
0x00024a3c sw v1, 0x20(v0) | *((v0 + 8)) = v1;
0x00024a40 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a44 lw v1, -0x794c(gp) | v1 = sym.defaultDroppedFragmentReportCallback;
0x00024a48 sw v1, 0x24(v0) | *((v0 + 9)) = v1;
0x00024a4c lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a50 lw v1, -0x7e54(gp) | v1 = sym.defaultStreamErrorReportCallback;
0x00024a54 sw v1, 0x28(v0) | *((v0 + 10)) = v1;
0x00024a58 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a5c lw v1, -0x7df4(gp) | v1 = sym.defaultFragmentAckReceivedCallback;
0x00024a60 sw v1, 0x2c(v0) | *((v0 + 11)) = v1;
0x00024a64 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a68 lw v1, -0x7af4(gp) | v1 = sym.defaultStreamDataAvailableCallback;
0x00024a6c sw v1, 0x30(v0) | *((v0 + 12)) = v1;
0x00024a70 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a74 lw v1, -0x7e3c(gp) | v1 = sym.defaultStreamReadyCallback;
0x00024a78 sw v1, 0x34(v0) | *((v0 + 13)) = v1;
0x00024a7c lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a80 lw v1, -0x762c(gp) | v1 = sym.defaultStreamClosedCallback;
0x00024a84 sw v1, 0x38(v0) | *((v0 + 14)) = v1;
0x00024a88 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a8c lw v1, -0x7d3c(gp) | v1 = sym.defaultStreamShutdownCallback;
0x00024a90 sw v1, 0x3c(v0) | *((v0 + 15)) = v1;
0x00024a94 lw v0, 0x1c(fp) | v0 = *(var_1ch);
0x00024a98 lw v1, -0x7a24(gp) | v1 = sym.defaultFreeStreamCallbacksFn;
0x00024a9c sw v1, 0x40(v0) | *((v0 + 16)) = v1;
| label_0:
0x00024aa0 lw v0, 0x18(fp) | v0 = *(var_18h);
| if (v0 != 0) {
0x00024aa4 beqz v0, 0x24acc |
0x00024aa8 nop |
0x00024aac addiu v0, fp, 0x1c | v0 = fp + 0x1c;
0x00024ab0 move a0, v0 | a0 = v0;
0x00024ab4 lw v0, -0x7c3c(gp) | v0 = sym.freeStreamCallbacks;
0x00024ab8 move t9, v0 | t9 = v0;
0x00024abc jalr t9 | t9 ();
0x00024ac0 nop |
0x00024ac4 lw gp, 0x10(fp) | gp = *(var_10h);
0x00024ac8 sw zero, 0x1c(fp) | *(var_1ch) = 0;
| }
0x00024acc lw v0, 0x1c(fp) | v0 = *(var_1ch);
| if (v0 != 0) {
0x00024ad0 beqz v0, 0x24ae4 |
0x00024ad4 nop |
0x00024ad8 lw v1, 0x1c(fp) | v1 = *(var_1ch);
0x00024adc lw v0, 0x30(fp) | v0 = *(arg_30h);
0x00024ae0 sw v1, (v0) | *(v0) = v1;
| }
0x00024ae4 lw v0, 0x18(fp) | v0 = *(var_18h);
0x00024ae8 move sp, fp |
0x00024aec lw ra, 0x2c(sp) | ra = *(var_2ch);
0x00024af0 lw fp, 0x28(sp) | fp = *(var_28h);
0x00024af4 lw s1, 0x24(sp) | s1 = *(var_24h);
0x00024af8 lw s0, 0x20(sp) | s0 = *(var_20h);
0x00024afc addiu sp, sp, 0x30 |
0x00024b00 jr ra | return v0;
0x00024b04 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x2a81c */
| #include <stdint.h>
|
; (fcn) sym.createStreamResultEvent () | void createStreamResultEvent () {
0x0002a81c lui gp, 6 |
0x0002a820 addiu gp, gp, 0x68b4 |
0x0002a824 addu gp, gp, t9 | gp += t9;
0x0002a828 addiu sp, sp, -0x48 |
0x0002a82c sw ra, 0x44(sp) | *(var_44h) = ra;
0x0002a830 sw fp, 0x40(sp) | *(var_40h) = fp;
0x0002a834 move fp, sp | fp = sp;
0x0002a838 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0002a83c sw a0, 0x48(fp) | *(arg_48h) = a0;
0x0002a840 sw a1, 0x4c(fp) | *(arg_4ch) = a1;
0x0002a844 sw a2, 0x50(fp) | *(arg_50h) = a2;
0x0002a848 sw a3, 0x54(fp) | *(arg_54h) = a3;
0x0002a84c sw zero, 0x20(fp) | *(var_20h) = 0;
0x0002a850 sw zero, 0x24(fp) | *(var_24h) = 0;
0x0002a854 sw zero, 0x28(fp) | *(var_28h) = 0;
0x0002a858 lw a0, 0x48(fp) | a0 = *(arg_48h);
0x0002a85c lw a1, 0x4c(fp) | a1 = *(arg_4ch);
0x0002a860 lw v0, -0x7a88(gp) | v0 = sym.fromStreamHandle;
0x0002a864 move t9, v0 | t9 = v0;
0x0002a868 jalr t9 | t9 ();
0x0002a86c nop |
0x0002a870 lw gp, 0x18(fp) | gp = *(var_18h);
0x0002a874 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x0002a878 lw v0, -0x7f44(gp) | v0 = *(gp);
0x0002a87c lw v0, (v0) | v0 = *(v0);
0x0002a880 addiu a0, zero, 3 | a0 = 3;
0x0002a884 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.KinesisVideoClient */
0x0002a888 addiu a1, v1, 0x50c0 | a1 = v1 + 0x50c0;
0x0002a88c lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_Create_stream_result_event. */
0x0002a890 addiu a2, v1, 0x553c | a2 = v1 + 0x553c;
0x0002a894 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.6995 */
0x0002a898 addiu a3, v1, 0x57ec | a3 = v1 + 0x57ec;
0x0002a89c move t9, v0 | t9 = v0;
0x0002a8a0 jalr t9 | t9 ();
0x0002a8a4 nop |
0x0002a8a8 lw gp, 0x18(fp) | gp = *(var_18h);
0x0002a8ac lw v0, 0x2c(fp) | v0 = *(var_2ch);
| if (v0 != 0) {
0x0002a8b0 beqz v0, 0x2a8c8 |
0x0002a8b4 nop |
0x0002a8b8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0002a8bc lw v0, 0x858(v0) | v0 = *(v0);
| if (v0 != 0) {
0x0002a8c0 bnez v0, 0x2a8d8 | goto label_0;
| }
0x0002a8c4 nop |
| }
0x0002a8c8 addiu v0, zero, 1 | v0 = 1;
0x0002a8cc sw v0, 0x20(fp) | *(var_20h) = v0;
0x0002a8d0 b 0x2a9c4 | goto label_1;
0x0002a8d4 nop |
| label_0:
0x0002a8d8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0002a8dc lw v0, 0x858(v0) | v0 = *(v0);
0x0002a8e0 lw v1, 0x854(v0) | v1 = *((v0 + 533));
0x0002a8e4 lw v0, 0x850(v0) | v0 = *((v0 + 532));
0x0002a8e8 move a0, v0 | a0 = v0;
0x0002a8ec move a1, v1 | a1 = v1;
0x0002a8f0 addiu a2, zero, -1 | a2 = -1;
0x0002a8f4 addiu a3, zero, -1 | a3 = -1;
0x0002a8f8 lw v0, -0x798c(gp) | v0 = sym.semaphoreAcquire;
0x0002a8fc move t9, v0 | t9 = v0;
0x0002a900 jalr t9 | t9 ();
0x0002a904 nop |
0x0002a908 lw gp, 0x18(fp) | gp = *(var_18h);
0x0002a90c sw v0, 0x30(fp) | *(var_30h) = v0;
0x0002a910 lw v0, 0x30(fp) | v0 = *(var_30h);
| if (v0 != 0) {
0x0002a914 beqz v0, 0x2a92c |
0x0002a918 nop |
0x0002a91c lw v0, 0x30(fp) | v0 = *(var_30h);
0x0002a920 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0002a924 b 0x2a9c4 | goto label_1;
0x0002a928 nop |
| }
0x0002a92c addiu v0, zero, 1 | v0 = 1;
0x0002a930 sw v0, 0x24(fp) | *(var_24h) = v0;
0x0002a934 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0002a938 lw v1, 0x854(v0) | v1 = *((v0 + 533));
0x0002a93c lw v0, 0x850(v0) | v0 = *((v0 + 532));
0x0002a940 move a0, v0 | a0 = v0;
0x0002a944 move a1, v1 | a1 = v1;
0x0002a948 addiu a2, zero, -1 | a2 = -1;
0x0002a94c addiu a3, zero, -1 | a3 = -1;
0x0002a950 lw v0, -0x798c(gp) | v0 = sym.semaphoreAcquire;
0x0002a954 move t9, v0 | t9 = v0;
0x0002a958 jalr t9 | t9 ();
0x0002a95c nop |
0x0002a960 lw gp, 0x18(fp) | gp = *(var_18h);
0x0002a964 sw v0, 0x34(fp) | *(var_34h) = v0;
0x0002a968 lw v0, 0x34(fp) | v0 = *(var_34h);
| if (v0 != 0) {
0x0002a96c beqz v0, 0x2a984 |
0x0002a970 nop |
0x0002a974 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0002a978 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0002a97c b 0x2a9c4 | goto label_1;
0x0002a980 nop |
| }
0x0002a984 addiu v0, zero, 1 | v0 = 1;
0x0002a988 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0002a98c lw a0, 0x2c(fp) | a0 = *(var_2ch);
0x0002a990 lw a1, 0x50(fp) | a1 = *(arg_50h);
0x0002a994 lw a2, 0x54(fp) | a2 = *(arg_54h);
0x0002a998 lw v0, -0x7b4c(gp) | v0 = sym.createStreamResult;
0x0002a99c move t9, v0 | t9 = v0;
0x0002a9a0 jalr t9 | t9 ();
0x0002a9a4 nop |
0x0002a9a8 lw gp, 0x18(fp) | gp = *(var_18h);
0x0002a9ac sw v0, 0x38(fp) | *(var_38h) = v0;
0x0002a9b0 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x0002a9b4 beqz v0, 0x2a9c4 |
0x0002a9b8 nop |
0x0002a9bc lw v0, 0x38(fp) | v0 = *(var_38h);
0x0002a9c0 sw v0, 0x20(fp) | *(var_20h) = v0;
| }
| label_1:
0x0002a9c4 lw v0, 0x28(fp) | v0 = *(var_28h);
| if (v0 != 0) {
0x0002a9c8 beqz v0, 0x2a9f8 |
0x0002a9cc nop |
0x0002a9d0 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0002a9d4 lw v1, 0x854(v0) | v1 = *((v0 + 533));
0x0002a9d8 lw v0, 0x850(v0) | v0 = *((v0 + 532));
0x0002a9dc move a0, v0 | a0 = v0;
0x0002a9e0 move a1, v1 | a1 = v1;
0x0002a9e4 lw v0, -0x7e14(gp) | v0 = sym.semaphoreRelease;
0x0002a9e8 move t9, v0 | t9 = v0;
0x0002a9ec jalr t9 | t9 ();
0x0002a9f0 nop |
0x0002a9f4 lw gp, 0x18(fp) | gp = *(var_18h);
| }
0x0002a9f8 lw v0, 0x24(fp) | v0 = *(var_24h);
| if (v0 != 0) {
0x0002a9fc beqz v0, 0x2aa30 |
0x0002aa00 nop |
0x0002aa04 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0002aa08 lw v0, 0x858(v0) | v0 = *(v0);
0x0002aa0c lw v1, 0x854(v0) | v1 = *((v0 + 533));
0x0002aa10 lw v0, 0x850(v0) | v0 = *((v0 + 532));
0x0002aa14 move a0, v0 | a0 = v0;
0x0002aa18 move a1, v1 | a1 = v1;
0x0002aa1c lw v0, -0x7e14(gp) | v0 = sym.semaphoreRelease;
0x0002aa20 move t9, v0 | t9 = v0;
0x0002aa24 jalr t9 | t9 ();
0x0002aa28 nop |
0x0002aa2c lw gp, 0x18(fp) | gp = *(var_18h);
| }
0x0002aa30 lw v0, 0x20(fp) | v0 = *(var_20h);
0x0002aa34 sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x0002aa38 lw v0, 0x3c(fp) | v0 = *(var_3ch);
| if (v0 != 0) {
0x0002aa3c beqz v0, 0x2aa80 |
0x0002aa40 nop |
0x0002aa44 lw v0, -0x7f44(gp) | v0 = *(gp);
0x0002aa48 lw v0, (v0) | v0 = *(v0);
0x0002aa4c lw v1, 0x3c(fp) | v1 = *(var_3ch);
0x0002aa50 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0002aa54 addiu a0, zero, 5 | a0 = 5;
0x0002aa58 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.KinesisVideoClient */
0x0002aa5c addiu a1, v1, 0x50c0 | a1 = v1 + 0x50c0;
0x0002aa60 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: '&s(): operation returned status code: 0x&x' */
0x0002aa64 addiu a2, v1, 0x50f8 | a2 = v1 + 0x50f8;
0x0002aa68 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.6995 */
0x0002aa6c addiu a3, v1, 0x57ec | a3 = v1 + 0x57ec;
0x0002aa70 move t9, v0 | t9 = v0;
0x0002aa74 jalr t9 | t9 ();
0x0002aa78 nop |
0x0002aa7c lw gp, 0x18(fp) | gp = *(var_18h);
| }
0x0002aa80 lw v0, 0x20(fp) | v0 = *(var_20h);
0x0002aa84 move sp, fp |
0x0002aa88 lw ra, 0x44(sp) | ra = *(var_44h);
0x0002aa8c lw fp, 0x40(sp) | fp = *(var_40h);
0x0002aa90 addiu sp, sp, 0x48 |
0x0002aa94 jr ra | return v0;
0x0002aa98 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x30b70 */
| #include <stdint.h>
|
; (fcn) sym.createStream () | void createStream () {
0x00030b70 lui gp, 6 |
0x00030b74 addiu gp, gp, 0x560 |
0x00030b78 addu gp, gp, t9 | gp += t9;
0x00030b7c addiu sp, sp, -0x1c0 |
0x00030b80 sw ra, 0x1bc(sp) | *(var_1bch) = ra;
0x00030b84 sw fp, 0x1b8(sp) | *(var_1b8h) = fp;
0x00030b88 sw s5, 0x1b4(sp) | *(var_1b4h) = s5;
0x00030b8c sw s4, 0x1b0(sp) | *(var_1b0h) = s4;
0x00030b90 sw s3, 0x1ac(sp) | *(var_1ach) = s3;
0x00030b94 sw s2, 0x1a8(sp) | *(var_1a8h) = s2;
0x00030b98 sw s1, 0x1a4(sp) | *(var_1a4h) = s1;
0x00030b9c sw s0, 0x1a0(sp) | *(var_1a0h) = s0;
0x00030ba0 move fp, sp | fp = sp;
0x00030ba4 sw gp, 0x28(sp) | *(var_28h) = gp;
0x00030ba8 sw a0, 0x1c0(fp) | *(arg_1c0h) = a0;
0x00030bac sw a1, 0x1c4(fp) | *(arg_1c4h) = a1;
0x00030bb0 sw a2, 0x1c8(fp) | *(arg_1c8h) = a2;
0x00030bb4 sw zero, 0x30(fp) | *(var_30h) = 0;
0x00030bb8 sw zero, 0x34(fp) | *(var_34h) = 0;
0x00030bbc sw zero, 0x88(fp) | *(var_88h) = 0;
0x00030bc0 sw zero, 0x8c(fp) | *(var_8ch) = 0;
0x00030bc4 sw zero, 0x90(fp) | *(var_90h) = 0;
0x00030bc8 sw zero, 0x94(fp) | *(var_94h) = 0;
0x00030bcc sw zero, 0x44(fp) | *(var_44h) = 0;
0x00030bd0 sw zero, 0x3c(fp) | *(var_3ch) = 0;
0x00030bd4 addiu v0, zero, 1 | v0 = 1;
0x00030bd8 sw v0, 0x40(fp) | *(var_40h) = v0;
0x00030bdc lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
| if (v0 != 0) {
0x00030be0 beqz v0, 0x30bf4 |
0x00030be4 nop |
0x00030be8 lw v0, 0x1c8(fp) | v0 = *(arg_1c8h);
| if (v0 != 0) {
0x00030bec bnez v0, 0x30c04 | goto label_0;
| }
0x00030bf0 nop |
| }
0x00030bf4 addiu v0, zero, 1 | v0 = 1;
0x00030bf8 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00030bfc b 0x31978 | goto label_1;
0x00030c00 nop |
| label_0:
0x00030c04 lw v0, 0x1c8(fp) | v0 = *(arg_1c8h);
0x00030c08 sw zero, (v0) | *(v0) = 0;
0x00030c0c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030c10 addiu v0, v0, 0x1980 | v0 += 0x1980;
0x00030c14 lw a0, 0x1c4(fp) | a0 = *(arg_1c4h);
0x00030c18 move a1, v0 | a1 = v0;
0x00030c1c lw v0, -0x78fc(gp) | v0 = sym.validateStreamInfo;
0x00030c20 move t9, v0 | t9 = v0;
0x00030c24 jalr t9 | t9 ();
0x00030c28 nop |
0x00030c2c lw gp, 0x28(fp) | gp = *(var_28h);
0x00030c30 sw v0, 0x48(fp) | *(var_48h) = v0;
0x00030c34 lw v0, 0x48(fp) | v0 = *(var_48h);
| if (v0 != 0) {
0x00030c38 beqz v0, 0x30c50 |
0x00030c3c nop |
0x00030c40 lw v0, 0x48(fp) | v0 = *(var_48h);
0x00030c44 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00030c48 b 0x31978 | goto label_1;
0x00030c4c nop |
| }
0x00030c50 lw a0, 0x1c4(fp) | a0 = *(arg_1c4h);
0x00030c54 lw v0, -0x7844(gp) | v0 = sym.logStreamInfo;
0x00030c58 move t9, v0 | t9 = v0;
0x00030c5c jalr t9 | t9 ();
0x00030c60 nop |
0x00030c64 lw gp, 0x28(fp) | gp = *(var_28h);
0x00030c68 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030c6c lw t0, 0x199c(v0) | t0 = *((v0 + 1639));
0x00030c70 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030c74 lw a0, 0x1988(v0) | a0 = *((v0 + 1634));
0x00030c78 lw a1, 0x198c(v0) | a1 = *((v0 + 1635));
0x00030c7c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030c80 lw v1, 0x844(v0) | v1 = *((v0 + 529));
0x00030c84 lw v0, 0x840(v0) | v0 = *(v0);
0x00030c88 move a2, v0 | a2 = v0;
0x00030c8c move a3, v1 | a3 = v1;
0x00030c90 move t9, t0 | t9 = t0;
0x00030c94 jalr t9 | t9 ();
0x00030c98 nop |
0x00030c9c lw gp, 0x28(fp) | gp = *(var_28h);
0x00030ca0 addiu v0, zero, 1 | v0 = 1;
0x00030ca4 sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x00030ca8 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030cac lw v1, 0x1a34(v0) | v1 = *(v0);
0x00030cb0 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030cb4 lw v0, 0x1900(v0) | v0 = *((v0 + 1600));
0x00030cb8 sltu v0, v1, v0 | v0 = (v1 < v0) ? 1 : 0;
| if (v0 == 0) {
0x00030cbc bnez v0, 0x30cd8 |
0x00030cc0 nop |
0x00030cc4 lui v0, 0x5200 | v0 = 0x52000001;
0x00030cc8 ori v0, v0, 1 |
0x00030ccc sw v0, 0x30(fp) | *(var_30h) = v0;
0x00030cd0 b 0x31978 | goto label_1;
0x00030cd4 nop |
| }
0x00030cd8 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00030cdc lb v0, 4(v0) | v0 = *((v0 + 4));
| if (v0 == 0) {
0x00030ce0 bnez v0, 0x30d28 |
0x00030ce4 nop |
0x00030ce8 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030cec lw a2, 0x1994(v0) | a2 = *((v0 + 1637));
0x00030cf0 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030cf4 lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x00030cf8 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x00030cfc addiu a0, fp, 0x98 | a0 = fp + 0x98;
0x00030d00 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00030d04 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00030d08 addiu a1, zero, 0x10 | a1 = 0x10;
0x00030d0c lw v0, -0x7970(gp) | v0 = sym.createRandomName;
0x00030d10 move t9, v0 | t9 = v0;
0x00030d14 jalr t9 | t9 ();
0x00030d18 nop |
0x00030d1c lw gp, 0x28(fp) | gp = *(var_28h);
0x00030d20 b 0x30d50 | goto label_2;
0x00030d24 nop |
| }
0x00030d28 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00030d2c addiu v0, v0, 4 | v0 += 4;
0x00030d30 addiu v1, fp, 0x98 | v1 = fp + 0x98;
0x00030d34 move a0, v1 | a0 = v1;
0x00030d38 move a1, v0 | a1 = v0;
0x00030d3c lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x00030d40 move t9, v0 | t9 = v0;
0x00030d44 jalr t9 | t9 ();
0x00030d48 nop |
0x00030d4c lw gp, 0x28(fp) | gp = *(var_28h);
| label_2:
0x00030d50 sw zero, 0x38(fp) | *(var_38h) = 0;
0x00030d54 b 0x30de0 | goto label_3;
0x00030d58 nop |
| do {
0x00030d5c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030d60 lw v1, 0x1a38(v0) | v1 = *((v0 + 1678));
0x00030d64 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00030d68 sll v0, v0, 2 | v0 <<= 2;
0x00030d6c addu v0, v1, v0 | v0 = v1 + v0;
0x00030d70 lw v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x00030d74 beqz v0, 0x30dd4 |
0x00030d78 nop |
0x00030d7c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030d80 lw v1, 0x1a38(v0) | v1 = *((v0 + 1678));
0x00030d84 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00030d88 sll v0, v0, 2 | v0 <<= 2;
0x00030d8c addu v0, v1, v0 | v0 = v1 + v0;
0x00030d90 lw v0, (v0) | v0 = *(v0);
0x00030d94 addiu v1, v0, 0x874 | v1 = v0 + 0x874;
0x00030d98 addiu v0, fp, 0x98 | v0 = fp + 0x98;
0x00030d9c move a0, v1 | a0 = v1;
0x00030da0 move a1, v0 | a1 = v0;
0x00030da4 lw v0, -0x7f68(gp) | v0 = sym.imp.strcmp;
0x00030da8 move t9, v0 | t9 = v0;
0x00030dac jalr t9 | t9 ();
0x00030db0 nop |
0x00030db4 lw gp, 0x28(fp) | gp = *(var_28h);
| if (v0 != 0) {
0x00030db8 bnez v0, 0x30dd4 | goto label_4;
| }
0x00030dbc nop |
0x00030dc0 lui v0, 0x5200 | v0 = 0x5200004b;
0x00030dc4 ori v0, v0, 0x4b |
0x00030dc8 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00030dcc b 0x31978 | goto label_1;
0x00030dd0 nop |
| }
| label_4:
0x00030dd4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00030dd8 addiu v0, v0, 1 | v0++;
0x00030ddc sw v0, 0x38(fp) | *(var_38h) = v0;
| label_3:
0x00030de0 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030de4 lw v1, 0x1900(v0) | v1 = *((v0 + 1600));
0x00030de8 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00030dec sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x00030df0 bnez v0, 0x30d5c |
| } while (v0 != 0);
0x00030df4 nop |
0x00030df8 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00030dfc lw v0, 0xa0c(v0) | v0 = *((v0 + 643));
0x00030e00 sll v0, v0, 4 | v0 <<= 4;
0x00030e04 sll v1, v0, 3 | v1 = v0 << 3;
0x00030e08 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00030e0c sw v0, 0x4c(fp) | *(var_4ch) = v0;
0x00030e10 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00030e14 lw v1, 0x108(v0) | v1 = *(v0);
0x00030e18 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00030e1c lw v0, 0x10c(v0) | v0 = *(v0);
0x00030e20 addiu a0, fp, 0x198 | a0 = fp + aav.0x00000198;
0x00030e24 sw a0, 0x10(sp) | *(var_10h) = a0;
0x00030e28 move a0, v1 | a0 = v1;
0x00030e2c move a1, v0 | a1 = v0;
0x00030e30 move a2, zero | a2 = 0;
0x00030e34 move a3, zero | a3 = 0;
0x00030e38 lw v0, -0x7be0(gp) | v0 = sym.packageTags;
0x00030e3c move t9, v0 | t9 = v0;
0x00030e40 jalr t9 | t9 ();
0x00030e44 nop |
0x00030e48 lw gp, 0x28(fp) | gp = *(var_28h);
0x00030e4c sw v0, 0x50(fp) | *(var_50h) = v0;
0x00030e50 lw v0, 0x50(fp) | v0 = *(var_50h);
| if (v0 != 0) {
0x00030e54 beqz v0, 0x30e6c |
0x00030e58 nop |
0x00030e5c lw v0, 0x50(fp) | v0 = *(var_50h);
0x00030e60 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00030e64 b 0x31978 | goto label_1;
0x00030e68 nop |
| }
0x00030e6c lw v1, 0x198(fp) | v1 = *(var_198h);
0x00030e70 lw v0, 0x4c(fp) | v0 = *(var_4ch);
0x00030e74 addu v0, v1, v0 | v0 = v1 + v0;
0x00030e78 addiu v0, v0, 0x6740 | v0 += 0x6740;
0x00030e7c sw v0, 0x54(fp) | *(var_54h) = v0;
0x00030e80 lw v0, -0x7620(gp) | v0 = *(gp);
0x00030e84 lw v0, (v0) | v0 = *(v0);
0x00030e88 addiu a0, zero, 1 | a0 = 1;
0x00030e8c lw a1, 0x54(fp) | a1 = *(var_54h);
0x00030e90 move t9, v0 | t9 = v0;
0x00030e94 jalr t9 | t9 ();
0x00030e98 nop |
0x00030e9c lw gp, 0x28(fp) | gp = *(var_28h);
0x00030ea0 sw v0, 0x34(fp) | *(var_34h) = v0;
0x00030ea4 lw v0, 0x34(fp) | v0 = *(var_34h);
| if (v0 == 0) {
0x00030ea8 bnez v0, 0x30ec0 |
0x00030eac nop |
0x00030eb0 addiu v0, zero, 4 | v0 = 4;
0x00030eb4 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00030eb8 b 0x31978 | goto label_1;
0x00030ebc nop |
| }
0x00030ec0 sw zero, 0x38(fp) | *(var_38h) = 0;
0x00030ec4 b 0x30f0c | goto label_5;
0x00030ec8 nop |
| do {
0x00030ecc lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030ed0 lw v1, 0x1a38(v0) | v1 = *((v0 + 1678));
0x00030ed4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00030ed8 sll v0, v0, 2 | v0 <<= 2;
0x00030edc addu v0, v1, v0 | v0 = v1 + v0;
0x00030ee0 lw v0, (v0) | v0 = *(v0);
| if (v0 == 0) {
0x00030ee4 bnez v0, 0x30f00 |
0x00030ee8 nop |
0x00030eec lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030ef0 lw v1, 0x38(fp) | v1 = *(var_38h);
0x00030ef4 sw v1, 0x85c(v0) | *((v0 + 535)) = v1;
0x00030ef8 b 0x30f24 | goto label_6;
0x00030efc nop |
| }
0x00030f00 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00030f04 addiu v0, v0, 1 | v0++;
0x00030f08 sw v0, 0x38(fp) | *(var_38h) = v0;
| label_5:
0x00030f0c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030f10 lw v1, 0x1900(v0) | v1 = *((v0 + 1600));
0x00030f14 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00030f18 sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x00030f1c bnez v0, 0x30ecc |
| } while (v0 != 0);
0x00030f20 nop |
| label_6:
0x00030f24 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030f28 move a0, zero | a0 = 0;
0x00030f2c move a1, zero | a1 = 0;
0x00030f30 sw a0, 0x6710(v0) | *((v0 + 6596)) = a0;
0x00030f34 sw a1, 0x6714(v0) | *((v0 + 6597)) = a1;
0x00030f38 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030f3c lw v1, 0x1c0(fp) | v1 = *(arg_1c0h);
0x00030f40 sw v1, 0x858(v0) | *(v0) = v1;
0x00030f44 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030f48 lui v1, 0xabcd | v1 = 0xabcdabcd;
0x00030f4c ori v1, v1, 0xabcd |
0x00030f50 sw v1, (v0) | *(v0) = v1;
0x00030f54 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030f58 sw zero, 4(v0) | *((v0 + 1)) = 0;
0x00030f5c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030f60 lw t0, 0x19a0(v0) | t0 = *((v0 + 1640));
0x00030f64 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030f68 lw a0, 0x1988(v0) | a0 = *((v0 + 1634));
0x00030f6c lw a1, 0x198c(v0) | a1 = *((v0 + 1635));
0x00030f70 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00030f74 lw v1, 0x844(v0) | v1 = *((v0 + 529));
0x00030f78 lw v0, 0x840(v0) | v0 = *(v0);
0x00030f7c move a2, v0 | a2 = v0;
0x00030f80 move a3, v1 | a3 = v1;
0x00030f84 move t9, t0 | t9 = t0;
0x00030f88 jalr t9 | t9 ();
0x00030f8c nop |
0x00030f90 lw gp, 0x28(fp) | gp = *(var_28h);
0x00030f94 sw zero, 0x3c(fp) | *(var_3ch) = 0;
0x00030f98 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030f9c move a0, zero | a0 = 0;
0x00030fa0 move a1, zero | a1 = 0;
0x00030fa4 sw a0, 0x60f0(v0) | *((v0 + 6204)) = a0;
0x00030fa8 sw a1, 0x60f4(v0) | *((v0 + 6205)) = a1;
0x00030fac lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030fb0 sw zero, 0x60e8(v0) | *((v0 + 6202)) = 0;
0x00030fb4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030fb8 sw zero, 0x661c(v0) | *((v0 + 6535)) = 0;
0x00030fbc lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030fc0 sw zero, 0x6620(v0) | *((v0 + 6536)) = 0;
0x00030fc4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030fc8 sw zero, 0x6624(v0) | *((v0 + 6537)) = 0;
0x00030fcc lw a0, 0x34(fp) | a0 = *(var_34h);
0x00030fd0 addiu v0, zero, -1 | v0 = -1;
0x00030fd4 addiu v1, zero, -1 | v1 = -1;
0x00030fd8 sw v0, 0x60d0(a0) | *((a0 + 6196)) = v0;
0x00030fdc sw v1, 0x60d4(a0) | *((a0 + 6197)) = v1;
0x00030fe0 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00030fe4 addiu v0, zero, -1 | v0 = -1;
0x00030fe8 addiu v1, zero, -1 | v1 = -1;
0x00030fec sw v0, 0x60d8(a0) | *((a0 + 6198)) = v0;
0x00030ff0 sw v1, 0x60dc(a0) | *((a0 + 6199)) = v1;
0x00030ff4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00030ff8 sw zero, 0x6628(v0) | *((v0 + 6538)) = 0;
0x00030ffc lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031000 sw zero, 0x6630(v0) | *((v0 + 6540)) = 0;
0x00031004 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031008 sw zero, 0x6634(v0) | *((v0 + 6541)) = 0;
0x0003100c lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031010 addiu v0, zero, -1 | v0 = -1;
0x00031014 addiu v1, zero, -1 | v1 = -1;
0x00031018 sw v0, 0x6638(a0) | *((a0 + 6542)) = v0;
0x0003101c sw v1, 0x663c(a0) | *((a0 + 6543)) = v1;
0x00031020 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031024 addiu v1, zero, 1 | v1 = 1;
0x00031028 sw v1, 0x6618(v0) | *((v0 + 6534)) = v1;
0x0003102c lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031030 sw zero, 0x662c(v0) | *((v0 + 6539)) = 0;
0x00031034 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00031038 lw a0, 0x9dc(v0) | a0 = *((v0 + 631));
0x0003103c mtc1 a0, f1 | __asm ("mtc1 a0, f1");
0x00031040 cvt.d.w f0, f1 | __asm ("cvt.d.w f0, f1");
0x00031044 mfc1 v0, f0 | __asm ("mfc1 v0, f0");
0x00031048 mfc1 v1, f1 | __asm ("mfc1 v1, f1");
| if (a0 < 0) {
0x0003104c bgez a0, 0x3107c |
0x00031050 nop |
0x00031054 lw a0, -0x7fcc(gp) | a0 = *((gp - 8179));
0x00031058 lw a1, 0x67cc(a0) | a1 = *((a0 + 6643));
0x0003105c lw a0, 0x67c8(a0) | a0 = *((a0 + 6642));
0x00031060 mtc1 v0, f2 | __asm ("mtc1 v0, f2");
0x00031064 mtc1 v1, f3 | __asm ("mtc1 v1, f3");
0x00031068 mtc1 a0, f0 | __asm ("mtc1 a0, f0");
0x0003106c mtc1 a1, f1 | __asm ("mtc1 a1, f1");
0x00031070 add.d f2, f2, f0 | __asm ("add.d f2, f2, f0");
0x00031074 mfc1 v0, f2 | __asm ("mfc1 v0, f2");
0x00031078 mfc1 v1, f3 | __asm ("mfc1 v1, f3");
| }
0x0003107c lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031080 sw v0, 0x6640(a0) | *((a0 + 6544)) = v0;
0x00031084 sw v1, 0x6644(a0) | *((a0 + 6545)) = v1;
0x00031088 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x0003108c lw v0, 0x9d8(v0) | v0 = *((v0 + 630));
0x00031090 move s4, v0 | s4 = v0;
0x00031094 move s5, zero | s5 = 0;
0x00031098 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003109c sw s4, 0x6650(v0) | *((v0 + 6548)) = s4;
0x000310a0 sw s5, 0x6654(v0) | *((v0 + 6549)) = s5;
0x000310a4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000310a8 move a0, zero | a0 = 0;
0x000310ac move a1, zero | a1 = 0;
0x000310b0 sw a0, 0x6658(v0) | *((v0 + 6550)) = a0;
0x000310b4 sw a1, 0x665c(v0) | *((v0 + 6551)) = a1;
0x000310b8 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000310bc move a0, zero | a0 = 0;
0x000310c0 move a1, zero | a1 = 0;
0x000310c4 sw a0, 0x6660(v0) | *((v0 + 6552)) = a0;
0x000310c8 sw a1, 0x6664(v0) | *((v0 + 6553)) = a1;
0x000310cc lw v0, 0x34(fp) | v0 = *(var_34h);
0x000310d0 lw v1, 0x6664(v0) | v1 = *((v0 + 6553));
0x000310d4 lw v0, 0x6660(v0) | v0 = *((v0 + 6552));
0x000310d8 lw a0, 0x34(fp) | a0 = *(var_34h);
0x000310dc sw v0, 0x6648(a0) | *((a0 + 6546)) = v0;
0x000310e0 sw v1, 0x664c(a0) | *((a0 + 6547)) = v1;
0x000310e4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000310e8 sw zero, 0x6600(v0) | *((v0 + 6528)) = 0;
0x000310ec lw v0, 0x34(fp) | v0 = *(var_34h);
0x000310f0 sw zero, 0x65fc(v0) | *((v0 + 6527)) = 0;
0x000310f4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000310f8 sw zero, 0x65f8(v0) | *((v0 + 6526)) = 0;
0x000310fc lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031100 sw zero, 0x6604(v0) | *((v0 + 6529)) = 0;
0x00031104 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031108 sw zero, 0x6610(v0) | *((v0 + 6532)) = 0;
0x0003110c lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031110 sw zero, 0x660c(v0) | *((v0 + 6531)) = 0;
0x00031114 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031118 sw zero, 0x6608(v0) | *((v0 + 6530)) = 0;
0x0003111c lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031120 sw zero, 0x6614(v0) | *((v0 + 6533)) = 0;
0x00031124 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031128 addiu v0, zero, -1 | v0 = -1;
0x0003112c addiu v1, zero, -1 | v1 = -1;
0x00031130 sw v0, 0x39b0(a0) | *((a0 + 3692)) = v0;
0x00031134 sw v1, 0x39b4(a0) | *((a0 + 3693)) = v1;
0x00031138 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003113c addiu v0, v0, 0x65c0 | v0 += 0x65c0;
0x00031140 move a0, v0 | a0 = v0;
0x00031144 move a1, zero | a1 = 0;
0x00031148 addiu a2, zero, 0x38 | a2 = 0x38;
0x0003114c lw v0, -0x7764(gp) | v0 = sym.imp.memset;
0x00031150 move t9, v0 | t9 = v0;
0x00031154 jalr t9 | t9 ();
0x00031158 nop |
0x0003115c lw gp, 0x28(fp) | gp = *(var_28h);
0x00031160 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031164 move a0, zero | a0 = 0;
0x00031168 move a1, zero | a1 = 0;
0x0003116c sw a0, 0x65e8(v0) | *((v0 + 6522)) = a0;
0x00031170 sw a1, 0x65ec(v0) | *((v0 + 6523)) = a1;
0x00031174 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031178 addiu v0, v0, 0x870 | v0 += 0x870;
0x0003117c move a0, v0 | a0 = v0;
0x00031180 lw a1, 0x1c4(fp) | a1 = *(arg_1c4h);
0x00031184 addiu a2, zero, 0xa20 | a2 = 0xa20;
0x00031188 lw v0, -0x760c(gp) | v0 = sym.imp.memcpy;
0x0003118c move t9, v0 | t9 = v0;
0x00031190 jalr t9 | t9 ();
0x00031194 nop |
0x00031198 lw gp, 0x28(fp) | gp = *(var_28h);
0x0003119c lw v0, 0x34(fp) | v0 = *(var_34h);
0x000311a0 addiu v0, v0, 0x870 | v0 += 0x870;
0x000311a4 move a0, v0 | a0 = v0;
0x000311a8 lw v0, -0x7bd4(gp) | v0 = sym.fixupStreamInfo;
0x000311ac move t9, v0 | t9 = v0;
0x000311b0 jalr t9 | t9 ();
0x000311b4 nop |
0x000311b8 lw gp, 0x28(fp) | gp = *(var_28h);
0x000311bc lw v0, 0x34(fp) | v0 = *(var_34h);
0x000311c0 lb v0, 0x874(v0) | v0 = *((v0 + 2164));
| if (v0 == 0) {
0x000311c4 bnez v0, 0x311f4 |
0x000311c8 nop |
0x000311cc lw v0, 0x34(fp) | v0 = *(var_34h);
0x000311d0 addiu v1, v0, 0x874 | v1 = v0 + 0x874;
0x000311d4 addiu v0, fp, 0x98 | v0 = fp + 0x98;
0x000311d8 move a0, v1 | a0 = v1;
0x000311dc move a1, v0 | a1 = v0;
0x000311e0 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x000311e4 move t9, v0 | t9 = v0;
0x000311e8 jalr t9 | t9 ();
0x000311ec nop |
0x000311f0 lw gp, 0x28(fp) | gp = *(var_28h);
| }
0x000311f4 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x000311f8 lw a3, 0x1998(v0) | a3 = *((v0 + 1638));
0x000311fc lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031200 lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x00031204 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x00031208 move a0, v0 | a0 = v0;
0x0003120c move a1, v1 | a1 = v1;
0x00031210 addiu a2, zero, 1 | a2 = 1;
0x00031214 move t9, a3 | t9 = a3;
0x00031218 jalr t9 | t9 ();
0x0003121c nop |
0x00031220 lw gp, 0x28(fp) | gp = *(var_28h);
0x00031224 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031228 sw v0, 0x840(a0) | *(a0) = v0;
0x0003122c sw v1, 0x844(a0) | *((a0 + 529)) = v1;
0x00031230 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031234 lw a2, 0x19ac(v0) | a2 = *((v0 + 1643));
0x00031238 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x0003123c lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x00031240 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x00031244 move a0, v0 | a0 = v0;
0x00031248 move a1, v1 | a1 = v1;
0x0003124c move t9, a2 | t9 = a2;
0x00031250 jalr t9 | t9 ();
0x00031254 nop |
0x00031258 lw gp, 0x28(fp) | gp = *(var_28h);
0x0003125c move v1, v0 | v1 = v0;
0x00031260 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031264 sw v1, 0x848(v0) | *((v0 + 530)) = v1;
0x00031268 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x0003126c lw a2, 0x19ac(v0) | a2 = *((v0 + 1643));
0x00031270 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031274 lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x00031278 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x0003127c move a0, v0 | a0 = v0;
0x00031280 move a1, v1 | a1 = v1;
0x00031284 move t9, a2 | t9 = a2;
0x00031288 jalr t9 | t9 ();
0x0003128c nop |
0x00031290 lw gp, 0x28(fp) | gp = *(var_28h);
0x00031294 move v1, v0 | v1 = v0;
0x00031298 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003129c sw v1, 0x6718(v0) | *((v0 + 6598)) = v1;
0x000312a0 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x000312a4 lw a2, 0x19ac(v0) | a2 = *((v0 + 1643));
0x000312a8 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x000312ac lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x000312b0 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x000312b4 move a0, v0 | a0 = v0;
0x000312b8 move a1, v1 | a1 = v1;
0x000312bc move t9, a2 | t9 = a2;
0x000312c0 jalr t9 | t9 ();
0x000312c4 nop |
0x000312c8 lw gp, 0x28(fp) | gp = *(var_28h);
0x000312cc move v1, v0 | v1 = v0;
0x000312d0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000312d4 sw v1, 0x670c(v0) | *((v0 + 6595)) = v1;
0x000312d8 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000312dc lw a0, 0x1250(v0) | a0 = *((v0 + 1172));
0x000312e0 lw a1, 0x1254(v0) | a1 = *((v0 + 1173));
0x000312e4 move v0, a0 | v0 = a0;
0x000312e8 or v0, v0, a1 | v0 |= a1;
| if (v0 == 0) {
0x000312ec bnez v0, 0x3130c |
0x000312f0 nop |
0x000312f4 lw a0, 0x34(fp) | a0 = *(var_34h);
0x000312f8 lui v0, 0xbeb | v0 = 0xbebc200;
0x000312fc ori v0, v0, 0xc200 |
0x00031300 move v1, zero | v1 = 0;
0x00031304 sw v0, 0x1250(a0) | *((a0 + 1172)) = v0;
0x00031308 sw v1, 0x1254(a0) | *((a0 + 1173)) = v1;
| }
0x0003130c lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00031310 lw v1, 0x9ec(v0) | v1 = *((v0 + 635));
0x00031314 lw v0, 0x9e8(v0) | v0 = *((v0 + 634));
0x00031318 lw a0, 0x1c4(fp) | a0 = *(arg_1c4h);
0x0003131c lw a1, 0x9e4(a0) | a1 = *((a0 + 633));
0x00031320 lw a0, 0x9e0(a0) | a0 = *((a0 + 632));
0x00031324 sltu a2, a1, v1 | a2 = (a1 < v1) ? 1 : 0;
| if (a2 == 0) {
0x00031328 bnez a2, 0x31348 |
0x0003132c nop |
0x00031330 move a2, a1 | a2 = a1;
| if (v1 != a2) {
0x00031334 bne v1, a2, 0x31350 | goto label_7;
| }
0x00031338 nop |
0x0003133c sltu a2, a0, v0 | a2 = (a0 < v0) ? 1 : 0;
| if (a2 == 0) {
0x00031340 beqz a2, 0x31350 | goto label_7;
| }
0x00031344 nop |
| }
0x00031348 move v0, a0 | v0 = a0;
0x0003134c move v1, a1 | v1 = a1;
| label_7:
0x00031350 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031354 sw v0, 0x1258(a0) | *((a0 + 1174)) = v0;
0x00031358 sw v1, 0x125c(a0) | *((a0 + 1175)) = v1;
0x0003135c lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031360 addiu v1, v0, 0x6730 | v1 = v0 + 0x6730;
0x00031364 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031368 sw v1, 0x97c(v0) | *((v0 + 607)) = v1;
0x0003136c lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00031370 lw a0, 0x108(v0) | a0 = *(v0);
0x00031374 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00031378 lw a1, 0x10c(v0) | a1 = *(v0);
0x0003137c lw v1, 0x198(fp) | v1 = *(var_198h);
0x00031380 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031384 lw v0, 0x97c(v0) | v0 = *((v0 + 607));
0x00031388 addiu a2, fp, 0x198 | a2 = fp + aav.0x00000198;
0x0003138c sw a2, 0x10(sp) | *(var_10h) = a2;
0x00031390 move a2, v1 | a2 = v1;
0x00031394 move a3, v0 | a3 = v0;
0x00031398 lw v0, -0x7be0(gp) | v0 = sym.packageTags;
0x0003139c move t9, v0 | t9 = v0;
0x000313a0 jalr t9 | t9 ();
0x000313a4 nop |
0x000313a8 lw gp, 0x28(fp) | gp = *(var_28h);
0x000313ac sw v0, 0x58(fp) | *(var_58h) = v0;
0x000313b0 lw v0, 0x58(fp) | v0 = *(var_58h);
| if (v0 != 0) {
0x000313b4 beqz v0, 0x313cc |
0x000313b8 nop |
0x000313bc lw v0, 0x58(fp) | v0 = *(var_58h);
0x000313c0 sw v0, 0x30(fp) | *(var_30h) = v0;
0x000313c4 b 0x31978 | goto label_1;
0x000313c8 nop |
| }
0x000313cc lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x000313d0 lw v1, 0x108(v0) | v1 = *(v0);
0x000313d4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000313d8 sw v1, 0x978(v0) | *((v0 + 606)) = v1;
0x000313dc lw v0, 0x34(fp) | v0 = *(var_34h);
0x000313e0 lw v1, 0x97c(v0) | v1 = *((v0 + 607));
0x000313e4 lw v0, 0x198(fp) | v0 = *(var_198h);
0x000313e8 addu v0, v1, v0 | v0 = v1 + v0;
0x000313ec sw v0, 0x44(fp) | *(var_44h) = v0;
0x000313f0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000313f4 lw v1, 0x44(fp) | v1 = *(var_44h);
0x000313f8 sw v1, 0x1274(v0) | *((v0 + 1181)) = v1;
0x000313fc lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x00031400 lw v0, 0xa04(v0) | v0 = *((v0 + 641));
| if (v0 != 0) {
0x00031404 bnez v0, 0x31480 | goto label_8;
| }
0x00031408 nop |
0x0003140c sw zero, 0x38(fp) | *(var_38h) = 0;
0x00031410 b 0x31468 | goto label_9;
0x00031414 nop |
| do {
0x00031418 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003141c lw v1, 0x1274(v0) | v1 = *((v0 + 1181));
0x00031420 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00031424 addu s4, v1, v0 | s4 = v1 + v0;
0x00031428 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x0003142c lw a2, 0x1994(v0) | a2 = *((v0 + 1637));
0x00031430 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031434 lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x00031438 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x0003143c move a0, v0 | a0 = v0;
0x00031440 move a1, v1 | a1 = v1;
0x00031444 move t9, a2 | t9 = a2;
0x00031448 jalr t9 | t9 ();
0x0003144c nop |
0x00031450 lw gp, 0x28(fp) | gp = *(var_28h);
0x00031454 andi v0, v0, 0xff | v0 &= 0xff;
0x00031458 sb v0, (s4) | *(s4) = v0;
0x0003145c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00031460 addiu v0, v0, 1 | v0++;
0x00031464 sw v0, 0x38(fp) | *(var_38h) = v0;
| label_9:
0x00031468 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0003146c sltiu v0, v0, 0x10 | v0 = (v0 < 0x10) ? 1 : 0;
0x00031470 bnez v0, 0x31418 |
| } while (v0 != 0);
0x00031474 nop |
0x00031478 b 0x314b0 | goto label_10;
0x0003147c nop |
| label_8:
0x00031480 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031484 lw v1, 0x1274(v0) | v1 = *((v0 + 1181));
0x00031488 lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x0003148c lw v0, 0xa04(v0) | v0 = *((v0 + 641));
0x00031490 move a0, v1 | a0 = v1;
0x00031494 move a1, v0 | a1 = v0;
0x00031498 addiu a2, zero, 0x10 | a2 = 0x10;
0x0003149c lw v0, -0x760c(gp) | v0 = sym.imp.memcpy;
0x000314a0 move t9, v0 | t9 = v0;
0x000314a4 jalr t9 | t9 ();
0x000314a8 nop |
0x000314ac lw gp, 0x28(fp) | gp = *(var_28h);
| label_10:
0x000314b0 lw v0, 0x44(fp) | v0 = *(var_44h);
0x000314b4 addiu v0, v0, 0x10 | v0 += 0x10;
0x000314b8 sw v0, 0x44(fp) | *(var_44h) = v0;
0x000314bc lw v0, 0x1c4(fp) | v0 = *(arg_1c4h);
0x000314c0 lw v0, 0xa08(v0) | v0 = *((v0 + 642));
0x000314c4 lw a0, 0x44(fp) | a0 = *(var_44h);
0x000314c8 move a1, v0 | a1 = v0;
0x000314cc lw a2, 0x4c(fp) | a2 = *(var_4ch);
0x000314d0 lw v0, -0x760c(gp) | v0 = sym.imp.memcpy;
0x000314d4 move t9, v0 | t9 = v0;
0x000314d8 jalr t9 | t9 ();
0x000314dc nop |
0x000314e0 lw gp, 0x28(fp) | gp = *(var_28h);
0x000314e4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000314e8 lw v1, 0x44(fp) | v1 = *(var_44h);
0x000314ec sw v1, 0x1278(v0) | *(v0) = v1;
0x000314f0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000314f4 lw v1, 0x1278(v0) | v1 = *(v0);
0x000314f8 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000314fc lw v0, 0x127c(v0) | v0 = *((v0 + 1183));
0x00031500 move a0, v1 | a0 = v1;
0x00031504 move a1, v0 | a1 = v0;
0x00031508 lw v0, -0x72f4(gp) | v0 = sym.fixupTrackInfo;
0x0003150c move t9, v0 | t9 = v0;
0x00031510 jalr t9 | t9 ();
0x00031514 nop |
0x00031518 lw gp, 0x28(fp) | gp = *(var_28h);
0x0003151c lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031520 sw zero, 0x6728(v0) | *((v0 + 6602)) = 0;
0x00031524 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031528 lw v0, 0x1280(v0) | v0 = *((v0 + 1184));
| if (v0 != 0) {
0x0003152c beqz v0, 0x31578 |
0x00031530 nop |
0x00031534 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031538 addiu v0, v0, 0x6728 | v0 += 0x6728;
0x0003153c lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031540 move a1, v0 | a1 = v0;
0x00031544 lw v0, -0x7c38(gp) | v0 = sym.createFrameOrderCoordinator;
0x00031548 move t9, v0 | t9 = v0;
0x0003154c jalr t9 | t9 ();
0x00031550 nop |
0x00031554 lw gp, 0x28(fp) | gp = *(var_28h);
0x00031558 sw v0, 0x5c(fp) | *(var_5ch) = v0;
0x0003155c lw v0, 0x5c(fp) | v0 = *(var_5ch);
| if (v0 == 0) {
0x00031560 beqz v0, 0x31578 | goto label_11;
| }
0x00031564 nop |
0x00031568 lw v0, 0x5c(fp) | v0 = *(var_5ch);
0x0003156c sw v0, 0x30(fp) | *(var_30h) = v0;
0x00031570 b 0x31978 | goto label_1;
0x00031574 nop |
| }
| label_11:
0x00031578 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003157c lw v1, 0x1278(v0) | v1 = *(v0);
0x00031580 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031584 lw v0, 0x127c(v0) | v0 = *((v0 + 1183));
0x00031588 sll v0, v0, 4 | v0 <<= 4;
0x0003158c sll a0, v0, 3 | a0 = v0 << 3;
0x00031590 subu v0, a0, v0 | __asm ("subu v0, a0, v0");
0x00031594 addu v0, v1, v0 | v0 = v1 + v0;
0x00031598 sw v0, 0x44(fp) | *(var_44h) = v0;
0x0003159c lw v0, 0x34(fp) | v0 = *(var_34h);
0x000315a0 addiu v0, v0, 0x870 | v0 += 0x870;
0x000315a4 move a0, v0 | a0 = v0;
0x000315a8 lw v0, -0x7a60(gp) | v0 = sym.calculateViewItemCount;
0x000315ac move t9, v0 | t9 = v0;
0x000315b0 jalr t9 | t9 ();
0x000315b4 nop |
0x000315b8 lw gp, 0x28(fp) | gp = *(var_28h);
0x000315bc sw v0, 0x60(fp) | *(var_60h) = v0;
0x000315c0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000315c4 lw v1, 0x1254(v0) | v1 = *((v0 + 1173));
0x000315c8 lw v0, 0x1250(v0) | v0 = *((v0 + 1172));
0x000315cc lw a0, 0x34(fp) | a0 = *(var_34h);
0x000315d0 move s2, a0 | s2 = a0;
0x000315d4 sra a0, a0, 0x1f | a0 >>= 0x1f;
0x000315d8 move s3, a0 | s3 = a0;
0x000315dc lw a0, 0x1c4(fp) | a0 = *(arg_1c4h);
0x000315e0 lw a0, 0xa18(a0) | a0 = *((a0 + 646));
0x000315e4 lw a1, -0x7454(gp) | a1 = sym.viewItemRemoved;
0x000315e8 sw a1, 0x10(sp) | *(var_10h) = a1;
0x000315ec sw s2, 0x18(sp) | *(var_18h) = s2;
0x000315f0 sw s3, 0x1c(sp) | *(var_1ch) = s3;
0x000315f4 sw a0, 0x20(sp) | *(var_20h) = a0;
0x000315f8 addiu a0, fp, 0x88 | a0 = fp + 0x88;
0x000315fc sw a0, 0x24(sp) | *(var_24h) = a0;
0x00031600 lw a0, 0x60(fp) | a0 = *(var_60h);
0x00031604 move a2, v0 | a2 = v0;
0x00031608 move a3, v1 | a3 = v1;
0x0003160c lw v0, -0x78c4(gp) | v0 = sym.createContentView;
0x00031610 move t9, v0 | t9 = v0;
0x00031614 jalr t9 | t9 ();
0x00031618 nop |
0x0003161c lw gp, 0x28(fp) | gp = *(var_28h);
0x00031620 sw v0, 0x64(fp) | *(var_64h) = v0;
0x00031624 lw v0, 0x64(fp) | v0 = *(var_64h);
| if (v0 != 0) {
0x00031628 beqz v0, 0x31640 |
0x0003162c nop |
0x00031630 lw v0, 0x64(fp) | v0 = *(var_64h);
0x00031634 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00031638 b 0x31978 | goto label_1;
0x0003163c nop |
| }
0x00031640 lw v1, 0x88(fp) | v1 = *(var_88h);
0x00031644 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031648 sw v1, 0x860(v0) | *((v0 + 536)) = v1;
0x0003164c addiu v0, fp, 0x90 | v0 = fp + 0x90;
0x00031650 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031654 move a1, v0 | a1 = v0;
0x00031658 lw v0, -0x733c(gp) | v0 = sym.createPackager;
0x0003165c move t9, v0 | t9 = v0;
0x00031660 jalr t9 | t9 ();
0x00031664 nop |
0x00031668 lw gp, 0x28(fp) | gp = *(var_28h);
0x0003166c sw v0, 0x68(fp) | *(var_68h) = v0;
0x00031670 lw v0, 0x68(fp) | v0 = *(var_68h);
| if (v0 != 0) {
0x00031674 beqz v0, 0x3168c |
0x00031678 nop |
0x0003167c lw v0, 0x68(fp) | v0 = *(var_68h);
0x00031680 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00031684 b 0x31978 | goto label_1;
0x00031688 nop |
| }
0x0003168c lw v1, 0x90(fp) | v1 = *(var_90h);
0x00031690 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031694 sw v1, 0x864(v0) | *((v0 + 537)) = v1;
0x00031698 lw a0, 0x34(fp) | a0 = *(var_34h);
0x0003169c lw v0, -0x7c24(gp) | v0 = sym.generateEosMetadata;
0x000316a0 move t9, v0 | t9 = v0;
0x000316a4 jalr t9 | t9 ();
0x000316a8 nop |
0x000316ac lw gp, 0x28(fp) | gp = *(var_28h);
0x000316b0 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x000316b4 lw v0, 0x6c(fp) | v0 = *(var_6ch);
| if (v0 != 0) {
0x000316b8 beqz v0, 0x316d0 |
0x000316bc nop |
0x000316c0 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x000316c4 sw v0, 0x30(fp) | *(var_30h) = v0;
0x000316c8 b 0x31978 | goto label_1;
0x000316cc nop |
| }
0x000316d0 lw v0, -0x72b4(gp) | v0 = *(gp);
0x000316d4 lw a1, (v0) | a1 = *(v0);
0x000316d8 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000316dc move s0, v0 | s0 = v0;
0x000316e0 sra v0, v0, 0x1f | v0 >>= 0x1f;
0x000316e4 move s1, v0 | s1 = v0;
0x000316e8 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x000316ec lw a0, 0x1990(v0) | a0 = *((v0 + 1636));
0x000316f0 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x000316f4 lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x000316f8 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x000316fc sw a0, 0x10(sp) | *(var_10h) = a0;
0x00031700 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00031704 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00031708 addiu v0, fp, 0x94 | v0 = fp + 0x94;
0x0003170c sw v0, 0x20(sp) | *(var_20h) = v0;
0x00031710 lw a0, -0x7d48(gp) | a0 = *(gp);
0x00031714 move a2, s0 | a2 = s0;
0x00031718 move a3, s1 | a3 = s1;
0x0003171c lw v0, -0x7800(gp) | v0 = sym.createStateMachine;
0x00031720 move t9, v0 | t9 = v0;
0x00031724 jalr t9 | t9 ();
0x00031728 nop |
0x0003172c lw gp, 0x28(fp) | gp = *(var_28h);
0x00031730 sw v0, 0x70(fp) | *(var_70h) = v0;
0x00031734 lw v0, 0x70(fp) | v0 = *(var_70h);
| if (v0 != 0) {
0x00031738 beqz v0, 0x31750 |
0x0003173c nop |
0x00031740 lw v0, 0x70(fp) | v0 = *(var_70h);
0x00031744 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00031748 b 0x31978 | goto label_1;
0x0003174c nop |
| }
0x00031750 lw v1, 0x94(fp) | v1 = *(var_94h);
0x00031754 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031758 sw v1, 0x80c(v0) | *((v0 + 515)) = v1;
0x0003175c addiu v0, fp, 0x8c | v0 = fp + 0x8c;
0x00031760 move a0, v0 | a0 = v0;
0x00031764 lw v0, -0x7edc(gp) | v0 = sym.stackQueueCreate;
0x00031768 move t9, v0 | t9 = v0;
0x0003176c jalr t9 | t9 ();
0x00031770 nop |
0x00031774 lw gp, 0x28(fp) | gp = *(var_28h);
0x00031778 sw v0, 0x74(fp) | *(var_74h) = v0;
0x0003177c lw v0, 0x74(fp) | v0 = *(var_74h);
| if (v0 != 0) {
0x00031780 beqz v0, 0x31798 |
0x00031784 nop |
0x00031788 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0003178c sw v0, 0x30(fp) | *(var_30h) = v0;
0x00031790 b 0x31978 | goto label_1;
0x00031794 nop |
| }
0x00031798 lw v1, 0x8c(fp) | v1 = *(var_8ch);
0x0003179c lw v0, 0x34(fp) | v0 = *(var_34h);
0x000317a0 sw v1, 0x868(v0) | *((v0 + 538)) = v1;
0x000317a4 addiu v0, fp, 0x8c | v0 = fp + 0x8c;
0x000317a8 move a0, v0 | a0 = v0;
0x000317ac lw v0, -0x7edc(gp) | v0 = sym.stackQueueCreate;
0x000317b0 move t9, v0 | t9 = v0;
0x000317b4 jalr t9 | t9 ();
0x000317b8 nop |
0x000317bc lw gp, 0x28(fp) | gp = *(var_28h);
0x000317c0 sw v0, 0x78(fp) | *(var_78h) = v0;
0x000317c4 lw v0, 0x78(fp) | v0 = *(var_78h);
| if (v0 != 0) {
0x000317c8 beqz v0, 0x317e0 |
0x000317cc nop |
0x000317d0 lw v0, 0x78(fp) | v0 = *(var_78h);
0x000317d4 sw v0, 0x30(fp) | *(var_30h) = v0;
0x000317d8 b 0x31978 | goto label_1;
0x000317dc nop |
| }
0x000317e0 lw v1, 0x8c(fp) | v1 = *(var_8ch);
0x000317e4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000317e8 sw v1, 0x86c(v0) | *((v0 + 539)) = v1;
0x000317ec lw v0, 0x34(fp) | v0 = *(var_34h);
0x000317f0 sw zero, 0x838(v0) | *((v0 + 526)) = 0;
0x000317f4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x000317f8 addiu v0, v0, 0x850 | v0 += 0x850;
0x000317fc lui a0, 0x10 | a0 = 0x100000;
0x00031800 move a1, v0 | a1 = v0;
0x00031804 lw v0, -0x7534(gp) | v0 = sym.semaphoreCreate;
0x00031808 move t9, v0 | t9 = v0;
0x0003180c jalr t9 | t9 ();
0x00031810 nop |
0x00031814 lw gp, 0x28(fp) | gp = *(var_28h);
0x00031818 sw v0, 0x7c(fp) | *(var_7ch) = v0;
0x0003181c lw v0, 0x7c(fp) | v0 = *(var_7ch);
| if (v0 != 0) {
0x00031820 beqz v0, 0x31838 |
0x00031824 nop |
0x00031828 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0003182c sw v0, 0x30(fp) | *(var_30h) = v0;
0x00031830 b 0x31978 | goto label_1;
0x00031834 nop |
| }
0x00031838 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003183c sw zero, 0x84c(v0) | *(v0) = 0;
0x00031840 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031844 lw v1, 0x1a38(v0) | v1 = *((v0 + 1678));
0x00031848 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003184c lw v0, 0x85c(v0) | v0 = *((v0 + 535));
0x00031850 sll v0, v0, 2 | v0 <<= 2;
0x00031854 addu v0, v1, v0 | v0 = v1 + v0;
0x00031858 lw v1, 0x34(fp) | v1 = *(var_34h);
0x0003185c sw v1, (v0) | *(v0) = v1;
0x00031860 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031864 lw v0, 0x1a34(v0) | v0 = *(v0);
0x00031868 addiu v1, v0, 1 | v1 = v0 + 1;
0x0003186c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031870 sw v1, 0x1a34(v0) | *(v0) = v1;
0x00031874 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031878 lw v0, -0x76a8(gp) | v0 = sym.resetAckParserState;
0x0003187c move t9, v0 | t9 = v0;
0x00031880 jalr t9 | t9 ();
0x00031884 nop |
0x00031888 lw gp, 0x28(fp) | gp = *(var_28h);
0x0003188c sw v0, 0x80(fp) | *(var_80h) = v0;
0x00031890 lw v0, 0x80(fp) | v0 = *(var_80h);
| if (v0 != 0) {
0x00031894 beqz v0, 0x318ac |
0x00031898 nop |
0x0003189c lw v0, 0x80(fp) | v0 = *(var_80h);
0x000318a0 sw v0, 0x30(fp) | *(var_30h) = v0;
0x000318a4 b 0x31978 | goto label_1;
0x000318a8 nop |
| }
0x000318ac lw v0, 0x1c8(fp) | v0 = *(arg_1c8h);
0x000318b0 lw v1, 0x34(fp) | v1 = *(var_34h);
0x000318b4 sw v1, (v0) | *(v0) = v1;
0x000318b8 sw zero, 0x40(fp) | *(var_40h) = 0;
0x000318bc lw a0, 0x34(fp) | a0 = *(var_34h);
0x000318c0 addiu v0, zero, 1 | v0 = 1;
0x000318c4 move v1, zero | v1 = 0;
0x000318c8 sw v0, 0x60f0(a0) | *((a0 + 6204)) = v0;
0x000318cc sw v1, 0x60f4(a0) | *((a0 + 6205)) = v1;
0x000318d0 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x000318d4 lw a2, 0x1990(v0) | a2 = *((v0 + 1636));
0x000318d8 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x000318dc lw v1, 0x198c(v0) | v1 = *((v0 + 1635));
0x000318e0 lw v0, 0x1988(v0) | v0 = *((v0 + 1634));
0x000318e4 move a0, v0 | a0 = v0;
0x000318e8 move a1, v1 | a1 = v1;
0x000318ec move t9, a2 | t9 = a2;
0x000318f0 jalr t9 | t9 ();
0x000318f4 nop |
0x000318f8 lw gp, 0x28(fp) | gp = *(var_28h);
0x000318fc lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031900 sw v0, 0x6668(a0) | *((a0 + 6554)) = v0;
0x00031904 sw v1, 0x666c(a0) | *((a0 + 6555)) = v1;
0x00031908 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003190c lw a0, 0x6668(v0) | a0 = *((v0 + 6554));
0x00031910 lw a1, 0x666c(v0) | a1 = *((v0 + 6555));
0x00031914 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031918 lw a2, 0x1978(v0) | a2 = *((v0 + 1630));
0x0003191c lw a3, 0x197c(v0) | a3 = *((v0 + 1631));
0x00031920 addu v0, a0, a2 | v0 = a0 + a2;
0x00031924 sltu t0, v0, a0 | t0 = (v0 < a0) ? 1 : 0;
0x00031928 addu v1, a1, a3 | v1 = a1 + a3;
0x0003192c addu a0, t0, v1 | a0 = t0 + v1;
0x00031930 move v1, a0 | v1 = a0;
0x00031934 lw a0, 0x34(fp) | a0 = *(var_34h);
0x00031938 sw v0, 0x6700(a0) | *((a0 + 6592)) = v0;
0x0003193c sw v1, 0x6704(a0) | *((a0 + 6593)) = v1;
0x00031940 lw v0, 0x34(fp) | v0 = *(var_34h);
0x00031944 lw v0, 0x80c(v0) | v0 = *((v0 + 515));
0x00031948 move a0, v0 | a0 = v0;
0x0003194c lw v0, -0x76b4(gp) | v0 = sym.stepStateMachine;
0x00031950 move t9, v0 | t9 = v0;
0x00031954 jalr t9 | t9 ();
0x00031958 nop |
0x0003195c lw gp, 0x28(fp) | gp = *(var_28h);
0x00031960 sw v0, 0x84(fp) | *(var_84h) = v0;
0x00031964 lw v0, 0x84(fp) | v0 = *(var_84h);
| if (v0 != 0) {
0x00031968 beqz v0, 0x31978 |
0x0003196c nop |
0x00031970 lw v0, 0x84(fp) | v0 = *(var_84h);
0x00031974 sw v0, 0x30(fp) | *(var_30h) = v0;
| }
| label_1:
0x00031978 lw v0, 0x3c(fp) | v0 = *(var_3ch);
| if (v0 != 0) {
0x0003197c beqz v0, 0x319bc |
0x00031980 nop |
0x00031984 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031988 lw t0, 0x19a0(v0) | t0 = *((v0 + 1640));
0x0003198c lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x00031990 lw a0, 0x1988(v0) | a0 = *((v0 + 1634));
0x00031994 lw a1, 0x198c(v0) | a1 = *((v0 + 1635));
0x00031998 lw v0, 0x1c0(fp) | v0 = *(arg_1c0h);
0x0003199c lw v1, 0x844(v0) | v1 = *((v0 + 529));
0x000319a0 lw v0, 0x840(v0) | v0 = *(v0);
0x000319a4 move a2, v0 | a2 = v0;
0x000319a8 move a3, v1 | a3 = v1;
0x000319ac move t9, t0 | t9 = t0;
0x000319b0 jalr t9 | t9 ();
0x000319b4 nop |
0x000319b8 lw gp, 0x28(fp) | gp = *(var_28h);
| }
0x000319bc lw v0, 0x30(fp) | v0 = *(var_30h);
| if (v0 != 0) {
0x000319c0 beqz v0, 0x319ec |
0x000319c4 nop |
0x000319c8 lw v0, 0x40(fp) | v0 = *(var_40h);
| if (v0 == 0) {
0x000319cc beqz v0, 0x319ec | goto label_12;
| }
0x000319d0 nop |
0x000319d4 lw a0, 0x34(fp) | a0 = *(var_34h);
0x000319d8 lw v0, -0x73ac(gp) | v0 = sym.freeStream;
0x000319dc move t9, v0 | t9 = v0;
0x000319e0 jalr t9 | t9 ();
0x000319e4 nop |
0x000319e8 lw gp, 0x28(fp) | gp = *(var_28h);
| }
| label_12:
0x000319ec lw v0, 0x30(fp) | v0 = *(var_30h);
0x000319f0 move sp, fp |
0x000319f4 lw ra, 0x1bc(sp) | ra = *(var_1bch);
0x000319f8 lw fp, 0x1b8(sp) | fp = *(var_1b8h);
0x000319fc lw s5, 0x1b4(sp) | s5 = *(var_1b4h);
0x00031a00 lw s4, 0x1b0(sp) | s4 = *(var_1b0h);
0x00031a04 lw s3, 0x1ac(sp) | s3 = *(var_1ach);
0x00031a08 lw s2, 0x1a8(sp) | s2 = *(var_1a8h);
0x00031a0c lw s1, 0x1a4(sp) | s1 = *(var_1a4h);
0x00031a10 lw s0, 0x1a0(sp) | s0 = *(var_1a0h);
0x00031a14 addiu sp, sp, 0x1c0 |
0x00031a18 jr ra | return v0;
0x00031a1c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x3d8cc */
| #include <stdint.h>
|
; (fcn) sym.createStreamResult () | void createStreamResult () {
0x0003d8cc lui gp, 5 |
0x0003d8d0 addiu gp, gp, 0x3804 |
0x0003d8d4 addu gp, gp, t9 | gp += t9;
0x0003d8d8 addiu sp, sp, -0x48 |
0x0003d8dc sw ra, 0x44(sp) | *(var_44h) = ra;
0x0003d8e0 sw fp, 0x40(sp) | *(var_40h) = fp;
0x0003d8e4 move fp, sp | fp = sp;
0x0003d8e8 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0003d8ec sw a0, 0x48(fp) | *(arg_48h) = a0;
0x0003d8f0 sw a1, 0x4c(fp) | *(arg_4ch) = a1;
0x0003d8f4 sw a2, 0x50(fp) | *(arg_50h) = a2;
0x0003d8f8 sw zero, 0x20(fp) | *(var_20h) = 0;
0x0003d8fc sw zero, 0x24(fp) | *(var_24h) = 0;
0x0003d900 sw zero, 0x28(fp) | *(var_28h) = 0;
0x0003d904 lw v0, 0x48(fp) | v0 = *(arg_48h);
| if (v0 != 0) {
0x0003d908 beqz v0, 0x3d920 |
0x0003d90c nop |
0x0003d910 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003d914 lw v0, 0x858(v0) | v0 = *(v0);
| if (v0 != 0) {
0x0003d918 bnez v0, 0x3d930 | goto label_0;
| }
0x0003d91c nop |
| }
0x0003d920 addiu v0, zero, 1 | v0 = 1;
0x0003d924 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0003d928 b 0x3db8c | goto label_1;
0x0003d92c nop |
| label_0:
0x0003d930 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003d934 lw v0, 0x858(v0) | v0 = *(v0);
0x0003d938 sw v0, 0x24(fp) | *(var_24h) = v0;
0x0003d93c lw v0, 0x24(fp) | v0 = *(var_24h);
0x0003d940 lw t0, 0x199c(v0) | t0 = *((v0 + 1639));
0x0003d944 lw v0, 0x24(fp) | v0 = *(var_24h);
0x0003d948 lw a0, 0x1988(v0) | a0 = *((v0 + 1634));
0x0003d94c lw a1, 0x198c(v0) | a1 = *((v0 + 1635));
0x0003d950 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003d954 lw v1, 0x844(v0) | v1 = *((v0 + 529));
0x0003d958 lw v0, 0x840(v0) | v0 = *(v0);
0x0003d95c move a2, v0 | a2 = v0;
0x0003d960 move a3, v1 | a3 = v1;
0x0003d964 move t9, t0 | t9 = t0;
0x0003d968 jalr t9 | t9 ();
0x0003d96c nop |
0x0003d970 lw gp, 0x18(fp) | gp = *(var_18h);
0x0003d974 addiu v0, zero, 1 | v0 = 1;
0x0003d978 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0003d97c lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003d980 lw v0, 0x80c(v0) | v0 = *((v0 + 515));
0x0003d984 addiu v1, fp, 0x3c | v1 = fp + 0x3c;
0x0003d988 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0003d98c move a0, v0 | a0 = v0;
0x0003d990 addiu a2, zero, 4 | a2 = 4;
0x0003d994 move a3, zero | a3 = 0;
0x0003d998 lw v0, -0x7618(gp) | v0 = sym.getStateMachineState;
0x0003d99c move t9, v0 | t9 = v0;
0x0003d9a0 jalr t9 | t9 ();
0x0003d9a4 nop |
0x0003d9a8 lw gp, 0x18(fp) | gp = *(var_18h);
0x0003d9ac sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x0003d9b0 lw v0, 0x2c(fp) | v0 = *(var_2ch);
| if (v0 != 0) {
0x0003d9b4 beqz v0, 0x3d9cc |
0x0003d9b8 nop |
0x0003d9bc lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0003d9c0 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0003d9c4 b 0x3db8c | goto label_1;
0x0003d9c8 nop |
| }
0x0003d9cc lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003d9d0 lw a0, 0x80c(v0) | a0 = *((v0 + 515));
0x0003d9d4 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0003d9d8 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x0003d9dc lw v0, 8(v0) | v0 = *((v0 + 2));
0x0003d9e0 move a2, v0 | a2 = v0;
0x0003d9e4 move a3, v1 | a3 = v1;
0x0003d9e8 lw v0, -0x7438(gp) | v0 = sym.acceptStateMachineState;
0x0003d9ec move t9, v0 | t9 = v0;
0x0003d9f0 jalr t9 | t9 ();
0x0003d9f4 nop |
0x0003d9f8 lw gp, 0x18(fp) | gp = *(var_18h);
0x0003d9fc sw v0, 0x30(fp) | *(var_30h) = v0;
0x0003da00 lw v0, 0x30(fp) | v0 = *(var_30h);
| if (v0 != 0) {
0x0003da04 beqz v0, 0x3da1c |
0x0003da08 nop |
0x0003da0c lw v0, 0x30(fp) | v0 = *(var_30h);
0x0003da10 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0003da14 b 0x3db8c | goto label_1;
0x0003da18 nop |
| }
0x0003da1c lw a0, 0x4c(fp) | a0 = *(arg_4ch);
0x0003da20 lw v0, -0x7e20(gp) | v0 = sym.serviceCallResultCheck;
0x0003da24 move t9, v0 | t9 = v0;
0x0003da28 jalr t9 | t9 ();
0x0003da2c nop |
0x0003da30 lw gp, 0x18(fp) | gp = *(var_18h);
0x0003da34 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0003da38 lw v0, 0x20(fp) | v0 = *(var_20h);
| if (v0 != 0) {
0x0003da3c beqz v0, 0x3da80 |
0x0003da40 nop |
0x0003da44 lw v1, 0x20(fp) | v1 = *(var_20h);
0x0003da48 lui v0, 0x5200 | v0 = 0x52000037;
0x0003da4c ori v0, v0, 0x37 |
| if (v1 == v0) {
0x0003da50 beq v1, v0, 0x3da80 | goto label_2;
| }
0x0003da54 nop |
0x0003da58 lw v1, 0x20(fp) | v1 = *(var_20h);
0x0003da5c lui v0, 0x5200 | v0 = 0x52000031;
0x0003da60 ori v0, v0, 0x31 |
| if (v1 == v0) {
0x0003da64 beq v1, v0, 0x3da80 | goto label_2;
| }
0x0003da68 nop |
0x0003da6c lw v1, 0x20(fp) | v1 = *(var_20h);
0x0003da70 lui v0, 0x5200 | v0 = 0x52000010;
0x0003da74 ori v0, v0, 0x10 |
| if (v1 != v0) {
0x0003da78 bne v1, v0, 0x3db8c | goto label_1;
| }
0x0003da7c nop |
| }
| label_2:
0x0003da80 sw zero, 0x20(fp) | *(var_20h) = 0;
0x0003da84 lw a0, 0x48(fp) | a0 = *(arg_48h);
0x0003da88 addiu a1, zero, 1 | a1 = 1;
0x0003da8c lw v0, -0x7900(gp) | v0 = sym.calculateCallLatency;
0x0003da90 move t9, v0 | t9 = v0;
0x0003da94 jalr t9 | t9 ();
0x0003da98 nop |
0x0003da9c lw gp, 0x18(fp) | gp = *(var_18h);
0x0003daa0 sw v0, 0x34(fp) | *(var_34h) = v0;
0x0003daa4 lw v0, 0x34(fp) | v0 = *(var_34h);
| if (v0 != 0) {
0x0003daa8 beqz v0, 0x3dac0 |
0x0003daac nop |
0x0003dab0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0003dab4 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0003dab8 b 0x3db8c | goto label_1;
0x0003dabc nop |
| }
0x0003dac0 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003dac4 lw v1, 0x4c(fp) | v1 = *(arg_4ch);
0x0003dac8 sw v1, 0x838(v0) | *((v0 + 526)) = v1;
0x0003dacc lw v1, 0x4c(fp) | v1 = *(arg_4ch);
0x0003dad0 addiu v0, zero, 0xc8 | v0 = 0xc8;
| if (v1 == v0) {
0x0003dad4 bne v1, v0, 0x3db54 |
0x0003dad8 nop |
0x0003dadc lw v0, 0x50(fp) | v0 = *(arg_50h);
| if (v0 != 0) {
0x0003dae0 beqz v0, 0x3db10 |
0x0003dae4 nop |
0x0003dae8 lw a0, 0x50(fp) | a0 = *(arg_50h);
0x0003daec addiu a1, zero, 0x801 | a1 = 0x801;
0x0003daf0 lw v0, -0x7484(gp) | v0 = sym.imp.strnlen;
0x0003daf4 move t9, v0 | t9 = v0;
0x0003daf8 jalr t9 | t9 ();
0x0003dafc nop |
0x0003db00 lw gp, 0x18(fp) | gp = *(var_18h);
0x0003db04 slti v0, v0, 0x801 | v0 = (v0 < 0x801) ? 1 : 0;
| if (v0 != 0) {
0x0003db08 bnez v0, 0x3db24 | goto label_3;
| }
0x0003db0c nop |
| }
0x0003db10 lui v0, 0x5200 | v0 = 0x5200003f;
0x0003db14 ori v0, v0, 0x3f |
0x0003db18 sw v0, 0x20(fp) | *(var_20h) = v0;
0x0003db1c b 0x3db8c | goto label_1;
0x0003db20 nop |
| label_3:
0x0003db24 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003db28 addiu v0, v0, 8 | v0 += 8;
0x0003db2c move a0, v0 | a0 = v0;
0x0003db30 lw a1, 0x50(fp) | a1 = *(arg_50h);
0x0003db34 addiu a2, zero, 0x800 | a2 = 0x800;
0x0003db38 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x0003db3c move t9, v0 | t9 = v0;
0x0003db40 jalr t9 | t9 ();
0x0003db44 nop |
0x0003db48 lw gp, 0x18(fp) | gp = *(var_18h);
0x0003db4c lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003db50 sb zero, 0x808(v0) | *(v0) = 0;
| }
0x0003db54 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003db58 lw v0, 0x80c(v0) | v0 = *((v0 + 515));
0x0003db5c move a0, v0 | a0 = v0;
0x0003db60 lw v0, -0x76b4(gp) | v0 = sym.stepStateMachine;
0x0003db64 move t9, v0 | t9 = v0;
0x0003db68 jalr t9 | t9 ();
0x0003db6c nop |
0x0003db70 lw gp, 0x18(fp) | gp = *(var_18h);
0x0003db74 sw v0, 0x38(fp) | *(var_38h) = v0;
0x0003db78 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x0003db7c beqz v0, 0x3db8c |
0x0003db80 nop |
0x0003db84 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0003db88 sw v0, 0x20(fp) | *(var_20h) = v0;
| }
| label_1:
0x0003db8c lw v0, 0x28(fp) | v0 = *(var_28h);
| if (v0 != 0) {
0x0003db90 beqz v0, 0x3dbd0 |
0x0003db94 nop |
0x0003db98 lw v0, 0x24(fp) | v0 = *(var_24h);
0x0003db9c lw t0, 0x19a0(v0) | t0 = *((v0 + 1640));
0x0003dba0 lw v0, 0x24(fp) | v0 = *(var_24h);
0x0003dba4 lw a0, 0x1988(v0) | a0 = *((v0 + 1634));
0x0003dba8 lw a1, 0x198c(v0) | a1 = *((v0 + 1635));
0x0003dbac lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0003dbb0 lw v1, 0x844(v0) | v1 = *((v0 + 529));
0x0003dbb4 lw v0, 0x840(v0) | v0 = *(v0);
0x0003dbb8 move a2, v0 | a2 = v0;
0x0003dbbc move a3, v1 | a3 = v1;
0x0003dbc0 move t9, t0 | t9 = t0;
0x0003dbc4 jalr t9 | t9 ();
0x0003dbc8 nop |
0x0003dbcc lw gp, 0x18(fp) | gp = *(var_18h);
| }
0x0003dbd0 lw v0, 0x20(fp) | v0 = *(var_20h);
0x0003dbd4 move sp, fp |
0x0003dbd8 lw ra, 0x44(sp) | ra = *(var_44h);
0x0003dbdc lw fp, 0x40(sp) | fp = *(var_40h);
0x0003dbe0 addiu sp, sp, 0x48 |
0x0003dbe4 jr ra | return v0;
0x0003dbe8 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x15e6c */
| #include <stdint.h>
|
; (fcn) sym.createStreamCurl () | void createStreamCurl () {
0x00015e6c lui gp, 8 |
0x00015e70 addiu gp, gp, -0x4d9c |
0x00015e74 addu gp, gp, t9 | gp += t9;
0x00015e78 addiu sp, sp, -0x4138 |
0x00015e7c sw ra, 0x4134(sp) | *(arg_4134h) = ra;
0x00015e80 sw fp, 0x4130(sp) | *(arg_4130h) = fp;
0x00015e84 sw s1, 0x412c(sp) | *(arg_412ch) = s1;
0x00015e88 sw s0, 0x4128(sp) | *(arg_4128h) = s0;
0x00015e8c move fp, sp | fp = sp;
0x00015e90 sw gp, 0x50(sp) | *(arg_50h) = gp;
0x00015e94 sw a0, 0x4138(fp) | *(arg_4138h) = a0;
0x00015e98 sw a1, 0x413c(fp) | *(arg_413ch) = a1;
0x00015e9c sw a2, 0x4140(fp) | *(arg_4140h) = a2;
0x00015ea0 sw a3, 0x4144(fp) | *(arg_4144h) = a3;
0x00015ea4 sw zero, 0x58(fp) | *(arg_58h) = 0;
0x00015ea8 sw zero, 0x6c(fp) | *(arg_6ch) = 0;
0x00015eac move v0, zero | v0 = 0;
0x00015eb0 move v1, zero | v1 = 0;
0x00015eb4 sw v0, 0x4118(fp) | *(arg_4118h) = v0;
0x00015eb8 sw v1, 0x411c(fp) | *(arg_411ch) = v1;
0x00015ebc lw v0, 0x4138(fp) | v0 = *(arg_4138h);
0x00015ec0 sw v0, 0x70(fp) | *(arg_70h) = v0;
0x00015ec4 sw zero, 0x5c(fp) | *(arg_5ch) = 0;
0x00015ec8 sw zero, 0x4120(fp) | *(arg_4120h) = 0;
0x00015ecc sw zero, 0x60(fp) | *(arg_60h) = 0;
0x00015ed0 sw zero, 0x64(fp) | *(arg_64h) = 0;
0x00015ed4 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x00015ed8 sw zero, 0x4124(fp) | *(arg_4124h) = 0;
0x00015edc move v0, zero | v0 = 0;
0x00015ee0 move v1, zero | v1 = 0;
0x00015ee4 sw v0, 0x78(fp) | *(arg_78h) = v0;
0x00015ee8 sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x00015eec lw v0, 0x70(fp) | v0 = *(arg_70h);
| if (v0 != 0) {
0x00015ef0 beqz v0, 0x15f14 |
0x00015ef4 nop |
0x00015ef8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00015efc lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00015f00 beqz v0, 0x15f14 | goto label_0;
| }
0x00015f04 nop |
0x00015f08 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
| if (v0 != 0) {
0x00015f0c bnez v0, 0x15f24 | goto label_1;
| }
0x00015f10 nop |
| }
| label_0:
0x00015f14 addiu v0, zero, 2 | v0 = 2;
0x00015f18 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00015f1c b 0x16530 | goto label_2;
0x00015f20 nop |
| label_1:
0x00015f24 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00015f28 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00015f2c sw v0, 0x5c(fp) | *(arg_5ch) = v0;
0x00015f30 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00015f34 lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x00015f38 lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x00015f3c sw v0, 0x78(fp) | *(arg_78h) = v0;
0x00015f40 sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x00015f44 lw v0, 0x414c(fp) | v0 = *(arg_414ch);
| if (v0 != 0) {
0x00015f48 beqz v0, 0x15f94 |
0x00015f4c nop |
0x00015f50 lw v0, 0x414c(fp) | v0 = *(arg_414ch);
0x00015f54 lb v0, (v0) | v0 = *(v0);
| if (v0 == 0) {
0x00015f58 beqz v0, 0x15f94 | goto label_3;
| }
0x00015f5c nop |
0x00015f60 addiu v0, fp, 0xb0 | v0 = fp + 0xb0;
0x00015f64 move a0, v0 | a0 = v0;
0x00015f68 addiu a1, zero, 0x864 | a1 = 0x864;
0x00015f6c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._KmsKeyId_:___s___n_t */
0x00015f70 addiu a2, v0, 0x346c | a2 = v0 + 0x346c;
0x00015f74 lw a3, 0x414c(fp) | a3 = *(arg_414ch);
0x00015f78 lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x00015f7c move t9, v0 | t9 = v0;
0x00015f80 jalr t9 | t9 ();
0x00015f84 nop |
0x00015f88 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00015f8c b 0x15f98 | goto label_4;
0x00015f90 nop |
| }
| label_3:
0x00015f94 sb zero, 0xb0(fp) | *(arg_b0h) = 0;
| label_4:
0x00015f98 lw v0, 0x4150(fp) | v0 = *(arg_4150h);
0x00015f9c lw v1, 0x4154(fp) | v1 = *(arg_4154h);
0x00015fa0 lw t0, -0x7fc8(gp) | t0 = sym.__udivdi3;
0x00015fa4 move a0, v0 | a0 = v0;
0x00015fa8 move a1, v1 | a1 = v1;
0x00015fac lui a2, 0x61c4 | a2 = 0x61c46800;
0x00015fb0 ori a2, a2, 0x6800 |
0x00015fb4 addiu a3, zero, 8 | a3 = 8;
0x00015fb8 move t9, t0 | t9 = t0;
0x00015fbc jalr t9 | t9 ();
0x00015fc0 nop |
0x00015fc4 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00015fc8 sw v0, 0x80(fp) | *(arg_80h) = v0;
0x00015fcc sw v1, 0x84(fp) | *(arg_84h) = v1;
0x00015fd0 addiu a0, fp, 0x914 | a0 = fp + 0x914;
0x00015fd4 lw v0, 0x4144(fp) | v0 = *(arg_4144h);
0x00015fd8 sw v0, 0x10(sp) | *(arg_10h) = v0;
0x00015fdc lw v0, 0x4148(fp) | v0 = *(arg_4148h);
0x00015fe0 sw v0, 0x14(sp) | *(arg_14h) = v0;
0x00015fe4 addiu v0, fp, 0xb0 | v0 = fp + 0xb0;
0x00015fe8 sw v0, 0x18(sp) | *(arg_18h) = v0;
0x00015fec lw v0, 0x80(fp) | v0 = *(arg_80h);
0x00015ff0 lw v1, 0x84(fp) | v1 = *(arg_84h);
0x00015ff4 sw v0, 0x20(sp) | *(arg_20h) = v0;
0x00015ff8 sw v1, 0x24(sp) | *(arg_24h) = v1;
0x00015ffc addiu a1, zero, 0x2800 | a1 = 0x2800;
0x00016000 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._n_t_DeviceName_:___s___n_t_StreamName_:___s___n_t_MediaType_:___s___n_t_s_DataRetentionInHours_:__llu_n */
0x00016004 addiu a2, v0, 0x3480 | a2 = v0 + 0x3480;
0x00016008 lw a3, 0x4140(fp) | a3 = *(arg_4140h);
0x0001600c lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x00016010 move t9, v0 | t9 = v0;
0x00016014 jalr t9 | t9 ();
0x00016018 nop |
0x0001601c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016020 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00016024 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00016028 addiu v0, v0, 8 | v0 += 8;
0x0001602c move a0, v0 | a0 = v0;
0x00016030 lw v0, -0x7950(gp) | v0 = sym.deserializeAwsCredentials;
0x00016034 move t9, v0 | t9 = v0;
0x00016038 jalr t9 | t9 ();
0x0001603c nop |
0x00016040 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016044 sw v0, 0x88(fp) | *(arg_88h) = v0;
0x00016048 lw v0, 0x88(fp) | v0 = *(arg_88h);
| if (v0 != 0) {
0x0001604c beqz v0, 0x16064 |
0x00016050 nop |
0x00016054 lw v0, 0x88(fp) | v0 = *(arg_88h);
0x00016058 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x0001605c b 0x16530 | goto label_2;
0x00016060 nop |
| }
0x00016064 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00016068 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x0001606c addiu v0, v0, 8 | v0 += 8;
0x00016070 sw v0, 0x6c(fp) | *(arg_6ch) = v0;
0x00016074 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00016078 lw v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x0001607c beqz v0, 0x16098 |
0x00016080 nop |
0x00016084 lui v0, 0x1500 | v0 = 0x15000008;
0x00016088 ori v0, v0, 8 |
0x0001608c sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016090 b 0x16530 | goto label_2;
0x00016094 nop |
| }
0x00016098 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x0001609c lw v1, 4(v0) | v1 = *((v0 + 1));
0x000160a0 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x000160a4 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x000160a8 lw v0, 0x2718(v0) | v0 = *((v0 + 2502));
| if (v1 != v0) {
0x000160ac beq v1, v0, 0x160c4 |
0x000160b0 nop |
0x000160b4 addiu v0, zero, 0xc | v0 = 0xc;
0x000160b8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000160bc b 0x16530 | goto label_2;
0x000160c0 nop |
| }
0x000160c4 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000160c8 addiu v0, v0, 0x21e | v0 += 0x21e;
0x000160cc addiu v1, fp, 0x3114 | v1 = fp + 0x3114;
0x000160d0 move a0, v1 | a0 = v1;
0x000160d4 move a1, v0 | a1 = v0;
0x000160d8 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x000160dc move t9, v0 | t9 = v0;
0x000160e0 jalr t9 | t9 ();
0x000160e4 nop |
0x000160e8 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000160ec addiu v0, fp, 0x3114 | v0 = fp + 0x3114;
0x000160f0 move a0, v0 | a0 = v0;
0x000160f4 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x000160f8 move t9, v0 | t9 = v0;
0x000160fc jalr t9 | t9 ();
0x00016100 nop |
0x00016104 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016108 addiu v1, fp, 0x3114 | v1 = fp + 0x3114;
0x0001610c addu v0, v1, v0 | v0 = v1 + v0;
0x00016110 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x00016114 lw a2, 0x34e4(v1) | a2 = *((v1 + 3385));
| /* str._createStream */
0x00016118 addiu a0, v1, 0x34e4 | a0 = v1 + 0x34e4;
0x0001611c lw a1, 4(a0) | a1 = *((a0 + 1));
| /* str._createStream */
0x00016120 addiu a0, v1, 0x34e4 | a0 = v1 + 0x34e4;
0x00016124 lw a0, 8(a0) | a0 = *((a0 + 2));
0x00016128 swl a2, 3(v0) | __asm ("swl a2, 3(v0)");
0x0001612c swr a2, (v0) | __asm ("swr a2, (v0)");
0x00016130 swl a1, 7(v0) | __asm ("swl a1, 7(v0)");
0x00016134 swr a1, 4(v0) | __asm ("swr a1, 4(v0)");
0x00016138 swl a0, 0xb(v0) | __asm ("swl a0, 0xb(v0)");
0x0001613c swr a0, 8(v0) | __asm ("swr a0, 8(v0)");
| /* str._createStream */
0x00016140 addiu v1, v1, 0x34e4 | v1 += 0x34e4;
0x00016144 lbu a0, 0xc(v1) | a0 = *((v1 + 12));
0x00016148 sb a0, 0xc(v0) | *((v0 + 12)) = a0;
0x0001614c lbu v1, 0xd(v1) | v1 = *((v1 + 13));
0x00016150 sb v1, 0xd(v0) | *((v0 + 13)) = v1;
0x00016154 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016158 lw a2, 0x10(v0) | a2 = *((v0 + 4));
0x0001615c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016160 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x00016164 lw v0, 8(v0) | v0 = *((v0 + 2));
0x00016168 move a0, v0 | a0 = v0;
0x0001616c move a1, v1 | a1 = v1;
0x00016170 move t9, a2 | t9 = a2;
0x00016174 jalr t9 | t9 ();
0x00016178 nop |
0x0001617c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016180 sw v0, 0x90(fp) | *(arg_90h) = v0;
0x00016184 sw v1, 0x94(fp) | *(arg_94h) = v1;
0x00016188 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001618c addiu t3, v0, 0x9c | t3 = v0 + 0x9c;
0x00016190 lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x00016194 lw a0, 0x10(v0) | a0 = *((v0 + 4));
0x00016198 lw a1, 0x14(v0) | a1 = *((v0 + 5));
0x0001619c lw v0, 0x4158(fp) | v0 = *(arg_4158h);
0x000161a0 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x000161a4 lw v0, 8(v0) | v0 = *((v0 + 2));
0x000161a8 lw a2, 0x70(fp) | a2 = *(arg_70h);
0x000161ac addiu t2, a2, 0x292f | t2 = a2 + 0x292f;
0x000161b0 addiu t1, fp, 0x3114 | t1 = fp + 0x3114;
0x000161b4 addiu t0, fp, 0x914 | t0 = fp + 0x914;
0x000161b8 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x000161bc lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x000161c0 sw a2, 0x10(sp) | *(arg_10h) = a2;
0x000161c4 sw a3, 0x14(sp) | *(arg_14h) = a3;
0x000161c8 sw t3, 0x18(sp) | *(arg_18h) = t3;
0x000161cc lw a2, 0x90(fp) | a2 = *(arg_90h);
0x000161d0 lw a3, 0x94(fp) | a3 = *(arg_94h);
0x000161d4 sw a2, 0x20(sp) | *(arg_20h) = a2;
0x000161d8 sw a3, 0x24(sp) | *(arg_24h) = a3;
0x000161dc lui a2, 0x2fa | a2 = 0x2faf080;
0x000161e0 ori a2, a2, 0xf080 |
0x000161e4 move a3, zero | a3 = 0;
0x000161e8 sw a2, 0x28(sp) | *(arg_28h) = a2;
0x000161ec sw a3, 0x2c(sp) | *(arg_2ch) = a3;
0x000161f0 sw a0, 0x30(sp) | *(arg_30h) = a0;
0x000161f4 sw a1, 0x34(sp) | *(arg_34h) = a1;
0x000161f8 sw v0, 0x38(sp) | *(arg_38h) = v0;
0x000161fc sw v1, 0x3c(sp) | *(arg_3ch) = v1;
0x00016200 sw t2, 0x40(sp) | *(arg_40h) = t2;
0x00016204 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00016208 sw v0, 0x44(sp) | *(arg_44h) = v0;
0x0001620c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016210 sw v0, 0x48(sp) | *(arg_48h) = v0;
0x00016214 addiu v0, fp, 0x4120 | v0 = fp + 0x4120;
0x00016218 sw v0, 0x4c(sp) | *(arg_4ch) = v0;
0x0001621c addiu a0, zero, 1 | a0 = 1;
0x00016220 move a1, t1 | a1 = t1;
0x00016224 move a2, t0 | a2 = t0;
0x00016228 lw v0, -0x7f24(gp) | v0 = sym.createCurlRequest;
0x0001622c move t9, v0 | t9 = v0;
0x00016230 jalr t9 | t9 ();
0x00016234 nop |
0x00016238 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001623c sw v0, 0x98(fp) | *(arg_98h) = v0;
0x00016240 lw v0, 0x98(fp) | v0 = *(arg_98h);
| if (v0 != 0) {
0x00016244 beqz v0, 0x1625c |
0x00016248 nop |
0x0001624c lw v0, 0x98(fp) | v0 = *(arg_98h);
0x00016250 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016254 b 0x16530 | goto label_2;
0x00016258 nop |
| }
0x0001625c lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x00016260 addiu v1, v0, 8 | v1 = v0 + 8;
0x00016264 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016268 addiu v0, v0, 0x11d | v0 += 0x11d;
0x0001626c sw zero, 0x10(sp) | *(arg_10h) = 0;
0x00016270 move a0, v1 | a0 = v1;
0x00016274 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: 'user-agent' */
0x00016278 addiu a1, v1, 0x34f4 | a1 = v1 + 0x34f4;
0x0001627c move a2, zero | a2 = 0;
0x00016280 move a3, v0 | a3 = v0;
0x00016284 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x00016288 move t9, v0 | t9 = v0;
0x0001628c jalr t9 | t9 ();
0x00016290 nop |
0x00016294 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016298 sw v0, 0x9c(fp) | *(arg_9ch) = v0;
0x0001629c lw v0, 0x9c(fp) | v0 = *(arg_9ch);
| if (v0 != 0) {
0x000162a0 beqz v0, 0x162b8 |
0x000162a4 nop |
0x000162a8 lw v0, 0x9c(fp) | v0 = *(arg_9ch);
0x000162ac sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000162b0 b 0x16530 | goto label_2;
0x000162b4 nop |
| }
0x000162b8 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000162bc lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x000162c0 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000162c4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000162c8 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000162cc lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000162d0 lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x000162d4 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x000162d8 move a2, v0 | a2 = v0;
0x000162dc move a3, v1 | a3 = v1;
0x000162e0 move t9, t0 | t9 = t0;
0x000162e4 jalr t9 | t9 ();
0x000162e8 nop |
0x000162ec lw gp, 0x50(fp) | gp = *(arg_50h);
0x000162f0 addiu v0, zero, 1 | v0 = 1;
0x000162f4 sw v0, 0x64(fp) | *(arg_64h) = v0;
0x000162f8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000162fc lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00016300 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00016304 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016308 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001630c lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016310 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016314 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016318 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001631c lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00016320 move a2, v0 | a2 = v0;
0x00016324 move a3, v1 | a3 = v1;
0x00016328 move t9, t0 | t9 = t0;
0x0001632c jalr t9 | t9 ();
0x00016330 nop |
0x00016334 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016338 addiu v0, zero, 1 | v0 = 1;
0x0001633c sw v0, 0x68(fp) | *(arg_68h) = v0;
0x00016340 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016344 lw v0, 0x3984(v0) | v0 = *((v0 + 3681));
0x00016348 addiu v1, fp, 0x4124 | v1 = fp + 0x4124;
0x0001634c sw v1, 0x10(sp) | *(arg_10h) = v1;
0x00016350 move a0, v0 | a0 = v0;
0x00016354 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00016358 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x0001635c lw v0, -0x7c88(gp) | v0 = sym.hashTableContains;
0x00016360 move t9, v0 | t9 = v0;
0x00016364 jalr t9 | t9 ();
0x00016368 nop |
0x0001636c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016370 sw v0, 0xa0(fp) | *(arg_a0h) = v0;
0x00016374 lw v0, 0xa0(fp) | v0 = *(arg_a0h);
| if (v0 != 0) {
0x00016378 beqz v0, 0x16390 |
0x0001637c nop |
0x00016380 lw v0, 0xa0(fp) | v0 = *(arg_a0h);
0x00016384 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016388 b 0x16530 | goto label_2;
0x0001638c nop |
| }
0x00016390 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016394 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00016398 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001639c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000163a0 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x000163a4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000163a8 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000163ac lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000163b0 lw v1, 0x398c(v0) | v1 = *(v0);
0x000163b4 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x000163b8 move a2, v0 | a2 = v0;
0x000163bc move a3, v1 | a3 = v1;
0x000163c0 move t9, t0 | t9 = t0;
0x000163c4 jalr t9 | t9 ();
0x000163c8 nop |
0x000163cc lw gp, 0x50(fp) | gp = *(arg_50h);
0x000163d0 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x000163d4 lw v0, 0x4124(fp) | v0 = *(arg_4124h);
| if (v0 != 0) {
0x000163d8 beqz v0, 0x163f4 |
0x000163dc nop |
0x000163e0 lui v0, 0x1500 | v0 = 0x1500001e;
0x000163e4 ori v0, v0, 0x1e |
0x000163e8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000163ec b 0x16530 | goto label_2;
0x000163f0 nop |
| }
0x000163f4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000163f8 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x000163fc lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016400 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016404 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016408 lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x0001640c lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00016410 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00016414 move a2, v0 | a2 = v0;
0x00016418 move a3, v1 | a3 = v1;
0x0001641c move t9, t0 | t9 = t0;
0x00016420 jalr t9 | t9 ();
0x00016424 nop |
0x00016428 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001642c addiu v0, zero, 1 | v0 = 1;
0x00016430 sw v0, 0x60(fp) | *(arg_60h) = v0;
0x00016434 lw v0, -0x7dc0(gp) | v0 = *(gp);
0x00016438 lw v0, (v0) | v0 = *(v0);
0x0001643c lw v1, 0x4120(fp) | v1 = *(arg_4120h);
0x00016440 addiu a0, fp, 0x4118 | a0 = fp + 0x4118;
0x00016444 lw a1, -0x7c50(gp) | a1 = sym.createStreamCurlHandler;
0x00016448 move a2, v1 | a2 = v1;
0x0001644c move t9, v0 | t9 = v0;
0x00016450 jalr t9 | t9 ();
0x00016454 nop |
0x00016458 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001645c sw v0, 0xa4(fp) | *(arg_a4h) = v0;
0x00016460 lw v0, 0xa4(fp) | v0 = *(arg_a4h);
| if (v0 != 0) {
0x00016464 beqz v0, 0x1647c |
0x00016468 nop |
0x0001646c lw v0, 0xa4(fp) | v0 = *(arg_a4h);
0x00016470 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00016474 b 0x16530 | goto label_2;
0x00016478 nop |
| }
0x0001647c lw v0, -0x7e60(gp) | v0 = *(gp);
0x00016480 lw a2, (v0) | a2 = *(v0);
0x00016484 lw v0, 0x4118(fp) | v0 = *(arg_4118h);
0x00016488 lw v1, 0x411c(fp) | v1 = *(arg_411ch);
0x0001648c move a0, v0 | a0 = v0;
0x00016490 move a1, v1 | a1 = v1;
0x00016494 move t9, a2 | t9 = a2;
0x00016498 jalr t9 | t9 ();
0x0001649c nop |
0x000164a0 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000164a4 sw v0, 0xa8(fp) | *(arg_a8h) = v0;
0x000164a8 lw v0, 0xa8(fp) | v0 = *(arg_a8h);
| if (v0 != 0) {
0x000164ac beqz v0, 0x164c4 |
0x000164b0 nop |
0x000164b4 lw v0, 0xa8(fp) | v0 = *(arg_a8h);
0x000164b8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000164bc b 0x16530 | goto label_2;
0x000164c0 nop |
| }
0x000164c4 lw a0, 0x4120(fp) | a0 = *(arg_4120h);
0x000164c8 lw v0, 0x4118(fp) | v0 = *(arg_4118h);
0x000164cc lw v1, 0x411c(fp) | v1 = *(arg_411ch);
0x000164d0 sw v0, 0x5910(a0) | *((a0 + 5700)) = v0;
0x000164d4 sw v1, 0x5914(a0) | *((a0 + 5701)) = v1;
0x000164d8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000164dc lw v1, 0x3950(v0) | v1 = *((v0 + 3668));
0x000164e0 lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x000164e4 move s0, v0 | s0 = v0;
0x000164e8 sra v0, v0, 0x1f | v0 >>= 0x1f;
0x000164ec move s1, v0 | s1 = v0;
0x000164f0 sw s0, 0x10(sp) | *(arg_10h) = s0;
0x000164f4 sw s1, 0x14(sp) | *(arg_14h) = s1;
0x000164f8 move a0, v1 | a0 = v1;
0x000164fc lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00016500 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x00016504 lw v0, -0x790c(gp) | v0 = sym.hashTablePut;
0x00016508 move t9, v0 | t9 = v0;
0x0001650c jalr t9 | t9 ();
0x00016510 nop |
0x00016514 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016518 sw v0, 0xac(fp) | *(arg_ach) = v0;
0x0001651c lw v0, 0xac(fp) | v0 = *(arg_ach);
| if (v0 != 0) {
0x00016520 beqz v0, 0x16530 |
0x00016524 nop |
0x00016528 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x0001652c sw v0, 0x58(fp) | *(arg_58h) = v0;
| }
| label_2:
0x00016530 lw v0, 0x58(fp) | v0 = *(arg_58h);
| if (v0 != 0) {
0x00016534 beqz v0, 0x165a0 |
0x00016538 nop |
0x0001653c lw a0, 0x4118(fp) | a0 = *(arg_4118h);
0x00016540 lw a1, 0x411c(fp) | a1 = *(arg_411ch);
0x00016544 move v0, a0 | v0 = a0;
0x00016548 or v0, v0, a1 | v0 |= a1;
| if (v0 != 0) {
0x0001654c beqz v0, 0x1657c |
0x00016550 nop |
0x00016554 lw v0, -0x7e48(gp) | v0 = *(gp);
0x00016558 lw a2, (v0) | a2 = *(v0);
0x0001655c lw v0, 0x4118(fp) | v0 = *(arg_4118h);
0x00016560 lw v1, 0x411c(fp) | v1 = *(arg_411ch);
0x00016564 move a0, v0 | a0 = v0;
0x00016568 move a1, v1 | a1 = v1;
0x0001656c move t9, a2 | t9 = a2;
0x00016570 jalr t9 | t9 ();
0x00016574 nop |
0x00016578 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x0001657c addiu v0, fp, 0x4120 | v0 = fp + 0x4120;
0x00016580 move a0, v0 | a0 = v0;
0x00016584 lw v0, -0x7858(gp) | v0 = sym.freeCurlRequest;
0x00016588 move t9, v0 | t9 = v0;
0x0001658c jalr t9 | t9 ();
0x00016590 nop |
0x00016594 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00016598 b 0x165e4 | goto label_5;
0x0001659c nop |
| }
0x000165a0 lw v0, 0x60(fp) | v0 = *(arg_60h);
| if (v0 != 0) {
0x000165a4 beqz v0, 0x165e4 |
0x000165a8 nop |
0x000165ac lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165b0 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x000165b4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165b8 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000165bc lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000165c0 lw v0, 0x4120(fp) | v0 = *(arg_4120h);
0x000165c4 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x000165c8 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x000165cc move a2, v0 | a2 = v0;
0x000165d0 move a3, v1 | a3 = v1;
0x000165d4 move t9, t0 | t9 = t0;
0x000165d8 jalr t9 | t9 ();
0x000165dc nop |
0x000165e0 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
| label_5:
0x000165e4 lw v0, 0x68(fp) | v0 = *(arg_68h);
| if (v0 != 0) {
0x000165e8 beqz v0, 0x16628 |
0x000165ec nop |
0x000165f0 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165f4 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x000165f8 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000165fc lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016600 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016604 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016608 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001660c lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00016610 move a2, v0 | a2 = v0;
0x00016614 move a3, v1 | a3 = v1;
0x00016618 move t9, t0 | t9 = t0;
0x0001661c jalr t9 | t9 ();
0x00016620 nop |
0x00016624 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x00016628 lw v0, 0x64(fp) | v0 = *(arg_64h);
| if (v0 != 0) {
0x0001662c beqz v0, 0x1666c |
0x00016630 nop |
0x00016634 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016638 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001663c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00016640 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016644 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016648 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001664c lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x00016650 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x00016654 move a2, v0 | a2 = v0;
0x00016658 move a3, v1 | a3 = v1;
0x0001665c move t9, t0 | t9 = t0;
0x00016660 jalr t9 | t9 ();
0x00016664 nop |
0x00016668 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x0001666c lw v0, 0x58(fp) | v0 = *(arg_58h);
0x00016670 move sp, fp |
0x00016674 lw ra, 0x4134(sp) | ra = *(arg_4134h);
0x00016678 lw fp, 0x4130(sp) | fp = *(arg_4130h);
0x0001667c lw s1, 0x412c(sp) | s1 = *(arg_412ch);
0x00016680 lw s0, 0x4128(sp) | s0 = *(arg_4128h);
0x00016684 addiu sp, sp, 0x4138 |
0x00016688 jr ra | return v0;
0x0001668c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x16898 */
| #include <stdint.h>
|
; (fcn) sym.createStreamCurlHandler () | void createStreamCurlHandler () {
0x00016898 lui gp, 8 |
0x0001689c addiu gp, gp, -0x57c8 |
0x000168a0 addu gp, gp, t9 | gp += t9;
0x000168a4 addiu sp, sp, -0xec8 |
0x000168a8 sw ra, 0xec4(sp) | *(var_ec4h) = ra;
0x000168ac sw fp, 0xec0(sp) | *(var_ec0h) = fp;
0x000168b0 move fp, sp | fp = sp;
0x000168b4 sw gp, 0x20(sp) | *(var_20h) = gp;
0x000168b8 sw a0, 0xec8(fp) | *(arg_ec8h) = a0;
0x000168bc sw zero, 0x28(fp) | *(var_28h) = 0;
0x000168c0 lw v0, 0xec8(fp) | v0 = *(arg_ec8h);
0x000168c4 sw v0, 0x38(fp) | *(var_38h) = v0;
0x000168c8 sw zero, 0x3c(fp) | *(var_3ch) = 0;
0x000168cc sw zero, 0x40(fp) | *(var_40h) = 0;
0x000168d0 sw zero, 0x44(fp) | *(var_44h) = 0;
0x000168d4 move v0, zero | v0 = 0;
0x000168d8 move v1, zero | v1 = 0;
0x000168dc sw v0, 0x48(fp) | *(var_48h) = v0;
0x000168e0 sw v1, 0x4c(fp) | *(var_4ch) = v1;
0x000168e4 sw zero, 0x34(fp) | *(var_34h) = 0;
0x000168e8 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x000168ec beqz v0, 0x16928 |
0x000168f0 nop |
0x000168f4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x000168f8 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
| if (v0 == 0) {
0x000168fc beqz v0, 0x16928 | goto label_0;
| }
0x00016900 nop |
0x00016904 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016908 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001690c lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00016910 beqz v0, 0x16928 | goto label_0;
| }
0x00016914 nop |
0x00016918 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0001691c lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x00016920 bnez v0, 0x16934 | goto label_1;
| }
0x00016924 nop |
| }
| label_0:
0x00016928 addiu v0, zero, 1 | v0 = 1;
0x0001692c b 0x16938 | goto label_2;
0x00016930 nop |
| label_1:
0x00016934 move v0, zero | v0 = 0;
| label_2:
0x00016938 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x0001693c andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 != 0) {
0x00016940 beqz v0, 0x16974 |
0x00016944 nop |
0x00016948 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x0001694c addiu a0, v0, 0x3524 | a0 = v0 + 0x3524;
0x00016950 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._home_derek_kvs_3.0.0_amazon_kinesis_video_streams_producer_sdk_cpp_open_source_amazon_kinesis_video_streams_producer_c_src_source_CurlApiCallbacks.c */
0x00016954 addiu a1, v0, 0x3528 | a1 = v0 + 0x3528;
0x00016958 addiu a2, zero, 0x447 | a2 = 0x447;
0x0001695c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__PRETTY_FUNCTION__.9229 */
0x00016960 addiu a3, v0, 0x3b28 | a3 = v0 + 0x3b28;
0x00016964 lw v0, -0x77c0(gp) | v0 = sym.imp.__assert;
0x00016968 move t9, v0 | t9 = v0;
0x0001696c jalr t9 | t9 ();
0x00016970 nop |
| }
0x00016974 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016978 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001697c sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x00016980 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x00016984 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00016988 sw v0, 0x40(fp) | *(var_40h) = v0;
0x0001698c sb zero, 0x70(fp) | *(var_70h) = 0;
0x00016990 lw v0, -0x7f44(gp) | v0 = *(gp);
0x00016994 lw v0, (v0) | v0 = *(v0);
0x00016998 lw v1, 0x38(fp) | v1 = *(var_38h);
0x0001699c lw v1, 0x5904(v1) | v1 = *((v1 + 5697));
0x000169a0 sw v1, 0x10(sp) | *(var_10h) = v1;
0x000169a4 addiu a0, zero, 2 | a0 = 2;
0x000169a8 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x000169ac addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x000169b0 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_createStreamCurlHandler_response__p */
0x000169b4 addiu a2, v1, 0x35c0 | a2 = v1 + 0x35c0;
0x000169b8 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9230 */
0x000169bc addiu a3, v1, 0x3b40 | a3 = v1 + 0x3b40;
0x000169c0 move t9, v0 | t9 = v0;
0x000169c4 jalr t9 | t9 ();
0x000169c8 nop |
0x000169cc lw gp, 0x20(fp) | gp = *(var_20h);
0x000169d0 lw v0, 0x40(fp) | v0 = *(var_40h);
0x000169d4 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x000169d8 lw v0, 0x40(fp) | v0 = *(var_40h);
0x000169dc lw a0, 8(v0) | a0 = *((v0 + 2));
0x000169e0 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000169e4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x000169e8 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x000169ec lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x000169f0 move a2, v0 | a2 = v0;
0x000169f4 move a3, v1 | a3 = v1;
0x000169f8 move t9, t0 | t9 = t0;
0x000169fc jalr t9 | t9 ();
0x00016a00 nop |
0x00016a04 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016a08 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00016a0c lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00016a10 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00016a14 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00016a18 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00016a1c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016a20 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00016a24 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00016a28 move a2, v0 | a2 = v0;
0x00016a2c move a3, v1 | a3 = v1;
0x00016a30 move t9, t0 | t9 = t0;
0x00016a34 jalr t9 | t9 ();
0x00016a38 nop |
0x00016a3c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016a40 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016a44 addiu v0, v0, 8 | v0 += 8;
0x00016a48 move a0, v0 | a0 = v0;
0x00016a4c lw v0, -0x78a4(gp) | v0 = sym.signAwsRequestInfo;
0x00016a50 move t9, v0 | t9 = v0;
0x00016a54 jalr t9 | t9 ();
0x00016a58 nop |
0x00016a5c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016a60 sw v0, 0x50(fp) | *(var_50h) = v0;
0x00016a64 lw v0, 0x50(fp) | v0 = *(var_50h);
| if (v0 != 0) {
0x00016a68 beqz v0, 0x16a80 |
0x00016a6c nop |
0x00016a70 lw v0, 0x50(fp) | v0 = *(var_50h);
0x00016a74 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016a78 b 0x16dd4 | goto label_3;
0x00016a7c nop |
| }
0x00016a80 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016a84 lw v1, 0x57bc(v0) | v1 = *((v0 + 5615));
0x00016a88 lw v0, 0x57b8(v0) | v0 = *((v0 + 5614));
0x00016a8c lw a0, 0x38(fp) | a0 = *(var_38h);
0x00016a90 lw a1, 0x57d4(a0) | a1 = *((a0 + 5621));
0x00016a94 lw a0, 0x57d0(a0) | a0 = *((a0 + 5620));
0x00016a98 sltu a2, v1, a1 | a2 = (v1 < a1) ? 1 : 0;
| if (a2 == 0) {
0x00016a9c bnez a2, 0x16abc |
0x00016aa0 nop |
0x00016aa4 move a2, v1 | a2 = v1;
| if (a1 != a2) {
0x00016aa8 bne a1, a2, 0x16b08 | goto label_4;
| }
0x00016aac nop |
0x00016ab0 sltu v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
| if (v0 == 0) {
0x00016ab4 beqz v0, 0x16b08 | goto label_4;
| }
0x00016ab8 nop |
| }
0x00016abc lw v0, -0x799c(gp) | v0 = *(gp);
0x00016ac0 lw t0, (v0) | t0 = *(v0);
0x00016ac4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016ac8 lw a0, 0x57d0(v0) | a0 = *((v0 + 5620));
0x00016acc lw a1, 0x57d4(v0) | a1 = *((v0 + 5621));
0x00016ad0 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016ad4 lw a2, 0x57b8(v0) | a2 = *((v0 + 5614));
0x00016ad8 lw a3, 0x57bc(v0) | a3 = *((v0 + 5615));
0x00016adc subu v0, a0, a2 | __asm ("subu v0, a0, a2");
0x00016ae0 sltu t1, a0, v0 | t1 = (a0 < v0) ? 1 : 0;
0x00016ae4 subu v1, a1, a3 | __asm ("subu v1, a1, a3");
0x00016ae8 subu a0, v1, t1 | __asm ("subu a0, v1, t1");
0x00016aec move v1, a0 | v1 = a0;
0x00016af0 move a0, v0 | a0 = v0;
0x00016af4 move a1, v1 | a1 = v1;
0x00016af8 move t9, t0 | t9 = t0;
0x00016afc jalr t9 | t9 ();
0x00016b00 nop |
0x00016b04 lw gp, 0x20(fp) | gp = *(var_20h);
| label_4:
0x00016b08 lw a0, 0x38(fp) | a0 = *(var_38h);
0x00016b0c lw v0, -0x7450(gp) | v0 = sym.curlCallApi;
0x00016b10 move t9, v0 | t9 = v0;
0x00016b14 jalr t9 | t9 ();
0x00016b18 nop |
0x00016b1c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016b20 sw v0, 0x54(fp) | *(var_54h) = v0;
0x00016b24 lw v0, 0x54(fp) | v0 = *(var_54h);
| if (v0 != 0) {
0x00016b28 beqz v0, 0x16b40 |
0x00016b2c nop |
0x00016b30 lw v0, 0x54(fp) | v0 = *(var_54h);
0x00016b34 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016b38 b 0x16dd4 | goto label_3;
0x00016b3c nop |
| }
0x00016b40 lw v0, -0x7eb4(gp) | v0 = *(gp);
0x00016b44 lw v0, (v0) | v0 = *(v0);
0x00016b48 lw v1, 0x38(fp) | v1 = *(var_38h);
0x00016b4c addiu v1, v1, 8 | v1 += 8;
0x00016b50 move a0, v1 | a0 = v1;
0x00016b54 move t9, v0 | t9 = v0;
0x00016b58 jalr t9 | t9 ();
0x00016b5c nop |
0x00016b60 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00016b64 bnez v0, 0x16dd4 | goto label_3;
| }
0x00016b68 nop |
0x00016b6c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016b70 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x00016b74 sw v0, 0x44(fp) | *(var_44h) = v0;
0x00016b78 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00016b7c lw v0, 0x14(v0) | v0 = *((v0 + 5));
| if (v0 == 0) {
0x00016b80 bnez v0, 0x16b98 |
0x00016b84 nop |
0x00016b88 addiu v0, zero, 0xd | v0 = 0xd;
0x00016b8c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016b90 b 0x16dd4 | goto label_3;
0x00016b94 nop |
| }
0x00016b98 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00016b9c lw v0, 0x124(v0) | v0 = *(v0);
0x00016ba0 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00016ba4 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00016ba8 lw v0, 0x128(v0) | v0 = *(v0);
0x00016bac sw v0, 0x5c(fp) | *(var_5ch) = v0;
0x00016bb0 lw v0, -0x7f44(gp) | v0 = *(gp);
0x00016bb4 lw v0, (v0) | v0 = *(v0);
0x00016bb8 lw v1, 0x5c(fp) | v1 = *(var_5ch);
0x00016bbc sw v1, 0x10(sp) | *(var_10h) = v1;
0x00016bc0 lw v1, 0x58(fp) | v1 = *(var_58h);
0x00016bc4 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00016bc8 addiu a0, zero, 2 | a0 = 2;
0x00016bcc lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x00016bd0 addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x00016bd4 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_CreateStream_API_response:__.s */
0x00016bd8 addiu a2, v1, 0x35ec | a2 = v1 + 0x35ec;
0x00016bdc lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9230 */
0x00016be0 addiu a3, v1, 0x3b40 | a3 = v1 + 0x3b40;
0x00016be4 move t9, v0 | t9 = v0;
0x00016be8 jalr t9 | t9 ();
0x00016bec nop |
0x00016bf0 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016bf4 addiu v0, fp, 0x874 | v0 = fp + 0x874;
0x00016bf8 move a0, v0 | a0 = v0;
0x00016bfc lw v0, -0x7ab0(gp) | v0 = sym.jsmn_init;
0x00016c00 move t9, v0 | t9 = v0;
0x00016c04 jalr t9 | t9 ();
0x00016c08 nop |
0x00016c0c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016c10 addiu v1, fp, 0x874 | v1 = fp + 0x874;
0x00016c14 addiu v0, fp, 0x880 | v0 = fp + 0x880;
0x00016c18 addiu a0, zero, 0x64 | a0 = 0x64;
0x00016c1c sw a0, 0x10(sp) | *(var_10h) = a0;
0x00016c20 move a0, v1 | a0 = v1;
0x00016c24 lw a1, 0x58(fp) | a1 = *(var_58h);
0x00016c28 lw a2, 0x5c(fp) | a2 = *(var_5ch);
0x00016c2c move a3, v0 | a3 = v0;
0x00016c30 lw v0, -0x77e0(gp) | v0 = sym.jsmn_parse;
0x00016c34 move t9, v0 | t9 = v0;
0x00016c38 jalr t9 | t9 ();
0x00016c3c nop |
0x00016c40 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016c44 sw v0, 0x60(fp) | *(var_60h) = v0;
0x00016c48 lw v0, 0x60(fp) | v0 = *(var_60h);
0x00016c4c slti v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
| if (v0 != 0) {
0x00016c50 beqz v0, 0x16c6c |
0x00016c54 nop |
0x00016c58 lui v0, 0x1500 | v0 = 0x1500000c;
0x00016c5c ori v0, v0, 0xc |
0x00016c60 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016c64 b 0x16dd4 | goto label_3;
0x00016c68 nop |
| }
0x00016c6c lw v1, 0x880(fp) | v1 = *(var_880h);
0x00016c70 addiu v0, zero, 1 | v0 = 1;
| if (v1 != v0) {
0x00016c74 beq v1, v0, 0x16c90 |
0x00016c78 nop |
0x00016c7c lui v0, 0x1500 | v0 = 0x1500000c;
0x00016c80 ori v0, v0, 0xc |
0x00016c84 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016c88 b 0x16dd4 | goto label_3;
0x00016c8c nop |
| }
0x00016c90 addiu v0, zero, 1 | v0 = 1;
0x00016c94 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x00016c98 sw zero, 0x30(fp) | *(var_30h) = 0;
0x00016c9c b 0x16db4 | goto label_5;
0x00016ca0 nop |
| do {
0x00016ca4 addiu v1, fp, 0x880 | v1 = fp + 0x880;
0x00016ca8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016cac sll v0, v0, 4 | v0 <<= 4;
0x00016cb0 addu v0, v1, v0 | v0 = v1 + v0;
0x00016cb4 lw a0, 0x58(fp) | a0 = *(var_58h);
0x00016cb8 move a1, v0 | a1 = v0;
0x00016cbc addiu a2, zero, 3 | a2 = 3;
0x00016cc0 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.StreamARN */
0x00016cc4 addiu a3, v0, 0x3614 | a3 = v0 + 0x3614;
0x00016cc8 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00016ccc move t9, v0 | t9 = v0;
0x00016cd0 jalr t9 | t9 ();
0x00016cd4 nop |
0x00016cd8 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00016cdc beqz v0, 0x16da8 |
0x00016ce0 nop |
0x00016ce4 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016ce8 addiu v0, v0, 1 | v0++;
0x00016cec sll v0, v0, 4 | v0 <<= 4;
0x00016cf0 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00016cf4 addu v0, v1, v0 | v0 = v1 + v0;
0x00016cf8 lw v1, 0x860(v0) | v1 = *(var_860h);
0x00016cfc lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016d00 addiu v0, v0, 1 | v0++;
0x00016d04 sll v0, v0, 4 | v0 <<= 4;
0x00016d08 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00016d0c addu v0, a0, v0 | v0 = a0 + v0;
0x00016d10 lw v0, 0x85c(v0) | v0 = *(var_85ch);
0x00016d14 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00016d18 sw v0, 0x64(fp) | *(var_64h) = v0;
0x00016d1c lw v0, 0x64(fp) | v0 = *(var_64h);
0x00016d20 sltiu v0, v0, 0x801 | v0 = (v0 < 0x801) ? 1 : 0;
| if (v0 == 0) {
0x00016d24 bnez v0, 0x16d40 |
0x00016d28 nop |
0x00016d2c lui v0, 0x1500 | v0 = 0x1500000c;
0x00016d30 ori v0, v0, 0xc |
0x00016d34 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016d38 b 0x16dd4 | goto label_3;
0x00016d3c nop |
| }
0x00016d40 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016d44 addiu v0, v0, 1 | v0++;
0x00016d48 sll v0, v0, 4 | v0 <<= 4;
0x00016d4c addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00016d50 addu v0, v1, v0 | v0 = v1 + v0;
0x00016d54 lw v0, 0x85c(v0) | v0 = *(var_85ch);
0x00016d58 lw v1, 0x58(fp) | v1 = *(var_58h);
0x00016d5c addu v0, v1, v0 | v0 = v1 + v0;
0x00016d60 addiu v1, fp, 0x70 | v1 = fp + 0x70;
0x00016d64 move a0, v1 | a0 = v1;
0x00016d68 move a1, v0 | a1 = v0;
0x00016d6c lw a2, 0x64(fp) | a2 = *(var_64h);
0x00016d70 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x00016d74 move t9, v0 | t9 = v0;
0x00016d78 jalr t9 | t9 ();
0x00016d7c nop |
0x00016d80 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016d84 lw v0, 0x64(fp) | v0 = *(var_64h);
0x00016d88 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00016d8c addu v0, v1, v0 | v0 = v1 + v0;
0x00016d90 sb zero, 0x48(v0) | *(var_70h) = 0;
0x00016d94 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016d98 addiu v0, v0, 1 | v0++;
0x00016d9c sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x00016da0 addiu v0, zero, 1 | v0 = 1;
0x00016da4 sw v0, 0x30(fp) | *(var_30h) = v0;
| }
0x00016da8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016dac addiu v0, v0, 1 | v0++;
0x00016db0 sw v0, 0x2c(fp) | *(var_2ch) = v0;
| label_5:
0x00016db4 lw v1, 0x60(fp) | v1 = *(var_60h);
0x00016db8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00016dbc sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
| if (v0 == 0) {
0x00016dc0 beqz v0, 0x16dd4 | goto label_3;
| }
0x00016dc4 nop |
0x00016dc8 lw v0, 0x30(fp) | v0 = *(var_30h);
0x00016dcc beqz v0, 0x16ca4 |
| } while (v0 == 0);
0x00016dd0 nop |
| label_3:
0x00016dd4 lw v0, 0x28(fp) | v0 = *(var_28h);
0x00016dd8 sw v0, 0x68(fp) | *(var_68h) = v0;
0x00016ddc lw v0, 0x68(fp) | v0 = *(var_68h);
| if (v0 != 0) {
0x00016de0 beqz v0, 0x16e24 |
0x00016de4 nop |
0x00016de8 lw v0, -0x7f44(gp) | v0 = *(gp);
0x00016dec lw v0, (v0) | v0 = *(v0);
0x00016df0 lw v1, 0x68(fp) | v1 = *(var_68h);
0x00016df4 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00016df8 addiu a0, zero, 5 | a0 = 5;
0x00016dfc lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x00016e00 addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x00016e04 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: '&s(): operation returned status code: 0x&x' */
0x00016e08 addiu a2, v1, 0x3308 | a2 = v1 + 0x3308;
0x00016e0c lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9230 */
0x00016e10 addiu a3, v1, 0x3b40 | a3 = v1 + 0x3b40;
0x00016e14 move t9, v0 | t9 = v0;
0x00016e18 jalr t9 | t9 ();
0x00016e1c nop |
0x00016e20 lw gp, 0x20(fp) | gp = *(var_20h);
| }
0x00016e24 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e28 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x00016e2c beqz v0, 0x16e44 |
0x00016e30 nop |
0x00016e34 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e38 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x00016e3c lw v0, 0x14(v0) | v0 = *((v0 + 5));
0x00016e40 sw v0, 0x34(fp) | *(var_34h) = v0;
| }
0x00016e44 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e48 move a0, zero | a0 = 0;
0x00016e4c move a1, zero | a1 = 0;
0x00016e50 sw a0, 0x5910(v0) | *((v0 + 5700)) = a0;
0x00016e54 sw a1, 0x5914(v0) | *((v0 + 5701)) = a1;
0x00016e58 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e5c lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x00016e60 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x00016e64 sw v0, 0x48(fp) | *(var_48h) = v0;
0x00016e68 sw v1, 0x4c(fp) | *(var_4ch) = v1;
0x00016e6c lw v0, -0x7eb4(gp) | v0 = *(gp);
0x00016e70 lw v0, (v0) | v0 = *(v0);
0x00016e74 lw v1, 0x38(fp) | v1 = *(var_38h);
0x00016e78 addiu v1, v1, 8 | v1 += 8;
0x00016e7c move a0, v1 | a0 = v1;
0x00016e80 move t9, v0 | t9 = v0;
0x00016e84 jalr t9 | t9 ();
0x00016e88 nop |
0x00016e8c lw gp, 0x20(fp) | gp = *(var_20h);
0x00016e90 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00016e94 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016e98 lw a2, 0x5900(v0) | a2 = *((v0 + 5696));
0x00016e9c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00016ea0 lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x00016ea4 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x00016ea8 lui a0, 7 | a0 = 0x7a120;
0x00016eac ori a0, a0, 0xa120 |
0x00016eb0 move a1, zero | a1 = 0;
0x00016eb4 sw a0, 0x10(sp) | *(var_10h) = a0;
0x00016eb8 sw a1, 0x14(sp) | *(var_14h) = a1;
0x00016ebc addiu a0, zero, 1 | a0 = 1;
0x00016ec0 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00016ec4 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x00016ec8 move a0, a2 | a0 = a2;
0x00016ecc move a2, v0 | a2 = v0;
0x00016ed0 move a3, v1 | a3 = v1;
0x00016ed4 lw v0, -0x7870(gp) | v0 = sym.curlApiCallbacksShutdownActiveRequests;
0x00016ed8 move t9, v0 | t9 = v0;
0x00016edc jalr t9 | t9 ();
0x00016ee0 nop |
0x00016ee4 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016ee8 lw v0, 0x6c(fp) | v0 = *(var_6ch);
| if (v0 == 0) {
0x00016eec bnez v0, 0x16f44 |
0x00016ef0 nop |
0x00016ef4 addiu v0, fp, 0x70 | v0 = fp + 0x70;
0x00016ef8 lw a0, 0x48(fp) | a0 = *(var_48h);
0x00016efc lw a1, 0x4c(fp) | a1 = *(var_4ch);
0x00016f00 lw a2, 0x34(fp) | a2 = *(var_34h);
0x00016f04 move a3, v0 | a3 = v0;
0x00016f08 lw v0, -0x7728(gp) | v0 = sym.createStreamResultEvent;
0x00016f0c move t9, v0 | t9 = v0;
0x00016f10 jalr t9 | t9 ();
0x00016f14 nop |
0x00016f18 lw gp, 0x20(fp) | gp = *(var_20h);
0x00016f1c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00016f20 lw a0, 0x40(fp) | a0 = *(var_40h);
0x00016f24 lw a1, 0x28(fp) | a1 = *(var_28h);
0x00016f28 lw a2, 0x48(fp) | a2 = *(var_48h);
0x00016f2c lw a3, 0x4c(fp) | a3 = *(var_4ch);
0x00016f30 lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x00016f34 move t9, v0 | t9 = v0;
0x00016f38 jalr t9 | t9 ();
0x00016f3c nop |
0x00016f40 lw gp, 0x20(fp) | gp = *(var_20h);
| }
0x00016f44 lw v0, 0x28(fp) | v0 = *(var_28h);
0x00016f48 move sp, fp |
0x00016f4c lw ra, 0xec4(sp) | ra = *(var_ec4h);
0x00016f50 lw fp, 0xec0(sp) | fp = *(var_ec0h);
0x00016f54 addiu sp, sp, 0xec8 |
0x00016f58 jr ra | return v0;
0x00016f5c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x25734 */
| #include <stdint.h>
|
; (fcn) sym.createVideoStreamInfo () | void createVideoStreamInfo () {
0x00025734 lui gp, 7 |
0x00025738 addiu gp, gp, -0x4664 |
0x0002573c addu gp, gp, t9 | gp += t9;
0x00025740 addiu sp, sp, -0x50 |
0x00025744 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x00025748 sw fp, 0x48(sp) | *(var_48h) = fp;
0x0002574c move fp, sp | fp = sp;
0x00025750 sw gp, 0x28(sp) | *(var_28h) = gp;
0x00025754 sw a0, 0x50(fp) | *(arg_50h) = a0;
0x00025758 sw a1, 0x54(fp) | *(arg_54h) = a1;
0x0002575c sw a2, 0x58(fp) | *(arg_58h) = a2;
0x00025760 sw a3, 0x5c(fp) | *(arg_5ch) = a3;
0x00025764 sw zero, 0x30(fp) | *(var_30h) = 0;
0x00025768 sw zero, 0x40(fp) | *(var_40h) = 0;
0x0002576c lw v0, 0x68(fp) | v0 = *(arg_68h);
| if (v0 != 0) {
0x00025770 beqz v0, 0x25784 |
0x00025774 nop |
0x00025778 lw v0, 0x54(fp) | v0 = *(arg_54h);
| if (v0 != 0) {
0x0002577c bnez v0, 0x25794 | goto label_0;
| }
0x00025780 nop |
| }
0x00025784 addiu v0, zero, 1 | v0 = 1;
0x00025788 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0002578c b 0x2593c | goto label_1;
0x00025790 nop |
| label_0:
0x00025794 lw v0, 0x60(fp) | v0 = *(arg_60h);
0x00025798 lw v1, 0x64(fp) | v1 = *(arg_64h);
0x0002579c or v0, v0, v1 | v0 |= v1;
| if (v0 == 0) {
0x000257a0 bnez v0, 0x257b8 |
0x000257a4 nop |
0x000257a8 addiu v0, zero, 2 | v0 = 2;
0x000257ac sw v0, 0x30(fp) | *(var_30h) = v0;
0x000257b0 b 0x2593c | goto label_1;
0x000257b4 nop |
| }
0x000257b8 lw v1, 0x50(fp) | v1 = *(arg_50h);
0x000257bc addiu v0, zero, 2 | v0 = 2;
| if (v1 == v0) {
0x000257c0 bne v1, v0, 0x257ec |
0x000257c4 nop |
0x000257c8 lw v0, 0x58(fp) | v0 = *(arg_58h);
0x000257cc lw v1, 0x5c(fp) | v1 = *(arg_5ch);
0x000257d0 or v0, v0, v1 | v0 |= v1;
| if (v0 != 0) {
0x000257d4 bnez v0, 0x257ec | goto label_2;
| }
0x000257d8 nop |
0x000257dc addiu v0, zero, 2 | v0 = 2;
0x000257e0 sw v0, 0x30(fp) | *(var_30h) = v0;
0x000257e4 b 0x2593c | goto label_1;
0x000257e8 nop |
| }
| label_2:
0x000257ec lw v0, -0x7620(gp) | v0 = *(gp);
0x000257f0 lw v0, (v0) | v0 = *(v0);
0x000257f4 addiu a0, zero, 1 | a0 = 1;
0x000257f8 addiu a1, zero, 0xa90 | a1 = 0xa90;
0x000257fc move t9, v0 | t9 = v0;
0x00025800 jalr t9 | t9 ();
0x00025804 nop |
0x00025808 lw gp, 0x28(fp) | gp = *(var_28h);
0x0002580c sw v0, 0x40(fp) | *(var_40h) = v0;
0x00025810 lw v0, 0x40(fp) | v0 = *(var_40h);
| if (v0 == 0) {
0x00025814 bnez v0, 0x2582c |
0x00025818 nop |
0x0002581c addiu v0, zero, 4 | v0 = 4;
0x00025820 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00025824 b 0x2593c | goto label_1;
0x00025828 nop |
| }
0x0002582c sw zero, 0x34(fp) | *(var_34h) = 0;
0x00025830 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00025834 addiu v0, v0, 0xa20 | v0 += 0xa20;
0x00025838 sw v0, 0x34(fp) | *(var_34h) = v0;
0x0002583c lw a0, 0x34(fp) | a0 = *(var_34h);
0x00025840 lw v0, -0x7e10(gp) | v0 = sym.createH264VideoTrackInfo;
0x00025844 move t9, v0 | t9 = v0;
0x00025848 jalr t9 | t9 ();
0x0002584c nop |
0x00025850 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025854 sw v0, 0x38(fp) | *(var_38h) = v0;
0x00025858 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x0002585c beqz v0, 0x25874 |
0x00025860 nop |
0x00025864 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00025868 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0002586c b 0x2593c | goto label_1;
0x00025870 nop |
| }
0x00025874 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00025878 addiu v0, v0, 4 | v0 += 4;
0x0002587c move a0, v0 | a0 = v0;
0x00025880 lw a1, 0x54(fp) | a1 = *(arg_54h);
0x00025884 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x00025888 move t9, v0 | t9 = v0;
0x0002588c jalr t9 | t9 ();
0x00025890 nop |
0x00025894 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025898 lw v0, 0x40(fp) | v0 = *(var_40h);
0x0002589c addiu v0, v0, 0x924 | v0 += 0x924;
0x000258a0 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x000258a4 lw a1, 0x4cc0(v1) | a1 = *((v1 + 4912));
| /* esilref: 'video/h264' */
0x000258a8 addiu a0, v1, 0x4cc0 | a0 = v1 + 0x4cc0;
0x000258ac lw a0, 4(a0) | a0 = *((a0 + 1));
0x000258b0 swl a1, 3(v0) | __asm ("swl a1, 3(v0)");
0x000258b4 swr a1, (v0) | __asm ("swr a1, (v0)");
0x000258b8 swl a0, 7(v0) | __asm ("swl a0, 7(v0)");
0x000258bc swr a0, 4(v0) | __asm ("swr a0, 4(v0)");
| /* esilref: 'video/h264' */
0x000258c0 addiu v1, v1, 0x4cc0 | v1 += 0x4cc0;
0x000258c4 lbu a0, 8(v1) | a0 = *((v1 + 8));
0x000258c8 sb a0, 8(v0) | *((v0 + 8)) = a0;
0x000258cc lbu a0, 9(v1) | a0 = *((v1 + 9));
0x000258d0 sb a0, 9(v0) | *((v0 + 9)) = a0;
0x000258d4 lbu v1, 0xa(v1) | v1 = *((v1 + 10));
0x000258d8 sb v1, 0xa(v0) | *((v0 + 10)) = v1;
0x000258dc lw a0, 0x40(fp) | a0 = *(var_40h);
0x000258e0 lw v0, 0x60(fp) | v0 = *(arg_60h);
0x000258e4 lw v1, 0x64(fp) | v1 = *(arg_64h);
0x000258e8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000258ec sw v1, 0x14(sp) | *(var_14h) = v1;
0x000258f0 addiu v0, zero, 1 | v0 = 1;
0x000258f4 sw v0, 0x18(sp) | *(var_18h) = v0;
0x000258f8 sw a0, 0x1c(sp) | *(var_1ch) = a0;
0x000258fc lw v0, 0x34(fp) | v0 = *(var_34h);
0x00025900 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00025904 lw a0, 0x50(fp) | a0 = *(arg_50h);
0x00025908 lw a2, 0x58(fp) | a2 = *(arg_58h);
0x0002590c lw a3, 0x5c(fp) | a3 = *(arg_5ch);
0x00025910 lw v0, -0x7e28(gp) | v0 = sym.setStreamInfoDefaults;
0x00025914 move t9, v0 | t9 = v0;
0x00025918 jalr t9 | t9 ();
0x0002591c nop |
0x00025920 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025924 sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x00025928 lw v0, 0x3c(fp) | v0 = *(var_3ch);
| if (v0 != 0) {
0x0002592c beqz v0, 0x2593c |
0x00025930 nop |
0x00025934 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x00025938 sw v0, 0x30(fp) | *(var_30h) = v0;
| }
| label_1:
0x0002593c lw v0, 0x30(fp) | v0 = *(var_30h);
| if (v0 != 0) {
0x00025940 beqz v0, 0x25968 |
0x00025944 nop |
0x00025948 addiu v0, fp, 0x40 | v0 = fp + 0x40;
0x0002594c move a0, v0 | a0 = v0;
0x00025950 lw v0, -0x74cc(gp) | v0 = sym.freeStreamInfoProvider;
0x00025954 move t9, v0 | t9 = v0;
0x00025958 jalr t9 | t9 ();
0x0002595c nop |
0x00025960 lw gp, 0x28(fp) | gp = *(var_28h);
0x00025964 sw zero, 0x40(fp) | *(var_40h) = 0;
| }
0x00025968 lw v0, 0x40(fp) | v0 = *(var_40h);
| if (v0 != 0) {
0x0002596c beqz v0, 0x25980 |
0x00025970 nop |
0x00025974 lw v1, 0x40(fp) | v1 = *(var_40h);
0x00025978 lw v0, 0x68(fp) | v0 = *(arg_68h);
0x0002597c sw v1, (v0) | *(v0) = v1;
| }
0x00025980 lw v0, 0x30(fp) | v0 = *(var_30h);
0x00025984 move sp, fp |
0x00025988 lw ra, 0x4c(sp) | ra = *(var_4ch);
0x0002598c lw fp, 0x48(sp) | fp = *(var_48h);
0x00025990 addiu sp, sp, 0x50 |
0x00025994 jr ra | return v0;
0x00025998 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x176d0 */
| #include <stdint.h>
|
; (fcn) sym.describeStreamCachingCurl () | void describeStreamCachingCurl () {
0x000176d0 lui gp, 8 |
0x000176d4 addiu gp, gp, -0x6600 |
0x000176d8 addu gp, gp, t9 | gp += t9;
0x000176dc addiu sp, sp, -0x1300 |
0x000176e0 sw ra, 0x12fc(sp) | *(var_12fch) = ra;
0x000176e4 sw fp, 0x12f8(sp) | *(var_12f8h) = fp;
0x000176e8 move fp, sp | fp = sp;
0x000176ec sw gp, 0x18(sp) | *(var_18h) = gp;
0x000176f0 sw a0, 0x1300(fp) | *(arg_1300h) = a0;
0x000176f4 sw a1, 0x1304(fp) | *(arg_1304h) = a1;
0x000176f8 sw a2, 0x1308(fp) | *(arg_1308h) = a2;
0x000176fc sw a3, 0x130c(fp) | *(arg_130ch) = a3;
0x00017700 sw zero, 0x20(fp) | *(var_20h) = 0;
0x00017704 lw v0, 0x1300(fp) | v0 = *(arg_1300h);
0x00017708 sw v0, 0x24(fp) | *(var_24h) = v0;
0x0001770c sw zero, 0x28(fp) | *(var_28h) = 0;
0x00017710 addiu v0, zero, 1 | v0 = 1;
0x00017714 sw v0, 0x12f4(fp) | *(var_12f4h) = v0;
0x00017718 lw v0, 0x24(fp) | v0 = *(var_24h);
| if (v0 != 0) {
0x0001771c beqz v0, 0x17740 |
0x00017720 nop |
0x00017724 lw v0, 0x24(fp) | v0 = *(var_24h);
0x00017728 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x0001772c beqz v0, 0x17740 | goto label_0;
| }
0x00017730 nop |
0x00017734 lw v0, 0x130c(fp) | v0 = *(arg_130ch);
| if (v0 != 0) {
0x00017738 bnez v0, 0x17750 | goto label_1;
| }
0x0001773c nop |
| }
| label_0:
0x00017740 addiu v0, zero, 2 | v0 = 2;
0x00017744 sw v0, 0x20(fp) | *(var_20h) = v0;
0x00017748 b 0x17a54 | goto label_2;
0x0001774c nop |
| label_1:
0x00017750 lw v0, 0x24(fp) | v0 = *(var_24h);
0x00017754 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00017758 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0001775c lw v0, 0x130c(fp) | v0 = *(arg_130ch);
0x00017760 lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x00017764 lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x00017768 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0001776c sw v1, 0x34(fp) | *(var_34h) = v1;
0x00017770 addiu v0, fp, 0x12f4 | v0 = fp + 0x12f4;
0x00017774 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00017778 lw a0, 0x24(fp) | a0 = *(var_24h);
0x0001777c lw a2, 0x30(fp) | a2 = *(var_30h);
0x00017780 lw a3, 0x34(fp) | a3 = *(var_34h);
0x00017784 lw v0, -0x7dc4(gp) | v0 = sym.checkApiCallEmulation;
0x00017788 move t9, v0 | t9 = v0;
0x0001778c jalr t9 | t9 ();
0x00017790 nop |
0x00017794 lw gp, 0x18(fp) | gp = *(var_18h);
0x00017798 sw v0, 0x38(fp) | *(var_38h) = v0;
0x0001779c lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x000177a0 beqz v0, 0x177b8 |
0x000177a4 nop |
0x000177a8 lw v0, 0x38(fp) | v0 = *(var_38h);
0x000177ac sw v0, 0x20(fp) | *(var_20h) = v0;
0x000177b0 b 0x17a54 | goto label_2;
0x000177b4 nop |
| }
0x000177b8 lw v0, 0x12f4(fp) | v0 = *(var_12f4h);
| if (v0 == 0) {
0x000177bc bnez v0, 0x17808 |
0x000177c0 nop |
0x000177c4 lw a0, 0x1300(fp) | a0 = *(arg_1300h);
0x000177c8 lw a1, 0x1304(fp) | a1 = *(arg_1304h);
0x000177cc lw a2, 0x1308(fp) | a2 = *(arg_1308h);
0x000177d0 lw a3, 0x130c(fp) | a3 = *(arg_130ch);
0x000177d4 lw v0, -0x789c(gp) | v0 = sym.describeStreamCurl;
0x000177d8 move t9, v0 | t9 = v0;
0x000177dc jalr t9 | t9 ();
0x000177e0 nop |
0x000177e4 lw gp, 0x18(fp) | gp = *(var_18h);
0x000177e8 sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x000177ec lw v0, 0x3c(fp) | v0 = *(var_3ch);
| if (v0 == 0) {
0x000177f0 beqz v0, 0x17a50 | goto label_3;
| }
0x000177f4 nop |
0x000177f8 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x000177fc sw v0, 0x20(fp) | *(var_20h) = v0;
0x00017800 b 0x17a54 | goto label_2;
0x00017804 nop |
| }
0x00017808 addiu v0, fp, 0x12f0 | v0 = fp + 0x12f0;
0x0001780c lw a0, 0x30(fp) | a0 = *(var_30h);
0x00017810 lw a1, 0x34(fp) | a1 = *(var_34h);
0x00017814 move a2, v0 | a2 = v0;
0x00017818 lw v0, -0x7a64(gp) | v0 = sym.kinesisVideoStreamGetStreamInfo;
0x0001781c move t9, v0 | t9 = v0;
0x00017820 jalr t9 | t9 ();
0x00017824 nop |
0x00017828 lw gp, 0x18(fp) | gp = *(var_18h);
0x0001782c sw v0, 0x40(fp) | *(var_40h) = v0;
0x00017830 lw v0, 0x40(fp) | v0 = *(var_40h);
| if (v0 != 0) {
0x00017834 beqz v0, 0x1784c |
0x00017838 nop |
0x0001783c lw v0, 0x40(fp) | v0 = *(var_40h);
0x00017840 sw v0, 0x20(fp) | *(var_20h) = v0;
0x00017844 b 0x17a54 | goto label_2;
0x00017848 nop |
| }
0x0001784c addiu v0, fp, 0x48 | v0 = fp + 0x48;
0x00017850 move a0, v0 | a0 = v0;
0x00017854 move a1, zero | a1 = 0;
0x00017858 addiu a2, zero, 0x12a8 | a2 = 0x12a8;
0x0001785c lw v0, -0x7764(gp) | v0 = sym.imp.memset;
0x00017860 move t9, v0 | t9 = v0;
0x00017864 jalr t9 | t9 ();
0x00017868 nop |
0x0001786c lw gp, 0x18(fp) | gp = *(var_18h);
0x00017870 addiu v0, zero, 1 | v0 = 1;
0x00017874 sw v0, 0x48(fp) | *(var_48h) = v0;
0x00017878 addiu v0, fp, 0x48 | v0 = fp + 0x48;
0x0001787c addiu v0, v0, 4 | v0 += 4;
0x00017880 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x00017884 lw a1, 0x3648(v1) | a1 = *((v1 + 3474));
| /* str.DEVICE_NAME */
0x00017888 addiu a0, v1, 0x3648 | a0 = v1 + 0x3648;
0x0001788c lw a0, 4(a0) | a0 = *((a0 + 1));
| /* str.DEVICE_NAME */
0x00017890 addiu v1, v1, 0x3648 | v1 += 0x3648;
0x00017894 lw v1, 8(v1) | v1 = *((v1 + 2));
0x00017898 sw a1, (v0) | *(v0) = a1;
0x0001789c sw a0, 4(v0) | *(var_4h_2) = a0;
0x000178a0 sw v1, 8(v0) | *(var_8h) = v1;
0x000178a4 lw v0, 0x12f0(fp) | v0 = *(var_12f0h);
0x000178a8 addiu v0, v0, 0x924 | v0 += 0x924;
0x000178ac addiu v1, fp, 0x48 | v1 = fp + 0x48;
0x000178b0 addiu v1, v1, 0x186 | v1 += 0x186;
0x000178b4 move a0, v1 | a0 = v1;
0x000178b8 move a1, v0 | a1 = v0;
0x000178bc lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x000178c0 move t9, v0 | t9 = v0;
0x000178c4 jalr t9 | t9 ();
0x000178c8 nop |
0x000178cc lw gp, 0x18(fp) | gp = *(var_18h);
0x000178d0 addiu v0, fp, 0x48 | v0 = fp + 0x48;
0x000178d4 addiu v0, v0, 0x207 | v0 += 0x207;
0x000178d8 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x000178dc lw a0, 0x3654(v1) | a0 = *((v1 + 3477));
| /* str.VERSION */
0x000178e0 addiu v1, v1, 0x3654 | v1 += 0x3654;
0x000178e4 lw v1, 4(v1) | v1 = *((v1 + 1));
0x000178e8 swl a0, 3(v0) | __asm ("swl a0, (var_3h)");
0x000178ec swr a0, (v0) | __asm ("swr a0, (v0)");
0x000178f0 swl v1, 7(v0) | __asm ("swl v1, (var_7h)");
0x000178f4 swr v1, 4(v0) | __asm ("swr v1, (var_4h_3)");
0x000178f8 lw v0, 0x12f0(fp) | v0 = *(var_12f0h);
0x000178fc addiu v0, v0, 0x118 | v0 += aav.0x00000118;
0x00017900 addiu v1, fp, 0x48 | v1 = fp + 0x48;
0x00017904 addiu v1, v1, 0xaa0 | v1 += 0xaa0;
0x00017908 move a0, v1 | a0 = v1;
0x0001790c move a1, v0 | a1 = v0;
0x00017910 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x00017914 move t9, v0 | t9 = v0;
0x00017918 jalr t9 | t9 ();
0x0001791c nop |
0x00017920 lw gp, 0x18(fp) | gp = *(var_18h);
0x00017924 addiu v0, fp, 0x48 | v0 = fp + 0x48;
0x00017928 addiu v0, v0, 0x85 | v0 += 0x85;
0x0001792c move a0, v0 | a0 = v0;
0x00017930 lw a1, 0x1308(fp) | a1 = *(arg_1308h);
0x00017934 addiu a2, zero, 0x100 | a2 = aav.0x00000100;
0x00017938 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x0001793c move t9, v0 | t9 = v0;
0x00017940 jalr t9 | t9 ();
0x00017944 nop |
0x00017948 lw gp, 0x18(fp) | gp = *(var_18h);
0x0001794c addiu v0, fp, 0x48 | v0 = fp + 0x48;
0x00017950 addiu v0, v0, 0x288 | v0 += aav.0x00000288;
0x00017954 move a0, v0 | a0 = v0;
0x00017958 lw a1, 0x1308(fp) | a1 = *(arg_1308h);
0x0001795c addiu a2, zero, 0x800 | a2 = 0x800;
0x00017960 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x00017964 move t9, v0 | t9 = v0;
0x00017968 jalr t9 | t9 ();
0x0001796c nop |
0x00017970 lw gp, 0x18(fp) | gp = *(var_18h);
0x00017974 lw v0, 0x12f0(fp) | v0 = *(var_12f0h);
0x00017978 lw v1, 0x114(v0) | v1 = *(v0);
0x0001797c lw v0, 0x110(v0) | v0 = *(v0);
0x00017980 sw v0, 0xae0(fp) | *(var_ae0h) = v0;
0x00017984 sw v1, 0xae4(fp) | *(var_ae4h) = v1;
0x00017988 addiu v0, zero, 1 | v0 = 1;
0x0001798c sw v0, 0xad4(fp) | *(var_ad4h) = v0;
0x00017990 lw v0, 0x28(fp) | v0 = *(var_28h);
0x00017994 lw a2, 0x10(v0) | a2 = *((v0 + 4));
0x00017998 lw v0, 0x28(fp) | v0 = *(var_28h);
0x0001799c lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x000179a0 lw v0, 8(v0) | v0 = *((v0 + 2));
0x000179a4 move a0, v0 | a0 = v0;
0x000179a8 move a1, v1 | a1 = v1;
0x000179ac move t9, a2 | t9 = a2;
0x000179b0 jalr t9 | t9 ();
0x000179b4 nop |
0x000179b8 lw gp, 0x18(fp) | gp = *(var_18h);
0x000179bc sw v0, 0xad8(fp) | *(var_ad8h) = v0;
0x000179c0 sw v1, 0xadc(fp) | *(var_adch) = v1;
0x000179c4 lw v0, -0x7f44(gp) | v0 = *(gp);
0x000179c8 lw v0, (v0) | v0 = *(v0);
0x000179cc addiu a0, zero, 1 | a0 = 1;
0x000179d0 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x000179d4 addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x000179d8 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_No_op_DescribeStream_API_call */
0x000179dc addiu a2, v1, 0x365c | a2 = v1 + 0x365c;
0x000179e0 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9281 */
0x000179e4 addiu a3, v1, 0x3b0c | a3 = v1 + 0x3b0c;
0x000179e8 move t9, v0 | t9 = v0;
0x000179ec jalr t9 | t9 ();
0x000179f0 nop |
0x000179f4 lw gp, 0x18(fp) | gp = *(var_18h);
0x000179f8 addiu v0, fp, 0x48 | v0 = fp + 0x48;
0x000179fc lw a0, 0x30(fp) | a0 = *(var_30h);
0x00017a00 lw a1, 0x34(fp) | a1 = *(var_34h);
0x00017a04 addiu a2, zero, 0xc8 | a2 = 0xc8;
0x00017a08 move a3, v0 | a3 = v0;
0x00017a0c lw v0, -0x7498(gp) | v0 = sym.describeStreamResultEvent;
0x00017a10 move t9, v0 | t9 = v0;
0x00017a14 jalr t9 | t9 ();
0x00017a18 nop |
0x00017a1c lw gp, 0x18(fp) | gp = *(var_18h);
0x00017a20 sw v0, 0x20(fp) | *(var_20h) = v0;
0x00017a24 lw a0, 0x28(fp) | a0 = *(var_28h);
0x00017a28 lw a1, 0x20(fp) | a1 = *(var_20h);
0x00017a2c lw a2, 0x30(fp) | a2 = *(var_30h);
0x00017a30 lw a3, 0x34(fp) | a3 = *(var_34h);
0x00017a34 lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x00017a38 move t9, v0 | t9 = v0;
0x00017a3c jalr t9 | t9 ();
0x00017a40 nop |
0x00017a44 lw gp, 0x18(fp) | gp = *(var_18h);
0x00017a48 b 0x17a54 | goto label_2;
0x00017a4c nop |
| label_3:
0x00017a50 nop |
| label_2:
0x00017a54 lw v0, 0x20(fp) | v0 = *(var_20h);
0x00017a58 move sp, fp |
0x00017a5c lw ra, 0x12fc(sp) | ra = *(var_12fch);
0x00017a60 lw fp, 0x12f8(sp) | fp = *(var_12f8h);
0x00017a64 addiu sp, sp, 0x1300 |
0x00017a68 jr ra | return v0;
0x00017a6c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x16f60 */
| #include <stdint.h>
|
; (fcn) sym.describeStreamCurl () | void describeStreamCurl () {
0x00016f60 lui gp, 8 |
0x00016f64 addiu gp, gp, -0x5e90 |
0x00016f68 addu gp, gp, t9 | gp += t9;
0x00016f6c addiu sp, sp, -0x38d0 |
0x00016f70 sw ra, 0x38cc(sp) | *(arg_38cch) = ra;
0x00016f74 sw fp, 0x38c8(sp) | *(arg_38c8h) = fp;
0x00016f78 sw s1, 0x38c4(sp) | *(arg_38c4h) = s1;
0x00016f7c sw s0, 0x38c0(sp) | *(arg_38c0h) = s0;
0x00016f80 move fp, sp | fp = sp;
0x00016f84 sw gp, 0x50(sp) | *(arg_50h) = gp;
0x00016f88 sw a0, 0x38d0(fp) | *(arg_38d0h) = a0;
0x00016f8c sw a1, 0x38d4(fp) | *(arg_38d4h) = a1;
0x00016f90 sw a2, 0x38d8(fp) | *(arg_38d8h) = a2;
0x00016f94 sw a3, 0x38dc(fp) | *(arg_38dch) = a3;
0x00016f98 sw zero, 0x58(fp) | *(arg_58h) = 0;
0x00016f9c sw zero, 0x6c(fp) | *(arg_6ch) = 0;
0x00016fa0 move v0, zero | v0 = 0;
0x00016fa4 move v1, zero | v1 = 0;
0x00016fa8 sw v0, 0x38b0(fp) | *(arg_38b0h) = v0;
0x00016fac sw v1, 0x38b4(fp) | *(arg_38b4h) = v1;
0x00016fb0 lw v0, 0x38d0(fp) | v0 = *(arg_38d0h);
0x00016fb4 sw v0, 0x70(fp) | *(arg_70h) = v0;
0x00016fb8 sw zero, 0x38b8(fp) | *(arg_38b8h) = 0;
0x00016fbc sw zero, 0x5c(fp) | *(arg_5ch) = 0;
0x00016fc0 sw zero, 0x60(fp) | *(arg_60h) = 0;
0x00016fc4 sw zero, 0x64(fp) | *(arg_64h) = 0;
0x00016fc8 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x00016fcc sw zero, 0x38bc(fp) | *(arg_38bch) = 0;
0x00016fd0 move v0, zero | v0 = 0;
0x00016fd4 move v1, zero | v1 = 0;
0x00016fd8 sw v0, 0x78(fp) | *(arg_78h) = v0;
0x00016fdc sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x00016fe0 lw v0, 0x70(fp) | v0 = *(arg_70h);
| if (v0 != 0) {
0x00016fe4 beqz v0, 0x17008 |
0x00016fe8 nop |
0x00016fec lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00016ff0 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00016ff4 beqz v0, 0x17008 | goto label_0;
| }
0x00016ff8 nop |
0x00016ffc lw v0, 0x38dc(fp) | v0 = *(arg_38dch);
| if (v0 != 0) {
0x00017000 bnez v0, 0x17018 | goto label_1;
| }
0x00017004 nop |
| }
| label_0:
0x00017008 addiu v0, zero, 2 | v0 = 2;
0x0001700c sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00017010 b 0x17570 | goto label_2;
0x00017014 nop |
| label_1:
0x00017018 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001701c lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00017020 sw v0, 0x5c(fp) | *(arg_5ch) = v0;
0x00017024 lw v0, 0x38dc(fp) | v0 = *(arg_38dch);
0x00017028 lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x0001702c lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x00017030 sw v0, 0x78(fp) | *(arg_78h) = v0;
0x00017034 sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x00017038 addiu v0, fp, 0xa8 | v0 = fp + 0xa8;
0x0001703c move a0, v0 | a0 = v0;
0x00017040 addiu a1, zero, 0x2800 | a1 = 0x2800;
0x00017044 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._n_t_StreamName_:___s__n */
0x00017048 addiu a2, v0, 0x3620 | a2 = v0 + 0x3620;
0x0001704c lw a3, 0x38d8(fp) | a3 = *(arg_38d8h);
0x00017050 lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x00017054 move t9, v0 | t9 = v0;
0x00017058 jalr t9 | t9 ();
0x0001705c nop |
0x00017060 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00017064 lw v0, 0x38dc(fp) | v0 = *(arg_38dch);
0x00017068 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x0001706c addiu v0, v0, 8 | v0 += 8;
0x00017070 move a0, v0 | a0 = v0;
0x00017074 lw v0, -0x7950(gp) | v0 = sym.deserializeAwsCredentials;
0x00017078 move t9, v0 | t9 = v0;
0x0001707c jalr t9 | t9 ();
0x00017080 nop |
0x00017084 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00017088 sw v0, 0x80(fp) | *(arg_80h) = v0;
0x0001708c lw v0, 0x80(fp) | v0 = *(arg_80h);
| if (v0 != 0) {
0x00017090 beqz v0, 0x170a8 |
0x00017094 nop |
0x00017098 lw v0, 0x80(fp) | v0 = *(arg_80h);
0x0001709c sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000170a0 b 0x17570 | goto label_2;
0x000170a4 nop |
| }
0x000170a8 lw v0, 0x38dc(fp) | v0 = *(arg_38dch);
0x000170ac lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x000170b0 addiu v0, v0, 8 | v0 += 8;
0x000170b4 sw v0, 0x6c(fp) | *(arg_6ch) = v0;
0x000170b8 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x000170bc lw v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x000170c0 beqz v0, 0x170dc |
0x000170c4 nop |
0x000170c8 lui v0, 0x1500 | v0 = 0x15000008;
0x000170cc ori v0, v0, 8 |
0x000170d0 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000170d4 b 0x17570 | goto label_2;
0x000170d8 nop |
| }
0x000170dc lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x000170e0 lw v1, 4(v0) | v1 = *((v0 + 1));
0x000170e4 lw v0, 0x38dc(fp) | v0 = *(arg_38dch);
0x000170e8 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x000170ec lw v0, 0x2718(v0) | v0 = *((v0 + 2502));
| if (v1 != v0) {
0x000170f0 beq v1, v0, 0x17108 |
0x000170f4 nop |
0x000170f8 addiu v0, zero, 0xc | v0 = 0xc;
0x000170fc sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00017100 b 0x17570 | goto label_2;
0x00017104 nop |
| }
0x00017108 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001710c addiu v0, v0, 0x21e | v0 += 0x21e;
0x00017110 addiu v1, fp, 0x28a8 | v1 = fp + 0x28a8;
0x00017114 move a0, v1 | a0 = v1;
0x00017118 move a1, v0 | a1 = v0;
0x0001711c lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x00017120 move t9, v0 | t9 = v0;
0x00017124 jalr t9 | t9 ();
0x00017128 nop |
0x0001712c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00017130 addiu v0, fp, 0x28a8 | v0 = fp + 0x28a8;
0x00017134 move a0, v0 | a0 = v0;
0x00017138 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x0001713c move t9, v0 | t9 = v0;
0x00017140 jalr t9 | t9 ();
0x00017144 nop |
0x00017148 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001714c addiu v1, fp, 0x28a8 | v1 = fp + 0x28a8;
0x00017150 addu v0, v1, v0 | v0 = v1 + v0;
0x00017154 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x00017158 lw a2, 0x3638(v1) | a2 = *((v1 + 3470));
| /* str._describeStream */
0x0001715c addiu a0, v1, 0x3638 | a0 = v1 + 0x3638;
0x00017160 lw a1, 4(a0) | a1 = *((a0 + 1));
| /* str._describeStream */
0x00017164 addiu a0, v1, 0x3638 | a0 = v1 + 0x3638;
0x00017168 lw a0, 8(a0) | a0 = *((a0 + 2));
| /* str._describeStream */
0x0001716c addiu v1, v1, 0x3638 | v1 += 0x3638;
0x00017170 lw v1, 0xc(v1) | v1 = *((v1 + 3));
0x00017174 swl a2, 3(v0) | __asm ("swl a2, 3(v0)");
0x00017178 swr a2, (v0) | __asm ("swr a2, (v0)");
0x0001717c swl a1, 7(v0) | __asm ("swl a1, 7(v0)");
0x00017180 swr a1, 4(v0) | __asm ("swr a1, 4(v0)");
0x00017184 swl a0, 0xb(v0) | __asm ("swl a0, 0xb(v0)");
0x00017188 swr a0, 8(v0) | __asm ("swr a0, 8(v0)");
0x0001718c swl v1, 0xf(v0) | __asm ("swl v1, 0xf(v0)");
0x00017190 swr v1, 0xc(v0) | __asm ("swr v1, 0xc(v0)");
0x00017194 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00017198 lw a2, 0x10(v0) | a2 = *((v0 + 4));
0x0001719c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000171a0 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x000171a4 lw v0, 8(v0) | v0 = *((v0 + 2));
0x000171a8 move a0, v0 | a0 = v0;
0x000171ac move a1, v1 | a1 = v1;
0x000171b0 move t9, a2 | t9 = a2;
0x000171b4 jalr t9 | t9 ();
0x000171b8 nop |
0x000171bc lw gp, 0x50(fp) | gp = *(arg_50h);
0x000171c0 sw v0, 0x88(fp) | *(arg_88h) = v0;
0x000171c4 sw v1, 0x8c(fp) | *(arg_8ch) = v1;
0x000171c8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000171cc addiu t3, v0, 0x9c | t3 = v0 + 0x9c;
0x000171d0 lw v0, 0x38dc(fp) | v0 = *(arg_38dch);
0x000171d4 lw a0, 0x10(v0) | a0 = *((v0 + 4));
0x000171d8 lw a1, 0x14(v0) | a1 = *((v0 + 5));
0x000171dc lw v0, 0x38dc(fp) | v0 = *(arg_38dch);
0x000171e0 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x000171e4 lw v0, 8(v0) | v0 = *((v0 + 2));
0x000171e8 lw a2, 0x70(fp) | a2 = *(arg_70h);
0x000171ec addiu t2, a2, 0x292f | t2 = a2 + 0x292f;
0x000171f0 addiu t1, fp, 0x28a8 | t1 = fp + 0x28a8;
0x000171f4 addiu t0, fp, 0xa8 | t0 = fp + 0xa8;
0x000171f8 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x000171fc lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x00017200 sw a2, 0x10(sp) | *(arg_10h) = a2;
0x00017204 sw a3, 0x14(sp) | *(arg_14h) = a3;
0x00017208 sw t3, 0x18(sp) | *(arg_18h) = t3;
0x0001720c lw a2, 0x88(fp) | a2 = *(arg_88h);
0x00017210 lw a3, 0x8c(fp) | a3 = *(arg_8ch);
0x00017214 sw a2, 0x20(sp) | *(arg_20h) = a2;
0x00017218 sw a3, 0x24(sp) | *(arg_24h) = a3;
0x0001721c lui a2, 0x2fa | a2 = 0x2faf080;
0x00017220 ori a2, a2, 0xf080 |
0x00017224 move a3, zero | a3 = 0;
0x00017228 sw a2, 0x28(sp) | *(arg_28h) = a2;
0x0001722c sw a3, 0x2c(sp) | *(arg_2ch) = a3;
0x00017230 sw a0, 0x30(sp) | *(arg_30h) = a0;
0x00017234 sw a1, 0x34(sp) | *(arg_34h) = a1;
0x00017238 sw v0, 0x38(sp) | *(arg_38h) = v0;
0x0001723c sw v1, 0x3c(sp) | *(arg_3ch) = v1;
0x00017240 sw t2, 0x40(sp) | *(arg_40h) = t2;
0x00017244 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00017248 sw v0, 0x44(sp) | *(arg_44h) = v0;
0x0001724c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00017250 sw v0, 0x48(sp) | *(arg_48h) = v0;
0x00017254 addiu v0, fp, 0x38b8 | v0 = fp + 0x38b8;
0x00017258 sw v0, 0x4c(sp) | *(arg_4ch) = v0;
0x0001725c addiu a0, zero, 1 | a0 = 1;
0x00017260 move a1, t1 | a1 = t1;
0x00017264 move a2, t0 | a2 = t0;
0x00017268 lw v0, -0x7f24(gp) | v0 = sym.createCurlRequest;
0x0001726c move t9, v0 | t9 = v0;
0x00017270 jalr t9 | t9 ();
0x00017274 nop |
0x00017278 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001727c sw v0, 0x90(fp) | *(arg_90h) = v0;
0x00017280 lw v0, 0x90(fp) | v0 = *(arg_90h);
| if (v0 != 0) {
0x00017284 beqz v0, 0x1729c |
0x00017288 nop |
0x0001728c lw v0, 0x90(fp) | v0 = *(arg_90h);
0x00017290 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00017294 b 0x17570 | goto label_2;
0x00017298 nop |
| }
0x0001729c lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x000172a0 addiu v1, v0, 8 | v1 = v0 + 8;
0x000172a4 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000172a8 addiu v0, v0, 0x11d | v0 += 0x11d;
0x000172ac sw zero, 0x10(sp) | *(arg_10h) = 0;
0x000172b0 move a0, v1 | a0 = v1;
0x000172b4 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: 'user-agent' */
0x000172b8 addiu a1, v1, 0x34f4 | a1 = v1 + 0x34f4;
0x000172bc move a2, zero | a2 = 0;
0x000172c0 move a3, v0 | a3 = v0;
0x000172c4 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x000172c8 move t9, v0 | t9 = v0;
0x000172cc jalr t9 | t9 ();
0x000172d0 nop |
0x000172d4 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000172d8 sw v0, 0x94(fp) | *(arg_94h) = v0;
0x000172dc lw v0, 0x94(fp) | v0 = *(arg_94h);
| if (v0 != 0) {
0x000172e0 beqz v0, 0x172f8 |
0x000172e4 nop |
0x000172e8 lw v0, 0x94(fp) | v0 = *(arg_94h);
0x000172ec sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000172f0 b 0x17570 | goto label_2;
0x000172f4 nop |
| }
0x000172f8 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000172fc lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00017300 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00017304 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00017308 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001730c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00017310 lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x00017314 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x00017318 move a2, v0 | a2 = v0;
0x0001731c move a3, v1 | a3 = v1;
0x00017320 move t9, t0 | t9 = t0;
0x00017324 jalr t9 | t9 ();
0x00017328 nop |
0x0001732c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00017330 addiu v0, zero, 1 | v0 = 1;
0x00017334 sw v0, 0x64(fp) | *(arg_64h) = v0;
0x00017338 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001733c lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00017340 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00017344 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00017348 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001734c lw a0, 8(v0) | a0 = *((v0 + 2));
0x00017350 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00017354 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00017358 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001735c lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00017360 move a2, v0 | a2 = v0;
0x00017364 move a3, v1 | a3 = v1;
0x00017368 move t9, t0 | t9 = t0;
0x0001736c jalr t9 | t9 ();
0x00017370 nop |
0x00017374 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00017378 addiu v0, zero, 1 | v0 = 1;
0x0001737c sw v0, 0x68(fp) | *(arg_68h) = v0;
0x00017380 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00017384 lw v0, 0x3984(v0) | v0 = *((v0 + 3681));
0x00017388 addiu v1, fp, 0x38bc | v1 = fp + 0x38bc;
0x0001738c sw v1, 0x10(sp) | *(arg_10h) = v1;
0x00017390 move a0, v0 | a0 = v0;
0x00017394 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00017398 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x0001739c lw v0, -0x7c88(gp) | v0 = sym.hashTableContains;
0x000173a0 move t9, v0 | t9 = v0;
0x000173a4 jalr t9 | t9 ();
0x000173a8 nop |
0x000173ac lw gp, 0x50(fp) | gp = *(arg_50h);
0x000173b0 sw v0, 0x98(fp) | *(arg_98h) = v0;
0x000173b4 lw v0, 0x98(fp) | v0 = *(arg_98h);
| if (v0 != 0) {
0x000173b8 beqz v0, 0x173d0 |
0x000173bc nop |
0x000173c0 lw v0, 0x98(fp) | v0 = *(arg_98h);
0x000173c4 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000173c8 b 0x17570 | goto label_2;
0x000173cc nop |
| }
0x000173d0 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000173d4 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x000173d8 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x000173dc lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000173e0 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x000173e4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000173e8 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000173ec lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000173f0 lw v1, 0x398c(v0) | v1 = *(v0);
0x000173f4 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x000173f8 move a2, v0 | a2 = v0;
0x000173fc move a3, v1 | a3 = v1;
0x00017400 move t9, t0 | t9 = t0;
0x00017404 jalr t9 | t9 ();
0x00017408 nop |
0x0001740c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00017410 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x00017414 lw v0, 0x38bc(fp) | v0 = *(arg_38bch);
| if (v0 != 0) {
0x00017418 beqz v0, 0x17434 |
0x0001741c nop |
0x00017420 lui v0, 0x1500 | v0 = 0x1500001e;
0x00017424 ori v0, v0, 0x1e |
0x00017428 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x0001742c b 0x17570 | goto label_2;
0x00017430 nop |
| }
0x00017434 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00017438 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001743c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00017440 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00017444 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00017448 lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x0001744c lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00017450 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00017454 move a2, v0 | a2 = v0;
0x00017458 move a3, v1 | a3 = v1;
0x0001745c move t9, t0 | t9 = t0;
0x00017460 jalr t9 | t9 ();
0x00017464 nop |
0x00017468 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001746c addiu v0, zero, 1 | v0 = 1;
0x00017470 sw v0, 0x60(fp) | *(arg_60h) = v0;
0x00017474 lw v0, -0x7dc0(gp) | v0 = *(gp);
0x00017478 lw v0, (v0) | v0 = *(v0);
0x0001747c lw v1, 0x38b8(fp) | v1 = *(arg_38b8h);
0x00017480 addiu a0, fp, 0x38b0 | a0 = fp + 0x38b0;
0x00017484 lw a1, -0x7d08(gp) | a1 = sym.describeStreamCurlHandler;
0x00017488 move a2, v1 | a2 = v1;
0x0001748c move t9, v0 | t9 = v0;
0x00017490 jalr t9 | t9 ();
0x00017494 nop |
0x00017498 lw gp, 0x50(fp) | gp = *(arg_50h);
0x0001749c sw v0, 0x9c(fp) | *(arg_9ch) = v0;
0x000174a0 lw v0, 0x9c(fp) | v0 = *(arg_9ch);
| if (v0 != 0) {
0x000174a4 beqz v0, 0x174bc |
0x000174a8 nop |
0x000174ac lw v0, 0x9c(fp) | v0 = *(arg_9ch);
0x000174b0 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000174b4 b 0x17570 | goto label_2;
0x000174b8 nop |
| }
0x000174bc lw v0, -0x7e60(gp) | v0 = *(gp);
0x000174c0 lw a2, (v0) | a2 = *(v0);
0x000174c4 lw v0, 0x38b0(fp) | v0 = *(arg_38b0h);
0x000174c8 lw v1, 0x38b4(fp) | v1 = *(arg_38b4h);
0x000174cc move a0, v0 | a0 = v0;
0x000174d0 move a1, v1 | a1 = v1;
0x000174d4 move t9, a2 | t9 = a2;
0x000174d8 jalr t9 | t9 ();
0x000174dc nop |
0x000174e0 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000174e4 sw v0, 0xa0(fp) | *(arg_a0h) = v0;
0x000174e8 lw v0, 0xa0(fp) | v0 = *(arg_a0h);
| if (v0 != 0) {
0x000174ec beqz v0, 0x17504 |
0x000174f0 nop |
0x000174f4 lw v0, 0xa0(fp) | v0 = *(arg_a0h);
0x000174f8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000174fc b 0x17570 | goto label_2;
0x00017500 nop |
| }
0x00017504 lw a0, 0x38b8(fp) | a0 = *(arg_38b8h);
0x00017508 lw v0, 0x38b0(fp) | v0 = *(arg_38b0h);
0x0001750c lw v1, 0x38b4(fp) | v1 = *(arg_38b4h);
0x00017510 sw v0, 0x5910(a0) | *((a0 + 5700)) = v0;
0x00017514 sw v1, 0x5914(a0) | *((a0 + 5701)) = v1;
0x00017518 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001751c lw v1, 0x3950(v0) | v1 = *((v0 + 3668));
0x00017520 lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x00017524 move s0, v0 | s0 = v0;
0x00017528 sra v0, v0, 0x1f | v0 >>= 0x1f;
0x0001752c move s1, v0 | s1 = v0;
0x00017530 sw s0, 0x10(sp) | *(arg_10h) = s0;
0x00017534 sw s1, 0x14(sp) | *(arg_14h) = s1;
0x00017538 move a0, v1 | a0 = v1;
0x0001753c lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00017540 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x00017544 lw v0, -0x790c(gp) | v0 = sym.hashTablePut;
0x00017548 move t9, v0 | t9 = v0;
0x0001754c jalr t9 | t9 ();
0x00017550 nop |
0x00017554 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00017558 sw v0, 0xa4(fp) | *(arg_a4h) = v0;
0x0001755c lw v0, 0xa4(fp) | v0 = *(arg_a4h);
| if (v0 != 0) {
0x00017560 beqz v0, 0x17570 |
0x00017564 nop |
0x00017568 lw v0, 0xa4(fp) | v0 = *(arg_a4h);
0x0001756c sw v0, 0x58(fp) | *(arg_58h) = v0;
| }
| label_2:
0x00017570 lw v0, 0x58(fp) | v0 = *(arg_58h);
| if (v0 != 0) {
0x00017574 beqz v0, 0x175e0 |
0x00017578 nop |
0x0001757c lw a0, 0x38b0(fp) | a0 = *(arg_38b0h);
0x00017580 lw a1, 0x38b4(fp) | a1 = *(arg_38b4h);
0x00017584 move v0, a0 | v0 = a0;
0x00017588 or v0, v0, a1 | v0 |= a1;
| if (v0 != 0) {
0x0001758c beqz v0, 0x175bc |
0x00017590 nop |
0x00017594 lw v0, -0x7e48(gp) | v0 = *(gp);
0x00017598 lw a2, (v0) | a2 = *(v0);
0x0001759c lw v0, 0x38b0(fp) | v0 = *(arg_38b0h);
0x000175a0 lw v1, 0x38b4(fp) | v1 = *(arg_38b4h);
0x000175a4 move a0, v0 | a0 = v0;
0x000175a8 move a1, v1 | a1 = v1;
0x000175ac move t9, a2 | t9 = a2;
0x000175b0 jalr t9 | t9 ();
0x000175b4 nop |
0x000175b8 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x000175bc addiu v0, fp, 0x38b8 | v0 = fp + 0x38b8;
0x000175c0 move a0, v0 | a0 = v0;
0x000175c4 lw v0, -0x7858(gp) | v0 = sym.freeCurlRequest;
0x000175c8 move t9, v0 | t9 = v0;
0x000175cc jalr t9 | t9 ();
0x000175d0 nop |
0x000175d4 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000175d8 b 0x17624 | goto label_3;
0x000175dc nop |
| }
0x000175e0 lw v0, 0x60(fp) | v0 = *(arg_60h);
| if (v0 != 0) {
0x000175e4 beqz v0, 0x17624 |
0x000175e8 nop |
0x000175ec lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000175f0 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x000175f4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x000175f8 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000175fc lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00017600 lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x00017604 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00017608 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001760c move a2, v0 | a2 = v0;
0x00017610 move a3, v1 | a3 = v1;
0x00017614 move t9, t0 | t9 = t0;
0x00017618 jalr t9 | t9 ();
0x0001761c nop |
0x00017620 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
| label_3:
0x00017624 lw v0, 0x68(fp) | v0 = *(arg_68h);
| if (v0 != 0) {
0x00017628 beqz v0, 0x17668 |
0x0001762c nop |
0x00017630 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00017634 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00017638 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x0001763c lw a0, 8(v0) | a0 = *((v0 + 2));
0x00017640 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00017644 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00017648 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001764c lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00017650 move a2, v0 | a2 = v0;
0x00017654 move a3, v1 | a3 = v1;
0x00017658 move t9, t0 | t9 = t0;
0x0001765c jalr t9 | t9 ();
0x00017660 nop |
0x00017664 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x00017668 lw v0, 0x64(fp) | v0 = *(arg_64h);
| if (v0 != 0) {
0x0001766c beqz v0, 0x176ac |
0x00017670 nop |
0x00017674 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00017678 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001767c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00017680 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00017684 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00017688 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001768c lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x00017690 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x00017694 move a2, v0 | a2 = v0;
0x00017698 move a3, v1 | a3 = v1;
0x0001769c move t9, t0 | t9 = t0;
0x000176a0 jalr t9 | t9 ();
0x000176a4 nop |
0x000176a8 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x000176ac lw v0, 0x58(fp) | v0 = *(arg_58h);
0x000176b0 move sp, fp |
0x000176b4 lw ra, 0x38cc(sp) | ra = *(arg_38cch);
0x000176b8 lw fp, 0x38c8(sp) | fp = *(arg_38c8h);
0x000176bc lw s1, 0x38c4(sp) | s1 = *(arg_38c4h);
0x000176c0 lw s0, 0x38c0(sp) | s0 = *(arg_38c0h);
0x000176c4 addiu sp, sp, 0x38d0 |
0x000176c8 jr ra | return v0;
0x000176cc nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x17a70 */
| #include <stdint.h>
|
; (fcn) sym.describeStreamCurlHandler () | void describeStreamCurlHandler () {
0x00017a70 lui gp, 8 |
0x00017a74 addiu gp, gp, -0x69a0 |
0x00017a78 addu gp, gp, t9 | gp += t9;
0x00017a7c addiu sp, sp, -0x1978 |
0x00017a80 sw ra, 0x1974(sp) | *(var_1974h) = ra;
0x00017a84 sw fp, 0x1970(sp) | *(var_1970h) = fp;
0x00017a88 move fp, sp | fp = sp;
0x00017a8c sw gp, 0x20(sp) | *(var_20h) = gp;
0x00017a90 sw a0, 0x1978(fp) | *(arg_1978h) = a0;
0x00017a94 sw zero, 0x28(fp) | *(var_28h) = 0;
0x00017a98 lw v0, 0x1978(fp) | v0 = *(arg_1978h);
0x00017a9c sw v0, 0x38(fp) | *(var_38h) = v0;
0x00017aa0 sw zero, 0x3c(fp) | *(var_3ch) = 0;
0x00017aa4 sw zero, 0x40(fp) | *(var_40h) = 0;
0x00017aa8 sw zero, 0x44(fp) | *(var_44h) = 0;
0x00017aac sw zero, 0x30(fp) | *(var_30h) = 0;
0x00017ab0 sw zero, 0x48(fp) | *(var_48h) = 0;
0x00017ab4 move v0, zero | v0 = 0;
0x00017ab8 move v1, zero | v1 = 0;
0x00017abc sw v0, 0x50(fp) | *(var_50h) = v0;
0x00017ac0 sw v1, 0x54(fp) | *(var_54h) = v1;
0x00017ac4 sw zero, 0x34(fp) | *(var_34h) = 0;
0x00017ac8 lw v0, 0x38(fp) | v0 = *(var_38h);
| if (v0 != 0) {
0x00017acc beqz v0, 0x17b08 |
0x00017ad0 nop |
0x00017ad4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017ad8 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
| if (v0 == 0) {
0x00017adc beqz v0, 0x17b08 | goto label_0;
| }
0x00017ae0 nop |
0x00017ae4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017ae8 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x00017aec lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00017af0 beqz v0, 0x17b08 | goto label_0;
| }
0x00017af4 nop |
0x00017af8 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017afc lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x00017b00 bnez v0, 0x17b14 | goto label_1;
| }
0x00017b04 nop |
| }
| label_0:
0x00017b08 addiu v0, zero, 1 | v0 = 1;
0x00017b0c b 0x17b18 | goto label_2;
0x00017b10 nop |
| label_1:
0x00017b14 move v0, zero | v0 = 0;
| label_2:
0x00017b18 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x00017b1c andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 != 0) {
0x00017b20 beqz v0, 0x17b54 |
0x00017b24 nop |
0x00017b28 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x00017b2c addiu a0, v0, 0x3524 | a0 = v0 + 0x3524;
0x00017b30 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._home_derek_kvs_3.0.0_amazon_kinesis_video_streams_producer_sdk_cpp_open_source_amazon_kinesis_video_streams_producer_c_src_source_CurlApiCallbacks.c */
0x00017b34 addiu a1, v0, 0x3528 | a1 = v0 + 0x3528;
0x00017b38 addiu a2, zero, 0x545 | a2 = 0x545;
0x00017b3c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__PRETTY_FUNCTION__.9303 */
0x00017b40 addiu a3, v0, 0x3ad4 | a3 = v0 + 0x3ad4;
0x00017b44 lw v0, -0x77c0(gp) | v0 = sym.imp.__assert;
0x00017b48 move t9, v0 | t9 = v0;
0x00017b4c jalr t9 | t9 ();
0x00017b50 nop |
| }
0x00017b54 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017b58 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x00017b5c sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x00017b60 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x00017b64 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00017b68 sw v0, 0x40(fp) | *(var_40h) = v0;
0x00017b6c lw v0, 0x40(fp) | v0 = *(var_40h);
0x00017b70 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00017b74 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00017b78 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00017b7c lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00017b80 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017b84 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00017b88 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00017b8c move a2, v0 | a2 = v0;
0x00017b90 move a3, v1 | a3 = v1;
0x00017b94 move t9, t0 | t9 = t0;
0x00017b98 jalr t9 | t9 ();
0x00017b9c nop |
0x00017ba0 lw gp, 0x20(fp) | gp = *(var_20h);
0x00017ba4 lw v0, 0x40(fp) | v0 = *(var_40h);
0x00017ba8 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00017bac lw v0, 0x40(fp) | v0 = *(var_40h);
0x00017bb0 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00017bb4 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00017bb8 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017bbc lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00017bc0 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00017bc4 move a2, v0 | a2 = v0;
0x00017bc8 move a3, v1 | a3 = v1;
0x00017bcc move t9, t0 | t9 = t0;
0x00017bd0 jalr t9 | t9 ();
0x00017bd4 nop |
0x00017bd8 lw gp, 0x20(fp) | gp = *(var_20h);
0x00017bdc lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017be0 addiu v0, v0, 8 | v0 += 8;
0x00017be4 move a0, v0 | a0 = v0;
0x00017be8 lw v0, -0x78a4(gp) | v0 = sym.signAwsRequestInfo;
0x00017bec move t9, v0 | t9 = v0;
0x00017bf0 jalr t9 | t9 ();
0x00017bf4 nop |
0x00017bf8 lw gp, 0x20(fp) | gp = *(var_20h);
0x00017bfc sw v0, 0x58(fp) | *(var_58h) = v0;
0x00017c00 lw v0, 0x58(fp) | v0 = *(var_58h);
| if (v0 != 0) {
0x00017c04 beqz v0, 0x17c1c |
0x00017c08 nop |
0x00017c0c lw v0, 0x58(fp) | v0 = *(var_58h);
0x00017c10 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00017c14 b 0x1875c | goto label_3;
0x00017c18 nop |
| }
0x00017c1c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017c20 lw v1, 0x57bc(v0) | v1 = *((v0 + 5615));
0x00017c24 lw v0, 0x57b8(v0) | v0 = *((v0 + 5614));
0x00017c28 lw a0, 0x38(fp) | a0 = *(var_38h);
0x00017c2c lw a1, 0x57d4(a0) | a1 = *((a0 + 5621));
0x00017c30 lw a0, 0x57d0(a0) | a0 = *((a0 + 5620));
0x00017c34 sltu a2, v1, a1 | a2 = (v1 < a1) ? 1 : 0;
| if (a2 == 0) {
0x00017c38 bnez a2, 0x17c58 |
0x00017c3c nop |
0x00017c40 move a2, v1 | a2 = v1;
| if (a1 != a2) {
0x00017c44 bne a1, a2, 0x17ca4 | goto label_4;
| }
0x00017c48 nop |
0x00017c4c sltu v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
| if (v0 == 0) {
0x00017c50 beqz v0, 0x17ca4 | goto label_4;
| }
0x00017c54 nop |
| }
0x00017c58 lw v0, -0x799c(gp) | v0 = *(gp);
0x00017c5c lw t0, (v0) | t0 = *(v0);
0x00017c60 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017c64 lw a0, 0x57d0(v0) | a0 = *((v0 + 5620));
0x00017c68 lw a1, 0x57d4(v0) | a1 = *((v0 + 5621));
0x00017c6c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017c70 lw a2, 0x57b8(v0) | a2 = *((v0 + 5614));
0x00017c74 lw a3, 0x57bc(v0) | a3 = *((v0 + 5615));
0x00017c78 subu v0, a0, a2 | __asm ("subu v0, a0, a2");
0x00017c7c sltu t1, a0, v0 | t1 = (a0 < v0) ? 1 : 0;
0x00017c80 subu v1, a1, a3 | __asm ("subu v1, a1, a3");
0x00017c84 subu a0, v1, t1 | __asm ("subu a0, v1, t1");
0x00017c88 move v1, a0 | v1 = a0;
0x00017c8c move a0, v0 | a0 = v0;
0x00017c90 move a1, v1 | a1 = v1;
0x00017c94 move t9, t0 | t9 = t0;
0x00017c98 jalr t9 | t9 ();
0x00017c9c nop |
0x00017ca0 lw gp, 0x20(fp) | gp = *(var_20h);
| label_4:
0x00017ca4 lw a0, 0x38(fp) | a0 = *(var_38h);
0x00017ca8 lw v0, -0x7450(gp) | v0 = sym.curlCallApi;
0x00017cac move t9, v0 | t9 = v0;
0x00017cb0 jalr t9 | t9 ();
0x00017cb4 nop |
0x00017cb8 lw gp, 0x20(fp) | gp = *(var_20h);
0x00017cbc sw v0, 0x5c(fp) | *(var_5ch) = v0;
0x00017cc0 lw v0, 0x5c(fp) | v0 = *(var_5ch);
| if (v0 != 0) {
0x00017cc4 beqz v0, 0x17cdc |
0x00017cc8 nop |
0x00017ccc lw v0, 0x5c(fp) | v0 = *(var_5ch);
0x00017cd0 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00017cd4 b 0x1875c | goto label_3;
0x00017cd8 nop |
| }
0x00017cdc lw v0, -0x7eb4(gp) | v0 = *(gp);
0x00017ce0 lw v0, (v0) | v0 = *(v0);
0x00017ce4 lw v1, 0x38(fp) | v1 = *(var_38h);
0x00017ce8 addiu v1, v1, 8 | v1 += 8;
0x00017cec move a0, v1 | a0 = v1;
0x00017cf0 move t9, v0 | t9 = v0;
0x00017cf4 jalr t9 | t9 ();
0x00017cf8 nop |
0x00017cfc lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00017d00 bnez v0, 0x1875c | goto label_3;
| }
0x00017d04 nop |
0x00017d08 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00017d0c lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x00017d10 sw v0, 0x44(fp) | *(var_44h) = v0;
0x00017d14 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00017d18 lw v0, 0x14(v0) | v0 = *((v0 + 5));
| if (v0 == 0) {
0x00017d1c bnez v0, 0x17d34 |
0x00017d20 nop |
0x00017d24 addiu v0, zero, 0xd | v0 = 0xd;
0x00017d28 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00017d2c b 0x1875c | goto label_3;
0x00017d30 nop |
| }
0x00017d34 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00017d38 lw v0, 0x124(v0) | v0 = *(v0);
0x00017d3c sw v0, 0x60(fp) | *(var_60h) = v0;
0x00017d40 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00017d44 lw v0, 0x128(v0) | v0 = *(v0);
0x00017d48 sw v0, 0x64(fp) | *(var_64h) = v0;
0x00017d4c lw v0, -0x7f44(gp) | v0 = *(gp);
0x00017d50 lw v0, (v0) | v0 = *(v0);
0x00017d54 lw v1, 0x64(fp) | v1 = *(var_64h);
0x00017d58 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00017d5c lw v1, 0x60(fp) | v1 = *(var_60h);
0x00017d60 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00017d64 addiu a0, zero, 2 | a0 = 2;
0x00017d68 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x00017d6c addiu a1, v1, 0x327c | a1 = v1 + 0x327c;
0x00017d70 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str._s__:_DescribeStream_API_response:__.s */
0x00017d74 addiu a2, v1, 0x3680 | a2 = v1 + 0x3680;
0x00017d78 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* obj.__FUNCTION__.9307 */
0x00017d7c addiu a3, v1, 0x3af0 | a3 = v1 + 0x3af0;
0x00017d80 move t9, v0 | t9 = v0;
0x00017d84 jalr t9 | t9 ();
0x00017d88 nop |
0x00017d8c lw gp, 0x20(fp) | gp = *(var_20h);
0x00017d90 lw v0, 0x44(fp) | v0 = *(var_44h);
0x00017d94 lw v1, 0x14(v0) | v1 = *((v0 + 5));
0x00017d98 addiu v0, zero, 0xc8 | v0 = 0xc8;
| if (v1 != v0) {
0x00017d9c bne v1, v0, 0x1875c | goto label_3;
| }
0x00017da0 nop |
0x00017da4 lw v0, 0x64(fp) | v0 = *(var_64h);
| if (v0 == 0) {
0x00017da8 beqz v0, 0x1875c | goto label_3;
| }
0x00017dac nop |
0x00017db0 lw v0, 0x60(fp) | v0 = *(var_60h);
| if (v0 == 0) {
0x00017db4 beqz v0, 0x1875c | goto label_3;
| }
0x00017db8 nop |
0x00017dbc addiu v0, fp, 0x74 | v0 = fp + 0x74;
0x00017dc0 move a0, v0 | a0 = v0;
0x00017dc4 lw v0, -0x7ab0(gp) | v0 = sym.jsmn_init;
0x00017dc8 move t9, v0 | t9 = v0;
0x00017dcc jalr t9 | t9 ();
0x00017dd0 nop |
0x00017dd4 lw gp, 0x20(fp) | gp = *(var_20h);
0x00017dd8 addiu v1, fp, 0x74 | v1 = fp + 0x74;
0x00017ddc addiu v0, fp, 0x80 | v0 = fp + 0x80;
0x00017de0 addiu a0, zero, 0x64 | a0 = 0x64;
0x00017de4 sw a0, 0x10(sp) | *(var_10h) = a0;
0x00017de8 move a0, v1 | a0 = v1;
0x00017dec lw a1, 0x60(fp) | a1 = *(var_60h);
0x00017df0 lw a2, 0x64(fp) | a2 = *(var_64h);
0x00017df4 move a3, v0 | a3 = v0;
0x00017df8 lw v0, -0x77e0(gp) | v0 = sym.jsmn_parse;
0x00017dfc move t9, v0 | t9 = v0;
0x00017e00 jalr t9 | t9 ();
0x00017e04 nop |
0x00017e08 lw gp, 0x20(fp) | gp = *(var_20h);
0x00017e0c sw v0, 0x68(fp) | *(var_68h) = v0;
0x00017e10 lw v0, 0x68(fp) | v0 = *(var_68h);
0x00017e14 slti v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
| if (v0 != 0) {
0x00017e18 beqz v0, 0x17e34 |
0x00017e1c nop |
0x00017e20 lui v0, 0x1500 | v0 = 0x1500000c;
0x00017e24 ori v0, v0, 0xc |
0x00017e28 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00017e2c b 0x1875c | goto label_3;
0x00017e30 nop |
| }
0x00017e34 lw v1, 0x80(fp) | v1 = *(var_80h);
0x00017e38 addiu v0, zero, 1 | v0 = 1;
| if (v1 != v0) {
0x00017e3c beq v1, v0, 0x17e58 |
0x00017e40 nop |
0x00017e44 lui v0, 0x1500 | v0 = 0x1500000c;
0x00017e48 ori v0, v0, 0xc |
0x00017e4c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00017e50 b 0x1875c | goto label_3;
0x00017e54 nop |
| }
0x00017e58 addiu v0, fp, 0x6c8 | v0 = fp + aav.0x000006c8;
0x00017e5c move a0, v0 | a0 = v0;
0x00017e60 move a1, zero | a1 = 0;
0x00017e64 addiu a2, zero, 0x12a8 | a2 = 0x12a8;
0x00017e68 lw v0, -0x7764(gp) | v0 = sym.imp.memset;
0x00017e6c move t9, v0 | t9 = v0;
0x00017e70 jalr t9 | t9 ();
0x00017e74 nop |
0x00017e78 lw gp, 0x20(fp) | gp = *(var_20h);
0x00017e7c addiu v0, zero, 1 | v0 = 1;
0x00017e80 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x00017e84 b 0x18748 | goto label_5;
0x00017e88 nop |
| do {
0x00017e8c lw v0, 0x30(fp) | v0 = *(var_30h);
| if (v0 == 0) {
0x00017e90 bnez v0, 0x17efc |
0x00017e94 nop |
0x00017e98 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x00017e9c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00017ea0 sll v0, v0, 4 | v0 <<= 4;
0x00017ea4 addu v0, v1, v0 | v0 = v1 + v0;
0x00017ea8 lw a0, 0x60(fp) | a0 = *(var_60h);
0x00017eac move a1, v0 | a1 = v0;
0x00017eb0 addiu a2, zero, 3 | a2 = 3;
0x00017eb4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.StreamInfo */
0x00017eb8 addiu a3, v0, 0x36a8 | a3 = v0 + 0x36a8;
0x00017ebc lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00017ec0 move t9, v0 | t9 = v0;
0x00017ec4 jalr t9 | t9 ();
0x00017ec8 nop |
0x00017ecc lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x00017ed0 beqz v0, 0x1873c | goto label_6;
| }
0x00017ed4 nop |
0x00017ed8 addiu v0, zero, 1 | v0 = 1;
0x00017edc sw v0, 0x6c8(fp) | *(var_6c8h) = v0;
0x00017ee0 addiu v0, zero, 1 | v0 = 1;
0x00017ee4 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00017ee8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00017eec addiu v0, v0, 1 | v0++;
0x00017ef0 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x00017ef4 b 0x1873c | goto label_6;
0x00017ef8 nop |
| }
0x00017efc addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x00017f00 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00017f04 sll v0, v0, 4 | v0 <<= 4;
0x00017f08 addu v0, v1, v0 | v0 = v1 + v0;
0x00017f0c lw a0, 0x60(fp) | a0 = *(var_60h);
0x00017f10 move a1, v0 | a1 = v0;
0x00017f14 addiu a2, zero, 3 | a2 = 3;
0x00017f18 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.DeviceName */
0x00017f1c addiu a3, v0, 0x36b4 | a3 = v0 + 0x36b4;
0x00017f20 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00017f24 move t9, v0 | t9 = v0;
0x00017f28 jalr t9 | t9 ();
0x00017f2c nop |
0x00017f30 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00017f34 beqz v0, 0x17ff8 |
0x00017f38 nop |
0x00017f3c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00017f40 addiu v0, v0, 1 | v0++;
0x00017f44 sll v0, v0, 4 | v0 <<= 4;
0x00017f48 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00017f4c addu v0, v1, v0 | v0 = v1 + v0;
0x00017f50 lw v1, 0x60(v0) | v1 = *(var_60h_2);
0x00017f54 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00017f58 addiu v0, v0, 1 | v0++;
0x00017f5c sll v0, v0, 4 | v0 <<= 4;
0x00017f60 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00017f64 addu v0, a0, v0 | v0 = a0 + v0;
0x00017f68 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00017f6c subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00017f70 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00017f74 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x00017f78 sltiu v0, v0, 0x81 | v0 = (v0 < 0x81) ? 1 : 0;
| if (v0 == 0) {
0x00017f7c bnez v0, 0x17f98 |
0x00017f80 nop |
0x00017f84 lui v0, 0x1500 | v0 = 0x1500000c;
0x00017f88 ori v0, v0, 0xc |
0x00017f8c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00017f90 b 0x1875c | goto label_3;
0x00017f94 nop |
| }
0x00017f98 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00017f9c addiu v0, v0, 1 | v0++;
0x00017fa0 sll v0, v0, 4 | v0 <<= 4;
0x00017fa4 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00017fa8 addu v0, v1, v0 | v0 = v1 + v0;
0x00017fac lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00017fb0 lw v1, 0x60(fp) | v1 = *(var_60h);
0x00017fb4 addu v0, v1, v0 | v0 = v1 + v0;
0x00017fb8 addiu v1, fp, 0x6c8 | v1 = fp + aav.0x000006c8;
0x00017fbc addiu v1, v1, 4 | v1 += 4;
0x00017fc0 move a0, v1 | a0 = v1;
0x00017fc4 move a1, v0 | a1 = v0;
0x00017fc8 lw a2, 0x6c(fp) | a2 = *(var_6ch);
0x00017fcc lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x00017fd0 move t9, v0 | t9 = v0;
0x00017fd4 jalr t9 | t9 ();
0x00017fd8 nop |
0x00017fdc lw gp, 0x20(fp) | gp = *(var_20h);
0x00017fe0 sb zero, 0x74c(fp) | *(var_74ch) = 0;
0x00017fe4 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00017fe8 addiu v0, v0, 1 | v0++;
0x00017fec sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x00017ff0 b 0x1873c | goto label_6;
0x00017ff4 nop |
| }
0x00017ff8 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x00017ffc lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018000 sll v0, v0, 4 | v0 <<= 4;
0x00018004 addu v0, v1, v0 | v0 = v1 + v0;
0x00018008 lw a0, 0x60(fp) | a0 = *(var_60h);
0x0001800c move a1, v0 | a1 = v0;
0x00018010 addiu a2, zero, 3 | a2 = 3;
0x00018014 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.MediaType */
0x00018018 addiu a3, v0, 0x36c0 | a3 = v0 + 0x36c0;
0x0001801c lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00018020 move t9, v0 | t9 = v0;
0x00018024 jalr t9 | t9 ();
0x00018028 nop |
0x0001802c lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00018030 beqz v0, 0x180f4 |
0x00018034 nop |
0x00018038 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0001803c addiu v0, v0, 1 | v0++;
0x00018040 sll v0, v0, 4 | v0 <<= 4;
0x00018044 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018048 addu v0, v1, v0 | v0 = v1 + v0;
0x0001804c lw v1, 0x60(v0) | v1 = *(var_60h_2);
0x00018050 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018054 addiu v0, v0, 1 | v0++;
0x00018058 sll v0, v0, 4 | v0 <<= 4;
0x0001805c addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00018060 addu v0, a0, v0 | v0 = a0 + v0;
0x00018064 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00018068 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x0001806c sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00018070 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x00018074 sltiu v0, v0, 0x81 | v0 = (v0 < 0x81) ? 1 : 0;
| if (v0 == 0) {
0x00018078 bnez v0, 0x18094 |
0x0001807c nop |
0x00018080 lui v0, 0x1500 | v0 = 0x1500000c;
0x00018084 ori v0, v0, 0xc |
0x00018088 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0001808c b 0x1875c | goto label_3;
0x00018090 nop |
| }
0x00018094 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018098 addiu v0, v0, 1 | v0++;
0x0001809c sll v0, v0, 4 | v0 <<= 4;
0x000180a0 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x000180a4 addu v0, v1, v0 | v0 = v1 + v0;
0x000180a8 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x000180ac lw v1, 0x60(fp) | v1 = *(var_60h);
0x000180b0 addu v0, v1, v0 | v0 = v1 + v0;
0x000180b4 addiu v1, fp, 0x6c8 | v1 = fp + aav.0x000006c8;
0x000180b8 addiu v1, v1, 0x186 | v1 += 0x186;
0x000180bc move a0, v1 | a0 = v1;
0x000180c0 move a1, v0 | a1 = v0;
0x000180c4 lw a2, 0x6c(fp) | a2 = *(var_6ch);
0x000180c8 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x000180cc move t9, v0 | t9 = v0;
0x000180d0 jalr t9 | t9 ();
0x000180d4 nop |
0x000180d8 lw gp, 0x20(fp) | gp = *(var_20h);
0x000180dc sb zero, 0x8ce(fp) | *(var_8ceh) = 0;
0x000180e0 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000180e4 addiu v0, v0, 1 | v0++;
0x000180e8 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x000180ec b 0x1873c | goto label_6;
0x000180f0 nop |
| }
0x000180f4 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x000180f8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000180fc sll v0, v0, 4 | v0 <<= 4;
0x00018100 addu v0, v1, v0 | v0 = v1 + v0;
0x00018104 lw a0, 0x60(fp) | a0 = *(var_60h);
0x00018108 move a1, v0 | a1 = v0;
0x0001810c addiu a2, zero, 3 | a2 = 3;
0x00018110 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.KmsKeyId */
0x00018114 addiu a3, v0, 0x36cc | a3 = v0 + 0x36cc;
0x00018118 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x0001811c move t9, v0 | t9 = v0;
0x00018120 jalr t9 | t9 ();
0x00018124 nop |
0x00018128 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001812c beqz v0, 0x181f0 |
0x00018130 nop |
0x00018134 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018138 addiu v0, v0, 1 | v0++;
0x0001813c sll v0, v0, 4 | v0 <<= 4;
0x00018140 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018144 addu v0, v1, v0 | v0 = v1 + v0;
0x00018148 lw v1, 0x60(v0) | v1 = *(var_60h_2);
0x0001814c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018150 addiu v0, v0, 1 | v0++;
0x00018154 sll v0, v0, 4 | v0 <<= 4;
0x00018158 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x0001815c addu v0, a0, v0 | v0 = a0 + v0;
0x00018160 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00018164 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00018168 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x0001816c lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x00018170 sltiu v0, v0, 0x801 | v0 = (v0 < 0x801) ? 1 : 0;
| if (v0 == 0) {
0x00018174 bnez v0, 0x18190 |
0x00018178 nop |
0x0001817c lui v0, 0x1500 | v0 = 0x1500000c;
0x00018180 ori v0, v0, 0xc |
0x00018184 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00018188 b 0x1875c | goto label_3;
0x0001818c nop |
| }
0x00018190 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018194 addiu v0, v0, 1 | v0++;
0x00018198 sll v0, v0, 4 | v0 <<= 4;
0x0001819c addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x000181a0 addu v0, v1, v0 | v0 = v1 + v0;
0x000181a4 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x000181a8 lw v1, 0x60(fp) | v1 = *(var_60h);
0x000181ac addu v0, v1, v0 | v0 = v1 + v0;
0x000181b0 addiu v1, fp, 0x6c8 | v1 = fp + aav.0x000006c8;
0x000181b4 addiu v1, v1, 0xaa0 | v1 += 0xaa0;
0x000181b8 move a0, v1 | a0 = v1;
0x000181bc move a1, v0 | a1 = v0;
0x000181c0 lw a2, 0x6c(fp) | a2 = *(var_6ch);
0x000181c4 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x000181c8 move t9, v0 | t9 = v0;
0x000181cc jalr t9 | t9 ();
0x000181d0 nop |
0x000181d4 lw gp, 0x20(fp) | gp = *(var_20h);
0x000181d8 sb zero, 0x1968(fp) | *(var_1968h) = 0;
0x000181dc lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000181e0 addiu v0, v0, 1 | v0++;
0x000181e4 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x000181e8 b 0x1873c | goto label_6;
0x000181ec nop |
| }
0x000181f0 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x000181f4 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000181f8 sll v0, v0, 4 | v0 <<= 4;
0x000181fc addu v0, v1, v0 | v0 = v1 + v0;
0x00018200 lw a0, 0x60(fp) | a0 = *(var_60h);
0x00018204 move a1, v0 | a1 = v0;
0x00018208 addiu a2, zero, 3 | a2 = 3;
0x0001820c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.StreamARN */
0x00018210 addiu a3, v0, 0x3614 | a3 = v0 + 0x3614;
0x00018214 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00018218 move t9, v0 | t9 = v0;
0x0001821c jalr t9 | t9 ();
0x00018220 nop |
0x00018224 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00018228 beqz v0, 0x182ec |
0x0001822c nop |
0x00018230 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018234 addiu v0, v0, 1 | v0++;
0x00018238 sll v0, v0, 4 | v0 <<= 4;
0x0001823c addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018240 addu v0, v1, v0 | v0 = v1 + v0;
0x00018244 lw v1, 0x60(v0) | v1 = *(var_60h_2);
0x00018248 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0001824c addiu v0, v0, 1 | v0++;
0x00018250 sll v0, v0, 4 | v0 <<= 4;
0x00018254 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00018258 addu v0, a0, v0 | v0 = a0 + v0;
0x0001825c lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00018260 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00018264 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00018268 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001826c sltiu v0, v0, 0x801 | v0 = (v0 < 0x801) ? 1 : 0;
| if (v0 == 0) {
0x00018270 bnez v0, 0x1828c |
0x00018274 nop |
0x00018278 lui v0, 0x1500 | v0 = 0x1500000c;
0x0001827c ori v0, v0, 0xc |
0x00018280 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00018284 b 0x1875c | goto label_3;
0x00018288 nop |
| }
0x0001828c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018290 addiu v0, v0, 1 | v0++;
0x00018294 sll v0, v0, 4 | v0 <<= 4;
0x00018298 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x0001829c addu v0, v1, v0 | v0 = v1 + v0;
0x000182a0 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x000182a4 lw v1, 0x60(fp) | v1 = *(var_60h);
0x000182a8 addu v0, v1, v0 | v0 = v1 + v0;
0x000182ac addiu v1, fp, 0x6c8 | v1 = fp + aav.0x000006c8;
0x000182b0 addiu v1, v1, 0x288 | v1 += aav.0x00000288;
0x000182b4 move a0, v1 | a0 = v1;
0x000182b8 move a1, v0 | a1 = v0;
0x000182bc lw a2, 0x6c(fp) | a2 = *(var_6ch);
0x000182c0 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x000182c4 move t9, v0 | t9 = v0;
0x000182c8 jalr t9 | t9 ();
0x000182cc nop |
0x000182d0 lw gp, 0x20(fp) | gp = *(var_20h);
0x000182d4 sb zero, 0x1150(fp) | *(var_1150h) = 0;
0x000182d8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000182dc addiu v0, v0, 1 | v0++;
0x000182e0 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x000182e4 b 0x1873c | goto label_6;
0x000182e8 nop |
| }
0x000182ec addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x000182f0 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000182f4 sll v0, v0, 4 | v0 <<= 4;
0x000182f8 addu v0, v1, v0 | v0 = v1 + v0;
0x000182fc lw a0, 0x60(fp) | a0 = *(var_60h);
0x00018300 move a1, v0 | a1 = v0;
0x00018304 addiu a2, zero, 3 | a2 = 3;
0x00018308 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.StreamName */
0x0001830c addiu a3, v0, 0x36d8 | a3 = v0 + 0x36d8;
0x00018310 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00018314 move t9, v0 | t9 = v0;
0x00018318 jalr t9 | t9 ();
0x0001831c nop |
0x00018320 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00018324 beqz v0, 0x183e8 |
0x00018328 nop |
0x0001832c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018330 addiu v0, v0, 1 | v0++;
0x00018334 sll v0, v0, 4 | v0 <<= 4;
0x00018338 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x0001833c addu v0, v1, v0 | v0 = v1 + v0;
0x00018340 lw v1, 0x60(v0) | v1 = *(var_60h_2);
0x00018344 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018348 addiu v0, v0, 1 | v0++;
0x0001834c sll v0, v0, 4 | v0 <<= 4;
0x00018350 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00018354 addu v0, a0, v0 | v0 = a0 + v0;
0x00018358 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x0001835c subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00018360 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00018364 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x00018368 sltiu v0, v0, 0x101 | v0 = (v0 < 0x101) ? 1 : 0;
| if (v0 == 0) {
0x0001836c bnez v0, 0x18388 |
0x00018370 nop |
0x00018374 lui v0, 0x1500 | v0 = 0x1500000c;
0x00018378 ori v0, v0, 0xc |
0x0001837c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00018380 b 0x1875c | goto label_3;
0x00018384 nop |
| }
0x00018388 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0001838c addiu v0, v0, 1 | v0++;
0x00018390 sll v0, v0, 4 | v0 <<= 4;
0x00018394 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018398 addu v0, v1, v0 | v0 = v1 + v0;
0x0001839c lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x000183a0 lw v1, 0x60(fp) | v1 = *(var_60h);
0x000183a4 addu v0, v1, v0 | v0 = v1 + v0;
0x000183a8 addiu v1, fp, 0x6c8 | v1 = fp + aav.0x000006c8;
0x000183ac addiu v1, v1, 0x85 | v1 += 0x85;
0x000183b0 move a0, v1 | a0 = v1;
0x000183b4 move a1, v0 | a1 = v0;
0x000183b8 lw a2, 0x6c(fp) | a2 = *(var_6ch);
0x000183bc lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x000183c0 move t9, v0 | t9 = v0;
0x000183c4 jalr t9 | t9 ();
0x000183c8 nop |
0x000183cc lw gp, 0x20(fp) | gp = *(var_20h);
0x000183d0 sb zero, 0x84d(fp) | *(var_84dh) = 0;
0x000183d4 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000183d8 addiu v0, v0, 1 | v0++;
0x000183dc sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x000183e0 b 0x1873c | goto label_6;
0x000183e4 nop |
| }
0x000183e8 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x000183ec lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000183f0 sll v0, v0, 4 | v0 <<= 4;
0x000183f4 addu v0, v1, v0 | v0 = v1 + v0;
0x000183f8 lw a0, 0x60(fp) | a0 = *(var_60h);
0x000183fc move a1, v0 | a1 = v0;
0x00018400 addiu a2, zero, 3 | a2 = 3;
0x00018404 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.Version */
0x00018408 addiu a3, v0, 0x36e4 | a3 = v0 + 0x36e4;
0x0001840c lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00018410 move t9, v0 | t9 = v0;
0x00018414 jalr t9 | t9 ();
0x00018418 nop |
0x0001841c lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00018420 beqz v0, 0x184e4 |
0x00018424 nop |
0x00018428 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x0001842c addiu v0, v0, 1 | v0++;
0x00018430 sll v0, v0, 4 | v0 <<= 4;
0x00018434 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018438 addu v0, v1, v0 | v0 = v1 + v0;
0x0001843c lw v1, 0x60(v0) | v1 = *(var_60h_2);
0x00018440 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018444 addiu v0, v0, 1 | v0++;
0x00018448 sll v0, v0, 4 | v0 <<= 4;
0x0001844c addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00018450 addu v0, a0, v0 | v0 = a0 + v0;
0x00018454 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00018458 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x0001845c sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00018460 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x00018464 sltiu v0, v0, 0x81 | v0 = (v0 < 0x81) ? 1 : 0;
| if (v0 == 0) {
0x00018468 bnez v0, 0x18484 |
0x0001846c nop |
0x00018470 lui v0, 0x1500 | v0 = 0x1500000c;
0x00018474 ori v0, v0, 0xc |
0x00018478 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0001847c b 0x1875c | goto label_3;
0x00018480 nop |
| }
0x00018484 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018488 addiu v0, v0, 1 | v0++;
0x0001848c sll v0, v0, 4 | v0 <<= 4;
0x00018490 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018494 addu v0, v1, v0 | v0 = v1 + v0;
0x00018498 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x0001849c lw v1, 0x60(fp) | v1 = *(var_60h);
0x000184a0 addu v0, v1, v0 | v0 = v1 + v0;
0x000184a4 addiu v1, fp, 0x6c8 | v1 = fp + aav.0x000006c8;
0x000184a8 addiu v1, v1, 0x207 | v1 += 0x207;
0x000184ac move a0, v1 | a0 = v1;
0x000184b0 move a1, v0 | a1 = v0;
0x000184b4 lw a2, 0x6c(fp) | a2 = *(var_6ch);
0x000184b8 lw v0, -0x7c74(gp) | v0 = sym.imp.strncpy;
0x000184bc move t9, v0 | t9 = v0;
0x000184c0 jalr t9 | t9 ();
0x000184c4 nop |
0x000184c8 lw gp, 0x20(fp) | gp = *(var_20h);
0x000184cc sb zero, 0x94f(fp) | *(var_94fh) = 0;
0x000184d0 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000184d4 addiu v0, v0, 1 | v0++;
0x000184d8 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x000184dc b 0x1873c | goto label_6;
0x000184e0 nop |
| }
0x000184e4 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x000184e8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000184ec sll v0, v0, 4 | v0 <<= 4;
0x000184f0 addu v0, v1, v0 | v0 = v1 + v0;
0x000184f4 lw a0, 0x60(fp) | a0 = *(var_60h);
0x000184f8 move a1, v0 | a1 = v0;
0x000184fc addiu a2, zero, 3 | a2 = 3;
0x00018500 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.Status */
0x00018504 addiu a3, v0, 0x36ec | a3 = v0 + 0x36ec;
0x00018508 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x0001850c move t9, v0 | t9 = v0;
0x00018510 jalr t9 | t9 ();
0x00018514 nop |
0x00018518 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001851c beqz v0, 0x185d4 |
0x00018520 nop |
0x00018524 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018528 addiu v0, v0, 1 | v0++;
0x0001852c sll v0, v0, 4 | v0 <<= 4;
0x00018530 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018534 addu v0, v1, v0 | v0 = v1 + v0;
0x00018538 lw v1, 0x60(v0) | v1 = *(var_60h_2);
0x0001853c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018540 addiu v0, v0, 1 | v0++;
0x00018544 sll v0, v0, 4 | v0 <<= 4;
0x00018548 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x0001854c addu v0, a0, v0 | v0 = a0 + v0;
0x00018550 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00018554 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00018558 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x0001855c lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x00018560 sltiu v0, v0, 0x21 | v0 = (v0 < 0x21) ? 1 : 0;
| if (v0 == 0) {
0x00018564 bnez v0, 0x18580 |
0x00018568 nop |
0x0001856c lui v0, 0x1500 | v0 = 0x1500000c;
0x00018570 ori v0, v0, 0xc |
0x00018574 sw v0, 0x28(fp) | *(var_28h) = v0;
0x00018578 b 0x1875c | goto label_3;
0x0001857c nop |
| }
0x00018580 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018584 addiu v0, v0, 1 | v0++;
0x00018588 sll v0, v0, 4 | v0 <<= 4;
0x0001858c addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018590 addu v0, v1, v0 | v0 = v1 + v0;
0x00018594 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x00018598 lw v1, 0x60(fp) | v1 = *(var_60h);
0x0001859c addu v0, v1, v0 | v0 = v1 + v0;
0x000185a0 move a0, v0 | a0 = v0;
0x000185a4 lw a1, 0x6c(fp) | a1 = *(var_6ch);
0x000185a8 lw v0, -0x7b6c(gp) | v0 = sym.getStreamStatusFromString;
0x000185ac move t9, v0 | t9 = v0;
0x000185b0 jalr t9 | t9 ();
0x000185b4 nop |
0x000185b8 lw gp, 0x20(fp) | gp = *(var_20h);
0x000185bc sw v0, 0x1154(fp) | *(var_1154h) = v0;
0x000185c0 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000185c4 addiu v0, v0, 1 | v0++;
0x000185c8 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x000185cc b 0x1873c | goto label_6;
0x000185d0 nop |
| }
0x000185d4 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x000185d8 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000185dc sll v0, v0, 4 | v0 <<= 4;
0x000185e0 addu v0, v1, v0 | v0 = v1 + v0;
0x000185e4 lw a0, 0x60(fp) | a0 = *(var_60h);
0x000185e8 move a1, v0 | a1 = v0;
0x000185ec addiu a2, zero, 3 | a2 = 3;
0x000185f0 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.DataRetentionInHours */
0x000185f4 addiu a3, v0, 0x36f4 | a3 = v0 + 0x36f4;
0x000185f8 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x000185fc move t9, v0 | t9 = v0;
0x00018600 jalr t9 | t9 ();
0x00018604 nop |
0x00018608 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001860c beqz v0, 0x186f0 |
0x00018610 nop |
0x00018614 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018618 addiu v0, v0, 1 | v0++;
0x0001861c sll v0, v0, 4 | v0 <<= 4;
0x00018620 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018624 addu v0, v1, v0 | v0 = v1 + v0;
0x00018628 lw v0, 0x5c(v0) | v0 = *(var_5ch_2);
0x0001862c lw v1, 0x60(fp) | v1 = *(var_60h);
0x00018630 addu a0, v1, v0 | a0 = v1 + v0;
0x00018634 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018638 addiu v0, v0, 1 | v0++;
0x0001863c sll v0, v0, 4 | v0 <<= 4;
0x00018640 addiu v1, fp, 0x28 | v1 = fp + 0x28;
0x00018644 addu v0, v1, v0 | v0 = v1 + v0;
0x00018648 lw v0, 0x60(v0) | v0 = *(var_60h_2);
0x0001864c lw v1, 0x60(fp) | v1 = *(var_60h);
0x00018650 addu v1, v1, v0 | v1 += v0;
0x00018654 addiu v0, fp, 0x6c0 | v0 = fp + aav.0x000006c0;
0x00018658 move a1, v1 | a1 = v1;
0x0001865c addiu a2, zero, 0xa | a2 = 0xa;
0x00018660 move a3, v0 | a3 = v0;
0x00018664 lw v0, -0x7c18(gp) | v0 = sym.strtoui64;
0x00018668 move t9, v0 | t9 = v0;
0x0001866c jalr t9 | t9 ();
0x00018670 nop |
0x00018674 lw gp, 0x20(fp) | gp = *(var_20h);
0x00018678 sw v0, 0x70(fp) | *(var_70h) = v0;
0x0001867c lw v0, 0x70(fp) | v0 = *(var_70h);
| if (v0 != 0) {
0x00018680 beqz v0, 0x18698 |
0x00018684 nop |
0x00018688 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001868c sw v0, 0x28(fp) | *(var_28h) = v0;
0x00018690 b 0x1875c | goto label_3;
0x00018694 nop |
| }
0x00018698 lw v0, 0x6c0(fp) | v0 = *(var_6c0h);
0x0001869c lw v1, 0x6c4(fp) | v1 = *(var_6c4h);
0x000186a0 lui a0, 0x61c4 | a0 = 0x61c46800;
0x000186a4 ori a0, a0, 0x6800 |
0x000186a8 mul a1, v1, a0 | __asm ("mul a1, v1, a0");
0x000186ac addiu a0, zero, 8 | a0 = 8;
0x000186b0 mul a0, v0, a0 | __asm ("mul a0, v0, a0");
0x000186b4 addu a0, a1, a0 | a0 = a1 + a0;
0x000186b8 lui a1, 0x61c4 | a1 = 0x61c46800;
0x000186bc ori a1, a1, 0x6800 |
0x000186c0 multu v0, a1 | __asm ("multu v0, a1");
0x000186c4 mflo v0 | __asm ("mflo v0");
0x000186c8 mfhi v1 | __asm ("mfhi v1");
0x000186cc addu a0, a0, v1 | a0 += v1;
0x000186d0 move v1, a0 | v1 = a0;
0x000186d4 sw v0, 0x1160(fp) | *(var_1160h) = v0;
0x000186d8 sw v1, 0x1164(fp) | *(var_1164h) = v1;
0x000186dc lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000186e0 addiu v0, v0, 1 | v0++;
0x000186e4 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x000186e8 b 0x1873c | goto label_6;
0x000186ec nop |
| }
0x000186f0 addiu v1, fp, 0x80 | v1 = fp + 0x80;
0x000186f4 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x000186f8 sll v0, v0, 4 | v0 <<= 4;
0x000186fc addu v0, v1, v0 | v0 = v1 + v0;
0x00018700 lw a0, 0x60(fp) | a0 = *(var_60h);
0x00018704 move a1, v0 | a1 = v0;
0x00018708 addiu a2, zero, 3 | a2 = 3;
0x0001870c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.CreationTime */
0x00018710 addiu a3, v0, 0x370c | a3 = v0 + 0x370c;
0x00018714 lw v0, -0x78c0(gp) | v0 = sym.compareJsonString;
0x00018718 move t9, v0 | t9 = v0;
0x0001871c jalr t9 | t9 ();
0x00018720 nop |
0x00018724 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00018728 beqz v0, 0x1873c |
0x0001872c nop |
0x00018730 lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018734 addiu v0, v0, 1 | v0++;
0x00018738 sw v0, 0x2c(fp) | *(var_2ch) = v0;
| }
| label_6:
0x0001873c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018740 addiu v0, v0, 1 | v0++;
0x00018744 sw v0, 0x2c(fp) | *(var_2ch) = v0;
| label_5:
0x00018748 lw v1, 0x68(fp) | v1 = *(var_68h);
0x0001874c lw v0, 0x2c(fp) | v0 = *(var_2ch);
0x00018750 sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x00018754 bnez v0, 0x17e8c |
| } while (v0 != 0);
0x00018758 nop |
| label_3:
0x0001875c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00018760 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x00018764 beqz v0, 0x1877c |
0x00018768 nop |
0x0001876c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00018770 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x00018774 lw v0, 0x14(v0) | v0 = *((v0 + 5));
0x00018778 sw v0, 0x34(fp) | *(var_34h) = v0;
| }
0x0001877c lw v0, 0x38(fp) | v0 = *(var_38h);
0x00018780 move a0, zero | a0 = 0;
0x00018784 move a1, zero | a1 = 0;
0x00018788 sw a0, 0x5910(v0) | *((v0 + 5700)) = a0;
0x0001878c sw a1, 0x5914(v0) | *((v0 + 5701)) = a1;
0x00018790 lw v0, 0x38(fp) | v0 = *(var_38h);
0x00018794 lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x00018798 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x0001879c sw v0, 0x50(fp) | *(var_50h) = v0;
0x000187a0 sw v1, 0x54(fp) | *(var_54h) = v1;
0x000187a4 lw v0, -0x7eb4(gp) | v0 = *(gp);
0x000187a8 lw v0, (v0) | v0 = *(v0);
0x000187ac lw v1, 0x38(fp) | v1 = *(var_38h);
0x000187b0 addiu v1, v1, 8 | v1 += 8;
0x000187b4 move a0, v1 | a0 = v1;
0x000187b8 move t9, v0 | t9 = v0;
0x000187bc jalr t9 | t9 ();
0x000187c0 nop |
0x000187c4 lw gp, 0x20(fp) | gp = *(var_20h);
0x000187c8 sw v0, 0x48(fp) | *(var_48h) = v0;
0x000187cc lw v0, 0x38(fp) | v0 = *(var_38h);
0x000187d0 lw a2, 0x5900(v0) | a2 = *((v0 + 5696));
0x000187d4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x000187d8 lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x000187dc lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x000187e0 lui a0, 7 | a0 = 0x7a120;
0x000187e4 ori a0, a0, 0xa120 |
0x000187e8 move a1, zero | a1 = 0;
0x000187ec sw a0, 0x10(sp) | *(var_10h) = a0;
0x000187f0 sw a1, 0x14(sp) | *(var_14h) = a1;
0x000187f4 addiu a0, zero, 1 | a0 = 1;
0x000187f8 sw a0, 0x18(sp) | *(var_18h) = a0;
0x000187fc sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x00018800 move a0, a2 | a0 = a2;
0x00018804 move a2, v0 | a2 = v0;
0x00018808 move a3, v1 | a3 = v1;
0x0001880c lw v0, -0x7870(gp) | v0 = sym.curlApiCallbacksShutdownActiveRequests;
0x00018810 move t9, v0 | t9 = v0;
0x00018814 jalr t9 | t9 ();
0x00018818 nop |
0x0001881c lw gp, 0x20(fp) | gp = *(var_20h);
0x00018820 lw v0, 0x48(fp) | v0 = *(var_48h);
| if (v0 == 0) {
0x00018824 bnez v0, 0x188d4 |
0x00018828 nop |
0x0001882c lw v1, 0x34(fp) | v1 = *(var_34h);
0x00018830 addiu v0, zero, 0xc8 | v0 = 0xc8;
| if (v1 == v0) {
0x00018834 bne v1, v0, 0x18884 |
0x00018838 nop |
0x0001883c lw v0, 0x30(fp) | v0 = *(var_30h);
| if (v0 != 0) {
0x00018840 bnez v0, 0x18884 | goto label_7;
| }
0x00018844 nop |
0x00018848 addiu v0, fp, 0x6c8 | v0 = fp + aav.0x000006c8;
0x0001884c lw a0, 0x50(fp) | a0 = *(var_50h);
0x00018850 lw a1, 0x54(fp) | a1 = *(var_54h);
0x00018854 addiu a2, zero, 0x196 | a2 = 0x196;
0x00018858 move a3, v0 | a3 = v0;
0x0001885c lw v0, -0x7498(gp) | v0 = sym.describeStreamResultEvent;
0x00018860 move t9, v0 | t9 = v0;
0x00018864 jalr t9 | t9 ();
0x00018868 nop |
0x0001886c lw gp, 0x20(fp) | gp = *(var_20h);
0x00018870 lui v0, 0x1500 | v0 = 0x1500000f;
0x00018874 ori v0, v0, 0xf |
0x00018878 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0001887c b 0x188b0 | goto label_8;
0x00018880 nop |
| }
| label_7:
0x00018884 addiu v0, fp, 0x6c8 | v0 = fp + aav.0x000006c8;
0x00018888 lw a0, 0x50(fp) | a0 = *(var_50h);
0x0001888c lw a1, 0x54(fp) | a1 = *(var_54h);
0x00018890 lw a2, 0x34(fp) | a2 = *(var_34h);
0x00018894 move a3, v0 | a3 = v0;
0x00018898 lw v0, -0x7498(gp) | v0 = sym.describeStreamResultEvent;
0x0001889c move t9, v0 | t9 = v0;
0x000188a0 jalr t9 | t9 ();
0x000188a4 nop |
0x000188a8 lw gp, 0x20(fp) | gp = *(var_20h);
0x000188ac sw v0, 0x28(fp) | *(var_28h) = v0;
| label_8:
0x000188b0 lw a0, 0x40(fp) | a0 = *(var_40h);
0x000188b4 lw a1, 0x28(fp) | a1 = *(var_28h);
0x000188b8 lw a2, 0x50(fp) | a2 = *(var_50h);
0x000188bc lw a3, 0x54(fp) | a3 = *(var_54h);
0x000188c0 lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x000188c4 move t9, v0 | t9 = v0;
0x000188c8 jalr t9 | t9 ();
0x000188cc nop |
0x000188d0 lw gp, 0x20(fp) | gp = *(var_20h);
| }
0x000188d4 lw v0, 0x28(fp) | v0 = *(var_28h);
0x000188d8 move sp, fp |
0x000188dc lw ra, 0x1974(sp) | ra = *(var_1974h);
0x000188e0 lw fp, 0x1970(sp) | fp = *(var_1970h);
0x000188e4 addiu sp, sp, 0x1978 |
0x000188e8 jr ra | return v0;
0x000188ec nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x188f0 */
| #include <stdint.h>
|
; (fcn) sym.getStreamingEndpointCurl () | void getStreamingEndpointCurl () {
0x000188f0 lui gp, 8 |
0x000188f4 addiu gp, gp, -0x7820 |
0x000188f8 addu gp, gp, t9 | gp += t9;
0x000188fc addiu sp, sp, -0x38d0 |
0x00018900 sw ra, 0x38cc(sp) | *(arg_38cch) = ra;
0x00018904 sw fp, 0x38c8(sp) | *(arg_38c8h) = fp;
0x00018908 sw s1, 0x38c4(sp) | *(arg_38c4h) = s1;
0x0001890c sw s0, 0x38c0(sp) | *(arg_38c0h) = s0;
0x00018910 move fp, sp | fp = sp;
0x00018914 sw gp, 0x50(sp) | *(arg_50h) = gp;
0x00018918 sw a0, 0x38d0(fp) | *(arg_38d0h) = a0;
0x0001891c sw a1, 0x38d4(fp) | *(arg_38d4h) = a1;
0x00018920 sw a2, 0x38d8(fp) | *(arg_38d8h) = a2;
0x00018924 sw a3, 0x38dc(fp) | *(arg_38dch) = a3;
0x00018928 sw zero, 0x58(fp) | *(arg_58h) = 0;
0x0001892c sw zero, 0x6c(fp) | *(arg_6ch) = 0;
0x00018930 move v0, zero | v0 = 0;
0x00018934 move v1, zero | v1 = 0;
0x00018938 sw v0, 0x38b0(fp) | *(arg_38b0h) = v0;
0x0001893c sw v1, 0x38b4(fp) | *(arg_38b4h) = v1;
0x00018940 lw v0, 0x38d0(fp) | v0 = *(arg_38d0h);
0x00018944 sw v0, 0x70(fp) | *(arg_70h) = v0;
0x00018948 sw zero, 0x38b8(fp) | *(arg_38b8h) = 0;
0x0001894c sw zero, 0x5c(fp) | *(arg_5ch) = 0;
0x00018950 sw zero, 0x60(fp) | *(arg_60h) = 0;
0x00018954 sw zero, 0x64(fp) | *(arg_64h) = 0;
0x00018958 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x0001895c sw zero, 0x38bc(fp) | *(arg_38bch) = 0;
0x00018960 move v0, zero | v0 = 0;
0x00018964 move v1, zero | v1 = 0;
0x00018968 sw v0, 0x78(fp) | *(arg_78h) = v0;
0x0001896c sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x00018970 lw v0, 0x70(fp) | v0 = *(arg_70h);
| if (v0 != 0) {
0x00018974 beqz v0, 0x18998 |
0x00018978 nop |
0x0001897c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018980 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00018984 beqz v0, 0x18998 | goto label_0;
| }
0x00018988 nop |
0x0001898c lw v0, 0x38e0(fp) | v0 = *(arg_38e0h);
| if (v0 != 0) {
0x00018990 bnez v0, 0x189a8 | goto label_1;
| }
0x00018994 nop |
| }
| label_0:
0x00018998 addiu v0, zero, 2 | v0 = 2;
0x0001899c sw v0, 0x58(fp) | *(arg_58h) = v0;
0x000189a0 b 0x18f14 | goto label_2;
0x000189a4 nop |
| label_1:
0x000189a8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x000189ac lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x000189b0 sw v0, 0x5c(fp) | *(arg_5ch) = v0;
0x000189b4 lw v0, 0x38e0(fp) | v0 = *(arg_38e0h);
0x000189b8 lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x000189bc lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x000189c0 sw v0, 0x78(fp) | *(arg_78h) = v0;
0x000189c4 sw v1, 0x7c(fp) | *(arg_7ch) = v1;
0x000189c8 addiu v0, fp, 0xa8 | v0 = fp + 0xa8;
0x000189cc lw v1, 0x38dc(fp) | v1 = *(arg_38dch);
0x000189d0 sw v1, 0x10(sp) | *(arg_10h) = v1;
0x000189d4 move a0, v0 | a0 = v0;
0x000189d8 addiu a1, zero, 0x2800 | a1 = 0x2800;
0x000189dc lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._n_t_StreamName_:___s___n_t_APIName_:___s__n */
0x000189e0 addiu a2, v0, 0x371c | a2 = v0 + 0x371c;
0x000189e4 lw a3, 0x38d8(fp) | a3 = *(arg_38d8h);
0x000189e8 lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x000189ec move t9, v0 | t9 = v0;
0x000189f0 jalr t9 | t9 ();
0x000189f4 nop |
0x000189f8 lw gp, 0x50(fp) | gp = *(arg_50h);
0x000189fc lw v0, 0x38e0(fp) | v0 = *(arg_38e0h);
0x00018a00 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00018a04 addiu v0, v0, 8 | v0 += 8;
0x00018a08 move a0, v0 | a0 = v0;
0x00018a0c lw v0, -0x7950(gp) | v0 = sym.deserializeAwsCredentials;
0x00018a10 move t9, v0 | t9 = v0;
0x00018a14 jalr t9 | t9 ();
0x00018a18 nop |
0x00018a1c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018a20 sw v0, 0x80(fp) | *(arg_80h) = v0;
0x00018a24 lw v0, 0x80(fp) | v0 = *(arg_80h);
| if (v0 != 0) {
0x00018a28 beqz v0, 0x18a40 |
0x00018a2c nop |
0x00018a30 lw v0, 0x80(fp) | v0 = *(arg_80h);
0x00018a34 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018a38 b 0x18f14 | goto label_2;
0x00018a3c nop |
| }
0x00018a40 lw v0, 0x38e0(fp) | v0 = *(arg_38e0h);
0x00018a44 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00018a48 addiu v0, v0, 8 | v0 += 8;
0x00018a4c sw v0, 0x6c(fp) | *(arg_6ch) = v0;
0x00018a50 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00018a54 lw v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x00018a58 beqz v0, 0x18a74 |
0x00018a5c nop |
0x00018a60 lui v0, 0x1500 | v0 = 0x15000008;
0x00018a64 ori v0, v0, 8 |
0x00018a68 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018a6c b 0x18f14 | goto label_2;
0x00018a70 nop |
| }
0x00018a74 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00018a78 lw v1, 4(v0) | v1 = *((v0 + 1));
0x00018a7c lw v0, 0x38e0(fp) | v0 = *(arg_38e0h);
0x00018a80 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00018a84 lw v0, 0x2718(v0) | v0 = *((v0 + 2502));
| if (v1 != v0) {
0x00018a88 beq v1, v0, 0x18aa0 |
0x00018a8c nop |
0x00018a90 addiu v0, zero, 0xc | v0 = 0xc;
0x00018a94 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018a98 b 0x18f14 | goto label_2;
0x00018a9c nop |
| }
0x00018aa0 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018aa4 addiu v0, v0, 0x21e | v0 += 0x21e;
0x00018aa8 addiu v1, fp, 0x28a8 | v1 = fp + 0x28a8;
0x00018aac move a0, v1 | a0 = v1;
0x00018ab0 move a1, v0 | a1 = v0;
0x00018ab4 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x00018ab8 move t9, v0 | t9 = v0;
0x00018abc jalr t9 | t9 ();
0x00018ac0 nop |
0x00018ac4 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018ac8 addiu v0, fp, 0x28a8 | v0 = fp + 0x28a8;
0x00018acc move a0, v0 | a0 = v0;
0x00018ad0 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x00018ad4 move t9, v0 | t9 = v0;
0x00018ad8 jalr t9 | t9 ();
0x00018adc nop |
0x00018ae0 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018ae4 addiu v1, fp, 0x28a8 | v1 = fp + 0x28a8;
0x00018ae8 addu v0, v1, v0 | v0 = v1 + v0;
0x00018aec lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x00018af0 lw a3, 0x3748(v1) | a3 = *((v1 + 3538));
| /* str._getDataEndpoint */
0x00018af4 addiu a0, v1, 0x3748 | a0 = v1 + 0x3748;
0x00018af8 lw a2, 4(a0) | a2 = *((a0 + 1));
| /* str._getDataEndpoint */
0x00018afc addiu a0, v1, 0x3748 | a0 = v1 + 0x3748;
0x00018b00 lw a1, 8(a0) | a1 = *((a0 + 2));
| /* str._getDataEndpoint */
0x00018b04 addiu a0, v1, 0x3748 | a0 = v1 + 0x3748;
0x00018b08 lw a0, 0xc(a0) | a0 = *((a0 + 3));
0x00018b0c swl a3, 3(v0) | __asm ("swl a3, 3(v0)");
0x00018b10 swr a3, (v0) | __asm ("swr a3, (v0)");
0x00018b14 swl a2, 7(v0) | __asm ("swl a2, 7(v0)");
0x00018b18 swr a2, 4(v0) | __asm ("swr a2, 4(v0)");
0x00018b1c swl a1, 0xb(v0) | __asm ("swl a1, 0xb(v0)");
0x00018b20 swr a1, 8(v0) | __asm ("swr a1, 8(v0)");
0x00018b24 swl a0, 0xf(v0) | __asm ("swl a0, 0xf(v0)");
0x00018b28 swr a0, 0xc(v0) | __asm ("swr a0, 0xc(v0)");
| /* str._getDataEndpoint */
0x00018b2c addiu v1, v1, 0x3748 | v1 += 0x3748;
0x00018b30 lbu v1, 0x10(v1) | v1 = *((v1 + 16));
0x00018b34 sb v1, 0x10(v0) | *((v0 + 16)) = v1;
0x00018b38 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018b3c lw a2, 0x10(v0) | a2 = *((v0 + 4));
0x00018b40 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018b44 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x00018b48 lw v0, 8(v0) | v0 = *((v0 + 2));
0x00018b4c move a0, v0 | a0 = v0;
0x00018b50 move a1, v1 | a1 = v1;
0x00018b54 move t9, a2 | t9 = a2;
0x00018b58 jalr t9 | t9 ();
0x00018b5c nop |
0x00018b60 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018b64 sw v0, 0x88(fp) | *(arg_88h) = v0;
0x00018b68 sw v1, 0x8c(fp) | *(arg_8ch) = v1;
0x00018b6c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018b70 addiu t3, v0, 0x9c | t3 = v0 + 0x9c;
0x00018b74 lw v0, 0x38e0(fp) | v0 = *(arg_38e0h);
0x00018b78 lw a0, 0x10(v0) | a0 = *((v0 + 4));
0x00018b7c lw a1, 0x14(v0) | a1 = *((v0 + 5));
0x00018b80 lw v0, 0x38e0(fp) | v0 = *(arg_38e0h);
0x00018b84 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x00018b88 lw v0, 8(v0) | v0 = *((v0 + 2));
0x00018b8c lw a2, 0x70(fp) | a2 = *(arg_70h);
0x00018b90 addiu t2, a2, 0x292f | t2 = a2 + 0x292f;
0x00018b94 addiu t1, fp, 0x28a8 | t1 = fp + 0x28a8;
0x00018b98 addiu t0, fp, 0xa8 | t0 = fp + 0xa8;
0x00018b9c lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00018ba0 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x00018ba4 sw a2, 0x10(sp) | *(arg_10h) = a2;
0x00018ba8 sw a3, 0x14(sp) | *(arg_14h) = a3;
0x00018bac sw t3, 0x18(sp) | *(arg_18h) = t3;
0x00018bb0 lw a2, 0x88(fp) | a2 = *(arg_88h);
0x00018bb4 lw a3, 0x8c(fp) | a3 = *(arg_8ch);
0x00018bb8 sw a2, 0x20(sp) | *(arg_20h) = a2;
0x00018bbc sw a3, 0x24(sp) | *(arg_24h) = a3;
0x00018bc0 lui a2, 0x2fa | a2 = 0x2faf080;
0x00018bc4 ori a2, a2, 0xf080 |
0x00018bc8 move a3, zero | a3 = 0;
0x00018bcc sw a2, 0x28(sp) | *(arg_28h) = a2;
0x00018bd0 sw a3, 0x2c(sp) | *(arg_2ch) = a3;
0x00018bd4 sw a0, 0x30(sp) | *(arg_30h) = a0;
0x00018bd8 sw a1, 0x34(sp) | *(arg_34h) = a1;
0x00018bdc sw v0, 0x38(sp) | *(arg_38h) = v0;
0x00018be0 sw v1, 0x3c(sp) | *(arg_3ch) = v1;
0x00018be4 sw t2, 0x40(sp) | *(arg_40h) = t2;
0x00018be8 lw v0, 0x6c(fp) | v0 = *(arg_6ch);
0x00018bec sw v0, 0x44(sp) | *(arg_44h) = v0;
0x00018bf0 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018bf4 sw v0, 0x48(sp) | *(arg_48h) = v0;
0x00018bf8 addiu v0, fp, 0x38b8 | v0 = fp + 0x38b8;
0x00018bfc sw v0, 0x4c(sp) | *(arg_4ch) = v0;
0x00018c00 addiu a0, zero, 1 | a0 = 1;
0x00018c04 move a1, t1 | a1 = t1;
0x00018c08 move a2, t0 | a2 = t0;
0x00018c0c lw v0, -0x7f24(gp) | v0 = sym.createCurlRequest;
0x00018c10 move t9, v0 | t9 = v0;
0x00018c14 jalr t9 | t9 ();
0x00018c18 nop |
0x00018c1c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018c20 sw v0, 0x90(fp) | *(arg_90h) = v0;
0x00018c24 lw v0, 0x90(fp) | v0 = *(arg_90h);
| if (v0 != 0) {
0x00018c28 beqz v0, 0x18c40 |
0x00018c2c nop |
0x00018c30 lw v0, 0x90(fp) | v0 = *(arg_90h);
0x00018c34 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018c38 b 0x18f14 | goto label_2;
0x00018c3c nop |
| }
0x00018c40 lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x00018c44 addiu v1, v0, 8 | v1 = v0 + 8;
0x00018c48 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018c4c addiu v0, v0, 0x11d | v0 += 0x11d;
0x00018c50 sw zero, 0x10(sp) | *(arg_10h) = 0;
0x00018c54 move a0, v1 | a0 = v1;
0x00018c58 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: 'user-agent' */
0x00018c5c addiu a1, v1, 0x34f4 | a1 = v1 + 0x34f4;
0x00018c60 move a2, zero | a2 = 0;
0x00018c64 move a3, v0 | a3 = v0;
0x00018c68 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x00018c6c move t9, v0 | t9 = v0;
0x00018c70 jalr t9 | t9 ();
0x00018c74 nop |
0x00018c78 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018c7c sw v0, 0x94(fp) | *(arg_94h) = v0;
0x00018c80 lw v0, 0x94(fp) | v0 = *(arg_94h);
| if (v0 != 0) {
0x00018c84 beqz v0, 0x18c9c |
0x00018c88 nop |
0x00018c8c lw v0, 0x94(fp) | v0 = *(arg_94h);
0x00018c90 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018c94 b 0x18f14 | goto label_2;
0x00018c98 nop |
| }
0x00018c9c lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018ca0 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00018ca4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018ca8 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00018cac lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00018cb0 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018cb4 lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x00018cb8 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x00018cbc move a2, v0 | a2 = v0;
0x00018cc0 move a3, v1 | a3 = v1;
0x00018cc4 move t9, t0 | t9 = t0;
0x00018cc8 jalr t9 | t9 ();
0x00018ccc nop |
0x00018cd0 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018cd4 addiu v0, zero, 1 | v0 = 1;
0x00018cd8 sw v0, 0x64(fp) | *(arg_64h) = v0;
0x00018cdc lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018ce0 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00018ce4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018ce8 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00018cec lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00018cf0 lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x00018cf4 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00018cf8 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00018cfc move a2, v0 | a2 = v0;
0x00018d00 move a3, v1 | a3 = v1;
0x00018d04 move t9, t0 | t9 = t0;
0x00018d08 jalr t9 | t9 ();
0x00018d0c nop |
0x00018d10 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018d14 addiu v0, zero, 1 | v0 = 1;
0x00018d18 sw v0, 0x60(fp) | *(arg_60h) = v0;
0x00018d1c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018d20 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00018d24 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00018d28 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018d2c lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00018d30 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00018d34 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00018d38 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018d3c lw v1, 0x398c(v0) | v1 = *(v0);
0x00018d40 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00018d44 move a2, v0 | a2 = v0;
0x00018d48 move a3, v1 | a3 = v1;
0x00018d4c move t9, t0 | t9 = t0;
0x00018d50 jalr t9 | t9 ();
0x00018d54 nop |
0x00018d58 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018d5c addiu v0, zero, 1 | v0 = 1;
0x00018d60 sw v0, 0x68(fp) | *(arg_68h) = v0;
0x00018d64 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018d68 lw v0, 0x3984(v0) | v0 = *((v0 + 3681));
0x00018d6c addiu v1, fp, 0x38bc | v1 = fp + 0x38bc;
0x00018d70 sw v1, 0x10(sp) | *(arg_10h) = v1;
0x00018d74 move a0, v0 | a0 = v0;
0x00018d78 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00018d7c lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x00018d80 lw v0, -0x7c88(gp) | v0 = sym.hashTableContains;
0x00018d84 move t9, v0 | t9 = v0;
0x00018d88 jalr t9 | t9 ();
0x00018d8c nop |
0x00018d90 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018d94 sw v0, 0x98(fp) | *(arg_98h) = v0;
0x00018d98 lw v0, 0x98(fp) | v0 = *(arg_98h);
| if (v0 != 0) {
0x00018d9c beqz v0, 0x18db4 |
0x00018da0 nop |
0x00018da4 lw v0, 0x98(fp) | v0 = *(arg_98h);
0x00018da8 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018dac b 0x18f14 | goto label_2;
0x00018db0 nop |
| }
0x00018db4 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018db8 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00018dbc lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00018dc0 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018dc4 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00018dc8 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00018dcc lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00018dd0 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018dd4 lw v1, 0x398c(v0) | v1 = *(v0);
0x00018dd8 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00018ddc move a2, v0 | a2 = v0;
0x00018de0 move a3, v1 | a3 = v1;
0x00018de4 move t9, t0 | t9 = t0;
0x00018de8 jalr t9 | t9 ();
0x00018dec nop |
0x00018df0 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018df4 sw zero, 0x68(fp) | *(arg_68h) = 0;
0x00018df8 lw v0, 0x38bc(fp) | v0 = *(arg_38bch);
| if (v0 != 0) {
0x00018dfc beqz v0, 0x18e18 |
0x00018e00 nop |
0x00018e04 lui v0, 0x1500 | v0 = 0x1500001e;
0x00018e08 ori v0, v0, 0x1e |
0x00018e0c sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018e10 b 0x18f14 | goto label_2;
0x00018e14 nop |
| }
0x00018e18 lw v0, -0x7dc0(gp) | v0 = *(gp);
0x00018e1c lw v0, (v0) | v0 = *(v0);
0x00018e20 lw v1, 0x38b8(fp) | v1 = *(arg_38b8h);
0x00018e24 addiu a0, fp, 0x38b0 | a0 = fp + 0x38b0;
0x00018e28 lw a1, -0x7f98(gp) | a1 = sym.getStreamingEndpointCurlHandler;
0x00018e2c move a2, v1 | a2 = v1;
0x00018e30 move t9, v0 | t9 = v0;
0x00018e34 jalr t9 | t9 ();
0x00018e38 nop |
0x00018e3c lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018e40 sw v0, 0x9c(fp) | *(arg_9ch) = v0;
0x00018e44 lw v0, 0x9c(fp) | v0 = *(arg_9ch);
| if (v0 != 0) {
0x00018e48 beqz v0, 0x18e60 |
0x00018e4c nop |
0x00018e50 lw v0, 0x9c(fp) | v0 = *(arg_9ch);
0x00018e54 sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018e58 b 0x18f14 | goto label_2;
0x00018e5c nop |
| }
0x00018e60 lw v0, -0x7e60(gp) | v0 = *(gp);
0x00018e64 lw a2, (v0) | a2 = *(v0);
0x00018e68 lw v0, 0x38b0(fp) | v0 = *(arg_38b0h);
0x00018e6c lw v1, 0x38b4(fp) | v1 = *(arg_38b4h);
0x00018e70 move a0, v0 | a0 = v0;
0x00018e74 move a1, v1 | a1 = v1;
0x00018e78 move t9, a2 | t9 = a2;
0x00018e7c jalr t9 | t9 ();
0x00018e80 nop |
0x00018e84 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018e88 sw v0, 0xa0(fp) | *(arg_a0h) = v0;
0x00018e8c lw v0, 0xa0(fp) | v0 = *(arg_a0h);
| if (v0 != 0) {
0x00018e90 beqz v0, 0x18ea8 |
0x00018e94 nop |
0x00018e98 lw v0, 0xa0(fp) | v0 = *(arg_a0h);
0x00018e9c sw v0, 0x58(fp) | *(arg_58h) = v0;
0x00018ea0 b 0x18f14 | goto label_2;
0x00018ea4 nop |
| }
0x00018ea8 lw a0, 0x38b8(fp) | a0 = *(arg_38b8h);
0x00018eac lw v0, 0x38b0(fp) | v0 = *(arg_38b0h);
0x00018eb0 lw v1, 0x38b4(fp) | v1 = *(arg_38b4h);
0x00018eb4 sw v0, 0x5910(a0) | *((a0 + 5700)) = v0;
0x00018eb8 sw v1, 0x5914(a0) | *((a0 + 5701)) = v1;
0x00018ebc lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018ec0 lw v1, 0x3950(v0) | v1 = *((v0 + 3668));
0x00018ec4 lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x00018ec8 move s0, v0 | s0 = v0;
0x00018ecc sra v0, v0, 0x1f | v0 >>= 0x1f;
0x00018ed0 move s1, v0 | s1 = v0;
0x00018ed4 sw s0, 0x10(sp) | *(arg_10h) = s0;
0x00018ed8 sw s1, 0x14(sp) | *(arg_14h) = s1;
0x00018edc move a0, v1 | a0 = v1;
0x00018ee0 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00018ee4 lw a3, 0x7c(fp) | a3 = *(arg_7ch);
0x00018ee8 lw v0, -0x790c(gp) | v0 = sym.hashTablePut;
0x00018eec move t9, v0 | t9 = v0;
0x00018ef0 jalr t9 | t9 ();
0x00018ef4 nop |
0x00018ef8 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018efc sw v0, 0xa4(fp) | *(arg_a4h) = v0;
0x00018f00 lw v0, 0xa4(fp) | v0 = *(arg_a4h);
| if (v0 != 0) {
0x00018f04 beqz v0, 0x18f14 |
0x00018f08 nop |
0x00018f0c lw v0, 0xa4(fp) | v0 = *(arg_a4h);
0x00018f10 sw v0, 0x58(fp) | *(arg_58h) = v0;
| }
| label_2:
0x00018f14 lw v0, 0x58(fp) | v0 = *(arg_58h);
| if (v0 != 0) {
0x00018f18 beqz v0, 0x18f84 |
0x00018f1c nop |
0x00018f20 lw a0, 0x38b0(fp) | a0 = *(arg_38b0h);
0x00018f24 lw a1, 0x38b4(fp) | a1 = *(arg_38b4h);
0x00018f28 move v0, a0 | v0 = a0;
0x00018f2c or v0, v0, a1 | v0 |= a1;
| if (v0 != 0) {
0x00018f30 beqz v0, 0x18f60 |
0x00018f34 nop |
0x00018f38 lw v0, -0x7e48(gp) | v0 = *(gp);
0x00018f3c lw a2, (v0) | a2 = *(v0);
0x00018f40 lw v0, 0x38b0(fp) | v0 = *(arg_38b0h);
0x00018f44 lw v1, 0x38b4(fp) | v1 = *(arg_38b4h);
0x00018f48 move a0, v0 | a0 = v0;
0x00018f4c move a1, v1 | a1 = v1;
0x00018f50 move t9, a2 | t9 = a2;
0x00018f54 jalr t9 | t9 ();
0x00018f58 nop |
0x00018f5c lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x00018f60 addiu v0, fp, 0x38b8 | v0 = fp + 0x38b8;
0x00018f64 move a0, v0 | a0 = v0;
0x00018f68 lw v0, -0x7858(gp) | v0 = sym.freeCurlRequest;
0x00018f6c move t9, v0 | t9 = v0;
0x00018f70 jalr t9 | t9 ();
0x00018f74 nop |
0x00018f78 lw gp, 0x50(fp) | gp = *(arg_50h);
0x00018f7c b 0x18fc8 | goto label_3;
0x00018f80 nop |
| }
0x00018f84 lw v0, 0x60(fp) | v0 = *(arg_60h);
| if (v0 != 0) {
0x00018f88 beqz v0, 0x18fc8 |
0x00018f8c nop |
0x00018f90 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018f94 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00018f98 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018f9c lw a0, 8(v0) | a0 = *((v0 + 2));
0x00018fa0 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00018fa4 lw v0, 0x38b8(fp) | v0 = *(arg_38b8h);
0x00018fa8 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x00018fac lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x00018fb0 move a2, v0 | a2 = v0;
0x00018fb4 move a3, v1 | a3 = v1;
0x00018fb8 move t9, t0 | t9 = t0;
0x00018fbc jalr t9 | t9 ();
0x00018fc0 nop |
0x00018fc4 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
| label_3:
0x00018fc8 lw v0, 0x68(fp) | v0 = *(arg_68h);
| if (v0 != 0) {
0x00018fcc beqz v0, 0x1900c |
0x00018fd0 nop |
0x00018fd4 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018fd8 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00018fdc lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00018fe0 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00018fe4 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x00018fe8 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00018fec lw v1, 0x398c(v0) | v1 = *(v0);
0x00018ff0 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x00018ff4 move a2, v0 | a2 = v0;
0x00018ff8 move a3, v1 | a3 = v1;
0x00018ffc move t9, t0 | t9 = t0;
0x00019000 jalr t9 | t9 ();
0x00019004 nop |
0x00019008 lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x0001900c lw v0, 0x64(fp) | v0 = *(arg_64h);
| if (v0 != 0) {
0x00019010 beqz v0, 0x19050 |
0x00019014 nop |
0x00019018 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x0001901c lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x00019020 lw v0, 0x5c(fp) | v0 = *(arg_5ch);
0x00019024 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00019028 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001902c lw v0, 0x70(fp) | v0 = *(arg_70h);
0x00019030 lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x00019034 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x00019038 move a2, v0 | a2 = v0;
0x0001903c move a3, v1 | a3 = v1;
0x00019040 move t9, t0 | t9 = t0;
0x00019044 jalr t9 | t9 ();
0x00019048 nop |
0x0001904c lw gp, 0x50(fp) | gp = *(arg_50h);
| }
0x00019050 lw v0, 0x58(fp) | v0 = *(arg_58h);
0x00019054 move sp, fp |
0x00019058 lw ra, 0x38cc(sp) | ra = *(arg_38cch);
0x0001905c lw fp, 0x38c8(sp) | fp = *(arg_38c8h);
0x00019060 lw s1, 0x38c4(sp) | s1 = *(arg_38c4h);
0x00019064 lw s0, 0x38c0(sp) | s0 = *(arg_38c0h);
0x00019068 addiu sp, sp, 0x38d0 |
0x0001906c jr ra | return v0;
0x00019070 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x1948c */
| #include <stdint.h>
|
; (fcn) sym.getStreamingEndpointCurlHandler () | void getStreamingEndpointCurlHandler () {
0x0001948c lui gp, 7 |
0x00019490 addiu gp, gp, 0x7c44 |
0x00019494 addu gp, gp, t9 | gp += t9;
0x00019498 addiu sp, sp, -0x2de8 |
0x0001949c sw ra, 0x2de4(sp) | *(arg_2de4h) = ra;
0x000194a0 sw fp, 0x2de0(sp) | *(arg_2de0h) = fp;
0x000194a4 sw s1, 0x2ddc(sp) | *(arg_2ddch) = s1;
0x000194a8 sw s0, 0x2dd8(sp) | *(arg_2dd8h) = s0;
0x000194ac move fp, sp | fp = sp;
0x000194b0 sw gp, 0x20(sp) | *(arg_20h) = gp;
0x000194b4 sw a0, 0x2de8(fp) | *(arg_2de8h) = a0;
0x000194b8 sw zero, 0x28(fp) | *(arg_28h) = 0;
0x000194bc lw v0, 0x2de8(fp) | v0 = *(arg_2de8h);
0x000194c0 sw v0, 0x3c(fp) | *(arg_3ch) = v0;
0x000194c4 sw zero, 0x40(fp) | *(arg_40h) = 0;
0x000194c8 sw zero, 0x44(fp) | *(arg_44h) = 0;
0x000194cc sw zero, 0x48(fp) | *(arg_48h) = 0;
0x000194d0 sw zero, 0x2c(fp) | *(arg_2ch) = 0;
0x000194d4 sw zero, 0x4c(fp) | *(arg_4ch) = 0;
0x000194d8 move v0, zero | v0 = 0;
0x000194dc move v1, zero | v1 = 0;
0x000194e0 sw v0, 0x50(fp) | *(arg_50h) = v0;
0x000194e4 sw v1, 0x54(fp) | *(arg_54h) = v1;
0x000194e8 sw zero, 0x38(fp) | *(arg_38h) = 0;
0x000194ec lw v0, 0x3c(fp) | v0 = *(arg_3ch);
| if (v0 != 0) {
0x000194f0 beqz v0, 0x1952c |
0x000194f4 nop |
0x000194f8 lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x000194fc lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
| if (v0 == 0) {
0x00019500 beqz v0, 0x1952c | goto label_0;
| }
0x00019504 nop |
0x00019508 lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x0001950c lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x00019510 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00019514 beqz v0, 0x1952c | goto label_0;
| }
0x00019518 nop |
0x0001951c lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x00019520 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x00019524 bnez v0, 0x19538 | goto label_1;
| }
0x00019528 nop |
| }
| label_0:
0x0001952c addiu v0, zero, 1 | v0 = 1;
0x00019530 b 0x1953c | goto label_2;
0x00019534 nop |
| label_1:
0x00019538 move v0, zero | v0 = 0;
| label_2:
0x0001953c sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x00019540 andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 != 0) {
0x00019544 beqz v0, 0x19578 |
0x00019548 nop |
0x0001954c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x00019550 addiu a0, v0, 0x3524 | a0 = v0 + 0x3524;
0x00019554 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._home_derek_kvs_3.0.0_amazon_kinesis_video_streams_producer_sdk_cpp_open_source_amazon_kinesis_video_streams_producer_c_src_source_CurlApiCallbacks.c */
0x00019558 addiu a1, v0, 0x3528 | a1 = v0 + 0x3528;
0x0001955c addiu a2, zero, 0x6a5 | a2 = 0x6a5;
0x00019560 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__PRETTY_FUNCTION__.9385 */
0x00019564 addiu a3, v0, 0x3a54 | a3 = v0 + 0x3a54;
0x00019568 lw v0, -0x77c0(gp) | v0 = sym.imp.__assert;
0x0001956c move t9, v0 | t9 = v0;
0x00019570 jalr t9 | t9 ();
0x00019574 nop |
| }
0x00019578 lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x0001957c lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x00019580 sw v0, 0x40(fp) | *(arg_40h) = v0;
0x00019584 lw v0, 0x40(fp) | v0 = *(arg_40h);
0x00019588 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001958c sw v0, 0x44(fp) | *(arg_44h) = v0;
0x00019590 lw v0, 0x44(fp) | v0 = *(arg_44h);
0x00019594 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x00019598 lw v0, 0x44(fp) | v0 = *(arg_44h);
0x0001959c lw a0, 8(v0) | a0 = *((v0 + 2));
0x000195a0 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x000195a4 lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x000195a8 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x000195ac lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x000195b0 move a2, v0 | a2 = v0;
0x000195b4 move a3, v1 | a3 = v1;
0x000195b8 move t9, t0 | t9 = t0;
0x000195bc jalr t9 | t9 ();
0x000195c0 nop |
0x000195c4 lw gp, 0x20(fp) | gp = *(arg_20h);
0x000195c8 lw v0, 0x44(fp) | v0 = *(arg_44h);
0x000195cc lw t0, 0x20(v0) | t0 = *((v0 + 8));
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x1abd4 */
| #include <stdint.h>
|
; (fcn) sym.putStreamCurl () | void putStreamCurl () {
0x0001abd4 lui gp, 7 |
0x0001abd8 addiu gp, gp, 0x64fc |
0x0001abdc addu gp, gp, t9 | gp += t9;
0x0001abe0 addiu sp, sp, -0x1110 |
0x0001abe4 sw ra, 0x110c(sp) | *(var_110ch) = ra;
0x0001abe8 sw fp, 0x1108(sp) | *(var_1108h) = fp;
0x0001abec sw s3, 0x1104(sp) | *(var_1104h) = s3;
0x0001abf0 sw s2, 0x1100(sp) | *(var_1100h) = s2;
0x0001abf4 sw s1, 0x10fc(sp) | *(var_10fch) = s1;
0x0001abf8 sw s0, 0x10f8(sp) | *(var_10f8h) = s0;
0x0001abfc move fp, sp | fp = sp;
0x0001ac00 sw gp, 0x50(sp) | *(var_50h) = gp;
0x0001ac04 sw a0, 0x1110(fp) | *(arg_1110h) = a0;
0x0001ac08 sw a1, 0x1114(fp) | *(arg_1114h) = a1;
0x0001ac0c sw a2, 0x1118(fp) | *(arg_1118h) = a2;
0x0001ac10 sw a3, 0x111c(fp) | *(arg_111ch) = a3;
0x0001ac14 sw zero, 0x58(fp) | *(var_58h) = 0;
0x0001ac18 sw zero, 0x68(fp) | *(var_68h) = 0;
0x0001ac1c sw zero, 0x10d4(fp) | *(var_10d4h) = 0;
0x0001ac20 sw zero, 0x10d8(fp) | *(var_10d8h) = 0;
0x0001ac24 sw zero, 0x10dc(fp) | *(var_10dch) = 0;
0x0001ac28 sw zero, 0x10e0(fp) | *(var_10e0h) = 0;
0x0001ac2c sh zero, 0x10e4(fp) | *(var_10e4h) = 0;
0x0001ac30 sw zero, 0x6c(fp) | *(var_6ch) = 0;
0x0001ac34 move v0, zero | v0 = 0;
0x0001ac38 move v1, zero | v1 = 0;
0x0001ac3c sw v0, 0x10e8(fp) | *(var_10e8h) = v0;
0x0001ac40 sw v1, 0x10ec(fp) | *(var_10ech) = v1;
0x0001ac44 lw v0, 0x1110(fp) | v0 = *(arg_1110h);
0x0001ac48 sw v0, 0x70(fp) | *(var_70h) = v0;
0x0001ac4c sw zero, 0x10f0(fp) | *(var_10f0h) = 0;
0x0001ac50 sw zero, 0x74(fp) | *(var_74h) = 0;
0x0001ac54 sw zero, 0x5c(fp) | *(var_5ch) = 0;
0x0001ac58 sw zero, 0x60(fp) | *(var_60h) = 0;
0x0001ac5c sw zero, 0x10f4(fp) | *(var_10f4h) = 0;
0x0001ac60 sw zero, 0x64(fp) | *(var_64h) = 0;
0x0001ac64 lw v0, 0x70(fp) | v0 = *(var_70h);
| if (v0 != 0) {
0x0001ac68 beqz v0, 0x1ac8c |
0x0001ac6c nop |
0x0001ac70 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001ac74 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x0001ac78 beqz v0, 0x1ac8c | goto label_0;
| }
0x0001ac7c nop |
0x0001ac80 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
| if (v0 != 0) {
0x0001ac84 bnez v0, 0x1ac98 | goto label_1;
| }
0x0001ac88 nop |
| }
| label_0:
0x0001ac8c addiu v0, zero, 1 | v0 = 1;
0x0001ac90 b 0x1ac9c | goto label_2;
0x0001ac94 nop |
| label_1:
0x0001ac98 move v0, zero | v0 = 0;
| label_2:
0x0001ac9c sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x0001aca0 andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 != 0) {
0x0001aca4 beqz v0, 0x1acd8 |
0x0001aca8 nop |
0x0001acac lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x0001acb0 addiu a0, v0, 0x3524 | a0 = v0 + 0x3524;
0x0001acb4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._home_derek_kvs_3.0.0_amazon_kinesis_video_streams_producer_sdk_cpp_open_source_amazon_kinesis_video_streams_producer_c_src_source_CurlApiCallbacks.c */
0x0001acb8 addiu a1, v0, 0x3528 | a1 = v0 + 0x3528;
0x0001acbc addiu a2, zero, 0x80e | a2 = 0x80e;
0x0001acc0 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__PRETTY_FUNCTION__.9487 */
0x0001acc4 addiu a3, v0, 0x3a14 | a3 = v0 + 0x3a14;
0x0001acc8 lw v0, -0x77c0(gp) | v0 = sym.imp.__assert;
0x0001accc move t9, v0 | t9 = v0;
0x0001acd0 jalr t9 | t9 ();
0x0001acd4 nop |
| }
0x0001acd8 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001acdc lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001ace0 sw v0, 0x74(fp) | *(var_74h) = v0;
0x0001ace4 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001ace8 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x0001acec addiu v0, v0, 8 | v0 += 8;
0x0001acf0 move a0, v0 | a0 = v0;
0x0001acf4 lw v0, -0x7950(gp) | v0 = sym.deserializeAwsCredentials;
0x0001acf8 move t9, v0 | t9 = v0;
0x0001acfc jalr t9 | t9 ();
0x0001ad00 nop |
0x0001ad04 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001ad08 sw v0, 0x78(fp) | *(var_78h) = v0;
0x0001ad0c lw v0, 0x78(fp) | v0 = *(var_78h);
| if (v0 != 0) {
0x0001ad10 beqz v0, 0x1ad28 |
0x0001ad14 nop |
0x0001ad18 lw v0, 0x78(fp) | v0 = *(var_78h);
0x0001ad1c sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001ad20 b 0x1b4fc | goto label_3;
0x0001ad24 nop |
| }
0x0001ad28 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001ad2c lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x0001ad30 addiu v0, v0, 8 | v0 += 8;
0x0001ad34 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x0001ad38 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001ad3c lw v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x0001ad40 beqz v0, 0x1ad5c |
0x0001ad44 nop |
0x0001ad48 lui v0, 0x1500 | v0 = 0x15000008;
0x0001ad4c ori v0, v0, 8 |
0x0001ad50 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001ad54 b 0x1b4fc | goto label_3;
0x0001ad58 nop |
| }
0x0001ad5c lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001ad60 lw v1, 4(v0) | v1 = *((v0 + 1));
0x0001ad64 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001ad68 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x0001ad6c lw v0, 0x2718(v0) | v0 = *((v0 + 2502));
| if (v1 != v0) {
0x0001ad70 beq v1, v0, 0x1ad88 |
0x0001ad74 nop |
0x0001ad78 addiu v0, zero, 0xc | v0 = 0xc;
0x0001ad7c sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001ad80 b 0x1b4fc | goto label_3;
0x0001ad84 nop |
| }
0x0001ad88 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001ad8c lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x0001ad90 lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x0001ad94 sw v0, 0x80(fp) | *(var_80h) = v0;
0x0001ad98 sw v1, 0x84(fp) | *(var_84h) = v1;
0x0001ad9c addiu v0, fp, 0xd0 | v0 = fp + 0xd0;
0x0001ada0 move a0, v0 | a0 = v0;
0x0001ada4 lw a1, 0x1130(fp) | a1 = *(arg_1130h);
0x0001ada8 lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x0001adac move t9, v0 | t9 = v0;
0x0001adb0 jalr t9 | t9 ();
0x0001adb4 nop |
0x0001adb8 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001adbc addiu v0, fp, 0xd0 | v0 = fp + 0xd0;
0x0001adc0 move a0, v0 | a0 = v0;
0x0001adc4 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x0001adc8 move t9, v0 | t9 = v0;
0x0001adcc jalr t9 | t9 ();
0x0001add0 nop |
0x0001add4 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001add8 addiu v1, fp, 0xd0 | v1 = fp + 0xd0;
0x0001addc addu v0, v1, v0 | v0 = v1 + v0;
0x0001ade0 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x0001ade4 lw a1, 0x3830(v1) | a1 = *((v1 + 3596));
| /* str._putMedia */
0x0001ade8 addiu a0, v1, 0x3830 | a0 = v1 + 0x3830;
0x0001adec lw a0, 4(a0) | a0 = *((a0 + 1));
0x0001adf0 swl a1, 3(v0) | __asm ("swl a1, 3(v0)");
0x0001adf4 swr a1, (v0) | __asm ("swr a1, (v0)");
0x0001adf8 swl a0, 7(v0) | __asm ("swl a0, 7(v0)");
0x0001adfc swr a0, 4(v0) | __asm ("swr a0, 4(v0)");
| /* str._putMedia */
0x0001ae00 addiu v1, v1, 0x3830 | v1 += 0x3830;
0x0001ae04 lbu a0, 8(v1) | a0 = *((v1 + 8));
0x0001ae08 sb a0, 8(v0) | *((v0 + 8)) = a0;
0x0001ae0c lbu v1, 9(v1) | v1 = *((v1 + 9));
0x0001ae10 sb v1, 9(v0) | *((v0 + 9)) = v1;
0x0001ae14 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001ae18 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001ae1c lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001ae20 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001ae24 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001ae28 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001ae2c lw v1, 0x394c(v0) | v1 = *((v0 + 3667));
0x0001ae30 lw v0, 0x3948(v0) | v0 = *((v0 + 3666));
0x0001ae34 move a2, v0 | a2 = v0;
0x0001ae38 move a3, v1 | a3 = v1;
0x0001ae3c move t9, t0 | t9 = t0;
0x0001ae40 jalr t9 | t9 ();
0x0001ae44 nop |
0x0001ae48 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001ae4c addiu v0, zero, 1 | v0 = 1;
0x0001ae50 sw v0, 0x60(fp) | *(var_60h) = v0;
0x0001ae54 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001ae58 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001ae5c lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001ae60 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001ae64 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001ae68 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001ae6c lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001ae70 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001ae74 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001ae78 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x0001ae7c move a2, v0 | a2 = v0;
0x0001ae80 move a3, v1 | a3 = v1;
0x0001ae84 move t9, t0 | t9 = t0;
0x0001ae88 jalr t9 | t9 ();
0x0001ae8c nop |
0x0001ae90 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001ae94 addiu v0, zero, 1 | v0 = 1;
0x0001ae98 sw v0, 0x64(fp) | *(var_64h) = v0;
0x0001ae9c lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001aea0 lw v0, 0x3984(v0) | v0 = *((v0 + 3681));
0x0001aea4 addiu v1, fp, 0x10f4 | v1 = fp + 0x10f4;
0x0001aea8 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0001aeac move a0, v0 | a0 = v0;
0x0001aeb0 lw a2, 0x80(fp) | a2 = *(var_80h);
0x0001aeb4 lw a3, 0x84(fp) | a3 = *(var_84h);
0x0001aeb8 lw v0, -0x7c88(gp) | v0 = sym.hashTableContains;
0x0001aebc move t9, v0 | t9 = v0;
0x0001aec0 jalr t9 | t9 ();
0x0001aec4 nop |
0x0001aec8 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001aecc sw v0, 0x88(fp) | *(var_88h) = v0;
0x0001aed0 lw v0, 0x88(fp) | v0 = *(var_88h);
| if (v0 != 0) {
0x0001aed4 beqz v0, 0x1aeec |
0x0001aed8 nop |
0x0001aedc lw v0, 0x88(fp) | v0 = *(var_88h);
0x0001aee0 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001aee4 b 0x1b4fc | goto label_3;
0x0001aee8 nop |
| }
0x0001aeec lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001aef0 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001aef4 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001aef8 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001aefc lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001af00 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001af04 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001af08 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001af0c lw v1, 0x398c(v0) | v1 = *(v0);
0x0001af10 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x0001af14 move a2, v0 | a2 = v0;
0x0001af18 move a3, v1 | a3 = v1;
0x0001af1c move t9, t0 | t9 = t0;
0x0001af20 jalr t9 | t9 ();
0x0001af24 nop |
0x0001af28 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001af2c sw zero, 0x64(fp) | *(var_64h) = 0;
0x0001af30 lw v0, 0x10f4(fp) | v0 = *(var_10f4h);
| if (v0 != 0) {
0x0001af34 beqz v0, 0x1af50 |
0x0001af38 nop |
0x0001af3c lui v0, 0x1500 | v0 = 0x1500001e;
0x0001af40 ori v0, v0, 0x1e |
0x0001af44 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001af48 b 0x1b4fc | goto label_3;
0x0001af4c nop |
| }
0x0001af50 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001af54 lw a2, 0x10(v0) | a2 = *((v0 + 4));
0x0001af58 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001af5c lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x0001af60 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001af64 move a0, v0 | a0 = v0;
0x0001af68 move a1, v1 | a1 = v1;
0x0001af6c move t9, a2 | t9 = a2;
0x0001af70 jalr t9 | t9 ();
0x0001af74 nop |
0x0001af78 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001af7c sw v0, 0x90(fp) | *(var_90h) = v0;
0x0001af80 sw v1, 0x94(fp) | *(var_94h) = v1;
0x0001af84 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001af88 lw a2, 0x18(v0) | a2 = *((v0 + 6));
0x0001af8c lw a3, 0x1c(v0) | a3 = *((v0 + 7));
0x0001af90 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001af94 addiu t2, v0, 0x9c | t2 = v0 + 0x9c;
0x0001af98 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001af9c lw a0, 0x10(v0) | a0 = *((v0 + 4));
0x0001afa0 lw a1, 0x14(v0) | a1 = *((v0 + 5));
0x0001afa4 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001afa8 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x0001afac lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001afb0 lw t0, 0x70(fp) | t0 = *(var_70h);
0x0001afb4 addiu t1, t0, 0x292f | t1 = t0 + 0x292f;
0x0001afb8 addiu t0, fp, 0xd0 | t0 = fp + 0xd0;
0x0001afbc sw a2, 0x10(sp) | *(var_10h) = a2;
0x0001afc0 sw a3, 0x14(sp) | *(var_14h) = a3;
0x0001afc4 sw t2, 0x18(sp) | *(var_18h) = t2;
0x0001afc8 lw a2, 0x90(fp) | a2 = *(var_90h);
0x0001afcc lw a3, 0x94(fp) | a3 = *(var_94h);
0x0001afd0 sw a2, 0x20(sp) | *(var_20h) = a2;
0x0001afd4 sw a3, 0x24(sp) | *(var_24h) = a3;
0x0001afd8 lui a2, 0x2fa | a2 = 0x2faf080;
0x0001afdc ori a2, a2, 0xf080 |
0x0001afe0 move a3, zero | a3 = 0;
0x0001afe4 sw a2, 0x28(sp) | *(var_28h) = a2;
0x0001afe8 sw a3, 0x2c(sp) | *(var_2ch) = a3;
0x0001afec sw a0, 0x30(sp) | *(var_30h) = a0;
0x0001aff0 sw a1, 0x34(sp) | *(var_34h) = a1;
0x0001aff4 sw v0, 0x38(sp) | *(var_38h) = v0;
0x0001aff8 sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x0001affc sw t1, 0x40(sp) | *(var_40h) = t1;
0x0001b000 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001b004 sw v0, 0x44(sp) | *(var_44h) = v0;
0x0001b008 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001b00c sw v0, 0x48(sp) | *(var_48h) = v0;
0x0001b010 addiu v0, fp, 0x10f0 | v0 = fp + 0x10f0;
0x0001b014 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x0001b018 addiu a0, zero, 1 | a0 = 1;
0x0001b01c move a1, t0 | a1 = t0;
0x0001b020 move a2, zero | a2 = 0;
0x0001b024 lw v0, -0x7f24(gp) | v0 = sym.createCurlRequest;
0x0001b028 move t9, v0 | t9 = v0;
0x0001b02c jalr t9 | t9 ();
0x0001b030 nop |
0x0001b034 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b038 sw v0, 0x98(fp) | *(var_98h) = v0;
0x0001b03c lw v0, 0x98(fp) | v0 = *(var_98h);
| if (v0 != 0) {
0x0001b040 beqz v0, 0x1b058 |
0x0001b044 nop |
0x0001b048 lw v0, 0x98(fp) | v0 = *(var_98h);
0x0001b04c sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b050 b 0x1b4fc | goto label_3;
0x0001b054 nop |
| }
0x0001b058 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b05c addiu v1, v0, 8 | v1 = v0 + 8;
0x0001b060 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001b064 addiu v0, v0, 0x11d | v0 += 0x11d;
0x0001b068 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001b06c move a0, v1 | a0 = v1;
0x0001b070 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: 'user-agent' */
0x0001b074 addiu a1, v1, 0x34f4 | a1 = v1 + 0x34f4;
0x0001b078 move a2, zero | a2 = 0;
0x0001b07c move a3, v0 | a3 = v0;
0x0001b080 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001b084 move t9, v0 | t9 = v0;
0x0001b088 jalr t9 | t9 ();
0x0001b08c nop |
0x0001b090 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b094 sw v0, 0x9c(fp) | *(var_9ch) = v0;
0x0001b098 lw v0, 0x9c(fp) | v0 = *(var_9ch);
| if (v0 != 0) {
0x0001b09c beqz v0, 0x1b0b4 |
0x0001b0a0 nop |
0x0001b0a4 lw v0, 0x9c(fp) | v0 = *(var_9ch);
0x0001b0a8 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b0ac b 0x1b4fc | goto label_3;
0x0001b0b0 nop |
| }
0x0001b0b4 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b0b8 addiu v0, v0, 8 | v0 += 8;
0x0001b0bc sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001b0c0 move a0, v0 | a0 = v0;
0x0001b0c4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.x_amzn_stream_name */
0x0001b0c8 addiu a1, v0, 0x383c | a1 = v0 + 0x383c;
0x0001b0cc move a2, zero | a2 = 0;
0x0001b0d0 lw a3, 0x1118(fp) | a3 = *(arg_1118h);
0x0001b0d4 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001b0d8 move t9, v0 | t9 = v0;
0x0001b0dc jalr t9 | t9 ();
0x0001b0e0 nop |
0x0001b0e4 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b0e8 sw v0, 0xa0(fp) | *(var_a0h) = v0;
0x0001b0ec lw v0, 0xa0(fp) | v0 = *(var_a0h);
| if (v0 != 0) {
0x0001b0f0 beqz v0, 0x1b108 |
0x0001b0f4 nop |
0x0001b0f8 lw v0, 0xa0(fp) | v0 = *(var_a0h);
0x0001b0fc sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b100 b 0x1b4fc | goto label_3;
0x0001b104 nop |
| }
0x0001b108 lw v0, 0x1120(fp) | v0 = *(arg_1120h);
0x0001b10c lw v1, 0x1124(fp) | v1 = *(arg_1124h);
0x0001b110 lw t0, -0x7fc8(gp) | t0 = sym.__udivdi3;
0x0001b114 move a0, v0 | a0 = v0;
0x0001b118 move a1, v1 | a1 = v1;
0x0001b11c addiu a2, zero, 0x2710 | a2 = 0x2710;
0x0001b120 move a3, zero | a3 = 0;
0x0001b124 move t9, t0 | t9 = t0;
0x0001b128 jalr t9 | t9 ();
0x0001b12c nop |
0x0001b130 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b134 sw v0, 0xa8(fp) | *(var_a8h) = v0;
0x0001b138 sw v1, 0xac(fp) | *(var_ach) = v1;
0x0001b13c lw v0, 0xa8(fp) | v0 = *(var_a8h);
0x0001b140 lw v1, 0xac(fp) | v1 = *(var_ach);
0x0001b144 lw t0, -0x7fc8(gp) | t0 = sym.__udivdi3;
0x0001b148 move a0, v0 | a0 = v0;
0x0001b14c move a1, v1 | a1 = v1;
0x0001b150 addiu a2, zero, 0x3e8 | a2 = aav.0x000003e8;
0x0001b154 move a3, zero | a3 = 0;
0x0001b158 move t9, t0 | t9 = t0;
0x0001b15c jalr t9 | t9 ();
0x0001b160 nop |
0x0001b164 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b168 move s2, v0 | s2 = v0;
0x0001b16c move s3, v1 | s3 = v1;
0x0001b170 lw v0, 0xa8(fp) | v0 = *(var_a8h);
0x0001b174 lw v1, 0xac(fp) | v1 = *(var_ach);
0x0001b178 lw t0, -0x7fc4(gp) | t0 = sym.__umoddi3;
0x0001b17c move a0, v0 | a0 = v0;
0x0001b180 move a1, v1 | a1 = v1;
0x0001b184 addiu a2, zero, 0x3e8 | a2 = aav.0x000003e8;
0x0001b188 move a3, zero | a3 = 0;
0x0001b18c move t9, t0 | t9 = t0;
0x0001b190 jalr t9 | t9 ();
0x0001b194 nop |
0x0001b198 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b19c addiu a0, fp, 0x10d4 | a0 = fp + 0x10d4;
0x0001b1a0 sw s2, 0x10(sp) | *(var_10h) = s2;
0x0001b1a4 sw s3, 0x14(sp) | *(var_14h) = s3;
0x0001b1a8 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0001b1ac sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0001b1b0 addiu a1, zero, 0x12 | a1 = 0x12;
0x0001b1b4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._llu._llu */
0x0001b1b8 addiu a2, v0, 0x3850 | a2 = v0 + 0x3850;
0x0001b1bc lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x0001b1c0 move t9, v0 | t9 = v0;
0x0001b1c4 jalr t9 | t9 ();
0x0001b1c8 nop |
0x0001b1cc lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b1d0 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b1d4 addiu v1, v0, 8 | v1 = v0 + 8;
0x0001b1d8 addiu v0, fp, 0x10d4 | v0 = fp + 0x10d4;
0x0001b1dc sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001b1e0 move a0, v1 | a0 = v1;
0x0001b1e4 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.x_amzn_producer_start_timestamp */
0x0001b1e8 addiu a1, v1, 0x385c | a1 = v1 + 0x385c;
0x0001b1ec move a2, zero | a2 = 0;
0x0001b1f0 move a3, v0 | a3 = v0;
0x0001b1f4 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001b1f8 move t9, v0 | t9 = v0;
0x0001b1fc jalr t9 | t9 ();
0x0001b200 nop |
0x0001b204 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b208 sw v0, 0xb0(fp) | *(var_b0h) = v0;
0x0001b20c lw v0, 0xb0(fp) | v0 = *(var_b0h);
| if (v0 != 0) {
0x0001b210 beqz v0, 0x1b228 |
0x0001b214 nop |
0x0001b218 lw v0, 0xb0(fp) | v0 = *(var_b0h);
0x0001b21c sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b220 b 0x1b4fc | goto label_3;
0x0001b224 nop |
| }
0x0001b228 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b22c addiu v1, v0, 8 | v1 = v0 + 8;
0x0001b230 lw v0, 0x112c(fp) | v0 = *(arg_112ch);
| if (v0 != 0) {
0x0001b234 beqz v0, 0x1b24c |
0x0001b238 nop |
0x0001b23c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
0x0001b240 addiu v0, v0, 0x387c | v0 += 0x387c;
0x0001b244 b 0x1b254 | goto label_4;
0x0001b248 nop |
| }
0x0001b24c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x0001b250 addiu v0, v0, 0x3524 | v0 += 0x3524;
| label_4:
0x0001b254 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001b258 move a0, v1 | a0 = v1;
0x0001b25c lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.x_amzn_fragment_acknowledgment_required */
0x0001b260 addiu a1, v1, 0x3880 | a1 = v1 + 0x3880;
0x0001b264 move a2, zero | a2 = 0;
0x0001b268 move a3, v0 | a3 = v0;
0x0001b26c lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001b270 move t9, v0 | t9 = v0;
0x0001b274 jalr t9 | t9 ();
0x0001b278 nop |
0x0001b27c lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b280 sw v0, 0xb4(fp) | *(var_b4h) = v0;
0x0001b284 lw v0, 0xb4(fp) | v0 = *(var_b4h);
| if (v0 != 0) {
0x0001b288 beqz v0, 0x1b2a0 |
0x0001b28c nop |
0x0001b290 lw v0, 0xb4(fp) | v0 = *(var_b4h);
0x0001b294 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b298 b 0x1b4fc | goto label_3;
0x0001b29c nop |
| }
0x0001b2a0 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b2a4 addiu v1, v0, 8 | v1 = v0 + 8;
0x0001b2a8 lw v0, 0x1128(fp) | v0 = *(arg_1128h);
| if (v0 != 0) {
0x0001b2ac beqz v0, 0x1b2c4 |
0x0001b2b0 nop |
0x0001b2b4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.ABSOLUTE */
0x0001b2b8 addiu v0, v0, 0x38a8 | v0 += 0x38a8;
0x0001b2bc b 0x1b2cc | goto label_5;
0x0001b2c0 nop |
| }
0x0001b2c4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.RELATIVE */
0x0001b2c8 addiu v0, v0, 0x38b4 | v0 += 0x38b4;
| label_5:
0x0001b2cc sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001b2d0 move a0, v1 | a0 = v1;
0x0001b2d4 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* str.x_amzn_fragment_timecode_type */
0x0001b2d8 addiu a1, v1, 0x38c0 | a1 = v1 + 0x38c0;
0x0001b2dc move a2, zero | a2 = 0;
0x0001b2e0 move a3, v0 | a3 = v0;
0x0001b2e4 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001b2e8 move t9, v0 | t9 = v0;
0x0001b2ec jalr t9 | t9 ();
0x0001b2f0 nop |
0x0001b2f4 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b2f8 sw v0, 0xb8(fp) | *(var_b8h) = v0;
0x0001b2fc lw v0, 0xb8(fp) | v0 = *(var_b8h);
| if (v0 != 0) {
0x0001b300 beqz v0, 0x1b318 |
0x0001b304 nop |
0x0001b308 lw v0, 0xb8(fp) | v0 = *(var_b8h);
0x0001b30c sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b310 b 0x1b4fc | goto label_3;
0x0001b314 nop |
| }
0x0001b318 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b31c addiu v0, v0, 8 | v0 += 8;
0x0001b320 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001b324 move a0, v0 | a0 = v0;
0x0001b328 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.transfer_encoding */
0x0001b32c addiu a1, v0, 0x38e0 | a1 = v0 + 0x38e0;
0x0001b330 move a2, zero | a2 = 0;
0x0001b334 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.chunked */
0x0001b338 addiu a3, v0, 0x38f4 | a3 = v0 + 0x38f4;
0x0001b33c lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001b340 move t9, v0 | t9 = v0;
0x0001b344 jalr t9 | t9 ();
0x0001b348 nop |
0x0001b34c lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b350 sw v0, 0xbc(fp) | *(var_bch) = v0;
0x0001b354 lw v0, 0xbc(fp) | v0 = *(var_bch);
| if (v0 != 0) {
0x0001b358 beqz v0, 0x1b370 |
0x0001b35c nop |
0x0001b360 lw v0, 0xbc(fp) | v0 = *(var_bch);
0x0001b364 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b368 b 0x1b4fc | goto label_3;
0x0001b36c nop |
| }
0x0001b370 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b374 addiu v0, v0, 8 | v0 += 8;
0x0001b378 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001b37c move a0, v0 | a0 = v0;
0x0001b380 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.connection */
0x0001b384 addiu a1, v0, 0x38fc | a1 = v0 + 0x38fc;
0x0001b388 move a2, zero | a2 = 0;
0x0001b38c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.keep_alive */
0x0001b390 addiu a3, v0, 0x3908 | a3 = v0 + 0x3908;
0x0001b394 lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001b398 move t9, v0 | t9 = v0;
0x0001b39c jalr t9 | t9 ();
0x0001b3a0 nop |
0x0001b3a4 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b3a8 sw v0, 0xc0(fp) | *(var_c0h) = v0;
0x0001b3ac lw v0, 0xc0(fp) | v0 = *(var_c0h);
| if (v0 != 0) {
0x0001b3b0 beqz v0, 0x1b3c8 |
0x0001b3b4 nop |
0x0001b3b8 lw v0, 0xc0(fp) | v0 = *(var_c0h);
0x0001b3bc sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b3c0 b 0x1b4fc | goto label_3;
0x0001b3c4 nop |
| }
0x0001b3c8 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b3cc lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001b3d0 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b3d4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001b3d8 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001b3dc lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b3e0 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001b3e4 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001b3e8 move a2, v0 | a2 = v0;
0x0001b3ec move a3, v1 | a3 = v1;
0x0001b3f0 move t9, t0 | t9 = t0;
0x0001b3f4 jalr t9 | t9 ();
0x0001b3f8 nop |
0x0001b3fc lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b400 addiu v0, zero, 1 | v0 = 1;
0x0001b404 sw v0, 0x5c(fp) | *(var_5ch) = v0;
0x0001b408 lw v0, -0x7dc0(gp) | v0 = *(gp);
0x0001b40c lw v0, (v0) | v0 = *(v0);
0x0001b410 lw v1, 0x10f0(fp) | v1 = *(var_10f0h);
0x0001b414 addiu a0, fp, 0x10e8 | a0 = fp + 0x10e8;
0x0001b418 lw a1, -0x745c(gp) | a1 = sym.putStreamCurlHandler;
0x0001b41c move a2, v1 | a2 = v1;
0x0001b420 move t9, v0 | t9 = v0;
0x0001b424 jalr t9 | t9 ();
0x0001b428 nop |
0x0001b42c lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b430 sw v0, 0xc4(fp) | *(var_c4h) = v0;
0x0001b434 lw v0, 0xc4(fp) | v0 = *(var_c4h);
| if (v0 != 0) {
0x0001b438 beqz v0, 0x1b450 |
0x0001b43c nop |
0x0001b440 lw v0, 0xc4(fp) | v0 = *(var_c4h);
0x0001b444 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b448 b 0x1b4fc | goto label_3;
0x0001b44c nop |
| }
0x0001b450 lw v0, -0x7e60(gp) | v0 = *(gp);
0x0001b454 lw a2, (v0) | a2 = *(v0);
0x0001b458 lw v0, 0x10e8(fp) | v0 = *(var_10e8h);
0x0001b45c lw v1, 0x10ec(fp) | v1 = *(var_10ech);
0x0001b460 move a0, v0 | a0 = v0;
0x0001b464 move a1, v1 | a1 = v1;
0x0001b468 move t9, a2 | t9 = a2;
0x0001b46c jalr t9 | t9 ();
0x0001b470 nop |
0x0001b474 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b478 sw v0, 0xc8(fp) | *(var_c8h) = v0;
0x0001b47c lw v0, 0xc8(fp) | v0 = *(var_c8h);
| if (v0 != 0) {
0x0001b480 beqz v0, 0x1b498 |
0x0001b484 nop |
0x0001b488 lw v0, 0xc8(fp) | v0 = *(var_c8h);
0x0001b48c sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b490 b 0x1b4fc | goto label_3;
0x0001b494 nop |
| }
0x0001b498 lw a0, 0x10f0(fp) | a0 = *(var_10f0h);
0x0001b49c lw v0, 0x10e8(fp) | v0 = *(var_10e8h);
0x0001b4a0 lw v1, 0x10ec(fp) | v1 = *(var_10ech);
0x0001b4a4 sw v0, 0x5910(a0) | *((a0 + 5700)) = v0;
0x0001b4a8 sw v1, 0x5914(a0) | *((a0 + 5701)) = v1;
0x0001b4ac lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001b4b0 lw v1, 0x3940(v0) | v1 = *(v0);
0x0001b4b4 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b4b8 move s0, v0 | s0 = v0;
0x0001b4bc sra v0, v0, 0x1f | v0 >>= 0x1f;
0x0001b4c0 move s1, v0 | s1 = v0;
0x0001b4c4 move a0, v1 | a0 = v1;
0x0001b4c8 move a2, s0 | a2 = s0;
0x0001b4cc move a3, s1 | a3 = s1;
0x0001b4d0 lw v0, -0x7df8(gp) | v0 = sym.doubleListInsertItemTail;
0x0001b4d4 move t9, v0 | t9 = v0;
0x0001b4d8 jalr t9 | t9 ();
0x0001b4dc nop |
0x0001b4e0 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b4e4 sw v0, 0xcc(fp) | *(var_cch) = v0;
0x0001b4e8 lw v0, 0xcc(fp) | v0 = *(var_cch);
| if (v0 != 0) {
0x0001b4ec beqz v0, 0x1b4fc |
0x0001b4f0 nop |
0x0001b4f4 lw v0, 0xcc(fp) | v0 = *(var_cch);
0x0001b4f8 sw v0, 0x58(fp) | *(var_58h) = v0;
| }
| label_3:
0x0001b4fc lw v0, 0x58(fp) | v0 = *(var_58h);
| if (v0 != 0) {
0x0001b500 beqz v0, 0x1b56c |
0x0001b504 nop |
0x0001b508 lw a0, 0x10e8(fp) | a0 = *(var_10e8h);
0x0001b50c lw a1, 0x10ec(fp) | a1 = *(var_10ech);
0x0001b510 move v0, a0 | v0 = a0;
0x0001b514 or v0, v0, a1 | v0 |= a1;
| if (v0 != 0) {
0x0001b518 beqz v0, 0x1b548 |
0x0001b51c nop |
0x0001b520 lw v0, -0x7e48(gp) | v0 = *(gp);
0x0001b524 lw a2, (v0) | a2 = *(v0);
0x0001b528 lw v0, 0x10e8(fp) | v0 = *(var_10e8h);
0x0001b52c lw v1, 0x10ec(fp) | v1 = *(var_10ech);
0x0001b530 move a0, v0 | a0 = v0;
0x0001b534 move a1, v1 | a1 = v1;
0x0001b538 move t9, a2 | t9 = a2;
0x0001b53c jalr t9 | t9 ();
0x0001b540 nop |
0x0001b544 lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001b548 addiu v0, fp, 0x10f0 | v0 = fp + 0x10f0;
0x0001b54c move a0, v0 | a0 = v0;
0x0001b550 lw v0, -0x7858(gp) | v0 = sym.freeCurlRequest;
0x0001b554 move t9, v0 | t9 = v0;
0x0001b558 jalr t9 | t9 ();
0x0001b55c nop |
0x0001b560 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b564 b 0x1b648 | goto label_6;
0x0001b568 nop |
| }
0x0001b56c lw v0, 0x10f4(fp) | v0 = *(var_10f4h);
| if (v0 == 0) {
0x0001b570 bnez v0, 0x1b648 |
0x0001b574 nop |
0x0001b578 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b57c lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x0001b580 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x0001b584 lw a0, 0x58(fp) | a0 = *(var_58h);
| if (a0 != 0) {
0x0001b588 beqz a0, 0x1b59c |
0x0001b58c nop |
0x0001b590 addiu a2, zero, 0x2716 | a2 = 0x2716;
0x0001b594 b 0x1b5a0 | goto label_7;
0x0001b598 nop |
| }
0x0001b59c addiu a2, zero, 0xc8 | a2 = 0xc8;
| label_7:
0x0001b5a0 lw a0, 0x10f0(fp) | a0 = *(var_10f0h);
0x0001b5a4 lw a1, 0x591c(a0) | a1 = *((a0 + 5703));
0x0001b5a8 lw a0, 0x5918(a0) | a0 = *((a0 + 5702));
0x0001b5ac sw a0, 0x10(sp) | *(var_10h) = a0;
0x0001b5b0 sw a1, 0x14(sp) | *(var_14h) = a1;
0x0001b5b4 move a0, v0 | a0 = v0;
0x0001b5b8 move a1, v1 | a1 = v1;
0x0001b5bc lw v0, -0x7d14(gp) | v0 = sym.putStreamResultEvent;
0x0001b5c0 move t9, v0 | t9 = v0;
0x0001b5c4 jalr t9 | t9 ();
0x0001b5c8 nop |
0x0001b5cc lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b5d0 sw v0, 0x68(fp) | *(var_68h) = v0;
0x0001b5d4 lw v0, 0x1134(fp) | v0 = *(arg_1134h);
0x0001b5d8 lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x0001b5dc lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x0001b5e0 lw a0, 0x74(fp) | a0 = *(var_74h);
0x0001b5e4 lw a1, 0x68(fp) | a1 = *(var_68h);
0x0001b5e8 move a2, v0 | a2 = v0;
0x0001b5ec move a3, v1 | a3 = v1;
0x0001b5f0 lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x0001b5f4 move t9, v0 | t9 = v0;
0x0001b5f8 jalr t9 | t9 ();
0x0001b5fc nop |
0x0001b600 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001b604 lw v0, 0x5c(fp) | v0 = *(var_5ch);
| if (v0 == 0) {
0x0001b608 beqz v0, 0x1b648 | goto label_6;
| }
0x0001b60c nop |
0x0001b610 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b614 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001b618 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b61c lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001b620 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001b624 lw v0, 0x10f0(fp) | v0 = *(var_10f0h);
0x0001b628 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001b62c lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001b630 move a2, v0 | a2 = v0;
0x0001b634 move a3, v1 | a3 = v1;
0x0001b638 move t9, t0 | t9 = t0;
0x0001b63c jalr t9 | t9 ();
0x0001b640 nop |
0x0001b644 lw gp, 0x50(fp) | gp = *(var_50h);
| }
| label_6:
0x0001b648 lw v0, 0x64(fp) | v0 = *(var_64h);
| if (v0 != 0) {
0x0001b64c beqz v0, 0x1b68c |
0x0001b650 nop |
0x0001b654 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b658 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001b65c lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b660 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001b664 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001b668 lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001b66c lw v1, 0x398c(v0) | v1 = *(v0);
0x0001b670 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x0001b674 move a2, v0 | a2 = v0;
0x0001b678 move a3, v1 | a3 = v1;
0x0001b67c move t9, t0 | t9 = t0;
0x0001b680 jalr t9 | t9 ();
0x0001b684 nop |
0x0001b688 lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001b68c lw v0, 0x60(fp) | v0 = *(var_60h);
| if (v0 != 0) {
0x0001b690 beqz v0, 0x1b6d0 |
0x0001b694 nop |
0x0001b698 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b69c lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001b6a0 lw v0, 0x74(fp) | v0 = *(var_74h);
0x0001b6a4 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001b6a8 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001b6ac lw v0, 0x70(fp) | v0 = *(var_70h);
0x0001b6b0 lw v1, 0x394c(v0) | v1 = *((v0 + 3667));
0x0001b6b4 lw v0, 0x3948(v0) | v0 = *((v0 + 3666));
0x0001b6b8 move a2, v0 | a2 = v0;
0x0001b6bc move a3, v1 | a3 = v1;
0x0001b6c0 move t9, t0 | t9 = t0;
0x0001b6c4 jalr t9 | t9 ();
0x0001b6c8 nop |
0x0001b6cc lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001b6d0 lw v0, 0x58(fp) | v0 = *(var_58h);
0x0001b6d4 move sp, fp |
0x0001b6d8 lw ra, 0x110c(sp) | ra = *(var_110ch);
0x0001b6dc lw fp, 0x1108(sp) | fp = *(var_1108h);
0x0001b6e0 lw s3, 0x1104(sp) | s3 = *(var_1104h);
0x0001b6e4 lw s2, 0x1100(sp) | s2 = *(var_1100h);
0x0001b6e8 lw s1, 0x10fc(sp) | s1 = *(var_10fch);
0x0001b6ec lw s0, 0x10f8(sp) | s0 = *(var_10f8h);
0x0001b6f0 addiu sp, sp, 0x1110 |
0x0001b6f4 jr ra | return v0;
0x0001b6f8 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x1b6fc */
| #include <stdint.h>
|
; (fcn) sym.putStreamCurlHandler () | void putStreamCurlHandler () {
0x0001b6fc lui gp, 7 |
0x0001b700 addiu gp, gp, 0x59d4 |
0x0001b704 addu gp, gp, t9 | gp += t9;
0x0001b708 addiu sp, sp, -0x70 |
0x0001b70c sw ra, 0x6c(sp) | *(var_6ch) = ra;
0x0001b710 sw fp, 0x68(sp) | *(var_68h) = fp;
0x0001b714 move fp, sp | fp = sp;
0x0001b718 sw gp, 0x28(sp) | *(var_28h) = gp;
0x0001b71c sw a0, 0x70(fp) | *(arg_70h) = a0;
0x0001b720 sw zero, 0x30(fp) | *(var_30h) = 0;
0x0001b724 lw v0, 0x70(fp) | v0 = *(arg_70h);
0x0001b728 sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x0001b72c sw zero, 0x40(fp) | *(var_40h) = 0;
0x0001b730 sw zero, 0x44(fp) | *(var_44h) = 0;
0x0001b734 sw zero, 0x48(fp) | *(var_48h) = 0;
0x0001b738 sw zero, 0x34(fp) | *(var_34h) = 0;
0x0001b73c sw zero, 0x4c(fp) | *(var_4ch) = 0;
0x0001b740 sw zero, 0x38(fp) | *(var_38h) = 0;
0x0001b744 move v0, zero | v0 = 0;
0x0001b748 move v1, zero | v1 = 0;
0x0001b74c sw v0, 0x50(fp) | *(var_50h) = v0;
0x0001b750 sw v1, 0x54(fp) | *(var_54h) = v1;
0x0001b754 addiu v0, zero, -1 | v0 = -1;
0x0001b758 addiu v1, zero, -1 | v1 = -1;
0x0001b75c sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001b760 sw v1, 0x5c(fp) | *(var_5ch) = v1;
0x0001b764 lw v0, 0x3c(fp) | v0 = *(var_3ch);
| if (v0 != 0) {
0x0001b768 beqz v0, 0x1b7a4 |
0x0001b76c nop |
0x0001b770 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b774 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
| if (v0 == 0) {
0x0001b778 beqz v0, 0x1b7a4 | goto label_0;
| }
0x0001b77c nop |
0x0001b780 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b784 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001b788 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x0001b78c beqz v0, 0x1b7a4 | goto label_0;
| }
0x0001b790 nop |
0x0001b794 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b798 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x0001b79c bnez v0, 0x1b7b0 | goto label_1;
| }
0x0001b7a0 nop |
| }
| label_0:
0x0001b7a4 addiu v0, zero, 1 | v0 = 1;
0x0001b7a8 b 0x1b7b4 | goto label_2;
0x0001b7ac nop |
| label_1:
0x0001b7b0 move v0, zero | v0 = 0;
| label_2:
0x0001b7b4 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x0001b7b8 andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 != 0) {
0x0001b7bc beqz v0, 0x1b7f0 |
0x0001b7c0 nop |
0x0001b7c4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x0001b7c8 addiu a0, v0, 0x3524 | a0 = v0 + 0x3524;
0x0001b7cc lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._home_derek_kvs_3.0.0_amazon_kinesis_video_streams_producer_sdk_cpp_open_source_amazon_kinesis_video_streams_producer_c_src_source_CurlApiCallbacks.c */
0x0001b7d0 addiu a1, v0, 0x3528 | a1 = v0 + 0x3528;
0x0001b7d4 addiu a2, zero, 0x87e | a2 = 0x87e;
0x0001b7d8 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__PRETTY_FUNCTION__.9515 */
0x0001b7dc addiu a3, v0, 0x39e4 | a3 = v0 + 0x39e4;
0x0001b7e0 lw v0, -0x77c0(gp) | v0 = sym.imp.__assert;
0x0001b7e4 move t9, v0 | t9 = v0;
0x0001b7e8 jalr t9 | t9 ();
0x0001b7ec nop |
| }
0x0001b7f0 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b7f4 lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001b7f8 sw v0, 0x40(fp) | *(var_40h) = v0;
0x0001b7fc lw v0, 0x40(fp) | v0 = *(var_40h);
0x0001b800 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001b804 sw v0, 0x44(fp) | *(var_44h) = v0;
0x0001b808 lw v0, 0x44(fp) | v0 = *(var_44h);
0x0001b80c lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001b810 lw v0, 0x44(fp) | v0 = *(var_44h);
0x0001b814 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001b818 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001b81c lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b820 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001b824 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001b828 move a2, v0 | a2 = v0;
0x0001b82c move a3, v1 | a3 = v1;
0x0001b830 move t9, t0 | t9 = t0;
0x0001b834 jalr t9 | t9 ();
0x0001b838 nop |
0x0001b83c lw gp, 0x28(fp) | gp = *(var_28h);
0x0001b840 lw v0, 0x44(fp) | v0 = *(var_44h);
0x0001b844 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001b848 lw v0, 0x44(fp) | v0 = *(var_44h);
0x0001b84c lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001b850 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001b854 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b858 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001b85c lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001b860 move a2, v0 | a2 = v0;
0x0001b864 move a3, v1 | a3 = v1;
0x0001b868 move t9, t0 | t9 = t0;
0x0001b86c jalr t9 | t9 ();
0x0001b870 nop |
0x0001b874 lw gp, 0x28(fp) | gp = *(var_28h);
0x0001b878 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b87c addiu v0, v0, 8 | v0 += 8;
0x0001b880 move a0, v0 | a0 = v0;
0x0001b884 lw v0, -0x78a4(gp) | v0 = sym.signAwsRequestInfo;
0x0001b888 move t9, v0 | t9 = v0;
0x0001b88c jalr t9 | t9 ();
0x0001b890 nop |
0x0001b894 lw gp, 0x28(fp) | gp = *(var_28h);
0x0001b898 sw v0, 0x60(fp) | *(var_60h) = v0;
0x0001b89c lw v0, 0x60(fp) | v0 = *(var_60h);
| if (v0 != 0) {
0x0001b8a0 beqz v0, 0x1b8b8 |
0x0001b8a4 nop |
0x0001b8a8 lw v0, 0x60(fp) | v0 = *(var_60h);
0x0001b8ac sw v0, 0x30(fp) | *(var_30h) = v0;
0x0001b8b0 b 0x1ba30 | goto label_3;
0x0001b8b4 nop |
| }
0x0001b8b8 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b8bc lw v1, 0x57bc(v0) | v1 = *((v0 + 5615));
0x0001b8c0 lw v0, 0x57b8(v0) | v0 = *((v0 + 5614));
0x0001b8c4 lw a0, 0x3c(fp) | a0 = *(var_3ch);
0x0001b8c8 lw a1, 0x57d4(a0) | a1 = *((a0 + 5621));
0x0001b8cc lw a0, 0x57d0(a0) | a0 = *((a0 + 5620));
0x0001b8d0 sltu a2, v1, a1 | a2 = (v1 < a1) ? 1 : 0;
| if (a2 == 0) {
0x0001b8d4 bnez a2, 0x1b8f4 |
0x0001b8d8 nop |
0x0001b8dc move a2, v1 | a2 = v1;
| if (a1 != a2) {
0x0001b8e0 bne a1, a2, 0x1b940 | goto label_4;
| }
0x0001b8e4 nop |
0x0001b8e8 sltu v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
| if (v0 == 0) {
0x0001b8ec beqz v0, 0x1b940 | goto label_4;
| }
0x0001b8f0 nop |
| }
0x0001b8f4 lw v0, -0x799c(gp) | v0 = *(gp);
0x0001b8f8 lw t0, (v0) | t0 = *(v0);
0x0001b8fc lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b900 lw a0, 0x57d0(v0) | a0 = *((v0 + 5620));
0x0001b904 lw a1, 0x57d4(v0) | a1 = *((v0 + 5621));
0x0001b908 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b90c lw a2, 0x57b8(v0) | a2 = *((v0 + 5614));
0x0001b910 lw a3, 0x57bc(v0) | a3 = *((v0 + 5615));
0x0001b914 subu v0, a0, a2 | __asm ("subu v0, a0, a2");
0x0001b918 sltu t1, a0, v0 | t1 = (a0 < v0) ? 1 : 0;
0x0001b91c subu v1, a1, a3 | __asm ("subu v1, a1, a3");
0x0001b920 subu a0, v1, t1 | __asm ("subu a0, v1, t1");
0x0001b924 move v1, a0 | v1 = a0;
0x0001b928 move a0, v0 | a0 = v0;
0x0001b92c move a1, v1 | a1 = v1;
0x0001b930 move t9, t0 | t9 = t0;
0x0001b934 jalr t9 | t9 ();
0x0001b938 nop |
0x0001b93c lw gp, 0x28(fp) | gp = *(var_28h);
| label_4:
0x0001b940 lw a0, 0x3c(fp) | a0 = *(var_3ch);
0x0001b944 lw v0, -0x7450(gp) | v0 = sym.curlCallApi;
0x0001b948 move t9, v0 | t9 = v0;
0x0001b94c jalr t9 | t9 ();
0x0001b950 nop |
0x0001b954 lw gp, 0x28(fp) | gp = *(var_28h);
0x0001b958 sw v0, 0x64(fp) | *(var_64h) = v0;
0x0001b95c lw v0, 0x64(fp) | v0 = *(var_64h);
| if (v0 != 0) {
0x0001b960 beqz v0, 0x1b978 |
0x0001b964 nop |
0x0001b968 lw v0, 0x64(fp) | v0 = *(var_64h);
0x0001b96c sw v0, 0x30(fp) | *(var_30h) = v0;
0x0001b970 b 0x1ba30 | goto label_3;
0x0001b974 nop |
| }
0x0001b978 lw v0, -0x7eb4(gp) | v0 = *(gp);
0x0001b97c lw v0, (v0) | v0 = *(v0);
0x0001b980 lw v1, 0x3c(fp) | v1 = *(var_3ch);
0x0001b984 addiu v1, v1, 8 | v1 += 8;
0x0001b988 move a0, v1 | a0 = v1;
0x0001b98c move t9, v0 | t9 = v0;
0x0001b990 jalr t9 | t9 ();
0x0001b994 nop |
0x0001b998 lw gp, 0x28(fp) | gp = *(var_28h);
| if (v0 == 0) {
0x0001b99c bnez v0, 0x1ba30 |
0x0001b9a0 nop |
0x0001b9a4 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b9a8 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x0001b9ac sw v0, 0x48(fp) | *(var_48h) = v0;
0x0001b9b0 lw v0, 0x48(fp) | v0 = *(var_48h);
0x0001b9b4 lw v0, 0x14(v0) | v0 = *((v0 + 5));
| if (v0 == 0) {
0x0001b9b8 bnez v0, 0x1b9d0 |
0x0001b9bc nop |
0x0001b9c0 addiu v0, zero, 0xd | v0 = 0xd;
0x0001b9c4 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0001b9c8 b 0x1ba30 | goto label_3;
0x0001b9cc nop |
| }
0x0001b9d0 lw v0, -0x7f44(gp) | v0 = *(gp);
0x0001b9d4 lw t0, (v0) | t0 = *(v0);
0x0001b9d8 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b9dc addiu a1, v0, 0x57f0 | a1 = v0 + 0x57f0;
0x0001b9e0 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001b9e4 lw v1, 0x591c(v0) | v1 = *((v0 + 5703));
0x0001b9e8 lw v0, 0x5918(v0) | v0 = *((v0 + 5702));
0x0001b9ec lw a0, 0x48(fp) | a0 = *(var_48h);
0x0001b9f0 lw a0, 0x10(a0) | a0 = *((a0 + 4));
0x0001b9f4 sw a1, 0x10(sp) | *(var_10h) = a1;
0x0001b9f8 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0001b9fc sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0001ba00 sw a0, 0x20(sp) | *(var_20h) = a0;
0x0001ba04 addiu a0, zero, 2 | a0 = 2;
0x0001ba08 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x0001ba0c addiu a1, v0, 0x327c | a1 = v0 + 0x327c;
0x0001ba10 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._s__:_Network_thread_for_Kinesis_Video_stream:__s_with_upload_handle:__llu_exited._http_status:__u */
0x0001ba14 addiu a2, v0, 0x3914 | a2 = v0 + 0x3914;
0x0001ba18 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__FUNCTION__.9519 */
0x0001ba1c addiu a3, v0, 0x39fc | a3 = v0 + 0x39fc;
0x0001ba20 move t9, t0 | t9 = t0;
0x0001ba24 jalr t9 | t9 ();
0x0001ba28 nop |
0x0001ba2c lw gp, 0x28(fp) | gp = *(var_28h);
| }
| label_3:
0x0001ba30 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001ba34 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x0001ba38 beqz v0, 0x1ba60 |
0x0001ba3c nop |
0x0001ba40 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001ba44 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x0001ba48 lw v0, 0x130(v0) | v0 = *(v0);
0x0001ba4c sw v0, 0x34(fp) | *(var_34h) = v0;
0x0001ba50 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001ba54 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x0001ba58 lw v0, 0x14(v0) | v0 = *((v0 + 5));
0x0001ba5c sw v0, 0x38(fp) | *(var_38h) = v0;
| }
0x0001ba60 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001ba64 lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x0001ba68 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x0001ba6c sw v0, 0x50(fp) | *(var_50h) = v0;
0x0001ba70 sw v1, 0x54(fp) | *(var_54h) = v1;
0x0001ba74 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001ba78 lw v1, 0x591c(v0) | v1 = *((v0 + 5703));
0x0001ba7c lw v0, 0x5918(v0) | v0 = *((v0 + 5702));
0x0001ba80 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001ba84 sw v1, 0x5c(fp) | *(var_5ch) = v1;
0x0001ba88 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001ba8c move a0, zero | a0 = 0;
0x0001ba90 move a1, zero | a1 = 0;
0x0001ba94 sw a0, 0x5910(v0) | *((v0 + 5700)) = a0;
0x0001ba98 sw a1, 0x5914(v0) | *((v0 + 5701)) = a1;
0x0001ba9c lw v0, -0x7eb4(gp) | v0 = *(gp);
0x0001baa0 lw v0, (v0) | v0 = *(v0);
0x0001baa4 lw v1, 0x3c(fp) | v1 = *(var_3ch);
0x0001baa8 addiu v1, v1, 8 | v1 += 8;
0x0001baac move a0, v1 | a0 = v1;
0x0001bab0 move t9, v0 | t9 = v0;
0x0001bab4 jalr t9 | t9 ();
0x0001bab8 nop |
0x0001babc lw gp, 0x28(fp) | gp = *(var_28h);
0x0001bac0 sw v0, 0x4c(fp) | *(var_4ch) = v0;
0x0001bac4 lw v0, 0x58(fp) | v0 = *(var_58h);
0x0001bac8 lw v1, 0x5c(fp) | v1 = *(var_5ch);
0x0001bacc sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001bad0 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0001bad4 lui v0, 7 | v0 = 0x7a120;
0x0001bad8 ori v0, v0, 0xa120 |
0x0001badc move v1, zero | v1 = 0;
0x0001bae0 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0001bae4 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0001bae8 addiu v0, zero, 1 | v0 = 1;
0x0001baec sw v0, 0x20(sp) | *(var_20h) = v0;
0x0001baf0 sw zero, 0x24(sp) | *(var_24h) = 0;
0x0001baf4 lw a0, 0x40(fp) | a0 = *(var_40h);
0x0001baf8 lw a2, 0x50(fp) | a2 = *(var_50h);
0x0001bafc lw a3, 0x54(fp) | a3 = *(var_54h);
0x0001bb00 lw v0, -0x7d54(gp) | v0 = sym.curlApiCallbacksShutdownActiveUploads;
0x0001bb04 move t9, v0 | t9 = v0;
0x0001bb08 jalr t9 | t9 ();
0x0001bb0c nop |
0x0001bb10 lw gp, 0x28(fp) | gp = *(var_28h);
0x0001bb14 lw v0, 0x4c(fp) | v0 = *(var_4ch);
| if (v0 == 0) {
0x0001bb18 bnez v0, 0x1bbc8 |
0x0001bb1c nop |
0x0001bb20 lw v0, 0x34(fp) | v0 = *(var_34h);
| if (v0 == 0) {
0x0001bb24 bnez v0, 0x1bba4 |
0x0001bb28 nop |
0x0001bb2c lw v0, -0x7f44(gp) | v0 = *(gp);
0x0001bb30 lw t0, (v0) | t0 = *(v0);
0x0001bb34 lw v0, 0x50(fp) | v0 = *(var_50h);
0x0001bb38 lw v1, 0x54(fp) | v1 = *(var_54h);
0x0001bb3c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001bb40 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0001bb44 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0001bb48 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0001bb4c addiu a0, zero, 4 | a0 = 4;
0x0001bb50 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str.CurlApiCallbacks */
0x0001bb54 addiu a1, v0, 0x327c | a1 = v0 + 0x327c;
0x0001bb58 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._s__:_Stream_with_streamHandle__llu_has_exited_without_triggering_end_of_stream._Service_call_result:__u */
0x0001bb5c addiu a2, v0, 0x3978 | a2 = v0 + 0x3978;
0x0001bb60 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__FUNCTION__.9519 */
0x0001bb64 addiu a3, v0, 0x39fc | a3 = v0 + 0x39fc;
0x0001bb68 move t9, t0 | t9 = t0;
0x0001bb6c jalr t9 | t9 ();
0x0001bb70 nop |
0x0001bb74 lw gp, 0x28(fp) | gp = *(var_28h);
0x0001bb78 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0001bb7c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001bb80 lw a0, 0x50(fp) | a0 = *(var_50h);
0x0001bb84 lw a1, 0x54(fp) | a1 = *(var_54h);
0x0001bb88 lw a2, 0x58(fp) | a2 = *(var_58h);
0x0001bb8c lw a3, 0x5c(fp) | a3 = *(var_5ch);
0x0001bb90 lw v0, -0x7864(gp) | v0 = sym.kinesisVideoStreamTerminated;
0x0001bb94 move t9, v0 | t9 = v0;
0x0001bb98 jalr t9 | t9 ();
0x0001bb9c nop |
0x0001bba0 lw gp, 0x28(fp) | gp = *(var_28h);
| }
0x0001bba4 lw a0, 0x44(fp) | a0 = *(var_44h);
0x0001bba8 lw a1, 0x30(fp) | a1 = *(var_30h);
0x0001bbac lw a2, 0x50(fp) | a2 = *(var_50h);
0x0001bbb0 lw a3, 0x54(fp) | a3 = *(var_54h);
0x0001bbb4 lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x0001bbb8 move t9, v0 | t9 = v0;
0x0001bbbc jalr t9 | t9 ();
0x0001bbc0 nop |
0x0001bbc4 lw gp, 0x28(fp) | gp = *(var_28h);
| }
0x0001bbc8 lw v0, 0x30(fp) | v0 = *(var_30h);
0x0001bbcc move sp, fp |
0x0001bbd0 lw ra, 0x6c(sp) | ra = *(var_6ch);
0x0001bbd4 lw fp, 0x68(sp) | fp = *(var_68h);
0x0001bbd8 addiu sp, sp, 0x70 |
0x0001bbdc jr ra | return v0;
0x0001bbe0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x19ca0 */
| #include <stdint.h>
|
; (fcn) sym.tagResourceCurl () | void tagResourceCurl () {
0x00019ca0 lui gp, 7 |
0x00019ca4 addiu gp, gp, 0x7430 |
0x00019ca8 addu gp, gp, t9 | gp += t9;
0x00019cac addiu sp, sp, -0x10e0 |
0x00019cb0 sw ra, 0x10dc(sp) | *(var_10dch) = ra;
0x00019cb4 sw fp, 0x10d8(sp) | *(var_10d8h) = fp;
0x00019cb8 sw s1, 0x10d4(sp) | *(var_10d4h) = s1;
0x00019cbc sw s0, 0x10d0(sp) | *(var_10d0h) = s0;
0x00019cc0 move fp, sp | fp = sp;
0x00019cc4 sw gp, 0x50(sp) | *(var_50h) = gp;
0x00019cc8 sw a0, 0x10e0(fp) | *(arg_10e0h) = a0;
0x00019ccc sw a1, 0x10e4(fp) | *(arg_10e4h) = a1;
0x00019cd0 sw a2, 0x10e8(fp) | *(arg_10e8h) = a2;
0x00019cd4 sw a3, 0x10ec(fp) | *(arg_10ech) = a3;
0x00019cd8 sw zero, 0x58(fp) | *(var_58h) = 0;
0x00019cdc sw zero, 0x5c(fp) | *(var_5ch) = 0;
0x00019ce0 sw zero, 0x60(fp) | *(var_60h) = 0;
0x00019ce4 move v0, zero | v0 = 0;
0x00019ce8 move v1, zero | v1 = 0;
0x00019cec sw v0, 0x10c0(fp) | *(var_10c0h) = v0;
0x00019cf0 sw v1, 0x10c4(fp) | *(var_10c4h) = v1;
0x00019cf4 lw v0, 0x10e0(fp) | v0 = *(arg_10e0h);
0x00019cf8 sw v0, 0x7c(fp) | *(var_7ch) = v0;
0x00019cfc sw zero, 0x10c8(fp) | *(var_10c8h) = 0;
0x00019d00 sw zero, 0x6c(fp) | *(var_6ch) = 0;
0x00019d04 sw zero, 0x70(fp) | *(var_70h) = 0;
0x00019d08 sw zero, 0x74(fp) | *(var_74h) = 0;
0x00019d0c sw zero, 0x78(fp) | *(var_78h) = 0;
0x00019d10 sw zero, 0x10cc(fp) | *(var_10cch) = 0;
0x00019d14 move v0, zero | v0 = 0;
0x00019d18 move v1, zero | v1 = 0;
0x00019d1c sw v0, 0x80(fp) | *(var_80h) = v0;
0x00019d20 sw v1, 0x84(fp) | *(var_84h) = v1;
0x00019d24 lw v0, 0x7c(fp) | v0 = *(var_7ch);
| if (v0 != 0) {
0x00019d28 beqz v0, 0x19d4c |
0x00019d2c nop |
0x00019d30 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x00019d34 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x00019d38 beqz v0, 0x19d4c | goto label_0;
| }
0x00019d3c nop |
0x00019d40 lw v0, 0x10f4(fp) | v0 = *(arg_10f4h);
| if (v0 != 0) {
0x00019d44 bnez v0, 0x19d5c | goto label_1;
| }
0x00019d48 nop |
| }
| label_0:
0x00019d4c addiu v0, zero, 2 | v0 = 2;
0x00019d50 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019d54 b 0x1a448 | goto label_2;
0x00019d58 nop |
| label_1:
0x00019d5c lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x00019d60 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x00019d64 sw v0, 0x6c(fp) | *(var_6ch) = v0;
0x00019d68 lw v0, 0x10f4(fp) | v0 = *(arg_10f4h);
0x00019d6c lw v1, 0x1c(v0) | v1 = *((v0 + 7));
0x00019d70 lw v0, 0x18(v0) | v0 = *((v0 + 6));
0x00019d74 sw v0, 0x80(fp) | *(var_80h) = v0;
0x00019d78 sw v1, 0x84(fp) | *(var_84h) = v1;
0x00019d7c lw v0, 0x10ec(fp) | v0 = *(arg_10ech);
| if (v0 != 0) {
0x00019d80 beqz v0, 0x19d94 |
0x00019d84 nop |
0x00019d88 lw v0, 0x10f0(fp) | v0 = *(arg_10f0h);
| if (v0 != 0) {
0x00019d8c bnez v0, 0x19da4 | goto label_3;
| }
0x00019d90 nop |
| }
0x00019d94 addiu v0, zero, 0xc | v0 = 0xc;
0x00019d98 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019d9c b 0x1a448 | goto label_2;
0x00019da0 nop |
| label_3:
0x00019da4 lw v0, -0x7e9c(gp) | v0 = *(gp);
0x00019da8 lw v0, (v0) | v0 = *(v0);
0x00019dac lui v1, 1 | v1 = 10000;
0x00019db0 ori a0, v1, 0x900 | a0 = _curl_easy_setopt_err_postfields;
0x00019db4 move t9, v0 | t9 = v0;
0x00019db8 jalr t9 | t9 ();
0x00019dbc nop |
0x00019dc0 lw gp, 0x50(fp) | gp = *(var_50h);
0x00019dc4 sw v0, 0x5c(fp) | *(var_5ch) = v0;
0x00019dc8 lw v0, 0x5c(fp) | v0 = *(var_5ch);
| if (v0 == 0) {
0x00019dcc bnez v0, 0x19de4 |
0x00019dd0 nop |
0x00019dd4 addiu v0, zero, 4 | v0 = 4;
0x00019dd8 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019ddc b 0x1a448 | goto label_2;
0x00019de0 nop |
| }
0x00019de4 lw v0, -0x7e9c(gp) | v0 = *(gp);
0x00019de8 lw v0, (v0) | v0 = *(v0);
0x00019dec lui v1, 1 | v1 = 10000;
0x00019df0 ori a0, v1, 0x900 | a0 = _curl_easy_setopt_err_postfields;
0x00019df4 move t9, v0 | t9 = v0;
0x00019df8 jalr t9 | t9 ();
0x00019dfc nop |
0x00019e00 lw gp, 0x50(fp) | gp = *(var_50h);
0x00019e04 sw v0, 0x60(fp) | *(var_60h) = v0;
0x00019e08 lw v0, 0x60(fp) | v0 = *(var_60h);
| if (v0 == 0) {
0x00019e0c bnez v0, 0x19e24 |
0x00019e10 nop |
0x00019e14 addiu v0, zero, 4 | v0 = 4;
0x00019e18 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019e1c b 0x1a448 | goto label_2;
0x00019e20 nop |
| }
0x00019e24 sw zero, 0x64(fp) | *(var_64h) = 0;
0x00019e28 lw v0, 0x60(fp) | v0 = *(var_60h);
0x00019e2c sw v0, 0x68(fp) | *(var_68h) = v0;
0x00019e30 b 0x19ef0 | goto label_4;
0x00019e34 nop |
| do {
0x00019e38 lw v1, 0x60(fp) | v1 = *(var_60h);
0x00019e3c lw v0, 0x68(fp) | v0 = *(var_68h);
0x00019e40 subu v1, v1, v0 | __asm ("subu v1, v1, v0");
0x00019e44 lui v0, 1 | v0 = _curl_easy_setopt_err_postfields;
0x00019e48 ori v0, v0, 0x900 |
0x00019e4c addu v0, v1, v0 | v0 = v1 + v0;
0x00019e50 move a1, v0 | a1 = v0;
0x00019e54 lw v0, 0x64(fp) | v0 = *(var_64h);
0x00019e58 sll v0, v0, 2 | v0 <<= 2;
0x00019e5c sll v1, v0, 2 | v1 = v0 << 2;
0x00019e60 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00019e64 lw v1, 0x10f0(fp) | v1 = *(arg_10f0h);
0x00019e68 addu v0, v1, v0 | v0 = v1 + v0;
0x00019e6c lw v1, 4(v0) | v1 = *((v0 + 1));
0x00019e70 lw v0, 0x64(fp) | v0 = *(var_64h);
0x00019e74 sll v0, v0, 2 | v0 <<= 2;
0x00019e78 sll a0, v0, 2 | a0 = v0 << 2;
0x00019e7c subu v0, a0, v0 | __asm ("subu v0, a0, v0");
0x00019e80 lw a0, 0x10f0(fp) | a0 = *(arg_10f0h);
0x00019e84 addu v0, a0, v0 | v0 = a0 + v0;
0x00019e88 lw v0, 8(v0) | v0 = *((v0 + 2));
0x00019e8c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00019e90 lw a0, 0x68(fp) | a0 = *(var_68h);
0x00019e94 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._n_t_t__s_:___s__ */
0x00019e98 addiu a2, v0, 0x37c8 | a2 = v0 + 0x37c8;
0x00019e9c move a3, v1 | a3 = v1;
0x00019ea0 lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x00019ea4 move t9, v0 | t9 = v0;
0x00019ea8 jalr t9 | t9 ();
0x00019eac nop |
0x00019eb0 lw gp, 0x50(fp) | gp = *(var_50h);
0x00019eb4 sw v0, 0x88(fp) | *(var_88h) = v0;
0x00019eb8 lw v0, 0x88(fp) | v0 = *(var_88h);
| if (v0 <= 0) {
0x00019ebc bgtz v0, 0x19ed4 |
0x00019ec0 nop |
0x00019ec4 addiu v0, zero, 0xc | v0 = 0xc;
0x00019ec8 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019ecc b 0x1a448 | goto label_2;
0x00019ed0 nop |
| }
0x00019ed4 lw v0, 0x88(fp) | v0 = *(var_88h);
0x00019ed8 lw v1, 0x68(fp) | v1 = *(var_68h);
0x00019edc addu v0, v1, v0 | v0 = v1 + v0;
0x00019ee0 sw v0, 0x68(fp) | *(var_68h) = v0;
0x00019ee4 lw v0, 0x64(fp) | v0 = *(var_64h);
0x00019ee8 addiu v0, v0, 1 | v0++;
0x00019eec sw v0, 0x64(fp) | *(var_64h) = v0;
| label_4:
0x00019ef0 lw v1, 0x64(fp) | v1 = *(var_64h);
0x00019ef4 lw v0, 0x10ec(fp) | v0 = *(arg_10ech);
0x00019ef8 sltu v0, v1, v0 | v0 = (v1 < v0) ? 1 : 0;
0x00019efc bnez v0, 0x19e38 |
| } while (v0 != 0);
0x00019f00 nop |
0x00019f04 lw v0, 0x68(fp) | v0 = *(var_68h);
0x00019f08 addiu v0, v0, -1 | v0 += -1;
0x00019f0c sb zero, (v0) | *(v0) = 0;
0x00019f10 lw v0, 0x60(fp) | v0 = *(var_60h);
0x00019f14 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00019f18 lw a0, 0x5c(fp) | a0 = *(var_5ch);
0x00019f1c lui v0, 1 | v0 = 10000;
0x00019f20 ori a1, v0, 0x900 | a1 = _curl_easy_setopt_err_postfields;
0x00019f24 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._n_t_StreamARN_:___s___n_t_Tags_:__s_n_t_n */
0x00019f28 addiu a2, v0, 0x37d8 | a2 = v0 + 0x37d8;
0x00019f2c lw a3, 0x10e8(fp) | a3 = *(arg_10e8h);
0x00019f30 lw v0, -0x7b44(gp) | v0 = sym.imp.snprintf;
0x00019f34 move t9, v0 | t9 = v0;
0x00019f38 jalr t9 | t9 ();
0x00019f3c nop |
0x00019f40 lw gp, 0x50(fp) | gp = *(var_50h);
0x00019f44 lw v0, 0x10f4(fp) | v0 = *(arg_10f4h);
0x00019f48 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00019f4c addiu v0, v0, 8 | v0 += 8;
0x00019f50 move a0, v0 | a0 = v0;
0x00019f54 lw v0, -0x7950(gp) | v0 = sym.deserializeAwsCredentials;
0x00019f58 move t9, v0 | t9 = v0;
0x00019f5c jalr t9 | t9 ();
0x00019f60 nop |
0x00019f64 lw gp, 0x50(fp) | gp = *(var_50h);
0x00019f68 sw v0, 0x8c(fp) | *(var_8ch) = v0;
0x00019f6c lw v0, 0x8c(fp) | v0 = *(var_8ch);
| if (v0 != 0) {
0x00019f70 beqz v0, 0x19f88 |
0x00019f74 nop |
0x00019f78 lw v0, 0x8c(fp) | v0 = *(var_8ch);
0x00019f7c sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019f80 b 0x1a448 | goto label_2;
0x00019f84 nop |
| }
0x00019f88 lw v0, 0x10f4(fp) | v0 = *(arg_10f4h);
0x00019f8c lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00019f90 addiu v0, v0, 8 | v0 += 8;
0x00019f94 sw v0, 0x90(fp) | *(var_90h) = v0;
0x00019f98 lw v0, 0x90(fp) | v0 = *(var_90h);
0x00019f9c lw v0, (v0) | v0 = *(v0);
| if (v0 != 0) {
0x00019fa0 beqz v0, 0x19fbc |
0x00019fa4 nop |
0x00019fa8 lui v0, 0x1500 | v0 = 0x15000008;
0x00019fac ori v0, v0, 8 |
0x00019fb0 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019fb4 b 0x1a448 | goto label_2;
0x00019fb8 nop |
| }
0x00019fbc lw v0, 0x90(fp) | v0 = *(var_90h);
0x00019fc0 lw v1, 4(v0) | v1 = *((v0 + 1));
0x00019fc4 lw v0, 0x10f4(fp) | v0 = *(arg_10f4h);
0x00019fc8 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00019fcc lw v0, 0x2718(v0) | v0 = *((v0 + 2502));
| if (v1 != v0) {
0x00019fd0 beq v1, v0, 0x19fe8 |
0x00019fd4 nop |
0x00019fd8 addiu v0, zero, 0xc | v0 = 0xc;
0x00019fdc sw v0, 0x58(fp) | *(var_58h) = v0;
0x00019fe0 b 0x1a448 | goto label_2;
0x00019fe4 nop |
| }
0x00019fe8 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x00019fec addiu v0, v0, 0x21e | v0 += 0x21e;
0x00019ff0 addiu v1, fp, 0xb8 | v1 = fp + 0xb8;
0x00019ff4 move a0, v1 | a0 = v1;
0x00019ff8 move a1, v0 | a1 = v0;
0x00019ffc lw v0, -0x792c(gp) | v0 = sym.imp.strcpy
0x0001a000 move t9, v0 | t9 = v0;
0x0001a004 jalr t9 | t9 ();
0x0001a008 nop |
0x0001a00c lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a010 addiu v0, fp, 0xb8 | v0 = fp + 0xb8;
0x0001a014 move a0, v0 | a0 = v0;
0x0001a018 lw v0, -0x7dfc(gp) | v0 = sym.imp.strlen;
0x0001a01c move t9, v0 | t9 = v0;
0x0001a020 jalr t9 | t9 ();
0x0001a024 nop |
0x0001a028 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a02c addiu v1, fp, 0xb8 | v1 = fp + 0xb8;
0x0001a030 addu v0, v1, v0 | v0 = v1 + v0;
0x0001a034 lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
0x0001a038 lw a1, 0x3800(v1) | a1 = *((v1 + 3584));
| /* str._tagStream */
0x0001a03c addiu a0, v1, 0x3800 | a0 = v1 + 0x3800;
0x0001a040 lw a0, 4(a0) | a0 = *((a0 + 1));
0x0001a044 swl a1, 3(v0) | __asm ("swl a1, 3(v0)");
0x0001a048 swr a1, (v0) | __asm ("swr a1, (v0)");
0x0001a04c swl a0, 7(v0) | __asm ("swl a0, 7(v0)");
0x0001a050 swr a0, 4(v0) | __asm ("swr a0, 4(v0)");
| /* str._tagStream */
0x0001a054 addiu v1, v1, 0x3800 | v1 += 0x3800;
0x0001a058 lbu a0, 8(v1) | a0 = *((v1 + 8));
0x0001a05c sb a0, 8(v0) | *((v0 + 8)) = a0;
0x0001a060 lbu a0, 9(v1) | a0 = *((v1 + 9));
0x0001a064 sb a0, 9(v0) | *((v0 + 9)) = a0;
0x0001a068 lbu v1, 0xa(v1) | v1 = *((v1 + 10));
0x0001a06c sb v1, 0xa(v0) | *((v0 + 10)) = v1;
0x0001a070 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a074 lw a2, 0x10(v0) | a2 = *((v0 + 4));
0x0001a078 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a07c lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x0001a080 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001a084 move a0, v0 | a0 = v0;
0x0001a088 move a1, v1 | a1 = v1;
0x0001a08c move t9, a2 | t9 = a2;
0x0001a090 jalr t9 | t9 ();
0x0001a094 nop |
0x0001a098 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a09c sw v0, 0x98(fp) | *(var_98h) = v0;
0x0001a0a0 sw v1, 0x9c(fp) | *(var_9ch) = v1;
0x0001a0a4 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a0a8 addiu t2, v0, 0x9c | t2 = v0 + 0x9c;
0x0001a0ac lw v0, 0x10f4(fp) | v0 = *(arg_10f4h);
0x0001a0b0 lw a0, 0x10(v0) | a0 = *((v0 + 4));
0x0001a0b4 lw a1, 0x14(v0) | a1 = *((v0 + 5));
0x0001a0b8 lw v0, 0x10f4(fp) | v0 = *(arg_10f4h);
0x0001a0bc lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x0001a0c0 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001a0c4 lw a2, 0x7c(fp) | a2 = *(var_7ch);
0x0001a0c8 addiu t1, a2, 0x292f | t1 = a2 + 0x292f;
0x0001a0cc addiu t0, fp, 0xb8 | t0 = fp + 0xb8;
0x0001a0d0 lw a2, 0x80(fp) | a2 = *(var_80h);
0x0001a0d4 lw a3, 0x84(fp) | a3 = *(var_84h);
0x0001a0d8 sw a2, 0x10(sp) | *(var_10h) = a2;
0x0001a0dc sw a3, 0x14(sp) | *(var_14h) = a3;
0x0001a0e0 sw t2, 0x18(sp) | *(var_18h) = t2;
0x0001a0e4 lw a2, 0x98(fp) | a2 = *(var_98h);
0x0001a0e8 lw a3, 0x9c(fp) | a3 = *(var_9ch);
0x0001a0ec sw a2, 0x20(sp) | *(var_20h) = a2;
0x0001a0f0 sw a3, 0x24(sp) | *(var_24h) = a3;
0x0001a0f4 lui a2, 0x2fa | a2 = 0x2faf080;
0x0001a0f8 ori a2, a2, 0xf080 |
0x0001a0fc move a3, zero | a3 = 0;
0x0001a100 sw a2, 0x28(sp) | *(var_28h) = a2;
0x0001a104 sw a3, 0x2c(sp) | *(var_2ch) = a3;
0x0001a108 sw a0, 0x30(sp) | *(var_30h) = a0;
0x0001a10c sw a1, 0x34(sp) | *(var_34h) = a1;
0x0001a110 sw v0, 0x38(sp) | *(var_38h) = v0;
0x0001a114 sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x0001a118 sw t1, 0x40(sp) | *(var_40h) = t1;
0x0001a11c lw v0, 0x90(fp) | v0 = *(var_90h);
0x0001a120 sw v0, 0x44(sp) | *(var_44h) = v0;
0x0001a124 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a128 sw v0, 0x48(sp) | *(var_48h) = v0;
0x0001a12c addiu v0, fp, 0x10c8 | v0 = fp + 0x10c8;
0x0001a130 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x0001a134 addiu a0, zero, 1 | a0 = 1;
0x0001a138 move a1, t0 | a1 = t0;
0x0001a13c lw a2, 0x5c(fp) | a2 = *(var_5ch);
0x0001a140 lw v0, -0x7f24(gp) | v0 = sym.createCurlRequest;
0x0001a144 move t9, v0 | t9 = v0;
0x0001a148 jalr t9 | t9 ();
0x0001a14c nop |
0x0001a150 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a154 sw v0, 0xa0(fp) | *(var_a0h) = v0;
0x0001a158 lw v0, 0xa0(fp) | v0 = *(var_a0h);
| if (v0 != 0) {
0x0001a15c beqz v0, 0x1a174 |
0x0001a160 nop |
0x0001a164 lw v0, 0xa0(fp) | v0 = *(var_a0h);
0x0001a168 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001a16c b 0x1a448 | goto label_2;
0x0001a170 nop |
| }
0x0001a174 lw v0, 0x10c8(fp) | v0 = *(var_10c8h);
0x0001a178 addiu v1, v0, 8 | v1 = v0 + 8;
0x0001a17c lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a180 addiu v0, v0, 0x11d | v0 += 0x11d;
0x0001a184 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001a188 move a0, v1 | a0 = v1;
0x0001a18c lw v1, -0x7fcc(gp) | v1 = *((gp - 8179));
| /* esilref: 'user-agent' */
0x0001a190 addiu a1, v1, 0x34f4 | a1 = v1 + 0x34f4;
0x0001a194 move a2, zero | a2 = 0;
0x0001a198 move a3, v0 | a3 = v0;
0x0001a19c lw v0, -0x7ec0(gp) | v0 = sym.setRequestHeader;
0x0001a1a0 move t9, v0 | t9 = v0;
0x0001a1a4 jalr t9 | t9 ();
0x0001a1a8 nop |
0x0001a1ac lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a1b0 sw v0, 0xa4(fp) | *(var_a4h) = v0;
0x0001a1b4 lw v0, 0xa4(fp) | v0 = *(var_a4h);
| if (v0 != 0) {
0x0001a1b8 beqz v0, 0x1a1d0 |
0x0001a1bc nop |
0x0001a1c0 lw v0, 0xa4(fp) | v0 = *(var_a4h);
0x0001a1c4 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001a1c8 b 0x1a448 | goto label_2;
0x0001a1cc nop |
| }
0x0001a1d0 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a1d4 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001a1d8 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a1dc lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a1e0 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a1e4 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a1e8 lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x0001a1ec lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x0001a1f0 move a2, v0 | a2 = v0;
0x0001a1f4 move a3, v1 | a3 = v1;
0x0001a1f8 move t9, t0 | t9 = t0;
0x0001a1fc jalr t9 | t9 ();
0x0001a200 nop |
0x0001a204 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a208 addiu v0, zero, 1 | v0 = 1;
0x0001a20c sw v0, 0x74(fp) | *(var_74h) = v0;
0x0001a210 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a214 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001a218 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a21c lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a220 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a224 lw v0, 0x10c8(fp) | v0 = *(var_10c8h);
0x0001a228 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001a22c lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001a230 move a2, v0 | a2 = v0;
0x0001a234 move a3, v1 | a3 = v1;
0x0001a238 move t9, t0 | t9 = t0;
0x0001a23c jalr t9 | t9 ();
0x0001a240 nop |
0x0001a244 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a248 addiu v0, zero, 1 | v0 = 1;
0x0001a24c sw v0, 0x70(fp) | *(var_70h) = v0;
0x0001a250 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a254 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001a258 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001a25c lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a260 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001a264 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a268 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a26c lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a270 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001a274 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x0001a278 move a2, v0 | a2 = v0;
0x0001a27c move a3, v1 | a3 = v1;
0x0001a280 move t9, t0 | t9 = t0;
0x0001a284 jalr t9 | t9 ();
0x0001a288 nop |
0x0001a28c lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a290 addiu v0, zero, 1 | v0 = 1;
0x0001a294 sw v0, 0x78(fp) | *(var_78h) = v0;
0x0001a298 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a29c lw v0, 0x3984(v0) | v0 = *((v0 + 3681));
0x0001a2a0 addiu v1, fp, 0x10cc | v1 = fp + 0x10cc;
0x0001a2a4 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0001a2a8 move a0, v0 | a0 = v0;
0x0001a2ac lw a2, 0x80(fp) | a2 = *(var_80h);
0x0001a2b0 lw a3, 0x84(fp) | a3 = *(var_84h);
0x0001a2b4 lw v0, -0x7c88(gp) | v0 = sym.hashTableContains;
0x0001a2b8 move t9, v0 | t9 = v0;
0x0001a2bc jalr t9 | t9 ();
0x0001a2c0 nop |
0x0001a2c4 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a2c8 sw v0, 0xa8(fp) | *(var_a8h) = v0;
0x0001a2cc lw v0, 0xa8(fp) | v0 = *(var_a8h);
| if (v0 != 0) {
0x0001a2d0 beqz v0, 0x1a2e8 |
0x0001a2d4 nop |
0x0001a2d8 lw v0, 0xa8(fp) | v0 = *(var_a8h);
0x0001a2dc sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001a2e0 b 0x1a448 | goto label_2;
0x0001a2e4 nop |
| }
0x0001a2e8 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a2ec lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001a2f0 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001a2f4 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a2f8 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001a2fc lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a300 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a304 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a308 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001a30c lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x0001a310 move a2, v0 | a2 = v0;
0x0001a314 move a3, v1 | a3 = v1;
0x0001a318 move t9, t0 | t9 = t0;
0x0001a31c jalr t9 | t9 ();
0x0001a320 nop |
0x0001a324 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a328 sw zero, 0x78(fp) | *(var_78h) = 0;
0x0001a32c lw v0, 0x10cc(fp) | v0 = *(var_10cch);
| if (v0 != 0) {
0x0001a330 beqz v0, 0x1a34c |
0x0001a334 nop |
0x0001a338 lui v0, 0x1500 | v0 = 0x1500001e;
0x0001a33c ori v0, v0, 0x1e |
0x0001a340 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001a344 b 0x1a448 | goto label_2;
0x0001a348 nop |
| }
0x0001a34c lw v0, -0x7dc0(gp) | v0 = *(gp);
0x0001a350 lw v0, (v0) | v0 = *(v0);
0x0001a354 lw v1, 0x10c8(fp) | v1 = *(var_10c8h);
0x0001a358 addiu a0, fp, 0x10c0 | a0 = fp + 0x10c0;
0x0001a35c lw a1, -0x7e74(gp) | a1 = sym.tagResourceCurlHandler;
0x0001a360 move a2, v1 | a2 = v1;
0x0001a364 move t9, v0 | t9 = v0;
0x0001a368 jalr t9 | t9 ();
0x0001a36c nop |
0x0001a370 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a374 sw v0, 0xac(fp) | *(var_ach) = v0;
0x0001a378 lw v0, 0xac(fp) | v0 = *(var_ach);
| if (v0 != 0) {
0x0001a37c beqz v0, 0x1a394 |
0x0001a380 nop |
0x0001a384 lw v0, 0xac(fp) | v0 = *(var_ach);
0x0001a388 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001a38c b 0x1a448 | goto label_2;
0x0001a390 nop |
| }
0x0001a394 lw v0, -0x7e60(gp) | v0 = *(gp);
0x0001a398 lw a2, (v0) | a2 = *(v0);
0x0001a39c lw v0, 0x10c0(fp) | v0 = *(var_10c0h);
0x0001a3a0 lw v1, 0x10c4(fp) | v1 = *(var_10c4h);
0x0001a3a4 move a0, v0 | a0 = v0;
0x0001a3a8 move a1, v1 | a1 = v1;
0x0001a3ac move t9, a2 | t9 = a2;
0x0001a3b0 jalr t9 | t9 ();
0x0001a3b4 nop |
0x0001a3b8 lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a3bc sw v0, 0xb0(fp) | *(var_b0h) = v0;
0x0001a3c0 lw v0, 0xb0(fp) | v0 = *(var_b0h);
| if (v0 != 0) {
0x0001a3c4 beqz v0, 0x1a3dc |
0x0001a3c8 nop |
0x0001a3cc lw v0, 0xb0(fp) | v0 = *(var_b0h);
0x0001a3d0 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001a3d4 b 0x1a448 | goto label_2;
0x0001a3d8 nop |
| }
0x0001a3dc lw a0, 0x10c8(fp) | a0 = *(var_10c8h);
0x0001a3e0 lw v0, 0x10c0(fp) | v0 = *(var_10c0h);
0x0001a3e4 lw v1, 0x10c4(fp) | v1 = *(var_10c4h);
0x0001a3e8 sw v0, 0x5910(a0) | *((a0 + 5700)) = v0;
0x0001a3ec sw v1, 0x5914(a0) | *((a0 + 5701)) = v1;
0x0001a3f0 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a3f4 lw v1, 0x3950(v0) | v1 = *((v0 + 3668));
0x0001a3f8 lw v0, 0x10c8(fp) | v0 = *(var_10c8h);
0x0001a3fc move s0, v0 | s0 = v0;
0x0001a400 sra v0, v0, 0x1f | v0 >>= 0x1f;
0x0001a404 move s1, v0 | s1 = v0;
0x0001a408 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0001a40c sw s1, 0x14(sp) | *(var_14h) = s1;
0x0001a410 move a0, v1 | a0 = v1;
0x0001a414 lw a2, 0x80(fp) | a2 = *(var_80h);
0x0001a418 lw a3, 0x84(fp) | a3 = *(var_84h);
0x0001a41c lw v0, -0x790c(gp) | v0 = sym.hashTablePut;
0x0001a420 move t9, v0 | t9 = v0;
0x0001a424 jalr t9 | t9 ();
0x0001a428 nop |
0x0001a42c lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a430 sw v0, 0xb4(fp) | *(var_b4h) = v0;
0x0001a434 lw v0, 0xb4(fp) | v0 = *(var_b4h);
| if (v0 != 0) {
0x0001a438 beqz v0, 0x1a448 |
0x0001a43c nop |
0x0001a440 lw v0, 0xb4(fp) | v0 = *(var_b4h);
0x0001a444 sw v0, 0x58(fp) | *(var_58h) = v0;
| }
| label_2:
0x0001a448 lw v0, 0x58(fp) | v0 = *(var_58h);
| if (v0 != 0) {
0x0001a44c beqz v0, 0x1a4b8 |
0x0001a450 nop |
0x0001a454 lw a0, 0x10c0(fp) | a0 = *(var_10c0h);
0x0001a458 lw a1, 0x10c4(fp) | a1 = *(var_10c4h);
0x0001a45c move v0, a0 | v0 = a0;
0x0001a460 or v0, v0, a1 | v0 |= a1;
| if (v0 != 0) {
0x0001a464 beqz v0, 0x1a494 |
0x0001a468 nop |
0x0001a46c lw v0, -0x7e48(gp) | v0 = *(gp);
0x0001a470 lw a2, (v0) | a2 = *(v0);
0x0001a474 lw v0, 0x10c0(fp) | v0 = *(var_10c0h);
0x0001a478 lw v1, 0x10c4(fp) | v1 = *(var_10c4h);
0x0001a47c move a0, v0 | a0 = v0;
0x0001a480 move a1, v1 | a1 = v1;
0x0001a484 move t9, a2 | t9 = a2;
0x0001a488 jalr t9 | t9 ();
0x0001a48c nop |
0x0001a490 lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001a494 addiu v0, fp, 0x10c8 | v0 = fp + 0x10c8;
0x0001a498 move a0, v0 | a0 = v0;
0x0001a49c lw v0, -0x7858(gp) | v0 = sym.freeCurlRequest;
0x0001a4a0 move t9, v0 | t9 = v0;
0x0001a4a4 jalr t9 | t9 ();
0x0001a4a8 nop |
0x0001a4ac lw gp, 0x50(fp) | gp = *(var_50h);
0x0001a4b0 b 0x1a4fc | goto label_5;
0x0001a4b4 nop |
| }
0x0001a4b8 lw v0, 0x70(fp) | v0 = *(var_70h);
| if (v0 != 0) {
0x0001a4bc beqz v0, 0x1a4fc |
0x0001a4c0 nop |
0x0001a4c4 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a4c8 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001a4cc lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a4d0 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a4d4 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a4d8 lw v0, 0x10c8(fp) | v0 = *(var_10c8h);
0x0001a4dc lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001a4e0 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001a4e4 move a2, v0 | a2 = v0;
0x0001a4e8 move a3, v1 | a3 = v1;
0x0001a4ec move t9, t0 | t9 = t0;
0x0001a4f0 jalr t9 | t9 ();
0x0001a4f4 nop |
0x0001a4f8 lw gp, 0x50(fp) | gp = *(var_50h);
| }
| label_5:
0x0001a4fc lw v0, 0x78(fp) | v0 = *(var_78h);
| if (v0 != 0) {
0x0001a500 beqz v0, 0x1a540 |
0x0001a504 nop |
0x0001a508 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a50c lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001a510 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a514 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a518 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a51c lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a520 lw v1, 0x398c(v0) | v1 = *(v0);
0x0001a524 lw v0, 0x3988(v0) | v0 = *((v0 + 3682));
0x0001a528 move a2, v0 | a2 = v0;
0x0001a52c move a3, v1 | a3 = v1;
0x0001a530 move t9, t0 | t9 = t0;
0x0001a534 jalr t9 | t9 ();
0x0001a538 nop |
0x0001a53c lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001a540 lw v0, 0x74(fp) | v0 = *(var_74h);
| if (v0 != 0) {
0x0001a544 beqz v0, 0x1a584 |
0x0001a548 nop |
0x0001a54c lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a550 lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001a554 lw v0, 0x6c(fp) | v0 = *(var_6ch);
0x0001a558 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a55c lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a560 lw v0, 0x7c(fp) | v0 = *(var_7ch);
0x0001a564 lw v1, 0x395c(v0) | v1 = *((v0 + 3671));
0x0001a568 lw v0, 0x3958(v0) | v0 = *((v0 + 3670));
0x0001a56c move a2, v0 | a2 = v0;
0x0001a570 move a3, v1 | a3 = v1;
0x0001a574 move t9, t0 | t9 = t0;
0x0001a578 jalr t9 | t9 ();
0x0001a57c nop |
0x0001a580 lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001a584 lw v0, 0x5c(fp) | v0 = *(var_5ch);
| if (v0 != 0) {
0x0001a588 beqz v0, 0x1a5ac |
0x0001a58c nop |
0x0001a590 lw v0, -0x7d50(gp) | v0 = *(gp);
0x0001a594 lw v0, (v0) | v0 = *(v0);
0x0001a598 lw a0, 0x5c(fp) | a0 = *(var_5ch);
0x0001a59c move t9, v0 | t9 = v0;
0x0001a5a0 jalr t9 | t9 ();
0x0001a5a4 nop |
0x0001a5a8 lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001a5ac lw v0, 0x60(fp) | v0 = *(var_60h);
| if (v0 != 0) {
0x0001a5b0 beqz v0, 0x1a5d4 |
0x0001a5b4 nop |
0x0001a5b8 lw v0, -0x7d50(gp) | v0 = *(gp);
0x0001a5bc lw v0, (v0) | v0 = *(v0);
0x0001a5c0 lw a0, 0x60(fp) | a0 = *(var_60h);
0x0001a5c4 move t9, v0 | t9 = v0;
0x0001a5c8 jalr t9 | t9 ();
0x0001a5cc nop |
0x0001a5d0 lw gp, 0x50(fp) | gp = *(var_50h);
| }
0x0001a5d4 lw v0, 0x58(fp) | v0 = *(var_58h);
0x0001a5d8 move sp, fp |
0x0001a5dc lw ra, 0x10dc(sp) | ra = *(var_10dch);
0x0001a5e0 lw fp, 0x10d8(sp) | fp = *(var_10d8h);
0x0001a5e4 lw s1, 0x10d4(sp) | s1 = *(var_10d4h);
0x0001a5e8 lw s0, 0x10d0(sp) | s0 = *(var_10d0h);
0x0001a5ec addiu sp, sp, 0x10e0 |
0x0001a5f0 jr ra | return v0;
0x0001a5f4 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/13893632-15421440.squashfs_v4_le_extract/thirdlib/libcproducer.so @ 0x1a7e4 */
| #include <stdint.h>
|
; (fcn) sym.tagResourceCurlHandler () | void tagResourceCurlHandler () {
0x0001a7e4 lui gp, 7 |
0x0001a7e8 addiu gp, gp, 0x68ec |
0x0001a7ec addu gp, gp, t9 | gp += t9;
0x0001a7f0 addiu sp, sp, -0x68 |
0x0001a7f4 sw ra, 0x64(sp) | *(var_64h) = ra;
0x0001a7f8 sw fp, 0x60(sp) | *(var_60h) = fp;
0x0001a7fc move fp, sp | fp = sp;
0x0001a800 sw gp, 0x20(sp) | *(var_20h) = gp;
0x0001a804 sw a0, 0x68(fp) | *(arg_68h) = a0;
0x0001a808 sw zero, 0x28(fp) | *(var_28h) = 0;
0x0001a80c sw zero, 0x30(fp) | *(var_30h) = 0;
0x0001a810 lw v0, 0x68(fp) | v0 = *(arg_68h);
0x0001a814 sw v0, 0x34(fp) | *(var_34h) = v0;
0x0001a818 sw zero, 0x38(fp) | *(var_38h) = 0;
0x0001a81c sw zero, 0x3c(fp) | *(var_3ch) = 0;
0x0001a820 sw zero, 0x40(fp) | *(var_40h) = 0;
0x0001a824 move v0, zero | v0 = 0;
0x0001a828 move v1, zero | v1 = 0;
0x0001a82c sw v0, 0x48(fp) | *(var_48h) = v0;
0x0001a830 sw v1, 0x4c(fp) | *(var_4ch) = v1;
0x0001a834 sw zero, 0x2c(fp) | *(var_2ch) = 0;
0x0001a838 sw zero, 0x50(fp) | *(var_50h) = 0;
0x0001a83c lw v0, 0x34(fp) | v0 = *(var_34h);
| if (v0 != 0) {
0x0001a840 beqz v0, 0x1a87c |
0x0001a844 nop |
0x0001a848 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a84c lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
| if (v0 == 0) {
0x0001a850 beqz v0, 0x1a87c | goto label_0;
| }
0x0001a854 nop |
0x0001a858 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a85c lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001a860 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
| if (v0 == 0) {
0x0001a864 beqz v0, 0x1a87c | goto label_0;
| }
0x0001a868 nop |
0x0001a86c lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a870 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x0001a874 bnez v0, 0x1a888 | goto label_1;
| }
0x0001a878 nop |
| }
| label_0:
0x0001a87c addiu v0, zero, 1 | v0 = 1;
0x0001a880 b 0x1a88c | goto label_2;
0x0001a884 nop |
| label_1:
0x0001a888 move v0, zero | v0 = 0;
| label_2:
0x0001a88c sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x0001a890 andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 != 0) {
0x0001a894 beqz v0, 0x1a8c8 |
0x0001a898 nop |
0x0001a89c lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* esilref: '' */
0x0001a8a0 addiu a0, v0, 0x3524 | a0 = v0 + 0x3524;
0x0001a8a4 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* str._home_derek_kvs_3.0.0_amazon_kinesis_video_streams_producer_sdk_cpp_open_source_amazon_kinesis_video_streams_producer_c_src_source_CurlApiCallbacks.c */
0x0001a8a8 addiu a1, v0, 0x3528 | a1 = v0 + 0x3528;
0x0001a8ac addiu a2, zero, 0x7c3 | a2 = 0x7c3;
0x0001a8b0 lw v0, -0x7fcc(gp) | v0 = *((gp - 8179));
| /* obj.__PRETTY_FUNCTION__.9457_1 */
0x0001a8b4 addiu a3, v0, 0x3a24 | a3 = v0 + 0x3a24;
0x0001a8b8 lw v0, -0x77c0(gp) | v0 = sym.imp.__assert;
0x0001a8bc move t9, v0 | t9 = v0;
0x0001a8c0 jalr t9 | t9 ();
0x0001a8c4 nop |
| }
0x0001a8c8 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a8cc lw v0, 0x5900(v0) | v0 = *((v0 + 5696));
0x0001a8d0 sw v0, 0x38(fp) | *(var_38h) = v0;
0x0001a8d4 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0001a8d8 lw v0, 0x3930(v0) | v0 = *((v0 + 3660));
0x0001a8dc sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x0001a8e0 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001a8e4 lw t0, 0x1c(v0) | t0 = *((v0 + 7));
0x0001a8e8 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001a8ec lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a8f0 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a8f4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a8f8 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001a8fc lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001a900 move a2, v0 | a2 = v0;
0x0001a904 move a3, v1 | a3 = v1;
0x0001a908 move t9, t0 | t9 = t0;
0x0001a90c jalr t9 | t9 ();
0x0001a910 nop |
0x0001a914 lw gp, 0x20(fp) | gp = *(var_20h);
0x0001a918 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001a91c lw t0, 0x20(v0) | t0 = *((v0 + 8));
0x0001a920 lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0001a924 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a928 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a92c lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a930 lw v1, 0x590c(v0) | v1 = *((v0 + 5699));
0x0001a934 lw v0, 0x5908(v0) | v0 = *((v0 + 5698));
0x0001a938 move a2, v0 | a2 = v0;
0x0001a93c move a3, v1 | a3 = v1;
0x0001a940 move t9, t0 | t9 = t0;
0x0001a944 jalr t9 | t9 ();
0x0001a948 nop |
0x0001a94c lw gp, 0x20(fp) | gp = *(var_20h);
0x0001a950 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a954 addiu v0, v0, 8 | v0 += 8;
0x0001a958 move a0, v0 | a0 = v0;
0x0001a95c lw v0, -0x78a4(gp) | v0 = sym.signAwsRequestInfo;
0x0001a960 move t9, v0 | t9 = v0;
0x0001a964 jalr t9 | t9 ();
0x0001a968 nop |
0x0001a96c lw gp, 0x20(fp) | gp = *(var_20h);
0x0001a970 sw v0, 0x54(fp) | *(var_54h) = v0;
0x0001a974 lw v0, 0x54(fp) | v0 = *(var_54h);
| if (v0 != 0) {
0x0001a978 beqz v0, 0x1a990 |
0x0001a97c nop |
0x0001a980 lw v0, 0x54(fp) | v0 = *(var_54h);
0x0001a984 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0001a988 b 0x1aaa0 | goto label_3;
0x0001a98c nop |
| }
0x0001a990 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a994 lw v1, 0x57bc(v0) | v1 = *((v0 + 5615));
0x0001a998 lw v0, 0x57b8(v0) | v0 = *((v0 + 5614));
0x0001a99c lw a0, 0x34(fp) | a0 = *(var_34h);
0x0001a9a0 lw a1, 0x57d4(a0) | a1 = *((a0 + 5621));
0x0001a9a4 lw a0, 0x57d0(a0) | a0 = *((a0 + 5620));
0x0001a9a8 sltu a2, v1, a1 | a2 = (v1 < a1) ? 1 : 0;
| if (a2 == 0) {
0x0001a9ac bnez a2, 0x1a9cc |
0x0001a9b0 nop |
0x0001a9b4 move a2, v1 | a2 = v1;
| if (a1 != a2) {
0x0001a9b8 bne a1, a2, 0x1aa18 | goto label_4;
| }
0x0001a9bc nop |
0x0001a9c0 sltu v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
| if (v0 == 0) {
0x0001a9c4 beqz v0, 0x1aa18 | goto label_4;
| }
0x0001a9c8 nop |
| }
0x0001a9cc lw v0, -0x799c(gp) | v0 = *(gp);
0x0001a9d0 lw t0, (v0) | t0 = *(v0);
0x0001a9d4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a9d8 lw a0, 0x57d0(v0) | a0 = *((v0 + 5620));
0x0001a9dc lw a1, 0x57d4(v0) | a1 = *((v0 + 5621));
0x0001a9e0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001a9e4 lw a2, 0x57b8(v0) | a2 = *((v0 + 5614));
0x0001a9e8 lw a3, 0x57bc(v0) | a3 = *((v0 + 5615));
0x0001a9ec subu v0, a0, a2 | __asm ("subu v0, a0, a2");
0x0001a9f0 sltu t1, a0, v0 | t1 = (a0 < v0) ? 1 : 0;
0x0001a9f4 subu v1, a1, a3 | __asm ("subu v1, a1, a3");
0x0001a9f8 subu a0, v1, t1 | __asm ("subu a0, v1, t1");
0x0001a9fc move v1, a0 | v1 = a0;
0x0001aa00 move a0, v0 | a0 = v0;
0x0001aa04 move a1, v1 | a1 = v1;
0x0001aa08 move t9, t0 | t9 = t0;
0x0001aa0c jalr t9 | t9 ();
0x0001aa10 nop |
0x0001aa14 lw gp, 0x20(fp) | gp = *(var_20h);
| label_4:
0x0001aa18 lw a0, 0x34(fp) | a0 = *(var_34h);
0x0001aa1c lw v0, -0x7450(gp) | v0 = sym.curlCallApi;
0x0001aa20 move t9, v0 | t9 = v0;
0x0001aa24 jalr t9 | t9 ();
0x0001aa28 nop |
0x0001aa2c lw gp, 0x20(fp) | gp = *(var_20h);
0x0001aa30 sw v0, 0x58(fp) | *(var_58h) = v0;
0x0001aa34 lw v0, 0x58(fp) | v0 = *(var_58h);
| if (v0 != 0) {
0x0001aa38 beqz v0, 0x1aa50 |
0x0001aa3c nop |
0x0001aa40 lw v0, 0x58(fp) | v0 = *(var_58h);
0x0001aa44 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0001aa48 b 0x1aaa0 | goto label_3;
0x0001aa4c nop |
| }
0x0001aa50 lw v0, -0x7eb4(gp) | v0 = *(gp);
0x0001aa54 lw v0, (v0) | v0 = *(v0);
0x0001aa58 lw v1, 0x34(fp) | v1 = *(var_34h);
0x0001aa5c addiu v1, v1, 8 | v1 += 8;
0x0001aa60 move a0, v1 | a0 = v1;
0x0001aa64 move t9, v0 | t9 = v0;
0x0001aa68 jalr t9 | t9 ();
0x0001aa6c nop |
0x0001aa70 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001aa74 bnez v0, 0x1aaa0 |
0x0001aa78 nop |
0x0001aa7c lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001aa80 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x0001aa84 sw v0, 0x40(fp) | *(var_40h) = v0;
0x0001aa88 lw v0, 0x40(fp) | v0 = *(var_40h);
0x0001aa8c lw v0, 0x14(v0) | v0 = *((v0 + 5));
| if (v0 != 0) {
0x0001aa90 bnez v0, 0x1aaa0 | goto label_3;
| }
0x0001aa94 nop |
0x0001aa98 addiu v0, zero, 0xd | v0 = 0xd;
0x0001aa9c sw v0, 0x28(fp) | *(var_28h) = v0;
| }
| label_3:
0x0001aaa0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001aaa4 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
| if (v0 != 0) {
0x0001aaa8 beqz v0, 0x1aac0 |
0x0001aaac nop |
0x0001aab0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001aab4 lw v0, 0x5904(v0) | v0 = *((v0 + 5697));
0x0001aab8 lw v0, 0x14(v0) | v0 = *((v0 + 5));
0x0001aabc sw v0, 0x2c(fp) | *(var_2ch) = v0;
| }
0x0001aac0 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001aac4 lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x0001aac8 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x0001aacc sw v0, 0x48(fp) | *(var_48h) = v0;
0x0001aad0 sw v1, 0x4c(fp) | *(var_4ch) = v1;
0x0001aad4 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001aad8 move a0, zero | a0 = 0;
0x0001aadc move a1, zero | a1 = 0;
0x0001aae0 sw a0, 0x5910(v0) | *((v0 + 5700)) = a0;
0x0001aae4 sw a1, 0x5914(v0) | *((v0 + 5701)) = a1;
0x0001aae8 lw v0, -0x7eb4(gp) | v0 = *(gp);
0x0001aaec lw v0, (v0) | v0 = *(v0);
0x0001aaf0 lw v1, 0x34(fp) | v1 = *(var_34h);
0x0001aaf4 addiu v1, v1, 8 | v1 += 8;
0x0001aaf8 move a0, v1 | a0 = v1;
0x0001aafc move t9, v0 | t9 = v0;
0x0001ab00 jalr t9 | t9 ();
0x0001ab04 nop |
0x0001ab08 lw gp, 0x20(fp) | gp = *(var_20h);
0x0001ab0c sw v0, 0x50(fp) | *(var_50h) = v0;
0x0001ab10 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001ab14 lw a2, 0x5900(v0) | a2 = *((v0 + 5696));
0x0001ab18 lw v0, 0x34(fp) | v0 = *(var_34h);
0x0001ab1c lw v1, 0x58fc(v0) | v1 = *((v0 + 5695));
0x0001ab20 lw v0, 0x58f8(v0) | v0 = *((v0 + 5694));
0x0001ab24 lui a0, 7 | a0 = 0x7a120;
0x0001ab28 ori a0, a0, 0xa120 |
0x0001ab2c move a1, zero | a1 = 0;
0x0001ab30 sw a0, 0x10(sp) | *(var_10h) = a0;
0x0001ab34 sw a1, 0x14(sp) | *(var_14h) = a1;
0x0001ab38 addiu a0, zero, 1 | a0 = 1;
0x0001ab3c sw a0, 0x18(sp) | *(var_18h) = a0;
0x0001ab40 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x0001ab44 move a0, a2 | a0 = a2;
0x0001ab48 move a2, v0 | a2 = v0;
0x0001ab4c move a3, v1 | a3 = v1;
0x0001ab50 lw v0, -0x7870(gp) | v0 = sym.curlApiCallbacksShutdownActiveRequests;
0x0001ab54 move t9, v0 | t9 = v0;
0x0001ab58 jalr t9 | t9 ();
0x0001ab5c nop |
0x0001ab60 lw gp, 0x20(fp) | gp = *(var_20h);
0x0001ab64 lw v0, 0x50(fp) | v0 = *(var_50h);
| if (v0 == 0) {
0x0001ab68 bnez v0, 0x1abb8 |
0x0001ab6c nop |
0x0001ab70 lw a0, 0x48(fp) | a0 = *(var_48h);
0x0001ab74 lw a1, 0x4c(fp) | a1 = *(var_4ch);
0x0001ab78 lw a2, 0x2c(fp) | a2 = *(var_2ch);
0x0001ab7c lw v0, -0x7940(gp) | v0 = sym.tagResourceResultEvent;
0x0001ab80 move t9, v0 | t9 = v0;
0x0001ab84 jalr t9 | t9 ();
0x0001ab88 nop |
0x0001ab8c lw gp, 0x20(fp) | gp = *(var_20h);
0x0001ab90 sw v0, 0x30(fp) | *(var_30h) = v0;
0x0001ab94 lw a0, 0x3c(fp) | a0 = *(var_3ch);
0x0001ab98 lw a1, 0x30(fp) | a1 = *(var_30h);
0x0001ab9c lw a2, 0x48(fp) | a2 = *(var_48h);
0x0001aba0 lw a3, 0x4c(fp) | a3 = *(var_4ch);
0x0001aba4 lw v0, -0x7dd0(gp) | v0 = sym.notifyCallResult;
0x0001aba8 move t9, v0 | t9 = v0;
0x0001abac jalr t9 | t9 ();
0x0001abb0 nop |
0x0001abb4 lw gp, 0x20(fp) | gp = *(var_20h);
| }
0x0001abb8 lw v0, 0x28(fp) | v0 = *(var_28h);
0x0001abbc move sp, fp |
0x0001abc0 lw ra, 0x64(sp) | ra = *(var_64h);
0x0001abc4 lw fp, 0x60(sp) | fp = *(var_60h);
0x0001abc8 addiu sp, sp, 0x68 |
0x0001abcc jr ra | return v0;
0x0001abd0 nop |
| }
[*] Function strcpy used 16 times libcproducer.so