//
// LevelInfoLayer::onGarage from 0x10002c3ac to 0x10002c3f8 (76 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x100029120
//
// This function is hookable on this platform (idp: arm, 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 10:57:28 +0000
//
__int64 __fastcall LevelInfoLayer::onGarage(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
if ( (*(_BYTE *)(result + 488) & 1) == 0 )
{
v1 = cocos2d::CCDirector::sharedDirector(result);
v2 = GJGarageLayer::scene();
v3 = cocos2d::CCTransitionMoveInT::create(v2, 0.5);
v4 = cocos2d::CCDirector::pushScene(v1, v3);
result = GameManager::sharedState(v4);
*(_BYTE *)(result + 1080) = 1;
}
return result;
}