//
// Concurrency::cancel_current_task from 0x180005ed0 to 0x180005ef0 (32 bytes)
//
// 56 xrefs:
// > sub_180005A10 @ 0x180005b44
// > cocos2d::CCArray::createWithContentsOfFileThreadSafe @ 0x180006ed2
// > sub_180007A50 @ 0x180007bed
// > cocos2d::CCPrettyPrinter::getResult @ 0x180007fce
// > cocos2d::CCPrettyPrinter::visit @ 0x1800094c9
// > sub_18000CE80 @ 0x18000cee0
// > sub_18000CFB0 @ 0x18000d168
// > cocos2d::CCString::CCString @ 0x18000fff9
// > sub_1800101E0 @ 0x18001034f
// > sub_180015D00 @ 0x180015ee6
// > sub_180015F00 @ 0x1800160e7
// > sub_180016930 @ 0x180016a21
// > DS_Dictionary::getAllKeys @ 0x180019a07
// > DS_Dictionary::getDictForKey @ 0x18001a19a
// > DS_Dictionary::getStringArrayForKey @ 0x18001b4a6
// > sub_18001C710 @ 0x18001c828
// > DS_Dictionary::stepIntoSubDictWithKey @ 0x18002186f
// > sub_180025630 @ 0x180025793
// > sub_180030E20 @ 0x180030f83
// > cocos2d::CCAnimate::initWithAnimation @ 0x180035aab
// > sub_1800455C0 @ 0x1800456f5
// > sub_1800457A0 @ 0x180045867
// > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x18004638b
// > cocos2d::CCLabelAtlas::initWithString @ 0x180047db2
// > sub_180048300 @ 0x18004850f
// > sub_18004DE80 @ 0x18004df90
// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f40d
// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f419
// > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x18004fae8
// > sub_18006E750 @ 0x18006e8b2
// > sub_18006E8C0 @ 0x18006ea7c
// > sub_18006F4D0 @ 0x18006f688
// > sub_18006F6A0 @ 0x18006f859
// > sub_180074820 @ 0x180074d34
// > sub_180075A70 @ 0x180075dd9
// > sub_180075A70 @ 0x180075ddf
// > cocos2d::CCApplication::setResourceRootPath @ 0x1800768b3
// > sub_1800789D0 @ 0x180078b85
// > sub_18007C950 @ 0x18007cb64
// > cocos2d::CCImage::saveToFile @ 0x180080a7d
// > sub_180080A90 @ 0x180081431
// > sub_180080A90 @ 0x180081437
// > cocos2d::CCGLProgram::logForOpenGLObject @ 0x18008a048
// > cocos2d::CCNotificationObserver::CCNotificationObserver @ 0x1800969d6
// > cocos2d::cc_utf16_to_utf8 @ 0x18009879e
// > cocos2d::cc_utf16_vec_from_utf16_str @ 0x18009897b
// > cocos2d::CCComponentContainer::add @ 0x180099f98
// > cocos2d::CCComponentContainer::add @ 0x180099f9e
// > cocos2d::CCComponentContainer::get @ 0x18009a1ae
// > cocos2d::CCUserDefault::getStringForKey @ 0x1800a2ac1
// > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x1800adc4e
// > cocos2d::CCTileMapAtlas::updateAtlasValues @ 0x1800af3e0
// > cocos2d::CCTextFieldTTF::insertText @ 0x1800b99f6
// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1800ca45c
// > sub_1800E4AC0 @ 0x1800e4af6
// > ??> @ 0x1801b7888
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:18 +0000
//
void __fastcall __noreturn Concurrency::cancel_current_task()
{
_QWORD pExceptionObject[5]; // [rsp+20h] [rbp-28h] BYREF
sub_180005C00(pExceptionObject);
throw (std::bad_array_new_length *)pExceptionObject;
}