Reverts changes in CCApplication.cpp/.mm, pollEvent must after main loop, otherwise, potential crash will happen.
Merge pull request #28 from cocos2d/develop

update with upstream
Merge branch 'develop' of https://github.com/dumganhar/cocos2d-x into develop
Merge pull request #5815 from dumganhar/develop

Reverts changes in CCApplication.cpp/.mm, pollEvent must after main loop, otherwise, potential crash will happen.
update submodule
Merge pull request #5816 from lihex/develop

update submodule
Update CHANGELOG
[win32] Overflow fix when using MultiByteToWideChar and WideCharToMultiByte.
Fix potential overflow in Texture::getCachedTextureInfo.
build lua.a for arm64bit and iOS simulator 64 bit architectures, change .ma3 files to .caf files.
Merge pull request #5818 from boyu0/support_for_xcode_iphone_64bit_simulator

build lua.a for arm64bit and iOS simulator 64 bit architectures, change ...
Merge pull request #5817 from dumganhar/develop

Fix potential overflow in Texture::getCachedTextureInfo and where uses MultiByteToWideChar and WideCharToMultiByte