; ; GameManager::reloadAllStep2 from 0x14018a4c0 to 0x14018a617 (343 bytes) ; ; 4 xrefs: ; > GameManager::reloadAll @ 0x14018a46d ; > @ 0x14067856c ; > @ 0x14067857c ; > @ 0x1406cb6f4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x14018a4c0 push rdi ; +0x5, 0x14018a4c5 sub rsp, 20h ; +0x6, 0x14018a4c6 cmp byte ptr [rcx+194h], 0 ; +0xa, 0x14018a4ca mov rdi, rcx ; +0x11, 0x14018a4d1 jz loc_14018A5CB ; +0x14, 0x14018a4d4 mov [rsp+28h+arg_0], rsi ; +0x1a, 0x14018a4da call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1f, 0x14018a4df mov rcx, rax ; +0x25, 0x14018a4e5 call cs:?removeStatsLabel@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::removeStatsLabel(void) ; +0x28, 0x14018a4e8 call cs:?sharedManager@CCContentManager@@SAPEAV1@XZ; CCContentManager::sharedManager(void) ; +0x2e, 0x14018a4ee mov rcx, rax ; +0x34, 0x14018a4f4 call cs:?clearCache@CCContentManager@@QEAAXXZ; CCContentManager::clearCache(void) ; +0x37, 0x14018a4f7 call cs:?purgeSharedTextureCache@CCTextureCache@cocos2d@@SAXXZ; cocos2d::CCTextureCache::purgeSharedTextureCache(void) ; +0x3d, 0x14018a4fd call cs:?purgeSharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAXXZ; cocos2d::CCSpriteFrameCache::purgeSharedSpriteFrameCache(void) ; +0x43, 0x14018a503 call cs:?purgeCachedData@CCLabelBMFont@cocos2d@@SAXXZ; cocos2d::CCLabelBMFont::purgeCachedData(void) ; +0x49, 0x14018a509 mov rcx, cs:qword_1406C2E78 ; +0x4f, 0x14018a50f xor esi, esi ; +0x56, 0x14018a516 test rcx, rcx ; +0x58, 0x14018a518 jz short loc_14018A52A ; +0x5b, 0x14018a51b call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x5d, 0x14018a51d mov cs:qword_1406C2E78, rsi ; +0x63, 0x14018a523 call CCAnimateFrameCache__sharedSpriteFrameCache ; +0x6a, 0x14018a52a mov rbx, rax ; +0x6f, 0x14018a52f mov rcx, [rax+38h] ; +0x72, 0x14018a532 call cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x76, 0x14018a536 mov rcx, [rbx+40h] ; +0x7c, 0x14018a53c call cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x80, 0x14018a540 mov rcx, [rbx+48h] ; +0x86, 0x14018a546 call cs:?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x8a, 0x14018a54a call cs:?purgeFileUtils@CCFileUtils@cocos2d@@SAXXZ; cocos2d::CCFileUtils::purgeFileUtils(void) ; +0x90, 0x14018a550 call cs:?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x96, 0x14018a556 lea rdx, aResources; "Resources" ; +0x9c, 0x14018a55c mov rcx, rax ; +0xa3, 0x14018a563 mov r8, [rax] ; +0xa6, 0x14018a566 call qword ptr [r8+70h] ; +0xa9, 0x14018a569 mov rcx, cs:qword_1406C2EA0 ; +0xad, 0x14018a56d test rcx, rcx ; +0xb4, 0x14018a574 jz short loc_14018A586 ; +0xb7, 0x14018a577 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xb9, 0x14018a579 mov cs:qword_1406C2EA0, rsi ; +0xbf, 0x14018a57f lea rcx, [rdi+440h] ; +0xc6, 0x14018a586 mov [rdi+3C0h], rsi ; +0xcd, 0x14018a58d mov [rdi+3C8h], esi ; +0xd4, 0x14018a594 call sub_1400CDCD0 ; +0xda, 0x14018a59a cmp byte ptr [rdi+190h], 0 ; +0xdf, 0x14018a59f mov [rdi+3D0h], esi ; +0xe6, 0x14018a5a6 mov rsi, [rsp+28h+arg_0] ; +0xec, 0x14018a5ac jz short loc_14018A5CB ; +0xf1, 0x14018a5b1 call cs:?ccDrawFree@cocos2d@@YAXXZ; cocos2d::ccDrawFree(void) ; +0xf3, 0x14018a5b3 call cs:?purgeSharedShaderCache@CCShaderCache@cocos2d@@SAXXZ; cocos2d::CCShaderCache::purgeSharedShaderCache(void) ; +0xf9, 0x14018a5b9 call cs:?purgeSharedAnimationCache@CCAnimationCache@cocos2d@@SAXXZ; cocos2d::CCAnimationCache::purgeSharedAnimationCache(void) ; +0xff, 0x14018a5bf call cs:?ccGLInvalidateStateCache@cocos2d@@YAXXZ; cocos2d::ccGLInvalidateStateCache(void) ; +0x105, 0x14018a5c5 lea rdx, GameManager__reloadAllStep3 ; +0x10b, 0x14018a5cb mov rcx, rdi ; +0x112, 0x14018a5d2 call cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x115, 0x14018a5d5 xorps xmm0, xmm0 ; +0x11b, 0x14018a5db mov rbx, rax ; +0x11e, 0x14018a5de call cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x121, 0x14018a5e1 xor r8d, r8d ; +0x127, 0x14018a5e7 mov rdx, rbx ; +0x12a, 0x14018a5ea mov rcx, rax ; +0x12d, 0x14018a5ed call cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x130, 0x14018a5f0 mov rcx, [rdi+108h] ; +0x136, 0x14018a5f6 xor r9d, r9d ; +0x13d, 0x14018a5fd mov rdx, rax ; +0x140, 0x14018a600 mov r8, rdi ; +0x143, 0x14018a603 mov rbx, [rsp+28h+arg_8] ; +0x146, 0x14018a606 add rsp, 20h ; +0x14b, 0x14018a60b pop rdi ; +0x14f, 0x14018a60f jmp cs:?addAction@CCActionManager@cocos2d@@QEAAXPEAVCCAction@2@PEAVCCNode@2@_N@Z; cocos2d::CCActionManager::addAction(cocos2d::CCAction *,cocos2d::CCNode *,bool) ; +0x150, 0x14018a610