//
// GJGarageLayer::scene from 0x50b0b4 to 0x50b0d6 (34 bytes)
//
// 5 xrefs:
// > MenuLayer::onGarage @ 0x3f9ae8
// > LevelInfoLayer::onGarage @ 0x499ed8
// > GJShopLayer::onBack @ 0x611448
// > GJShopLayer::dialogClosed @ 0x6115e8
// > WorldSelectLayer::onGarage @ 0x62cbaa
//
// 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:51:27 +0000
//
AppDelegate *__fastcall GJGarageLayer::scene(GJGarageLayer *this)
{
AppDelegate *v1; // r4
GJGarageLayer *v2; // r0
int v3; // r0
v1 = (AppDelegate *)cocos2d::CCScene::create(this);
v2 = (GJGarageLayer *)AppDelegate::get(v1);
*((_DWORD *)v2 + 3) = v1;
v3 = GJGarageLayer::node(v2);
(*(void (__fastcall **)(AppDelegate *, int))(*(_DWORD *)v1 + 228))(v1, v3);
return v1;
}