{"type": "func", "start": 6442475216, "end": 6442475248, "name": "Concurrency::cancel_current_task", "pseudocode": "// \n// Concurrency::cancel_current_task from 0x180005ed0 to 0x180005ef0 (32 bytes)\n// \n// 56 xrefs:\n// > sub_180005A10 @ 0x180005b44\n// > cocos2d::CCArray::createWithContentsOfFileThreadSafe @ 0x180006ed2\n// > sub_180007A50 @ 0x180007bed\n// > cocos2d::CCPrettyPrinter::getResult @ 0x180007fce\n// > cocos2d::CCPrettyPrinter::visit @ 0x1800094c9\n// > sub_18000CE80 @ 0x18000cee0\n// > sub_18000CFB0 @ 0x18000d168\n// > cocos2d::CCString::CCString @ 0x18000fff9\n// > sub_1800101E0 @ 0x18001034f\n// > sub_180015D00 @ 0x180015ee6\n// > sub_180015F00 @ 0x1800160e7\n// > sub_180016930 @ 0x180016a21\n// > DS_Dictionary::getAllKeys @ 0x180019a07\n// > DS_Dictionary::getDictForKey @ 0x18001a19a\n// > DS_Dictionary::getStringArrayForKey @ 0x18001b4a6\n// > sub_18001C710 @ 0x18001c828\n// > DS_Dictionary::stepIntoSubDictWithKey @ 0x18002186f\n// > sub_180025630 @ 0x180025793\n// > sub_180030E20 @ 0x180030f83\n// > cocos2d::CCAnimate::initWithAnimation @ 0x180035aab\n// > sub_1800455C0 @ 0x1800456f5\n// > sub_1800457A0 @ 0x180045867\n// > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x18004638b\n// > cocos2d::CCLabelAtlas::initWithString @ 0x180047db2\n// > sub_180048300 @ 0x18004850f\n// > sub_18004DE80 @ 0x18004df90\n// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f40d\n// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f419\n// > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x18004fae8\n// > sub_18006E750 @ 0x18006e8b2\n// > sub_18006E8C0 @ 0x18006ea7c\n// > sub_18006F4D0 @ 0x18006f688\n// > sub_18006F6A0 @ 0x18006f859\n// > sub_180074820 @ 0x180074d34\n// > sub_180075A70 @ 0x180075dd9\n// > sub_180075A70 @ 0x180075ddf\n// > cocos2d::CCApplication::setResourceRootPath @ 0x1800768b3\n// > sub_1800789D0 @ 0x180078b85\n// > sub_18007C950 @ 0x18007cb64\n// > cocos2d::CCImage::saveToFile @ 0x180080a7d\n// > sub_180080A90 @ 0x180081431\n// > sub_180080A90 @ 0x180081437\n// > cocos2d::CCGLProgram::logForOpenGLObject @ 0x18008a048\n// > cocos2d::CCNotificationObserver::CCNotificationObserver @ 0x1800969d6\n// > cocos2d::cc_utf16_to_utf8 @ 0x18009879e\n// > cocos2d::cc_utf16_vec_from_utf16_str @ 0x18009897b\n// > cocos2d::CCComponentContainer::add @ 0x180099f98\n// > cocos2d::CCComponentContainer::add @ 0x180099f9e\n// > cocos2d::CCComponentContainer::get @ 0x18009a1ae\n// > cocos2d::CCUserDefault::getStringForKey @ 0x1800a2ac1\n// > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x1800adc4e\n// > cocos2d::CCTileMapAtlas::updateAtlasValues @ 0x1800af3e0\n// > cocos2d::CCTextFieldTTF::insertText @ 0x1800b99f6\n// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1800ca45c\n// > sub_1800E4AC0 @ 0x1800e4af6\n// > <???> @ 0x1801b7888\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:18 +0000\n// \n\nvoid __fastcall __noreturn Concurrency::cancel_current_task()\n{\n  _QWORD pExceptionObject[5]; // [rsp+20h] [rbp-28h] BYREF\n\n  sub_180005C00(pExceptionObject);\n  throw (std::bad_array_new_length *)pExceptionObject;\n}", "assembly": "; \n; Concurrency::cancel_current_task from 0x180005ed0 to 0x180005ef0 (32 bytes)\n; \n; 56 xrefs:\n; > sub_180005A10 @ 0x180005b44\n; > cocos2d::CCArray::createWithContentsOfFileThreadSafe @ 0x180006ed2\n; > sub_180007A50 @ 0x180007bed\n; > cocos2d::CCPrettyPrinter::getResult @ 0x180007fce\n; > cocos2d::CCPrettyPrinter::visit @ 0x1800094c9\n; > sub_18000CE80 @ 0x18000cee0\n; > sub_18000CFB0 @ 0x18000d168\n; > cocos2d::CCString::CCString @ 0x18000fff9\n; > sub_1800101E0 @ 0x18001034f\n; > sub_180015D00 @ 0x180015ee6\n; > sub_180015F00 @ 0x1800160e7\n; > sub_180016930 @ 0x180016a21\n; > DS_Dictionary::getAllKeys @ 0x180019a07\n; > DS_Dictionary::getDictForKey @ 0x18001a19a\n; > DS_Dictionary::getStringArrayForKey @ 0x18001b4a6\n; > sub_18001C710 @ 0x18001c828\n; > DS_Dictionary::stepIntoSubDictWithKey @ 0x18002186f\n; > sub_180025630 @ 0x180025793\n; > sub_180030E20 @ 0x180030f83\n; > cocos2d::CCAnimate::initWithAnimation @ 0x180035aab\n; > sub_1800455C0 @ 0x1800456f5\n; > sub_1800457A0 @ 0x180045867\n; > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x18004638b\n; > cocos2d::CCLabelAtlas::initWithString @ 0x180047db2\n; > sub_180048300 @ 0x18004850f\n; > sub_18004DE80 @ 0x18004df90\n; > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f40d\n; > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f419\n; > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x18004fae8\n; > sub_18006E750 @ 0x18006e8b2\n; > sub_18006E8C0 @ 0x18006ea7c\n; > sub_18006F4D0 @ 0x18006f688\n; > sub_18006F6A0 @ 0x18006f859\n; > sub_180074820 @ 0x180074d34\n; > sub_180075A70 @ 0x180075dd9\n; > sub_180075A70 @ 0x180075ddf\n; > cocos2d::CCApplication::setResourceRootPath @ 0x1800768b3\n; > sub_1800789D0 @ 0x180078b85\n; > sub_18007C950 @ 0x18007cb64\n; > cocos2d::CCImage::saveToFile @ 0x180080a7d\n; > sub_180080A90 @ 0x180081431\n; > sub_180080A90 @ 0x180081437\n; > cocos2d::CCGLProgram::logForOpenGLObject @ 0x18008a048\n; > cocos2d::CCNotificationObserver::CCNotificationObserver @ 0x1800969d6\n; > cocos2d::cc_utf16_to_utf8 @ 0x18009879e\n; > cocos2d::cc_utf16_vec_from_utf16_str @ 0x18009897b\n; > cocos2d::CCComponentContainer::add @ 0x180099f98\n; > cocos2d::CCComponentContainer::add @ 0x180099f9e\n; > cocos2d::CCComponentContainer::get @ 0x18009a1ae\n; > cocos2d::CCUserDefault::getStringForKey @ 0x1800a2ac1\n; > cocos2d::CCTexturePVR::initWithContentsOfFile @ 0x1800adc4e\n; > cocos2d::CCTileMapAtlas::updateAtlasValues @ 0x1800af3e0\n; > cocos2d::CCTextFieldTTF::insertText @ 0x1800b99f6\n; > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1800ca45c\n; > sub_1800E4AC0 @ 0x1800e4af6\n; > <???> @ 0x1801b7888\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:18 +0000\n; \nsub     rsp, 48h                                                       ; +0x0, 0x180005ed0\nlea     rcx, [rsp+48h+pExceptionObject]                                ; +0x4, 0x180005ed4\ncall    sub_180005C00                                                  ; +0x9, 0x180005ed9\nlea     rdx, __TI3?AVbad_array_new_length@std@@; pThrowInfo            ; +0xe, 0x180005ede\nlea     rcx, [rsp+48h+pExceptionObject]; pExceptionObject              ; +0x15, 0x180005ee5\ncall    _CxxThrowException                                             ; +0x1a, 0x180005eea\nalign 10h                                                              ; +0x1f, 0x180005eef", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}