// // CreatorLayer::onGauntlets from 0x140137a50 to 0x140137b46 (246 bytes) // // 2 xrefs: // > CreatorLayer::init @ 0x140135d0a // > @ 0x140917174 // // 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 11:27:05 +0000 // // Hidden C++ exception states: #wind=4 __int64 __fastcall CreatorLayer::onGauntlets(__int64 a1) { __int64 v2; // rdx __int64 v3; // rcx struct cocos2d::CCScene *v4; // rax struct cocos2d::CCScene *v5; // rbx __int64 v6; // rcx cocos2d::CCDirector *v7; // rax __int64 result; // rax void *v9; // [rsp+30h] [rbp+8h] void *v10; // [rsp+30h] [rbp+8h] v2 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v9 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v9); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v2 = *(_QWORD *)&qword_14090BFB0; } if ( *(_DWORD *)(v2 + 1000) > *(_DWORD *)(v2 + 1024) ) *(_BYTE *)(v2 + 1576) = 1; *(_DWORD *)(v2 + 1024) = *(_DWORD *)(v2 + 1000); v3 = *(_QWORD *)(a1 + 472); if ( v3 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 568LL))(v3); v4 = (struct cocos2d::CCScene *)GauntletSelectLayer::scene(); v5 = cocos2d::CCTransitionFade::create(0.5, v4); v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::pushScene(v7, v5); result = qword_14090BFD0; if ( !qword_14090BFD0 ) { v10 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); result = qword_14090BFD0; } *(_DWORD *)(result + 740) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source