//
// CreatorLayer::onGauntlets from 0x100283640 to 0x1002836c8 (136 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x100282597
//
// 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:27:44 +0000
//
void __fastcall CreatorLayer::onGauntlets(__int64 a1, __int64 a2, double a3)
{
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rdi
__int64 v6; // rbx
__int64 v7; // rax
char *v8; // rsi
__int64 v9; // rdx
__int64 v10; // rax
v3 = GameLevelManager::sharedState(a3);
if ( (unsigned __int8)GameLevelManager::hasNewGauntlets(v3) )
*(_BYTE *)(GameLevelManager::sharedState(a3) + 1448) = 1;
v4 = GameLevelManager::sharedState(a3);
GameLevelManager::markGauntletsSeen(v4);
v5 = *(_QWORD *)(a1 + 472);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 576LL))(v5);
v6 = cocos2d::CCDirector::sharedDirector(v5, a2);
v7 = GauntletSelectLayer::scene(0);
v8 = cocos2d::CCTransitionFade::create_1(v7, 0.5);
cocos2d::CCDirector::pushScene(v6, v8);
GameManager::sharedState(v6, v8, v9);
*(_DWORD *)(v10 + 708) = 1;
}