You mean that
2568095849 is (153 << 24) + (18 << 16) + (8 << 8) + 105

It's just a loop, with a shift and and add.