int sub_1005b8b24(int arg0, int arg1, int arg2) {
*(r31 + 0xffffffffffffffd0) = r22;
*(r31 + 0xffffffffffffffd8) = r21;
r31 = r31 + 0xffffffffffffffd0;
*(r31 + 0x10) = r20;
*(r31 + 0x18) = r19;
*(r31 + 0x20) = r29;
*(r31 + 0x28) = r30;
r19 = arg2;
r21 = arg1;
r20 = arg0;
r8 = r21 << 0x2;
asm{ movk w9, #0xaaab };
asm{ umull x8, w8, w9 };
r8 = r8 >> 0x21;
r9 = r8 + 0x4;
asm{ movk w10, #0x8e39 };
asm{ umull x9, w9, w10 };
if (0x5 + r8 + (r9 >> 0x24) < r21) {
r1 = zero_extend_64(0x0);
}
else {
r0 = sub_1005d0bac();
r1 = zero_extend_64(0x0);
if (r0 != 0x0) {
r11 = r21;
if (r21 >= 0x3) {
r9 = r20 + r21;
r10 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
do {
r12 = r10;
r11 = *(r20 + 0x1);
r11 = r11 >> 0x4;
asm{ bfi w11, w8, #0x4, #0x2 };
*(r12 + 0x1) = *(r10 + r11);
r11 = *(r20 + 0x2);
r11 = r11 >> 0x6;
asm{ bfi w11, w8, #0x2, #0x4 };
*(r12 + 0x2) = *(r10 + r11);
r8 = *(r20 + 0x2);
*(r12 + 0x3) = r10;
r20 = r20 + 0x3;
r11 = r9 - r20;
} while (r11 > 0x2);
}
if (r11 != 0x0) {
r9 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
r8 = r9;
r10 = r20;
asm{ ubfiz w10, w10, #0x4, #0x2 };
if (r11 == 0x1) {
*(r8 + 0x1) = *(r9 + r10);
r9 = zero_extend_64(0x3d);
}
else {
*(r8 + 0x1) = *(r9 + (r10 | *(r20 + 0x1) / 0x10));
asm{ ubfiz x10, x10, #0x2, #0x4 };
r9 = r9;
}
*(r8 + 0x2) = r9;
*(r8 + 0x3) = zero_extend_64(0x3d);
}
r8 = r31;
r1 = r0;
}
}
r0 = r1;
return r0;
}
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!