1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| import struct ar2 = [0x1 , 0x10 , 0x25 , 0x3 , 0xd , 0xa , 0x2 , 0xb , 0x28 , 0x2 , 0x14 , 0x3f , 0x1 , 0x17 , 0x3c , 0x1 , 0x0 , 0x69 , 0x1 , 0x12 , 0x3f , 0x2 , 0xe , 0x77 , 0x3 , 0x15 , 0x53 , 0x2 , 0xe , 0x7d , 0x3 , 0x5 , 0xa , 0x2 , 0x4 , 0x55 , 0x2 , 0x15 , 0x33 , 0x2 , 0x15 , 0x5 , 0x1 , 0x5 , 0x2f , 0x3 , 0x7 , 0x43 , 0x1 , 0x11 , 0x39 , 0x3 , 0xd , 0x27 , 0x1 , 0x5 , 0x1e , 0x3 , 0x4 , 0x3c , 0x1 , 0x13 , 0x1e , 0x3 , 0x1 , 0x78 , 0x1 , 0x0 , 0x20 , 0x2 , 0xf , 0x53 , 0x3 , 0x14 , 0x2b , 0x3 , 0x14 , 0x28 , 0x3 , 0xa , 0x19 , 0x3 , 0x12 , 0x60 , 0x1 , 0x5 , 0x7e , 0x3 , 0xf , 0x20 , 0x1 , 0xf , 0x58 , 0x2 , 0x11 , 0x51 , 0x1 , 0xb , 0x24 , 0x1 , 0x17 , 0x79 , 0x1 , 0xe , 0x4a , 0x3 , 0x10 , 0x67 , 0x2 , 0x16 , 0x5c , 0x3 , 0x9 , 0x6d , 0x1 , 0x17 , 0x30 , 0x2 , 0xa , 0x2c , 0x3 , 0x7 , 0x3f , 0x3 , 0x7 , 0x43 , 0x1 , 0x4 , 0x4 , 0x2 , 0x0 , 0xf , 0x1 , 0x2 , 0x63 , 0x2 , 0x3 , 0x70 , 0x1 , 0x8 , 0x7b , 0x2 , 0x6 , 0x4c , 0x2 , 0xb , 0x7a , 0x1 , 0xc , 0xd0 , 0x2 , 0x11 , 0x22 , 0x2 , 0x13 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x42 , 0x0 , 0x0 , 0xf , 0x43]
ar3 = []
v10 = [0 for i in range(100)]
for i in range(0, len(ar1), 4): if i == 0: continue wtf = (ar1[i-1]*0x1000000 + ar1[i-2]*0x10000 + ar1[i-3]*0x100 + ar1[i-4]) ar3.append(wtf)
for i in range(len(ar2), -1, -3): if i+1 > len(ar2): continue if ar2[i + 1] >= len(ar3): continue if ar2[i] == 2: s = hex(ar3[ar2[i + 1]]).replace("0x", "") tmp = struct.unpack('>f', bytes.fromhex(s))[0] if v10[ar2[i + 1]] == 0: v10[ar2[i + 1]] = ar2[i+2] + tmp else: v10[ar2[i + 1]] += ar2[i+2] if ar2[i] == 3: s = hex(ar3[ar2[i + 1]]).replace("0x", "") tmp = struct.unpack('>f', bytes.fromhex(s))[0] if v10[ar2[i + 1]] == 0: v10[ar2[i + 1]] = tmp / ar2[i+2] else: v10[ar2[i + 1]] /= ar2[i+2] if ar2[i] == 4: s = hex(ar3[ar2[i + 1]]).replace("0x", "") tmp = struct.unpack('>f', bytes.fromhex(s))[0] if v10[ar2[i + 1]] == 0: v10[ar2[i + 1]] = ar2[i+2] * tmp else: v10[ar2[i + 1]] *= ar2[i+2] if ar2[i] == 1: s = hex(ar3[ar2[i + 1]]).replace("0x", "") tmp = struct.unpack('>f', bytes.fromhex(s))[0] if v10[ar2[i + 1]] == 0: v10[ar2[i + 1]] = tmp - ar2[i+2] else: v10[ar2[i + 1]] -= ar2[i+2]
for i in v10: print(chr(int(i)%256), end = "")
|