//
// WorldSelectLayer::onGarage from 0x62cb9c to 0x62cbcc (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:55:14 +0000
//
cocos2d::CCDirector *__fastcall WorldSelectLayer::onGarage(cocos2d::CCDirector *this, cocos2d::CCObject *a2)
{
GJGarageLayer *v2; // r4
AppDelegate *v3; // r0
cocos2d::CCScene *v4; // r2
cocos2d::CCScene *v5; // r0
GameManager *v6; // r0
if ( !*((_BYTE *)this + 344) )
{
v2 = (GJGarageLayer *)cocos2d::CCDirector::sharedDirector(this);
v3 = GJGarageLayer::scene(v2);
v5 = (cocos2d::CCScene *)cocos2d::CCTransitionMoveInT::create(
(cocos2d::CCTransitionMoveInT *)0x3F000000,
*(float *)&v3,
v4);
v6 = (GameManager *)cocos2d::CCDirector::pushScene(v2, v5);
this = (cocos2d::CCDirector *)GameManager::sharedState(v6);
*((_BYTE *)this + 860) = 1;
}
return this;
}