//
// LevelInfoLayer::onGarage from 0x7e5568 to 0x7e55b4 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0x4e4f0
// > LevelInfoLayer::init @ 0x7eb8a0
// > ??> @ 0x15419e0
//
// 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 12:54:28 +0000
//
__int64 __fastcall LevelInfoLayer::onGarage(LevelInfoLayer *this, cocos2d::CCObject *a2)
{
__int64 result; // x0
GJGarageLayer *v3; // x19
cocos2d::CCTransitionMoveInT *v4; // x0
cocos2d::CCScene *v5; // x1
cocos2d::CCScene *v6; // x0
GameManager *v7; // x0
result = *((unsigned __int8 *)this + 488);
if ( !(_DWORD)result )
{
v3 = (GJGarageLayer *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)result);
v4 = (cocos2d::CCTransitionMoveInT *)GJGarageLayer::scene(v3);
v6 = (cocos2d::CCScene *)cocos2d::CCTransitionMoveInT::create(v4, 0.5, v5);
v7 = (GameManager *)cocos2d::CCDirector::pushScene(v3, v6);
result = GameManager::sharedState(v7);
*(_BYTE *)(result + 1080) = 1;
}
return result;
}