//
// LevelInfoLayer::onGarage from 0x499eca to 0x499efa (48 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:44 +0000
//
cocos2d::CCDirector *__fastcall LevelInfoLayer::onGarage(cocos2d::CCDirector *this, cocos2d::CCObject *a2)
{
GJGarageLayer *v2; // r4
float v3; // r0
cocos2d::CCScene *v4; // r2
cocos2d::CCScene *v5; // r0
GameManager *v6; // r0
if ( !*((_BYTE *)this + 356) )
{
v2 = (GJGarageLayer *)cocos2d::CCDirector::sharedDirector(this);
v3 = COERCE_FLOAT(GJGarageLayer::scene(v2));
v5 = (cocos2d::CCScene *)cocos2d::CCTransitionMoveInT::create((cocos2d::CCTransitionMoveInT *)0x3F000000, v3, v4);
v6 = (GameManager *)cocos2d::CCDirector::pushScene(v2, v5);
this = (cocos2d::CCDirector *)GameManager::sharedState(v6);
*((_BYTE *)this + 860) = 1;
}
return this;
}