// // GameManager::switchScreenMode from 0x100376df0 to 0x100376e8f (159 bytes) // // 1 xrefs: // > GraphicsReloadLayer::performReload @ 0x1008883d2 // // 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::switchScreenMode(__int64 a1, __int64 a2, char a3, char a4) { __int64 v5; // rdi __int64 v6; // r14 _BYTE *v7; // rax __int64 v8; // r14 int v9; // r15d int v10; // eax int v11; // ecx int v12; // r8d int v13; // r9d __int64 v14; // rax *(_BYTE *)(a1 + 416) = 1; *(_BYTE *)(a1 + 417) = a2; *(_BYTE *)(a1 + 418) = a3; *(_BYTE *)(a1 + 419) = a4; *(_BYTE *)(a1 + 420) = 1; v5 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::popToRootScene(v5); v6 = cocos2d::CCDirector::sharedDirector(v5, a2); v7 = cocos2d::CCScene::create(); cocos2d::CCDirector::replaceScene(v6, v7); v8 = *(_QWORD *)(a1 + 264); v9 = cocos2d::CCDelayTime::create(0.0); v10 = cocos2d::CCCallFunc::create(a1, GameManager::reloadAllStep2, 0); v14 = sub_10039EB60(v9, v10, 0, v11, v12, v13); return cocos2d::CCActionManager::addAction(v8, v14, a1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source