//
// WorldSelectLayer::onGarage from 0x1003ab990 to 0x1003ab9da (74 bytes)
//
// 1 xrefs:
// > WorldSelectLayer::init @ 0x1003ab375
//
// 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 12:29:24 +0000
//
__int64 __fastcall WorldSelectLayer::onGarage(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
_BYTE *v3; // rax
_QWORD *v4; // rax
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 464) )
{
v2 = cocos2d::CCDirector::sharedDirector(a1, a2);
v3 = GJGarageLayer::scene(a1, a2);
v4 = cocos2d::CCTransitionMoveInT::create((__int64)v3, 0.5);
cocos2d::CCDirector::pushScene(v2, v4);
result = GameManager::sharedState();
*(_BYTE *)(result + 1080) = 1;
}
return result;
}