// File: realuptime[P]PolyDetector/main.cpp
// Function: main
int main(int argc, char **argv)
{
    std::vector<PolyLine> lines = {
        { { 0.481273, 19.263916, 0.000000 }, { 2.672669, -20.676010, 0.000000 } },
        { { -2.632347, 18.215017, 0.000000 }, { 5.508471, -21.049944, 0.000000 } },
        { { -17.857944, 5.812509, 0.000000 }, { 20.700626, -5.557483, 0.000000 } },
        { { -20.295795, -2.343559, 0.000000 }, { 19.730148, 2.348336, 0.000000 } },
        { { -20.073170, -2.086306, 0.000000 }, { 20.038513, 2.731704, 0.000000 } },
        { { -23.044189, -3.178784, 0.000000 }, { 16.882099, 3.613972, 0.000000 } },
        { { -23.059996, -7.303123, 0.000000 }, { 14.749506, 7.488816, 0.000000 } },
        { { -24.727707, -3.507834, 0.000000 }, { 15.546275, 2.365544, 0.000000 } },
        { { 18.502918, -8.634955, 0.000000 }, { -20.374165, -21.012856, 0.000000 } },
        { { 9.202598, 4.523481, 0.000000 }, { -7.426190, -32.843529, 0.000000 } },
        { { 20.847351, -7.539667, 0.000000 }, { -18.186256, -20.084688, 0.000000 } },
        { { 17.327255, -5.417993, 0.000000 }, { -19.222294, -24.215343, 0.000000 } },
        { { 15.582670, -8.607574, 0.000000 }, { -23.266512, -22.325489, 0.000000 } },
        { { -1.368334, -31.398386, 0.000000 }, { -13.871298, 7.963598, 0.000000 } },
        { { -1.544255, -29.319807, 0.000000 }, { -14.729448, 9.924440, 0.000000 } },
        { { -2.539731, -27.353601, 0.000000 }, { -13.925552, 12.553957, 0.000000 } },
        { { -3.332984, -26.400829, 0.000000 }, { -15.176960, 13.477487, 0.000000 } },
        { { -4.918091, -22.149073, 0.000000 }, { -14.987379, 18.316957, 0.000000 } },
        { { -4.509918, -21.885679, 0.000000 }, { -14.484156, 18.706865, 0.000000 } },
        { { -3.773709, -22.967257, 0.000000 }, { -16.725311, 16.880781, 0.000000 } },
        { { 11.133360, 1.055563, 0.000000 }, { -29.372477, -10.047474, 0.000000 } },
        { { -27.483515, -14.038325, 0.000000 }, { 9.971365, 5.185147, 0.000000 } },
        { { -6.512562, -22.113499, 0.000000 }, { -14.757652, 19.273197, 0.000000 } },
        { { -29.544163, -5.129999, 0.000000 }, { 11.304194, 5.856430, 0.000000 } },
        { { -29.245459, -2.901008, 0.000000 }, { 12.582209, 4.042094, 0.000000 } },
        { { -26.603186, -5.194456, 0.000000 }, { 14.157106, 6.840844, 0.000000 } },
        { { -26.637554, -3.911626, 0.000000 }, { 14.771155, 6.092309, 0.000000 } },
        { { -0.640467, -20.712761, 0.000000 }, { -9.923534, 20.965946, 0.000000 } },
    };

    PolyDetector pd;
	//pd.verbose = 1;
	
    for (auto &l : lines)
        pd.AddLine(l);

    if (!pd.DetectPolygons())
    {
        logoutf("%s", "WARN: cannot detect polys!");
        return -1;
    }
	
	logoutf("nPolys:%u dissolveSteps:%u lines:%u", uint32_t(pd.polys.size()), pd.dissolveCount + 1, uint32_t(pd.lines.size()));

#if 0
    for (auto &poly : pd.polys)
    {
        for (auto &p : poly.p)
        {
            logoutf("[%u] p:{%f %f}", poly.id, p.x, p.y);
        }
    }
#endif

    return 0;
}

