//
// LevelInfoLayer::onGarage from 0x14041ee90 to 0x14041ef15 (133 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::init @ 0x14041ddf6
// > ??> @ 0x14092678c
//
// 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:32:08 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall LevelInfoLayer::onGarage(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
struct cocos2d::CCScene *v4; // rax
struct cocos2d::CCScene *v5; // rbx
__int64 v6; // rcx
cocos2d::CCDirector *v7; // rax
__int64 v8; // rax
void *v9; // [rsp+30h] [rbp+8h]
if ( !*(_BYTE *)(a1 + 488) )
{
v4 = (struct cocos2d::CCScene *)GJGarageLayer::scene(a1, a2, a3, a4);
v5 = cocos2d::CCTransitionMoveInT::create(0.5, v4);
v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6);
cocos2d::CCDirector::pushScene(v7, v5);
v8 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v9 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v8 = qword_14090BFD0;
}
*(_BYTE *)(v8 + 1112) = 1;
}
}