// // GameManager::reloadAll from 0x100376e90 to 0x100376f3e (174 bytes) // // 2 xrefs: // > VideoOptionsLayer::onApply @ 0x100881690 // > GraphicsReloadLayer::performReload @ 0x10088851e // // 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 12:29:04 +0000 // __int64 __fastcall GameManager::reloadAll(__int64 a1, __int64 a2, int a3, int a4, int a5) { __m128i inserted; // xmm0 __m128i v7; // xmm0 __int64 v8; // rdi __int64 v9; // r14 _BYTE *v10; // rax __int64 v11; // r14 int v12; // r15d int v13; // eax int v14; // ecx int v15; // r8d int v16; // r9d __int64 v17; // rax inserted = _mm_insert_epi32(_mm_insert_epi32(_mm_insert_epi32(_mm_cvtsi32_si128(a2), a3, 1), a4, 2), a5, 3); v7 = _mm_packus_epi32(inserted, inserted); *(_DWORD *)(a1 + 416) = _mm_cvtsi128_si32(_mm_packus_epi16(v7, v7)); *(_BYTE *)(a1 + 420) = 1; v8 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::popToRootScene(v8); v9 = cocos2d::CCDirector::sharedDirector(v8, a2); v10 = cocos2d::CCScene::create(); cocos2d::CCDirector::replaceScene(v9, v10); v11 = *(_QWORD *)(a1 + 264); v12 = cocos2d::CCDelayTime::create(0.0); v13 = cocos2d::CCCallFunc::create(a1, GameManager::reloadAllStep2, 0); v17 = sub_10039EB60(v12, v13, 0, v14, v15, v16); return cocos2d::CCActionManager::addAction(v11, v17, a1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source