// Assembly:
subq $0x1478, %rsp           # imm = 0x1478
movl $0x0, 0x1474(%rsp)
movl %edi, 0x1470(%rsp)
movq %rsi, 0x1468(%rsp)
leaq 0x480(%rsp), %rax
movq %rax, 0x478(%rsp)
leaq 0x470(%rsp), %rdi
movss 0x3e0b(%rip), %xmm0     # 0x271ec
movss 0x3e07(%rip), %xmm1     # 0x271f0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x233f3
leaq 0x45c(%rsp), %rdi
movss 0x3df1(%rip), %xmm0     # 0x271f4
movss 0x3ded(%rip), %xmm1     # 0x271f8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23415
leaq 0x480(%rsp), %rdi
leaq 0x470(%rsp), %rsi
leaq 0x45c(%rsp), %rdx
callq 0x15130
jmp 0x23434
leaq 0x510(%rsp), %rax
movq %rax, 0x128(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x454(%rsp), %rdi
movss 0x3da0(%rip), %xmm0     # 0x271fc
movss 0x3d9c(%rip), %xmm1     # 0x27200
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2346e
leaq 0x44c(%rsp), %rdi
movss 0x3d86(%rip), %xmm0     # 0x27204
movss 0x3d82(%rip), %xmm1     # 0x27208
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23490
movq 0x128(%rsp), %rdi
leaq 0x454(%rsp), %rsi
leaq 0x44c(%rsp), %rdx
callq 0x15130
jmp 0x234af
leaq 0x5a0(%rsp), %rax
movq %rax, 0x120(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x444(%rsp), %rdi
movss 0x3d35(%rip), %xmm0     # 0x2720c
movss 0x3d31(%rip), %xmm1     # 0x27210
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x234e9
leaq 0x43c(%rsp), %rdi
movss 0x3d1b(%rip), %xmm0     # 0x27214
movss 0x3d17(%rip), %xmm1     # 0x27218
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2350b
movq 0x120(%rsp), %rdi
leaq 0x444(%rsp), %rsi
leaq 0x43c(%rsp), %rdx
callq 0x15130
jmp 0x2352a
leaq 0x630(%rsp), %rax
movq %rax, 0x118(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x434(%rsp), %rdi
movss 0x3cca(%rip), %xmm0     # 0x2721c
movss 0x3cc6(%rip), %xmm1     # 0x27220
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23564
leaq 0x42c(%rsp), %rdi
movss 0x3cb0(%rip), %xmm0     # 0x27224
movss 0x3cac(%rip), %xmm1     # 0x27228
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23586
movq 0x118(%rsp), %rdi
leaq 0x434(%rsp), %rsi
leaq 0x42c(%rsp), %rdx
callq 0x15130
jmp 0x235a5
leaq 0x6c0(%rsp), %rax
movq %rax, 0x110(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x424(%rsp), %rdi
movss 0x3c5f(%rip), %xmm0     # 0x2722c
movss 0x3c5b(%rip), %xmm1     # 0x27230
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x235df
leaq 0x41c(%rsp), %rdi
movss 0x3c45(%rip), %xmm0     # 0x27234
movss 0x3c41(%rip), %xmm1     # 0x27238
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23601
movq 0x110(%rsp), %rdi
leaq 0x424(%rsp), %rsi
leaq 0x41c(%rsp), %rdx
callq 0x15130
jmp 0x23620
leaq 0x750(%rsp), %rax
movq %rax, 0x108(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x414(%rsp), %rdi
movss 0x3bf4(%rip), %xmm0     # 0x2723c
movss 0x3bf0(%rip), %xmm1     # 0x27240
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2365a
leaq 0x40c(%rsp), %rdi
movss 0x3bda(%rip), %xmm0     # 0x27244
movss 0x3bd6(%rip), %xmm1     # 0x27248
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2367c
movq 0x108(%rsp), %rdi
leaq 0x414(%rsp), %rsi
leaq 0x40c(%rsp), %rdx
callq 0x15130
jmp 0x2369b
leaq 0x7e0(%rsp), %rax
movq %rax, 0x100(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x404(%rsp), %rdi
movss 0x3b89(%rip), %xmm0     # 0x2724c
movss 0x3b85(%rip), %xmm1     # 0x27250
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x236d5
leaq 0x3fc(%rsp), %rdi
movss 0x3b6f(%rip), %xmm0     # 0x27254
movss 0x3b6b(%rip), %xmm1     # 0x27258
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x236f7
movq 0x100(%rsp), %rdi
leaq 0x404(%rsp), %rsi
leaq 0x3fc(%rsp), %rdx
callq 0x15130
jmp 0x23716
leaq 0x870(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x3f4(%rsp), %rdi
movss 0x3b1e(%rip), %xmm0     # 0x2725c
movss 0x3b1a(%rip), %xmm1     # 0x27260
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23750
leaq 0x3ec(%rsp), %rdi
movss 0x3b04(%rip), %xmm0     # 0x27264
movss 0x3b00(%rip), %xmm1     # 0x27268
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23772
movq 0xf8(%rsp), %rdi
leaq 0x3f4(%rsp), %rsi
leaq 0x3ec(%rsp), %rdx
callq 0x15130
jmp 0x23791
leaq 0x900(%rsp), %rax
movq %rax, 0xf0(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x3e4(%rsp), %rdi
movss 0x3ab3(%rip), %xmm0     # 0x2726c
movss 0x3aaf(%rip), %xmm1     # 0x27270
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x237cb
leaq 0x3dc(%rsp), %rdi
movss 0x3a99(%rip), %xmm0     # 0x27274
movss 0x3a95(%rip), %xmm1     # 0x27278
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x237ed
movq 0xf0(%rsp), %rdi
leaq 0x3e4(%rsp), %rsi
leaq 0x3dc(%rsp), %rdx
callq 0x15130
jmp 0x2380c
leaq 0x990(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x3d4(%rsp), %rdi
movss 0x3a48(%rip), %xmm0     # 0x2727c
movss 0x3a44(%rip), %xmm1     # 0x27280
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23846
leaq 0x3cc(%rsp), %rdi
movss 0x3a2e(%rip), %xmm0     # 0x27284
movss 0x3a2a(%rip), %xmm1     # 0x27288
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23868
movq 0xe8(%rsp), %rdi
leaq 0x3d4(%rsp), %rsi
leaq 0x3cc(%rsp), %rdx
callq 0x15130
jmp 0x23887
leaq 0xa20(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x3c4(%rsp), %rdi
movss 0x39dd(%rip), %xmm0     # 0x2728c
movss 0x39d9(%rip), %xmm1     # 0x27290
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x238c1
leaq 0x3bc(%rsp), %rdi
movss 0x39c3(%rip), %xmm0     # 0x27294
movss 0x39bf(%rip), %xmm1     # 0x27298
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x238e3
movq 0xe0(%rsp), %rdi
leaq 0x3c4(%rsp), %rsi
leaq 0x3bc(%rsp), %rdx
callq 0x15130
jmp 0x23902
leaq 0xab0(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x3b4(%rsp), %rdi
movss 0x3972(%rip), %xmm0     # 0x2729c
movss 0x396e(%rip), %xmm1     # 0x272a0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2393c
leaq 0x3ac(%rsp), %rdi
movss 0x3958(%rip), %xmm0     # 0x272a4
movss 0x3954(%rip), %xmm1     # 0x272a8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2395e
movq 0xd8(%rsp), %rdi
leaq 0x3b4(%rsp), %rsi
leaq 0x3ac(%rsp), %rdx
callq 0x15130
jmp 0x2397d
leaq 0xb40(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x3a4(%rsp), %rdi
movss 0x3907(%rip), %xmm0     # 0x272ac
movss 0x3903(%rip), %xmm1     # 0x272b0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x239b7
leaq 0x39c(%rsp), %rdi
movss 0x38ed(%rip), %xmm0     # 0x272b4
movss 0x38e9(%rip), %xmm1     # 0x272b8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x239d9
movq 0xd0(%rsp), %rdi
leaq 0x3a4(%rsp), %rsi
leaq 0x39c(%rsp), %rdx
callq 0x15130
jmp 0x239f8
leaq 0xbd0(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x394(%rsp), %rdi
movss 0x389c(%rip), %xmm0     # 0x272bc
movss 0x3898(%rip), %xmm1     # 0x272c0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23a32
leaq 0x38c(%rsp), %rdi
movss 0x3882(%rip), %xmm0     # 0x272c4
movss 0x387e(%rip), %xmm1     # 0x272c8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23a54
movq 0xc8(%rsp), %rdi
leaq 0x394(%rsp), %rsi
leaq 0x38c(%rsp), %rdx
callq 0x15130
jmp 0x23a73
leaq 0xc60(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x384(%rsp), %rdi
movss 0x3831(%rip), %xmm0     # 0x272cc
movss 0x382d(%rip), %xmm1     # 0x272d0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23aad
leaq 0x37c(%rsp), %rdi
movss 0x3817(%rip), %xmm0     # 0x272d4
movss 0x3813(%rip), %xmm1     # 0x272d8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23acf
movq 0xc0(%rsp), %rdi
leaq 0x384(%rsp), %rsi
leaq 0x37c(%rsp), %rdx
callq 0x15130
jmp 0x23aee
leaq 0xcf0(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x374(%rsp), %rdi
movss 0x37c6(%rip), %xmm0     # 0x272dc
movss 0x37c2(%rip), %xmm1     # 0x272e0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23b28
leaq 0x36c(%rsp), %rdi
movss 0x37ac(%rip), %xmm0     # 0x272e4
movss 0x37a8(%rip), %xmm1     # 0x272e8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23b4a
movq 0xb8(%rsp), %rdi
leaq 0x374(%rsp), %rsi
leaq 0x36c(%rsp), %rdx
callq 0x15130
jmp 0x23b69
leaq 0xd80(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x364(%rsp), %rdi
movss 0x375b(%rip), %xmm0     # 0x272ec
movss 0x3757(%rip), %xmm1     # 0x272f0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23ba3
leaq 0x35c(%rsp), %rdi
movss 0x3741(%rip), %xmm0     # 0x272f4
movss 0x373d(%rip), %xmm1     # 0x272f8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23bc5
movq 0xb0(%rsp), %rdi
leaq 0x364(%rsp), %rsi
leaq 0x35c(%rsp), %rdx
callq 0x15130
jmp 0x23be4
leaq 0xe10(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x354(%rsp), %rdi
movss 0x36f0(%rip), %xmm0     # 0x272fc
movss 0x36ec(%rip), %xmm1     # 0x27300
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23c1e
leaq 0x34c(%rsp), %rdi
movss 0x36d6(%rip), %xmm0     # 0x27304
movss 0x36d2(%rip), %xmm1     # 0x27308
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23c40
movq 0xa8(%rsp), %rdi
leaq 0x354(%rsp), %rsi
leaq 0x34c(%rsp), %rdx
callq 0x15130
jmp 0x23c5f
leaq 0xea0(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x344(%rsp), %rdi
movss 0x3685(%rip), %xmm0     # 0x2730c
movss 0x3681(%rip), %xmm1     # 0x27310
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23c99
leaq 0x33c(%rsp), %rdi
movss 0x366b(%rip), %xmm0     # 0x27314
movss 0x3667(%rip), %xmm1     # 0x27318
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23cbb
movq 0xa0(%rsp), %rdi
leaq 0x344(%rsp), %rsi
leaq 0x33c(%rsp), %rdx
callq 0x15130
jmp 0x23cda
leaq 0xf30(%rsp), %rax
movq %rax, 0x98(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x334(%rsp), %rdi
movss 0x361a(%rip), %xmm0     # 0x2731c
movss 0x3616(%rip), %xmm1     # 0x27320
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23d14
leaq 0x32c(%rsp), %rdi
movss 0x3600(%rip), %xmm0     # 0x27324
movss 0x35fc(%rip), %xmm1     # 0x27328
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23d36
movq 0x98(%rsp), %rdi
leaq 0x334(%rsp), %rsi
leaq 0x32c(%rsp), %rdx
callq 0x15130
jmp 0x23d55
leaq 0xfc0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x324(%rsp), %rdi
movss 0x35af(%rip), %xmm0     # 0x2732c
movss 0x35ab(%rip), %xmm1     # 0x27330
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23d8f
leaq 0x31c(%rsp), %rdi
movss 0x3595(%rip), %xmm0     # 0x27334
movss 0x3591(%rip), %xmm1     # 0x27338
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23db1
movq 0x90(%rsp), %rdi
leaq 0x324(%rsp), %rsi
leaq 0x31c(%rsp), %rdx
callq 0x15130
jmp 0x23dd0
leaq 0x1050(%rsp), %rax
movq %rax, 0x88(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x314(%rsp), %rdi
movss 0x3544(%rip), %xmm0     # 0x2733c
movss 0x3540(%rip), %xmm1     # 0x27340
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23e0a
leaq 0x30c(%rsp), %rdi
movss 0x352a(%rip), %xmm0     # 0x27344
movss 0x3526(%rip), %xmm1     # 0x27348
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23e2c
movq 0x88(%rsp), %rdi
leaq 0x314(%rsp), %rsi
leaq 0x30c(%rsp), %rdx
callq 0x15130
jmp 0x23e4b
leaq 0x10e0(%rsp), %rax
movq %rax, 0x80(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x304(%rsp), %rdi
movss 0x34d9(%rip), %xmm0     # 0x2734c
movss 0x34d5(%rip), %xmm1     # 0x27350
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23e85
leaq 0x2fc(%rsp), %rdi
movss 0x34bf(%rip), %xmm0     # 0x27354
movss 0x34bb(%rip), %xmm1     # 0x27358
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23ea7
movq 0x80(%rsp), %rdi
leaq 0x304(%rsp), %rsi
leaq 0x2fc(%rsp), %rdx
callq 0x15130
jmp 0x23ec6
leaq 0x1170(%rsp), %rax
movq %rax, 0x78(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x2f4(%rsp), %rdi
movss 0x3471(%rip), %xmm0     # 0x2735c
movss 0x346d(%rip), %xmm1     # 0x27360
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23efd
leaq 0x2ec(%rsp), %rdi
movss 0x3457(%rip), %xmm0     # 0x27364
movss 0x3453(%rip), %xmm1     # 0x27368
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23f1f
movq 0x78(%rsp), %rdi
leaq 0x2f4(%rsp), %rsi
leaq 0x2ec(%rsp), %rdx
callq 0x15130
jmp 0x23f3b
leaq 0x1200(%rsp), %rax
movq %rax, 0x70(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x2e4(%rsp), %rdi
movss 0x340c(%rip), %xmm0     # 0x2736c
movss 0x3408(%rip), %xmm1     # 0x27370
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23f72
leaq 0x2dc(%rsp), %rdi
movss 0x33f2(%rip), %xmm0     # 0x27374
movss 0x33ee(%rip), %xmm1     # 0x27378
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23f94
movq 0x70(%rsp), %rdi
leaq 0x2e4(%rsp), %rsi
leaq 0x2dc(%rsp), %rdx
callq 0x15130
jmp 0x23fb0
leaq 0x1290(%rsp), %rax
movq %rax, 0x68(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x2d4(%rsp), %rdi
movss 0x33a7(%rip), %xmm0     # 0x2737c
movss 0x33a3(%rip), %xmm1     # 0x27380
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x23fe7
leaq 0x2cc(%rsp), %rdi
movss 0x338d(%rip), %xmm0     # 0x27384
movss 0x3389(%rip), %xmm1     # 0x27388
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x24009
movq 0x68(%rsp), %rdi
leaq 0x2d4(%rsp), %rsi
leaq 0x2cc(%rsp), %rdx
callq 0x15130
jmp 0x24025
leaq 0x1320(%rsp), %rax
movq %rax, 0x60(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x2c4(%rsp), %rdi
movss 0x3342(%rip), %xmm0     # 0x2738c
movss 0x333e(%rip), %xmm1     # 0x27390
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2405c
leaq 0x2bc(%rsp), %rdi
movss 0x3328(%rip), %xmm0     # 0x27394
movss 0x3324(%rip), %xmm1     # 0x27398
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x2407e
movq 0x60(%rsp), %rdi
leaq 0x2c4(%rsp), %rsi
leaq 0x2bc(%rsp), %rdx
callq 0x15130
jmp 0x2409a
leaq 0x13b0(%rsp), %rax
movq %rax, 0x58(%rsp)
movq %rax, 0x478(%rsp)
leaq 0x2b4(%rsp), %rdi
movss 0x32dd(%rip), %xmm0     # 0x2739c
movss 0x32d9(%rip), %xmm1     # 0x273a0
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x240d1
leaq 0x2ac(%rsp), %rdi
movss 0x32c3(%rip), %xmm0     # 0x273a4
movss 0x32bf(%rip), %xmm1     # 0x273a8
xorps %xmm2, %xmm2
callq 0x12870
jmp 0x240f3
movq 0x58(%rsp), %rdi
leaq 0x2b4(%rsp), %rsi
leaq 0x2ac(%rsp), %rdx
callq 0x15130
jmp 0x2410f
leaq 0x480(%rsp), %rax
movq %rax, 0x1440(%rsp)
movq $0x1c, 0x1448(%rsp)
leaq 0x2ab(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x24430
movq 0x50(%rsp), %rcx
movq 0x1440(%rsp), %rsi
movq 0x1448(%rsp), %rdx
leaq 0x1450(%rsp), %rdi
callq 0x24440
jmp 0x24161
leaq 0x2ab(%rsp), %rdi
callq 0x244d0
leaq 0x480(%rsp), %rax
movq %rax, 0x40(%rsp)
addq $0xfc0, %rax            # imm = 0xFC0
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rdi
addq $-0x90, %rdi
movq %rdi, 0x38(%rsp)
callq 0x12a40
movq 0x40(%rsp), %rcx
movq 0x38(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x48(%rsp)
jne 0x24186
leaq 0x158(%rsp), %rdi
callq 0x244e0
leaq 0x1450(%rsp), %rax
movq %rax, 0x150(%rsp)
movq 0x150(%rsp), %rdi
callq 0x12a70
movq %rax, 0x148(%rsp)
movq 0x150(%rsp), %rdi
callq 0x12aa0
movq %rax, 0x140(%rsp)
leaq 0x148(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x12ad0
testb $0x1, %al
jne 0x24215
jmp 0x2434d
leaq 0x148(%rsp), %rdi
callq 0x12b10
movq %rax, 0x138(%rsp)
movq 0x138(%rsp), %rsi
leaq 0x158(%rsp), %rdi
callq 0x9be0
jmp 0x24241
jmp 0x24243
leaq 0x148(%rsp), %rdi
callq 0x12b20
jmp 0x241f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x468(%rsp)
movl %eax, 0x464(%rsp)
movq 0x478(%rsp), %rax
leaq 0x480(%rsp), %rcx
cmpq %rax, %rcx
movq %rax, 0x30(%rsp)
je 0x242ad
movq 0x30(%rsp), %rdi
addq $-0x90, %rdi
movq %rdi, 0x28(%rsp)
callq 0x12a40
movq 0x28(%rsp), %rax
leaq 0x480(%rsp), %rcx
cmpq %rcx, %rax
movq %rax, 0x30(%rsp)
jne 0x24280
jmp 0x2441d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x468(%rsp)
movl %eax, 0x464(%rsp)
leaq 0x2ab(%rsp), %rdi
callq 0x244d0
leaq 0x480(%rsp), %rax
movq %rax, 0x18(%rsp)
addq $0xfc0, %rax            # imm = 0xFC0
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
addq $-0x90, %rdi
movq %rdi, 0x10(%rsp)
callq 0x12a40
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x20(%rsp)
jne 0x242eb
jmp 0x2441d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x468(%rsp)
movl %eax, 0x464(%rsp)
leaq 0x158(%rsp), %rdi
callq 0x24590
leaq 0x1450(%rsp), %rdi
callq 0x24630
jmp 0x2441d
leaq 0x158(%rsp), %rdi
callq 0x7900
movb %al, 0xf(%rsp)
jmp 0x24360
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x24399
jmp 0x2436a
leaq 0x288f(%rip), %rdi      # 0x26c00
leaq 0x3038(%rip), %rsi      # 0x273b0
xorl %eax, %eax
callq 0x2050
jmp 0x24381
movl $0xffffffff, 0x1474(%rsp) # imm = 0xFFFFFFFF
movl $0x1, 0x134(%rsp)
jmp 0x243f4
leaq 0x1a0(%rsp), %rdi
callq 0x178d0
movl %eax, 0x4(%rsp)
movl 0x2a0(%rsp), %eax
incl %eax
movl %eax, 0x8(%rsp)
leaq 0x188(%rsp), %rdi
callq 0x12b40
movl 0x4(%rsp), %esi
movl 0x8(%rsp), %edx
movl %eax, %ecx
leaq 0x2ff6(%rip), %rdi      # 0x273cb
xorl %eax, %eax
callq 0x2050
jmp 0x243de
movl $0x0, 0x1474(%rsp)
movl $0x1, 0x134(%rsp)
leaq 0x158(%rsp), %rdi
callq 0x24590
leaq 0x1450(%rsp), %rdi
callq 0x24630
movl 0x1474(%rsp), %eax
addq $0x1478, %rsp           # imm = 0x1478
retq
movq 0x468(%rsp), %rdi
callq 0x2280
nopw (%rax,%rax)